:root {
  --page-max: 1180px;
  --night: #071a2d;
  --night-deep: #03111f;
  --blue-glass: rgba(74, 140, 181, 0.30);
  --blue-glass-strong: rgba(47, 95, 127, 0.50);
  --line: rgba(238, 248, 255, 0.30);
  --line-soft: rgba(238, 248, 255, 0.15);
  --text: #eef8ff;
  --muted: rgba(238, 248, 255, 0.76);
  --faint: rgba(238, 248, 255, 0.56);
  --sun: #ffd86b;
  --sun-soft: #fff2b8;
  --pink: #f3b6a6;
  --sky: #a9dcff;
  --shadow: rgba(0, 0, 0, 0.38);
  --sky-top: #172b36;
  --sky-mid: #254657;
  --sky-bottom: #607f8c;
  --sky-ground: #2b4149;
  --sun-glow: rgba(216, 180, 111, 0.32);
  --sun-glow-soft: rgba(216, 201, 165, 0.16);
  --cloud-color: rgba(184, 201, 204, 0.34);
  --cloud-shadow: rgba(41, 64, 72, 0.44);
  --city-fog: rgba(216, 224, 224, 0.22);
  --beam-opacity: 0.36;
  --rainbow-opacity: 0;
  --city-opacity: 0.46;
  --panel-tint: rgba(194, 218, 226, 0.15);
  --panel-tint-strong: rgba(83, 119, 132, 0.24);
  --ambient-vignette: rgba(14, 30, 38, 0.42);
  --building-top: rgba(74, 101, 111, 0.28);
  --building-bottom: rgba(22, 35, 42, 0.78);
  --window-glow: rgba(216, 180, 111, 0.10);
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--night-deep);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  letter-spacing: 0;
  background: var(--night);
  overflow-x: hidden;
}

body[data-lang="zh-TW"] {
  font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", sans-serif;
}

body[data-lang="ja"] {
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}

body[data-lang="en"] {
  font-family: Inter, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

body[data-weather="sunny"] {
  --sky-top: #8bbfd8;
  --sky-mid: #b8d9e8;
  --sky-bottom: #e9f5f8;
  --sky-ground: #d7ecf4;
  --sun-glow: rgba(247, 223, 156, 0.42);
  --sun-glow-soft: rgba(247, 223, 156, 0.20);
  --cloud-color: rgba(233, 245, 248, 0.48);
  --cloud-shadow: rgba(139, 178, 195, 0.18);
  --city-fog: rgba(233, 245, 248, 0.34);
  --beam-opacity: 0.28;
  --city-opacity: 0.28;
  --panel-tint: rgba(237, 248, 252, 0.22);
  --panel-tint-strong: rgba(184, 217, 232, 0.14);
  --ambient-vignette: rgba(42, 86, 106, 0.18);
  --building-top: rgba(117, 151, 164, 0.18);
  --building-bottom: rgba(52, 78, 89, 0.42);
  --window-glow: rgba(247, 223, 156, 0.07);
}

body[data-weather="cloudy"] {
  --sky-top: #5f7f8e;
  --sky-mid: #8fa6ad;
  --sky-bottom: #c5d3d6;
  --sky-ground: #d8dfdc;
  --sun-glow: rgba(238, 243, 242, 0.22);
  --sun-glow-soft: rgba(216, 223, 220, 0.18);
  --cloud-color: rgba(238, 243, 242, 0.48);
  --cloud-shadow: rgba(95, 127, 142, 0.34);
  --city-fog: rgba(238, 243, 242, 0.38);
  --beam-opacity: 0.18;
  --city-opacity: 0.36;
  --panel-tint: rgba(227, 237, 238, 0.18);
  --panel-tint-strong: rgba(143, 166, 173, 0.18);
  --ambient-vignette: rgba(57, 80, 89, 0.24);
  --building-top: rgba(111, 136, 145, 0.18);
  --building-bottom: rgba(56, 75, 83, 0.48);
  --window-glow: rgba(216, 223, 220, 0.06);
}

body[data-weather="rainy"] {
  --sky-top: #172b36;
  --sky-mid: #254657;
  --sky-bottom: #607f8c;
  --sky-ground: #2b4149;
  --sun-glow: rgba(216, 180, 111, 0.34);
  --sun-glow-soft: rgba(184, 201, 204, 0.16);
  --cloud-color: rgba(184, 201, 204, 0.30);
  --cloud-shadow: rgba(28, 49, 58, 0.48);
  --city-fog: rgba(184, 201, 204, 0.24);
  --beam-opacity: 0.30;
  --city-opacity: 0.54;
  --panel-tint: rgba(175, 202, 212, 0.14);
  --panel-tint-strong: rgba(54, 90, 105, 0.28);
  --ambient-vignette: rgba(10, 22, 29, 0.48);
  --building-top: rgba(77, 105, 114, 0.24);
  --building-bottom: rgba(18, 31, 38, 0.68);
  --window-glow: rgba(216, 180, 111, 0.13);
}

body[data-weather="rainbow"] {
  --sky-top: #9fc9d8;
  --sky-mid: #d6e9ee;
  --sky-bottom: #eef5f2;
  --sky-ground: #cadfe0;
  --sun-glow: rgba(244, 213, 155, 0.38);
  --sun-glow-soft: rgba(215, 179, 193, 0.12);
  --cloud-color: rgba(238, 245, 242, 0.44);
  --cloud-shadow: rgba(159, 190, 198, 0.22);
  --city-fog: rgba(238, 245, 242, 0.36);
  --beam-opacity: 0.24;
  --rainbow-opacity: 0.18;
  --city-opacity: 0.32;
  --panel-tint: rgba(237, 248, 248, 0.20);
  --panel-tint-strong: rgba(244, 213, 155, 0.10);
  --ambient-vignette: rgba(61, 104, 116, 0.18);
  --building-top: rgba(116, 150, 158, 0.18);
  --building-bottom: rgba(54, 84, 91, 0.46);
  --window-glow: rgba(244, 213, 155, 0.08);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(38, 65, 76, 0.12) 56%, var(--ambient-vignette)),
    radial-gradient(ellipse at center, transparent 42%, rgba(12, 28, 36, 0.20) 100%);
  transition: background 1.6s ease;
}

body[data-weather="sunny"]::before,
body[data-weather="rainbow"]::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(86, 128, 144, 0.08) 60%, var(--ambient-vignette)),
    radial-gradient(ellipse at center, transparent 48%, rgba(35, 66, 78, 0.12) 100%);
}

body[data-weather="rainy"]::before {
  background:
    linear-gradient(180deg, rgba(9, 23, 30, 0.05), rgba(20, 43, 54, 0.18) 58%, var(--ambient-vignette)),
    radial-gradient(ellipse at center, transparent 38%, rgba(9, 21, 28, 0.26) 100%);
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
}

.cinema-sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 74% 24%, var(--sun-glow), transparent 18rem),
    radial-gradient(ellipse at 50% 8%, var(--sun-glow-soft), transparent 34rem),
    radial-gradient(ellipse at 18% 20%, rgba(255, 255, 255, 0.11), transparent 26rem),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 38%, var(--sky-bottom) 72%, var(--sky-ground) 100%);
  transition: background 1.6s ease;
}

.cinema-sky::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, transparent 0 44%, rgba(247, 223, 156, 0.18) 50%, rgba(233, 245, 248, 0.08) 59%, transparent 68%),
    linear-gradient(100deg, transparent 0 62%, rgba(216, 180, 111, 0.10) 68%, transparent 80%);
  filter: blur(4px);
  opacity: var(--beam-opacity);
  transition: opacity 1.6s ease;
}

.cinema-sky::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(180deg, rgba(177, 196, 202, 0.06), rgba(119, 148, 158, 0.12) 72%, rgba(74, 101, 111, 0.08)),
    radial-gradient(ellipse at 48% 72%, rgba(211, 222, 224, 0.10), transparent 54%);
  transition: opacity 1.35s ease;
}

body[data-weather="rainy"] .cinema-sky::after {
  opacity: 1;
}

.sun-break {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  animation: glow-drift 12s ease-in-out infinite;
}

.sun-break-one {
  width: 38rem;
  height: 20rem;
  right: -9rem;
  top: 16%;
  background: radial-gradient(ellipse, var(--sun-glow), rgba(216, 180, 111, 0.10) 48%, transparent 72%);
}

.sun-break-two {
  width: 30rem;
  height: 18rem;
  left: 32%;
  top: 2%;
  background: radial-gradient(ellipse, var(--sun-glow-soft), rgba(216, 180, 111, 0.08) 48%, transparent 72%);
  animation-duration: 17s;
}

.cloud-field {
  position: absolute;
  left: -15%;
  width: 130%;
  height: 34%;
  filter: blur(16px);
  opacity: 0.62;
  background:
    radial-gradient(ellipse at 8% 42%, var(--cloud-color), transparent 16rem),
    radial-gradient(ellipse at 26% 48%, var(--cloud-shadow), transparent 17rem),
    radial-gradient(ellipse at 52% 28%, var(--cloud-color), transparent 19rem),
    radial-gradient(ellipse at 78% 48%, var(--cloud-shadow), transparent 18rem);
  transition: background 1.6s ease, opacity 1.6s ease;
}

.cloud-field-a {
  top: 0;
  animation: cloud-pass 58s linear infinite;
}

.cloud-field-b {
  top: 18%;
  opacity: 0.46;
  transform: scaleY(0.78);
  animation: cloud-pass-alt 78s linear infinite;
}

.rain-scene-canvas,
.rain-glass-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease, visibility 1.2s ease;
}

.rain-scene-canvas {
  z-index: 1;
}

.rain-glass-canvas {
  z-index: 2;
}

body[data-weather="rainy"].rain-scene-ready .rain-scene-canvas {
  opacity: 1;
  visibility: visible;
}

body[data-weather="rainy"].rain-glass-ready .rain-glass-canvas {
  opacity: 1;
  visibility: visible;
}

body.rain-render-fallback .rain-glass-canvas {
  display: none;
}

.atmosphere-fog {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background:
    radial-gradient(ellipse at 20% 76%, var(--city-fog), transparent 24rem),
    radial-gradient(ellipse at 80% 68%, rgba(238, 243, 242, 0.16), transparent 18rem),
    linear-gradient(180deg, transparent 0 54%, rgba(238, 243, 242, 0.10) 72%, transparent 100%);
  animation: atmosphere-drift 12s ease-in-out infinite;
}

.rainbow-arc {
  position: absolute;
  right: -15vw;
  top: 12vh;
  width: min(78vw, 980px);
  height: min(42vw, 520px);
  border-radius: 50% 50% 0 0;
  opacity: var(--rainbow-opacity);
  background:
    radial-gradient(ellipse at 50% 100%,
      transparent 0 53%,
      rgba(215, 179, 193, 0.16) 54%,
      rgba(244, 213, 155, 0.14) 56%,
      rgba(182, 207, 174, 0.12) 58%,
      rgba(159, 201, 216, 0.11) 60%,
      transparent 64%);
  filter: blur(9px);
  mix-blend-mode: screen;
  transition: opacity 1.6s ease;
}

.city-haze {
  position: absolute;
  inset: auto -8% 0;
  height: 44%;
  background:
    radial-gradient(ellipse at 20% 35%, var(--sun-glow-soft), transparent 28rem),
    linear-gradient(180deg, transparent, var(--city-fog) 42%, rgba(28, 48, 56, 0.46));
  opacity: var(--city-opacity);
  transition: opacity 1.6s ease, background 1.6s ease;
}

.cityline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30vh;
  min-height: 210px;
  display: flex;
  align-items: flex-end;
  gap: clamp(8px, 1.8vw, 22px);
  padding: 0 clamp(12px, 4vw, 74px);
  opacity: var(--city-opacity);
  transform: translateY(14px);
  transition: opacity 1.6s ease;
}

.tower {
  position: relative;
  flex: 1;
  max-width: 128px;
  min-width: 30px;
  border: 1px solid rgba(221, 243, 255, 0.07);
  background:
    linear-gradient(180deg, var(--building-top), var(--building-bottom)),
    repeating-linear-gradient(180deg, transparent 0 17px, var(--window-glow) 18px 20px, transparent 21px 34px),
    repeating-linear-gradient(90deg, transparent 0 13px, rgba(201, 230, 242, 0.08) 14px 16px, transparent 17px 28px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 -20px 46px rgba(27, 45, 52, 0.18);
  transition: background 1.6s ease, box-shadow 1.6s ease;
}

.tower::before {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  top: -9px;
  height: 9px;
  border-radius: 2px 2px 0 0;
  background: rgba(31, 49, 56, 0.62);
}

.t1 { height: 44%; }
.t2 { height: 68%; }
.t3 { height: 52%; }
.t4 { height: 80%; }
.t5 { height: 48%; }
.t6 { height: 88%; }
.t7 { height: 58%; }
.t8 { height: 72%; }
.t9 { height: 46%; }

.site-scale-shell {
  position: relative;
  z-index: 4;
  width: 100%;
}

.site-desktop-canvas {
  position: relative;
  width: 100%;
  transform-origin: top left;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(185px, 1fr) auto minmax(112px, 1fr);
  align-items: center;
  gap: 20px;
  width: min(var(--page-max), calc(100% - 42px));
  margin: 0 auto;
  padding: 26px 0 12px;
}

.language-menu {
  position: absolute;
  top: 78px;
  right: 0;
  z-index: 70;
  width: min(280px, calc(100vw - 32px));
  padding: 14px;
  border-radius: 16px;
  transform-origin: top right;
  animation: menu-in 0.18s ease both;
}

.language-menu[hidden] {
  display: none;
}

.menu-section + .menu-section {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(238, 248, 255, 0.14);
}

.language-menu p {
  margin: 0 0 10px;
  color: var(--sun-soft);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.language-menu button {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: rgba(238, 248, 255, 0.86);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.language-menu button:hover,
.language-menu button.is-active {
  color: #fff;
  border-color: rgba(255, 216, 107, 0.42);
  background: rgba(126, 200, 245, 0.16);
}

.language-menu button.is-active::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 12px rgba(255, 216, 107, 0.7);
}

.language-menu button.is-auto {
  color: var(--sun-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  justify-self: start;
  min-width: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.brand-jp {
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.10em;
}

.brand-cloud {
  position: relative;
  width: 28px;
  height: 13px;
  border: 2px solid rgba(246, 252, 255, 0.88);
  border-radius: 999px;
}

.brand-cloud::before,
.brand-cloud::after {
  content: "";
  position: absolute;
  bottom: 3px;
  border: 2px solid rgba(246, 252, 255, 0.88);
  border-bottom: 0;
  background: transparent;
}

.brand-cloud::before {
  left: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50% 50% 0 0;
}

.brand-cloud::after {
  right: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50% 50% 0 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 4vw, 54px);
  justify-self: center;
  padding: 0 10px;
  border-left: 1px solid rgba(226, 244, 255, 0.12);
  border-right: 1px solid rgba(226, 244, 255, 0.12);
}

.site-nav a {
  position: relative;
  display: grid;
  gap: 5px;
  text-align: center;
  color: rgba(243, 251, 255, 0.86);
  transition: color 0.2s ease;
}

.site-nav a span {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.site-nav a small {
  color: rgba(243, 251, 255, 0.72);
  font-size: 0.67rem;
  font-weight: 700;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -13px;
  width: 0;
  height: 2px;
  background: var(--sun-soft);
  box-shadow: 0 0 12px rgba(246, 211, 100, 0.65);
  transform: translateX(-50%);
  transition: width 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--sun-soft);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 46px;
}

.header-actions {
  justify-self: end;
  display: flex;
  gap: 10px;
}

.circle-button {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(226, 244, 255, 0.32);
  border-radius: 50%;
  color: rgba(244, 251, 255, 0.92);
  cursor: pointer;
  background: rgba(14, 42, 65, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 14px 32px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.circle-button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 241, 182, 0.68);
  box-shadow: 0 0 24px rgba(246, 211, 100, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.circle-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.notify-dot {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff7b78;
  box-shadow: 0 0 0 2px rgba(7, 24, 39, 0.92);
}

.page {
  position: relative;
  z-index: 2;
  width: min(var(--page-max), calc(100% - 42px));
  margin: 0 auto;
  padding-bottom: 42px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.86fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
  min-height: clamp(760px, calc(100svh - 90px), 900px);
  padding: clamp(26px, 4vw, 48px) 0 56px;
  overflow: visible;
}

.hero-left {
  position: relative;
  min-width: 0;
}

.kicker,
.eyebrow {
  margin: 0;
  color: rgba(255, 241, 182, 0.92);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.20em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 18px 0 16px;
  max-width: 570px;
  font-size: clamp(4.2rem, 7.4vw, 6.9rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 22px 70px rgba(0, 0, 0, 0.42), 0 0 26px rgba(167, 215, 235, 0.16);
  font-family: Georgia, "Times New Roman", "Playfair Display", serif;
}

.hero-subtitle {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-subtitle p {
  margin: 0;
  color: rgba(246, 252, 255, 0.90);
  font-size: clamp(1.1rem, 2.1vw, 1.65rem);
  line-height: 1.45;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.hero-subtitle .jp-line {
  letter-spacing: 0.08em;
}

.poster-stage {
  position: relative;
  width: min(clamp(320px, 34vw, 500px), 88%);
  margin: clamp(24px, 3vh, 48px) 0 0 clamp(10px, 2vw, 28px);
  transform: rotate(-5deg);
  animation: poster-breathe 7s ease-in-out infinite;
  transform-origin: center top;
}

.paper-poster {
  position: relative;
  margin: 0;
  padding: 15px;
  border-radius: 3px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.36), transparent 38%),
    repeating-linear-gradient(0deg, rgba(111, 86, 58, 0.035) 0 2px, transparent 2px 5px),
    #f0e6d8;
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.34),
    0 4px 14px rgba(0, 0, 0, 0.26),
    inset 0 0 0 1px rgba(89, 65, 42, 0.18);
}

.paper-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 3px;
  background:
    radial-gradient(circle at 22% 16%, rgba(125, 92, 58, 0.09), transparent 18%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent 24%, rgba(97, 74, 54, 0.06));
  mix-blend-mode: multiply;
}

.paper-poster img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
  filter: saturate(0.98) contrast(0.99);
}

.poster-pin {
  position: absolute;
  top: -6px;
  left: 44%;
  z-index: 4;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff1b6 0 3px, #c98b28 4px 11px, #694316 12px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.35);
}

.poster-tape {
  position: absolute;
  z-index: 3;
  width: 130px;
  height: 36px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.22), transparent 18% 82%, rgba(255, 255, 255, 0.16)),
    rgba(219, 205, 175, 0.78);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.18);
  opacity: 0.94;
}

.poster-tape-top {
  top: -8px;
  left: 26%;
  transform: rotate(2deg);
}

.poster-tape-bottom {
  right: -8px;
  bottom: 58px;
  transform: rotate(-2deg);
}

.poster-note {
  width: 76%;
  margin: -24px auto 0;
  padding: 17px 20px;
  color: #254764;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.44), transparent 50%),
    #e9edf0;
  border-radius: 2px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.8;
  text-align: center;
  transform: rotate(3deg);
}

.glass {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(238, 248, 255, 0.22), rgba(255, 255, 255, 0.06)),
    linear-gradient(180deg, var(--panel-tint), var(--panel-tint-strong));
  box-shadow:
    0 28px 80px rgba(3, 17, 30, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -1px 0 rgba(126, 200, 245, 0.08);
  backdrop-filter: blur(22px) saturate(122%);
  -webkit-backdrop-filter: blur(22px) saturate(122%);
  transition: background 1.3s ease, border-color 1.3s ease, box-shadow 1.3s ease;
}

.request-panel {
  position: relative;
  margin-top: clamp(32px, 5vw, 58px);
  padding: clamp(22px, 2.7vw, 32px);
  overflow: hidden;
  animation: panel-float 8s ease-in-out infinite;
}

.request-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.20), transparent 28%, rgba(167, 215, 235, 0.07));
}

.panel-heading {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 8px;
}

.cloud-icon {
  position: relative;
  width: 42px;
  height: 24px;
  border: 2px solid rgba(255, 241, 182, 0.88);
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(246, 211, 100, 0.20);
}

.cloud-icon::before,
.cloud-icon::after {
  content: "";
  position: absolute;
  bottom: 8px;
  border: 2px solid rgba(255, 241, 182, 0.88);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
}

.cloud-icon::before {
  left: 7px;
  width: 15px;
  height: 15px;
}

.cloud-icon::after {
  right: 8px;
  width: 13px;
  height: 13px;
}

.panel-heading h2,
.section-title h2,
.story-copy h2 {
  margin: 5px 0 0;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  font-weight: 600;
}

.panel-copy {
  position: relative;
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.fields {
  position: relative;
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: rgba(246, 252, 255, 0.86);
  font-size: 0.9rem;
  font-weight: 700;
}

.field small {
  justify-self: end;
  margin-top: -2px;
  color: rgba(232, 244, 250, 0.54);
  font-size: 0.75rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(226, 244, 255, 0.34);
  border-radius: 9px;
  color: #10263a;
  background: rgba(239, 247, 252, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62), 0 10px 22px rgba(3, 12, 20, 0.10);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

input {
  min-height: 43px;
  padding: 0 16px;
}

textarea {
  min-height: 88px;
  padding: 14px 16px;
  line-height: 1.7;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(47, 78, 102, 0.62);
}

input:focus,
textarea:focus {
  border-color: rgba(255, 241, 182, 0.76);
  background: rgba(247, 251, 254, 0.94);
  box-shadow: 0 0 0 4px rgba(246, 211, 100, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.70);
  transform: translateY(-1px);
}

.submit-button {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  border-radius: 999px;
  color: #25415b;
  cursor: pointer;
  overflow: hidden;
  background: linear-gradient(110deg, #f7d24f, #f5db80 46%, #d7a4b5);
  box-shadow: 0 18px 42px rgba(246, 211, 100, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.42);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.submit-button::before {
  content: "";
  position: absolute;
  inset: -70% -20%;
  background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, 0.70) 50%, transparent 62%);
  transform: translateX(-76%);
  transition: transform 0.58s ease;
}

.submit-button:hover,
.submit-button:focus-visible {
  transform: translateY(-2px);
  filter: saturate(112%);
  box-shadow: 0 22px 54px rgba(246, 211, 100, 0.38), 0 0 30px rgba(255, 241, 182, 0.26);
}

.submit-button:hover::before,
.submit-button:focus-visible::before {
  transform: translateX(76%);
}

.submit-button svg {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.submit-button span {
  position: relative;
  z-index: 1;
}

.submit-button:disabled {
  cursor: wait;
  filter: grayscale(0.18) brightness(0.92);
}

.free-note {
  position: relative;
  margin: 9px 0 0;
  color: rgba(232, 244, 250, 0.74);
  font-size: 0.82rem;
  text-align: center;
}

.result-box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(255, 241, 182, 0.26);
  border-radius: 14px;
  background: rgba(5, 21, 34, 0.26);
  animation: reveal-up 0.48s ease both;
}

.result-box[hidden] {
  display: none;
}

.result-state {
  margin-bottom: 6px;
  color: var(--sun-soft);
  font-weight: 900;
}

.result-message {
  margin: 0;
  color: rgba(246, 252, 255, 0.82);
  line-height: 1.7;
}

.probability {
  min-width: 94px;
  color: var(--sun-soft);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1;
  text-align: right;
  text-shadow: 0 0 30px rgba(246, 211, 100, 0.28);
}

.probability:empty::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--sun-soft);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(260px, 0.78fr) minmax(0, 0.94fr);
  gap: 12px;
  align-items: stretch;
  scroll-margin-top: 94px;
  margin-top: clamp(48px, 6vw, 80px);
}

.dashboard-grid > article {
  height: 100%;
}

.feed-card,
.forecast-card,
.sky-letter-card {
  padding: 22px;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(226, 244, 255, 0.18);
}

.section-title h2 {
  font-size: 1.15rem;
}

.section-title a,
.section-title span {
  color: rgba(232, 244, 250, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
}

.latest-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.latest-list li {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(226, 244, 255, 0.13);
}

.latest-list li:last-child {
  border-bottom: 0;
}

.request-avatar {
  width: 42px;
  height: 42px;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.70) 0 10px, transparent 11px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(167, 215, 235, 0.54));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 8px 20px rgba(0, 0, 0, 0.18);
}

.request-avatar.flower { background: radial-gradient(circle at 50% 40%, #f9cedd 0 4px, transparent 5px), radial-gradient(circle at 40% 56%, #f7d77f 0 5px, transparent 6px), linear-gradient(135deg, #eaf8fb, #c5dce8); }
.request-avatar.sunset { background: radial-gradient(circle at 50% 50%, #f6d364 0 8px, transparent 9px), linear-gradient(135deg, #d4eef8, #eba78c); }
.request-avatar.heart { background: radial-gradient(circle at 45% 45%, #f09a9f 0 9px, transparent 10px), linear-gradient(135deg, #f8eef4, #bfe4ef); }
.request-avatar.cloud { background: radial-gradient(ellipse at 45% 55%, #d9f0f7 0 14px, transparent 15px), linear-gradient(135deg, #eef8fb, #accada); }
.request-avatar.book { background: linear-gradient(90deg, #f1dbc0 0 48%, #c89764 49% 51%, #f3e6d4 52%), linear-gradient(135deg, #eaf8fb, #c5dce8); }

.latest-list p {
  margin: 0 0 4px;
  color: rgba(246, 252, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 700;
}

.latest-list small {
  color: rgba(232, 244, 250, 0.62);
  font-size: 0.74rem;
}

.latest-list strong {
  color: var(--sun-soft);
  font-size: 0.9rem;
}

.forecast-card {
  text-align: center;
  overflow: hidden;
}

.forecast-card::before {
  content: "";
  position: absolute;
}

.forecast-label {
  margin: 0 0 8px;
  color: rgba(232, 244, 250, 0.78);
  font-size: 0.86rem;
}

.forecast-percent {
  color: #fff;
  font-size: clamp(4.6rem, 9vw, 6.2rem);
  font-weight: 400;
  line-height: 0.95;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.28), 0 0 26px rgba(255, 241, 182, 0.24);
}

.forecast-percent span {
  margin-left: 4px;
  font-size: 0.36em;
}

.sun-cloud-icon {
  position: relative;
  width: 96px;
  height: 74px;
  margin: 14px auto 10px;
}

.sun-cloud-icon::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 8px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff4b9 0 18px, transparent 19px);
  box-shadow:
    0 0 0 1px rgba(255, 241, 182, 0.48),
    0 0 28px rgba(246, 211, 100, 0.34);
}

.sun-cloud-icon::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 62px;
  height: 28px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 28% 35%, #dff3fa 0 18px, transparent 19px),
    radial-gradient(circle at 56% 35%, #c5e2ef 0 16px, transparent 17px),
    #d8eff7;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.forecast-desc {
  margin: 0 0 12px;
  color: rgba(246, 252, 255, 0.88);
  font-weight: 700;
}

.weather-details {
  display: grid;
  gap: 4px;
  margin: 0;
  color: rgba(232, 244, 250, 0.76);
  font-size: 0.84rem;
}

.weather-details div {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.weather-details dt,
.weather-details dd {
  margin: 0;
}

.sky-letter-card {
  display: flex;
  flex-direction: column;
}

.letter-visual {
  position: relative;
  min-height: 138px;
  margin-bottom: 18px;
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 241, 182, 0.26), transparent 9rem),
    linear-gradient(145deg, rgba(98, 154, 192, 0.52), rgba(25, 63, 94, 0.45));
}

.envelope {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 130px;
  height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 4px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(210, 226, 235, 0.78));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
  transform: translate(-50%, -50%) rotate(9deg);
}

.envelope::before,
.envelope::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 4px;
}

.envelope::before {
  clip-path: polygon(0 0, 50% 56%, 100% 0);
  background: rgba(175, 201, 214, 0.76);
}

.envelope::after {
  clip-path: polygon(0 100%, 50% 42%, 100% 100%);
  background: rgba(240, 247, 251, 0.70);
}

.letter-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.26) 45%, transparent 72%);
  animation: shine-pass 4.8s ease-in-out infinite;
}

.letter-body {
  margin: 0;
  color: rgba(246, 252, 255, 0.88);
  line-height: 1.85;
}

.letter-sign {
  margin: auto 0 0;
  padding-top: 16px;
  color: var(--sun-soft);
  text-align: right;
}

.sky-letter-card.is-updated {
  animation: reveal-up 0.5s ease both;
}

.story-band {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  margin-top: 16px;
  padding: clamp(22px, 3vw, 32px);
}

.lantern {
  position: relative;
  width: 128px;
  height: 128px;
  margin: 0 auto;
  border-radius: 18px 18px 28px 28px;
  background:
    radial-gradient(circle at 50% 56%, rgba(255, 229, 135, 0.98) 0 22px, rgba(230, 132, 60, 0.30) 33px, transparent 58px),
    linear-gradient(180deg, rgba(41, 36, 30, 0.88), rgba(12, 20, 26, 0.52));
  box-shadow: 0 0 38px rgba(246, 211, 100, 0.30), inset 0 0 0 1px rgba(255, 255, 255, 0.20);
}

.lantern::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: -20px;
  height: 34px;
  border: 2px solid rgba(255, 241, 182, 0.50);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
}

.story-copy h2 {
  max-width: 620px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.story-copy p {
  margin: 12px 0 18px;
  color: var(--muted);
  line-height: 1.75;
}

.story-copy a {
  color: var(--sun-soft);
  border-bottom: 1px solid rgba(255, 241, 182, 0.56);
  font-weight: 800;
}

.flow-list {
  display: grid;
  grid-template-columns: 1fr 22px 1fr 22px 1fr;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.flow-list li {
  min-width: 0;
}

.flow-list p {
  margin: 8px 0 0;
  color: rgba(255, 241, 182, 0.90);
  font-size: 0.88rem;
  font-weight: 800;
}

.flow-icon {
  position: relative;
  display: inline-block;
  width: 66px;
  height: 48px;
}

.flow-icon.rain {
  border: 1px solid rgba(167, 215, 235, 0.58);
  border-radius: 999px;
}

.flow-icon.rain::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 10px;
  width: 28px;
  height: 18px;
  border-radius: 999px;
  background: rgba(167, 215, 235, 0.42);
  box-shadow: 18px 8px 0 rgba(167, 215, 235, 0.30);
}

.flow-icon.rain::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: 5px;
  width: 8px;
  height: 13px;
  border-radius: 60% 40% 60% 40%;
  background: radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.70) 0 1px, rgba(167, 215, 235, 0.62) 2px 7px, transparent 8px);
  box-shadow: 14px 3px 0 -1px rgba(167, 215, 235, 0.58);
}

.flow-icon.clouds::before,
.flow-icon.clouds::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(213, 236, 246, 0.70);
  border-radius: 999px;
}

.flow-icon.clouds::before {
  left: 5px;
  top: 19px;
  width: 38px;
  height: 20px;
}

.flow-icon.clouds::after {
  right: 4px;
  top: 10px;
  width: 42px;
  height: 26px;
}

.flow-icon.sun {
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 241, 182, 0.96) 0 14px, transparent 15px);
  box-shadow: 0 0 26px rgba(246, 211, 100, 0.28);
}

.flow-arrow {
  display: block;
  width: 22px;
  height: 1px;
  background: rgba(255, 241, 182, 0.58);
}

.flow-arrow::after {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-top: 1px solid rgba(255, 241, 182, 0.58);
  border-right: 1px solid rgba(255, 241, 182, 0.58);
  transform: translateY(-3px) rotate(45deg);
}

.site-footer {
  position: relative;
  z-index: 2;
  width: min(var(--page-max), calc(100% - 42px));
  margin: 20px auto 0;
  padding: 34px 0;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto auto;
  gap: 24px;
  align-items: end;
  color: rgba(232, 244, 250, 0.70);
  border-top: 1px solid rgba(226, 244, 255, 0.16);
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-brand span {
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.10em;
}

.footer-brand small,
.site-footer p,
.site-footer nav a {
  font-size: 0.78rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

@keyframes cloud-pass {
  from { transform: translateX(0); }
  to { transform: translateX(15%); }
}

@keyframes cloud-pass-alt {
  from { transform: translateX(8%) scaleY(0.78); }
  to { transform: translateX(-12%) scaleY(0.78); }
}

@keyframes glow-drift {
  0%, 100% { opacity: 0.72; transform: translate3d(0, 0, 0) scale(1); }
  50% { opacity: 1; transform: translate3d(-18px, 8px, 0) scale(1.05); }
}

@keyframes atmosphere-drift {
  0%, 100% { transform: translateY(0); opacity: 0.14; }
  50% { transform: translateY(-10px); opacity: 0.22; }
}

@keyframes panel-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes poster-breathe {
  0%, 100% { transform: rotate(-5deg) translateY(0); }
  50% { transform: rotate(-4.3deg) translateY(-8px); }
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shine-pass {
  0%, 100% { transform: translateX(-120%); opacity: 0; }
  45%, 55% { opacity: 1; }
  70% { transform: translateX(120%); opacity: 0; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 1021px) and (max-height: 820px) {
  .site-header {
    padding-top: 18px;
    padding-bottom: 8px;
  }

  .hero-section {
    min-height: 700px;
    padding-top: 18px;
    padding-bottom: 40px;
  }

  h1 {
    margin: 12px 0 10px;
    font-size: clamp(4.7rem, 6.2vw, 5.6rem);
  }

  .hero-subtitle {
    gap: 5px;
    margin-bottom: 0;
  }

  .hero-subtitle p {
    font-size: clamp(1rem, 1.55vw, 1.22rem);
    line-height: 1.34;
  }

  .poster-stage {
    width: min(clamp(280px, 23vw, 320px), 76%);
    margin-top: 12px;
    margin-left: 18px;
  }

  .request-panel {
    margin-top: 16px;
    padding: 18px;
  }

  .panel-heading {
    margin-bottom: 6px;
  }

  .panel-heading h2 {
    font-size: 1.45rem;
  }

  .panel-copy {
    margin-bottom: 12px;
  }

  .fields {
    gap: 7px;
  }

  input {
    min-height: 34px;
  }

  textarea {
    min-height: 58px;
  }

  .submit-button {
    min-height: 44px;
    margin-top: 12px;
  }

  .dashboard-grid {
    margin-top: 52px;
  }
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    justify-content: space-between;
    overflow-x: auto;
    padding-top: 8px;
    padding-bottom: 10px;
  }

  .hero-section,
  .dashboard-grid,
  .story-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .poster-stage {
    width: min(440px, 92%);
  }

  .flow-list {
    grid-template-columns: 1fr 22px 1fr 22px 1fr;
  }
}

@media (max-width: 767px) {
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .site-scale-shell {
    width: 100vw;
    overflow: hidden;
  }

  .site-desktop-canvas {
    width: 1366px;
    max-width: none;
    transform: scale(calc(100vw / 1366));
    transform-origin: top left;
    will-change: transform;
  }

  .site-header {
    position: sticky;
    top: 0;
    left: auto;
    right: auto;
    z-index: 50;
    display: grid;
    grid-template-columns: minmax(185px, 1fr) auto minmax(112px, 1fr);
    align-items: center;
    gap: 20px;
    width: min(var(--page-max), calc(100% - 42px));
    margin: 0 auto;
    padding: 26px 0 12px;
  }

  .site-nav {
    display: flex;
    grid-column: auto;
    grid-row: auto;
    justify-self: center;
    justify-content: center;
    overflow: visible;
    gap: clamp(16px, 4vw, 54px);
    padding: 0 10px;
  }

  .header-actions {
    justify-self: end;
    gap: 10px;
  }

  .brand {
    max-width: none;
  }

  .brand-jp {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    font-size: clamp(1.05rem, 2vw, 1.55rem);
  }

  .circle-button {
    width: 44px;
    height: 44px;
  }

  .language-menu {
    top: 78px;
    right: 0;
    width: 280px;
  }

  .page {
    width: min(var(--page-max), calc(100% - 42px));
    padding-bottom: 42px;
  }

  .hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.86fr);
    gap: clamp(28px, 4vw, 58px);
    align-items: start;
    min-height: 820px;
    padding: 48px 0 56px;
    overflow: visible;
  }

  .hero-left {
    min-width: 0;
    min-height: 0;
  }

  h1 {
    max-width: 570px;
    font-size: 6.5rem;
    line-height: 0.9;
  }

  .hero-subtitle {
    margin-bottom: 24px;
  }

  .hero-subtitle p {
    font-size: 1.45rem;
  }

  .poster-stage {
    position: relative;
    left: auto;
    top: auto;
    width: 460px;
    margin: 34px 0 0 24px;
    transform: rotate(-5deg);
    animation: poster-breathe 7s ease-in-out infinite;
  }

  .poster-note {
    width: 76%;
    font-size: 0.94rem;
  }

  .request-panel {
    margin-top: 58px;
    padding: 32px;
    border-radius: 18px;
    animation: panel-float 8s ease-in-out infinite;
  }

  .panel-heading {
    grid-template-columns: 44px 1fr;
  }

  .dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(260px, 0.78fr) minmax(0, 0.94fr);
    gap: 12px;
    align-items: stretch;
    margin-top: 72px;
  }

  .result-box {
    grid-template-columns: 1fr auto;
  }

  .probability {
    text-align: right;
  }

  .latest-list li {
    grid-template-columns: 44px 1fr auto;
  }

  .latest-list strong {
    grid-column: auto;
    justify-self: auto;
  }

  .story-band {
    display: grid;
    grid-template-columns: 160px 1fr auto;
    gap: 28px;
    padding: 28px;
  }

  .lantern {
    width: 140px;
    height: 140px;
  }

  .flow-list {
    grid-template-columns: 1fr 22px 1fr 22px 1fr;
  }

  .flow-arrow {
    width: 22px;
    height: 1px;
    margin: 0;
  }

  .flow-arrow::after {
    transform: translateY(-3px) rotate(45deg);
  }

  .site-footer {
    width: min(var(--page-max), calc(100% - 42px));
    margin-top: 0;
    display: grid;
    grid-template-columns: minmax(250px, 1fr) auto auto;
    align-items: end;
  }
}

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

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