:root{--app-bg:#131820;--app-paper:#1a202a;--app-line:#344054;--app-sky:#bcc3d0;--app-copy:#c7cdd8;--app-white:#f7f8fa;--app-blue:#3e4c64;--app-safe:env(safe-area-inset-bottom,0px)}
body.tios-app{background:radial-gradient(ellipse 100% 28% at 50% 0,#354156,#131820 72%);color:var(--app-white)}
.tios-app .shell{width:min(calc(100% - 28px),560px);margin-inline:auto}.tios-app .top{background:#131820f2;border-color:#3c4a6288;padding-top:env(safe-area-inset-top,0px)}.tios-app .top-inner{height:55px}.tios-app .brand img{width:136px}.app-info{min-width:44px;height:44px;display:grid;place-items:center;border:1px solid #475875;background:#242c3b;color:#eaedf1;border-radius:12px}.app-info svg{width:20px;height:20px}
.tios-app main{padding-bottom:calc(76px + var(--app-safe));min-height:calc(100dvh - 55px)}.tios-app main>footer{padding:12px 0 0;margin:0}.tios-app .view{padding-top:14px;animation:app-enter .24s ease both}
.app-dash,.app-score-head,.app-sectionhead{display:flex;justify-content:space-between;align-items:center;gap:9px}.app-dash{margin:0 0 10px}.app-eyebrow,.app-tag{font-size:10px;font-weight:820;letter-spacing:.125em;color:#c8ced9;line-height:1.45}.app-dash h1,.tios-app .viewintro h1{font:900 clamp(33px,9vw,46px)/.99 system-ui,sans-serif;letter-spacing:-.061em;margin:2px 0 4px}.app-context,.tios-app .viewintro p:not(.kicker){color:var(--app-copy);font-size:14px;line-height:1.35}
.season-token{display:flex;align-items:center;justify-content:center;gap:6px;padding:7px 10px;background:#303a4e;border:1px solid #5e749a;border-radius:16px;color:#f0f1f4;font-size:12px;font-weight:750;letter-spacing:.04em;flex-shrink:0}.season-token i{width:6px;height:6px;border-radius:50%;background:var(--app-sky);box-shadow:0 0 9px #98a3b780}
.app-score{padding:12px;border:1px solid #5a6f94;border-radius:15px;background:radial-gradient(ellipse at 100% 0,#4d5f7d,#333f53 42%,#273040 85%);box-shadow:0 9px 25px #0a0d114d}.app-score h2{font-size:20px;line-height:1.06;letter-spacing:-.045em;margin:2px 0}.app-link{padding:4px 6px;color:var(--app-sky);min-height:44px;font-size:13px;font-weight:830;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#8a97ae;flex-shrink:0}.app-link:active{opacity:.8}
.tios-app .app-score .score{margin:7px 0 0;gap:5px}.tios-app .app-score .score button{border-radius:9px;min-height:57px;background:#1c222db3;border-color:#677da27a;padding:6px 7px}.tios-app .app-score .score b{font-size:clamp(25px,8vw,37px);line-height:1;font-weight:880;color:#fbfbfc;margin:0}.tios-app .app-score .score small{margin-top:4px;font-size:11px;color:#d2d7e0}
.app-modules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 12px}.app-modules button{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;text-align:left;gap:7px;padding:8px 6px;min-height:61px;border-radius:11px;border:1px solid #42516b;background:#222a37}.app-modules button:active,.app-stat-row:active{background:#333f53}.module-icon{height:30px;width:30px;display:grid;place-items:center;border-radius:9px;background:#3a475e;color:#c8ced9}.module-icon.gold{background:#4b4338;color:#ffdc98}.module-icon svg{width:16px;height:16px}.app-modules strong,.app-modules small{display:block}.app-modules strong{font-size:13px;font-weight:800;line-height:1.08}.app-modules small{font-size:11px;color:#c5ccd7;line-height:1.14;margin-top:4px}
.app-leaders{display:grid;gap:6px;padding:0}.app-sectionhead h2,.app-team h2{font-size:24px;font-weight:880;letter-spacing:-.051em;line-height:1.01}.tios-app .app-leader-tabs{margin:0;width:auto;padding:2px;gap:4px}.tios-app .app-leader-tabs button{font-size:12px;min-height:44px;padding:3px 8px}.app-stat-set{position:relative;border-bottom:1px solid #344156;padding:5px 0;color:#fafafb}.app-stat-label{display:block;padding:2px 0 0 3px;color:#bcc3d0;font-size:11px;font-weight:780}.app-stat-row{width:100%;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:7px;min-height:45px;padding:3px 5px;border-radius:7px;text-align:left}.app-stat-avatar{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;color:#d2d7e0;font-size:10px;font-weight:860;background:#2e384a}.app-stat-row strong{font-size:14px;font-weight:740}.app-stat-row b{font-size:20px;font-weight:900;color:#cfd5de;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.app-stat-tie{position:absolute;right:5px;top:7px;color:#ffdf9e;font-size:10px;font-weight:800}
.app-team{margin-top:12px;display:grid;grid-template-columns:77px minmax(0,1fr);gap:7px;align-items:center;min-height:93px;border:1px solid #485976;border-radius:13px;background:radial-gradient(ellipse at 0 50%,#445470,#222a37 70%);padding:5px 9px;overflow:hidden}.app-mascot{width:77px;height:77px;object-fit:contain;filter:drop-shadow(0 4px 8px #11161db0)}.app-team .app-link{min-height:38px;text-align:left;padding-left:0}
.tios-app .dock{width:100%;left:0;right:0;transform:none;max-width:none;border-radius:0;padding:4px 12px calc(4px + var(--app-safe));background:#1b222dfa;border:0;border-top:1px solid #42516b}.tios-app .dock>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;max-width:560px;width:100%;margin-inline:auto}.tios-app .dock button{border-radius:9px;min-height:49px;font-size:11px;font-weight:780;padding-inline:0;transition:background .18s,color .18s}.tios-app .dock button[aria-current=page]{background:#3c4a62;color:#d1d6df}.tios-app .dock svg{width:20px;height:20px}
.tios-app .viewintro{margin:0 0 9px}.tios-app .switch{background:#1e2532;border-color:#39465c}.tios-app .switch button[aria-pressed=true]{background:#3e4c65;color:#eff1f4;border-color:#576b8d}.tios-app .chips{max-width:100%;display:flex;white-space:nowrap;overflow:auto;scrollbar-width:thin;overscroll-behavior-inline:contain}.tios-app .chips button{flex:0 0 auto}.tios-app .search,.tios-app .ranks,.tios-app .person,.tios-app .card{background:#1f2633;border-color:#3f4d66}.tios-app .search input,.tios-app select{font-size:16px}.tios-app .awards-intro{padding:13px 12px 12px;border-radius:13px;background:linear-gradient(118deg,#303b4e,#232b39);border-color:#665b4e}.tios-app .awards-intro h1{margin:5px 0 7px;font-size:clamp(31px,8vw,41px);max-width:82%}.tios-app .awards-orbit{opacity:.42}.tios-app .sheet{background:#202835;border-color:#43536e}.tios-app .app-info-sheet>img{margin-top:8px;width:100%;height:auto;max-height:234px;object-fit:cover;object-position:center 33%;border-radius:11px}.app-info-sheet>p:not(.kicker){color:#e3e6eb;line-height:1.48;margin:9px 0;font-size:15px}.app-info-sheet .run{margin-top:2px}.tios-app [hidden]{display:none!important}
@keyframes app-enter{from{opacity:.64;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(min-width:740px){body.tios-app{background:radial-gradient(ellipse 58% 32% at 50% 0,#3e4c65,#131820 67%)}.tios-app .app-modules button{padding:8px 13px}.tios-app .app-dash{margin-bottom:14px}.tios-app .app-score{padding:15px}}
@media(prefers-reduced-motion:reduce){.tios-app .view{animation:none!important}.tios-app button{transition:none!important}}
.tios-app .player-export .wa{color:#f8f9fa}

.tios-app .player-export{display:flex;align-items:center;gap:10px;margin:12px 0 8px}
.tios-app .player-export img{display:block;width:48px;height:59px;object-fit:contain;border:1px solid #6f83a6;border-radius:6px;background:#171c25}
.tios-app .player-export .run{flex:1;width:auto;min-height:48px;margin:0;font-size:15px;color:#131820;background:#bcc3d0;border-color:#c4cbd6;box-shadow:none}
.tios-app .player-export .run:disabled{opacity:.55;cursor:wait}

.tios-app .bori-credit{display:flex;align-items:baseline;flex-wrap:wrap;gap:0 .35em;margin-top:8px;color:#cdd2dc;font-size:14px;line-height:1.45}
.tios-app .bori-credit a{display:inline-flex;align-items:center;gap:6px;min-height:44px;color:#cbd1db;text-decoration:underline;text-underline-offset:3px;font-weight:750}
.bori-youtube{font-size:11px;font-weight:750;color:#ffc2be;background:#462d3d;padding:2px 6px;border-radius:6px}
.tios-app .bori-credit-card{margin:0 0 4px}
.tios-app .bori-feature{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:center;gap:12px;min-height:80px;margin:14px 0 0;padding:10px 12px;background:linear-gradient(115deg,#323d51,#1f2632 72%);border:1px solid #56698b;border-radius:13px;color:#f7f8fa;text-decoration:none}
.bori-logo{display:block;width:56px;height:56px;object-fit:cover;border-radius:50%;box-shadow:0 0 0 1px #8a97ae}
.bori-feature small,.bori-feature strong,.bori-feature-note{display:block}.bori-feature small{color:#cfd5de;font-size:11px;letter-spacing:.07em;font-weight:800}.bori-feature strong{font-size:18px;line-height:1.25}.bori-feature-note{color:#d5dae2;font-size:13px;margin-top:2px}
.bori-feature:focus-visible,.bori-credit a:focus-visible{outline:2px solid #bcc3d0;outline-offset:3px}

.bori-feature-note{color:#cbd1db;font-weight:750;text-decoration:underline;text-underline-offset:3px}

/* Same v17 app-blue visual language; current sections match it. */
.tios-app .brand img{width:105px;height:49px;object-fit:contain;background:transparent}
.tios-app .app-score .score b{white-space:nowrap;font-variant-numeric:tabular-nums}
.tios-app .dock>div{grid-template-columns:repeat(6,minmax(0,1fr));gap:2px}
.tios-app .dock button{padding-inline:0}
.tios-app .dock button span{white-space:nowrap}
@media(max-width:420px){.tios-app .dock{padding-inline:6px}.tios-app .dock button span{font-size:.63rem}}
.tios-app .compare-entry{margin:-2px 0 6px;padding-inline:0;color:#cbd1db;text-decoration:underline;text-underline-offset:4px}
.tios-app .compare-note{font-size:.79rem!important;margin-top:.45rem}
.video-list,.sponsor-grid{display:grid;gap:8px}
.match-video{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:9px;align-items:center;min-height:68px;padding:9px 10px;background:#222a37;color:#f9f9fa;border:1px solid #42516b;border-radius:12px;text-decoration:none}
.match-video:hover,.match-video:active{background:#344055;border-color:#7488aa}
.match-play{width:38px;height:38px;border-radius:9px;background:#3e4c64;color:#dadee5;display:grid;place-items:center}
.match-copy{min-width:0}.match-copy strong,.match-copy small{display:block}.match-copy strong{font-size:.95rem;line-height:1.22}.match-copy small{margin-top:4px;font-size:.76rem;color:#d4d9e1}
.match-time{white-space:nowrap;color:#e3e6eb;font-size:.72rem;font-variant-numeric:tabular-nums}
.video-credit{display:flex;gap:10px;align-items:center;margin:13px 0 3px;padding:10px 11px;border:1px solid #3f4d66;border-radius:12px;background:#202734;color:#f1f3f6;font-size:.87rem}
.video-credit img{border-radius:50%;flex:none}.video-credit a{color:#cbd1db;display:inline-flex;min-height:44px;align-items:center}
.sponsor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sponsor-card{display:grid;min-height:130px;border:1px solid #42516b;border-radius:13px;background:#212937;color:#f8f9fa;padding:10px;text-align:center}
.sponsor-card a{display:grid;align-content:center;justify-items:center;gap:8px;color:inherit;text-decoration:none}.sponsor-card a:hover h2{text-decoration:underline}
.sponsor-card img{width:100%;height:76px;object-fit:contain;border-radius:7px}.sponsor-card h2{margin:0;font-size:.91rem}.creator-credit{display:flex;justify-content:center;gap:4px;color:#d2d7e0;border-top:1px solid #42516c;padding-top:12px;margin-top:16px;font-size:.86rem}
#sponsor-recarro img{height:65px;background:#000;padding:3px}
#sponsor-grullon img{width:81px;height:76px;object-fit:fill;clip-path:ellipse(49.5% 49.5%)}
#sponsor-credi img,#sponsor-playado img{width:77px;height:77px}
#sponsor-credi img{clip-path:circle(49.5%)}
@media(min-width:561px){.sponsor-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.tios-app :focus-visible{outline:2px solid #c3cad5;outline-offset:3px}
@keyframes stat-settle{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}
@keyframes sponsor-arrive{from{opacity:.42;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:no-preference){
 .tios-app .app-score .score button b,.tios-app .app-stat-row{animation:stat-settle .3s cubic-bezier(.22,.76,.38,1) both}
 .tios-app .sponsor-card{animation:sponsor-arrive .38s ease-out both}
 .tios-app .sponsor-card:nth-child(2){animation-delay:40ms}
 .tios-app .sponsor-card:nth-child(3){animation-delay:80ms}
 .tios-app .sponsor-card:nth-child(4){animation-delay:120ms}
}
.season-source{min-height:44px;text-decoration:none;color:#f1f2f5}.season-source small{display:block;font-size:.66rem;font-weight:600;letter-spacing:0;color:#dde1e8;margin-top:2px}.tios-app .app-score .score small{white-space:nowrap}
.context-cut{margin:-.25rem 0 .7rem;color:#cfd5de;font-size:.79rem}
.metric-strip{display:flex;align-items:flex-start;gap:4px}.metric-strip .chips{flex:1;min-width:0;max-width:100%}
#metric-next{min-width:44px;min-height:44px;border:1px solid #8492aa;border-radius:9px;background:#344055;color:#f1f2f5;font-size:1.35rem}
.tios-app .player-export{display:flex;align-items:center;gap:8px}.tios-app .export-actions{min-width:0;flex:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.tios-app .export-actions .run,.tios-app .export-actions .ghost{min-width:0;width:100%;min-height:46px;padding:5px;margin:0;line-height:1.16;font-size:.78rem}
.tios-app .export-actions .ghost{border-color:#657ba0}.tios-app .export-actions .ghost:disabled{opacity:.55}

/* A single red play cue; the approved palette is unchanged elsewhere. */
.tios-app .match-play{background:#421924;color:#ff727b;border:1px solid #88424c}
/* Celebrate entering the trophy room with a smooth, pausable turn. */
.tios-app .awards-orbit{perspective:220px}
.tios-app .awards-orbit svg{animation:none;transform-origin:center}
@keyframes trophy-turn{from{transform:rotateY(0deg)}to{transform:rotateY(360deg)}}
@media(prefers-reduced-motion:no-preference){
 #view-trofeos:not([hidden]) .awards-orbit svg{animation:trophy-turn 6s linear infinite}
}
@media(prefers-reduced-motion:reduce){#view-trofeos .awards-orbit svg{animation:none!important;transform:none!important}}

.trophy-motion{min-height:44px;padding:5px 0;text-decoration:underline;text-underline-offset:4px;font-size:.78rem;color:#ffdf9e;font-weight:750}
#view-trofeos.trophy-paused .awards-orbit svg{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.trophy-motion{display:none}}
