:root{--menu-ink:#162b45;--menu-paper:#fff9ed;--menu-accent:#d5fa58}*{box-sizing:border-box}.element-home{margin:0;background:#243f64;color:var(--menu-paper);font-family:system-ui,-apple-system,sans-serif}.game-home{position:relative;isolation:isolate;min-height:100dvh;max-width:1920px;margin:auto;padding:28px 40px;display:grid;grid-template-columns:1fr 390px;grid-template-rows:auto 1fr auto;gap:24px;overflow:hidden}.game-home:before{content:'';position:absolute;inset:-12px;z-index:-2;background:linear-gradient(90deg,#172d55ac,#193c5e55),url('/tracks/hotel.png') center/cover;filter:blur(5px)}.game-home:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#142947ef,transparent 65%)}.home-bar{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:20px}.game-logo{display:flex;align-items:center;gap:12px;color:var(--menu-paper);font-size:23px;line-height:.94;font-weight:900;letter-spacing:-.05em;text-decoration:none}.game-logo b{font-size:33px;color:var(--menu-accent)}.logo-element{width:53px;height:58px;border:2px solid #fff9ed;border-radius:8px;padding:4px 6px;font-size:10px;letter-spacing:0;line-height:1.1;transform:rotate(-5deg)}.logo-element big{display:block;font-size:30px}.home-bar nav{display:flex;gap:8px}.home-bar nav a{display:grid;place-items:center;color:var(--menu-paper);text-decoration:none;font-size:12px;font-weight:650;border:1px solid #ddeafa50;border-radius:10px;background:#193654ba;min-height:44px;padding:10px 14px}.character-scene{grid-column:1;grid-row:2;position:relative;min-height:410px;display:flex;flex-direction:column;align-items:center;justify-content:center}.scene-note{align-self:flex-start;font-size:10px;letter-spacing:.16em;color:#e0ecfa;font-weight:750;margin-bottom:10px}.character-scene>img{position:relative;width:min(440px,86%);height:auto;max-height:48dvh;object-fit:contain;filter:drop-shadow(0 20px 13px #122e5266)}.stage-ring{position:absolute;left:50%;top:70%;width:min(330px,80%);height:48px;border:2px solid #efffd44d;transform:translateX(-50%);border-radius:50%;background:#132c4940}.character-plaque{position:relative;text-align:center;margin-top:0}.character-plaque>span{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.12em;color:var(--menu-accent)}.character-plaque strong{display:block;font-size:29px;letter-spacing:-.03em;margin:4px 0}.character-plaque small{font-size:12px;color:#e1edf7}.play-panel{align-self:center;grid-column:2;grid-row:2;background:var(--menu-paper);color:var(--menu-ink);border-radius:20px;padding:27px;box-shadow:0 10px 0 #0e24396b,0 26px 40px #061a3530}.play-heading{display:flex;justify-content:space-between;gap:8px;align-items:center}.play-heading span{font-size:10px;font-weight:800;letter-spacing:.13em}.play-heading small{font-size:9px;font-weight:750;background:#e2e9ed;border-radius:5px;padding:5px}.play-panel h1{font-size:35px;line-height:1.05;letter-spacing:-.055em;margin:20px 0}.ways{display:grid;gap:9px;margin:0 0 20px}.ways a{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:55px;padding:13px 15px;border:1px solid #b4bfca;border-radius:10px;text-decoration:none;color:var(--menu-ink);background:transparent}.ways strong{font-size:15px}.ways small{font-size:11px;text-align:right;color:#455770}.ways a:hover,.ways a:focus-visible{background:#e5eeef;border-color:#405c78}.ways a[aria-current=true]{background:#e1e9ff;border:2px solid #5068b7;padding:12px 14px}.play-button{display:flex;align-items:center;justify-content:space-between;min-height:64px;padding:15px 22px;background:var(--menu-accent);border:1px solid #a1c332;border-radius:12px;box-shadow:0 4px #91ab39;text-decoration:none;color:#1c352e;font-size:23px;font-weight:900;letter-spacing:-.02em}.play-button:hover{background:#e1ff81}.play-note{text-align:center;font-size:11px;color:#4f6071;line-height:1.6;margin:18px 0 0}.track-postcard{grid-column:1;grid-row:3;display:flex;align-items:center;gap:15px;align-self:end}.track-postcard img{width:122px;height:74px;object-fit:cover;border-radius:10px;border:2px solid #d1e8f366}.track-postcard small{font-size:9px;font-weight:800;letter-spacing:.1em;color:#c5dcee}.track-postcard strong{display:block;font-size:16px;margin:4px 0}.track-postcard span{font-size:11px;color:#d7e5f1}.home-footer{grid-column:2;grid-row:3;display:flex;flex-direction:column;justify-content:end;align-items:end;gap:7px;font-size:10px;color:#d0e0ef}.home-footer span:first-child{letter-spacing:.12em;font-weight:750}.element-home :is(a,button):focus-visible{outline:3px solid #f2ae71;outline-offset:4px}.play-panel #story-open{display:block;width:100%;margin:4px 0 16px;min-height:36px;padding:8px;border:0;border-radius:0;font-size:11px;color:#465d73;background:none;text-decoration:underline;text-underline-offset:3px}
@media(max-width:820px){.game-home{padding:20px;grid-template-columns:1fr 340px;gap:16px}.play-panel{padding:22px}.scene-note{font-size:8px}.home-bar nav a{font-size:11px;padding:8px}.game-logo{font-size:18px}.game-logo b{font-size:26px}.track-postcard img{width:82px;height:60px}.track-postcard strong{font-size:13px}}
@media(max-width:600px) and (orientation:portrait){.game-home{padding:18px;grid-template-columns:1fr;gap:18px}.home-bar{grid-row:1}.character-scene{grid-column:1;grid-row:2;min-height:240px}.scene-note{align-self:center;font-size:9px}.character-scene>img{height:205px;width:260px}.character-plaque strong{font-size:23px}.character-plaque small{display:none}.stage-ring{top:65%;width:230px}.play-panel{grid-column:1;grid-row:3;padding:24px}.play-panel h1{font-size:30px;margin:15px 0}.track-postcard{grid-column:1;grid-row:4}.home-footer{grid-column:1;grid-row:5;align-items:start}.logo-element{width:45px;height:50px}.logo-element big{font-size:26px}.home-bar nav a{min-height:44px;font-size:10px}.play-note br{display:none}}
@media(max-height:560px) and (orientation:landscape){.game-home{padding:14px 24px;grid-template-columns:1fr 330px;gap:8px}.home-bar{height:48px}.character-scene{min-height:240px}.character-scene>img{max-height:48dvh}.scene-note,.track-postcard,.home-footer{display:none}.play-panel{padding:18px;align-self:start}.play-panel h1{font-size:26px;margin:10px 0}.ways{gap:6px;margin-bottom:12px}.ways a{min-height:44px;padding:9px 12px}.ways a[aria-current=true]{padding:8px 11px}.play-button{min-height:48px;font-size:20px}.play-note{margin:12px 0 0}.play-panel #story-open{margin-bottom:8px}.game-logo{font-size:17px}.game-logo b{font-size:24px}.logo-element{width:40px;height:44px}.logo-element big{font-size:22px}}
/* Shared menu typography: labels fit the control; touch targets stay generous. */
#network-probe :is(button,input,select){font-family:system-ui,-apple-system,sans-serif!important}#network-probe button{font-size:14px!important;line-height:1.25!important;letter-spacing:0!important;overflow-wrap:break-word}#network-probe h1{font-size:clamp(26px,4vw,34px)!important;line-height:1.08}#network-probe .net-entry{border-radius:18px!important}#network-probe .net-entry>button:not(.secondary){background:#d5fa58;color:#18352d;box-shadow:0 3px #7e9829}#network-probe :is(.net-invite,.net-entry){box-shadow:0 12px 35px #08162740!important}#network-probe :is(.race-options button,.net-invite button){font-size:13px!important}#network-probe #character-open strong{font-size:15px!important}#network-probe #character-open em{font-size:11px!important}#network-probe #character-open small{font-size:9px!important}#character-dialog h2{font-size:clamp(21px,3vw,28px)!important}#character-dialog :is(#character-done,#net-accessories button){font-size:13px!important;line-height:1.3!important}#character-dialog .character-footer{gap:12px}#character-dialog .character-footer span{font-size:11px!important}.graphics-settings summary{font-size:13px!important}.graphics-settings label{font-size:12px!important}.graphics-settings select{font-size:13px!important}#network-probe #lounge-toolbar button{font-size:12px!important}#network-probe .net-room-actions button{min-height:48px!important}#game-issue-dialog button{font-size:13px!important}
@media(max-height:560px) and (orientation:landscape){.play-panel .ways{grid-template-columns:repeat(3,1fr)}.play-panel .ways a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:9px 4px;min-height:58px}.play-panel .ways a[aria-current=true]{padding:8px 3px}.play-panel .ways strong{font-size:12px}.play-panel .ways small{font-size:9px;line-height:1.2;text-align:center}.play-note{font-size:10px}.play-panel #story-open{min-height:28px;padding:4px}}
