:root {
  color-scheme: dark;
  --bar-height: 62px;
  --bar-ink: #f1e4cf;
  --night: #181512;
  --rule: #51463b;
}
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; background: var(--night); }
body { font-family: "Helvetica Neue", Arial, sans-serif; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px solid #ffdeb0; outline-offset: 4px; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.icon { display: block; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; flex: none; }
#experience { position: relative; width: 100%; height: 100%; height: 100dvh; display: grid; grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; }
#room-viewport { position: relative; min-height: 0; overflow-x: auto; overflow-y: hidden; overscroll-behavior: contain; scrollbar-width: none; background: #2c211d; touch-action: pan-x pinch-zoom; }
#room-viewport::-webkit-scrollbar { display: none; }
#room-art { position: relative; isolation: isolate; container-type: inline-size; width: max(100%, calc((100vh - var(--bar-height)) * 1.77683)); aspect-ratio: 1672 / 941; margin: 0 auto; color: #ffe3ad; }
#room-image { width: 100%; height: 100%; object-fit: fill; display: block; pointer-events: none; user-select: none; }
.glass-menu { position: absolute; z-index: 3; left: 23.6%; top: 37.5%; width: 16%; color: #ffdead; text-shadow: 0 0 9px #ffa841a1, 0 1px 3px #603516; }
.glass-menu h1 { font: 500 clamp(22px, 2.87cqw, 88px)/1.08 "Helvetica Neue", Arial, sans-serif; letter-spacing: -.052em; margin: 0 0 1.03cqw 0; color: #ffe5b3; }
.glass-menu nav { display: flex; flex-direction: column; align-items: flex-start; gap: .065cqw; }
.glass-menu button { display: block; color: inherit; padding: .29cqw .36cqw .29cqw .1cqw; font-size: clamp(12px, 1.20cqw, 34px); line-height: 1.3; font-weight: 450; border: 0; background: transparent; text-shadow: inherit; text-align: left; position: relative; }
.glass-menu button::before { content: ''; position: absolute; height: .32em; width: .32em; border-radius: 50%; background: currentColor; left: -.68em; top: 46%; opacity: 0; }
.glass-menu button:is(:hover,:focus-visible) { color: #fff4d8; text-shadow: 0 0 8px #ffcd74; }
.glass-menu button:is(:hover,:focus-visible)::before { opacity: 1; }
.object { position: absolute; z-index: 3; appearance: none; padding: 0; background: transparent; border: 0; color: #fff3d8; border-radius: 8px; }
.stereo-object { top: 42.4%; left: 51.4%; width: 13.6%; height: 21%; }
.album-object { top: 81.6%; left: 79.2%; width: 15.1%; height: 7.1%; }
.pin { position: absolute; right: 1.5%; bottom: 2%; display: inline-flex; align-items: center; background: #30231ee3; min-height: 25px; border: 1px solid #f3d9b286; border-radius: 20px; padding: 4px; box-shadow: 0 2px 8px #32201438; }
.pin .icon { height: 15px; width: 15px; }
.pin-text { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 12px; text-align: left; transition: max-width .15s ease; }
.object:is(:hover,:focus-visible) .pin-text { max-width: 110px; margin: 0 6px 0 4px; }
.object:focus-visible { outline-offset: 5px; }
.stereo-object[aria-pressed=true] .pin { color: #ffe8be; border-color: #efb86a; }
.room-bar { position: relative; z-index: 4; min-height: var(--bar-height); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 4px max(24px, env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); border-top: 1px solid #5c4635; background: #191613; color: var(--bar-ink); }
.signature, .bar-tools, .tool { display: flex; align-items: center; }
.signature { gap: 16px; }
.room-title { font: italic 27px/.96 Georgia, "Times New Roman", serif; color: #f3e4cf; letter-spacing: -.075em; }
.owner { font-size: 13px; letter-spacing: .035em; color: #d3c4af; }
.signature-line, .control-divider { height: 18px; width: 1px; background: var(--rule); }
.bar-tools { gap: 5px; }
.tool { border: 0; padding: 0 11px; min-height: 44px; border-radius: 5px; gap: 7px; background: transparent; color: #ddcfba; font-size: 14px; font-weight: 450; }
.tool:is(:hover,:focus-visible) { color: #fff3df; background: #322a24; }
.tool[aria-pressed=true]:not(.motion-control) { color: #ffcf87; }
.control-divider { margin: 0 7px; }
.motion-control { padding: 0 7px; min-width: 44px; justify-content: center; }
.motion-control[aria-pressed=false] { opacity: .6; }
.motion-control .icon { width: 18px; height: 18px; }
.mobile-motion { display: none; }
.pan-help { display: flex; gap: 7px; align-items: center; pointer-events: none; position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(var(--bar-height) + env(safe-area-inset-bottom) + 17px); padding: 7px 11px; border-radius: 20px; background: #231b16df; color: #faf0dd; font-size: 12px; white-space: nowrap; transition: opacity .45s; }
.pan-help[hidden] { display: none; }
.pan-help.faded { opacity: 0; }
.pan-help .icon { width: 15px; height: 15px; }
.status { position: fixed; z-index: 8; bottom: calc(var(--bar-height) + env(safe-area-inset-bottom) + 12px); right: 16px; color: #f8ecd8; pointer-events: none; }
.status:not(:empty) { background: #211a15ee; border: 1px solid #806c51; border-radius: 4px; padding: 9px 14px; font-size: 13px; }
.no-js { position: fixed; inset: auto 0 0; z-index: 9; padding: 15px; color: #fff3de; background: #211a15; }
.no-js a { color: inherit; }
@media(max-width: 700px) {
  .room-bar { padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px,env(safe-area-inset-right)); gap: 6px; }
  .signature { gap: 8px; }
  .owner { font-size: 12px; }
  .bar-tools { gap: 0; }
  .tool { padding: 0 7px; gap: 5px; }
  .control-divider { margin: 0 2px; }
}
@media(max-width: 540px) and (orientation: portrait) {
  :root { --bar-height: 98px; }
  .room-bar { display: block; padding-top: 8px; padding-bottom: calc(5px + env(safe-area-inset-bottom)); }
  .signature { height: 30px; justify-content: center; gap: 11px; }
  .room-title { font-size: 23px; }
  .signature-line { height: 12px; }
  .owner { font-size: 12px; }
  .bar-tools { display: flex; justify-content: space-around; margin-top: 2px; }
  .tool { font-size: 13px; min-height: 45px; }
  .tool .icon { width: 16px; height: 16px; }
  .control-divider { display: none; }
  .mobile-motion { display: inline; }
  .glass-menu button { min-height: 38px; font-size: max(16px, 1.2cqw); }
}
@media(max-height: 500px) and (orientation: landscape) {
  :root { --bar-height: 44px; }
  .room-bar { padding-top: 0; padding-bottom: env(safe-area-inset-bottom); }
  .tool { min-height: 42px; }
}
@media(prefers-reduced-motion: reduce) {
  .pin-text, .pan-help { transition: none; }
}
