:root {
  --ink: #f7f4e9;
  --muted: #b5b7ad;
  --night: #06100e;
  --panel: #10211c;
  --line: rgba(239, 205, 111, .18);
  --line-soft: rgba(255, 255, 255, .08);
  --gold: #e7bd50;
  --gold-bright: #ffe6a0;
  --gold-dark: #9b6d1e;
  --cream: #fffdf3;
  --green: #55d19e;
  --teal: #6be5c3;
  --red: #ff7984;
  --orange: #ff744d;
  --shadow: 0 20px 55px rgba(0, 0, 0, .42);
}

* { box-sizing: border-box; }
html { background: var(--night); }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: radial-gradient(ellipse 90% 35% at 50% -4%, rgba(34, 90, 107, .45), transparent 72%),
    radial-gradient(ellipse 55% 35% at 100% 28%, rgba(42, 95, 65, .24), transparent 70%),
    linear-gradient(180deg, #07130f 0, #081813 42%, #06100e 100%);
  font: 15px/1.45 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.shell { width: min(100% - 32px, 1210px); margin: auto; padding: 26px 0 calc(52px + env(safe-area-inset-bottom)); }
.hero {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px;
  min-height: 218px; padding: 24px 33px 24px 25px; overflow: hidden;
  border: 1px solid rgba(240, 211, 120, .5); border-radius: 30px;
  background: linear-gradient(110deg, rgba(5, 18, 25, .98), rgba(7, 25, 24, .94) 53%, rgba(11, 45, 33, .95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), var(--shadow);
}
.hero::before {
  position: absolute; inset: 0; content: ""; pointer-events: none;
  background: radial-gradient(circle at -2% 38%, rgba(187, 228, 255, .5) 0 1.5%, transparent 8%),
    radial-gradient(circle at 102% 38%, rgba(187, 228, 255, .45) 0 1.5%, transparent 8%),
    linear-gradient(125deg, transparent 0 52%, rgba(255, 255, 255, .035) 52.2% 52.7%, transparent 53%);
}
.hero::after {
  position: absolute; right: -8%; bottom: -53%; width: 65%; height: 120%; content: "";
  border: 1px solid rgba(231, 189, 80, .14); border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(231, 189, 80, .025), 0 0 0 68px rgba(231, 189, 80, .02);
}
.brand-lockup { position: relative; z-index: 1; display: flex; align-items: center; gap: 23px; }
.logo-frame {
  width: 142px; flex: 0 0 142px; padding: 3px; border-radius: 29px;
  background: linear-gradient(145deg, var(--gold-bright), var(--gold-dark) 32%, #160e04 34%, #010708 75%);
  box-shadow: 0 12px 26px #0009;
}
.logo-frame img { display: block; width: 100%; border-radius: 26px; }
.eyebrow { margin: 0 0 7px; color: var(--gold-bright); font-size: 10px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { position: relative; isolation: isolate; display: inline-block; margin: 0; overflow: hidden; font-size: clamp(38px, 6vw, 64px); line-height: .9; letter-spacing: -.065em; text-transform: uppercase; text-shadow: 0 3px 16px #000; }
.hero h1 span { color: var(--cream); }
.hero h1 { color: var(--gold); }
.hero h1::before { position: absolute; inset: -18% -45%; z-index: 1; content: ""; pointer-events: none; background: linear-gradient(112deg, transparent 37%, rgba(255, 246, 201, .06) 44%, rgba(255, 238, 165, .58) 50%, rgba(255, 246, 201, .08) 56%, transparent 63%); mix-blend-mode: screen; transform: translateX(-64%); animation: title-sweep 7s cubic-bezier(.34, 0, .18, 1) infinite; }
.hero h1::after { position: absolute; right: 0; bottom: 1px; left: 0; z-index: 2; height: 1px; content: ""; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255, 239, 172, .92), var(--gold), rgba(255, 239, 172, .92), transparent); background-size: 210% 100%; animation: title-rule 4.8s ease-in-out infinite; }
.freshness { margin: 14px 0 0; color: #cdd5c9; font-size: 13px; }
.install-app { display: none; align-items: center; gap: 10px; margin-top: 13px; }
.install-app button { min-height: 34px; border: 1px solid #ffe6a0; border-radius: 9px; padding: 0 12px; color: #161205; background: linear-gradient(135deg, #ffe6a0, #e7bd50 58%, #ae761f); box-shadow: 0 4px 14px rgba(0, 0, 0, .32), inset 0 1px rgba(255, 255, 255, .56); font: 900 10px/1 inherit; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; transition: transform 150ms ease, filter 150ms ease; }
.install-app button:hover, .install-app button:focus-visible { filter: brightness(1.08); outline: 2px solid rgba(255, 230, 160, .7); outline-offset: 2px; transform: translateY(-1px); }
.install-app button:active { transform: translateY(0); }
.install-app span { max-width: 205px; color: #bdcabc; font-size: 10px; font-weight: 700; line-height: 1.25; }
.install-guide[hidden] { display: none; }
.install-guide { position: fixed; inset: 0; z-index: 2147482990; display: grid; place-items: center; padding: 22px; background: rgba(1, 9, 7, .76); backdrop-filter: blur(8px); }
.install-guide-card { position: relative; width: min(100%, 430px); padding: 29px 28px 25px; border: 1px solid rgba(255, 230, 160, .62); border-radius: 22px; color: var(--cream); background: linear-gradient(145deg, #10271e, #07130f); box-shadow: 0 26px 70px rgba(0, 0, 0, .58), inset 0 1px rgba(255, 255, 255, .1); }
.install-guide-card h2 { margin: 0; font-size: 27px; letter-spacing: -.04em; text-transform: uppercase; }
.install-guide-card ol { display: grid; gap: 13px; margin: 20px 0 15px; padding-left: 22px; color: #dce7dc; }
.install-guide-card li { padding-left: 4px; font-size: 15px; line-height: 1.38; }
.install-guide-card strong { color: var(--gold-bright); }
.share-symbol { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: 2px; border: 1px solid rgba(255, 230, 160, .58); border-radius: 5px; color: var(--gold-bright); font-size: 16px; line-height: 1; vertical-align: middle; }
.more-symbol { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: 2px; border: 1px solid rgba(255, 230, 160, .58); border-radius: 5px; color: var(--gold-bright); font-size: 18px; font-weight: 900; line-height: 1; vertical-align: middle; }
.install-guide-note { margin: 0; color: #b8c8b9; font-size: 12px; line-height: 1.4; }
.install-guide-close { position: absolute; top: 12px; right: 13px; display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; color: #dfe9de; background: rgba(0, 0, 0, .18); font-size: 22px; line-height: 1; cursor: pointer; }
.install-guide-close:hover, .install-guide-close:focus-visible { border-color: var(--gold); outline: none; }
.hero-note { position: relative; z-index: 1; min-width: 180px; padding: 16px 0 16px 23px; border-left: 1px solid rgba(231, 189, 80, .45); }
.note-kicker { display: block; margin-bottom: 5px; color: var(--gold); font-size: 9px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.hero-note strong { font-size: 22px; line-height: 1.05; letter-spacing: -.04em; text-transform: uppercase; }
.pulse { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin: 14px 0 18px; }
.pulse article, .panel, .player-card, .status { border: 1px solid var(--line); background: linear-gradient(145deg, rgba(21, 43, 34, .96), rgba(8, 25, 19, .98)); box-shadow: var(--shadow); }
.pulse article { position: relative; padding: 15px 18px; overflow: hidden; border-radius: 15px; }
.pulse article::before { position: absolute; top: 0; left: 0; width: 100%; height: 2px; content: ""; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.pulse span { display: block; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.pulse strong { display: block; margin-top: 3px; color: var(--gold-bright); font-size: 29px; line-height: 1; }
.panel { padding: 22px; border-radius: 22px; }
.section-head, .board-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.section-head { margin-bottom: 12px; }
.section-head h2, .board-head h2 { margin: 0; font-size: 24px; letter-spacing: -.035em; text-transform: uppercase; }
.live-key { color: var(--muted); font-size: 11px; }
.live-key i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(107, 229, 195, .13); }
.standings { display: grid; }
.standing { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; min-height: 51px; border-top: 1px solid var(--line-soft); }
.standing:first-child { border-top: 0; }
.standing-rank { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(231, 189, 80, .28); border-radius: 8px; background: linear-gradient(145deg, #253d32, #102018); color: var(--gold-bright); font-size: 12px; font-weight: 900; }
.standing:first-child .standing-rank { border-color: var(--gold); background: linear-gradient(145deg, #6d4c12, #2b1d05); color: #fff3c5; }
.standing-name { min-width: 0; font-weight: 850; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.standing-record { color: var(--muted); font-size: 12px; }
.standing-score { text-align: right; }
.standing-score strong { display: block; color: var(--gold-bright); font-size: 20px; }
.standing-score small { display: block; color: var(--green); font-size: 10px; font-weight: 850; }
.board-head { margin: 31px 3px 13px; }
.quiet-button, .pin-button { appearance: none; border: 1px solid rgba(231, 189, 80, .4); border-radius: 8px; background: linear-gradient(180deg, #25362c, #111f19); color: #f7df98; padding: 8px 11px; font: 800 10px/1.2 inherit; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.quiet-button:hover, .pin-button:hover { border-color: var(--gold); background: #2e432e; }
.player-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.player-card { position: relative; overflow: hidden; border-radius: 19px; }
.player-card::before { position: absolute; top: 0; left: 0; width: 100%; height: 3px; content: ""; background: linear-gradient(90deg, transparent, rgba(231, 189, 80, .9), transparent); }
.player-card.pinned { border-color: var(--gold); box-shadow: 0 18px 48px rgba(151, 108, 25, .28); }
.player-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 90px; padding: 17px 17px 15px; border-bottom: 1px solid var(--line); }
.player-head h3 { margin: 0; font-size: 20px; letter-spacing: -.025em; }
.player-head p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.player-points { text-align: right; }
.player-points strong { display: block; color: var(--gold-bright); font-size: 30px; line-height: 1; }
.player-points span { color: var(--green); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.pin-button { margin-top: 7px; padding: 5px 8px; font-size: 9px; }
.picks { padding: 8px; }
.pick { margin: 7px 0; padding: 11px 11px 10px; border: 1px solid rgba(255, 255, 255, .045); border-left: 4px solid #556d61; border-radius: 10px; background: #081712; }
.pick.win { border-left-color: var(--gold); background: linear-gradient(90deg, rgba(130, 88, 20, .42), #211b0d); }
.pick.loss { border-left-color: var(--red); background: linear-gradient(90deg, rgba(119, 34, 43, .38), #251316); }
.pick.covering { border-left-color: var(--teal); background: linear-gradient(90deg, rgba(15, 102, 82, .4), #0a2219); }
.pick.not_covering { border-left-color: var(--orange); background: linear-gradient(90deg, rgba(131, 49, 27, .45), #2a1511); }
.pick.push, .pick.tied_ats { border-left-color: #ab96ff; }
.pick-top, .game-line, .market-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pick-team { font-size: 15px; font-weight: 850; }
.pick-state { flex: 0 0 auto; font-size: 9px; font-weight: 950; letter-spacing: .06em; text-transform: uppercase; }
.pick.win .pick-state { color: var(--gold-bright); }
.pick.covering .pick-state { display: inline-flex; align-items: center; gap: 5px; color: #8cf3cb; }
.pick.covering .pick-state::before { width: 6px; height: 6px; content: ""; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(107, 229, 195, .75); animation: live-cover-pulse 1.55s ease-out infinite; }
.pick.loss .pick-state { color: #ffb1b8; }
.pick.not_covering .pick-state { color: #ffc0ab; }
.game-line { margin-top: 6px; color: #e1e8dd; font-size: 12px; }
.game-line time { color: var(--muted); white-space: nowrap; }
.live-detail { margin-top: 7px; padding-top: 7px; border-top: 1px solid rgba(231, 189, 80, .13); }
.situation { color: #d5ded3; font-size: 11px; }
.possession { color: var(--gold-bright); font-weight: 800; }
.market-line { margin-top: 4px; color: #aab9ac; font-size: 10px; }
.market-line strong { color: #f2e0aa; }
.ats { margin-top: 4px; color: var(--muted); font-size: 10px; }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px 17px; margin: 24px 4px; color: var(--muted); font-size: 11px; }
.legend i { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; background: #556d61; }
.legend .won { background: var(--gold); }.legend .covering { background: var(--teal); box-shadow: 0 0 0 3px rgba(107, 229, 195, .16); }.legend .missing { background: var(--orange); }.legend .lost { background: var(--red); }
.status { margin-top: 13px; padding: 13px 15px; border-radius: 12px; color: var(--muted); font-size: 12px; }.status:empty { display: none; }.status.error { color: #ffb0b8; border-color: rgba(255, 121, 132, .4); }
footer { margin: 20px auto 0; max-width: 640px; color: #7f9183; text-align: center; font-size: 11px; }
@keyframes live-cover-pulse { 70% { box-shadow: 0 0 0 6px rgba(107, 229, 195, 0); } 100% { box-shadow: 0 0 0 0 rgba(107, 229, 195, 0); } }
@keyframes title-sweep { 0%, 54% { transform: translateX(-64%); opacity: 0; } 58% { opacity: 1; } 72%, 100% { transform: translateX(64%); opacity: 0; } }
@keyframes title-rule { 0%, 100% { background-position: 100% 0; opacity: .46; } 50% { background-position: 0 0; opacity: 1; } }
html.mobile-device .install-app { display: flex; }
@media (max-width: 860px) { .hero-note { display: none; }.player-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .shell { width: min(100% - 18px, 1210px); padding-top: 10px; }.hero { min-height: 164px; padding: 17px; border-radius: 23px; }.brand-lockup { gap: 14px; }.logo-frame { width: 102px; flex-basis: 102px; border-radius: 23px; }.logo-frame img { border-radius: 20px; }.hero h1 { font-size: clamp(37px, 12vw, 53px); }.freshness { margin-top: 9px; font-size: 11px; }.install-app { margin-top: 10px; }.install-app span { display: none; }.install-app button { min-height: 30px; padding: 0 9px; font-size: 9px; }.install-guide { align-items: end; padding: 13px; }.install-guide-card { padding: 27px 23px 22px; border-radius: 20px; }.install-guide-card h2 { font-size: 24px; }.install-guide-card li { font-size: 14px; }.pulse { gap: 7px; margin-bottom: 14px; }.pulse article { padding: 12px; }.pulse strong { font-size: 24px; }.panel { padding: 15px; }.standing { grid-template-columns: 32px minmax(0, 1fr) auto; }.standing-record { display: none; }.player-grid { grid-template-columns: 1fr; }.board-head { align-items: center; }.player-head { min-height: 82px; }.live-key { max-width: 118px; text-align: right; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; } }
