.solo-summary,.solo-keys{display:none}
.solo-keys .physical-key kbd{background:transparent;border:0;box-shadow:none;border-radius:0;color:inherit;padding:0;min-width:0;width:auto;height:auto}
#app.solo-focused #mode-label,#app.solo-focused #language-select,#app.solo-focused #feedback-button,#app.solo-focused .mission,#app.solo-focused .run-extras,#app.solo-focused .timer-panel,#app.solo-focused .movement-help,#app.solo-focused .hud-range,#app.solo-focused .hud-bearing,#app.solo-focused .hud-flight{display:none!important}
#app.solo-focused #inspect-button{order:10}#app.solo-focused #pause-button{order:5}
#app.solo-focused .solo-summary{position:absolute;top:100px;left:26px;display:grid;gap:10px;min-width:220px;padding:16px 18px;border:3px solid #bdd18b;border-radius:15px;background:#12261ce8;box-shadow:0 4px 0 #06140bbb;color:#edf2d8}
.solo-summary>div{display:flex;align-items:baseline;justify-content:space-between;gap:20px;font-size:14px}.solo-summary b,.solo-summary strong{font-size:22px;line-height:1.15;font-variant-numeric:tabular-nums;color:#e0f487}.solo-summary small{font-size:12px}
#app.solo-focused .map-legend,#app.solo-focused .map-distance,#app.solo-focused .map-follow{display:none!important}.map-header .map-credit{font-size:14px;opacity:.65;padding:5px;display:inline-block}
#app.keyboard-focused:not(.handheld) .abilities{display:none!important}
#app.keyboard-focused:not(.handheld) .solo-keys{position:absolute;bottom:26px;left:50%;transform:translateX(-50%);display:flex;align-items:flex-end;gap:24px;pointer-events:none}
.physical-key{display:flex;align-items:center;justify-content:center;gap:9px;width:42px;height:42px;border:2px solid #bdd5af;border-bottom-width:5px;border-radius:7px;background:#14271fd9;color:#e1edce;box-shadow:0 3px 8px #06140b66;transition:background .07s,color .07s,transform .07s}.physical-key kbd{font:600 16px system-ui}.physical-key svg{width:20px;height:20px}.physical-key.pressed{background:#dcf17e;color:#16301c;border-color:#f2ffb8;transform:translateY(3px);box-shadow:0 0 18px #d9ef7860}.wasd{display:grid;grid-template-columns:repeat(3,42px);gap:5px}.wasd [data-key=KeyW]{grid-column:2}.wasd [data-key=KeyA]{grid-column:1}.action-keys{display:flex;gap:8px}.action-keys .physical-key{width:62px}.physical-key[data-key=Space]{width:220px}
@media(max-height:550px){#app.solo-focused .solo-summary{top:72px;left:12px;min-width:170px;padding:9px 11px;gap:6px}.solo-summary>div{font-size:11px}.solo-summary b,.solo-summary strong{font-size:17px}#app.keyboard-focused:not(.handheld) .solo-keys{bottom:12px;transform:translateX(-50%) scale(.85);transform-origin:center bottom}}
@media(max-width:600px){#app.solo-focused .solo-summary{top:122px;left:12px;min-width:172px;padding:9px 12px;gap:5px}.solo-summary>div{font-size:12px}.solo-summary b,.solo-summary strong{font-size:18px}}
/* Empty scenario configuration must not reserve a row before a choice. */
/* Phone selection is a name step followed by an illustrated carousel. */
#phone-choose .phone-panel{width:min(620px,94%)}#phone-choose h2{margin:8px 0 18px}#phone-choose input{width:100%;font-size:18px;padding:13px}#phone-choose .name-next{width:100%;margin-top:20px}
.phone-carousel{display:grid;grid-template-columns:52px minmax(0,1fr) 52px;gap:12px;align-items:center}.phone-carousel button{width:48px;height:48px;border:2px solid #b8d47a;border-radius:50%;background:#253c2a;color:#e3f495;font-size:28px;touch-action:manipulation}.phone-carousel figure{margin:0;text-align:center}.phone-carousel img{width:100%;height:clamp(100px,30dvh,240px);object-fit:contain;pointer-events:none}.phone-carousel figcaption{font-size:18px;font-weight:700;color:#e3f495}.phone-choice-footer{display:flex;justify-content:space-between;gap:12px;margin-top:16px;align-items:center}.phone-choice-footer .resume{flex:1}.phone-choice-footer [data-name-back]{background:transparent;border:0;color:#c5d6ae;padding:12px}.phone-choice-dots{text-align:center;font-size:12px;letter-spacing:3px;color:#cde585;margin:8px 0}
@media(orientation:landscape) and (max-height:500px){#phone-choose .phone-panel{padding:14px 22px}#phone-choose h2{font-size:20px;margin:4px 0 8px}.phone-carousel img{height:110px}.phone-carousel{grid-template-columns:44px 1fr 44px;max-width:360px;margin:auto}.phone-choice-footer{margin-top:5px}.phone-choice-dots{margin:3px 0}.phone-carousel figcaption{font-size:15px}}

/* V8: keep setup choices and revealed settings in normal, centered flow. */
#race-screen .race-choice-area{flex:1 0 auto;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;min-height:0}
#race-screen[data-screen=setup] .race-choice-area .race-scenarios{flex:0 0 auto;margin:0 auto;min-height:0;align-items:stretch}
#race-screen .race-choice-area .race-config{flex:none;margin:0 auto}
#race-screen .race-choice-area .race-scenarios>button{width:calc(50% - 9px)!important}
#app.keyboard-focused:not(.handheld) .solo-keys{inset:auto 26px 26px;left:26px;right:26px;height:92px;transform:none;display:block}
.solo-keys .wasd{position:absolute;left:0;bottom:0}
.solo-keys .action-keys{position:absolute;left:164px;bottom:0;display:grid;grid-template-columns:48px 48px;gap:5px}
.solo-keys .action-keys .physical-key{width:48px}.solo-keys [data-key=KeyF]{grid-column:1;grid-row:1}.solo-keys [data-key=KeyV]{grid-column:2;grid-row:2}
.solo-keys>.physical-key[data-key=Space]{position:absolute;bottom:0;left:50%;transform:translateX(-50%)}
.solo-keys>.physical-key[data-key=Space].pressed{transform:translate(-50%,3px)}
.solo-keys .turn-keys{position:absolute;right:0;bottom:0;display:flex;gap:7px}
#app.solo-focused #map-card{left:auto;right:26px;bottom:138px}
#app.race-driving #race-route{left:auto;right:20px;top:190px}
@media(max-height:550px){#race-screen .race-choice-area{gap:8px}#app.keyboard-focused:not(.handheld) .solo-keys{left:12px;right:12px;bottom:12px;height:76px}.solo-keys .physical-key{height:34px;width:34px}.solo-keys .wasd{grid-template-columns:repeat(3,34px)}.solo-keys .action-keys{left:128px;grid-template-columns:40px 40px}.solo-keys .action-keys .physical-key{width:40px}.solo-keys>.physical-key[data-key=Space]{width:150px}#app.solo-focused #map-card{right:12px;bottom:106px;max-height:calc(100% - 180px)}}
@media(max-width:700px){#app.keyboard-focused:not(.handheld) .solo-keys>.physical-key[data-key=Space]{width:110px;left:62%}}

#app.solo-focused .brand,#app.race-driving .brand,#scare-button{display:none!important}
#app.solo-focused .header-actions{margin-left:auto}
#app.solo-focused .solo-summary{border:1px solid var(--line);border-radius:6px;box-shadow:none;background:#14271bed}
#app.race-driving .solo-keys{z-index:19}
#race-screen[data-screen=setup] .race-instruction:has(.race-item-guide){grid-template-rows:minmax(0,1fr) auto}
#race-screen .race-instruction:has(.race-item-guide)>.race-item-guide{grid-row:1}
#race-screen .race-instruction:has(.race-item-guide)>p{grid-row:2;font-size:12px;opacity:.65;margin:12px auto 0;line-height:1.5}

.solo-map-distance{display:none}#app.solo-focused .solo-map-distance{display:inline;color:var(--acid);font-size:16px}#app.solo-focused #map-title{display:none}#app.solo-focused #map-card{top:100px;bottom:auto}#app.solo-focused #map-card canvas{height:120px}
@media(max-height:550px){#app.solo-focused #map-card{top:72px;bottom:auto}#app.solo-focused #map-card canvas{height:85px}}

.inspect-location>#inspect-reset{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:16px;padding:10px;border:1px solid var(--line);border-radius:6px;background:#263d29;color:var(--ink)}
#app:not(.handheld)[data-phase=inspect] #map-card{top:auto;bottom:var(--inspect-dock-bottom,48px)}
.inspect-location>#inspect-reset{pointer-events:auto}

/* V15: compact location reset, preserving the original action. */
.inspect-location .location-heading>span:last-child{display:none}
.inspect-location>#inspect-reset{position:absolute;top:7px;right:8px;width:40px;height:40px;margin:0;padding:10px;background:transparent;border:0;border-radius:50%}
.inspect-location>#inspect-reset:hover{background:#d9ef7820}
.inspect-location .location-heading{padding-right:34px}
