/* Ownership and countdown first; exact dates stay in the detail sheet. */
.home-layout{grid-template-areas:"notice services" "battle agenda"}
.home-strongholds{grid-area:battle;min-width:0;padding:16px 20px 12px;background:var(--surface);border-radius:20px}
.home-strongholds .home-head{margin-bottom:0}
.home-head .stronghold-copy{border:0;background:transparent;color:var(--muted)}.home-head .stronghold-copy>.icon{width:18px;height:18px}
.home-head .stronghold-copy:hover{background:var(--gray-100);color:var(--text)}
.battle-entry{display:flex;align-items:center;gap:10px;width:100%;min-height:66px;padding:10px 0;border:0;border-bottom:1px solid var(--border);text-align:left;background:none;color:var(--text)}
.battle-entry:last-child{border:0}.battle-glyph{display:grid;place-items:center;flex:none;width:32px;height:32px;background:var(--gray-100);border-radius:10px;color:var(--muted)}
.battle-glyph .icon{width:19px;height:19px}.battle-glyph img{width:28px;height:28px;object-fit:contain}.battle-entry-copy{flex:1;min-width:0}.battle-entry-copy strong{display:block;font-size:14px;font-weight:550;letter-spacing:-.025em}.battle-entry-copy small{display:block;margin-top:4px;font-size:11px;font-weight:400;color:var(--muted);line-height:1.5}.battle-entry-copy .has-loss{color:var(--red-700)}
/* Match the engine artwork's existing sticker edge on the two unoutlined buildings. */
.battle-glyph img:is([src="/assets/wos/building/1.png"],[src="/assets/wos/building/2.png"]){
  width:25px;
  height:25px;
  filter:drop-shadow(1px 0 0 #f4f8ff) drop-shadow(-1px 0 0 #f4f8ff)
    drop-shadow(0 1px 0 #f4f8ff) drop-shadow(0 -1px 0 #f4f8ff) drop-shadow(0 0 1px #6694cb);
}
.battle-entry-copy strong,.battle-entry-copy small{overflow-wrap:anywhere}
.battle-clock{display:flex;flex-direction:column;align-items:flex-end;gap:3px;min-width:0;max-width:52%;text-align:right}.battle-clock small{font-size:11px;font-weight:400;line-height:1.4;color:var(--muted);max-width:100%;overflow-wrap:anywhere}.battle-clock time{font-size:14px;font-weight:550;line-height:1.5;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.battle-entry>.icon{width:12px;height:12px;color:var(--muted);flex:none}
.battle-facility{padding:17px 0;border-bottom:1px solid var(--border)}.battle-facility:first-child{padding-top:0}.battle-facility:last-child{border:0;padding-bottom:0}
.battle-facility-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.battle-facility-name{display:flex;align-items:center;gap:8px;min-width:0}.battle-facility-heading h3{margin:0;font-size:15px;font-weight:550;line-height:1.5;overflow-wrap:anywhere}.battle-ownership{max-width:45%;font-size:12px;font-weight:500;color:var(--muted);text-align:right;overflow-wrap:anywhere}.battle-ownership.owned{color:var(--primary)}.battle-ownership.lost{color:var(--red-700)}
.battle-facility-body{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-top:8px}.battle-location{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:12px;color:var(--muted)}.battle-location small{font-size:11px;line-height:1.5}
#home-manage{min-height:44px;background:none;color:var(--muted);text-align:left;padding:8px 10px;font-size:13px}
@media(max-width:1000px){.home-layout{grid-template-areas:"notice" "services" "battle" "agenda"}}
@media(max-width:767px){.home-strongholds{padding:10px 16px 9px;border-radius:17px}.battle-entry{min-height:63px;gap:8px;padding:10px 0}.battle-entry-copy strong{font-size:14px}.battle-glyph{width:30px;height:30px}.battle-clock time{font-size:13px}}
@media(max-width:359px){.home-strongholds{padding-inline:12px}.battle-entry{gap:6px}.battle-clock time{font-size:12px}.battle-facility-heading{gap:8px}}
