/* SuperT3 Clear Glass tokens and the existing rendered Home cube. */
@font-face { font-family:Sora; src:url('fonts/Sora.ttf') format('truetype'); font-weight:100 800; font-display:swap; }
@font-face { font-family:Unbounded; src:url('fonts/Unbounded.ttf') format('truetype'); font-weight:200 900; font-display:swap; }
#launcher { --text:#edeff8; --muted:#9096b2; --accent:#f4f6ff; --accent-strong:#ffffff; --panel:#11112a; --panel-edge:#ffffff26; --surface:#ffffff05; --surface-selected:#b3a6ec10; --edge:#ffffff18; --edge-selected:#b3a6ec70; --space:clamp(16px,3vw,28px); --radius:16px; font-family:Sora,system-ui,sans-serif; color:var(--text); }
body.discord-activity:not(.playing) { background:radial-gradient(ellipse at 18% 22%,#20266948,transparent 54%),radial-gradient(ellipse at 90% 85%,#38225430,transparent 60%),#08080f; }
body.discord-activity #launcher { padding:max(32px,env(safe-area-inset-top)) max(32px,env(safe-area-inset-right)) max(32px,env(safe-area-inset-bottom)) max(32px,env(safe-area-inset-left)); }
body.discord-activity #launcher > .panel { width:min(100%,960px); height:auto; max-height:100%; padding:0; gap:0; border:1px solid #ffffff10; border-radius:24px; background:#11112a88; box-shadow:0 32px 110px -55px #000c,inset 0 1px #ffffff08; overflow:hidden; }
body.discord-activity #launcher header { position:relative; z-index:2; display:flex; align-items:center; gap:16px; padding:var(--space) calc(var(--space) + 8px); border-bottom:1px solid #ffffff0f; background:transparent; }
.cube-wordmark { min-width:0; }
body.discord-activity #launcher h1 { font:550 clamp(17px,2.8vw,23px)/1.3 Unbounded,Sora,sans-serif; letter-spacing:-.045em; }
body.discord-activity #launcher h1 span { margin-left:8px; color:#dbd8f5; font:500 15px/1 Sora,sans-serif; letter-spacing:0; vertical-align:middle; border:1px solid #b3a6ec44; border-radius:999px; background:#b3a6ec0d; padding:6px 10px; }
body.discord-activity #launcher .subtitle { margin:7px 0 0; color:var(--muted); font-size:14px; line-height:1.5; }
.cube-mark { flex:none; display:block; width:48px; height:48px; object-fit:contain; }
body.discord-activity #activity-panel { padding:var(--space) calc(var(--space) + 8px); border:0; border-radius:0; background:transparent; color:var(--text); gap:10px; overflow:auto; max-height:100%; justify-content:flex-start; scrollbar-width:thin; scrollbar-color:#ffffff38 transparent; }
#activity-panel .activity-label { color:var(--muted); font-size:12px; font-weight:600; letter-spacing:.12em; }
#activity-panel #activity-heading { color:var(--text); font-size:23px; font-weight:600; letter-spacing:-.04em; line-height:1.25; }
#activity-panel #activity-status { color:#c9cce0; font-size:13px; font-weight:400; line-height:1.5; }
#activity-status:empty { display:none; }
body.beta-menu .activity-label,body.beta-menu #activity-heading,body.beta-menu .activity-details,body.beta-menu .activity-note { display:none; }
#activity-panel #activity-status.failed { color:#f28a84; }
#activity-panel .activity-note { margin-top:8px; font-size:12px; color:var(--muted); }
#activity-panel .activity-details { font-size:12px; color:var(--muted); }
#activity-panel .activity-details summary { display:list-item; min-height:32px; padding:7px 0; }
#activity-panel .activity-legal { font-size:12px; line-height:1.5; color:var(--muted); opacity:1; }
.browser-session { display:grid; gap:12px; min-width:0; margin:0; padding:0; }
.browser-session h3,.browser-session p { margin:0; }
.browser-session h3 { color:var(--text); font-size:14px; font-weight:600; line-height:1.4; }
.browser-session-message { color:#c9cce0; font-size:14px; line-height:1.5; overflow-wrap:anywhere; }
.browser-session-message:empty { display:none; }
.browser-session-message.error { color:#f28a84; }
.browser-session-form,.browser-session-ready { display:grid; gap:var(--space); min-width:0; }
.browser-session-identity { display:grid; grid-template-columns:1.1fr 1fr; gap:var(--space); align-items:center; }
.browser-session-form p,.browser-session-file-note { color:var(--muted); font-size:14px; line-height:1.6; }
.browser-session-name { color:#c9cce0; font-size:14px; }
.browser-session-field { display:grid; gap:7px; min-width:0; color:#c9cce0; font-size:14px; font-weight:500; line-height:1.5; }
.browser-session-field :is(input,select) { box-sizing:border-box; width:100%; min-width:0; min-height:44px; padding:10px 12px; border:1px solid #ffffff1f; border-radius:10px; background:#0a0a1c; color:var(--text); font:400 16px/1.4 Sora,system-ui,sans-serif; }
.browser-session-field input:focus-visible,#launcher .button:focus-visible,summary:focus-visible { outline:2px solid #f4f6ff; outline-offset:3px; }
.browser-session-files { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); gap:var(--space); }
.media-field { position:relative; padding:20px; gap:10px; border:1px solid var(--edge); border-radius:var(--radius); background:var(--surface); cursor:pointer; }
.media-field.has-file { border-color:var(--edge-selected); background:var(--surface-selected); }
.media-title { font-size:16px; font-weight:600; }
.media-filename { color:var(--muted); font-size:14px; font-weight:400; overflow-wrap:anywhere; }
.media-action { justify-self:start; display:grid; align-items:center; min-height:44px; padding:0 16px; border:1px solid var(--panel-edge); border-radius:999px; background:#ffffff0a; color:var(--text); font-size:14px; }
.media-field:focus-within { outline:2px solid var(--accent); outline-offset:4px; }
.browser-session-field .media-input { position:absolute; width:1px; height:1px; min-height:0; padding:0; border:0; clip-path:inset(50%); overflow:hidden; white-space:nowrap; }
.menu-model { display:block; width:100%; height:auto; aspect-ratio:3/2; max-height:104px; object-fit:contain; pointer-events:none; }
.model-cube { flex:none; width:52px; height:52px; aspect-ratio:1; }
.model-fallback { border:1px solid #ffffff40; background:linear-gradient(135deg,#c5ccd8,#5c6472); border-radius:12px; }
.model-fallback.model-disc { width:120px; height:120px; border-radius:50%; margin:28px auto; }
.model-fallback.model-cube { background:linear-gradient(135deg,#66dbeb90,#817ae480); }
.profile-menu { margin-left:auto; flex:none; font-size:14px; }
.profile-menu summary { display:flex; align-items:center; gap:9px; padding:6px 11px 6px 6px; border:1px solid #ffffff1f; border-radius:999px; background:#ffffff08; cursor:pointer; list-style:none; }
.profile-menu summary::-webkit-details-marker { display:none; }
.profile-menu[open] summary { background:#ffffff16; }
.discord-avatar { width:48px; height:48px; object-fit:cover; border-radius:50%; background:#5865f2; }
.profile-menu summary .discord-avatar { width:32px; height:32px; }
.profile-popover { position:absolute; z-index:5; top:calc(100% - 10px); right:28px; display:grid; gap:12px; width:260px; max-width:calc(100vw - 56px); padding:20px; border:1px solid #ffffff28; border-radius:16px; background:#18182b; box-shadow:0 20px 60px #0008; }
.profile-popover strong { font-size:16px; overflow-wrap:anywhere; }
.profile-popover > span { color:var(--muted); }
.profile-popover .button { width:100%; box-sizing:border-box; }
.discord-account { display:flex; gap:14px; align-items:center; padding:18px 20px; border:1px solid transparent; border-left:3px solid #5865f2; border-radius:12px; background:#5865f208; }
.discord-account-text { display:grid; gap:3px; min-width:0; }
.discord-account-text strong { font-size:16px; font-weight:600; overflow-wrap:anywhere; }
.discord-account-text > span { font-size:12px; color:var(--muted); }
.discord-account-label { font-size:12px!important; letter-spacing:.1em; text-transform:uppercase; color:#a7afff!important; }
.discord-verified { margin-left:auto; padding:5px 9px; border:1px solid #91cda12e; border-radius:999px; color:#acd6b7; font-size:12px; }
.file-hint { font-size:12px; font-weight:400; color:var(--muted); }
.browser-session-field.ownership-field { display:grid; grid-template-columns:22px minmax(0,1fr); gap:10px; align-items:start; margin:3px 0; font-weight:400; font-size:12px; }
#beta-ownership { width:20px; height:20px; min-height:20px; margin:0; padding:0; accent-color:#f4f6ff; cursor:pointer; }
.ownership-field { min-height:44px; cursor:pointer; }
.browser-session-buttons { display:flex; flex-wrap:wrap; gap:10px; align-items:center; padding-top:3px; }
#launcher .button { min-height:44px; padding:11px 18px; border:1px solid #ffffff1f; border-radius:999px; background:#ffffff14; color:var(--text); font:500 14px/1.4 Sora,system-ui,sans-serif; text-decoration:none; text-align:center; box-shadow:none; }
#launcher .button.primary { background:#f4f6ff; border-color:transparent; color:#11131f; font-weight:600; }
#browser-session-join { min-width:145px; }
.browser-lobby { display:grid; gap:16px; padding:24px; border:1px solid var(--edge); border-radius:var(--radius); background:var(--surface); }
.browser-lobby h2 { font:550 23px/1.3 Unbounded,Sora,sans-serif; }
.browser-lobby p { margin:0; color:#c9cce0; font-size:14px; line-height:1.5; }
#browser-lobby-play { min-width:145px; }
#launcher .button:disabled { cursor:not-allowed; opacity:.45; }
.browser-session-install-options { font-size:12px; color:var(--muted); margin-top:2px; }
.browser-session-install-options summary { padding:8px 0; min-height:32px; cursor:pointer; }
.browser-session-install { color:var(--muted); font-size:12px; line-height:1.6; }
#browser-session-install { margin-top:8px; }
@media (max-width:520px) {
 body.discord-activity #launcher { padding:max(10px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left)); }
 body.discord-activity #launcher header { gap:8px; padding:16px; }
 body.discord-activity #activity-panel { padding:20px 16px; }
 body.discord-activity #launcher h1 { font-size:16px; }
 body.discord-activity #launcher h1 span { font-size:13px; padding:5px 7px; margin-left:4px; }
 .cube-mark,.model-cube { width:36px; height:36px; }
 .profile-menu summary { padding:5px; }
 .profile-menu summary > span { display:none; }
 .profile-popover { right:12px; }
 .discord-account { padding:14px; gap:10px; }
 .discord-account .discord-avatar { width:40px; height:40px; }
 .discord-account-text strong { font-size:14px; }
 .browser-session-identity { grid-template-columns:1fr; gap:20px; }
 .browser-session-files { gap:var(--space); }
 .media-field { padding:16px; }

 .menu-model:not(.model-cube) { height:88px; }

 .browser-session-buttons .primary { flex:1; }
}
@media (max-height:480px) {
 body.discord-activity #launcher header { padding:12px 20px; }
 body.discord-activity #launcher .subtitle { display:none; }
 body.discord-activity #activity-panel { padding:16px 20px; }
 #activity-panel #activity-heading { font-size:19px; }
 .browser-session { margin-top:4px; padding-top:12px; }
}

#launcher .button,.profile-menu summary,.media-field { touch-action:manipulation; }
#launcher .button:not(:disabled):active,.profile-menu summary:active,.media-field:active { transform:scale(.98); }
#launcher .button:disabled { pointer-events:none; }
@media (hover:hover) and (pointer:fine) {
 #launcher .button:not(:disabled):hover,.profile-menu summary:hover { background:#ffffff24; }
 #launcher .button.primary:not(:disabled):hover { background:#fff; }
 .media-field:hover { border-color:var(--panel-edge); background:#ffffff08; }
 .media-field.has-file:hover { border-color:var(--edge-selected); background:var(--surface-selected); }
}
@media (prefers-reduced-motion:no-preference) {
 #launcher .button,.profile-menu summary,.media-field { transition:transform 140ms ease-out,background-color 140ms ease-out,border-color 140ms ease-out; }
}

.discord-card { display:flex; align-items:center; gap:16px; padding:18px 20px; border-radius:16px; background:linear-gradient(135deg,#5865f2,#4752c4); color:#fff; text-decoration:none; box-shadow:0 8px 28px #5865f240; }
.discord-card svg { flex:none; width:44px; height:44px; fill:#fff; }
.discord-card span { display:grid; gap:3px; min-width:0; flex:1; }
.discord-card strong { font-size:17px; font-weight:700; line-height:1.3; }
.discord-card small { font-size:13px; color:#e3e6ff; line-height:1.4; }
.discord-card em { flex:none; font-style:normal; font-size:14px; font-weight:700; padding:10px 20px; border-radius:999px; background:#fff; color:#4752c4; }
.discord-card:hover { filter:brightness(1.08); }
@media (max-width:480px) { .discord-card { padding:16px; gap:12px; } .discord-card svg { width:36px; height:36px; } .discord-card em { padding:8px 14px; } }

body.discord-activity.browser-signed-out #launcher > .panel { width:min(100%,480px); }

/* Desktop matchmaking uses one map card and one stable room panel. */
.browser-lobby { display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,1fr); gap:28px; align-items:stretch; }
.lobby-map,.lobby-room { display:flex; flex-direction:column; gap:14px; padding:24px; border:1px solid #7f9fbb40; background:linear-gradient(135deg,#253d54b3,#102136cc); }
.browser-lobby h3 { color:#edf3f8; font:400 24px/1.2 Arial,sans-serif; letter-spacing:.05em; text-transform:uppercase; }
.lobby-map-art { min-height:150px; background:var(--halo-map-bloodgulch) center/contain no-repeat; }
.lobby-room .browser-session-buttons { margin-top:auto; }
.browser-lobby p { color:#c0ccd9; font:16px/1.5 Arial,sans-serif; }
#launcher .browser-lobby .button { border-radius:2px; font:18px/1.2 Arial,sans-serif; }
#launcher .browser-lobby .button.primary { background:#dce7ed; color:#172637; }
#launcher .browser-lobby .button:focus-visible { outline:2px solid #fff; outline-offset:4px; }
@media (max-width:760px) { .browser-lobby { grid-template-columns:1fr; } }

#home-scene { position:fixed; inset:0; width:100%; height:100%; pointer-events:none; }
.home-scene-ready #launcher { position:relative; z-index:1; background:transparent; }
body.discord-activity.home-scene-ready #launcher > .panel { background:#101827f2; }
.playing #home-scene { display:none; }

.spartan-about { margin-top:16px; color:#c9cce0; }
.spartan-about summary { min-height:44px; box-sizing:border-box; padding:12px 0; cursor:pointer; font:500 14px/1.5 Sora,system-ui,sans-serif; }
.spartan-about-copy { color:#dbe3ed; font:400 14px/1.65 Sora,system-ui,sans-serif; overflow-wrap:anywhere; }
.spartan-about-copy p { margin:0 0 16px; }
.spartan-about-copy h3 { margin:20px 0 8px; color:#fff; font:600 16px/1.4 Sora,system-ui,sans-serif; }

/* Keep authored Title Case in buttons and headings, including the game menus. */
#launcher :is(button,.button,h1,h2,h3,summary,.main-eyebrow),
#match-menu :is(button,h2,h3), #match-menu :is(button,h2,h3) *,
#control-settings :is(button,h2), #control-settings :is(button,h2) * { text-transform:none!important; }

/* Keep optional account actions compact and separate from game setup. */
.queue-priority { display:flex; flex-wrap:wrap; align-items:center; gap:12px 24px; padding-block:12px; border-block-end:1px solid var(--edge); }
.queue-priority p { flex:1 1 240px; min-width:0; max-width:52ch; color:#b3b9ce; font-size:13px; line-height:1.6; text-wrap:pretty; }
#launcher .queue-priority .button { flex:0 0 auto; width:auto; max-width:100%; }
.browser-session-form > .button { justify-self:start; }
.browser-session-ready .file-section-title { margin-block-end:calc(8px - var(--space)); font-size:18px; text-wrap:balance; }
.browser-session-file-note { text-wrap:pretty; }
.discord-account-label { text-transform:none; letter-spacing:0; }

/* Approved Halo menu. Keep the game view and its controls separate. */
body.beta-menu:not(.playing) #launcher {
  padding:clamp(28px,4vw,64px);
  background:linear-gradient(90deg,#030711c9,#03071150 65%,#03071135),url('menu-art/blood-gulch.webp') center/cover no-repeat,#030711;
}
body.beta-menu #launcher > .panel,
body.beta-menu.browser-signed-out #launcher > .panel {
  position:relative; width:100%; max-width:none; height:100%; margin:0; padding:0;
  grid-template-rows:auto minmax(0,1fr); gap:0; border:0; border-radius:0;
  background:transparent; box-shadow:none; overflow:visible;
}
body.beta-menu #launcher header { padding:0; border:0; min-height:48px; }
body.beta-menu #launcher header > .model-cube { display:block; width:56px; height:56px; margin-right:2px; }
body.beta-menu #launcher .menu-socials { display:flex; align-items:center; gap:14px; margin-left:auto; }
body.beta-menu #launcher .social-link { display:grid; place-items:center; width:44px; height:44px; border:0; background:none; }
body.beta-menu #launcher .social-link img { width:28px; height:28px; object-fit:contain; }
body.beta-menu #launcher .social-link:hover { opacity:.8; }
body.beta-menu #launcher .social-link:focus-visible { outline:2px solid #dcefff; outline-offset:3px; border-radius:4px; }
body.beta-menu #launcher h1 { font:600 clamp(22px,2.2vw,32px)/1.2 Sora,sans-serif; letter-spacing:-.06em; }
body.beta-menu #launcher h1 span { margin:0; padding:0; border:0; background:none; color:#a9a5ff; font:inherit; }
body.beta-menu #launcher .menu-socials .profile-menu { position:relative; order:1; margin-left:0; }
body.beta-menu #launcher .profile-menu summary { min-width:44px; min-height:44px; box-sizing:border-box; justify-content:center; padding:4px; border:0; border-radius:999px; background:none; color:#d4dcf0; }
body.beta-menu #launcher .profile-menu summary .discord-avatar:not([hidden]) { display:block; width:36px; height:36px; }
body.beta-menu #launcher .profile-menu summary:has(.discord-avatar:not([hidden])) > span { display:none; }
body.beta-menu #launcher .profile-popover { top:calc(100% + 12px); right:0; background:#0c1425f5; }
body.beta-menu #activity-panel { position:static; padding:0; overflow:auto; background:transparent; justify-content:safe center; }
body.beta-menu .browser-session { display:block; }
body.beta-menu #activity-status:not(.failed) { display:none; }
body.beta-menu .browser-session-message:not(:empty) { max-width:600px; margin:12px 0; }
body.beta-menu .browser-session-form { width:min(540px,100%); gap:22px; padding-block:32px; }
body.beta-menu .browser-session-form::before { content:'Halo'; display:block; color:#f4f6ff; font:500 clamp(56px,7vw,100px)/1.1 Sora,sans-serif; letter-spacing:-.04em; margin-bottom:16px; }
body.beta-menu #launcher .browser-session-form > .button { width:100%; padding:16px 26px; border:0; border-radius:4px; text-align:left; justify-content:flex-start; font-size:23px; background:transparent; color:#d7def0; }
body.beta-menu #launcher .browser-session-form > .button:first-of-type { border-left:3px solid #a2e3ff; color:#fff; background:linear-gradient(90deg,#9cc5fa40,#9cc5fa08,transparent); }
body.beta-menu .browser-session-form p { color:#c1c9dd; max-width:48ch; }
body.beta-menu .discord-card { padding:0; gap:12px; background:none; box-shadow:none; color:#c7d2ea; }
body.beta-menu .discord-card svg { width:24px; height:24px; }
body.beta-menu .discord-card strong { font-size:14px; font-weight:400; }
body.beta-menu .discord-card small,body.beta-menu .discord-card em { display:none; }
body.beta-menu .browser-session-ready { max-width:780px; padding:24px; margin-block:24px 56px; background:#07101de8; border-radius:8px; }
body.beta-menu .files-back { justify-self:start; }
body.beta-menu .profile-popover .queue-priority { display:grid; border:0; padding:0; gap:12px; }
body.beta-menu .profile-popover .queue-priority p { font-size:12px; }
#launcher .spartan-main { display:block; padding:58px 0 10px; border:0; border-radius:0; background:none; }
body.beta-menu #launcher .spartan-main h2 { margin:0 0 28px 22px; color:#f4f6ff; font:750 clamp(40px,4.4vw,64px)/1.15 Unbounded,Sora,sans-serif; letter-spacing:-.025em; }
#launcher .main-choices { display:grid; gap:6px; width:min(500px,50vw); }
#launcher .main-choices .button { margin:0; min-height:54px; padding:10px 22px 10px 25px; border:0; border-radius:0; background:none; color:#c5cce4; text-align:left; justify-content:flex-start; font:500 clamp(22px,2vw,28px)/1.2 Tahoma,Arial,sans-serif; letter-spacing:.01em; text-shadow:0 1px 2px #0008; box-shadow:none; }
#launcher .main-choices .button.primary { color:#f3fbff; background:radial-gradient(ellipse at 32% 50%,#85c9ff24 0%,#85c9ff0e 42%,transparent 72%); text-shadow:0 1px 2px #0008,0 0 14px #91cfff55; font-weight:600; }
#launcher .main-choices .button:not(:disabled):is(:hover,:focus-visible) { color:white; background:radial-gradient(ellipse at 32% 50%,#85c9ff24 0%,#85c9ff0e 42%,transparent 72%); transform:none; }
#launcher .main-choices .button:focus-visible { outline:2px solid #dcefff; outline-offset:4px; }
#launcher .main-status { display:flex; flex-wrap:wrap; align-items:center; gap:10px 20px; width:min(520px,50vw); margin:24px 0 0 24px; }
#launcher .main-status p { color:#bdc8df; font:400 12px/1.6 Sora,sans-serif; }
#launcher .main-status #browser-lobby-players { color:#e5f3ff; font:600 18px/1.6 Tahoma,Arial,sans-serif; font-variant-numeric:tabular-nums; letter-spacing:.015em; text-shadow:0 1px 2px #0008; }
#launcher .main-status #browser-lobby-players::before { content:""; display:inline-block; width:7px; height:7px; margin-right:10px; border-radius:0; background:#a2e3ff; vertical-align:middle; }
#launcher .main-credit { position:absolute; left:66%; top:44%; width:min(280px,29%); color:#bdc8df; }
#launcher .main-credit > span { font:400 12px/1.6 Sora,sans-serif; }
#launcher .main-credit > a { display:flex; align-items:center; gap:12px; margin:8px 0 14px; color:#f4f6ff; font:500 clamp(26px,2.5vw,34px)/1.2 Sora,sans-serif; letter-spacing:-.04em; text-decoration:none; }
#launcher .main-credit > a img { flex:none; width:48px; height:48px; object-fit:contain; opacity:.85; }
#launcher .main-credit > a:hover { color:#a2e3ff; }
#launcher .main-credit p { max-width:26ch; font:400 13px/1.8 Sora,sans-serif; }
#launcher .main-footer { position:absolute; bottom:0; left:0; }
#launcher .main-files { padding:12px 0; border:0; border-radius:0; background:none; color:#bac6dd; font-weight:400; }
.browser-game-setup { width:min(500px,100%); margin:30px 0 64px; padding:24px; box-sizing:border-box; border:1px solid #c5d5f033; border-radius:8px; background:#07101de8; }
.browser-game-setup h2 { margin:0; color:#f4f6ff; font:600 28px/1.2 Sora,sans-serif; }
body.beta-menu .browser-game-setup .browser-session-form { padding-block:20px; gap:14px; }
body.beta-menu .browser-game-setup .browser-session-form::before { content:none; }
body.beta-menu #launcher .browser-game-setup .browser-session-form > .button { font-size:18px; min-height:44px; }
body.beta-menu .spartan-about { position:absolute; bottom:0; right:0; margin:0; max-width:min(560px,90vw); }
body.beta-menu .spartan-about summary { text-align:right; color:#bac6dd; font-weight:400; font-size:12px; }
body.beta-menu .spartan-about[open] { z-index:3; padding:20px; border:1px solid #c5d5f033; border-radius:8px; background:#07101df5; max-height:70vh; overflow:auto; }
@media(max-height:700px) {
 body.beta-menu:not(.playing) #launcher { padding:24px 40px; }
 #launcher .spartan-main { padding:30px 0 14px; }
 body.beta-menu #launcher .spartan-main h2 { font-size:44px; margin-bottom:20px; }
 #launcher .main-choices { gap:4px; }
 #launcher .main-choices .button { min-height:46px; padding-block:8px; font-size:23px; }
 #launcher .main-status { margin-top:16px; gap:6px 16px; }
 body.beta-menu .browser-session-form { padding-block:12px; gap:14px; }
 body.beta-menu .browser-session-form::before { font-size:64px; margin-bottom:4px; }
}

/* Keep sign-in and game import in the centered setup panel. */
body.beta-menu.spartan-setup .browser-session {
  width:min(860px,100%); margin:24px auto 56px; padding:24px;
  box-sizing:border-box; border:1px solid #ffffff26; border-radius:20px;
  background:#0c1425ed; box-shadow:0 24px 80px #0007;
}
body.beta-menu.spartan-setup.browser-signed-out .browser-session { width:min(500px,100%); }
body.beta-menu.spartan-setup .browser-session-ready { max-width:none; margin:0; padding:0; background:none; gap:14px; }
body.beta-menu.spartan-setup .browser-session-form { width:100%; padding:0; gap:18px; }
body.beta-menu.spartan-setup .browser-session-form::before { content:none; }
body.beta-menu.spartan-setup .setup-title { margin:0 0 6px; color:#f4f6ff; font:600 30px/1.2 Sora,sans-serif; letter-spacing:-.04em; }
body.beta-menu.spartan-setup #launcher .browser-session-form > .button { min-height:48px; padding:12px 20px; border:1px solid #ffffff26; border-radius:999px; font-size:16px; text-align:center; justify-content:center; }
body.beta-menu.spartan-setup #launcher .browser-session-form > .button:first-of-type { background:#f4f6ff; color:#11131f; }
body.beta-menu.spartan-setup .browser-session-identity { grid-template-columns:1fr; gap:16px; }
body.beta-menu.spartan-setup .discord-account { padding:12px; }
body.beta-menu.spartan-setup .browser-session-files { gap:16px; }
body.beta-menu.spartan-setup .media-field { padding:14px; gap:6px; }
body.beta-menu.spartan-setup .menu-model { height:92px; }
body.beta-menu.spartan-setup .file-section-title { margin:0; }
body.beta-menu.spartan-setup .browser-session-message:not(:empty) { margin:0 0 16px; }
body.beta-menu.spartan-setup .browser-session-file-note,.media-filename,.file-hint { color:#bac6dd; }
@media(max-height:800px) {
 body.beta-menu.spartan-setup .browser-session { margin-block:12px 40px; padding:20px; }
 body.beta-menu.spartan-setup .browser-session-ready { gap:10px; }
 body.beta-menu.spartan-setup .menu-model { height:72px; }
 body.beta-menu.spartan-setup .ownership-field { min-height:28px; }
}
