/* ============================================================
   스트릿코트 — street.css  (CUBE CSS: Composition · Utility · Block · Exception)
   TOC
    1. 토큰·폰트 (:root, @font-face)
    2. 전역 (reset 최소 · 타이포 · 링크)
    3. Composition — .wrapper .stack .cluster .grid .split
    4. Utility — .plain .sr .num .muted .strong .h-* .eyebrow .lead .note
    5. Block — 헤더·푸터 .site-head .site-foot .brand .btn
    6. Block — 히어로·지도 .hero .map-* .chips .legend .hero-side
    7. Block — 랭킹·표 .rank-table .data-table .crew-link
    8. Block — 카드 .court-card .crew-card .event-card .holder-card .feature
    9. Block — 경기·소식 .match-row .news-item .timeline .steps .faq
   10. Block — 폰 목업 .phone
   11. Block — 설치·모달·페이지 제목 .install .modal .page-hero
   12. Exception — [data-*] 변형 (state, tone, grade, cat, res, dim, variant)
   13. 반응형·접근성 (@media)
   ============================================================ */

/* 1. 토큰·폰트 */
@font-face { font-family: "Anton"; src: url("../fonts/anton-400.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Pretendard"; src: url("../fonts/Pretendard-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Pretendard"; src: url("../fonts/Pretendard-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Pretendard"; src: url("../fonts/Pretendard-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
:root {
  --navy-950: #070e1b; --navy-900: #0b1424; --navy-800: #111c31; --navy-700: #1a2942; --navy-600: #263754;
  --text: #eef0f4; --muted: #9aa6bd; --line: rgba(244, 241, 234, .14); --line-strong: rgba(244, 241, 234, .32);
  --light: #ff9a3c; --light-deep: #e2761a; --court: #f4f1ea; --win: #6fd89a; --loss: #ff7b7b;
  --font-body: "Pretendard", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-head: "Anton", "Pretendard", sans-serif;
  --space-xs: .375rem; --space-s: .75rem; --space-m: 1.25rem; --space-l: 2rem; --space-xl: 3.5rem; --space-2xl: 5rem;
  --radius: 10px; --gutter: clamp(1rem, 4vw, 2rem); --max: 1180px;
}

/* 2. 전역 */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--navy-900); color: var(--text); font: 400 1rem/1.65 var(--font-body); overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: .2em; }
a:hover { color: var(--light); }
:focus-visible { outline: 3px solid var(--light); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 900; line-height: 1.15; margin: 0; letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 7vw, 4.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0; }
small { font-size: .8em; }
table { border-collapse: collapse; width: 100%; }
th { text-align: left; font-weight: 700; }
dl, dd { margin: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--light); color: #1a0e00; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

/* 3. Composition */
.wrapper { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.stack > * + * { margin-block-start: var(--space, var(--space-s)); }
.stack { --space: var(--space-m); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap, var(--space-s)); }
.grid { display: grid; gap: var(--space-m); grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 17rem)), 1fr)); }
.grid[data-grid="2"] { --min: 20rem; }
.grid[data-grid="3"] { --min: 16rem; }
.grid[data-grid="district"] { --min: 14rem; }
.split { display: grid; gap: var(--space-l); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .split.reverse > :first-child { order: 0; } }

/* 4. Utility */
.plain { list-style: none; margin: 0; padding: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.muted { color: var(--muted); font-weight: 400; }
.strong { font-weight: 900; color: var(--light); }
.h-md { font-size: 1.5rem; }
.stack > .h-md { margin-block-start: var(--space-l); }
.stack > .h-md + * { margin-block-start: var(--space-s); }
.h-sm { font-size: 1.15rem; letter-spacing: .04em; }
.h-xs { font-size: .8rem; font-family: var(--font-body); font-weight: 700; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { font: 700 .8rem/1.2 var(--font-body); letter-spacing: .12em; color: var(--light); text-transform: uppercase; }
.lead { font-size: clamp(1rem, 2.2vw, 1.2rem); color: #cfd6e4; max-width: 38em; }
.note { font-size: .85rem; color: var(--muted); }
.more { font-weight: 700; color: var(--light); text-decoration: none; }
.more::after { content: " \2192"; }
.more:hover { text-decoration: underline; }

/* 5. Block — 헤더·푸터·버튼 */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(8, 15, 29, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1rem; padding-block: .6rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font: 400 1.35rem/1 var(--font-head); letter-spacing: .06em; }
.main-nav { display: flex; gap: .25rem; overflow-x: auto; order: 3; width: 100%; scrollbar-width: none; }
.main-nav a { padding: .45rem .8rem; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .92rem; white-space: nowrap; color: #cfd6e4; }
.main-nav a:hover { background: var(--navy-700); color: #fff; }
.main-nav a[aria-current] { background: var(--light); color: #1a0e00; }
.btn-sm, .btn { display: inline-flex; align-items: center; justify-content: center; background: var(--light); color: #1a0e00; font-weight: 900; text-decoration: none; border-radius: 999px; }
.btn-sm { padding: .45rem 1rem; font-size: .9rem; }
.btn { padding: .8rem 1.6rem; }
.btn:hover, .btn-sm:hover { background: #ffb766; color: #1a0e00; }
.site-foot { margin-top: var(--space-2xl); background: var(--navy-950); border-top: 1px solid var(--line); padding-block: var(--space-xl); font-size: .85rem; color: var(--muted); }
.foot-top { justify-content: space-between; }
.foot-top nav { gap: 1.2rem; font-weight: 700; }
.foot-top nav a { text-decoration: none; color: var(--text); }
.soc { gap: 1.2rem; }
.legal { --space: .3rem; }
.legal strong { color: var(--text); }
.stores { list-style: none; margin: 0; padding: 0; }
.store { display: inline-flex; align-items: center; gap: .6rem; padding: .55rem 1rem .55rem .8rem; background: #000; border: 1px solid var(--line-strong); border-radius: 10px; text-decoration: none; color: #fff; }
.store svg { fill: #fff; }
.store span { display: grid; line-height: 1.15; }
.store small { font-size: .62rem; letter-spacing: .04em; opacity: .85; }
.store b { font-size: 1.02rem; }
.store:hover { border-color: var(--light); color: #fff; }

/* 6. Block — 히어로·지도 */
.hero { background: linear-gradient(180deg, rgba(8, 15, 29, .72), var(--navy-900) 96%), var(--hero-img) center 30% / cover no-repeat, var(--navy-800); padding-block: var(--space-xl) var(--space-l); }
.hero-in { --space: var(--space-l); }
.hero-copy { --space: 1rem; }
.hero-copy h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, .6); }
.hero-grid { display: grid; gap: var(--space-m); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr); align-items: start; } }
.map-wrap { --space: .75rem; min-width: 0; }
.map-box { position: relative; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; background: #0a1830; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
.map-svg { width: 100%; height: auto; display: block; }
.map-sea { fill: #0c1c38; }
.map-waves path { stroke: rgba(160, 190, 235, .16); }
.map-district polygon { fill: #1b2a45; stroke: rgba(244, 241, 234, .38); stroke-width: 2; stroke-linejoin: round; transition: opacity .2s; }
.map-district:nth-of-type(even) polygon { fill: #1f3050; }
.map-district text { fill: rgba(244, 241, 234, .7); font: 700 17px var(--font-body); letter-spacing: .06em; pointer-events: none; }
.map-roads path { stroke: rgba(244, 241, 234, .16); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 2 12; }
.map-poi path, .map-poi circle { fill: rgba(244, 241, 234, .5); }
.map-marker { cursor: pointer; outline: none; }
.mk-hit { fill: transparent; }
.mk-dot { fill: var(--crew, #263349); stroke: #0b1424; stroke-width: 3; paint-order: stroke; transition: r .15s; }
.map-marker[data-state="open"] .mk-dot { stroke: var(--court); stroke-width: 2; stroke-dasharray: 4 3; }
.mk-tag { font: 400 11px var(--font-head); fill: #0b1424; letter-spacing: .02em; pointer-events: none; }
.map-marker[data-state="open"] .mk-tag { fill: var(--muted); }
.map-marker:hover .mk-dot, .map-marker:focus-visible .mk-dot, .map-marker[data-active] .mk-dot { r: 19px; stroke: var(--court); stroke-width: 3; }
.map-marker:focus-visible .mk-hit { stroke: var(--light); stroke-width: 3; }
.map-pop { position: absolute; z-index: 5; min-width: 13rem; max-width: 16rem; padding: .7rem .9rem; background: var(--navy-950); border: 1px solid var(--light); border-radius: 8px; font-size: .82rem; line-height: 1.45; pointer-events: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }
.map-pop[hidden] { display: none; }
.map-pop b { display: block; font-size: .95rem; }
.map-pop em { font-style: normal; color: var(--light); font-weight: 700; }
.map-pop small { color: var(--muted); display: block; }
.chips { gap: .4rem; }
.chip-link { padding: .35rem .85rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .85rem; font-weight: 700; text-decoration: none; background: var(--navy-800); }
.chip-link:hover { border-color: var(--light); color: var(--text); }
.chip-link[aria-current] { background: var(--light); color: #1a0e00; border-color: var(--light); }
.legend { list-style: none; margin: 0; padding: 0; gap: .4rem 1rem; font-size: .82rem; color: #cfd6e4; }
.legend li { display: inline-flex; align-items: center; gap: .4rem; }
.legend i, .chip-crew i, .crew-link i, .top3 i { width: .8rem; height: .8rem; border-radius: 50%; background: var(--crew, #263349); flex: none; display: inline-block; }
.legend i.open { background: none; border: 1.5px dashed var(--court); }
.hero-side { padding: var(--space-m); background: rgba(11, 20, 36, .88); border: 1px solid var(--line); border-radius: var(--radius); --space: 1.1rem; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(5.5rem, 1fr)); gap: .6rem; }
.stat-row > div { padding: .6rem .7rem; background: var(--navy-800); border-radius: 8px; border: 1px solid var(--line); }
.stat-row dt { font-size: .72rem; color: var(--muted); font-weight: 700; }
.stat-row dd { font: 400 1.9rem/1.1 var(--font-head); color: var(--light); }
.stat-row.big dd { font-size: 2.2rem; }
.top3 li { display: flex; align-items: center; gap: .6rem; padding: .5rem .7rem; border-left: 4px solid var(--crew); background: var(--navy-800); border-radius: 0 8px 8px 0; }
.top3 .n { font: 400 1.3rem var(--font-head); color: var(--muted); width: 1.2rem; }
.top3 a { flex: 1; text-decoration: none; font-weight: 700; display: flex; align-items: center; gap: .5rem; }
.top3 b { font: 400 1.4rem var(--font-head); }
.flip-list li { display: grid; gap: .1rem; font-size: .9rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.flip-list li > a { font-weight: 700; }
.flip-list em { color: var(--muted); font-style: normal; }
.flip-list small { color: var(--muted); }
.season-bar { padding: .8rem; border: 1px solid var(--line); border-radius: 8px; font-size: .85rem; }
.sb-top { display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.sb-top b { font-family: var(--font-head); font-size: 1.1rem; font-weight: 400; letter-spacing: .05em; }
.sb-track { height: 8px; border-radius: 999px; background: var(--navy-700); margin-block: .5rem; overflow: hidden; }
.sb-track i { display: block; height: 100%; background: var(--light); }
.season-bar small { color: var(--muted); }
.all-courts { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(11, 20, 36, .8); }
.all-courts > summary { padding: .85rem 1.1rem; cursor: pointer; font-weight: 700; }
.all-courts .court-list { padding: 0 1.1rem 1.1rem; }
.court-list h3 { font-size: 1rem; letter-spacing: .06em; color: var(--light); }
.cl-row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding-block: .3rem; border-bottom: 1px solid var(--line); font-size: .9rem; --space: .2rem; }
.cl-row > a { text-decoration: none; }
.cl-id { display: inline-block; min-width: 2.4rem; font: 400 .8rem var(--font-head); color: var(--muted); letter-spacing: .04em; }
.chip-crew { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.chip-crew[data-open] { color: var(--muted); font-weight: 400; }

/* 7. Block — 표 */
.band { padding-block: var(--space-xl); }
.sec-head { justify-content: space-between; align-items: baseline; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--navy-800); }
.rank-table th, .rank-table td, .data-table th, .data-table td { padding: .7rem .9rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.rank-table thead th, .data-table thead th { font-size: .78rem; color: var(--muted); letter-spacing: .06em; background: var(--navy-950); }
.rank-table tbody tr:last-child > *, .data-table tbody tr:last-child > * { border-bottom: 0; }
.rank-table .rank { font: 400 1.5rem var(--font-head); width: 3.5rem; }
.rank-table small, .data-table small { color: var(--muted); font-weight: 400; }
.rank-table tbody tr:first-child .rank { color: var(--light); }
.crew-link { display: grid; grid-template-columns: auto 1fr; column-gap: .6rem; align-items: center; text-decoration: none; }
.crew-link span { font-weight: 900; font-size: 1.05rem; white-space: nowrap; }
.crew-link small { grid-column: 2; }
.data-table tfoot th, .data-table tfoot td { background: var(--navy-950); }
.data-table.prob td { vertical-align: top; }
.item-list { display: grid; gap: .15rem .9rem; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); font-size: .88rem; }
.item-list b { color: var(--light); font-variant-numeric: tabular-nums; }

/* 8. Block — 카드 */
.court-card, .crew-card, .event-card, .feature { position: relative; padding: var(--space-m); background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; --space: .6rem; }
.court-card { border-top: 4px solid var(--crew, var(--line-strong)); isolation: isolate; }
.cc-photo { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; opacity: .22; }
.court-card h3 a, .crew-card h3 a { text-decoration: none; }
.court-card h3 a::after, .crew-card h3 a::after { content: ""; position: absolute; inset: 0; }
.court-card .chip-crew, .court-card .cc-last a { position: relative; z-index: 2; }
.cc-meta, .cc-last { font-size: .85rem; color: #cfd6e4; }
.crew-card { border-left: 4px solid var(--crew); }
.recruit { color: var(--win); }
.holder-card { padding: var(--space-m); border: 1px solid var(--line-strong); border-left: 6px solid var(--crew, var(--line-strong)); border-radius: var(--radius); background: var(--navy-800); }
.hc-name { font-size: 1.3rem; font-weight: 900; }
.hc-name .chip-crew { font-size: 1.3rem; }
.feature { background: transparent; border: 0; padding: 0; text-align: left; justify-items: start; }
.feature p { color: #cfd6e4; }
.feature-grid { gap: var(--space-l); }
.kv { display: grid; gap: .6rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.kv.wide { grid-template-columns: 1fr; }
.kv > div { padding: .7rem 1rem; background: var(--navy-800); border: 1px solid var(--line); border-radius: 8px; }
.kv dt { font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; }
.grade { display: inline-block; white-space: nowrap; padding: .1rem .55rem; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--navy-600); }

/* 9. Block — 경기·소식·타임라인 */
.match-row { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; padding: .7rem 1rem; background: var(--navy-800); border: 1px solid var(--line); border-radius: 8px; font-size: .92rem; }
.match-row time { font-weight: 700; min-width: 3.6rem; font-variant-numeric: tabular-nums; }
.match-row time small { color: var(--muted); font-weight: 400; }
.mr-court { flex: 1 1 10rem; font-weight: 700; text-decoration: none; }
.mr-teams { display: inline-flex; align-items: center; gap: .6rem; flex: 2 1 16rem; justify-content: flex-end; }
.mr-teams > [data-win="0"] { opacity: .6; }
.mr-teams > [data-win="1"] .chip-crew { color: #fff; }
.mr-score { display: inline-flex; gap: .2rem; font: 400 1.3rem var(--font-head); background: var(--navy-950); padding: .1rem .6rem; border-radius: 6px; }
.mr-score i { font-style: normal; color: var(--muted); }
.tag-flip { font-size: .7rem; font-weight: 900; color: #1a0e00; background: var(--light); padding: .1rem .5rem; border-radius: 999px; }
.res { width: 1.6rem; height: 1.6rem; display: inline-grid; place-items: center; border-radius: 6px; font-size: .8rem; }
.news-item { display: grid; grid-template-columns: auto 1fr auto; gap: .2rem 1rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.news-item a { font-weight: 700; text-decoration: none; }
.news-item a:hover { text-decoration: underline; }
.news-item time { font-size: .82rem; color: var(--muted); }
.news-sum { font-size: .9rem; color: var(--muted); margin-top: -.6rem !important; padding-bottom: .5rem; }
.tag-cat { font-size: .72rem; font-weight: 900; padding: .15rem .6rem; border-radius: 999px; background: var(--navy-600); min-width: 3.5rem; text-align: center; }
.prose { max-width: 42rem; font-size: 1.05rem; }
.timeline li { display: grid; grid-template-columns: 6.5rem 1fr; gap: .2rem 1rem; padding: .8rem 1rem; border-left: 3px solid var(--navy-600); background: var(--navy-800); border-radius: 0 8px 8px 0; }
.timeline li[data-past="1"] { border-left-color: var(--light); }
.timeline time { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 700; }
.timeline span { grid-column: 2; color: #cfd6e4; font-size: .9rem; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: .9rem 1rem .9rem 3.6rem; background: var(--navy-800); border: 1px solid var(--line); border-radius: 8px; }
.steps li::before { content: counter(s); position: absolute; left: 1rem; top: .7rem; font: 400 1.6rem var(--font-head); color: var(--light); }
.steps b { display: block; }
.faq { border: 1px solid var(--line); border-radius: 8px; background: var(--navy-800); }
.faq summary { padding: .9rem 1.1rem; cursor: pointer; font-weight: 700; }
.faq p { padding: 0 1.1rem 1rem; color: #cfd6e4; }
.crumbs { padding-block: .8rem 0; font-size: .82rem; color: var(--muted); }
.crumbs ol { gap: .4rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line-strong); }
.crumbs a { text-decoration: none; }

/* 10. Block — 폰 목업 */
.phone { width: 200px; aspect-ratio: 9 / 18.5; margin-inline: auto; padding: 8px; border-radius: 30px; background: #05080f; border: 2px solid #33415c; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); position: relative; flex: none; }
.ph-notch { position: absolute; top: 12px; left: 50%; width: 56px; height: 14px; margin-left: -28px; background: #05080f; border-radius: 999px; z-index: 3; }
.ph-screen { height: 100%; border-radius: 23px; overflow: hidden; background: #0f1b31; padding: 34px 10px 10px; position: relative; display: flex; flex-direction: column; gap: 8px; font-size: 11px; line-height: 1.3; }
.ph-hud { display: flex; justify-content: space-between; align-items: center; font: 400 22px var(--font-head); }
.ph-hud em { font: 700 11px var(--font-body); font-style: normal; color: var(--muted); }
.ph-hud span:last-child { color: var(--light); }
.ph-court { flex: 1; position: relative; border-radius: 10px; background: linear-gradient(#2c3b57, #223048); overflow: hidden; }
.ph-court .arc { position: absolute; left: 12%; right: 12%; top: 30%; bottom: -30%; border: 2px solid rgba(244, 241, 234, .6); border-radius: 50%; }
.ph-court .key { position: absolute; left: 34%; right: 34%; top: 0; height: 34%; border: 2px solid rgba(244, 241, 234, .6); border-top: 0; }
.ph-court .rim { position: absolute; left: 50%; top: 8%; width: 14px; height: 14px; margin-left: -7px; border: 2px solid var(--light); border-radius: 50%; }
.ph-court b { position: absolute; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; background: var(--light); color: #1a0e00; }
.ph-court b.d1, .ph-court b.d2, .ph-court b.d3 { background: #6aa7ff; }
.p1 { left: 20%; top: 60%; } .p2 { left: 62%; top: 52%; } .p3 { left: 42%; top: 36%; } .d1 { left: 28%; top: 46%; } .d2 { left: 58%; top: 38%; } .d3 { left: 44%; top: 22%; }
.ph-court .ball { position: absolute; left: 25%; top: 66%; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--light); }
.ph-court .swipe { position: absolute; left: 24%; top: 56%; width: 46px; height: 46px; border-top: 3px dashed rgba(255, 255, 255, .8); border-right: 3px dashed rgba(255, 255, 255, .8); border-radius: 0 60px 0 0; transform: rotate(-20deg); }
.ph-ctrl { display: flex; gap: 6px; align-items: center; }
.ph-gauge { flex: 1; height: 10px; border-radius: 999px; background: #223048; overflow: hidden; }
.ph-gauge i { display: block; width: 68%; height: 100%; background: linear-gradient(90deg, #ff9a3c, #6fd89a); }
.ph-btn { padding: .35rem .6rem; border-radius: 999px; background: var(--light); color: #1a0e00; font-weight: 900; font-size: 11px; }
.ph-btn.alt { background: #223048; color: var(--text); }
.ph-title { font: 400 18px var(--font-head); letter-spacing: .04em; }
.ph-title small { font: 700 10px var(--font-body); color: var(--muted); }
.ph-cards { display: grid; gap: 7px; flex: 1; }
.ph-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 6px; padding: 8px; border-radius: 9px; background: #1a2942; border-left: 4px solid var(--g, #6b7a95); }
.ph-card small { grid-column: 1; color: var(--muted); font-size: 9px; }
.ph-card b { font-size: 14px; grid-column: 1; }
.ph-card em { grid-row: 1 / 3; grid-column: 2; font-style: normal; font-size: 10px; font-weight: 900; color: var(--g, #9aa6bd); }
.ph-card .bars { grid-column: 1 / 3; display: grid; gap: 3px; }
.ph-card .bars i { display: block; height: 4px; width: var(--w); border-radius: 4px; background: var(--g, #6b7a95); opacity: .8; }
.ph-foot { padding: .4rem; border-radius: 8px; background: #1a2942; text-align: center; color: var(--muted); font-size: 10px; }
.ph-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; flex: 1; align-content: start; }
.ph-list li { display: flex; align-items: center; gap: 6px; padding: 8px; border-radius: 9px; background: #1a2942; font-weight: 700; }
.ph-list li i { width: 9px; height: 9px; border-radius: 50%; background: #fb923c; flex: none; }
.ph-list small { margin-left: auto; color: var(--muted); font-weight: 400; }
.ph-banner { padding: .55rem; border-radius: 9px; background: var(--light); color: #1a0e00; font-weight: 900; text-align: center; }

/* 11. Block — 설치·모달·페이지 제목 */
.install { background: linear-gradient(90deg, rgba(8, 15, 29, .95), rgba(8, 15, 29, .75)), var(--hero-img) center / cover no-repeat; margin-top: var(--space-xl); }
.install-in { display: grid; gap: var(--space-l); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .install-in { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.qr-row { gap: 1.5rem; justify-content: center; }
.qr-row figure { margin: 0; text-align: center; font-size: .82rem; color: var(--muted); }
.qr-row img { background: #fff; padding: 8px; border-radius: 10px; margin-bottom: .4rem; }
.page-hero { padding-block: var(--space-xl) var(--space-m); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); }
.page-hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 1rem; }
.modal:target { display: flex; }
.modal-bg { position: absolute; inset: 0; background: rgba(3, 7, 14, .78); }
.modal-box { position: relative; width: min(100%, 38rem); max-height: 86vh; overflow-y: auto; background: var(--navy-800); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: var(--space-l); font-size: .92rem; --space: .6rem; }
.modal-box h3 { font-size: 1rem; font-family: var(--font-body); color: var(--light); margin-top: .8rem; }
.modal .close { position: sticky; bottom: 0; display: inline-block; margin-top: 1rem; padding: .5rem 1.2rem; background: var(--light); color: #1a0e00; border-radius: 999px; font-weight: 900; text-decoration: none; }

/* 12. Exception — [data-*] */
[data-tone="alt"] { background: var(--navy-950); border-block: 1px solid var(--line); }
[data-state="open"].court-card { border-top-style: dashed; }
[data-state="진행 중"].event-card { border-color: var(--light); }
[data-state="종료"].event-card { opacity: .6; }
[data-dim] { opacity: .22; }
.map-marker[data-dim] { pointer-events: none; }
[data-res="w"] { background: rgba(111, 216, 154, .16); color: var(--win); }
[data-res="l"] { background: rgba(255, 123, 123, .14); color: var(--loss); }
[data-grade="레전드"], [data-grade="legend"] { --g: #ffd23f; color: #ffd23f; }
[data-grade="에픽"] { --g: #c08bff; color: #c08bff; }
[data-grade="레어"] { --g: #6aa7ff; color: #6aa7ff; }
[data-grade="일반"] { --g: #8d99b0; color: #b3bdd0; }
.ph-card[data-grade] { color: var(--text); }
[data-cat="이벤트"] { background: rgba(255, 154, 60, .2); color: var(--light); }
[data-cat="업데이트"] { background: rgba(106, 167, 255, .2); color: #8cbcff; }
[data-cat="점검"] { background: rgba(255, 123, 123, .18); color: var(--loss); }
[data-variant="ghost"] { background: transparent; color: var(--text); border: 1px solid var(--line-strong); }
[data-variant="ghost"]:hover { background: var(--navy-700); color: #fff; }
[aria-current="true"].chip-link { background: var(--light); color: #1a0e00; border-color: var(--light); }

/* 13. 반응형·접근성 */
@media (min-width: 900px) {
  .main-nav { order: 0; width: auto; flex: 1; margin-left: 1.5rem; }
  .head-row { flex-wrap: nowrap; }
  .kv.wide { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
}
@media (max-width: 640px) {
  .map-marker .mk-dot { r: 27px; } .map-marker .mk-tag { font-size: 20px; } .map-marker .mk-hit { r: 40px; }
  .map-marker:hover .mk-dot, .map-marker:focus-visible .mk-dot, .map-marker[data-active] .mk-dot { r: 31px; }
  .map-district text { font-size: 28px; }
  .band { padding-block: var(--space-l); }
  .mr-teams { justify-content: flex-start; flex-basis: 100%; }
  .news-item { grid-template-columns: auto 1fr; }
  .news-item time { grid-column: 2; }
  .timeline li { grid-template-columns: 1fr; } .timeline span { grid-column: 1; }
  .rank-table th, .rank-table td { padding: .6rem .5rem; } .rank-table .rank { width: 2rem; }
  .crew-link small { display: none; }
  .item-list { grid-template-columns: 1fr; }
  .data-table.prob th, .data-table.prob td { padding: .6rem .6rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
