/* Scoreboard edition. Essential readings always work without animation. */
:root{--board-ink:#0f1726;--board-paper:#f4f6fa;--board-gold:#edcd82;--board-blue:#5988c3}
.tios-app .shell{width:min(calc(100% - 28px),860px)}
.tios-app .dock>div{max-width:740px}
.tios-app .app-dash.scoreboard-hero{position:relative;isolation:isolate;overflow:hidden;align-items:stretch;gap:14px;border-radius:22px;border:1px solid #405875;min-height:195px;margin-bottom:16px;padding:clamp(16px,3vw,27px);background:linear-gradient(115deg,#203a59,#142236 61%,#101a2b);box-shadow:0 13px 40px #060a1390}
.scoreboard-hero:after{content:"";position:absolute;inset:0;z-index:-1;background:repeating-linear-gradient(123deg,transparent 0 17px,#9bbbe204 17px 18px);pointer-events:none}
.tios-app .scoreboard-hero h1{font-size:clamp(2.1rem,8.4vw,4.7rem);line-height:.98;margin:.25rem 0 .45rem;letter-spacing:-.055em;text-wrap:balance}
.hero-team,.hero-side{position:relative;min-width:0}
.hero-side{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:9px;flex:none;text-align:right}
.hero-mark{position:absolute;inset:-2.2rem -1.2rem auto auto;z-index:-1;width:clamp(175px,36vw,340px);aspect-ratio:1;color:#85a7d4;opacity:.24;pointer-events:none}
.hero-mark svg{width:100%;height:auto}
.hero-primary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:.9rem;padding:.35rem .76rem;border:1px solid #edcd82;border-radius:.58rem;background:#edcd82;color:#152235;font-size:.88rem;font-weight:850;text-align:center}
.record-block strong,.record-block span{display:block}
.record-block strong{font-variant-numeric:tabular-nums;font-size:clamp(1.67rem,6vw,2.65rem);line-height:1;font-weight:900;letter-spacing:-.07em;color:#f5f7fb}
.record-block span{font-size:.69rem;color:#c7d4e8;line-height:1.15;margin-top:.27rem;max-width:7rem}
.tios-app .app-score{border-radius:16px}
.tios-app .app-score .score{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));overflow:visible}
.tios-app .app-score .score button{width:auto;min-width:0;min-height:67px}
.tios-app .app-score .score b{font-size:clamp(1.3rem,6vw,2rem)}
.tios-app .app-score .score small{font-size:.69rem;display:block;white-space:normal;line-height:1.15}
.tios-app .board-heading{font-size:20px}
.tios-app .league-control{flex-wrap:wrap;gap:8px 12px}
.tios-app .league-control select{min-width:8.5rem}
.motion-control{min-height:44px;padding:.25rem .58rem;font-size:.78rem;color:#d7e3f5;border:1px solid #4a5d78;border-radius:.53rem;background:#1a283e}
.motion-control[aria-pressed=true]{color:#edcd82}
.tios-app .app-leaders{background:#131f34;border:1px solid #364965;border-radius:16px;padding:11px 13px;margin:13px 0}
.tios-app .trophy-motion{min-height:44px}
@media(max-width:630px){.tios-app .app-score .score{grid-template-columns:repeat(3,minmax(0,1fr))}.tios-app .app-score .score button{min-height:57px}}
@media(max-width:390px){.tios-app .app-dash.scoreboard-hero{padding:14px;gap:8px;min-height:177px}.record-block span{max-width:5.5rem}.tios-app .scoreboard-hero h1{font-size:clamp(1.9rem,8vw,2.3rem)}.motion-control{padding-inline:.4rem;font-size:.71rem}}
@media(prefers-reduced-motion:no-preference){
 html:not(.motion-off) .scoreboard-hero .hero-team{animation:board-slide .44s ease-out both}
 html:not(.motion-off) .scoreboard-hero .hero-mark{animation:board-diamond .75s ease-out both}
 html:not(.motion-off) .app-score .score button{animation:board-slide .42s ease-out var(--entry,0ms) both}
 html:not(.motion-off) .app-stat-set{animation:board-slide .3s ease-out both}
 html:not(.motion-off) .app-stat-set:nth-child(2){animation-delay:45ms}html:not(.motion-off) .app-stat-set:nth-child(3){animation-delay:90ms}
 html:not(.motion-off) .hero-primary:active{transform:translateY(1px)}
}
@keyframes board-slide{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes board-diamond{from{opacity:0;transform:scale(.94) rotate(-6deg)}to{opacity:.24;transform:none}}
html.motion-off *,html.motion-off *:before,html.motion-off *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
