/* Intro teaching stays beside a choice and yields to the normal interface. */
body.game-mode .starter-screen--first .starter-choice-hint{font:500 14px/1.45 var(--body);color:#e3edf0;max-width:480px;margin:10px auto 0;text-align:center}
body.game-mode .starter-screen--first .starter-role{display:block;font:500 13px/1.35 var(--body);min-height:0;color:#e3edf0;margin-top:8px;white-space:normal}
body.game-mode[data-screen=battle][data-battle-format=singles] .first-adventure-commands .battle-command-heading{flex-wrap:wrap;column-gap:8px;row-gap:3px;visibility:visible}
body.game-mode[data-screen=battle][data-battle-format=singles] .first-adventure-commands .battle-command-heading strong{font-size:21px;line-height:1.2}
body.game-mode[data-screen=battle][data-battle-format=singles] .first-adventure-commands .battle-command-heading>span{font:500 13px/1.3 var(--body);margin:0;color:#e3edf0}
body.game-mode[data-screen=battle][data-battle-format=singles] .battle-message p.first-adventure-prompt{font:500 clamp(14px,1.3vw,18px)/1.35 var(--body);max-height:100%;overflow:auto;overscroll-behavior:contain}
body.game-mode[data-screen=battle][data-battle-format=singles] .battle-message:has(.first-adventure-prompt){padding-top:8px;padding-bottom:8px;align-items:center}
@media(max-width:700px){
 body.game-mode .starter-screen--first .starter-choice-hint{font-size:13px;line-height:1.35;max-width:330px;margin-top:8px}
 body.game-mode .starter-screen--first .starter-role{font-size:12px;line-height:1.3;margin-top:6px}
 body.game-mode[data-screen=battle][data-battle-format=singles] .first-adventure-commands .battle-command-heading strong{font-size:20px}
 body.game-mode[data-screen=battle][data-battle-format=singles] .first-adventure-commands .battle-command-heading>span{font-size:12px}
 body.game-mode[data-screen=battle][data-battle-format=singles] .battle-message:has(.first-adventure-prompt){padding-top:6px;padding-bottom:6px}
 body.game-mode[data-screen=battle][data-battle-format=singles] .battle-message p.first-adventure-prompt{line-height:1.25}
}
@media(max-width:375px) and (min-height:501px){
 body.game-mode .starter-screen--first .starter-role{font-size:11px}
 body.game-mode[data-screen=battle][data-battle-format=singles] .first-adventure-commands .battle-command-heading strong{font-size:19px}
}
@media(max-width:700px) and (min-height:501px) and (max-height:700px){
 body.game-mode .starter-screen.starter-screen--first{justify-content:flex-start;padding:64px 12px 8px;gap:0}
 body.game-mode .starter-screen--first .starter-screen__heading h1{font-size:28px;line-height:1.05}
 body.game-mode .starter-screen--first .starter-choice-hint{font-size:12px;line-height:1.3;margin-top:5px}
 body.game-mode .starter-screen--first .starter-grid{margin:10px 0}
 body.game-mode .starter-screen--first .starter-card{padding:9px 4px 8px}
 body.game-mode .starter-screen--first .starter-art{height:64px}
 body.game-mode .starter-screen--first .starter-art .sprite{width:68px;height:64px}
 body.game-mode .starter-screen--first .starter-name{font-size:21px;margin:3px 0 5px}
 body.game-mode .starter-screen--first .starter-role{font-size:11px;line-height:1.25;margin-top:4px}
 body.game-mode .starter-screen--first .starter-confirm{padding:10px;gap:8px;margin-top:0}
 body.game-mode .starter-screen--first .starter-confirm p>strong{font-size:25px}
 body.game-mode .starter-screen--first .starter-confirm p>span{font-size:12px;line-height:1.3;margin-top:4px}
 body.game-mode .starter-screen--first .starter-confirm .button{min-height:44px;padding:8px 12px}
 body.game-mode .starter-screen--first .starter-screen__back{margin-top:6px;min-height:44px}
}
@media(max-height:500px){
 body.game-mode .starter-screen--first .starter-choice-hint{font-size:12px;margin-top:3px;max-width:none}
 body.game-mode .starter-screen--first .starter-role{font-size:12px;margin-top:2px}
 body.game-mode[data-screen=battle][data-battle-format=singles] .first-adventure-commands .battle-command-heading{display:flex;align-items:baseline;gap:3px 9px}
 body.game-mode[data-screen=battle][data-battle-format=singles] .first-adventure-commands .battle-command-heading strong{font-size:18px}
}
