/* components.css — 카드 · 표 · 대진표 · 버튼 · 폰 목업 등 화면 부품. 클래스는 평이한 이름, 중첩·@layer 없음. */

/* ── 시즌 바 · 헤더 ───────────────────────────── */
.season-bar { background: var(--bg-deep); border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.season-bar-row { display: flex; align-items: center; gap: 6px 18px; min-height: 36px; flex-wrap: wrap; padding-block: 4px; }
.season-tag { font-family: var(--font-latin); color: var(--brass-hi); letter-spacing: .14em; }
.season-next { margin-left: auto; color: var(--text); }
.season-next b { color: var(--brass-hi); font-variant-numeric: tabular-nums; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 28, 21, .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-word { font-family: var(--font-latin); font-size: 1.05rem; letter-spacing: .12em; color: var(--paper); }
.logo-ko { font-family: var(--font-head); font-size: .88rem; color: var(--brass-hi); padding-left: 10px; border-left: 1px solid var(--line); }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: .96rem; color: var(--muted); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--paper); background: rgba(201, 162, 74, .14); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brass); border-radius: 8px 8px 0 0; }
.menu-button { display: none; margin-left: auto; background: transparent; border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; min-height: 40px; color: var(--paper); }

/* ── 버튼 · 스토어 배지 ────────────────────────── */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border-radius: 999px; font-weight: 700; border: 1px solid transparent; transition: transform .15s, background .15s; text-align: center; }
.button:hover { transform: translateY(-1px); }
.button-brass { background: linear-gradient(180deg, var(--brass-hi), var(--brass)); color: var(--ink); box-shadow: 0 2px 0 var(--brass-lo); }
.button-brass:hover { color: var(--ink); background: linear-gradient(180deg, #f1d98c, var(--brass-hi)); }
.button-line { border-color: rgba(243, 234, 214, .45); color: var(--paper); background: rgba(10, 20, 15, .35); }
.button-line:hover { border-color: var(--brass-hi); color: var(--brass-hi); }
.header-install { min-height: 40px; padding: 6px 18px; font-size: .92rem; }
.store-row { display: flex; flex-wrap: wrap; gap: 10px; }
.store-badge { display: inline-flex; flex-direction: column; justify-content: center; min-width: 128px; padding: 7px 16px; border: 1px solid rgba(243, 234, 214, .5); border-radius: 10px; background: #000; line-height: 1.2; }
.store-badge:hover { border-color: var(--brass-hi); color: var(--text); }
.store-sub { font-size: .66rem; color: var(--muted); }
.store-name { font-weight: 700; font-size: 1rem; color: var(--paper); }

/* ── 섹션 제목 ───────────────────────────────── */
.kicker { display: block; font-family: var(--font-latin); font-size: .8rem; letter-spacing: .26em; color: var(--brass); margin-bottom: 6px; text-transform: uppercase; }
.more-link { color: var(--brass-hi); font-weight: 500; font-size: .94rem; white-space: nowrap; }
.more-link:hover { text-decoration: underline; }
.section-alt { background: var(--bg-lift); border-block: 1px solid var(--line); }
.section-wood { background: linear-gradient(180deg, #2a1810, #1c0f09); border-block: 1px solid var(--line); }
.lead { color: var(--muted); font-size: 1.05rem; max-width: 62ch; }

/* ── 히어로: 결승 포스터 ───────────────────────── */
.hero { position: relative; overflow: hidden; background: var(--bg-deep); border-bottom: 1px solid var(--line); }
.hero-scene { position: absolute; inset: 0; background-size: cover; background-position: center 55%; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-scene::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 80% at 50% 38%, rgba(7, 18, 13, 0) 0%, rgba(7, 18, 13, .62) 100%), linear-gradient(180deg, rgba(7, 18, 13, .15), rgba(7, 18, 13, .85) 100%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: center; padding-block: 56px 60px; }
.hero-center { text-align: center; }
.hero-kicker { font-family: var(--font-latin); letter-spacing: .3em; font-size: .8rem; color: var(--brass-hi); }
.hero-title { margin-top: 10px; text-shadow: 0 3px 24px #000; }
.hero-title small { display: block; margin-top: 10px; font-family: var(--font-body); font-weight: 500; font-size: clamp(.95rem, 1.6vw, 1.15rem); color: var(--paper-dim); letter-spacing: 0; }
.hero-when { margin-top: 18px; display: inline-flex; flex-direction: column; gap: 2px; padding: 10px 22px; border: 1px solid var(--line); border-radius: 10px; background: rgba(7, 18, 13, .6); }
.hero-when b { font-size: 1.15rem; color: var(--paper); }
.hero-when span { font-size: .85rem; color: var(--muted); }
.countdown { margin-top: 18px; }
.countdown-label { font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.countdown-cells { display: inline-flex; gap: 8px; }
.countdown-cells span { min-width: 64px; padding: 8px 6px 6px; border-radius: 8px; background: #000; border: 1px solid var(--line); font-size: .72rem; color: var(--muted); text-align: center; }
.countdown-cells b { display: block; font-family: var(--font-latin); font-size: 1.6rem; line-height: 1.1; color: var(--brass-hi); font-variant-numeric: tabular-nums; }
.hero-actions { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero-center .store-row { margin-top: 18px; justify-content: center; }
.finalist { position: relative; padding: 22px 18px 18px; text-align: center; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, rgba(20, 80, 59, .55), rgba(7, 18, 13, .82)); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.finalist .avatar { margin: 0 auto 12px; }
.finalist-club { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--paper-dim); }
.finalist h2 { margin-top: 8px; font-size: 1.6rem; }
.finalist-nick { color: var(--brass-hi); font-size: .9rem; }
.finalist-stats { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.finalist-stats dt { font-size: .7rem; color: var(--muted); }
.finalist-stats dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.finalist-route { margin-top: 12px; font-size: .78rem; color: var(--muted); }

/* ── 엠블럼 · 아바타 · 칩 ─────────────────────── */
.emblem { flex: 0 0 auto; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
.avatar { display: inline-grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: var(--ball-ink, #fff); font-family: var(--font-head); font-weight: 800; background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .6) 0 9%, transparent 22%), radial-gradient(circle at 50% 50%, var(--ball) 0 62%, rgba(0, 0, 0, .35) 100%); box-shadow: 0 0 0 2px rgba(201, 162, 74, .7), 0 6px 14px rgba(0, 0, 0, .4); }
.avatar span { display: grid; place-items: center; width: 52%; height: 52%; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.avatar-xs { width: 26px; height: 26px; font-size: .72rem; box-shadow: 0 0 0 1.5px rgba(201, 162, 74, .7); }
.avatar-sm { width: 32px; height: 32px; font-size: .86rem; box-shadow: 0 0 0 1.5px rgba(201, 162, 74, .7); }
.avatar-md { width: 44px; height: 44px; font-size: 1.1rem; }
.avatar-lg { width: 72px; height: 72px; font-size: 1.7rem; }
.avatar-xl { width: 124px; height: 124px; font-size: 2.8rem; }
.grade-chip { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; border: 1px solid currentColor; }
.grade-normal { color: #b9c2b8; }
.grade-rare { color: #7fb0e8; }
.grade-epic { color: #c79af0; }
.grade-legend { color: var(--brass-hi); background: rgba(201, 162, 74, .12); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: rgba(201, 162, 74, .16); color: var(--brass-hi); }
.pill-win { background: rgba(47, 143, 91, .22); color: #8fe0b2; }
.pill-muted { background: rgba(255, 255, 255, .08); color: var(--muted); }

/* ── 순위표(스코어보드 종이) ───────────────────── */
.score-table { background: var(--paper); color: var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 28px rgba(0, 0, 0, .35); min-width: 520px; }
.score-table thead th { background: var(--wood); color: var(--brass-hi); font-size: .78rem; letter-spacing: .04em; padding: 11px 12px; white-space: nowrap; border-bottom: 3px solid var(--brass-lo); }
.score-table td { padding: 10px 12px; border-bottom: 1px solid rgba(23, 18, 13, .1); vertical-align: middle; }
.score-table tbody tr:nth-child(even) { background: rgba(23, 18, 13, .04); }
.score-table tbody tr:hover { background: rgba(201, 162, 74, .18); }
.score-table tbody tr:first-child .cell-rank b { color: #9a6d10; }
.score-table th[data-sort] { cursor: pointer; }
.score-table th[data-sort]:hover { color: #fff; }
.score-table th[aria-sort="ascending"]::after { content: " ▲"; font-size: .7em; }
.score-table th[aria-sort="descending"]::after { content: " ▼"; font-size: .7em; }
.cell-center { text-align: center; }
.cell-right { text-align: right; }
.cell-num { font-variant-numeric: tabular-nums; }
.cell-rank b { font-family: var(--font-latin); font-size: 1.15rem; }
.cell-points b { font-size: 1.1rem; }
.move { display: block; font-size: .64rem; line-height: 1; margin-top: 2px; }
.move-up { color: #1f7a48; }
.move-down { color: #a9473a; }
.club-link { display: inline-flex; align-items: center; gap: 10px; }
.club-link strong { display: block; line-height: 1.2; }
.club-link small { display: block; color: var(--ink-soft); font-size: .72rem; }
.club-link:hover { color: #7a5a14; }
.form-pips { display: inline-flex; gap: 3px; }
.form-pips i { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-style: normal; font-size: .62rem; font-weight: 700; color: #fff; }
.pip-win { background: var(--win); }
.pip-loss { background: var(--loss); }
.table-note { margin-top: 12px; font-size: .84rem; color: var(--muted); }

/* ── 경기 카드 ───────────────────────────────── */
.match-card { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(20, 80, 59, .28), rgba(7, 18, 13, .6)); padding: 14px 16px 14px; }
.match-meta { display: flex; justify-content: space-between; gap: 10px; font-size: .78rem; color: var(--muted); margin-bottom: 10px; }
.match-kind { color: var(--brass-hi); font-weight: 700; }
.match-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; }
.match-team { display: flex; align-items: center; gap: 10px; min-width: 0; opacity: .72; }
.match-name { display: block; min-width: 0; }
.match-team strong { display: block; font-size: .98rem; line-height: 1.25; }
.match-team small { display: block; color: var(--muted); font-size: .72rem; }
.match-team.is-winner { opacity: 1; }
.match-team.is-winner strong { color: var(--paper); }
.match-team-away { flex-direction: row-reverse; text-align: right; }
.match-score { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-latin); font-size: 1.5rem; color: var(--brass-hi); font-variant-numeric: tabular-nums; }
.match-score i { font-style: normal; color: var(--muted); }
.match-score-pending { font-size: 1rem; color: var(--muted); letter-spacing: .2em; }
.match-games { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); display: grid; gap: 4px; font-size: .84rem; }
.match-games li { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; color: var(--muted); }
.game-player-away { text-align: right; }
.game-score { font-variant-numeric: tabular-nums; color: var(--paper-dim); }
.game-player.is-winner { color: var(--paper); font-weight: 700; }
.match-note { margin-top: 10px; font-size: .78rem; color: var(--muted); }

/* ── 대진표 ──────────────────────────────────── */
.round-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.round-tabs a { display: inline-flex; flex-direction: column; align-items: center; min-width: 76px; padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; line-height: 1.25; }
.round-tabs small { font-weight: 400; font-size: .68rem; color: var(--muted); }
.round-tabs a:hover, .round-tabs a.is-current { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.round-tabs a:hover small, .round-tabs a.is-current small { color: var(--ink-soft); }
.bracket-wrap { overflow-x: auto; padding-bottom: 8px; }
.bracket { display: grid; grid-template-columns: repeat(var(--rounds), minmax(210px, 1fr)); gap: 28px; min-width: calc(var(--rounds) * 238px); }
.bracket-round { display: flex; flex-direction: column; transition: opacity .2s; }
.bracket-round-title { font-size: 1rem; margin-bottom: 12px; color: var(--brass-hi); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.bracket-round-title small { font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .72rem; margin-left: 6px; }
.bracket-matches { display: flex; flex: 1; flex-direction: column; justify-content: space-around; gap: 12px; }
.bracket-match { position: relative; background: var(--paper); color: var(--ink); border-radius: 8px; overflow: hidden; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
.bracket-match::after { content: ""; position: absolute; right: -29px; top: 50%; width: 28px; border-top: 2px solid var(--brass-lo); }
.bracket-round:last-child .bracket-match::after { display: none; }
.bracket-player { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-bottom: 1px solid rgba(23, 18, 13, .12); }
.bracket-player a { flex: 1; min-width: 0; line-height: 1.2; }
.bracket-player strong { display: block; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bracket-player small { display: block; font-size: .66rem; color: var(--ink-soft); }
.bracket-score { font-family: var(--font-latin); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.bracket-player.is-winner { background: rgba(201, 162, 74, .3); }
.bracket-player.is-loser { opacity: .62; }
.bracket-tbd { flex: 1; font-size: .84rem; color: var(--ink-soft); }
.bracket-when { padding: 4px 10px; font-size: .68rem; color: var(--ink-soft); background: rgba(23, 18, 13, .07); }
.bracket-match.is-pending { outline: 2px dashed var(--brass); outline-offset: -2px; }
.bracket.has-focus .bracket-round { opacity: .38; }
.bracket.has-focus .bracket-round.is-focus { opacity: 1; }

/* ── 큐 카드 · 능력치 ─────────────────────────── */
.cue-card { display: flex; flex-direction: column; width: 240px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #2a1a10, #1a0f09); transition: transform .18s, border-color .18s; }
.cue-card:hover { transform: translateY(-3px); border-color: var(--brass); color: var(--text); }
.cue-grade-legend { border-color: rgba(229, 200, 119, .6); box-shadow: 0 0 0 1px rgba(229, 200, 119, .2), 0 10px 30px rgba(201, 162, 74, .12); }
.cue-art { display: block; aspect-ratio: 4 / 3; width: 100%; background-size: cover; background-position: center; background-color: var(--baize); }
.cue-card-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; }
.cue-card-body strong { font-family: var(--font-head); font-size: 1.05rem; }
.cue-card-source { font-size: .74rem; color: var(--muted); line-height: 1.4; }
.stat-bars { display: grid; gap: 5px; margin-top: 4px; }
.stat-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) 28px; align-items: center; gap: 8px; font-size: .78rem; }
.stat-label { color: var(--muted); }
.stat-track { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.stat-track i { display: block; height: 100%; background: linear-gradient(90deg, var(--brass-lo), var(--brass-hi)); border-radius: 3px; }
.stat-row b { text-align: right; font-variant-numeric: tabular-nums; }
.stat-bars-mini .stat-row { font-size: .7rem; grid-template-columns: 44px minmax(0, 1fr) 24px; }
.cue-grid .cue-card { width: auto; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin-bottom: 24px; }
.filter-bar a, .filter-bar button { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-weight: 500; }
.filter-bar a:hover { border-color: var(--brass); }
.filter-bar a[aria-current="true"] { background: var(--brass); border-color: var(--brass); color: var(--ink); font-weight: 700; }
.search-form { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.search-form input[type="search"] { flex: 1 1 220px; max-width: 360px; }
.search-form select { min-width: 150px; }
.search-form button { min-height: 44px; padding: 8px 20px; border-radius: 8px; background: var(--brass); color: var(--ink); border: 0; font-weight: 700; }
.empty-note { padding: 28px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ── 폰 목업 ─────────────────────────────────── */
.phone { width: 232px; margin-inline: auto; padding: 9px; border-radius: 34px; background: linear-gradient(145deg, #3a3a3a, #101010); box-shadow: 0 18px 40px rgba(0, 0, 0, .5), inset 0 0 0 1.5px #555; }
.phone-screen > * { flex-shrink: 0; }
.phone-screen { text-align: left; position: relative; height: 462px; border-radius: 26px; overflow: hidden; background: #0a1a13; font-size: .72rem; color: var(--text); padding: 22px 12px 12px; display: flex; flex-direction: column; gap: 8px; }
.phone-screen::before { content: ""; position: absolute; top: 7px; left: 50%; width: 62px; height: 14px; margin-left: -31px; border-radius: 8px; background: #000; }
.aim-hud { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 6px; }
.aim-player { display: inline-flex; align-items: center; gap: 5px; font-size: .68rem; min-width: 0; }
.aim-player b { white-space: nowrap; }
.aim-score { font-family: var(--font-latin); font-size: 1.2rem; color: var(--brass-hi); white-space: nowrap; }
.aim-inning { text-align: center; font-size: .64rem; color: var(--muted); margin-top: -4px; }
.aim-table { position: relative; border-radius: 6px; padding: 7px; background: linear-gradient(145deg, #6a4226, #3a2216); box-shadow: inset 0 0 0 1px #8a5a34; }
.aim-table svg { width: 100%; aspect-ratio: 100 / 76; border-radius: 3px; background: radial-gradient(ellipse at 50% 40%, #2a8a62, #14503b 75%); }
.aim-controls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 2px; text-align: center; }
.aim-control { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.aim-control small { font-size: .62rem; color: var(--muted); }
.ball-dial { position: relative; display: block; width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--ball-white) 55%, #c9c0aa); box-shadow: 0 0 0 2px var(--brass-lo); }
.ball-dial i { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--ball-red); }
.ball-dial-thick i { left: 21px; top: 14px; background: #222; box-shadow: 0 0 0 2px rgba(0, 0, 0, .15); }
.ball-dial-spin i { left: 28px; top: 9px; }
.power-bar { position: relative; display: block; width: 18px; height: 46px; border-radius: 9px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.power-bar i { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(0deg, var(--brass-lo), var(--brass-hi)); }
.aim-shot { margin-top: auto; display: block; text-align: center; padding: 9px; border-radius: 999px; background: linear-gradient(180deg, var(--brass-hi), var(--brass)); color: var(--ink); font-weight: 700; font-size: .84rem; }
.phone-upgrade { align-items: stretch; }
.up-title { text-align: center; font-weight: 700; margin-top: 6px; }
.up-cue .cue-art { aspect-ratio: 16 / 7; }
.up-cue { position: relative; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.up-cue .grade-chip { position: absolute; left: 8px; top: 8px; background: rgba(0, 0, 0, .6); }
.up-name { text-align: center; font-family: var(--font-head); font-size: .98rem; }
.up-name b { display: block; font-family: var(--font-latin); color: var(--brass-hi); font-size: .86rem; }
.up-stats { display: grid; gap: 4px; padding: 8px 10px; border-radius: 8px; background: rgba(255, 255, 255, .06); }
.up-stats li { display: grid; grid-template-columns: 1fr auto auto auto; gap: 8px; align-items: center; }
.up-stats i { font-style: normal; color: var(--muted); }
.up-next { color: #8fe0b2; }
.up-rate { text-align: center; }
.up-rate b { color: var(--brass-hi); font-size: 1rem; }
.up-note { text-align: center; font-size: .62rem; color: var(--muted); margin-top: -4px; }
.up-button { margin-top: auto; display: block; text-align: center; padding: 9px; border-radius: 999px; background: linear-gradient(180deg, var(--brass-hi), var(--brass)); color: var(--ink); font-weight: 700; font-size: .78rem; }
.pc-head { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.pc-head strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.pc-head small { color: var(--muted); font-size: .66rem; }
.pc-label { margin-top: 4px; font-weight: 700; color: var(--brass-hi); font-size: .68rem; }
.pc-quests { display: grid; gap: 8px; }
.pc-quests li { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; font-size: .68rem; }
.pc-quests b { font-variant-numeric: tabular-nums; color: var(--paper-dim); }
.pc-track { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.pc-track i { display: block; height: 100%; background: linear-gradient(90deg, var(--baize-hi), var(--brass-hi)); }
.pc-table { display: grid; gap: 3px; }
.pc-table li { display: grid; grid-template-columns: 16px 1fr auto; gap: 8px; padding: 5px 8px; border-radius: 6px; background: rgba(255, 255, 255, .05); font-size: .68rem; }
.pc-table li.is-me { background: rgba(201, 162, 74, .2); }
.pc-table em { font-style: normal; }

/* ── 홈: 게임 소개 · 소식 · 설치 ───────────────── */
.feature { text-align: center; }
.feature h3 { margin-top: 22px; }
.feature h3 small { display: block; font-family: var(--font-latin); font-size: .8rem; letter-spacing: .2em; color: var(--brass); margin-bottom: 4px; }
.feature > p { margin: 10px auto 0; max-width: 34ch; color: var(--muted); font-size: .95rem; }
.feature a { color: var(--brass-hi); text-decoration: underline; }
.news-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(20, 80, 59, .25), rgba(7, 18, 13, .5)); height: 100%; }
.news-card:hover { border-color: var(--brass); color: var(--text); }
.news-card h3 { font-size: 1.1rem; line-height: 1.4; }
.news-card p { color: var(--muted); font-size: .9rem; }
.news-card time { margin-top: auto; font-size: .78rem; color: var(--muted); }
.install { background: linear-gradient(135deg, #14503b, #0b2a1e 60%); border-block: 1px solid var(--line); }
.install-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.install-copy p { margin-top: 12px; color: var(--paper-dim); max-width: 52ch; }
.install-copy .store-row { margin-top: 20px; }
.install-note { font-size: .82rem; color: var(--muted); }
.install-qr { display: flex; gap: 20px; justify-content: center; }
.install-qr figure { margin: 0; text-align: center; font-size: .78rem; color: var(--muted); }
.install-qr img { width: 132px; height: 132px; padding: 8px; background: #fff; border-radius: 10px; margin-bottom: 8px; }

/* ── 서브 페이지 ─────────────────────────────── */
.page-head { padding-block: 44px 30px; background: radial-gradient(ellipse 70% 120% at 20% 0, rgba(29, 106, 77, .45), transparent 70%), var(--bg-deep); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-head p { margin-top: 10px; color: var(--muted); max-width: 62ch; }
.breadcrumb { font-size: .8rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumb a:hover { text-decoration: underline; }
.club-card { display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(180deg, rgba(20, 80, 59, .3), rgba(7, 18, 13, .6)); height: 100%; }
.club-card:hover { border-color: var(--brass); color: var(--text); }
.club-card-head { display: flex; align-items: center; gap: 12px; }
.club-card-head h2 { font-size: 1.2rem; }
.club-card-head small { color: var(--muted); }
.club-card p { color: var(--muted); font-size: .9rem; }
.club-card-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); text-align: center; }
.club-card-stats dt { font-size: .68rem; color: var(--muted); }
.club-card-stats dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.club-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.club-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.club-hero .motto { margin-top: 6px; color: var(--brass-hi); font-family: var(--font-head); }
.kpi-row { display: flex; gap: 10px; flex-wrap: wrap; }
.kpi { min-width: 92px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; background: rgba(0, 0, 0, .3); text-align: center; }
.kpi dt { font-size: .7rem; color: var(--muted); }
.kpi dd { margin: 0; font-family: var(--font-latin); font-size: 1.5rem; color: var(--brass-hi); font-variant-numeric: tabular-nums; }
.panel { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: rgba(7, 18, 13, .55); }
.panel h2, .panel h3 { margin-bottom: 14px; font-size: 1.25rem; }
.quest-list { display: grid; gap: 16px; }
.quest-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
.quest-list small { grid-column: 1 / -1; color: var(--muted); }
.quest-track { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.quest-track i { display: block; height: 100%; background: linear-gradient(90deg, var(--baize-hi), var(--brass-hi)); }
.quest-done .quest-track i { background: var(--win); }
.roster-player { display: flex; align-items: center; gap: 10px; }
.roster-player small { display: block; color: var(--ink-soft); font-size: .72rem; }
.round-block { margin-top: 36px; }
.round-block h3 { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.round-block h3 small { font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .84rem; }
.cue-detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.cue-detail .cue-art { border-radius: 14px; border: 1px solid var(--line); }
.spec-list { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; }
.paper-table { background: var(--paper); color: var(--ink); border-radius: var(--radius); overflow: hidden; min-width: 460px; }
.paper-table thead th { background: var(--wood); color: var(--brass-hi); font-size: .8rem; padding: 10px 12px; border-bottom: 3px solid var(--brass-lo); }
.paper-table td { padding: 9px 12px; border-bottom: 1px solid rgba(23, 18, 13, .1); }
.paper-table tbody tr:nth-child(even) { background: rgba(23, 18, 13, .04); }
.paper-table .grade-normal { color: #5f6a5f; }
.paper-table .grade-rare { color: #2f66aa; }
.paper-table .grade-epic { color: #7a3fb0; }
.paper-table .grade-legend { color: #8a6410; background: rgba(201, 162, 74, .2); }
.timeline { display: grid; gap: 0; border-left: 2px solid var(--brass-lo); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 22px 24px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--brass); }
.timeline time { display: block; font-size: .8rem; color: var(--brass-hi); font-weight: 700; }
.article-body { font-size: 1.04rem; }
.article-body p + p { margin-top: 1em; }
.article-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; color: var(--muted); font-size: .86rem; }
.article-list > li + li { margin-top: 12px; }
.article-row { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(7, 18, 13, .5); }
.article-row:hover { border-color: var(--brass); color: var(--text); }
.article-row time { font-size: .8rem; color: var(--muted); }
.article-row h2 { font-size: 1.1rem; margin: 4px 0; }
.article-row p { color: var(--muted); font-size: .9rem; }
.faq-list details { border: 1px solid var(--line); border-radius: 10px; background: rgba(7, 18, 13, .5); }
.faq-list details + details { margin-top: 10px; }
.faq-list summary { padding: 14px 18px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--brass-hi); font-size: 1.2rem; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details > div { padding: 0 18px 16px; color: var(--muted); }
.notice-box { padding: 16px 18px; border-left: 4px solid var(--brass); background: rgba(201, 162, 74, .1); border-radius: 0 10px 10px 0; font-size: .92rem; }
.event-list li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.event-list h3 { font-size: 1rem; }
.event-list p { font-size: .84rem; color: var(--muted); }
.error-page { text-align: center; padding-block: 90px; }
.error-page .big { font-family: var(--font-latin); font-size: clamp(4rem, 12vw, 7rem); color: var(--brass); line-height: 1; }

/* ── 푸터 · 모달 ─────────────────────────────── */
.site-footer { background: #050d09; border-top: 1px solid var(--line); margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; padding-block: 48px 36px; }
.footer-brand p { margin: 14px 0 16px; color: var(--muted); font-size: .9rem; }
.footer-col h2 { font-family: var(--font-body); font-size: .86rem; letter-spacing: .08em; color: var(--brass); margin-bottom: 12px; }
.footer-col li + li { margin-top: 8px; }
.footer-col a { color: var(--muted); font-size: .92rem; }
.footer-col a:hover { color: var(--brass-hi); }
.footer-company { border-top: 1px solid var(--line); padding-block: 24px 36px; font-size: .78rem; color: #7e8a7d; line-height: 1.8; }
.footer-company a { text-decoration: underline; }
.rating-line { margin-bottom: 8px; color: var(--muted); }
.rating-badge { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 4px; background: #e8c23a; color: #111; font-weight: 700; font-size: .72rem; vertical-align: middle; }
.copyright { margin-top: 8px; }
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal:target { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .72); }
.modal-panel { position: relative; width: 100%; max-width: 720px; max-height: 86vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); overflow: hidden; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; background: var(--wood); color: var(--paper); border-bottom: 3px solid var(--brass); }
.modal-head h2 { font-size: 1.2rem; }
.modal-close { color: var(--brass-hi); font-size: .9rem; }
.modal-body { padding: 20px 24px 26px; overflow-y: auto; }
.legal-text h3 { font-family: var(--font-body); font-size: 1rem; margin: 20px 0 6px; }
.legal-text p { font-size: .92rem; color: #2c261e; }
.legal-date { color: var(--ink-soft) !important; font-size: .82rem !important; }
.legal-foot { margin-top: 24px; padding-top: 12px; border-top: 1px solid rgba(0, 0, 0, .15); font-size: .82rem !important; }

/* ── 반응형 ─────────────────────────────────── */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 36px 44px; }
  .hero-center { order: -1; }
  .finalist { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; text-align: left; align-items: center; }
  .finalist .avatar { grid-row: span 3; margin: 0; width: 84px; height: 84px; font-size: 2rem; }
  .finalist-stats, .finalist-route { grid-column: 1 / -1; }
  .install-row, .cue-detail { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .club-hero { grid-template-columns: auto minmax(0, 1fr); }
  .club-hero .kpi-row { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .header-row { flex-wrap: wrap; padding-block: 8px; row-gap: 2px; }
  .header-install { margin-left: auto; }
  .site-nav { order: 3; flex: 1 0 100%; margin: 0; }
  .site-nav ul { flex-wrap: wrap; gap: 2px; }
  .site-nav a { padding: 6px 10px; font-size: .9rem; }
  .logo-ko { display: none; }
  .season-next { margin-left: 0; }
  /* 스크립트가 켜진 경우에만 메뉴를 접는다 (JS 없으면 위 가로 줄이 그대로 보인다) */
  .js-ready .menu-button { display: inline-block; margin-left: auto; }
  .js-ready .header-install { display: none; }
  .js-ready .site-nav { display: none; padding: 4px 0 12px; }
  .js-ready .site-nav.is-open { display: block; }
  .js-ready .site-nav ul { flex-direction: column; }
  .js-ready .site-nav a { padding: 12px 8px; font-size: 1rem; }
}
@media (max-width: 640px) {
  .countdown-cells span { min-width: 56px; }
  .match-teams { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 6px; }
  .match-team { flex-direction: column; align-items: flex-start; gap: 6px; }
  .match-team-away { flex-direction: column; align-items: flex-end; }
  .article-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .install-qr { flex-wrap: wrap; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
}
