.habitat-figure{margin:clamp(24px,4vw,56px) auto 0;color:#eff3f3;background:#101415;border-radius:18px;padding:clamp(12px,2vw,24px);color-scheme:dark}
.habitat-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:5px 16px;margin:0 2px 14px}
.habitat-heading h3{color:#f1f2ed;font-size:clamp(21px,2vw,32px);letter-spacing:-.04em;margin:0}.habitat-heading p,.habitat-note{font-size:13px;line-height:1.45;color:#b5bfbd;margin:0}
.habitat-stage{position:relative;overflow:hidden;border-radius:13px;background:#282a28;isolation:isolate;aspect-ratio:16/9}
.habitat-poster,.habitat-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover}
.habitat-canvas{touch-action:pan-y;cursor:grab;opacity:0}.habitat-ready .habitat-canvas{opacity:1;touch-action:none}.habitat-canvas:active{cursor:grabbing}
.habitat-overlay,.habitat-lower{position:absolute;left:13px;right:13px;display:flex;align-items:start;justify-content:space-between;gap:8px;pointer-events:none}
.habitat-overlay{top:13px}.habitat-lower{bottom:13px;align-items:center}.habitat-overlay>*,.habitat-lower>*{pointer-events:auto}
.habitat-switch,.habitat-transport,.habitat-status button{display:inline-flex;align-items:center;gap:1px;border:1px solid #ffffff42;background:#141717e8;color:#fff;border-radius:99px;padding:3px;box-shadow:0 2px 9px #0003;backdrop-filter:blur(8px)}
.habitat-figure button{font-family:inherit;cursor:pointer;color:#eef1ee;border:0;background:transparent;min-height:40px;padding:5px 12px;border-radius:99px;line-height:1.15;font-size:13px;white-space:nowrap}
.habitat-figure button:hover{background:#ffffff24}.habitat-figure button[aria-pressed=true]{background:#f1f3ef;color:#15201e}
.habitat-figure :focus-visible{outline:3px solid #69dec9;outline-offset:2px}.habitat-figure .habitat-canvas:focus-visible{outline-offset:-4px}
.habitat-inset{position:absolute;right:15px;top:70px;width:clamp(92px,16%,217px);margin:0;overflow:hidden;border-radius:8px;border:1px solid #ffffff55;background:#171a19;pointer-events:none;opacity:0}
.habitat-ready .habitat-inset{opacity:1}.habitat-inset video{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.habitat-inset figcaption{position:absolute;bottom:4px;left:5px;padding:2px 5px;font:550 11px/1.3 system-ui;background:#151719bb;border-radius:3px;color:white;margin:0;min-height:0}
.habitat-transport{gap:8px;padding-right:15px}.habitat-time{width:clamp(80px,15vw,235px);accent-color:#9fe3d0}.habitat-transport output{color:#f1f2ee;font:11px/1.1 ui-monospace,monospace;white-space:nowrap;font-variant-numeric:tabular-nums}
.habitat-status{position:absolute;inset:45% 8% auto;text-align:center;pointer-events:none;color:#fff;text-shadow:0 1px 5px #000;font:550 14px/1.5 system-ui}.habitat-status button{pointer-events:auto;padding:10px 17px;background:#17201eee;font:inherit}
.habitat-note{margin:9px 2px 0;display:flex;justify-content:space-between;gap:5px 16px;flex-wrap:wrap;font-size:12px}.habitat-figure [hidden]{display:none!important}
html:not(.js) .habitat-figure :is(.habitat-canvas,.habitat-overlay,.habitat-inset,.habitat-status,.habitat-lower){display:none}
@media(max-width:700px){.habitat-figure{padding:10px;border-radius:12px}.habitat-heading{margin-bottom:10px}.habitat-stage{aspect-ratio:4/4.6}.habitat-overlay{left:6px;right:6px;top:6px;flex-wrap:wrap;align-items:flex-start;gap:4px}.habitat-inset{width:26%;right:7px;top:91px}.habitat-switch,.habitat-transport{padding:2px}.habitat-figure button{padding:5px 9px;min-height:36px;font-size:12px}.habitat-lower{left:6px;right:6px;bottom:6px;flex-wrap:wrap;align-items:center;gap:4px}.habitat-transport{flex:1;padding-right:8px;gap:3px}.habitat-time{min-width:35px;width:100%;flex:1}.habitat-note span{display:block}.habitat-note{font-size:11px}.habitat-transport output{font-size:10px}}

.habitat-figure button:disabled,.habitat-figure input:disabled{opacity:.52;cursor:wait}
