:root {
  color-scheme: dark;
  --bg: #100924;
  --bg-deep: #070414;
  --ink: #f7f4ff;
  --muted: rgba(247, 244, 255, 0.74);
  --line: rgba(255, 255, 255, 0.16);
  --violet: #6d5cff;
  --pink: #ff4f8b;
  --gold: #ffd15a;
  --aqua: #5cefff;
  --glass: rgba(255, 255, 255, 0.08);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --dock: calc(72px + var(--safe-b));
  --hero-out: 0;
  --b1: 0;
  --b2: 0;
  --b3: 0;
  --orbit-in: 0;
  --boost-in: 0;
  --speed-in: 0;
  --portal-in: 0;
  --world-in: 0;
  --cards-in: 0;
  --enter-in: 0;
  --page: 0;
}
* { box-sizing: border-box; }
html { background: var(--bg-deep); scroll-behavior: smooth; scroll-snap-type: y proximity; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  line-break: strict;
  overflow-x: clip;
  text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.shell { width: min(100%, 480px); margin: 0 auto; position: relative; background: var(--bg); }
.skip-link {
  position: fixed; z-index: 80; left: 16px; top: -4rem;
  background: #fff; color: #16122b; font-weight: 800; border-radius: 999px; padding: 12px 16px;
}
.skip-link:focus { top: calc(12px + var(--safe-t)); }

.site-header, .mobile-dock {
  width: min(100%, 480px);
  left: 50%;
  transform: translateX(-50%);
}
.site-header {
  position: fixed; z-index: 40; top: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(10px + var(--safe-t)) calc(16px + var(--safe-r)) 18px calc(16px + var(--safe-l));
  pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 32, 78, 0.46), rgba(18, 32, 78, 0));
}
.site-header a { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.brand-glyph {
  width: 28px; height: 28px; border-radius: 9px; position: relative;
  background: linear-gradient(160deg, #8d7bff, #ff4f8b 70%, #ffd15a);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 6px 16px rgba(80, 40, 180, .35);
}
.brand-glyph i, .brand-glyph b { position: absolute; border-radius: 99px; background: #fff; }
.brand-glyph i { width: 12px; height: 3px; left: 8px; top: 9px; }
.brand-glyph b { width: 3px; height: 12px; left: 12.5px; top: 8px; }
.brand-name { font-size: 13px; letter-spacing: 0.14em; font-weight: 700; }
.brand-name strong { font-weight: 800; }
.header-meta { display: none; }
.brand-name, .header-cta { white-space: nowrap; }
.header-cta, .finale-join, .pick-info a, .category-tabs button, .difficulty button, #start-game, .start-join, .tap-play, .spatial-card a {
  min-height: 44px;
}
.header-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 16px; border-radius: 999px; font-weight: 800; font-size: 14px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
  backdrop-filter: blur(10px);
}

.cinematic { position: relative; height: 980vh; }
.hero-still { display: none; }
.cinematic.is-member { height: auto; }
.cinematic.is-member .finale-anchor { display: none; }
.cinematic.is-member .stage {
  position: relative;
  height: auto;
  background: #79d4ff;
}
.cinematic.is-member .stage::after { content: none; }
.cinematic.is-member .hero-still {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  z-index: 1;
}
.cinematic.is-member .webgl,
.cinematic.is-member .fallback,
.cinematic.is-member .vignette,
.cinematic.is-member .grain,
.cinematic.is-member .hero-copy,
.cinematic.is-member .benefit-show,
.cinematic.is-member .interaction-hint,
.cinematic.is-member .scroll-meter,
.cinematic.is-member .chapter,
.cinematic.is-member .speed-copy,
.cinematic.is-member .portal-copy,
.cinematic.is-member .world-copy,
.cinematic.is-member .enter-cue { display: none; }
.cinematic.is-member .mark-logo {
  opacity: 1;
  top: calc(28px + var(--safe-t));
  z-index: 2;
}
.shell:has(.cinematic.is-member) .start-join { display: none; }
.finale-anchor {
  position: absolute; left: 0; width: 1px; height: 100dvh;
  top: calc(0.9 * (980vh - 100dvh));
  scroll-snap-align: start;
  scroll-snap-stop: always;
  pointer-events: none;
}
.story-section, .cinematic { scroll-margin-top: calc(64px + var(--safe-t)); }
.stage {
  position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden;
  background:
    radial-gradient(80% 46% at 72% 58%, #e7fbff 0%, transparent 58%),
    linear-gradient(180deg, #cbbdff 0%, #8adfff 38%, #e9fbff 70%, #f6ecff 100%);
}
.stage::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  height: 32%;
  pointer-events: none;
  opacity: var(--enter-in);
  background: linear-gradient(180deg, transparent, rgba(7, 10, 28, 0.42) 55%, rgba(7, 10, 28, 0.72));
}
.webgl, .fallback, .vignette, .grain { position: absolute; inset: 0; }
.webgl { width: 100%; height: 100%; display: block; touch-action: pan-y; }
.vignette {
  pointer-events: none;
  background: linear-gradient(180deg, rgba(16, 28, 72, 0.08), transparent 14%);
}
.grain {
  pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: var(--grain); background-size: 140px 140px;
}
.fallback { display: none; }
body.no-webgl .fallback {
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: calc(var(--dock) + 118px);
}
body.no-webgl .webgl { visibility: hidden; }
.fallback-phone {
  width: 148px; aspect-ratio: 1 / 2.05; border-radius: 30px; position: relative;
  background: linear-gradient(160deg, #f3ecff, #8d86a8 18%, #1a1430 46%, #0e0a1c 100%);
  box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 0 0 2px rgba(255,255,255,.35), inset 0 0 0 8px #161226;
  transform: rotate(-8deg);
}
.fallback-phone span {
  position: absolute; inset: 10px; border-radius: 28px; overflow: hidden;
  background:
    radial-gradient(circle at 50% 78%, rgba(255,255,255,.75), transparent 28%),
    linear-gradient(180deg, #d8c8ff 0%, #8ee7ff 46%, #fff4c8 100%);
}
.fallback-phone b, .fallback-phone i, .fallback-phone em {
  position: absolute; display: block; border-radius: 12px;
}
.fallback-phone b { width: 46px; height: 46px; left: 22%; top: 28%; background: linear-gradient(160deg, #ff7aa8, #ff4f8b); box-shadow: 0 10px 20px rgba(0,0,0,.25); }
.fallback-phone i { width: 54px; height: 54px; right: 16%; top: 22%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff6c8, #ffd15a 42%, #c88820); }
.fallback-phone em { width: 58px; height: 74px; left: 28%; bottom: 18%; background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(92,239,255,.35)); border: 1px solid rgba(255,255,255,.4); }

.hero-copy, .benefit-show, .chapter, .speed-copy, .portal-copy, .world-copy, .scroll-meter, .interaction-hint, .card-preview {
  position: absolute; z-index: 3; pointer-events: none;
}
.mark-logo {
  position: absolute; z-index: 4; left: 50%;
  top: calc(8vh + var(--safe-t));
  width: min(340px, 86vw); height: auto; pointer-events: none;
  transform: translateX(-50%);
  opacity: max(calc(1 - var(--hero-out)), var(--enter-in));
  filter: drop-shadow(0 18px 28px rgba(12, 8, 40, .5));
}
.hero-copy {
  top: calc(34vh + var(--safe-t));
  left: 16px; right: 16px;
  display: flex; flex-direction: column; align-items: flex-start;
  text-align: left;
  opacity: calc(1 - var(--hero-out));
  transform: translateY(calc(var(--hero-out) * -12px));
}
.scene-index, .section-label, .today-head p, .arcade-head p, .finale-copy p, .popular-head p {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.16em; font-weight: 700; color: var(--gold);
}
.scene-index i { width: 36px; height: 1px; background: currentColor; display: block; }
.eyebrow { margin: 10px 0 0; font-size: 12px; letter-spacing: 0.18em; color: var(--aqua); }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; text-wrap: balance; }
h1 { margin: 8px 0 0; font-size: clamp(32px, 9.2vw, 44px); }
h1 em, h2 em, .finale-copy em { font-style: normal; color: #ffe3f1; }
.hero-lead { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.hero-copy .scene-index {
  display: inline-flex;
  width: fit-content;
  padding: 5px 11px 5px 9px;
  border-radius: 999px;
  color: #fff4cc;
  background: rgba(28, 16, 58, .38);
  border: 1px solid rgba(255, 225, 140, .45);
  box-shadow: 0 6px 16px rgba(12, 8, 32, .12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: 0 1px 8px rgba(20, 8, 40, .45);
}
.hero-copy .scene-index::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: #ffd15a;
  animation: plate-pulse 1.7s ease-out infinite;
}
.hero-copy .eyebrow {
  display: block;
  width: fit-content;
  max-width: 100%;
  position: relative; overflow: hidden;
  margin: 12px 0 0;
  padding: 6px 12px;
  border-radius: 12px;
  color: #f4fdff;
  letter-spacing: 0.04em;
  background: rgba(16, 32, 64, .72);
  border: 1px solid rgba(180, 245, 255, .45);
  box-shadow: 0 6px 16px rgba(8, 16, 40, .18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: 0 1px 8px rgba(8, 20, 40, .4);
}
.hero-copy .eyebrow::after,
.hero-copy h1::after,
.hero-copy .hero-lead::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 36%, rgba(255,255,255,.28) 50%, transparent 64%);
  transform: translateX(-130%);
  animation: plate-sheen 5.2s ease-in-out infinite;
  pointer-events: none;
}
.hero-copy h1::after { animation-duration: 4.6s; animation-delay: .45s; }
.hero-copy .hero-lead::after { animation-duration: 5.2s; animation-delay: .9s; }
.hero-copy h1 {
  display: block;
  width: fit-content;
  max-width: 100%;
  position: relative; overflow: hidden;
  margin: 12px 0 0;
  padding: 8px 12px 10px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(165deg, rgba(255,255,255,.18), rgba(22, 12, 48, .3));
  border: 1px solid rgba(255,255,255,.3);
  box-shadow: 0 8px 18px rgba(12, 8, 32, .1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-shadow: 0 1px 0 rgba(20, 8, 40, .2), 0 8px 16px rgba(20, 8, 40, .28);
}
.hero-copy h1 em { color: #ffe4f2; }
.hero-copy .hero-lead {
  display: block;
  width: fit-content;
  max-width: 100%;
  position: relative; overflow: hidden;
  margin: 10px 0 0;
  padding: 8px 12px;
  border-radius: 14px;
  color: #f7f4ff;
  background: rgba(18, 12, 40, .28);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 8px 16px rgba(8, 4, 24, .1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-shadow: 0 1px 8px rgba(12, 8, 32, .35);
}
.finale-join {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 56px; padding: 0 18px; border-radius: 999px; font-weight: 800; font-size: 18px;
  color: #2a1230;
  background: linear-gradient(180deg, #fff 0%, #ffe38a 46%, #ff7ab0 100%);
  box-shadow: 0 0 0 3px rgba(255, 209, 90, .5), 0 12px 24px rgba(255, 70, 120, .38), inset 0 1px 0 #fff;
}
.header-cta:active, .finale-join:active, #start-game:active, .tap-play:active {
  transform: translateY(1px) scale(0.98);
}
.benefit-show {
  left: 18px; right: 18px;
  top: calc(22vh + var(--safe-t));
  display: grid; gap: 10px;
}
.benefit-show span {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 12px;
  min-height: 72px; padding: 0 16px 0 10px;
  border-radius: 22px;
  color: #fff;
  font-size: clamp(16px, 4.7vw, 20px); font-weight: 800; letter-spacing: 0.02em;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,.42);
  box-shadow: 0 8px 18px rgba(32, 12, 64, .14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: 0 1px 8px rgba(32, 10, 56, .28);
}
.benefit-show span::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255,255,255,.62) 42%, transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,.4), transparent 46%),
    radial-gradient(80px 40px at 88% 0%, rgba(255,255,255,.45), transparent 70%);
  background-size: 240% 100%, 100% 100%, 100% 100%;
  background-repeat: no-repeat;
  animation: benefit-sheen 3.2s ease-in-out infinite;
  pointer-events: none;
}
.benefit-show span:nth-child(2)::after { animation-delay: .45s; }
.benefit-show span:nth-child(3)::after { animation-delay: .9s; }
.benefit-show span > * { position: relative; z-index: 1; }
.benefit-show b {
  width: 48px; height: 48px; flex: none;
  display: grid; place-items: center; border-radius: 16px;
  background:
    radial-gradient(circle at 35% 30%, #fff, #fff6d0 46%, #ffe07a);
  color: #2a1448;
  border: 0;
  font-size: 14px; letter-spacing: 0;
  box-shadow: 0 6px 12px rgba(32, 8, 56, .22), inset 0 0 0 2px rgba(255,255,255,.8);
}
.benefit-show span:nth-child(1) {
  opacity: var(--b1);
  transform: translateY(calc((1 - var(--b1)) * 14px));
  background: linear-gradient(108deg, rgba(61,228,255,.72), rgba(90,166,255,.66) 48%, rgba(122,107,255,.64));
}
.benefit-show span:nth-child(2) {
  opacity: var(--b2);
  transform: translateY(calc((1 - var(--b2)) * 14px));
  background: linear-gradient(108deg, rgba(255,126,182,.74), rgba(255,93,146,.68) 46%, rgba(255,177,92,.66));
}
.benefit-show span:nth-child(3) {
  opacity: var(--b3);
  transform: translateY(calc((1 - var(--b3)) * 14px));
  background: linear-gradient(108deg, rgba(154,107,255,.72), rgba(106,77,255,.66) 42%, rgba(62,200,255,.64));
}
.start-join {
  position: fixed; z-index: 44;
  left: 50%; bottom: calc(var(--dock) + 14px);
  transform: translateX(-50%);
  width: min(340px, calc(100% - 32px));
  min-height: 74px; padding: 0 26px 0 12px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  border-radius: 999px; color: #1a1030;
  font-weight: 800; font-size: 22px; letter-spacing: 0.06em; white-space: nowrap;
  background: linear-gradient(180deg, #ffffff 0%, #fffef8 46%, #f4e7c4 100%);
  border: 3px solid #1a1030;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.95),
    0 0 0 5px #ffd15a,
    0 8px 0 #1a1030,
    0 16px 28px rgba(16, 8, 36, .4);
  animation: join-float 2.6s ease-in-out infinite;
  transition: opacity .4s ease, visibility .4s ease;
}
.start-join::before,
.start-join::after {
  content: ""; position: absolute; border-radius: inherit; pointer-events: none;
}
.start-join::before {
  inset: -9px;
  border: 2px solid #1a1030;
  box-shadow: none;
  animation: join-ring 2.4s ease-out infinite;
}
.start-join::after {
  inset: 5px;
  border: 0;
  background: linear-gradient(105deg, transparent 32%, rgba(255,255,255,.85) 50%, transparent 68%);
  background-size: 220% 100%;
  background-repeat: no-repeat;
  animation: join-sheen 3.6s ease-in-out infinite;
}
.start-portal {
  position: relative; z-index: 1;
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: conic-gradient(from 140deg, #5cefff, #ffe38a, #ff7ab0, #8d7bff, #5cefff);
  box-shadow: 0 0 14px rgba(92, 239, 255, .75), inset 0 0 0 3px rgba(12, 16, 42, .72);
  animation: portal-spin 7s linear infinite;
}
.start-portal b {
  width: 24px; height: 24px; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 50% 50%, #d9fbff 0 5px, #6d5cff 11px, #120c2c 16px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
  animation: portal-spin 7s linear infinite reverse;
}
.start-join > span:last-child { line-height: 1; position: relative; z-index: 1; }
.start-join:active {
  animation: none;
  transform: translateX(-50%) translateY(6px);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.7),
    0 0 0 5px #ffd15a,
    0 2px 0 #1a1030,
    0 8px 14px rgba(16, 8, 36, .32);
}
body.enter-ready .start-join::before {
  animation: join-ring 1.25s ease-out infinite;
}
@keyframes join-float {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
    box-shadow:
      inset 0 2px 0 rgba(255,255,255,.95),
      0 0 0 5px #ffd15a,
      0 8px 0 #1a1030,
      0 16px 24px rgba(16, 8, 36, .35);
  }
  50% {
    transform: translateX(-50%) translateY(-7px);
    box-shadow:
      inset 0 2px 0 rgba(255,255,255,.95),
      0 0 0 6px #ffe38a,
      0 14px 0 #1a1030,
      0 26px 28px rgba(16, 8, 36, .28);
  }
}
@keyframes join-ring {
  0% { transform: scale(1); opacity: 0.95; }
  100% { transform: scale(1.22); opacity: 0; }
}
@keyframes join-sheen {
  0%, 46% { background-position: 140% 0; }
  100% { background-position: -40% 0; }
}
@keyframes portal-spin {
  to { transform: rotate(360deg); }
}
.enter-cue {
  position: absolute; z-index: 6; left: 50%;
  bottom: calc(var(--dock) + 108px);
  transform: translateX(-50%) translateY(calc((1 - var(--enter-in)) * 10px));
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  width: min(280px, calc(100% - 40px));
  opacity: var(--enter-in);
  pointer-events: none;
}
.enter-cue a {
  pointer-events: auto;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  font-size: 15px; font-weight: 800; letter-spacing: 0.04em;
  color: #1a1030; text-decoration: none; white-space: nowrap;
  background: #fff;
  border: 2px solid #1a1030;
  box-shadow: 0 4px 0 #ffd15a;
}
.enter-arrow {
  width: 36px; height: 28px; display: grid; place-items: center;
}
.enter-arrow::before {
  content: "";
  width: 12px; height: 12px;
  border-right: 3px solid #fff8e8;
  border-bottom: 3px solid #fff8e8;
  transform: rotate(45deg) translate(-2px, -2px);
  filter: drop-shadow(0 2px 2px rgba(12, 8, 32, .45));
  animation: enter-bob 1s ease-in-out infinite;
}
@keyframes enter-bob {
  50% { transform: rotate(45deg) translate(2px, 2px); }
}
.scroll-meter {
  right: 14px; bottom: calc(var(--dock) + 168px);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: calc(var(--hero-out) * (1 - var(--enter-in)));
}
.scroll-meter span {
  font-size: 11px; font-weight: 800; letter-spacing: 0.16em;   color: #fff8e8;
  background: rgba(22, 12, 44, .36);
  border: 1px solid rgba(255, 225, 150, .4);
  border-radius: 999px; padding: 7px 10px;
  box-shadow: 0 6px 14px rgba(12, 8, 32, .16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.scroll-meter i {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(18, 10, 42, 0.78);
  box-shadow: 0 6px 16px rgba(12, 8, 32, 0.35);
  position: relative;
  animation: meter 1.2s ease-in-out infinite;
}
.scroll-meter i::before {
  content: "";
  position: absolute; left: 6px; top: 5px;
  width: 7px; height: 7px;
  border-right: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
@keyframes meter {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
.interaction-hint { display: none; }
.chapter, .portal-copy, .speed-copy, .world-copy {
  left: 20px; right: auto;
  width: fit-content;
  max-width: min(340px, calc(100% - 40px));
  position: absolute;
  padding: 10px 14px 12px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(165deg, rgba(255,255,255,.2), rgba(18, 10, 40, .32));
  border: 1px solid rgba(255,255,255,.32);
  box-shadow: 0 10px 22px rgba(12, 8, 32, .12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}
.chapter > *, .speed-copy > *, .portal-copy > *, .world-copy > * { position: relative; z-index: 1; }
.chapter::after, .speed-copy::after, .portal-copy::after, .world-copy::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.22) 50%, transparent 62%);
  transform: translateX(-130%);
  animation: plate-sheen 5.6s ease-in-out infinite;
  pointer-events: none;
}
.chapter { top: calc(24vh + var(--safe-t)); display: flex; flex-direction: column; gap: 4px; }
.chapter span, .portal-copy span, .speed-copy span, .world-copy p {
  font-size: 12px; letter-spacing: 0.14em; color: #fff6c8;
  text-shadow: 0 1px 8px rgba(12, 8, 32, .4);
}
.chapter strong, .speed-copy strong, .portal-copy strong, .world-copy h2 {
  font-size: clamp(24px, 6.6vw, 32px);
  letter-spacing: 0.01em; line-height: 1.28;
  text-shadow: 0 1px 0 rgba(20, 8, 40, .2), 0 8px 16px rgba(12, 8, 32, .3);
}
.chapter em, .speed-copy em, .portal-copy em, .world-copy span {
  font-style: normal; font-weight: 700;
  font-size: 13px; letter-spacing: 0.02em; line-height: 1.45;
  color: rgba(255,255,255,.92);
  text-shadow: 0 1px 8px rgba(12, 8, 32, .4);
}
.chapter-move { opacity: var(--orbit-in); }
.chapter-boost { opacity: var(--boost-in); top: auto; bottom: calc(var(--dock) + 118px); }
.chapter-boost::after { animation-delay: .6s; }
.speed-copy, .portal-copy, .world-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.speed-copy {
  top: 42%; opacity: var(--speed-in);
  background: linear-gradient(155deg, rgba(255, 150, 190, .28), rgba(70, 24, 110, .34));
}
.speed-copy::after { animation-delay: .3s; }
.portal-copy { top: calc(24vh + var(--safe-t)); opacity: var(--portal-in); }
.portal-copy::after { animation-delay: .8s; }
.world-copy { top: calc(34vh + var(--safe-t)); opacity: var(--world-in); }
.world-copy::after { animation-delay: 1.1s; }
.world-copy h2 { margin: 2px 0; }
.world-copy p { margin: 0; }
@keyframes plate-sheen {
  0%, 58% { transform: translateX(-130%); }
  100% { transform: translateX(130%); }
}
@keyframes plate-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 209, 90, .6); }
  100% { box-shadow: 0 0 0 8px rgba(255, 209, 90, 0); }
}
@keyframes benefit-sheen {
  0%, 42% { background-position: 140% 0, 0 0, 0 0; }
  100% { background-position: -140% 0, 0 0, 0 0; }
}
.card-preview { display: none; }

main { padding-bottom: calc(var(--dock) + 120px); }
.story-section h2 { margin: 8px 0; font-size: clamp(28px, 8vw, 40px); }
.body-copy, .data-note, .arcade-note, .empathy-answer { color: var(--muted); }
.pick-thumb, .podium-card img, .spatial-card img, .mini-covers img {
  width: 100%; height: 100%; object-fit: cover;
}
.pick-card, .empathy-copy {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}
.story-section { padding: 40px 16px; position: relative; }
.section-label { margin-bottom: 8px; }
.section-label span {
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); color: #fff;
}
.empathy {
  padding: 36px 16px 56px; color: #1a1430; line-break: strict;
  background: linear-gradient(180deg, #100924 0, #e7e5f1 28px, #e7e5f1);
  container-type: inline-size;
}
.empathy-copy {
  margin: 0 0 28px; padding: 16px 18px 16px; border-radius: 22px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 12px 28px rgba(26,20,48,.08), inset 0 1px 0 #fff;
}
.empathy-kicker {
  margin: 0; display: flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.16em; font-weight: 800; color: #5b4d86;
}
.empathy-kicker span {
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  background: #1a1430; color: #fff; letter-spacing: 0;
}
.empathy h2 { margin: 8px 0 8px; color: #1a1430; font-size: clamp(28px, 8vw, 40px); line-height: 1.25; }
.empathy-lead { margin: 0; font-size: 16px; line-height: 1.7; color: #4d4568; word-break: keep-all; }

.time-reel {
  --art-top: 76px;
  --art-h: calc(100cqi * 9 / 16);
  --face-h: 64px;
  --face-gap: 18px;
  --card-gap: 18px;
  --card-h: 118px;
  --path-gap: 18px;
  --path-h: 58px;
  --stack-pad: 18px;
  --stack: calc(var(--art-top) + var(--art-h) + var(--face-gap) + var(--face-h) + var(--card-gap) + var(--card-h) + var(--path-gap) + var(--path-h) + var(--stack-pad));
  position: relative; height: 420vh; margin: 8px -16px 0;
}
.reel-stops { display: none; }
.time-sticky {
  position: sticky;
  top: 0;
  z-index: 1;
  height: calc(100svh - var(--dock));
  overflow: hidden; perspective: 1100px;
  --idx: 0; --leak: 0; --split: 0; --night: 0; --f: 0; --exit: 0; --suck: 0; --bob: 0; --tx: 0; --ty: 0; --drift: 0;
}
.time-sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 70% at 50% 18%, rgba(255,255,255,.55), transparent 60%),
    linear-gradient(180deg, var(--sky-a, #e6e4ee), var(--sky-b, #d5d3e4));
}
.time-ticks {
  position: absolute; inset: 8% -10% auto; height: 46%;
  opacity: calc((1 - var(--idx)) * 0.55);
  background: repeating-linear-gradient(90deg, transparent 0 18px, rgba(90,100,140,.28) 18px 20px);
  mask-image: linear-gradient(180deg, #000, transparent 80%);
  transform: translateX(calc(var(--idx) * -40px + var(--bob) * 6px));
}
.clouds, .hill { position: absolute; inset: 0; pointer-events: none; }
.clouds i {
  position: absolute; height: 28px; border-radius: 999px;
  background: rgba(255,255,255,.72);
  box-shadow: 18px 8px 0 -6px rgba(255,255,255,.55), -16px 10px 0 -8px rgba(255,255,255,.4);
  opacity: calc(0.28 + (1 - var(--night)) * 0.45);
}
.clouds i:nth-child(1) { width: 92px; left: 8%; top: 30%; transform: translateY(calc(var(--bob) * 8px)); }
.clouds i:nth-child(2) { width: 64px; right: 10%; top: 34%; transform: translateY(calc(var(--bob) * -10px)); }
.clouds i:nth-child(3) { width: 48px; left: 38%; top: 38%; opacity: calc(0.2 + (1 - var(--night)) * 0.3); transform: translateY(calc(var(--bob) * 6px)); }
.hill {
  inset: auto -8% 0 -8%; height: 22%;
  border-radius: 50% 50% 0 0;
  background:
    radial-gradient(80% 70% at 50% 0, rgba(255,255,255,.42), transparent 68%),
    linear-gradient(180deg, rgba(255,255,255,.2), rgba(120,110,180,.08));
  opacity: calc(0.85 - var(--night) * 0.35);
}
.toys {
  position: absolute; left: 16px; right: 16px; top: var(--art-top); bottom: auto;
  height: auto; display: block; overflow: hidden; pointer-events: none;
}
.toys-m0 { opacity: var(--o0, 1); }
.toys-m1 { opacity: var(--o1, 0); }
.toys-m2 { opacity: var(--o2, 0); }
.scene-art {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  object-fit: cover; object-position: center;
  border-radius: 22px; box-shadow: 0 16px 28px rgba(40,30,70,.16);
}
.time-face {
  position: absolute; left: 0; right: 0; bottom: auto;
  top: calc(var(--art-top) + var(--art-h) + var(--face-gap));
  display: flex; justify-content: center; align-items: flex-end; gap: 2px;
  height: var(--face-h); pointer-events: none;
  opacity: calc(1 - var(--exit));
  transform: translateY(calc(var(--exit) * -16px));
  color: #1a1430;
}
.time-face .slot { height: 0.9em; overflow: hidden; width: 0.62em; font-size: clamp(52px, 15vw, 64px); line-height: 0.9em; font-weight: 800; letter-spacing: -0.04em; }
.time-face .strip { display: block; }
.time-face .strip b { display: block; height: 0.9em; line-height: 0.9em; text-align: center; }
.time-face .colon { font-size: clamp(44px, 12vw, 56px); font-weight: 800; line-height: 1; padding-bottom: 4px; }
.moment-stack { position: absolute; inset: 0; pointer-events: none; perspective: 1000px; }
.moment-card {
  position: absolute; left: 16px; right: 16px; bottom: auto;
  top: calc(var(--art-top) + var(--art-h) + var(--face-gap) + var(--face-h) + var(--card-gap));
  padding: 14px 16px 15px; border-radius: 24px; text-align: left;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.94));
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 18px 36px rgba(24,16,48,.16), inset 0 1px 0 #fff;
  color: #1a1430;
  transform-origin: 50% 0;
}
.moment-card[data-i="0"] { box-shadow: inset 0 4px 0 #ffd15a, 0 18px 36px rgba(24,16,48,.16); }
.moment-card[data-i="1"] { box-shadow: inset 0 4px 0 #ff7eb6, 0 18px 36px rgba(24,16,48,.16); }
.moment-card[data-i="2"] { box-shadow: inset 0 4px 0 #7a6cff, 0 18px 36px rgba(24,16,48,.16); }
.moment-time { margin: 0 0 6px; display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; }
.moment-time b { font-size: 22px; letter-spacing: -0.04em; line-height: 1; }
.moment-time span { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; color: #7a4dff; }
.moment-card .moment-en { margin: 0; font-size: 12px; letter-spacing: 0.14em; font-weight: 800; color: #7a4dff; }
.moment-card h3 { margin: 0 0 6px; font-size: 20px; line-height: 1.3; }
.moment-card p:last-child { margin: 0; font-size: 15px; line-height: 1.55; color: #3c3458; }
.day-path {
  position: absolute; z-index: 4; left: 16px; right: 16px; bottom: auto;
  top: calc(var(--art-top) + var(--art-h) + var(--face-gap) + var(--face-h) + var(--card-gap) + var(--card-h) + var(--path-gap));
  box-sizing: border-box; height: var(--path-h);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; align-items: center;
  padding: 4px; border-radius: 18px; pointer-events: none;
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 10px 22px rgba(24,16,48,.16);
  color: #1a1430;
  opacity: calc(1 - var(--f));
}
.day-track {
  position: absolute; left: 14%; right: 14%; top: 50%; height: 4px; margin-top: -2px; border-radius: 99px;
  background: rgba(26,20,48,.16);
}
.day-track b {
  display: block; height: 100%; border-radius: inherit;
  width: min(100%, calc(var(--idx) / 2 * 100%));
  background: linear-gradient(90deg, #ffd15a, #ff7eb6 55%, #7a6cff);
}
.day-path span { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; border-radius: 14px; padding: 3px 0 2px; background: #fff; opacity: .72; }
.day-path b { font-size: 15px; letter-spacing: 0.02em; }
.day-path em { font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; opacity: 1; }
.day-path span.is-on { opacity: 1; background: #1a1430; color: #fff; }
.day-path span.is-on em { color: #ffd15a; }
.moment-finale {
  position: absolute; left: 16px; right: 16px; top: var(--art-top); bottom: var(--stack-pad);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 16px;
  overflow: hidden;
  text-align: center; opacity: var(--f); pointer-events: none;
  transform: translateY(calc((1 - var(--f)) * 24px));
}
.finale-art {
  width: 100%; height: auto; flex: 0 0 auto; aspect-ratio: 16 / 9;
  object-fit: cover; object-position: center;
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(8, 6, 30, .42), 0 0 0 1px rgba(255,255,255,.28);
}
.moment-finale p { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.4; color: #f7f4ff; text-shadow: 0 8px 18px rgba(10,10,40,.35); }
.moment-finale small { font-size: 13px; letter-spacing: 0.08em; color: rgba(247,244,255,.82); }
.finale-times { display: flex; justify-content: center; gap: 10px; }
.finale-times b {
  font-size: 20px; color: #fff; letter-spacing: 0.04em;
  transform: scale(calc(1 - var(--suck) * 0.8));
  opacity: calc(1 - var(--suck));
}
.finale-tiles { position: absolute; z-index: 0; width: 120px; height: 120px; left: 50%; top: 55%; margin: -60px 0 0 -60px; }
.moment-finale small { position: relative; z-index: 2; }
.finale-tiles i {
  position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 3px;
  background: var(--c, #3de4ff);
  transform: translate(calc(var(--dx) * (1 - var(--suck))), calc(var(--dy) * (1 - var(--suck)))) scale(calc(0.6 + var(--suck) * 0.5));
  opacity: calc((1 - var(--suck)) * 0.95);
}
.moment-finale .portal-play { margin-top: 0; height: 74px; }
.portal-play {
  position: relative; width: min(320px, 100%); height: 82px; border: 0; border-radius: 999px;
  display: grid; place-items: center; overflow: hidden; text-decoration: none;
  color: #1a1430; pointer-events: auto;
  box-shadow: 0 0 28px rgba(255, 209, 90, .55), 0 16px 28px rgba(8, 6, 30, .38);
}
.portal-play strong { position: relative; z-index: 2; font-size: 26px; letter-spacing: 0.18em; line-height: 1; }
.portal-play small { position: relative; z-index: 2; margin-top: 3px; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; color: #9a6410; }
.portal-ring {
  position: absolute; inset: -46%; z-index: 0; border-radius: 0;
  background: conic-gradient(from 0deg, #3de4ff, #ff7eb6, #ffd15a, #9a6bff, #3de4ff);
  animation: portal-spin 5.5s linear infinite;
}
.portal-face {
  position: absolute; inset: 4px; z-index: 1; border-radius: inherit;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background:
    linear-gradient(110deg, transparent 36%, rgba(255,255,255,.72) 48%, transparent 60%),
    linear-gradient(180deg, #fffef8, #ffe7a4);
  background-size: 220% 100%, 100% 100%;
  animation: portal-sheen 2.8s ease-in-out infinite;
  box-shadow: inset 0 1px 0 #fff, inset 0 -10px 16px rgba(255, 190, 70, .28);
}
@keyframes portal-spin { to { transform: rotate(1turn); } }
@keyframes portal-sheen { 0%, 55% { background-position: 120% 0, 0 0; } 100% { background-position: -40% 0, 0 0; } }
.portal-play.is-burst::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 3px solid #fff;
  animation: play-ripple .55s ease-out forwards;
}
@keyframes play-ripple { to { transform: scale(1.7); opacity: 0; } }
.play-sparks { position: absolute; inset: -20px; pointer-events: none; z-index: 2; }
.play-sparks i {
  position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 3px;
  background: var(--c, #3de4ff);
  animation: play-spark .5s ease-out forwards;
}
@keyframes play-spark { to { transform: translate(var(--dx), var(--dy)) scale(.3); opacity: 0; } }
.time-static { display: none; }
.time-static article {
  display: flex; flex-direction: column; gap: 8px; align-items: stretch;
  padding: 8px 8px 14px; border-radius: 22px; background: #fff; color: #1a1430;
  border: 1px solid rgba(26,20,48,.08); box-shadow: 0 12px 24px rgba(26,20,48,.08);
}
.time-static article > div:last-child { padding: 0 6px; }
.time-static .scene-art,
.time-static .finale-art {
  position: relative; inset: auto; display: block; width: 100%; height: auto;
  max-height: none; aspect-ratio: 16 / 9;
  bottom: auto; transform: none; object-fit: cover; object-position: center;
}
.time-static time { display: block; font-size: 32px; font-weight: 800; letter-spacing: -0.04em; }
.time-static article p:first-of-type { margin-top: 4px; font-size: 12px; letter-spacing: 0.12em; font-weight: 800; color: #7a4dff; }
.time-static h3 { margin: 4px 0; font-size: 20px; }
.time-static p { margin: 0; font-size: 16px; line-height: 1.45; color: #3c3458; }
.time-static .static-play { margin: 8px auto; display: grid; place-items: center; text-decoration: none; }
html.reduced .time-reel { display: none; }
html.reduced .time-static { display: grid; gap: 12px; padding: 12px 0 28px; }
@media (prefers-reduced-motion: reduce) {
  .time-reel { display: none; }
  .time-static { display: grid; gap: 12px; padding: 12px 0 28px; }
  .scene-art { transform: none; }
  .portal-ring, .portal-face { animation: none; }
}
.solution {
  position: relative; overflow: hidden; color: #1a1430;
  display: flex; flex-direction: column;
  min-height: 0;
  padding: 28px 16px 28px;
  background:
    radial-gradient(ellipse at 50% 46%, rgba(255,255,255,.92), transparent 24%),
    linear-gradient(180deg, #e7e5f1 0%, #d8f6ff 16%, #efe4ff 46%, #ffe4ef 76%, #fff3df 100%);
}
.sol-sky { position: absolute; inset: 0; pointer-events: none; }
.sol-gate {
  position: absolute; left: 50%; top: 54%; width: min(300px, 84vw); height: 360px;
  transform: translate(-50%, -46%); border-radius: 50%;
  background: radial-gradient(circle at 50% 48%, transparent 0 30%, rgba(255,255,255,.96) 42%, rgba(70,214,255,.62) 50%, rgba(255,150,196,.28) 60%, transparent 74%);
}
.sol-rails {
  position: absolute; left: 50%; top: 34%; width: 160%; height: 70%;
  transform: translateX(-50%) perspective(420px) rotateX(68deg);
  background:
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(255,255,255,.7) 42px 44px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 78%);
  mask-image: linear-gradient(180deg, #000, transparent 78%);
  opacity: .55;
}
.sol-grid {
  position: absolute; inset: 18% 8% auto; height: 46%;
  background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.28) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 68%);
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 68%);
  opacity: .45;
}
.sol-blob { position: absolute; border-radius: 50%; filter: blur(8px); }
.sb1 { width: 120px; height: 120px; left: -30px; top: 18%; background: rgba(92,239,255,.45); }
.sb2 { width: 90px; height: 90px; right: -20px; top: 42%; background: rgba(255,140,190,.4); }
.sb3 { width: 70px; height: 70px; left: 18%; bottom: 18%; background: rgba(255,209,90,.45); }
.sol-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); }
.sr1 { width: 220px; height: 220px; left: 50%; top: 46%; transform: translate(-50%, -50%); opacity: .55; }
.sr2 { width: 300px; height: 120px; left: 50%; top: 58%; transform: translate(-50%, -50%); opacity: .4; }
.sol-ghost { position: absolute; width: 74px; height: 98px; border-radius: 16px; background: rgba(255,255,255,.28); }
.sg1 { left: 6%; top: 34%; transform: rotate(-14deg); }
.sg2 { right: 8%; top: 30%; transform: rotate(12deg); }
.sol-star { position: absolute; width: 8px; height: 8px; background: #fff; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.st1 { left: 22%; top: 22%; } .st2 { right: 18%; top: 26%; } .st3 { left: 62%; top: 18%; }
.sol-copy { position: relative; z-index: 1; }
.sol-kicker, .sol-en, .bridge-en { margin: 0; font-weight: 800; letter-spacing: .16em; font-size: 12px; }
.sol-kicker span { color: #0793b8; }
.sol-en { margin-top: 6px; color: #6a4ad4; }
.solution h2 { margin: 8px 0 0; color: #1a1430; line-height: 1.2; }
.solution h2 em {
  font-style: normal; font-size: 0.78em; letter-spacing: -0.03em; white-space: nowrap;
  background: linear-gradient(90deg, #0793b8, #e23d78);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sol-lead, .bridge-ja { margin: 8px 0 0; color: #3c3458; font-size: 16px; line-height: 1.55; }
.sol-sr, .sat-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mega-stage { position: relative; z-index: 1; perspective: 800px; margin: 8px 0 0; }
.mega {
  margin: 0; text-align: center; line-height: .82;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  transform: translateZ(0) scale(1); transform-origin: center center;
  transition: transform .22s ease, opacity .22s ease;
}
.mega.is-swap { transform: translateZ(-90px) scale(.9); opacity: 0; }
.mega strong { font-size: clamp(56px, 17vw, 80px); font-weight: 800; letter-spacing: -0.04em; }
.mega small { margin: 0; font-size: clamp(18px, 5vw, 26px); font-weight: 800; letter-spacing: .14em; line-height: 1; }
.mega-ja { margin: 4px 0 0; text-align: center; font-size: 16px; font-weight: 800; line-height: 1.3; color: #0793b8; }
.mega[data-face="install"] { color: #0793b8; }
.mega[data-face="quick"] { color: #c48a00; }
.mega[data-face="gen"] { color: #d43d78; }
.mega[data-face="quick"] + .mega-ja { color: #c48a00; }
.mega[data-face="gen"] + .mega-ja { color: #d43d78; }
.deck { position: relative; z-index: 1; flex: none; min-height: 188px; margin: 2px 0 4px; }
.deck-stage { position: absolute; inset: 0; perspective: 640px; transform-style: preserve-3d; overflow: visible; touch-action: pan-y; }
.deck-card {
  position: absolute; left: 50%; top: 50%; width: min(168px, 46vw); height: 156px; margin: 0; padding: 0;
  border: 0; border-radius: 22px; overflow: hidden; background: #fff; color: #1a1430; text-align: left;
  box-shadow: 0 16px 28px rgba(80, 40, 110, .18), inset 0 1px 0 #fff;
  transform-style: preserve-3d;
}
.deck-card img { width: 100%; height: 96px; object-fit: cover; display: block; pointer-events: none; }
@media (max-height: 820px) {
  .solution { padding-top: 28px; }
  .deck { min-height: 172px; }
  .deck-card { height: 140px; top: 50%; }
  .deck-card img { height: 78px; }
}
.deck-card strong { display: block; padding: 8px 10px 0; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deck-card small { display: block; padding: 2px 10px 8px; font-size: 10px; letter-spacing: .14em; color: #8a7aa8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deck-pulse {
  position: absolute; left: 50%; top: 44%; width: 170px; height: 170px; margin: -85px 0 0 -85px;
  border-radius: 50%; border: 2px solid transparent; pointer-events: none; z-index: 4;
}
.deck-card.is-on { box-shadow: 0 22px 34px rgba(70, 30, 110, .24), inset 0 1px 0 #fff; }
.deck-nav {
  position: relative; z-index: 3; width: min(100%, 320px); margin: 2px auto 0;
  display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; column-gap: 8px; row-gap: 0;
}
.deck-prev { grid-column: 1; }
.deck-dots { grid-column: 2; display: flex; justify-content: center; align-items: center; }
.deck-next { grid-column: 3; }
.deck-hint { grid-column: 1 / -1; margin: 0; text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .12em; color: #6a4ad4; }
.deck-arrow {
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: #1a1430;
  box-shadow: 0 4px 0 #c9b6e4; display: grid; place-items: center; cursor: pointer;
}
.deck-arrow:active { transform: translateY(2px); box-shadow: 0 2px 0 #c9b6e4; }
.deck-arrow:focus-visible { outline: 2px solid #1a1430; outline-offset: 3px; }
.deck-arrow::before {
  content: ""; width: 9px; height: 9px; border-top: 3px solid currentColor; border-right: 3px solid currentColor;
}
.deck-prev::before { transform: rotate(-135deg); margin-left: 4px; }
.deck-next::before { transform: rotate(45deg); margin-right: 4px; }
.deck-dots button {
  width: 28px; height: 28px; padding: 0; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer;
}
.deck-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: #c4b6dc; }
.deck-dots button.is-on::before { width: 18px; background: #1a1430; }
.deck-dots button:focus-visible { outline: 2px solid #1a1430; outline-offset: 1px; border-radius: 99px; }
.sat {
  position: absolute; z-index: 16; display: flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 6px 10px; border: 0; border-radius: 16px;
  background: rgba(255,255,255,.82); box-shadow: 0 8px 16px rgba(80,40,110,.12);
  animation: sat-drift 6.5s ease-in-out infinite;
}
.sat b { display: block; font-size: 12px; letter-spacing: .02em; white-space: nowrap; }
.sat small { display: block; font-size: 11px; letter-spacing: .04em; }
.sat[aria-pressed="true"] { box-shadow: 0 8px 16px rgba(80,40,110,.12), inset 0 0 0 2px currentColor; }
.sat:focus-visible, .tap-play:focus-visible, .bridge-go:focus-visible { outline: 2px solid #1a1430; outline-offset: 3px; }
.sat-install { left: 0; top: 0; color: #0793b8; }
.sat-quick { right: 0; top: 18px; color: #c48a00; animation-delay: -2.2s; }
.sat-gen { left: 0; right: auto; top: 64px; bottom: auto; color: #d43d78; animation-delay: -4s; }
.ico { flex: none; display: block; }
.ico-none { width: 22px; height: 22px; border: 2px solid currentColor; border-radius: 50%; position: relative; }
.ico-none::before { content: ""; position: absolute; left: 9px; top: 4px; width: 2px; height: 9px; background: currentColor; }
.ico-none::after { content: ""; position: absolute; left: 2px; top: 9px; width: 16px; height: 2px; background: currentColor; transform: rotate(-42deg); }
.ico-bolt { width: 14px; height: 20px; background: currentColor; clip-path: polygon(60% 0, 8% 54%, 46% 54%, 28% 100%, 96% 40%, 54% 40%); }
.ico-four { width: 18px; height: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.ico-four em { background: currentColor; border-radius: 2px; }
.genre-pop { display: none; position: absolute; left: 0; top: calc(100% + 4px); gap: 4px; width: max-content; max-width: min(280px, 78vw); flex-wrap: wrap; z-index: 2; }
.sat-gen.is-ping .genre-pop, html.reduced .genre-pop { display: flex; }
.genre-pop em { font-style: normal; font-size: 11px; font-weight: 800; padding: 4px 7px; border-radius: 999px; background: #fff; }
.genre-pop em:nth-child(1) { color: #0793b8; }
.genre-pop em:nth-child(2) { color: #c48a00; }
.genre-pop em:nth-child(3) { color: #d43d78; }
.genre-pop em:nth-child(4) { color: #6a4ad4; }
.genre-pop em:nth-child(5) { color: #1a9a62; }
.sat.is-ping::after {
  content: ""; position: absolute; inset: -4px; border-radius: 18px; border: 2px solid currentColor;
  animation: sat-ping .45s ease-out;
}
.orbit-marks { position: absolute; inset: 0; pointer-events: none; opacity: 0; z-index: 6; }
.gm { position: absolute; width: 18px; height: 18px; }
.gm-p { left: 18%; top: 34%; background: #3ad7ff; border-radius: 4px; }
.gm-b { right: 16%; top: 30%; background: #ffd15a; border-radius: 50%; }
.gm-a { right: 20%; bottom: 28%; width: 0; height: 0; background: transparent; border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 16px solid #ff6ea8; }
.gm-t { left: 22%; bottom: 24%; background: #9b7bff; transform: rotate(45deg); border-radius: 3px; }
.boot {
  position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); z-index: 8;
  margin: 0; min-width: 70%; text-align: center; font-weight: 800; letter-spacing: .08em;
  color: #1a1430; text-shadow: 0 0 12px #fff, 0 0 2px #fff; pointer-events: none;
}
.boot[data-step="2"] { font-size: 15px; letter-spacing: .02em; }
.boot[data-step="3"] { font-size: 18px; letter-spacing: .12em; color: #0793b8; }
.tap-play {
  position: relative; z-index: 2; margin: 8px auto 0; min-height: 56px; width: min(100%, 320px); align-self: center;
  scroll-margin-bottom: calc(var(--dock) + 96px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  border: 0; border-radius: 999px; background: #1a1430; color: #fff; font-weight: 800; font-size: 16px;
  box-shadow: 0 10px 0 #0793b8;
}
.tap-play span { font-size: 16px; letter-spacing: .06em; line-height: 1.2; }
.tap-play small { font-size: 10px; letter-spacing: .16em; font-weight: 800; opacity: .72; }
.bridge { position: relative; z-index: 1; }
.bridge-en { margin-top: 18px; color: #6a4ad4; }
.bridge-go {
  display: flex; align-items: center; justify-content: center; min-height: 52px; margin-top: 12px;
  scroll-margin-bottom: calc(var(--dock) + 108px);
  border-radius: 999px; background: #fff; color: #1a1430; font-weight: 800; text-decoration: none;
  border: 3px solid #1a1430; box-shadow: 0 6px 0 #ffd15a;
}
.solution.is-launch .deck-card.is-on { animation: card-bloom 1.3s ease forwards; z-index: 7; }
.solution.is-launch .deck-card:not(.is-on) { opacity: 0 !important; }
.solution.is-launch .deck-pulse { animation: deck-ring 1.3s ease; }
.solution.is-ready .orbit-marks { opacity: 1; }
a.tap-play { text-decoration: none; color: #fff; }
@keyframes sat-drift { 50% { transform: translateY(-7px); } }
@keyframes sat-ping { to { transform: scale(1.2); opacity: 0; } }
@keyframes deck-ring {
  0% { transform: scale(.55); border-color: transparent; }
  22% { transform: scale(1); border-color: #3ad7ff; }
  100% { transform: scale(2.1); border-color: transparent; }
}
@keyframes card-bloom {
  0% { transform: translate(-50%, -50%) translate3d(0,0,24px) scale(1); }
  38% { transform: translate(-50%, -50%) translate3d(0,0,70px) scale(1.08); }
  74% { transform: translate(-50%, -50%) translate3d(0,0,120px) scale(2.35); }
  100% { transform: translate(-50%, -50%) translate3d(0,0,24px) scale(1); }
}
@keyframes coin-fly { to { transform: rotate(var(--a)) translateY(-110px) scale(.3); opacity: 0; } }
.pop {
  position: absolute; left: 50%; top: 48%; width: 10px; height: 10px; margin: -5px; border-radius: 50%;
  background: var(--c); z-index: 9; animation: coin-fly .55s ease-out forwards; pointer-events: none;
}
html.reduced .sat, html.reduced .sol-blob, html.reduced .sol-ring, html.reduced .sol-star { animation: none; }
html.reduced .mega { transition: none; }
html.reduced .deck { display: flex; flex-direction: column; height: auto; min-height: 0; gap: 10px; }
html.reduced .deck-stage { position: relative; inset: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; height: auto; overflow: visible; perspective: none; }
html.reduced .deck-card { position: relative; left: auto; top: auto; width: 100%; height: auto; opacity: 1 !important; transform: none !important; }
html.reduced .deck-card img { height: 96px; }
html.reduced .sat { position: relative; left: auto; right: auto; top: auto; bottom: auto; }
html.reduced .orbit-marks { position: relative; inset: auto; opacity: 1; display: flex; gap: 10px; justify-content: center; height: 22px; }
html.reduced .gm { position: relative; left: auto; right: auto; top: auto; bottom: auto; }
html.reduced .bridge { max-height: 220px; opacity: 1; overflow: visible; }
html.reduced .deck-hint { display: none; }
html.reduced .solution.is-launch .deck-card.is-on { animation: none; }
html.reduced .sat.is-ping::after, html.reduced .deck-pulse, html.reduced .pop { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .sat, .sol-blob, .sol-ring, .sol-star, .deck-card, .deck-pulse, .pop { animation: none !important; }
  .deck { display: flex; flex-direction: column; height: auto; min-height: 0; gap: 10px; }
  .deck-stage { position: relative; inset: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; height: auto; overflow: visible; perspective: none; }
  .deck-card { position: relative; left: auto; top: auto; width: 100%; height: auto; opacity: 1 !important; transform: none !important; }
  .sat { position: relative; left: auto; right: auto; top: auto; bottom: auto; }
  .orbit-marks { position: relative; opacity: 1; display: flex; justify-content: center; gap: 10px; }
  .gm { position: relative; left: auto; right: auto; top: auto; bottom: auto; }
  .bridge { max-height: 220px; opacity: 1; overflow: visible; }
  .deck-hint { display: none; }
}

.category-tabs, .difficulty { display: grid; gap: 8px; }
.category-tabs button, .difficulty button {
  border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.04); text-align: left; padding: 10px;
}
.category-tabs button b { display: block; font-size: 11px; color: var(--aqua); }
.category-tabs button.active, .difficulty button.active {
  background: #fff; color: #1a1338; border-color: #fff;
}
.category-tabs button.active b { color: var(--pink); }

.arcade {
  background:
    radial-gradient(ellipse at 50% 38%, rgba(120, 80, 255, .28), transparent 46%),
    radial-gradient(ellipse at 50% 88%, rgba(255, 79, 139, .12), transparent 36%);
}
.arcade h2 em {
  font-style: normal;
  background: linear-gradient(90deg, #ffe7a3, #ffd36a 40%, #fff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.arcade-cabinet {
  margin: 0 -16px; border-radius: 0; padding: 0 0 16px;
  background: linear-gradient(180deg, #221448 0%, #10091f 18%, #07040f 100%);
  border: 0; border-top: 1px solid rgba(255, 214, 120, .42); border-bottom: 1px solid rgba(255, 214, 120, .42);
  box-shadow: 0 0 72px rgba(90, 60, 200, .22);
}
.game-bezel {
  position: relative; width: 100%; margin: 0; border-radius: 0; overflow: hidden; padding: 0;
  background: #05030c; box-shadow: inset 0 -1px 0 rgba(255, 214, 120, .32);
}
#invader { width: 100%; height: auto; display: block; touch-action: pan-y; background: #070514; border-radius: 0; }
.mission-art { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; pointer-events: none; }
.game-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 16px 16px 22%; text-align: center; gap: 2px; border-radius: 0;
}
.game-overlay::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,6,24,.05) 0%, rgba(8,6,24,.2) 42%, rgba(8,6,24,.78) 78%, rgba(8,6,24,.55) 100%);
}
.game-overlay > :not(.mission-art) { position: relative; z-index: 2; }
.game-overlay.hidden { display: none; }
.game-overlay span { letter-spacing: 0.16em; font-size: 11px; color: #ffd36a; }
.game-overlay span:empty { display: none; }
.game-overlay:not(.is-result) strong { display: none; }
.game-overlay.is-result { justify-content: center; padding: 20px 16px; }
.game-overlay.is-result .mission-art { filter: brightness(.4); }
.game-overlay strong { font-size: clamp(32px, 10vw, 44px); line-height: 0.95; letter-spacing: -0.04em; margin: 2px 0 6px; text-shadow: 0 2px 16px rgba(8,6,24,.8); }
.game-overlay p { margin: 0 0 12px; font-size: 14px; color: rgba(255,255,255,.84); }
#start-game { width: min(100%, 240px); min-height: 52px; padding: 0 18px; border-radius: 999px; background: #fff; color: #1a1030; font-weight: 800; box-shadow: 0 8px 0 #ffd36a; }
.mission-next { margin-top: 10px; width: min(100%, 320px); }
.mission-next > p { margin: 0 0 8px; letter-spacing: .12em; font-size: 11px; color: #ffd36a; }
.mission-pick {
  display: flex; align-items: center; gap: 12px; min-height: 64px;
  padding: 8px 14px 8px 8px; border-radius: 16px; text-align: left;
  background: rgba(255,255,255,.12); color: #fff;
}
.mission-pick img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; background: #241848; }
.mission-pick-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mission-pick-copy small { color: #ffd36a; font-size: 11px; letter-spacing: .12em; font-weight: 800; }
.mission-pick-copy b { font-size: 16px; letter-spacing: 0; line-height: 1.2; }
.game-hud { display: grid; grid-template-columns: repeat(3, 1fr); margin: 14px 16px 8px; }
.game-hud span {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 10px; letter-spacing: .12em; color: rgba(255, 211, 106, .82);
}
.game-hud b { font-size: 22px; letter-spacing: 0; color: #fff; line-height: 1; }
.game-hud span + span { box-shadow: -1px 0 0 rgba(255,255,255,.12); }
.arcade .difficulty {
  display: flex; gap: 0; margin: 12px 16px 0; padding: 4px;
  border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
}
.arcade .difficulty button {
  flex: 1; min-height: 44px; padding: 0; border: 0; border-radius: 999px;
  background: transparent; color: rgba(255,255,255,.62); text-align: center; font-weight: 800; letter-spacing: .06em;
}
.arcade .difficulty button.active { background: #fff; color: #1a1030; border-color: #fff; }
.arcade-note { margin: 12px 0 0; text-align: center; font-size: 13px; text-wrap: balance; }

.pick-card { display: grid; border-radius: 32px; overflow: hidden; position: relative; background: linear-gradient(180deg, rgba(255, 90, 170, .18), rgba(40, 18, 78, .55) 42%, rgba(18, 10, 40, .72)); border: 2px solid #ffd36a; box-shadow: 0 0 0 5px rgba(255, 79, 139, .28), 0 18px 40px rgba(90, 20, 80, .35); }
.pick-image { aspect-ratio: 16 / 9; max-height: 220px; background: #2a1460; }
.pick-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.pick-info { display: grid; grid-template-columns: 104px 1fr; gap: 4px 12px; align-items: center; padding: 14px 16px 16px; }
.pick-info > div { display: contents; }
.pick-thumb { width: 104px; height: 104px; border-radius: 22px; grid-row: 1 / span 2; align-self: center; border: 2px solid #ffd36a; box-shadow: 0 8px 18px rgba(255, 79, 139, .28); }
.pick-kicker { grid-column: 2; justify-self: start; color: #2a1248; background: linear-gradient(135deg, #ffe27a, #ff8ab4); letter-spacing: 0.08em; font-size: 11px; font-weight: 800; border-radius: 999px; padding: 5px 10px; }
.pick-info h3 { grid-column: 2; margin: 4px 0 0; letter-spacing: .04em; }
.pick-info p { grid-column: 1 / -1; margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; text-wrap: balance; }
.pick-info a { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 4px; padding: 0 16px; border-radius: 999px; font-weight: 800; color: #2a1248; background: linear-gradient(135deg, #ffe27a, #ff6b9a); }
.pick-stamp { position: absolute; right: 12px; top: 14px; background: linear-gradient(135deg, #fff7c8, #ffd15a 40%, #ff4f8b); color: #2a1248; border-radius: 999px; padding: 8px 14px; font-size: 14px; letter-spacing: .14em; transform: rotate(8deg); box-shadow: 0 8px 16px rgba(40, 10, 50, .28); }
.category-head, .popular-head, .howto-head, .today-head, .arcade-head { margin-bottom: 16px; }
.category-head { display: flex; justify-content: space-between; gap: 8px 12px; align-items: end; flex-wrap: wrap; }
.ranking-list a, .podium-card a { font-weight: 800; min-height: 44px; display: inline-flex; align-items: center; }
.category-more {
  display: flex; align-items: center; justify-content: center; min-height: 52px; margin-top: 12px;
  border-radius: 999px; background: #fff; color: #1a1430; font-weight: 800; text-decoration: none;
}
.category-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  overflow: visible;
  scroll-snap-type: none;
}
.category-tabs button { grid-column: span 2; }
.category-tabs button:nth-child(4),
.category-tabs button:nth-child(5) { grid-column: span 3; }
.category-tabs button {
  min-width: 0;
  min-height: 52px;
  padding: 8px 6px;
  text-align: center;
  border-radius: 14px;
  background: rgba(255,255,255,.12);
  color: #fff;
}
.category-tabs button span {
  display: block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
  opacity: 1;
}
.category-tabs button small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  letter-spacing: 0.04em;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0.62;
}
.category-tabs button.active small { color: #9a6410; opacity: 1; }
.category-space {
  margin-top: 14px;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
}
.category-world {
  position: relative;
  display: block;
  width: 100%;
  height: 48px;
  object-fit: cover;
  object-position: center 35%;
}
.category-track {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  overflow: visible;
  padding: 10px;
  min-height: 0;
  background: #160f2e;
}
.spatial-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  color: #1a1338;
  border: 0;
  text-decoration: none;
}
.spatial-card img { width: 64px; height: 64px; border-radius: 12px; }
.spatial-card span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #9a6410;
}
.spatial-card h3 { margin: 1px 0 2px; font-size: 15px; line-height: 1.25; }
.spatial-card p {
  margin: 0;
  color: #5c5478;
  font-size: 12px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.spatial-card b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  background: #1a1338;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
#category { padding-bottom: calc(var(--dock) + 96px); }
@media (max-height: 700px) {
  #category { padding-top: 16px; }
  #category h2 { font-size: 24px; margin: 4px 0; }
  #category .category-head { margin-bottom: 8px; }
  #category .category-world { height: 32px; }
  #category .category-space { margin-top: 12px; }
  #category .category-tabs { gap: 4px; }
  #category .category-tabs button { min-height: 46px; padding: 6px 4px; }
  #category .category-tabs button span { font-size: 12px; }
}
.podium-why { display: block; margin: 2px 0 4px; font-size: 11px; line-height: 1.35; color: #d9d2ee; }
.pick-time { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--gold); }
.finale-games { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 8px; font-weight: 800; }
.swipe-hint { font-size: 12px; letter-spacing: 0.14em; color: var(--muted); }
.podium-stage { position: relative; border-radius: 28px; overflow: hidden; min-height: 250px; }
.podium-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.podium { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 8px; align-items: end; padding: 28px 10px 14px; }
.podium-card {
  border-radius: 20px; overflow: hidden; text-align: center;
  background: rgba(12, 8, 28, .62); border: 1px solid rgba(255,255,255,.22); padding: 8px 6px 10px;
}
.podium-card img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 16px; display: block; margin: 0 auto 6px; }
.podium-card span { display: block; padding: 0 0 6px; font-size: 20px; font-weight: 800; }
.podium-card h3, .podium-card a { padding: 0 4px; font-size: 12px; }
.podium-card h3 { white-space: nowrap; }
.podium-card.first { transform: translateY(-10px); }
.ranking-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.ranking-list li { display: flex; align-items: center; gap: 10px; min-height: 52px; }
.ranking-list li { padding: 0 12px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.ranking-list a, .ranking-list small { margin-left: auto; }
.howto { padding: 28px 16px 16px; }
.howto-head { margin-bottom: 12px; }
.howto-lead { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.howto-track { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.howto-track li {
  display: grid; overflow: hidden; border-radius: 24px; background: #fff; color: #1a1430;
  box-shadow: 0 14px 28px rgba(8, 4, 24, .28);
}
.howto-track img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 42%; display: block;
}
.howto-track li > div { padding: 12px 14px 14px; box-shadow: inset 0 4px 0 var(--step, #ffd15a); }
.howto-track li:nth-child(1) { --step: #ffd15a; }
.howto-track li:nth-child(2) { --step: #ff7eb6; }
.howto-track li:nth-child(3) { --step: #8d7bff; }
.howto-kicker {
  margin: 0; display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.14em; color: #7a4dff;
}
.howto-kicker b {
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  background: #1a1430; color: #ffd15a; letter-spacing: 0; font-size: 12px;
}
.howto-track h3 { margin: 6px 0 2px; font-size: 20px; color: #1a1430; }
.howto-track li p:last-child { margin: 0; font-size: 15px; line-height: 1.45; color: #4d4568; }
.finale { padding: 0; }
main:has(.finale) { padding-bottom: 0; }
.finale-run { height: 220svh; }
.finale-stage {
  position: sticky; top: 0; z-index: 1;
  height: calc(100svh - var(--dock));
  overflow: hidden; background: #120a24;
}
.finale-beat { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.finale-beat.is-on { opacity: 1; pointer-events: auto; }
.finale-beat img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 16%;
  transform: scale(1.04); transform-origin: center 24%;
}
.finale-copy {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 96px 18px 14px;
  background: linear-gradient(180deg, transparent, rgba(12, 8, 28, .35) 26%, rgba(12, 8, 28, .88) 52%, #100924);
}
.finale-kicker {
  margin: 0; display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.16em; color: var(--gold);
}
.finale-kicker b {
  width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
  background: #fff; color: #1a1430; letter-spacing: 0; font-size: 11px;
}
.finale-copy h2 {
  margin: 4px 0 4px; font-size: clamp(30px, 8.4vw, 42px); line-height: 1.18;
  text-shadow: 0 10px 24px rgba(8, 4, 20, .45);
}
.finale-note { margin: 0 0 12px; font-size: 15px; color: rgba(247, 244, 255, .88); }
.finale-copy small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; text-align: center; }
.finale-copy small a { text-decoration: underline; min-height: 40px; display: inline-flex; align-items: center; }
.finale-meter {
  position: absolute; z-index: 4; left: 18px; right: 18px;
  top: calc(58px + var(--safe-t)); height: 3px; border-radius: 99px;
  background: rgba(255, 255, 255, .28);
}
.finale-meter i {
  display: block; height: 100%; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, #ffd15a, #ff7eb6);
  box-shadow: 0 0 12px rgba(255, 209, 90, .85);
}
body.finale-live .start-join {
  opacity: 0; visibility: hidden; pointer-events: none;
  animation: none;
}
.site-footer {
  position: relative;
  padding: 36px 16px calc(var(--dock) + 28px);
  color: #f7f4ff;
  background:
    radial-gradient(80% 36% at 50% 0%, rgba(255, 209, 90, .22), transparent 62%),
    radial-gradient(46% 28% at 100% 12%, rgba(255, 79, 139, .2), transparent 64%),
    radial-gradient(42% 24% at 0% 78%, rgba(109, 92, 255, .28), transparent 66%),
    linear-gradient(180deg, #1b1238, #100924 28%, #070414);
  overflow: clip;
}
.site-footer::before {
  content: "";
  position: absolute; left: 18px; right: 18px; top: 0; height: 3px; border-radius: 99px;
  background: linear-gradient(90deg, #ffd15a, #ff7eb6 52%, #8d7bff);
}
.footer_wrap { position: relative; }
.footer-logo {
  display: block; width: min(232px, 74%); height: auto;
  margin: 6px auto 20px;
  filter: drop-shadow(0 10px 16px rgba(80, 40, 160, .35));
}
.footer_list {
  list-style: none; margin: 0; padding: 10px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 16px 32px rgba(0, 0, 0, .22);
}
.footer_list li { min-width: 0; }
.footer_list a {
  min-height: 52px; display: flex; align-items: center; justify-content: center;
  padding: 8px 10px; border-radius: 16px; text-align: center;
  color: #1a1430; background: linear-gradient(180deg, #fff, #fff6fb);
  font-size: 13px; font-weight: 800; line-height: 1.35; letter-spacing: 0.01em;
  overflow-wrap: anywhere;
  box-shadow: inset 0 3px 0 var(--foot, #ffd15a), 0 8px 14px rgba(16, 8, 36, .16);
}
.footer_list li:nth-child(3n + 1) a { --foot: #ffd15a; }
.footer_list li:nth-child(3n + 2) a { --foot: #ff7eb6; }
.footer_list li:nth-child(3n) a { --foot: #8d7bff; }
.footer_list a:active { transform: translateY(1px); }
.site-footer #footer { margin: 18px 0 0; text-align: center; }
.site-footer #footer .copy {
  margin: 0; font-size: 12px; letter-spacing: 0.06em; line-height: 1.6;
  color: rgba(247, 244, 255, .66);
}
.mobile-dock {
  position: fixed; z-index: 45; bottom: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
  padding: 8px 6px calc(6px + var(--safe-b));
  background:
    linear-gradient(180deg, #fff 0%, #fff6fb 58%, #ffe4f3 100%);
  border-top: 3px solid #1a1030;
  box-shadow: inset 0 4px 0 #ffd15a, 0 -10px 28px rgba(255, 110, 170, .22);
}
.mobile-dock a,
.mobile-dock .dock-play {
  position: relative;
  min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.02em; color: #4a3568;
}
.mobile-dock svg { width: 22px; height: 22px; position: relative; z-index: 1; }
.mobile-dock a b { position: relative; z-index: 1; }
.dock-rec svg { color: #f0a000; }
.dock-genre svg { color: #12b6d6; }
.dock-hot svg { color: #7b5cff; }
.dock-rec.active,
.dock-genre.active,
.dock-hot.active { color: #1a1030; }
.dock-rec.active::before,
.dock-genre.active::before,
.dock-hot.active::before {
  content: ""; position: absolute; top: 4px; width: 36px; height: 26px; border-radius: 12px;
}
.dock-rec.active::before { background: #fff1be; }
.dock-genre.active::before { background: #d7f7ff; }
.dock-hot.active::before { background: #efe6ff; }
.dock-play {
  width: 58px; height: 58px; margin: -22px auto 0; border-radius: 20px;
  border: 3px solid #1a1030;
  background: linear-gradient(165deg, #fff 0%, #ffe38a 40%, #ff7ab0 100%);
  color: #2a1230 !important;
  box-shadow: inset 0 2px 0 #fff, 0 4px 0 #1a1030, 0 10px 16px rgba(255, 80, 140, .35);
}
.dock-play svg { width: 20px; height: 20px; }
.dock-play.is-launch { animation: dock-launch .38s cubic-bezier(.2, 1.45, .32, 1); }
@keyframes dock-launch {
  0% { transform: scale(1); }
  40% { transform: translateY(2px) scale(.88); }
  100% { transform: scale(1); }
}
.dock-join b { font-size: 9px; letter-spacing: 0; white-space: nowrap; }
.dock-join,
.mobile-dock a.dock-join.active {
  color: #2a1230;
  margin: 0 3px 2px;
  min-height: 54px;
  border-radius: 18px;
  border: 2px solid #1a1030;
  background: linear-gradient(165deg, #fff7cc 0%, #ffd15a 42%, #ff7eb6 100%);
  box-shadow: 0 3px 0 #1a1030, 0 0 0 3px rgba(255, 209, 90, .45);
  animation: dock-glow 1.5s ease-in-out infinite;
}
.dock-join-out { display: none; }
.dock-spark {
  position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none;
}
.dock-spark::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 32%, rgba(255,255,255,.92) 50%, transparent 68%);
  background-size: 220% 100%;
  animation: join-sheen 2.2s ease-in-out infinite;
}
.dock-spark::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 16% 28%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 78% 22%, #fff 0 1.6px, transparent 2.8px),
    radial-gradient(circle at 86% 72%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 42% 78%, #fff 0 1.4px, transparent 2.4px);
  animation: dock-twinkle 1.3s ease-in-out infinite;
}
.dock-join.is-member,
.mobile-dock a.dock-join.is-member.active {
  animation: none;
  background: linear-gradient(180deg, #fff, #efe8ff);
  box-shadow: 0 3px 0 #1a1030;
}
.dock-join.is-member .dock-spark { display: none; }
.dock-join.is-member .dock-join-in { display: none; }
.dock-join.is-member .dock-join-out { display: block; }
@keyframes dock-glow {
  0%, 100% { box-shadow: 0 3px 0 #1a1030, 0 0 0 2px rgba(255, 209, 90, .35); filter: brightness(1); }
  50% { box-shadow: 0 3px 0 #1a1030, 0 0 0 5px rgba(255, 126, 182, .72), 0 0 16px rgba(255, 209, 90, .95); filter: brightness(1.06); }
}
@keyframes dock-twinkle {
  0%, 100% { opacity: .2; }
  45% { opacity: 1; }
}
.play-sheet {
  position: fixed; inset: 0; z-index: 60;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 12px calc(var(--dock) + 10px);
}
.play-sheet[hidden] { display: none; }
.play-sheet-backdrop {
  position: absolute; inset: 0; border: 0; padding: 0;
  background: rgba(8, 4, 22, .46);
  opacity: 0;
}
.play-sheet.is-in .play-sheet-backdrop { opacity: 1; }
.play-sheet-panel {
  position: relative; width: min(100%, 456px);
  border-radius: 28px; padding: 16px 14px 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.22), transparent 30%),
    linear-gradient(165deg, #3a2078, #16102c 62%);
  border: 1px solid rgba(255,255,255,.38);
  box-shadow: 0 18px 40px rgba(8, 4, 24, .45), inset 0 1px 0 rgba(255,255,255,.4);
  transform-origin: 50% 100%;
  opacity: 0;
  transform: translateY(56px) scale(.84);
  overflow: hidden;
  max-height: calc(100svh - var(--dock) - 22px);
}
.play-sheet.is-in .play-sheet-panel { opacity: 1; transform: none; }
html:not(.reduced) .play-sheet.is-in .play-sheet-backdrop { animation: sheet-dim .28s ease both; }
html:not(.reduced) .play-sheet.is-out .play-sheet-backdrop { animation: sheet-undim .22s ease both; }
html:not(.reduced) .play-sheet.is-in .play-sheet-panel { animation: sheet-pop .5s cubic-bezier(.16, 1.2, .3, 1) both; }
html:not(.reduced) .play-sheet.is-out .play-sheet-panel { animation: sheet-drop .24s cubic-bezier(.4, 0, .75, .2) both; }
@keyframes sheet-dim { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheet-undim { from { opacity: 1; } to { opacity: 0; } }
@keyframes sheet-pop {
  0% { opacity: 0; transform: translateY(64px) scale(.78); }
  58% { opacity: 1; transform: translateY(-8px) scale(1.02); }
  100% { opacity: 1; transform: none; }
}
@keyframes sheet-drop {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateY(40px) scale(.9); }
}
.play-sheet-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.play-sheet-head p { margin: 0; font-size: 11px; letter-spacing: 0.16em; color: var(--gold); font-weight: 800; }
.play-sheet-head h2 { margin: 2px 0 0; font-size: 22px; }
.play-sheet-close {
  min-height: 44px; padding: 0 14px; border-radius: 999px;
  background: rgba(255,255,255,.14); color: #fff; font-weight: 800;
}
.play-sheet-list { display: grid; gap: 8px; min-width: 0; }
.play-pick {
  display: flex; align-items: center; gap: 12px; min-width: 0;
  min-height: 76px; padding: 8px; border-radius: 18px;
  background: rgba(255,255,255,.1); color: #fff;
}
.play-pick img { width: 84px; height: 84px; border-radius: 16px; object-fit: cover; flex: none; background: #241848; }
.play-pick-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.play-pick-copy small { color: var(--aqua); font-size: 11px; letter-spacing: 0.12em; font-weight: 800; }
.play-pick-copy strong { min-width: 0; font-size: 16px; overflow-wrap: anywhere; }
.play-pick-copy em {
  min-width: 0; max-width: 100%;
  font-style: normal; color: var(--muted); font-size: 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
html:not(.reduced) .play-sheet.is-in .play-pick { animation: pick-rise .4s cubic-bezier(.16, 1.15, .32, 1) both; }
html:not(.reduced) .play-sheet.is-in .play-pick:nth-child(1) { animation-delay: .08s; }
html:not(.reduced) .play-sheet.is-in .play-pick:nth-child(2) { animation-delay: .14s; }
html:not(.reduced) .play-sheet.is-in .play-pick:nth-child(3) { animation-delay: .2s; }
@keyframes pick-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
body.play-open .start-join { opacity: 0; pointer-events: none; }
.dock-progress { display: none; }
.quality { position: fixed; left: -999px; }

html.reduced { scroll-snap-type: none; }
html.reduced .cinematic { height: auto; min-height: 100dvh; }
html.reduced .cinematic.is-member { min-height: 0; height: auto; }
html.reduced .finale-anchor { display: none; }
html.reduced .finale { padding-bottom: calc(var(--dock) + 96px); }
html.reduced .finale-run { height: auto; }
html.reduced .finale-stage { position: relative; height: auto; display: grid; gap: 14px; padding: 16px; overflow: visible; background: transparent; }
html.reduced .finale-beat { position: relative; opacity: 1; pointer-events: auto; display: grid; border-radius: 24px; overflow: hidden; background: #160f2c; }
html.reduced .finale-beat img { position: relative; height: auto; aspect-ratio: 3 / 4; transform: none; }
html.reduced .finale-copy { position: relative; padding: 14px 14px 16px; background: #160f2c; }
html.reduced .finale-meter { display: none; }
html.reduced .scroll-meter i, html.reduced .chapter, html.reduced .speed-copy, html.reduced .portal-copy, html.reduced .enter-cue { display: none; }
html.reduced .start-join,
html.reduced .start-join::before,
html.reduced .start-join::after,
html.reduced .start-portal,
html.reduced .start-portal b,
html.reduced .dock-join,
html.reduced .dock-spark,
html.reduced .dock-spark::before,
html.reduced .dock-spark::after,
html.reduced .play-sheet-backdrop,
html.reduced .play-sheet-panel,
html.reduced .play-pick,
html.reduced .dock-play { animation: none; }
html.reduced .benefit-show { display: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html { scroll-snap-type: none; }
  .scroll-meter i,
  .start-join, .start-join::before, .start-join::after, .start-portal, .start-portal b,
  .dock-join, .dock-spark, .dock-spark::before, .dock-spark::after,
  .play-sheet-backdrop, .play-sheet-panel, .play-pick, .dock-play { animation: none; }
  .hero-copy .scene-index::before,
  .hero-copy .eyebrow::after, .hero-copy h1::after, .hero-copy .hero-lead::after,
  .benefit-show span::after, .enter-arrow::before,
  .chapter::after, .speed-copy::after, .portal-copy::after, .world-copy::after { animation: none; }
}
@media (min-width: 481px) {
  body { background: var(--bg-deep); }
  .shell { min-height: 100dvh; box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
}
@media (max-width: 360px) {
  .moment-card h3 { font-size: 18px; }
}
@media (max-height: 700px) {
  h1 { font-size: 30px; }
  .hero-copy .hero-lead { display: none; }
  .time-reel {
    --art-top: 80px; --face-gap: 10px; --card-gap: 10px; --path-gap: 10px; --stack-pad: 10px;
    --face-h: 52px; --card-h: 112px; --path-h: 48px;
    height: 340vh;
  }
  .time-face .slot { font-size: 48px; }
  .finale-run { height: 200svh; }
  .finale-copy { padding: 64px 14px 8px; }
  .finale-copy h2 { font-size: 26px; }
  .finale-note { margin-bottom: 6px; font-size: 13px; }
  .finale-join { min-height: 46px; font-size: 16px; }
  .finale-games { min-height: 36px; margin-top: 0; }
  .finale-copy small a { min-height: 32px; }
}
body.trial .start-join {
  font-size: 14px;
  letter-spacing: 0;
  gap: 8px;
  padding-right: 16px;
}
body.trial .enter-cue { width: min(320px, calc(100% - 32px)); }
body.trial .enter-cue a {
  font-size: 14px;
  letter-spacing: 0;
  padding: 0 14px;
}
body.trial .portal-play small {
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1.25;
  text-align: center;
}
body.trial .finale-join { font-size: 16px; letter-spacing: 0; }
body.trial .dock-join {
  min-height: 62px;
  padding: 4px 2px 2px;
}
body.trial .dock-join b {
  font-size: 9px;
  line-height: 1.15;
  white-space: normal;
  text-align: center;
}
body.trial .dock-join svg { width: 16px; height: 16px; }
body.trial .footer_list a[href="/accounts/regist"] {
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.35;
}
body.firstmonth .start-join {
  font-size: 13px;
  letter-spacing: 0;
  gap: 8px;
  padding: 8px 14px 8px 10px;
}
body.firstmonth .start-join-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
}
body.firstmonth .start-join-copy small {
  margin-top: 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}
body.firstmonth .enter-cue { width: min(320px, calc(100% - 32px)); }
body.firstmonth .enter-cue a {
  flex-direction: column;
  gap: 1px;
  min-height: 52px;
  padding: 6px 14px;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 1.2;
  white-space: normal;
}
body.firstmonth .enter-cue a small,
body.firstmonth .finale-join small,
body.firstmonth .footer_list a[href="/accounts/regist"] small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
}
body.firstmonth .portal-play { height: 86px; }
body.firstmonth .portal-play strong {
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.2;
}
body.firstmonth .portal-play small {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  color: #9a6410;
}
body.firstmonth .finale-join {
  flex-direction: column;
  gap: 2px;
  min-height: 64px;
  padding: 8px 16px;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.2;
}
body.firstmonth .mobile-dock { padding-left: 4px; padding-right: 4px; }
body.firstmonth .dock-join {
  min-height: 62px;
  margin-left: 0;
  margin-right: 0;
  padding: 3px 0 2px;
}
body.firstmonth .dock-join svg { display: none; }
body.firstmonth .dock-join b {
  font-size: 8px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
  white-space: normal;
  text-align: center;
}
body.firstmonth .dock-join small {
  display: block;
  margin-top: 1px;
  font-size: 7px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
}
body.firstmonth .footer_list a[href="/accounts/regist"] {
  flex-direction: column;
  gap: 2px;
  min-height: 68px;
  padding: 8px 6px;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.25;
  overflow-wrap: normal;
  word-break: keep-all;
}
