/* MONSTAR LEAGUE 공식 사이트 — 자체 브랜드(잉크 네이비 + 별빛 골드). 실제 리그·구단 색 조합·로고를 쓰지 않는다. */
:root {
  --ink: #0A1230; --ink-2: #111B44; --ink-3: #1B285C; --ink-line: #2B3A74;
  --gold: #FFC629; --gold-2: #F0B400;
  --live: #D8142B; --win: #087A4C; --draw: #667087; --loss: #CC2438;
  --bg: #ECEFF4; --surface: #FFFFFF; --surface-2: #F4F6F9; --line: #D8DDE7; --line-2: #B9C2D3;
  --text: #0A1230; --muted: #525C76; --link: #1C46C4;
  --on-dark: #FFFFFF; --on-dark-2: #C3CAE0;
  --f-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  --f-num: "Barlow", "Helvetica Neue", Arial, "Noto Sans KR", sans-serif;
  --f-ko: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --wrap: 1280px; --gut: 24px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.5 var(--f-ko); overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--gold); color: var(--ink); padding: 10px 14px; font-weight: 800; text-decoration: none; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.num, .tnum { font-family: var(--f-num); font-variant-numeric: tabular-nums; }
.crest { display: block; flex: none; }

/* ── 상단 클럽 크레스트 띠 ── */
.club-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.club-strip .wrap { display: flex; align-items: center; gap: 16px; height: 50px; }
.club-strip-label { font: 700 12px/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); flex: none; }
.club-strip ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.club-strip ul::-webkit-scrollbar { display: none; }
.club-strip a { display: grid; place-items: center; width: 44px; height: 44px; }
.club-strip a:hover .crest { transform: translateY(-2px); }
.club-strip .crest { transition: transform .15s; }

/* ── 마스트헤드 ── */
.masthead { background: var(--ink); color: var(--on-dark); position: relative; z-index: 5; }
.masthead .wrap { display: flex; align-items: stretch; height: 72px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-mark { width: 46px; height: 40px; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font: italic 800 27px/0.9 var(--f-display); letter-spacing: .02em; text-transform: uppercase; }
.brand-word b span { color: var(--gold); }
.brand-word small { font: 700 11px/1 var(--f-ko); color: var(--on-dark-2); letter-spacing: .08em; margin-top: 5px; }
.primary-nav { display: flex; align-items: stretch; flex: 1; min-width: 0; }
.primary-nav ul { display: flex; margin: 0; padding: 0; list-style: none; gap: 2px; }
.primary-nav a { display: flex; align-items: center; height: 100%; padding: 0 16px; font: 700 15px/1 var(--f-ko); text-decoration: none; color: var(--on-dark); white-space: nowrap; }
.primary-nav a:hover { background: var(--ink-2); }
.primary-nav a[aria-current="page"] { box-shadow: inset 0 -4px 0 var(--gold); color: var(--gold); }
.mast-right { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: none; }
.app-link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 2px solid var(--gold); color: var(--gold); text-decoration: none; font: 800 14px/1 var(--f-ko); }
.app-link:hover { background: var(--gold); color: var(--ink); }
.app-link svg { width: 16px; height: 16px; }
.mock-banner { background: var(--gold); color: var(--ink); font: 700 13px/1.4 var(--f-ko); text-align: center; padding: 6px 12px; }

/* ── 페이지 제목 띠 ── */
.page-head { background-color: var(--ink-2); color: var(--on-dark); border-top: 1px solid var(--ink-line);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M0 24L24 0' stroke='%23FFFFFF' stroke-opacity='.05' stroke-width='2'/%3E%3C/svg%3E"); }
.page-head .wrap { padding-top: 34px; padding-bottom: 30px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.kicker { margin: 0 0 6px; font: 700 14px/1 var(--f-display); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.page-head h1 { margin: 0; font: 900 42px/1.1 var(--f-ko); letter-spacing: -.02em; }
.page-head .sub { margin: 8px 0 0; color: var(--on-dark-2); font-size: 15px; }
.page-head .head-aside { color: var(--on-dark-2); font: 600 14px/1.4 var(--f-ko); }

main { padding: 0 0 64px; min-height: 50vh; }
.stack { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
.stack > * { min-width: 0; }

/* ── 패널 ── */
.panel { background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 3px solid var(--ink); }
.panel-title { margin: 0; font: 900 18px/1.2 var(--f-ko); display: flex; align-items: baseline; gap: 10px; }
.panel-title .en { font: 700 13px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.more { display: inline-flex; align-items: center; gap: 4px; font: 700 14px/1 var(--f-ko); color: var(--link); text-decoration: none; white-space: nowrap; min-height: 32px; }
.more:hover { text-decoration: underline; }
.more svg { width: 14px; height: 14px; }
.panel-body { padding: 18px; }
.empty { padding: 28px 18px; color: var(--muted); text-align: center; }

/* ── 배지·버튼 ── */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; font: 700 13px/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.badge-live { background: var(--live); color: #fff; }
.badge-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.2s ease-in-out infinite; }
.badge-ft { background: var(--ink); color: #fff; }
.badge-sched { border: 1px solid var(--line-2); color: var(--muted); height: 22px; }
.on-dark .badge-sched { border-color: var(--on-dark-2); color: var(--on-dark); }
@keyframes pulse { 50% { opacity: .25; } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border: 2px solid transparent; border-radius: 2px; font: 800 15px/1 var(--f-ko); text-decoration: none; cursor: pointer; background: none; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-3); }
.btn-line { border-color: currentColor; }
.btn-line:hover { background: rgba(10, 18, 48, .06); }
.on-dark .btn-line:hover { background: rgba(255, 255, 255, .1); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }

/* ── 스코어·시간 상자 ── */
.score { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 88px; height: 40px; padding: 0 12px; background: var(--ink); color: #fff; font: 800 24px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.score i { font-style: normal; opacity: .7; font-weight: 600; }
.score.is-live { background: var(--live); }
.score.is-time { background: none; color: var(--text); border: 1px solid var(--line-2); font-size: 21px; font-weight: 700; }

/* ── 경기 행(일정·결과) ── */
.fx-date { margin: 0; padding: 11px 18px; background: var(--surface-2); border-bottom: 1px solid var(--line); font: 800 14px/1.3 var(--f-ko); display: flex; justify-content: space-between; gap: 12px; }
.fx-date span { color: var(--muted); font-weight: 600; }
.fx-list { list-style: none; margin: 0; padding: 0; }
.fx { display: grid; grid-template-columns: 76px minmax(0, 1fr) 108px minmax(0, 1fr) 230px 20px; grid-template-areas: "status home score away venue go"; align-items: center; gap: 14px; min-height: 66px; padding: 8px 18px; border-bottom: 1px solid var(--line); text-decoration: none; }
.fx:hover { background: var(--surface-2); }
.fx:hover .fx-go { color: var(--ink); transform: translateX(2px); }
.fx-status { grid-area: status; }
.fx-home, .fx-away { display: flex; align-items: center; gap: 12px; min-width: 0; font: 700 16px/1.25 var(--f-ko); }
.fx-home { grid-area: home; justify-content: flex-end; text-align: right; }
.fx-away { grid-area: away; }
.fx-score { grid-area: score; display: flex; justify-content: center; }
.fx-venue { grid-area: venue; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; min-width: 0; }
.fx-venue svg { width: 14px; height: 14px; flex: none; }
.fx-go { grid-area: go; color: var(--line-2); transition: transform .15s; }
.fx-go svg { width: 18px; height: 18px; display: block; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.name-short { display: none; }
.ellipsis.is-short .name-full { display: none; }
.ellipsis.is-short .name-short { display: inline; }
/* 긴 공식 이름(예: 그림자순찰단 원더러스 MC)은 띄어쓰기에서만 줄을 바꾼다. 한 덩어리가 칸보다 길 때만 글자 단위로 끊는다. */
.hero-team strong, .mc-team strong, .club-hero h1, .club-tile-body strong, .band-list a, .round-now b, .panel-title, .venue-line { word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
.fx.is-win-home .fx-home, .fx.is-win-away .fx-away { font-weight: 900; }
.fx.is-win-home .fx-away .ellipsis, .fx.is-win-away .fx-home .ellipsis { color: var(--muted); }

/* ── 라운드 선택기 ── */
.round-nav { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-bottom: 3px solid var(--ink); }
.round-step { display: grid; place-items: center; height: 72px; border: 0; background: none; cursor: pointer; color: var(--ink); }
.round-step:hover:not([disabled]) { background: var(--surface-2); }
.round-step[disabled] { color: var(--line-2); cursor: default; }
.round-step svg { width: 22px; height: 22px; }
.round-now { text-align: center; padding: 8px; }
.round-now b { display: block; font: 900 26px/1.1 var(--f-ko); }
.round-now b .en { font: 800 26px/1 var(--f-display); letter-spacing: .02em; }
.round-now span { color: var(--muted); font-size: 14px; }
.round-chips { display: flex; gap: 4px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: thin; }
.round-chip { flex: none; min-width: 44px; height: 38px; border: 1px solid var(--line); background: var(--surface); font: 700 16px/1 var(--f-display); cursor: pointer; text-decoration: none; display: grid; place-items: center; color: var(--text); }
.round-chip:hover { border-color: var(--ink); }
.round-chip[aria-current="true"] { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.round-chip.is-done { color: var(--muted); }
.round-chip.is-break { margin-right: 14px; }
.filters { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.select { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1 var(--f-ko); }
.select select { min-height: 44px; padding: 0 36px 0 12px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230A1230' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; font: 600 15px/1 var(--f-ko); max-width: 100%; }
.on-dark .select select { background-color: var(--ink-3); color: #fff; border-color: var(--ink-line); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23FFFFFF' stroke-width='2'/%3E%3C/svg%3E"); }

/* ── 순위표 ── */
.table-wrap { overflow-x: auto; }
.standings, .data-table { width: 100%; border-collapse: collapse; font-family: var(--f-num); font-variant-numeric: tabular-nums; }
.standings th, .data-table th { background: var(--ink); color: #fff; font: 700 13px/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase; height: 42px; padding: 0 8px; text-align: right; white-space: nowrap; }
.standings th abbr, .data-table th abbr { text-decoration: none; }
.standings th.l, .standings td.l, .data-table th.l, .data-table td.l { text-align: left; }
.standings th.c, .standings td.c, .data-table th.c, .data-table td.c { text-align: center; }
.standings td, .data-table td { height: 54px; padding: 0 8px; border-bottom: 1px solid var(--line); text-align: right; font-size: 16px; font-weight: 500; white-space: nowrap; }
.standings tbody tr:hover, .data-table tbody tr:hover { background: var(--surface-2); }
.standings .pos { width: 56px; text-align: center; font: 800 20px/1 var(--f-display); }
.standings tr.is-leader .pos span { display: inline-grid; place-items: center; width: 30px; height: 30px; background: var(--gold); color: var(--ink); }
.club-cell { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 700 15px/1.2 var(--f-ko); min-width: 0; }
.club-cell:hover span { text-decoration: underline; }
.standings .pts { font: 800 21px/1 var(--f-display); width: 64px; }
.standings .muted-col { color: var(--muted); }
.form { display: inline-flex; gap: 3px; vertical-align: middle; }
.form i { display: grid; place-items: center; width: 24px; height: 24px; font: 800 12px/1 var(--f-ko); font-style: normal; color: #fff; }
.form .W { background: var(--win); } .form .D { background: var(--draw); } .form .L { background: var(--loss); }
.form .none { background: var(--surface-2); color: var(--line-2); border: 1px dashed var(--line-2); }
.form i:last-child { box-shadow: 0 3px 0 var(--ink); }
.table-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.table-notes h3 { margin: 0 0 8px; font: 800 14px/1.3 var(--f-ko); color: var(--text); }
.table-notes ol, .table-notes ul { margin: 0; padding-left: 20px; }
.table-notes li { margin: 2px 0; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; padding: 0 !important; }
.legend li { display: flex; align-items: center; gap: 6px; }
.next-cell { display: inline-flex; align-items: center; gap: 6px; font: 700 12px/1 var(--f-display); letter-spacing: .1em; color: var(--muted); text-decoration: none; min-height: 32px; }
.next-cell:hover span { color: var(--text); }
.bout-side .bn { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--text); }
.bout-side.home .bn { flex-direction: row-reverse; }
.bout-side .bn .crest { flex: none; }

/* ── 홈 ── */
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.hero { position: relative; color: var(--on-dark); background: var(--ink) center / cover no-repeat; background-image: var(--venue-img, none); min-height: 380px; display: flex; flex-direction: column; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(7, 12, 34, .8); }
.hero[data-art="none"] { background-image: repeating-linear-gradient(90deg, #10331F 0 88px, #133B25 88px 176px); }
.hero > * { position: relative; }
.hero-top { display: flex; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 1px solid rgba(255, 255, 255, .14); font: 700 14px/1.3 var(--f-ko); flex-wrap: wrap; }
.hero-top .sep { color: var(--on-dark-2); }
.hero-main { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; padding: 28px 24px; }
.hero-team { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; text-decoration: none; min-width: 0; }
.hero-team .crest { width: 112px; height: 112px; }
.hero-team strong { font: 900 26px/1.15 var(--f-ko); letter-spacing: -.01em; overflow-wrap: anywhere; }
.hero-team small { font: 700 12px/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.hero-center { text-align: center; }
.hero-score { font: 800 96px/0.9 var(--f-display); font-variant-numeric: tabular-nums; letter-spacing: .01em; white-space: nowrap; }
.hero-score i { font-style: normal; color: var(--on-dark-2); margin: 0 6px; font-weight: 600; }
.hero-time { font: 800 72px/0.95 var(--f-display); font-variant-numeric: tabular-nums; }
.hero-center small { display: block; margin-top: 8px; font: 700 13px/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); }
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; background: rgba(0, 0, 0, .3); flex-wrap: wrap; }
.venue-line { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1.3 var(--f-ko); }
.venue-line svg { width: 16px; height: 16px; flex: none; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.mini-fx { list-style: none; margin: 0; padding: 0; }
.mini-fx a { display: grid; grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr); align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line); text-decoration: none; min-height: 58px; }
.mini-fx a:hover { background: var(--surface-2); }
.mini-fx .t { display: flex; align-items: center; gap: 8px; min-width: 0; font: 700 14px/1.2 var(--f-ko); }
.mini-fx .t.h { justify-content: flex-end; text-align: right; }
.mini-fx .score { min-width: 0; width: 76px; height: 34px; font-size: 20px; }
.mini-fx .score.is-time { font-size: 18px; }
.mini-table td, .mini-table th { height: 44px; }
.mini-table td { font-size: 15px; }
.mini-table .pos { width: 40px; font-size: 17px; }
.mini-table .pts { font-size: 18px; width: 52px; }
.band { background: var(--surface); border: 1px solid var(--line); }
.band-list { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.band-list a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 6px 16px; text-decoration: none; font: 700 13px/1.25 var(--f-ko); text-align: center; border-right: 1px solid var(--line); height: 100%; }
.band-list li:last-child a { border-right: 0; }
.band-list a:hover { background: var(--surface-2); }
.band-list .crest { width: 56px; height: 56px; }

/* ── 클럽 ── */
.club-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.club-tile { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); text-decoration: none; }
.club-tile-top { position: relative; height: 164px; background: var(--c); display: grid; place-items: center; overflow: hidden; }
.club-tile-top::after { content: ""; position: absolute; right: -40px; top: -20px; bottom: -20px; width: 90px; background: var(--c2); opacity: .9; transform: skewX(-18deg); }
.club-tile-top .no { position: absolute; left: 14px; top: 12px; font: 800 15px/1 var(--f-display); letter-spacing: .1em; color: rgba(255, 255, 255, .85); z-index: 1; }
.club-tile-top .crest { width: 104px; height: 104px; position: relative; z-index: 1; }
.club-tile-body { padding: 14px 16px 16px; display: grid; gap: 4px; }
.club-tile-body strong { font: 900 19px/1.25 var(--f-ko); }
.club-tile-body span { color: var(--muted); font-size: 14px; }
.club-tile-body b { margin-top: 8px; font: 700 14px/1 var(--f-ko); color: var(--link); }
.club-tile:hover strong { text-decoration: underline; }

.club-hero { position: relative; background: var(--c); color: #fff; overflow: hidden; }
.club-hero::after { content: ""; position: absolute; right: 6%; top: -40px; bottom: -40px; width: 180px; background: var(--c2); opacity: .2; transform: skewX(-18deg); }
.club-hero::before { content: ""; position: absolute; right: calc(6% + 210px); top: -40px; bottom: -40px; width: 34px; background: var(--c2); opacity: .12; transform: skewX(-18deg); }
.club-hero .wrap { position: relative; z-index: 1; display: flex; align-items: center; gap: 32px; padding-top: 36px; padding-bottom: 36px; }
.club-hero .crest { width: 168px; height: 168px; filter: drop-shadow(0 6px 0 rgba(0, 0, 0, .18)); }
.club-hero .kicker { color: #fff; opacity: .9; }
.club-hero h1 { margin: 0; font: 900 52px/1.05 var(--f-ko); letter-spacing: -.02em; }
.club-hero .venue-line { margin-top: 12px; font-size: 16px; }
.club-stats { background: var(--ink); color: #fff; }
.club-stats dl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; }
.club-stats div { padding: 16px 18px; border-right: 1px solid var(--ink-line); }
.club-stats div:last-child { border-right: 0; }
.club-stats dt { font: 700 12px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.club-stats dt span { font-family: var(--f-ko); letter-spacing: 0; }
.club-stats dd { margin: 6px 0 0; font: 800 34px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.entry-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 18px; }
.entry { border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; }
.entry-art { position: relative; aspect-ratio: 3 / 4; background: var(--surface-2); overflow: hidden; }
.entry-art img { width: 100%; height: 100%; object-fit: cover; }
.entry-slot { position: absolute; left: 0; top: 0; background: var(--ink); color: #fff; font: 800 18px/1 var(--f-display); padding: 8px 10px; }
.entry-tag { position: absolute; right: 0; top: 0; background: var(--gold); color: var(--ink); font: 800 12px/1 var(--f-ko); padding: 8px 10px; }
.entry-body { padding: 12px 14px 14px; border-top: 4px solid var(--c, var(--ink)); }
.entry-body strong { display: block; font: 900 19px/1.25 var(--f-ko); }
.entry-body span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.venue-card { position: relative; min-height: 200px; background: var(--ink) center / cover no-repeat; background-image: var(--venue-img, none); color: #fff; display: flex; align-items: flex-end; }
.venue-card::before { content: ""; position: absolute; inset: 0; background: rgba(7, 12, 34, .55); }
.venue-card[data-art="none"] { background-image: repeating-linear-gradient(90deg, #10331F 0 64px, #133B25 64px 128px); }
.venue-card > div { position: relative; padding: 18px; }
.venue-card small { font: 700 12px/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.venue-card strong { display: block; font: 900 22px/1.2 var(--f-ko); margin-top: 6px; }
.venue-card span { color: var(--on-dark-2); font-size: 14px; }
.res { display: inline-grid; place-items: center; width: 26px; height: 26px; font: 800 13px/1 var(--f-ko); color: #fff; }
.res.W { background: var(--win); } .res.D { background: var(--draw); } .res.L { background: var(--loss); }
.ha { display: inline-block; min-width: 26px; font: 700 12px/1 var(--f-display); letter-spacing: .1em; color: var(--muted); }

/* ── 매치센터 ── */
.mc-hero { position: relative; color: #fff; background: var(--ink) center / cover no-repeat; background-image: var(--venue-img, none); overflow: hidden; }
.mc-hero::before { content: ""; position: absolute; inset: 0; background: rgba(7, 12, 34, .84); }
.mc-hero[data-art="none"] { background-image: repeating-linear-gradient(90deg, #10331F 0 96px, #133B25 96px 192px); }
.mc-hero .wrap { position: relative; }
.mc-meta { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 22px 0 0; font: 700 14px/1.3 var(--f-ko); flex-wrap: wrap; text-align: center; }
.mc-board { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; padding: 26px 0 30px; }
.mc-team { display: flex; align-items: center; gap: 20px; text-decoration: none; min-width: 0; }
.mc-team.home { justify-content: flex-end; text-align: right; }
.mc-team .crest { width: 120px; height: 120px; }
.mc-team strong { display: block; font: 900 32px/1.15 var(--f-ko); letter-spacing: -.01em; overflow-wrap: anywhere; }
.mc-team small { display: block; margin-top: 6px; font: 700 13px/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.mc-score { display: flex; align-items: center; gap: 4px; }
.mc-score b { display: grid; place-items: center; width: 104px; height: 120px; background: #fff; color: var(--ink); font: 800 96px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.mc-score.is-live b { background: #fff; box-shadow: inset 0 -6px 0 var(--live); }
.mc-score.is-time { flex-direction: column; }
.mc-score .kick { font: 800 76px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.mc-score small { font: 700 13px/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); }
.mc-bar { background: rgba(0, 0, 0, .38); border-top: 1px solid rgba(255, 255, 255, .12); position: relative; }
.mc-bar .wrap { display: flex; justify-content: center; gap: 28px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; font-size: 14px; }
.bouts { list-style: none; margin: 0; padding: 0; }
.bout { display: grid; grid-template-columns: 64px minmax(0, 1fr) 132px minmax(0, 1fr); align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--line); min-height: 88px; }
.bout-no { font: 800 15px/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bout-no b { display: block; font-size: 30px; color: var(--text); letter-spacing: 0; }
.bout-side { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bout-side.home { flex-direction: row-reverse; text-align: right; }
.bout-side img, .bout-side .ph { width: 60px; height: 60px; object-fit: cover; object-position: top; background: var(--surface-2); flex: none; border: 1px solid var(--line); }
.bout-side strong { display: block; font: 900 17px/1.25 var(--f-ko); }
.bout-side span { display: block; color: var(--muted); font-size: 13px; }
.bout-side.is-win strong::after { content: "승"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 8px; background: var(--win); color: #fff; font: 800 12px/1 var(--f-ko); vertical-align: 2px; }
.bout-side.home.is-win strong::after { margin: 0 8px 0 0; float: none; }
.bout-side.home.is-win strong { display: flex; flex-direction: row-reverse; align-items: center; justify-content: flex-start; }
.bout-side.is-lose strong { color: var(--muted); }
.bout-mid { display: grid; justify-items: center; gap: 6px; text-align: center; }
.bout-mid .dir { font-size: 12px; color: var(--muted); }
.bout-arrow { display: flex; align-items: center; gap: 6px; font: 800 20px/1 var(--f-display); }
.bout-arrow .score { min-width: 76px; height: 34px; font-size: 20px; }
.projected { padding: 10px 18px; background: var(--surface-2); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.ops { background: var(--ink-2); color: #fff; border: 0; }
.ops .panel-head { border-bottom-color: var(--gold); }
.ops .panel-title .en { color: var(--on-dark-2); }
.ops-body { padding: 18px; display: grid; gap: 14px; }
.ops-body p { margin: 0; color: var(--on-dark-2); font-size: 14px; }
.ops-actions { display: grid; gap: 10px; }
.ops-actions .btn { width: 100%; }
.key-form { display: flex; gap: 8px; }
.key-form input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid var(--ink-line); background: var(--ink); color: #fff; border-radius: 2px; }
.key-state { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 700 14px/1.3 var(--f-ko); }
.key-state button { background: none; border: 0; color: var(--gold); font-weight: 700; text-decoration: underline; cursor: pointer; min-height: 44px; }
.check { display: flex; align-items: center; gap: 10px; font: 600 14px/1.3 var(--f-ko); cursor: pointer; min-height: 44px; }
.check input { width: 20px; height: 20px; accent-color: var(--gold); }
.ops-msg { min-height: 20px; font: 700 14px/1.4 var(--f-ko); color: var(--gold); }
.ops-msg.is-error { color: #FF9AA6; }

/* ── 기록 ── */
.rate { display: inline-flex; align-items: center; gap: 10px; justify-content: flex-end; width: 100%; }
.rate-bar { width: 160px; height: 10px; background: var(--surface-2); border: 1px solid var(--line); flex: none; }
.rate-bar i { display: block; height: 100%; background: var(--ink); }
.rate b { min-width: 58px; font: 800 18px/1 var(--f-display); }
.mon-cell { display: flex; align-items: center; gap: 12px; font: 700 15px/1.2 var(--f-ko); }
.mon-cell img { width: 40px; height: 40px; object-fit: cover; object-position: top; border: 1px solid var(--line); }
.mon-cell small { display: block; color: var(--muted); font: 600 12px/1.2 var(--f-num); margin-top: 2px; }

/* ── 푸터 ── */
.site-foot { background: var(--ink); color: var(--on-dark-2); font-size: 13px; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 24px; padding-top: 28px; padding-bottom: 32px; flex-wrap: wrap; }
.site-foot .brand-word b { font-size: 22px; color: #fff; }
.site-foot p { margin: 10px 0 0; max-width: 560px; }
.site-foot nav ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.site-foot nav a { color: #fff; text-decoration: none; font-weight: 700; display: inline-block; min-height: 32px; }
.site-foot nav a:hover { text-decoration: underline; }
.load-error { padding: 24px 18px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--loss); }

/* ── 반응형 ── */
@media (max-width: 1100px) {
  .home-grid, .two-col { grid-template-columns: minmax(0, 1fr); }
  .fx { grid-template-columns: 70px minmax(0, 1fr) 100px minmax(0, 1fr) 20px; grid-template-areas: "status home score away go" ". venue venue venue ."; row-gap: 4px; }
  .fx-venue { justify-content: center; }
  .band-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .band-list li:nth-child(5) a { border-right: 0; }
  .band-list li:nth-child(-n+5) a { border-bottom: 1px solid var(--line); }
  .entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  :root { --gut: 16px; }
  .masthead .wrap { flex-wrap: wrap; height: auto; gap: 0; padding: 0; }
  .brand { height: 58px; padding: 0 16px; }
  .brand-mark { width: 38px; height: 33px; }
  .brand-word b { font-size: 23px; }
  .mast-right { height: 58px; padding-right: 16px; }
  .app-link { min-height: 38px; padding: 0 12px; font-size: 13px; }
  .primary-nav { order: 3; flex-basis: 100%; background: var(--ink-2); overflow-x: auto; scrollbar-width: none; }
  .primary-nav::-webkit-scrollbar { display: none; }
  .primary-nav ul { padding: 0 6px; }
  .primary-nav a { height: 46px; padding: 0 12px; font-size: 14px; }
  .page-head .wrap { padding-top: 22px; padding-bottom: 20px; }
  .page-head h1 { font-size: 30px; }
  main { padding-top: 18px; }
  .stack { gap: 18px; }
  .club-hero .wrap { gap: 18px; padding-top: 24px; padding-bottom: 24px; }
  .club-hero .crest { width: 96px; height: 96px; }
  .club-hero h1 { font-size: 32px; }
  .club-hero::after { width: 90px; right: -20px; }
  .club-hero::before { display: none; }
  .club-stats dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .club-stats div:nth-child(3) { border-right: 0; }
  .club-stats div:nth-child(n+4) { border-top: 1px solid var(--ink-line); }
  .club-stats dd { font-size: 28px; }
  .table-notes { grid-template-columns: 1fr; }
  .mc-board { gap: 10px; padding: 18px 0 22px; }
  .mc-team { flex-direction: column; gap: 10px; text-align: center; }
  .mc-team.home { flex-direction: column-reverse; text-align: center; }
  .mc-team .crest { width: 72px; height: 72px; }
  .mc-team strong { font-size: 18px; }
  .mc-score b { width: 60px; height: 76px; font-size: 58px; }
  .mc-score .kick { font-size: 44px; }
  .hero-main { gap: 10px; padding: 22px 12px; }
  .hero-team .crest { width: 72px; height: 72px; }
  .hero-team strong { font-size: 17px; }
  .hero-score { font-size: 60px; }
  .hero-time { font-size: 46px; }
  .hero-top, .hero-foot { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 640px) {
  .fx { grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr); grid-template-areas: "home score away" "venue venue venue"; padding: 10px 12px; gap: 8px; row-gap: 6px; }
  .fx-status, .fx-go { display: none; }
  .fx-home, .fx-away { gap: 8px; font-size: 14px; }
  .fx .crest { width: 26px; height: 26px; }
  .fx .score { min-width: 0; width: 84px; height: 36px; font-size: 20px; }
  .fx-venue { font-size: 12px; }
  .name-full { display: none; }
  .name-short { display: inline; }
  .standings .hide-sm, .data-table .hide-sm { display: none; }
  .standings td, .standings th, .data-table td, .data-table th { padding: 0 5px; }
  .standings .pos { width: 36px; font-size: 17px; }
  .standings .pts { width: 44px; font-size: 19px; }
  .club-cell { gap: 8px; font-size: 14px; }
  .club-cell .crest { width: 24px; height: 24px; }
  .form i { width: 18px; height: 18px; font-size: 10px; }
  .round-step { height: 60px; }
  .round-now b, .round-now b .en { font-size: 21px; }
  .round-now span { font-size: 12px; }
  .bout { grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr); grid-template-areas: "no no no" "home mid away"; padding: 12px; gap: 8px; }
  .bout-no { grid-area: no; display: flex; align-items: baseline; gap: 6px; }
  .bout-no b { display: inline; font-size: 18px; }
  .bout-side.home { grid-area: home; flex-direction: column; text-align: center; }
  .bout-side.away { grid-area: away; flex-direction: column; text-align: center; }
  .bout-side.home.is-win strong { justify-content: center; }
  .bout-side .bn { justify-content: center; }
  .bout-mid { grid-area: mid; }
  .bout-mid .dir { font-size: 11px; white-space: nowrap; }
  .bout-side img, .bout-side .ph { width: 52px; height: 52px; }
  .bout-side strong { font-size: 15px; }
  .bout-arrow .score { min-width: 0; width: 72px; }
  .entry-grid { gap: 10px; padding: 12px; }
  .entry-body strong { font-size: 16px; }
  .club-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .club-tile-top { height: 120px; }
  .club-tile-top .crest { width: 76px; height: 76px; }
  .club-tile-top::after { width: 60px; }
  .club-tile-body { padding: 10px 12px 12px; }
  .club-tile-body strong { font-size: 16px; }
  .club-tile-body span { font-size: 12px; }
  .band-list .crest { width: 44px; height: 44px; }
  .band-list a { font-size: 12px; padding: 14px 2px 12px; }
  .rate-bar { width: 60px; }
  .mc-bar .wrap { gap: 6px 16px; font-size: 13px; }
  .hero-foot .btn { flex: 1; }
  .hero-center small { display: none; }
  .hero-top .sep:nth-of-type(2), .hero-top span:last-child { display: none; }
  .hero-actions { width: 100%; }
}
@media (max-width: 420px) {
  .standings .hide-xs { display: none; }
  .club-strip-label { display: none; }
  .brand-word small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── 리플레이(매치센터) ── */
.bout-replay { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 10px; border: 2px solid var(--ink); color: var(--ink); font: 800 12px/1 var(--f-ko); text-decoration: none; white-space: nowrap; }
.bout-replay svg { width: 12px; height: 12px; }
.bout-replay:hover { background: var(--ink); color: #fff; }
.bout-replay:focus-visible, .result-actions .btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.result-actions .btn svg { width: 16px; height: 16px; }
.replay-note { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
@media (max-width: 640px) { .bout-replay { padding: 0 6px; font-size: 11px; } .bout-replay svg { display: none; } .result-actions .btn { flex: 1 1 100%; } }

/* ── 친선전(3명 선발 연전) — exhibition.js ── */
.badge-sel { background: var(--gold); color: var(--ink); }
.badge-sel::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: pulse 1.2s ease-in-out infinite; }
.badge-ready { border: 2px solid var(--gold); color: var(--ink); background: var(--surface); }
.on-dark .badge-ready { background: transparent; color: var(--gold); }
.sel-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px; background: var(--ink); color: #fff; font: 800 14px/1 var(--f-ko); white-space: nowrap; }
.sel-chip small { font: 700 11px/1 var(--f-ko); color: var(--on-dark-2); }
.sel-chip i { font: italic 800 11px/1 var(--f-display); letter-spacing: .06em; padding: 3px 4px; background: var(--gold); color: var(--ink); }
.on-dark .sel-chip { background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--ink-line); }
.ex-ak { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; background: var(--gold); color: var(--ink); font: 900 13px/1 var(--f-ko); letter-spacing: .02em; white-space: nowrap; }
.ex-fb { display: inline-flex; align-items: center; margin-left: 8px; padding: 3px 7px; background: var(--live); color: #fff; font: 700 12px/1.2 var(--f-ko); }

/* 만들기 */
.ex-form { padding: 18px; display: grid; gap: 16px; }
.ex-pick { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); gap: 12px; align-items: start; }
.ex-side { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 12px; }
.ex-side legend { padding: 0 0 8px; font: 700 13px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ex-side-team { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ex-side-team .select { flex: 1; min-width: 0; }
.ex-side-team .select select { width: 100%; }
.ex-crest { flex: none; width: 56px; height: 56px; }
.ex-vs { align-self: center; text-align: center; font: italic 800 34px/1 var(--f-display); color: var(--ink); margin-top: 26px; }
.ex-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); }
.ex-form-foot .venue-line { color: var(--muted); }
.ex-msg { margin: 0; min-height: 20px; font: 700 14px/1.4 var(--f-ko); color: var(--link); }
.ex-msg.is-error { color: var(--loss); }
.ex-fx .fx-score { flex-direction: column; align-items: center; gap: 4px; }
.ex-fx .score.is-time { font: 800 17px/1 var(--f-ko); }
.ex-sels { color: var(--muted); }
.ex-sels b { color: var(--text); font-weight: 800; white-space: nowrap; }
.ex-sels span { margin-left: 4px; }
.ex-rules { margin: 0; padding: 16px 18px 18px 38px; display: grid; gap: 10px; font-size: 14px; color: var(--muted); }
.ex-rules b { display: block; color: var(--text); font: 800 15px/1.3 var(--f-ko); }
.ex-rules em { font-style: normal; font-weight: 800; color: var(--text); background: var(--gold); padding: 0 4px; }

/* 매치센터 스코어보드 가운데 */
.ex-center { display: grid; justify-items: center; gap: 12px; }
.ex-vsbig { display: grid; justify-items: center; font: italic 800 72px/0.95 var(--f-display); }
.ex-vsbig small { font: 700 13px/1 var(--f-display); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 8px; }
.ex-left { display: flex; align-items: center; gap: 10px; }
.ex-left small { font: 700 12px/1 var(--f-ko); color: var(--on-dark-2); }
.ex-dots { display: inline-flex; gap: 5px; }
.ex-dots i { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--gold); }
.ex-dots i.on { background: var(--gold); }
.ex-dots i.off { border-color: rgba(255, 255, 255, .35); }
.ex-dots.home { flex-direction: row-reverse; }

/* 선발 공개 무대 */
.ex-stage { background-color: var(--ink-2); color: #fff; border-top: 1px solid var(--ink-line); padding: 24px 0 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M0 24L24 0' stroke='%23FFFFFF' stroke-opacity='.05' stroke-width='2'/%3E%3C/svg%3E"); }
.ex-stage-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-bottom: 16px; }
.ex-stage-head h2 { margin: 0; font: 900 24px/1.2 var(--f-ko); display: flex; align-items: baseline; gap: 10px; }
.ex-stage-head h2 .en { font: 700 13px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.ex-stage-head p { margin: 0; color: var(--on-dark-2); font-size: 14px; }
.ex-reveal { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); gap: 14px; align-items: stretch; }
.ex-mid { display: grid; place-items: center; font: italic 800 34px/1 var(--f-display); color: var(--gold); }
.ex-col { background: var(--ink); border-top: 5px solid var(--c, var(--gold)); box-shadow: inset 0 3px 0 var(--gold); display: grid; align-content: start; gap: 12px; padding: 14px; min-width: 0; }
.ex-col-head { display: flex; align-items: center; gap: 10px; min-width: 0; padding-bottom: 12px; border-bottom: 1px solid var(--ink-line); }
.ex-col-head > div { flex: 1; min-width: 0; }
.ex-col-head b { display: block; font: 900 19px/1.2 var(--f-ko); word-break: keep-all; }
.ex-col-head small { font: 700 12px/1 var(--f-display); letter-spacing: .16em; color: var(--gold); }
.ex-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ex-card { position: relative; display: grid; grid-template-columns: 40px 64px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 76px; padding: 6px 12px 6px 0; background: var(--ink-3); border-left: 4px solid transparent; }
.ex-no { display: grid; place-items: center; height: 100%; font: 800 30px/1 var(--f-display); color: var(--gold); }
.ex-art { width: 64px; height: 64px; background: var(--ink-2); overflow: hidden; }
.ex-art img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ex-who { min-width: 0; display: grid; gap: 2px; }
.ex-who strong { font: 900 18px/1.2 var(--f-ko); word-break: keep-all; overflow-wrap: anywhere; }
.ex-who > span { color: var(--on-dark-2); font-size: 13px; }
.ex-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.ex-tags em { font: 700 11px/1 var(--f-ko); font-style: normal; padding: 4px 6px; background: var(--ink-2); color: var(--on-dark-2); box-shadow: inset 0 0 0 1px var(--ink-line); }
.ex-tags em.st { background: var(--gold); color: var(--ink); box-shadow: none; }
em.brink { font-style: normal; background: var(--live); color: #fff; box-shadow: none; }
.ex-tags em.brink { padding: 4px 6px; }
.ex-card.is-on { border-left-color: var(--gold); background: #22306A; }
.ex-card.is-last { border-left-color: var(--gold); }
.ex-card.is-out { opacity: .5; }
.ex-card.is-out strong { text-decoration: line-through; text-decoration-thickness: 2px; }
.ex-card.is-out .ex-tags em.st { background: var(--ink-2); color: var(--on-dark-2); box-shadow: inset 0 0 0 1px var(--ink-line); }
.ex-card.is-rest { opacity: .7; }
.ex-card.back { grid-template-columns: 40px minmax(0, 1fr); background: repeating-linear-gradient(135deg, var(--ink-3) 0 10px, #182456 10px 20px); }
.ex-q { display: grid; place-items: center; font: 800 40px/1 var(--f-display); color: rgba(255, 255, 255, .22); }
.ex-bench { display: grid; grid-template-columns: auto 36px minmax(0, 1fr); grid-template-areas: "tag img name" "tag img note"; align-items: center; column-gap: 10px; padding: 8px 10px; border: 1px dashed var(--ink-line); }
.ex-bench small { grid-area: tag; font: 800 12px/1 var(--f-ko); padding: 5px 6px; background: var(--ink-3); color: var(--on-dark-2); }
.ex-bench.is-cheer small { background: var(--gold); color: var(--ink); }
.ex-bench img { grid-area: img; width: 36px; height: 36px; object-fit: cover; object-position: top; }
.ex-bench b { grid-area: name; font: 800 15px/1.2 var(--f-ko); }
.ex-bench span { grid-area: note; font-size: 12px; color: var(--on-dark-2); }
.ex-reason { margin: 0; padding: 12px 14px; background: var(--ink-2); box-shadow: inset 4px 0 0 var(--gold); }
.ex-reason figcaption { font: 800 13px/1.2 var(--f-ko); color: var(--gold); }
.ex-reason blockquote { margin: 6px 0 0; font: 500 15px/1.6 var(--f-ko); color: #fff; word-break: keep-all; overflow-wrap: anywhere; }
.ex-lat { margin: 8px 0 0; font: 600 12px/1.4 var(--f-num); color: var(--on-dark-2); }
.ex-gate { display: flex; justify-content: center; margin: 0 0 16px; }
.ex-gate[hidden] { display: none; }
.ex-open { min-height: 54px; padding: 0 28px; font-size: 17px; }
/* 동시 공개: 양 팀 같은 시각에 1→2→3번이 뒤집힌다(≈2.5초) */
.ex-reveal.is-anim .ex-card { animation: ex-flip .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * .45s + .3s); }
.ex-reveal.is-anim .ex-bench { animation: ex-in .4s ease-out both; animation-delay: 1.8s; }
.ex-reveal.is-anim .ex-reason { animation: ex-in .5s ease-out both; animation-delay: 2.2s; }
.ex-reveal.is-anim .ex-mid span { animation: ex-vs .6s ease-out both; }
@keyframes ex-flip { from { transform: perspective(600px) rotateX(-90deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ex-in { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ex-vs { from { transform: scale(2.2); opacity: 0; } to { transform: none; opacity: 1; } }

/* 연전 흐름 */
.ex-bouts .bout-side > div { min-width: 0; flex: 1; }
.ex-meta-line { font-size: 12px !important; }
.ex-hp { display: block; height: 8px; margin-top: 6px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.ex-hp i { display: block; height: 100%; background: var(--win); }
.ex-hp.home { transform: scaleX(-1); }
.ex-hp-t { font: 600 12px/1.4 var(--f-num) !important; margin-top: 3px; }
.ex-hp-t em { font-style: normal; font-weight: 700; color: var(--text); background: #FFF1C2; padding: 0 3px; }
.ex-after { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 8px 18px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.ex-after b { color: var(--text); }
.ex-result { display: grid; gap: 12px; }
.ex-result p { margin: 0; }
.ex-win { display: flex; align-items: center; gap: 12px; font: 700 18px/1.3 var(--f-ko); }
.ex-win b { font-weight: 900; }
.ex-dl { display: grid; gap: 8px; margin: 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ex-dl div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ex-dl dt { font: 800 14px/1.2 var(--f-ko); }
.ex-dl dd { margin: 0; display: flex; align-items: center; }

@media (max-width: 1100px) { .ex-reveal { grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); gap: 8px; } }
@media (max-width: 860px) {
  .ex-reveal { grid-template-columns: minmax(0, 1fr); }
  .ex-mid { height: 28px; font-size: 26px; }
  .ex-vsbig { font-size: 44px; }
  .ex-stage { padding: 18px 0 20px; }
  .ex-stage-head h2 { font-size: 20px; }
}
@media (max-width: 640px) {
  .ex-pick { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ex-vs { margin: 0; font-size: 24px; }
  .ex-form { padding: 14px 12px; }
  .ex-form-foot .btn { width: 100%; }
  .ex-card { grid-template-columns: 32px 52px minmax(0, 1fr); gap: 10px; min-height: 64px; }
  .ex-no { font-size: 24px; }
  .ex-art { width: 52px; height: 52px; }
  .ex-who strong { font-size: 16px; }
  .ex-col { padding: 12px; }
  .ex-dots i { width: 10px; height: 10px; }
  .ex-left small { display: none; }
  .ex-hp.home { transform: none; }
  .ex-after { padding: 8px 12px; }
  .ex-fx .ex-ak { display: none; }
}
/* 친선전 감독 고르기(드롭다운)·감독 메타(접힘) */
.ex-sel-pick { display: grid; gap: 6px; }
.ex-sel-pick > span { font: 700 13px/1 var(--f-ko); color: var(--muted); }
.ex-sel-pick select { width: 100%; }
.ex-sel-note { margin: 0; min-height: 18px; font: 500 12px/1.4 var(--f-ko); color: var(--muted); }
.ex-meta { margin-top: 8px; font: 600 12px/1.4 var(--f-ko); color: var(--on-dark-2); }
.ex-meta summary { cursor: pointer; min-height: 32px; display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 800; list-style: none; }
.ex-meta summary::-webkit-details-marker { display: none; }
.ex-meta summary::before { content: "+"; display: inline-grid; place-items: center; width: 16px; height: 16px; border: 1px solid var(--gold); font: 800 12px/1 var(--f-num); }
.ex-meta[open] summary::before { content: "−"; }
.ex-meta dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; margin: 6px 0 0; }
.ex-meta dl div { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--ink-line); padding: 3px 0; min-width: 0; }
.ex-meta dt { color: var(--on-dark-2); white-space: nowrap; }
.ex-meta dd { margin: 0; color: #fff; font-family: var(--f-num); text-align: right; overflow-wrap: anywhere; }
@media (max-width: 640px) { .ex-meta dl { grid-template-columns: minmax(0, 1fr); } }

/* 친선전 만들기: 운영 키 전(공개 화면)에는 잠금 안내만 */
.ex-locked { padding: 18px; }
.ex-locked p { margin: 0; padding: 14px 16px; background: var(--surface-2); box-shadow: inset 4px 0 0 var(--gold); color: var(--muted); font-size: 14px; line-height: 1.6; }
.ex-locked b { display: block; color: var(--text); font: 800 15px/1.4 var(--f-ko); }
#ex-msg { min-height: 0; padding: 0 18px; }
#ex-msg:not(:empty) { padding-bottom: 16px; }

/* ── 정규 리그 미정(프리시즌) — site.js draftNote ── */
.draft-tbd { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border: 2px solid var(--gold); color: var(--gold); font: 800 13px/1 var(--f-ko); letter-spacing: .02em; white-space: nowrap; vertical-align: middle; }
.page-head .draft-tbd { height: 30px; font-size: 14px; }
.draft-note { display: grid; gap: 10px; padding: 24px 26px 26px; color: #fff; background-color: var(--ink); border-top: 5px solid var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M0 24L24 0' stroke='%23FFFFFF' stroke-opacity='.05' stroke-width='2'/%3E%3C/svg%3E"); }
.draft-note .kicker { margin: 0; }
.draft-note h2 { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; font: 900 28px/1.2 var(--f-ko); word-break: keep-all; }
.draft-note > p:not(.kicker) { margin: 0; max-width: 60ch; color: var(--on-dark-2); font-size: 15px; line-height: 1.65; word-break: keep-all; }
.draft-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.draft-note .btn-line { color: #fff; }
.draft-note .btn-line:hover { background: rgba(255, 255, 255, .08); }
.draft-note.is-compact { padding: 18px 18px 20px; }
.draft-note.is-compact h2 { font-size: 20px; }
.draft-note.is-compact > p:not(.kicker) { font-size: 14px; }
.draft-note.is-compact .btn { width: 100%; }
.draft-note .btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (max-width: 640px) {
  .draft-note { padding: 18px 16px 20px; }
  .draft-note h2 { font-size: 22px; }
  .draft-actions .btn { flex: 1 1 100%; }
}

/* ── 클럽 화면: 로스터 요약 칩 · 친선 경기(league/exhibition.js clubFriendly) ── */
.entry-body .entry-facts { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 10px 0 0; padding: 0; }
.entry-facts li { padding: 4px 7px; border: 1px solid var(--line-2); font: 700 12px/1.2 var(--f-ko); color: var(--muted); white-space: nowrap; }
.entry-facts li.t { background: var(--ink); border-color: var(--ink); color: #fff; font-family: var(--f-display), var(--f-ko); letter-spacing: .04em; }
.entry-facts li.sp { border-color: var(--ink); color: var(--text); }
.entry-facts li.ch { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.entry-body .entry-cheer { margin: 8px 0 0; font: 500 12px/1.5 var(--f-ko); color: var(--muted); word-break: keep-all; }
.cf-team { min-width: 0; font: 900 17px/1.3 var(--f-ko); word-break: keep-all; overflow-wrap: anywhere; }
.cf-msg:empty { display: none; }
.cf-msg { padding: 0 18px 16px; }
.cf-list .fx { border-bottom: 0; }
.cf-row-foot { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin: 0; padding: 0 18px 10px; border-bottom: 1px solid var(--line); font: 700 13px/1 var(--f-ko); }
.cf-row-foot a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--link); text-decoration: none; }
.cf-row-foot a:hover { text-decoration: underline; }
.cf-row-foot .cf-replay { color: var(--text); }
.cf-row-foot svg { width: 14px; height: 14px; }
@media (max-width: 640px) { .cf-row-foot { padding: 0 12px 10px; justify-content: center; } .entry-facts li { font-size: 11px; padding: 3px 6px; } }

/* AI 감독(턴 지휘) 친선전 — 만들기 폼 지휘 방식·진행, 매치센터 지휘 줄·판 전술·감독의 한 수, 팀 화면 비공식 안내 */
.ex-cmd-pick { margin-top: 2px; }
.ex-flow-pick { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1 var(--f-ko); color: var(--muted); }
.ex-flow-pick[hidden] { display: none; }
.ex-flow-pick select { min-width: 0; }
.ex-cmd-line { margin: 8px 0 0; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font: 800 13px/1.3 var(--f-ko); color: #fff; word-break: keep-all; }
.ex-cmd-line small { font: 600 12px/1.3 var(--f-ko); color: var(--on-dark-2); }
.ex-cmd-chip { display: inline-flex; align-items: center; padding: 3px 6px; background: var(--gold); color: var(--ink); font: 800 11px/1 var(--f-ko); }
.ex-cmd-chip.is-auto { background: var(--ink-3, #1B285C); color: var(--on-dark-2); }
.ex-tac { display: inline-flex; align-self: flex-start; margin-top: 4px; padding: 2px 6px; background: var(--ink); color: var(--gold); font: 800 11px/1.3 var(--f-ko); }
.ex-tac.is-auto { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.ex-move { display: grid; gap: 4px; margin: 0 0 12px; padding: 10px 12px; background: var(--ink); color: #fff; box-shadow: inset 4px 0 0 var(--c, var(--gold)); font: 700 14px/1.45 var(--f-ko); word-break: keep-all; }
.ex-move small { font: 800 12px/1 var(--f-display); letter-spacing: .14em; color: var(--gold); }
.ex-move b { color: var(--gold); }
.cf-unofficial { margin: 0 0 10px; font: 600 13px/1.4 var(--f-ko); color: var(--muted); }
@media (max-width: 640px) { .ex-flow-pick { width: 100%; justify-content: space-between; } .ex-flow-pick select { flex: 1; } }
/* 사람 직접(선발·지휘): 감독 칩, 판 전술 줄, 직접 선발 칸(엔트리 4명 중 3명을 순서대로) */
.sel-chip.is-human { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.sel-chip.is-human small { color: var(--muted); }
.ex-tac.is-human { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.ex-lineup { display: grid; gap: 10px; padding: 12px; background: var(--surface-2, #F3F5FA); box-shadow: inset 4px 0 0 var(--gold); }
.ex-lineup[hidden] { display: none; }
.ex-lu-head { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font: 600 13px/1.4 var(--f-ko); color: var(--muted); }
.ex-lu-head b { font: 900 15px/1.2 var(--f-ko); color: var(--text, var(--ink)); }
.ex-lu-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ex-lu-card { position: relative; width: 100%; min-height: 44px; display: grid; justify-items: center; gap: 4px; padding: 8px 4px 10px; border: 2px solid var(--line-2, #C9D2E6); background: var(--surface, #fff); color: var(--text, var(--ink)); font: inherit; cursor: pointer; text-align: center; }
.ex-lu-card img, .ex-lu-ph { width: 100%; max-width: 88px; aspect-ratio: 1; object-fit: cover; background: var(--line); }
.ex-lu-card b { font: 800 13px/1.2 var(--f-ko); word-break: keep-all; }
.ex-lu-card small { font: 600 11px/1.2 var(--f-ko); color: var(--muted); }
.ex-lu-card.is-on { border-color: var(--ink); box-shadow: inset 0 -4px 0 var(--gold); }
.ex-lu-card.is-bench { opacity: .7; border-style: dashed; }
.ex-lu-card[aria-disabled="true"] { cursor: default; }
.ex-lu-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.ex-lu-no { position: absolute; top: 4px; left: 4px; min-width: 22px; padding: 3px 5px; background: var(--ink); color: var(--gold); font: 800 13px/1 var(--f-display); }
.ex-lu-no:empty { display: none; }
.ex-lu-card.is-bench .ex-lu-no { background: var(--muted); color: #fff; font: 700 10px/1 var(--f-ko); }
.ex-lu-order { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ex-lu-order li { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 6px 8px; background: var(--surface, #fff); box-shadow: inset 0 0 0 1px var(--line); font: 700 13px/1.2 var(--f-ko); }
.ex-lu-order li span { font: 800 12px/1 var(--f-display); color: var(--muted); }
.ex-lu-order li b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-lu-order li.is-empty b { color: var(--muted); font-weight: 600; }
.ex-lu-up, .ex-lu-reset { min-height: 32px; padding: 0 8px; border: 1px solid var(--line-2, #C9D2E6); background: var(--surface, #fff); color: var(--link, var(--ink)); font: 700 12px/1 var(--f-ko); cursor: pointer; }
.ex-lu-bench { margin: 0; font: 600 13px/1.5 var(--f-ko); color: var(--muted); }
.ex-lu-bench b { color: var(--text, var(--ink)); }
@media (max-width: 640px) {
  .ex-lu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── 팀 홈 = 친선 중심(os/handoff/20260929-OS-FE-league-team-home-friendly.md) ── */
/* 리그 홈 팀 고르기 띠 */
.band-pick .panel-head { flex-wrap: wrap; }
.band-pick-sub { flex: 1 1 auto; margin: 0; font: 600 14px/1.4 var(--f-ko); color: var(--muted); }
/* 매치센터 위 "팀 홈으로" 줄 */
.ex-backbar { background: var(--ink); color: var(--on-dark); border-bottom: 1px solid var(--ink-line); }
.ex-backbar .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 18px; min-height: 48px; }
.ex-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--gold); font: 700 15px/1.2 var(--f-ko); text-decoration: none; }
.ex-back:hover span { text-decoration: underline; }
.ex-back svg { width: 16px; height: 16px; flex: none; }
.ex-back b { color: var(--on-dark); }
.ex-back .crest { width: 22px; height: 22px; }
.ex-back-note { font: 700 12px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
/* 친선 목록의 팀 홈 링크 */
.ex-club-links { justify-content: flex-start; }
.ex-club-links span { color: var(--muted); font-weight: 600; }
/* 팀 홈: 진행 중인 친선 */
.cf-now { padding: 16px 18px 0; }
.cf-now[hidden] { display: none; }
.cf-now-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0 0 8px; }
.cf-now-head b { font: 800 15px/1.3 var(--f-ko); }
.cf-now-head span { font: 600 13px/1.3 var(--f-ko); color: var(--muted); }
.cf-now-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cf-now-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; background: var(--ink); color: var(--on-dark); box-shadow: inset 4px 0 0 var(--gold); }
.cf-now-vs { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cf-now-vs .crest { width: 36px; height: 36px; flex: none; }
.cf-now-vs b { display: block; font: 800 16px/1.3 var(--f-ko); word-break: keep-all; overflow-wrap: anywhere; }
.cf-now-vs small { display: block; font: 600 13px/1.4 var(--f-ko); color: var(--on-dark-2); }
.cf-now-go { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.cf-now-go .btn { min-height: 44px; }
.cf-now-go .btn-line { color: var(--on-dark); }
.cf-now-go .btn-line:hover { background: rgba(255, 255, 255, .1); }
/* 팀 홈: 경기 방식 바로 고르기 */
.cf-mode { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 2px solid var(--ink); }
.cf-mode-btn { display: grid; gap: 4px; align-content: center; min-height: 64px; padding: 10px 14px; border: 0; background: var(--surface); color: var(--text); text-align: left; cursor: pointer; }
.cf-mode-btn + .cf-mode-btn { border-left: 2px solid var(--ink); }
.cf-mode-btn b { font: 800 18px/1.1 var(--f-ko); }
.cf-mode-btn small { font: 600 13px/1.35 var(--f-ko); color: var(--muted); }
.cf-mode-btn:hover { background: var(--surface-2); }
.cf-mode-btn[aria-pressed="true"] { background: var(--ink); color: var(--gold); box-shadow: inset 0 -4px 0 var(--gold); }
.cf-mode-btn[aria-pressed="true"] small { color: var(--on-dark-2); }
.cf-summary { margin: 0; padding: 10px 12px; background: var(--surface-2); font: 600 14px/1.5 var(--f-ko); color: var(--muted); }
.cf-summary:empty { display: none; }
.cf-summary b { color: var(--text); font-weight: 800; }
.cf-summary i { margin: 0 8px; font: italic 800 13px/1 var(--f-display); letter-spacing: .08em; color: var(--text); }
.cf-cap { margin: 10px 0 0; font: 600 12px/1.5 var(--f-ko); color: var(--muted); }
@media (max-width: 640px) {
  .cf-now { padding: 12px 12px 0; }
  .cf-now-card { grid-template-columns: auto minmax(0, 1fr); }
  .cf-now-go { grid-column: 1 / -1; justify-content: stretch; }
  .cf-now-go .btn { flex: 1 1 auto; justify-content: center; }
  .cf-mode-btn { padding: 10px; min-height: 72px; }
  .cf-mode-btn b { font-size: 16px; }
  .cf-mode-btn small { font-size: 12px; }
  .ex-backbar .wrap { gap: 0 14px; }
}
#cf-list .cf-unofficial { margin: 0; padding: 12px 18px 8px; }
#cf-list .cf-cap { margin: 0; padding: 10px 18px 14px; }
@media (max-width: 640px) { #cf-list .cf-unofficial, #cf-list .cf-cap { padding-left: 12px; padding-right: 12px; } }
/* 서포터즈 친선전(os/handoff/20260930-OS-BE-league-preseason-supporters.md): 응원 팀 → 상대 → 지휘/관전 → 시작. 운영자 영역은 접힘 */
.sp-step { display: grid; gap: 10px; min-width: 0; }
.sp-form [hidden] { display: none !important; }
.sp-kick { margin: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font: 800 16px/1.3 var(--f-ko); }
.sp-kick b { display: inline-grid; place-items: center; width: 26px; height: 26px; background: var(--ink); color: var(--gold); font: 800 15px/1 var(--f-display); }
.sp-kick small { font: 600 12px/1.3 var(--f-ko); color: var(--muted); }
.sp-teams { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.sp-team { display: grid; justify-items: center; gap: 4px; min-height: 76px; padding: 8px 4px; border: 2px solid var(--line); background: var(--surface); cursor: pointer; min-width: 0; }
.sp-team svg { width: 40px; height: 40px; }
.sp-team span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 12px/1.2 var(--f-ko); color: var(--muted); }
.sp-team:hover { border-color: var(--line-2); background: var(--surface-2); }
.sp-team[aria-checked="true"] { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 -4px 0 var(--gold); }
.sp-team[aria-checked="true"] span { color: var(--gold); }
.sp-foe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 14px; align-items: end; }
.sp-msg { padding: 0 18px 16px; }
.sp-about p { margin: 0 0 10px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.sp-about p:last-child { margin: 0; }
.sp-about b { display: block; color: var(--text); font: 800 15px/1.4 var(--f-ko); }
.panel-body.sp-about { padding: 16px 18px; }
.ex-locked p.sp-go { margin-top: 10px; padding: 0; background: none; box-shadow: none; }
details.ex-op > summary { cursor: pointer; list-style: none; }
details.ex-op > summary::-webkit-details-marker { display: none; }
details.ex-op > summary::after { content: "열기"; font: 700 13px/1 var(--f-ko); color: var(--gold); }
details.ex-op[open] > summary::after { content: "접기"; }
details.ex-op .ex-op-new { background: var(--surface); color: var(--text); }
details.ex-op .ex-op-new:empty { display: none; }
details.ex-op .ex-op-msg { padding: 0 18px 14px; background: var(--surface); }
details.ex-op .ex-op-msg:empty { display: none; }
details.ex-opkey > summary { cursor: pointer; font: 700 13px/1.4 var(--f-ko); color: var(--on-dark-2); min-height: 32px; display: flex; align-items: center; }
details.ex-opkey[open] > summary { margin-bottom: 8px; }
@media (max-width: 640px) {
  .sp-teams { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .sp-team { min-height: 64px; padding: 6px 2px; }
  .sp-team svg { width: 32px; height: 32px; }
  .sp-team span { font-size: 11px; }
  .sp-foe { grid-template-columns: minmax(0, 1fr); }
  .sp-msg { padding: 0 12px 14px; }
}
