.oshi-brand{font-size:22px;letter-spacing:.04em;white-space:nowrap;color:#25223f}.oshi-welcome{display:flex;align-items:center;justify-content:center;gap:50px;min-height:420px;margin:25px auto;max-width:900px}.oshi-welcome>.oshi-challenger{width:180px;height:260px;object-fit:contain}.oshi-welcome h1{font-size:clamp(36px,5vw,64px);letter-spacing:.04em;line-height:1.3}.oshi-tagline{font-size:17px;margin:18px 0 28px;color:#625b70}.oshi-start-actions{display:flex;gap:12px;flex-wrap:wrap}.oshi-start-actions button{min-height:48px}.source-build{font-size:14px;line-height:1.6;margin-top:10px;color:#625b70}
[data-game=oshi] .status-heading{padding-right:0}.stat-select{align-items:flex-start}.stat-select strong{font-size:18px;line-height:1.5;overflow-wrap:anywhere}.stat-select input{margin-top:4px}.stat-mega{border-top:3px solid #8470b3}.stat-mega-label{font-size:14px;font-weight:800;color:#66518f;margin:10px 0 6px}.stat-mega-choices{display:flex;gap:5px;flex-wrap:wrap;margin:8px 0}.stat-mega-choices button{padding:7px 9px;font-size:13px;flex:1}.stat-mega-choices [aria-pressed=true]{background:#ede6f6;border-color:#8470b3;color:#473960}.mega-preview summary{font-weight:700}.chosen-party article{grid-template-columns:1fr}.chosen-party details{grid-column:1}.opponent-controls>.primary{margin-left:auto}.stat-option{padding:18px}.stat-grid{gap:14px}.stat-values{margin:12px 0}.scout-progress li>b{overflow-wrap:anywhere}
.oshi-opponent-build{display:block;padding:10px 0;border-bottom:1px solid #d8d0df;font-size:15px}.oshi-token{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}.oshi-token img,.oshi-token svg{display:block;object-fit:contain}.oshi-member-face{border-radius:50%;border:4px solid #fff;box-shadow:0 2px 12px #18243933}.oshi-token>strong{font-size:13px;line-height:1.4;max-width:100%;padding:5px 9px;color:#1f2940;background:#fffffff2;border-radius:3px;white-space:normal;text-align:center}
[data-game=oshi] .combatant{width:27%;height:52%;bottom:13%;display:flex;align-items:center;justify-content:center}[data-game=oshi] .combatant.player{left:10%}[data-game=oshi] .combatant.cpu{right:10%}
[data-game=oshi] .battle-token.oshi-token{width:100%;height:100%;min-height:0;padding:0;background:none;border:0;box-shadow:none;overflow:visible}
.battle-token.oshi-token>.oshi-challenger{width:100%;height:calc(100% - 32px);filter:drop-shadow(0 0 2px #fff) drop-shadow(0 0 8px #ffffff90)}.battle-token.oshi-token>.oshi-member-face{height:calc(100% - 38px);max-height:150px;max-width:95%;aspect-ratio:1;width:auto;object-fit:cover}
.oshi-mega img,.oshi-mega .challenger-rig{filter:drop-shadow(0 0 8px #ffe883) drop-shadow(0 0 20px #ffcd43)!important;animation:oshi-aura 1.2s ease-in-out infinite alternate}.oshi-token.fainted{opacity:.35;translate:0 15px}.oshi-token.attack{animation:oshi-lunge .5s ease-out}.oshi-token[data-side=cpu].attack{animation-name:oshi-lunge-reverse}.oshi-token.hit{animation:oshi-hit .4s}.oshi-token.arrive{animation:oshi-arrive .6s ease-out}
@keyframes oshi-aura{to{filter:drop-shadow(0 0 13px #fff2b1) drop-shadow(0 0 28px #ffc934)}}@keyframes oshi-lunge{50%{transform:translateX(24px) rotate(5deg)}}@keyframes oshi-lunge-reverse{50%{transform:translateX(-24px) rotate(-5deg)}}@keyframes oshi-hit{25%,75%{transform:translateX(-6px);opacity:.6}50%{transform:translateX(6px)}}@keyframes oshi-arrive{from{opacity:0;transform:scale(.85)}to{opacity:1;transform:scale(1)}}
[data-game=oshi] .game-footer{flex-wrap:wrap;gap:12px}[data-game=oshi] .game-footer>span:nth-child(2){font-size:12px}
@media(max-width:700px){.oshi-brand{font-size:18px}.oshi-welcome{gap:22px;min-height:340px;margin:15px auto}.oshi-welcome>.oshi-challenger{width:100px;height:190px;flex:none}.oshi-welcome h1{font-size:32px}.oshi-tagline{font-size:14px;line-height:1.7}.oshi-start-actions button{width:100%;font-size:15px}.opponent-controls>.primary{width:100%}.stat-select strong{font-size:17px}.chosen-party details{grid-column:1}.ready-party{grid-template-columns:1fr}.ready-party .candidate h2{font-size:20px}.ready-party .candidate-main{padding:14px}.oshi-opponent-build{font-size:14px}[data-game=oshi] .combatant{width:36%;height:46%;bottom:16%}[data-game=oshi] .combatant.player{left:5%}[data-game=oshi] .combatant.cpu{right:5%}.oshi-token>strong{font-size:11px;padding:3px 5px}.battle-token.oshi-token>.oshi-member-face{max-height:110px;border-width:3px}}
@media(max-width:370px){.oshi-welcome{gap:14px}.oshi-welcome>.oshi-challenger{width:72px}.oshi-welcome h1{font-size:29px}.oshi-brand{font-size:16px}}
@media(prefers-reduced-motion:reduce){.oshi-token,.oshi-token img,.oshi-token svg{animation:none!important}}

.challenger-rig{overflow:visible;flex-shrink:1;min-height:0}.battle-token.oshi-token>svg.challenger-rig{width:145%;max-width:none}.challenger-rig [data-part=shield]{pointer-events:none}.challenger-rig[data-motion=idle] [data-part=body]{transform-origin:100px 232px;animation:challenger-breathe 3s ease-in-out infinite}.challenger-rig:not([data-motion=idle]) [data-part=body]{animation:none}@keyframes challenger-breathe{50%{transform:translateY(-1px) scaleY(1.006)}}@media(prefers-reduced-motion:reduce){.challenger-rig [data-part=body]{animation:none!important}}
.challenger-video-layer{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none;filter:drop-shadow(0 0 1px #fff) drop-shadow(0 0 4px #ffffff80)}.fighter-video-ready>.challenger-rig{visibility:hidden}.challenger-video-layer.fighter-mega{filter:drop-shadow(0 0 7px #ffe883) drop-shadow(0 0 15px #ffcd43)}

/* Shared type scale for Oshi Battle's scout and battle screens. Keep hit areas unchanged. */
[data-game=oshi] .chosen-party .chosen-item{display:flex;flex-wrap:wrap;gap:3px 8px;align-items:baseline;margin-top:9px;font-size:13px}
[data-game=oshi] .chosen-item strong{color:var(--ink);font-size:14px;overflow-wrap:anywhere}
[data-game=oshi] body{font-size:15px}
[data-game=oshi] .oshi-brand{font-size:19px}
[data-game=oshi] .oshi-welcome h1{font-size:clamp(30px,3.5vw,46px)}
[data-game=oshi] .oshi-tagline{font-size:15px}
[data-game=oshi] .status-heading h1,[data-game=oshi] .question-heading h1,[data-game=oshi] .session-heading h1{font-size:28px}
[data-game=oshi] .game-header nav{font-size:14px}
[data-game=oshi] .eyebrow{font-size:11px}
[data-game=oshi] .status-instruction,[data-game=oshi] .ready-actions p{font-size:14px}
[data-game=oshi] .stat-select strong{font-size:16px}
[data-game=oshi] .stat-values dd{font-size:22px}
[data-game=oshi] .stat-moves li{font-size:14px}
[data-game=oshi] .stat-mega-label{font-size:13px}
[data-game=oshi] .chosen-party h2,[data-game=oshi] .ready-party .candidate h2{font-size:18px}
[data-game=oshi] .members .choice{font-size:15px}
[data-game=oshi] .candidate-trait,[data-game=oshi] .source-build{font-size:13px}
[data-game=oshi] .lead-label,[data-game=oshi] .oshi-opponent-build{font-size:14px}
[data-game=oshi] .battle-heading h1{font-size:18px}
[data-game=oshi] .battle-layout .health-name{font-size:16px}
[data-game=oshi] .battle-layout .battle-message{font-size:15px}
[data-game=oshi] .command-choice{font-size:22px}
[data-game=oshi] .command-title{font-size:15px}
[data-game=oshi] .command-window .move-title{font-size:16px}
[data-game=oshi] .preview-title>strong{font-size:16px}
[data-game=oshi] .preview-description{font-size:14px}
[data-game=oshi] .command-window .switch-button{font-size:14px}
[data-game=oshi] .result-cover h2{font-size:32px}
[data-game=oshi] .result-cover p,[data-game=oshi] .result-actions button{font-size:15px}
[data-game=oshi] .detail-hero h2,[data-game=oshi] #help-heading,[data-game=oshi] #share-heading,[data-game=oshi] #confirm-heading{font-size:22px}
[data-game=oshi] .detail-traits,[data-game=oshi] .detail-move b{font-size:15px}
@media(max-width:700px){
 [data-game=oshi] body{font-size:14px}
 [data-game=oshi] .oshi-brand{font-size:16px}
 [data-game=oshi] .oshi-welcome h1{font-size:28px}
 [data-game=oshi] .oshi-tagline{font-size:14px}
 [data-game=oshi] .oshi-start-actions button{font-size:14px}
 [data-game=oshi] .status-heading h1,[data-game=oshi] .question-heading h1,[data-game=oshi] .session-heading h1{font-size:22px}
 [data-game=oshi] .game-header nav{font-size:11px}
 [data-game=oshi] .stat-select strong{font-size:15px}
 [data-game=oshi] .chosen-party h2,[data-game=oshi] .ready-party .candidate h2{font-size:17px}
 [data-game=oshi] .members .choice{font-size:14px}
 [data-game=oshi] .candidate-trait,[data-game=oshi] .source-build{font-size:12px}
 [data-game=oshi] .ready-actions p{font-size:13px}
 [data-game=oshi] .battle-layout .health-name{font-size:13px}
 [data-game=oshi] .battle-layout .battle-message{font-size:13px}
 [data-game=oshi] .command-choice{font-size:20px}
 [data-game=oshi] .command-title{font-size:13px}
 [data-game=oshi] .command-window .move-title{font-size:14px}
 [data-game=oshi] .preview-title>strong{font-size:14px}
 [data-game=oshi] .preview-description{font-size:13px}
 [data-game=oshi] .command-window .switch-button{font-size:12px}
 [data-game=oshi] .result-cover h2{font-size:28px}
 [data-game=oshi] .result-cover p,[data-game=oshi] .result-actions button{font-size:12px}
 [data-game=oshi] .detail-hero h2,[data-game=oshi] #help-heading,[data-game=oshi] #share-heading,[data-game=oshi] #confirm-heading{font-size:20px}
 [data-game=oshi] .detail-traits{font-size:13px}
 [data-game=oshi] .detail-move b{font-size:12px}
 /* Avoid focus zoom for editable controls in iPhone Safari. */
 [data-game=oshi] .opponent-controls select,[data-game=oshi] .my-party-dialog input{font-size:16px}
}

/* Neutral surfaces and one document scroll in the tournament frame. */
[data-game=oshi]{--paper:#fbfcff}
[data-game=oshi] body{display:flow-root}
[data-game=oshi] .choice,[data-game=oshi] .stat-option,[data-game=oshi] .pokemon-option,[data-game=oshi] .battle-controls,[data-game=oshi] .battle-hint,[data-game=oshi] .my-party-dialog,[data-game=oshi] #share-text,[data-game=oshi] .battle-log[open] ol{background:#fff}
[data-game=oshi] .command-choice{background:#f0f3f8}
[data-game=oshi] .command-choice:hover,[data-game=oshi] .command-choice:focus-visible{background:#e9edf5}
[data-game=oshi] .health-panel{background:#fffffff0}
.game-document .status-nav{position:static}
.game-document dialog[open]{position:fixed;top:calc(var(--game-visible-top) + var(--game-visible-height)/2);bottom:auto;transform:translateY(-50%);margin:0 auto;max-height:calc(var(--game-visible-height) - 24px)}
.game-document .battle-hint{max-height:calc(var(--game-visible-height) - 24px)}
