@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin-var.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #fff8e8;
  --paper-deep: #ffe8b5;
  --ink: #152247;
  --ink-soft: #31456f;
  --sky: #8de8f5;
  --orange: #ff7a32;
  --orange-deep: #cc462f;
  --gold: #ffd45e;
  --pink: #ff6fa7;
  --aqua: #74e7ff;
  --green: #49c86b;
  --night: #111a40;
  --night-raised: #202d61;
  --radius: clamp(20px, 2vw, 30px);
  --page-gap: clamp(8px, 1.1vw, 14px);
  font-family: "Inter", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC",
    sans-serif;
  font-synthesis: none;
  color-scheme: light;
  text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

html {
  background: #edf6f5;
}

body {
  overflow-x: hidden;
  background: #edf6f5;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
}

body.is-playing {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: inherit;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

button:focus-visible,
a:focus-visible {
  outline: 4px solid var(--gold);
  outline-offset: 4px;
}

::selection {
  background: var(--orange);
  color: var(--paper);
}

[hidden] {
  display: none !important;
}

.page-shell {
  width: 100%;
  min-height: 100svh;
  padding: var(--page-gap);
  background: #edf6f5;
}

.world {
  position: relative;
  display: grid;
  width: min(100%, 1920px);
  min-height: calc(100svh - var(--page-gap) * 2);
  place-items: center;
  margin-inline: auto;
  overflow: hidden;
  border: 5px solid rgb(255 255 255 / 42%);
  border-radius: var(--radius);
  background: var(--sky);
  box-shadow: 0 2px 0 #cfddd8; /* taste-skill-ignore: game panel edge */
  isolation: isolate;
}

.ambient-canvas {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.world-head {
  position: absolute;
  z-index: 6;
  top: clamp(15px, 2.2vw, 30px);
  right: clamp(16px, 2.6vw, 38px);
  left: clamp(16px, 2.6vw, 38px);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  gap: 9px;
  padding: 6px 16px 7px 8px;
  border: 3px solid var(--ink);
  border-radius: 17px;
  background: var(--paper);
  box-shadow: 0 5px 0 var(--ink); /* taste-skill-ignore: game counter depth */
  color: var(--ink);
  font-size: clamp(17px, 1.38vw, 21px);
  font-weight: 850;
  letter-spacing: -0.045em;
  text-decoration: none;
}

.brand-token {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
}

.brand-token svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 2px 0 rgb(98 46 36 / 24%)); /* taste-skill-ignore: illustrated sticker edge */
}

.token-shadow {
  fill: #f27638;
}

.token-face {
  fill: #ffd65f;
}

.local-note,
.play-privacy {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  margin: 4px 0 0;
  padding: 0 15px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: rgb(255 248 232 / 94%);
  box-shadow: 0 4px 0 var(--ink); /* taste-skill-ignore: game HUD depth */
  color: var(--ink);
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.local-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #65db78;
}

.hero-copy {
  position: relative;
  z-index: 4;
  display: flex;
  width: min(100% - 40px, 940px);
  align-items: center;
  flex-direction: column;
  margin-top: -3svh;
  text-align: center;
}

.hero-copy h1 {
  margin: 0;
  color: #fff8dd;
  font-family: "Inter", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: clamp(76px, 9.4vw, 158px);
  font-weight: 950;
  letter-spacing: -0.085em;
  line-height: 0.77;
  paint-order: stroke fill;
  -webkit-text-stroke: clamp(4px, 0.36vw, 6px) var(--ink);
  text-wrap: balance;
  text-shadow: /* taste-skill-ignore: extruded game lettering */
    0 6px 0 var(--orange),
    0 11px 0 var(--orange-deep),
    0 16px 0 #713325,
    0 21px 20px rgb(45 70 97 / 22%);
}

.hero-copy h1 span {
  display: inline-block;
  transform: translateX(-0.015em);
}

.hero-lead {
  max-width: 34ch;
  margin: clamp(24px, 3.5vh, 36px) 0 0;
  color: #1b3158;
  font-size: clamp(17px, 1.32vw, 21px);
  font-weight: 740;
  letter-spacing: -0.025em;
  line-height: 1.45;
  text-wrap: balance;
}

.start-button {
  display: inline-flex;
  min-width: min(100%, 318px);
  min-height: 72px;
  align-items: center;
  gap: 13px;
  margin-top: clamp(20px, 2.8vh, 28px);
  padding: 9px 10px 9px 11px;
  border: 4px solid var(--ink);
  border-radius: 22px;
  background: var(--orange);
  box-shadow: /* taste-skill-ignore: tactile game button depth */
    0 7px 0 #a4382f,
    0 11px 0 var(--ink),
    inset 0 3px 0 rgb(255 255 255 / 35%);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transform: translateY(0);
  transition:
    transform 170ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 170ms ease;
}

.start-button:hover {
  filter: brightness(1.06);
  transform: translateY(-3px);
}

.start-button:active {
  box-shadow: /* taste-skill-ignore: pressed game button depth */
    0 3px 0 #a4382f,
    0 4px 0 var(--ink),
    inset 0 3px 0 rgb(255 255 255 / 28%);
  transform: translateY(6px);
}

.camera-bubble {
  display: grid;
  width: 49px;
  height: 49px;
  flex: 0 0 auto;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 15px;
  background: var(--aqua);
  box-shadow: inset 0 3px 0 rgb(255 255 255 / 56%); /* taste-skill-ignore: enamel button inset */
}

.camera-bubble svg {
  width: 28px;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
}

.start-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  line-height: 1.13;
}

.start-copy strong {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.play-arrow {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--gold);
}

.play-arrow svg {
  width: 19px;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

/* Camera challenge */

.play-screen {
  position: fixed;
  z-index: 30;
  inset: 0;
  min-width: 320px;
  min-height: 100svh;
  overflow: auto;
  background: var(--night);
  color: var(--paper);
  isolation: isolate;
}

.play-screen::after {
  position: fixed;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 17vh;
  background: #153252;
  clip-path: polygon(0 38%, 12% 21%, 23% 31%, 34% 12%, 49% 26%, 63% 15%, 76% 30%, 88% 18%, 100% 34%, 100% 100%, 0 100%);
  content: "";
}

.play-sky {
  position: fixed;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.play-planet {
  position: absolute;
  top: -17vw;
  right: -12vw;
  width: 52vw;
  height: 52vw;
  border: clamp(16px, 2.4vw, 34px) solid #24366f;
  border-radius: 50%;
  background: #1b2b5d;
}

.play-head {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: min(100% - 40px, 1220px);
  margin-inline: auto;
  padding-top: clamp(16px, 2.5vw, 30px);
}

.close-button {
  display: inline-flex;
  width: fit-content;
  min-height: 46px;
  align-items: center;
  gap: 8px;
  padding: 0 15px 0 10px;
  border: 3px solid #070e29;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 5px 0 #070e29; /* taste-skill-ignore: game control depth */
  color: var(--ink);
  font-size: 14px;
  font-weight: 820;
  cursor: pointer;
  transition: transform 160ms ease;
}

.close-button:hover {
  transform: translateY(-2px);
}

.close-button:active {
  box-shadow: 0 2px 0 #070e29; /* taste-skill-ignore: pressed game control */
  transform: translateY(3px);
}

.close-button svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2.8;
}

.play-brand {
  margin: 0;
  color: var(--paper);
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 830;
  letter-spacing: -0.02em;
  text-align: center;
  white-space: nowrap;
}

.play-privacy {
  justify-self: end;
  margin: 0;
  box-shadow: 0 4px 0 #070e29; /* taste-skill-ignore: privacy HUD depth */
  border-color: #070e29;
}

.play-layout {
  position: relative;
  display: flex;
  width: min(100% - 40px, 1120px);
  align-items: center;
  flex-direction: column;
  margin-inline: auto;
  padding: clamp(20px, 3.5vh, 34px) 0 22px;
}

.play-heading {
  position: relative;
  z-index: 4;
  margin-bottom: clamp(16px, 2.4vh, 24px);
  text-align: center;
}

.play-heading h2 {
  margin: 0;
  color: #fff7d2;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 930;
  letter-spacing: -0.06em;
  line-height: 1;
  -webkit-text-stroke: 2px #080f2c;
  paint-order: stroke fill;
  text-shadow: /* taste-skill-ignore: extruded game heading */
    0 4px 0 var(--orange-deep),
    0 8px 0 #080f2c;
}

.stage-wrap {
  position: relative;
  z-index: 3;
  width: 100%;
}

.experience-card {
  position: relative;
  width: min(100%, 1090px);
  height: min(55svh, 560px);
  min-height: 350px;
  margin-inline: auto;
  overflow: hidden;
  border: 7px solid #ffe5a8;
  border-radius: 29px;
  background: #15203f;
  box-shadow: /* taste-skill-ignore: framed camera stage */
    0 0 0 4px #0b1434,
    0 13px 0 #0b1434,
    0 18px 0 #070c23,
    0 28px 45px rgb(0 0 0 / 26%);
  isolation: isolate;
  color: var(--paper);
}

.experience-card::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(circle at 24% 21%, rgb(255 110 168 / 27%), transparent 22%), /* taste-skill-ignore: game backdrop field */
    radial-gradient(circle at 78% 32%, rgb(87 219 255 / 24%), transparent 25%), /* taste-skill-ignore: game backdrop field */
    linear-gradient(145deg, #27366b, #10182f 62%); /* taste-skill-ignore: game backdrop field */
  content: "";
}

.experience-card[data-state="loading"]::after {
  position: absolute;
  z-index: 3;
  top: 22%;
  left: 17%;
  width: 9%;
  aspect-ratio: 1;
  border: 4px solid #101838;
  border-radius: 13px;
  background: var(--gold);
  box-shadow: 0 7px 0 #101838; /* taste-skill-ignore: animated game token */
  content: "";
  animation: loading-hop 1.05s steps(3, end) infinite;
}

.camera-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transform: scaleX(-1);
}

.camera-preview {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.camera-image {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  pointer-events: none;
}

.experience-card[data-state="active"] .camera-image[data-ready="true"] {
  opacity: 1;
}

.fx-canvas {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.stage-top,
.stage-bottom {
  position: absolute;
  z-index: 5;
  right: clamp(14px, 2vw, 24px);
  left: clamp(14px, 2vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.stage-top {
  top: clamp(14px, 2vw, 22px);
}

.stage-status {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 3px solid #0c1434;
  border-radius: 13px;
  background: var(--paper);
  box-shadow: 0 4px 0 #0c1434; /* taste-skill-ignore: game status HUD */
  color: var(--ink);
  font-size: clamp(12px, 0.98vw, 14px);
  font-weight: 820;
}

.status-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--gold);
}

.experience-card[data-state="active"] .stage-status .status-dot {
  background: #5ce77a;
}

.experience-card[data-state="loading"] .stage-status .status-dot {
  animation: status-blink 760ms steps(2, end) infinite;
}

.stage-text-button {
  min-height: 39px;
  padding: 0 13px;
  border: 2px solid rgb(255 248 232 / 54%);
  border-radius: 12px;
  background: rgb(8 15 44 / 54%);
  color: var(--paper);
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
}

.stage-text-button:hover {
  background: var(--orange);
  color: var(--ink);
}

.stage-center {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: flex;
  width: min(88%, 580px);
  align-items: center;
  flex-direction: column;
  transform: translate(-50%, -46%);
  text-align: center;
}

.stage-prompt {
  margin: 0;
  color: var(--paper);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.stage-center > p:last-child {
  margin: 12px 0 0;
  color: rgb(255 248 232 / 72%);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 650;
}

.stage-bottom {
  bottom: clamp(12px, 1.7vw, 20px);
  color: rgb(255 248 232 / 80%);
  font-size: clamp(11px, 0.9vw, 13px);
  font-weight: 640;
}

.stage-bottom p {
  max-width: 52%;
  margin: 0;
  padding: 7px 10px;
  border-radius: 9px;
  background: rgb(7 13 38 / 58%);
}

.stage-bottom p:last-child {
  text-align: right;
}

.experience-card[data-state="loading"] .stage-center,
.experience-card[data-state="active"] .stage-center,
.experience-card[data-state="error"] .stage-prompt {
  display: none;
}

.experience-card[data-state="active"] .stage-bottom p {
  background: rgb(7 13 38 / 66%);
}

.camera-error {
  position: absolute;
  z-index: 8;
  top: 50%;
  left: 50%;
  width: min(86%, 450px);
  padding: 27px;
  border: 4px solid var(--ink);
  border-radius: 21px;
  background: var(--paper);
  box-shadow: 0 8px 0 var(--ink); /* taste-skill-ignore: game dialog depth */
  color: var(--ink);
  text-align: left;
  transform: translate(-50%, -50%);
}

.camera-error-title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.camera-error-copy {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
}

.stage-action {
  min-height: 43px;
  padding: 0 18px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: var(--orange);
  box-shadow: 0 4px 0 var(--ink); /* taste-skill-ignore: game dialog action */
  color: var(--ink);
  font-weight: 820;
  cursor: pointer;
}

.stage-action:active {
  box-shadow: 0 1px 0 var(--ink); /* taste-skill-ignore: pressed dialog action */
  transform: translateY(3px);
}

.preview-bar {
  display: flex;
  width: min(100%, 1090px);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: clamp(20px, 3vh, 28px) auto 0;
}

.preview-bar > p {
  margin: 0;
  color: var(--paper);
  font-size: 14px;
  font-weight: 780;
}

.preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.preview-button {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 3px solid #070e29;
  border-radius: 13px;
  box-shadow: 0 5px 0 #070e29; /* taste-skill-ignore: game preview button */
  color: var(--ink);
  font-size: 13px;
  font-weight: 840;
  cursor: pointer;
  transition:
    filter 160ms ease,
    transform 160ms ease;
}

.preview-button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.preview-button:active {
  box-shadow: 0 2px 0 #070e29; /* taste-skill-ignore: pressed preview button */
  transform: translateY(3px);
}

.preview-icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.preview-icon-fire {
  stroke-width: 1.9;
}

.preview-icon-fire circle {
  fill: currentColor;
  stroke-width: 1.5;
}

.preview-rain {
  background: var(--aqua);
}

.preview-fire {
  background: var(--gold);
}

.play-rules {
  display: grid;
  width: min(100%, 1090px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin: clamp(18px, 2.5vh, 26px) auto 0;
  color: rgb(255 248 232 / 82%);
}

.play-rules p {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 8px 12px;
  border: 2px solid rgb(255 248 232 / 22%);
  border-radius: 13px;
  background: rgb(7 13 38 / 64%);
  font-size: clamp(11px, 0.9vw, 13px);
  white-space: nowrap;
}

.play-rules span {
  color: rgb(255 248 232 / 88%);
}

.play-rules strong {
  color: var(--paper);
  font-weight: 760;
}

.noscript-visible {
  position: fixed;
  z-index: 100;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 16px;
  border: 3px solid var(--ink);
  border-radius: 15px;
  background: var(--paper);
  box-shadow: 0 5px 0 var(--ink); /* taste-skill-ignore: game brand depth */
  color: var(--ink);
  text-align: center;
}

@keyframes status-blink {
  50% {
    opacity: 0.24;
  }
}

@keyframes loading-hop {
  0% {
    transform: translate(0, 0) rotate(0);
  }
  100% {
    transform: translate(calc(62vw - 100px), 0) rotate(12deg);
  }
}

@media (max-width: 900px) {
  .hero-copy h1 {
    font-size: clamp(70px, 11.5vw, 102px);
  }

  .play-head {
    grid-template-columns: 1fr auto;
  }

  .play-brand {
    display: none;
  }

  .play-privacy {
    grid-column: 2;
  }

  .play-layout {
    width: min(100% - 30px, 880px);
  }
}

@media (max-width: 640px) {
  :root {
    --page-gap: 8px;
  }

  .world {
    min-height: calc(100svh - 16px);
    border-width: 3px;
    border-radius: 22px;
  }

  .world-head {
    top: 14px;
    right: 14px;
    left: 14px;
  }

  .brand {
    min-height: 48px;
    padding: 4px 11px 5px 5px;
    border-radius: 14px;
    box-shadow: 0 4px 0 var(--ink); /* taste-skill-ignore: mobile game brand depth */
    font-size: 16px;
  }

  .brand-token {
    width: 37px;
    height: 37px;
  }

  .local-note {
    min-height: 35px;
    margin-top: 3px;
    padding-inline: 10px;
    border-radius: 11px;
    box-shadow: 0 3px 0 var(--ink); /* taste-skill-ignore: mobile HUD depth */
    font-size: 10px;
  }

  .local-dot {
    width: 8px;
    height: 8px;
  }

  .hero-copy {
    width: calc(100% - 30px);
    margin-top: -6svh;
  }

  .hero-copy h1 {
    font-size: clamp(59px, 17.2vw, 88px);
    letter-spacing: -0.09em;
    line-height: 0.79;
    -webkit-text-stroke-width: 4px;
    text-shadow: /* taste-skill-ignore: extruded mobile lettering */
      0 5px 0 var(--orange),
      0 9px 0 var(--orange-deep),
      0 13px 0 #713325,
      0 18px 18px rgb(45 70 97 / 18%);
  }

  .hero-lead {
    max-width: 27ch;
    margin-top: 25px;
    font-size: 16px;
    line-height: 1.5;
  }

  .start-button {
    min-width: min(100%, 292px);
    min-height: 65px;
    margin-top: 22px;
    border-radius: 19px;
  }

  .camera-bubble {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .start-copy strong {
    font-size: 18px;
  }

  .play-arrow {
    width: 34px;
    height: 34px;
  }

  .play-screen {
    overflow-y: auto;
  }

  .play-head {
    width: calc(100% - 24px);
    gap: 8px;
    padding-top: 12px;
  }

  .close-button {
    min-height: 41px;
    padding: 0 11px 0 8px;
    border-radius: 12px;
    font-size: 12px;
  }

  .close-button svg {
    width: 20px;
  }

  .play-privacy {
    min-height: 36px;
    padding-inline: 10px;
    font-size: 10px;
  }

  .play-layout {
    width: calc(100% - 22px);
    padding-top: 18px;
    padding-bottom: max(22px, env(safe-area-inset-bottom));
  }

  .play-heading {
    margin-bottom: 14px;
  }

  .play-heading h2 {
    font-size: clamp(29px, 9vw, 40px);
    -webkit-text-stroke-width: 1.5px;
  }

  .experience-card {
    height: min(57svh, 540px);
    min-height: 360px;
    border-width: 5px;
    border-radius: 22px;
    box-shadow: /* taste-skill-ignore: framed mobile camera stage */
      0 0 0 3px #0b1434,
      0 9px 0 #0b1434,
      0 14px 0 #070c23;
  }

  .stage-top,
  .stage-bottom {
    right: 10px;
    left: 10px;
  }

  .stage-top {
    top: 11px;
  }

  .stage-status {
    min-height: 35px;
    padding-inline: 10px;
    border-width: 2px;
    border-radius: 11px;
    font-size: 11px;
  }

  .stage-text-button {
    min-height: 35px;
    padding-inline: 10px;
    font-size: 11px;
  }

  .stage-prompt {
    font-size: 24px;
  }

  .stage-bottom {
    bottom: 10px;
    align-items: flex-end;
    font-size: 10px;
  }

  .stage-bottom p {
    max-width: 60%;
    padding: 5px 7px;
  }

  .stage-bottom p:last-child {
    max-width: 39%;
  }

  .camera-error {
    padding: 21px;
  }

  .preview-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .preview-actions {
    width: 100%;
  }

  .preview-button {
    min-height: 42px;
    flex: 1;
    justify-content: center;
    font-size: 12px;
  }

  .play-rules {
    gap: 8px;
    margin-top: 18px;
  }

  .play-rules p {
    align-items: center;
    flex-direction: column;
    gap: 2px;
    padding: 7px 5px;
    font-size: 10px;
    white-space: normal;
    text-align: center;
  }

}

@media (max-width: 380px) {
  .experience-card {
    height: 55svh;
    min-height: 330px;
  }
}

@media (max-height: 660px) and (min-width: 641px) {
  .hero-copy h1 {
    font-size: min(12vh, 90px);
  }

  .hero-lead {
    margin-top: 18px;
  }

  .start-button {
    margin-top: 15px;
  }

  .experience-card {
    height: calc(100svh - 245px);
    min-height: 300px;
  }

  .play-layout {
    padding-top: 12px;
  }

  .play-heading {
    margin-bottom: 12px;
  }

  .preview-bar {
    margin-top: 18px;
  }

  .play-rules {
    margin-top: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
