/* Menu layout and hierarchy. This is the single responsive owner of #selection.
   Panels begin at the same top edge; only the body scrolls in constrained frames. */
#selection{--menu-top:max(64px,calc(env(safe-area-inset-top) + 54px));--menu-bottom:max(12px,env(safe-area-inset-bottom));--menu-edge:max(14px,env(safe-area-inset-left));--menu-edge-right:max(14px,env(safe-area-inset-right));display:block;height:100dvh;max-height:100%;padding:0!important;overflow:hidden;background:linear-gradient(90deg,#041019e8,#061720a8 48%,#041019dc),url('assets/city-hotel-v14.webp') center/cover}
#selection .menu-content,#selection[data-paused=true] .menu-content{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;align-content:start;justify-content:normal;gap:32px;width:100%;max-width:1480px;min-height:0;height:100%;margin:0 auto;padding:var(--menu-top) var(--menu-edge-right) var(--menu-bottom) var(--menu-edge)}
#selection .intro{display:none;position:static;inset:auto;min-width:0;width:100%;max-width:none;margin:0;padding:0;align-self:start}
#selection h1{display:block;max-width:100%;margin:0;font:800 clamp(44px,4.2vw,70px)/1.06 Arial,Helvetica,sans-serif;letter-spacing:-.045em;text-wrap:balance;overflow-wrap:break-word;color:#eee9da;text-shadow:2px 3px #030d1680}
#selection h1 span,#selection h1 em{display:block;max-width:100%;font-style:normal}#selection h1 em{color:#cfb674}
#selection .intro>.eyebrow{display:block;margin:0 0 22px;padding-left:12px;border-left:2px solid #b59855;font-size:10px;line-height:1.6;letter-spacing:.18em;color:#a6b9b8}
#selection .feature-tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:26px}
#selection .feature-tags span{border:0;border-radius:0;border-left:1px solid #82938b66;background:#06151b70;padding:7px 10px;font-size:9px;line-height:1.6;letter-spacing:.08em;color:#a9b9b8}
#selection[data-menu-panel] .choose,#selection[data-paused=true] .choose{display:flex;flex-direction:column;align-items:stretch;gap:14px;min-width:0;width:100%;max-width:740px;max-height:calc(100dvh - var(--menu-top) - var(--menu-bottom));margin:0 auto;padding:16px;border:1px solid #567078;border-top:3px solid #a68b55;border-radius:3px;background:linear-gradient(130deg,#16303916,#07131d00 60%),#081b25f5;box-shadow:4px 5px 0 #020b1390;overflow:hidden}
#selection .menu-body{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:14px;min-height:0;min-width:0;overflow-x:hidden;overflow-y:auto;padding:2px;scrollbar-width:thin;scrollbar-color:#63847f #081b25;scroll-padding-block:6px;overscroll-behavior:contain;touch-action:pan-y}
#selection #compact-menu-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex:none;gap:4px;margin:0;padding:0 0 9px;border-bottom:1px solid #627a7d50}
#selection #compact-menu-nav button{position:relative;min-width:0;min-height:48px;margin:0;padding:12px 14px;border:1px solid transparent;border-radius:2px;background:#0b202a;color:#93aaad;font-size:15px;line-height:1.2;font-weight:800;letter-spacing:.11em;text-align:left;box-shadow:none;transform:none}
#selection #compact-menu-nav button[aria-pressed=true]{background:#d7cfb5;color:#10242b;border-color:#ece1bc;box-shadow:inset 0 -3px #b39452}
#selection .menu-kicker,#selection .menu-heading,#selection #mode-note{display:none}
#selection .menu-loadout{display:block;min-width:0;grid-column:auto;grid-row:auto}
#selection #mode-picker{display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:1fr;gap:6px;margin:0}
#selection #mode-picker button{position:relative;display:block;width:100%;height:100%;min-width:0;min-height:58px;margin:0;padding:10px 12px 10px 34px;text-align:left;border:1px solid #41545e;border-radius:2px;background:#0c222c;color:#b8c9c8;font-size:15px;line-height:1.25;letter-spacing:.05em;box-shadow:none}
#selection #mode-picker button::before{content:'';position:absolute;left:12px;top:15px;width:10px;height:10px;border:1px solid #77938f;border-radius:50%;background:#081b25}
#selection #mode-picker button[aria-pressed=true]{background:#1c353b;border-color:#88a99e;box-shadow:inset 3px 0 #8fb8a9;color:#e1e8df}
#selection #mode-picker button[aria-pressed=true]::before{background:#b8c9ad;box-shadow:inset 0 0 0 2px #1c353b}
#selection #solo-choice[aria-pressed=true]{border-color:#ad915e;box-shadow:inset 3px 0 #ad915e}
#selection #solo-choice[aria-pressed=true]::before{background:#c4aa70}
#selection #mode-picker button span{display:block;font-weight:700}
#selection #mode-picker button small{display:block;margin:3px 0 0;font-size:11px;line-height:1.35;letter-spacing:0;font-weight:400;color:#a5b9bc}
#selection #mode-picker b{display:inline-block;margin-left:7px;padding:1px 5px;border:1px solid #957d4b66;border-radius:1px;font-size:9px;line-height:1.4;color:#d2b785;white-space:nowrap;vertical-align:middle}
#selection .lead-label{display:block;margin:12px 0 7px!important;font-size:9px;line-height:1.4;letter-spacing:.13em;color:#9cb3b4}
#selection #cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;min-width:0;margin:0}
#selection .card{position:relative;display:grid;grid-template-rows:minmax(0,1fr) auto;align-items:center;gap:5px;width:100%;min-width:0;height:112px;padding:7px 5px;border:1px solid #354e5a;border-radius:2px;background:#0b202b;box-shadow:none;color:#a7bdc2}
#selection .card[aria-pressed=true]{background:#19313b;border-color:#94bcb5;box-shadow:inset 0 -2px #94bcb5;color:#f0ecdd}
#selection .card img{display:block;width:100%;height:72px;max-height:100%;object-fit:contain;margin:0;filter:drop-shadow(0 4px 3px #0008)}
#selection .card b{display:block;margin:0;min-width:0;font-size:11px;line-height:1.2;letter-spacing:.06em;overflow-wrap:normal}
#selection .card small{display:none}
#selection .menu-play-actions,#selection[data-intro=true] .menu-play-actions{display:flex;flex-direction:column;justify-content:flex-start;gap:7px;min-width:0;grid-column:auto;grid-row:auto;padding:12px 0 0;border-top:1px solid #5c72754a}
#selection .timer-note{margin:0 0 3px;font-size:10px;line-height:1.4;color:#8fa9af}
#selection #enter,#selection #skip-intro,#selection #start-intro,#selection #menu-how-to,#selection #restart-game{display:block;width:100%;min-width:0;min-height:46px;margin:0;padding:12px 14px;border:1px solid #536f78;border-radius:2px;background:#17303c;color:#d0dfe0;font:700 12px/1.4 Arial,Helvetica,sans-serif;letter-spacing:.04em;text-align:left;box-shadow:none;overflow-wrap:normal}
#selection #skip-intro,#selection #enter{min-height:50px;background:#c9ac65;border-color:#e8ce8b;color:#101e26;font-weight:800;box-shadow:inset 0 -3px #8d743e}
#selection #enter span{float:right;font-size:18px;margin:0}
#selection #start-intro{background:#17303c;border-color:#5a7d8a;color:#d0e1e5}
#selection #menu-how-to{background:transparent;border-color:#4e5b5d;color:#b9c5bb;min-height:44px}
#selection #menu-how-to span{float:right;font-size:9px;line-height:1.9;font-weight:400;letter-spacing:.02em;color:#91a6a5}
#selection #restart-game{background:#231e20;border-color:#72584d;color:#cbb3a3;min-height:44px;font-size:11px}
#selection button:disabled{opacity:.5;cursor:default}
#selection #loading-progress{grid-column:1/-1;min-width:0;margin:0}
/* Quiet preference switches, beneath the navigation in visual priority. */
#selection .menu-preferences{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0;grid-column:1/-1}
#selection #menu-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%;max-width:none;min-width:0;margin:0;align-items:stretch}
#selection #music-settings{display:contents}
#selection #pause-rain,#selection #music-toggle{position:relative;min-width:0;width:100%;min-height:44px;height:44px;margin:0;padding:10px 43px 10px 10px;border:1px solid #324b55;border-radius:2px;background:#0b212b;color:#9eb6bb;font-size:11px;line-height:1.3;font-weight:500;letter-spacing:.03em;text-align:left;white-space:nowrap;box-shadow:none}
#selection #pause-rain::after,#selection #music-toggle::after{content:'';position:absolute;top:50%;right:10px;transform:translateY(-50%);width:25px;height:13px;border:1px solid #5a7179;border-radius:8px;background:radial-gradient(circle at 6px 50%,#91a6ac 0 4px,transparent 4.5px),#122831}
#selection #pause-rain[aria-pressed=true],#selection #music-toggle[aria-pressed=true]{color:#c2d5d0;background:#0d252e;border-color:#405b63;box-shadow:none}
#selection #pause-rain[aria-pressed=true]::after,#selection #music-toggle[aria-pressed=true]::after{border-color:#728f87;background:radial-gradient(circle at 18px 50%,#c1d6c3 0 4px,transparent 4.5px),#37574f}
#selection #volume-control{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) 40px;grid-template-rows:13px 44px;gap:0 8px;align-items:center;width:100%;min-width:0;margin:0;padding:4px 10px;border:1px solid #324b55;border-radius:2px;background:#091e28}
#selection #volume-control label{grid-column:1;grid-row:1;display:block;margin:0;font-size:9px;line-height:1.2;letter-spacing:.09em;color:#93aeb3}
#selection #music-level{grid-column:2;grid-row:1;display:block;width:auto;text-align:right;font-size:10px;font-variant-numeric:tabular-nums;color:#b9cec7}
#selection #music-volume{grid-column:1/-1;grid-row:2;display:block;width:100%;min-width:0;max-width:none;height:44px;margin:0;accent-color:#a8bfa9;cursor:pointer;touch-action:pan-x}
/* Familiar playlist: one song per row, duration at right, transport below. */
#selection #menu-jukebox{display:block;min-width:0;padding:0;border:1px solid #48606a;border-radius:3px;background:#071922;overflow:hidden}
.jukebox-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:38px;margin:0;padding:8px 12px;border-bottom:1px solid #344d58;background:#102630}
#jukebox-title{display:flex;align-items:center;gap:8px;margin:0;font-size:11px;line-height:1.2;letter-spacing:.1em;color:#cdd9ce}
#jukebox-title svg{width:16px;height:16px;fill:none;stroke:#bfa972;stroke-width:1.5}
.jukebox-heading>span{font-size:8px;line-height:1.3;letter-spacing:.06em;color:#8ca7ad;white-space:nowrap}
#selection .jukebox-tracks{display:block;max-height:clamp(88px,calc(100dvh - 480px),220px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#78948c #0a1c25;touch-action:pan-y}
#selection .jukebox-tracks button{display:grid;grid-template-columns:22px minmax(0,1fr) 34px 12px;align-items:center;gap:8px;min-width:0;width:100%;min-height:44px;margin:0;padding:8px 12px;border:0;border-bottom:1px solid #2c455044;border-radius:0;background:transparent;color:#bcd0d2;text-align:left;transform:none;box-shadow:none;letter-spacing:0}
.jukebox-tracks .track-number{font-size:10px;font-variant-numeric:tabular-nums;color:#738f99}
.jukebox-tracks button strong{display:block;min-width:0;font-size:12px;line-height:1.3;font-weight:500;overflow-wrap:normal}
.jukebox-tracks button strong small{font-size:inherit;font-weight:400;color:inherit}
.jukebox-tracks .track-duration{display:block;text-align:right;font:10px/1.3 monospace;color:#93a9ad;font-variant-numeric:tabular-nums}
.jukebox-tracks button i{font-size:9px;font-style:normal;color:#91aea8}
#selection .jukebox-tracks button[aria-pressed=true]{background:#223b3b;border-color:#4a665c;box-shadow:inset 3px 0 #c8ac66;color:#f0dba3}
#selection .jukebox-tracks button[aria-pressed=true] .track-number{color:#ddc27f}
.jukebox-player{display:flex;align-items:center;gap:8px;min-height:56px;padding:6px 8px;border-top:1px solid #53665d;background:#142d33}
#selection .jukebox-player button{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:10px;margin:0;border:0;border-radius:50%;background:#c5b681;color:#10262d;box-shadow:none}
#selection #jukebox-next{background:transparent;color:#b4c9c5;border-radius:2px}
.jukebox-player svg{width:19px;height:19px;fill:currentColor}
#jukebox-play .pause-icon,#jukebox-play[data-playing=true] .play-icon{display:none}#jukebox-play[data-playing=true] .pause-icon{display:block}
.jukebox-now{flex:1;min-width:0;align-self:center}
#jukebox-now-title{display:block;margin:0;font-size:11px;line-height:1.4;font-weight:600;color:#d6e0d2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#jukebox-status{margin:2px 0 0;min-height:1.4em;font-size:9px;line-height:1.4;color:#8faeae;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Secondary destinations retain their own purpose and quiet accent. */
#selection .menu-extras{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;min-width:0}
#selection .menu-links{display:contents;margin:0}
#selection .menu-links button,#selection #menu-films{display:flex;align-items:center;justify-content:center;gap:5px;width:100%;min-width:0;min-height:44px;margin:0;padding:10px 7px;border:1px solid #405e6f;border-radius:2px;background:#112b3b;color:#c6d9e2;font-size:10px;line-height:1.4;font-weight:600;letter-spacing:.04em;text-align:center;box-shadow:none;text-decoration:none;white-space:normal}
#selection #menu-share{background:transparent;border-color:#4a6062;color:#9fbab9}
#selection #menu-films{background:#292b28;border-color:#927c4e;box-shadow:inset 2px 0 #b79a55;color:#d5be88}
#selection #menu-films span{font-size:13px}
/* Tablet/intermediate windows keep the title out of the controls' column. */
@media(min-width:600px) and (min-height:551px){
 #selection{--menu-top:max(72px,calc(env(safe-area-inset-top) + 60px));--menu-edge:max(24px,env(safe-area-inset-left));--menu-edge-right:max(24px,env(safe-area-inset-right));--menu-bottom:max(20px,env(safe-area-inset-bottom))}
 #selection[data-menu-panel] .choose,#selection[data-paused=true] .choose{padding:20px;gap:16px}
 #selection #compact-menu-nav button{font-size:16px;min-height:52px}
 #selection .card{height:128px}#selection .card img{height:88px}
 #selection .card b{font-size:12px}
 #selection .menu-play-actions{gap:8px}
 #selection #enter,#selection #skip-intro,#selection #start-intro{font-size:13px;min-height:50px}
 #selection #menu-how-to{font-size:12px}#selection #menu-how-to span{font-size:10px}
 #selection #pause-rain,#selection #music-toggle{font-size:12px}
 #selection .jukebox-tracks{max-height:220px}
 .jukebox-tracks button strong{font-size:13px}
 #selection .menu-links button,#selection #menu-films{font-size:11px;min-height:46px}
}
@media(min-width:1280px) and (min-height:700px){
 #selection{--menu-top:max(82px,calc(env(safe-area-inset-top) + 70px));--menu-edge:max(32px,env(safe-area-inset-left));--menu-edge-right:max(32px,env(safe-area-inset-right))}
 #selection .menu-content{grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);gap:clamp(34px,4vw,64px)}
 #selection .intro{display:block;padding-top:64px}
 #selection[data-menu-panel] .choose{max-width:820px;padding:24px}
 #selection #compact-menu-nav button{min-height:54px;font-size:18px}
 #selection #mode-picker button{min-height:64px;font-size:16px;padding-top:12px;padding-bottom:12px}
 #selection #mode-picker button small{font-size:12px}
 #selection .card{height:138px}#selection .card img{height:94px}
 #selection #enter,#selection #skip-intro,#selection #start-intro{min-height:52px;font-size:14px}
 #selection #menu-how-to{min-height:46px;font-size:13px}
 #selection #menu-how-to span{font-size:10px}
 #selection[data-paused=true] .menu-content{grid-template-columns:minmax(0,1fr);max-width:820px}
 #selection[data-paused=true] .intro{display:none}
 #how-to-modal .how-to-card{width:min(1060px,94%)}
 #how-to-modal h2{font-size:34px}.how-to-header{padding:20px 26px}.how-to-body{padding:0 26px 22px}
 .how-to-grid{gap:14px}.how-to-grid article{padding:18px}.how-to-grid h3{font-size:15px}#how-to-modal .how-to-grid p{font-size:15px}
}
/* Wide settings use a narrow preference column beside the music list. */
@media(min-width:760px) and (min-height:551px){
 #selection .menu-preferences{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:14px}
 #selection #menu-settings{grid-column:1;grid-row:1;grid-template-columns:minmax(0,1fr);align-content:start}
 #selection #pause-rain,#selection #music-toggle{padding:12px 44px 12px 12px}
 #selection #volume-control{grid-column:1}
 #selection #menu-jukebox{grid-column:2;grid-row:1}
 #selection .menu-extras{grid-column:1/-1}
 #selection[data-paused=true] .menu-preferences{grid-template-columns:minmax(0,1fr)}
 #selection[data-paused=true] #menu-settings{grid-template-columns:repeat(2,minmax(0,1fr))}
 #selection[data-paused=true] #volume-control{grid-column:1/-1}
}
/* Phone: readable targets and a scrollable song list, not five giant tiles. */
@media(max-width:599px){
 #selection[data-menu-panel] .choose,#selection[data-paused=true] .choose{padding:10px;gap:9px}
 #selection .menu-body{gap:10px}
 #selection #compact-menu-nav{padding-bottom:6px}
 #selection #compact-menu-nav button{font-size:14px;min-height:44px;padding:10px 12px}
 #selection #mode-picker button{min-height:54px;font-size:14px;padding:8px 10px 8px 30px}
 #selection #mode-picker button::before{left:10px;top:12px}
 #selection #mode-picker button small{font-size:10px}
 #selection .lead-label{margin-top:9px!important}
 #selection .card{height:92px;padding:5px}#selection .card img{height:55px}#selection .card b{font-size:10px}
 #selection .menu-play-actions{padding-top:9px;gap:6px}
 #selection #enter,#selection #skip-intro,#selection #start-intro,#selection #menu-how-to,#selection #restart-game{min-height:44px;padding:10px 12px;font-size:11px}
 #selection #skip-intro{padding-right:30px}
 #selection #menu-how-to span{font-size:8px}
 #selection .menu-preferences{gap:8px}
 #selection .menu-extras{gap:5px}
 #selection .menu-links button,#selection #menu-films{font-size:9px;padding:8px 5px;letter-spacing:.01em}
 .jukebox-heading{min-height:32px;padding:7px 10px}#jukebox-title{font-size:10px}
 .jukebox-heading>span{font-size:7px}
 #selection .jukebox-tracks button{padding-inline:10px;gap:6px}
 .jukebox-tracks button strong{font-size:11px}
 .jukebox-player{gap:6px;padding:4px 6px;min-height:52px}
 #jukebox-now-title{font-size:10px}#jukebox-status{font-size:8px}
}
@media(orientation:portrait) and (max-height:650px){
 #selection .timer-note,#selection #mode-picker button small{display:none}
 #selection #mode-picker button{min-height:44px;padding-block:10px}
 #selection .card{height:76px}#selection .card img{height:40px}
 #selection #menu-how-to span{display:none}
}
@media(orientation:portrait) and (max-height:580px){
 body:has(#selection:not([hidden])) header{display:none}
 #selection{--menu-top:max(8px,env(safe-area-inset-top));--menu-bottom:max(8px,env(safe-area-inset-bottom))}
}
/* Landscape phone/short host iframe: navigation stays at the top. */
@media(orientation:landscape) and (max-height:550px){
 body:has(#selection:not([hidden])) header{display:none}
 #selection{--menu-top:max(6px,env(safe-area-inset-top));--menu-bottom:max(6px,env(safe-area-inset-bottom));--menu-edge:max(12px,calc(env(safe-area-inset-left) + 8px));--menu-edge-right:max(12px,calc(env(safe-area-inset-right) + 8px))}
 #selection .menu-content,#selection[data-paused=true] .menu-content{grid-template-columns:minmax(0,1fr);gap:0}
 #selection .intro{display:none}
 #selection[data-menu-panel] .choose,#selection[data-paused=true] .choose{max-width:1120px;padding:6px;gap:6px}
 #selection #compact-menu-nav{padding-bottom:0;border-bottom:0}
 #selection #compact-menu-nav button{min-height:44px;padding:10px 12px;font-size:14px}
 #selection .menu-body{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}
 #selection .menu-loadout{grid-column:1;grid-row:1}
 #selection .menu-play-actions{grid-column:2;grid-row:1;justify-content:flex-start;padding:0;border:0;gap:6px}
 #selection #mode-picker{gap:5px}#selection #mode-picker button{min-height:44px;padding:10px 10px 10px 30px;font-size:13px}
 #selection #mode-picker button::before{left:10px;top:14px}
 #selection #mode-picker button small,#selection .lead-label,#selection .timer-note{display:none}
 #selection #cards{margin-top:6px;gap:5px}#selection .card{height:60px;padding:4px;gap:2px}
 #selection .card img{height:32px}#selection .card b{font-size:10px}#selection .card small{display:none}
 #selection #enter,#selection #skip-intro,#selection #start-intro,#selection #menu-how-to,#selection #restart-game{min-height:44px;padding:10px;font-size:11px}
 #selection #skip-intro{padding-right:26px}
 #selection #menu-how-to span{display:none}
 #selection[data-paused=true] .menu-play-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;grid-row:1}
 #selection[data-intro=true] .menu-play-actions{grid-column:1/-1;grid-row:1}
 #selection .menu-preferences{grid-column:1/-1;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:6px 12px;align-items:start}
 #selection #menu-settings{grid-column:1;grid-row:1;gap:5px}
 #selection #pause-rain,#selection #music-toggle{font-size:10px;padding-left:8px}
 #selection #volume-control{padding:3px 8px;grid-template-rows:12px 44px}
 #selection #menu-jukebox{grid-column:2;grid-row:1/span 2}
 #selection .jukebox-tracks{max-height:clamp(88px,calc(100dvh - 152px),220px)}
 .jukebox-heading{min-height:28px;padding:6px 9px}#jukebox-title{font-size:9px}.jukebox-heading>span{font-size:7px}
 #selection .jukebox-tracks button{padding:6px 9px;gap:5px;grid-template-columns:18px minmax(0,1fr) 30px 10px}
 .jukebox-tracks button strong{font-size:11px}.jukebox-tracks .track-number,.jukebox-tracks .track-duration{font-size:9px}
 .jukebox-player{min-height:48px;padding:2px 6px;gap:5px}
 #jukebox-now-title{font-size:10px}#jukebox-status{font-size:8px}
 #selection .menu-extras{grid-column:1;grid-row:2;gap:5px}
 #selection .menu-links button,#selection #menu-films{font-size:9px;padding:6px 4px;letter-spacing:0;min-height:44px}
 #selection[data-paused=true] .menu-preferences{grid-template-columns:minmax(0,1fr)}
 #selection[data-paused=true] #menu-settings{grid-template-columns:1fr 1fr 2fr;align-items:center}
 #selection[data-paused=true] #volume-control{grid-column:3;grid-row:1}
}
/* State rules are last, after every device composition. */
#selection:not([data-menu-panel=play]) .menu-loadout,#selection:not([data-menu-panel=play]) .menu-play-actions,#selection:not([data-menu-panel=play]) #loading-progress,#selection[data-intro=true] .menu-loadout{display:none}
#selection:not([data-menu-panel=settings]) .menu-preferences{display:none}
#selection[data-paused=true] .intro,#selection[data-paused=true] .timer-note,#selection[data-paused=true] #menu-jukebox,#selection[data-paused=true] .menu-extras{display:none}
@media(hover:hover) and (pointer:fine){
 #selection button:not(:disabled):hover{filter:brightness(1.09);transform:none}
 #selection #skip-intro:not(:disabled):hover,#selection #enter:not(:disabled):hover{background:#dbc07c;border-color:#f2dca1;box-shadow:inset 0 -3px #9e8348}
 #selection #compact-menu-nav button:not([aria-pressed=true]):hover{background:#1a333c;color:#e1e8de}
 #selection .jukebox-tracks button:not(:disabled):hover{background:#1a3038;box-shadow:none}
 #selection .jukebox-tracks button[aria-pressed=true]:hover{background:#294642;box-shadow:inset 3px 0 #c8ac66}
 #selection #menu-films:hover{background:#38392e;color:#f0dca6}
}
#selection :is(button,a,input,.jukebox-tracks):focus-visible{outline:2px solid #e1c681;outline-offset:-2px}
@media(prefers-reduced-motion:reduce){#selection button,#selection a{transition:none}}
