:root {
    --bg: #060b16;
    --bg-2: #0a1222;
    --panel: rgba(13, 21, 38, 0.92);
    --panel-2: rgba(30, 41, 59, 0.5);
    --panel-3: rgba(255, 255, 255, 0.035);
    --line: rgba(148, 163, 184, 0.14);
    --line-2: rgba(148, 163, 184, 0.26);
    --text: #e8eef7;
    --muted: #94a3b8;
    --gold: #facc15;
    --gold-2: #f59e0b;
    --orange: #fb923c;
    --good: #4ade80;
    --bad: #f87171;
    --nba: #f97316;
    --nhl: #67e8f9;
    --nfl: #4ade80;
    --mlb: #f87171;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    --num: "Bahnschrift", "DIN Alternate", "DIN Condensed", "Roboto Condensed", "Arial Narrow", sans-serif;
    --glow-a: rgba(250, 204, 21, 0.13);
    --glow-b: rgba(56, 189, 248, 0.08);
    --dots: rgba(148, 163, 184, 0.09);
    color-scheme: dark;
}
html.theme-light {
    --bg: #f3f5f9;
    --bg-2: #e8edf4;
    --panel: #ffffff;
    --panel-2: #f1f5f9;
    --panel-3: #f8fafc;
    --line: rgba(100, 116, 139, 0.16);
    --line-2: rgba(100, 116, 139, 0.3);
    --text: #0f172a;
    --muted: #64748b;
    --gold: #b45309;
    --gold-2: #d97706;
    --orange: #c2410c;
    --good: #15803d;
    --bad: #b91c1c;
    --nba: #c2410c;
    --nhl: #0e7490;
    --nfl: #15803d;
    --mlb: #b91c1c;
    --shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
    --glow-a: rgba(234, 179, 8, 0.16);
    --glow-b: rgba(14, 116, 144, 0.08);
    --dots: rgba(100, 116, 139, 0.13);
    color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%) fixed;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.45;
    overflow-x: hidden;
}
a { color: inherit; }
img { display: block; }
.num { font-family: var(--num); font-variant-numeric: tabular-nums; }

.tn-bg {
    position: absolute; inset: 0 0 auto 0; height: 760px; pointer-events: none; z-index: 0;
    background:
        radial-gradient(700px 420px at 82% 60px, var(--glow-a), transparent 70%),
        radial-gradient(640px 380px at 8% 0, var(--glow-b), transparent 70%),
        radial-gradient(var(--dots) 1px, transparent 1.4px) 0 0 / 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%);
}
.tn-wrap { position: relative; z-index: 1; max-width: 1160px; margin: 0 auto; padding: 0 16px 96px; }

/* ── top bar ── */
.tn-bar { display: flex; align-items: center; gap: 18px; padding: 14px 0 4px; }
.tn-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.tn-brand img { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); }
.tn-brand b { font-size: 1.05rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.tn-brand b span { color: var(--gold); }
.tn-bar__nav { display: flex; gap: 2px; margin-left: 8px; }
.tn-bar__nav a {
    padding: 7px 12px; border-radius: 10px; text-decoration: none; font-size: 0.82rem; font-weight: 800;
    letter-spacing: 0.06em; color: var(--muted);
}
.tn-bar__nav a:hover { color: var(--text); background: var(--panel-3); }
.tn-bar__right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.tn-icon-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 38px; min-width: 38px; padding: 0 14px; border-radius: 999px;
    border: 1px solid var(--line-2); background: var(--panel); color: var(--text);
    font: inherit; font-size: 0.82rem; font-weight: 800; cursor: pointer; text-decoration: none;
}
.tn-icon-btn:hover { border-color: var(--gold); }
.tn-icon-btn--discord { background: #5865f2; border-color: #5865f2; color: #fff; }
.tn-icon-btn--discord:hover { background: #4752c4; border-color: #4752c4; }

/* ── hero ── */
.tn-hero {
    position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px; align-items: center;
    margin-top: 14px; padding: 34px 36px; border-radius: 28px; overflow: hidden;
    background:
        radial-gradient(420px 320px at 88% 50%, rgba(250, 204, 21, 0.16), transparent 70%),
        linear-gradient(135deg, rgba(23, 32, 54, 0.92) 0%, rgba(10, 17, 32, 0.92) 60%, rgba(30, 20, 8, 0.9) 100%);
    border: 1px solid rgba(250, 204, 21, 0.18);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
html.theme-light .tn-hero {
    background:
        radial-gradient(420px 320px at 88% 50%, rgba(250, 204, 21, 0.22), transparent 70%),
        linear-gradient(135deg, #ffffff 0%, #fbfcfe 55%, #fff8e6 100%);
    border-color: rgba(217, 119, 6, 0.22);
}
.tn-hero__copy { min-width: 0; }
.tn-hero__top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tn-kicker {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.74rem; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange);
}
.tn-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.18); }
.tn-daynav { display: inline-flex; margin-left: auto; padding: 3px; border-radius: 999px; background: var(--panel-3); border: 1px solid var(--line); }
.tn-daynav a {
    padding: 5px 12px; border-radius: 999px; text-decoration: none; font-size: 0.76rem; font-weight: 800; color: var(--muted); white-space: nowrap;
}
.tn-daynav a:hover { color: var(--text); background: var(--panel-2); }
.tn-daynav a.is-on { color: #1c1917; background: linear-gradient(135deg, #fde047, #f59e0b); }
.tn-title {
    margin-top: 14px; font-size: clamp(2.3rem, 6.2vw, 4rem); font-weight: 900; line-height: 0.98; letter-spacing: -0.03em;
}
.tn-title span {
    background: linear-gradient(135deg, #fde68a 0%, #facc15 40%, #f59e0b 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
html.theme-light .tn-title span { background-image: linear-gradient(135deg, #d97706, #b45309); }
.tn-lede { margin-top: 12px; color: var(--muted); font-weight: 600; font-size: 1rem; }
.tn-lede b { color: var(--text); font-weight: 800; }
.tn-lede i { font-style: normal; opacity: 0.5; margin: 0 6px; }

/* ── search ── */
.tn-search { position: relative; margin-top: 20px; max-width: 620px; }
.tn-search input {
    width: 100%; height: 54px; padding: 0 18px 0 48px; border-radius: 16px;
    border: 1px solid var(--line-2); background: rgba(2, 6, 23, 0.55); color: var(--text);
    font: inherit; font-size: 1rem; font-weight: 600; outline: none;
}
html.theme-light .tn-search input { background: #fff; }
.tn-search input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.18); }
.tn-search__icon { position: absolute; left: 17px; top: 17px; font-size: 1.05rem; opacity: 0.75; pointer-events: none; }
.tn-search__hint { position: absolute; right: 14px; top: 16px; font-size: 0.72rem; color: var(--muted); border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 7px; pointer-events: none; }
#tnResults { max-width: 620px; }
#tnResults:empty { display: none; }

.tn-next {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px;
    font-size: 0.84rem; font-weight: 700; color: var(--muted);
}
.tn-next:empty { display: none; }
.tn-next__label { font-size: 0.66rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.tn-next__game { color: var(--text); font-weight: 800; text-decoration: none; }
.tn-next__game:hover { color: var(--gold); }
.tn-next__in {
    padding: 3px 10px; border-radius: 999px; font-family: var(--num); font-weight: 800; font-size: 0.82rem;
    background: rgba(250, 204, 21, 0.12); color: var(--gold); border: 1px solid rgba(250, 204, 21, 0.3);
}
.tn-next__live {
    display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px; border-radius: 999px;
    background: rgba(248, 113, 113, 0.12); color: var(--bad); border: 1px solid rgba(248, 113, 113, 0.35); font-weight: 900; font-size: 0.8rem;
}
.tn-next__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: tn-pulse 1.4s infinite; }

.tn-hero__art { position: relative; }
.tn-hero__art::before {
    content: ""; position: absolute; inset: -18px; border-radius: 40px;
    background: conic-gradient(from 210deg, rgba(250, 204, 21, 0.55), rgba(249, 115, 22, 0.15), rgba(250, 204, 21, 0.05), rgba(250, 204, 21, 0.55));
    filter: blur(22px); opacity: 0.55;
}
.tn-hero__goblin {
    position: relative; width: 250px; height: 250px; border-radius: 30px; object-fit: cover;
    border: 2px solid rgba(250, 204, 21, 0.6);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 0 6px rgba(250, 204, 21, 0.07);
    transform: rotate(2deg);
}

/* ── cheat-sheet tiles ── */
.tn-sheets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.tn-sheet {
    position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center;
    padding: 14px 14px 14px 16px; border-radius: 18px; text-decoration: none;
    background: var(--panel); border: 1px solid var(--line); overflow: hidden;
    transition: border-color 140ms ease, transform 140ms ease;
}
.tn-sheet::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.tn-sheet:hover { border-color: color-mix(in srgb, var(--c) 60%, transparent); transform: translateY(-2px); }
.tn-sheet__icon {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; font-size: 1.35rem;
    background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
}
.tn-sheet__body { display: grid; min-width: 0; }
.tn-sheet__body small { font-size: 0.64rem; font-weight: 900; letter-spacing: 0.14em; color: var(--c); }
.tn-sheet__body b { font-size: 0.98rem; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tn-sheet__status { display: flex; align-items: center; gap: 6px; font-size: 0.76rem; font-weight: 700; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tn-sheet__status i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.tn-sheet--up .tn-sheet__status { color: var(--text); }
.tn-sheet--up .tn-sheet__status i { background: var(--good); box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18); }
.tn-sheet--wait .tn-sheet__status i { background: var(--gold-2); }
.tn-sheet--off { opacity: 0.72; }
.tn-sheet__go { font-size: 1.1rem; font-weight: 900; color: var(--muted); transition: transform 140ms ease, color 140ms ease; }
.tn-sheet:hover .tn-sheet__go { color: var(--c); transform: translateX(3px); }

/* ── section heads ── */
.tn-section { margin-top: 34px; }
.tn-section__head { display: flex; align-items: flex-end; gap: 10px 14px; flex-wrap: wrap; margin-bottom: 14px; }
.tn-eyebrow { display: block; font-size: 0.66rem; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.tn-section__title { font-size: 1.45rem; font-weight: 900; letter-spacing: -0.01em; line-height: 1.15; }
.tn-section__meta { color: var(--muted); font-size: 0.86rem; font-weight: 600; }
.tn-section__more { margin-left: auto; font-size: 0.8rem; font-weight: 800; color: var(--muted); text-decoration: none; }
.tn-section__more:hover { color: var(--gold); }

/* ── picks ── */
.tn-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 16px 14px; }
.tn-pick {
    position: relative; display: grid; grid-template-columns: 70px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 14px; align-content: start;
    padding: 30px 14px 0; border-radius: 18px; text-decoration: none; overflow: hidden;
    border: 1.5px solid rgba(250, 204, 21, 0.7);
    background:
        radial-gradient(260px 140px at 0% 0%, rgba(250, 204, 21, 0.2), transparent 70%),
        linear-gradient(150deg, rgba(66, 32, 6, 0.92) 0%, rgba(92, 45, 12, 0.7) 45%, rgba(13, 21, 38, 0.95) 100%);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
    transition: transform 140ms ease, box-shadow 140ms ease;
}
.tn-pick:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(250, 204, 21, 0.5); }
.tn-pick--gem {
    border-color: rgba(207, 250, 254, 0.85);
    background:
        radial-gradient(260px 140px at 0% 0%, rgba(207, 250, 254, 0.2), transparent 70%),
        linear-gradient(160deg, rgba(22, 52, 78, 0.95) 0%, rgba(15, 35, 58, 0.92) 50%, rgba(13, 21, 38, 0.96) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 10px 28px rgba(0, 0, 0, 0.3), 0 0 18px rgba(103, 232, 249, 0.14);
}
.tn-pick--gem:hover { box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(207, 250, 254, 0.6), 0 0 22px rgba(103, 232, 249, 0.25); }
html.theme-light .tn-pick { background: linear-gradient(150deg, #fffbeb 0%, #fef3c7 55%, #fff7ed 100%); border-color: rgba(217, 119, 6, 0.75); box-shadow: 0 8px 22px rgba(146, 64, 14, 0.1); }
html.theme-light .tn-pick--gem { background: linear-gradient(160deg, #ffffff 0%, #ecfeff 45%, #cffafe 100%); border-color: rgba(34, 211, 238, 0.75); box-shadow: 0 8px 22px rgba(14, 116, 144, 0.1); }
.tn-pick__photo {
    grid-row: 1 / 3; align-self: center; position: relative; width: 70px; height: 70px; border-radius: 50%; overflow: hidden;
    background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.16), rgba(2, 6, 23, 0.6));
    border: 2px solid rgba(250, 204, 21, 0.85); box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.12);
    display: grid; place-items: center; font-weight: 900; font-size: 1.2rem; color: rgba(255, 255, 255, 0.7);
}
.tn-pick--gem .tn-pick__photo { border-color: rgba(207, 250, 254, 0.95); box-shadow: 0 0 0 4px rgba(103, 232, 249, 0.14), 0 0 14px rgba(103, 232, 249, 0.3); }
html.theme-light .tn-pick__photo { background: radial-gradient(circle at 50% 30%, #fff, #e2e8f0); color: #64748b; }
.tn-pick__photo img, .tn-play__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; transform: scale(1.12); transform-origin: 50% 0; }
.is-img { color: transparent !important; }
.tn-pick__badge {
    position: absolute; top: 0; left: 0; padding: 4px 12px 4px 12px; border-radius: 0 0 12px 0;
    font-size: 0.6rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
    color: #1c1917; background: linear-gradient(135deg, #fde047, #f97316);
}
.tn-pick--gem .tn-pick__badge { color: #164e63; background: linear-gradient(135deg, #ffffff, #ecfeff 45%, #a5f3fc); }
html.theme-light .tn-pick--gem .tn-pick__badge { color: #083344; background: linear-gradient(135deg, #a5f3fc, #67e8f9); }
.tn-pick__sport { position: absolute; top: 8px; right: 12px; font-size: 0.62rem; font-weight: 900; letter-spacing: 0.12em; color: var(--muted); }
.tn-pick__name { align-self: end; font-weight: 900; font-size: 1.04rem; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tn-pick__meta { align-self: start; margin-top: 2px; font-size: 0.78rem; color: var(--muted); font-weight: 700; }
.tn-pick__bet {
    grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin: 14px -14px 0; padding: 10px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08); background: rgba(2, 6, 23, 0.28);
    font-size: 0.84rem; font-weight: 800;
}
html.theme-light .tn-pick__bet { background: rgba(255, 255, 255, 0.6); border-top-color: var(--line); }
.tn-picks__dots { display: none; justify-content: center; gap: 6px; margin-top: 4px; }
.tn-picks__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); transition: background 150ms ease, width 150ms ease; }
.tn-picks__dots i.is-on { width: 18px; border-radius: 3px; background: var(--gold); }
.tn-pick__bet b { margin-left: auto; font-size: 1.05rem; color: var(--gold); }
.tn-pick--gem .tn-pick__bet b { color: #a5f3fc; }
html.theme-light .tn-pick--gem .tn-pick__bet b { color: #0e7490; }

/* ── sport panels ── */
.tn-sport {
    margin-top: 22px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line);
    box-shadow: var(--shadow); overflow: hidden;
}
.tn-sport__head {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(90deg, color-mix(in srgb, var(--c) 13%, transparent), transparent 60%);
}
.tn-sport__icon {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-size: 1.4rem;
    background: color-mix(in srgb, var(--c) 18%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
}
.tn-sport__head h2 { font-size: 1.3rem; font-weight: 900; letter-spacing: 0.02em; line-height: 1.1; }
.tn-sport__head .tn-section__meta { display: block; }
.tn-sport__links { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.tn-sport__body { padding: 16px 18px 18px; display: grid; gap: 18px; }
.tn-sport__body--split { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; }
.tn-sub { margin-bottom: 10px; font-size: 0.68rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.tn-link {
    display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 15px; border-radius: 999px;
    border: 1px solid var(--line-2); background: var(--panel-3); text-decoration: none;
    font-size: 0.82rem; font-weight: 800; white-space: nowrap;
}
.tn-link:hover { border-color: var(--c, var(--gold)); }
.tn-link--sheet { background: linear-gradient(135deg, #fde047, #f59e0b); color: #1c1917; border-color: transparent; box-shadow: 0 6px 18px rgba(245, 158, 11, 0.25); }
.tn-link--sheet:hover { filter: brightness(1.06); }
.tn-link--wait { color: var(--muted); cursor: default; border-style: dashed; background: transparent; }

/* ── games ── */
.tn-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 10px; }
.tn-game {
    display: grid; gap: 8px; padding: 12px 14px; border-radius: 14px; text-decoration: none;
    background: var(--panel-3); border: 1px solid var(--line);
    transition: border-color 120ms ease, transform 120ms ease, background 120ms ease;
}
.tn-game:hover { border-color: color-mix(in srgb, var(--c) 65%, transparent); transform: translateY(-1px); background: var(--panel-2); }
.tn-team { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.tn-team img { width: 28px; height: 28px; object-fit: contain; }
.tn-team__name { font-weight: 800; font-size: 0.93rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tn-team__name small { color: var(--muted); font-weight: 600; font-size: 0.74rem; margin-left: 5px; }
.tn-team__score { font-family: var(--num); font-size: 1.2rem; font-weight: 800; }
.tn-team--lose .tn-team__score, .tn-team--lose .tn-team__name { opacity: 0.55; }
.tn-game__foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid var(--line); font-size: 0.76rem; color: var(--muted); font-weight: 700; }
.tn-state { color: var(--text); }
.tn-state--live { color: var(--bad); }
.tn-state--live::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--bad); animation: tn-pulse 1.4s infinite; vertical-align: 1px; }
@keyframes tn-pulse { 50% { opacity: 0.25; } }
.tn-line { margin-left: auto; font-family: var(--num); }
.tn-game__go { color: var(--c); font-weight: 900; }

/* ── top plays ── */
.tn-top { display: grid; gap: 8px; align-content: start; }
.tn-play {
    display: grid; grid-template-columns: 22px 38px minmax(0, 1fr) auto; gap: 10px; align-items: center;
    padding: 8px 12px 8px 10px; border-radius: 14px; background: var(--panel-3); border: 1px solid var(--line); text-decoration: none;
    transition: border-color 120ms ease, background 120ms ease;
}
.tn-play:hover { border-color: color-mix(in srgb, var(--c) 65%, transparent); background: var(--panel-2); }
.tn-play__rank { font-family: var(--num); font-weight: 900; color: var(--gold); text-align: center; }
.tn-play__photo {
    position: relative; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
    background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.14), rgba(2, 6, 23, 0.5)); border: 1px solid var(--line-2);
    font-size: 0.8rem; font-weight: 900; color: var(--muted);
}
html.theme-light .tn-play__photo { background: radial-gradient(circle at 50% 30%, #fff, #e2e8f0); }
.tn-play--fav .tn-play__photo { border: 2px solid rgba(250, 204, 21, 0.85); }
.tn-play--gem .tn-play__photo { border: 2px solid rgba(165, 243, 252, 0.9); }
.tn-play__who { min-width: 0; }
.tn-play__who b { display: block; font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tn-play__who > span { display: block; font-size: 0.74rem; color: var(--muted); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tn-play__nums { text-align: right; font-family: var(--num); font-weight: 800; white-space: nowrap; }
.tn-play__nums small { display: block; font-size: 0.72rem; color: var(--muted); font-weight: 700; }
.tn-tag { display: inline-block; margin-left: 5px; font-size: 0.7rem; }

/* ── empty / notes ── */
.tn-note {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; padding: 16px 18px; border-radius: 16px;
    background: var(--panel); border: 1px dashed var(--line-2); color: var(--muted); font-weight: 600;
}
.tn-note b { color: var(--text); }

/* ── footer ── */
.tn-foot {
    margin-top: 56px; padding: 28px 0 0; border-top: 1px solid var(--line);
    display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; color: var(--muted); font-size: 0.84rem;
}
.tn-foot__brand p { margin-top: 10px; max-width: 30ch; font-weight: 600; }
.tn-foot__brand .tn-brand img { width: 36px; height: 36px; }
.tn-foot__col { display: grid; gap: 8px; align-content: start; }
.tn-foot__col h3 { font-size: 0.68rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.tn-foot__col a { text-decoration: none; font-weight: 700; color: var(--text); }
.tn-foot__col a:hover { color: var(--gold); }
.tn-foot__fine { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.78rem; }

/* ── holiday skins ── */
.tn-holiday-ribbon {
    display: none; margin-top: 14px; max-width: 620px; padding: 9px 14px; border-radius: 12px; font-weight: 800; font-size: 0.86rem;
    background: var(--hol-ribbon, rgba(250, 204, 21, 0.12)); border: 1px solid var(--hol-border, rgba(250, 204, 21, 0.4));
}
html[data-holiday] .tn-holiday-ribbon { display: block; }
html[data-holiday="thanksgiving"] {
    --glow-a: rgba(234, 88, 12, 0.24);
    --glow-b: rgba(180, 83, 9, 0.14);
    --hol-ribbon: linear-gradient(90deg, rgba(180, 83, 9, 0.35), rgba(120, 53, 15, 0.25));
    --hol-border: rgba(251, 146, 60, 0.6);
}
html[data-holiday="christmas"] {
    --glow-a: rgba(220, 38, 38, 0.22);
    --glow-b: rgba(22, 163, 74, 0.2);
    --hol-ribbon: linear-gradient(90deg, rgba(185, 28, 28, 0.35), rgba(21, 128, 61, 0.3));
    --hol-border: rgba(254, 202, 202, 0.5);
}
html[data-holiday="newyear"] {
    --glow-a: rgba(168, 85, 247, 0.24);
    --glow-b: rgba(202, 138, 4, 0.16);
    --hol-ribbon: linear-gradient(90deg, rgba(126, 34, 206, 0.35), rgba(202, 138, 4, 0.3));
    --hol-border: rgba(233, 213, 255, 0.5);
}
html[data-holiday] .tn-hero { border-color: var(--hol-border); }
html[data-holiday] .tn-hero__goblin { border-color: var(--hol-border); }

/* ── tablet ── */
@media (max-width: 1000px) {
    .tn-sheets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tn-sport__body--split { grid-template-columns: 1fr; }
    .tn-hero__goblin { width: 200px; height: 200px; }
    .tn-foot { grid-template-columns: 1fr 1fr; }
    .tn-foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
    .tn-bar__nav { display: none; }
}

/* ── phone ── */
@media (max-width: 640px) {
    .tn-wrap { padding: 0 14px 96px; }
    .tn-brand b { font-size: 0.95rem; }
    .tn-hero { grid-template-columns: 1fr; gap: 0; padding: 22px 18px 20px; border-radius: 22px; }
    .tn-hero__art { position: absolute; top: 58px; right: 16px; }
    .tn-hero__art::before { inset: -10px; filter: blur(14px); }
    .tn-hero__goblin { width: 92px; height: 92px; border-radius: 22px; transform: rotate(3deg); }
    .tn-hero__top { padding-right: 0; }
    .tn-daynav { margin-left: 0; }
    .tn-title { padding-right: 104px; font-size: 2.35rem; }
    .tn-lede { font-size: 0.92rem; }
    .tn-search__hint { display: none; }
    .tn-sheets { grid-template-columns: 1fr 1fr; gap: 10px; }
    .tn-sheet { grid-template-columns: auto minmax(0, 1fr); align-items: start; padding: 12px 10px 12px 13px; gap: 9px; }
    .tn-sheet__icon { width: 30px; height: 30px; font-size: 0.95rem; border-radius: 9px; margin-top: 2px; }
    .tn-sheet__go { display: none; }
    .tn-sheet__body b { font-size: 0.86rem; white-space: normal; line-height: 1.2; }
    .tn-sheet__status { white-space: normal; }
    .tn-section__title { font-size: 1.25rem; }
    .tn-picks {
        display: flex; gap: 12px; margin: 0 -14px; padding: 4px 14px 10px; overflow-x: auto;
        scroll-snap-type: x mandatory; scroll-padding: 0 14px; scrollbar-width: none;
    }
    .tn-picks::-webkit-scrollbar { display: none; }
    .tn-pick { flex: 0 0 82%; scroll-snap-align: start; }
    .tn-pick:hover { transform: none; }
    .tn-picks__dots { display: flex; }
    .tn-sport { border-radius: 18px; }
    .tn-sport__head { padding: 14px; }
    .tn-sport__links { margin-left: 0; width: 100%; }
    .tn-link { flex: 1 1 auto; justify-content: center; }
    .tn-sport__body { padding: 14px; }
    .tn-games { grid-template-columns: 1fr; }
    .tn-foot { grid-template-columns: 1fr 1fr; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .tn-state--live::before, .tn-next__live::before { animation: none; }
    .tn-game:hover, .tn-pick:hover, .tn-sheet:hover { transform: none; }
}

/* ── My Picks: the visitor's own watchlist ── */
.tn-mine { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.tn-mine__card {
    display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 14px 16px; border-radius: 18px;
    background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--c, var(--gold));
}
.tn-mine__top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tn-mine__sport { flex: none; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; color: var(--c, var(--gold)); }
.tn-mine__name { display: flex; align-items: center; justify-content: space-between; gap: 4px; flex: 1 1 auto; min-width: 0; font-size: 1rem; }
.tn-mine__name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tn-mine__meta { font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.tn-mine__inj { align-self: flex-start; padding: 2px 8px; border-radius: 999px; font-size: 0.7rem; font-weight: 800; color: var(--bad); border: 1px solid currentColor; }
.tn-mine__play {
    display: flex; gap: 8px; align-items: baseline; padding: 8px 10px; border-radius: 12px; text-decoration: none;
    background: var(--panel-3); border: 1px solid var(--line); color: var(--text); font-size: 0.84rem; font-weight: 700;
}
.tn-mine__play:hover { border-color: var(--gold); }
.tn-mine__none { font-size: 0.8rem; color: var(--muted); }
.tn-mine__more { margin-top: auto; padding-top: 4px; font-size: 0.8rem; font-weight: 800; color: var(--gold); text-decoration: none; }
.tn-mine__more:hover { text-decoration: underline; }
.tn-mine__off { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; font-size: 0.82rem; color: var(--muted); }
.tn-mine__chip {
    display: inline-flex; align-items: center; gap: 2px; padding: 2px 4px 2px 12px; border-radius: 999px;
    background: var(--panel); border: 1px solid var(--line); color: var(--text); font-weight: 700;
}
.tn-mine__signin { padding: 0; border: 0; background: none; color: var(--gold); font: inherit; font-weight: 800; cursor: pointer; text-decoration: underline; }
.tn-pick__name .wp-star, .tn-play__who b .wp-star { width: 24px; height: 24px; font-size: 15px; }
@media (max-width: 520px) { .tn-mine { grid-template-columns: 1fr; } }
