.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;white-space:nowrap;min-width:0}
.theme-toggle{border:1px solid var(--line);border-radius:8px;background:transparent;padding:8px 11px;font-size:13px;color:var(--ink);line-height:1.5;white-space:nowrap}
.theme-toggle:hover{background:#eaf1f7}.theme-toggle[aria-pressed=true]{background:#29394a;border-color:#6c8299;color:#e1eaf3}
@media(max-width:1050px){.header-actions{grid-column:3;grid-row:1;justify-self:end;gap:10px}}
@media(max-width:600px){.site-header{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}.site-header .wordmark{grid-column:1;justify-self:start}.header-actions{grid-column:2;gap:10px}.theme-toggle{font-size:13px;padding:7px 9px}#navigation{grid-column:1/-1}}
@media(max-width:380px){.site-header{padding-inline:12px;column-gap:8px}.site-header .wordmark{font-size:18px;letter-spacing:.17em}.header-actions{gap:8px}.theme-toggle{font-size:12px;padding:7px}.site-header .header-channel{font-size:10px}}
:root[data-theme=dark]{color-scheme:dark;--ink:#e1e8f0;--muted:#a4b2c2;--line:#354558;--bg:#131d29;--accent:#b6a2b2;--surface:#1b2837;--surface-soft:#223143;--input:#172230}
[data-theme=dark] body{background:var(--bg);color:var(--ink)}
[data-theme=dark] :is(h1,h2,h3,h4){color:var(--ink)}
[data-theme=dark] :is(p,small,label,summary,time,th,td){color:#adbbca}
[data-theme=dark] :is(strong,b){color:inherit}
[data-theme=dark] :is(.points-eyebrow,.pc-small,.points-muted,.support-note,.exchange-order-id,.pc-section-title>span,.points-policy-note){color:#a4b4c5}
[data-theme=dark] :is(.site-header,footer){background:#172331;border-color:var(--line)}
[data-theme=dark] :is(.site-header .wordmark,.site-header .header-channel,#navigation>a),
[data-theme=dark] :is(.site-header .wordmark,.site-header .header-channel,#navigation .nav-group>a){color:#b8c7d6}
[data-theme=dark] #navigation>a[aria-current=page],
[data-theme=dark] #navigation .nav-group>a[aria-current=page]{color:#f0f5fa}
[data-theme=dark] #navigation>a[aria-current=page]:after,
[data-theme=dark] #navigation .nav-group>a[aria-current=page]:after{background:#adbed0}
[data-theme=dark] #navigation #admin-link{background:var(--surface);border-color:var(--line);color:var(--ink)}
[data-theme=dark] .theme-toggle:hover{background:var(--surface-soft)}
[data-theme=dark] :is(.panel,.live-row,.empty,.notice-card,.notice-empty,.official-channel,.broadcast-calendar,.signature-choices a,.signature-card,.signature-preview,.points-total-card,.points-attendance,.points-ledger,.points-admin-card,.exchange-product,.exchange-empty,.exchange-order,.pc-empty,.pc-pending,.social-login-panel){background:var(--surface);border-color:var(--line);color:var(--ink)}
[data-theme=dark] :is(dialog,.pc-dialog,.exchange-dialog){background:var(--surface);border-color:var(--line);color:var(--ink)}
[data-theme=dark] dialog::backdrop{background:#030a13aa}
[data-theme=dark] :is(input:not([type=checkbox]):not([type=radio]),textarea,select){background-color:var(--input)!important;border-color:#405267!important;color:var(--ink)!important}
[data-theme=dark] input::placeholder,[data-theme=dark] textarea::placeholder{color:#8297ac;opacity:1}
[data-theme=dark] :is(.points-primary,.account-panel button,.member-button){background:#6687a7;border-color:#6687a7;color:#fff}
[data-theme=dark] .points-primary:hover{background:#7798b8}
[data-theme=dark] :is(.points-secondary,.calendar-controls button,.notice-archive-actions button,.signature-card-play,.site-edit-button,.site-edit-bar a){background:var(--surface-soft);border-color:#405267;color:#c5d6e7}
[data-theme=dark] :is(.points-subtle,.pc-close,.close,.social-signup-cancel){color:#b3c4d5;background:transparent}
[data-theme=dark] :is(.points-test-note,.exchange-test,.points-filters,.points-selected-balance,.points-adjust-form input[readonly],.support-message,.exchange-order-note){background:var(--surface-soft);border-color:var(--line);color:#b6c6d6}
[data-theme=dark] :is(.points-balance-card,.exchange-balance){background:linear-gradient(120deg,#23394c,#2a3448);border-color:#3d536a;color:#e5edf5}
[data-theme=dark] :is(.points-balance-card strong,.points-total-card strong,.exchange-balance strong,.exchange-product-meta strong,.pc-price,.pc-topline strong){color:#d1e1f2}
[data-theme=dark] :is(.points-member-row,.support-ticket,.exchange-admin-product,.pc-admin-list>button){background:transparent;border-color:var(--line);color:var(--ink)}
[data-theme=dark] :is(.points-member-row:hover,.support-ticket:hover,.row:hover,.signature-choices a:hover,.signature-choices a[aria-current=page]){background:#2a3c50;color:#edf4fb}
[data-theme=dark] .support-answer{background:#263d53}
[data-theme=dark] .support-result{background:#21384c;border-color:#42607c}
[data-theme=dark] :is(table,thead,th,td,.points-section-head,.points-policy-log,.points-form-pair,.points-policy-audit,.pc-topline,.pc-tabs,.pc-info,.pc-history,.pc-materials,.pc-materials label,.exchange-history,.exchange-order details,.social-login-notice){border-color:var(--line)}
[data-theme=dark] :is(.pc-heading p,.pc-section-title small,.pc-history p,.pc-history small,.pc-form label,.pc-admin-list small,.exchange-product-copy p,.exchange-heading p,.exchange-order-top p,.exchange-history,.support-message time,.support-heading p,.social-login-panel>p,.member-page-heading p){color:#a9bacb}
[data-theme=dark] .pc-tabs button{color:#a4b6c9}
[data-theme=dark] .pc-tabs button[aria-pressed=true]{color:#edf5fd;border-color:#aec5dd}
[data-theme=dark] .pc-pack-art{background:radial-gradient(ellipse,#2e4259,#1d2d40 58%,#172330)}
[data-theme=dark] .pc-card{border-color:#526a83;background:linear-gradient(145deg,#28394b,#1d2c3d);color:#d8e5f2}
[data-theme=dark] .grade-SR{border-color:#8e7aa9;background:linear-gradient(145deg,#39324c,#29283b)}
[data-theme=dark] .grade-SSR{border-color:#a2916d;background:linear-gradient(145deg,#454032,#302f2b)}
[data-theme=dark] .grade-UR{border-color:#a59eb8;background:linear-gradient(135deg,#3e3550,#2b4356,#4b3744)}
[data-theme=dark] :is(.pc-photo,.pc-locked .pc-photo){background:#273a4e}
[data-theme=dark] .pc-foil :is(span,b,small){color:#dce7f6}
[data-theme=dark] :is(.exchange-product-image,.exchange-editor-preview img,.signature-media,.signature-grid .signature-preview,.short-thumbnail){background:#253649}
[data-theme=dark] .exchange-sold-out{background:#39372f;color:#e4d8be;border-color:#655c48}
[data-theme=dark] .exchange-status{background:#2c4056;color:#c4d8ed}
[data-theme=dark] .exchange-status.completed{background:#263e36;color:#b1d7c2}
[data-theme=dark] :is(.exchange-status.cancelled,.exchange-status.failed){background:#47333d;color:#e2bbc9}
[data-theme=dark] :is(.exchange-retry,.exchange-status.processing,.exchange-status.reserving,.exchange-status.cancelling){background:#403b2c;border-color:#625d43;color:#ddcfaa}
[data-theme=dark] :is(.notice-badge,.notice-stats>span:not(.notice-source-label),.row .badge){background:#293a52;color:#c4d1ed}
[data-theme=dark] :is(.notice-card h3,.notice-author,.official-channel strong,.calendar-month,.calendar-controls button,.calendar-day,.calendar-date,.row){color:#d4e1ef}
[data-theme=dark] :is(.calendar-weekday,.calendar-blank){background:#172330;color:#a2b3c5}
[data-theme=dark] :is(.calendar-day,.calendar-cell,.calendar-event){border-color:var(--line)}
[data-theme=dark] .calendar-event{background:#2b4055;color:#d4e6f8}
[data-theme=dark] .calendar-event.day-off{background:#45343e;color:#e3c4d2}
[data-theme=dark] .social-login-panel .social-password-notice{color:#b8c6d5}
[data-theme=dark] .social-login-panel .social-error{background:#412f3a;color:#efc6d8}
[data-theme=dark] .social-login-buttons .social-recent{background:#26384c;border-color:#526c87;color:#dbe9f8}
[data-theme=dark] .social-soop{background:#edf3fc;color:#285bb8}
[data-theme=dark] :is(.social-naver,.social-kakao,.social-soop) :is(span,b,small){color:inherit}
[data-theme=dark] .site-edit-bar{background:#26394c;border-color:#465f78;color:#e1edf8}
[data-theme=dark] :is(.search,.search input){background:var(--surface);color:var(--ink);border-color:var(--line)}
[data-theme=dark] :is(.menu-button span,.dot){background:#a6bed5}

/* 모바일: 주 메뉴를 한 줄 가로 스크롤로 (3줄로 꺾이지 않게) */
@media(max-width:760px){#navigation{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;gap:0 18px;padding:0 2px;mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent)}#navigation::-webkit-scrollbar{display:none}#navigation>a,#navigation .nav-group>a,#navigation #admin-link{flex:none}}

/* 야간 모드: 아이콘 버튼 */
.theme-toggle,.theme-toggle[aria-pressed]{display:inline-grid;place-items:center;width:38px;height:38px;padding:0!important;border-radius:50%;font-size:0!important}
.theme-toggle svg{display:block}
.theme-toggle:focus-visible{outline:2px solid currentColor;outline-offset:2px}

/* 마이페이지: 회원 탈퇴 (눈에 덜 띄게 맨 아래) */
.member-withdraw{margin:48px 0 8px;border-top:1px solid var(--line);padding-top:14px;font-size:14px}
.member-withdraw summary{cursor:pointer;color:var(--muted,#6b7a8a);width:max-content}
.member-withdraw-body{margin-top:12px;max-width:640px;line-height:1.7}
.member-withdraw-body a{text-decoration:underline}
.member-withdraw label{display:block;margin:12px 0 6px}
.member-withdraw-row{display:flex;gap:8px;flex-wrap:wrap}
.member-withdraw-row input{flex:1 1 200px;min-height:40px;border:1px solid var(--line);border-radius:8px;padding:0 12px;background:transparent;color:inherit;font:inherit}
.member-withdraw-go{min-height:40px;padding:0 16px;border-radius:8px;border:1px solid #b4232f;background:transparent;color:#b4232f;font-weight:700;cursor:pointer}
.member-withdraw-go:hover{background:#b4232f;color:#fff}
.footer-links{margin:6px 0 0;font-size:13px}
.footer-links a{text-decoration:underline}
.member-withdraw-admin{padding:10px 12px;border-radius:8px;background:rgb(180 35 47 / .08)}

/* 상단 로그아웃 (마이페이지 오른쪽) */
.site-header .header-logout{border:0;background:none;padding:0;margin:0;font:inherit;font-size:11px;letter-spacing:.08em;color:inherit;cursor:pointer;opacity:.75}.site-header .header-logout:hover{opacity:1}@media(max-width:640px){.site-header .header-logout{font-size:10px}}

/* 시그표 움짤(MP4) — GIF 이미지와 같은 크기로 */
.signature-media video{width:100%;height:100%;min-height:0;object-fit:contain;display:block;background:transparent;pointer-events:none}

/* 시그 리스트 펼침 메뉴 (PC에서 마우스를 올리면 개인 방송·광우상사가 보임) */
.nav-group{position:relative;display:block;flex:none}
.nav-sub{display:none}
@media(min-width:761px){
.nav-sub{position:absolute;top:calc(100% - 12px);left:50%;transform:translateX(-50%);z-index:30;min-width:128px;padding:6px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 30px #34495b1f}
.nav-group:hover .nav-sub,.nav-group:focus-within .nav-sub{display:block}
.nav-sub a{display:block;padding:9px 14px;border-radius:7px;font-size:12px;white-space:nowrap;color:#4d6072;text-align:center}
.nav-sub a:hover,.nav-sub a:focus-visible{background:var(--bg);color:#34495b}
.nav-sub a[aria-current=page]{font-weight:600;color:#34495b}
[data-theme=dark] .nav-sub{background:var(--surface);border-color:var(--line);box-shadow:0 12px 30px #0006}
[data-theme=dark] .nav-sub a{color:#b8c7d6}
[data-theme=dark] .nav-sub a:hover,[data-theme=dark] .nav-sub a[aria-current=page]{background:#ffffff10;color:#f0f5fa}
}

/* 관리자 모드: 좋아하는 시그 선택 버튼 */
.signature-favorite-toggle{white-space:nowrap}
.signature-favorite-toggle[aria-pressed=true]{background:#fbe9ef;border-color:#e7a9bd;color:#a23b62;font-weight:600}
[data-theme=dark] .signature-favorite-toggle[aria-pressed=true]{background:#4a2433;border-color:#8a4560;color:#f4c4d4}

/* 사이트 점검 */
#maintenance-banner{position:sticky;top:0;z-index:50;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 12px;padding:9px 16px;background:#b4233c;color:#fff;font-size:12px;text-align:center}
#maintenance-banner a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.maint-panel{margin:22px 0;padding:20px 22px;border:1px solid var(--line);border-radius:12px;background:#ffffff90}
.maint-panel.is-on{border-color:#e3a0ad;background:#fff4f6}
.maint-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.maint-head h2{font-size:16px;margin:0}
.maint-state{font-size:12px;padding:4px 10px;border-radius:99px;background:#e7f3ec;color:#2e6b46;white-space:nowrap}
.maint-panel.is-on .maint-state{background:#b4233c;color:#fff}
.maint-help{font-size:13px;color:var(--muted);line-height:1.7;margin:10px 0 14px}
.maint-form label{display:block;font-size:12px;margin-bottom:6px}
.maint-form textarea{width:100%;font:inherit;font-size:13px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);resize:vertical}
.maint-actions{display:flex;align-items:center;gap:12px;margin-top:10px;flex-wrap:wrap}
.maint-actions small{color:var(--muted);font-size:12px}
.maint-go{border:0;border-radius:8px;padding:10px 16px;background:#b4233c;color:#fff;font-weight:600;cursor:pointer}
.maint-go:disabled{opacity:.6}
[data-theme=dark] .maint-panel{background:var(--surface)}
[data-theme=dark] .maint-panel.is-on{background:#3a1c24;border-color:#7a3646}
[data-theme=dark] .maint-form textarea{background:#0f161d;color:var(--ink)}
#maintenance-cover{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;background:var(--bg,#f3f8fc);color:var(--ink,#34495b);text-align:center;padding:24px}#maintenance-cover b{font-size:20px}#maintenance-cover p{color:var(--muted,#748595);font-size:14px}

/* 홈 LIVE 칸 (SOOP 방송 상태) */
.live-row.is-live{border-color:#f0b7c4;background:#fff6f8}
.live-main{display:flex;align-items:center;gap:14px;min-width:0;flex:1}
.live-thumb{width:120px;height:68px;object-fit:cover;border-radius:6px;flex:none;background:#dfe7ee}
.live-text{display:flex;flex-direction:column;gap:3px;min-width:0}
.live-text strong{font-weight:600;font-size:13px;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-text small{font-size:11px;color:var(--muted)}
.live-badge{align-self:flex-start;font-size:10px;font-weight:700;letter-spacing:.08em;color:#fff;background:#e0294b;border-radius:4px;padding:2px 6px;animation:live-pulse 2s ease-in-out infinite}
@keyframes live-pulse{50%{opacity:.65}}
@media(prefers-reduced-motion:reduce){.live-badge{animation:none}}
.live-go{white-space:nowrap;font-weight:600;color:#c4234a}
.live-last{font-size:10px;color:var(--muted);margin-left:4px}
.live-row.is-offline p{align-items:center;flex-wrap:wrap}
@media(max-width:640px){.live-thumb{width:96px;height:54px}.live-row.is-live{flex-wrap:wrap}.live-go{font-size:11px}}
[data-theme=dark] .live-row.is-live{background:#2c1a22;border-color:#6b3445}
[data-theme=dark] .live-go{color:#ff8fa6}

/* 방송 캘린더 분류 색 (노션 분류 색) */
[data-cat=blue]{--cat-bg:#d3e3f6;--cat-ink:#1f3d5c}
[data-cat=purple]{--cat-bg:#e7ddf4;--cat-ink:#45295e}
[data-cat=green]{--cat-bg:#dbe9dd;--cat-ink:#1f3b2a}
[data-cat=yellow]{--cat-bg:#f2e4c2;--cat-ink:#4f3a14}
[data-cat=gray]{--cat-bg:#e3e3e1;--cat-ink:#3a3936}
[data-cat=default]{--cat-bg:#efefed;--cat-ink:#37352f}
[data-cat=pink]{--cat-bg:#f4dde6;--cat-ink:#55243b}
[data-cat=brown]{--cat-bg:#f2dfd2;--cat-ink:#4d2e1d}
[data-cat=red]{--cat-bg:#f7dede;--cat-ink:#5e1f1c}
.calendar-event[data-cat]{background:var(--cat-bg,#efefed);color:var(--cat-ink,#37352f)}
.category-chip{display:inline-block;font-size:12px;font-weight:600;padding:3px 9px;border-radius:5px;background:var(--cat-bg,#efefed);color:var(--cat-ink,#37352f)}
[data-theme=dark] [data-cat=blue]{--cat-bg:#1f3550;--cat-ink:#b9d4f2}
[data-theme=dark] [data-cat=purple]{--cat-bg:#3a2c4f;--cat-ink:#d9c8f0}
[data-theme=dark] [data-cat=green]{--cat-bg:#24392c;--cat-ink:#bfdcc6}
[data-theme=dark] [data-cat=yellow]{--cat-bg:#45391d;--cat-ink:#ecd9a6}
[data-theme=dark] [data-cat=gray]{--cat-bg:#3a3a3a;--cat-ink:#d6d6d6}
[data-theme=dark] [data-cat=default]{--cat-bg:#2f3133;--cat-ink:#d6d6d6}
[data-theme=dark] [data-cat=pink]{--cat-bg:#4a2737;--cat-ink:#f1c6d7}
[data-theme=dark] [data-cat=brown]{--cat-bg:#47301f;--cat-ink:#ecccb5}
[data-theme=dark] [data-cat=red]{--cat-bg:#4d2423;--cat-ink:#f3c3c0}
[data-theme=dark] .calendar-event[data-cat]{background:var(--cat-bg);color:var(--cat-ink)}

/* 유튜브 채널 탭 + 최근 영상 (롱폼·쇼츠 최신순): 썸네일 높이를 맞추고 폭은 영상 비율대로 */
.shorts-tabs{display:flex;gap:6px;margin:-4px 0 14px}
.shorts-tabs button{border:1px solid var(--line);background:#fff;color:var(--muted);border-radius:99px;padding:6px 14px;font-size:12px;cursor:pointer}
.shorts-tabs button[aria-selected=true]{background:var(--ink);border-color:var(--ink);color:#fff;font-weight:600}
[data-theme=dark] .shorts-tabs button{background:var(--surface);color:#b8c7d6}
[data-theme=dark] .shorts-tabs button[aria-selected=true]{background:#dbe5ee;border-color:#dbe5ee;color:#141c24}
.video-strip{display:flex!important;gap:16px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:6px;scrollbar-width:thin;grid-template-columns:none!important}
.video-card{flex:none;scroll-snap-align:start;--th:236px}
.video-card .short-thumbnail{height:var(--th);aspect-ratio:auto!important;display:block}
.video-card.is-shorts{width:calc(var(--th) * 9 / 16)}
.video-card.is-long{width:calc(var(--th) * 16 / 9)}
.video-card .short-thumbnail img{width:100%;height:100%;object-fit:cover}
.video-card strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.video-channel-links{display:flex;gap:14px;flex-wrap:wrap;justify-content:flex-end}
.video-channel-links a{font-size:11px;color:var(--muted)}
@media(max-width:640px){.video-card{--th:180px}.video-strip{gap:12px}}

/* 캘린더 관리: 다시보기 자동 기록 */
.cal-sync{margin-bottom:17px}
.cal-sync-help{font-size:12px;color:var(--muted);line-height:1.7;margin:0 0 8px}
.cal-sync-status{font-size:13px;margin:0;color:var(--ink)}

/* 기획 컨텐츠 */
.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:22px 18px}
.project-card{position:relative;min-width:0}
.project-card>a{display:flex;flex-direction:column;gap:8px}
.project-thumb{position:relative;display:block;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#dfe7ee}
.project-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.project-card>a:hover .project-thumb img{transform:scale(1.03)}
.project-play{position:absolute;right:10px;bottom:10px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#0008;color:#fff;font-size:11px}
.project-card strong{font-size:13px;font-weight:600;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.project-card time{font-size:11px;color:var(--muted)}
.project-edit:empty{display:none}.project-edit{display:block;margin-top:6px}
@media(max-width:640px){.project-grid{grid-template-columns:1fr 1fr;gap:16px 12px}.project-card strong{font-size:12px}}
[data-theme=dark] .project-thumb{background:#253649}

/* 포토카드 칭호 (마이페이지) */
.titles-panel{margin:22px 0;padding:20px 22px;border:1px solid var(--line);border-radius:12px;background:#ffffff90}
.titles-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.titles-head h2{font-size:16px;margin:0}.titles-head span{font-size:12px;color:var(--muted)}
.titles-help{font-size:12px;color:var(--muted);line-height:1.7;margin:8px 0 6px}
.titles-new{margin:10px 0;padding:10px 12px;border-radius:8px;background:#fff6db;font-size:13px}
.titles-group{font-size:12px;color:var(--muted);margin:16px 0 8px;font-weight:600}
.titles-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
.title-item{border:1px solid var(--line);border-radius:10px;padding:11px 12px;background:#fff}
.title-item.is-equipped{border-color:#8d7888;box-shadow:0 0 0 1px #8d7888 inset}
.title-row{display:flex;align-items:center;gap:8px}
.title-tier{font-size:10px;color:var(--muted);letter-spacing:.04em}
.title-btn{margin-left:auto;border:1px solid var(--line);background:#fff;border-radius:7px;padding:4px 9px;font-size:11px;cursor:pointer;color:var(--ink)}
.title-btn:disabled{opacity:.5}
.title-cond{font-size:12px;margin:7px 0 6px;color:var(--ink)}
.title-gauge{height:6px;border-radius:99px;background:#e8eef3;overflow:hidden}
.title-gauge span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#9db4c8,#6f8aa3);transition:width .4s}
.title-item.is-earned .title-gauge span{background:linear-gradient(90deg,#c9a9c0,#8d7888)}
.title-progress{font-size:11px;color:var(--muted);margin:5px 0 0;font-variant-numeric:tabular-nums}
.titles-admin{margin:14px 0}
.titles-admin-box{border:1px dashed var(--line);border-radius:12px;padding:14px 16px;background:#fbfcfd}
.titles-admin-box summary{cursor:pointer;font-weight:600;font-size:14px}
.titles-admin-table{display:grid;gap:6px;margin-top:10px;overflow-x:auto}
.ta-row{display:grid;grid-template-columns:minmax(110px,1.4fr) 90px minmax(150px,1.6fr) 90px 80px 40px 56px;gap:6px;align-items:center;min-width:640px}
.ta-row input:not([type=checkbox]),.ta-row select{width:100%;font:inherit;font-size:12px;padding:6px 7px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink)}
.ta-head{font-size:11px;color:var(--muted)}
.ta-actions{display:flex;gap:8px;margin-top:10px}
[data-theme=dark] .titles-panel,[data-theme=dark] .title-item,[data-theme=dark] .titles-admin-box{background:var(--surface)}
[data-theme=dark] .title-btn,[data-theme=dark] .ta-row input:not([type=checkbox]),[data-theme=dark] .ta-row select{background:#0f161d;color:var(--ink)}
[data-theme=dark] .title-gauge{background:#26323e}
[data-theme=dark] .titles-new{background:#3b3220}

/* 칭호 배지: 등급별 디자인 (Normal 은빛 · Rare 파랑 · Epic 보라 빛 · Legend 금빛 반짝 · Mystic 홀로그램) */
.title-chip{position:relative;display:inline-flex;align-items:center;gap:4px;padding:3px 10px 3px 8px;border-radius:999px;font-size:12px;font-weight:800;letter-spacing:-.01em;line-height:1.35;vertical-align:middle;white-space:nowrap;isolation:isolate;overflow:hidden;
  color:#33404c;background:linear-gradient(180deg,#fbfcfd,#e3e8ee);border:1px solid #c3ccd6;box-shadow:inset 0 1px 0 #fff,0 1px 2px #1f2d3a1a}
.title-chip::before{content:'';width:7px;height:7px;flex:none;transform:rotate(45deg);border-radius:1.5px;background:linear-gradient(135deg,#fff,#8f9aa6);box-shadow:0 0 0 1px #0000001a}
.title-chip[data-tier=R]{color:#0f3f72;background:linear-gradient(180deg,#f2f8ff,#c7defa);border-color:#86b2e6}
.title-chip[data-tier=R]::before{background:linear-gradient(135deg,#d8ecff,#2f7fd6)}
.title-chip[data-tier=SR]{color:#4a1580;background:linear-gradient(180deg,#faf3ff,#dcc3f7);border-color:#b18ae4;box-shadow:inset 0 1px 0 #fff,0 0 10px #a46ee455}
.title-chip[data-tier=SR]::before{background:linear-gradient(135deg,#f2dcff,#8a3fd6);box-shadow:0 0 6px #a46ee4}
.title-chip[data-tier=SSR]{color:#5c3400;background:linear-gradient(180deg,#fff9e3,#f3c85d 70%,#e7ad2f);border-color:#d39b26;box-shadow:inset 0 1px 0 #fffbe9,0 0 12px #f0b43b66}
.title-chip[data-tier=SSR]::before{background:linear-gradient(135deg,#fff6cf,#d18a0b);box-shadow:0 0 6px #ffcb52}
.title-chip[data-tier=SSR]::after,.title-chip[data-tier=UR]::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,transparent 30%,#ffffffb0 45%,transparent 60%);background-size:250% 100%;animation:ch-shine 3.2s ease-in-out infinite}
.title-chip[data-tier=UR]{color:transparent;background:linear-gradient(120deg,#1d1238,#3b1f6b 50%,#1b2a5e);border:1px solid transparent;
  background-image:linear-gradient(120deg,#1d1238,#3b1f6b 50%,#1b2a5e),conic-gradient(from var(--chA,0deg),#ff8ab0,#ffd36e,#8affc1,#7fb8ff,#d38bff,#ff8ab0);background-origin:border-box;background-clip:padding-box,border-box;box-shadow:0 0 14px #b07cff80;animation:ch-spin 4s linear infinite}
.title-chip[data-tier=UR] .title-chip-t{background:linear-gradient(90deg,#ffb3cb,#ffe08a,#a5ffd2,#a8cbff,#e2b0ff);-webkit-background-clip:text;background-clip:text;color:transparent}
.title-chip[data-tier=UR]::before{background:conic-gradient(#ff8ab0,#ffd36e,#8affc1,#7fb8ff,#d38bff,#ff8ab0);box-shadow:0 0 8px #e2b0ff}
@keyframes ch-shine{0%,40%{background-position:120% 0}100%{background-position:-120% 0}}
@keyframes ch-spin{to{--chA:360deg}}
@media(prefers-reduced-motion:reduce){.title-chip::after,.title-chip[data-tier=UR]{animation:none!important}}
@property --chA{syntax:'<angle>';inherits:false;initial-value:0deg}
