/* Shared battle entry, onboarding and return goals. */
#battle .stable-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:stretch;margin:24px 0}
#battle .stable-switch>.btn{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;white-space:normal;text-align:left;min-width:0;padding:20px;gap:9px;letter-spacing:normal;text-transform:none;line-height:1.5;height:auto;background:#25241f;color:#f1e9d9;border:1px solid #726447}
#battle .stable-switch>.btn:hover{background:#343027}
#battle .stable-switch>.btn:focus-visible{outline:3px solid #cc352c;outline-offset:3px}
html[data-theme=light] #battle .stable-switch>.btn{background:#f1e9d9;color:#141414;border-color:#8a7753}
html[data-theme=light] #battle .stable-switch>.btn:hover{background:#e5d9c5}
#battle .stable-switch>.btn strong{font-size:21px;font-family:var(--serif,Georgia,serif)}
#battle .stable-switch>.btn span{font-size:14px;font-weight:400}
#battle .stable-switch>.btn small{font-size:12px;font-weight:400;opacity:.8}
#battle .stable-switch>.btn[aria-pressed=true]{box-shadow:inset 0 0 0 2px var(--gold,#b79a60)}
#battle .stable-switch>#sound-toggle{grid-column:1/-1;justify-self:end}
.battle-guide,.battle-mode-detail,.battle-progress-receipt{border:1px solid var(--line,#7775);padding:22px;margin:18px 0;background:var(--panel,transparent);color:inherit}
.battle-guide h3,.battle-mode-detail h3{font-family:var(--serif,Georgia,serif);font-size:clamp(21px,3vw,29px);line-height:1.25;margin:8px 0 12px}
.battle-guide p,.battle-mode-detail p,.battle-progress-receipt p{font:400 15px/1.65 var(--ui,system-ui,sans-serif);max-width:76ch;margin:10px 0 16px;color:inherit}
.battle-guide .btn,.battle-mode-detail .btn,.battle-progress-receipt .btn{white-space:normal;line-height:1.5;text-transform:none;letter-spacing:normal;max-width:100%}
.battle-step-list{display:flex;flex-wrap:wrap;gap:12px 30px;margin:22px 0 0;padding:18px 0 0 22px;border-top:1px solid var(--line,#7775);font:400 13px/1.6 var(--ui,system-ui,sans-serif)}
.battle-step-list li{padding-right:8px}.battle-step-list .complete{color:var(--gold,#b79a60)}
.battle-team-summary{display:flex;flex-wrap:wrap;gap:8px 22px;align-items:center;padding:14px 0;font:400 13px/1.6 var(--ui,system-ui,sans-serif)}
.battle-team-summary strong{font-family:var(--serif,Georgia,serif);font-size:22px}
.battle-home-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.battle-home-links .btn{background:transparent;color:inherit}
#battle #degeiko{display:none}
#battle-next[hidden],#battle-first-steps[hidden],#battle-mode-detail[hidden]{display:none!important}
@media(max-width:720px){#battle .stable-switch{grid-template-columns:1fr}#battle .stable-switch>.btn{padding:16px;gap:5px}#battle .stable-switch>.btn strong{font-size:20px}.battle-guide,.battle-mode-detail{padding:17px}.battle-step-list{display:grid;grid-template-columns:1fr;gap:6px}}
