/* NURDIVE title menu: one scene, two main modes, no dashboard cards. */
.game-lounge.command-home{position:relative;isolation:isolate;min-height:100svh;padding:0 clamp(20px,5vw,90px);background:#031219!important;overflow:hidden}
.command-home .dive-scene{background:radial-gradient(ellipse at 72% 38%,#245a6a 0,#0c303e 32%,#031219 73%)}
.command-home>.dive-cg{position:absolute;inset:50px -22% auto 20%;width:105%;height:min(860px,95svh);margin:0;z-index:1;opacity:1;pointer-events:none}
.command-home .title-top{position:relative;z-index:3;min-height:68px;border-bottom:1px solid #9dbec322;padding:10px 0}
.command-home .title-top>span:first-child{font-size:22px;letter-spacing:.15em;color:#aac3c8}
.command-home .title-ranking-btn{background:transparent;border:0;border-radius:0;box-shadow:none;font-size:12px;min-height:44px;padding:10px 14px;color:#d5e4e4}
.command-home .title-content{display:grid;grid-template-columns:minmax(340px,490px) minmax(0,1fr);gap:50px;position:relative;z-index:2;padding:36px 0 22px;align-items:start;min-height:690px;flex:1}
.command-home .title-support{grid-column:1;grid-row:1;min-width:0;align-self:start}
.command-home .title-copy{grid-column:2;grid-row:1;min-height:610px;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-end;padding:0;pointer-events:none}
.command-home .lobby-wordmark{margin-bottom:42px}
.command-home .lobby-wordmark .title-kicker{font-size:10px;color:#98bac0;letter-spacing:.15em;margin:0 0 12px;padding:0}
.command-home .lobby-wordmark h1{font-family:var(--font-display);font-size:clamp(76px,8.5vw,124px);font-style:italic;font-weight:700;letter-spacing:-.035em;line-height:.95;margin:0;color:#edf5e6;filter:drop-shadow(0 5px 12px #001319)}
.command-home .lobby-wordmark h1 span{color:inherit}
.command-home .lobby-menu{display:flex;flex-direction:column;gap:14px}
.command-home .lobby-menu>button{display:grid;grid-template-columns:46px 1fr 22px;align-items:center;gap:14px;width:100%;min-height:110px;padding:20px 24px;text-align:left;cursor:pointer;border:0;border-radius:0;clip-path:polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px);transition:transform .16s,background .16s;box-shadow:none}
.command-home .lobby-menu .lobby-play{background:#d3ef8b;color:#17312c}
.command-home .lobby-menu .lobby-versus{background:#184353e8;color:#e2f0ed;border-left:4px solid #66c6d6}
.command-home .lobby-menu>button>span:not(.lobby-menu-icon){font-size:26px;font-weight:700;letter-spacing:.01em;line-height:1.4;white-space:nowrap}
.command-home .lobby-menu>button small{display:block;font-family:var(--font-display);font-size:12px;letter-spacing:.18em;font-weight:500;opacity:.7;margin-top:4px}
.command-home .lobby-menu-icon{font-family:var(--font-display);font-size:28px;font-weight:700;font-style:italic;text-align:center}
.command-home .lobby-menu>button>b{font-size:36px;font-weight:400}
.command-home .lobby-secondary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:4px}
.command-home .lobby-secondary button{min-height:58px;border:0;border-bottom:2px solid #63848a;border-radius:0;background:#0b2936c4;box-shadow:none;font-size:15px;font-weight:600;color:#cce1e3;padding:12px;cursor:pointer}
.command-home .lobby-menu button:focus-visible{outline:0;box-shadow:inset 0 0 0 3px #fff4c3}
.command-home .welcome-user{font-size:12px;color:#c0d6dc;margin:0 0 2px;background:#041e2899;padding:4px 8px}
.command-home #guestRegisterButton{pointer-events:auto;background:#041e28b3;border:0;border-bottom:1px solid #5b858e;border-radius:0;color:#c5dce1;box-shadow:none;min-height:44px;font-size:11px;padding:8px;margin:0 0 18px}
.command-home .home-record{position:static;width:100%;max-width:360px;border:0;border-top:1px solid #7296a077;border-radius:0;background:#041b26c9;padding:16px;backdrop-filter:blur(12px);margin:0}
.command-home .title-metrics{gap:16px}
.command-home .title-metric span{font-size:10px;color:#93b7bf}
.command-home .title-metric b{font-size:25px;font-weight:500;color:#e0ecdf;line-height:1.5}
.command-home .last-result{display:none}
.command-home .lobby-utility{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;margin-top:20px}
.command-home .how-btn{font-size:12px;min-height:44px;padding:8px 0;color:#b2cbd2;align-self:auto}
.command-home .home-resources{display:contents}
.command-home .official-pdf-library{border:0;border-radius:0;background:transparent;padding:0;margin:0}
.command-home .official-pdf-library summary{min-height:44px;font-size:12px;padding:8px 0;color:#b2cbd2}
.command-home .official-pdf-library summary span{display:none}
.command-home .official-pdf-library[open]{flex-basis:100%}
.command-home .title-search-intro{flex-basis:100%;text-align:left;margin:0}
.command-home .title-search-intro a{font-size:10px;min-height:36px;color:#7d9ca7}
.command-home .title-footer{position:relative;z-index:2;border-top:1px solid #7096a333;padding:12px 0;font-size:10px;color:#789ca7}
.command-home .home-console[hidden]{display:none!important}
/* Existing settings are now a focused setup screen. */
#soloSetupDialog{width:min(560px,calc(100vw - 28px));max-height:calc(100svh - 40px);margin:auto;padding:24px;border:1px solid #49717d;border-top:3px solid #d3ef8b;border-radius:3px;background:#0a202b;color:#e6efed;box-shadow:0 24px 100px #0009;overflow:auto}
#soloSetupDialog::backdrop{background:#010d17bd;backdrop-filter:blur(8px)}
#soloSetupDialog>header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}
#soloSetupDialog h2{font-size:23px;margin:0}
#soloSetupClose{width:44px;min-height:44px;padding:0;background:transparent;border:1px solid #42626e;color:#dce9e9;font-size:26px;border-radius:2px}
.command-home #soloSetupDialog .home-launch{padding:0;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none}
.command-home #soloSetupDialog .home-section-label[hidden]{display:none}
.command-home #soloSetupDialog #shiftSetup{border:0;border-radius:0;background:#061821;margin-bottom:16px}
.command-home #soloSetupDialog #shiftSetup>summary{padding:12px;font-size:13px}
.command-home #soloSetupDialog #startGame{background:#d3ef8b;border:0;border-radius:2px;color:#17312c;box-shadow:0 3px #718a4c;font-size:20px;min-height:58px}
.command-home #soloSetupDialog .case-question-setting{background:transparent;border:0;margin-bottom:16px;padding:4px 0}
.command-home #soloSetupDialog .solo-resume{background:#12323d;border:0;border-left:2px solid #9bc1bc;border-radius:0;padding:14px;margin-bottom:18px}
.command-home .solo-resume[hidden]{display:none!important}
@media(hover:hover){.command-home .lobby-menu>button:hover{transform:translateX(6px)}.command-home .lobby-menu .lobby-play:hover{background:#e5ffab}.command-home .lobby-menu .lobby-versus:hover{background:#24596a}.command-home .lobby-secondary button:hover{background:#204552}}
@media(min-width:761px) and (max-width:1000px){.command-home .title-content{grid-template-columns:380px minmax(0,1fr);gap:24px}.command-home .lobby-menu>button{padding:18px;gap:10px;grid-template-columns:32px 1fr 18px}.command-home .lobby-menu>button>span:not(.lobby-menu-icon){font-size:23px}.command-home .title-copy{min-height:600px}.command-home .home-record{padding:12px}.command-home .title-metrics{gap:8px}.command-home .title-metric b{font-size:20px}}
@media(max-width:760px){
 .game-lounge.command-home{padding:0 20px}
 .command-home .title-top{min-height:60px;padding:8px 0}
 .command-home .title-top>span:first-child{font-size:18px}
 .command-home .title-ranking-btn{font-size:11px;padding:8px;min-height:44px}
 .command-home .title-account-actions{gap:2px}
 .command-home .title-content{display:flex;flex-direction:column;gap:20px;min-height:0;padding:24px 0 18px}
 .command-home .title-support{width:100%;order:0}
 .command-home .lobby-wordmark{margin-bottom:178px}
 .command-home .lobby-wordmark h1{font-size:clamp(64px,18vw,104px);line-height:1}
 .command-home .lobby-wordmark .title-kicker{font-size:9px;margin-bottom:8px}
 .command-home>.dive-cg{inset:110px -16% auto -4%;width:120%;height:280px;opacity:1}
 .command-home .lobby-menu{gap:10px}
 .command-home .lobby-menu>button{min-height:84px;padding:14px 16px;grid-template-columns:32px 1fr 16px;gap:12px}
 .command-home .lobby-menu>button>span:not(.lobby-menu-icon){font-size:23px}
 .command-home .lobby-menu>button small{font-size:10px;margin-top:2px}
 .command-home .lobby-menu-icon{font-size:24px}
 .command-home .lobby-secondary{gap:10px;margin-top:0}
 .command-home .lobby-secondary button{font-size:14px;min-height:50px}
 .command-home .lobby-utility{margin-top:10px;gap:0 20px}
 .command-home .title-search-intro{display:flex;flex-wrap:wrap;align-items:center;gap:4px;font-size:10px}
 .command-home .title-search-intro a{font-size:10px}
 .command-home .title-copy,.command-home .title-copy:has(#guestRegisterButton){order:1;min-height:0;width:100%;padding:0;align-items:flex-start;gap:0}
 .command-home .home-record{max-width:none;padding:12px;background:#041b2699}
 .command-home .welcome-user{font-size:11px;padding:0;background:none}
 .command-home #guestRegisterButton{font-size:11px;padding:4px 0;margin:0 0 12px;background:none;min-height:44px}
 .command-home .title-metric b{font-size:20px}
 .command-home .title-footer{font-size:9px}
 #soloSetupDialog{padding:18px;max-height:calc(100svh - 24px)}
}
@media(prefers-reduced-motion:reduce){.command-home .lobby-menu button{transition:none!important;transform:none!important}}

/* Keep setup actions in view while only the options scroll. */
#soloSetupDialog[open]{display:flex;flex-direction:column;overflow:hidden;padding:0;max-height:calc(100svh - 32px)}
#soloSetupDialog>header{flex:none;padding:20px 22px 16px;margin:0;border-bottom:1px solid #42626e55}
.command-home #soloSetupDialog .home-launch{display:flex;flex-direction:column;min-height:0;overflow:hidden}
#soloSetupDialog .solo-setup-scroll{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:18px 22px;scrollbar-width:thin;scrollbar-color:#54727d #0a202b}
.command-home #soloSetupDialog .title-actions{flex:none;padding:14px 22px 18px;margin:0;background:#0e2a35;border-top:1px solid #42626e88}
.command-home #soloSetupDialog #startGame{width:100%;margin:0;min-height:56px}
.command-home #soloSetupDialog .mode-card{min-height:76px;padding:12px 10px;border:1px solid #41626c;border-radius:3px;background:#102d38;color:#bdd1d5;box-shadow:none}
.command-home #soloSetupDialog .mode-card b{font:700 20px var(--font-ui);letter-spacing:0}
.command-home #soloSetupDialog .mode-card small{font-size:11px;margin-top:4px}
.command-home #soloSetupDialog .mode-card.active{border-color:#d3ef8b;background:#2c463f;color:#e6f5cb;box-shadow:inset 0 0 0 1px #d3ef8b}
.command-home #soloSetupDialog .shift-setup-content{padding:16px}
.command-home #soloSetupDialog :is(.setup-label,.category-picker){font-size:12px;letter-spacing:0}
.command-home #soloSetupDialog #yearPublicationNote{font-size:11px;line-height:1.7;color:#9cb8c0;margin-bottom:0}
.command-home #soloSetupDialog select{background:#102d38;border-color:#41626c;border-radius:3px;font-size:13px;min-height:44px}
.command-home .lobby-menu button:active{transform:translateY(2px)}
.command-home .lobby-secondary button:focus-visible,.command-home .title-ranking-btn:focus-visible{outline:2px solid #d3ef8b;outline-offset:3px}
@media(max-width:760px){#soloSetupDialog>header{padding:16px}#soloSetupDialog .solo-setup-scroll{padding:14px 16px}.command-home #soloSetupDialog .title-actions{padding:12px 16px 16px}.command-home #soloSetupDialog .shift-setup-content{padding:12px}}
