#restart-modal{width:min(540px,94vw);padding:24px;max-height:92dvh;overflow:auto;scroll-padding-top:90px}#restart-modal>.eyebrow{display:none}#restart-modal .menu-titlebar h2{font-size:27px;line-height:1.25;margin:0}#restart-modal .menu-titlebar{margin-bottom:18px}.restart-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px}.restart-summary>section{min-width:0;border:1px solid #4a6047;background:#22372a;padding:14px;border-radius:9px}.restart-summary strong{font:600 13px/1.5 Inter,Arial;color:#e6d4ac}.restart-summary p,#restart-note{font:12px/1.7 Inter,Arial;color:#bdcdb6;margin:7px 0 0}#restart-note{margin:16px 0}.restart-actions{position:sticky;bottom:-24px;background:#1c3027;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px 0;margin-top:10px;border-top:1px solid #49624c}.restart-actions>button{min-height:48px;font:600 12px/1.5 Inter,Arial;letter-spacing:0;padding:10px}#restart-confirm{background:#493e30;border-color:#9e8561;color:#f0dcc0}#restart-confirm:hover{background:#594a36;border-color:#d5b57b}#restart-cancel{background:#314831;border-color:#96b67a;color:#e3efca}
body[data-battle-outcome=won] #banner>small,body[data-battle-outcome=lost] #banner>small{display:none}body[data-battle-outcome=won] #banner>span{display:none}body[data-battle-outcome=won] #banner>strong,body[data-battle-outcome=lost] #banner>strong{font-size:clamp(23px,3vw,34px);line-height:1.25;letter-spacing:0}body[data-battle-outcome=lost] #banner>span{font:12px/1.6 Inter,Arial;max-width:360px;margin:10px auto}body[data-battle-outcome=won] #victory-recap,body[data-battle-outcome=lost] #victory-recap{font:12px/1.6 Inter,Arial;border-radius:8px;padding:8px 12px;margin:10px auto;max-width:94%}
@media(max-width:700px),(max-width:1000px) and (pointer:coarse){#restart-modal{padding:18px 14px}#restart-modal .menu-titlebar h2{font-size:24px}.restart-summary{gap:8px}.restart-summary>section{padding:11px}.restart-actions{bottom:-18px;gap:8px}.battlefoot{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.battlefoot>div{grid-column:1/-1}.battlefoot #formation-toggle{grid-column:1}.battlefoot #show-report{grid-column:2;margin:0}.battlefoot #claim-reward,.battlefoot #start,.battlefoot #pause{grid-column:1/-1}.battlefoot #formation-toggle,.battlefoot #show-report,.battlefoot #claim-reward,.battlefoot #pause{font:600 12px/1.5 Inter,Arial;letter-spacing:0;min-height:44px;padding:10px 8px;white-space:normal}.battlefoot #start{font:700 14px/1.5 Inter,Arial;letter-spacing:0;min-height:48px;padding:12px}.battlefoot #start span{margin-left:12px}body[data-battle-outcome=lost] #banner>span{max-width:90%;font-size:11px}}

@media(max-width:700px),(max-width:1000px) and (pointer:coarse){.battlefoot #start,.battlefoot #claim-reward,.battlefoot #pause,.battlefoot #victory-continue{width:100%;margin:0;min-width:0;grid-column:1/-1}.battlefoot #victory-continue{min-height:48px;font:600 13px/1.5 Inter,Arial;letter-spacing:0}}
