.game-home{background:#111526;color:#f7f6f1}
.game-home .club-shell{max-width:1240px;padding:24px 28px 18px}
.game-home .club-header{gap:20px;margin-bottom:28px;align-items:center}
.game-home .quick-links{display:flex;gap:8px;margin-left:auto}
.game-home .quick-links a{display:flex;align-items:center;justify-content:center;gap:14px;min-height:48px;padding:0 18px;border-radius:14px;background:#252b41;color:#fff;text-decoration:none;font-size:14px;font-weight:750;border:1px solid #3a415a}
.game-home .quick-links a:last-child{background:#252b41;color:#fff;border-color:#3a415a}
.game-home #home-account{margin-left:0}
.game-home .club-main{grid-template-columns:1.05fr 1fr;gap:0;border:1px solid #333b55;border-radius:28px;overflow:hidden;background:#202940}
.game-home .mode-panel{background:transparent;color:#fff;padding:34px;border-radius:0}
.game-home .section-heading h1{font-size:clamp(30px,3.8vw,48px);line-height:1.05;letter-spacing:-.055em;margin:16px 0}
.game-home .section-heading h1 em{font-style:normal;color:#d4f686}
.game-home .section-heading p{color:#d1d7e8;font-size:15px;line-height:1.55;margin-bottom:0}
.game-home .eyebrow{color:#b6c4e6;letter-spacing:.14em;font-size:10px;font-weight:800}
.game-home .mode-grid{margin-top:25px;gap:10px}
.game-home .mode-card{min-height:72px;border:1px solid #55617c;background:#303c55;color:#fff;border-radius:16px;padding:12px 18px}
.game-home .mode-online{background:#c8f46a;color:#18271d;border-color:#c8f46a;box-shadow:0 4px 0 #81a944}
.game-home .mode-card strong{font-size:19px;letter-spacing:-.03em}
.game-home .mode-card small{color:inherit;opacity:.88;font-size:12px}
.game-home .guest-note{color:#bfc9db;font-size:12px;margin-bottom:0}
.game-home .club-hero{border-radius:0;min-height:400px}
.game-home .hero-copy{padding:28px}
.game-home .hero-copy p{font-size:26px;max-width:330px}
.competition-shelf{margin:36px 0 24px}
.competition-shelf>header{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px}
.competition-shelf h2{margin:8px 0 0;font-size:28px;letter-spacing:-.04em;line-height:1.1}
.competition-shelf>header p{font-size:13px;color:#bcc5d9;margin:0}
.competition-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.competition-card{display:flex;flex-direction:column;min-width:0;color:#fff;text-decoration:none;background:#242c44;border:1px solid #414a67;border-radius:20px;padding:14px;overflow:hidden;transition:transform .15s,border-color .15s}
.competition-card:hover{transform:translateY(-3px);border-color:#c8f46a}
.competition-card h3{margin:8px 0;font-size:20px;line-height:1.1;letter-spacing:-.035em}
.competition-card p{font-size:13px;line-height:1.5;color:#cbd4e7;margin:0 0 18px}
.mode-tag{font-size:9px;letter-spacing:.11em;color:#d4def1;font-weight:800;margin-top:16px}
.card-link{display:flex;justify-content:space-between;align-items:center;margin-top:auto;min-height:44px;font-weight:750;font-size:13px;border-top:1px solid #ffffff26}
.card-link b{font-size:23px;color:#d4f686}
.card-art{height:130px;position:relative;border-radius:12px;display:flex;align-items:center;justify-content:center;isolation:isolate;overflow:hidden}
.knockout-art{background:#584ec0;gap:6px;align-items:end;padding:22px 10px;transform-style:preserve-3d}
.knockout-art :is(i,b,strong,em){font-size:24px;font-style:normal;display:flex;align-items:center;justify-content:center;width:42px;height:45px;background:#d4cafa;color:#322c64;border:2px solid #eee7ff;border-radius:9px;box-shadow:0 5px #2e266e}
.knockout-art b{height:58px}.knockout-art strong{height:73px}.knockout-art em{height:89px;background:#d4f686;color:#233224}
.reactor-art{background:#186d79}.reactor-art i{position:absolute;width:125px;height:88px;border-radius:50%;background:repeating-conic-gradient(#c9f0e4 0deg 42deg,#234f62 42deg 45deg);border:8px solid #183f52;box-shadow:0 9px #102e44;transform:rotate(-14deg)}
.reactor-art b{position:absolute;width:117px;height:13px;background:#ff7665;border:3px solid #ffb2a8;border-radius:20px;transform:rotate(-26deg);box-shadow:0 4px #783d42}
.reactor-art em{position:absolute;width:27px;height:27px;background:#ffda67;border:5px solid #fff0b5;border-radius:50%;top:39px}
.cup-art{background:#85603b;font-size:62px;color:#ffdc87;align-items:start;padding-top:0;text-shadow:0 4px #513649}
.cup-art :is(i,b,em){position:absolute;font-style:normal;display:grid;place-items:center;font-size:16px;color:#382d3c;text-shadow:none;width:49px;bottom:15px;border-radius:7px 7px 2px 2px;background:#f8d291;border:2px solid #ffebc6;box-shadow:0 4px #513649}
.cup-art i{height:48px;left:calc(50% - 24px)}.cup-art b{height:32px;left:calc(50% - 76px)}.cup-art em{height:23px;left:calc(50% + 28px)}
.looks-art{background:#764d75;gap:5px;align-items:center}.looks-art :is(i,b,em){font-style:normal;color:#f5dcec;font-size:45px;text-shadow:0 5px #4b3057}.looks-art b{font-size:89px;color:#ffdc91}
.friends-link{display:block;text-align:right;padding:16px 0;font-size:13px;text-decoration:none;color:#bac6dd;min-height:48px}.friends-link strong{color:#e7eeff}
.game-home .welcome-bonus{margin-top:24px;background:#22332b;border-color:#607c47}
.game-home .home-extras{background:#1a2134;border-color:#354159}
.game-home :is(a,button,summary):focus-visible{outline:3px solid #d4f686;outline-offset:4px}
@media(max-width:900px){.competition-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.game-home .mode-panel{padding:25px}.game-home .hero-copy p{font-size:22px}}
@media(max-width:700px){
 .game-home .club-shell{padding:16px 16px 20px}.game-home .club-header{flex-wrap:wrap;gap:12px;margin-bottom:18px}.game-home .club-brand{margin-right:auto}.game-home #home-account{order:1}.game-home .quick-links{order:2;flex-basis:100%;margin:0}.game-home .quick-links a{flex:1;min-height:46px}
 .game-home .club-main{display:flex;flex-direction:column-reverse;border-radius:22px}.game-home .club-hero{display:block;min-height:0;height:125px}.game-home .club-hero img{width:100%;height:100%;object-fit:cover;object-position:50% 42%}.game-home .club-hero picture{display:block;height:100%}.game-home .club-hero::after,.game-home .hero-copy{display:none}
 .game-home .mode-panel{padding:19px}.game-home .section-heading h1{font-size:28px;margin:10px 0}.game-home .section-heading p{font-size:13px}.game-home .mode-grid{margin-top:18px}.game-home .mode-card{min-height:65px}.game-home .mode-card strong{font-size:17px}.game-home .mode-card small{font-size:11px}
 .competition-shelf{margin-top:28px}.competition-shelf>header{display:block}.competition-shelf>header p{margin-top:10px;font-size:12px}.competition-shelf h2{font-size:25px}.competition-cards{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 13px;scrollbar-color:#87956b #252d42;gap:12px}.competition-card{flex:0 0 235px;scroll-snap-align:start}.card-art{height:112px}.competition-card h3{font-size:20px}.competition-card p{font-size:12px}.friends-link{text-align:left;line-height:1.5}.friends-link strong{display:block}
}
@media(prefers-reduced-motion:reduce){.competition-card{transition:none}.competition-card:hover{transform:none}}

.game-home .equipped-hero{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px;gap:8px;background:radial-gradient(ellipse at 50% 42%,#536f80 0,#25364e 60%,#1c263d 100%);text-align:center}
.game-home .equipped-hero::after{display:none}.game-home .equipped-hero>img{position:static;width:100%;height:280px;object-fit:contain;filter:drop-shadow(0 16px 14px #10182a66)}
.equipped-hero h2{margin:0;font-size:25px}.equipped-hero p{margin:0;color:#d0dbe8;font-size:13px}.equipped-edit{display:flex;align-items:center;justify-content:center;gap:28px;min-height:48px;margin-top:10px;padding:0 24px;border-radius:14px;background:#303c55;color:#fff;border:1px solid #63738e;text-decoration:none;font-weight:750}
@media(max-width:700px){.game-home .equipped-hero{height:auto;min-height:220px;padding:16px;display:grid;grid-template-columns:44% 1fr;gap:6px 12px;text-align:left}.game-home .equipped-hero>img{grid-column:1;grid-row:1/5;height:185px}.equipped-hero .eyebrow{align-self:end}.equipped-hero h2{font-size:22px}.equipped-edit{margin:0;padding:0 12px;font-size:13px;gap:8px}.equipped-hero p{font-size:12px}}

/* Full-width actions keep both choices readable in every card width. */
.party-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin-top:auto;padding-top:4px}
.party-actions .card-link{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:48px;margin:0;padding:10px 12px;border:1px solid #63738e;border-radius:12px;background:#33425b;color:#fff;font:750 13px/1.35 system-ui;text-align:center;text-decoration:none;white-space:normal;overflow-wrap:anywhere;box-sizing:border-box}
.party-actions .card-link:first-child{background:#d4f686;border-color:#d4f686;color:#1e2f22}
.party-actions .card-link:hover{filter:brightness(1.08)}
.competition-shelf>header>p{max-width:420px;line-height:1.55}

/* Keep one primary action, with both alternatives beside it. */
.game-home .mode-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);margin-top:0}
.game-home .mode-online{grid-column:1/-1}
.game-home .mode-card:not(.mode-online){padding:12px;gap:8px}
.game-home .mode-card:not(.mode-online) .mode-icon,.game-home .mode-card:not(.mode-online)>b{display:none}
.game-home .mode-card:not(.mode-online) strong{font-size:16px;white-space:normal}
.game-home .section-heading h1{margin:0 0 16px}
@media(max-width:700px){
 .game-home .club-header{margin-bottom:12px}
 .game-home .equipped-hero{min-height:160px;padding:12px;grid-template-columns:40% 1fr}
 .game-home .equipped-hero>img{height:140px}
 .game-home .equipped-hero h2{font-size:20px}
 .game-home .mode-panel{padding:16px}
 .game-home .section-heading h1{font-size:26px;margin:0 0 12px}
 .game-home .mode-card{min-height:60px}
}

/* Public selection: one game, one queue, live service counts. */
.entry-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:24px 0}.entry-heading h1{font-size:clamp(28px,4vw,44px);line-height:1.1;margin:10px 0}.entry-heading p{color:#cbd4e7;line-height:1.5}.entry-look{display:flex;align-items:center;gap:8px;color:inherit;text-decoration:none;flex-shrink:0}.entry-look img{object-fit:contain;width:80px;height:80px}.entry-look small{display:block;max-width:160px;color:#bfc9db;font-size:11px}.game-filters{display:flex;gap:10px}.game-filters button{font:700 15px system-ui;min-height:48px;padding:10px 24px;border:1px solid #54617f;border-radius:14px;background:#252b41;color:white;cursor:pointer}.game-filters button[aria-pressed=true]{background:#c8f46a;color:#18271d;border-color:#c8f46a}#catalog-status{font-size:12px;color:#cbd4e7;min-height:32px}.public-game[hidden]{display:none}.public-game-art{width:100%;height:145px;object-fit:cover;border-radius:12px;background:#303c55}.public-game h2{font-size:20px;margin:14px 0 8px}.public-game .game-presence{color:#d4f686;font-size:12px;margin-top:auto;margin-bottom:12px}.public-play{display:block;text-align:center;padding:14px;border-radius:12px;background:#c8f46a;color:#18271d;text-decoration:none;font-weight:800;min-height:48px;box-sizing:border-box}.public-game>p{line-height:1.5}.game-home .competition-cards{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:800px){.game-home .competition-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.entry-look span{display:none}}@media(max-width:420px){.game-home .competition-cards{grid-template-columns:1fr}.entry-heading{align-items:flex-start;gap:8px}.entry-look img{width:52px;height:64px}.entry-heading h1{font-size:28px}.public-game-art{height:140px}}

/* Race-first entry: one primary action; the full catalogue remains optional. */
.race-first .club-shell{max-width:1000px;padding:16px max(16px,env(safe-area-inset-right)) 24px max(16px,env(safe-area-inset-left))}
.race-first .club-header{margin-bottom:8px;gap:12px;flex-wrap:wrap}
.race-first .quick-links{gap:12px}.race-first .quick-links a{background:none;border:0;padding:8px 0;font-weight:600}
.race-first #home-account-open{background:none;border:1px solid #45516b;min-height:44px}
.race-first .race-entry{display:flex;flex-direction:column;align-items:center;text-align:center;max-width:440px;margin:0 auto 20px}
.race-first .race-entry h1{font-size:clamp(26px,4vw,38px);margin:8px 0;letter-spacing:-.04em}
.race-first .entry-look{display:flex;flex-direction:column;gap:2px;background:none;border:0;padding:0;text-decoration:none;color:inherit;max-width:100%}
.race-first #home-equipped{width:min(280px,70vw);height:min(280px,70vw);object-fit:contain;max-width:none}
.race-first #home-equipped-name{font-size:17px}.race-first #home-equipped-status{display:none}
.race-first #home-race-play{width:100%;min-height:58px;margin-top:18px;border:0;border-radius:16px;background:#d4f686;color:#173329;font:800 22px system-ui;cursor:pointer}
.race-first #home-race-play:disabled{opacity:.6;cursor:wait}
.race-first .race-note{font-size:13px;color:#bcc9dc;margin:10px 0 0}
.race-first .other-games{border-top:1px solid #344057;margin-top:18px}.race-first .other-games>summary{padding:16px 0;min-height:52px;cursor:pointer;font-weight:650;text-align:center}
.race-first .competition-shelf{margin-top:8px}.race-first .public-play{background:#283c50;color:#edf5ff;border:1px solid #566a7d;box-shadow:none}
.race-first .club-footer{margin-top:18px}.race-first :is(a,button,summary):focus-visible{outline:3px solid #ffdc65;outline-offset:3px}
@media(max-width:480px){.race-first .club-brand b{display:none}.race-first .club-header{gap:8px}.race-first .quick-links{margin-left:auto;font-size:13px}.race-first #home-account{margin-left:0}.race-first #home-account-open{font-size:12px;padding:8px}.race-first #home-equipped{width:230px;height:230px}.race-first .race-entry{margin-bottom:10px}.race-first .race-entry h1{font-size:28px}.race-first #home-race-play{margin-top:12px}.race-first .other-games{margin-top:12px}}
@media(max-height:620px) and (orientation:portrait){.race-first #home-equipped{width:190px;height:190px}.race-first .club-header{margin-bottom:0}}
