.battle-mode-tabs{grid-template-columns:repeat(3,minmax(0,1fr));}
.battle-mode-tabs button{font-size:clamp(.8rem,3.4vw,1.05rem);padding:14px 7px;}
.keeper-level-panel{display:flex;align-items:center;gap:12px;margin:14px 0;padding:14px;border:2px solid #67c5f3;border-radius:18px;background:linear-gradient(135deg,#123b73,#215da1);box-shadow:0 5px 0 #082951;color:#fff;}
.keeper-level-panel>div{flex:1;min-width:0;}
.keeper-level-panel strong,.keeper-level-panel span:not(.keeper-level-medal){display:block;}
.keeper-level-panel strong{font-size:1.05rem;color:#ffe69b;}
.keeper-level-panel>div>span{font-size:.8rem;margin:4px 0 7px;color:#c2e6ff;}
.keeper-level-panel>small{max-width:100px;text-align:right;color:#c2e6ff;font-size:.7rem;}
.keeper-level-medal{position:relative;flex:0 0 48px;height:52px;display:grid;place-items:center;}
.keeper-level-medal svg{position:absolute;width:52px;height:52px;filter:drop-shadow(0 3px 0 #513714);}
.keeper-level-medal b{position:relative;color:#fff;font-size:1.4rem;text-shadow:0 2px 2px #18315b;}
.keeper-xp-track{height:10px;overflow:hidden;background:#071f47;border:1px solid #69aed3;border-radius:20px;}
.keeper-xp-track i{display:block;height:100%;background:linear-gradient(90deg,#9e64f8,#64dcff);border-radius:20px;}
.local-stage-panel{padding:18px;margin:18px 0;border:2px solid #e8c362;border-radius:18px;background:linear-gradient(145deg,#183b70,#285c9a);box-shadow:0 5px 0 #122b54;}
.local-stage-panel h3{font-size:1.35rem;margin:12px 0 5px;color:#ffe6a0;}
.local-stage-panel p,.local-sync-note{font-size:.84rem;line-height:1.5;color:#cde9ff;}
.local-stage-stats{display:flex;gap:20px;margin:14px 0;color:#b9e1fa;}
.local-stage-stats b{color:#fff;font-size:1.35rem;}
.local-sync-note{max-width:36rem;margin:10px auto;text-align:center;}
.results-keeper-xp{position:relative;max-width:520px;margin:12px auto;padding:16px;border:2px solid #be97ff;border-radius:18px;background:#153c78;}
.results-keeper-xp strong{display:block;font-size:1.5rem;color:#ffe69b;}
.results-keeper-xp span{display:block;margin-top:6px;color:#d1e9ff;line-height:1.5;}
.results-level-up{color:#ffed9c!important;font-size:1.1rem;}
@media(max-width:380px){.keeper-level-panel>small{display:none;}}
.local-battle-lobby .local-ladder-stage{min-height:145px;max-height:180px;margin-top:0;padding-top:10px;padding-bottom:10px;}
.local-battle-lobby .local-ladder-stage .eyebrow{font-size:9px;}
.local-battle-lobby .local-sync-note{font-size:11px;max-width:330px;margin:6px auto 12px;}
.local-stage-details{margin:12px 0;padding:0;border:1px solid #85afd0;border-radius:10px;background:#103d73;}
.local-stage-details summary{padding:12px;font-size:12px;font-weight:800;cursor:pointer;}
.local-stage-details summary span{display:block;margin-top:4px;color:#c5e4fc;font-size:10px;font-weight:500;}
.local-stage-details p{padding:0 12px;font-size:12px;line-height:1.5;color:#c5e4fc;}
@media(max-height:740px){.local-battle-lobby .local-ladder-stage{min-height:120px;max-height:140px}.local-battle-lobby .keeper-level-panel{margin:10px 0;padding:10px}.local-battle-lobby .local-ladder-stage h2{font-size:24px;}}
