:root {
  color-scheme: dark;
  --ink: #2a261f;
  --paper: #eee4cf;
  --paper-soft: #e1d4bb;
  --cream: #fbf3e3;
  --muted: #aa9c84;
  --night: #28251f;
  --night-deep: #1d1c19;
  --wood: #74543a;
  --wood-dark: #4d3829;
  --amber: #e9a95f;
  --amber-pale: #ffd899;
  --line: rgba(255, 239, 210, 0.17);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 24% 30%, rgba(233, 169, 95, 0.1), transparent 34%),
    var(--night-deep);
  color: var(--cream);
  font-family: ui-serif, "Songti SC", "Noto Serif CJK SC", Georgia, serif;
}

button,
textarea {
  font: inherit;
}

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

.game-shell {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(390px, 0.8fr);
}

.room {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 49.85%, rgba(255, 255, 255, 0.025) 50%, transparent 50.15%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.008) 0,
      rgba(255, 255, 255, 0.008) 1px,
      transparent 1px,
      transparent 5px
    ),
    #37352f;
}

.room::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 25%;
  background:
    repeating-linear-gradient(
      98deg,
      transparent 0,
      transparent 90px,
      rgba(23, 18, 14, 0.15) 92px,
      transparent 94px
    ),
    #3b2f25;
  clip-path: polygon(0 21%, 100% 0, 100% 100%, 0 100%);
}

.wall-glow {
  position: absolute;
  width: 74%;
  aspect-ratio: 1;
  left: 7%;
  bottom: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 201, 122, 0.25), rgba(233, 169, 95, 0.08) 44%, transparent 70%);
  filter: blur(10px);
  animation: breathe 7s ease-in-out infinite;
}

.window {
  position: absolute;
  width: min(31vw, 350px);
  height: min(46vh, 480px);
  top: 11%;
  left: 9%;
  border: 11px solid #292a27;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.3);
}

.window::before,
.window::after {
  content: "";
  position: absolute;
  z-index: 2;
  background: #292a27;
}

.window::before {
  width: 8px;
  height: 100%;
  left: calc(50% - 4px);
}

.window::after {
  width: 100%;
  height: 8px;
  top: 44%;
}

.window-night {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 24%, #dec997 0 2px, transparent 3px),
    radial-gradient(circle at 28% 67%, #dec997 0 1px, transparent 2px),
    linear-gradient(#1b2430, #273039 62%, #35373a);
}

.window-night::after {
  content: "";
  position: absolute;
  right: 13%;
  top: 11%;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: -8px 5px 0 0 #e8d8ac;
  transform: rotate(18deg);
  opacity: 0.78;
}

.curtain {
  position: absolute;
  z-index: 3;
  top: -24px;
  bottom: -36px;
  width: 31%;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08) 0,
      transparent 9px,
      rgba(70, 55, 42, 0.09) 18px
    ),
    #8c806b;
  opacity: 0.88;
}

.curtain-left {
  left: -29px;
  border-radius: 0 0 72% 0;
  transform: rotate(1.5deg);
}

.curtain-right {
  right: -29px;
  border-radius: 0 0 0 72%;
  transform: rotate(-1.5deg);
}

.desk {
  position: absolute;
  z-index: 4;
  width: min(57vw, 650px);
  height: 33%;
  left: 18%;
  bottom: 10%;
}

.desk-top {
  position: absolute;
  top: 0;
  width: 100%;
  height: 34px;
  border-radius: 4px;
  background: linear-gradient(#896548, #694a35);
  box-shadow: 0 15px 24px rgba(13, 10, 8, 0.32);
}

.desk-side {
  position: absolute;
  top: 30px;
  width: 22px;
  height: 82%;
  background: linear-gradient(90deg, var(--wood-dark), #684a35);
}

.desk-side-left {
  left: 5%;
}

.desk-side-right {
  right: 5%;
}

.drawer {
  position: absolute;
  top: 35px;
  right: 9%;
  width: 31%;
  height: 58px;
  border: 1px solid rgba(35, 23, 15, 0.38);
  background: #684a35;
  box-shadow: inset 0 5px 8px rgba(255, 255, 255, 0.03);
}

.drawer-handle {
  position: absolute;
  left: calc(50% - 22px);
  top: 22px;
  width: 44px;
  height: 9px;
  border: 2px solid #2f2923;
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.paper-on-desk {
  position: absolute;
  width: 128px;
  height: 88px;
  top: -59px;
  left: 39%;
  background: #d9c9aa;
  box-shadow: 0 8px 16px rgba(30, 21, 14, 0.22);
  transform: rotate(-3deg);
  opacity: 0.86;
}

.lamp {
  position: absolute;
  z-index: 6;
  left: 25%;
  bottom: 42%;
  width: 150px;
  height: 230px;
}

.lamp-shade {
  position: absolute;
  left: 18px;
  width: 112px;
  height: 84px;
  background: linear-gradient(90deg, #c49355, #f1c078 53%, #ad7b42);
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
  filter: drop-shadow(0 0 19px rgba(255, 185, 92, 0.4));
}

.lamp-stem {
  position: absolute;
  left: 71px;
  top: 80px;
  width: 7px;
  height: 124px;
  background: #5b4938;
}

.lamp-base {
  position: absolute;
  left: 39px;
  bottom: 18px;
  width: 70px;
  height: 17px;
  border-radius: 50%;
  background: #4c4035;
}

.plant {
  position: absolute;
  z-index: 6;
  right: 18%;
  bottom: 40%;
  width: 100px;
  height: 150px;
}

.pot {
  position: absolute;
  bottom: 0;
  left: 23px;
  width: 55px;
  height: 52px;
  background: #9e7758;
  clip-path: polygon(0 0, 100% 0, 82% 100%, 18% 100%);
}

.leaf {
  position: absolute;
  bottom: 43px;
  left: 48px;
  width: 30px;
  height: 75px;
  border-radius: 100% 0 100% 0;
  transform-origin: bottom;
  background: #576653;
}

.leaf-one {
  transform: rotate(-33deg);
}

.leaf-two {
  transform: rotate(16deg) scale(0.87);
}

.leaf-three {
  transform: rotate(57deg) scale(0.72);
}

.room-caption {
  position: absolute;
  z-index: 8;
  left: 28px;
  bottom: 22px;
  color: rgba(244, 225, 190, 0.42);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
}

.story-panel {
  position: relative;
  z-index: 10;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 48px clamp(32px, 5vw, 80px);
  background:
    radial-gradient(circle at 0 42%, rgba(233, 169, 95, 0.08), transparent 36%),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.01) 0,
      rgba(255, 255, 255, 0.01) 1px,
      transparent 1px,
      transparent 4px
    ),
    var(--night);
  border-left: 1px solid var(--line);
}

.story-frame {
  width: min(100%, 480px);
}

.scene {
  animation: scene-in 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.scene[hidden] {
  display: none;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--amber-pale);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(44px, 5vw, 66px);
}

h2 {
  max-width: 12em;
  font-size: clamp(34px, 4vw, 51px);
  line-height: 1.2;
}

.lead,
.supporting {
  margin: 26px 0 38px;
  color: var(--paper-soft);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 2;
}

.supporting {
  margin-bottom: 24px;
}

.primary-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 330px);
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid rgba(255, 219, 163, 0.5);
  border-radius: 2px;
  background: rgba(232, 170, 96, 0.1);
  color: var(--cream);
  cursor: pointer;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.primary-button:hover:not(:disabled) {
  background: rgba(232, 170, 96, 0.19);
  border-color: rgba(255, 219, 163, 0.82);
  transform: translateY(-2px);
}

.primary-button:focus-visible,
.text-button:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--amber-pale);
  outline-offset: 4px;
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.note-field {
  display: block;
  margin-bottom: 24px;
}

textarea {
  display: block;
  width: 100%;
  min-height: 138px;
  resize: vertical;
  padding: 20px;
  border: 1px solid rgba(255, 237, 207, 0.22);
  border-radius: 2px;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 31px,
      rgba(66, 50, 33, 0.1) 32px
    ),
    var(--paper);
  color: var(--ink);
  caret-color: #7a4c25;
  font-size: 17px;
  line-height: 1.85;
  box-shadow: 0 14px 34px rgba(11, 9, 7, 0.17);
}

textarea::placeholder {
  color: #8d806d;
}

.privacy-note {
  margin: 13px 0 0;
  color: #857c6e;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.envelope {
  position: relative;
  width: 112px;
  height: 72px;
  margin: 0 0 34px;
  background: #d9c39d;
  box-shadow: 0 12px 28px rgba(10, 8, 6, 0.24);
  animation: envelope-arrive 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.envelope::before,
.envelope::after {
  content: "";
  position: absolute;
  inset: 0;
}

.envelope::before {
  background: #cdb48d;
  clip-path: polygon(0 0, 50% 60%, 100% 0);
}

.envelope::after {
  background: #e0cba7;
  clip-path: polygon(0 100%, 0 18%, 50% 72%, 100% 18%, 100% 100%);
}

.envelope-seal {
  position: absolute;
  z-index: 2;
  left: calc(50% - 10px);
  top: 38px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #92573f;
  box-shadow: 0 2px 5px rgba(59, 28, 20, 0.28);
}

.kept-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin: 0 0 35px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.kept-proof span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--amber-pale);
}

.kept-proof time {
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.ending-line {
  margin: 18px 0 0;
  color: var(--amber-pale);
  font-size: clamp(22px, 2.5vw, 30px);
}

.north-star {
  margin: 54px 0 46px;
  color: var(--paper-soft);
  font-size: 17px;
  line-height: 2;
}

.text-button {
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 237, 207, 0.24);
  background: transparent;
  color: #918779;
  cursor: pointer;
}

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

.room.is-settled .wall-glow {
  opacity: 0.55;
}

.room.is-settled .lamp-shade {
  filter: drop-shadow(0 0 11px rgba(255, 185, 92, 0.22));
}

.room.is-settled {
  filter: saturate(0.82) brightness(0.8);
  transition: filter 2.4s ease;
}

@keyframes scene-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.76;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

@keyframes envelope-arrive {
  from {
    opacity: 0;
    transform: translateY(-16px) rotate(-4deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(-1deg);
  }
}

@media (max-width: 820px) {
  .game-shell {
    display: block;
    min-height: 100svh;
  }

  .room {
    position: fixed;
    inset: 0;
    min-height: 100svh;
    opacity: 0.62;
  }

  .room::before {
    content: "";
    position: absolute;
    z-index: 9;
    inset: 0;
    background: linear-gradient(90deg, rgba(27, 26, 23, 0.38), rgba(27, 26, 23, 0.68));
  }

  .story-panel {
    min-height: 100svh;
    padding: 42px 28px;
    background: rgba(31, 30, 27, 0.64);
    border: 0;
    backdrop-filter: blur(2px);
  }

  .window {
    width: 54vw;
    height: 42vh;
    left: -7%;
  }

  .desk {
    width: 88vw;
    left: 5%;
    bottom: 7%;
  }

  .lamp {
    left: 14%;
  }

  .plant {
    right: 8%;
  }

  .room-caption {
    display: none;
  }

  .story-frame {
    width: 100%;
  }

  h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  h2 {
    font-size: clamp(32px, 9.5vw, 44px);
  }

  .lead,
  .supporting {
    color: #eee1ca;
  }
}

@media (max-height: 650px) and (min-width: 821px) {
  .story-panel {
    align-items: start;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .lead,
  .supporting {
    margin-top: 18px;
    margin-bottom: 22px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 36px;
  }
}

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

/* v0.2 — 滚滚陪伴与互动故事 */

.companion {
  position: absolute;
  z-index: 8;
  right: 28%;
  bottom: 39%;
  width: 92px;
  height: 96px;
  transform-origin: 50% 90%;
}

.companion-body {
  position: absolute;
  z-index: 2;
  left: 7px;
  bottom: 8px;
  width: 78px;
  height: 72px;
  border-radius: 48% 52% 44% 46%;
  background:
    radial-gradient(circle at 38% 26%, rgba(255, 255, 255, 0.4), transparent 12%),
    linear-gradient(145deg, #f2bd72, #c77e43);
  box-shadow:
    inset -8px -9px 0 rgba(120, 65, 34, 0.12),
    0 0 28px rgba(255, 183, 91, 0.28);
}

.companion-ear {
  position: absolute;
  z-index: 1;
  top: 7px;
  width: 28px;
  height: 38px;
  border-radius: 85% 10% 60% 30%;
  background: #d7914e;
}

.companion-ear-left {
  left: 7px;
  transform: rotate(-24deg);
}

.companion-ear-right {
  right: 7px;
  transform: scaleX(-1) rotate(-24deg);
}

.companion-eye {
  position: absolute;
  top: 29px;
  width: 7px;
  height: 9px;
  border-radius: 50%;
  background: #493021;
  animation: blink 5s infinite;
}

.companion-eye-left {
  left: 24px;
}

.companion-eye-right {
  right: 24px;
}

.companion-mouth {
  position: absolute;
  left: 34px;
  top: 44px;
  width: 12px;
  height: 7px;
  border: 2px solid #67422a;
  border-top: 0;
  border-radius: 0 0 10px 10px;
}

.companion-blush {
  position: absolute;
  top: 43px;
  width: 11px;
  height: 5px;
  border-radius: 50%;
  background: rgba(174, 69, 53, 0.25);
}

.companion-blush-left {
  left: 10px;
}

.companion-blush-right {
  right: 10px;
}

.companion-shadow {
  position: absolute;
  bottom: 0;
  left: 11px;
  width: 72px;
  height: 13px;
  border-radius: 50%;
  background: rgba(22, 15, 11, 0.3);
  filter: blur(3px);
}

.companion.is-bouncing {
  animation: companion-bounce 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.companion.is-rolling {
  animation: companion-roll 2.4s ease-in-out infinite;
}

.companion.is-sleepy .companion-eye {
  height: 2px;
  animation: none;
}

.speaker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  color: var(--amber-pale);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.speaker-face {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #df9b53;
  color: #4c3020;
  letter-spacing: -0.08em;
}

.companion-says {
  position: relative;
  min-height: 88px;
  margin: 0 0 18px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 214, 150, 0.24);
  border-radius: 2px 14px 14px 14px;
  background: rgba(238, 177, 100, 0.08);
  color: #f3dfbd;
  font-size: 16px;
  line-height: 1.8;
}

.heard-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 25px;
  margin-bottom: 14px;
}

.heard-line {
  padding: 5px 8px;
  border-radius: 20px;
  background: rgba(237, 196, 128, 0.1);
  color: #ad9c82;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  animation: pebble-in 360ms ease both;
}

.story-ready,
.ending-back {
  display: block;
  margin-top: 18px;
}

.story-ready[hidden] {
  display: none;
}

.story-book {
  position: relative;
  height: 122px;
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 222, 174, 0.16);
  border-radius: 80px 80px 4px 4px;
  background: linear-gradient(#242d38, #3e3c39);
}

.story-moon {
  position: absolute;
  top: 15px;
  right: 42px;
  color: #f0d49b;
  font-size: 37px;
}

.story-hill {
  position: absolute;
  bottom: -45px;
  width: 210px;
  height: 110px;
  border-radius: 50%;
  background: #53604f;
}

.story-hill-one {
  left: -22px;
}

.story-hill-two {
  right: -30px;
  bottom: -57px;
  background: #3f4d43;
}

.tiny-gungun {
  position: absolute;
  z-index: 2;
  left: 42%;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 43px;
  height: 40px;
  border-radius: 50%;
  background: #e1a156;
  color: #513421;
  font-family: ui-monospace, monospace;
  font-size: 9px;
  animation: tiny-walk 2.2s ease-in-out infinite;
}

.story-copy {
  margin: 0 0 13px;
  color: var(--cream);
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.75;
}

.story-copy-soft {
  color: #bfae92;
  font-size: 15px;
}

.story-choices {
  display: grid;
  gap: 10px;
  margin-top: 23px;
}

.choice-button {
  width: 100%;
  padding: 14px 17px;
  border: 1px solid rgba(255, 225, 180, 0.24);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.025);
  color: #eadcc4;
  text-align: left;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.choice-button:hover {
  border-color: rgba(255, 213, 146, 0.58);
  background: rgba(232, 170, 96, 0.1);
  transform: translateX(4px);
}

.choice-button:focus-visible {
  outline: 2px solid var(--amber-pale);
  outline-offset: 3px;
}

.playful-choice {
  color: var(--amber-pale);
}

.ending .primary-button {
  margin-top: 8px;
}

@keyframes blink {
  0%,
  46%,
  50%,
  100% {
    transform: scaleY(1);
  }
  48% {
    transform: scaleY(0.12);
  }
}

@keyframes companion-bounce {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  42% {
    transform: translateY(-24px) scale(0.94, 1.06) rotate(-5deg);
  }
  72% {
    transform: translateY(0) scale(1.08, 0.92);
  }
}

@keyframes companion-roll {
  0%,
  100% {
    transform: translateX(-18px) rotate(-12deg);
  }
  50% {
    transform: translateX(55px) rotate(372deg);
  }
}

@keyframes tiny-walk {
  0%,
  100% {
    transform: translateX(-16px) rotate(-5deg);
  }
  50% {
    transform: translateX(18px) rotate(5deg);
  }
}

@keyframes pebble-in {
  from {
    opacity: 0;
    transform: scale(0.7) translateY(5px);
  }
}

@media (max-width: 820px) {
  .companion {
    right: 12%;
    bottom: 35%;
    transform: scale(0.86);
  }

  .companion-says {
    min-height: 0;
  }

  .story-book {
    height: 104px;
  }

  .story-copy {
    font-size: 19px;
    line-height: 1.65;
  }
}

/* v0.3 — 梦境车站、夜班站长与企鹅扣扣 */

.station {
  background:
    linear-gradient(90deg, transparent 49.85%, rgba(255, 255, 255, 0.025) 50%, transparent 50.15%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.008) 0,
      rgba(255, 255, 255, 0.008) 1px,
      transparent 1px,
      transparent 5px
    ),
    #343630;
}

.station::after {
  background:
    linear-gradient(165deg, transparent 0 54%, rgba(235, 188, 104, 0.38) 54.3% 56%, transparent 56.3%),
    repeating-linear-gradient(
      98deg,
      transparent 0,
      transparent 90px,
      rgba(23, 18, 14, 0.15) 92px,
      transparent 94px
    ),
    #35312a;
}

.station-sign {
  position: absolute;
  z-index: 5;
  top: 7%;
  right: 9%;
  display: grid;
  min-width: 172px;
  padding: 14px 18px 12px;
  border: 3px solid #9b7849;
  background: #26312d;
  box-shadow:
    inset 0 0 0 1px rgba(255, 224, 173, 0.15),
    0 8px 24px rgba(0, 0, 0, 0.25);
  color: #f1d8a9;
  text-align: center;
}

.station-sign span,
.station-sign small {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 7px;
  letter-spacing: 0.18em;
  opacity: 0.62;
}

.station-sign strong {
  margin: 5px 0;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.14em;
}

.station-sign::before,
.station-sign::after {
  content: "";
  position: absolute;
  bottom: 100%;
  width: 2px;
  height: 36px;
  background: #716449;
}

.station-sign::before {
  left: 30px;
}

.station-sign::after {
  right: 30px;
}

.station-clock {
  position: absolute;
  z-index: 5;
  top: 22%;
  right: 17%;
  width: 56px;
  height: 56px;
  border: 4px solid #4c4a40;
  border-radius: 50%;
  background: #d8c9aa;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.2);
}

.clock-hand {
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: 2px;
  border-radius: 2px;
  background: #413b31;
  transform-origin: 50% 100%;
}

.clock-hour {
  height: 14px;
  transform: rotate(312deg);
}

.clock-minute {
  height: 20px;
  transform: rotate(72deg);
}

.clock-pin {
  position: absolute;
  left: calc(50% - 3px);
  top: calc(50% - 3px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9b6f44;
}

.platform-line {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 15%;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    #d7ab5f 0 34px,
    transparent 34px 51px
  );
  opacity: 0.55;
  transform: rotate(-1deg);
}

.stationmaster {
  position: absolute;
  z-index: 7;
  left: 47%;
  bottom: 42%;
  width: 86px;
  height: 150px;
  opacity: 0.92;
}

.stationmaster-head {
  position: absolute;
  z-index: 2;
  top: 23px;
  left: 26px;
  width: 35px;
  height: 42px;
  border-radius: 45% 45% 38% 38%;
  background: #b98c69;
}

.stationmaster-cap {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 17px;
  width: 51px;
  height: 22px;
  border-radius: 50% 50% 8% 8%;
  background: #24312e;
  box-shadow: 0 5px 0 #ba8d4e;
}

.stationmaster-coat {
  position: absolute;
  top: 61px;
  left: 13px;
  width: 62px;
  height: 86px;
  border-radius: 18px 18px 5px 5px;
  background:
    linear-gradient(90deg, transparent 48%, #c29a58 49% 52%, transparent 53%),
    #2f403a;
  clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%);
}

.stationmaster-book {
  position: absolute;
  z-index: 4;
  right: -3px;
  top: 83px;
  width: 41px;
  height: 51px;
  border-radius: 2px;
  background: #8b543f;
  box-shadow: inset 5px 0 #6f4234;
  transform: rotate(7deg);
}

.ticket-stack::before,
.ticket-stack::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #d7c194;
  box-shadow: 0 4px 10px rgba(29, 20, 13, 0.16);
}

.ticket-stack::before {
  transform: translate(10px, -8px) rotate(6deg);
}

.ticket-stack::after {
  transform: translate(-7px, -4px) rotate(-5deg);
}

.stationmaster-face {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(232, 195, 131, 0.36);
  border-radius: 4px;
  background: #30403a;
  color: #e8c786;
  font-size: 13px;
}

.stationmaster-speaker {
  color: #cbb58c;
}

.stationmaster-says {
  margin: 0 0 28px;
  padding: 20px 21px;
  border-left: 2px solid rgba(225, 181, 108, 0.52);
  background: linear-gradient(90deg, rgba(201, 158, 91, 0.09), transparent);
  color: #e2d4bb;
  font-size: 16px;
  line-height: 1.85;
}

.station-rule {
  margin-top: 0;
}

.compact-broadcast {
  margin-bottom: 25px;
  font-size: 14px;
}

.compact-broadcast strong {
  color: var(--amber-pale);
  font-size: 20px;
  font-weight: 400;
}

.companion {
  right: 27%;
  bottom: 39%;
}

.companion-body {
  overflow: hidden;
  background: linear-gradient(145deg, #25313a, #151d24);
  box-shadow:
    inset -8px -9px 0 rgba(0, 0, 0, 0.13),
    0 0 28px rgba(255, 183, 91, 0.18);
}

.companion-eye {
  z-index: 5;
  top: 27px;
  background: #272018;
}

.companion-eye-left {
  left: 23px;
}

.companion-eye-right {
  right: 23px;
}

.companion-belly {
  position: absolute;
  left: 13px;
  bottom: -17px;
  width: 54px;
  height: 63px;
  border-radius: 50% 50% 36% 36%;
  background: #ede2cf;
}

.companion-beak {
  position: absolute;
  z-index: 6;
  top: 39px;
  left: 34px;
  width: 13px;
  height: 10px;
  background: #e5a14e;
  clip-path: polygon(0 30%, 100% 0, 65% 100%, 7% 77%);
}

.pajama-button {
  position: absolute;
  z-index: 6;
  left: 38px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #7ba0a4;
}

.pajama-button-one {
  top: 53px;
}

.pajama-button-two {
  top: 62px;
}

.sleep-cap {
  position: absolute;
  z-index: 5;
  top: 1px;
  left: 14px;
  width: 61px;
  height: 32px;
  border-radius: 80% 12% 8% 10%;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.13) 0 5px,
      transparent 5px 11px
    ),
    #739298;
  transform: rotate(-6deg);
}

.sleep-cap::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #d9c6a2;
}

.penguin-face {
  background: #243038;
  color: #f0d9ad;
}

.story-rail {
  position: absolute;
  z-index: 1;
  left: -5%;
  right: -5%;
  bottom: 11px;
  height: 5px;
  border-top: 2px solid rgba(229, 192, 128, 0.52);
  border-bottom: 2px solid rgba(229, 192, 128, 0.52);
  transform: rotate(-2deg);
}

.tiny-gungun {
  background:
    radial-gradient(ellipse at 50% 68%, #eee0ca 0 43%, transparent 45%),
    #202b32;
  color: #e3a24f;
}

@media (max-width: 820px) {
  .station-sign {
    top: 8%;
    right: -8%;
    opacity: 0.72;
    transform: scale(0.78);
  }

  .station-clock {
    right: 14%;
    opacity: 0.65;
  }

  .stationmaster {
    left: 15%;
    bottom: 34%;
    opacity: 0.48;
    transform: scale(0.82);
  }

  .companion {
    right: 7%;
    bottom: 32%;
  }
}

/* v0.4 — 可玩的像素车站 */

body {
  background: #101817;
  image-rendering: pixelated;
}

.game-shell {
  position: relative;
  display: block;
  min-height: 100svh;
  overflow: hidden;
}

.room.station {
  position: fixed;
  inset: 0;
  min-height: 100svh;
  background:
    linear-gradient(180deg, rgba(8, 16, 18, 0.03) 0 56%, rgba(9, 13, 12, 0.34) 100%),
    url("../assets/dream-station-pixel-v1.png") center center / cover no-repeat;
  image-rendering: pixelated;
  transition:
    filter 800ms steps(5),
    background-position 2s steps(12);
}

.room.station::before,
.room.station::after {
  display: none;
}

.room.station > .wall-glow,
.room.station > .station-sign,
.room.station > .station-clock,
.room.station > .window,
.room.station > .lamp,
.room.station > .desk,
.room.station > .plant,
.room.station > .platform-line {
  display: none;
}

.pixel-vignette {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 10, 11, 0.08), transparent 38%, rgba(6, 9, 8, 0.24)),
    linear-gradient(90deg, rgba(5, 8, 8, 0.18), transparent 18% 82%, rgba(5, 8, 8, 0.18));
}

.pixel-status {
  position: absolute;
  z-index: 20;
  top: 18px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 32px;
  padding: 7px 11px;
  border: 2px solid #151b1b;
  background: rgba(22, 31, 29, 0.9);
  box-shadow:
    inset 0 0 0 2px rgba(211, 174, 111, 0.16),
    4px 4px 0 rgba(8, 11, 11, 0.55);
  color: #dfc798;
  font-family: ui-monospace, "SFMono-Regular", "PingFang SC", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.sound-toggle {
  position: absolute;
  z-index: 24;
  top: 18px;
  right: 20px;
  min-height: 32px;
  padding: 7px 11px;
  border: 2px solid #151b1b;
  border-radius: 0;
  background: rgba(22, 31, 29, 0.92);
  box-shadow:
    inset 0 0 0 2px rgba(211, 174, 111, 0.16),
    4px 4px 0 rgba(8, 11, 11, 0.55);
  color: #dfc798;
  font-family: ui-monospace, "SFMono-Regular", "PingFang SC", monospace;
  font-size: 10px;
  cursor: pointer;
}

.sound-toggle:hover,
.sound-toggle:focus-visible {
  background: #31433d;
  color: #ffe2a7;
  outline: 2px solid #d3a65f;
  outline-offset: 2px;
}

.pixel-signal {
  width: 8px;
  height: 8px;
  background: #e7ae59;
  box-shadow:
    0 0 0 2px #5f472d,
    0 0 10px rgba(238, 178, 90, 0.8);
  animation: signal-blink 2.4s steps(2) infinite;
}

.status-divider {
  opacity: 0.42;
}

.room-caption {
  z-index: 18;
  color: rgba(247, 220, 173, 0.62);
  text-shadow: 2px 2px #131817;
}

.story-panel {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: block;
  min-height: 100svh;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: none;
}

.story-frame {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: min(760px, calc(100vw - 40px));
  transform: translateX(-50%);
  pointer-events: auto;
}

.scene {
  max-height: min(48svh, 430px);
  overflow-y: auto;
  padding: 25px 28px 23px;
  border: 4px solid #111817;
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(42, 54, 49, 0.98), rgba(24, 33, 31, 0.98));
  box-shadow:
    inset 0 0 0 2px #92754b,
    inset 0 0 0 4px #28332f,
    8px 8px 0 rgba(5, 8, 8, 0.58);
  scrollbar-color: #8e7149 #1b2522;
  animation: pixel-panel-in 380ms steps(6) both;
}

.scene::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 10px;
  width: 5px;
  height: 5px;
  background: #d7aa63;
  box-shadow:
    calc(100% + 716px) 0 #d7aa63,
    0 calc(100% + 374px) #d7aa63;
  opacity: 0.55;
}

.scene .eyebrow {
  margin-bottom: 12px;
  font-size: 9px;
}

.scene h1 {
  font-size: clamp(31px, 5vw, 46px);
  line-height: 1.18;
  text-shadow: 3px 3px 0 #101615;
}

.scene h2 {
  font-size: clamp(25px, 4vw, 37px);
  line-height: 1.28;
  text-shadow: 3px 3px 0 #101615;
}

.scene .lead,
.scene .supporting,
.scene .north-star {
  margin: 14px 0 20px;
  font-size: 15px;
  line-height: 1.75;
}

.primary-button,
.choice-button {
  min-height: 46px;
  border: 2px solid #101716;
  border-radius: 0;
  background: #34443e;
  box-shadow:
    inset 0 0 0 2px #9b7d50,
    4px 4px 0 #0c1110;
  color: #f0dfbe;
  font-family: ui-monospace, "SFMono-Regular", "PingFang SC", monospace;
  font-size: 13px;
  transition: none;
}

.primary-button {
  min-height: 48px;
}

.primary-button:hover:not(:disabled),
.choice-button:hover {
  border-color: #111817;
  background: #455b51;
  box-shadow:
    inset 0 0 0 2px #d0a969,
    2px 2px 0 #0c1110;
  transform: translate(2px, 2px);
}

.primary-button:active:not(:disabled),
.choice-button:active {
  box-shadow: inset 0 0 0 2px #d0a969;
  transform: translate(4px, 4px);
}

.text-button {
  font-family: ui-monospace, "SFMono-Regular", "PingFang SC", monospace;
  font-size: 11px;
}

.speaker {
  margin-bottom: 9px;
}

.speaker-face,
.stationmaster-face {
  width: 38px;
  height: 38px;
  border: 2px solid #111817;
  border-radius: 0;
  box-shadow:
    inset 0 0 0 2px rgba(238, 209, 160, 0.25),
    3px 3px 0 rgba(7, 11, 10, 0.5);
  font-size: 10px;
}

.companion-says,
.stationmaster-says {
  min-height: 0;
  margin-bottom: 13px;
  padding: 13px 15px;
  border: 2px solid #121918;
  border-radius: 0;
  background: #283833;
  box-shadow: inset 0 0 0 2px rgba(216, 177, 110, 0.18);
  color: #f0ddba;
  font-size: 14px;
  line-height: 1.7;
}

.stationmaster-says {
  border-left: 4px solid #ae8a54;
}

.note-field {
  margin-bottom: 12px;
}

textarea {
  min-height: 78px;
  resize: none;
  padding: 13px 15px;
  border: 3px solid #111817;
  border-radius: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 25px,
      rgba(80, 62, 42, 0.1) 25px 26px
    ),
    #e8d5ad;
  box-shadow:
    inset 0 0 0 2px #a88653,
    4px 4px 0 rgba(7, 10, 9, 0.5);
  font-size: 14px;
  line-height: 1.7;
}

.heard-lines {
  min-height: 0;
  margin-bottom: 9px;
}

.heard-line {
  border: 1px solid #161d1b;
  border-radius: 0;
  background: #3a4a42;
  box-shadow: 2px 2px 0 #111716;
  color: #d7c49f;
}

.privacy-note {
  margin-top: 10px;
}

.story-book {
  display: none;
}

.story-copy {
  font-size: clamp(17px, 2.3vw, 22px);
  line-height: 1.6;
}

.story-copy-soft {
  font-size: 13px;
}

.story-source {
  width: fit-content;
  margin: -4px 0 12px;
  padding: 4px 7px;
  border: 1px solid rgba(224, 190, 128, 0.26);
  background: rgba(9, 15, 14, 0.24);
  color: #ad9b7a;
  font-family: ui-monospace, "SFMono-Regular", "PingFang SC", monospace;
  font-size: 9px;
  letter-spacing: 0.05em;
}

.story-choices {
  grid-template-columns: 1fr 1fr;
  margin-top: 16px;
}

.ending-line {
  font-size: clamp(18px, 2.8vw, 25px);
}

.compact-broadcast {
  margin-bottom: 16px;
}

.pixel-train {
  position: absolute;
  z-index: 11;
  right: -520px;
  bottom: 25%;
  width: 440px;
  height: 138px;
  border: 5px solid #101716;
  background:
    linear-gradient(180deg, #43564e 0 22%, #304139 22% 82%, #202b27 82%);
  box-shadow:
    inset 0 0 0 3px #776347,
    7px 7px 0 rgba(7, 10, 9, 0.48);
  opacity: 0;
  image-rendering: pixelated;
}

.train-roof {
  position: absolute;
  left: -10px;
  right: -10px;
  top: -16px;
  height: 17px;
  border: 4px solid #101716;
  background: #28342f;
}

.train-window {
  position: absolute;
  top: 31px;
  width: 70px;
  height: 54px;
  border: 4px solid #111817;
  background:
    linear-gradient(135deg, rgba(255, 243, 201, 0.36), transparent 45%),
    #d89c4f;
  box-shadow:
    inset 0 0 0 3px #f2c879,
    0 0 18px rgba(238, 177, 80, 0.36);
}

.train-window-one {
  left: 32px;
}

.train-window-two {
  left: 124px;
}

.train-window-three {
  left: 216px;
}

.train-door {
  position: absolute;
  top: 23px;
  right: 28px;
  width: 69px;
  height: 105px;
  border: 4px solid #111817;
  background: #263630;
  box-shadow: inset 0 0 0 3px #6f634a;
}

.train-wheel {
  position: absolute;
  bottom: -23px;
  width: 34px;
  height: 34px;
  border: 5px solid #0d1211;
  border-radius: 50%;
  background: #4e4d43;
  box-shadow: inset 0 0 0 5px #252a27;
}

.train-wheel-one {
  left: 65px;
}

.train-wheel-two {
  right: 68px;
}

.room.is-traveling {
  background-position: 44% center;
  filter: saturate(1.08);
}

.room.is-traveling .pixel-train {
  opacity: 1;
  animation: train-arrive 1.3s steps(16) forwards;
}

.room.is-traveling .stationmaster {
  opacity: 0.14;
}

.room.is-traveling .companion {
  animation: koukou-on-train 2.2s steps(8) infinite;
}

.ticket-trail {
  position: absolute;
  z-index: 19;
  left: 48%;
  bottom: 39%;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 60px;
  pointer-events: none;
}

.pixel-ticket {
  width: 23px;
  height: 14px;
  border: 2px solid #17201e;
  background:
    linear-gradient(90deg, transparent 42%, #c87c67 42% 55%, transparent 55%),
    #e3c78f;
  box-shadow:
    2px 2px 0 rgba(7, 10, 9, 0.48);
  transform:
    translateY(calc(var(--ticket-index) * -3px))
    rotate(calc((var(--ticket-index) - 3) * 4deg));
  animation: ticket-land 520ms steps(6) both;
}

.ticket-flash .pixel-ticket:last-child {
  animation: ticket-fly 760ms steps(10) both;
}

.stationmaster {
  z-index: 12;
  left: 26%;
  bottom: 31%;
  width: 184px;
  height: 276px;
  filter: drop-shadow(5px 5px 0 rgba(8, 12, 11, 0.42));
  transition:
    transform 360ms steps(5),
    opacity 360ms steps(5);
}

.stationmaster-sprite {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}

.character-nameplate {
  position: absolute;
  left: 50%;
  bottom: -9px;
  min-width: max-content;
  padding: 4px 7px;
  border: 2px solid #111817;
  background: #26352f;
  box-shadow: 2px 2px 0 rgba(7, 10, 9, 0.55);
  color: #efd39a;
  font-family: ui-monospace, "SFMono-Regular", "PingFang SC", monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  transform: translateX(-50%);
}

.companion {
  z-index: 17;
  right: 22%;
  bottom: 34%;
  width: 126px;
  height: 132px;
  filter: drop-shadow(5px 5px 0 rgba(8, 12, 11, 0.45));
  transition:
    transform 360ms steps(5),
    opacity 360ms steps(5);
}

.companion-body {
  left: 10px;
  bottom: 9px;
  width: 104px;
  height: 101px;
  overflow: hidden;
  border: 5px solid #101716;
  border-radius: 26px 26px 14px 14px;
  box-shadow:
    inset -8px -8px 0 rgba(0, 0, 0, 0.18),
    inset 7px 0 0 rgba(255, 255, 255, 0.03);
}

.companion-eye {
  top: 36px;
  width: 10px;
  height: 12px;
  border-radius: 1px;
}

.companion-eye-left {
  left: 29px;
}

.companion-eye-right {
  right: 29px;
}

.companion-belly {
  left: 15px;
  bottom: -17px;
  width: 68px;
  height: 76px;
  border-radius: 30px 30px 8px 8px;
}

.companion-beak {
  top: 50px;
  left: 43px;
  width: 17px;
  height: 13px;
}

.companion-blush {
  top: 54px;
  width: 15px;
  height: 7px;
  border-radius: 1px;
  background: #c77678;
}

.companion-blush-left {
  left: 13px;
}

.companion-blush-right {
  right: 13px;
}

.sleep-cap {
  top: 0;
  left: 17px;
  width: 80px;
  height: 42px;
  border: 4px solid #101716;
  border-radius: 18px 3px 3px 3px;
  transform: rotate(-5deg);
}

.sleep-cap::after {
  right: -13px;
  top: 23px;
  width: 18px;
  height: 18px;
  border: 3px solid #101716;
  border-radius: 2px;
}

.companion-shadow {
  left: 13px;
  width: 99px;
  height: 14px;
  border-radius: 2px;
  filter: none;
}

.stationmaster-face {
  overflow: hidden;
  background:
    url("../assets/stationmaster-pixel-v1.png") center 12% / 225% auto no-repeat,
    #2b3b36;
  color: transparent;
  image-rendering: pixelated;
}

.room[data-scene="arrival"] .stationmaster {
  transform: scale(1.18) translateY(-10px);
}

.room[data-scene="arrival"] .companion {
  opacity: 0.56;
  transform: scale(0.82);
}

.room[data-scene="talk"] .companion {
  transform: scale(1.18) translateY(-12px);
}

.room[data-scene="talk"] .stationmaster {
  opacity: 0.48;
  transform: scale(0.86);
}

.room[data-scene="ending"] .companion {
  transform: translateX(-72px) rotate(-7deg);
}

.room.is-settled {
  filter: saturate(0.72) brightness(0.7);
}

@keyframes pixel-panel-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes train-arrive {
  from {
    right: -520px;
  }
  to {
    right: 8%;
  }
}

@keyframes koukou-on-train {
  0%,
  100% {
    transform: translate(-165px, -30px) rotate(-3deg);
  }
  50% {
    transform: translate(-165px, -38px) rotate(3deg);
  }
}

@keyframes ticket-land {
  from {
    opacity: 0;
    transform: translate(40px, -70px) rotate(18deg);
  }
}

@keyframes ticket-fly {
  0% {
    opacity: 0;
    transform: translate(180px, 80px) rotate(35deg);
  }
  60% {
    opacity: 1;
    transform: translate(15px, -20px) rotate(-10deg);
  }
}

@keyframes signal-blink {
  50% {
    opacity: 0.46;
  }
}

@media (max-width: 820px) {
  .room.station {
    opacity: 1;
    background-position: 43% center;
  }

  .room::before {
    display: none;
  }

  .story-panel {
    min-height: 100svh;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .story-frame {
    bottom: 12px;
    width: calc(100vw - 20px);
  }

  .scene {
    max-height: 52svh;
    padding: 20px 18px 18px;
    box-shadow:
      inset 0 0 0 2px #92754b,
      inset 0 0 0 4px #28332f,
      5px 5px 0 rgba(5, 8, 8, 0.58);
  }

  .scene h1 {
    font-size: clamp(29px, 9vw, 39px);
  }

  .scene h2 {
    font-size: clamp(24px, 7vw, 32px);
  }

  .scene .lead,
  .scene .north-star {
    font-size: 13px;
  }

  .pixel-status {
    top: 10px;
    left: 10px;
    max-width: calc(100vw - 20px);
    gap: 6px;
    font-size: 8px;
  }

  .sound-toggle {
    top: 51px;
    right: 10px;
    min-height: 28px;
    font-size: 8px;
  }

  .room-caption {
    display: none;
  }

  .stationmaster {
    left: 12%;
    bottom: 47%;
    width: 142px;
    height: 213px;
    opacity: 0.96;
    transform: scale(0.86);
  }

  .companion {
    right: 8%;
    bottom: 49%;
    transform: scale(0.78);
  }

  .room[data-scene="arrival"] .stationmaster {
    transform: scale(1) translateY(-5px);
  }

  .room[data-scene="talk"] .companion {
    transform: scale(0.9) translateY(-8px);
  }

  .ticket-trail {
    left: 45%;
    bottom: 52%;
    transform: scale(0.82);
  }

  .story-choices {
    grid-template-columns: 1fr;
  }

  .pixel-train {
    bottom: 51%;
    transform: scale(0.72);
    transform-origin: right bottom;
  }

  .room.is-traveling .companion {
    animation: koukou-on-train-mobile 2.2s steps(8) infinite;
  }
}

@keyframes koukou-on-train-mobile {
  0%,
  100% {
    transform: translate(-112px, -12px) scale(0.74) rotate(-3deg);
  }
  50% {
    transform: translate(-112px, -18px) scale(0.74) rotate(3deg);
  }
}
