/* 유튜브킹 — 차트 잡지 스타일. 아이보리 + 먹색, 포인트는 왕관 금색 하나. */
:root {
  --paper: #f5efe3;
  --paper-2: #ece4d3;
  --ink: #1b1a17;
  --ink-2: #4a463e;
  --muted: #7a7366;
  --rule: #d6ccb8;
  --gold: #b38a2e;      /* 장식·큰 숫자 */
  --gold-ink: #7d5d14;  /* 아이보리 위 글자용(대비 확보) */
  --serif: 'Noto Serif KR', 'Nanum Myeongjo', serif;
  --num: 'Playfair Display', 'Noto Serif KR', Georgia, serif;
  --sans: 'IBM Plex Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 15px/1.55 var(--sans); font-variant-numeric: tabular-nums;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
small { font-size: .78em; color: var(--muted); font-weight: 400; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* ── 머리글: 신문 제호 ── */
.masthead { border-bottom: 3px double var(--ink); padding-top: 10px; }
.dateline { margin: 0; font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.logo { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font: 900 30px/1 var(--serif); letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.crown { width: 30px; height: 21px; color: var(--gold); flex: none; }
.tagline { display: none; }
.nav ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; gap: 18px; overflow-x: auto; border-top: 1px solid var(--ink); scrollbar-width: none; }
.nav a { display: block; padding: 9px 0 8px; font-weight: 600; font-size: 14px; white-space: nowrap; border-bottom: 3px solid transparent; }
.nav a[aria-current] { border-bottom-color: var(--gold); }
.nav a:hover { text-decoration: none; border-bottom-color: var(--rule); }

/* ── 공통 ── */
.section-label { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; padding-top: 8px; border-top: 3px solid var(--ink); font: 700 13px/1.3 var(--sans); letter-spacing: .08em; }
.section-sub { font-weight: 400; letter-spacing: 0; color: var(--muted); }
.kicker { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--gold-ink); }
.mv { display: inline-block; font: 600 12px/1 var(--sans); white-space: nowrap; }
.mv-up { color: var(--gold-ink); }
.mv-down { color: var(--muted); }
.mv-same { color: var(--rule); }
.mv-new { padding: 3px 5px 2px; background: var(--ink); color: var(--paper); font-size: 10px; letter-spacing: .08em; }
.btn { display: inline-block; padding: 10px 16px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 14px; }
.btn:hover { text-decoration: none; background: var(--ink-2); }
.link { font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--ink); }
.link:hover { text-decoration: none; color: var(--gold-ink); border-color: var(--gold); }
.spark { color: var(--ink-2); vertical-align: middle; }
.spark circle { fill: var(--gold); }

/* ── 홈: 오늘의 왕 ── */
.king { margin: 22px 0 36px; }
.king-grid { display: grid; gap: 16px; }
.king-media { position: relative; display: block; margin: 0 -16px; }
.king-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.king-play { position: absolute; left: 16px; bottom: 12px; padding: 7px 11px; background: var(--paper); font-size: 13px; font-weight: 600; }
.king-head { display: flex; gap: 14px; align-items: flex-end; }
.king-rank { font: 900 112px/.78 var(--num); color: var(--gold); letter-spacing: -.04em; }
.king-move { margin: 0 0 6px; font-size: 13px; color: var(--muted); }
.king-title { margin: 0; font: 900 30px/1.15 var(--serif); letter-spacing: -.02em; }
.king-artist { display: block; font: 600 14px/1.4 var(--sans); letter-spacing: .04em; color: var(--ink-2); }
.king-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 18px 0 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.king-stats div { padding: 10px 8px 10px 0; }
.king-stats div + div { padding-left: 10px; border-left: 1px solid var(--rule); }
.king-stats dt { font-size: 12px; color: var(--muted); }
.king-stats dd { margin: 2px 0 0; font: 700 18px/1.2 var(--sans); }
.king-stats dd.big { font: 900 26px/1.1 var(--num); color: var(--ink); }
.king-stats small { display: block; margin-top: 3px; font: 400 11px/1.2 var(--sans); }
.week { margin: 16px 0 0; }
.week figcaption { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; height: 96px; align-items: end; }
.bars li { position: relative; height: var(--h); background: var(--paper-2); border-top: 2px solid var(--ink-2); }
.bars li.now { background: var(--gold); border-top-color: var(--ink); }
.bar-val { position: absolute; top: -17px; left: 0; right: 0; text-align: center; font-size: 10px; color: var(--muted); }
.bars li.now .bar-val { color: var(--ink); font-weight: 600; }
.bar-day { position: absolute; bottom: -18px; left: 0; right: 0; text-align: center; font-size: 10px; color: var(--muted); }
.king-links { margin: 30px 0 0; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

/* ── 홈: TOP5 미리보기 ── */
.previews { display: grid; gap: 32px; }
.preview h2 { margin: 0 0 10px; padding-bottom: 10px; border-bottom: 3px solid var(--ink); font: 900 22px/1.25 var(--serif); letter-spacing: -.02em; }
.mini { list-style: none; margin: 0; padding: 0; }
.mini li { display: grid; grid-template-columns: 34px 92px 1fr auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.mini-rank { grid-row: 1; grid-column: 1; font: 900 30px/1 var(--num); text-align: center; }
.mini li:first-child .mini-rank { color: var(--gold); }
.mini-move { grid-row: 2; grid-column: 1; text-align: center; padding-top: 4px; }
.mini-thumb { grid-row: 1 / 3; grid-column: 2; }
.mini-thumb img { width: 92px; aspect-ratio: 16 / 9; object-fit: cover; }
.mini-body { grid-row: 1 / 3; grid-column: 3; min-width: 0; }
.mini-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; line-height: 1.3; }
.mini-artist { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-num { grid-row: 1 / 3; grid-column: 4; text-align: right; font-weight: 700; font-size: 14px; line-height: 1.2; }
.mini-num small { display: block; font-size: 10px; }
.more { margin: 10px 0 0; text-align: right; font-size: 13px; font-weight: 600; }

/* ── 홈: 숫자로 보는 오늘 ── */
.notes { margin: 40px 0 8px; }
.notes ul { list-style: none; margin: 0; padding: 0; }
.notes li { padding: 10px 0; border-bottom: 1px solid var(--rule); font: 400 16px/1.6 var(--serif); }
.notes li a { font-weight: 700; border-bottom: 2px solid var(--gold); }
.notes li a:hover { text-decoration: none; }

/* ── 순위 페이지 ── */
.crumbs { margin: 14px 0 0; font-size: 12px; color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); }
.chart-head { margin: 14px 0 20px; }
.chart-head h1 { margin: 0; font: 900 28px/1.2 var(--serif); letter-spacing: -.03em; }
.h1-sub { color: var(--gold-ink); }
.dek { margin: 10px 0 0; font: 400 15px/1.65 var(--serif); color: var(--ink-2); max-width: 640px; }
.dek a { border-bottom: 1px solid var(--gold); }
.asof { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.tabs { display: flex; margin-top: 18px; border-bottom: 1px solid var(--ink); }
.tabs a { padding: 9px 22px 8px; font-weight: 600; color: var(--muted); border: 1px solid transparent; border-bottom: none; margin-bottom: -1px; }
.tabs a[aria-current] { color: var(--ink); background: var(--paper); border-color: var(--ink); border-top: 3px solid var(--gold); }
.tabs a:hover { text-decoration: none; color: var(--ink); }

.no1 { display: grid; grid-template-columns: auto 1fr; gap: 0 14px; padding: 4px 0 22px; border-bottom: 3px solid var(--ink); }
.no1-media { grid-column: 1 / -1; grid-row: 1; margin: 0 -16px; }
.no1-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.no1-rank { grid-column: 1; grid-row: 2; margin-top: 14px; font: 900 104px/.8 var(--num); color: var(--gold); letter-spacing: -.04em; }
.no1-info { grid-column: 2; grid-row: 2; margin-top: 14px; min-width: 0; }
.no1-move { margin: 0; font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.no1 h2 { margin: 6px 0 0; font: 900 28px/1.15 var(--serif); letter-spacing: -.02em; }
.no1-artist { display: block; font: 600 14px/1.4 var(--sans); letter-spacing: .04em; color: var(--ink-2); }
.no1-views { margin: 10px 0 0; font-size: 14px; }
.no1-views strong { font: 900 34px/1 var(--num); }
.no1-views small { display: block; margin-top: 2px; }
.no1-meta { margin: 8px 0 14px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

.top { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: 40px 104px 1fr auto; grid-template-areas: "rank thumb body views" "move thumb body views"; column-gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.rank { grid-area: rank; font: 900 34px/1 var(--num); text-align: center; align-self: end; }
.row-move { grid-area: move; text-align: center; align-self: start; padding-top: 5px; }
.row-thumb { grid-area: thumb; }
.row-thumb img { width: 104px; aspect-ratio: 16 / 9; object-fit: cover; }
.row-body { grid-area: body; min-width: 0; }
.row-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; line-height: 1.3; }
.row-artist { display: block; font-size: 12px; color: var(--ink-2); }
.row-meta { display: none; font-size: 11px; color: var(--muted); }
.row-views { grid-area: views; text-align: right; line-height: 1.15; }
.row-views strong { font: 700 16px/1.1 var(--sans); }
.row-views small { display: none; }
.row-spark, .row-watch { display: none; }

.dense { width: 100%; margin: 26px 0 0; border-collapse: collapse; font-size: 14px; }
.dense caption { text-align: left; padding: 8px 0 8px; border-top: 3px solid var(--ink); font-weight: 700; font-size: 13px; letter-spacing: .08em; }
.dense th { text-align: left; font-size: 11px; font-weight: 600; color: var(--muted); padding: 6px 6px 6px 0; border-bottom: 1px solid var(--ink); }
.dense td { padding: 8px 6px 8px 0; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.dense .num { text-align: right; }
.dense .opt { display: none; }
.d-rank { font: 900 18px/1 var(--num); width: 34px; }
.dense td:nth-child(2) { width: 40px; }
.d-title a { font-weight: 600; }
.d-title span { display: block; font-size: 12px; color: var(--muted); }
.dense td.num { font-weight: 700; white-space: nowrap; }
.d-more td { padding: 16px 0; color: var(--muted); font-size: 13px; text-align: center; border-bottom: 3px double var(--ink); }

.related { margin: 36px 0 8px; }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.related li { border-bottom: 1px solid var(--rule); }
.related a { display: block; padding: 11px 0; font: 700 16px/1.3 var(--serif); }
.related a::after { content: ' →'; color: var(--gold-ink); }

/* ── 바닥글 ── */
.footer { margin-top: 48px; border-top: 3px double var(--ink); padding: 18px 0 40px; font-size: 12px; color: var(--muted); }
.footer p { margin: 0 0 8px; max-width: 720px; }
.footer strong { color: var(--ink-2); }
.footer-logo { display: flex; align-items: center; gap: 6px; font: 900 16px/1 var(--serif); color: var(--ink); }
.footer-logo .crown { width: 20px; height: 14px; }
.footer-links a { color: var(--ink-2); }

/* ── 태블릿 이상 ── */
@media (min-width: 720px) {
  .masthead .wrap:first-child { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; }
  .dateline { padding-bottom: 6px; }
  .logo { justify-self: center; font-size: 46px; gap: 12px; }
  .crown { width: 42px; height: 29px; }
  .tagline { display: block; margin: 0; padding-bottom: 6px; justify-self: end; font-size: 12px; color: var(--muted); }
  .nav ul { justify-content: center; gap: 36px; }

  .previews { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .mini li { grid-template-columns: 30px 72px 1fr auto; column-gap: 8px; }
  .mini-thumb img { width: 72px; }
  .mini-rank { font-size: 26px; }

  .chart-head h1 { font-size: 40px; }
  .row { grid-template-columns: 56px 160px 1fr 120px 84px 32px; grid-template-areas: "rank thumb body views spark watch" "move thumb body views spark watch"; column-gap: 16px; }
  .rank { font-size: 46px; }
  .row-thumb img { width: 160px; }
  .row-title { font-size: 17px; }
  .row-meta { display: block; margin-top: 3px; }
  .row-views strong { font: 900 22px/1.1 var(--num); }
  .row-views small { display: block; font-size: 11px; margin-top: 3px; }
  .row-spark { grid-area: spark; display: block; }
  .row-watch { grid-area: watch; display: block; text-align: center; font-weight: 600; color: var(--muted); }
  .row-watch:hover { color: var(--ink); text-decoration: none; }
  .dense .opt { display: table-cell; }
  .related ul { grid-template-columns: repeat(3, 1fr); column-gap: 24px; }
}

/* ── 데스크톱: 신문 1면 배치 ── */
@media (min-width: 980px) {
  .king-grid { grid-template-columns: 7fr 5fr; gap: 32px; align-items: start; }
  .king-media { margin: 0; }
  .king-rank { font-size: 168px; }
  .king-title { font-size: 40px; }
  .king-stats dd.big { font-size: 32px; }

  .no1 { grid-template-columns: 150px 1.4fr 1fr; grid-template-rows: auto; gap: 0 28px; align-items: start; padding: 12px 0 28px; }
  .no1-rank { grid-column: 1; grid-row: 1; margin: 0; font-size: 200px; text-align: center; }
  .no1-media { grid-column: 2; grid-row: 1; margin: 0; }
  .no1-info { grid-column: 3; grid-row: 1; margin-top: 0; }
  .no1 h2 { font-size: 36px; }
  .no1-views strong { font-size: 48px; }
}

/* ── 3단계 추가: RE 표시, 영상 상세, 안내 페이지 ── */
.mv-re { padding: 2px 4px 1px; border: 1px solid var(--ink); font-size: 10px; letter-spacing: .08em; color: var(--ink); }
.dense td:nth-child(2) .mv-new, .dense td:nth-child(2) .mv-re { font-size: 9px; }

.video-head { margin: 14px 0 18px; }
.video-head h1 { margin: 0; font: 900 26px/1.25 var(--serif); letter-spacing: -.02em; overflow-wrap: anywhere; }
.video-views { margin: 10px 0 0; font-size: 14px; }
.video-views strong { font: 900 40px/1 var(--num); }
.video-views small { display: block; margin-top: 4px; }
.video-grid { display: grid; gap: 18px; }
.player { position: relative; margin: 0 -16px; aspect-ratio: 16 / 9; background: var(--ink); }
.player img, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.player-cover { display: block; position: absolute; inset: 0; }
.player-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 12px 22px 12px 40px; background: var(--paper); color: var(--ink); font-weight: 600; }
.player-btn::before { content: ''; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); border: 7px solid transparent; border-left: 11px solid var(--gold); border-right: 0; }
.player-cover:hover .player-btn { background: var(--ink); color: var(--paper); text-decoration: none; }
.facts { margin: 0 0 16px; border-top: 3px solid var(--ink); }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--muted); font-size: 13px; }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.video-desc { margin: 22px 0 30px; font: 400 16px/1.75 var(--serif); color: var(--ink-2); max-width: 720px; }
.hist { width: 100%; border-collapse: collapse; margin-bottom: 30px; font-size: 14px; }
.hist th { text-align: left; font-size: 11px; font-weight: 600; color: var(--muted); padding: 6px 0; border-bottom: 1px solid var(--ink); }
.hist td { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.hist .num { text-align: right; }
.hist a { font-weight: 600; }
.bars-long { height: 120px; gap: 3px; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; margin-bottom: 40px; }
.bars-long .bar-val { font-size: 10px; white-space: nowrap; }
.bars-long .bar-day { white-space: nowrap; }
.similar .mini li { grid-template-columns: 92px 1fr auto; }
.similar .mini-thumb { grid-column: 1; grid-row: 1 / 3; }
.similar .mini-body { grid-column: 2; }
.similar .mini-num { grid-column: 3; }

.prose { max-width: 720px; margin: 24px 0; font: 400 16px/1.8 var(--serif); }
.prose h1 { font: 900 30px/1.25 var(--serif); margin: 0 0 16px; }
.prose h2 { font: 900 20px/1.3 var(--serif); margin: 32px 0 8px; padding-top: 8px; border-top: 3px solid var(--ink); }
.prose a { border-bottom: 1px solid var(--gold); }
.prose li { margin-bottom: 8px; }

@media (min-width: 720px) {
  .video-head h1 { font-size: 34px; }
  .video-grid { grid-template-columns: 3fr 2fr; gap: 28px; align-items: start; }
  .player { margin: 0; }
}
.bars-long li:last-child .bar-val, .bars-long li:last-child .bar-day { left: auto; right: 0; text-align: right; }
.bars-long li:first-child .bar-day { right: auto; text-align: left; }

/* ── 쿠팡 상품 상자 (대가성 문구는 상자 바로 위) ── */
.shop { margin: 28px 0; }
.shop-note { margin: 0 0 8px; font-size: 11px; color: var(--muted); }
.shop-list { display: grid; gap: 8px; }
.shop-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 12px 14px; background: var(--paper-2); border-left: 4px solid var(--gold); }
.shop-item:hover { text-decoration: none; background: #e4dac5; }
.shop-kicker { font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--gold-ink); }
.shop-label { font-weight: 600; }
.shop-go { font-size: 13px; font-weight: 600; white-space: nowrap; }
.video-side .shop { margin: 16px 0 0; }
@media (min-width: 720px) {
  .shop-list { grid-template-columns: repeat(2, 1fr); }
  .video-side .shop-list { grid-template-columns: 1fr; }
}

/* ── 공유 버튼 ── */
.share { margin-left: 6px; padding: 4px 10px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 600 12px/1.4 var(--sans); cursor: pointer; }
.share:hover { background: var(--ink); color: var(--paper); }

/* ── 분야·구독자 ── */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 18px; }
.chips a { padding: 5px 11px; border: 1px solid var(--rule); background: var(--paper); font-size: 13px; font-weight: 600; }
.chips a:hover { border-color: var(--ink); text-decoration: none; }
.chips a[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.jump { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 14px; font-size: 13px; }
.jump a { border-bottom: 1px solid var(--gold); }
.jump a:hover { text-decoration: none; color: var(--gold-ink); }
.hub-sec { margin: 26px 0 0; }
.hub-sec .dense { margin-top: 0; }
.ch-avatar { flex: none; border-radius: 50%; object-fit: cover; background: var(--paper-2); }
.ch-avatar-empty { display: inline-grid; place-items: center; width: 36px; height: 36px; font: 900 16px/1 var(--serif); color: var(--muted); }
.vt-title, .ct-title { display: flex; gap: 10px; align-items: center; }
.vt-thumb img { width: 64px; height: 36px; object-fit: cover; }
.vt-title > span, .ct-title > span { min-width: 0; }
.field-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.field-grid a { display: grid; gap: 2px; padding: 14px 16px; background: var(--paper-2); border-left: 4px solid var(--ink); }
.field-grid a:hover { text-decoration: none; border-left-color: var(--gold); }
.fg-name { font: 900 20px/1.2 var(--serif); }
.fg-top { font-size: 13px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fg-num { font-size: 12px; color: var(--muted); }
.no1-ch { display: grid; grid-template-columns: auto auto 1fr; gap: 14px; align-items: center; padding: 8px 0 22px; border-bottom: 3px solid var(--ink); }
.no1-ch .no1-rank { margin: 0; font: 900 96px/.8 var(--num); color: var(--gold); }
.no1-ch .ch-avatar { width: 72px; height: 72px; }
.no1-ch h2 { margin: 4px 0 0; font: 900 26px/1.2 var(--serif); }
.ch-head { display: flex; gap: 16px; align-items: flex-start; }
.ch-head > .ch-avatar { width: 72px; height: 72px; }
.ch-about { margin: 0 0 24px; font-size: 13px; color: var(--muted); white-space: pre-line; }
.mini-ch .ch-avatar { width: 48px; height: 48px; margin: 0 auto; }
.previews-2 { margin-top: 32px; }
.preview .chips { margin: 0; }
@media (min-width: 720px) {
  .field-grid { grid-template-columns: repeat(3, 1fr); }
  .previews-2 { grid-template-columns: 2fr 1fr; }
  .no1-ch .no1-rank { font-size: 150px; }
  .no1-ch .ch-avatar { width: 110px; height: 110px; }
  .no1-ch h2 { font-size: 36px; }
  .ch-head > .ch-avatar { width: 110px; height: 110px; }
}

/* 표가 화면 폭을 넘지 않게: 제목 칸만 줄바꿈 */
.dense { table-layout: fixed; }
.dense th:nth-child(1), .dense td:nth-child(1) { width: 38px; }
.dense th:nth-child(2), .dense td:nth-child(2) { width: 44px; }
.dense th.num, .dense td.num { width: 76px; }
.dense .d-title { overflow-wrap: anywhere; }
.ct .ch-avatar { width: 36px; height: 36px; }
@media (min-width: 720px) {
  .dense th.opt, .dense td.opt { width: 88px; }
}

/* ── 순위 행: 썸네일 크게 (2026-10-18 사장님 요청) ── */
.row { grid-template-columns: 34px 140px 1fr; grid-template-areas: "rank thumb body" "move thumb views"; column-gap: 12px; row-gap: 4px; align-items: start; padding: 14px 0; }
.rank { align-self: start; font-size: 30px; }
.row-move { align-self: start; padding-top: 2px; }
.row-thumb img { width: 140px; aspect-ratio: 16 / 9; object-fit: cover; background: var(--paper-2); }
.row-body { align-self: start; }
.row-title { font-size: 15px; }
.row-views { grid-area: views; text-align: left; align-self: end; }
.row-views strong { font: 900 18px/1.1 var(--num); }
.row-views small { display: none; }
.list-label { margin-top: 30px; }
.top-sm .rank { font-size: 24px; }
.mini li { grid-template-columns: 34px 128px 1fr auto; }
.mini-thumb img { width: 128px; background: var(--paper-2); }
.similar .mini li { grid-template-columns: 128px 1fr auto; }
.ct .ch-avatar, .ch-avatar-empty { width: 56px; height: 56px; }
.dense.ct td { padding-top: 10px; padding-bottom: 10px; }
@media (min-width: 720px) {
  .row { grid-template-columns: 60px 220px 1fr 130px 84px 32px; grid-template-areas: "rank thumb body views spark watch" "move thumb body views spark watch"; column-gap: 18px; align-items: center; padding: 16px 0; }
  .rank { align-self: end; font-size: 46px; }
  .row-move { align-self: start; }
  .row-thumb img { width: 220px; }
  .row-body { align-self: center; }
  .row-title { font-size: 18px; }
  .row-views { text-align: right; align-self: center; }
  .row-views strong { font-size: 24px; }
  .row-views small { display: block; }
  .row-sm { grid-template-columns: 52px 176px 1fr 120px 84px 32px; padding: 12px 0; }
  .row-sm .row-thumb img { width: 176px; }
  .row-sm .row-title { font-size: 16px; }
  .row-sm .row-views strong { font-size: 20px; }
  .top-sm .rank { font-size: 32px; }
  .mini li { grid-template-columns: 30px 104px 1fr auto; }
  .mini-thumb img { width: 104px; }
  .similar .mini li { grid-template-columns: 160px 1fr auto; }
  .similar .mini-thumb img { width: 160px; }
}
