/* 깔끔 모드 (2026-10-11) — 모든 페이지 CSS 뒤에 불러와서 장식을 걷어내요.
   원칙: 빛·그라데이션 없음 / 상자 안의 상자는 테두리 없이 면으로만 / 숫자는 글자색, 포인트 색은 '지금·누를 수 있는 것'에만
   되돌리려면 base.html 맨 아래 clean.css 한 줄만 지우면 돼요. */
:root {
  --raise: color-mix(in srgb, var(--text) 4%, var(--card));   /* 카드 안쪽 면 */
  --r-lg: 16px; --r-md: 12px; --r-sm: 8px;
  --live: #FF6B7A;
}

/* 빛 번짐·글자 빛 끄기 (포커스 링은 그대로) */
*:not(:focus):not(:focus-within) { box-shadow: none !important; }
* { text-shadow: none !important; }
.onair, .report.now, .switch.on, .live-badge.on::before, .pill-live::before, .w-item, .mark, .btn { animation: none !important; }
.card, .panel, .subnav { backdrop-filter: none; }

/* 숫자·글자: 한 가지 글꼴, 숫자는 같은 폭 */
.mono, .elapsed, .lg-row time { font-family: inherit; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.dash-eyebrow { display: none; }

/* 머리: 제목 왼쪽, 상태·버튼 오른쪽 */
.dash-head { padding: 28px 0 14px; align-items: center; }
.dash-head h1 { font-size: 26px; font-weight: 700; }
.live-badge { padding: 0; border: 0; background: none; font-size: 14px; font-weight: 600; }
.live-badge.on { background: none; border: 0; color: var(--text); }
.live-badge::before { width: 8px; height: 8px; }
.live-badge.on::before { background: var(--live); }

/* 탭: 상자 대신 밑줄 */
.subnav { width: 100%; padding: 0; gap: 2px; margin: 4px 0 24px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
.subnav a { padding: 12px 14px; border-radius: 0; font-weight: 600; margin-bottom: -1px; border-bottom: 2px solid transparent; }
.subnav a:hover { background: none; color: var(--text); }
.subnav a.active { background: none; color: var(--text); border-bottom-color: var(--accent); }

/* 카드: 한 겹 테두리, 같은 둥글기 */
.card, .panel { border-radius: var(--r-lg); background: var(--card); }
.panel > h2 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.panel > h2::before { display: none; }
.panel > h2 small { font-size: 14px; }

/* 카드 안의 작은 칸: 테두리·그라데이션 없이 면으로 */
.stat, .live-stat, .econ-tile, .report-nums div, .award, .cmd-item, .w-item, .st-kpis div {
  background: var(--raise) !important; border: 0 !important; border-radius: var(--r-md) !important;
}
.econ-tile::before { display: none; }
.stat b, .live-stat b, .econ-tile b, .report-nums b, .st-kpis b, .report-peak b { color: var(--text) !important; font-weight: 700; }
.stat b.pos, .econ-tile b.pos { color: var(--ok) !important; }
.stat b.neg, .econ-tile b.neg { color: #FF8E99 !important; }
.stats { gap: 10px; }

/* 지금 방송 카드 */
.onair { border: 1px solid var(--line) !important; background: var(--card) !important; border-radius: var(--r-lg); }
.onair::before { display: none; }
.pill-live { background: none; border: 0; color: var(--text); padding-left: 0; letter-spacing: .02em; }
.pill-live::before { background: var(--live); }
.pill { letter-spacing: 0; }
.timeline .bar-fill, .bar-fill, .bar-fill.alt { background: var(--accent) !important; }

/* 지난 방송 */
.report { border-radius: var(--r-lg); }
.report.now { border: 1px solid color-mix(in srgb, var(--accent) 50%, var(--line)) !important; background: var(--card) !important; }
.pill-now { background: none; color: var(--live); padding-left: 0; }

/* 순위 배지: 1등만 포인트 색 */
.rank { background: none !important; color: var(--muted) !important; min-width: 22px; padding: 0; }
.rank.r1 { color: var(--accent) !important; }
.rank.r2, .rank.r3 { color: var(--text) !important; }

/* 스튜디오 채팅·신청곡 */
.msg .bubble, .heart, .donation, .songs li, .songs li.next { background-image: none !important; }
.donation { background: color-mix(in srgb, var(--accent) 10%, var(--card)) !important; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)) !important; }
.donation .coin, .songs li.next .song-no, .w-new.first, .heart .combo { background: var(--accent) !important; color: #0E0D13 !important; }
.songs li.next { background: color-mix(in srgb, var(--accent) 8%, var(--card)) !important; }
.fan-list li:first-child { background: none; }
.seg button[aria-pressed="true"] { background: var(--raise); }
.switch.on { background: var(--accent) !important; }
.quick button:hover { border-color: var(--accent); }
.ok-dot::before { background: var(--ok); }

/* 알림 띠 (연결 문제·공지): 얇고 조용하게 */
.problem { background: color-mix(in srgb, #FF8E99 7%, var(--card)); border: 1px solid color-mix(in srgb, #FF8E99 30%, var(--line)); border-radius: var(--r-md); }
.site-notice { width: auto; max-width: 960px; margin: 0 auto; border-radius: 0; border: 0; border-bottom: 1px solid var(--line);
  background: none; padding: 10px 24px; }
.lp .site-notice { width: auto; max-width: none; margin: 0; padding: 10px 24px; justify-content: center; }
main:has(.studio-wrap) ~ .site-notice, body:has(.studio-wrap) .site-notice { max-width: 1520px; }

/* 버튼·입력 */
.btn { border-radius: 10px; }
.btn:hover { transform: none; }
.mark { background: var(--card) !important; }

@media (max-width: 640px) {
  .dash-head { padding: 18px 0 8px; }
  .dash-head h1 { font-size: 22px; }
  .subnav { margin-bottom: 18px; }
  .subnav a { padding: 11px 12px; }
  .card, .panel { padding: 18px; }
  .site-notice { padding: 10px 16px; }
}

/* 첫 화면(랜딩): 영어 꼬리표·흐르는 띠·바닥 격자를 빼고 문장만 */
.lp .lp-kicker, .lp .lp-eyebrow, .lp .lp-card > .lp-mono, .lp .lp-marquee, .lp .lp-grid-floor { display: none !important; }
.lp h2 .accent { color: inherit; }
.lp-card, .lp-cmd, .lp-steps li, .lp-final-box, .lp-tile { background: var(--card) !important; border: 1px solid var(--line) !important; border-radius: var(--r-lg) !important; }
.lp-card::before, .lp-cmd::before, .lp-steps li::before, .lp-final-box::before { display: none !important; }
.lp-steps li b { color: var(--muted) !important; }
.lp .ico { background: var(--raise) !important; color: var(--accent) !important; }

/* OBS 권장 한 줄 */
.lp-tip { margin: 22px 0 0; text-align: center; color: var(--muted, #B4B9CC); font-size: 14.5px; line-height: 1.7; }
