/* The original full-body photograph stands beside the questions, with both boots visible. */
.garage-guide[hidden],.garage-guide-reopen[hidden]{display:none!important}
.garage-guide{
 position:fixed;z-index:12;left:var(--welcome-left,24px);right:auto;top:var(--welcome-top,calc(var(--header,100px) + 16px));bottom:auto;
 width:var(--welcome-width,min(760px,calc(100vw - 48px)));display:grid;
 grid-template-columns:minmax(0,36fr) minmax(0,64fr);gap:14px;align-items:end;
 max-height:var(--welcome-available-height,calc(100svh - 180px));pointer-events:none;
}
.garage-guide-portrait{
 position:relative;width:100%;height:var(--welcome-figure-height,330px);
 overflow:hidden;min-width:0;pointer-events:none;filter:drop-shadow(0 8px 10px #0005);
}
.garage-guide-portrait img{
 position:absolute;left:var(--welcome-image-left,0px);top:var(--welcome-image-top,0px);
 width:var(--welcome-image-width,430px);height:auto;max-width:none;margin:0;
 object-fit:contain;object-position:left top;display:block;animation:none;transform:none;
}
.garage-guide-bubble{
 position:relative;pointer-events:auto;min-width:0;
 background:linear-gradient(145deg,#0b2336fa,#001020fc);border:1px solid #b1d6ed82;
 border-radius:20px;padding:22px 22px 20px;box-shadow:0 18px 60px #0006;
 color:#f4f9fc;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;line-height:1.65;
 max-height:calc(100svh - 285px);
}
.garage-guide-kicker{font-size:9px;letter-spacing:.13em;color:#b7d5e8;margin:0 32px 12px 0;font-weight:600}
.garage-guide-bubble h2{font-size:clamp(19px,1.7vw,24px);letter-spacing:-.035em;line-height:1.25;font-weight:700;margin:0 0 12px}
.garage-guide-bubble>p:not(.garage-guide-kicker){font-size:13px;color:#c2d7e5;margin:0 0 14px;line-height:1.7}
.garage-guide-close{position:absolute;right:7px;top:7px;width:44px;height:44px;display:grid;place-items:center;color:#d6e9f6;font-size:28px;border:0;background:transparent;border-radius:50%;cursor:pointer;pointer-events:auto;z-index:2}
.garage-guide-close:hover{background:#bddfff15}
.garage-guide-actions{display:grid;gap:9px}
.garage-guide-actions a{display:flex;align-items:center;gap:13px;min-height:49px;padding:10px 13px;border:1px solid #adcde352;border-radius:9px;background:#d1e8f405;color:#eef7ff;font-size:12px;line-height:1.6;transition:background .2s,border-color .2s;touch-action:manipulation}
.garage-guide-actions svg{width:25px;height:25px;flex:0 0 25px;stroke:#c3e4f7;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.garage-guide-actions i{margin-left:auto;font-size:18px;font-style:normal}
.garage-guide-actions a:hover{background:#aacde61c;border-color:#cae9fa}
.garage-guide :is(a,button):focus-visible,.garage-guide-reopen:focus-visible{outline:2px solid #fff;outline-offset:4px}
.garage-guide-reopen{position:fixed;z-index:45;right:var(--gutter,24px);bottom:calc(235px + env(safe-area-inset-bottom,0px));min-height:44px;display:flex;align-items:center;gap:15px;background:#001020ed;border:1px solid #b9d2e75c;border-radius:24px;padding:10px 17px;color:#ebf5fd;font:500 11px Montserrat,Arial,sans-serif;box-shadow:0 5px 20px #0003;cursor:pointer}
.garage-guide-reopen span{font-size:20px}
.garage-guide-image-error .garage-guide-portrait{visibility:hidden}
@media(max-width:900px){
 .garage-guide-bubble{padding:20px 20px 18px}
 .garage-guide-bubble h2{font-size:23px}
 .garage-guide-reopen{bottom:calc(160px + env(safe-area-inset-bottom,0px))}
}
@media(max-width:600px){
 .garage-guide{grid-template-columns:minmax(0,30fr) minmax(0,70fr);gap:8px}
 .garage-guide-portrait{filter:drop-shadow(0 5px 6px #0005)}
 .garage-guide-bubble{padding:20px 16px 16px;border-radius:16px}
 .garage-guide-kicker{font-size:8px;letter-spacing:.07em;margin:0 24px 10px 0}
 .garage-guide-bubble h2{font-size:18px;line-height:1.3;margin-bottom:10px}
 .garage-guide-bubble>p:not(.garage-guide-kicker){font-size:12px;margin-bottom:12px}
 .garage-guide-actions{gap:7px}
 .garage-guide-actions a{font-size:12px;min-height:44px;padding:8px 10px;gap:9px}
 .garage-guide-actions svg{width:21px;height:21px;flex-basis:21px}
 .garage-guide-close{right:2px;top:2px;width:36px;height:36px;font-size:24px;background:#001020cc;pointer-events:auto}
 .garage-guide-reopen{bottom:calc(140px + env(safe-area-inset-bottom,0px));right:20px}
}
@media(max-width:600px) and (orientation:landscape){
 .garage-guide{grid-template-columns:minmax(0,36fr) minmax(0,64fr);gap:12px}
 .garage-guide-bubble{padding:25px 14px 16px}
 .garage-guide-close{position:absolute;right:2px;top:2px;bottom:auto;background:transparent}
}
@media(prefers-reduced-motion:reduce){.garage-guide-actions a{transition:none}}
/* The greeting owns the free scene area; global navigation stays unobstructed. */
body[data-garage-active=true] .panel-raum>.world-copy{visibility:hidden;pointer-events:none}
body[data-welcome-open=true] :is(.spatial-label,.world-scene-note,.spatial-help){visibility:hidden}
.garage-guide[data-welcome-fit=false]{visibility:hidden}
body:has(.world-navigation.is-open) :is(.garage-guide,.garage-guide-reopen){visibility:hidden}

.garage-guide-title-compact{display:none}
@media(max-width:600px) and (orientation:portrait){
 body[data-welcome-open=true] .panel-raum :is(.scene-tools,.world-caption){visibility:hidden;pointer-events:none}
 .garage-guide-title-full,.garage-guide-kicker{display:none}
 .garage-guide-title-compact{display:inline}
 .garage-guide-bubble{padding:12px 10px}
 .garage-guide-bubble h2{margin-bottom:8px}
 .garage-guide-bubble>p:not(.garage-guide-kicker){margin-bottom:10px}
 .garage-guide-actions{gap:6px}
 .garage-guide-actions a{gap:7px;padding:8px;min-height:44px}
 .garage-guide-actions svg{width:18px;height:18px;flex-basis:18px}
 .garage-guide-actions i{display:none}
}

/* Keep both choices visible on intermediate widths beside the full-body figure. */
@media(min-width:601px) and (max-width:1000px){
 .garage-guide-title-full,.garage-guide-kicker{display:none}
 .garage-guide-title-compact{display:inline}
 .garage-guide-bubble{padding:16px 18px}
 .garage-guide-bubble h2{margin-bottom:8px}
 .garage-guide-bubble>p:not(.garage-guide-kicker){margin-bottom:10px}
}
/* Keep the two choices stacked in short landscape viewports. */
@media(max-width:1100px) and (max-height:500px) and (orientation:landscape){
 .garage-guide{grid-template-columns:minmax(0,28fr) minmax(0,72fr)}
 .garage-guide-title-full,.garage-guide-kicker{display:none}
 .garage-guide-title-compact{display:inline}
 .garage-guide-title-compact br{display:none}
 .garage-guide-bubble{padding:6px 12px}
 .garage-guide-bubble h2{font-size:18px;line-height:1.2;margin:0 32px 4px 0}
 .garage-guide-bubble>p:not(.garage-guide-kicker){font-size:12px;line-height:1.5;margin-bottom:4px}
 .garage-guide-actions{grid-template-columns:minmax(0,1fr);gap:4px}
 .garage-guide-actions a{min-height:44px;justify-content:center;padding:6px;font-size:11px;line-height:1.5;text-align:center}
 .garage-guide-actions :is(svg,i){display:none}
 .garage-guide-close{right:2px;top:2px;width:36px;height:36px;font-size:24px}
}
/* On the shortest landscape screens, keep the welcome and both actions in view. */
@media(max-width:1100px) and (max-height:340px) and (orientation:landscape){
 .garage-guide-bubble>p:not(.garage-guide-kicker){display:none}
}

/* The mobile garage fills the scene behind the guide instead of retaining the hidden hero row. */
@media(max-width:900px){
 body[data-garage-active=true] .spatial-shell{
  position:fixed;inset:var(--header,86px) 0 calc(120px + env(safe-area-inset-bottom,0px));
  height:auto;min-height:0;max-height:none;
 }
 body[data-garage-active=true] .spatial-stage .spatial-fallback-image{object-fit:cover}
 body[data-welcome-open=true] .spatial-stage .viewer-navigation{visibility:hidden;pointer-events:none}
}
