@font-face {
  font-family: Barlow;
  src: url("assets/barlow-condensed-extrabold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url("assets/barlow-condensed-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --paper: oklch(0.974 0 0);
  --ink: oklch(0.245 0.027 260);
  --red: oklch(0.585 0.19 30);
  --red-bright: oklch(0.66 0.196 30);
  --blue: oklch(0.885 0.051 235);
  --yellow: oklch(0.918 0.099 91);
  --muted: oklch(0.48 0.018 260);
  --line: oklch(0.245 0.027 260 / 0.17);
  --display: Barlow, "Arial Narrow", sans-serif;
  --body:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --page-pad: clamp(24px, 5.6vw, 96px);
  --z-header: 10;
  --z-toast: 30;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.dialog-open {
  overflow: hidden;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
svg {
  display: block;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
button {
  border-radius: 0;
}
button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--red-bright);
  outline-offset: 5px;
}
button:disabled {
  opacity: 0.45;
}
::selection {
  background: var(--red);
  color: white;
}
.icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--paper);
  padding: 12px 24px;
  z-index: 50;
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  height: 94px;
  padding: 0 var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: relative;
  z-index: var(--z-header);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand > svg {
  width: 35px;
  height: 35px;
  color: var(--red);
}
.brand > span {
  font-size: 1.2rem;
  font-weight: 850;
  letter-spacing: 0.035em;
  line-height: 1.1;
}
.brand small {
  display: block;
  font-family: var(--display);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  margin-top: 7px;
  font-weight: 700;
}
.desktop-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.desktop-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 14px 0;
  position: relative;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  bottom: 7px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.desktop-nav a:hover::after {
  transform: scaleX(1);
}
.desktop-nav a span {
  color: var(--red);
  margin-left: 4px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}
.header-link {
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
}
.header-link .icon {
  width: 18px;
  height: 18px;
}
.motion-toggle {
  display: flex;
  gap: 9px;
  align-items: center;
  background: none;
  border: 0;
  padding: 8px 0;
  min-height: 44px;
  font-size: 0.64rem;
  color: var(--muted);
}
.motion-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 18px;
}
.motion-bars i {
  display: block;
  width: 2px;
  height: 10px;
  background: var(--red);
  animation: bars 1.8s ease-in-out infinite alternate;
}
.motion-bars i:nth-child(2) {
  height: 17px;
  animation-delay: -0.5s;
}
.motion-bars i:nth-child(3) {
  height: 13px;
  animation-delay: -1s;
}
.motion-bars i:nth-child(4) {
  height: 6px;
  animation-delay: -1.5s;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  margin: 6px 0;
  transition: transform 0.2s;
}
.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}
.mobile-menu {
  padding: 16px 24px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  z-index: var(--z-header);
}
.mobile-menu a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu[hidden] {
  display: none;
}
.hero {
  position: relative;
  min-height: 795px;
  max-width: 1800px;
  margin: auto;
  padding: 0 var(--page-pad);
  isolation: isolate;
  overflow: hidden;
}
.hero-topline {
  display: flex;
  justify-content: space-between;
  padding-top: 23px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.hero-topline span:last-child {
  font-family: var(--display);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}
.hero-watermark {
  position: absolute;
  right: -14px;
  top: 27px;
  font-family: var(--display);
  font-size: clamp(220px, 27vw, 470px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  color: oklch(0.245 0.027 260 / 0.035);
  z-index: -1;
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 68px 0 88px;
  width: 51%;
}
.summer-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.73rem;
  font-weight: 600;
  margin-bottom: 23px;
  letter-spacing: 0.03em;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  color: var(--red);
  flex: none;
}
.hero h1 {
  font-size: clamp(3rem, 5.5vw, 5.3rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.hero-line {
  display: block;
  white-space: nowrap;
}
.red-word {
  color: var(--red);
  position: relative;
}
.red-word::after {
  content: "";
  height: 3px;
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 3px;
  background: currentColor;
  transform: rotate(-3deg);
}
.title-period {
  color: var(--red);
}
.hero-description {
  font-size: 0.92rem;
  line-height: 1.95;
  color: var(--muted);
  margin-top: 24px;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 30px;
}
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 14px 24px;
  border: 0;
  font-size: 0.86rem;
  font-weight: 650;
  transition:
    background 0.2s,
    transform 0.25s;
}
.button-red {
  background: var(--red);
  color: white;
  clip-path: polygon(
    0 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% 100%,
    10px 100%,
    0 calc(100% - 10px)
  );
}
.button-red:hover {
  background: var(--ink);
  transform: translateY(-3px);
}
.button-red .icon {
  width: 20px;
}
.trailer-link {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  min-height: 44px;
  white-space: nowrap;
}
.play-circle {
  width: 31px;
  height: 31px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition:
    background 0.2s,
    color 0.2s;
}
.play-circle .icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: none;
  transform: translateX(-1px);
}
.trailer-link:hover .play-circle {
  background: var(--ink);
  color: white;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 30px;
}
.note-line {
  width: 24px;
  height: 1px;
  background: var(--muted);
}
.hero-art {
  position: absolute;
  right: calc(var(--page-pad) + 24px);
  top: 93px;
  width: 41%;
  height: 614px;
  z-index: 1;
}
.hero-poster {
  position: absolute;
  inset: 0 7px 0 0;
  background: var(--ink);
  transform: rotate(3deg);
  border: 8px solid var(--paper);
  box-shadow: 7px 9px 0 oklch(0.245 0.027 260 / 0.09);
  transition: transform 0.8s var(--ease);
  will-change: transform;
}
.hero-poster img {
  width: 100%;
  height: calc(100% - 43px);
  object-fit: cover;
  object-position: 50% 55%;
  filter: saturate(0.9);
}
.hero-poster figcaption {
  height: 43px;
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}
.hero-poster figcaption span:nth-child(2) {
  font-family: var(--body);
  font-size: 0.57rem;
  letter-spacing: 0.12em;
}
.hero-poster figcaption span:last-child {
  font-size: 1.7rem;
}
.sun-badge {
  position: absolute;
  z-index: 2;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--yellow);
  top: -33px;
  left: -47px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(-13deg);
  border: 1px solid var(--ink);
  gap: 7px;
}
.sun-badge > span {
  font-size: 0.65rem;
  font-weight: 700;
}
.sun-badge > svg {
  width: 31px;
  height: 31px;
  color: var(--red);
}
.sun-badge > small {
  font-family: var(--display);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.poster-side {
  position: absolute;
  right: -31px;
  top: 34px;
  writing-mode: vertical-rl;
  letter-spacing: 0.3em;
  font-size: 0.65rem;
  font-weight: 600;
}
.speech-bubble {
  position: absolute;
  bottom: 76px;
  left: -61px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 25px;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 17px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  transform: rotate(-4deg);
  box-shadow: 4px 4px 0 var(--red);
  transition: transform 0.25s;
}
.speech-bubble::after {
  content: "";
  width: 13px;
  height: 13px;
  background: var(--paper);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  position: absolute;
  bottom: -7px;
  right: 44px;
  transform: skew(-15deg) rotate(45deg);
}
.speech-bubble:hover {
  transform: rotate(-2deg) translateY(-5px);
}
.speech-bubble .icon {
  width: 19px;
  height: 19px;
  color: var(--red);
}
.speech-bubble.popped .icon {
  animation: heartPop 0.4s var(--ease);
}
.art-caption {
  position: absolute;
  bottom: 35px;
  left: -25px;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  background: var(--paper);
  padding: 3px 7px;
  transform: rotate(-4deg);
  color: var(--muted);
}
.hero-bottom {
  position: absolute;
  bottom: 24px;
  left: var(--page-pad);
  right: var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}
.hero-bottom b {
  font-weight: 800;
}
.hero-bottom > a {
  font-family: var(--body);
  font-size: 0.66rem;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 36px;
}
.hero-bottom > a span {
  font-size: 1.3rem;
}
.ticker {
  background: var(--red);
  color: white;
  overflow: hidden;
  border-top: 1px solid var(--red);
  border-bottom: 1px solid var(--red);
  padding: 15px 0;
}
.ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 42px;
  animation: marquee 35s linear infinite;
}
.ticker-track > span {
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: 0.035em;
  white-space: nowrap;
}
.ticker-track > span.ticker-en {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.025em;
}
.ticker svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.section-shell {
  padding: 100px var(--page-pad);
}
.chapter-label {
  font-size: 0.73rem;
  display: block;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 18px;
}
.characters {
  background: var(--ink);
  color: var(--paper);
}
.characters-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: 1280px;
  margin: auto;
}
.characters-intro .chapter-label {
  color: var(--blue);
}
.characters h2 {
  font-size: clamp(2.25rem, 3.65vw, 3.5rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
}
.characters h2 span {
  color: var(--red-bright);
}
.characters-intro > p {
  font-size: 0.86rem;
  line-height: 2;
  color: oklch(0.8 0.012 250);
  padding: 0 2px 8px 0;
}
.character-layout {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: clamp(48px, 7vw, 110px);
  margin: 60px auto 0;
  max-width: 1280px;
  align-items: center;
}
.character-image-wrap {
  position: relative;
  height: 550px;
  overflow: hidden;
  background: oklch(0.32 0.03 260);
}
.character-image-wrap > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transition:
    opacity 0.3s,
    transform 0.6s var(--ease);
}
.image-cross {
  position: absolute;
  color: white;
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1;
}
.cross-top {
  top: 15px;
  left: 15px;
}
.cross-bottom {
  bottom: 66px;
  right: 15px;
}
.character-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--ink);
  padding: 15px 0 0;
}
.character-image-caption > span:first-child {
  font-family: var(--display);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.2;
}
.character-image-caption > span:last-child {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
}
.character-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid oklch(1 0 0 / 0.2);
  margin-bottom: 35px;
}
.character-tabs button {
  background: none;
  color: oklch(0.76 0.01 250);
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 15px 0;
  flex: 1;
  text-align: left;
  min-height: 52px;
  font-size: 0.85rem;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.character-tabs button span {
  font-family: var(--display);
  font-size: 0.65rem;
  margin-left: 8px;
  opacity: 0.7;
}
.character-tabs button.active {
  color: white;
  border-bottom-color: var(--red-bright);
}
.character-jp {
  color: var(--blue);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  margin-bottom: 5px;
}
.character-detail h3 {
  font-size: 2.65rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.character-detail h3 span {
  display: block;
  color: var(--red-bright);
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.065em;
  font-size: 1.25rem;
  margin-top: 9px;
}
.character-description {
  font-size: 0.88rem;
  line-height: 1.95;
  color: oklch(0.82 0.008 250);
  max-width: 440px;
  margin-top: 22px;
  min-height: 88px;
}
.character-facts {
  margin: 22px 0;
  display: grid;
  gap: 10px;
  font-size: 0.74rem;
}
.character-facts > div {
  display: flex;
  gap: 20px;
}
.character-facts dt {
  width: 67px;
  flex: none;
  color: oklch(0.7 0.01 250);
}
.character-facts dd {
  margin: 0;
}
.character-quote {
  position: relative;
  border-top: 1px solid oklch(1 0 0 / 0.15);
  padding: 22px 0 0 29px;
}
.character-quote > span {
  position: absolute;
  left: 0;
  top: 7px;
  color: var(--red-bright);
  font-size: 3.1rem;
  font-family: Georgia, serif;
}
.character-quote > p {
  font-size: 1.12rem;
  line-height: 1.55;
  font-weight: 650;
}
.character-quote small {
  display: block;
  color: oklch(0.7 0.01 250);
  font-size: 0.6rem;
  margin-top: 10px;
}
.memories {
  max-width: 1600px;
  margin: auto;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 40px;
}
.section-heading h2 {
  font-size: clamp(2.25rem, 4vw, 3.6rem);
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  gap: 24px;
  line-height: 1.2;
}
.tiny-flower svg {
  width: 38px;
  height: 38px;
  color: var(--red);
}
.section-heading > p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 4px;
}
.memory-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
}
.memory-card {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  display: block;
  min-width: 0;
}
.memory-image {
  display: block;
  overflow: hidden;
  position: relative;
  background: var(--blue);
}
.memory-image > img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition:
    transform 0.6s var(--ease),
    filter 0.6s;
}
.memory-large .memory-image > img {
  height: 565px;
  object-position: 50% 48%;
}
.memory-stack {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.memory-stack .memory-card:first-child .memory-image > img {
  object-position: 50% 42%;
}
.memory-stack .memory-card:last-child .memory-image > img {
  object-position: 50% 57%;
}
.memory-card:hover .memory-image > img {
  transform: scale(1.035);
  filter: saturate(1.1);
}
.image-open {
  width: 40px;
  height: 40px;
  background: var(--paper);
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  transition:
    background 0.2s,
    color 0.2s;
}
.image-open .icon {
  width: 20px;
  height: 20px;
}
.memory-card:hover .image-open {
  background: var(--red);
  color: white;
}
.memory-caption {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding: 17px 0 0;
}
.memory-caption small {
  font-family: var(--display);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--muted);
  display: block;
  margin-bottom: 3px;
}
.memory-caption strong {
  font-size: 1rem;
  font-weight: 700;
  display: block;
}
.memory-caption > span:last-child {
  font-family: var(--display);
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.07em;
}
.memory-footnote {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding-top: 18px;
  font-size: 0.67rem;
  color: var(--muted);
}
.memory-footnote > span:last-child {
  display: flex;
  align-items: center;
  gap: 12px;
}
.memory-footnote .icon {
  width: 16px;
  height: 16px;
}
.challenge {
  background: var(--blue);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 9vw;
  align-items: center;
  border-top: 1px solid oklch(0.245 0.027 260 / 0.12);
  border-bottom: 1px solid oklch(0.245 0.027 260 / 0.12);
}
.challenge-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 22px;
}
.challenge h2 {
  font-size: clamp(2.5rem, 4.2vw, 4rem);
  line-height: 1.28;
  letter-spacing: -0.025em;
}
.challenge h2 span {
  color: var(--red);
}
.challenge-copy > p {
  font-size: 0.87rem;
  margin-top: 22px;
  line-height: 1.95;
  color: oklch(0.36 0.04 240);
}
.challenge-note {
  font-size: 0.58rem;
  display: block;
  margin-top: 29px;
  color: oklch(0.4 0.035 240);
}
.game-board {
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 8px 8px 0 oklch(0.245 0.027 260 / 0.1);
  padding: 0 26px;
}
.game-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.7rem;
}
.game-top > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.game-top > span:last-child {
  font-family: var(--display);
  font-size: 0.78rem;
}
.game-prompt {
  font-size: 0.89rem;
  font-weight: 600;
  min-height: 81px;
  padding: 28px 0 12px;
  text-align: center;
}
.hand-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 0 23px;
}
.hand-choice {
  background: transparent;
  border: 1px solid var(--line);
  padding: 15px 12px 12px;
  transition:
    border-color 0.25s,
    background 0.25s,
    transform 0.25s;
  position: relative;
}
.hand-choice:hover:not(:disabled) {
  background: var(--yellow);
  border-color: var(--ink);
  transform: translateY(-4px);
}
.hand-choice:disabled {
  opacity: 1;
}
.hand-choice.is-chosen {
  border-color: var(--ink);
  background: oklch(0.94 0.035 91);
}
.hand-choice.is-revealed {
  border-color: var(--red);
  background: oklch(0.93 0.035 31);
}
.hand-art {
  display: block;
  height: 125px;
  position: relative;
}
.hand-art > svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.7;
  stroke-linejoin: round;
}
.hand-art .hand {
  fill: oklch(0.91 0.037 59);
}
.hand-art .sleeve {
  fill: var(--paper);
}
.hand-art .hand-line {
  fill: none;
  stroke: oklch(0.59 0.063 48);
  stroke-width: 1.3;
}
.hand-choice > span:last-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 3px;
  font-size: 0.74rem;
}
.hand-choice > span:last-child > span {
  color: var(--muted);
}
.eraser {
  width: 37px;
  height: 24px;
  transform: rotate(-15deg) translateY(8px);
  background: var(--paper);
  border: 1.5px solid var(--ink);
  position: absolute;
  top: 47%;
  left: calc(50% - 10px);
  opacity: 0;
  transition:
    opacity 0.25s,
    transform 0.4s var(--ease);
  box-shadow: 3px 3px 0 oklch(0.245 0.027 260 / 0.08);
}
.eraser > i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 65%;
  background: var(--red);
}
.eraser > i::after {
  content: "MONO";
  font-family: var(--display);
  font-size: 7px;
  letter-spacing: 0.04em;
  color: white;
  position: absolute;
  left: 3px;
  top: 5px;
}
.is-revealed .eraser {
  opacity: 1;
  transform: rotate(-15deg) translateY(0);
}
.game-bottom {
  border-top: 1px solid var(--line);
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  background: none;
  border: 0;
  padding: 8px 0;
  font-size: 0.75rem;
  color: var(--red);
}
.text-button > span {
  font-size: 1.2rem;
}
.closing {
  background: var(--red);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 42px var(--page-pad) 120px;
  isolation: isolate;
}
.closing-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}
.closing-top svg {
  width: 35px;
  height: 35px;
}
.closing h2 {
  font-size: clamp(3rem, 6.5vw, 6rem);
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: -0.025em;
  margin-top: 49px;
}
.closing > p {
  font-size: 0.9rem;
  margin-top: 22px;
}
.letter-button {
  margin-top: 31px;
  border: 1px solid oklch(1 0 0 / 0.6);
  background: transparent;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 19px;
  min-height: 56px;
  padding: 12px 22px;
  font-size: 0.81rem;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.letter-button:hover {
  background: white;
  color: var(--red);
  transform: translateY(-3px);
}
.letter-button .icon {
  width: 20px;
  height: 20px;
}
.closing-word {
  position: absolute;
  bottom: -54px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(115px, 15vw, 245px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: oklch(1 0 0 / 0.09);
  z-index: -1;
  pointer-events: none;
}
.site-footer {
  padding: 38px var(--page-pad) 28px;
  background: var(--paper);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer-top > div {
  display: flex;
  gap: 30px;
  font-size: 0.72rem;
}
.footer-top > div a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.footer-top > div a:hover {
  color: var(--red);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 22px;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  font-size: 0.6rem;
  line-height: 1.9;
  color: var(--muted);
}
.footer-bottom > p:first-child {
  max-width: 485px;
}
.footer-bottom > .creator-credit {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.footer-bottom > p:last-child {
  max-width: 465px;
}
dialog {
  padding: 0;
  border: 0;
  max-height: calc(100dvh - 40px);
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: oklch(0.12 0.025 250 / 0.8);
  backdrop-filter: blur(6px);
}
dialog[open] {
  animation: dialogIn 0.35s var(--ease);
}
.icon-button {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
}
.icon-button:hover {
  background: var(--red);
  border-color: var(--red);
  color: white;
}
.icon-button .icon {
  width: 20px;
  height: 20px;
}
.gallery-dialog {
  width: min(1050px, calc(100vw - 48px));
  background: var(--paper);
  padding: 24px 30px;
  color: var(--ink);
}
.gallery-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}
.gallery-top > div {
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.gallery-top h2 {
  font-size: 1.15rem;
}
.gallery-top span {
  font-family: var(--display);
  color: var(--red);
  font-size: 0.9rem;
}
.gallery-view {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 18px;
}
.gallery-view > img {
  height: min(64dvh, 670px);
  width: 100%;
  object-fit: contain;
  background: var(--ink);
}
.gallery-description {
  text-align: center;
  font-size: 0.86rem;
  margin-top: 17px;
}
.gallery-keyboard {
  text-align: center;
  font-size: 0.61rem;
  color: var(--muted);
  margin-top: 9px;
}
.letter-dialog {
  width: min(570px, calc(100vw - 32px));
  background: var(--paper);
  color: var(--ink);
  padding: 47px 44px 28px;
}
.letter-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 0;
}
.letter-stamp {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
}
.letter-stamp svg {
  width: 24px;
  height: 24px;
}
.letter-date {
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.letter-dialog h2 {
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  margin-bottom: 25px;
}
.letter-body {
  font-size: 0.87rem;
  line-height: 2;
}
.letter-body p + p {
  margin-top: 17px;
}
.letter-body .letter-highlight {
  color: var(--red);
  font-size: 1.2rem;
  font-weight: 700;
}
.letter-signature {
  text-align: right;
  margin: 28px 0;
  font-size: 0.84rem;
}
.letter-signature span {
  display: block;
  font-size: 0.62rem;
  color: var(--muted);
  margin-top: 4px;
}
.letter-dialog .button {
  width: 100%;
  font-size: 0.78rem;
}
#letter-saved {
  font-size: 0.68rem;
  line-height: 1.6;
  min-height: 1.6em;
  margin-top: 12px;
  color: var(--muted);
  text-align: center;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  background: var(--ink);
  color: white;
  border: 1px solid oklch(1 0 0 / 0.2);
  font-size: 0.78rem;
  padding: 13px 22px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s;
  z-index: var(--z-toast);
  max-width: calc(100vw - 40px);
  width: max-content;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes bars {
  from {
    transform: scaleY(0.4);
  }
  to {
    transform: scaleY(1);
  }
}
@keyframes heartPop {
  50% {
    transform: scale(1.3);
  }
}
@keyframes dialogIn {
  from {
    transform: translateY(20px) scale(0.98);
  }
  to {
    transform: none;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0.3;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.character-detail.is-changing #character-panel {
  animation: fadeIn 0.4s var(--ease);
}
.motion-paused *,
.motion-paused *::before,
.motion-paused *::after {
  animation-play-state: paused !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}
.motion-paused {
  scroll-behavior: auto;
}
.motion-paused .hero-poster {
  transform: rotate(3deg) !important;
}
.motion-paused dialog[open],
.motion-paused .character-detail.is-changing #character-panel {
  animation: none !important;
}
@media (min-width: 1550px) {
  .hero {
    min-height: 900px;
  }
  .hero-copy {
    padding-top: 100px;
  }
  .hero-art {
    height: 690px;
    top: 108px;
    width: 40%;
  }
  .hero h1 {
    font-size: 6rem;
  }
  .hero-ctas {
    margin-top: 38px;
  }
}
@media (max-width: 1150px) {
  .desktop-nav {
    gap: 22px;
  }
  .header-actions {
    gap: 18px;
  }
  .motion-label {
    display: none;
  }
  .hero {
    min-height: 755px;
  }
  .hero-copy {
    padding-top: 66px;
  }
  .hero h1 {
    font-size: clamp(3rem, 5.6vw, 4.8rem);
  }
  .hero-art {
    right: calc(var(--page-pad) + 12px);
    top: 99px;
    height: 550px;
    width: 42%;
  }
  .hero-ctas {
    gap: 18px;
    align-items: flex-start;
    flex-direction: column;
  }
  .hero-note {
    margin-top: 20px;
  }
  .hero-copy {
    padding-bottom: 108px;
  }
  .sun-badge {
    width: 96px;
    height: 96px;
    left: -26px;
    top: -31px;
  }
  .sun-badge > small {
    font-size: 0.5rem;
  }
  .sun-badge > span {
    font-size: 0.6rem;
  }
  .speech-bubble {
    left: -35px;
    bottom: 85px;
    font-size: 0.72rem;
    gap: 15px;
    padding: 15px 18px;
  }
  .art-caption {
    left: -16px;
    bottom: 49px;
  }
  .character-layout {
    gap: 52px;
  }
  .character-image-wrap {
    height: 535px;
  }
  .character-detail h3 {
    font-size: 2.2rem;
  }
  .character-description {
    font-size: 0.82rem;
    min-height: 98px;
  }
  .character-facts {
    font-size: 0.68rem;
  }
  .challenge {
    gap: 6vw;
  }
  .game-board {
    padding: 0 20px;
  }
  .game-prompt {
    font-size: 0.78rem;
  }
  .hand-art {
    height: 105px;
  }
  .memory-large .memory-image > img {
    height: 533px;
  }
  .memory-image > img {
    height: 204px;
  }
}
@media (max-width: 850px) {
  :root {
    --page-pad: 32px;
  }
  .site-header {
    height: 80px;
  }
  .desktop-nav {
    gap: 18px;
  }
  .desktop-nav a {
    font-size: 0.73rem;
  }
  .header-link {
    display: none;
  }
  .hero {
    min-height: 710px;
  }
  .hero-topline {
    font-size: 0.56rem;
  }
  .hero-topline span:last-child {
    font-size: 0.61rem;
  }
  .hero-copy {
    padding-top: 67px;
    width: 53%;
  }
  .summer-label {
    font-size: 0.63rem;
    margin-bottom: 24px;
  }
  .hero h1 {
    font-size: 3.1rem;
    line-height: 1.25;
  }
  .hero-description {
    font-size: 0.78rem;
    line-height: 1.9;
  }
  .hero-art {
    width: 41%;
    height: 490px;
    top: 108px;
    right: 42px;
  }
  .hero-poster {
    border-width: 6px;
  }
  .sun-badge {
    width: 85px;
    height: 85px;
    left: -23px;
  }
  .sun-badge > span {
    font-size: 0.51rem;
  }
  .sun-badge > small {
    font-size: 0.44rem;
  }
  .sun-badge > svg {
    width: 26px;
    height: 26px;
  }
  .poster-side {
    right: -23px;
    font-size: 0.57rem;
  }
  .speech-bubble {
    left: -20px;
    gap: 10px;
    padding: 14px 13px;
    font-size: 0.67rem;
    bottom: 88px;
    white-space: nowrap;
  }
  .speech-bubble .icon {
    width: 16px;
    height: 16px;
  }
  .art-caption {
    font-size: 0.49rem;
    bottom: 53px;
    left: -10px;
  }
  .hero-note {
    font-size: 0.56rem;
    gap: 7px;
  }
  .hero-bottom {
    font-size: 0.62rem;
    bottom: 22px;
  }
  .hero-bottom > a {
    font-size: 0.59rem;
    gap: 12px;
  }
  .button {
    min-height: 50px;
    font-size: 0.8rem;
    padding: 12px 22px;
  }
  .hero-ctas {
    gap: 14px;
    margin-top: 25px;
  }
  .trailer-link {
    font-size: 0.7rem;
  }
  .hero-watermark {
    top: 47px;
  }
  .section-shell {
    padding: 72px var(--page-pad);
  }
  .character-layout {
    gap: 35px;
    margin-top: 40px;
    grid-template-columns: 1fr 1fr;
  }
  .characters-intro > p {
    font-size: 0.76rem;
  }
  .characters h2 {
    font-size: 2.25rem;
  }
  .character-image-wrap {
    height: 510px;
  }
  .character-detail h3 {
    font-size: 2rem;
  }
  .character-tabs {
    margin-bottom: 24px;
  }
  .character-tabs button {
    font-size: 0.75rem;
  }
  .character-description {
    font-size: 0.78rem;
    line-height: 1.85;
    min-height: 115px;
  }
  .character-facts > div {
    gap: 10px;
  }
  .character-facts dt {
    width: 54px;
  }
  .character-facts {
    font-size: 0.65rem;
  }
  .character-quote > p {
    font-size: 1rem;
  }
  .character-image-caption > span:first-child {
    font-size: 1.8rem;
  }
  .character-image-caption > span:last-child {
    font-size: 0.49rem;
  }
  .section-heading > p {
    font-size: 0.75rem;
  }
  .section-heading h2 {
    font-size: 2.5rem;
    gap: 20px;
  }
  .chapter-label {
    font-size: 0.66rem;
  }
  .memory-grid {
    gap: 24px;
    grid-template-columns: 1.05fr 1fr;
  }
  .memory-image > img {
    height: 174px;
  }
  .memory-large .memory-image > img {
    height: 473px;
  }
  .memory-caption strong {
    font-size: 0.9rem;
  }
  .memory-caption small {
    font-size: 0.58rem;
  }
  .memory-footnote {
    font-size: 0.58rem;
  }
  .challenge {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 35px;
  }
  .challenge h2 {
    font-size: 2.5rem;
  }
  .challenge-copy > p {
    font-size: 0.78rem;
  }
  .challenge-note {
    font-size: 0.51rem;
    max-width: 230px;
  }
  .game-board {
    padding: 0 16px;
  }
  .game-top {
    font-size: 0.62rem;
  }
  .game-prompt {
    font-size: 0.7rem;
    padding-top: 23px;
    min-height: 76px;
  }
  .hand-choices {
    gap: 12px;
  }
  .hand-choice {
    padding: 10px 8px;
  }
  .hand-art {
    height: 91px;
  }
  .hand-choice > span:last-child {
    font-size: 0.65rem;
  }
  .game-bottom {
    font-size: 0.63rem;
  }
  .text-button {
    font-size: 0.64rem;
    gap: 8px;
  }
  .footer-top > div {
    gap: 20px;
    font-size: 0.65rem;
  }
  .footer-bottom {
    gap: 28px;
    font-size: 0.55rem;
  }
}
@media (max-width: 650px) {
  :root {
    --page-pad: 24px;
  }
  html {
    scroll-padding-top: 28px;
  }
  .site-header {
    height: 76px;
    gap: 16px;
  }
  .brand > svg {
    width: 29px;
    height: 29px;
  }
  .brand > span {
    font-size: 1.06rem;
  }
  .brand small {
    font-size: 0.56rem;
    margin-top: 6px;
  }
  .desktop-nav {
    display: none;
  }
  .header-actions {
    gap: 18px;
  }
  .motion-label {
    display: inline;
    font-size: 0.57rem;
  }
  .menu-toggle {
    display: block;
  }
  .mobile-menu {
    top: 76px;
  }
  .hero {
    padding-top: 0;
    min-height: 0;
    overflow: hidden;
    padding-bottom: 89px;
  }
  .hero-topline {
    padding-top: 20px;
  }
  .hero-topline span:last-child {
    display: none;
  }
  .hero-copy {
    padding: 35px 0 0;
    width: 100%;
  }
  .summer-label {
    font-size: 0.61rem;
    margin-bottom: 20px;
    max-width: 100%;
  }
  .hero h1 {
    font-size: clamp(2.8rem, 11.5vw, 4rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
  }
  .hero-description {
    font-size: 0.82rem;
    margin-top: 24px;
    line-height: 1.85;
  }
  .hero-ctas {
    flex-direction: row;
    align-items: center;
    gap: 22px;
    margin-top: 25px;
  }
  .button {
    font-size: 0.74rem;
    min-height: 50px;
    gap: 20px;
    padding: 12px 19px;
  }
  .trailer-link {
    font-size: 0.66rem;
    gap: 8px;
  }
  .play-circle {
    width: 28px;
    height: 28px;
  }
  .hero-note {
    display: none;
  }
  .hero-art {
    position: relative;
    top: auto;
    right: auto;
    margin: 61px auto 28px;
    width: calc(100% - 35px);
    height: 470px;
  }
  .hero-poster {
    transform: rotate(3deg);
    border: 6px solid var(--paper);
  }
  .hero-poster img {
    object-position: 50% 40%;
    height: calc(100% - 39px);
  }
  .hero-poster figcaption {
    height: 39px;
    padding: 0 12px;
  }
  .hero-poster figcaption span:nth-child(2) {
    font-size: 0.53rem;
  }
  .sun-badge {
    left: -19px;
    top: -27px;
    width: 93px;
    height: 93px;
  }
  .sun-badge > span {
    font-size: 0.58rem;
  }
  .sun-badge > small {
    font-size: 0.49rem;
  }
  .speech-bubble {
    left: -14px;
    bottom: 74px;
    padding: 15px 16px;
    font-size: 0.76rem;
    gap: 18px;
  }
  .art-caption {
    bottom: 37px;
    left: -4px;
    font-size: 0.53rem;
  }
  .poster-side {
    right: -19px;
    top: 44px;
    font-size: 0.6rem;
  }
  .hero-bottom {
    left: 24px;
    right: 24px;
    bottom: 17px;
    padding-top: 15px;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
  }
  .hero-bottom > span {
    font-size: 0.55rem;
    letter-spacing: 0.03em;
  }
  .hero-bottom > a {
    font-size: 0.61rem;
    width: 100%;
    justify-content: space-between;
    min-height: 31px;
  }
  .hero-watermark {
    font-size: 44vw;
    top: 56px;
    right: -10px;
    color: oklch(0.245 0.027 260 / 0.025);
  }
  .ticker {
    padding: 12px 0;
  }
  .ticker-track {
    gap: 28px;
  }
  .ticker-track > span {
    font-size: 1.08rem;
  }
  .ticker-track > span.ticker-en {
    font-size: 1.6rem;
  }
  .ticker svg {
    width: 22px;
    height: 22px;
  }
  .section-shell {
    padding: 60px var(--page-pad);
  }
  .characters-intro {
    display: block;
  }
  .characters-intro h2 {
    font-size: 2.35rem;
    line-height: 1.28;
  }
  .characters-intro > p {
    font-size: 0.81rem;
    line-height: 1.85;
    margin-top: 22px;
  }
  .chapter-label {
    font-size: 0.65rem;
    margin-bottom: 17px;
  }
  .character-layout {
    display: flex;
    flex-direction: column;
    gap: 26px;
    margin-top: 33px;
  }
  .character-image-wrap {
    width: 100%;
    height: 420px;
  }
  .character-image-wrap > img {
    object-position: 50% 39%;
  }
  .character-image-caption > span:first-child {
    font-size: 2rem;
  }
  .character-image-caption > span:last-child {
    font-size: 0.55rem;
  }
  .character-detail {
    width: 100%;
  }
  .character-tabs {
    margin-bottom: 27px;
  }
  .character-tabs button {
    font-size: 0.88rem;
    min-height: 54px;
  }
  .character-detail h3 {
    font-size: 2.4rem;
  }
  .character-detail h3 span {
    font-size: 1.2rem;
  }
  .character-jp {
    font-size: 0.66rem;
  }
  .character-description {
    font-size: 0.86rem;
    min-height: 96px;
    max-width: none;
    line-height: 1.9;
    margin-top: 20px;
  }
  .character-facts {
    font-size: 0.74rem;
    margin: 22px 0;
    gap: 11px;
  }
  .character-facts > div {
    gap: 24px;
  }
  .character-facts dt {
    width: 65px;
  }
  .character-quote {
    padding-top: 24px;
  }
  .character-quote > p {
    font-size: 1.1rem;
  }
  .character-quote small {
    font-size: 0.58rem;
  }
  .section-heading {
    display: block;
    margin-bottom: 28px;
  }
  .section-heading h2 {
    font-size: 2.45rem;
  }
  .tiny-flower svg {
    width: 31px;
    height: 31px;
  }
  .section-heading > p {
    font-size: 0.82rem;
    margin-top: 20px;
    line-height: 1.85;
  }
  .memory-grid {
    display: block;
  }
  .memory-large .memory-image > img {
    height: 380px;
    object-position: 50% 52%;
  }
  .memory-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
  }
  .memory-image > img {
    height: 180px;
  }
  .memory-caption {
    padding-top: 13px;
    gap: 8px;
  }
  .memory-caption strong {
    font-size: 0.77rem;
    line-height: 1.6;
  }
  .memory-large .memory-caption strong {
    font-size: 0.94rem;
  }
  .memory-caption small {
    font-size: 0.51rem;
    letter-spacing: 0.06em;
    min-height: 13px;
  }
  .memory-caption > span:last-child {
    font-size: 0.65rem;
    align-self: flex-end;
  }
  .memory-stack .memory-caption > span:last-child {
    display: none;
  }
  .memory-stack .memory-card:first-child .memory-image > img {
    object-position: 50% 45%;
  }
  .image-open {
    width: 31px;
    height: 31px;
    bottom: 8px;
    right: 8px;
  }
  .image-open .icon {
    width: 17px;
    height: 17px;
  }
  .memory-footnote {
    margin-top: 28px;
    font-size: 0.59rem;
    gap: 15px;
    align-items: flex-start;
    line-height: 1.8;
  }
  .memory-footnote > span:first-child {
    max-width: 160px;
  }
  .memory-footnote > span:last-child {
    max-width: 132px;
    gap: 5px;
    text-align: right;
  }
  .challenge {
    display: block;
  }
  .challenge h2 {
    font-size: 2.8rem;
    line-height: 1.23;
  }
  .challenge-copy > p {
    font-size: 0.86rem;
    margin-top: 18px;
  }
  .challenge-kicker {
    font-size: 0.64rem;
    margin-bottom: 20px;
  }
  .challenge-note {
    font-size: 0.58rem;
    max-width: none;
    margin-top: 20px;
  }
  .game-board {
    margin-top: 33px;
    padding: 0 19px;
    box-shadow: 6px 6px 0 oklch(0.245 0.027 260 / 0.1);
  }
  .game-top {
    font-size: 0.7rem;
    padding: 16px 0;
  }
  .game-prompt {
    font-size: 0.8rem;
    min-height: 83px;
    padding: 27px 0 15px;
  }
  .hand-choices {
    gap: 14px;
  }
  .hand-art {
    height: 110px;
  }
  .hand-choice {
    padding: 12px 11px;
  }
  .hand-choice > span:last-child {
    font-size: 0.72rem;
  }
  .game-bottom {
    font-size: 0.7rem;
  }
  .text-button {
    font-size: 0.71rem;
  }
  .closing {
    padding: 31px 24px 89px;
  }
  .closing-top {
    font-size: 0.57rem;
    letter-spacing: 0.06em;
    gap: 16px;
  }
  .closing-top svg {
    width: 25px;
    height: 25px;
    flex: none;
  }
  .closing-top > span {
    max-width: 110px;
  }
  .closing-top > span:first-child {
    text-align: left;
  }
  .closing-top > span:last-child {
    text-align: right;
  }
  .closing h2 {
    font-size: clamp(2.7rem, 11vw, 4rem);
    margin-top: 40px;
  }
  .closing > p {
    font-size: 0.77rem;
    margin-top: 19px;
  }
  .letter-button {
    font-size: 0.72rem;
    gap: 14px;
    padding: 12px 17px;
    margin-top: 28px;
  }
  .closing-word {
    bottom: -20px;
    font-size: 100px;
  }
  .site-footer {
    padding: 30px 24px 24px;
  }
  .footer-top {
    display: block;
  }
  .footer-top > div {
    justify-content: space-between;
    gap: 14px;
    margin-top: 20px;
    font-size: 0.67rem;
  }
  .footer-bottom {
    display: block;
    margin-top: 19px;
    padding-top: 20px;
    font-size: 0.58rem;
    line-height: 1.9;
  }
  .footer-bottom > p + p {
    margin-top: 14px;
  }
  .gallery-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    padding: 17px 14px;
  }
  .gallery-top {
    margin-bottom: 13px;
  }
  .gallery-top > div {
    display: block;
  }
  .gallery-top h2 {
    font-size: 0.96rem;
    margin-top: 3px;
  }
  .gallery-top span {
    font-size: 0.75rem;
  }
  .gallery-view {
    gap: 8px;
    grid-template-columns: 32px 1fr 32px;
  }
  .gallery-view .icon-button {
    min-width: 32px;
    padding: 5px;
    min-height: 48px;
  }
  .gallery-view > img {
    height: 55dvh;
  }
  .gallery-description {
    font-size: 0.76rem;
    margin-top: 15px;
    line-height: 1.7;
    padding: 0 8px;
  }
  .gallery-keyboard {
    font-size: 0.55rem;
    margin-top: 9px;
  }
  .letter-dialog {
    padding: 43px 25px 24px;
  }
  .letter-body {
    font-size: 0.78rem;
    line-height: 1.9;
  }
  .letter-body br {
    display: none;
  }
  .letter-dialog h2 {
    font-size: 1.6rem;
  }
  .letter-highlight {
    font-size: 1.1rem !important;
  }
  .letter-date {
    font-size: 0.65rem;
  }
  .letter-stamp {
    margin-bottom: 25px;
  }
  .letter-signature {
    margin: 22px 0;
  }
  .toast {
    font-size: 0.7rem;
    text-align: center;
  }
}
@media (max-width: 365px) {
  :root {
    --page-pad: 20px;
  }
  .site-header {
    padding: 0 20px;
  }
  .header-actions {
    gap: 10px;
  }
  .motion-label {
    display: none;
  }
  .hero h1 {
    font-size: 2.7rem;
  }
  .hero-ctas {
    gap: 13px;
  }
  .button {
    padding: 12px 15px;
    gap: 13px;
  }
  .trailer-link {
    font-size: 0.61rem;
  }
  .hero-art {
    width: calc(100% - 22px);
    height: 428px;
  }
  .speech-bubble {
    font-size: 0.66rem;
    gap: 12px;
  }
  .hero-bottom {
    left: 20px;
    right: 20px;
  }
  .challenge h2 {
    font-size: 2.5rem;
  }
  .hand-art {
    height: 92px;
  }
  .game-prompt {
    font-size: 0.72rem;
  }
  .memory-image > img {
    height: 160px;
  }
  .memory-large .memory-image > img {
    height: 350px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-poster {
    transform: rotate(3deg) !important;
  }
}

/* Reading copy keeps a stable, comfortable size across devices. */
.hero-description,
.character-description,
.characters-intro > p,
.section-heading > p,
.challenge-copy > p,
.closing > p {
  font-size: 1rem;
}
@media (max-width: 650px) {
  .gallery-view {
    display: block;
    position: relative;
  }
  .gallery-view > img {
    height: auto;
    max-height: 64dvh;
    background: var(--paper);
    width: 100%;
    object-fit: contain;
  }
  .gallery-view .icon-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--paper);
    min-width: 36px;
    min-height: 44px;
    z-index: 1;
  }
  .gallery-view .gallery-prev {
    left: 0;
  }
  .gallery-view .gallery-next {
    right: 0;
  }
  .gallery-view .icon-button:hover {
    background: var(--red);
    color: white;
  }
}
