/* ============================================================
 * TT COMPANY — UNISPA풍 라이트 테마
 * ============================================================ */

:root {
  --bg: #f7f4ee;
  --bg-soft: #f1ebe0;
  --surface: #ffffff;
  --fg: #3e372d;
  --muted: #70685c;
  --faint: #9d978d;
  --line: rgba(62, 55, 45, 0.10);
  --line-strong: rgba(62, 55, 45, 0.18);
  --accent: #9e710a;
  --accent-strong: #805b08;
  --accent-soft: #f0eae2;
  --accent-ink: #ffffff;
  --gold: #c8912f;
  --gold-soft: #f6edd8;
  --live: #e5484d;
  --live-soft: #fdecec;
  --radius: 16px;
  --shadow: 0 16px 44px -22px rgba(62, 55, 45, 0.40);
  --shadow-soft: 0 8px 24px -14px rgba(62, 55, 45, 0.28);
  --serif: "Playfair Display", "Nanum Myeongjo", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Apple SD Gothic Neo", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: rgba(158, 113, 10, 0.22); }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 244, 238, 0.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 22px; height: 66px; }
.studio-logo { display: inline-flex; align-items: center; font-weight: 800; white-space: nowrap; flex-shrink: 0; }
.logo-mark {
  display: inline-grid; place-items: center; min-width: 34px; height: 30px; padding: 0 8px;
  border-radius: 9px; background: linear-gradient(135deg, var(--accent), var(--gold));
  color: #fff; font-family: var(--serif); font-size: 16px; font-weight: 800;
  box-shadow: 0 5px 14px -5px rgba(158, 113, 10, 0.5);
}
.logo-mark-image {
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(158, 113, 10, 0.22);
  border-radius: 50%;
  background: #f0ebe3;
  object-fit: cover;
  box-shadow: 0 5px 15px -5px rgba(99, 69, 1, 0.52);
}
.logo-text { margin-left: 10px; font-size: 15px; font-weight: 800; letter-spacing: 0.18em; color: var(--fg); }
.thin { font-weight: 500; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a { padding: 8px 13px; border-radius: 999px; font-size: 14.5px; font-weight: 700; color: var(--muted); white-space: nowrap; transition: 0.15s; }
.main-nav a:hover { color: var(--fg); background: rgba(62, 55, 45, 0.05); }
.main-nav a.active { color: var(--accent-strong); background: var(--accent-soft); }
.main-nav a.nav-live { display: inline-flex; align-items: center; gap: 6px; color: var(--live); }
.main-nav a.nav-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px rgba(229,72,77,0.16); animation: pulse 1.5s ease-in-out infinite; }
.main-nav a.nav-live:hover, .main-nav a.nav-live.active { color: #fff; background: var(--live); }
.btn-login { margin-left: auto; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--accent); background: transparent; color: var(--accent-strong); font-size: 13px; font-weight: 800; white-space: nowrap; flex-shrink: 0; transition: 0.15s; }
.btn-login:hover { background: var(--accent-soft); }
.btn-apply { padding: 9px 18px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--gold)); color: #fff; font-size: 13px; font-weight: 800; white-space: nowrap; flex-shrink: 0; box-shadow: 0 6px 16px -6px rgba(158, 113, 10, 0.5); transition: 0.15s; }
.btn-apply:hover { transform: translateY(-1px); filter: brightness(1.04); }
.btn-apply[hidden] { display: none !important; }

/* Desktop dropdown is anchored to its own trigger. */
.nav-drop { position: relative; flex-shrink: 0; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 5px; padding: 8px 13px; border-radius: 999px; font-size: 14.5px; font-weight: 700; color: var(--muted); white-space: nowrap; transition: 0.15s; }
.nav-drop-btn i { font-style: normal; font-size: 10px; transition: 0.15s; }
.nav-drop-btn:hover { color: var(--fg); background: rgba(62, 55, 45, 0.05); }
.nav-drop-btn.active { color: var(--accent-strong); background: var(--accent-soft); }
.nav-drop.open .nav-drop-btn i { transform: rotate(180deg); }
.nav-drop-menu { position: absolute; min-width: 190px; padding: 6px; border: 1px solid var(--line-strong); border-radius: 14px; background: #fff; box-shadow: var(--shadow); display: none; z-index: 200; }
.nav-drop.open .nav-drop-menu { display: block; }
.nav-drop-menu a { display: block; padding: 9px 12px; border-radius: 9px; font-size: 13px; font-weight: 700; color: var(--muted); }
.nav-drop-menu a:hover { color: var(--accent-strong); background: var(--accent-soft); }
.mobile-menu-button { display: none; }
.mobile-nav-drawer { position: fixed; inset: 0 0 0 auto; width: min(340px, calc(100vw - 36px)); max-width: none; height: 100dvh; max-height: none; overflow-y: auto; margin: 0; padding: 22px; padding-bottom: max(22px, env(safe-area-inset-bottom)); border: 0; border-left: 1px solid var(--line); background: #fff; color: #3e372d; box-shadow: -14px 0 50px #0003; }
.mobile-nav-drawer::backdrop { background: #21172a70; }
.mobile-nav-title { display: flex; justify-content: space-between; align-items: center; padding-bottom: 22px; border-bottom: 1px solid #ebe8e4; }
.mobile-nav-title strong { font-size: 19px; }
.mobile-nav-title button { width: 40px; height: 40px; font-size: 28px; border-radius: 10px; background: #f1ede8; }
.mobile-nav-drawer nav { display: grid; gap: 5px; padding-top: 16px; }
.mobile-nav-drawer nav > a, .mobile-nav-data summary { display: block; padding: 13px 15px; border-radius: 10px; font-weight: 750; font-size: 16px; cursor: pointer; }
.mobile-nav-drawer a[aria-current="page"] { color: #7e5908; background: #efe9e0; }
.mobile-nav-data > div { display: grid; gap: 3px; padding: 3px 12px 12px 23px; }
.mobile-nav-data summary::after { content: "⌄"; float: right; transition: transform .15s; }
.mobile-nav-data[open] summary::after { transform: rotate(180deg); }
.mobile-nav-data a { padding: 10px; font-size: 14px; border-radius: 9px; color: #70685c; }
.mobile-nav-drawer a:focus-visible, .mobile-nav-drawer button:focus-visible { outline: 2px solid #9e710a; outline-offset: 2px; }
@media (min-width: 1000px) { .main-nav { overflow: visible; } }
@media (max-width: 999px) {
  .mobile-nav-ready .main-nav { display: none; }
  .mobile-nav-ready .header-inner { gap: 12px; }
  .mobile-nav-ready .studio-logo { margin-right: auto; }
  .mobile-nav-ready .logo-text { display: inline; }
  .mobile-nav-ready .mobile-menu-button { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border: 1px solid var(--line-strong); border-radius: 11px; }
  .mobile-nav-ready .btn-apply { padding: 8px 12px; font-size: 12px; }
}

/* ---------- 운영 상태 바 ---------- */
.runtime-bar { min-height: 34px; border-bottom: 1px solid var(--line); background: rgba(158, 113, 10, 0.05); }
.runtime-inner { min-height: 34px; display: flex; align-items: center; gap: 12px; font-size: 11.5px; }
.runtime-state { display: inline-flex; align-items: center; gap: 7px; color: #2f9e5f; font-weight: 800; }
.runtime-state i { width: 7px; height: 7px; border-radius: 50%; background: #34c77b; box-shadow: 0 0 0 4px rgba(52,199,123,0.14); }
.runtime-state.warning { color: #b7791f; }
.runtime-state.warning i { background: #e6a817; box-shadow: 0 0 0 4px rgba(230,168,23,0.16); }
.runtime-state.preview { color: var(--muted); }
.runtime-state.preview i { background: var(--faint); box-shadow: 0 0 0 4px rgba(157, 151, 141, 0.18); }
.runtime-bar.is-loading .runtime-state i { animation: pulse 0.8s ease-in-out infinite; }
.runtime-bar.has-error { background: #fdf3e7; }
.runtime-meta { color: var(--muted); }
.runtime-meta b { color: var(--live); }
.runtime-refresh { margin-left: auto; padding: 4px 11px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted); background: #fff; font-size: 11px; font-weight: 700; }
.runtime-refresh:hover { color: var(--fg); border-color: var(--accent); }

/* ---------- 히어로 배너 ---------- */
.hero-banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: #f0ebe3;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(247,244,238,0.13) 72%, rgba(247,244,238,0.62) 100%),
    url("brand/tt-hero-bg-v1.webp");
  background-position: center 50%;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero-banner::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 43%, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.03) 43%, transparent 69%),
    linear-gradient(90deg, rgba(76, 53, 4, 0.08), transparent 19%, transparent 81%, rgba(76, 53, 4, 0.08));
  pointer-events: none;
}
.hero-banner-inner { position: relative; z-index: 1; text-align: center; padding: 96px 20px 120px; }
.hero-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.34em; color: #583e05; margin-bottom: 18px; text-shadow: 0 1px 14px rgba(255,255,255,0.95); }
.hero-wordmark {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(52px, 11vw, 128px); line-height: 1; letter-spacing: 0.01em;
  background: linear-gradient(100deg, #604303 0%, #976c0c 43%, #9f6c27 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 1px rgba(255,255,255,0.95)) drop-shadow(0 8px 22px rgba(84, 58, 0, 0.22));
}
.hero-script { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: clamp(17px, 2.6vw, 24px); font-weight: 700; color: #585145; text-shadow: 0 1px 13px rgba(255,255,255,0.98); }

/* ---------- 통계 바 ---------- */
.stat-wrap { position: relative; z-index: 3; margin-top: -46px; padding: 0 20px; }
.stat-bar {
  max-width: 620px; margin: 0 auto; padding: 20px 18px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
}
.stat-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.stat-k { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.stat-v { font-size: 30px; font-weight: 900; color: var(--fg); font-variant-numeric: tabular-nums; }
.stat-item.live .stat-v { color: var(--live); }
.stat-div { width: 1px; align-self: stretch; margin: 4px 0; background: var(--line-strong); }
.live-dot-sm { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px rgba(229,72,77,0.15); animation: pulse 1.5s ease-in-out infinite; display: inline-block; }

/* ---------- 공통 섹션 ---------- */
.section { padding: 64px 0 0; }
.section:last-of-type { padding-bottom: 76px; }
.soft-section { background: var(--bg-soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.section-head.center { justify-content: center; text-align: center; }
.section-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.22em; color: var(--accent); margin-bottom: 8px; }
.section-title { font-family: var(--serif); font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: 0; line-height: 1.15; color: var(--fg); display: inline-flex; align-items: center; gap: 12px; }
.section-desc { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.section-tools { display: flex; gap: 8px; flex-shrink: 0; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; color: var(--muted); transition: 0.15s; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent-strong); }
.link-more { font-size: 13.5px; font-weight: 800; color: var(--accent-strong); white-space: nowrap; }
.link-more:hover { text-decoration: underline; }
.empty-box { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 44px 20px; text-align: center; color: var(--muted); font-size: 14px; background: rgba(255,255,255,0.5); }

/* ---------- LIVE NOW ---------- */
.live-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px rgba(229,72,77,0.16); animation: pulse 1.5s ease-in-out infinite; }
.live-now-section .section-title { color: var(--live); }
.livenow-group { margin-bottom: 26px; }
.livenow-group-head { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; font-size: 13px; color: var(--muted); font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }
.livenow-group-head b { color: var(--fg); font-weight: 800; }
.livenow-group-count { font-size: 11px; font-weight: 800; color: #fff; background: var(--accent); border-radius: 999px; padding: 1px 9px; }
.label-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; background: hsl(var(--label-hue, 275) 55% 55%); }
.livenow-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 18px; }
.livenow-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow-soft); transition: 0.18s; display: flex; flex-direction: column; }
.livenow-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.livenow-card.primary { border-color: rgba(158, 113, 10, 0.28); }
.livenow-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.livenow-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.live-thumb-avatar { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 30% 24%, rgba(255,255,255,0.35), transparent 42%), linear-gradient(150deg, hsl(var(--avatar-hue,275) 58% 62%), hsl(calc(var(--avatar-hue,275) + 40) 55% 46%)); }
.live-thumb-avatar span { font-family: var(--serif); font-size: 46px; font-weight: 800; color: #fff; }
.live-badge { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 4px; background: var(--live); color: #fff; font-size: 10px; font-weight: 900; letter-spacing: 0.06em; padding: 4px 9px; border-radius: 999px; box-shadow: 0 4px 12px rgba(229,72,77,0.4); }
.pulse, .live-badge .pulse { width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: pulse 1.4s ease-in-out infinite; display: inline-block; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }
.livenow-viewers { position: absolute; top: 10px; right: 10px; font-size: 11.5px; font-weight: 800; color: #fff; background: rgba(48, 43, 35, 0.6); border-radius: 999px; padding: 3px 9px; }
.livenow-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.livenow-name { font-size: 16px; font-weight: 800; }
.livenow-label { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.livenow-title { font-size: 12.5px; color: var(--faint); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.livenow-go { margin-top: auto; padding-top: 6px; font-size: 12.5px; font-weight: 800; color: var(--accent-strong); }
a.livenow-card:hover .livenow-go { text-decoration: underline; }
.live-empty-card { text-align: center; border: 1px dashed var(--line-strong); border-radius: 20px; padding: 48px 24px; background: rgba(255,255,255,0.6); }
.live-empty-badge { display: inline-block; margin-bottom: 14px; font-size: 11px; font-weight: 900; letter-spacing: 0.16em; color: var(--faint); border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 14px; }
.live-empty-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 800; }
.live-empty-card p { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.live-empty-card p b { color: var(--accent-strong); font-size: 16px; }
.live-empty-link { display: inline-block; margin-top: 18px; font-size: 13.5px; font-weight: 800; color: var(--accent-strong); }
.live-empty-link:hover { text-decoration: underline; }

/* ---------- 라벨 대형 섹션 ---------- */
.label-section { position: relative; overflow: hidden; padding: 76px 0; background: var(--bg); }
.label-section.alt { background: var(--bg-soft); }
.label-watermark { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); text-align: center; font-family: var(--serif); font-weight: 900; font-size: clamp(90px, 20vw, 260px); line-height: 1; color: color-mix(in srgb, var(--accent) 10%, transparent); white-space: nowrap; pointer-events: none; letter-spacing: -0.02em; }
.label-section-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.label-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.22em; color: var(--accent-strong); margin-bottom: 12px; }
.label-name { font-family: var(--serif); font-size: clamp(38px, 6vw, 60px); font-weight: 800; line-height: 1.05; color: var(--fg); }
.label-tagline { margin-top: 14px; font-size: 16px; color: var(--muted); }
.label-divider { height: 1px; background: var(--line-strong); margin: 26px 0; }
.label-mini-stats { display: flex; gap: 34px; }
.label-mini-stats > div { display: flex; flex-direction: column; gap: 4px; }
.label-mini-stats span { font-size: 12px; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.label-mini-stats b { font-size: 26px; font-weight: 900; color: var(--fg); font-variant-numeric: tabular-nums; }
.label-mini-stats .live b { color: var(--live); }
.label-actions { display: flex; gap: 10px; margin-top: 28px; }
.btn-filled { padding: 11px 22px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 800; transition: 0.15s; }
.btn-filled:hover { background: var(--accent-strong); transform: translateY(-1px); }
.btn-outline { padding: 11px 22px; border-radius: 10px; border: 1px solid var(--line-strong); color: var(--muted); font-size: 14px; font-weight: 800; transition: 0.15s; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-strong); }
.label-visual { position: relative; aspect-ratio: 16 / 11; border-radius: 22px; overflow: hidden; display: grid; place-items: center; box-shadow: var(--shadow); background: radial-gradient(120% 120% at 20% 15%, color-mix(in srgb, var(--accent) 55%, white), transparent 60%), linear-gradient(150deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #2f281c)); }
.label-visual::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.4) 1px, transparent 1.4px); background-size: 22px 22px; opacity: 0.35; }
.label-visual-mono { position: relative; font-family: var(--serif); font-size: clamp(44px, 8vw, 82px); font-weight: 900; color: rgba(255,255,255,0.95); letter-spacing: 0.02em; text-shadow: 0 8px 30px rgba(0,0,0,0.25); }
.label-visual-live { position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 5px; background: var(--live); color: #fff; font-size: 11px; font-weight: 900; padding: 5px 11px; border-radius: 999px; }
.official-visual { display: block; aspect-ratio: 16 / 9; background: var(--accent-soft); border: 1px solid var(--line); }
.official-visual::after { display: none; }
.official-visual-image { width: 100%; height: 100%; object-fit: contain; }
.official-visual.is-live::after { display: block; background: linear-gradient(transparent 40%, rgba(23, 19, 12, .85)); opacity: 1; pointer-events: none; }
.official-onair { position: absolute; z-index: 1; top: 16px; left: 16px; display: flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: var(--live); color: #fff; font-size: 12px; font-weight: 850; }
.official-onair i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.official-play { position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--live); box-shadow: var(--shadow); }
.official-play svg { width: 32px; height: 32px; }
.official-live-caption { position: absolute; z-index: 1; bottom: 18px; left: 20px; right: 20px; display: grid; gap: 5px; color: #fff; }
.official-live-caption strong { font-size: clamp(14px, 2vw, 19px); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.official-live-caption > span { font-size: 12px; font-weight: 700; }
.official-channel-link { position: absolute; bottom: 12px; right: 12px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; background: #fffffff0; color: var(--accent-strong); font-size: 11px; font-weight: 800; }
.official-live-card { border-color: var(--live); }
.official-visual:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
@media (max-width: 420px) { .official-play { width: 44px; height: 44px; } .official-onair { top: 10px; left: 10px; padding: 4px 9px; font-size: 10px; } .official-live-caption { bottom: 12px; left: 14px; right: 14px; } }

/* ---------- 공지 피드 ---------- */
.feed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.feed-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: #fff; box-shadow: var(--shadow-soft); transition: 0.18s; display: flex; flex-direction: column; gap: 10px; }
.feed-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.feed-head { display: flex; align-items: center; gap: 11px; }
.feed-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 1px solid var(--line-strong); }
.feed-avatar img, .feed-avatar .initial { width: 100%; height: 100%; object-fit: cover; }
.feed-logo { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--gold)); color: #fff; font-family: var(--serif); font-size: 17px; font-weight: 800; }
.feed-who { min-width: 0; display: flex; flex-direction: column; }
.feed-author { font-size: 14px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-official { display: inline-grid; place-items: center; width: 14px; height: 14px; margin-left: 5px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 9px; font-style: normal; font-weight: 900; vertical-align: 1px; }
.feed-time { font-size: 11.5px; color: var(--faint); }
.feed-new { margin-left: 6px; color: var(--live); font-size: 10px; font-weight: 900; letter-spacing: 0.04em; }
.feed-head .notice-tag { margin-left: auto; }
.notice-tag { font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); flex-shrink: 0; }
.feed-title { font-size: 15px; font-weight: 800; }
.feed-body { font-size: 13.5px; color: var(--muted); line-height: 1.62; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.feed-foot { display: flex; gap: 12px; margin-top: auto; padding-top: 2px; font-size: 12px; font-weight: 700; color: var(--faint); }

/* ---------- 이번 주 방송 ---------- */
.week-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.week-pill { border: 1px solid var(--line); border-radius: 14px; padding: 14px 8px; text-align: center; background: #fff; box-shadow: var(--shadow-soft); transition: 0.15s; }
.week-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.week-pill .d { font-size: 12px; font-weight: 800; color: var(--faint); letter-spacing: 0.1em; }
.week-pill .t { margin-top: 6px; font-size: 12.5px; font-weight: 800; }
.week-pill .time { font-size: 11px; color: var(--muted); margin-top: 2px; }
.week-pill.today { border-color: rgba(158, 113, 10, 0.4); background: var(--accent-soft); }
.week-pill.today .d { color: var(--accent-strong); }
.week-pill.off { background: var(--bg-soft); }
.week-pill.off .t { color: var(--faint); font-weight: 600; }
.team-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; vertical-align: 1px; }
.team-dot.mwf { background: var(--accent); }
.team-dot.tts { background: var(--gold); }

/* ---------- Shorts / VOD / YouTube ---------- */
.shorts-feature-section { padding-bottom: 56px; background: linear-gradient(180deg, var(--bg) 0%, #f0ede7 100%); }
.shorts-heading-icon { width: 29px; height: 29px; border-radius: 9px; display: inline-grid; place-items: center; background: #f33745; color: #fff; font-family: sans-serif; font-size: 13px; line-height: 1; box-shadow: 0 5px 12px rgba(229,72,77,.22); }
.shorts-row { display: flex; gap: 18px; overflow-x: auto; padding: 3px 2px 18px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; }
.short-card { flex: 0 0 232px; scroll-snap-align: start; min-width: 0; }
.short-thumb { position: relative; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: radial-gradient(circle at 25% 18%, color-mix(in srgb, var(--accent) 35%, white), transparent 45%), linear-gradient(150deg, hsl(var(--media-hue,275) 55% 66%), hsl(calc(var(--media-hue,275) + 40) 50% 44%)); box-shadow: 0 12px 25px -15px rgba(38, 31, 18, .45); transition: transform .18s, box-shadow .18s; }
.short-card:hover .short-thumb { transform: translateY(-4px); box-shadow: 0 18px 30px -14px rgba(38, 31, 18, .45); }
.short-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.short-thumb .play, .vod-thumb .play { position: absolute; z-index: 2; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.95); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,0.25); }
.short-thumb .play::after, .vod-thumb .play::after { content: ""; margin-left: 3px; border-left: 13px solid var(--accent-strong); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.short-thumb .play { right: 12px; bottom: 12px; width: 42px; height: 42px; background: #f33745; }
.short-thumb .play::after { border-left-color: #fff; border-left-width: 11px; border-top-width: 7px; border-bottom-width: 7px; }
.soon-tag { position: absolute; z-index: 2; bottom: 10px; left: 50%; transform: translateX(-50%); font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; color: #fff; background: rgba(48, 43, 35, 0.5); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.short-title { margin-top: 12px; font-size: 15px; font-weight: 850; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.short-card:hover .short-title { color: var(--accent-strong); }
.section-tools .icon-btn[hidden] { display: none; }
@media (min-width: 1200px) { .short-card { flex-basis: 248px; } }
@media (max-width: 719px) { .short-card { flex-basis: min(68vw, 280px); } }
.vod-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.vod-card { min-width: 0; }
.vod-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; display: flex; align-items: center; justify-content: center; border-radius: 16px; border: 1px solid var(--line); background: radial-gradient(circle at 25% 20%, color-mix(in srgb, var(--accent) 30%, white), transparent 40%), linear-gradient(150deg, hsl(var(--media-hue,275) 52% 62%), hsl(calc(var(--media-hue,275) + 40) 48% 42%)); transition: 0.18s; }
.vod-card:hover .vod-thumb { transform: translateY(-3px); box-shadow: var(--shadow); }
.vod-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vod-thumb::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(48, 43, 35, 0.4)); pointer-events: none; }
.vod-title { margin-top: 10px; font-size: 14px; font-weight: 800; line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.content-empty { width: 100%; grid-column: 1 / -1; }
.youtube-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.youtube-card { display: flex; align-items: center; gap: 14px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-soft); transition: 0.16s; }
.youtube-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.youtube-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; background: var(--live-soft); color: var(--live); font-size: 14px; }
.youtube-card > span:nth-child(2) { min-width: 0; }
.youtube-card b, .youtube-card small { display: block; }
.youtube-card b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.youtube-card small { margin-top: 2px; color: var(--muted); font-size: 11.5px; }
.youtube-card > i { margin-left: auto; color: var(--faint); font-style: normal; }

/* ---------- 페이지 헤드 ---------- */
.page-head { padding: 54px 0 0; }
.page-head .section-title { font-size: clamp(30px, 5vw, 44px); }
.page-head .total { display: inline-flex; align-items: baseline; gap: 10px; margin-top: 14px; padding: 10px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.page-head .total .k { font-size: 12px; font-weight: 800; letter-spacing: 0.16em; color: var(--muted); }
.page-head .total .v { font-size: 22px; font-weight: 900; color: var(--accent-strong); }
.board-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.write-btn { padding: 10px 20px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 13.5px; font-weight: 800; flex-shrink: 0; transition: 0.15s; }
.write-btn:hover { background: var(--accent-strong); transform: translateY(-1px); }

/* ---------- 멤버 ---------- */
.team-tabs { display: flex; gap: 8px; margin: 28px 0 20px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.team-tabs::-webkit-scrollbar { display: none; }
.team-tab { padding: 12px 16px; font-size: 14.5px; font-weight: 800; color: var(--muted); border-bottom: 2.5px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: 0.15s; }
.team-tab:hover { color: var(--fg); }
.team-tab.active { color: var(--accent-strong); border-bottom-color: var(--accent); }
.team-tab .cnt { font-size: 12px; font-weight: 700; color: var(--faint); margin-left: 4px; }
.team-meta { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.team-meta b { color: var(--fg); }
.team-meta strong { color: var(--live); }
.leader-spotlight { margin: 36px auto 28px; padding: 38px 20px 34px; border: 1px solid rgba(158, 113, 10, .2); border-radius: 24px; background: linear-gradient(145deg, #f3efe8, #fffaf1 75%); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; box-shadow: var(--shadow-soft); }
.leader-spotlight[hidden] { display: none; }
.leader-eyebrow { color: var(--accent-strong); font-size: 11px; letter-spacing: .18em; font-weight: 900; }
.leader-avatar { position: relative; width: 168px; height: 168px; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--accent), 0 14px 30px rgba(62, 55, 45, .2); }
.leader-avatar img, .leader-avatar .initial { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.leader-avatar .live-badge { top: auto; bottom: -9px; left: 50%; transform: translateX(-50%); }
.leader-identity { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.leader-identity h2 { font-size: 26px; line-height: 1.2; }
.leader-intro { max-width: 620px; color: var(--muted); font-size: 14px; }
.leader-spotlight .member-social, .leader-spotlight .member-detail-links { margin: 2px 0; }
.member-group-heading { display: flex; align-items: center; gap: 9px; margin: 26px 0 18px; font-size: 21px; font-weight: 900; }
.member-group-heading::after { content: ""; height: 1px; flex: 1; background: var(--line-strong); }
.member-group-heading span { color: var(--accent-strong); font-size: 16px; }
.member-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 18px; }
.member-search { flex: 1; max-width: 420px; }
.member-search input { width: 100%; height: 42px; padding: 0 15px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; color: var(--fg); font: inherit; font-size: 13.5px; outline: none; transition: 0.15s; }
.member-search input::placeholder { color: var(--faint); }
.member-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(158, 113, 10, 0.12); }
.status-filters { display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.status-filters button { padding: 6px 11px; border-radius: 8px; color: var(--muted); font-size: 12px; font-weight: 700; transition: 0.15s; }
.status-filters button.active { color: #fff; background: var(--accent); }
.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)); align-items: start; gap: 16px; padding-bottom: 76px; }
.member-card { border: 1px solid var(--line); border-radius: 20px; padding: 26px 20px 20px; background: #fff; box-shadow: var(--shadow-soft); transition: 0.18s; display: flex; flex-direction: column; gap: 14px; }
.member-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.member-card.is-live { border-color: rgba(229,72,77,0.35); }
.member-top { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.member-avatar { position: relative; width: 104px; height: 104px; border-radius: 50%; border: 2px solid var(--line-strong); margin-bottom: 6px; }
.member-avatar img, .member-avatar .initial { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.member-card.is-live .member-avatar { border-color: var(--live); box-shadow: 0 0 0 3px rgba(229,72,77,0.16); }
.member-avatar .initial { font-family: var(--serif); font-size: 40px; }
.member-avatar .live-badge { top: auto; bottom: -6px; left: 50%; transform: translateX(-50%); }
.role-badge { font-size: 10.5px; font-weight: 900; letter-spacing: 0.06em; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); }
.role-badge.leader { background: var(--gold-soft); color: var(--gold); }
.member-name { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; font-size: 20px; font-weight: 900; }
.member-name .role-badge { flex: 0 0 auto; letter-spacing: 0; }
.member-ch { font-size: 12px; font-weight: 600; color: var(--faint); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.channel-link { margin-top: 4px; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--muted); font-size: 12px; font-weight: 800; transition: 0.15s; }
a.channel-link:hover { border-color: var(--accent); color: var(--accent-strong); }
.member-card.is-live a.channel-link { border-color: transparent; background: var(--live); color: #fff; }
.channel-link.disabled { color: var(--faint); cursor: default; }
.member-live-title { display: flex; gap: 7px; padding: 10px 12px; border-radius: 10px; background: var(--live-soft); color: #b53a3f; font-size: 12.5px; line-height: 1.45; }
.member-live-title b { flex: 0 0 auto; color: var(--live); font-size: 10px; letter-spacing: 0.06em; }
.member-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.member-facts span { font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-soft); color: var(--muted); }
.member-sigs .sig-label { font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; color: var(--faint); margin-bottom: 8px; text-align: center; }
.sig-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.sig-chip { font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); }
.sig-chip b { font-weight: 900; margin-right: 4px; }
.member-intro { margin-top: auto; font-size: 13px; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; text-align: center; line-height: 1.55; }
.member-intro::before { content: "“"; color: var(--accent); font-weight: 900; margin-right: 2px; }
.member-intro::after { content: "”"; color: var(--accent); font-weight: 900; margin-left: 2px; }
.member-empty { grid-column: 1 / -1; }
.viewer-badge { position: absolute; top: 10px; left: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: var(--live); color: #fff; font-size: 10.5px; font-weight: 900; }

/* ---------- LIVE 전용 페이지 ---------- */
.live-title { color: var(--live); }
.live-filter { display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0 20px; }
.live-filter-chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--muted); font-size: 13.5px; font-weight: 700; transition: 0.15s; }
.live-filter-chip span { font-size: 11.5px; font-weight: 800; color: var(--faint); }
.live-filter-chip:hover { border-color: var(--accent); color: var(--accent-strong); }
.live-filter-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.live-filter-chip.active span { color: rgba(255,255,255,0.85); }
.live-page-grid { padding-bottom: 76px; }

/* ---------- 일정 ---------- */
.week-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 12px; }
.day-card { border: 1px solid var(--line); border-radius: 16px; padding: 18px 12px; text-align: center; background: #fff; box-shadow: var(--shadow-soft); min-height: 128px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.day-card .day-name { font-size: 13px; font-weight: 900; letter-spacing: 0.14em; color: var(--faint); }
.day-card.today { border-color: rgba(158, 113, 10, 0.4); background: var(--accent-soft); }
.day-card.today .day-name { color: var(--accent-strong); }
.today-tag { font-size: 9.5px; font-weight: 900; letter-spacing: 0.1em; color: #fff; background: var(--accent); padding: 2px 8px; border-radius: 999px; }
.day-team { font-size: 14px; font-weight: 800; }
.day-time { font-size: 12px; color: var(--muted); }
.day-off { font-size: 12.5px; color: var(--faint); margin: auto 0; line-height: 1.45; }
.legend { display: flex; gap: 16px; margin-top: 16px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.event-list { display: flex; flex-direction: column; gap: 12px; padding-bottom: 8px; }
.event-card { display: flex; align-items: center; gap: 20px; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; background: #fff; box-shadow: var(--shadow-soft); transition: 0.15s; }
.event-card:hover { box-shadow: var(--shadow); }
.event-card.past { opacity: 0.5; }
.event-date { flex-shrink: 0; text-align: center; width: 64px; }
.event-date .m { font-size: 11px; font-weight: 800; color: var(--accent-strong); letter-spacing: 0.1em; }
.event-date .d { font-family: var(--serif); font-size: 28px; font-weight: 800; line-height: 1.1; }
.event-date .w { font-size: 11.5px; color: var(--faint); }
.event-main { flex: 1; min-width: 0; }
.event-title-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.event-title { font-size: 16px; font-weight: 800; }
.event-tag { font-size: 10.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); }
.event-desc { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.event-side { flex-shrink: 0; text-align: right; }
.event-time { font-size: 13px; font-weight: 700; color: var(--fg); }
.event-dday { display: inline-block; margin-top: 5px; font-size: 11.5px; font-weight: 900; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); }
.event-dday.soon { background: var(--live); color: #fff; }
.event-dday.done { background: var(--bg-soft); color: var(--faint); }
.event-card.has-poster { cursor: pointer; }
.event-poster { flex-shrink: 0; width: 52px; aspect-ratio: 2 / 3; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--bg-soft); cursor: zoom-in; }
.event-poster img { width: 100%; height: 100%; object-fit: cover; }
.week-pill.has-poster, .calendar-event.has-poster { cursor: zoom-in; }
.week-pill.has-poster .t::after, .calendar-event.has-poster::after { content: "포스터"; display: inline-block; margin-left: 5px; padding: 0 6px; border-radius: 999px; background: var(--surface); color: var(--accent-strong); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 9.5px; font-weight: 800; line-height: 1.6; vertical-align: 1px; }
.event-poster-peek { position: fixed; z-index: 250; width: 220px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); pointer-events: none; }
.event-poster-peek[hidden] { display: none; }
.event-poster-peek img { width: 100%; max-height: 60vh; object-fit: contain; border-radius: 10px; }
.modal-card.event-poster-modal { max-width: 560px; max-height: 92vh; }
.event-poster-view img { width: 100%; height: auto; border-radius: 12px; }
.event-poster-when { margin-top: 12px; font-size: 14px; font-weight: 800; }

/* ---------- 시그니처 ---------- */
body[data-page="signatures"] main > .container { max-width: 1400px; }
.sig-search { display: flex; gap: 8px; align-items: center; margin: 0 0 8px; }
.sig-search input { flex: 1; min-width: 0; height: 50px; border: 1px solid var(--line-strong); border-radius: 12px; padding: 0 15px; font: inherit; font-size: 16px; color: var(--fg); background: #fff; }
.sig-search input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.sig-search-submit, .sig-search-clear { min-height: 48px; border-radius: 12px; padding: 0 18px; font-weight: 800; white-space: nowrap; }
.sig-search-submit { background: var(--accent); color: #fff; }
.sig-search-clear { background: #fff; border: 1px solid var(--line-strong); }
.sig-search-help { font-size: 12px; color: var(--muted); margin: 0 0 20px; }
.home-signature-search .sig-grid { padding-bottom: 0; }
.home-signature-search .sig-grid:empty { display: none; }
@media (max-width: 480px) { .sig-search { flex-wrap: wrap; } .sig-search input { flex-basis: calc(100% - 72px); } .sig-search-submit, .sig-search-clear { padding: 0 14px; } .home-signature-search .section-head { align-items: flex-start; flex-wrap: wrap; gap: 12px; } }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.filter-chip { padding: 8px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: #fff; border: 1px solid var(--line-strong); color: var(--muted); transition: 0.15s; }
.filter-chip:hover { color: var(--accent-strong); border-color: var(--accent); }
.filter-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.sig-count { font-size: 13px; color: var(--muted); margin: 14px 2px 18px; }
.sig-count b { color: var(--accent-strong); }
.sig-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; padding-bottom: 76px; }
.sig-card { min-width: 0; border: 1px solid var(--line); border-radius: 14px; padding: 0 0 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-soft); transition: 0.15s; }
.sig-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.sig-amount { margin: 0 10px; font-size: 17px; font-weight: 900; color: var(--accent-strong); }
.sig-name { font-size: 13.5px; font-weight: 700; margin: 4px 10px 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sig-badge { font-size: 9.5px; font-weight: 900; padding: 2px 7px; border-radius: 999px; letter-spacing: 0.04em; }
.sig-badge.new { background: var(--live-soft); color: var(--live); }
.sig-badge.group { background: var(--gold-soft); color: var(--gold); }
.sig-member { display: block; margin: 8px 10px 0; color: var(--faint); font-size: 11px; }

/* ---------- 데이터 페이지 ---------- */
.data-toolbar { display: flex; align-items: center; gap: 14px; margin: 4px 0 18px; flex-wrap: wrap; }
.round-select { height: 40px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 11px; background: #fff; color: var(--fg); font: inherit; font-size: 13px; font-weight: 700; outline: none; }
.round-select:focus { border-color: var(--accent); }
.data-count, .data-sum { font-size: 13px; color: var(--muted); }
.data-count b, .data-sum b { color: var(--accent-strong); font-weight: 900; }
.rank-list { display: flex; flex-direction: column; gap: 9px; padding-bottom: 76px; }
.rank-row { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-soft); transition: 0.14s; }
.rank-row:hover { box-shadow: var(--shadow); }
.rank-no { width: 30px; flex-shrink: 0; text-align: center; font-family: var(--serif); font-size: 16px; font-weight: 800; color: var(--faint); }
.rank-row.top1 .rank-no { color: var(--gold); }
.rank-row.top2 .rank-no { color: #aca69b; }
.rank-row.top3 .rank-no { color: #c08a5a; }
.rank-row.top1 { border-color: rgba(200,145,47,0.35); }
.rank-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 1px solid var(--line-strong); }
.rank-avatar img, .rank-avatar .initial { width: 100%; height: 100%; object-fit: cover; font-size: 16px; }
.rank-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.rank-main b { font-size: 14.5px; font-weight: 800; }
.rank-main small { font-size: 11px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-bar { height: 5px; border-radius: 999px; background: var(--bg-soft); overflow: hidden; margin-top: 3px; }
.rank-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--gold)); }
.rank-amount { flex-shrink: 0; font-size: 15.5px; font-weight: 900; color: var(--accent-strong); font-variant-numeric: tabular-nums; }
.raw-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-soft); margin-bottom: 76px; }
.raw-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.raw-table th { padding: 12px 14px; font-size: 12px; font-weight: 800; color: var(--muted); text-align: left; border-bottom: 1px solid var(--line-strong); white-space: nowrap; background: var(--bg-soft); }
.raw-table td { padding: 11px 14px; font-size: 13px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.raw-table tbody tr:last-child td { border-bottom: 0; }
.raw-table tbody tr:hover td { background: rgba(158, 113, 10, 0.04); }
.raw-chat { max-width: 320px; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.raw-amount { font-weight: 900; color: var(--accent-strong); font-variant-numeric: tabular-nums; }
.raw-time { color: var(--faint); }
.raw-type { font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); }
.raw-type.bank { background: var(--gold-soft); color: var(--gold); }
.raw-empty { text-align: center; color: var(--muted); padding: 34px 0; }

/* ---------- 게시판 ---------- */
.board-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding-bottom: 24px; }
.board-col-title { font-family: var(--serif); font-size: 18px; font-weight: 800; padding-left: 12px; border-left: 3px solid var(--accent); margin-bottom: 12px; line-height: 1.2; }
.post-list { display: flex; flex-direction: column; }
.post-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: 13px 6px; border-bottom: 1px solid var(--line); text-align: left; transition: 0.13s; }
.post-row:hover { background: rgba(158, 113, 10, 0.04); }
.post-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.post-title { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-meta { font-size: 11.5px; color: var(--faint); display: flex; align-items: center; gap: 4px; }
.post-check { display: inline-grid; place-items: center; width: 13px; height: 13px; border-radius: 50%; background: var(--line-strong); color: #fff; font-size: 8px; font-style: normal; font-weight: 900; }
.post-check.official { background: var(--accent); }
.post-counts { display: flex; gap: 10px; flex-shrink: 0; font-size: 11.5px; font-weight: 700; color: var(--faint); }

/* ---------- 아바타 이니셜 ---------- */
.initial { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; background: radial-gradient(circle at 32% 24%, rgba(255,255,255,0.35), transparent 36%), linear-gradient(145deg, hsl(var(--avatar-hue,275) 58% 64%), hsl(calc(var(--avatar-hue,275) + 48) 52% 46%)); }
.avatar .initial { width: 100%; height: 100%; font-size: 25px; }
.feed-avatar .initial { width: 100%; height: 100%; font-size: 16px; }

/* ---------- 모달 ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(48, 43, 35, 0.4); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal-card { width: 100%; max-width: 420px; max-height: 80vh; overflow-y: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); padding: 22px 24px 24px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.modal-head h3 { font-family: var(--serif); font-size: 20px; font-weight: 800; }
.modal-close { width: 32px; height: 32px; border-radius: 50%; font-size: 19px; color: var(--muted); display: grid; place-items: center; transition: 0.15s; }
.modal-close:hover { color: var(--fg); background: var(--bg-soft); }
.modal-note { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.modal-ok { display: block; width: 100%; margin-top: 18px; padding: 11px 0; border-radius: 11px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 800; transition: 0.15s; }
.modal-ok:hover { background: var(--accent-strong); }
.login-form { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.login-form input { height: 42px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--bg-soft); color: var(--faint); font: inherit; font-size: 13.5px; }
.changelog-list { display: flex; flex-direction: column; gap: 13px; }
.changelog-list li { display: flex; flex-direction: column; gap: 2px; }
.changelog-list b { font-size: 12.5px; color: var(--accent-strong); }
.changelog-list span { font-size: 13.5px; color: var(--muted); }
.footer-link { padding: 0; font-size: 12.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer-link:hover { color: var(--accent-strong); }

/* ---------- 관리자 ---------- */
.admin-tag { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; color: var(--muted); }
.admin-wrap { padding-bottom: 76px; }
.admin-login { display: flex; justify-content: center; padding: 60px 0; }
.admin-login-card { width: 100%; max-width: 360px; text-align: center; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); padding: 32px 28px; }
.admin-login-card h1 { font-family: var(--serif); font-size: 22px; font-weight: 800; }
.admin-login-card p { margin-top: 8px; color: var(--muted); font-size: 13.5px; }
.admin-login-card form { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.admin-login-card input { height: 46px; padding: 0 15px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; color: var(--fg); font: inherit; font-size: 14px; outline: none; }
.admin-login-card input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(158, 113, 10, 0.12); }
.admin-error { color: var(--live); font-size: 13px; font-weight: 700; margin-top: 12px; }
.admin-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 18px; }
.admin-summary { font-size: 13.5px; color: var(--muted); }
.admin-summary b { color: var(--accent-strong); font-weight: 900; }
.admin-group { margin-bottom: 22px; }
.admin-group h3 { font-size: 14px; font-weight: 900; color: var(--muted); margin-bottom: 10px; letter-spacing: 0.04em; }
.admin-row { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-soft); margin-bottom: 9px; flex-wrap: wrap; }
.admin-row.is-live { border-color: rgba(229,72,77,0.35); }
.admin-avatar { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 1px solid var(--line-strong); }
.admin-avatar .initial { width: 100%; height: 100%; font-size: 17px; }
.admin-main { flex: 1; min-width: 130px; display: flex; flex-direction: column; gap: 6px; }
.admin-name { font-size: 15px; font-weight: 800; }
.admin-name small { display: block; font-size: 11.5px; font-weight: 600; color: var(--faint); margin-top: 2px; }
.admin-pill { align-self: flex-start; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.admin-pill.live { background: var(--live-soft); color: var(--live); }
.admin-pill.off { background: var(--bg-soft); color: var(--faint); }
.admin-pill.warn { background: var(--gold-soft); color: var(--gold); }
.admin-effective { font-size: 12.5px; color: var(--muted); flex-shrink: 0; }
.admin-effective b.on { color: var(--live); }
.admin-effective b.off { color: var(--faint); }
.ovr-group { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.ovr-btn { padding: 8px 12px; font-size: 12px; font-weight: 800; color: var(--muted); border-right: 1px solid var(--line); }
.ovr-btn:last-child { border-right: 0; }
.ovr-btn:hover { color: var(--fg); background: var(--bg-soft); }
.ovr-btn.active { color: #fff; }
.ovr-btn.active.auto { background: var(--accent); }
.ovr-btn.active.on { background: var(--live); }
.ovr-btn.active.off { background: var(--faint); }
.admin-avatar img { width: 100%; height: 100%; object-fit: cover; }
.admin-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin: 8px 0 14px; }
.admin-tabs button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 800; color: var(--muted); white-space: nowrap; }
.admin-tabs button.active { color: #fff; background: var(--accent); border-color: transparent; }
.admin-bar-actions { display: flex; gap: 8px; flex-shrink: 0; }
.admin-save { padding: 8px 16px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 800; }
.admin-save:hover { background: var(--accent-strong); }
.admin-save:disabled { opacity: 0.55; cursor: wait; }
.admin-toast { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-strong); font-size: 13px; font-weight: 700; }
.admin-toast.error { background: var(--live-soft); color: var(--live); }
.admin-card { border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-soft); padding: 16px; margin-bottom: 12px; }
.admin-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.admin-card-head h3 { font-size: 15px; font-weight: 800; }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.admin-field { display: flex; flex-direction: column; gap: 5px; }
.admin-field.span-2 { grid-column: span 2; }
.admin-field.span-all { grid-column: 1 / -1; }
.admin-field label { font-size: 11.5px; font-weight: 800; color: var(--muted); }
.admin-field input, .admin-field select, .admin-field textarea {
  width: 100%; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: 10px;
  background: #fff; color: var(--fg); font: inherit; font-size: 13.5px;
}
.admin-field textarea { min-height: 88px; resize: vertical; }
.admin-field input[type="checkbox"] { width: 18px; height: 18px; }
.admin-check { flex-direction: row; align-items: center; gap: 8px; padding-top: 22px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.admin-actions button, .admin-mini {
  padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: var(--bg-soft); font-size: 12px; font-weight: 800; color: var(--muted);
}
.admin-mini.danger { color: var(--live); border-color: rgba(229,72,77,0.3); background: var(--live-soft); }
.admin-photo { display: flex; align-items: center; gap: 12px; }
.admin-photo img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-strong); background: var(--bg-soft); }
.admin-help { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.admin-empty { padding: 22px; text-align: center; color: var(--faint); border: 1px dashed var(--line-strong); border-radius: 14px; }

/* ---------- 푸터 ---------- */
.app-tools { position: relative; z-index: 10; display: flex; justify-content: flex-end; gap: 8px; padding: 8px max(20px, calc((100vw - 1160px) / 2 + 20px)); border-bottom: 1px solid var(--line); background: var(--bg); }
.app-tools button { cursor: pointer; border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 14px; background: var(--fg); color: #fff; font-size: 12px; font-weight: 800; }
.app-tools button:hover { background: var(--accent-strong); }
.app-tools button[hidden] { display: none; }
.week-strip .empty-box { grid-column: 1 / -1; }
.week-grid > .empty-box { grid-column: 1 / -1; }
@media (max-width: 719px) {
  .app-tools { justify-content: center; padding: 8px 12px; gap: 8px; }
  .app-tools button { flex: 1; max-width: 190px; padding: 9px 10px; font-size: 11px; }
}
.member-social, .member-detail-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.member-social { min-height: 40px; align-items: center; }
.member-social a, .member-detail-links > a, .member-detail-links > button {
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  padding: 7px 12px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--bg-soft); color: var(--fg); font-size: 12px; font-weight: 800;
}
.member-social a { gap: 6px; padding: 7px 10px; transition: transform .16s, box-shadow .16s, border-color .16s; }
.member-social a svg { display: block; width: 18px; height: 18px; flex: none; }
.member-social a.social-soop svg { width: 24px; }
.member-social a.social-youtube { color: #d9232e; background: #fff1f1; border-color: #f4c8ca; }
.member-social a.social-soop { color: #00aabc; background: #e9fbfc; border-color: #b8e8ed; }
.member-social a.social-instagram { color: #d92d83; background: #fff0f7; border-color: #f2c4dc; }
.member-social a:hover { transform: translateY(-2px); box-shadow: 0 5px 12px rgba(42, 33, 17, .12); border-color: currentColor; }
.member-detail-links > a:hover, .member-detail-links > button:hover { border-color: var(--accent); color: var(--accent); }
.member-info-content { white-space: pre-wrap; }
.member-media-modal { max-width: 760px; max-height: calc(100dvh - 32px); }
.member-media-gallery { display: grid; gap: 16px; }
.member-media-gallery a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.member-media-gallery img { display: block; width: 100%; height: auto; object-fit: contain; }
.member-media-modal .member-info-content { margin-bottom: 14px; }
.member-posts { display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 18px; scroll-snap-type: x mandatory; }
.member-post-card { flex: 0 0 min(310px, 80vw); min-height: 230px; scroll-snap-align: start; padding: 18px; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--bg-soft); color: var(--fg); }
.member-post-card strong { display: block; }.member-post-card small { color: var(--muted); }.member-post-card p { white-space: pre-wrap; line-height: 1.55; }
.member-post-card img { width: 100%; max-height: 260px; object-fit: cover; border-radius: 10px; }
.schedule-calendar { overflow-x: auto; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--bg-soft); }
.calendar-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 20px; gap: 12px; }
.calendar-toolbar h2 { margin: 0; }.calendar-toolbar div { display: flex; gap: 7px; }
.calendar-toolbar button { min-width: 38px; padding: 8px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--bg); color: var(--fg); cursor: pointer; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(100px, 1fr)); min-width: 700px; }
.calendar-weekday { padding: 10px; text-align: center; border-top: 1px solid var(--line); }
.calendar-cell { min-height: 110px; padding: 9px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.calendar-cell.muted { opacity: .35; }.calendar-day { display: inline-block; font-weight: 800; margin-bottom: 8px; }
.calendar-cell.today .calendar-day { background: var(--gold); color: #111; padding: 4px 9px; border-radius: 999px; }
.calendar-event { display: block; margin: 4px 0; padding: 5px 7px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-strong); font-size: 11px; font-weight: 750; }
.calendar-event.recurring { background: var(--gold-soft); color: var(--gold); }
.calendar-event.rank-battle { background: #fde7ee; color: #be285b; border-left: 3px solid #e54880; }
.calendar-event.season-start { background: var(--accent-soft); color: var(--accent-strong); border-left: 3px solid var(--accent); }
.calendar-event.day-off { background: var(--bg-soft); color: var(--faint); border-left: 3px solid var(--line); }
@media (max-width: 600px) {
  .calendar-toolbar { padding: 14px 12px; }
  .calendar-toolbar h2 { font-size: 20px; white-space: nowrap; }
  .calendar-grid { min-width: 0; grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .calendar-weekday { padding: 8px 0; font-size: 11px; }
  .calendar-cell { min-width: 0; padding: 5px 2px; }
  .calendar-event { padding: 4px 2px; font-size: 9px; line-height: 1.25; overflow-wrap: anywhere; }
  .calendar-event.has-poster::after { display: none; }
  .event-poster { width: 42px; }
}
.sig-image { display: block; position: relative; margin-bottom: 8px; aspect-ratio: 720 / 390; overflow: hidden; background: var(--bg-soft); cursor: zoom-in; }
.sig-image img { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--bg-soft); }
.sig-image.is-thumb-loading img { opacity: 0; }
.sig-image.is-thumb-loading::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 18%, rgba(255,255,255,.78) 50%, transparent 82%); background-size: 220% 100%; animation: sig-shimmer 1.15s ease-in-out infinite; }
.sig-motion { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; pointer-events: none; }
.sig-motion.is-playing { opacity: 1; }
.sig-image > span:not(.sig-media-state) { position: absolute; z-index: 2; bottom: 8px; left: 8px; background: #111b; color: white; padding: 4px 7px; border-radius: 6px; font-size: 11px; font-weight: 800; }
.sig-media-state { position: absolute; z-index: 2; top: 8px; left: 8px; display: none; align-items: center; gap: 6px; max-width: calc(100% - 16px); padding: 4px 8px; border-radius: 999px; background: rgba(31, 26, 19, .78); color: #fff; font-size: 11px; font-weight: 800; line-height: 1.2; }
.sig-media-state i { width: 10px; height: 10px; flex: none; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: sig-spin .7s linear infinite; }
.sig-state-motion { display: none; }
.sig-image.is-thumb-loading .sig-media-state, .sig-image.is-motion-loading .sig-media-state, .sig-image.is-thumb-missing .sig-media-state { display: inline-flex; }
.sig-image.is-motion-loading:not(.is-thumb-loading) .sig-state-thumb { display: none; }
.sig-image.is-motion-loading:not(.is-thumb-loading) .sig-state-motion { display: inline; }
.sig-image.is-thumb-missing .sig-media-state i, .sig-image.is-thumb-missing .sig-state-thumb, .sig-image.is-thumb-missing .sig-state-motion { display: none; }
.sig-image.is-thumb-missing .sig-media-state::after { content: "이미지를 불러오지 못했습니다"; }
.sig-card-placeholder { pointer-events: none; }
.sig-placeholder-line { height: 12px; margin: 10px 10px 0; border-radius: 999px; background: color-mix(in srgb, var(--line-strong) 65%, white); }
.sig-placeholder-line.is-short { width: 46%; margin-bottom: 14px; }
.sig-image:hover img { filter: brightness(.9); }
@keyframes sig-shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@keyframes sig-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .sig-image.is-thumb-loading::before, .sig-media-state i { animation: none; }
}
.sig-audio-art { display: grid; place-items: center; aspect-ratio: 720 / 390; margin-bottom: 8px; background: linear-gradient(135deg, #292113, #9d7003); color: #fff; font-size: 44px; }
.sig-audio-btn { display: block; width: calc(100% - 20px); margin: 12px 10px 0; padding: 8px 10px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-strong); font-size: 12px; font-weight: 800; }
.sig-audio-btn:hover { background: var(--accent); color: #fff; }
.sig-audio-dock { position: fixed; z-index: 40; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; width: min(800px, calc(100% - 32px)); padding: 13px 16px; border-radius: 15px; background: #2e271d; color: #fff; box-shadow: 0 12px 36px #231c3970; }
.sig-audio-dock[hidden] { display: none; }
.sig-audio-dock strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.sig-audio-dock audio { width: min(350px, 48%); height: 38px; }
.sig-audio-dock button { color: #fff; font-size: 18px; padding: 4px 8px; }
@media (max-width: 600px) { .sig-audio-dock { flex-wrap: wrap; gap: 7px; } .sig-audio-dock strong { flex-basis: calc(100% - 40px); } .sig-audio-dock audio { order: 3; width: 100%; } }
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); margin-top: 76px; }
.footer-inner { padding: 40px 20px 48px; display: flex; flex-direction: column; gap: 10px; }
.footer-logo { font-family: var(--serif); font-size: 18px; font-weight: 800; letter-spacing: 0.04em; }
.footer-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); align-items: center; }
.footer-meta a:hover { color: var(--accent-strong); text-decoration: underline; }
.footer-inner.has-socials { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; }
.has-socials > .footer-logo { grid-column: 1; grid-row: 1; }
.has-socials > .footer-meta { grid-column: 1; grid-row: 2; }
.footer-socials { grid-column: 2; grid-row: 1 / 3; justify-self: end; align-self: center; display: flex; gap: 10px; }
.footer-socials[hidden] { display: none; }
.footer-social { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 13px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); font-size: 12px; font-weight: 800; transition: border-color .15s, box-shadow .15s; }
.footer-social svg, .footer-social img { width: 24px; height: 24px; flex: none; object-fit: contain; }
.footer-social.social-youtube { color: #d9232e; }
.footer-social.social-instagram { color: #c82879; }
.footer-social.social-toonation { color: #7b5604; }
.footer-social-arrow { color: var(--faint); font-size: 11px; }
.footer-social:hover { border-color: currentColor; box-shadow: var(--shadow-soft); }
.footer-social:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.has-socials > .dummy-note { grid-column: 1 / -1; }
body[data-page="board"] .footer-socials { margin-right: 64px; }
@media (max-width: 840px) {
  .footer-inner.has-socials { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .has-socials > .footer-socials { grid-column: 1; grid-row: 2; justify-self: stretch; width: 100%; max-width: 380px; }
  .has-socials > .footer-meta { grid-row: 3; }
  .footer-social { flex: 1; min-width: 0; flex-direction: column; padding: 10px 7px; gap: 5px; font-size: 11px; }
  .footer-social-arrow { display: none; }
  body[data-page="board"] .footer-socials { margin-right: 0; }
}
.dummy-note { align-self: flex-start; margin-top: 6px; font-size: 11.5px; font-weight: 700; color: var(--gold); background: var(--gold-soft); padding: 5px 12px; border-radius: 999px; }
.fatal-error { margin-top: 76px; padding: 38px 24px; border: 1px dashed var(--line-strong); border-radius: 16px; text-align: center; color: var(--muted); }
.fatal-error b { color: var(--fg); }
.fatal-error button { display: block; margin: 14px auto 0; padding: 8px 13px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; }

/* ---------- 반응형 ---------- */
@media (min-width: 720px) { .sig-grid { grid-template-columns: repeat(4,1fr); } }
@media (min-width: 1000px) { .sig-grid { grid-template-columns: repeat(5,1fr); } }
@media (max-width: 899px) {
  .label-section-inner { grid-template-columns: 1fr; gap: 26px; }
  .label-visual { order: -1; aspect-ratio: 16/9; }
}
@media (max-width: 719px) {
  .header-inner { gap: 10px; height: 60px; }
  .logo-text { display: none; }
  .main-nav a, .nav-drop-btn { padding: 8px 11px; font-size: 13.5px; }
  .section { padding-top: 52px; }
  .hero-banner-inner { padding: 68px 20px 96px; }
  .stat-bar { gap: 4px; padding: 16px 12px; }
  .stat-v { font-size: 24px; }
  .livenow-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .label-mini-stats { gap: 22px; }
  .vod-grid, .youtube-grid, .board-grid { grid-template-columns: 1fr; }
  .board-grid { gap: 30px; }
  .week-strip { grid-template-columns: repeat(4,1fr); }
  .week-grid { grid-template-columns: repeat(2,1fr); }
  .day-card { min-height: 108px; }
  .sig-grid { grid-template-columns: repeat(2,1fr); }
  .event-card { flex-wrap: wrap; gap: 12px 20px; }
  .event-side { text-align: left; width: 100%; display: flex; align-items: center; gap: 10px; }
  .event-dday { margin-top: 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head.center { align-items: center; }
  .section-tools { align-self: flex-end; margin-top: -34px; }
  .runtime-inner { flex-wrap: wrap; gap: 3px 9px; padding-top: 7px; padding-bottom: 7px; }
  .runtime-meta { order: 3; width: 100%; }
  .member-toolbar { align-items: stretch; flex-direction: column; }
  .member-search { max-width: none; }
  .admin-effective { width: 100%; order: 5; }
  .ovr-group { width: 100%; }
  .ovr-btn { flex: 1; text-align: center; }
  .admin-field.span-2, .admin-field.span-all { grid-column: 1 / -1; }
  .admin-bar { flex-wrap: wrap; }
  .admin-check { padding-top: 4px; }
}
