.room-page {
  --room-ink: #081719;
  --room-panel: #112627;
  --room-amber: #ffce76;
  --room-paper: #fff3da;
  --room-line: #f1d09e36;
  --room-header: var(--studio-header-height);
  min-height: 100svh;
  background: var(--room-ink);
}

.room {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  align-content: start;
  justify-items: center;
  padding-top: var(--room-header);
  background: #081719;
}

.room::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 50% 88%, #52321d75 0%, transparent 57%),
              radial-gradient(ellipse at 53% 37%, #20434370 0%, transparent 64%);
}

.room-stage {
  position: relative;
  width: 100%;
}
.room-scene {
  --vinyl-shift: calc(1.75% + 30px);
  --shelf-lift: 20px;
  --mic-shift: 30px;
  --plant-drop: 20px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #131e1e;
}
.room-image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.room-layer {
  position: absolute;
  display: block;
  left: var(--left);
  top: var(--top);
  width: var(--width);
  height: var(--height);
  max-width: none;
  object-fit: fill;
  pointer-events: none;
  filter: drop-shadow(2px 4px 4px #0e1010a0);
}
.room-layer--spruce {
  --left: 69.1%; --top: 7%; --width: 19%; --height: 58%;
  filter: brightness(1.12) drop-shadow(2px 4px 4px #0e1010a0);
}
.room-layer--shelf { --left: 5.2%; --top: calc(15.1% - var(--shelf-lift)); --width: 34%; --height: 22.8%; }
.room-layer--sleeves { --left: 6.6%; --top: calc(17.4% - var(--shelf-lift)); --width: 31%; --height: 17.8%; }
.room-layer--ledge { --left: 8%; --top: 55.8%; --width: 31%; --height: 6%; }
.room-layer--laptop { --left: 51.6%; --top: 19.35%; --width: 20.8%; --height: 60%; }
.room-layer--laptop > img { display: block; width: 100%; height: 100%; }
.room-layer--chair { --left: 36.55%; --top: 50%; --width: 31.9%; --height: 41.3%; }
.room-layer--desk {
  --left: -10%; --top: 72.55%; --width: 120%; --height: 27.65%;
  filter: drop-shadow(0 -2px 3px #1c130a80);
}
.room-layer--flowers { --left: 89.55%; --top: calc(30.3% + var(--plant-drop)); --width: 13.9%; --height: 35.8%; }
.room-layer--pot { --left: 93%; --top: calc(60% + var(--plant-drop)); --width: 7%; --height: 15.7%; }
.room-layer--vinyl { --left: calc(3.3% + var(--vinyl-shift)); --top: 64%; --width: 32%; --height: 27%; }
.room-layer--lamp { --left: .4%; --top: calc(34% + 30px); --width: 16.4%; --height: 41.5%; }
.room-layer--notebook { --left: calc(90.7% - 30px); --top: 76%; --width: 10.1%; --height: 13.9%; }

.room-object {
  position: absolute;
  z-index: 1;
  top: var(--object-y);
  left: var(--object-x);
  width: var(--object-width);
  height: var(--object-height);
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
}

.room-object--disc {
  --object-x: calc(8% + var(--vinyl-shift)); --object-y: 66.3%; --object-width: 21%; --object-height: 13.9%;
  border-radius: 50%;
}
.room-object--power {
  --object-x: calc(31.15% + var(--vinyl-shift)); --object-y: 85.45%; --object-width: max(44px, 3.5vw);
  --object-height: max(44px, 3.5vw);
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
.room-object--power::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: clamp(4px, .75vw, 13px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #ffba5960;
  filter: blur(2px);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
.room-object--power[aria-pressed="true"]::after { opacity: 1; }
.room-object--shelf {
  --object-x: 8%; --object-y: calc(14% - var(--shelf-lift)); --object-width: 31%; --object-height: 23%;
}
.room-laptop {
  position: absolute;
  z-index: 1;
  inset: 1.5% auto auto 10.7%;
  width: 78.1%;
  height: 27.1%;
  display: block;
  overflow: hidden;
  border-radius: 2px;
  background: #0c171a;
  pointer-events: auto;
}
.room-laptop video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.84) saturate(.91);
  transition: filter .2s ease-out;
}
.room-laptop:hover video, .room-laptop:focus-visible video { filter: brightness(1.05) saturate(1); }
.laptop-zoom { position: fixed; z-index: 8; inset: 0; overflow: hidden; pointer-events: none; }
.laptop-zoom-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: var(--wardrobe-edge-shade), #171310 url("assets/air-wardrobe-closed.webp") 34.65% center / cover no-repeat;
  filter: var(--wardrobe-tone);
}
.laptop-zoom :is(canvas, img) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  transform-origin: 0 0;
}

.studio-mic {
  position: absolute;
  transform: translateX(-50%);
  pointer-events: none;
}
.studio-mic-body { display: block; width: 100%; height: auto; }
.studio-mic-mark {
  position: absolute;
  left: 50%;
  top: 33.65%;
  width: 22.3%;
  height: auto;
  transform: translate(-50%, -50%);
}
.room-mic-figure {
  left: calc(86.55% - var(--mic-shift));
  bottom: 10.2%;
  width: 11.6%;
  z-index: 1;
  pointer-events: auto;
  cursor: pointer;
  filter: drop-shadow(4px 5px 4px #1f080acc);
}
.room-mic-figure:is(:hover, :focus-visible) {
  filter: brightness(1.09) drop-shadow(4px 5px 5px #1f080acc);
}
[data-device-tip]::before {
  content: attr(data-device-tip);
  position: absolute;
  z-index: 1;
  bottom: calc(100% + 6px);
  left: 50%;
  padding: 5px 8px;
  border: 1px solid #f1d09e62;
  border-radius: 6px;
  background: #102122;
  color: #fff3da;
  font: 700 12px/1.3 system-ui, sans-serif;
  white-space: nowrap;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
}
[data-device-tip]:is(:hover, :focus-visible)::before { opacity: 1; }

.room-record {
  position: absolute;
  z-index: 0;
  top: 72.1%;
  left: calc(18.35% + var(--vinyl-shift));
  width: 8.55%;
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  border-radius: 50%;
  transform: translate(-50%, -50%) scaleY(.32);
}
.room-record-disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, #634527 0 4%, transparent 4.5%),
              radial-gradient(circle, transparent 0 56%, #aa321d 57% 100%),
              conic-gradient(from 25deg, #ffdb9a 10%, #f5bb6f 28%, #d64d2e 28% 32%, #ffdb9a 32% 80%, #df9648 91%, #ffdb9a);
  animation: room-spin 1.8s linear infinite paused;
}
.room-mic-light {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity .16s ease;
}
.room-mic-light {
  top: 60%;
  left: calc(85% - var(--mic-shift));
  width: 12%;
  aspect-ratio: 1;
  background: #f5401845;
  filter: blur(20px);
}
.room-scene[data-playing-device="vinyl"] .room-record,
.room-scene.is-recording .room-mic-light { opacity: 1; }
.room-scene[data-playing-device="vinyl"] .room-record-disc { animation-play-state: running; }
@keyframes room-spin { to { transform: rotate(360deg); } }

.room-player {
  z-index: 2;
  position: absolute;
  bottom: 42px;
  left: 42%;
  width: min(39%, 390px);
  padding: 12px;
  border: 1px solid #f1d09e60;
  border-radius: 10px;
  background: #102122f5;
  box-shadow: 0 12px 35px #000a;
  color: var(--room-paper);
}
.room-player-head { display: grid; grid-template-columns: 42px minmax(0, 1fr) 30px; gap: 9px; align-items: center; margin-bottom: 8px; }
.room-player-head img { width: 42px; height: 42px; border-radius: 4px; }
.room-player-head h2 { font-size: 15px; line-height: 1.2; }
.room-release-artist { color: #decdb0; font-size: 12px; }
.room-close {
  width: 30px;
  height: 30px;
  display: grid;
  place-content: center;
  border: 1px solid currentColor;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}
.room-close:hover { background: #ffd28133; }
.room-player .player { background: #091819; }
.room-player .play { background: var(--room-amber); }
.room-player .release-platforms { display: flex; flex-wrap: wrap; margin: 8px 0 0; gap: 5px; }
.room-player .release-platforms a { min-height: 27px; padding: 4px 5px; background: #253738; font-size: 10px; }
.room-player .release-platforms img { width: 14px; height: 14px; }
.room-player .release-footer { margin-top: 6px; padding-top: 6px; color: #decdb0; }
.room-play-error { padding-top: 7px; color: var(--room-amber); font-size: 12px; }

.room-dialog {
  width: min(100% - 24px, 565px);
  max-height: min(92svh, 800px);
  padding: clamp(12px, 3vw, 24px);
  border: 1px solid var(--room-line);
  border-radius: 12px;
  background: #102627;
  color: var(--room-paper);
  box-shadow: 0 24px 70px #000a;
}
.room-dialog::backdrop { background: #0409099c; }
.room-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.room-dialog-head h2 { font-size: clamp(21px, 4vw, 29px); line-height: 1.15; }
.room-about-copy { display: grid; gap: 12px; font-size: 15px; line-height: 1.57; }
.room-about-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.room-about-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 12px;
  border: 1px solid var(--room-line);
  border-radius: 6px;
  color: var(--room-paper);
  font-size: 14px;
  font-weight: 750;
}
.room-about-actions a:hover { border-color: var(--room-amber); color: var(--room-amber); }
.room-dialog .catalog-list { margin-top: 0; }
.room-dialog--application { width: min(100% - 24px, 770px); }
.room-application-coming {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(12px, 2.4vw, 25px);
  align-items: start;
}
.room-application-preview {
  padding: clamp(13px, 2.2vw, 20px);
  border: 1px solid var(--room-line);
  border-radius: 9px;
  background: #193132;
  color: #ddccad;
}
.room-application-preview p { margin: 11px 0 0; font-size: 13px; }
.material-options { margin: 0; padding: 0; min-width: 0; border: 0; }
.material-options legend { margin-bottom: 10px; padding: 0; font-weight: 750; }
.material-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 7px; }
.material-grid label {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  margin: 0;
  padding: 7px 8px;
  border: 1px solid #b6c3b64a;
  border-radius: 6px;
  cursor: default;
}
.material-grid label:has(:checked) { border-color: #d9b670ab; background: #234449; }
.material-grid label input { width: 16px; min-height: auto; height: 16px; margin: 0; flex: none; }
.material-grid label span { font-size: 13px; font-weight: 650; }
.room-newsletter {
  padding: clamp(15px, 2.2vw, 21px);
  border: 1px solid #d59b5e66;
  border-radius: 9px;
  background: linear-gradient(138deg, #442a27, #252b2b 82%);
}
.room-newsletter h3 { margin: 0 0 8px; font-size: clamp(18px, 2.6vw, 24px); }
.room-newsletter p { margin: 0; color: #f0dfc5; font-size: 14px; line-height: 1.5; }
.room-newsletter form { display: grid; gap: 7px; margin-top: 14px; }
.room-newsletter label { color: #fff3da; font-size: 13px; font-weight: 700; }
.room-newsletter input {
  min-width: 0;
  min-height: 41px;
  padding: 8px 10px;
  border: 1px solid #b58e7e;
  border-radius: 5px;
  background: #192829;
  color: var(--room-paper);
  font: inherit;
}
.newsletter-submit {
  justify-self: start;
  min-height: 42px;
  padding: 7px 14px;
  border: 1px solid #f17e6d;
  border-radius: 5px;
  background: #a82f2c;
  color: var(--room-paper);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.newsletter-submit:hover { background: #bb3c35; }
.newsletter-submit:disabled { opacity: .7; cursor: wait; }
.room-newsletter .newsletter-status:not(:empty) { margin-top: 10px; }
@media (max-width: 560px) {
  .room-application-coming { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .room-player { position: relative; bottom: auto; left: auto; width: auto; max-width: 445px; margin: 10px auto 0; }
}
@media (max-width: 500px) {
  .room-player { margin-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .room-record-disc { animation: none; }
  .room-object, .room-mic-light { transition: none; }
}

.room-assistant-object {
  position: absolute;
  z-index: 2;
  left: 53.3%;
  bottom: 7%;
  width: min(12.5%, (100dvh - var(--room-header)) * .23);
  min-width: 44px;
  min-height: 44px;
  display: grid;
  justify-items: center;
  align-content: end;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: grab;
  touch-action: none;
  user-select: none;
  animation: assistant-arrival .54s ease-out both;
}
.room-assistant-object.is-dragging { cursor: grabbing; }
@keyframes assistant-arrival {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.room-assistant-object img {
  width: 100%;
  height: auto;
  filter: drop-shadow(4px 8px 6px #060e0dd6);
  transition: transform .18s ease, filter .18s ease;
}
.room-assistant-object:hover img, .room-assistant-object:focus-visible img {
  transform: translateY(-2px);
  filter: drop-shadow(0 5px 13px #ffae5677) drop-shadow(4px 8px 6px #060e0dd6);
}
.room-assistant-object.is-inviting img {
  filter: drop-shadow(0 3px 8px #fbb35d82) drop-shadow(4px 8px 6px #060e0dd6);
}
.pion-callout {
  position: absolute;
  z-index: 3;
  width: max-content;
  max-width: min(calc(100% - 16px), 250px);
  border: 1px solid #e5bd83;
  border-radius: 12px;
  background: #fff3dc;
  color: #152e30;
  box-shadow: 0 5px 14px #040b0d7a;
  font-size: 13px;
  line-height: 1.4;
}
.pion-callout::after {
  content: "";
  position: absolute;
  top: calc(100% - 1px);
  left: var(--tail-x, 50%);
  width: 14px;
  height: 8px;
  clip-path: polygon(0 0, 100% 0, 64% 100%);
  background: #fff3dc;
  pointer-events: none;
}
.pion-callout[data-tail="up"]::after { top: auto; bottom: calc(100% - 1px); transform: scaleY(-1); }
.pion-callout[data-kind="move"] { pointer-events: none; }
.pion-invitation {
  display: block;
  min-height: 44px;
  padding: 5px 11px;
  border: 0;
  border-radius: inherit;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.pion-invitation strong { display: block; color: #8d2922; }
.pion-invitation:hover, .pion-invitation:focus-visible { background: #ffe3ae; }
.pion-callout p { margin: 0; padding: 8px 11px; }
.room-dialog--assistant {
  --bubble: #fff3dc;
  --bubble-ink: #132d2d;
  position: absolute;
  z-index: 3;
  inset: auto auto 29% 42%;
  width: min(calc(100% - 20px), 397px);
  padding: clamp(9px, 1.15vw, 15px);
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 18px 22px 18px 21px;
  background: var(--bubble);
  color: var(--bubble-ink);
  box-shadow: 0 12px 35px #040b0da6;
}
.room-dialog--assistant::after {
  content: "";
  position: absolute;
  top: calc(100% - 1px);
  left: var(--tail-x, 62%);
  width: 29px;
  height: 25px;
  background: var(--bubble);
  clip-path: polygon(0 0, 100% 0, 71% 28%, 42% 65%, 21% 100%, 22% 55%);
  pointer-events: none;
}
.room-dialog--assistant[data-tail="up"]::after {
  top: auto;
  bottom: calc(100% - 1px);
  transform: scaleY(-1);
}
.room-dialog--assistant[data-tail="none"]::after { display: none; }
.assistant-message {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  padding: 0;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 850;
  line-height: 1.35;
}
.room-dialog--assistant .room-close { width: 32px; height: 32px; }
.assistant-room-hint {
  display: grid;
  gap: 5px;
  margin: 0 0 13px;
  padding: 5px 0 5px 11px;
  border-inline-start: 2px solid #ba4d33;
  font-size: 14px;
  line-height: 1.4;
}
.assistant-room-hint strong { color: #8d2922; }
.assistant-welcome { font-weight: 750; }
.assistant-answers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.assistant-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 12px; margin-top: 10px; }
.assistant-answers button, .assistant-controls button {
  min-height: 44px;
  padding: 7px 9px;
  border: 1px solid #bbab8d;
  border-radius: 8px;
  background: #fffaf0;
  color: var(--bubble-ink);
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.assistant-answers button:hover { border-color: #b74028; background: #ffe5b6; }
.assistant-controls #assistant-mic {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding-inline: 12px;
  border-color: #20494b;
  border-radius: 100px;
  background: #20494b;
  color: #fff5e3;
}
#assistant-mic::before {
  content: "";
  width: 18px;
  height: 15px;
  background:
    linear-gradient(currentColor 0 0) 0 center / 2px 4px,
    linear-gradient(currentColor 0 0) 25% center / 2px 9px,
    linear-gradient(currentColor 0 0) 50% center / 2px 15px,
    linear-gradient(currentColor 0 0) 75% center / 2px 9px,
    linear-gradient(currentColor 0 0) 100% center / 2px 4px;
  background-repeat: no-repeat;
}
.assistant-controls #assistant-mic:is(:hover, [aria-pressed="true"]) { background: #8d2922; border-color: #8d2922; }
.assistant-controls label { display: flex; gap: 6px; align-items: center; font-size: 12px; }
.assistant-controls label input { accent-color: #245557; }
.room-dialog--assistant :focus-visible { outline-color: #b74028; }
.assistant-status { color: #4a523b; margin-top: 8px; font-size: 13px; }
.assistant-status:empty { display: none; }
.room-application-faq { margin-top: 10px; font-size: 13px; line-height: 1.5; }
.room-application-faq summary { cursor: pointer; font-weight: 700; }
.room-application-faq p { margin-top: 5px; }

@media (min-width: 701px) {
  .room-player { top: 42%; bottom: auto; left: 39.5%; }
}
@media (max-width: 700px) {
  .room-dialog--assistant {
    position: relative;
    inset: auto;
    width: auto;
    max-width: 430px;
    max-height: none;
    margin: 10px auto 0;
  }
}
@media (max-width: 500px) {
  .room-dialog--assistant { margin-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .room-assistant-object { animation: none; }
  .room-assistant-object img { transition: none; }
  .room-laptop video { transition: none; }
}

.room-page { height: 100dvh; min-height: 0; overflow: hidden; }
.room {
  height: 100%;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr);
  place-items: center;
  overflow: hidden;
}
.room::before {
  background: linear-gradient(90deg, #081719bd, transparent 20%, transparent 80%, #081719bd),
              radial-gradient(ellipse at 50% 88%, #52321d75 0%, transparent 57%),
              radial-gradient(ellipse at 53% 37%, #20434370 0%, transparent 64%);
}
@media (min-width: 701px), (orientation: landscape) {
  .room-stage, .room-scene { width: 100%; height: 100%; min-height: 0; }
  .room-image { width: 100%; height: 100%; aspect-ratio: auto; object-fit: fill; }
}
@media (max-width: 700px) and (orientation: portrait) {
  .room { place-items: start center; overflow-y: auto; }
  [data-device-tip]::before { display: none; }
  .room-dialog--assistant::after { display: none; }
  .room-dialog--assistant, .room-player {
    max-height: max(170px, calc(100dvh - var(--room-header) - 56.25vw - 22px));
    overflow: auto;
  }
}
@media (max-width: 700px) and (orientation: landscape) {
  .room-dialog--assistant, .room-player {
    position: absolute;
    inset: auto auto 5% 34%;
    width: min(60%, 350px);
    max-height: 78%;
    margin: 0;
    overflow: auto;
  }
}

.room-mic-effects {
  --mic-accent: #d1fa54;
  width: min(100% - 24px, 1000px);
  max-height: 94svh;
  padding: clamp(14px, 2.7vw, 32px);
  overflow: auto;
  color-scheme: dark;
  background: radial-gradient(ellipse at 42% 2%, #1a4545 0, transparent 53%), #101b1c;
}
.room-mic-effects .room-dialog-head { margin: 0; }
.room-mic-effects .room-dialog-head h2 {
  font-size: clamp(29px, 5.2vw, 66px);
  font-weight: 900;
  letter-spacing: -.05em;
}
.mic-presets { margin: 0 0 14px; padding: 0; border: 0; min-width: 0; }
.mic-presets legend { padding: 0; margin-bottom: 7px; color: #d3c7ac; font-size: 13px; }
.mic-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(65px, 1fr)); gap: 6px; }
.mic-choices label { display: grid; min-height: 42px; }
.mic-choices input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.mic-choices label span {
  display: grid;
  place-items: center;
  border: 1px solid var(--room-line);
  border-radius: 6px;
  background: #193333;
  color: var(--room-paper);
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.mic-choices input:checked + span { background: #2a473f; border-color: var(--mic-accent); color: var(--mic-accent); }
.mic-choices input:focus-visible + span { outline: 2px solid var(--mic-accent); outline-offset: 3px; }
.mic-controls { display: grid; align-content: center; gap: 12px; }
.mic-controls button {
  min-height: 40px;
  padding: 7px 12px;
  border: 1px solid var(--room-line);
  border-radius: 5px;
  color: var(--room-paper);
  background: #193333;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.mic-controls .mic-record {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 49px;
  border: 1px solid #f55346;
  border-radius: 100px;
  background: #c9372b;
  font-size: clamp(13px, 1.8vw, 18px);
}
.mic-record::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
}
.mic-controls .mic-monitor {
  width: fit-content;
  padding-inline: 0;
  border: 0;
  background: none;
  text-align: left;
  font-size: clamp(16px, 2.4vw, 26px);
}
.mic-controls .mic-monitor[aria-pressed="true"] { color: var(--mic-accent); }
.mic-controls button:disabled { opacity: .63; cursor: default; }
.mic-controls output { font: 13px ui-monospace, monospace; color: #ffd18a; }
.mic-note { margin: 8px 0 0; color: #d3c7ac; font-size: 13px; }
.mic-note:empty { display: none; }
.room-assistant-object.is-speaking img { animation: pion-speech .38s ease-in-out infinite alternate; }
@keyframes pion-speech {
  from { transform: translateY(0); }
  to { transform: translateY(-2px); filter: drop-shadow(0 3px 8px #ffae5677) drop-shadow(4px 8px 6px #060e0dd6); }
}
@media (prefers-reduced-motion: reduce) {
  .room-assistant-object.is-speaking img { animation: none; }
}

.room-deck {
  position: absolute;
  z-index: 1;
  bottom: 42.2%;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}
.room-deck--tape { left: 16.9%; width: 13.25%; height: 10.1%; }
.room-deck--cd { left: 31.7%; width: 5.85%; height: 7.6%; }
@media (pointer: coarse) {
  .room-deck::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: max(100%, 44px);
    height: max(100%, 44px);
    transform: translate(-50%, -50%);
  }
}
.room-deck img { width: 100%; height: 100%; filter: drop-shadow(0 3px 4px #1a0d06a3); }
.room-deck:is(:hover, :focus-visible) img { filter: brightness(1.11) drop-shadow(0 3px 4px #1a0d06a3); }
.room-deck-key {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  border-radius: 3px;
  transition: opacity .16s ease;
}
.room-deck--tape .room-deck-key { left: 53.8%; top: 77.3%; width: 6.4%; height: 10%; background: #ffe2a34d; box-shadow: inset 0 0 5px #ffe2a3, 0 0 9px #ed9d3fac; }
.room-deck--cd .room-deck-key { left: 26.65%; top: 85%; width: 2.2%; aspect-ratio: 1; background: #ffe3a2; box-shadow: 0 0 8px 2px #f0913bba; }
.room-deck[aria-pressed="true"] .room-deck-key { opacity: 1; }
.room-cd-disc {
  position: absolute;
  top: 36.7%;
  left: 50.2%;
  width: 75%;
  height: 57%;
  overflow: hidden;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}
.room-cd-disc::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-conic-gradient(from 23deg, #f8d7a11a, #fee8cd5c 12deg, #75c4d93f 22deg, #928bc228 30deg, #fff5dc0c 41deg, transparent 70deg, #f8d7a11a 90deg);
  mask-image: radial-gradient(circle, transparent 20%, #000 29% 92%, transparent 100%);
  animation: room-spin .82s linear infinite paused;
}
.room-deck--cd[aria-pressed="true"] .room-cd-disc { opacity: .8; }
.room-deck--cd[aria-pressed="true"] .room-cd-disc::before { animation-play-state: running; }
.room-device-status {
  position: absolute;
  z-index: 2;
  bottom: 2%;
  left: 50%;
  max-width: min(94%, 360px);
  transform: translateX(-50%);
  padding: 7px 10px;
  border: 1px solid var(--room-line);
  border-radius: 5px;
  background: #162a2af5;
  color: var(--room-paper);
  font-size: 13px;
}
@media (prefers-reduced-motion: reduce) {
  .room-cd-disc::before { animation: none; }
}

.mic-recording {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 28%);
  gap: 0 clamp(12px, 3vw, 40px);
}
.mic-visual {
  position: relative;
  isolation: isolate;
  min-height: clamp(205px, 32vh, 350px);
  overflow: hidden;
}
.mic-beat-wave {
  position: absolute;
  z-index: -2;
  top: 20%;
  left: 0;
  width: 100%;
  height: 57%;
  opacity: .8;
  background: repeating-linear-gradient(90deg, #d2e6dd18 0 1px, transparent 1px 5%);
  transition: filter .2s ease;
}
.has-beat .mic-beat-wave { filter: drop-shadow(0 0 5px #d1fa5490) brightness(1.2); }
.booth-mic-figure {
  z-index: -1;
  top: 3%;
  left: 53%;
  width: clamp(100px, 19vh, 202px);
  filter: drop-shadow(3px 7px 12px #020a09be);
}
.mic-beat {
  position: absolute;
  bottom: 4px;
  left: 0;
  display: grid;
  justify-items: start;
  gap: 6px;
}
.mic-beat label, .mic-mix-switches label { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 750; }
.mic-beat-tempo { color: var(--room-paper); font: 750 14px ui-monospace, monospace; }
.mic-beat-buttons { display: flex; flex-wrap: wrap; gap: 5px; }
.mic-beat-tempo { font-size: clamp(10px, 1.65vw, 14px); }
.room-mic-effects input { accent-color: var(--mic-accent); }
.mic-beat-play, .mic-mix button {
  min-height: 36px;
  border: 1px solid var(--room-line);
  border-radius: 5px;
  background: #12282a;
  color: var(--room-paper);
  padding: 6px 9px;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.mic-beat-buttons .mic-next-beat {
  display: grid;
  place-items: center;
  width: 36px;
  padding: 0;
  border-radius: 50%;
}
.mic-beat-play[aria-pressed="true"], #mic-preview[aria-pressed="true"] { border-color: var(--mic-accent); color: var(--mic-accent); }
#mic-record-effects[aria-pressed="true"] { border-color: #fa7d6f; color: #fa9b90; }
.mic-controls label { display: grid; gap: 8px; color: #e4d3b1; font-size: 13px; }
.mic-controls input { width: 100%; margin: 0; }
.mic-mix { margin-top: 13px; padding-top: 9px; border-top: 1px solid var(--room-line); }
.mic-mix-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
#mic-mix-lock { color: #d3c7ac; font-size: 11px; }
.mic-mix-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: end;
  gap: 9px 18px;
  margin: 0;
  padding: 0;
  min-width: 0;
  border: 0;
}
.mic-mix-content:disabled { opacity: .63; }
.mic-mix-content:disabled .mic-choices span { cursor: default; }
.mic-mix-content:disabled #mic-save { background: #193333; color: var(--room-paper); }
.mic-mix h3 { font-size: clamp(16px, 2.1vw, 27px); }
.mic-mix-levels { display: grid; gap: 5px; margin-block: 7px 10px; }
.mic-mix-levels label { display: grid; grid-template-columns: 3.4em minmax(0, 1fr); align-items: center; gap: 8px; font-size: 13px; }
.mic-mix-levels input, .mic-mix-progress input { width: 100%; margin: 0; }
.mic-mix .mic-presets { margin-bottom: 8px; }
.mic-mix-switches { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.mic-mix-switches { grid-column: 1 / -1; align-items: center; }
.mic-mix-switches select {
  min-height: 36px;
  padding: 4px 6px;
  border: 1px solid var(--room-line);
  border-radius: 5px;
  background: #12282a;
  color: var(--room-paper);
  font: inherit;
}
.mic-mix-output { display: flex; flex-wrap: wrap; grid-column: 1 / -1; gap: 8px; align-items: center; }
.mic-mix-progress { display: grid; flex: 1 1 8rem; gap: 1px; min-width: 0; }
.mic-mix-progress output { text-align: right; color: #e4d3b1; font: 10px ui-monospace, monospace; white-space: nowrap; }
.mic-mix #mic-save { background: var(--mic-accent); color: var(--room-ink); }
.mic-mix button:disabled, .mic-beat-play:disabled { opacity: .63; cursor: default; }
@media (max-width: 578px) {
  .mic-recording { grid-template-columns: minmax(0, 1fr) minmax(127px, 43%); gap: 8px; }
  .mic-visual { min-height: 195px; }
  .mic-beat-wave { height: 46%; }
  .booth-mic-figure { left: 60%; width: clamp(68px, 20vw, 100px); }
  .mic-beat-play, .mic-controls .mic-record, .mic-mix button { padding-inline: 6px; font-size: 12px; }
  .mic-controls { gap: 6px; }
  .mic-controls .mic-note { font-size: 11px; }
  .mic-mix-content { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .mic-mix-levels, .mic-mix .mic-presets { margin-bottom: 0; }
  .mic-mix-output { gap: 5px; }
}
