:root{color-scheme:dark;--bg: #070708;--panel: #101113;--panel-2: #15171a;--line: #292b30;--muted: #a4a9b3;--text: #f7f7f2;--orange: #ff4b16;--cyan: #42d6ff;--yellow: #ffc83d;--green: #77f264;--red: #ff3e55;--shadow: 0 18px 50px rgba(0, 0, 0, .38);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;letter-spacing:0}*{box-sizing:border-box}html{min-width:320px;background:var(--bg)}body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(90deg,rgba(66,214,255,.06) 1px,transparent 1px),linear-gradient(180deg,rgba(255,75,22,.06) 1px,transparent 1px),linear-gradient(135deg,#050506,#0a0b0d 42%,#120d0a);background-size:56px 56px,56px 56px,auto;color:var(--text)}button,input{font:inherit;letter-spacing:0}button{cursor:pointer}button:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh}.topbar{position:sticky;top:0;z-index:30;display:grid;grid-template-columns:auto minmax(240px,1fr) auto;align-items:center;gap:18px;min-height:76px;padding:12px 22px;border-bottom:1px solid rgba(255,255,255,.08);background:#070708eb;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.brand{display:inline-flex;align-items:center;min-width:0;gap:12px}.brand img{width:156px;height:52px;object-fit:contain;filter:drop-shadow(0 8px 18px rgba(0,0,0,.55))}.brand span{display:flex;flex-direction:column;gap:1px;min-width:0;padding-left:12px;border-left:1px solid rgba(255,255,255,.16)}.brand strong{color:var(--text);font-size:1rem;line-height:1.05}.brand small{color:var(--muted);font-size:.75rem}.topnav{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;overflow-x:auto}.nav-pill,.rail-button,.icon-button,.source-button,.text-button,.schedule-row,.match-card{border:1px solid transparent;background:none;color:inherit}.nav-pill{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;min-width:88px;padding:0 13px;border-radius:8px;color:var(--muted);background:#ffffff0a;border-color:#ffffff14;font-size:.88rem;font-weight:700;white-space:nowrap}.nav-pill:hover,.nav-pill.is-active{color:var(--text);border-color:#42d6ff73;background:linear-gradient(135deg,#42d6ff29,#ff4b1624)}.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}.search-box{display:flex;align-items:center;width:min(320px,34vw);height:42px;gap:10px;padding:0 12px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#ffffff0d;color:var(--muted)}.search-box input{width:100%;min-width:0;border:0;outline:0;color:var(--text);background:transparent;font-size:.92rem}.search-box input::placeholder{color:#818794}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:8px;color:var(--text);border-color:#ffffff1f;background:#ffffff0f}.icon-button:hover{color:#071013;border-color:var(--cyan);background:var(--cyan)}.spin{animation:spin .85s linear infinite}.app-main{display:grid;grid-template-columns:76px minmax(0,1fr);gap:0;min-height:calc(100vh - 76px)}.side-rail{position:sticky;top:77px;height:calc(100vh - 77px);display:flex;flex-direction:column;align-items:center;gap:22px;padding:20px 14px;border-right:1px solid rgba(255,255,255,.08);background:#0a0a0c8c}.rail-status{writing-mode:vertical-rl;transform:rotate(180deg);display:flex;align-items:center;gap:8px;color:var(--muted);font-size:.72rem;font-weight:800}.pulse-dot{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 12px #77f264cc}.pulse-dot.is-warn{background:var(--yellow);box-shadow:0 0 12px #ffc83dcc}.rail-stack{display:grid;gap:10px}.rail-button{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:8px;color:var(--muted);border-color:#ffffff1a;background:#ffffff0d}.rail-button:hover,.rail-button.is-active{color:#071013;border-color:var(--cyan);background:var(--cyan)}.content-area{width:min(100%,1600px);margin:0 auto;padding:22px}.score-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.metric-tile{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:70px;padding:14px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:linear-gradient(135deg,#ffffff0f,#ffffff06);box-shadow:var(--shadow)}.metric-tile svg{color:var(--cyan)}.metric-tile span{color:var(--muted);font-size:.84rem;font-weight:700}.metric-tile strong{color:var(--text);font-size:1.25rem}.stage-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,390px);gap:18px;align-items:start}.player-section,.live-panel,.schedule-panel,.insight-panel{border:1px solid rgba(255,255,255,.09);border-radius:8px;background:#101113e0;box-shadow:var(--shadow)}.player-section{padding:14px}.player-shell{overflow:hidden;border:1px solid rgba(255,255,255,.09);border-radius:8px;background:#000}.player-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding:8px 10px;border-bottom:1px solid rgba(255,255,255,.08);background:#0b0c0d}.topline-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.live-chip,.soft-chip{display:inline-flex;align-items:center;gap:7px;min-height:28px;padding:0 10px;border-radius:8px;font-size:.78rem;font-weight:800}.live-chip{color:#200600;background:var(--orange)}.soft-chip{color:#0c171a;background:var(--cyan)}.source-kind{display:inline-block;max-width:min(34vw,260px);overflow:hidden;color:var(--muted);font-size:.78rem;font-weight:800;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.mini-button{display:inline-flex;align-items:center;justify-content:center;height:30px;padding:0 10px;border:1px solid rgba(66,214,255,.42);border-radius:8px;color:#061014;background:var(--cyan);font-size:.75rem;font-weight:900}.player-viewport{position:relative;aspect-ratio:16 / 9;width:100%;overflow:hidden;background:linear-gradient(135deg,rgba(255,75,22,.2),transparent 38%),linear-gradient(315deg,rgba(66,214,255,.18),transparent 42%),#030303}.player-viewport iframe,.player-viewport video{position:absolute;inset:0;width:100%;height:100%;border:0;background:#000}.player-viewport video{object-fit:contain}.player-empty{display:flex;align-items:center;justify-content:center;gap:14px;color:var(--muted);text-align:left}.player-empty strong{display:block;color:var(--text);font-size:1rem}.player-empty span,.player-empty a{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:.88rem}.player-alert{position:absolute;left:12px;bottom:12px;display:flex;align-items:center;gap:8px;max-width:calc(100% - 24px);padding:9px 10px;border-radius:8px;color:#1d0c00;background:var(--yellow);font-size:.82rem;font-weight:800}.player-overlay{position:absolute;inset:auto 16px 16px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border:1px solid rgba(255,255,255,.14);border-radius:8px;background:#070708e0;box-shadow:0 14px 42px #00000080;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.player-overlay>div:first-child{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 10px;min-width:0}.player-overlay svg{grid-row:1 / span 2;color:var(--yellow)}.player-overlay strong{color:var(--text);font-size:.92rem}.player-overlay span{color:var(--muted);font-size:.82rem}.player-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}.player-actions button,.player-actions a{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:36px;padding:0 11px;border:1px solid rgba(255,255,255,.12);border-radius:8px;color:var(--text);background:#ffffff14;font-size:.8rem;font-weight:900;white-space:nowrap}.player-actions button:hover,.player-actions a:hover{color:#061014;border-color:var(--cyan);background:var(--cyan)}.match-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;padding:18px 4px 4px}.team-title{display:flex;align-items:center;flex:1 1 auto;min-width:0;gap:13px}.team-title>div{min-width:0}.team-title p{margin:0 0 4px;color:var(--cyan);font-size:.82rem;font-weight:800}.team-title h1{margin:0;max-width:100%;overflow:hidden;color:var(--text);font-size:2.2rem;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.team-badge,.badge-fallback{width:24px;height:24px;flex:0 0 auto}.team-badge{object-fit:contain}.team-badge.large,.badge-fallback{width:46px;height:46px}.badge-fallback{display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,200,61,.55);border-radius:8px;color:#180900;background:var(--yellow);font-weight:900}.match-meta{display:flex;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end;gap:8px;min-width:0}.match-meta span{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:0 10px;border:1px solid rgba(255,255,255,.09);border-radius:8px;color:var(--muted);background:#ffffff0a;font-size:.83rem;font-weight:800;white-space:nowrap}.source-panel{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;padding-top:14px}.section-title,.panel-heading{display:flex;align-items:center;gap:9px}.section-title h2,.panel-heading h2{margin:0;color:var(--text);font-size:1rem}.section-title svg,.panel-heading svg{color:var(--orange)}.source-list{display:flex;gap:8px;min-width:0;overflow-x:auto;padding-bottom:2px}.source-button{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;min-width:122px;max-width:210px;height:42px;padding:0 11px;border-radius:8px;color:var(--muted);border-color:#ffffff1a;background:#ffffff0a;text-align:left}.source-button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:800}.source-button small{max-width:88px;overflow:hidden;color:#7e8490;font-size:.7rem;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.source-button:hover,.source-button.is-active{color:#041015;border-color:var(--cyan);background:var(--cyan)}.source-button:hover small,.source-button.is-active small{color:#041015b8}.quiet-text{color:var(--muted);font-size:.88rem}.live-panel{display:flex;flex-direction:column;max-height:calc(100vh - 184px);overflow:hidden}.panel-heading{justify-content:space-between;min-height:64px;padding:15px;border-bottom:1px solid rgba(255,255,255,.08)}.eyebrow{display:block;margin-bottom:2px;color:var(--cyan);font-size:.76rem;font-weight:900}.count-pill{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:30px;padding:0 9px;border-radius:8px;color:#160700;background:var(--orange);font-weight:900}.match-list{display:grid;gap:10px;overflow-y:auto;padding:12px}.match-card{position:relative;min-height:146px;overflow:hidden;border-radius:8px;border-color:#ffffff17;background:#111214;text-align:left}.match-card:hover,.match-card.is-selected{border-color:#ffc83db3}.match-card.is-selected{box-shadow:inset 0 0 0 1px #ffc83d80}.match-poster,.match-shade{position:absolute;inset:0;width:100%;height:100%}.match-poster{object-fit:cover;opacity:.35}.match-shade{background:linear-gradient(180deg,#08080980,#0d0e10 96%),linear-gradient(90deg,#ff4b1633,#42d6ff14)}.match-card-content{position:relative;z-index:1;display:flex;flex-direction:column;gap:10px;min-height:146px;padding:12px}.match-card-top,.match-foot{display:flex;align-items:center;justify-content:space-between;gap:12px}.live-tag{display:inline-flex;align-items:center;gap:6px;min-height:24px;padding:0 8px;border-radius:6px;color:#1b0600;background:var(--orange);font-size:.72rem;font-weight:900}.live-tag span{width:6px;height:6px;border-radius:50%;background:#fff}.match-card small,.match-foot small{color:var(--muted);font-size:.75rem;font-weight:800}.teams{display:grid;gap:5px;min-width:0}.teams>small{padding-left:32px}.team-line{display:flex;align-items:center;min-width:0;gap:8px}.team-line strong{overflow:hidden;color:var(--text);font-size:.96rem;text-overflow:ellipsis;white-space:nowrap}.match-foot{margin-top:auto}.lower-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.8fr);gap:18px;margin-top:18px}.schedule-list{display:grid;gap:9px;padding:12px}.schedule-row{display:grid;grid-template-columns:86px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:68px;padding:10px;border-radius:8px;border-color:#ffffff14;background:#ffffff0a;text-align:left}.schedule-row:hover{border-color:#42d6ff8c}.date-box{display:grid;align-content:center;justify-items:center;min-height:48px;border-radius:8px;color:#071013;background:var(--cyan)}.date-box strong,.schedule-copy strong{font-size:.9rem}.date-box small,.schedule-copy small{color:#071013b8;font-size:.73rem;font-weight:800}.schedule-copy{display:grid;min-width:0;gap:3px}.schedule-copy strong,.schedule-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.schedule-copy small{color:var(--muted)}.text-button{height:34px;padding:0 12px;border-radius:8px;color:#160700;background:var(--yellow);font-size:.82rem;font-weight:900}.health-grid{display:grid;gap:12px;padding:12px}.health-item{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:12px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#ffffff0a}.health-item span{color:var(--muted);font-size:.86rem;font-weight:800}.health-item strong{font-size:.92rem}.health-item.is-good strong{color:var(--green)}.health-item.is-warn strong{color:var(--yellow)}.health-item.is-neutral strong{color:var(--cyan)}.empty-state{display:grid;justify-items:center;gap:7px;padding:28px 16px;border:1px dashed rgba(255,255,255,.14);border-radius:8px;color:var(--muted);text-align:center}.empty-state svg{color:var(--yellow)}.empty-state strong{color:var(--text)}.empty-state span{font-size:.86rem}.skeleton-card{min-height:132px;border-radius:8px;background:linear-gradient(90deg,#101113,#1a1c20,#101113);background-size:200% 100%;animation:shimmer 1.2s ease-in-out infinite}@keyframes shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1200px){.topbar{grid-template-columns:auto 1fr}.topnav{order:3;grid-column:1 / -1;justify-content:flex-start}.stage-grid,.lower-grid{grid-template-columns:1fr}.live-panel{max-height:none}.match-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:1440px){.content-area{padding:18px}.match-header{align-items:stretch;flex-direction:column;gap:12px}.team-title h1{font-size:2rem;overflow-wrap:anywhere;text-overflow:clip;white-space:normal}.match-meta{justify-content:flex-start}.source-panel{align-items:stretch;grid-template-columns:1fr;gap:10px}}@media(min-width:1201px)and (max-width:1440px){.stage-grid{grid-template-columns:minmax(0,1fr) minmax(300px,360px);gap:14px}.lower-grid{grid-template-columns:minmax(0,1.35fr) minmax(280px,.75fr);gap:14px}}@media(max-width:820px){.topbar{grid-template-columns:1fr;gap:12px}.brand img{width:142px;height:48px}.brand span{display:none}.header-actions{justify-content:stretch}.search-box{width:100%}.app-main{display:block}.side-rail{position:fixed;inset:auto 0 0;z-index:40;height:68px;flex-direction:row;justify-content:center;padding:9px 12px;border-top:1px solid rgba(255,255,255,.1);border-right:0;background:#070708f0;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.rail-status{display:none}.rail-stack{display:flex;gap:8px;max-width:100%;overflow-x:auto}.rail-button{width:48px;height:48px}.content-area{padding:14px 12px 86px}.score-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.match-header,.source-panel{align-items:stretch;grid-template-columns:1fr;flex-direction:column}.team-title h1{white-space:normal;font-size:1.5rem}.match-meta{justify-content:flex-start}.match-list{grid-template-columns:1fr}.schedule-row{grid-template-columns:74px minmax(0,1fr) auto}}@media(max-width:520px){.topnav{display:none}.score-strip{gap:8px}.metric-tile{grid-template-columns:auto 1fr;min-height:76px}.metric-tile strong{grid-column:1 / -1;font-size:1.45rem}.player-section,.live-panel,.schedule-panel,.insight-panel{border-radius:8px}.player-section{padding:10px}.source-button{min-width:108px}.player-overlay{inset:auto 10px 10px;flex-direction:column;align-items:stretch}.player-actions{justify-content:stretch}.player-actions button,.player-actions a{flex:1}}
