:root { color-scheme: dark; font-family: Arial, Helvetica, sans-serif; background: #05070c; color: #e9eef5; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; }
.atmosphere, #field { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.atmosphere { background: radial-gradient(ellipse at 72% 78%, #19354870, transparent 52%), radial-gradient(ellipse at 15% 35%, #211c433d, transparent 50%), linear-gradient(165deg, #090b14, #03050a 65%); }
nav { position: relative; z-index: 2; display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin: 24px; padding: 10px; min-height: 66px; border: 1px solid #d3e3ff16; border-radius: 18px; background: linear-gradient(120deg, #ffffff06, #ffffff02); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: inset 0 1px #ffffff05, 0 12px 40px #00000012; }
details { position: relative; }
summary, #motion { color: inherit; border: 1px solid #ffffff18; background: #ffffff05; border-radius: 10px; cursor: pointer; transition: background .2s, border-color .2s; }
summary { list-style: none; padding: 13px 17px; display: flex; align-items: center; gap: 28px; font-size: 14px; letter-spacing: .02em; }
summary::-webkit-details-marker { display: none; }
summary:hover, #motion:hover { background: #ffffff0e; border-color: #ffffff35; }
:focus-visible { outline: 2px solid #b6eaff; outline-offset: 4px; }
.chevron { width: 6px; height: 6px; border: solid #a5b4c7; border-width: 0 1px 1px 0; transform: rotate(45deg); transition: transform .2s; }
details[open] .chevron { transform: rotate(225deg); }
nav ul { position: absolute; right: 0; top: calc(100% + 12px); min-width: 190px; max-width: calc(100vw - 64px); margin: 0; padding: 8px; list-style: none; border: 1px solid #ffffff1c; border-radius: 12px; background: #10151ef5; box-shadow: 0 16px 50px #0008; font-size: 14px; }
nav li { padding: 12px; color: #94a0b3; }
nav li:has(a) { padding: 0; }
nav a { display: block; padding: 12px; border-radius: 6px; color: #e9eef5; text-decoration: none; }
nav a:hover { background: #ffffff0c; }
#motion { width: 44px; height: 44px; display: grid; place-items: center; }
#motion span { width: 9px; height: 11px; border-left: 2px solid #a5b4c7; border-right: 2px solid #a5b4c7; }
#motion.paused span { width: 0; height: 0; border: 6px solid transparent; border-right: 0; border-left: 9px solid #a5b4c7; }
main { position: relative; }
.home { padding: clamp(70px, 16vh, 180px) 8vw 100px; }
.home h1 { margin: 0; font-size: clamp(3.5rem, 10vw, 9rem); font-weight: 500; letter-spacing: -.065em; line-height: 1.05; background: linear-gradient(135deg, #fff 20%, #a8bbd1); background-clip: text; -webkit-background-clip: text; color: transparent; }
.home p { margin: 25px 0 0; font-size: clamp(1.05rem, 2vw, 1.4rem); color: #a8b5c8; line-height: 1.6; }
nav a[aria-current="page"] { background: #ffffff09; color: #b6eaff; }
.schedule { max-width: 1120px; margin: 64px auto; padding: 0 28px; }
.schedule-page #field { opacity: .28; }
.schedule-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.eyebrow { font-size: .75rem; text-transform: uppercase; letter-spacing: .2em; color: #9cd8ef; }
.schedule h1 { font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.1; font-weight: 500; letter-spacing: -.045em; margin: 14px 0; }
.schedule-heading p:not(.eyebrow), #schedule-status { color: #a8b5c8; font-size: .95rem; line-height: 1.7; }
#schedule-status { margin: 30px 0; }
.button { padding: 12px 18px; border: 1px solid #ffffff28; border-radius: 10px; background: #ffffff08; color: #e9eef5; cursor: pointer; font: inherit; }
.button:hover { background: #ffffff15; }
.button:disabled { opacity: .5; cursor: wait; }
.game-day { margin: 0 0 32px; }
.game-day h2 { font-size: 1rem; font-weight: 500; color: #b7c8dc; margin: 0 0 14px; }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.game { padding: 22px; border: 1px solid #d3e3ff18; border-radius: 14px; background: #0d1420e8; }
.game h3 { font-size: 1.05rem; font-weight: 500; line-height: 1.6; margin: 0 0 12px; overflow-wrap: anywhere; }
.game time { color: #b6eaff; font-size: .9rem; }
.game p { color: #9aaac0; font-size: .85rem; line-height: 1.5; margin: 10px 0 0; }
.game { padding: 0; align-self: start; overflow: hidden; }
.game-toggle { display: flex; flex-direction: column; align-items: stretch; gap: 10px; border: 0; border-radius: 0; padding: 22px; background: transparent; }
.game-toggle:focus-visible { outline-offset: -4px; }
.team-line { display: flex; align-items: center; gap: 12px; font-size: 1rem; font-weight: 500; }
.team-line img { object-fit: contain; flex-shrink: 0; }
.team-line small { margin-left: auto; color: #98adc2; font-size: .8rem; }
.logo-fallback { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; font-size: .7rem; color: #b6eaff; border: 1px solid #ffffff20; border-radius: 50%; }
.tile-note { font-size: .8rem; line-height: 1.5; color: #9aaac0; }
.expand-label { margin-top: 8px; color: #b6eaff; font-size: .8rem; display: flex; justify-content: space-between; }
.expand-label::after { content: '+'; }
.game[open] .expand-label::after { content: '−'; }
.game[open] { grid-column: 1 / -1; border-color: #8bdcff55; }
.game-panel { padding: 0 22px 22px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.detail-intro { grid-column: 1 / -1; }
.market-board, .prop-board { grid-column: 1 / -1; }
.market-filters { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.market-filters label { display: flex; flex-direction: column; gap: 7px; flex: 1 1 200px; font-size: .8rem; color: #b7c8dc; }
.market-filters input, .market-filters select { width: 100%; min-width: 0; background: #070e18; color: #e9eef5; border: 1px solid #ffffff30; border-radius: 8px; padding: 12px; font: inherit; }
.market-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,270px),1fr)); gap: 12px; margin: 16px 0; }
.market-card { padding: 18px; background: #ffffff04; border: 1px solid #ffffff18; border-radius: 10px; min-width: 0; }
.market-card h4 { margin: 8px 0; color: #e0ecf8; font-size: 1rem; overflow-wrap: anywhere; }
.market-card .market-kicker { margin: 0; text-transform: uppercase; letter-spacing: .08em; font-size: .65rem; color: #a5c7df; }
.market-card .market-price { color: #b6eaff; font-weight: 600; font-size: 1rem; }
.detail-section { border-top: 1px solid #ffffff18; padding-top: 18px; min-width: 0; }
.game-panel h3 { color: #e0ecf8; font-size: 1rem; }
.game-panel .source-note { font-size: .75rem; color: #97a6ba; }
.game-panel > a { align-self: center; font-size: .85rem; }
.game-day h2 { padding: 14px 0; border-bottom: 1px solid #a5d4ff22; font-size: 1.15rem; }
.watchlist-panel { margin-top: 28px; padding: 24px; background: #101a28e8; border: 1px solid #b6eaff30; border-radius: 14px; }
.watchlist-panel h2 { margin: 0; font-size: 1.3rem; font-weight: 500; }
.watchlist-panel p { color: #a8b5c8; font-size: .9rem; line-height: 1.6; }
.watchlist-panel .source-note { font-size: .8rem; }
.watch-game { display: block; text-align: left; margin: 12px 0; width: 100%; }
.edge-badge { font-size: .75rem; padding: 8px 10px; border-radius: 6px; color: #a9b9ca; background: #ffffff06; }
.edge-badge.review { background: #8ee0c018; color: #a0ebcd; border: 1px solid #8ee0c030; }
.edge-input { display: flex; flex-direction: column; gap: 7px; font-size: .8rem; color: #b7c8dc; margin-top: 14px; }
.edge-input input { width: 100%; background: #070e18; border: 1px solid #ffffff25; border-radius: 7px; padding: 10px; color: #e9eef5; font: inherit; }
@media (max-width: 680px) { .game-panel { grid-template-columns: 1fr; } .team-line { font-size: .9rem; } }
.schedule-footer { border-top: 1px solid #ffffff18; padding: 24px 0; font-size: .8rem; line-height: 1.8; color: #99a9bf; }
.schedule a { color: #b6eaff; text-underline-offset: 3px; }
@media (max-width: 680px) { .schedule { margin-top: 44px; padding: 0 20px; } .schedule-heading { align-items: flex-start; flex-direction: column; gap: 12px; } .game-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { nav { margin: 12px; border-radius: 14px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
