/* The 12-01 tidy-up (Gage: Home "is not bad, but it's still a little messy"; the Campaign "simpler again"; the rewards
   after a match "a little bit quicker"). Loaded after every sheet it restyles (command-upgrade, sandbox, creator), so a
   rule of the same weight here wins. Same red, black and white palette and plates as the rest (docs/ui/theme.md); no new
   colours, nothing moves, nothing under reduced motion. Canon: docs/ui/home.md, docs/campaign/war-room.md. */

/* ---------- Home, Battle side: four groups with one spacing rule ---------- */
.side-battle .home-you, .side-battle .home-modes, .side-battle .home-more { display: flex; flex-direction: column; gap: 8px; min-width: 0; }

/* You: the commander, sign-in, the 2x XP boost and your rank are one plate (they were three boxes in three styles). */
.side-battle .home-you { gap: 0; border: 1px solid #b49b7238; border-left: 3px solid #c8483f; box-shadow: 0 3px 0 #080908;
  background: linear-gradient(115deg, #33291f, #1b1a18 65%); }
.side-battle .home-you > * { margin: 0; width: 100%; border: 0; border-radius: 0; box-shadow: none; }
.side-battle .home-you > * + * { border-top: 1px solid #b49b7226; }
.side-battle .home-you > .hb-strip { background: url('../assets/ui/command-etch.svg') right 40% / 380px auto; }
.side-battle .home-you > .save-chip { min-height: 40px; padding: 6px 10px 6px 12px; background: #140c0c; }
.side-battle .home-you > .save-chip b { font-size: 15px; }
.side-battle .home-you > .boostbar { min-height: 34px; padding: 4px 12px; font-size: 16px; }
.side-battle .home-you > .rank-strip { min-height: 44px; background: linear-gradient(100deg, color-mix(in srgb, var(--rk) 16%, transparent), transparent 62%); border-left: 0; }
.side-battle .home-you > .rank-strip:active { transform: none; background-color: #ffffff08; }

/* Modes: the mode cards stay as they are; Sandbox is a slim row under them, not a third hero. */
.side-battle .home-modes > .sandbox-entry { min-height: 58px; margin: 0; padding: 6px 10px; gap: 10px; border-width: 1px; box-shadow: 0 3px #080707; }
.side-battle .home-modes > .sandbox-entry .creator-art { flex-basis: 64px; width: 64px; }
.side-battle .home-modes > .sandbox-entry b { font-size: 21px; line-height: 1; }
.side-battle .home-modes > .sandbox-entry small { margin-top: 2px; font-size: 11.5px; }

/* Under PLAY: the extras are secondary, so they are smaller and evenly spaced. */
.side-battle .home-more { margin-top: 4px; }
.side-battle .home-more .squad-entry { margin: 0; }
.side-battle .home-more .squad-start { min-height: 62px; padding: 6px 10px; gap: 10px; border-width: 1px; }
.side-battle .home-more .squad-start .squad-art { width: 72px; height: 44px; }
.side-battle .home-more .squad-start b { font-size: 22px; line-height: 1; }
.side-battle .home-more .squad-start small { margin-top: 2px; font-size: 11.5px; }
.side-battle .home-more .squad-entry-more button { min-height: 40px; }
.side-battle .home-more .creator-join-entry { margin: 0; min-height: 44px; font-size: 16px; letter-spacing: .06em; }
.side-battle .home-more .creator-join-entry .wi { width: 20px; height: 20px; }
.side-battle .home-more .cw-entry { min-height: 48px; }
.side-battle .home-more .cw-entry b { font-size: 16px; }
.side-battle .home-more .fin-slot:empty { display: none; }

body.pc-menu #home #tab-play .side-battle .home-you > .save-chip { width: 100%; }

/* ---------- Campaign, Battles page: the season is one line ---------- */
/* The war's clock is the stamp's own line ("Ends in 10d 9h"), bright, instead of four boxes; on a phone on its side the
   stamp stays (css/finale.css hid it when the boxes named the season). */
.war .s-clock { gap: 7px; }
.war .s-clock > .war-stamp small { font-size: 13px; letter-spacing: .08em; color: #d9cdb8; }
.war .s-clock > .war-stamp small .wc-short { color: #fff; }
@media (orientation: landscape) and (max-height: 500px) { .war-pane[data-pane="main"] > .s-clock > .war-stamp { display: flex; } }
