/* app/globals.css */
:root {
  --ink: #1f2a2d;
  --deep: #132125;
  --moss: #28433c;
  --moss-light: #557b68;
  --paper: #f5f1e8;
  --paper-dim: #e9e2d4;
  --gold: #d4aa62;
  --mist: #b8c4ba;
  --line: rgba(229, 220, 200, 0.2);
  --sans:
    "PingFang SC",
    "Microsoft YaHei",
    Arial,
    sans-serif;
  --serif:
    "Noto Serif SC",
    "Songti SC",
    STSong,
    serif;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--deep);
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--deep);
  color: var(--paper);
  font-family: var(--sans);
}
button,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,
textarea:focus-visible {
  outline: 2px solid #f6d693;
  outline-offset: 3px;
}
.loading-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(
      circle at 50% 30%,
      rgba(139, 173, 144, 0.18),
      transparent 35rem),
    var(--deep);
  color: var(--paper);
  letter-spacing: 0.08em;
}
.landing,
.complete-page,
.recap-page,
.ending-page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 36px 20px;
  background:
    linear-gradient(
      135deg,
      rgba(8, 16, 20, 0.55),
      rgba(22, 45, 39, 0.5)),
    radial-gradient(
      circle at 78% 14%,
      rgba(222, 197, 126, 0.24),
      transparent 22rem),
    radial-gradient(
      circle at 10% 88%,
      rgba(82, 127, 105, 0.28),
      transparent 31rem),
    #132125;
}
.landing-glow {
  position: absolute;
  width: min(80vw, 850px);
  height: min(80vw, 850px);
  border: 1px solid rgba(232, 221, 194, 0.08);
  border-radius: 50%;
  filter: blur(0.2px);
  transform: translate(30%, -20%);
  pointer-events: none;
}
.landing-card,
.complete-card,
.recap-card,
.ending-card {
  width: min(100%, 710px);
  position: relative;
  z-index: 1;
}
.landing-card {
  padding: clamp(32px, 7vw, 68px);
  border: 1px solid var(--line);
  background: rgba(22, 38, 38, 0.82);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.23);
}
.kicker {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.small-mark {
  margin: 12px 0 0;
  color: var(--mist);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.landing h1,
.home-header h1,
.ending-card h1 {
  margin: 16px 0 0;
  color: #fffaf0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.06em;
}
.landing h1 {
  font-size: clamp(38px, 7vw, 64px);
  line-height: 1.12;
}
.landing-lead {
  max-width: 570px;
  margin: 28px 0;
  color: #e6e0d4;
  font-size: 16px;
  line-height: 1.9;
}
.boundary {
  border-left: 2px solid var(--gold);
  margin-top: 16px;
  padding: 11px 0 11px 17px;
  background:
    linear-gradient(
      90deg,
      rgba(240, 215, 159, 0.08),
      transparent);
}
.boundary.soft {
  border-left-color: rgba(185, 204, 190, 0.7);
  background:
    linear-gradient(
      90deg,
      rgba(176, 203, 184, 0.07),
      transparent);
}
.boundary span {
  color: #f0cf8d;
  font-size: 13px;
  font-weight: 700;
}
.boundary.soft span {
  color: #b9d3be;
}
.boundary p {
  margin: 6px 0 0;
  color: #d9d6ce;
  font-size: 14px;
  line-height: 1.75;
}
.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}
.button {
  border: 1px solid transparent;
  min-height: 45px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}
.button:hover:not(:disabled) {
  transform: translateY(-2px);
}
.button:disabled {
  cursor: wait;
  opacity: 0.65;
}
.button.primary {
  background: var(--gold);
  color: #1c2927;
  border-color: var(--gold);
}
.button.primary:hover:not(:disabled) {
  background: #e3bf77;
}
.button.ghost {
  background: transparent;
  border-color: rgba(237, 226, 203, 0.48);
  color: #f1ebde;
}
.button.ghost:hover {
  background: rgba(244, 237, 222, 0.09);
}
.button.wide {
  width: 100%;
  margin-top: 24px;
}
.fine-print {
  margin: 18px 0 0;
  color: #aeb9ae;
  font-size: 12px;
  line-height: 1.65;
}
.home-page {
  min-height: 100vh;
  padding: clamp(24px, 5vw, 66px);
  background:
    radial-gradient(
      circle at 78% 0%,
      rgba(194, 166, 95, 0.18),
      transparent 23rem),
    radial-gradient(
      circle at 0% 45%,
      rgba(64, 104, 84, 0.2),
      transparent 30rem),
    #132125;
}
.home-header,
.home-hero,
.story-threads,
.day-grid,
.home-bottom {
  width: min(100%, 1120px);
  margin-left: auto;
  margin-right: auto;
}
.home-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.home-header h1 {
  font-size: clamp(25px, 4vw, 40px);
}
.test-toggle {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(227, 220, 201, 0.34);
  background: transparent;
  color: #d4d3ca;
  font-size: 12px;
}
.test-toggle.active {
  border-color: rgba(237, 205, 135, 0.9);
  color: #f4d58c;
  background: rgba(220, 181, 99, 0.1);
}
.home-hero {
  padding: clamp(54px, 9vw, 102px) 0 34px;
}
.home-hero h2 {
  max-width: 770px;
  margin: 13px 0 17px;
  color: #fffaf0;
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 500;
  line-height: 1.33;
  letter-spacing: 0.035em;
}
.home-hero > p:not(.small-mark):not(.notice) {
  color: #c9d1c6;
  line-height: 1.8;
}
.notice {
  margin: 15px 0 0;
  color: #f0cf8d;
  font-size: 13px;
  line-height: 1.6;
}
.hero-notice {
  display: inline-block;
  padding: 8px 11px;
  border: 1px solid rgba(240, 207, 141, 0.35);
}
.story-threads {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.story-threads span,
.story-threads div {
  padding: 17px 14px;
  color: #ddd8cb;
  font-size: 13px;
}
.story-threads span {
  color: var(--mist);
}
.story-threads div {
  border-left: 1px solid var(--line);
}
.story-threads b {
  margin-right: 9px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.09em;
}
.day-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  padding: 24px 0 34px;
}
.day-card {
  min-height: 183px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  border: 1px solid rgba(223, 219, 201, 0.22);
  padding: 16px;
  background: rgba(35, 56, 51, 0.5);
  color: #f3eee4;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}
.day-card.open {
  cursor: pointer;
}
.day-card.open:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 199, 127, 0.8);
  background: rgba(61, 90, 75, 0.73);
}
.day-card.locked {
  cursor: not-allowed;
  border-color: rgba(203, 212, 205, 0.09);
  background: rgba(24, 38, 38, 0.62);
  color: #79877f;
}
.day-card.done {
  border-color: rgba(181, 210, 188, 0.45);
  background: rgba(51, 82, 69, 0.72);
  cursor: default;
}
.day-card:disabled {
  opacity: 1;
}
.day-number {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.day-card.locked .day-number {
  color: #708078;
}
.day-card strong {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}
.day-card small {
  margin-top: 8px;
  color: #b7c1b7;
  font-size: 12px;
  line-height: 1.5;
}
.day-card.locked small {
  color: #6e7974;
}
.day-card em {
  margin-top: auto;
  padding-top: 17px;
  color: #f0cf8d;
  font-size: 11px;
  font-style: normal;
}
.day-card.locked em {
  color: #707e78;
}
.home-bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.home-bottom > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.home-bottom span {
  color: var(--mist);
  font-size: 12px;
}
.home-bottom strong {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}
.home-bottom p {
  margin: 0;
  color: #b9c4bb;
  font-size: 13px;
  line-height: 1.65;
}
.reset-button {
  justify-self: end;
  color: #aab7ae;
}
.word-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #c8d1c8;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.word-button:hover {
  color: #f3d69c;
}
.game-page {
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 12% 16%,
      rgba(89, 129, 105, 0.22),
      transparent 29rem),
    #142326;
}
.game-header {
  width: min(100%, 1200px);
  margin: 0 auto;
  min-height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 30px;
  border-bottom: 1px solid var(--line);
}
.game-header .word-button:last-child {
  justify-self: end;
}
.day-counter {
  color: #e8dec8;
  font-size: 12px;
  letter-spacing: 0.11em;
}
.story-shell {
  width: min(100%, 1200px);
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(370px, 1.14fr);
}
.scene-image-wrap {
  min-height: 100%;
  position: relative;
  overflow: hidden;
  background: #203b35;
}
.scene-image {
  width: 100%;
  height: 100%;
  min-height: 640px;
  display: block;
  object-fit: cover;
  filter: saturate(0.74) contrast(0.95) brightness(0.75);
}
.scene-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(11, 25, 25, 0.03),
      rgba(11, 25, 25, 0.72));
}
.scene-caption {
  position: absolute;
  left: clamp(24px, 4vw, 50px);
  right: clamp(24px, 4vw, 50px);
  bottom: 42px;
  padding-left: 15px;
  border-left: 2px solid var(--gold);
}
.scene-caption span {
  display: block;
  color: #edca86;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.scene-caption strong {
  display: block;
  margin-top: 7px;
  color: #f9f4e9;
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 500;
  line-height: 1.45;
}
.story-card {
  align-self: center;
  padding: clamp(40px, 7vw, 102px);
  background: #f5f0e4;
  color: var(--ink);
}
.story-heading {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(36, 57, 49, 0.18);
}
.story-heading p,
.choice-label {
  margin: 0;
  color: #667e70;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
}
.story-heading h2 {
  margin: 10px 0 0;
  color: #21372f;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 43px);
  font-weight: 500;
}
.path-trace {
  margin: 21px 0 -5px;
  padding-left: 13px;
  border-left: 2px solid rgba(171, 125, 62, 0.7);
  color: #62776b;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.72;
}
.story-text {
  margin: 28px 0 0;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 2;
  letter-spacing: 0.025em;
}
.speaker {
  margin: 28px 0 -14px;
  color: #bd8b44;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.story-card h3 {
  margin: 10px 0 24px;
  font-family: var(--serif);
  font-size: clamp(21px, 3vw, 29px);
  font-weight: 500;
  line-height: 1.55;
}
.choice-list {
  display: grid;
  gap: 10px;
}
.choice-button {
  display: grid;
  gap: 6px;
  width: 100%;
  border: 1px solid rgba(54, 82, 70, 0.28);
  padding: 15px 16px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  transition:
    border-color 150ms ease,
    background 150ms ease,
    transform 150ms ease;
}
.choice-button:hover {
  transform: translateX(4px);
  border-color: #b98642;
  background: rgba(218, 185, 119, 0.14);
}
.choice-button strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
}
.choice-button span {
  color: #63776c;
  font-size: 12px;
  line-height: 1.5;
}
.choice-echo {
  margin-top: 23px;
  padding: 13px 15px;
  border-left: 2px solid #b98541;
  color: #466154;
  background: rgba(212, 170, 98, 0.13);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.75;
}
.checkin-page {
  padding-bottom: 45px;
}
.checkin-card {
  width: min(100% - 40px, 740px);
  margin: clamp(42px, 9vh, 88px) auto 0;
  padding: clamp(30px, 7vw, 58px);
  background: #f5f0e4;
  color: var(--ink);
}
.checkin-card h2 {
  margin: 11px 0 13px;
  color: #21372f;
  font-family: var(--serif);
  font-size: clamp(29px, 5vw, 46px);
  font-weight: 500;
}
.checkin-card > p {
  color: #5c7065;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.8;
}
.selected-choices,
.recap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 19px;
}
.selected-choices span,
.recap-tags span {
  border: 1px solid rgba(80, 113, 94, 0.3);
  padding: 7px 9px;
  color: #3b5c4b;
  font-size: 12px;
}
.weather-block {
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid rgba(47, 74, 62, 0.18);
}
.weather-block h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
}
.weather-block p {
  margin: 8px 0 15px;
  color: #647a6d;
  font-size: 13px;
}
.weather-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}
.weather-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 76px;
  border: 1px solid rgba(59, 90, 75, 0.25);
  padding: 10px 4px;
  background: #fbf7ee;
  color: #3f584b;
  font-size: 12px;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background 150ms ease;
}
.weather-option i {
  width: 18px;
  height: 18px;
  display: block;
  border-radius: 50%;
  background: var(--weather-tint);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--weather-tint) 18%, transparent);
}
.weather-option:hover,
.weather-option.selected {
  transform: translateY(-2px);
  border-color: #be8a40;
  background: #fffaf0;
}
.note-label {
  display: grid;
  margin-top: 28px;
  color: #415a4c;
  font-size: 14px;
  font-weight: 700;
}
.note-label textarea {
  width: 100%;
  min-height: 110px;
  resize: vertical;
  margin-top: 11px;
  border: 1px solid rgba(59, 90, 75, 0.3);
  padding: 12px;
  background: #fbf7ee;
  color: #29453a;
  line-height: 1.7;
}
.note-label small {
  margin-top: 5px;
  color: #788c80;
  text-align: right;
  font-size: 11px;
  font-weight: 400;
}
.complete-card {
  padding: clamp(40px, 7vw, 72px);
  border: 1px solid var(--line);
  background: rgba(27, 48, 43, 0.85);
  text-align: center;
}
.complete-card h2 {
  margin: 13px 0;
  color: #fff8e9;
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 500;
}
.complete-card p {
  margin: 0 auto 26px;
  max-width: 440px;
  color: #cdd6ca;
  font-size: 15px;
  line-height: 1.8;
}
.recap-card {
  padding: clamp(32px, 6vw, 64px);
  background: #f5f0e4;
  color: var(--ink);
}
.word-button.back {
  margin-bottom: 34px;
  color: #557164;
}
.recap-card h2 {
  margin: 10px 0 0;
  color: #21372f;
  font-family: var(--serif);
  font-size: clamp(33px, 5vw, 48px);
  font-weight: 500;
}
.recap-diary {
  margin: 23px 0 0;
  color: #465d51;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.9;
}
.recap-weather {
  margin-top: 27px;
  color: #60776a;
}
.recap-weather strong {
  margin-left: 5px;
  color: #bc863e;
}
.recap-card blockquote {
  margin: 26px 0 0;
  border-left: 2px solid #c79854;
  padding: 8px 0 8px 15px;
  color: #4b6356;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.85;
}
.muted {
  color: #849287;
  font-size: 13px;
}
.ending-page {
  overflow: auto;
  align-items: start;
}
.ending-card {
  padding: clamp(28px, 6vw, 66px) 0;
}
.ending-card > h1 {
  font-size: clamp(40px, 8vw, 68px);
}
.ending-lead {
  margin: 13px 0 35px;
  color: #ccd5c8;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.8;
}
.chart-card,
.threads-card,
.letter-card {
  border: 1px solid var(--line);
  background: rgba(25, 45, 41, 0.84);
}
.chart-card {
  padding: clamp(21px, 5vw, 36px);
}
.chart-copy h2,
.letter-card h2 {
  margin: 7px 0 0;
  color: #fff9eb;
  font-family: var(--serif);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 500;
}
.chart-copy p {
  margin: 7px 0 17px;
  color: #b9c6b9;
  font-size: 13px;
}
.chart-card svg {
  width: 100%;
  overflow: visible;
}
.chart-grid {
  stroke: rgba(233, 225, 202, 0.3);
  stroke-width: 1;
}
.chart-grid.faint {
  stroke: rgba(233, 225, 202, 0.13);
}
.chart-line {
  fill: none;
  stroke: #dbb868;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chart-dot {
  fill: #f2d693;
  stroke: #29483d;
  stroke-width: 3;
}
.chart-card text {
  fill: #b9c8bb;
  font-size: 11px;
}
.threads-card {
  margin-top: 13px;
  padding: 18px 22px;
}
.threads-card span,
.letter-card span {
  color: #e5c47e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.threads-card p {
  margin: 8px 0 0;
  color: #edf0e8;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.7;
}
.letter-card {
  margin-top: 13px;
  padding: clamp(23px, 5vw, 37px);
}
.letter-card p {
  margin: 20px 0 25px;
  color: #d5ddd2;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.9;
}
.ending-card > .button.ghost {
  margin-top: 17px;
}
.final-card {
  padding-top: clamp(54px, 10vw, 100px);
  padding-bottom: clamp(54px, 10vw, 100px);
}
.door-card {
  margin-top: 30px;
  border: 1px solid var(--line);
  padding: clamp(22px, 4vw, 34px);
  background: rgba(25, 45, 41, 0.84);
}
.door-card > p:first-child {
  margin: 0 0 17px;
  color: #fff9eb;
  font-family: var(--serif);
  font-size: clamp(21px, 3.4vw, 29px);
  line-height: 1.5;
}
.exit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.exit-choice {
  min-height: 52px;
  border: 1px solid rgba(229, 220, 200, 0.34);
  padding: 12px 14px;
  background: rgba(243, 237, 222, 0.04);
  color: #eee7d8;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.4;
  text-align: left;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}
.exit-choice:hover,
.exit-choice.selected {
  border-color: #dfbd76;
  background: rgba(212, 170, 98, 0.15);
  transform: translateY(-2px);
}
.exit-echo {
  margin: 18px 0 0;
  border-left: 2px solid #d7af66;
  padding: 4px 0 4px 13px;
  color: #d8e2d7;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.8;
}
.door-card .muted {
  margin: 17px 0 0;
  color: #b9c6b9;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.75;
}
.final-whisper {
  margin: 22px 0 0;
  color: #cdd8cc;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.85;
}
.ending-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 17px;
  margin-top: 24px;
}
.ending-actions .button.ghost {
  margin-top: 0;
}
@media (max-width: 950px) {
  .day-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .day-card {
    min-height: 150px;
  }
  .story-shell {
    grid-template-columns: 1fr;
  }
  .scene-image {
    min-height: 360px;
    height: 54vw;
  }
  .story-card {
    padding: clamp(32px, 8vw, 70px);
  }
}
@media (max-width: 650px) {
  .landing,
  .complete-page,
  .recap-page,
  .ending-page {
    padding: 18px;
  }
  .landing-card {
    padding: 30px 22px;
  }
  .home-page {
    padding: 22px 18px 42px;
  }
  .home-header {
    gap: 12px;
  }
  .home-header .kicker {
    max-width: 210px;
    line-height: 1.5;
  }
  .test-toggle {
    margin-top: 4px;
  }
  .story-threads {
    grid-template-columns: 1fr;
  }
  .story-threads span,
  .story-threads div {
    padding: 12px 0;
    border-left: 0;
  }
  .story-threads div {
    border-top: 1px solid var(--line);
  }
  .day-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .day-card {
    min-height: 164px;
    padding: 13px;
  }
  .day-card strong {
    margin-top: 12px;
    font-size: 17px;
  }
  .home-bottom {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .reset-button {
    justify-self: start;
  }
  .game-header {
    padding: 0 18px;
  }
  .scene-image {
    min-height: 310px;
    height: 72vw;
  }
  .scene-caption {
    bottom: 28px;
  }
  .story-card {
    padding: 33px 23px 40px;
  }
  .story-text {
    font-size: 16px;
  }
  .weather-options {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
  }
  .weather-option {
    min-height: 68px;
    font-size: 11px;
  }
  .checkin-card {
    width: calc(100% - 32px);
    margin-top: 30px;
    padding: 31px 22px;
  }
  .ending-card {
    padding: 23px 0 44px;
  }
  .exit-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 360px) {
  .landing-actions {
    display: grid;
  }
  .day-grid {
    grid-template-columns: 1fr;
  }
  .weather-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
