:root{--bg:#f5f6f8;--surface:#fff;--text:#1a1d23;--text-muted:#6b7280;--border:#e3e5e9;--accent:#c8102e;--live:#16a34a;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}:root[data-theme=dark]{--bg:#14161a;--surface:#1e2127;--text:#f3f4f6;--text-muted:#9ca3af;--border:#2d3139;--accent:#ff4d5e;--live:#4ade80}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.page{max-width:960px;margin:0 auto;padding:16px}.page-header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.page-header h1{margin:0;font-size:1.5rem}.theme-toggle{background:var(--surface);border:1px solid var(--border);cursor:pointer;border-radius:999px;width:40px;height:40px;font-size:1.1rem}.week-selector{background:var(--surface);border:1px solid var(--border);border-radius:10px;justify-content:space-between;align-items:center;margin-bottom:20px;padding:10px 14px;display:flex}.week-selector button{border:1px solid var(--border);color:var(--text);cursor:pointer;background:0 0;border-radius:6px;padding:6px 12px}.week-selector .week-arrow{background:var(--bg);width:32px;height:32px;color:var(--text-muted);border-radius:50%;justify-content:center;align-items:center;padding:0 0 2px;font-size:1.4rem;line-height:1;display:flex}.week-selector .week-arrow:hover{color:var(--text);border-color:var(--text-muted)}.week-range{color:var(--text-muted);font-size:.9rem}.status-message{color:var(--text-muted);text-align:center;padding:24px 0}.status-error{color:var(--accent)}.date-strip{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-bottom:20px;display:grid}.date-tile{background:var(--surface);border:1px solid var(--border);color:var(--text);cursor:pointer;border-radius:10px;flex-direction:column;align-items:center;gap:2px;padding:10px 4px;display:flex}.date-tile:hover{border-color:var(--accent)}.date-tile-selected{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.date-tile-day{font-weight:700}.date-tile-weekday,.date-tile-games{color:var(--text-muted);font-size:.8rem}.date-sticky{z-index:10;background:var(--bg);border-bottom:1px solid var(--border);margin:0 -16px 14px;padding:10px 16px;position:sticky;top:0}.date-games-title{margin:0;font-size:1.1rem}.game-chips-wrap{margin-top:8px;position:relative}.chips-arrow{display:none}.chips-arrow,.modal-nav-btn{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:50%;flex:none;justify-content:center;align-items:center;width:32px;height:32px;padding:0 0 3px;font-size:1.5rem;line-height:1;transition:transform .15s,filter .15s;box-shadow:0 2px 8px #00000059}.chips-arrow:hover,.modal-nav-btn:hover:not(:disabled){filter:brightness(1.15);transform:scale(1.08)}@media (width>=601px){.chips-arrow{z-index:1;margin-top:-16px;display:flex;position:absolute;top:50%}.chips-arrow-left{left:4px}.chips-arrow-right{right:4px}}.game-chips{scrollbar-width:none;gap:8px;display:flex;overflow-x:auto}.game-chips::-webkit-scrollbar{display:none}.game-chip{background:var(--surface);border:1px solid var(--border);color:var(--text);cursor:pointer;border-radius:8px;flex-direction:column;flex:none;align-items:center;gap:2px;padding:6px 10px;font-size:.8rem;transition:border-color .15s,transform .15s;display:flex}.game-chip:hover{border-color:var(--accent)}.game-chip:active{transform:scale(.96)}.game-chip-teams{align-items:center;gap:4px;font-weight:600;display:flex}.game-chip .team-logo{width:18px;height:18px}.game-chip .game-state{font-size:.7rem}.game-card{scroll-margin-top:110px}.date-body{flex-direction:column;gap:14px;display:flex}.game-card{border:1px solid var(--border);border-radius:8px;padding:12px}.game-card-header{width:100%;color:var(--text);cursor:pointer;background:0 0;border:none;flex-direction:column;align-items:center;gap:0;padding:0;display:flex;position:relative}.chevron{transition:transform .15s;display:inline-block}.chevron-open{transform:rotate(180deg)}.game-card-chevron{color:var(--text-muted);margin-top:-.6em;position:absolute;top:50%;right:4px}.game-card-header .team-logo{width:60px;height:60px}.game-card-header+*{margin-top:16px}.matchup{justify-content:center;align-items:center;gap:6px;font-weight:600;display:flex}.team-logo{width:24px;height:24px}.logo-dark,:root[data-theme=dark] .logo-light{display:none}:root[data-theme=dark] .logo-dark{display:inline}.score{text-align:center;min-width:1.2em}.at{color:var(--text-muted);font-weight:400}.game-state{color:var(--text-muted);font-size:.8rem}.game-state-live{color:var(--live);font-weight:600}.no-highlights{color:var(--text-muted);margin:4px 0;font-size:.9rem}.highlight-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px;display:grid}.highlight-card{border:1px solid var(--border);background:var(--bg);border-radius:8px;flex-direction:column;display:flex;overflow:hidden}.highlight-thumb{aspect-ratio:16/9;background:var(--border);position:relative}.highlight-thumb img{object-fit:cover;width:100%;height:100%}.thumb-placeholder{width:100%;height:100%}.duration-tag{color:#fff;background:#000000bf;border-radius:4px;padding:1px 6px;font-size:.7rem;font-weight:600;position:absolute;bottom:6px;right:6px}.thumb-fallback{color:#fff;letter-spacing:.08em;background:linear-gradient(135deg,#1e3a8a,#2563eb);justify-content:center;align-items:center;width:100%;height:100%;font-size:.9rem;font-weight:700;display:flex}.highlight-badge{color:#fff;border-radius:4px;padding:2px 6px;font-size:.65rem;font-weight:700;position:absolute;top:6px;left:6px}.badge-goal{--dot-color:var(--accent);background:var(--accent)}.badge-yt{--dot-color:#ef4444;background:#ef4444}.badge-nhl{--dot-color:#2563eb;background:#2563eb}.modal-dot.badge-goal,.modal-dot.badge-yt,.modal-dot.badge-nhl{background:var(--dot-color)}.source-tag{color:#fff;border-radius:999px;margin-bottom:6px;padding:1px 8px;font-size:.7rem;font-weight:600;display:inline-block}.source-tag-nhl{background:#4b5563}.source-tag-sn{background:#1e3a8a}.highlight-title{align-items:center;gap:4px;display:flex}.highlight-title-logo{flex:none;width:24px;height:24px;margin-left:-4px}.highlight-body{flex:1;padding:8px 10px}.highlight-title{margin:0 0 4px;font-size:.85rem;line-height:1.3}.highlight-meta{color:var(--text-muted);margin:0;font-size:.75rem}.highlight-card{cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .15s,border-color .15s,box-shadow .15s}.highlight-card:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.highlight-card:active{transform:scale(.97)}.play-overlay{opacity:0;pointer-events:none;background:#00000059;justify-content:center;align-items:center;transition:opacity .15s;display:flex;position:absolute;inset:0}.play-icon{background:var(--accent);border-radius:50%;width:40px;height:40px;position:relative}.play-icon:after{content:"";border:8px solid #0000;border-left:13px solid #fff;border-right-width:0;position:absolute;top:50%;left:50%;transform:translate(-35%,-50%)}@media (hover:hover){.highlight-card:hover{border-color:var(--accent);transform:translateY(-2px);box-shadow:0 6px 16px #0003}.highlight-card:hover .highlight-thumb img:not(.goal-thumb-logo){transform:scale(1.05)}.highlight-card:hover .play-overlay,.highlight-card:focus-visible .play-overlay{opacity:1}}.highlight-thumb{overflow:hidden}.modal-backdrop{z-index:100;background:#000000bf;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0;overflow:hidden}.modal-content{background:var(--surface);touch-action:none;border-radius:10px;flex-direction:column;gap:12px;width:min(95vw,1400px);max-height:95vh;padding:16px;display:flex;position:relative}.modal-close{color:var(--text);cursor:pointer;background:0 0;border:none;font-size:1.5rem;position:absolute;top:8px;right:12px}.modal-game-info{flex-direction:column;align-items:center;gap:4px;display:flex}.video-wrapper{aspect-ratio:16/9;width:100%;max-width:calc(168.889vh - 302.222px);margin:0 auto;position:relative}.video-wrapper iframe{border:none;border-radius:6px;width:100%;height:100%}.modal-footer{align-items:center;gap:12px;display:flex}.modal-footer-title{text-align:center;flex:1;min-width:0}.modal-footer-title h3{margin:0;font-size:1rem}.modal-title{justify-content:center;align-items:center;gap:8px;display:flex}.modal-title-logo{flex:none;width:70px;height:70px;margin-left:-10px}.modal-position{text-align:center;opacity:.7;margin-top:auto;padding-top:8px;font-size:.8rem}.modal-nav-btn{display:flex}.modal-nav-btn:disabled{opacity:.3;cursor:not-allowed;box-shadow:none}@media (width<=480px){.date-strip{gap:4px}.date-tile{padding:8px 2px;font-size:.8rem}.date-tile-weekday,.date-tile-games{font-size:.7rem}.highlight-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}}@media (width<=600px){.modal-backdrop{padding:0}.modal-content{border-radius:0;width:100%;max-height:100vh;padding:12px 0}.modal-game-info,.modal-footer{padding:0 12px}.video-wrapper{max-width:none}.video-wrapper iframe{border-radius:0}}.swipe-edge{display:none}@media (width<=600px){.swipe-edge{z-index:1;width:12%;display:block;position:absolute;top:0;bottom:56px}.swipe-edge-left{left:0}.swipe-edge-right{right:0}.modal-close,.modal-nav-btn{display:none}.video-wrapper{order:-1}.modal-content{gap:14px;padding-top:0;padding-bottom:20px}.modal-footer-title{text-align:left;flex-direction:column;gap:8px;display:flex}.modal-footer{padding:0 16px}.modal-game-info{flex-direction:row;justify-content:space-between;padding:0 16px}.modal-title{justify-content:flex-start;font-size:1.25rem;line-height:1.25}.modal-title-logo{width:36px;height:36px}.modal-footer-title .goal-details{flex-direction:column;gap:6px;display:flex}.modal-footer-title .highlight-meta{font-size:.9rem}.modal-footer-title .highlight-meta:nth-child(2){color:var(--text);font-size:1rem;font-weight:600}.modal-position{font-size:.75rem}}.preview-card{display:none}@media (width<=600px){.preview-card{background:var(--surface);pointer-events:none;flex-direction:column;gap:14px;width:100%;display:flex;position:absolute;top:0;bottom:0}.preview-card-prev{right:100%}.preview-card-next{left:100%}.preview-video{aspect-ratio:16/9;background:var(--bg,#80808033)}.preview-bars{flex-direction:column;gap:10px;padding:4px 16px;display:flex}.preview-bar{background:#80808033;border-radius:6px;width:85%;height:12px}.preview-bar-title{width:60%;height:22px}.preview-bar-short{width:45%}}.mobile-only,.sheet-handle{display:none}@media (width<=600px){.desktop-only{display:none}.mobile-only{display:block}.modal-game-info.mobile-only{display:flex}.modal-content{background:#000;gap:0;min-height:60vh;padding:0}.modal-footer{background:var(--surface);border-top:1px solid var(--border);padding:0;padding-bottom:env(safe-area-inset-bottom);border-radius:16px 16px 0 0;flex-direction:column;flex:1;display:flex;box-shadow:0 -4px 16px #00000040}.modal-footer-title{flex-direction:column;gap:14px;padding:8px 20px 24px;display:flex}.sheet-handle{background:var(--border);border-radius:2px;align-self:center;width:36px;height:4px;display:block}.modal-footer-title .modal-game-info{border-bottom:1px solid var(--border);color:var(--text-muted);padding:0 0 14px;font-size:.85rem}.modal-title{font-size:1.35rem;font-weight:700}.sheet-details{flex-direction:column;gap:14px;display:flex}.sheet-context{color:var(--text-muted);margin:0;font-size:.9rem}.sheet-section{border-top:1px solid var(--border);flex-direction:column;gap:4px;padding-top:14px;display:flex}.sheet-label{letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);font-size:.7rem;font-weight:600}.sheet-assists{font-size:1rem;font-weight:600;line-height:1.4}.sheet-muted{color:var(--text-muted);font-weight:400}.sheet-tags{flex-wrap:wrap;gap:8px;display:flex}.sheet-tag{background:var(--bg);border:1px solid var(--border);border-radius:16px;align-items:center;min-height:32px;padding:0 12px;font-size:.85rem;display:inline-flex}.modal-dots{justify-content:center;gap:6px;display:flex}.modal-dot{background:var(--border);border-radius:50%;width:6px;height:6px}.modal-dot-active{background:var(--accent)}.modal-position{text-align:center}.preview-card{background:#000;gap:0}.preview-video{background:#1a1a1a}.preview-bars{background:var(--surface);border-top:1px solid var(--border);border-radius:16px 16px 0 0;flex:1;gap:12px;padding:8px 20px}.preview-bars .sheet-handle{margin-bottom:4px}}.modal-card{display:contents}.dots-bar{display:none}@media (width<=600px){.modal-backdrop{padding-bottom:calc(44px + env(safe-area-inset-bottom))}.modal-content{background:0 0;min-height:0;max-height:calc(100vh - 56px)}.modal-card{background:var(--surface);border-radius:16px;flex-direction:column;display:flex;overflow:hidden}.video-wrapper{background:#000}.video-wrapper,.video-wrapper iframe{border-radius:0}.modal-footer{box-shadow:none;border-top:none;border-radius:0;padding-bottom:0}.modal-footer-title{padding:16px 20px 20px}.preview-card{background:var(--surface);border-radius:16px;overflow:hidden}.preview-bars{border-top:none;border-radius:0;padding:16px 20px}.dots-bar{left:50%;bottom:calc(14px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);pointer-events:none;background:#0000008c;border-radius:12px;justify-content:center;gap:7px;padding:7px 12px;display:flex;position:fixed;transform:translate(-50%)}.dots-bar .modal-dot{background:var(--dot-color);opacity:.5}.dots-bar .modal-dot-active{opacity:1;box-shadow:0 0 0 2px #ffffffe6}.modal-content{--card-gap:12px}.preview-card-prev{right:calc(100% + var(--card-gap))}.preview-card-next{left:calc(100% + var(--card-gap))}.modal-footer{min-height:290px}.dots-bar{gap:0}.dots-bar .modal-dot{margin:0 3.5px;transition:width .25s,margin .25s,opacity .25s,background .25s}.dots-bar .modal-dot-hidden{opacity:0;width:0;box-shadow:none;margin:0}}.sheet-details{flex-direction:column;gap:14px;display:flex}.sheet-section{border-top:1px solid var(--border);flex-direction:column;gap:4px;padding-top:14px;display:flex}.sheet-label{letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);font-size:.7rem;font-weight:600}.sheet-assists{font-size:1rem;font-weight:600;line-height:1.4}.sheet-muted{color:var(--text-muted);font-weight:400}.sheet-tags{flex-wrap:wrap;gap:8px;display:flex}.sheet-tag{background:var(--bg);border:1px solid var(--border);border-radius:16px;align-items:center;min-height:32px;padding:0 12px;font-size:.85rem;display:inline-flex}@media (width<=600px){.hide-mobile{display:none}}@media (width>=601px){.modal-backdrop{align-items:safe center;overflow-y:auto}.modal-content{background:0 0;gap:0;max-height:none;padding:0}.modal-card{width:min(100%, calc((100vh - 32px - var(--modal-footer-h)) * 16 / 9));background:var(--surface);border-radius:16px;flex-direction:column;margin:0 auto;display:flex;position:relative;overflow:hidden}.video-wrapper{background:#000;max-width:none;margin:0}.video-wrapper iframe{border-radius:0}.modal-close{z-index:2;color:#fff;background:#0000008c;border-radius:50%;width:32px;height:32px;padding:0;line-height:1;top:10px;right:10px}.modal-card{--modal-footer-h:360px}.modal-footer{height:var(--modal-footer-h);align-items:stretch;gap:16px;padding:20px;overflow-y:auto}.modal-footer .modal-nav-btn{align-self:center}.modal-footer-title{text-align:left;flex-direction:column;gap:14px;display:flex}.modal-footer-title .modal-game-info{border-bottom:1px solid var(--border);color:var(--text-muted);flex-direction:row;justify-content:space-between;padding:0 0 14px;font-size:.85rem}.modal-title{justify-content:flex-start;font-size:1.35rem;font-weight:700}.modal-title-logo{width:90px;height:90px;margin-left:-14px}}.modal-footer-title .modal-game-info{grid-template-columns:auto 1fr auto;justify-content:stretch;align-items:center;column-gap:12px;display:grid}.modal-footer-title .modal-game-info .matchup{justify-content:flex-start}.modal-footer-title .modal-game-info .source-tag{white-space:nowrap;margin:0}@media (width<=600px){.modal-footer-title .modal-game-info{grid-template-columns:auto 1fr;row-gap:4px}.modal-footer-title .modal-game-info .matchup{justify-content:center}.modal-footer-title .modal-game-info .game-state{grid-column:2;justify-self:center}.modal-content,.modal-card,.modal-footer{min-width:0}.modal-footer-title{overflow-wrap:anywhere;width:100%;min-width:95%}}.page{flex-direction:column;min-height:100dvh;display:flex}.page-main{flex:1}.site-footer{text-align:center;color:var(--text-muted);padding:24px 0 8px;font-size:.8rem}@keyframes shimmer{to{background-position:-200% 0}}@keyframes spin{to{transform:rotate(360deg)}}.skeleton{background:linear-gradient(90deg, var(--border) 25%, color-mix(in srgb, var(--border) 55%, var(--surface)) 50%, var(--border) 75%);background-size:200% 100%;animation:1.4s linear infinite shimmer}.skeleton-line{border-radius:6px;height:12px}.skeleton-strip{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-bottom:20px;display:grid}.skeleton-tile{border-radius:10px;height:72px}.skeleton-game{border:1px solid var(--border);border-radius:8px;margin-bottom:14px;padding:12px}.skeleton-game-head{flex-direction:column;align-items:center;gap:8px;margin-bottom:16px;display:flex}.skeleton-card{border:1px solid var(--border);border-radius:8px;overflow:hidden}.skeleton-card .skeleton-thumb{aspect-ratio:16/9}.skeleton-card-body{flex-direction:column;gap:8px;padding:10px;display:flex}.slow-hint{text-align:center;color:var(--text-muted);margin:0 0 16px;font-size:.85rem}.highlight-thumb.skeleton img{opacity:0}.highlight-thumb img{transition:opacity .3s,transform .25s}.video-loading{z-index:1;pointer-events:none;background:#000;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.spinner{border:3px solid #ffffff40;border-top-color:#fff;border-radius:50%;width:36px;height:36px;animation:.8s linear infinite spin}@media (prefers-reduced-motion:reduce){.skeleton,.spinner{animation-duration:3s}}.highlight-thumb.goal-thumb{background:linear-gradient(135deg,#f3f4f6,#d1d5db)}.highlight-thumb.goal-thumb.skeleton{background:linear-gradient(90deg, var(--border) 25%, color-mix(in srgb, var(--border) 55%, var(--surface)) 50%, var(--border) 75%);background-size:200% 100%}.highlight-thumb .goal-thumb-logo{object-fit:contain;opacity:.3;width:98%;height:169%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.highlight-thumb .goal-thumb-headshot{object-fit:contain;object-position:center bottom;position:absolute;inset:0}
