
/* [1. 공통 및 리스트 페이지 스타일] */
#pair_board_skin { background: transparent !important; min-height: 100vh; font-family: "SF Pro KR", "Apple SD Gothic Neo", sans-serif; color: #fff; }

.char_list_container { padding: 60px 20px; max-width: 1400px; margin: 0 auto; }

/* 리스트 상단 헤더 */
.list_header { text-align: center; margin-bottom: 50px; }
.list_header h2 { font-size: 40px; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 10px; color: #b5b5b5 }
.list_header p { font-size: 13px; color: #666; letter-spacing: 2px; text-transform: uppercase; }

/* 맥 스타일 캡슐 버튼 */
.char_list_btn { margin-bottom: 30px; text-align: right; }
.btn_admin, .btn_write {
    display: inline-block; padding: 10px 22px; 
    background: rgba(255, 255, 255, 0.08); 
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #eee !important; border-radius: 50px; 
    font-size: 11px; font-weight: 700; text-decoration: none; 
    backdrop-filter: blur(10px); transition: 0.3s; margin-left: 6px;
}
.btn_admin:hover, .btn_write:hover { background: #fff; color: #000 !important; transform: translateY(-2px); }

/* 리스트 그리드 및 400x250 카드 */
.char_grid { 
    display: grid; grid-template-columns: repeat(auto-fill, 400px); 
    gap: 30px; justify-content: center; list-style: none; padding: 0; 
}
.char_item { width: 400px; transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); }
.char_item:hover { transform: translateY(-8px); }

/* 글래스모피즘 카드 핵심 */
.char_thumb {
    position: relative; width: 400px; height: 250px; border-radius: 24px; overflow: hidden;
    background: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(255, 255, 255, 0.12); /* 미세한 흰색 테두리 */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
}
.thumb_img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; transition: 0.6s; }
.char_item:hover .thumb_img { opacity: 1; transform: scale(1.05); }

/* 썸네일 내부 제목 오버레이 */
.char_subject_overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: #fff; font-size: 18px; font-weight: 700; text-align: left; z-index: 2;
}

/* 페이징 */
.char_page { text-align: center; margin-top: 60px; padding-bottom: 60px; }
.char_page a, .char_page b {
    display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center;
    border-radius: 50%; border: 1px solid rgba(255,255,255,0.1); color: #888;
    text-decoration: none; font-size: 13px; margin: 0 3px; background: rgba(255,255,255,0.05);
}
.char_page b { background: #fff; color: #000; border-color: #fff; }

/* ------------------------------------------------------------------ */




/* [V-레이아웃 기본 설정] */
body.is_view_page { background: #000 !important; overflow: hidden !important; margin: 0; padding: 0; }
body.is_view_page #hd, body.is_view_page #ft, body.is_view_page #container_title { display: none !important; }

#pair_full_wrapper {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-size: cover; background-position: center; z-index: 9999;
}

.pair-stage-area {
    position: absolute; top: 50%; left: 50%; width: 1920px; height: 1080px;
    transform-origin: center center;
}

/* [글래스모피즘 - 배경이 비치도록 투명도/블러 재조정] */
.mac-glass-win {
    position: absolute; width: 520px; /* 창 너비를 약간 넓힘 */
    pointer-events: auto; z-index: 5;
    background: rgba(255, 255, 255, 0.1) !important; /* 투명도를 0.1로 낮춤 */
    backdrop-filter: blur(40px) saturate(200%) !important; /* 블러를 더 강하게 */
    -webkit-backdrop-filter: blur(40px) saturate(200%) !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px; 
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden; /* 내부 요소가 창 밖으로 나가지 않게 */
}

/* 창 확대 효과 */
.win-zoomed { transform: scale(1.25); z-index: 1000 !important; }

/* 맥 상단 바 */
.mac-bar { height: 42px; display: flex; align-items: center; padding: 0 20px; cursor: move; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mac-dots { display: flex; gap: 8px; }
.m-dot { width: 13px; height: 13px; border-radius: 50%; cursor: pointer; transition: 0.2s; }
.m-dot.r { background: #ff5f56; } .m-dot.y { background: #ffbd2e; } .m-dot.g { background: #27c93f; }
.m-dot:hover { transform: scale(1.2); filter: brightness(1.2); }
.mac-title { margin-left: 15px; color: #080c15; font-size: 12px; font-weight: bold; opacity: 0.6; }

/* [중요: 내부 여백(Padding) 설정] */
.mac-body { 
    padding: 35px 35px 20px 35px; /* 상우하좌 여백 */
    color: #080c15; line-height: 1.8; font-size: 15px; 
    height: 300px; overflow-y: auto; 
}

.mac-footer { 
    padding: 20px 35px 45px 35px; /* 하단 여백을 45px로 늘려 창 끝에서 띄움 */
}

.char-name-label { 
    color: #080c15; font-size: 38px; font-weight: 900; 
    margin-bottom: 25px; /* 이름과 컬러칩 사이 간격 */
    line-height: 1.1; letter-spacing: -1.5px;
}

/* 컬러칩 및 정렬 */
.chip-row-wrapper { display: flex; width: 100%; }
.chip-row { display: flex; gap: 15px; }
.chip-dot { 
    width: 42px; height: 42px; border-radius: 50%; 
    border: 3.5px solid rgba(255,255,255,0.5); 
    box-shadow: 0 6px 12px rgba(0,0,0,0.25); 
}

/* 오른쪽 UI 정렬 */
.right-ui-style .mac-bar { flex-direction: row-reverse; }
.right-ui-style .mac-title { margin-left: 0; margin-right: 15px; text-align: right; }
.right-ui-style .mac-body, .right-ui-style .mac-footer { text-align: right; }
.right-ui-style .chip-row-wrapper { justify-content: flex-end; }

/* 캐릭터 이미지 배치 */
.char-group-layer {
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 1400px; height: 100%; display: flex; align-items: flex-end; justify-content: center;
    z-index: 10; pointer-events: none;
}
.char-wrap-box {
    position: relative; flex: 0 0 725px; display: flex; justify-content: center; 
    pointer-events: auto; transition: transform 0.4s ease;
}
.char-wrap-box.left { margin-right: -130px; }
.char-wrap-box.right { margin-left: -130px; }
.char-wrap-box:hover { transform: scale(1.05); z-index: 100; }
.pair-char-img { max-height: 1050px; width: auto; filter: drop-shadow(0 20px 60px rgba(0,0,0,0.8)); vertical-align: bottom; }

/* 애니메이션 */
@keyframes onlyCharSlideL { from { opacity: 0; transform: translateX(-350px); } to { opacity: 1; transform: translateX(0); } }
@keyframes onlyCharSlideR { from { opacity: 0; transform: translateX(350px); } to { opacity: 1; transform: translateX(0); } }
/* 처음에는 투명하게 숨겨둡니다. */
.only-char-ani-L, .only-char-ani-R { 
    opacity: 0; 
}

/* loaded 클래스가 붙는 순간 애니메이션 시작 */
.only-char-ani-L.loaded { 
    animation: onlyCharSlideL 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; 
}

.only-char-ani-R.loaded { 
    animation: onlyCharSlideR 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; 
}

/* 상단 버튼 */
.pair-controls { position: absolute; top: 30px; right: 30px; display: flex; gap: 12px; z-index: 10001; }
.ui-btn {
    padding: 12px 26px; background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.2);
    color: #fff !important; font-

