/* ---------------------------------------------------------- franchise mode (same system as style.css) */
#franchise { position: fixed; inset: 0; z-index: 30; display: flex; flex-direction: column; color: var(--text); background: rgba(6, 8, 12, 0.95); overflow: hidden; user-select: none; }
#franchise.showcase { background: linear-gradient(90deg, rgba(6, 8, 12, 0.97) 0%, rgba(6, 8, 12, 0.9) 34%, rgba(6, 8, 12, 0.25) 56%, rgba(6, 8, 12, 0) 70%); }
#franchise input, #franchise select { user-select: text; }
.fr-top { position: relative; display: flex; align-items: center; gap: 18px; padding: 12px 24px; background: linear-gradient(100deg, color-mix(in srgb, var(--tc, #1c2a44) 28%, transparent) 0%, transparent 45%); border-bottom: 1px solid var(--line); flex-shrink: 0; }
.fr-top .lg { width: 44px; height: 44px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4)); }
.fr-id { line-height: 1.1; min-width: 0; }
.fr-id small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; }
.fr-id b { font-weight: 800; font-size: 20px; letter-spacing: -0.01em; white-space: nowrap; }
.fr-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.fr-chip { display: flex; flex-direction: column; gap: 3px; padding: 7px 12px; border-radius: 10px; background: var(--fill); line-height: 1; }
.fr-chip span { font-size: 9.5px; font-weight: 600; letter-spacing: 0.16em; color: var(--faint); text-transform: uppercase; }
.fr-chip b { font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.fr-chip b.neg { color: var(--bad); }
.fr-chip b.pos { color: var(--good); }
.fr-nav { display: flex; gap: 2px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.fr-nav button { font: 600 12px/1 var(--font); letter-spacing: 0.1em; padding: 10px 14px; color: var(--muted); background: transparent; border: 0; border-radius: 999px; cursor: pointer; transition: background 0.12s, color 0.12s; }
.fr-nav button:hover { background: var(--fill2); color: #fff; }
.fr-nav button.on { color: #0a0c10; background: #fff; }
.fr-nav button .dot { display: inline-block; min-width: 17px; height: 17px; padding: 0 4px; margin-left: 5px; border-radius: 9px; background: var(--bad); color: #fff; font-size: 10px; line-height: 17px; font-weight: 700; letter-spacing: 0; vertical-align: 1px; }
.fr-main { flex: 1; overflow-y: auto; padding: 20px 24px 44px; }
.fr-main.center { display: flex; flex-direction: column; align-items: center; }
.fr-h { font-weight: 800; font-size: 22px; letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 14px; display: flex; align-items: baseline; gap: 12px; }
.fr-h small { font-weight: 500; font-size: 13px; letter-spacing: 0; color: var(--muted); }
.fr-h .sp { flex: 1; }
.fr-grid { display: grid; gap: 14px; align-content: start; }
.fr-card { background: rgba(255, 255, 255, 0.035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); border-radius: 18px; padding: 18px 20px; min-width: 0; }
.fr-card h3 { font-weight: 700; font-size: 11px; letter-spacing: 0.18em; margin: 0 0 12px; color: var(--muted); text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.fr-card h3 .sp { flex: 1; }
.fr-card h3 small { font-weight: 500; font-size: 12px; color: var(--faint); letter-spacing: 0; text-transform: none; }
.fr-muted { color: var(--muted); }
.fr-note { color: var(--muted); font-size: 13px; line-height: 1.5; }
.fr-note b { color: #fff; font-weight: 600; }

/* buttons */
.fb { font: 600 12.5px/1 var(--font); letter-spacing: 0.08em; text-transform: uppercase; padding: 11px 16px; color: #fff; background: var(--fill2); border: 0; border-radius: 10px; cursor: pointer; transition: background 0.12s, color 0.12s, box-shadow 0.12s, transform 0.12s; white-space: nowrap; }
.fb small { font-weight: 500; letter-spacing: 0; text-transform: none; opacity: 0.7; margin-left: 6px; }
.fb:hover:not(:disabled) { background: rgba(255, 255, 255, 0.16); }
.fb:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.fb.go { background: linear-gradient(180deg, #e0213a, #8c0a1e); color: #fff; }
.fb.go:hover:not(:disabled) { background: #ffdc5c; box-shadow: 0 0 0 2px rgba(6, 8, 12, 0.9), 0 0 0 4px #fff; }
.fb.blue { background: var(--accent2); color: #06121f; }
.fb.red { background: rgba(251, 113, 133, 0.14); color: #fda4af; }
.fb.red:hover:not(:disabled) { background: rgba(251, 113, 133, 0.26); }
.fb.big { font-size: 14px; padding: 15px 24px; border-radius: 12px; }
.fb.sm { font-size: 11px; padding: 8px 11px; }
.fb:disabled { opacity: 0.35; cursor: default; }
.fr-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fr-row.end { justify-content: flex-end; }
.fr-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--fill); flex-wrap: wrap; }
.fr-seg button { font: 600 11.5px/1 var(--font); letter-spacing: 0.06em; padding: 8px 12px; background: transparent; color: var(--muted); border: 0; border-radius: 9px; cursor: pointer; transition: background 0.12s, color 0.12s; }
.fr-seg button.on { background: #fff; color: #0a0c10; }
.fr-seg button:hover:not(.on) { background: var(--fill2); color: #fff; }
.fr-seg.sm button { font-size: 10.5px; padding: 7px 10px; }
.nextup .diffrow { margin-top: 14px; gap: 12px; }
.nextup .diffrow .fr-muted { font-weight: 600; letter-spacing: 0.16em; font-size: 10.5px; }

/* badges */
.ovr { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 24px; padding: 0 6px; border-radius: 7px; font: 700 13px/1 var(--font); color: #fff; background: rgba(255, 255, 255, 0.1); font-variant-numeric: tabular-nums; }
.ovr.o90 { background: #ffd23f; color: #1a1400; }
.ovr.o80 { background: #34d399; color: #04130c; }
.ovr.o70 { background: #7cc4ff; color: #04121f; }
.ovr.o60 { background: rgba(255, 255, 255, 0.18); }
.ovr.big { min-width: 56px; height: 48px; font-size: 24px; border-radius: 12px; }
.ovr.rng { min-width: 56px; font-size: 12px; background: var(--fill2); color: #fff; }
.dev { display: inline-block; padding: 3px 6px; border-radius: 6px; font: 700 10px/1 var(--font); letter-spacing: 0.06em; box-shadow: inset 0 0 0 1px currentColor; }
.dev-normal { color: var(--faint); }
.dev-star { color: #7cc4ff; }
.dev-superstar { color: #ffd23f; }
.dev-xfactor { color: #fb7185; background: rgba(251, 113, 133, 0.12); }
.dev-unknown { color: var(--faint); box-shadow: inset 0 0 0 1px currentColor; border: 0; opacity: 0.8; }
.pos { display: inline-block; min-width: 34px; padding: 4px 6px; border-radius: 6px; background: var(--fill2); font: 700 10.5px/1 var(--font); letter-spacing: 0.06em; text-align: center; color: #fff; }
.tag { display: inline-block; padding: 3px 6px; border-radius: 6px; font-size: 9.5px; letter-spacing: 0.1em; font-weight: 700; text-transform: uppercase; background: var(--fill2); color: var(--muted); }
.tag.inj { background: rgba(251, 113, 133, 0.16); color: #fda4af; }
.tag.st { background: rgba(52, 211, 153, 0.14); color: #6ee7b7; }
.tag.exp { background: rgba(255, 59, 79, 0.16); color: var(--accent); }
.tag.ret { background: rgba(251, 191, 36, 0.16); color: #fcd34d; }
.ret-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin: 0 0 12px; }
.ret-bar > div { padding: 10px 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(251, 191, 36, 0.28); display: flex; flex-direction: column; gap: 3px; }
.ret-bar > div:hover { background: rgba(251, 191, 36, 0.08); }
.ret-bar small { font-size: 11px; letter-spacing: 0.16em; color: #fcd34d; font-weight: 700; }
.ret-bar b { font-size: 16px; color: #fff; }
.ret-bar em { font-style: normal; font-size: 12px; color: var(--muted); }
.tag.rk { background: rgba(124, 196, 255, 0.14); color: #a5d8ff; }
.lg { display: inline-block; vertical-align: middle; }
.lg.s { width: 22px; height: 22px; }
.lg.m { width: 36px; height: 36px; }
.lg.l { width: 64px; height: 64px; }
.lg.xl { width: 112px; height: 112px; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45)); }

/* tables */
.fr-tablewrap { overflow: auto; border-radius: 14px; background: rgba(255, 255, 255, 0.025); box-shadow: inset 0 0 0 1px var(--line); }
.fr-table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.fr-table th { position: sticky; top: 0; z-index: 1; background: #12151b; font-weight: 600; font-size: 10px; letter-spacing: 0.14em; color: var(--faint); text-transform: uppercase; text-align: left; padding: 11px 10px 9px; cursor: pointer; white-space: nowrap; }
.fr-table th.num, .fr-table td.num { text-align: right; }
.fr-table th.sorted { color: #fff; }
.fr-table td { padding: 8px 10px; border-top: 1px solid rgba(255, 255, 255, 0.05); white-space: nowrap; }
.fr-table tr.click { cursor: pointer; }
.fr-table tr.click:hover td { background: rgba(255, 255, 255, 0.05); }
.fr-table tr.sel td { background: rgba(255, 210, 63, 0.1); }
.fr-table tr.me td { background: rgba(124, 196, 255, 0.08); }
.fr-table tr.line td { border-top: 1px dashed rgba(255, 210, 63, 0.5); }
.fr-table td.nm b { font-weight: 600; }
.fr-table td.nm small { color: var(--muted); margin-left: 6px; font-size: 12px; }
.fr-table .dim { color: var(--muted); }
.fr-table input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }

/* filters */
.fr-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; align-items: center; }
.fr-filters button { font: 600 11px/1 var(--font); letter-spacing: 0.06em; padding: 8px 11px; border-radius: 999px; border: 0; background: var(--fill); color: var(--muted); cursor: pointer; transition: background 0.12s, color 0.12s; }
.fr-filters button:hover { background: var(--fill2); color: #fff; }
.fr-filters button.on { background: #fff; color: #0a0c10; }
.fr-filters .sp { flex: 1; }

/* roadmap */
.rm { display: flex; align-items: stretch; gap: 0; overflow-x: auto; padding: 6px 2px 4px; scroll-behavior: smooth; }
/* sideways strips without a scrollbar: edges fade while there's more that way (see hscroll) */
.hs { --hl: 0px; --hr: 0px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--hl), #000 calc(100% - var(--hr)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--hl), #000 calc(100% - var(--hr)), transparent); }
.hs img { -webkit-user-drag: none; }
.hs.dragging { scroll-behavior: auto; cursor: grabbing; }
.hs.dragging * { cursor: grabbing !important; }
.rm-node { position: relative; flex: 0 0 auto; width: 84px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 4px 8px; border-radius: 12px; cursor: pointer; transition: background 0.12s; }
.rm-node::before { content: ''; position: absolute; top: 30px; left: -50%; width: 100%; height: 2px; background: rgba(255, 255, 255, 0.1); z-index: 0; }
.rm-node:first-child::before { display: none; }
.rm-node.done::before { background: rgba(255, 255, 255, 0.35); }
.rm-node .rm-dot { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #151920; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.14); overflow: hidden; }
.rm-node .rm-dot img { width: 36px; height: 36px; }
.rm-node .rm-dot i { font-style: normal; font-weight: 700; font-size: 11px; letter-spacing: 0.06em; color: var(--muted); }
.rm-node.now .rm-dot { box-shadow: inset 0 0 0 2px #fff, 0 0 0 4px rgba(255, 255, 255, 0.12); }
.rm-node.W .rm-dot { box-shadow: inset 0 0 0 2px var(--good); }
.rm-node.L .rm-dot { box-shadow: inset 0 0 0 2px rgba(251, 113, 133, 0.85); }
.rm-node.special .rm-dot { background: #1c1a12; box-shadow: inset 0 0 0 1.5px rgba(255, 210, 63, 0.5); }
.rm-node.special .rm-dot i { color: var(--accent); font-size: 17px; }
.rm-node .rm-lbl { font-weight: 600; font-size: 10.5px; letter-spacing: 0.06em; color: var(--muted); line-height: 1.2; text-align: center; }
.rm-node .rm-res { font-size: 11px; font-weight: 600; line-height: 1; min-height: 11px; color: var(--faint); }
.rm-node .rm-res.W { color: var(--good); }
.rm-node .rm-res.L { color: #fda4af; }
.rm-node:hover { background: var(--fill); }
.rm-node.now .rm-lbl { color: #fff; }
.rm-sep { flex: 0 0 auto; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 0 6px; }
.rm-sep span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 9px; font-weight: 700; letter-spacing: 0.18em; color: var(--faint); text-transform: uppercase; border-left: 1px dashed rgba(255, 255, 255, 0.2); padding: 4px 4px; }

/* hub */
.hub { grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); }
.nextup { position: relative; overflow: hidden; }
.nextup .vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 4px 0 16px; }
.nextup .side { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.nextup .side b { font-weight: 800; font-size: 20px; letter-spacing: -0.01em; line-height: 1.2; margin-top: 4px; }
.nextup .side small { color: var(--muted); font-size: 12.5px; }
.nextup .side small b { font-size: 12.5px; font-weight: 700; color: #fff; }
.nextup .at { font-weight: 600; font-size: 14px; color: var(--faint); }
.cmp { display: grid; grid-template-columns: 40px 1fr 48px 1fr 40px; align-items: center; gap: 10px; font-size: 13px; margin: 6px 0; }
.cmp b { font-weight: 700; font-size: 15px; text-align: center; font-variant-numeric: tabular-nums; }
.cmp span { text-align: center; color: var(--faint); letter-spacing: 0.14em; font-size: 10px; font-weight: 600; text-transform: uppercase; }
.cmp .bar { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.07); overflow: hidden; display: flex; }
.cmp .bar.l { justify-content: flex-end; }
.cmp .bar i { display: block; height: 100%; border-radius: 2px; background: var(--c, #fff); }
.goal { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.goal:first-of-type { border-top: none; }
.goal small { color: var(--muted); font-size: 12px; }
.goal .ic { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--faint); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; }
.goal.done .ic { background: var(--good); box-shadow: none; color: #04130c; }
.goal.failed .ic { box-shadow: inset 0 0 0 1.5px var(--bad); color: var(--bad); }
.goal .gbar { grid-column: 2 / 4; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.goal .gbar i { display: block; height: 100%; background: var(--accent); }
.goal .rw { font-weight: 700; font-size: 12.5px; color: var(--accent); font-variant-numeric: tabular-nums; }
.news { display: flex; flex-direction: column; }
.news .it { display: grid; grid-template-columns: 3px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.45; }
.news .it:first-child { border-top: none; }
.news .it i { width: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.18); }
.news .it.win i { background: var(--good); }
.news .it.loss i, .news .it.injury i { background: var(--bad); }
.news .it.trade i, .news .it.offer i { background: var(--accent2); }
.news .it.sign i { background: #c084fc; }
.news .it.big i, .news .it.award i { background: var(--accent); }
.news .it small { display: block; color: var(--faint); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1px; }
.trainings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.trainings button { text-align: left; padding: 12px 14px; border-radius: 12px; border: 0; background: var(--fill); color: #fff; cursor: pointer; line-height: 1.3; transition: background 0.12s, box-shadow 0.12s; }
.trainings button:hover { background: var(--fill2); }
.trainings button b { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 2px; }
.trainings button span { font-size: 12px; color: var(--muted); }
.trainings button.on { background: var(--fill2); box-shadow: inset 0 0 0 1.5px #fff; }
.trainings button.on b { color: #fff; }
.probs { margin: 10px 0; padding: 10px 14px; border-radius: 12px; background: rgba(251, 113, 133, 0.08); box-shadow: inset 0 0 0 1px rgba(251, 113, 133, 0.35); font-size: 13px; }
.probs div { padding: 2px 0; }
.okbox { margin: 10px 0; padding: 10px 14px; border-radius: 12px; background: rgba(52, 211, 153, 0.08); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.35); font-size: 13px; }
.okbox b { color: #fff; }

/* modal */
.fr-modal { position: fixed; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(3, 5, 8, 0.6); animation: frFade 0.2s ease-out; }
@keyframes frFade { from { opacity: 0; } to { opacity: 1; } }
.fr-dlg { position: relative; width: min(980px, 100%); max-height: 100%; overflow: auto; background: #111419; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 90px rgba(0, 0, 0, 0.6); border-radius: 22px; animation: frPop 0.24s var(--ease); }
@keyframes frPop { from { opacity: 0; transform: translateY(10px) scale(0.99); } to { opacity: 1; transform: none; } }
.fr-dlg.narrow { width: min(560px, 100%); }
.fr-dlg .x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--fill2); color: #fff; font-size: 13px; cursor: pointer; }
.fr-dlg .x:hover { background: #fff; color: #0a0c10; }
.fr-dlg .body { padding: 22px 24px 22px; }

/* player card */
.pc-hero { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 24px 64px 20px 24px; background: linear-gradient(110deg, color-mix(in srgb, var(--tc, #22324e) 45%, transparent) 0%, transparent 65%); border-bottom: 1px solid var(--line); border-radius: 22px 22px 0 0; }
.pc-num { font: 800 64px/1 var(--font); letter-spacing: -0.04em; color: rgba(255, 255, 255, 0.92); min-width: 80px; text-align: center; font-variant-numeric: tabular-nums; }
.pc-name small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; }
.pc-name b { display: block; font-weight: 800; font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; margin: 4px 0 2px; }
.pc-name .meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; font-size: 12.5px; color: var(--muted); align-items: center; }
.pc-right { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pc-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; }
.rbar { display: grid; grid-template-columns: 116px 1fr 32px; gap: 10px; align-items: center; font-size: 12.5px; margin: 5px 0; }
.rbar span { color: var(--muted); }
.rbar.key span { color: #fff; font-weight: 600; }
.rbar div { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.rbar i { display: block; height: 100%; border-radius: 2px; }
.rbar b { font-weight: 700; font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }
.xpbar { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin: 6px 0 4px; }
.xpbar i { display: block; height: 100%; background: linear-gradient(90deg, #7cc4ff, #34d399); border-radius: 2px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 13px; }
.kv span { color: var(--muted); }
.kv b { font-weight: 600; }
.stats-mini { width: 100%; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.stats-mini th { color: var(--faint); font-weight: 600; font-size: 10px; letter-spacing: 0.1em; text-align: right; padding: 5px 6px; }
.stats-mini th:first-child, .stats-mini td:first-child { text-align: left; }
.stats-mini td { text-align: right; padding: 5px 6px; border-top: 1px solid rgba(255, 255, 255, 0.05); }

/* negotiation */
.neg-top { display: flex; gap: 14px; align-items: center; }
.neg-amt { display: flex; align-items: center; gap: 10px; margin: 12px 0; }
.neg-amt b { font-weight: 800; font-size: 30px; letter-spacing: -0.02em; min-width: 160px; text-align: center; line-height: 1; font-variant-numeric: tabular-nums; }
.neg-amt input[type=range] { flex: 1; accent-color: #fff; }
.meter { position: relative; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #fb7185 0%, #fbbf24 55%, #34d399 85%, #34d399 100%); margin: 10px 0 6px; }
.meter i { position: absolute; top: -6px; width: 4px; height: 20px; border-radius: 2px; background: #fff; box-shadow: 0 0 0 2px #111419, 0 2px 8px rgba(0, 0, 0, 0.6); transform: translateX(-50%); transition: left 0.18s; }
.meter .line { position: absolute; top: -3px; bottom: -3px; width: 2px; background: rgba(255, 255, 255, 0.85); }
.neg-msg { min-height: 22px; margin-top: 10px; font-size: 13.5px; }
.neg-msg.bad { color: #fda4af; }
.neg-msg.good { color: #6ee7b7; }

/* trade center */
.tc-teams { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tc-teams button { width: 52px; height: 52px; border-radius: 14px; border: 0; background: var(--fill); cursor: pointer; padding: 6px; transition: background 0.12s, box-shadow 0.12s; }
.tc-teams button:hover { background: var(--fill2); }
.tc-teams button img { width: 100%; height: 100%; }
.tc-teams button.on { background: var(--fill2); box-shadow: inset 0 0 0 1.5px #fff; }
.tc-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.tc-cols .fr-tablewrap { max-height: 46vh; }
.tc-deal { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px) minmax(0, 1fr); gap: 14px; align-items: start; }
.tc-list { display: flex; flex-direction: column; gap: 4px; min-height: 40px; }
.tc-list .it { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; background: var(--fill); font-size: 13px; }
.tc-list .it .sp { flex: 1; }
.tc-meter { text-align: center; }
.tc-meter .meter { height: 8px; }
.tc-meter b { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.tc-meter .v.ok { color: var(--good); }
.tc-meter .v.close { color: #fbbf24; }
.tc-meter .v.no { color: #fda4af; }

/* create team */
.cr-wrap { display: grid; grid-template-columns: minmax(420px, 520px) 1fr; height: 100%; }
.cr-panel { display: flex; flex-direction: column; min-height: 0; padding: 28px 30px; overflow-y: auto; }
.cr-steps { display: flex; gap: 6px; margin: 8px 0 20px; }
.cr-steps button { flex: 1; font: 600 11px/1 var(--font); letter-spacing: 0.1em; padding: 10px 4px; border: none; border-bottom: 2px solid rgba(255, 255, 255, 0.12); background: transparent; color: var(--muted); cursor: pointer; text-align: left; text-transform: uppercase; }
.cr-steps button.on { color: #fff; border-bottom-color: #fff; }
.cr-steps button i { font-style: normal; color: var(--accent); margin-right: 6px; }
.cr-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.cr-field label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; }
.cr-field input[type=text] { font: 600 17px var(--font); padding: 11px 14px; color: #fff; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line2); border-radius: 12px; outline: none; transition: border-color 0.12s; }
.cr-field input[type=text]:focus { border-color: #fff; }
.cr-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cr-emblems { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 6px; }
.cr-emblems button { aspect-ratio: 1; border-radius: 14px; border: 0; background: var(--fill); cursor: pointer; padding: 6px; transition: background 0.12s, box-shadow 0.12s; }
.cr-emblems button:hover { background: var(--fill2); }
.cr-emblems button img { width: 100%; height: 100%; }
.cr-emblems button.on { background: var(--fill2); box-shadow: inset 0 0 0 1.5px #fff; }
.cr-swatches { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.cr-swatches button { aspect-ratio: 1.4; border-radius: 8px; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); }
.cr-swatches button.on { box-shadow: 0 0 0 2px #111419, 0 0 0 4px #fff; }
.cr-colors { display: flex; gap: 14px; margin: 12px 0 4px; }
.cr-colors label { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); cursor: pointer; }
.cr-colors input[type=color] { width: 40px; height: 30px; border: 0; border-radius: 8px; background: none; padding: 0; cursor: pointer; }
.cr-takeover { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.cr-takeover button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px 10px; border-radius: 14px; border: 0; background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--tc) 40%, transparent), transparent 75%), var(--fill); color: #fff; cursor: pointer; transition: box-shadow 0.12s; }
.cr-takeover button img { width: 52px; height: 52px; }
.cr-takeover button b { font-weight: 700; font-size: 13.5px; }
.cr-takeover button span { font-size: 11.5px; color: var(--muted); }
.cr-takeover button.on { box-shadow: inset 0 0 0 1.5px #fff; }
.cr-foot { margin-top: auto; padding-top: 16px; display: flex; gap: 10px; justify-content: space-between; }
.cr-preview { position: relative; pointer-events: none; }
.cr-badge { position: absolute; right: 4vw; bottom: 6vh; display: flex; align-items: center; gap: 16px; text-align: right; }
.cr-badge b { display: block; font-weight: 800; font-size: 44px; letter-spacing: -0.03em; line-height: 1; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6); }
.cr-badge small { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7); margin-bottom: 4px; }
.cr-kitlbl { position: absolute; bottom: 20vh; font-weight: 600; letter-spacing: 0.2em; font-size: 11px; color: rgba(255, 255, 255, 0.75); text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8); }

/* landing */
.fl-title { font: 800 clamp(48px, 7vw, 92px)/1 var(--font); letter-spacing: -0.045em; margin: 3vh 0 0; text-align: center; color: #fff; }
.fl-title span { color: var(--accent); }
.fl-sub { color: var(--muted); font-size: 14px; text-align: center; margin: 12px 0 3.4vh; }
.fl-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 290px)); gap: 14px; justify-content: center; width: 100%; }
.fl-slot { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 18px 18px; border-radius: 20px; background: radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--tc, #1a2438) 40%, transparent), transparent 72%), rgba(255, 255, 255, 0.035); box-shadow: inset 0 0 0 1px var(--line); min-height: 300px; text-align: center; }
.fl-slot.empty { background: rgba(255, 255, 255, 0.02); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); justify-content: center; }
.fl-slot small { color: var(--muted); letter-spacing: 0.18em; font-size: 10.5px; font-weight: 600; text-transform: uppercase; }
.fl-slot b { font-weight: 800; font-size: 22px; letter-spacing: -0.01em; line-height: 1.2; }
.fl-slot .meta { color: var(--muted); font-size: 12.5px; }
.fl-slot .meta b { font-size: 12.5px; font-weight: 700; color: #fff; }
.fl-slot .fr-row { margin-top: auto; justify-content: center; }
.fl-feats { display: grid; grid-template-columns: repeat(4, minmax(0, 210px)); gap: 12px; justify-content: center; margin-top: 3.5vh; }
.fl-feats div { padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.03); font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.fl-feats b { display: block; color: #fff; font-weight: 700; font-size: 13.5px; margin-bottom: 4px; }
/* a laptop screen: the save slots and everything under them fit without scrolling */
@media (max-height: 820px) {
  .fl-title { font-size: clamp(44px, 9vh, 84px); margin-top: 0.5vh; }
  .fl-sub { margin-bottom: 2vh; }
  .fl-cloud { padding: 10px 14px; margin-bottom: 12px; }
  .fl-slot { min-height: 0; padding: 14px 16px 14px; }
  .fl-slot.empty { min-height: 150px; }
  .fl-feats { margin-top: 2vh; }
  .fl-feats div { padding: 10px 12px; }
}

/* week report / box score: the final in both teams' colors */
.fr-dlg.mid { width: min(780px, 100%); }
.wr-card { padding: 0; overflow: hidden; }
.wr { border-radius: 18px; overflow: hidden; container-type: inline-size; }
.fr-dlg .wr { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); background: rgba(255, 255, 255, 0.02); }
.wr-hero { position: relative; padding: 22px 20px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.wr-hero::before { content: ''; position: absolute; inset: 0; opacity: 0.22; pointer-events: none; background: radial-gradient(90% 150% at 0% 50%, var(--ca), transparent 62%), radial-gradient(90% 150% at 100% 50%, var(--cb), transparent 62%); }
.wr-hero::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--ca) 50%, var(--cb) 50%); }
.wr-hero > * { position: relative; }
.wr-verdict { font: 700 11px/1 var(--font); letter-spacing: 0.28em; padding: 8px 12px 8px 16px; border-radius: 999px; display: inline-block; }
.wr-hero .wr-verdict { margin-bottom: 12px; }
.wr-verdict.W { color: #04130c; background: var(--good); }
.wr-verdict.L { color: #fff; background: rgba(251, 113, 133, 0.85); }
.wr-verdict.T { color: #fff; background: rgba(255, 255, 255, 0.16); }
.wr-board { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto minmax(0, 1fr); align-items: center; gap: 16px; }
.wr-team { display: flex; align-items: center; gap: 14px; min-width: 0; text-align: left; }
.wr-team.r { flex-direction: row-reverse; text-align: right; }
.wr-team .lg { width: 72px; height: 72px; flex: none; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45)); }
.wr-team .nm { display: flex; flex-direction: column; gap: 3px; min-width: 0; line-height: 1.1; }
.wr-team .nm small { font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wr-team .nm b { font-weight: 800; font-size: 24px; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wr-pts { font: 800 64px/1 var(--font); letter-spacing: -0.04em; min-width: 56px; text-align: center; color: rgba(255, 255, 255, 0.3); font-variant-numeric: tabular-nums; }
.wr-pts.win { color: #fff; }
.wr-dash { font-weight: 300; font-size: 30px; color: rgba(255, 255, 255, 0.25); }
.wr-tags { margin-top: 12px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; color: var(--faint); }
.wr-body { max-width: 900px; margin: 0 auto; padding: 14px 22px 20px; }
.wr-sec { display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; margin: 10px 0 6px; }
.wr-sec em { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: var(--faint); display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.wr-sec em::before, .wr-sec em::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.wr-sec span { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: #fff; }
.wr-sec span:not(:empty)::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; vertical-align: 0; background: var(--ca); }
.wr-sec span:last-child { text-align: right; }
.wr-sec span:last-child::before { background: var(--cb); }
.wr-stat { display: grid; grid-template-columns: 64px minmax(0, 1fr) 110px minmax(0, 1fr) 64px; align-items: center; gap: 12px; padding: 6px 0; }
.wr-stat .v { font-weight: 700; font-size: 17px; line-height: 1.1; color: var(--faint); font-variant-numeric: tabular-nums; }
.wr-stat .v:last-child { text-align: right; }
.wr-stat .v.best { color: #fff; }
.wr-stat .v small { display: block; font-size: 11px; font-weight: 500; color: var(--faint); margin-top: 2px; }
.wr-stat .k, .wr-tp .k { text-align: center; font-size: 10px; font-weight: 600; letter-spacing: 0.16em; color: var(--muted); }
.wr-stat .bar { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.06); overflow: hidden; display: flex; }
.wr-stat .bar.l { justify-content: flex-end; }
.wr-stat .bar i { display: block; height: 100%; border-radius: 2px; background: var(--ca); opacity: 0.45; }
.wr-stat .bar.r i { background: var(--cb); }
.wr-stat .bar.best i { opacity: 1; }
.wr-tp { display: grid; grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr); gap: 12px; align-items: center; padding: 3px 0; }
.wr-tp .p { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 50px; padding: 8px 12px; border-radius: 12px; background: var(--fill); box-shadow: inset 2px 0 0 var(--ca); cursor: pointer; transition: background 0.12s; }
.wr-tp .p.r { flex-direction: row-reverse; text-align: right; box-shadow: inset -2px 0 0 var(--cb); }
.wr-tp .p:hover { background: var(--fill2); }
.wr-tp .p > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.25; }
.wr-tp .p > div > b { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wr-tp .p > div > span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wr-tp .p > div > span b { color: #fff; font-weight: 700; }
.wr-tp .p.none { justify-content: center; color: rgba(255, 255, 255, 0.22); cursor: default; box-shadow: none; }
.wr-tp .p.none:hover { background: var(--fill); }
/* not much room: each team's name goes under its logo; less still: everything shrinks */
@container (max-width: 820px) {
  .wr-team, .wr-team.r { flex-direction: column; text-align: center; gap: 10px; }
  .wr-team .lg { width: 64px; height: 64px; }
  .wr-team .nm b { font-size: 22px; }
}
@container (max-width: 560px) {
  .wr-hero { padding: 18px 12px 12px; }
  .wr-body { padding: 10px 12px 16px; }
  .wr-board { gap: 8px; }
  .wr-team .lg { width: 48px; height: 48px; }
  .wr-team .nm b { font-size: 17px; }
  .wr-pts { font-size: 46px; min-width: 40px; }
  .wr-dash { font-size: 22px; }
  .wr-stat { grid-template-columns: 50px minmax(0, 1fr) 82px minmax(0, 1fr) 50px; gap: 6px; }
  .wr-tp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .wr-tp .k { grid-column: 1 / -1; grid-row: 1; margin-top: 4px; }
  .wr-tp .p > div > span { white-space: normal; }
  .wr-sec { grid-template-columns: 50px minmax(0, 1fr) 50px; }
}
.up { color: var(--good); font-weight: 700; }
.down { color: #fda4af; font-weight: 700; }
.award { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: rgba(255, 210, 63, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 210, 63, 0.22); }
.award .t { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; color: var(--accent); text-transform: uppercase; }
.award b { display: block; font-weight: 700; font-size: 16px; margin: 3px 0 2px; }
.award span { font-size: 12px; color: var(--muted); }
.trophy { font-size: 52px; line-height: 1; filter: drop-shadow(0 6px 20px rgba(255, 210, 63, 0.4)); }

/* draft */
.dr-clock { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: linear-gradient(100deg, color-mix(in srgb, var(--tc, #22324e) 40%, transparent), transparent 60%), var(--fill); margin-bottom: 14px; }
.dr-clock b { font-weight: 800; font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; }
.dr-clock small { display: block; color: var(--muted); letter-spacing: 0.16em; font-size: 10.5px; font-weight: 600; text-transform: uppercase; }
.dr-clock.you { box-shadow: inset 0 0 0 1.5px var(--accent); }
.dr-order { display: flex; flex-direction: column; gap: 2px; max-height: 60vh; overflow-y: auto; }
.dr-order .it { display: grid; grid-template-columns: 30px 26px 1fr; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 10px; font-size: 12.5px; }
.dr-order .it.now { background: var(--fill2); }
.dr-order .it.mine b { color: var(--accent); }
.dr-order .it .n { color: var(--faint); font-weight: 600; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.fr-toast { position: fixed; left: 50%; bottom: 28px; z-index: 60; transform: translateX(-50%) translateY(16px); opacity: 0; padding: 12px 20px; border-radius: 14px; background: rgba(17, 20, 25, 0.96); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 16px 40px rgba(0, 0, 0, 0.5); font-size: 13.5px; font-weight: 500; transition: all 0.25s var(--ease); pointer-events: none; max-width: 80vw; text-align: center; }
.fr-toast.on { opacity: 1; transform: translateX(-50%); }
.fr-toast.good { box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.5), 0 16px 40px rgba(0, 0, 0, 0.5); }
.fr-toast.bad { box-shadow: 0 0 0 1px rgba(251, 113, 133, 0.5), 0 16px 40px rgba(0, 0, 0, 0.5); }

@media (max-width: 1100px) {
  .hub, .pc-grid, .tc-cols, .tc-deal { grid-template-columns: minmax(0, 1fr); }
  .cr-wrap { grid-template-columns: minmax(0, 1fr); }
  .cr-preview { display: none; }
  .fl-slots, .fl-feats { grid-template-columns: minmax(0, 1fr); }
  .fr-top { flex-wrap: wrap; }
  .trainings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* cloud saves banner on the save-slot screen */
.fl-cloud { display: flex; align-items: center; gap: 16px; width: min(900px, 100%); margin: 0 auto 16px; padding: 14px 18px; border-radius: 16px; background: rgba(124, 196, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(124, 196, 255, 0.22); }
.fl-cloud .txt { flex: 1; display: flex; flex-direction: column; gap: 3px; text-align: left; min-width: 0; }
.fl-cloud .txt b { font-weight: 700; font-size: 14px; }
.fl-cloud .txt span { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.fl-cloud .txt .err { color: #fda4af; font-size: 12px; }
.fl-cloud.on { background: rgba(52, 211, 153, 0.06); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.25); }
.fl-cloud .fl-sync { font-weight: 600; font-size: 10.5px; letter-spacing: 0.14em; color: var(--muted); white-space: nowrap; }
.fl-cloud .gbtn { min-height: 44px; display: flex; align-items: center; }
@media (max-width: 700px) { .fl-cloud { flex-wrap: wrap; } .fl-cloud .fl-sync { order: 3; } }

/* ---------------------------------------------------------- phones and small screens */
#franchise { padding-left: var(--sa-l); padding-right: var(--sa-r); }
.cr-field input[type=text] { width: 100%; min-width: 0; box-sizing: border-box; }
.cr-two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 1100px) {
  /* (no room for the 3D player beside the form: a solid page behind it) */
  #franchise.showcase { background: rgba(6, 8, 12, 0.95); }
}
@media (max-width: 520px) { .cr-two { grid-template-columns: minmax(0, 1fr); gap: 0; } }
/* a phone on its side: one slim bar on top (the tabs scroll sideways), the page gets the height */
@media (max-height: 560px) {
  .fr-top { flex-wrap: nowrap; gap: 10px; padding: 6px 12px; }
  .fr-top .lg { width: 32px; height: 32px; }
  .fr-id small { font-size: 9px; }
  .fr-id b { font-size: 15px; }
  .fr-chips { flex-wrap: nowrap; gap: 4px; }
  .fr-chip { padding: 4px 8px; gap: 2px; }
  .fr-chip span { font-size: 8px; letter-spacing: 0.12em; }
  .fr-chip b { font-size: 12.5px; }
  .fr-nav { flex: 1; min-width: 0; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .fr-nav::-webkit-scrollbar { display: none; }
  .fr-nav button { padding: 9px 11px; font-size: 11px; white-space: nowrap; flex: none; }
  .fr-main { padding: 12px 16px 32px; }
  .fr-h { font-size: 18px; margin-bottom: 10px; }
  .fr-card { padding: 14px 14px; }
  .fl-title { font-size: clamp(34px, 12vh, 84px); }
  .cr-panel { padding: 16px 18px; }
}
/* a phone held upright: the team on one line, the tabs on the next */
@media (max-width: 600px) and (orientation: portrait) {
  .fr-top { flex-wrap: wrap; gap: 8px 10px; padding: 8px 12px; }
  .fr-top .lg { width: 34px; height: 34px; }
  .fr-chips { flex-wrap: nowrap; gap: 4px; margin-left: auto; }
  .fr-chip { padding: 4px 8px; }
  .fr-chip span { font-size: 8px; letter-spacing: 0.1em; }
  .fr-chip b { font-size: 12.5px; }
  .fr-nav { order: 3; flex: 1 0 100%; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: 0 -12px; padding: 0 8px; scrollbar-width: none; }
  .fr-nav::-webkit-scrollbar { display: none; }
  .fr-nav button { padding: 9px 11px; font-size: 11px; white-space: nowrap; flex: none; }
  .fr-main { padding: 12px 14px 32px; }
  .cr-panel { padding: 16px 16px; }
}
.touch-ui .fr-seg button { padding: 11px 12px; }
.touch-ui .fr-seg.sm button { padding: 10px 10px; }
.touch-ui .fb.sm { padding: 11px 12px; }
.touch-ui .fb { min-height: 38px; }
@media (max-width: 700px) { .fl-cloud .txt { flex: 1 1 100%; } .fl-cloud .fl-sync { white-space: normal; } }
.touch-ui .fr-nav button { padding-top: 12px; padding-bottom: 12px; }
.touch-ui .fr-filters button { padding-top: 11px; padding-bottom: 11px; min-width: 40px; }
.touch-ui .fr-table th { min-width: 34px; padding-top: 12px; padding-bottom: 11px; }
.touch-ui .fb.sm { min-width: 38px; }
.touch-ui .fr-table input[type=checkbox] { width: 24px; height: 24px; }

/* ---------------------------------------------------------------- playoff bracket (pro format) */
.bk-conf { margin-top: 6px; }
.bk-conf + .bk-conf { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.bk-ch { font: 800 13px/1 var(--font); letter-spacing: 0.18em; color: #fff; margin-bottom: 8px; }
.bk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
.bk-col { display: flex; flex-direction: column; justify-content: space-around; gap: 6px; min-width: 0; }
.bk-heads { margin-bottom: 4px; }
.bk-heads > small, .bk-col > small, .bk-final > small { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; color: var(--muted); }
.bk-g { border-radius: 9px; padding: 3px 7px; background: rgba(255, 255, 255, 0.035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); min-width: 0; }
.bk-g.click { cursor: pointer; transition: background 0.12s; }
.bk-g.click:hover { background: rgba(255, 255, 255, 0.08); }
.bk-g.tbd, .bk-g.bye { opacity: 0.6; }
.bk-g.bye { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); opacity: 0.85; }
.bk-t { display: flex; align-items: center; gap: 6px; height: 23px; font-size: 13px; min-width: 0; color: rgba(255, 255, 255, 0.86); }
.bk-t i { font-style: normal; width: 11px; flex: none; text-align: right; font-size: 11px; color: var(--muted); }
.bk-t .lg.s { width: 18px; height: 18px; flex: none; }
.bk-t span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.bk-t b { font-variant-numeric: tabular-nums; }
.bk-t.w { color: #fff; }
.bk-t.w span, .bk-t.w b { font-weight: 800; }
.bk-t.l { opacity: 0.45; }
.bk-t.me span { color: var(--accent2); }
.bk-final { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.06); display: grid; gap: 6px; max-width: 260px; margin-left: auto; margin-right: auto; text-align: center; }
.bk-final .bk-g { text-align: left; }
.bk-champ { font-size: 14px; }
.st-views { margin: 4px 0 12px; }
.fr-h.st-h { font-size: 13px; letter-spacing: 0.16em; color: var(--muted); margin: 16px 0 6px; }
.cr-divs { max-width: 100%; }
@media (max-width: 560px) {
  .bk-grid { gap: 6px; }
  .bk-g { padding: 2px 5px; }
  .bk-t { font-size: 12px; gap: 4px; }
  .bk-t .lg.s { width: 15px; height: 15px; }
}
.fr-table.st-tbl { table-layout: fixed; min-width: 980px; }
.st-tbl th:nth-child(1) { width: 40px; }
.st-tbl th:nth-child(2) { width: 27%; }
.st-tbl th:nth-child(12), .st-tbl th:nth-child(13) { width: 9%; }
