body:has(.game-home){background:radial-gradient(ellipse at 10% 0%,#35302070,transparent 45%),var(--bg)}
.game-home{max-width:1440px;padding:28px 44px 48px}.home-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:22px}.menu-eyebrow{font-size:10px;font-weight:800;letter-spacing:3px;color:var(--accent-text);margin-bottom:10px}.home-heading h1{font-size:clamp(22px,2.6vw,35px);letter-spacing:-1.2px;line-height:1.1;margin:0;font-weight:550}.home-heading h1>span{color:var(--ink)}.home-heading h1>strong{display:inline-block;color:var(--accent-text);font-weight:950}.menu-account-link{color:var(--accent-text);font-size:11px;font-weight:750;white-space:nowrap;text-underline-offset:5px}
.home-game-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:180px 180px 195px;gap:14px;perspective:1400px}.mode-tile{--pointer-x:0px;--pointer-y:0px;--tilt-x:0deg;--tilt-y:0deg;position:relative;display:block;isolation:isolate;min-width:0;overflow:hidden;border:1px solid #756344;border-radius:5px;background:#171b20;color:#fff;text-decoration:none;transform:rotateX(var(--tilt-x)) rotateY(var(--tilt-y));transform-style:preserve-3d;transition:transform .2s ease,border-color .18s ease,box-shadow .18s ease;outline-offset:4px}.mode-play{grid-column:1/3;grid-row:1/3}.mode-image{position:absolute;inset:-3%;z-index:-3;width:106%;height:106%;max-width:none;object-fit:cover;object-position:center 35%;filter:saturate(.85) contrast(1.08);transform:translate(var(--pointer-x),var(--pointer-y)) scale(1);transition:transform .45s ease,filter .3s ease;pointer-events:none}.mode-play .mode-image{object-position:50% 40%}.mode-tutorial .mode-image{object-position:50% 30%}.mode-tournaments .mode-image{object-position:50% 25%}.mode-stats .mode-image{object-position:50% 45%}.mode-lobby .mode-image{object-position:55% 30%}.mode-builder .mode-image{object-position:50% 15%}.mode-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(0deg,#080b10f2 0%,#080b10a6 30%,#080b1026 70%,#080b106e 100%);transition:opacity .2s ease}.mode-tile::after{content:'';position:absolute;inset:0;pointer-events:none;border-bottom:3px solid var(--control-accent);opacity:.35;transition:opacity .2s ease}.mode-topline{position:absolute;top:14px;left:17px;right:17px;display:flex;justify-content:space-between;gap:14px;font-size:9px;font-weight:750;letter-spacing:1px;text-transform:uppercase;color:#f1e8d6;text-shadow:0 1px 6px #000}.mode-copy{position:absolute;left:20px;right:42px;bottom:20px;display:flex;flex-direction:column;gap:5px;text-shadow:0 2px 10px #0007}.mode-copy small{font-size:10px;font-weight:650;letter-spacing:.8px;color:#d8bc7e}.mode-copy strong{font-size:clamp(21px,2.2vw,31px);font-weight:950;letter-spacing:-.7px;line-height:1.06;color:#fff}.mode-play .mode-copy strong{font-size:clamp(40px,5.8vw,74px);letter-spacing:-2px}.mode-play .mode-copy{left:28px;bottom:28px}.mode-play .mode-copy small{font-size:12px}.mode-description{font-size:11px;line-height:1.4;color:#d8d9de;max-width:90%;margin-top:3px}.mode-arrow{position:absolute;right:18px;bottom:19px;width:26px;height:26px;display:grid;place-items:center;border:1px solid #d8bc7e80;border-radius:50%;font-size:19px;color:#ead4a2}.mode-tile:hover,.mode-tile:focus-visible{border-color:var(--accent-text);box-shadow:0 0 0 1px var(--accent-text),0 10px 35px #0005;z-index:2}.mode-tile:hover .mode-image,.mode-tile:focus-visible .mode-image{transform:translate(var(--pointer-x),var(--pointer-y)) scale(1.065);filter:saturate(1.05) contrast(1.05)}.mode-tile:hover::after,.mode-tile:focus-visible::after{opacity:1}.menu-statusline{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:15px 2px 22px;font-size:9px;color:var(--muted);letter-spacing:.8px}.menu-statusline>span:first-child{color:var(--accent-text);font-weight:800}.menu-statusline i{display:inline-block;width:5px;height:5px;background:var(--accent-text);border-radius:50%;margin-right:6px}.menu-statusline p{margin:0;font-size:11px;letter-spacing:0}.menu-keyhint{white-space:nowrap}.home-account{border:1px solid var(--line);border-radius:8px;margin-top:12px;background:var(--panel)}.home-account>summary{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:19px 22px;list-style:none;cursor:pointer;color:var(--accent-text);font-size:11px;font-weight:850;letter-spacing:1.5px;scroll-margin-top:20px}.home-account>summary::-webkit-details-marker{display:none}.home-account[open]>summary .account-toggle{transform:rotate(45deg)}.home-account .account-panel{max-width:600px;margin:0 auto 24px;border:0;border-radius:0;box-shadow:none;background:transparent}.home-account:not([open]) .account-panel{display:none}
html[data-theme=light] body:has(.game-home){background:radial-gradient(ellipse at 10% 0%,#e5d4b24d,transparent 45%),#fff}html[data-theme=light] .mode-tile{border-color:#9b7846}html[data-theme=light] .home-heading h1>span{color:#171a21}html[data-theme=light] .mode-tile .mode-copy strong{color:#fff}html[data-theme=light] .mode-tile .mode-copy small{color:#e6cd9a}html[data-theme=light] .home-account .account-panel{background:transparent;border:0}
@media(max-width:1000px){.game-home{padding:25px 28px 35px}.home-game-menu{grid-template-rows:170px 170px 180px}.mode-copy{left:15px;bottom:15px;right:35px}.mode-topline{left:15px;top:12px;font-size:8px}.mode-copy strong{font-size:23px}.mode-description{font-size:10px}.menu-keyhint{display:none}}
@media(max-width:700px){.game-home{padding:22px 18px 30px}.home-heading{align-items:start;flex-direction:column;gap:15px}.home-heading h1{font-size:29px;line-height:1.14}.home-heading h1 strong{display:block}.home-game-menu{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:260px repeat(2,180px) 180px;gap:11px}.mode-play{grid-column:1/-1;grid-row:1}.mode-builder{grid-column:1/-1}.mode-topline{font-size:8px;letter-spacing:0}.mode-copy strong{font-size:21px}.mode-copy small{font-size:9px}.mode-play .mode-copy{left:20px;bottom:20px}.mode-description{display:none}.mode-play .mode-description{display:block}.mode-play .mode-copy strong{font-size:54px}.menu-statusline{align-items:start;flex-direction:column;gap:8px}.home-account>summary{padding:16px}.home-account .account-panel{padding:15px 18px}}
@media(prefers-reduced-motion:reduce){.mode-tile,.mode-image{transition:none;transform:none!important}}

.mode-topline{justify-content:flex-end}
/* Keep account access alongside the game-mode windows on desktop. */
@media(min-width:901px){
 .game-home{display:grid;grid-template-columns:minmax(0,1fr) 310px;column-gap:22px;row-gap:0;max-width:1500px;padding:24px 30px 38px;align-items:start}
 .home-heading{grid-column:1/-1;grid-row:1;margin-bottom:20px}
 .home-game-menu{grid-column:1;grid-row:2;grid-template-rows:160px 160px 175px;gap:12px}
 .menu-statusline{grid-column:1;grid-row:3;padding:14px 2px}
 .home-account{grid-column:2;grid-row:2/4;position:sticky;top:18px;margin:0;max-height:calc(100dvh - 180px);overflow:auto;scrollbar-gutter:stable}
 .home-account>summary{padding:17px 16px;font-size:10px;letter-spacing:1px}
 .home-account .account-panel{max-width:none;padding:4px 19px 20px;margin:0}
 .home-account .account-panel h2{font-size:21px;margin-top:13px}
 .home-account .account-panel p{font-size:11px;line-height:1.6}
 .home-account .account-panel input{min-height:40px;padding:10px}
 .home-account .account-panel label{margin-top:15px}
 .home-account .primary{padding:12px;font-size:11px;margin-top:17px}
 .home-account .secondary{padding:10px}
 .home-account .player-profile{padding:11px}
 .home-account .profile-card-gallery{padding:7px;gap:7px}
 .mode-copy{left:16px;bottom:16px;right:34px}
 .mode-copy strong{font-size:24px}
 .mode-play .mode-copy strong{font-size:56px}
 .mode-play .mode-copy{left:22px;bottom:22px}
 .mode-description{font-size:10px}
 .mode-arrow{right:12px;bottom:14px}
 .menu-keyhint{display:none}
}
@media(min-width:901px) and (max-width:1150px){
 .game-home{grid-template-columns:minmax(0,1fr) 280px;gap:0 17px;padding-left:22px;padding-right:22px}
 .home-game-menu{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:240px 165px 165px 165px}
 .mode-play{grid-column:1/-1;grid-row:1}.mode-builder{grid-column:1/-1}.mode-copy strong{font-size:22px}.mode-description{display:none}.mode-play .mode-description{display:block}
}
@media(max-width:900px){.home-account{position:static;max-height:none}}

/* Seventh menu window uses the supplied arena photograph. */
.home-game-menu{grid-auto-rows:160px}
.mode-season{grid-column:1/-1;min-height:160px;cursor:default}
.mode-season .mode-image{object-position:center 49%}
.mode-season .mode-shade{background:linear-gradient(0deg,#080b10cf,transparent 78%)}
.mode-season .mode-copy{bottom:20px;left:22px}
.mode-season .mode-copy strong{font-size:clamp(28px,3vw,40px);letter-spacing:1px}
@media(max-width:700px){.mode-season{min-height:160px}.home-game-menu{grid-auto-rows:160px}}

/* Slightly larger gold descriptions on all seven menu windows. */
.home-game-menu .mode-copy small{font-size:12px;line-height:1.4}
.home-game-menu .mode-play .mode-copy small{font-size:14px}
@media(max-width:700px){.home-game-menu .mode-copy small{font-size:11px}.home-game-menu .mode-play .mode-copy small{font-size:13px}}

.mode-season{cursor:pointer}

.mode-teams{grid-column:1/-1;min-height:160px}.mode-teams .mode-image{object-position:center 36%}.mode-teams .mode-shade{background:linear-gradient(0deg,#080b10ee,transparent 95%)}.mode-teams .mode-copy strong{font-size:clamp(28px,3vw,40px)}
