/* NBA.ge — base stylesheet. Plain CSS, no framework, ~6 KB: keeps pages fast (Core Web Vitals). */
:root {
    /* NBA logo palette: blue, red, white */
    --nba-blue: #1d428a; --nba-red: #c8102e; --nba-navy: #0f2350;
    --bg: #ffffff; --surface: #f2f5fa; --text: #111827; --muted: #5b6475; --line: #dde3ee;
    --accent: #c8102e; --accent-ink: #ffffff; --link: #1d428a; --brand: #1d428a; --brand-ink: #ffffff;
    --radius: 8px; --gap: 24px; --max: 1240px;
    font-family: "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) { --bg: #0a1426; --surface: #13213d; --text: #eef2fa; --muted: #9aa6bd; --line: #24365c;
        --link: #8fb0ef; --accent: #e0334f; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #0a1426; --surface: #13213d; --text: #eef2fa; --muted: #9aa6bd; --line: #24365c;
    --link: #8fb0ef; --accent: #e0334f; color-scheme: dark; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 17px; line-height: 1.6; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.25; margin: .4em 0 .5em; }
h2 { font-size: 1.35rem; line-height: 1.3; margin: 1.6em 0 .6em; }
h1 small, h2 small { color: var(--muted); font-weight: 400; font-size: .6em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }

/* reading time */
.readtime { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.readtime svg { width: 14px; height: 14px; flex: none; }
.card__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: .85rem; }

/* header / footer */
.topbar { background: var(--nba-blue); color: #fff; position: sticky; top: 0; z-index: 20; border-bottom: 4px solid var(--nba-red); }
.topbar__in { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: inline-flex; align-items: center; flex: none; background: #fff; border-radius: 6px; padding: 4px 8px; line-height: 0; }
.logo img { height: 44px; width: auto; }
.logo--footer { padding: 6px 10px; margin-bottom: 8px; }
.logo--footer img { height: 56px; }
.nav { display: flex; gap: 18px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.nav a { color: #fff; font-weight: 600; font-size: .95rem; opacity: .9; }
.nav a:hover { opacity: 1; text-decoration: none; box-shadow: inset 0 -3px 0 var(--nba-red); }
.footer { background: var(--nba-navy); color: #c3cde3; border-top: 4px solid var(--nba-red); margin-top: 48px; padding: 32px 0; font-size: .9rem; }
.footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer nav { display: flex; flex-direction: column; gap: 6px; }
.footer a { color: #fff; }
.crumbs { font-size: .85rem; color: var(--muted); margin-top: 12px; }

/* layout */
.main { min-height: 60vh; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--gap); align-items: start; }
.layout__side { display: flex; flex-direction: column; gap: var(--gap); }
.sticky { position: sticky; top: 72px; }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 960px) {
    .layout, .cols-2, .cols-3 { grid-template-columns: minmax(0, 1fr); }
}

/* cards */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid__full { grid-column: 1 / -1; }
.lead-grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: 20px; margin-top: 16px; }
.lead-grid .card--big { grid-row: span 2; }
@media (max-width: 720px) { .grid, .grid--2, .lead-grid { grid-template-columns: minmax(0, 1fr); } }
.card__img { display: block; aspect-ratio: 16/9; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__title { font-size: 1.05rem; line-height: 1.35; margin: .3em 0; }
.card--big .card__title { font-size: 1.6rem; }
.card__title a { color: var(--text); }
.card time { font-size: .8rem; color: var(--muted); }
.kicker { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; color: var(--accent); margin-top: 8px; }
.section-title { border-top: 3px solid var(--nba-blue); padding-top: 8px; color: var(--link); }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); padding: 10px 18px; border-radius: 8px; font-weight: 700; }

/* article */
.post__title { margin-top: .2em; }
.post__lead { font-size: 1.2rem; color: var(--muted); }
.post__meta { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.post__hero figcaption { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.post__hero img { border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.post__body { font-size: 1.1rem; line-height: 1.75; max-width: 720px; }
.post__body blockquote { border-left: 4px solid var(--accent); margin: 1em 0; padding: .2em 1em; color: var(--muted); }
.post__body table, .prose table { width: 100%; border-collapse: collapse; }
.post__source { font-size: .9rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.chip { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .88rem; }
.tags a { margin-right: 8px; font-size: .9rem; }

/* stats */
.table-scroll { overflow-x: auto; }
table.stats { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.stats th, .stats td { padding: 7px 8px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.stats th { font-size: .78rem; color: var(--muted); font-weight: 700; background: var(--surface); }
.stats .l { text-align: left; }
.stats tr.cut td { border-bottom: 2px solid var(--accent); }
.stats tr.cut2 td { border-bottom: 2px dashed var(--muted); }
.stats--narrow { width: auto; }
.box { background: var(--surface); border-radius: var(--radius); padding: 14px 16px; }
.box__title { font-size: 1rem; margin: 0 0 8px; padding-left: 8px; border-left: 4px solid var(--nba-red); }
.box { overflow-x: auto; }
.box .stats th, .box .stats td { padding: 5px 4px; font-size: .82rem; }
.box .stats .l { max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { padding: 4px 0; border-bottom: 1px solid var(--line); }
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 0; }
@media (max-width: 720px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tiles div { background: var(--surface); border-radius: var(--radius); padding: 10px; text-align: center; }
.tiles dt { font-size: .78rem; color: var(--muted); }
.tiles dd { margin: 0; font-size: 1.5rem; font-weight: 800; color: var(--link); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 0; }
.kv dd { margin: 0; font-weight: 700; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; }
.facts dt { font-size: .75rem; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.team-head, .player-head { display: flex; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 4px solid var(--team, var(--nba-blue)); margin-bottom: 8px; }
.big-stat { font-size: 2rem; font-weight: 800; margin: 0; }
.big-stat span { font-size: .9rem; color: var(--muted); font-weight: 400; }
.team-list { list-style: none; padding: 0; }
.team-list a { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; }
.tabs a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; }
.tabs a.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* daily games strip under the menu */
.sb { background: var(--nba-navy); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.sb__in { display: flex; align-items: stretch; gap: 12px; padding-block: 10px; }
.sb__days { display: flex; flex-direction: column; justify-content: center; gap: 4px; flex: none; }
.sb__day { appearance: none; border: 1px solid rgba(255,255,255,.22); background: transparent; color: #c9d4ea; font: inherit;
    font-size: .78rem; font-weight: 600; border-radius: 999px; padding: 3px 12px; cursor: pointer; white-space: nowrap; }
.sb__day[aria-selected="true"] { background: #fff; color: var(--nba-navy); border-color: #fff; }
.sb__day:focus-visible { outline: 2px solid var(--nba-red); outline-offset: 2px; }
.sb__tz { color: #8f9dbb; font-size: .7rem; text-align: center; }
.sb__track { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; flex: 1; min-width: 0; }
.sb__track[hidden] { display: none; }
.sb-game { scroll-snap-align: start; flex: none; width: 196px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px; padding: 8px 12px; color: #fff; display: grid; gap: 4px; transition: background .15s; }
.sb-game:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.sb-game__top { display: flex; justify-content: space-between; font-size: .72rem; color: #a9b7d3; font-weight: 600; letter-spacing: .02em; }
.sb-game__live { color: #ff5a6e; display: inline-flex; align-items: center; gap: 5px; }
.sb-game__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff3550; animation: sbpulse 1.4s infinite; }
@keyframes sbpulse { 50% { opacity: .3; } }
.sb-team { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 8px; font-size: .9rem; line-height: 1.5; }
.sb-team img { width: 24px; height: 24px; background: #fff; border-radius: 50%; padding: 2px; }
.sb-team b { font-weight: 800; letter-spacing: .02em; }
.sb-team small { color: #8f9dbb; font-size: .72rem; margin-left: 6px; font-weight: 400; }
.sb-team__pts { font-weight: 800; font-variant-numeric: tabular-nums; }
.sb-team--lost { color: #9fb0cf; }
.sb-team--lost .sb-team__pts { font-weight: 600; }
.sb__all { flex: none; display: flex; align-items: center; justify-content: center; text-align: center; width: 110px; border-radius: 10px;
    background: var(--nba-red); color: #fff; font-weight: 700; font-size: .85rem; line-height: 1.3; padding: 8px; }
.sb__all:hover { background: #a90d26; text-decoration: none; }
.sb__empty { color: #a9b7d3; font-size: .9rem; align-self: center; }
@media (max-width: 640px) {
    .sb__in { flex-wrap: wrap; }
    .sb__days { flex-direction: row; align-items: center; width: 100%; }
    .sb__all { display: none; }
    .sb-game { width: 172px; }
}
@media (prefers-reduced-motion: reduce) { .sb-game__live::before { animation: none; } }
.game-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; padding: 12px; border-bottom: 1px solid var(--line); color: var(--text); }
.game-row span:last-child { text-align: right; }
.pager { display: flex; gap: 6px; margin: 24px 0; flex-wrap: wrap; }
.pager a, .pager span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; }
.pager .on { background: var(--accent); color: var(--accent-ink); }
.search { display: flex; gap: 8px; }
.search input { flex: 1; padding: 10px 12px; font-size: 1rem; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--text); }
.search button { padding: 10px 18px; border: 0; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-weight: 700; }

/* ad slots: height is reserved up front so banners never push content (CLS = 0) */
.ad { position: relative; min-height: var(--ad-h-d); margin: 16px 0; display: flex; align-items: center; justify-content: center; }
.ad--center { margin-left: auto; margin-right: auto; }
.ad__label { position: absolute; top: -14px; left: 0; font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ad__18 { background: #b91c1c; color: #fff; padding: 0 4px; border-radius: 3px; margin-left: 4px; }
.ad__house { width: 100%; min-height: inherit; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); font-size: .85rem; }
.ad img { max-height: var(--ad-h-d); width: auto; }
.ad--sticky-mobile { display: none; }
@media (max-width: 767px) {
    .ad { min-height: var(--ad-h-m); }
    .ad img { max-height: var(--ad-h-m); }
    .ad--sticky-mobile { display: flex; position: fixed; bottom: 0; left: 0; right: 0; margin: 0; background: var(--bg); z-index: 30; box-shadow: 0 -2px 8px rgba(0,0,0,.15); }
    .ad--sticky-mobile .ad__label { display: none; }
    body { padding-bottom: 50px; }
}

/* ad map (?admap=1): shows each sellable position with size and price */
.ad--map { border: 2px dashed var(--nba-red); border-radius: 8px; background: repeating-linear-gradient(135deg, rgba(200,16,46,.06) 0 12px, rgba(29,66,138,.06) 12px 24px); }
.admap { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 8px; font-size: .9rem; color: var(--text); }
.admap strong { color: var(--accent); font-size: 1rem; }
.admap__size { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; font-weight: 700; color: var(--link); }
.admap__price { background: var(--nba-blue); color: #fff; border-radius: 999px; padding: 2px 10px; font-weight: 700; }
.admap code { font-size: .75rem; color: var(--muted); }
@media (max-width: 767px) { .admap__d { display: none; } }
@media (min-width: 768px) { .admap__m { opacity: .7; font-weight: 400; } }

.team-cell { display: inline-flex; align-items: center; gap: 6px; }
.team-cell img { width: 20px; height: 20px; flex: none; }

.player-cell { display: inline-flex; align-items: center; gap: 8px; }
.player-cell img { width: 40px; height: 29px; object-fit: cover; object-position: top; border-radius: 4px; background: var(--surface); flex: none; }
.player-head { position: relative; }
.player-head__photo { width: 260px; height: auto; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), transparent); }
.player-head__logo { position: absolute; left: 212px; bottom: 24px; width: 56px; height: 56px; background: #fff; border-radius: 50%; padding: 6px; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.team-head img { width: 88px; height: 88px; }
@media (max-width: 720px) { .player-head { flex-direction: column; align-items: flex-start; } .player-head__photo { width: 200px; } .player-head__logo { left: 160px; top: 120px; bottom: auto; } }

/* "Listen to the article" player */
.ap { --ap-bg: #13213d; --ap-ink: #fff; --ap-muted: #a9b7d3; --ap-track: rgba(255,255,255,.18);
    background: var(--ap-bg); color: var(--ap-ink); border-radius: 14px; padding: 20px 24px 18px; margin: 20px 0 24px; }
.ap p { margin: 0; }
.ap__top { display: flex; align-items: center; gap: 16px; }
.ap__info { flex: 1; min-width: 0; }
.ap__label { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; }
.ap__title { color: #dbe3f3; font-size: .95rem; margin-top: 4px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap__eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.ap__eq i { width: 3px; background: currentColor; border-radius: 1px; height: 6px; }
.ap__eq i:nth-child(2) { height: 14px; } .ap__eq i:nth-child(3) { height: 9px; }
.ap.is-playing .ap__eq i { animation: apeq 0.9s ease-in-out infinite; }
.ap.is-playing .ap__eq i:nth-child(2) { animation-delay: -.3s; } .ap.is-playing .ap__eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes apeq { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.ap__ctrls { display: flex; align-items: center; gap: 14px; flex: none; }
.ap button { appearance: none; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; padding: 0; display: inline-grid; place-items: center; }
.ap button:focus-visible, .ap__seek:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }
.ap__rate { min-width: 40px; height: 32px; font-weight: 800; font-size: .9rem; color: #dbe3f3; border-radius: 6px; }
.ap__rate:hover, .ap__skip:hover { color: #fff; background: rgba(255,255,255,.08); }
.ap__skip { width: 40px; height: 40px; border-radius: 50%; color: #dbe3f3; }
.ap__skip svg { width: 32px; height: 32px; }
.ap__play { width: 56px; height: 56px; border-radius: 50%; background: var(--nba-red) !important; color: #fff; box-shadow: 0 4px 14px rgba(200,16,46,.45); transition: transform .15s, background .15s; }
.ap__play:hover { background: #e0334f !important; transform: scale(1.05); }
.ap__play svg { width: 24px; height: 24px; }
.ap__i-pause, .ap.is-playing .ap__i-play { display: none; }
.ap.is-playing .ap__i-pause { display: block; }
.ap__bar { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.ap__time { font-variant-numeric: tabular-nums; font-weight: 700; font-size: .9rem; color: #dbe3f3; min-width: 44px; }
.ap__seek { --p: 0%; flex: 1; appearance: none; -webkit-appearance: none; height: 6px; border-radius: 3px; cursor: pointer; margin: 0;
    background: linear-gradient(to right, var(--nba-red) var(--p), var(--ap-track) var(--p)); }
.ap__seek::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--nba-red); border: 2px solid #fff; }
.ap__seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--nba-red); border: 2px solid #fff; }
.ap__seek::-moz-range-progress { background: var(--nba-red); height: 6px; border-radius: 3px; }
@media (max-width: 560px) {
    .ap { padding: 16px; }
    .ap__top { flex-wrap: wrap; }
    .ap__info { flex-basis: 100%; }
    .ap__ctrls { width: 100%; justify-content: space-between; }
    .ap__play { order: 2; }
    .ap__bar { gap: 10px; margin-top: 14px; }
    .ap__time { min-width: 0; font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) { .ap.is-playing .ap__eq i { animation: none; } }

/* headphone mark on cards that have audio */
.listen { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.listen svg { width: 14px; height: 14px; flex: none; }

/* ---------- mobile ---------- */
.menu-btn { display: none; }
.nav__search { display: none; }
.game-when { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin: 8px 0 24px; color: var(--muted); }
.game-when__time { font-size: 2.6rem; font-weight: 800; color: var(--text); line-height: 1; font-variant-numeric: tabular-nums; }

/* header follows the scroll: stays on top, gets compact with a shadow */
.topbar { transition: box-shadow .2s ease; }
.topbar__in, .logo img { transition: height .2s ease; }
body.is-scrolled .topbar { box-shadow: 0 6px 18px rgba(0,0,0,.28); }
.menu-backdrop { display: none; }

@media (max-width: 860px) {
    .topbar { position: sticky; top: 0; z-index: 40; }
    .topbar__in { height: 60px; gap: 12px; }
    .logo img { height: 40px; }
    body.is-scrolled .topbar__in { height: 52px; }
    body.is-scrolled .logo img { height: 34px; }
    .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; margin-left: -8px;
        padding: 10px; border: 0; background: none; cursor: pointer; border-radius: 10px; -webkit-tap-highlight-color: transparent; }
    .menu-btn:active { background: rgba(255,255,255,.12); }
    .menu-btn span { display: block; height: 2.5px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; transform-origin: center; }
    .menu-btn:focus-visible { outline: 2px solid #fff; }
    body.menu-open .menu-btn span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
    body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
    body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

    /* slide-down panel under the header */
    .nav { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0;
        background: var(--nba-blue); border-bottom: 4px solid var(--nba-red); padding: 6px 16px 18px; box-shadow: 0 16px 32px rgba(0,0,0,.35);
        max-height: calc(100dvh - 60px); overflow-y: auto; overscroll-behavior: contain;
        visibility: hidden; opacity: 0; transform: translateY(-10px); pointer-events: none;
        transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
    body.menu-open .nav { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition: opacity .2s ease, transform .2s ease; }
    .nav a { font-size: 1.1rem; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.14); opacity: 1; display: flex; justify-content: space-between; align-items: center; }
    .nav a::after { content: "›"; font-size: 1.4rem; line-height: 1; opacity: .55; }
    .nav a:hover, .nav a:active { box-shadow: none; background: rgba(255,255,255,.07); }
    .nav a[href$="/search"] { display: none; }
    .nav__search { display: block; margin-top: 16px; }
    .nav__search input { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 10px; border: 0; color: #111827; background: #fff; }

    /* dim the page behind the open menu and stop it from scrolling */
    .menu-backdrop { display: block; position: fixed; inset: 0; z-index: 30; background: rgba(5,12,28,.55);
        opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s; }
    body.menu-open .menu-backdrop { opacity: 1; visibility: visible; transition: opacity .2s ease; }
    body.menu-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
    .nav, .menu-backdrop, .menu-btn span, .topbar__in, .logo img { transition: none !important; }
}

@media (max-width: 720px) {
    body { font-size: 16px; }
    h1 { font-size: 1.55rem; }
    /* wide tables scroll sideways inside .table-scroll; the table itself keeps full width */
    .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-inline: -16px; padding-inline: 16px; }
    .box .table-scroll { margin-inline: 0; padding-inline: 0; }
    .stats th, .stats td { padding: 8px 6px; }
    .stats { font-size: .9rem; }
    /* the name column stays visible while the numbers scroll */
    .table-scroll .stats th.l, .table-scroll .stats td.l { position: sticky; left: 0; z-index: 1; background: var(--bg); }
    .table-scroll .stats th.l { background: var(--surface); }
    .box .table-scroll .stats td.l { background: var(--surface); }
    .stats td.l a { white-space: nowrap; }
    /* boxes are full width on phones: no 150px cap, long names wrap instead of being cut */
    .box .stats .l { max-width: none; overflow: visible; }
    .box .stats td.l a { white-space: normal; line-height: 1.3; }
    .pager { justify-content: center; }
    .pager a, .pager span { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; padding: 0 10px; }
    .crumbs { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}


/* player names linked inside article text */
.post__body a.pl { color: var(--link); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--link) 35%, transparent); text-underline-offset: 3px; font-weight: 600; }
.post__body a.pl:hover { text-decoration-color: currentColor; }

/* error pages */
.err { max-width: 720px; margin: 24px auto 48px; text-align: center; }
.err__code { font-size: 5rem; font-weight: 800; line-height: 1; color: var(--nba-red); margin: 16px 0 0; letter-spacing: -.02em; }
.err h1 { margin-top: 8px; }
.err__search { display: flex; gap: 8px; max-width: 480px; margin: 20px auto; }
.err__search input { flex: 1; font: inherit; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--text); }
.err .chips { justify-content: center; }
.err .grid { text-align: left; }

/* =====================================================================
   Redesign (Oct 2026): header, scoreboard, home, article, team, Georgians
   ===================================================================== */
:root { --card: #ffffff; --shadow: 0 1px 2px rgba(15,35,80,.06), 0 4px 14px rgba(15,35,80,.06); --tabbar-h: 60px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --card: #13213d; --shadow: none; } }
:root[data-theme="dark"] { --card: #13213d; --shadow: none; }

/* header: active item, Georgians dot, search */
.nav a.is-on { opacity: 1; box-shadow: inset 0 -3px 0 var(--nba-red); }
.nav__geo { display: inline-flex; align-items: center; gap: 6px; }
.nav__geo::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--nba-red); box-shadow: 0 0 0 2px rgba(255,255,255,.85); flex: none; }
.nav a { padding-block: 6px; }
.search-btn { margin-left: auto; flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.1); color: #fff; cursor: pointer; }
.search-btn:hover, .search-btn[aria-expanded="true"] { background: rgba(255,255,255,.2); }
.search-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.top-search { position: absolute; left: 0; right: 0; top: 100%; background: var(--nba-navy); border-bottom: 4px solid var(--nba-red); padding: 12px 0; box-shadow: 0 12px 24px rgba(0,0,0,.25); }
.top-search[hidden] { display: none; }
.top-search__in { display: flex; gap: 8px; }
.top-search input { flex: 1; min-width: 0; font: inherit; padding: 11px 14px; border: 0; border-radius: 10px; background: #fff; color: #111827; }
.top-search button { border: 0; border-radius: 10px; padding: 0 20px; background: var(--nba-red); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }

/* scoreboard: one slim row of controls above the games */
.sb__in { flex-direction: column; gap: 8px; padding-block: 10px 12px; }
.sb__head { display: flex; align-items: center; gap: 12px; }
.sb__days { flex-direction: row; gap: 2px; background: rgba(255,255,255,.08); border-radius: 999px; padding: 3px; }
.sb__day { border: 0; padding: 5px 14px; color: #c9d4ea; }
.sb__day[aria-selected="true"] { background: #fff; color: var(--nba-navy); }
.sb__tz { text-align: left; }
.sb__all { margin-left: auto; width: auto; background: none; padding: 4px 0; border-radius: 0; font-size: .88rem; color: #fff; display: inline-flex; }
.sb__all:hover { background: none; text-decoration: underline; }
.sb-game { width: 184px; }
@media (max-width: 640px) {
    .sb__in { flex-wrap: nowrap; }
    .sb__days { width: auto; }
    .sb__all { display: inline-flex; }
    .sb__tz { display: none; }
    .sb-game { width: 164px; }
}

/* one-line card meta: date · minutes · headphones */
.meta { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: .82rem; }
.meta time { font-size: inherit; color: inherit; }
.meta__audio { display: inline-flex; color: var(--link); }
.card__meta { gap: 0; }
.card .kicker { margin-top: 10px; font-size: .74rem; letter-spacing: .01em; text-transform: none; }
.card__title { font-weight: 800; }
.card__title a:hover { color: var(--link); text-decoration: none; }
.card__img img { transition: transform .3s ease; }
.card:hover .card__img img { transform: scale(1.03); }

/* home: hero with overlay + four side stories */
.top { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 20px; margin-top: 18px; }
.hero { position: relative; border-radius: 14px; overflow: hidden; background: var(--nba-navy); min-height: 100%; }
.hero__link { display: block; position: relative; height: 100%; min-height: 360px; color: #fff; }
.hero__link:hover { text-decoration: none; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hero__link:hover img { transform: scale(1.03); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,38,0) 30%, rgba(10,20,38,.55) 58%, rgba(10,20,38,.94) 100%); }
.hero__text { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 28px; display: grid; gap: 8px; }
.hero__kicker { justify-self: start; background: var(--nba-red); color: #fff; font-size: .78rem; font-weight: 800; border-radius: 6px; padding: 3px 10px; }
.hero__title { margin: 0; font-size: clamp(1.4rem, 2.4vw, 2.05rem); line-height: 1.25; font-weight: 800; text-wrap: balance; }
.hero .meta { color: #d5dcec; }
.hero .meta__audio { color: #fff; }
.top__side { display: grid; grid-template-rows: repeat(4, 1fr); gap: 10px; }
.mini { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border-radius: 12px; background: var(--card);
    box-shadow: var(--shadow); border: 1px solid var(--line); color: var(--text); }
.mini:hover { text-decoration: none; border-color: var(--link); }
.mini img { width: 112px; height: 74px; object-fit: cover; border-radius: 8px; }
.mini__kicker { display: block; color: var(--accent); font-size: .74rem; font-weight: 800; }
.mini__title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-weight: 700; font-size: .93rem; line-height: 1.35; }

/* home: Georgians band */
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--nba-red); box-shadow: 0 0 0 3px rgba(200,16,46,.25); }
.geo-band { margin: 24px 0 8px; background: linear-gradient(135deg, var(--nba-navy), var(--nba-blue)); color: #fff; border-radius: 16px; padding: 20px 22px 22px; }
.geo-band__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.geo-band h2 { margin: 0; font-size: 1.3rem; display: flex; align-items: center; gap: 10px; }
.geo-band__head a { color: #fff; font-weight: 700; font-size: .92rem; }
.geo-band__track { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }

/* player card (home band + /qartvelebi) */
.pc { display: flex; flex-direction: column; background: var(--card); color: var(--text); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.pc:hover { text-decoration: none; transform: translateY(-2px); transition: transform .15s ease; }
.pc__top { position: relative; height: 150px; background: linear-gradient(160deg, var(--team), color-mix(in srgb, var(--team) 55%, #000)); display: block; }
.pc__photo { position: absolute; right: 8px; bottom: 0; height: 140px; width: auto; }
.pc__logo { position: absolute; left: 12px; top: 12px; width: 32px; height: 32px; background: #fff; border-radius: 50%; padding: 3px; }
.pc__meta { position: absolute; left: 12px; bottom: 10px; color: #fff; font-size: .78rem; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,.5); max-width: 48%; line-height: 1.35; }
.pc__body { padding: 12px 14px 14px; display: grid; gap: 6px; }
.pc__name { font-size: 1.08rem; font-weight: 800; }
.pc__stats { display: flex; gap: 14px; font-size: .82rem; color: var(--muted); flex-wrap: wrap; }
.pc__stats b, .pin__stats b { color: var(--link); font-size: 1.15rem; font-weight: 800; margin-right: 2px; }
.pc__season { color: var(--muted); font-size: .75rem; }

/* home: latest + category chips */
.latest-head { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; border-top: 3px solid var(--nba-blue); margin-top: 1.4em; padding-top: 8px; margin-bottom: 14px; scroll-margin-top: 80px; }
.latest-head .section-title { border: 0; padding: 0; margin: 0; }
.fchips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.fchips a { flex: none; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--text); background: var(--card); }
.fchips a:hover { border-color: var(--link); text-decoration: none; }
.fchips a.is-on { background: var(--nba-blue); border-color: var(--nba-blue); color: #fff; }

/* sidebar widgets */
.box--card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 16px; }
.box__title small { color: var(--muted); font-weight: 400; font-size: .78rem; }
.seg { display: flex; gap: 2px; padding: 3px; background: var(--surface); border-radius: 999px; margin: 6px 0 10px; }
.seg button { flex: 1; border: 0; background: none; font: inherit; font-size: .85rem; font-weight: 700; color: var(--muted); padding: 6px 8px; border-radius: 999px; cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.mini-table .stats td { border-bottom: 1px solid var(--line); padding: 7px 4px; font-size: .88rem; }
.mini-table .stats td:first-child { width: 22px; color: var(--muted); }
.mini-table .stats td.r { text-align: right; font-weight: 700; }
.mini-table .stats tr.cut td { border-bottom: 2px solid var(--accent); }
.mini-table[hidden] { display: none; }
.more { display: inline-block; margin-top: 10px; font-weight: 700; font-size: .9rem; }
.leaders { list-style: none; margin: 0; padding: 0; }
.leaders a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.leaders a:hover { text-decoration: none; }
.leaders a:hover b { color: var(--link); }
.leaders img, .leaders__ph { width: 40px; height: 29px; object-fit: cover; object-position: top; border-radius: 6px; background: var(--surface); }
.leaders small { display: block; color: var(--muted); font-size: .74rem; }
.leaders b { font-size: .92rem; }
.leaders__v { font-weight: 800; font-size: 1.05rem; color: var(--link); font-variant-numeric: tabular-nums; }
.leaders__top a { grid-template-columns: 72px minmax(0, 1fr) auto; }
.leaders__top img { width: 72px; height: 53px; }
.leaders__top .leaders__v { font-size: 1.6rem; }

/* article */
.post__head { margin-bottom: 18px; }
.post__title { font-weight: 800; letter-spacing: -.005em; text-wrap: balance; }
.post__lead { margin: 0 0 14px; }
.post__meta { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 0; border-block: 1px solid var(--line); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--nba-blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem; flex: none; }
.post__by { display: grid; line-height: 1.35; min-width: 0; }
.post__by > a, .post__by > b { font-weight: 700; color: var(--text); }
.post__by > span { font-size: .84rem; }
.share { display: inline-flex; gap: 8px; margin-left: auto; flex: none; }
.share a, .share button { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; padding: 0; }
.share__fb { background: #1877f2 !important; border-color: #1877f2 !important; color: #fff !important; }
.share a:hover, .share button:hover { text-decoration: none; filter: brightness(.95); }
.share .i-ok, .share__copy.is-done .i-link { display: none; }
.share__copy.is-done .i-ok { display: block; color: #15803d; }
.share--big a { width: auto; border-radius: 999px; padding: 0 16px; gap: 8px; display: inline-flex; align-items: center; font-weight: 700; }
.post__share { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 28px 0 8px; padding: 14px 16px; background: var(--surface); border-radius: 12px; font-weight: 700; }
.post__share .share { margin-left: 0; }
.post__hero { margin: 0 0 6px; }
.post__hero img { border-radius: 14px; }
.pin { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 14px; align-items: end; margin: 1.2em 0; padding: 12px 14px 0; border: 1px solid var(--line); border-radius: 14px;
    color: var(--text); background: var(--card); box-shadow: var(--shadow); text-decoration: none !important; font-size: 1rem; line-height: 1.4; }
.pin:hover { border-color: var(--link); }
.pin img { width: 96px; height: 70px; object-fit: cover; object-position: top; }
.pin__body { display: grid; gap: 2px; padding-bottom: 12px; }
.pin__body > b { font-size: 1.02rem; font-weight: 800; }
.pin__body small { color: var(--muted); font-size: .8rem; }
.pin__stats { display: flex; gap: 14px; font-size: .82rem; color: var(--muted); flex-wrap: wrap; margin-top: 2px; }
.pin__go { align-self: center; font-size: .85rem; font-weight: 700; color: var(--link); padding-bottom: 12px; white-space: nowrap; }
.side-player { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; align-items: end; padding: 12px 12px 0; border-radius: 14px; color: var(--text); border: 1px solid var(--line);
    background: linear-gradient(180deg, color-mix(in srgb, var(--team) 14%, var(--card)), var(--card) 70%); box-shadow: var(--shadow); }
.side-player:hover { text-decoration: none; border-color: var(--link); }
.side-player img { width: 110px; height: 80px; object-fit: cover; object-position: top; }
.side-player > span { display: grid; gap: 2px; padding-bottom: 12px; }
.side-player small { color: var(--muted); font-size: .78rem; }
.popular { list-style: none; counter-reset: pop; margin: 0; padding: 0; }
.popular li { counter-increment: pop; display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .92rem; line-height: 1.4; font-weight: 600; }
.popular li:last-child { border: 0; }
.popular li::before { content: counter(pop); font-size: 1.3rem; font-weight: 800; color: var(--nba-red); line-height: 1.1; }
.popular a { color: var(--text); }
.listen-bar { display: none; }

/* team page */
.team-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; margin: 14px 0 0; padding: 24px 26px; border-radius: 16px; color: #fff;
    background: linear-gradient(120deg, var(--team), color-mix(in srgb, var(--team) 50%, #000)); border-bottom: 6px solid var(--team2); }
.team-hero__logo { width: 112px; height: 112px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.team-hero__logo img { width: 84px; height: 84px; }
.team-hero h1 { margin: 0; color: #fff; }
.team-hero h1 small { color: rgba(255,255,255,.75); }
.team-hero p { margin: 2px 0 10px; color: rgba(255,255,255,.85); font-size: .92rem; }
.team-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tchip { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 4px 12px; font-size: .84rem; }
.tchip--next { background: #fff; color: var(--nba-navy); border-color: #fff; }
.team-hero__season select { font: inherit; font-weight: 700; font-size: .9rem; padding: 9px 12px; border-radius: 10px; border: 0; background: #fff; color: #111827; cursor: pointer; }
.anchors { position: sticky; top: 64px; z-index: 10; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; background: var(--bg); border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.anchors a { flex: none; padding: 12px 14px; font-weight: 700; font-size: .92rem; color: var(--muted); }
.anchors a:hover { color: var(--text); text-decoration: none; box-shadow: inset 0 -3px 0 var(--nba-red); }
#next, #roster, #stats, #games, #news, #history { scroll-margin-top: 120px; }
.next-games { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.ng { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 12px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.ng:hover { text-decoration: none; border-color: var(--link); }
.ng__when { font-size: .76rem; font-weight: 700; color: var(--muted); }
.ng__opp { font-size: .86rem; font-weight: 700; line-height: 1.3; }
.tleaders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tl { display: grid; grid-template-columns: 90px minmax(0, 1fr); grid-template-rows: auto auto; align-items: end; gap: 0 10px; padding: 12px 12px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.tl:hover { text-decoration: none; border-color: var(--link); }
.tl img { grid-row: span 2; width: 90px; height: 66px; object-fit: cover; object-position: top; }
.tl > span:not(.tl__v) { display: grid; line-height: 1.3; }
.tl small { color: var(--muted); font-size: .76rem; }
.tl b { font-size: .9rem; }
.tl__v { font-size: 1.6rem; font-weight: 800; color: var(--link); padding-bottom: 8px; line-height: 1.2; }
.geo-badge { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 4px; background: var(--nba-red); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .04em; vertical-align: middle; }
.stats tr.is-geo td { background: color-mix(in srgb, var(--nba-red) 6%, transparent); }
.games-all summary { cursor: pointer; font-weight: 700; color: var(--link); padding: 8px 0; }
.res--w { color: #15803d; font-weight: 700; }
.res--l { color: var(--nba-red); font-weight: 700; }
.seasons li { display: flex; justify-content: space-between; gap: 8px; }
.seasons li span { color: var(--muted); font-size: .88rem; }
.seasons li.on a { font-weight: 800; }

/* /qartvelebi */
.geo-hero { margin: 16px 0 20px; padding: 26px 28px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--nba-navy), var(--nba-blue)); border-bottom: 5px solid var(--nba-red); }
.geo-hero h1 { margin: 4px 0 6px; color: #fff; }
.geo-hero p { margin: 0; color: #d5dcec; max-width: 680px; }
.geo-hero__eyebrow { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .85rem; color: #fff !important; }
.pc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.former { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.former a { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--text); }
.former a:hover { text-decoration: none; border-color: var(--link); }
.former img, .former__ph { width: 64px; height: 47px; object-fit: cover; object-position: top; border-radius: 8px; background: var(--surface); flex: none; display: grid; place-items: center; font-weight: 800; color: var(--muted); }
.former b { display: block; }
.former small { color: var(--muted); font-size: .8rem; }

/* bottom tab bar (phones) */
.tabbar { display: none; }

@media (max-width: 960px) {
    .top { grid-template-columns: minmax(0, 1fr); }
    .top__side { grid-template-rows: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .next-games { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .search-btn { width: 40px; height: 40px; margin-right: -4px; }
    .nav a.is-on { box-shadow: inset 4px 0 0 var(--nba-red); padding-left: 12px; }
    .nav__geo { justify-content: flex-start !important; }
    .nav__geo::after { margin-left: auto; }
    .tabbar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
        height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
        background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(15,35,80,.08); }
    .tabbar a { display: grid; justify-items: center; align-content: center; gap: 2px; color: var(--muted); font-size: .68rem; font-weight: 700; position: relative; -webkit-tap-highlight-color: transparent; }
    .tabbar a:hover { text-decoration: none; }
    .tabbar a.is-on { color: var(--link); }
    .tabbar a.is-on::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 3px; border-radius: 0 0 3px 3px; background: var(--nba-red); }
    body { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
    .ad--sticky-mobile { bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)) !important; }
    .footer { padding-bottom: 24px; }
    .anchors { top: 60px; }
    body.is-scrolled .anchors { top: 52px; }
    .listen-bar { position: fixed; left: 12px; right: 12px; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 10px); z-index: 34; display: flex; align-items: center; gap: 12px;
        background: #13213d; color: #fff; border-radius: 16px; padding: 8px 10px; box-shadow: 0 10px 30px rgba(15,35,80,.35); }
    .listen-bar[hidden] { display: none; }
    .listen-bar__play { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; background: var(--nba-red); color: #fff; display: grid; place-items: center; cursor: pointer; }
    .listen-bar .i-pause, .listen-bar.is-playing .i-play { display: none; }
    .listen-bar.is-playing .i-pause { display: block; }
    .listen-bar__text { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
    .listen-bar__text b { font-size: .9rem; }
    .listen-bar__text small { color: #a9b7d3; font-size: .76rem; font-variant-numeric: tabular-nums; }
    .listen-bar__fb { width: 44px; height: 44px; flex: none; border-radius: 50%; background: #1877f2; color: #fff; display: grid; place-items: center; }
}
@media (max-width: 720px) {
    .hero { border-radius: 0; margin-inline: -16px; }
    .hero__link { min-height: 0; aspect-ratio: 4 / 3.4; }
    .hero__text { padding: 18px 16px; }
    .top { margin-top: 0; gap: 12px; }
    .top__side { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .mini { border-radius: 0; border-width: 0 0 1px; box-shadow: none; background: none; padding: 10px 0; grid-template-columns: minmax(0, 1fr) 96px; }
    .mini img { order: 2; width: 96px; height: 64px; }
    /* Georgians: swipeable row */
    .geo-band { border-radius: 0; margin-inline: -16px; padding: 18px 16px; }
    .geo-band__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; gap: 12px; }
    .geo-band__track .pc { flex: 0 0 78%; scroll-snap-align: start; }
    /* compact list cards: thumbnail right, text left */
    .grid--list { gap: 0; }
    .grid--list .card { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); }
    .grid--list .card__img { order: 2; aspect-ratio: 4 / 3; border-radius: 8px; }
    .grid--list .kicker { margin-top: 0; }
    .grid--list .card__title { font-size: 1rem; margin: 2px 0 4px; }
    .latest-head { margin-top: 1em; }
    .fchips { width: 100%; margin-inline: -16px; padding-inline: 16px; width: calc(100% + 32px); }
    /* article */
    .post__hero { margin-inline: -16px; }
    .post__hero img { border-radius: 0; }
    .post__hero figcaption { padding-inline: 16px; }
    .post__meta .share { display: none; }
    .post__share { flex-direction: column; align-items: flex-start; }
    .pin { grid-template-columns: 76px minmax(0, 1fr) auto; gap: 10px; }
    .pin img { width: 76px; height: 56px; }
    /* team */
    .team-hero { grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 18px 16px; margin-inline: -16px; border-radius: 0; }
    .team-hero__logo { width: 72px; height: 72px; }
    .team-hero__logo img { width: 54px; height: 54px; }
    .team-hero h1 { font-size: 1.4rem; }
    .team-hero__chips { grid-column: 1 / -1; }
    .team-hero__text { display: contents; }
    .team-hero__text > h1, .team-hero__text > p { grid-column: 2; }
    .team-hero__season { grid-column: 1 / -1; }
    .team-hero__season select { width: 100%; }
    .anchors { margin-inline: -16px; padding-inline: 8px; }
    .next-games { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
    .ng { flex: 0 0 140px; scroll-snap-align: start; }
    .tleaders { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
    .tl { flex: 0 0 72%; scroll-snap-align: start; }
    .geo-hero { margin-inline: -16px; border-radius: 0; padding: 22px 16px; }
}
.pc__num { position: absolute; left: 14px; bottom: 6px; color: rgba(255,255,255,.9); font-size: 2.2rem; font-weight: 800; line-height: 1; text-shadow: 0 2px 6px rgba(0,0,0,.35); }
.pc__name { display: block; }
.pc__team { color: var(--muted); font-size: .8rem; }
.geo-band__track { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pc--more { justify-content: center; gap: 10px; padding: 22px; background: rgba(255,255,255,.08); border: 1px dashed rgba(255,255,255,.35); color: #dbe3f3; box-shadow: none; font-size: .9rem; line-height: 1.5; }
.pc--more__big { color: #fff; font-size: 1.2rem; font-weight: 800; line-height: 1.3; }
.pc--more b { color: #fff; }
.pin__stats > span, .pc__stats > span { white-space: nowrap; }
.side-player { grid-template-columns: 84px minmax(0, 1fr); }
.side-player img { width: 84px; height: 62px; }
.side-player .pin__stats { gap: 10px; }
.side-player .pin__stats b { font-size: 1rem; }
@media (max-width: 720px) {
    .pin__stats { gap: 10px; flex-wrap: nowrap; }
    .pin__stats b { font-size: 1rem; }
    .post__lead { font-size: 1.05rem; }
}

/* ---------- game page: arena scoreboard ---------- */
.gm { --digits: "Barlow Condensed", "Noto Sans Georgian", sans-serif; position: relative; overflow: hidden; margin: 14px 0 0; border-radius: 18px; color: #fff;
    background: linear-gradient(105deg, var(--c1) 0%, color-mix(in srgb, var(--c1) 70%, #050b1a) 46%, #0a1430 50%, color-mix(in srgb, var(--c2) 70%, #050b1a) 54%, var(--c2) 100%); }
.gm::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse at 50% 120%, rgba(255,255,255,.12), transparent 60%); }
.gm__status { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0; padding: 16px 16px 0; font-size: .85rem; }
.gm__live { display: inline-flex; align-items: center; gap: 8px; background: var(--nba-red); padding: 4px 12px; border-radius: 999px; font-weight: 800; }
.gm__live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: sbpulse 1.4s infinite; }
.gm__final { background: rgba(255,255,255,.16); padding: 4px 12px; border-radius: 999px; font-weight: 800; }
.gm__soon { font-weight: 700; }
.gm__type { color: rgba(255,255,255,.7); }
.gm__board { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; padding: 18px 28px 24px; }
.gm__team { display: grid; justify-items: center; gap: 6px; color: #fff; text-align: center; }
.gm__team:hover { text-decoration: none; }
.gm__team:hover .gm__name { text-decoration: underline; text-underline-offset: 4px; }
.gm__logo { width: 104px; height: 104px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0,0,0,.35); }
.gm__logo img { width: 76px; height: 76px; }
.gm__name { font-size: 1.25rem; font-weight: 800; line-height: 1.25; }
.gm__meta { font-size: .82rem; color: rgba(255,255,255,.75); }
.gm__team.is-lost .gm__logo { opacity: .75; }
.gm__center { display: grid; justify-items: center; }
.gm__score { font-family: var(--digits); font-weight: 700; font-size: clamp(4rem, 9vw, 7.5rem); line-height: .9; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: .12em; letter-spacing: .01em; text-shadow: 0 4px 24px rgba(0,0,0,.35); }
.gm__score i { font-style: normal; opacity: .5; font-size: .7em; transform: translateY(-.05em); }
.gm__score b.is-lost { opacity: .55; }
.gm__score--time { font-size: clamp(3.2rem, 7vw, 5.5rem); }
.gm__tz { font-size: .82rem; color: rgba(255,255,255,.75); margin-top: 6px; }
.gm__lines { position: relative; z-index: 1; background: rgba(5,11,26,.55); padding: 10px 20px 12px; display: grid; gap: 2px; justify-content: center; font-family: var(--digits); font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.gm__lrow { display: grid; grid-auto-flow: column; grid-auto-columns: 44px; align-items: center; text-align: center; }
.gm__lrow > :first-child { text-align: left; font-weight: 700; width: 56px; }
.gm__lrow--head { color: rgba(255,255,255,.6); font-size: .95rem; font-family: "Noto Sans Georgian", sans-serif; }
.gm__lrow b { font-weight: 700; color: #fff; }
.gm__refresh { text-align: center; font-size: .85rem; margin: 8px 0 0; }

.gm-body { margin-top: 8px; }
.gm-sec h2 { margin-top: 1.4em; }
.gm-empty p { max-width: 640px; }

/* leaders duel: visitor left, home right */
.duel { display: grid; gap: 10px; }
.duel__row { display: grid; grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr); align-items: center; gap: 10px; }
.duel__label { text-align: center; font-weight: 800; color: var(--muted); font-size: .85rem; }
.duel__p { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--text); min-width: 0; }
.duel__p:hover { text-decoration: none; border-color: var(--link); }
.duel__p--v { order: 0; }
.duel__p--h { grid-template-columns: auto minmax(0, 1fr) 64px; padding: 8px 8px 8px 12px; text-align: right; }
.duel__p--h img, .duel__p--h .duel__ph { order: 3; }
.duel__p--h .duel__who { order: 2; }
.duel__p--h .duel__v { order: 1; }
.duel__p img, .duel__ph { width: 64px; height: 47px; object-fit: cover; object-position: top; border-radius: 8px; background: var(--surface); }
.duel__who { display: grid; min-width: 0; line-height: 1.3; }
.duel__who b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .95rem; }
.duel__who small { color: var(--muted); font-size: .76rem; }
.duel__v { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 2.1rem; line-height: 1; color: var(--muted); font-variant-numeric: tabular-nums; }
.duel__v.is-top { color: var(--link); }

/* team comparison: mirrored bars */
.cmp { display: grid; gap: 8px; }
.cmp__head, .cmp__row { display: grid; grid-template-columns: 76px minmax(0, 1fr) 132px minmax(0, 1fr) 76px; align-items: center; gap: 10px; }
.cmp__head { font-weight: 800; font-size: .85rem; color: var(--muted); }
.cmp__head span:last-child { text-align: right; }
.cmp__label { text-align: center; font-size: .86rem; color: var(--muted); }
.cmp__v { font-weight: 800; font-variant-numeric: tabular-nums; display: grid; line-height: 1.2; }
.cmp__row > .cmp__v:last-child { text-align: right; }
.cmp__v small { font-weight: 400; color: var(--muted); font-size: .74rem; }
.cmp__v.is-best { color: var(--link); }
.cmp__bar { height: 10px; background: var(--surface); border-radius: 999px; overflow: hidden; display: flex; }
.cmp__bar--v { justify-content: flex-end; }
.cmp__bar i { display: block; height: 100%; border-radius: 999px; }
.cmp__bar--v i { background: var(--c1); }
.cmp__bar--h i { background: var(--c2); }

/* box score */
.seg--teams { max-width: 560px; }
.seg--teams button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.bx[hidden] { display: none; }
.bx td.hi { font-weight: 800; color: var(--link); }
.bx .pm--plus { color: #15803d; }
.bx .pm--minus { color: var(--nba-red); }
.bx tfoot td { font-weight: 800; border-top: 2px solid var(--line); background: var(--surface); }
.bx .geo-badge { margin-left: 6px; }

/* head to head */
.h2h { list-style: none; margin: 0; padding: 0; }
.h2h a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--text); font-variant-numeric: tabular-nums; }
.h2h li:last-child a { border: 0; }
.h2h__date { color: var(--muted); font-size: .85rem; }
.h2h__score { font-weight: 600; }
.h2h .is-w { font-weight: 800; color: var(--link); }

@media (max-width: 720px) {
    .gm { margin-inline: -16px; border-radius: 0; }
    .gm__board { gap: 6px; padding: 14px 10px 18px; }
    .gm__logo { width: 64px; height: 64px; }
    .gm__logo img { width: 46px; height: 46px; }
    .gm__name { font-size: .95rem; }
    .gm__meta { font-size: .72rem; }
    .gm__score { font-size: 3.4rem; }
    .gm__score--time { font-size: 2.8rem; }
    .gm__lines { font-size: 1rem; padding-inline: 10px; }
    .gm__lrow { grid-auto-columns: 34px; }
    .gm__lrow > :first-child { width: 44px; }
    .duel__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .duel__label { grid-column: 1 / -1; order: -1; text-align: left; margin-top: 4px; }
    .duel__p, .duel__p--h { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 10px 6px; gap: 4px; }
    .duel__p--h img, .duel__p--h .duel__ph, .duel__p--h .duel__who, .duel__p--h .duel__v { order: 0; }
    .duel__who b { white-space: normal; font-size: .85rem; }
    .cmp__head, .cmp__row { grid-template-columns: 54px minmax(0, 1fr) 84px minmax(0, 1fr) 54px; gap: 6px; }
    .cmp__label { font-size: .76rem; }
}
@media (prefers-reduced-motion: reduce) { .gm__live::before { animation: none; } }
.gm-body { max-width: 1040px; margin-inline: auto; }
.h2h { max-width: 520px; }
.seg--teams .abbr { display: none; }
@media (max-width: 720px) {
    .seg--teams .full { display: none; }
    .seg--teams .abbr { display: inline; }
    .duel__p, .duel__p--h { grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; justify-items: start; text-align: left; align-items: center; padding: 8px; column-gap: 8px; row-gap: 2px; }
    .duel__p img, .duel__ph { width: 44px; height: 32px; grid-row: 1; }
    .duel__who { grid-column: 1 / -1; grid-row: 2; }
    .duel__who small { display: none; }
    .duel__v { grid-column: 2; grid-row: 1; justify-self: end; font-size: 1.7rem; }
}
.gm-pre { margin: 18px 0 0; color: var(--muted); }
.stars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stars__team { border: 1px solid var(--line); border-top: 4px solid var(--team); border-radius: 14px; background: var(--card); padding: 12px 14px 4px; }
.stars__name { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.stars__p { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); color: var(--text); }
.stars__p:hover { text-decoration: none; }
.stars__p:hover b { color: var(--link); }
.stars__p img { width: 64px; height: 47px; object-fit: cover; object-position: top; }
.stars__p > span:nth-child(2) { display: grid; min-width: 0; line-height: 1.3; }
.stars__p small { color: var(--muted); font-size: .76rem; }
.stars__nums { display: flex; gap: 10px; font-size: .78rem; color: var(--muted); white-space: nowrap; }
.stars__nums b { font-family: "Barlow Condensed", sans-serif; font-size: 1.35rem; color: var(--link); margin-right: 2px; }
@media (max-width: 720px) {
    .stars { grid-template-columns: minmax(0, 1fr); }
    .stars__p { grid-template-columns: 52px minmax(0, 1fr); }
    .stars__p img { width: 52px; height: 38px; }
    .stars__nums { grid-column: 2; }
}

.share__ms { display: none !important; background: linear-gradient(135deg, #00b2ff, #006aff) !important; border-color: transparent !important; color: #fff !important; }
@media (hover: none) and (pointer: coarse) { .share__ms { display: inline-grid !important; } .share--big .share__ms { display: inline-flex !important; } }
.mini-table .stats tr.cut8 td { border-bottom: 2px dashed var(--muted); }
@media (max-width: 720px) { .pin__go { display: none; } }
/* box score team switch: two club-coloured buttons */
.bxtabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 6px 0 12px; }
.bxtab { appearance: none; font: inherit; cursor: pointer; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px;
    padding: 10px 14px 10px 10px; border-radius: 12px; border: 2px solid var(--line); background: var(--card); color: var(--text); text-align: left; transition: background .15s, border-color .15s; }
.bxtab:hover { border-color: var(--team); }
.bxtab:focus-visible { outline: 3px solid var(--team); outline-offset: 2px; }
.bxtab__logo { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.bxtab__name { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bxtab__pts { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 1.8rem; line-height: 1; font-variant-numeric: tabular-nums; }
.bxtab[aria-selected="true"] { background: var(--team); border-color: var(--team); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--team) 35%, transparent); }
.bxtabs .abbr { display: none; }
@media (max-width: 720px) {
    .bxtabs .full { display: none; }
    .bxtabs .abbr { display: inline; }
    .bxtab { grid-template-columns: 32px minmax(0, 1fr) auto; padding: 8px 12px 8px 8px; }
    .bxtab__logo { width: 32px; height: 32px; }
    .bxtab__logo img { width: 24px; height: 24px; }
    .bxtab__pts { font-size: 1.5rem; }
}

/* ---------- page head (list pages) ---------- */
.page-head { margin: 10px 0 14px; }
.page-head h1 { margin: .2em 0 .15em; }
.page-head h1 small { font-size: .55em; }
.page-head p { margin: 0; }

/* ---------- schedule ---------- */
.week { display: grid; grid-template-columns: 40px repeat(7, minmax(0, 1fr)) 40px; gap: 6px; margin: 10px 0 18px; }
.week__arrow { display: grid; place-items: center; border-radius: 12px; font-size: 1.5rem; color: var(--muted); border: 1px solid var(--line); background: var(--card); }
.week__arrow:hover { text-decoration: none; color: var(--text); border-color: var(--link); }
.week__day { display: grid; justify-items: center; gap: 0; padding: 8px 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); line-height: 1.25; }
.week__day:hover { text-decoration: none; border-color: var(--link); }
.week__day b { font-family: "Barlow Condensed", "Noto Sans Georgian", sans-serif; font-size: 1.6rem; line-height: 1.1; }
.week__dow { font-size: .78rem; font-weight: 700; color: var(--muted); }
.week__n { font-size: .72rem; color: var(--muted); }
.week__day.is-empty b { color: var(--muted); }
.week__day.is-today .week__dow { color: var(--nba-red); }
.week__day.is-on { background: var(--nba-navy); border-color: var(--nba-navy); color: #fff; }
.week__day.is-on .week__dow, .week__day.is-on .week__n, .week__day.is-on b { color: #fff; }
.sched { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.sg { position: relative; display: grid; gap: 4px; padding: 14px 16px 12px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--text); box-shadow: var(--shadow); overflow: hidden; }
.sg::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(var(--c1) 50%, var(--c2) 50%); }
.sg:hover { text-decoration: none; border-color: var(--link); }
.sg__status { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.sg__time { font-family: "Barlow Condensed", sans-serif; font-size: 1.3rem; color: var(--text); }
.sg__live { color: #fff; background: var(--nba-red); border-radius: 999px; padding: 2px 10px; display: inline-flex; align-items: center; gap: 6px; }
.sg__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: sbpulse 1.4s infinite; }
.sg__tag { background: var(--surface); border-radius: 999px; padding: 2px 10px; }
.sg__team { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.sg__logo { width: 36px; height: 36px; display: grid; place-items: center; }
.sg__name { font-weight: 800; font-size: 1rem; display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.sg__name small { font-weight: 400; color: var(--muted); font-size: .78rem; }
.sg__pts { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; }
.sg__team.is-lost .sg__name, .sg__team.is-lost .sg__pts { color: var(--muted); font-weight: 600; }
.sg__foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.sg__foot b { color: var(--text); }
.sg__go { color: var(--link); font-weight: 700; white-space: nowrap; }
.sched-empty { grid-column: 1 / -1; text-align: center; padding: 40px 16px; border: 1px dashed var(--line); border-radius: 14px; }
@media (max-width: 720px) {
    .week { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-inline: -8px; }
    .week__arrow { display: none; }
    .week__day { padding: 6px 2px; border-radius: 10px; }
    .week__day b { font-size: 1.3rem; }
    .week__n { display: none; }
    .sched { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

/* ---------- standings ---------- */
.page-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.pick select { font: inherit; font-weight: 700; padding: 9px 36px 9px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; }
.seg--conf { max-width: 420px; margin: 4px 0 12px; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 0 0 12px; font-size: .82rem; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.z-po, .rk--po { background: #16a34a; }
.z-pi, .rk--pi { background: #f59e0b; }
.z-out, .rk--out { background: #94a3b8; }
.legend .z-po { background: #16a34a; } .legend .z-pi { background: #f59e0b; } .legend .z-out { background: #94a3b8; }
.stand[hidden] { display: none; }
.stand__table tr.z-po, .stand__table tr.z-pi, .stand__table tr.z-out { background: none; }
.stand__table td { padding-block: 10px; }
.stand__table .team-cell { gap: 10px; font-weight: 700; }
.stand__table .team-cell img { width: 26px; height: 26px; }
.rk { display: inline-grid; place-items: center; min-width: 26px; height: 26px; border-radius: 8px; color: #fff; font-weight: 800; font-size: .82rem; }
.form { display: inline-flex; gap: 3px; }
.form i { font-style: normal; width: 20px; height: 20px; border-radius: 5px; display: grid; place-items: center; font-size: .66rem; font-weight: 800; color: #fff; }
.form i.w { background: #16a34a; }
.form i.l { background: var(--nba-red); }

/* ---------- leaders ---------- */
.fchips--wrap { flex-wrap: wrap; margin-bottom: 16px; }
.lb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.lb { border: 1px solid var(--line); border-radius: 16px; background: var(--card); overflow: hidden; box-shadow: var(--shadow); }
.lb__title { margin: 0; padding: 12px 16px 0; font-size: 1rem; }
.lb__title a { color: var(--text); }
.lb__top { display: grid; grid-template-columns: 120px minmax(0, 1fr); grid-template-rows: auto auto; align-items: end; column-gap: 10px; margin: 8px 12px 0; padding: 10px 12px 0 0; border-radius: 12px; color: #fff;
    background: linear-gradient(135deg, var(--team), color-mix(in srgb, var(--team) 55%, #000)); }
.lb__top:hover { text-decoration: none; filter: brightness(1.05); }
.lb__photo { grid-row: 1 / span 2; align-self: end; }
.lb__photo img { width: 120px; height: 88px; object-fit: cover; object-position: top; display: block; }
.lb__who { display: grid; gap: 2px; line-height: 1.25; align-self: start; padding-top: 4px; min-width: 0; }
.lb__who b { font-size: 1rem; }
.lb__who small { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.85); font-size: .78rem; }
.lb__who small img { background: #fff; border-radius: 50%; padding: 1px; }
.lb__v { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 2.6rem; line-height: 1; padding-bottom: 10px; }
.lb__list { list-style: none; margin: 6px 0 8px; padding: 0 16px; }
.lb__list a { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--text); font-size: .92rem; }
.lb__list li:last-child a { border: 0; }
.lb__list a:hover { text-decoration: none; color: var(--link); }
.lb__rk { color: var(--muted); font-weight: 700; }
.lb__nm small { color: var(--muted); font-size: .76rem; }
.lb__list b { font-variant-numeric: tabular-nums; }
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 14px; align-items: end; margin-bottom: 18px; }
.pod { position: relative; display: grid; justify-items: center; text-align: center; gap: 4px; padding: 14px 12px 14px; border-radius: 16px; color: #fff;
    background: linear-gradient(160deg, var(--team), color-mix(in srgb, var(--team) 50%, #000)); }
.pod:hover { text-decoration: none; filter: brightness(1.05); }
.pod--1 { order: 2; padding-top: 22px; } .pod--2 { order: 1; } .pod--3 { order: 3; }
.pod img { width: 170px; height: auto; max-width: 100%; }
.pod--1 img { width: 210px; }
.pod__rk { position: absolute; left: 12px; top: 10px; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--nba-navy); display: grid; place-items: center; font-weight: 800; }
.pod--1 .pod__rk { background: #f2b705; color: #3a2600; }
.pod__who { display: grid; line-height: 1.3; }
.pod__who small { color: rgba(255,255,255,.8); font-size: .78rem; }
.pod__v { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 2.6rem; line-height: 1; }
.pod--1 .pod__v { font-size: 3.2rem; }
@media (max-width: 720px) {
    .lb-grid { grid-template-columns: minmax(0, 1fr); }
    .podium { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
    .pod { padding: 10px 4px; border-radius: 12px; }
    .pod img, .pod--1 img { width: 100%; }
    .pod__who b { font-size: .78rem; }
    .pod__who small { display: none; }
    .pod__v, .pod--1 .pod__v { font-size: 1.8rem; }
    .pod__rk { width: 24px; height: 24px; left: 6px; top: 6px; font-size: .8rem; }
}

/* ---------- teams index ---------- */
.conf { margin-bottom: 8px; }
.divs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.div h3 { font-size: .9rem; color: var(--muted); margin: 0 0 8px; font-weight: 700; }
.tt { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 14px 10px 14px; margin-bottom: 8px;
    border: 1px solid var(--line); border-left: 5px solid var(--team); border-radius: 12px; background: var(--card); color: var(--text); }
.tt:hover { text-decoration: none; background: color-mix(in srgb, var(--team) 7%, var(--card)); }
.tt__logo { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.tt__name { display: grid; line-height: 1.3; min-width: 0; }
.tt__name small { color: var(--muted); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tt__rec { display: grid; justify-items: end; line-height: 1.2; font-variant-numeric: tabular-nums; }
.tt__rec b { font-family: "Barlow Condensed", sans-serif; font-size: 1.3rem; }
.tt__rec small { color: var(--muted); font-size: .76rem; }
@media (max-width: 960px) { .divs { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* ---------- news list ---------- */
.fchips--bar { margin: 0 0 18px; padding-bottom: 2px; }
.fchips a small { color: inherit; opacity: .6; font-size: .78em; margin-left: 2px; }
.lead-story { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; align-items: center; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.lead-story__img { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface); }
.lead-story__img img { width: 100%; height: 100%; object-fit: cover; }
.lead-story__title { font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.3; margin: .25em 0 .4em; font-weight: 800; text-wrap: balance; }
.lead-story__title a { color: var(--text); }
.lead-story p { color: var(--muted); margin: 0 0 10px; }
.news-grid { gap: 22px 20px; }
.wtop__list { list-style: none; margin: 0; padding: 0; }
.wtop__list a { display: grid; grid-template-columns: 26px minmax(0, 1fr) 72px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: .9rem; line-height: 1.35; }
.wtop__list li:last-child a { border: 0; padding-bottom: 2px; }
.wtop__list a:hover { text-decoration: none; color: var(--link); }
.wtop__n { font-family: "Barlow Condensed", sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--nba-red); line-height: 1; }
.wtop__t { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.wtop__t small { display: block; color: var(--accent); font-size: .72rem; font-weight: 800; }
.wtop__list img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; }
.tagcloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tagcloud a { padding: 4px 10px; border-radius: 999px; background: var(--surface); color: var(--text); font-size: .82rem; }
.tagcloud a:hover, .tagcloud a.is-on { background: var(--nba-blue); color: #fff; text-decoration: none; }
@media (max-width: 720px) {
    .lead-story { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .lead-story__img { margin-inline: -16px; border-radius: 0; }
    .fchips--bar { margin-inline: -16px; padding-inline: 16px; width: calc(100% + 32px); }
}
@media (min-width: 721px) {
    .news-grid .card__title { font-size: 1.08rem; }
}
.snd { appearance: none; font: inherit; font-size: .82rem; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--muted); cursor: pointer; vertical-align: middle; }
.snd:hover { border-color: var(--link); color: var(--text); }
.snd .snd__on, .snd.is-on .snd__off { display: none; }
.snd.is-on .snd__on { display: block; }
.snd.is-on { background: var(--nba-blue); border-color: var(--nba-blue); color: #fff; }
.snd:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }

/* sidebar tabs (conference / day leaders) */
.tabs2 { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin: 4px 0 8px; border-bottom: 2px solid var(--line); }
.tabs2 button { position: relative; border: 0; background: none; font: inherit; font-size: .9rem; font-weight: 700; color: var(--muted); padding: 9px 4px 10px; cursor: pointer; transition: color .15s; }
.tabs2 button::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: -2px; height: 3px; border-radius: 3px 3px 0 0; background: var(--nba-red, #c8102e); transform: scaleX(0); transition: transform .2s ease; }
.tabs2 button:hover { color: var(--text); }
.tabs2 button[aria-selected="true"] { color: var(--text); }
.tabs2 button[aria-selected="true"]::after { transform: scaleX(1); }
.tabs2 button:focus-visible { outline: 2px solid var(--link); outline-offset: -2px; border-radius: 6px; }

/* day leaders */
.dayl__list { list-style: none; margin: 0; padding: 0; }
.dayl__list[hidden] { display: none; }
.dayl__list a { display: grid; grid-template-columns: 18px 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.dayl__list li:last-child a { border-bottom: 0; }
.dayl__list a:hover { text-decoration: none; }
.dayl__list a:hover b { color: var(--link); }
.dayl__rk { color: var(--muted); font-weight: 700; font-size: .85rem; text-align: center; }
.dayl__list img, .dayl__ph { width: 40px; height: 29px; object-fit: cover; object-position: top; border-radius: 6px; background: var(--surface); }
.dayl__nm { min-width: 0; }
.dayl__nm b { display: block; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dayl__nm small { color: var(--muted); font-size: .74rem; font-weight: 700; letter-spacing: .5px; }
.dayl__v { font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.dayl__list .is-top a { grid-template-columns: 18px 64px minmax(0, 1fr) auto; padding: 10px 0; }
.dayl__list .is-top img, .dayl__list .is-top .dayl__ph { width: 64px; height: 47px; }
.dayl__list .is-top .dayl__v { font-size: 1.9rem; color: var(--nba-red, #c8102e); }
.dayl__list .is-top b { font-size: 1rem; }

/* scoreboard strip: slim rounded scrollbar in the bar's own colours + arrow buttons */
.sb__in { position: relative; }
.sb__track { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.28) transparent; padding-bottom: 8px; scroll-behavior: smooth; }
.sb__track::-webkit-scrollbar { height: 6px; }
.sb__track::-webkit-scrollbar-track { background: rgba(255,255,255,.06); border-radius: 999px; margin-inline: 4px; }
.sb__track::-webkit-scrollbar-thumb { background: rgba(255,255,255,.28); border-radius: 999px; }
.sb__track::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.5); }
.sb__track::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.sb__arrow { position: absolute; top: 50%; z-index: 2; width: 34px; height: 34px; margin-top: -21px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
    background: rgba(15,35,80,.92); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.35); transition: opacity .2s, background .15s; }
.sb__arrow:hover { background: var(--nba-red); border-color: var(--nba-red); }
.sb__arrow[disabled] { opacity: 0; pointer-events: none; }
.sb__arrow--prev { left: var(--sb-left, 0); }
.sb__arrow--next { right: 6px; }
@media (pointer: coarse) {
    .sb__arrow { display: none; }
    .sb__track { scrollbar-width: none; padding-bottom: 0; }
    .sb__track::-webkit-scrollbar { display: none; }
}

/* search suggestions */
.sugg-host { position: relative; }
.sugg { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; min-width: min(420px, calc(100vw - 32px)); max-height: min(70vh, 520px); overflow-y: auto;
    background: var(--card, #fff); color: var(--text); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(10,20,40,.22); padding: 6px; text-align: left; }
.nav__search .sugg { left: auto; right: 0; width: 420px; }
.sugg[hidden] { display: none; }
.sugg__it { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 8px; border-radius: 10px; color: var(--text); }
.sugg__it:hover, .sugg__it.is-on { background: var(--surface); text-decoration: none; }
.sugg__it img, .sugg__ph { width: 44px; height: 32px; object-fit: cover; object-position: top; border-radius: 6px; background: var(--surface); }
.sugg__it--team img { object-fit: contain; background: #fff; padding: 2px; }
.sugg__tx { min-width: 0; }
.sugg__tx b { display: block; font-size: .92rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sugg__tx small { display: block; color: var(--muted); font-size: .75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sugg__ty { font-size: .68rem; font-weight: 800; letter-spacing: .3px; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.sugg__it--player .sugg__ty { background: rgba(29,66,138,.12); color: var(--nba-blue); }
.sugg__it--team .sugg__ty { background: rgba(21,128,61,.12); color: #15803d; }
.sugg__it--news .sugg__ty { background: rgba(200,16,46,.12); color: var(--nba-red); }
.sugg__all { display: block; padding: 9px 10px 6px; margin-top: 4px; border-top: 1px solid var(--line); font-weight: 700; font-size: .88rem; }
.sugg__none { margin: 0; padding: 12px; color: var(--muted); font-size: .9rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sugg__it--player .sugg__ty { color: #8fb3ff; } :root:not([data-theme="light"]) .sugg__it--team .sugg__ty { color: #5ee08f; } :root:not([data-theme="light"]) .sugg__it--news .sugg__ty { color: #ff7d8e; } }
/* search results */
.sres { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.sres a { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: var(--card, #fff); }
.sres a:hover { border-color: var(--link); text-decoration: none; }
.sres img, .sres__ph { width: 52px; height: 38px; object-fit: cover; object-position: top; border-radius: 6px; background: var(--surface); flex: none; }
.sres--teams img { width: 38px; object-fit: contain; }
.sres b { display: block; font-size: .92rem; }
.sres small { display: block; color: var(--muted); font-size: .76rem; }
@media (max-width: 640px) {
    .sb__head { min-width: 0; }
    .sb__days { flex: 1; min-width: 0; }
    .sb__day { flex: 1; min-width: 0; padding: 6px 4px; font-size: .74rem; overflow: hidden; text-overflow: ellipsis; }
    .sb__all { display: none; }
    .sb__arrow { display: none; }
}
.player-cell .jn { color: var(--muted); font-size: .75rem; font-weight: 600; margin-left: 4px; white-space: nowrap; }
.tchip--next { border-radius: 14px; line-height: 1.35; }
.mini-table td.l { max-width: 0; width: 100%; }
.mini-table .team-cell { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-table .team-cell img { vertical-align: -4px; margin-right: 8px; }
