@property --tx {
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}

@property --ty {
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}

:root {
  --stage-ink: #fff4e4;
  --stage-muted: #e6d3e2;
  --stage-gold: #f2b53b;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --outline: drop-shadow(1.5px 0 0 #fff6e2) drop-shadow(-1.5px 0 0 #fff6e2) drop-shadow(0 1.5px 0 #fff6e2) drop-shadow(0 -1.5px 0 #fff6e2) drop-shadow(0 0 9px rgb(242 181 59 / 0.95));
  --outline-off: drop-shadow(0 0 0 rgb(255 246 226 / 0)) drop-shadow(0 0 0 rgb(255 246 226 / 0)) drop-shadow(0 0 0 rgb(255 246 226 / 0)) drop-shadow(0 0 0 rgb(255 246 226 / 0)) drop-shadow(0 0 0 rgb(242 181 59 / 0));
}

.views {
  display: flex;
  gap: 2px;
  padding: 2px;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: 999px;
}

.views button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--color-text-secondary);
  font: 600 14px/16px var(--font-sans);
  cursor: pointer;
  transition: background-color 150ms ease-out, color 150ms ease-out;
}

.views button:hover {
  background: var(--color-accent-soft);
  color: var(--color-text-primary);
}

.views button[aria-pressed='true'] {
  background: var(--color-accent-default);
  color: var(--color-text-on-accent);
}

body[data-view='room'] {
  height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(55% 50% at 50% 56%, rgb(242 140 60 / 0.2), transparent 72%),
    radial-gradient(130% 100% at 50% 30%, #4a2b55 0%, #2c1b33 52%, #170f1c 100%);
  color: var(--stage-ink);
  overscroll-behavior: none;
}

body[data-view='room'] .topbar,
body[data-view='room'] .banners {
  position: relative;
  z-index: 6;
  pointer-events: none;
}

body[data-view='room'] .topbar > *,
body[data-view='room'] .banners > * {
  pointer-events: auto;
}

.room {
  position: fixed;
  inset: 0;
  z-index: 0;
}

@media (min-width: 640px) {
  body[data-view='room'] {
    height: auto;
    min-height: max(100svh, var(--room-height, 0px));
    overflow: visible;
  }

  .room {
    position: absolute;
    inset: 0 0 auto;
    height: var(--room-height, 100svh);
  }
}

.room-hud {
  position: absolute;
  z-index: 5;
  top: 92px;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 8px;
  width: min(760px, 100% - 2 * var(--gutter));
  translate: -50% 0;
  text-align: center;
  pointer-events: none;
  text-shadow: 0 1px 2px rgb(10 4 14 / 0.85), 0 0 12px rgb(10 4 14 / 0.6);
}

.room-hud .eyebrow {
  margin: 0;
  color: var(--stage-gold);
  font: italic 600 18px/24px var(--font-serif);
}

.room-hud h1 {
  margin: 0;
  color: var(--stage-ink);
  font: 600 clamp(1.9rem, 1.2rem + 1.6vw, 2.6rem) / 1.05 var(--font-serif);
  text-shadow: 0 2px 0 #1b0f20, 0 0 32px rgb(242 181 59 / 0.35);
}

.room-lead {
  text-wrap: balance;
  color: var(--stage-muted);
  font-size: 15px;
  line-height: 22px;
}

.room-hud .chips {
  justify-content: center;
  margin: 4px 0 0;
}

.room-hud .chip {
  background: rgb(255 244 228 / 0.08);
  border-color: rgb(255 244 228 / 0.18);
  color: var(--stage-ink);
  backdrop-filter: blur(6px);
}

.room-hud .glyph-mine {
  color: #7fdcb5;
}

.room-hud .glyph-muted {
  color: var(--stage-muted);
}

.room-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.room-stage.is-pointing {
  cursor: pointer;
}

.room-stage.is-dragging {
  cursor: grabbing;
}

.room-camera {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  will-change: transform;
}

.room-scene {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 1800px;
  container-type: inline-size;
}

.room-tilt {
  position: absolute;
  inset: 0;
  transform: rotateX(calc(var(--ty) * -4deg)) rotateY(calc(var(--tx) * 5deg));
  will-change: transform;
  animation: room-sway 16s ease-in-out infinite;
}

.room-tilt.is-steered {
  animation: none;
}

.room-tilt::before {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -4%;
  height: 14%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(8 3 10 / 0.6), rgb(8 3 10 / 0));
  filter: blur(4px);
}

.room-plate {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  user-select: none;
  -webkit-user-drag: none;
}

.room-fx,
.room-things {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bulb {
  position: absolute;
  width: 3.4%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 238 196 / 0.95), rgb(255 196 110 / 0.4) 45%, rgb(255 196 110 / 0));
  mix-blend-mode: screen;
  animation: twinkle var(--t) ease-in-out var(--d) infinite;
}

.glow {
  position: absolute;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  mix-blend-mode: screen;
  animation: breathe 7s ease-in-out infinite;
}

.glow-lamp {
  width: 40%;
  background: radial-gradient(closest-side, rgb(255 208 140 / 0.5), rgb(255 170 80 / 0.16) 55%, rgb(255 170 80 / 0));
}

.glow-window {
  width: 26%;
  background: radial-gradient(closest-side, rgb(186 140 255 / 0.2), rgb(186 140 255 / 0));
  animation-duration: 11s;
}

.glow-monitor {
  width: 22%;
  background: radial-gradient(closest-side, rgb(110 170 255 / 0.3), rgb(110 170 255 / 0));
  animation: flicker 6s ease-in-out infinite;
}

.glow-tv {
  width: 30%;
  background: radial-gradient(closest-side, rgb(255 128 160 / 0.26), rgb(255 170 90 / 0.1) 60%, rgb(255 170 90 / 0));
  animation-duration: 9s;
}

.steam {
  position: absolute;
  width: 1.1%;
  height: 5.5%;
  translate: -50% -100%;
  border-radius: 50%;
  background: linear-gradient(to top, rgb(255 255 255 / 0), rgb(255 250 240 / 0.55) 45%, rgb(255 255 255 / 0));
  filter: blur(2px);
  opacity: 0;
  animation: steam 3.3s ease-out var(--d) infinite;
}

.mote {
  position: absolute;
  width: 0.42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff1d6;
  box-shadow: 0 0 6px 1px rgb(255 214 150 / 0.8);
  opacity: 0;
  animation: mote var(--t) linear var(--d) infinite;
}

.spark {
  position: absolute;
  z-index: 3000;
  width: 2.4%;
  aspect-ratio: 1;
  translate: -50% -50%;
  background: #fff6dc;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  filter: drop-shadow(0 0 4px #f2b53b);
  scale: 0;
  animation: spark 1s ease-out var(--d) both;
}

.thing {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  pointer-events: none;
}

.thing:focus-visible {
  outline: none;
}

.part {
  position: absolute;
  display: block;
  translate: calc(var(--tx) * var(--depth) * 0.7cqw) calc(var(--ty) * var(--depth) * 0.5cqw);
}

.part-img,
.part-shine {
  transform-origin: 50% 100%;
  transition: transform 320ms var(--spring), filter 200ms ease-out, opacity 280ms ease-out;
}

.part-img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.part-shadow {
  position: absolute;
  left: 0;
  right: -6%;
  bottom: -6%;
  aspect-ratio: 1.7;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(34 16 8 / 0.72) 78%, rgb(34 16 8 / 0.3) 90%, rgb(34 16 8 / 0));
  filter: blur(1.5px);
  opacity: 0;
  transition: opacity 600ms ease-out;
}

.part-shine {
  position: absolute;
  inset: 0;
  -webkit-mask: var(--mask) center / 100% 100% no-repeat;
  mask: var(--mask) center / 100% 100% no-repeat;
  background: linear-gradient(100deg, rgb(255 255 255 / 0) 38%, rgb(255 255 255 / 0.7) 50%, rgb(255 255 255 / 0) 62%) 160% 0 / 260% 100% no-repeat;
  opacity: 0;
}

.thing.is-hover .part-img,
.thing:focus-visible .part-img,
.thing.is-hover .part-shine,
.thing:focus-visible .part-shine {
  transform: translateY(-0.6cqw) scale(1.045);
}

.thing.is-hover .part-img,
.thing:focus-visible .part-img {
  filter: var(--outline);
}

.part.is-roaming .part-shadow {
  opacity: 1;
}

.part-frame {
  position: absolute;
  display: block;
  height: auto;
  opacity: 0;
  pointer-events: none;
  transition: transform 320ms var(--spring), opacity 400ms ease-out;
}

.thing.is-hover .part-frame,
.thing:focus-visible .part-frame {
  transform: translateY(-0.6cqw) scale(1.045);
}

.thing[data-state='taken'] .part-frame,
.thing[data-state='mine'] .part-frame {
  display: none;
}

.thing.act-ding .part-frame {
  animation: frame-hold 2.4s ease-in-out, ding 0.9s var(--spring) 1.5s;
}

.thing.act-print .part-frame {
  animation: frame-hold 2.4s ease-in-out, print 0.12s linear 0.3s 14;
}

.thing.act-glint .part-frame {
  animation: knife-sharpen 2.3s linear;
}

.thing.act-glint .part-shine {
  animation: shine 0.8s ease-out 2.15s;
}

.thing.act-buzz .part-frame {
  animation: frame-hold 1.4s ease-in-out, buzz 0.72s linear 0.2s;
}

.thing.act-bounce .part-ball .part-img {
  animation: ball-hop 1.3s linear;
}

.thing.act-bounce .part-ground-ball {
  animation: ball-shadow 1.3s linear;
}

.thing.act-buzz .part-trimmer .part-frame {
  filter: drop-shadow(0 0 0.5cqw rgb(74 222 128 / 0.9));
}

.part-printer::after {
  content: '';
  position: absolute;
  left: 15%;
  right: 22%;
  top: 24%;
  bottom: 18%;
  border-radius: 10%;
  background: radial-gradient(ellipse at 50% 42%, rgb(224 242 255 / 0.42), rgb(176 220 255 / 0.16) 52%, rgb(176 220 255 / 0) 72%);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
}

.part-printer::before {
  content: '';
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 31%;
  width: 0.7cqw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff1c9;
  box-shadow: 0 0 0.5cqw 0.25cqw rgb(255 150 40 / 0.95), 0 0 1.4cqw 0.3cqw rgb(255 120 30 / 0.5);
  translate: -50% -50%;
  opacity: 0;
  pointer-events: none;
}

.thing.act-print .part-printer::after {
  animation: frame-hold 2.4s ease-in-out;
}

.thing.act-print .part-printer::before {
  animation: nozzle-print 2.4s linear;
}

.print-layer {
  position: absolute;
  inset: 0;
  -webkit-mask: url('/assets/items/room/printer-object.webp') center / 100% 100% no-repeat;
  mask: url('/assets/items/room/printer-object.webp') center / 100% 100% no-repeat;
  background: linear-gradient(180deg, rgb(255 200 120 / 0), rgb(255 248 220) 40%, rgb(255 170 60) 62%, rgb(255 150 50 / 0)) 0 76% / 100% 11% no-repeat;
  filter: drop-shadow(0 0 0.35cqw rgb(255 170 60 / 0.95));
  opacity: 0;
  pointer-events: none;
}

.print-ghost {
  position: absolute;
  inset: 0;
  -webkit-mask: url('/assets/items/room/printer-object.webp') center / 100% 100% no-repeat;
  mask: url('/assets/items/room/printer-object.webp') center / 100% 100% no-repeat;
  background: rgb(40 32 34 / 0.86);
  clip-path: inset(0 0 30% 0);
  opacity: 0;
  pointer-events: none;
}

.thing.act-print .print-layer {
  animation: print-layer 2.4s linear;
}

.thing.act-print .print-ghost {
  animation: print-ghost 2.4s linear;
}

.thing[data-state='taken'] .part::before,
.thing[data-state='taken'] .part::after,
.thing[data-state='mine'] .part::before,
.thing[data-state='mine'] .part::after {
  display: none;
}

.spark-star {
  width: 1.6%;
  background: #ffffff;
  filter: drop-shadow(0 0 3px #fff6c8) drop-shadow(0 0 7px #ffd76a);
}

@keyframes ball-hop {
  0% {
    translate: 0 0;
    scale: 1;
    animation-timing-function: cubic-bezier(0.2, 0.7, 0.4, 1);
  }
  22% {
    translate: 0 -1.4cqw;
    scale: 0.97 1.04;
    animation-timing-function: cubic-bezier(0.6, 0, 0.8, 0.3);
  }
  42% {
    translate: 0 0;
    scale: 1.1 0.88;
    animation-timing-function: ease-out;
  }
  47% {
    translate: 0 0;
    scale: 1;
    animation-timing-function: cubic-bezier(0.2, 0.7, 0.4, 1);
  }
  64% {
    translate: 0 -0.7cqw;
    scale: 1;
    animation-timing-function: cubic-bezier(0.6, 0, 0.8, 0.3);
  }
  82% {
    translate: 0 0;
    scale: 1.06 0.93;
  }
  90%,
  100% {
    translate: 0 0;
    scale: 1;
  }
}

@keyframes ball-shadow {
  0%,
  42%,
  82%,
  100% {
    opacity: 1;
    scale: 1;
  }
  22% {
    opacity: 0.4;
    scale: 0.62;
  }
  64% {
    opacity: 0.7;
    scale: 0.8;
  }
}

.bubble {
  position: absolute;
  z-index: 3000;
  width: 0.85cqw;
  aspect-ratio: 1;
  border-radius: 50%;
  translate: -50% -50%;
  background: radial-gradient(circle at 35% 35%, #fff 0 30%, rgb(206 240 255 / 0.85) 55%, rgb(120 200 255 / 0.7));
  box-shadow: 0 0 0 0.07cqw rgb(160 230 255 / 0.9), 0 0 0.4cqw rgb(160 230 255 / 0.6);
  pointer-events: none;
  opacity: 0;
  animation: bubble 1.1s ease-out var(--d, 0ms) both;
}

@keyframes bubble {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.4);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(var(--bx, 0.3cqw), -2.4cqw) scale(1.1);
  }
}

@keyframes neon {
  0%,
  50%,
  100% {
    filter: none;
  }
  25%,
  75% {
    filter: drop-shadow(0 0 0.35cqw rgb(255 79 216 / 0.9)) drop-shadow(0 0 0.9cqw rgb(79 195 255 / 0.7)) brightness(1.12);
  }
}

.thing.is-roaming .part-vacuum .part-frame {
  opacity: 1;
  animation: frame-pulse 1.8s ease-in-out infinite;
}

.part-cat.is-poked .part-frame {
  animation: frame-hold 1.1s ease-in-out;
}

@keyframes frame-hold {
  0%,
  100% {
    opacity: 0;
  }
  14%,
  82% {
    opacity: 1;
  }
}

@keyframes frame-bounce {
  0% {
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  30% {
    opacity: 0;
  }
  44% {
    opacity: 1;
  }
  60%,
  100% {
    opacity: 0;
  }
}

@keyframes frame-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

.thing.is-hover .part-shine,
.thing:focus-visible .part-shine {
  animation: shine 1s ease-out;
}

.thing.is-hint .part-img {
  animation: hint 1.8s ease-in-out;
}

.thing.is-hint .part-shine {
  animation: shine 1.1s ease-out 0.25s;
}

.thing.is-coach .part-img {
  animation: coach 1.6s ease-in-out infinite;
}

.part-wrap {
  position: absolute;
  display: block;
  opacity: 0;
  pointer-events: none;
  transform-origin: 50% 100%;
  transition: opacity 280ms ease-out, transform 320ms var(--spring), filter 200ms ease-out;
}

.part-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.thing[data-state='taken'] .part-wrap,
.thing[data-state='mine'] .part-wrap {
  opacity: 1;
}

.thing[data-state='taken'] .part-img,
.thing[data-state='mine'] .part-img,
.thing[data-state='taken'] .part-shine,
.thing[data-state='mine'] .part-shine {
  opacity: 0;
}

.thing[data-state='taken'].is-hover .part-wrap,
.thing[data-state='taken']:focus-visible .part-wrap,
.thing[data-state='mine'].is-hover .part-wrap,
.thing[data-state='mine']:focus-visible .part-wrap {
  transform: translateY(-0.6cqw) scale(1.045);
  filter: var(--outline);
}

.part-cat .part-img {
  transform-origin: 50% 90%;
  animation: snooze 3.6s ease-in-out infinite;
}

.part-cat::after {
  content: 'z';
  position: absolute;
  top: 6%;
  left: 34%;
  color: var(--stage-ink);
  font: italic 600 1.4cqw/1 var(--font-serif);
  opacity: 0;
  animation: zzz 4.2s ease-out 1s infinite;
}

.part-cat.is-poked .part-img {
  animation: purr 280ms ease-in-out 4;
}

.part-piggy.is-poked .part-img {
  animation: jiggle 600ms var(--spring);
}

.part-ground {
  position: absolute;
  display: block;
  height: auto;
  pointer-events: none;
  transform-origin: 50% 70%;
  translate: calc(var(--tx) * var(--depth) * 0.7cqw) calc(var(--ty) * var(--depth) * 0.5cqw);
  transition: opacity 320ms ease-out, transform 320ms var(--spring);
}

.thing.is-hover .part-ground,
.thing:focus-visible .part-ground {
  opacity: 0.7;
  transform: scale(0.96);
}

.part-ground.is-away {
  opacity: 0;
  transition-duration: 900ms;
}

.tag {
  position: absolute;
  bottom: 100%;
  left: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.4em;
  width: max-content;
  max-width: 13em;
  padding: 0.34em 0.8em 0.36em 1.35em;
  translate: calc(-0.55em + var(--nudge, 0px)) calc(-1.5cqw - var(--lift, 0px));
  background: linear-gradient(170deg, #efd8ad 0%, #ddb880 100%);
  color: #3b2312;
  border: 1px solid rgb(118 76 34 / 0.45);
  border-radius: 0.3em 0.55em 0.55em 0.3em;
  box-shadow: 0 0.4em 0.9em rgb(20 8 16 / 0.35), inset 0 1px 0 rgb(255 255 255 / 0.45);
  font: 650 clamp(13px, 1.45cqw, 15px) / 1.15 var(--font-sans);
  white-space: nowrap;
  pointer-events: none;
  transform-origin: 0.55em 50%;
  animation: tag-sway 4.6s ease-in-out infinite;
}

.tag::before {
  content: '';
  position: absolute;
  left: 0.55em;
  top: 50%;
  width: 0.46em;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: #2b1824;
  box-shadow: 0 0 0 0.11em #cfa968, 0 0 0 0.16em rgb(110 70 30 / 0.55);
}

.tag::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 0.55em;
  width: 0.13em;
  height: var(--twine, calc(50% + 1.5cqw + var(--lift, 0px)));
  translate: -50% 0;
  transform-origin: 50% 0;
  rotate: var(--twist, 0rad);
  border-radius: 1px;
  background: repeating-linear-gradient(180deg, #c09359 0 0.28em, #8d6738 0.28em 0.4em);
}

.tag-mine::before {
  box-shadow: 0 0 0 0.16em #f2b53b, 0 0 0 0.22em rgb(140 90 10 / 0.6);
}

.tag-mine {
  background: linear-gradient(170deg, #ffdf86 0%, #e9a42e 100%);
  border-color: rgb(140 90 10 / 0.55);
  color: #3a2208;
}

.tag-icon {
  flex: none;
  width: 1.45em;
  height: auto;
}

.tag-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

@container (max-width: 640px) {
  .tag {
    padding-right: 0.45em;
  }

  .tag-name {
    display: none;
  }
}

.heart {
  position: absolute;
  z-index: 3000;
  translate: -50% -50%;
  color: #ff7aa6;
  font: 700 1.7cqw/1 system-ui, sans-serif;
  text-shadow: 0 0 8px rgb(255 122 166 / 0.7);
  opacity: 0;
  animation: heart 1.5s ease-out var(--d) both;
}

.room-money {
  max-width: 64ch;
  text-wrap: balance;
  color: #ffe2a0;
  font-size: 14px;
  line-height: 20px;
}

.room-money .glyph-piggy {
  display: inline-block;
  margin-right: 6px;
  vertical-align: -6px;
}

.lead-money .glyph {
  margin-top: 2px;
}

.room-foot {
  display: none;
}

.lead-money {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 640px;
  margin-top: 12px;
  color: var(--color-status-note-text);
  font-size: 16px;
  line-height: 24px;
}

.chip-money {
  display: none;
}

.room-label {
  position: absolute;
  z-index: 5000;
  display: grid;
  justify-items: center;
  gap: 2px;
  translate: -50% calc(-100% - 1.4cqw);
  padding: 8px 14px 9px;
  background: linear-gradient(180deg, #3b2342, #24132a);
  color: var(--stage-ink);
  border: 1.5px solid rgb(242 181 59 / 0.85);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgb(10 4 14 / 0.45), 0 0 0 4px rgb(242 181 59 / 0.14);
  font: 600 13px/18px var(--font-sans);
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  transform-origin: 50% 100%;
  animation: pop-in 240ms var(--spring) both;
}

.room-label strong {
  font: 600 17px/22px var(--font-serif);
}

.room-label-state {
  margin-top: 3px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgb(46 158 124 / 0.28);
  color: #a6ecd0;
  font-size: 12px;
  line-height: 16px;
}

.room-label-state[data-state='taken'] {
  background: rgb(140 108 196 / 0.32);
  color: #e0d1ff;
}

.room-label-state[data-state='mine'] {
  background: rgb(242 181 59 / 0.28);
  color: #ffe2a0;
}

.room-label::after,
.room-bubble::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  width: 12px;
  height: 12px;
  translate: -50% 0;
  rotate: 45deg;
  background: #24132a;
  border-right: 1.5px solid rgb(242 181 59 / 0.85);
  border-bottom: 1.5px solid rgb(242 181 59 / 0.85);
}

.room-bubble {
  position: absolute;
  z-index: 5000;
  width: max-content;
  max-width: 220px;
  translate: -50% calc(-100% - 0.8cqw);
  padding: 10px 14px;
  background: var(--stage-ink);
  color: var(--color-text-primary);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgb(10 4 14 / 0.45);
  font: 600 14px/19px var(--font-sans);
  text-align: center;
  pointer-events: none;
  transform-origin: 50% 100%;
  animation: pop-in 320ms var(--spring) both;
}

.room-bubble::after {
  background: var(--stage-ink);
  border: 0;
}

.room-bubble.is-coach {
  background: var(--stage-gold);
  animation: pop-in 320ms var(--spring) both, bob 1.6s ease-in-out 320ms infinite;
}

.room-bubble.is-coach::after {
  background: var(--stage-gold);
}

.confetti-piece {
  position: absolute;
  z-index: 4500;
  width: 0.8%;
  aspect-ratio: 0.6;
  border-radius: 1px;
  pointer-events: none;
}

.room.is-entering .room-tilt {
  animation: room-in 1100ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.room.is-entering .part {
  animation: part-in 640ms var(--spring) both;
  animation-delay: calc(520ms + var(--i, 18) * 55ms);
}

.room.is-entering .bulb {
  animation: bulb-on 500ms ease-out both;
  animation-delay: calc(1000ms + var(--i) * 45ms);
}

.item-view {
  display: grid;
  gap: 16px;
}

.item-view > * {
  order: 0;
}

.item-art {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6%;
  height: 210px;
  padding: 20px 16px 26px;
  overflow: hidden;
  border-radius: 20px;
  background: radial-gradient(70% 80% at 50% 72%, #7a4a86 0%, #3b2342 58%, #22122a 100%);
  box-shadow: inset 0 0 0 1px rgb(242 181 59 / 0.25), inset 0 -24px 40px rgb(10 4 14 / 0.35);
  box-sizing: border-box;
}

.item-art::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  aspect-ratio: 1;
  translate: -50% -46%;
  background: repeating-conic-gradient(from 0deg, rgb(255 214 140 / 0.16) 0deg 9deg, rgb(255 214 140 / 0) 9deg 24deg);
  -webkit-mask: radial-gradient(closest-side, #000 20%, transparent 72%);
  mask: radial-gradient(closest-side, #000 20%, transparent 72%);
  animation: rays 40s linear infinite;
}

.item-art::after {
  content: '';
  position: absolute;
  bottom: 16px;
  left: 50%;
  width: 62%;
  height: 22px;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(5 2 8 / 0.55), rgb(5 2 8 / 0));
}

.item-art img {
  position: relative;
  z-index: 1;
  flex: 0 1 auto;
  min-width: 0;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgb(255 200 120 / 0.35));
  animation: float 4.5s ease-in-out infinite;
}

.item-art img + img {
  animation-delay: -1.2s;
}

.item-view .model {
  font-size: 15px;
  line-height: 22px;
}

.item-view .badges,
.item-view .note,
.item-view .shop {
  margin: 0;
}

.item-view .item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
}

.item-view .price {
  align-self: center;
  margin: 0;
}

.tile img.art3d {
  object-fit: contain;
  padding: 5%;
  box-sizing: border-box;
  filter: drop-shadow(0 6px 8px rgb(42 30 47 / 0.18));
}

@media (min-width: 640px) {
  .card .tile img.art3d {
    width: 172px;
    height: 172px;
  }
}

@keyframes room-sway {
  0%,
  100% {
    --tx: 0;
    --ty: 0;
  }

  25% {
    --tx: 0.3;
    --ty: -0.15;
  }

  50% {
    --tx: 0;
    --ty: 0.2;
  }

  75% {
    --tx: -0.3;
    --ty: -0.1;
  }
}

@keyframes room-in {
  from {
    opacity: 0;
    transform: translateY(8%) rotateX(24deg) scale(0.86);
  }
}

@keyframes part-in {
  from {
    opacity: 0;
    transform: translateY(-4cqw) scale(0.6);
  }
}

@keyframes bulb-on {
  from {
    opacity: 0;
    scale: 0.2;
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.5;
    scale: 0.8;
  }

  50% {
    opacity: 1;
    scale: 1.15;
  }
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.75;
    scale: 0.96;
  }

  50% {
    opacity: 1;
    scale: 1.04;
  }
}

@keyframes flicker {
  0%,
  100% {
    opacity: 0.7;
  }

  40% {
    opacity: 1;
  }

  44% {
    opacity: 0.8;
  }

  48% {
    opacity: 1;
  }
}

@keyframes steam {
  0% {
    opacity: 0;
    transform: translateY(10%) scaleX(0.8);
  }

  30% {
    opacity: 0.75;
  }

  100% {
    opacity: 0;
    transform: translateY(-55%) translateX(var(--sway)) scaleX(1.7);
  }
}

@keyframes mote {
  0% {
    opacity: 0;
    transform: translate(0, 0);
  }

  20% {
    opacity: 0.85;
  }

  80% {
    opacity: 0.6;
  }

  100% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy));
  }
}

@keyframes spark {
  0% {
    scale: 0;
    rotate: 0deg;
    opacity: 1;
  }

  40% {
    scale: var(--s);
    opacity: 1;
  }

  100% {
    scale: 0;
    rotate: 90deg;
    opacity: 0;
  }
}

@keyframes shine {
  0% {
    opacity: 1;
    background-position: 160% 0;
  }

  100% {
    opacity: 1;
    background-position: -60% 0;
  }
}

@keyframes hint {
  0%,
  100% {
    filter: var(--outline-off);
    transform: none;
  }

  22%,
  64% {
    filter: var(--outline);
    transform: translateY(-0.35cqw) scale(1.025);
  }
}

@keyframes coach {
  0%,
  100% {
    filter: var(--outline-off);
    transform: none;
  }

  50% {
    filter: var(--outline);
    transform: translateY(-0.45cqw) scale(1.035);
  }
}

@keyframes snooze {
  0%,
  100% {
    scale: 1 1;
  }

  50% {
    scale: 1.012 1.03;
  }
}

@keyframes zzz {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.6);
  }

  20% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
    transform: translate(1.2cqw, -2.4cqw) scale(1.3);
  }
}

@keyframes jiggle {
  25% {
    rotate: -6deg;
    scale: 1.06 0.94;
  }

  55% {
    rotate: 5deg;
    scale: 0.96 1.05;
  }

  80% {
    rotate: -2deg;
  }
}

@keyframes purr {
  25% {
    rotate: -3deg;
  }

  75% {
    rotate: 3deg;
  }
}

@keyframes tag-sway {
  0%,
  100% {
    rotate: -2deg;
  }

  50% {
    rotate: 2deg;
  }
}

@keyframes heart {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.4);
  }

  25% {
    opacity: 1;
    transform: translateY(-0.6cqw) scale(1.15);
  }

  100% {
    opacity: 0;
    transform: translateY(-4cqw) scale(0.9);
  }
}

@keyframes pop-in {
  from {
    opacity: 0;
    scale: 0.85;
  }
}

@keyframes bob {
  50% {
    translate: -50% calc(-100% - 1.6cqw);
  }
}

@keyframes rays {
  to {
    rotate: 360deg;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 1099px) {
  .room-hud {
    gap: 6px;
  }

  .room-hud .chip-money {
    display: inline-flex;
  }

  .room-hud .eyebrow,
  .room-lead,
  .room-money {
    display: none;
  }

  .room-hud h1 {
    font-size: clamp(1.6rem, 1.2rem + 2vw, 2.2rem);
  }

  .room-hud .chips {
    margin: 0;
  }
}

@media (max-width: 639px) {
  .room-hud {
    top: 70px;
  }

  .room-foot {
    position: absolute;
    z-index: 5;
    bottom: calc(20px + env(safe-area-inset-bottom));
    left: 50%;
    display: block;
    width: min(340px, 100% - 2 * var(--gutter));
    translate: -50% 0;
    color: var(--stage-muted);
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    text-wrap: balance;
    pointer-events: none;
    text-shadow: 0 1px 2px rgb(10 4 14 / 0.85);
  }

  .room-hud h1 {
    font-size: 26px;
  }

  .room-label strong {
    font-size: 15px;
  }
}

@media (max-width: 519px) {
  .views button {
    padding: 0 13px;
  }

  .views button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .room-tilt {
    animation: none;
    transform: none;
  }

  .thing[data-state='free']:not(.is-hover, :focus-visible) .part-img,
  .thing[data-state='owner']:not(.is-hover, :focus-visible) .part-img {
    filter: drop-shadow(0 0 4px rgb(242 181 59 / 0.75));
  }
}

body[data-view='login'] {
  background:
    radial-gradient(55% 45% at 50% 50%, rgb(242 140 60 / 0.16), transparent 70%),
    radial-gradient(130% 100% at 50% 30%, #4a2b55 0%, #2c1b33 52%, #170f1c 100%);
  background-attachment: fixed;
}

body[data-view='login'] .login {
  position: relative;
  isolation: isolate;
}

body[data-view='login'] .login::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url('/assets/room/room-943.webp') center 62% / min(118vh, 150vw) no-repeat;
  opacity: 0.32;
  filter: blur(3px);
  animation: backdrop-drift 26s ease-in-out infinite alternate;
}

body[data-view='login'] .login-card {
  border-color: rgb(242 181 59 / 0.35);
  box-shadow: 0 24px 60px rgb(10 4 14 / 0.55), 0 0 0 6px rgb(242 181 59 / 0.1);
}

@keyframes backdrop-drift {
  to {
    transform: scale(1.06) translateY(-1.5%);
  }
}

.login-gift {
  justify-self: center;
  filter: drop-shadow(0 10px 12px rgb(42 30 47 / 0.25));
  animation: float 4.5s ease-in-out infinite;
}

body[data-view='room'] .banner {
  color: var(--color-text-primary);
}

.thing.act-buzz .part-img {
  animation: buzz 0.72s linear 0.2s;
}

.thing.act-ding .part-img {
  animation: ding 0.9s var(--spring) 1.5s;
}

.thing.act-print .part-img {
  animation: print 0.12s linear 0.3s 14, glow 0.72s ease-in-out;
}

.thing.act-glow .part-img {
  animation: neon 1.8s ease-in-out;
}

.thing.act-glow .part-shine {
  animation: shine 1.1s ease-out 0.35s;
}

.thing.act-rock .part-img {
  transform-origin: 30% 100%;
  animation: rock 1.2s ease-in-out;
}

.thing.act-gleam .part-img,
.thing.act-gleam .part-shine {
  transform-origin: 50% 85%;
}

.thing.act-gleam .part-img {
  animation: cable-spring 1.6s ease-in-out;
}

.thing.act-gleam .part-shine {
  background-image: linear-gradient(100deg, rgb(255 255 255 / 0) 45%, rgb(255 255 255 / 0.85) 50%, rgb(255 255 255 / 0) 55%);
  animation: shine 1.3s ease-in-out 0.15s, cable-spring 1.6s ease-in-out;
}

.thing.act-jiggle .part-wrap {
  animation: jiggle 0.65s var(--spring);
}

@keyframes buzz {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    translate: -0.17cqw 0;
    rotate: -1.6deg;
  }

  20%,
  40%,
  60%,
  80% {
    translate: 0.17cqw 0;
    rotate: 1.6deg;
  }
}

@keyframes ding {
  0%,
  100% {
    translate: 0 0;
    scale: 1;
  }

  30% {
    translate: 0 -0.55cqw;
    scale: 1.03 0.97;
    filter: brightness(1.18);
  }

  55% {
    translate: 0 0;
    scale: 0.98 1.03;
  }
}

@keyframes print {
  0%,
  100% {
    translate: 0 0;
  }

  25% {
    translate: 0.07cqw 0;
  }

  75% {
    translate: -0.07cqw 0;
  }
}

@keyframes glow {
  50% {
    filter: brightness(1.16) saturate(1.1);
  }
}

@keyframes rock {
  25% {
    rotate: -2.2deg;
  }

  55% {
    rotate: 1.6deg;
  }

  80% {
    rotate: -0.8deg;
  }
}

.glyph-piggy {
  width: 24px;
  height: auto;
  object-fit: contain;
}

.chip .glyph-piggy {
  width: 20px;
}

body[data-view='room'] .views,
body[data-view='room'] .langs {
  background: rgb(30 14 38 / 0.5);
  border-color: rgb(255 236 210 / 0.2);
  box-shadow: 0 8px 24px rgb(10 4 14 / 0.35), inset 0 1px 0 rgb(255 255 255 / 0.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
}

body[data-view='room'] .views button,
body[data-view='room'] .langs button {
  color: var(--stage-muted);
}

body[data-view='room'] .views button:hover,
body[data-view='room'] .langs button:hover {
  background: rgb(255 255 255 / 0.1);
  color: var(--stage-ink);
}

body[data-view='room'] .views button[aria-pressed='true'],
body[data-view='room'] .langs button[aria-pressed='true'] {
  background: linear-gradient(180deg, #ffd97f, #eaa635);
  color: #2b1608;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.5), 0 2px 8px rgb(242 181 59 / 0.35);
}

body[data-view='room'] .banners {
  position: fixed;
  z-index: 6;
  left: max(var(--gutter), calc((100vw - 1440px) / 2 + var(--gutter)));
  bottom: 24px;
  max-width: min(360px, calc(100vw - 2 * var(--gutter)));
  margin: 0;
  padding: 0;
}

body[data-view='room'] .banner-owner {
  padding: 8px 14px;
  border: 1px solid rgb(242 181 59 / 0.45);
  border-radius: 999px;
  background: rgb(30 14 38 / 0.72);
  color: var(--stage-ink);
  font-size: 13px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

body[data-view='room'] .banner-owner .glyph {
  color: var(--stage-gold);
}

@media (max-width: 640px) {
  body[data-view='room'] .banners {
    bottom: 16px;
  }
}

.topbar-end {
  display: flex;
  align-items: center;
  gap: 8px;
}

.times button {
  padding: 0 12px;
}

.times .glyph {
  width: 18px;
  height: 18px;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.9s;
  animation-timing-function: ease-in-out;
}

body[data-view='room'][data-time='day'] {
  background:
    radial-gradient(55% 50% at 50% 56%, rgb(255 236 200 / 0.75), transparent 72%),
    radial-gradient(130% 100% at 50% 25%, #fbf6ee 0%, #f3e9dc 55%, #e7d8c5 100%);
  color: #2e2219;
}

body[data-view='room'][data-time='day'] .room-hud {
  text-shadow: 0 1px 0 rgb(255 255 255 / 0.7);
}

body[data-view='room'][data-time='day'] .room-hud h1 {
  color: #2a1a33;
  text-shadow: 0 2px 0 rgb(255 255 255 / 0.85), 0 0 28px rgb(255 255 255 / 0.9);
}

body[data-view='room'][data-time='day'] .room-hud .eyebrow {
  color: #a8650f;
}

body[data-view='room'][data-time='day'] .room-lead {
  color: #45515d;
}

body[data-view='room'][data-time='day'] .room-money {
  color: #5e2547;
}

body[data-view='room'][data-time='day'] .room-foot {
  color: #45515d;
  text-shadow: 0 1px 0 rgb(255 255 255 / 0.7);
}

body[data-view='room'][data-time='day'] .room-hud .chip {
  background: rgb(255 252 246 / 0.86);
  border-color: rgb(90 60 30 / 0.2);
  box-shadow: 0 4px 14px rgb(110 75 40 / 0.16);
  color: #2a1a33;
}

body[data-view='room'][data-time='day'] .room-hud .glyph-mine {
  color: #1d9566;
}

body[data-view='room'][data-time='day'] .views,
body[data-view='room'][data-time='day'] .langs {
  background: rgb(255 252 246 / 0.78);
  border-color: rgb(90 60 30 / 0.16);
  box-shadow: 0 8px 24px rgb(110 75 40 / 0.16), inset 0 1px 0 rgb(255 255 255 / 0.8);
}

body[data-view='room'][data-time='day'] .views button,
body[data-view='room'][data-time='day'] .langs button {
  color: #4a3b55;
}

body[data-view='room'][data-time='day'] .views button:hover,
body[data-view='room'][data-time='day'] .langs button:hover {
  background: rgb(40 30 60 / 0.07);
  color: #2a1a33;
}

body[data-view='room'][data-time='day'] .views button[aria-pressed='true'],
body[data-view='room'][data-time='day'] .langs button[aria-pressed='true'] {
  background: linear-gradient(180deg, #ffd97f, #eaa635);
  color: #2b1608;
}

body[data-view='room'][data-time='day'] .banner-owner {
  background: rgb(255 255 255 / 0.78);
  border-color: rgb(176 109 18 / 0.4);
  color: #2a1a33;
}

.room[data-time='day'] .bulb,
.room[data-time='day'] .mote,
.room[data-time='day'] .glow {
  display: none;
}

@media (max-width: 519px) {
  .topbar-end {
    gap: 6px;
  }

  .views button {
    padding: 0 11px;
  }

  .times button {
    padding: 0 9px;
  }

  .langs button {
    min-width: 38px;
    padding: 0 2px;
  }
}

@keyframes knife-sharpen {
  0%,
  100% {
    opacity: 0;
  }

  6%,
  14%,
  32%,
  40%,
  58%,
  66%,
  84%,
  92% {
    opacity: 1;
  }

  20%,
  26%,
  46%,
  52%,
  72%,
  78% {
    opacity: 0;
  }
}

@keyframes print-layer {
  0% {
    opacity: 0;
    background-position: 0 76%;
  }

  8% {
    opacity: 1;
  }

  90% {
    opacity: 1;
    background-position: 0 47%;
  }

  100% {
    opacity: 0;
    background-position: 0 47%;
  }
}

@keyframes nozzle-print {
  0% {
    opacity: 0;
    left: 29%;
    top: 69%;
  }

  3% {
    opacity: 1;
    left: 29%;
    top: 69%;
  }

  6.64% {
    opacity: 1;
    left: 37.5%;
    top: 67.96%;
  }

  7.07% {
    opacity: 0;
    left: 38.5%;
    top: 67.84%;
  }

  11.79% {
    opacity: 0;
    left: 49.5%;
    top: 66.49%;
  }

  12.21% {
    opacity: 1;
    left: 50.5%;
    top: 66.37%;
  }

  15% {
    opacity: 1;
    left: 57%;
    top: 65.57%;
  }

  17.79% {
    opacity: 1;
    left: 50.5%;
    top: 64.78%;
  }

  18.21% {
    opacity: 0;
    left: 49.5%;
    top: 64.65%;
  }

  22.93% {
    opacity: 0;
    left: 38.5%;
    top: 63.31%;
  }

  23.36% {
    opacity: 1;
    left: 37.5%;
    top: 63.18%;
  }

  27% {
    opacity: 1;
    left: 29%;
    top: 62.14%;
  }

  30.64% {
    opacity: 1;
    left: 37.5%;
    top: 61.1%;
  }

  31.07% {
    opacity: 0;
    left: 38.5%;
    top: 60.98%;
  }

  35.79% {
    opacity: 0;
    left: 49.5%;
    top: 59.63%;
  }

  36.21% {
    opacity: 1;
    left: 50.5%;
    top: 59.51%;
  }

  39% {
    opacity: 1;
    left: 57%;
    top: 58.71%;
  }

  41.79% {
    opacity: 1;
    left: 50.5%;
    top: 57.92%;
  }

  42.21% {
    opacity: 0;
    left: 49.5%;
    top: 57.8%;
  }

  46.93% {
    opacity: 0;
    left: 38.5%;
    top: 56.45%;
  }

  47.36% {
    opacity: 1;
    left: 37.5%;
    top: 56.33%;
  }

  51% {
    opacity: 1;
    left: 29%;
    top: 55.29%;
  }

  54.64% {
    opacity: 1;
    left: 37.5%;
    top: 54.24%;
  }

  55.07% {
    opacity: 0;
    left: 38.5%;
    top: 54.12%;
  }

  59.79% {
    opacity: 0;
    left: 49.5%;
    top: 52.78%;
  }

  60.21% {
    opacity: 1;
    left: 50.5%;
    top: 52.65%;
  }

  63% {
    opacity: 1;
    left: 57%;
    top: 51.86%;
  }

  65.79% {
    opacity: 1;
    left: 50.5%;
    top: 51.06%;
  }

  66.21% {
    opacity: 0;
    left: 49.5%;
    top: 50.94%;
  }

  70.93% {
    opacity: 0;
    left: 38.5%;
    top: 49.59%;
  }

  71.36% {
    opacity: 1;
    left: 37.5%;
    top: 49.47%;
  }

  75% {
    opacity: 1;
    left: 29%;
    top: 48.43%;
  }

  78.64% {
    opacity: 1;
    left: 37.5%;
    top: 47.39%;
  }

  79.07% {
    opacity: 0;
    left: 38.5%;
    top: 47.27%;
  }

  83.79% {
    opacity: 0;
    left: 49.5%;
    top: 45.92%;
  }

  84.21% {
    opacity: 1;
    left: 50.5%;
    top: 45.8%;
  }

  87% {
    opacity: 1;
    left: 57%;
    top: 45%;
  }

  92% {
    opacity: 1;
    left: 57%;
    top: 45%;
  }

  100% {
    opacity: 0;
    left: 57%;
    top: 45%;
  }
}

@keyframes cable-spring {
  0%,
  100% {
    transform: none;
  }

  12% {
    transform: translateY(-6%) scale(0.94, 1.08);
  }

  30% {
    transform: scale(1.38, 0.7) skewX(-12deg);
  }

  42% {
    transform: scale(1.38, 0.7) skewX(-12deg);
  }

  56% {
    transform: scale(0.88, 1.12) skewX(5deg);
  }

  68% {
    transform: scale(1.06, 0.95) skewX(-2deg);
  }

  80% {
    transform: scale(0.98, 1.02);
  }

  72% {
    transform: none;
  }
}

.chip-spot {
  font: inherit;
  cursor: pointer;
  pointer-events: auto;
  transition: background-color 200ms ease-out, color 200ms ease-out, box-shadow 200ms ease-out;
}

.chip-spot .glyph {
  color: var(--stage-gold);
}

.room-hud .chip-spot[aria-pressed='true'] {
  background: linear-gradient(180deg, #ffd97f, #eaa635);
  border-color: rgb(140 90 10 / 0.5);
  box-shadow: 0 0 18px rgb(242 181 59 / 0.55);
  color: #2b1608;
  text-shadow: none;
}

.room-hud .chip-spot[aria-pressed='true'] .glyph {
  color: #2b1608;
}

.room-plate,
.room-things > .part,
.room-things > .part-ground {
  transition: filter 450ms ease-out;
}

.room.is-spot .room-plate,
.room.is-spot .room-things > .part,
.room.is-spot .room-things > .part-ground {
  filter: brightness(0.4) saturate(0.6);
}

body[data-time='day'] .room.is-spot .room-plate,
body[data-time='day'] .room.is-spot .room-things > .part,
body[data-time='day'] .room.is-spot .room-things > .part-ground {
  filter: brightness(0.56) saturate(0.75);
}

.room.is-spot .room-fx .glow {
  opacity: 0.35;
}

.room.is-spot .thing .part-img,
.room.is-spot .thing .part-wrap img {
  filter: var(--outline) !important;
}

.chip-spot .glyph-on,
.chip-spot[aria-pressed='true'] .glyph-off {
  display: none;
}

.chip-spot[aria-pressed='true'] .glyph-on {
  display: block;
}

@keyframes print-ghost {
  0% {
    opacity: 0;
    clip-path: inset(0 0 30% 0);
  }

  8% {
    opacity: 1;
    clip-path: inset(0 0 30% 0);
  }

  90% {
    opacity: 1;
    clip-path: inset(0 0 56% 0);
  }

  100% {
    opacity: 0;
    clip-path: inset(0 0 56% 0);
  }
}
