
[hidden] { display: none !important; }

html.scene-on, html.scene-on body { height: 100dvh; overflow: hidden; }

html:not(.shop-ready) body > * {
  visibility: hidden;
  animation: shop-boot-fallback 0s 5s forwards;
}
@keyframes shop-boot-fallback { to { visibility: visible; } }

html.scene-on body {
  display: block;
  margin: 0;
}

html.scene-on .topbar {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  z-index: 20;
  width: auto;
  max-width: min(100%, 720px);
  padding: 6px 12px 22px 40px;
  border: 0;

  background: linear-gradient(200deg,
    rgb(11 11 13 / 86%) 0%, rgb(11 11 13 / 52%) 52%, rgb(11 11 13 / 0%) 100%);
}

html.scene-on .topbar-row { justify-content: flex-end; gap: 8px; }
html.scene-on .wordmark { font-size: 12px; opacity: 0.7; font-weight: 600; }
html.scene-on .count { font-size: 11px; opacity: 0.6; }

html.scene-on .controls {
  justify-content: flex-end;
  margin-top: 5px;
  gap: 6px;
}

html.scene-on .controls .btn {
  padding: 3px 9px;
  font-size: 12px;
  background: rgb(20 20 24 / 78%);
}

html.scene-on #listings,
html.scene-on #shop-empty,
html.scene-on #my-tickets { display: none; }

html.scene-on #shop-error {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 3vh;
  max-width: min(520px, 92vw);
  transform: translateX(-50%);
}

html.scene-on .main {
  position: relative;
  height: 100dvh;
  max-width: none;
  margin: 0;
  padding: 0;
}

#scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #0b0b0d;

  container-type: size;
}

#scene-plate {
  --plate-aspect: 1.7768;

  --pw: min(100cqw, calc(100cqh * var(--plate-aspect)));
  --ph: min(100cqh, calc(100cqw / var(--plate-aspect)));
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  width: var(--pw);
  height: var(--ph);
}

@media (min-aspect-ratio: 1768/1000) and (max-aspect-ratio: 1786/1000) {
  #scene-plate {
    --pw: max(100cqw, calc(100cqh * var(--plate-aspect)));
    --ph: max(100cqh, calc(100cqw / var(--plate-aspect)));
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
  }
}

#scene-plate::before {
  --bx: max(0px, calc((100cqw - var(--pw)) / 2));
  --by: max(0px, calc(100cqh - var(--ph)));
  --ground: 11 11 13;
  content: "";
  position: absolute;
  top: calc(-1 * var(--by));
  bottom: 0;
  left: calc(-1 * var(--bx));
  right: calc(-1 * var(--bx));
  pointer-events: none;
  background-color: rgb(var(--ground));
  background-repeat: no-repeat;
  background-image:
    linear-gradient(to left, rgb(var(--ground) / 0%), rgb(var(--ground) / 30%) 30%,
      rgb(var(--ground) / 75%) 70%, rgb(var(--ground)) 100%),
    linear-gradient(to right, rgb(var(--ground) / 0%), rgb(var(--ground) / 30%) 30%,
      rgb(var(--ground) / 75%) 70%, rgb(var(--ground)) 100%),
    linear-gradient(to top, rgb(var(--ground) / 0%), rgb(var(--ground) / 30%) 30%,
      rgb(var(--ground) / 75%) 70%, rgb(var(--ground)) 100%),
    linear-gradient(to bottom, #391f28 5%, #3a2029 15%, #372028 25%, #351f27 35%, #351f27 45%,
      #321e27 55%, #342028 65%, #2e2128 75%, #272c35 85%, #262c36 95%),
    linear-gradient(to bottom, #3f212a 5%, #3c222a 15%, #392129 25%, #3a222a 35%, #392129 45%,
      #372129 55%, #39212a 65%, #351f29 75%, #31222b 85%, #272c35 95%),
    linear-gradient(to right, #34232b 5%, #3b2028 15%, #3d212a 25%, #1c1b33 35%, #08163b 45%,
      #07153b 55%, #241f2d 65%, #111117 75%, #1b141a 85%, #372129 95%);
  background-size:
    var(--bx) 100%, var(--bx) 100%, 100% var(--by),
    var(--bx) 100%, var(--bx) 100%, 100% var(--by);
  background-position:
    left top, right top, left top,
    left top, right top, left top;
}

.scene-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: 0;

  transition: opacity 260ms ease;
}

.scene-bg.is-lit { opacity: 1; }

#scene-lamp {
  position: absolute;
  left: 74.5%;
  top: 8.5%;
  width: 9%;
  height: 14%;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  z-index: 4;
}

#scene-lamp:hover { box-shadow: 0 0 0 2px rgb(255 255 255 / 22%); }

#scene-keypad {
  position: absolute;
  left: 74.9%;
  top: 50.6%;
  width: 2.3%;
  height: 6.3%;
  padding: 0;
  border: 0;
  background: none;
  cursor: default;
  outline: none;
  z-index: 4;
  -webkit-tap-highlight-color: transparent;
}

#scene-power-box {
  position: absolute;
  left: 89.6%;
  top: 27.6%;
  width: 8.5%;
  height: 20.6%;
  padding: 0;
  border: 0;
  background: none;
  cursor: default;
  outline: none;
  z-index: 4;
  -webkit-tap-highlight-color: transparent;
}

#scene-poster {
  position: absolute;
  left: 9.5%;
  top: 4%;
  width: 13.7%;
  height: 39%;
  z-index: 4;
  display: block;
  pointer-events: none;
}
#scene-poster svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
#scene-poster svg > polygon {
  pointer-events: all;
  cursor: pointer;
  fill: transparent;
  stroke: transparent;
  stroke-width: 2px;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transition: stroke 0.15s ease, fill 0.15s ease, filter 0.15s ease;
}
#scene-poster:focus-visible { outline: none; }
#scene-poster:focus-visible svg > polygon { stroke: var(--accent); }

.poster-eye {
  position: absolute;
  width: 8%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;

  background: radial-gradient(circle closest-side, transparent 0 24%, rgb(150 255 165 / 84%) 30%,
    rgb(61 220 107 / 48%) 50%, rgb(61 220 107 / 14.4%) 72%, transparent 100%);
  mix-blend-mode: screen;
  animation: scene-poster-eyes 3.8s ease-in-out infinite;
}
.poster-eye.is-left { left: 49.7%; top: 61.7%; }
.poster-eye.is-right { left: 74.4%; top: 64.2%; }

html.scene-on .topbar-row,
html.scene-on #alley-link,
html.scene-on #admin-link { display: none; }
html.scene-on .topbar { background: none; pointer-events: none; }
html.scene-on .topbar .btn { pointer-events: auto; }

@keyframes scene-poster-eyes {
  0% { opacity: 0; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  32% { opacity: 0.9; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  64%, 100% { opacity: 0; }
}
#scene-lamp:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.scene-look { display: none; }
@media (max-aspect-ratio: 1/1) {
  .scene-look:not([hidden]) {
    display: grid;
    place-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgb(242 239 232 / 35%);
    border-radius: 50%;
    background: rgb(20 20 24 / 78%);
    color: #f2efe8;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
  }
  .scene-look svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  #scene.is-open .scene-look { display: none; }
  .scene-look-left { left: 10px; }
  .scene-look-right { right: 10px; }
  .scene-look:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

#scene-figure {
  position: absolute;

  bottom: calc(-0.01 * var(--ph));
  left: 50%;
  height: calc(0.96 * var(--ph));
  aspect-ratio: 1;
  transform: translateX(-50%);
  z-index: 3;

  pointer-events: none;
}

@media (min-aspect-ratio: 1768/1000) and (max-aspect-ratio: 1786/1000) {
  #scene-figure {
    bottom: calc((var(--ph) - 100cqh) / 2 - 1cqh);
    height: 96cqh;
  }
}

@media (max-aspect-ratio: 1/1) {
  #scene-plate {
    --pw: max(100cqw, calc(100cqh * var(--plate-aspect)));
    --ph: max(100cqh, calc(100cqw / var(--plate-aspect)));
    top: 50%;
    bottom: auto;

    transform: translate(calc(-50% + var(--pan, 0px)), -50%);
  }

  #scene { touch-action: pan-y; }
  #scene-figure {
    bottom: calc((var(--ph) - 100cqh) / 2 - 1cqh);
    height: min(96cqh, calc((100cqw - 16px) / 0.62));
  }
}

@media (min-aspect-ratio: 1/1) and (max-height: 666px) {
  #scene-figure {
    --fh: max(calc(0.96 * var(--ph)), min(calc((100cqh - 8px) / 0.62), 640px));
    transition: height 270ms ease, bottom 270ms ease;
  }
  #scene.is-open #scene-figure {
    height: var(--fh);
    bottom: min(calc(-0.01 * var(--ph)), calc(100cqh - 0.988 * var(--fh)));

    z-index: 5;
  }
  #scene.is-open .scene-slot-label {
    padding: 2% 3%;
  }
}

#scene-seller {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  pointer-events: auto;

  clip-path: inset(0 18% 0 18%);
}

#scene.is-spread #scene-seller { clip-path: none; }
#scene-seller:focus-visible { outline: none; }
#scene-seller:focus-visible .scene-canvas,
#scene-seller:focus-visible .scene-frame:not([hidden]) {
  filter: drop-shadow(0 0 6px rgb(255 255 255 / 55%));
}

.scene-canvas,
.scene-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#scene.has-canvas .scene-frame { opacity: 0; }

#scene-slots {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  opacity: 0;
  pointer-events: none;
}

#scene.has-boards #scene-slots {
  opacity: 1;
  transition: opacity 90ms ease;
}

.scene-slot {
  --slot: 0.175;
  position: absolute;
  left: calc(var(--sx) * 100%);
  top: calc(var(--sy) * 100%);
  width: calc(var(--slot) * 100%);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  pointer-events: none;
}

#scene.has-boards .scene-slot:not(:disabled) { pointer-events: auto; }
.scene-slot:disabled { cursor: default; }

.scene-slot-frame,
.scene-slot-glass {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.scene-slot-frame { z-index: 1; }

.scene-slot-glass { z-index: 3; }

.scene-slot:not(.is-empty) .scene-slot-glass { opacity: 0.22; }

.scene-slot-window {
  container-type: size;
  position: absolute;
  left: 26.3%;
  top: 22.9%;
  width: 50.2%;
  height: 65.3%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  pointer-events: none;
  background: #0e0e10;
}

.scene-slot-grid {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  gap: 1px;
  overflow: hidden;
}

.scene-slot-grid > * { min-width: 0; min-height: 0; }
.scene-slot-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.scene-slot-grid[data-count="1"] { grid-template: 1fr / 1fr; }
.scene-slot-grid[data-count="2"] { grid-template: 1fr 1fr / 1fr; }
.scene-slot-grid[data-count="3"] { grid-template: 1fr 1fr / 1fr 1fr; }
.scene-slot-grid[data-count="3"] > :first-child { grid-column: span 2; }
.scene-slot-grid[data-count="4"] { grid-template: 1fr 1fr / 1fr 1fr; }

@font-face {
  font-family: "Bebas Neue";
  src: url("/fonts/bebas-neue.woff2") format("woff2");
  font-display: swap;
}

.scene-slot-label {
  flex: 0 0 auto;
  padding: 3% 4% 1%;
  background: #000;
  color: #f2ead6;

  font: 400 clamp(11px, 23cqw, 20px) / 1.05 "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-align: center;

  overflow: hidden;
}

.scene-slot-label em { font-style: normal; color: #ffcf3f; }

.scene-slot-line {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  font-size: calc(var(--fit, 1) * 1em);

  line-height: calc(1.05em / var(--fit, 1));
}

.scene-slot-run { display: inline-block; }

.scene-slot-crown { display: inline-block; height: .92em; width: auto; aspect-ratio: 50 / 40;
  vertical-align: -.16em; margin-left: .18em; overflow: visible;
  fill: none; stroke: #ffcf3f; stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; }
.scene-slot-crown path + path { stroke-width: 2.6; }

.scene-slot-label:empty { display: none; }

.scene-slot.is-empty .scene-slot-window { background: none; }
.scene-slot.is-empty .scene-slot-frame,
.scene-slot.is-empty .scene-slot-glass { opacity: 0.5; }

.scene-slot:not(:disabled):hover .scene-slot-frame,
.scene-slot:not(:disabled):focus-visible .scene-slot-frame {
  filter: drop-shadow(0 0 8px rgb(255 255 255 / 65%));
}

.scene-slot:focus-visible { outline: none; }

.scene-slot-get {
  --slot: 0.175;
  position: absolute;
  left: calc((var(--sx) + var(--slot) * 0.263) * 100%);
  top: calc((var(--sy) + var(--slot) * 0.229) * 100%);
  width: calc(var(--slot) * 50.2%);
  height: calc(var(--slot) * 65.3%);

  z-index: 4;
  display: flex;
  align-items: center;
  padding: 2px;
  box-sizing: border-box;
  background: #0b0b0b;
  border: 0;
  color: #ffcf3f;
  font: 400 12px / .95 "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}
.scene-slot-get[hidden] { display: none; }
#scene.has-boards .scene-slot-get { visibility: visible; pointer-events: auto; }

.scene-slot-get span {
  flex: 1 1 auto;
  min-width: 0;
  font-size: var(--get-fs, 11px);
}

.scene-slot-get:hover,
.scene-slot-get:focus-visible { color: #fff; outline: 3px solid #f2ead6; outline-offset: -3px; }

.scene-guide {
  --gk: 1;
  position: absolute;
  left: var(--gx, -9999px);
  top: var(--gy, -9999px);
  z-index: 8;
  margin: 0;
  max-width: calc(100% - 16px);
  padding: calc(8px * var(--gk)) calc(14px * var(--gk));
  background: #f2ead6;
  color: #000;
  border: 3px solid #000;
  border-radius: 14px;
  box-shadow: 4px 4px 0 #000;
  font: 800 clamp(14px, calc(16px * var(--gk)), 24px) / 1.2 var(--font);
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  animation: scene-guide-in 200ms ease-out;
}
.scene-guide[hidden] { display: none; }
@keyframes scene-guide-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.scene-guide::before,
.scene-guide::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: solid transparent;
}
.scene-guide[data-point="up"]::before { left: 50%; bottom: 100%; margin-left: -12px; border-width: 0 12px 13px; border-bottom-color: #000; }
.scene-guide[data-point="up"]::after { left: 50%; bottom: 100%; margin-left: -8px; margin-bottom: -4px; border-width: 0 8px 9px; border-bottom-color: #f2ead6; }
.scene-guide[data-point="right"]::before { top: 50%; left: 100%; margin-top: -12px; border-width: 12px 0 12px 13px; border-left-color: #000; }
.scene-guide[data-point="right"]::after { top: 50%; left: 100%; margin-top: -8px; margin-left: -4px; border-width: 8px 0 8px 9px; border-left-color: #f2ead6; }
.scene-guide[data-point="left"]::before { top: 50%; right: 100%; margin-top: -12px; border-width: 12px 13px 12px 0; border-right-color: #000; }
.scene-guide[data-point="left"]::after { top: 50%; right: 100%; margin-top: -8px; margin-right: -4px; border-width: 8px 9px 8px 0; border-right-color: #f2ead6; }

@media (prefers-reduced-motion: reduce) {
  .scene-guide { animation: none; }
}

#scene-bubble {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  --k: 1;
}

.scene-bubble-ink { position: absolute; inset: 0; overflow: visible; }

.scene-bubble-outline {
  fill: #000;
  stroke: #000;
  stroke-width: calc(8px * var(--k));
  stroke-linejoin: round;
}
.scene-bubble-paper { fill: #f2ead6; }
.scene-bubble-shape { opacity: 0; transform: scale(0.08); }

.scene-bubble-text {
  position: absolute;
  margin: 0;
  color: #000;
  font: 800 clamp(14px, calc(26px * var(--k)), 26px) / 1.2 var(--font);
  text-align: center;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.scene-bubble-text .is-unsaid { visibility: hidden; }

#scene-bubble.is-saying .scene-bubble-shape {
  animation: bubble-grow 550ms cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
@keyframes bubble-grow {
  0% { opacity: 0; transform: scale(0.08); }
  35% { opacity: 1; }
  100% { opacity: 1; transform: scale(1); }
}

#scene-bubble.is-still .scene-bubble-shape { animation: none; opacity: 1; transform: none; }

#scene-zoom {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
}

.scene-zoom-scrim {
  position: absolute;
  inset: 0;
  background: rgb(6 6 8 / 72%);
}

.scene-zoom-card {
  position: relative;
  box-sizing: border-box;
  width: min(92vw, 400px, calc(92vh - 230px));
  max-height: 96%;
  overflow: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: #f2ead6;
  color: #141416;
  box-shadow: 0 10px 40px rgb(0 0 0 / 60%);
}

.scene-zoom-x {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 30px;
  height: 30px;
  padding: 0;
  box-sizing: border-box;
  border: 0;
  border-radius: 50%;
  background: rgb(0 0 0 / 60%);
  font-size: 0;
  cursor: pointer;
  transition: transform 120ms ease-out, background-color 120ms, box-shadow 120ms;
}

.scene-zoom-x:hover { background: rgb(0 0 0 / 85%); box-shadow: 0 0 0 2px #ff3b3b; }
.scene-zoom-x:active { background: #000; box-shadow: 0 0 0 2px #ff3b3b; transform: scale(0.88); transition-duration: 60ms; }

.scene-zoom-x::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(45deg, transparent calc(50% - 1.25px), #fff 0 calc(50% + 1.25px), transparent 0),
    linear-gradient(-45deg, transparent calc(50% - 1.25px), #fff 0 calc(50% + 1.25px), transparent 0);
}

.scene-zoom-x .tap-zone { position: absolute; inset: -7px; border-radius: 50%; }

@media (prefers-reduced-motion: reduce) {
  .scene-zoom-x { transition: none; }
}

.scene-zoom-art {
  display: grid;
  gap: 2px;
  width: 100%;
  aspect-ratio: 1;
  flex: none;
  overflow: hidden;
  border-radius: 8px;
  background: #0e0e10;
}

.scene-zoom-art {
  grid-template-columns: repeat(var(--zoom-cols, 1), 1fr);
  grid-template-rows: repeat(var(--zoom-rows, 1), 1fr);
}
.scene-zoom-count {
  grid-column: span var(--zoom-span, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  background: #1c1c20;
  color: #f2ead6;
}
.scene-zoom-count b { font: 400 clamp(44px, 12vw, 96px) / 0.9 "Bebas Neue", sans-serif; color: #f5c542; }
.scene-zoom-count span { font: 400 clamp(16px, 3.4vw, 26px) / 1 "Bebas Neue", sans-serif; letter-spacing: 0.04em; }

.scene-zoom-img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
  background: #1c1c20;
}

.scene-zoom-coll,
.scene-zoom-name,
.scene-zoom-how {
  white-space: nowrap;
  overflow: hidden;
  flex: none;
}

.scene-zoom-coll {
  margin: 10px 0 0;
  height: 17px;
  font: 600 12px / 17px var(--font);
  color: #6d6656;
}

.scene-zoom-name {
  margin: 0;
  height: 24px;
  font: 800 18px / 24px var(--font);
}

.scene-zoom-fit {
  display: block;
  white-space: nowrap;
  font-size: calc(var(--fit, 1) * 1em);
}

.scene-zoom-strip {
  margin-top: 8px;
  height: 46px;
  flex: none;
  box-sizing: border-box;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  background: #000;
  color: #f2ead6;
}

.scene-zoom-price {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  font: 400 32px / 46px "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  letter-spacing: 0.03em;
}

.scene-zoom-price em { font-style: normal; color: #ffcf3f; }

.scene-zoom-usd {
  flex: none;
  font: 500 13px / 1 var(--font);
  color: #b8b0a0;
}

.scene-zoom-info {
  margin-top: 8px;
  flex: none;
  border-radius: 8px;
  background: #e4dabf;
}

.scene-zoom-row {
  height: 52px;
  box-sizing: border-box;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.scene-zoom-row + .scene-zoom-row { border-top: 1px solid #d3c7a8; }

.scene-zoom-dot {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #141416;
  display: grid;
  place-items: center;
}

.scene-zoom-dot svg {
  width: 14px;
  height: 14px;
  overflow: visible;
  fill: none;
  stroke: #ffcf3f;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scene-zoom-dot .scene-zoom-crown { width: auto; height: 13px; aspect-ratio: 50 / 40; stroke-width: 5; }
.scene-zoom-dot .scene-zoom-crown path + path { stroke-width: 2.6; }

.scene-zoom-row.scene-zoom-trait {
  width: calc(100% - 24px);
  height: auto;
  margin: -4px 12px 12px;
  padding: 8px 14px 8px 8px;
  gap: 12px;
  border: 0;
  border-radius: 10px;
  background: #f2ead6;
  box-shadow: inset 0 0 0 1px #d3c7a8;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.scene-zoom-row.scene-zoom-trait[hidden] { display: none; }
.scene-zoom-trait:hover,
.scene-zoom-trait:focus-visible { outline: none; box-shadow: inset 0 0 0 2px #2ec27e; }
.scene-zoom-trait .scene-zoom-dot { width: 44px; height: 44px; border-radius: 6px; overflow: hidden; background: #fff8ea; }
.scene-zoom-trait .scene-zoom-dot img { width: 100%; height: 100%; object-fit: contain; }
.scene-zoom-trait-name, .scene-zoom-trait-count { display: block; white-space: nowrap; }
.scene-zoom-trait-name { font-weight: 700; }
.scene-zoom-trait-count { font-size: 0.86em; font-weight: 500; color: #6d6656; }
.scene-zoom-more { flex: none; margin-left: auto; font: 700 12px / 1 var(--font); color: #141416; }

.scene-zoom-traitview {
  position: absolute;
  inset: 0;
  z-index: 3;
  box-sizing: border-box;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 14px;
  background: #f2ead6;
}
.scene-zoom-traitview[hidden] { display: none; }

.scene-zoom-traitview-art {
  flex: none;
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e4dabf;
}
.scene-zoom-traitview-art img { width: 88%; height: 88%; object-fit: contain; background: none; border-radius: 0; }
.scene-zoom-traitview .scene-zoom-floor { margin-top: 16px; }
.scene-zoom-traitview-name { margin: 12px 0 0; font: 800 18px / 24px var(--font); text-align: center; }
.scene-zoom-traitview-count { margin: 2px 0 0; font: 600 14px / 20px var(--font); color: #6d6656; text-align: center; }
.scene-zoom-floor { display: grid; place-items: center; text-decoration: none; box-sizing: border-box; }
.scene-zoom-floor[hidden] { display: none; }

.scene-zoom-val {
  font: 600 calc(var(--row-fit, 1) * 14px) / 1.25 var(--font);
}

.scene-zoom-claim {
  margin-top: 10px;
  height: 46px;
  width: 100%;
  flex: none;
  border: 0;
  border-radius: 10px;
  background: #141416;
  color: #fff;
  font: 700 16px / 1 var(--font);
  cursor: pointer;
}

.scene-zoom-claim:disabled { background: #8a8578; cursor: default; }

.scene-zoom-how {
  margin: 6px 0 0;
  height: 16px;
  font: 500 12px / 16px var(--font);
  color: #6d6656;
  text-align: center;
}

#scene-more {
  position: absolute;
  left: 50%;
  bottom: 2vh;
  z-index: 10;
  margin: 0;
  padding: 5px 12px;
  transform: translateX(-50%);
  border-radius: var(--radius);
  background: rgb(0 0 0 / 66%);
  color: var(--fg);
  font: 500 clamp(11px, 1.3vh, 14px) / 1.3 var(--font);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {

  .scene-bg,
  #scene.has-boards #scene-slots { transition: none; }

  .poster-eye { animation: scene-poster-eyes 3.8s ease-in-out infinite !important; }
}
