:root {
  --fg-ink: #080d24;
  --fg-midnight: #0b1233;
  --fg-blue: #2957e8;
  --fg-cyan: #12c7d7;
  --fg-pink: #ff4fa3;
  --fg-purple: #7b43e8;
  --fg-coral: #ff7358;
  --fg-mint: #8ee6cf;
  --fg-pearl: #fffaf5;
  --fg-paper: #fff3f8;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 14%, rgba(143, 230, 207, .32), transparent 26rem),
    radial-gradient(circle at 88% 21%, rgba(255, 79, 163, .2), transparent 28rem),
    linear-gradient(150deg, #fffaf5 0%, #f6f3ff 48%, #eafaff 100%);
  color: var(--fg-ink);
  font-family: "Jost", sans-serif;
}

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

.glitter-field,
.fairy-character-wrap,
.sparkle-field {
  display: none !important;
}

.sv-header {
  position: relative;
  z-index: 50;
}

.fg-exterior {
  position: relative;
  min-height: clamp(390px, 67vh, 690px);
  overflow: hidden;
  background: var(--fg-midnight);
  isolation: isolate;
}

.fg-exterior::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 13, 36, .76) 0%, rgba(8, 13, 36, .12) 54%, rgba(8, 13, 36, 0) 74%),
    linear-gradient(0deg, rgba(8, 13, 36, .56) 0%, transparent 38%);
  content: "";
  pointer-events: none;
}

.fg-exterior > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 48%;
}

.fg-exterior-copy {
  position: absolute;
  left: clamp(24px, 6vw, 104px);
  bottom: clamp(32px, 7vw, 92px);
  z-index: 2;
  max-width: 660px;
  color: #fff;
}

.fg-exterior-copy span,
.fg-room-sign span,
.fg-console-heading > p,
.fg-prompt-step > p,
.fg-results-intro > p,
.fg-history-heading > p,
.fg-arrival > span,
.fg-exit-strip > span {
  display: block;
  margin: 0 0 10px;
  color: var(--fg-pink);
  font-size: clamp(.7rem, .8vw, .82rem);
  font-weight: 900;
  letter-spacing: .18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.fg-exterior-copy strong {
  display: block;
  max-width: 10ch;
  font-family: "Anton", sans-serif;
  font-size: clamp(3.15rem, 7vw, 7.2rem);
  font-weight: 400;
  letter-spacing: .012em;
  line-height: .93;
  text-transform: uppercase;
  text-shadow: 0 5px 0 rgba(8, 13, 36, .86);
}

.fg-page {
  position: relative;
  z-index: 2;
}

.game-page-wrap {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: 0;
  padding: 0;
}

.game-page-header.fg-return {
  position: relative;
  inset: auto;
  min-height: 52px;
  padding: 15px clamp(22px, 5vw, 76px);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  background: var(--fg-ink);
  box-shadow: none;
  backdrop-filter: none;
}

.game-page-header.fg-return a {
  color: #fff;
  font-family: "Jost", sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.game-page-header.fg-return a:hover {
  color: var(--fg-mint);
  text-decoration: none;
}

.fairy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .7fr);
  gap: clamp(34px, 6vw, 112px);
  align-items: end;
  margin: 0;
  padding: clamp(72px, 10vw, 146px) clamp(24px, 7vw, 116px);
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 14%, rgba(18, 199, 215, .28), transparent 20rem),
    linear-gradient(135deg, #fffaf5 0%, #f7efff 49%, #e8fbff 100%);
  text-align: left;
}

.fg-hero-copy {
  position: relative;
  z-index: 1;
}

.fairy-hero .eyebrow {
  margin: 0 0 18px;
  color: var(--fg-blue);
  font-family: "Jost", sans-serif;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.fairy-hero h1 {
  margin: 0;
  color: var(--fg-ink) !important;
  font-family: "Anton", sans-serif !important;
  font-size: clamp(4rem, 8.5vw, 9rem);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: .88;
  text-transform: uppercase;
  background: none;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: currentColor;
}

.fairy-hero h1 span {
  color: var(--fg-purple) !important;
  -webkit-text-fill-color: currentColor;
  text-shadow: 4px 4px 0 var(--fg-cyan);
}

.fairy-hero .subtitle {
  max-width: 820px;
  margin: 32px 0 0;
  color: #29304e;
  font-family: "Jost", sans-serif;
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
  font-weight: 600;
  line-height: 1.58;
}

.fg-song-button {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  min-height: 46px;
  margin-top: 24px;
  padding: 10px 18px;
  border: 2px solid var(--fg-ink);
  border-radius: 999px;
  background: transparent;
  color: var(--fg-ink);
  font: 800 .74rem/1 "Jost", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.fg-song-button:hover,
.fg-song-button.is-playing {
  background: var(--fg-ink);
  color: #fff;
}

.fg-song-button .pause-icon {
  display: none;
}

.fg-song-button.is-playing .play-icon {
  display: none;
}

.fg-song-button.is-playing .pause-icon {
  display: inline;
}

.fg-arrival {
  position: relative;
  padding: 32px 18px 24px 31px;
  color: #fff;
  background: var(--fg-midnight);
  box-shadow: 14px 14px 0 var(--fg-cyan);
}

.fg-arrival::before {
  position: absolute;
  top: -20px;
  left: -18px;
  width: 74px;
  height: 10px;
  background: var(--fg-coral);
  content: "";
  transform: rotate(-8deg);
}

.fg-arrival > span {
  color: var(--fg-mint);
}

.fg-arrival strong {
  display: block;
  max-width: 15ch;
  font-family: "Anton", sans-serif;
  font-size: clamp(1.9rem, 3vw, 3.15rem);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: .98;
  text-transform: uppercase;
}

.fg-arrival p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .78) !important;
  font-size: .9rem;
  line-height: 1.5;
}

.fg-room {
  position: relative;
  min-height: 960px;
  overflow: hidden;
  background: var(--fg-midnight);
  isolation: isolate;
}

.fg-room::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 13, 36, .05) 0%, rgba(8, 13, 36, .2) 41%, rgba(8, 13, 36, .82) 100%),
    linear-gradient(0deg, rgba(8, 13, 36, .55), transparent 30%);
  content: "";
  pointer-events: none;
}

.fg-room-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 40% center;
}

.fg-room-sign {
  position: absolute;
  top: clamp(34px, 5vw, 70px);
  left: clamp(24px, 5vw, 72px);
  z-index: 2;
  width: min(32vw, 400px);
  color: #fff;
  text-shadow: 0 2px 12px rgba(8, 13, 36, .8);
}

.fg-room-sign span {
  color: var(--fg-mint);
}

.fg-room-sign strong {
  display: block;
  font-family: "Anton", sans-serif;
  font-size: clamp(2.2rem, 4.8vw, 5.1rem);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: .92;
  text-transform: uppercase;
}

.fairy-console {
  position: absolute;
  top: 55px;
  right: clamp(24px, 5vw, 72px);
  bottom: 55px;
  z-index: 3;
  width: min(51vw, 690px);
  margin: 0;
  padding: clamp(25px, 3.2vw, 46px);
  overflow-y: auto;
  border: 0;
  border-radius: 0;
  background: rgba(255, 250, 245, .95);
  box-shadow: 18px 18px 0 rgba(18, 199, 215, .88), 0 24px 70px rgba(8, 13, 36, .34);
  color: var(--fg-ink);
  backdrop-filter: blur(14px);
}

.fg-console-heading > p,
.fg-prompt-step > p {
  color: var(--fg-blue);
}

.fg-console-heading h2,
.fg-prompt-step label {
  display: block;
  margin: 0;
  color: var(--fg-ink);
  font-family: "Anton", sans-serif !important;
  font-size: clamp(1.7rem, 2.25vw, 2.8rem);
  font-weight: 400;
  letter-spacing: .015em;
  line-height: 1.02;
  text-transform: uppercase;
}

.fg-console-heading > span {
  display: block;
  margin-top: 10px;
  color: #545b75;
  font-size: .86rem;
  font-weight: 600;
}

.fg-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.fairy-console #fairyMode {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  opacity: 0;
}

.fg-saint-rail {
  display: flex;
  gap: 10px;
  margin: 24px calc(clamp(25px, 3.2vw, 46px) * -1) 0;
  padding: 0 clamp(25px, 3.2vw, 46px) 15px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-color: var(--fg-pink) rgba(8, 13, 36, .08);
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.fg-saint-choice {
  position: relative;
  flex: 0 0 96px;
  min-height: 143px;
  padding: 0;
  overflow: hidden;
  border: 3px solid transparent;
  border-radius: 0;
  background: var(--fg-midnight);
  color: #fff;
  cursor: pointer;
  scroll-snap-align: start;
}

.fg-saint-choice:hover,
.fg-saint-choice:focus-visible,
.fg-saint-choice[aria-pressed="true"] {
  border-color: var(--fg-pink);
  outline: none;
}

.fg-saint-choice[aria-pressed="true"] {
  box-shadow: 6px 6px 0 var(--fg-cyan);
  transform: translateY(-3px);
}

.fg-saint-choice img {
  width: 100%;
  height: 105px;
  display: block;
  object-fit: cover;
  object-position: center 18%;
}

.fg-saint-choice span {
  display: flex;
  min-height: 35px;
  align-items: center;
  justify-content: center;
  padding: 6px 5px;
  color: #fff;
  font: 800 .62rem/1.1 "Jost", sans-serif;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
}

.fg-saint-choice--type {
  display: flex;
  min-height: 143px;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background:
    linear-gradient(145deg, rgba(123, 67, 232, .95), rgba(41, 87, 232, .95));
}

.fg-saint-choice--type span {
  font-family: "Anton", sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: .025em;
}

.fg-prompt-step {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 2px solid var(--fg-ink);
}

.fg-prompt-step label {
  margin-bottom: 13px;
  font-size: clamp(1.5rem, 2vw, 2.25rem);
}

.fairy-console textarea {
  width: 100%;
  min-height: 112px;
  padding: 14px 15px;
  border: 2px solid var(--fg-ink);
  border-radius: 0;
  background: rgba(255, 255, 255, .9);
  box-shadow: 7px 7px 0 rgba(123, 67, 232, .16);
  color: var(--fg-ink);
  font: 600 .94rem/1.5 "Jost", sans-serif;
  resize: vertical;
}

.fairy-console textarea::placeholder {
  color: #666d84;
}

.fairy-console textarea:focus {
  border-color: var(--fg-blue);
  outline: 3px solid rgba(18, 199, 215, .32);
  box-shadow: 7px 7px 0 rgba(18, 199, 215, .25);
}

.fairy-disclosure {
  margin: 11px 0 0;
  color: #5d6376;
  font-size: .75rem;
  line-height: 1.45;
}

.fairy-buttons {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-top: 19px;
}

.wand-button,
.random-button {
  min-height: 54px;
  border-radius: 0;
  font-family: "Jost", sans-serif;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.wand-button {
  display: inline-flex;
  flex: 1 1 auto;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 8px 20px 8px 11px;
  border: 2px solid var(--fg-ink);
  background: var(--fg-pink);
  box-shadow: 7px 7px 0 var(--fg-ink);
  color: var(--fg-ink);
  font-size: .82rem;
}

.wand-button img {
  width: 52px;
  height: 38px;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.wand-button:hover:not(:disabled) {
  background: var(--fg-cyan);
  box-shadow: 4px 4px 0 var(--fg-ink);
  transform: translate(3px, 3px);
}

.wand-button:disabled {
  cursor: wait;
  opacity: .72;
}

.random-button {
  flex: 0 0 auto;
  padding: 10px 16px;
  border: 2px solid var(--fg-ink);
  background: transparent;
  color: var(--fg-ink);
  font-size: .72rem;
}

.random-button:hover:not(:disabled) {
  border-color: var(--fg-purple);
  background: #fff;
  color: var(--fg-purple);
  transform: none;
}

.wisdom-counter {
  margin: 18px 0 0;
  color: #656b80;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-align: right;
  text-transform: uppercase;
}

.wisdom-counter strong {
  display: inline-flex;
  min-width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  background: var(--fg-midnight);
  color: #fff;
}

.fg-results {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(290px, .75fr);
  gap: clamp(30px, 6vw, 92px);
  min-height: 720px;
  padding: clamp(70px, 9vw, 138px) clamp(24px, 7vw, 116px);
  background:
    linear-gradient(125deg, transparent 0 63%, rgba(41, 87, 232, .18) 63% 74%, transparent 74%),
    var(--fg-midnight);
  color: #fff;
}

.fg-results-intro {
  grid-column: 1 / -1;
  padding-bottom: clamp(28px, 4vw, 54px);
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.fg-results-intro[hidden] {
  display: none;
}

.fg-results-intro > p,
.fg-history-heading > p {
  color: var(--fg-mint) !important;
}

.fg-results-intro h2 {
  max-width: 18ch;
  margin: 0;
  color: #fff !important;
  font-family: "Anton", sans-serif !important;
  font-size: clamp(2.8rem, 6vw, 6.5rem);
  font-weight: 400;
  letter-spacing: .005em;
  line-height: .94;
  text-transform: uppercase;
}

.fg-results-intro > span {
  display: block;
  max-width: 610px;
  margin-top: 24px;
  color: rgba(255, 255, 255, .72);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
}

.fg-response-column {
  min-width: 0;
}

.advice-scroll {
  margin: 0;
}

.advice-scroll.is-visible {
  display: block;
  animation: fgReveal .35s ease both;
}

@keyframes fgReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-card {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 48px);
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, var(--fg-pink) 0 11px, transparent 11px),
    var(--fg-pearl);
  box-shadow: 15px 15px 0 var(--fg-cyan);
  color: var(--fg-ink);
}

.scroll-card::before {
  display: none;
}

.scroll-card-header {
  margin: 0 0 5px;
  color: var(--fg-ink) !important;
  font-family: "Anton", sans-serif !important;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
}

.scroll-card-mode {
  margin: 0 0 26px;
  color: var(--fg-purple);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-align: left;
  text-transform: uppercase;
}

.scroll-card-body {
  color: #252b44;
  font: 500 .98rem/1.68 "Jost", sans-serif;
}

.scroll-card-body strong {
  color: var(--fg-blue);
}

.scroll-card-body .laidy-h2,
.scroll-card-body .laidy-h3 {
  color: var(--fg-ink) !important;
  font-family: "Anton", sans-serif !important;
  font-weight: 400;
  letter-spacing: .025em;
  line-height: 1.04;
  text-transform: uppercase;
}

.scroll-card-body .laidy-h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.scroll-card-body .laidy-h3 {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.coach-output {
  display: grid;
  gap: 18px;
}

.coach-section {
  padding: 18px 0 0;
  border: 0;
  border-top: 2px solid var(--fg-ink);
  border-radius: 0;
  background: transparent;
}

.coach-section-title {
  color: var(--fg-pink);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.coach-quality {
  border-radius: 0;
  background: var(--fg-cyan);
  color: var(--fg-ink);
}

.better-prompt-box {
  padding: 16px;
  border: 2px solid var(--fg-blue);
  border-radius: 0;
  background: #fff;
  color: var(--fg-ink);
}

.coach-actions {
  margin-top: 26px;
}

.coach-action-button,
.laidy-copy-button,
.laidy-revision-button {
  min-height: 42px;
  border: 2px solid var(--fg-ink);
  border-radius: 0;
  background: #fff;
  color: var(--fg-ink);
  font-family: "Jost", sans-serif;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.coach-action-button.primary,
.laidy-copy-button:hover,
.laidy-revision-button:hover {
  border-color: var(--fg-blue);
  background: var(--fg-blue);
  color: #fff;
}

.scroll-card-footer {
  border-color: rgba(8, 13, 36, .22);
  color: #6a7083;
  font-style: normal;
}

.prompt-feedback {
  margin-top: 26px;
  padding: 18px 20px;
  border: 0;
  border-left: 9px solid var(--fg-coral);
  border-radius: 0;
  background: rgba(255, 255, 255, .1);
  box-shadow: none;
  color: #fff;
}

.prompt-feedback strong {
  color: var(--fg-coral);
}

.prompt-feedback span {
  color: rgba(255, 255, 255, .86);
}

.fg-history-column {
  min-width: 0;
  padding-top: 2px;
}

.fg-history-heading h3 {
  margin: 0;
  color: #fff !important;
  font-family: "Anton", sans-serif !important;
  font-size: clamp(1.8rem, 2.8vw, 3.3rem);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.advice-history {
  margin-top: 26px;
}

.advice-history h4 {
  color: var(--fg-pink);
  font-size: .72rem;
  letter-spacing: .13em;
}

.history-item {
  margin: 0 0 11px;
  padding: 15px 0 15px 16px;
  border: 0;
  border-left: 5px solid var(--fg-cyan);
  border-radius: 0;
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
  color: #fff;
}

.history-item .history-q {
  color: var(--fg-mint) !important;
}

.history-item .history-a {
  color: rgba(255, 255, 255, .84) !important;
}

.badge-reveal {
  margin-top: 28px;
  padding: 20px;
  border: 2px solid var(--fg-pink);
  border-radius: 0;
  background: rgba(255, 79, 163, .1);
  text-align: left;
}

.badge-reveal strong {
  color: var(--fg-pink);
}

.badge-reveal p {
  color: rgba(255, 255, 255, .82) !important;
}

.laidy-gate {
  padding: 22px 0 0;
  border: 0;
  border-top: 2px solid var(--fg-ink);
  border-radius: 0;
  background: transparent;
}

.laidy-gate h3 {
  color: var(--fg-ink) !important;
  font-family: "Anton", sans-serif !important;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.laidy-gate p {
  color: #444b63;
}

.laidy-gate-form {
  display: flex;
  gap: 0;
}

.laidy-gate-form input[type="email"] {
  min-width: 0;
  border: 2px solid var(--fg-ink);
  border-radius: 0;
  background: #fff;
  color: var(--fg-ink);
}

.laidy-gate-form button {
  border: 2px solid var(--fg-ink);
  border-left: 0;
  border-radius: 0;
  background: var(--fg-pink);
  color: var(--fg-ink);
}

.laidy-gate-already a {
  color: var(--fg-blue);
}

.fg-exit-strip {
  display: grid;
  grid-template-columns: .65fr 1.1fr 1fr;
  gap: 30px;
  align-items: center;
  padding: clamp(42px, 6vw, 82px) clamp(24px, 7vw, 116px);
  background:
    linear-gradient(115deg, rgba(255, 79, 163, .14), transparent 36%),
    #f5f1ff;
}

.fg-exit-strip > span {
  margin: 0;
  color: var(--fg-purple);
}

.fg-exit-strip > strong {
  color: var(--fg-ink);
  font-family: "Anton", sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 3.8rem);
  font-weight: 400;
  line-height: .98;
  text-transform: uppercase;
}

.fg-exit-strip > div {
  display: grid;
  gap: 10px;
}

.fg-exit-strip a {
  display: block;
  padding: 13px 15px;
  border-bottom: 2px solid var(--fg-ink);
  color: var(--fg-ink);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
}

.fg-exit-strip a:hover {
  border-color: var(--fg-pink);
  color: var(--fg-purple);
}

.ai-highlight {
  color: var(--fg-pink) !important;
}

@media (max-width: 1050px) {
  .fairy-hero {
    grid-template-columns: minmax(0, 1.35fr) minmax(250px, .7fr);
    gap: 40px;
  }

  .fg-room {
    min-height: 1050px;
  }

  .fairy-console {
    top: 48px;
    right: 38px;
    bottom: 48px;
    width: min(61vw, 650px);
  }

  .fg-room-sign {
    left: 38px;
    width: 26vw;
  }

  .fg-results {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, .7fr);
  }
}

@media (max-width: 760px) {
  .fg-exterior {
    min-height: 520px;
  }

  .fg-exterior::after {
    background:
      linear-gradient(0deg, rgba(8, 13, 36, .82) 0%, rgba(8, 13, 36, .03) 70%);
  }

  .fg-exterior > img {
    object-position: 58% center;
  }

  .fg-exterior-copy {
    right: 22px;
    bottom: 38px;
    left: 22px;
  }

  .fg-exterior-copy strong {
    max-width: 8ch;
    font-size: clamp(3.7rem, 17vw, 5.5rem);
  }

  .game-page-header.fg-return {
    padding-inline: 20px;
  }

  .fairy-hero {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 72px 22px 84px;
  }

  .fairy-hero h1 {
    font-size: clamp(4rem, 18vw, 6.2rem);
  }

  .fairy-hero .subtitle {
    font-size: 1rem;
  }

  .fg-arrival {
    max-width: 420px;
    margin-right: 10px;
  }

  .fg-room {
    min-height: 0;
    overflow: visible;
    background: var(--fg-midnight);
  }

  .fg-room::after {
    display: none;
  }

  .fg-room-image {
    position: relative;
    width: 100%;
    height: 310px;
    object-position: 43% center;
  }

  .fg-room-sign {
    top: 31px;
    left: 22px;
    width: min(66vw, 340px);
  }

  .fg-room-sign strong {
    font-size: 3.1rem;
  }

  .fairy-console {
    position: relative;
    inset: auto;
    width: 100%;
    max-height: none;
    padding: 40px 22px 50px;
    overflow: visible;
    background: var(--fg-pearl);
    box-shadow: none;
    backdrop-filter: none;
  }

  .fg-saint-rail {
    margin-right: -22px;
    margin-left: -22px;
    padding-right: 22px;
    padding-left: 22px;
  }

  .fairy-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .wand-button,
  .random-button {
    width: 100%;
  }

  .fg-results {
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: 640px;
    padding: 72px 22px 84px;
  }

  .fg-results-intro {
    grid-column: 1;
  }

  .fg-results-intro h2 {
    font-size: clamp(3rem, 14vw, 5.2rem);
  }

  .scroll-card {
    padding: 30px 24px 34px 30px;
    box-shadow: 10px 10px 0 var(--fg-cyan);
  }

  .fg-history-column {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, .2);
  }

  .fg-exit-strip {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 56px 22px 68px;
  }

  .fg-exit-strip > div {
    margin-top: 10px;
  }
}

@media (max-width: 420px) {
  .fg-song-button {
    width: 100%;
    justify-content: center;
    padding-inline: 12px;
    font-size: .66rem;
  }

  .fg-arrival {
    padding-right: 20px;
    padding-left: 24px;
  }

  .fg-room-image {
    height: 270px;
  }

  .fg-room-sign strong {
    font-size: 2.55rem;
  }

  .fg-saint-choice {
    flex-basis: 91px;
  }

  .laidy-gate-form {
    display: grid;
  }

  .laidy-gate-form button {
    border-top: 0;
    border-left: 2px solid var(--fg-ink);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
