.resume-banner{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 17px;margin-top:18px;border:1px solid #d2dfbc;background:#e4edd4;border-radius:12px;font-size:11px;color:#7c9468}.resume-banner>span{display:flex;align-items:center;gap:6px}.resume-banner .icon{width:17px;height:17px}.mode-cards{display:grid;grid-template-columns:1fr 1fr;gap:14px}.mode-card{background:#f2f2df;color:#557d62;border:1px solid #dce2c7;padding:23px 17px;border-radius:15px;text-align:left;transition:transform .2s}.mode-card:hover{transform:translateY(-3px);background:#e9efd8}.mode-card>.icon{width:32px;height:32px;margin-bottom:18px;color:#89a96f}.mode-card h3{font-size:16px;line-height:1.4}.mode-card p{font-size:11px;line-height:1.7;color:#99a48a;margin:10px 0 17px}.mode-card>span{display:flex;gap:5px;align-items:center;font-size:10px;font-weight:600;color:#a59255}.mode-card>span>.icon{width:14px;height:14px}.manual-status{display:flex;align-items:center;gap:12px;padding:12px 5px}.manual-status>span{width:38px;height:51px}.manual-status strong{font-size:13px}.manual-status p{font-size:10px;color:#97a388;margin-top:5px}.manual-actions{display:flex;gap:9px}.manual-actions .button{min-height:35px;padding:9px 13px;font-size:11px}.manual-hint{font-size:10px;color:#93a182;line-height:1.6;margin:12px 0}.manual-event{font-size:11px;color:#89a073;padding:10px 13px;background:#edf1e0;border-radius:9px;min-height:35px}.battle-modal>.text-button{font-size:10px}.portrait{width:96px;height:128px}.player-profile>.raster-portrait{height:59px;width:44px}.recruit-pool{flex-wrap:wrap}.ninja-card-top{z-index:1}.ninja-card::before{height:155px}.formation-slot{overflow:hidden}.formation-slot>.raster-portrait{height:85%;width:63.75%}.enemy-preview>span{height:66px;width:40px}.enemy-preview .raster-portrait{height:53px;width:40px}
@media(max-width:600px){.mode-card{padding:18px 13px}.mode-card h3{font-size:14px}.mode-card p{font-size:10px}.mode-card>span{font-size:9px}.portrait{width:87px;height:116px}.player-profile>.raster-portrait{height:49px;width:37px;margin-right:0}.manual-actions{gap:6px}.manual-actions .button{font-size:9px;padding:9px 10px;gap:5px}.manual-status strong{font-size:11px}.manual-hint{font-size:9px}.manual-event{font-size:10px}.resume-banner{font-size:9px;padding:10px 11px}.enemy-preview>span{height:60px;width:34px}.enemy-preview .raster-portrait{height:45px;width:34px}}
.building-raster{display:block;width:100%;height:100%;background-image:url('/assets/environment/village-buildings.png');background-size:300% 200%;background-repeat:no-repeat}.building-tile>.building-raster{width:42px;height:42px;flex-shrink:0}.build-card>div>.building-raster{width:90px;height:90px;margin:auto}.enemy-preview .raster-portrait.square{width:40px;height:40px}.battle-modal{scroll-margin-top:15px}select:focus-visible{outline:3px solid #4db5bb;outline-offset:3px}

.resume-banner,.mode-card p,.manual-status p,.manual-hint,.manual-event{color:var(--muted)}
.mode-card>span{color:#805f30}
.mode-card{color:#496442}
.resume-banner>span{min-width:0;line-height:1.6}
.manual-status{min-width:0}
.manual-status>div{min-width:0}
.manual-actions{flex-wrap:wrap}
.manual-event{line-height:1.6}

@media(max-width:600px){
  .mode-card p,.manual-status p,.manual-hint,.manual-event,.resume-banner{font-size:11px}
  .mode-card>span{font-size:10px;line-height:1.6}
  .manual-actions .button{font-size:10px;min-height:38px}
  .battle-modal>.text-button{font-size:11px}
}

@media(max-width:420px){
  .resume-banner{align-items:flex-start;flex-wrap:wrap;gap:10px}
  .resume-banner>.button{margin-left:auto}
  .mode-cards{gap:10px}
  .mode-card{padding:16px 11px}
  .mode-card h3{font-size:14px}
}
