/* Keine laufenden Effekte: Licht entsteht durch Material und ruhende Flächen. */
.detail-window:has(.mb-viewer){width:min(1120px,100%);padding:28px;background:#050505;border-color:#4e292e}
.detail-window:has(.mb-viewer) .detail-heading{margin-bottom:22px}
.detail-window:has(.mb-viewer) .detail-heading h2{font-size:clamp(22px,3vw,31px);letter-spacing:-.035em}
.detail-window:has(.mb-viewer) .detail-close{width:44px;height:44px}
.mb-viewer{--mb-accent:#e96676;--mb-line:#42252a;--mb-subtle:#b3a5a8;min-width:0;font-family:'Rajdhani',"Segoe UI",system-ui,sans-serif;color:#eee8e9}
.mb-viewer *{box-sizing:border-box}
.mb-intro{border-top:1px solid var(--mb-line);padding:20px 0 22px;display:flex;align-items:baseline;justify-content:space-between;gap:14px;flex-wrap:wrap}
.mb-intro>span{font-size:13px;font-weight:700;letter-spacing:.1em}.mb-intro p{margin:0;font-size:10px;line-height:1.6;letter-spacing:.08em;color:var(--mb-subtle)}.mb-intro i{margin:0 9px;color:var(--mb-accent);font-style:normal}
.mb-layout{display:grid;grid-template-columns:minmax(0,1.38fr) minmax(240px,.82fr);gap:26px;align-items:start}.mb-layout>*{min-width:0}
.mb-stage{position:relative;height:475px;overflow:hidden;border:1px solid var(--mb-line);border-radius:14px;background:radial-gradient(ellipse at 52% 72%,#21171980,transparent 60%),#090808;isolation:isolate}
.mb-stage-top{position:absolute;top:16px;left:16px;right:16px;display:flex;justify-content:space-between;gap:10px;z-index:3;pointer-events:none;font-size:8px;letter-spacing:.12em;color:var(--mb-subtle)}
.mb-mode{color:var(--mb-accent)}
.mb-poster{width:100%;height:100%;display:block;object-fit:contain;object-position:center;padding:24px 0 42px}
.mb-model-mount{position:absolute;inset:0;z-index:1}.mb-model-mount model-viewer{width:100%;height:100%;display:block;--progress-bar-height:0;--poster-color:transparent;outline-offset:-3px}
.mb-model-mount:empty{pointer-events:none}
.mb-start-layer{position:absolute;z-index:4;inset:auto 16px 18px;display:flex;justify-content:center;pointer-events:none}
.mb-viewer button{min-height:44px;cursor:pointer;font-family:inherit;line-height:1.35}.mb-viewer button:disabled{cursor:default;opacity:.42}
.mb-start{pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:162px;padding:12px 24px;border-radius:8px;border:1px solid #c06672;background:#200e13;color:#fff0f3;box-shadow:0 8px 24px #0009;font-size:13px;font-weight:650}
.mb-start span{color:var(--mb-accent);font-size:21px;line-height:1}.mb-start:hover:not(:disabled){background:#36151d;border-color:#e8a3ac}
.mb-stage-corner{position:absolute;right:17px;bottom:16px;z-index:2;pointer-events:none;font-size:19px;line-height:.85;letter-spacing:-.04em;color:#c1b1b650;font-weight:600;text-align:right}.mb-stage-corner small{font-size:7px;letter-spacing:.1em}
.mb-toolbar{padding:14px 0 0;display:flex;align-items:flex-start;justify-content:space-between;gap:10px;flex-wrap:wrap}
.mb-status{margin:0;flex:1 1 170px;min-width:0;color:var(--mb-subtle);font-size:11px;line-height:1.65;max-width:38ch}
.mb-tools{display:flex;flex-wrap:wrap;gap:6px}.mb-tools button{min-width:44px;border:1px solid var(--mb-line);border-radius:7px;color:#eadfe2;background:#0c090a;font-size:20px}.mb-tools .mb-stop{font-size:10px;padding:0 12px;letter-spacing:.02em}
.mb-tools button:hover:not(:disabled){border-color:var(--mb-accent);background:#221418}
.mb-instructions{font-size:10px;line-height:1.6;color:#95888c;margin:12px 0 0;text-wrap:pretty}
.mb-information{padding:8px 0 0}.mb-part-number{display:block;color:var(--mb-accent);font-size:10px;font-weight:600;letter-spacing:.16em}
.mb-part-title{font-size:clamp(23px,2.6vw,31px);font-weight:550;letter-spacing:-.04em;line-height:1.14;margin:14px 0;text-wrap:balance;overflow-wrap:anywhere}
.mb-part-copy{font-size:13px;line-height:1.75;color:#c0b4b8;margin:0;text-wrap:pretty;overflow-wrap:anywhere;min-height:91px}
.mb-facts{list-style:none;margin:19px 0 24px;padding:0;display:flex;gap:7px;flex-wrap:wrap}.mb-facts li{max-width:100%;padding:7px 10px;border:1px solid var(--mb-line);border-radius:5px;color:#d3c3c8;font-size:10px;line-height:1.5;overflow-wrap:anywhere}
.mb-sections{display:grid;grid-template-columns:1fr;gap:7px}
.mb-sections button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;min-width:0;padding:11px 14px;background:#0c090a;border:1px solid #332126;border-radius:7px;color:#d9cdd1;font-size:12px;font-weight:500}
.mb-sections button>span{font-size:9px;font-variant-numeric:tabular-nums;letter-spacing:.06em;color:#938087}.mb-sections button>i{font-size:14px;font-style:normal;color:var(--mb-accent);margin-left:auto}
.mb-sections button[aria-pressed="true"]{background:linear-gradient(100deg,#28151a,#110b0d);border-color:#96505e;color:#fff0f3}.mb-sections button:hover{border-color:var(--mb-accent)}
.mb-hotspot{width:44px;height:44px;display:grid;place-items:center;border:0;background:transparent;color:#ffe7ed;opacity:0;pointer-events:none;padding:0}.mb-hotspot[data-visible]{opacity:1;pointer-events:auto}
.mb-hotspot>span{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#231015ed;border:1px solid #d48b98;font:600 10px/1 'Rajdhani',"Segoe UI",system-ui,sans-serif;box-shadow:0 3px 12px #000b}.mb-hotspot[aria-pressed="true"]>span,.mb-hotspot:hover>span{background:#c35064;color:#fff;border-color:#ffb8c5}
.mb-footnote{margin-top:24px;border-top:1px solid var(--mb-line);padding-top:16px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:10px;line-height:1.7;color:#998a90}.mb-footnote>span{max-width:68ch}.mb-footnote>a{color:#d0b3be;text-decoration:none;min-height:44px;display:inline-flex;align-items:center}.mb-footnote>a:hover{text-decoration:underline}
.mb-viewer :is(button,a):focus-visible{outline:2px solid var(--mb-accent);outline-offset:3px}
.mb-viewer [hidden]{display:none!important}
.mb-viewer[data-component="ssd"] .mb-poster,.mb-viewer[data-component="ram"] .mb-poster{padding:36px 8px 52px}
.mb-viewer[data-component="cooling"] .mb-stage-corner{font-size:17px}
.mb-viewer .mb-intro p{overflow-wrap:anywhere;min-width:0}
.mb-sections button{overflow-wrap:anywhere}
@media(max-width:800px){.mb-layout{grid-template-columns:minmax(0,1fr);gap:24px}.mb-stage{height:420px}.mb-information{padding:0}.mb-sections{grid-template-columns:repeat(2,minmax(0,1fr))}.mb-part-copy{min-height:0}.mb-facts{margin-bottom:18px}.mb-stage-corner{bottom:20px}.mb-part-title{font-size:28px}}
@media(max-width:480px){.detail-window:has(.mb-viewer){padding:20px 14px}.detail-window:has(.mb-viewer) .detail-heading{margin-right:48px;margin-bottom:14px}.detail-window:has(.mb-viewer) .detail-heading h2{font-size:23px}.mb-intro{padding:15px 0;gap:6px}.mb-intro>span{font-size:11px}.mb-intro p{font-size:8px}.mb-stage{height:330px;border-radius:10px}.mb-stage-top{font-size:7px;left:12px;right:12px;top:13px;letter-spacing:.06em}.mb-stage-corner{font-size:16px;right:11px;bottom:16px}.mb-start-layer{bottom:15px}.mb-start{min-width:150px;padding:11px 16px;font-size:12px}.mb-toolbar{gap:12px}.mb-status{flex-basis:100%;max-width:none;font-size:11px}.mb-tools{width:100%}.mb-tools .mb-stop{margin-left:auto;font-size:11px}.mb-sections button{font-size:11px;padding:10px 9px;gap:7px}.mb-sections button>span{font-size:8px}.mb-sections button>i{font-size:12px}.mb-part-title{font-size:26px}.mb-part-copy{font-size:12px}.mb-facts li{font-size:9px}.mb-footnote{font-size:9px}.mb-poster{padding:25px 0 42px}}
@media(prefers-reduced-motion:reduce){.mb-viewer *{animation:none!important;transition:none!important}}

/* Feste Bedienleiste: Schliessen verdeckt beim Scrollen keine Beschreibung. */
.detail-window:has(.mb-viewer){overflow:hidden;padding-top:64px}
.detail-window:has(.mb-viewer)::before{content:"COMPONENT EXPLORER";position:absolute;top:28px;left:28px;font:600 10px/1.4 'Rajdhani',"Segoe UI",system-ui,sans-serif;letter-spacing:.16em;color:#b79aa2}
.detail-window:has(.mb-viewer) .detail-close{position:absolute;top:14px;right:20px;float:none;margin:0}
.detail-window:has(.mb-viewer) #detailContent{max-height:calc(88dvh - 94px);overflow:auto;overscroll-behavior:contain;padding-right:12px;scrollbar-width:thin}
.detail-window:has(.mb-viewer) .detail-heading .gallery-eyebrow{display:none}
.detail-window:has(.mb-viewer) .detail-heading h2{margin-top:0}
@media(min-width:801px){.mb-stage{height:clamp(300px,48dvh,475px)}}
@media(max-width:480px){
 .detail-window:has(.mb-viewer){padding-top:60px}
 .detail-window:has(.mb-viewer)::before{top:26px;left:16px;font-size:8px}
 .detail-window:has(.mb-viewer) .detail-close{top:12px;right:14px}
 .detail-window:has(.mb-viewer) #detailContent{max-height:calc(92dvh - 82px);padding-right:7px}
 .detail-window:has(.mb-viewer) .detail-heading{margin-right:0}
}
/* Quadratische Mobile-Bühne erhält das Framing auch bei 320 px Breite. */
@media(max-width:480px){.mb-stage{height:auto;aspect-ratio:1}}
/* Beim Erkunden tieferer Bereiche bleibt das Modell neben der Auswahl stehen. */
@media(min-width:801px){.mb-visual-column{position:sticky;top:0;align-self:start}}

/* v99: Eine ruhige gemeinsame Detailansicht. Die gezielte Spezifitaet gewinnt
   auch gegen die spaeter geladenen Silber- und Glasregeln anderer Dialoge. */
body.echo-kosmos #detailGallery:has(.mb-viewer){background:rgba(0,0,0,.84);backdrop-filter:none;-webkit-backdrop-filter:none}
body.echo-kosmos #detailGallery .detail-window:has(.mb-viewer){background:#08090a;border:1px solid #383c43;border-radius:18px;box-shadow:0 28px 90px #000c;backdrop-filter:none;-webkit-backdrop-filter:none;animation:none}
body.echo-kosmos #detailGallery .detail-window:has(.mb-viewer)::before{content:"SETUP / DETAILS";color:#9fa7b3;letter-spacing:.12em}
body.echo-kosmos #detailGallery .detail-window:has(.mb-viewer) .detail-heading{margin-bottom:8px}
body.echo-kosmos #detailGallery .detail-window:has(.mb-viewer) .detail-heading h2{font-size:clamp(24px,3vw,33px);font-weight:650;line-height:1.16}
body.echo-kosmos #detailGallery .detail-window:has(.mb-viewer) .detail-close{background:#111315;border:1px solid #4b5059;color:#f0f2f5;box-shadow:none}
body.echo-kosmos #detailGallery .detail-window:has(.mb-viewer) .detail-close:focus-visible{outline:2px solid #d2d7df;outline-offset:3px}
#detailGallery .mb-viewer{--mb-accent:#d2d7df;--mb-line:#34383e;--mb-subtle:#adb5c0;--mb-active:#202328;--mb-ink:#f1f3f6;--mb-panel:#0b0c0e;color:var(--mb-ink)}
#detailGallery .mb-intro{border:0;padding:0 0 22px;display:block}
#detailGallery .mb-intro p{font-size:12px;font-weight:500;letter-spacing:.08em;color:var(--mb-subtle)}
#detailGallery .mb-layout{grid-template-columns:minmax(0,1.4fr) minmax(250px,.85fr);gap:28px}
#detailGallery .mb-stage{background:#070809;background-image:none;border-color:var(--mb-line);border-radius:12px}
#detailGallery .mb-stage-top{top:16px;left:18px;right:18px;color:var(--mb-subtle);font-size:10px;letter-spacing:.06em;line-height:1.4}
#detailGallery .mb-mode{color:var(--mb-accent);font-weight:600}
#detailGallery .mb-start{background:#16181c;color:var(--mb-ink);border:1px solid var(--mb-accent);border-radius:6px;box-shadow:none;font-size:14px;font-weight:650;min-width:154px}
#detailGallery .mb-start:hover:not(:disabled){background:#2a2e34;border-color:var(--mb-ink)}
#detailGallery .mb-toolbar{padding-top:14px;gap:12px}
#detailGallery .mb-status{font-size:12px;line-height:1.6;max-width:42ch;color:var(--mb-subtle)}
#detailGallery .mb-tools{gap:6px}
#detailGallery .mb-tools button{background:var(--mb-panel);color:var(--mb-ink);border:1px solid var(--mb-line);border-radius:5px;box-shadow:none}
#detailGallery .mb-tools button:hover:not(:disabled){background:var(--mb-active);border-color:var(--mb-accent)}
#detailGallery .mb-tools .mb-stop{font-size:12px;padding:0 13px;letter-spacing:0}
#detailGallery .mb-instructions{font-size:11px;color:var(--mb-subtle);margin-top:10px}
#detailGallery .mb-information{padding:3px 0 0}
#detailGallery .mb-part-number{font-size:11px;letter-spacing:.08em;color:var(--mb-accent)}
#detailGallery .mb-part-title{font-size:clamp(24px,2.5vw,30px);line-height:1.15;font-weight:600;margin:10px 0 14px;letter-spacing:-.025em}
#detailGallery .mb-part-copy{min-height:0;font-size:14px;line-height:1.65;color:var(--mb-subtle)}
#detailGallery .mb-facts{display:block;margin:17px 0 22px;padding:0}
#detailGallery .mb-facts li{border:0;border-radius:0;background:none;padding:3px 0 3px 13px;position:relative;font-size:12px;line-height:1.5;color:var(--mb-ink)}
#detailGallery .mb-facts li::before{content:"";position:absolute;left:0;top:11px;width:4px;height:4px;background:var(--mb-accent);border-radius:50%}
#detailGallery .mb-sections{display:flex;flex-direction:column;gap:0;border-top:1px solid var(--mb-line)}
#detailGallery .mb-sections button{position:relative;min-height:44px;border:0;border-bottom:1px solid var(--mb-line);border-radius:0;background:transparent;background-image:none;padding:11px 14px;color:var(--mb-subtle);font-size:13px;font-weight:500;box-shadow:none}
#detailGallery .mb-sections button:hover{background:var(--mb-panel);color:var(--mb-ink)}
#detailGallery .mb-sections button[aria-pressed="true"]{background:var(--mb-active);background-image:none;border-color:var(--mb-line);color:var(--mb-ink);font-weight:650}
#detailGallery .mb-sections button[aria-pressed="true"]::before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:2px;background:var(--mb-accent)}
#detailGallery .mb-hotspot{position:relative;color:var(--mb-ink)}
#detailGallery .mb-hotspot>span{width:20px;height:20px;border:1px solid var(--mb-accent);background:var(--mb-panel);box-shadow:0 2px 8px #0008}
#detailGallery .mb-hotspot>span::after{content:"";width:4px;height:4px;border-radius:50%;background:var(--mb-accent)}
#detailGallery .mb-hotspot[aria-pressed="true"]>span,#detailGallery .mb-hotspot:hover>span{background:var(--mb-accent);border-color:var(--mb-ink)}
#detailGallery .mb-hotspot[aria-pressed="true"]>span::after,#detailGallery .mb-hotspot:hover>span::after{background:#101113}
#detailGallery .mb-hotspot:is(:hover,:focus-visible)::after{content:attr(data-label);position:absolute;bottom:43px;left:50%;transform:translateX(-50%);width:max-content;max-width:150px;padding:6px 9px;border:1px solid var(--mb-line);border-radius:4px;background:#101113;color:#f1f3f6;font-size:11px;line-height:1.4;pointer-events:none}
#detailGallery .mb-footnote{margin-top:22px;padding-top:15px;color:var(--mb-subtle);font-size:11px;line-height:1.65}
#detailGallery .mb-footnote>a{color:var(--mb-accent);font-size:12px}
#detailGallery .mb-viewer :is(button,a):focus-visible{outline:2px solid var(--mb-accent);outline-offset:3px}
@media(min-width:801px){#detailGallery .mb-stage{height:clamp(300px,46dvh,450px)}}
@media(max-width:800px){
 #detailGallery .mb-layout{grid-template-columns:minmax(0,1fr);gap:25px}
 #detailGallery .mb-stage{height:360px}
 #detailGallery .mb-information{padding:0}
 #detailGallery .mb-sections{margin-top:20px}
}
@media(max-width:480px){
 body.echo-kosmos #detailGallery .detail-window:has(.mb-viewer){padding:58px 15px 18px;border-radius:14px}
 body.echo-kosmos #detailGallery .detail-window:has(.mb-viewer) .detail-heading h2{font-size:24px}
 body.echo-kosmos #detailGallery .detail-window:has(.mb-viewer) #detailContent{max-height:calc(92dvh - 80px);padding-right:5px}
 #detailGallery .mb-intro{padding-bottom:17px}
 #detailGallery .mb-intro p{font-size:11px;letter-spacing:.05em}
 #detailGallery .mb-stage{height:auto;aspect-ratio:1;border-radius:8px}
 #detailGallery .mb-stage-top{left:12px;right:12px;top:12px;font-size:9px}
 #detailGallery .mb-start{font-size:13px;padding:10px 18px}
 #detailGallery .mb-status{font-size:12px;flex-basis:180px}
 #detailGallery .mb-tools{width:auto}
 #detailGallery .mb-tools .mb-stop{margin-left:0;font-size:12px}
 #detailGallery .mb-part-title{font-size:26px}
 #detailGallery .mb-part-copy{font-size:14px}
 #detailGallery .mb-facts li{font-size:12px}
 #detailGallery .mb-sections button{font-size:13px}
 #detailGallery .mb-footnote{font-size:11px}
}
