/* Zombie Homestead 公式サイト
   色はアプリアイコンの夕焼け（tools/gen_app_icon.gd の SKY）と、ゲーム UI の焦げ茶の縁取り（mesh_builder.gd OUTLINE_COLOR）から取る */
:root {
  --ink: #2a2320;
  --ink-2: #5a4a42;
  --night: #1d1733;
  --night-2: #2c2252;
  --plum: #6e3470;
  --rose: #d34d63;
  --orange: #ff7d48;
  --amber: #ffb45a;
  --sun: #fff1b0;
  --paper: #fff6e5;
  --cream: #fdebc8;
  --card: #fffdf7;
  --leaf: #5cb83c;
  --leaf-d: #3d8a25;
  --zombie: #9be05c;
  --gem: #e45aa8;
  --mint: #7ee0a1;
  --btn-a: #ffb347;
  --btn-b: #ff8a1f;
  --f-body: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  --f-pop: "Lilita One", "M PLUS Rounded 1c", system-ui, sans-serif;
  --wrap: 1160px;
  --gutter: 24px;
  --hd: 68px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.8;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
:lang(en) body, body:lang(en) { line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { width: 1.25em; height: 1.25em; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.wrap--narrow { max-width: calc(820px + var(--gutter) * 2); }

/* ---------------------------------------------------------------- type */
.h2 {
  font-weight: 900;
  font-size: clamp(32px, 5.2vw, 60px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.h3 { font-weight: 900; font-size: clamp(20px, 2.2vw, 24px); line-height: 1.4; text-wrap: balance; }
:lang(ja) .h2, :lang(ja) .h3, :lang(ja) .hero__title, :lang(ja) .cta__title { word-break: auto-phrase; }
.h2 em, .h3 em {
  font-style: normal;
  background: linear-gradient(transparent 60%, var(--amber) 60% 90%, transparent 90%);
  padding: 0 0.06em;
}
.lead { margin-top: 20px; font-size: clamp(16px, 1.55vw, 18.5px); color: var(--ink-2); font-weight: 600; text-wrap: pretty; }
.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 3px 16px 4px;
  border: 2.5px solid currentColor;
  border-radius: 999px;
  font-family: var(--f-pop);
  font-size: 17px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--rose);
  transform: rotate(-2deg);
}
.eyebrow--sun { color: var(--sun); }
.eyebrow--zombie { color: var(--zombie); }
.eyebrow--radio { color: var(--mint); }
.sec--dusk .eyebrow { color: var(--amber); }
.badge {
  display: inline-block; margin-left: 6px; padding: 1px 10px 2px; border-radius: 999px;
  background: var(--amber); color: var(--ink); font-family: var(--f-body); font-size: 12px; font-weight: 900; letter-spacing: 0;
  vertical-align: 2px;
}
.note { margin-top: 36px; text-align: center; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.note--night { color: rgba(255, 255, 255, 0.72); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px 14px;
  border: 3px solid var(--ink); border-radius: 999px;
  background: linear-gradient(var(--btn-a), var(--btn-b));
  color: #fff; font: inherit; font-weight: 900; font-size: 17px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  text-shadow: 0 2px 0 rgba(120, 50, 0, 0.35);
  box-shadow: 0 5px 0 var(--ink), inset 0 2px 0 rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink), inset 0 2px 0 rgba(255, 255, 255, 0.45); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink), inset 0 2px 0 rgba(255, 255, 255, 0.45); }
.btn--sm { padding: 7px 18px 8px; font-size: 15px; box-shadow: 0 4px 0 var(--ink), inset 0 2px 0 rgba(255, 255, 255, 0.45); }
.btn--leaf { background: linear-gradient(#7fd34f, var(--leaf-d)); text-shadow: 0 2px 0 rgba(0, 60, 0, 0.35); }

.stores { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.stores--center { justify-content: center; width: 100%; max-width: 480px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 210px; min-height: 64px; padding: 10px 22px 10px 16px;
  border: 3px solid rgba(255, 255, 255, 0.92); border-radius: 18px;
  background: #16121c; color: #fff; text-decoration: none;
  font-weight: 900; font-size: 17px; line-height: 1.25;
  box-shadow: 0 5px 0 rgba(22, 18, 28, 0.55);
  transition: transform 0.12s;
}
.store svg { width: 30px; height: 30px; color: var(--amber); }
.store span { display: flex; flex-direction: column; }
.store small { font-size: 12px; font-weight: 800; color: var(--amber); letter-spacing: 0.02em; }
a.store:hover { transform: translateY(-2px); }
.store.is-soon { cursor: default; }

/* ---------------------------------------------------------------- header */
.hd { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hd); color: #fff; transition: background 0.25s, box-shadow 0.25s; }
.hd.is-scrolled, .hd.is-open { background: rgba(29, 23, 51, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25); }
.hd__in { height: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo__icon { width: 40px; height: 40px; border-radius: 11px; border: 2.5px solid var(--ink); box-shadow: 0 3px 0 rgba(0, 0, 0, 0.35); }
.logo__word { font-family: var(--f-pop); font-size: 21px; letter-spacing: 0.02em; line-height: 1; white-space: nowrap; -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill; }
.logo__z { color: var(--zombie); }
.logo__h { color: var(--amber); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a { padding: 8px 12px; border-radius: 999px; font-weight: 800; font-size: 15px; text-decoration: none; white-space: nowrap; }
.nav > a:hover { background: rgba(255, 255, 255, 0.14); }
.langs { display: inline-flex; gap: 4px; margin-left: 8px; }
.langs a { padding: 3px 10px 4px; border: 2px solid rgba(255, 255, 255, 0.3); border-radius: 999px; font-size: 13px; font-weight: 800; text-decoration: none; line-height: 1.4; }
.langs a[aria-current] { background: #fff; color: var(--ink); border-color: #fff; }
.hd__menu { display: none; }

@media (max-width: 1020px) {
  .hd__in { gap: 12px; }
  .hd__cta { margin-left: auto; }
  .hd__menu {
    display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; flex: none;
    border: 2.5px solid rgba(255, 255, 255, 0.85); border-radius: 14px; background: rgba(29, 23, 51, 0.35); color: #fff; cursor: pointer;
  }
  .hd__menu span:not(.sr) { display: block; width: 20px; height: 3px; border-radius: 3px; background: currentColor; transition: transform 0.2s; }
  .hd.is-open .hd__menu span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
  .hd.is-open .hd__menu span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
  .nav {
    position: absolute; top: var(--hd); left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px var(--gutter) 22px;
    background: rgba(29, 23, 51, 0.97);
    box-shadow: 0 10px 0 rgba(0, 0, 0, 0.2);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: 0.2s;
  }
  .hd.is-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav > a { padding: 13px 8px; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0; }
  .nav .langs { margin: 16px 0 0; }
}
@media (max-width: 480px) {
  :root { --gutter: 16px; --hd: 62px; }
  .logo__word { font-size: 16px; -webkit-text-stroke-width: 4px; }
  .logo__icon { width: 34px; height: 34px; border-radius: 9px; }
  .hd__cta { display: none; }
  .hd__menu { margin-left: auto; }
}
@media (max-width: 360px) { .logo__word { display: none; } }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; color: #fff; padding: calc(var(--hd) + 56px) 0 0; isolation: isolate; }
.hero__sky { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #2c2252 0%, #4e2b62 18%, #6e3470 32%, #b4415f 50%, #e05d55 64%, #ff7d48 76%, #ffb45a 90%); overflow: hidden; }
.hero__sun {
  position: absolute; right: 10%; bottom: 190px; width: clamp(200px, 26vw, 360px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--sun) 58%, #ffe08a 66%, rgba(255, 210, 122, 0) 72%);
  box-shadow: 0 0 140px 60px rgba(255, 196, 110, 0.38);
}
.hero__hills { position: absolute; left: 0; right: 0; bottom: 130px; width: 100%; height: 170px; }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 32px; padding-bottom: 280px; }
.hero__copy { position: relative; z-index: 2; }
.hero__title { display: flex; flex-direction: column; align-items: flex-start; font-weight: 900; font-size: clamp(44px, 6.5vw, 100px); white-space: nowrap; line-height: 1.04; letter-spacing: -0.02em; }
.hero__line {
  display: inline-block;
  -webkit-text-stroke: 0.12em var(--ink); paint-order: stroke fill;
  text-shadow: 0 0.07em 0 var(--ink);
  animation: line-in 0.8s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
.hero__line--1 { color: var(--sun); transform: rotate(-2deg); }
.hero__line--2 { color: #fff; transform: rotate(1.2deg) translateX(0.3em); animation-delay: 0.1s; }
.hero__line--3 { color: var(--zombie); transform: rotate(-1deg); animation-delay: 0.2s; }
:lang(en) .hero__title { font-family: var(--f-pop); font-weight: 400; letter-spacing: 0.01em; line-height: 1.02; }
@keyframes line-in { from { opacity: 0; translate: 0 30px; scale: 0.9; } }
.hero__game { display: block; margin-bottom: 16px; font: 800 clamp(14px, 1.4vw, 18px)/1.5 'M PLUS Rounded 1c', sans-serif; letter-spacing: 0; color: #ffda85; text-shadow: none; white-space: normal; }
.hero__lead { margin-top: 26px; max-width: 540px; font-size: clamp(16px, 1.6vw, 19px); font-weight: 700; line-height: 1.85; text-shadow: 0 2px 10px rgba(44, 34, 82, 0.45); text-wrap: pretty; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px 6px 10px; border-radius: 999px; background: rgba(29, 23, 51, 0.62); border: 2px solid rgba(255, 255, 255, 0.35); font-weight: 800; font-size: 14.5px; line-height: 1.4; }
.chips svg { color: var(--zombie); width: 18px; height: 18px; }

.hero__scene { position: relative; z-index: 1; display: flex; justify-content: center; }
.pop {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 14px 7px; border: 3px solid var(--ink); border-radius: 14px; background: #fff; color: var(--ink);
  font-family: var(--f-pop); font-size: 20px; line-height: 1.1; white-space: nowrap;
  box-shadow: 0 4px 0 var(--ink);
  animation: float 3.2s ease-in-out infinite;
}
.pop img { width: 30px; height: 30px; object-fit: contain; }
.pop--1 { left: 4%; top: 16%; transform: rotate(-6deg); }
.pop--2 { right: 2%; top: 44%; background: var(--zombie); transform: rotate(5deg); animation-delay: -1.1s; }
.pop--3 { left: 10%; bottom: 14%; background: var(--amber); transform: rotate(-3deg); animation-delay: -2.2s; }
@keyframes float { 50% { translate: 0 -10px; } }

/* 道路と追いかけっこ */
.road { position: absolute; left: 0; right: 0; bottom: 0; height: 150px; background: linear-gradient(#5a3a4a 0 10px, #3a3240 10px); overflow: hidden; z-index: 0; }
.road::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 8px; background: rgba(0, 0, 0, 0.18); }
.road__dash { position: absolute; left: 0; top: 74px; width: calc(100% + 200px); height: 10px; background: repeating-linear-gradient(90deg, #f2c94c 0 90px, transparent 90px 200px); animation: dash 0.7s linear infinite; }
@keyframes dash { to { transform: translateX(-200px); } }
.chase { position: absolute; left: 0; right: 0; bottom: 34px; height: 290px; z-index: 3; pointer-events: none; }
.chase img { position: absolute; bottom: 0; width: auto; filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.18)); }
.chase__runner { left: 54%; height: 300px; animation: bob 0.34s ease-in-out infinite alternate; }
.chase__z--walker { left: 34%; height: 186px; animation: shamble 0.6s ease-in-out infinite alternate; }
.chase__z--tank { left: 17%; height: 176px; bottom: 30px !important; filter: brightness(0.78) saturate(0.85) drop-shadow(0 6px 0 rgba(0, 0, 0, 0.18)); animation: shamble 0.8s ease-in-out infinite alternate-reverse; }
@keyframes bob { to { transform: translateY(-10px) rotate(-1.5deg); } }
@keyframes shamble { from { transform: rotate(-2deg); } to { transform: translateY(-6px) rotate(2deg); } }

@media (max-width: 900px) {
  .hero { padding-top: calc(var(--hd) + 36px); }
  .hero__title { font-size: min(14.4vw, 84px); }
  :lang(en) .hero__title { font-size: min(17vw, 96px); }
  .hero__in { grid-template-columns: 1fr; gap: 40px; padding-bottom: 230px; }
  .hero__lead { max-width: none; }
  .hero__sun { right: -60px; bottom: 150px; }
  .hero__hills { bottom: 110px; height: 120px; }
  .road { height: 120px; }
  .road__dash { top: 58px; }
  .chase { height: 220px; bottom: 26px; }
  .chase__runner { height: 220px; left: 58%; }
  .chase__z--walker { height: 140px; left: 30%; }
  .chase__z--tank { height: 128px; left: 8%; bottom: 24px !important; }
}
@media (max-width: 480px) {
  .stores { gap: 10px; }
  .store { min-width: 0; flex: 1 1 140px; padding: 8px 12px; font-size: 15px; gap: 8px; }
  .store svg { width: 24px; height: 24px; }
  .pop { font-size: 16px; padding: 5px 10px 6px; }
  .pop img { width: 24px; height: 24px; }
}

/* ---------------------------------------------------------------- phone */
.phone {
  position: relative; margin: 0 auto; width: min(300px, 72vw); aspect-ratio: 480 / 1040; padding: 9px;
  border: 3px solid var(--ink); border-radius: 46px; background: #15111c;
  box-shadow: inset 0 0 0 3px #3d3449, 0 12px 0 rgba(20, 14, 30, 0.45), 0 30px 60px rgba(20, 14, 30, 0.35);
}
.phone::before { content: ""; position: absolute; z-index: 1; top: 19px; left: 50%; width: 26%; height: 20px; border-radius: 999px; background: #15111c; transform: translateX(-50%); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; background: #3a3240; }
.phone--hero { width: min(310px, 66vw); transform: rotate(4deg); }
.phone--tilt-l { transform: rotate(-4deg); }
.phone--tilt-r { transform: rotate(3deg); }
@media (max-width: 900px) { .phone--hero { width: min(250px, 62vw); } }

/* ---------------------------------------------------------------- ticker */
.ticker { position: relative; z-index: 4; overflow: hidden; margin-top: -26px; padding: 14px 0 12px; background: var(--ink); color: var(--sun); transform: rotate(-1.4deg) scaleX(1.03); box-shadow: 0 6px 0 rgba(42, 35, 32, 0.18); }
.ticker__track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.ticker__set { display: flex; align-items: center; flex: none; }
.ticker__set span { padding: 0 22px; font-family: var(--f-pop); font-weight: 900; font-size: clamp(22px, 3vw, 32px); line-height: 1.3; white-space: nowrap; }
.ticker__set span:nth-of-type(even) { color: var(--zombie); }
.ticker__set i { font-style: normal; color: var(--orange); font-size: 20px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- sections */
.sec { position: relative; padding: clamp(84px, 11vw, 140px) 0; overflow: hidden; }
.sec--paper { background-color: var(--paper); background-image: radial-gradient(rgba(42, 35, 32, 0.07) 1.3px, transparent 1.6px); background-size: 24px 24px; }
.sec--cream { background: var(--cream); }
.sec--night { background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); color: #f6eefe; }
.sec--night .lead, .sec--dusk .lead, .sec--radio .lead { color: rgba(255, 255, 255, 0.84); }
.sec--night .h2 em, .sec--dusk .h2 em, .sec--radio .h2 em, .sec--dusk .h3 em { background: none; color: var(--zombie); padding: 0; }
.sec--dusk .h2 em, .sec--dusk .h3 em { color: var(--amber); }
.sec--radio .h2 em { color: var(--mint); }
.sec--dusk { background: linear-gradient(180deg, var(--night-2) 0%, var(--plum) 55%, #a03e62 100%); color: #fff; }
.sec--radio { background: linear-gradient(180deg, #0f2b28 0%, #10342f 100%); color: #eafff1; }
.sec__hd { max-width: 780px; margin: 0 auto 60px; text-align: center; }
.sec__hd--left { margin: 0 0 36px; text-align: left; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(36px, 6vw, 80px); }
.split--rev { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
@media (max-width: 900px) {
  .split, .split--rev { grid-template-columns: 1fr; }
  .split > .phone { order: 2; width: min(260px, 66vw); }
  .split__copy .sec__hd--left { text-align: left; }
}

.stars { position: absolute; inset: 0; pointer-events: none; opacity: 0.7;
  background-image: radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 72% 9%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 35% 30%, #fff 50%, transparent 52%), radial-gradient(2px 2px at 88% 26%, #ffe9a8 50%, transparent 52%), radial-gradient(1px 1px at 55% 14%, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 22% 44%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 93% 52%, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 6% 66%, #fff 50%, transparent 52%);
}

/* ---------------------------------------------------------------- how */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.step { display: flex; flex-direction: column; overflow: hidden; background: var(--card); border: 3px solid var(--ink); border-radius: 28px; box-shadow: 0 8px 0 var(--ink); }
.step__shot { aspect-ratio: 1 / 0.92; overflow: hidden; border-bottom: 3px solid var(--ink); background: #3a3240; }
.step__shot img { width: 100%; height: 100%; object-fit: cover; }
.step:nth-child(1) .step__shot img { object-position: 50% 62%; }
.step:nth-child(2) .step__shot img { object-position: 50% 34%; }
.step:nth-child(3) .step__shot img { object-position: 50% 26%; }
.step__body { position: relative; padding: 0 26px 30px; }
.step__num {
  display: grid; place-items: center; width: 64px; height: 64px; margin: -34px 0 12px;
  border: 3px solid var(--ink); border-radius: 50%; background: var(--amber); box-shadow: 0 4px 0 var(--ink);
  font-family: var(--f-pop); font-size: 26px; line-height: 1; position: relative; z-index: 1;
}
.step:nth-child(2) .step__num { background: var(--zombie); }
.step:nth-child(3) .step__num { background: #ff9f8f; }
.step p { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .step__shot { aspect-ratio: 16 / 10; }
}

/* 背中の荷物（タップで積む） */
.stack {
  display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: center; gap: 40px;
  max-width: 860px; margin: 64px auto 0; padding: 30px 40px;
  background: var(--card); border: 3px solid var(--ink); border-radius: 30px; box-shadow: 0 8px 0 var(--ink);
}
.stack__pile { position: relative; height: 330px; border-radius: 22px; background: linear-gradient(#e8f4ff, #fff1d6); border: 3px solid var(--ink); overflow: hidden; }
.stack__pile::after { content: ""; position: absolute; left: 50%; bottom: 14px; width: 140px; height: 22px; transform: translateX(-50%); border: 3px solid var(--ink); border-radius: 6px; background: repeating-linear-gradient(90deg, #c98a4b 0 28px, #a8692f 28px 32px); }
.stack__tower { position: absolute; left: 50%; bottom: 36px; width: 0; transform-origin: 50% 100%; transform: scale(var(--s, 1)); transition: transform 0.25s; }
.stack__item { position: absolute; left: -36px; width: 72px; max-width: none; height: auto; animation: drop 0.32s cubic-bezier(0.3, 1.5, 0.5, 1) both; }
@keyframes drop { from { translate: 0 -80px; opacity: 0; } }
.stack__pile.is-unload .stack__item { transition: transform 0.6s cubic-bezier(0.5, 0, 0.8, 0.2), opacity 0.6s; transform: translateX(240px) rotate(18deg); opacity: 0; }
.stack__label { font-weight: 800; color: var(--ink-2); }
.stack__count { font-family: var(--f-pop); font-size: 72px; line-height: 1.05; }
.stack__count small { font-size: 30px; color: var(--ink-2); }
.stack__bar { height: 22px; margin-top: 10px; border: 3px solid var(--ink); border-radius: 999px; background: #f1e2c2; overflow: hidden; }
.stack__bar span { display: block; height: 100%; width: 0; background: linear-gradient(var(--btn-a), var(--btn-b)); transition: width 0.25s; }
.stack__msg { min-height: 1.8em; margin: 10px 0 8px; font-weight: 900; color: var(--rose); }
@media (max-width: 700px) {
  .stack { grid-template-columns: 1fr; gap: 22px; padding: 22px; }
  .stack__pile { height: 260px; }
  .stack__info { text-align: center; }
  .stack__count { font-size: 60px; }
}

/* ---------------------------------------------------------------- defense */
.rules li { display: flex; gap: 16px; align-items: flex-start; }
.rules li + li { margin-top: 22px; }
.rules__n { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border: 3px solid var(--ink); border-radius: 50%; background: var(--zombie); color: var(--ink); font-family: var(--f-pop); font-size: 22px; box-shadow: 0 4px 0 #0c0818; }
.rules h3 { font-size: 19px; font-weight: 900; line-height: 1.5; }
.rules p { font-size: 15px; color: rgba(255, 255, 255, 0.76); }
.roster__title { margin: clamp(72px, 9vw, 110px) 0 28px; text-align: center; font-size: clamp(22px, 2.6vw, 28px); font-weight: 900; }
.roster { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.zcard { position: relative; padding: 16px 16px 22px; text-align: center; border: 2.5px solid rgba(255, 255, 255, 0.16); border-radius: 24px; background: rgba(255, 255, 255, 0.06); }
.zcard__art { display: grid; place-items: end center; height: 150px; margin-bottom: 12px; border-radius: 18px; background: radial-gradient(circle at 50% 75%, rgba(155, 224, 92, 0.28), transparent 62%); }
.zcard__art img { max-height: 140px; width: auto; filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.3)); transition: transform 0.25s; }
.zcard:hover .zcard__art img { transform: translateY(-6px) rotate(-3deg); }
.zcard--horde .zcard__art img { max-height: 110px; }
.zcard__stage { display: inline-block; padding: 2px 10px 3px; border-radius: 999px; background: var(--zombie); color: var(--ink); font-family: var(--f-pop); font-size: 13px; line-height: 1.4; letter-spacing: 0.03em; }
.zcard h4 { margin: 10px 0 4px; font-size: 19px; font-weight: 900; line-height: 1.4; }
.zcard p { font-size: 14px; line-height: 1.65; color: rgba(255, 255, 255, 0.76); }
.zcard--lucky { border-color: rgba(255, 210, 90, 0.7); background: radial-gradient(circle at 50% 0%, rgba(255, 204, 64, 0.22), rgba(255, 255, 255, 0.05) 70%); }
.zcard--lucky .zcard__art { background: radial-gradient(circle at 50% 70%, rgba(255, 210, 80, 0.45), transparent 62%); }
.zcard--lucky .zcard__stage { background: #ffd34d; }
@media (max-width: 1000px) { .roster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .zcard--lucky { grid-column: span 2; }
  .zcard { padding: 12px 12px 18px; }
  .zcard__art { height: 120px; }
  .zcard__art img { max-height: 112px; }
}

/* ---------------------------------------------------------------- away */
.away { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 80px); }
.report { margin: 0; }
.report__panel {
  position: relative; max-width: 420px; margin: 24px auto 0; padding: 46px 24px 24px;
  background: #fff8ea; color: var(--ink); border: 4px solid var(--ink); border-radius: 30px; box-shadow: 0 10px 0 var(--ink);
  transform: rotate(-1.5deg);
}
.report__ribbon {
  position: absolute; top: -26px; left: 50%; transform: translateX(-50%);
  padding: 8px 28px 9px; border: 3px solid var(--ink); border-radius: 14px;
  background: linear-gradient(var(--btn-a), var(--btn-b)); color: #fff; font-weight: 900; font-size: 20px; line-height: 1.3; white-space: nowrap;
  text-shadow: 0 2px 0 rgba(120, 50, 0, 0.35); box-shadow: 0 4px 0 var(--ink);
}
.report__time { text-align: center; font-weight: 900; font-size: 22px; }
.report__raids { margin-top: 8px; padding: 8px 12px; border-radius: 14px; background: #f1e2c2; text-align: center; font-weight: 800; font-size: 14px; line-height: 1.5; }
.report__rows { margin-top: 10px; }
.report__rows li { display: grid; grid-template-columns: 38px minmax(0, 1fr) 56px 56px; align-items: center; gap: 10px; padding: 9px 2px; border-bottom: 2px dashed #e5d3ae; }
.report__rows img { width: 36px; height: 36px; object-fit: contain; }
.report__name { font-weight: 900; font-size: 16px; line-height: 1.3; }
.report__name small { display: block; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.report__plus, .report__minus { text-align: right; font-family: var(--f-pop); font-size: 22px; line-height: 1; }
.report__plus { color: #3f9b2a; }
.report__minus { color: #d64545; }
.report__btns { display: grid; gap: 10px; margin-top: 18px; }
.report__btn { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 12px; border: 3px solid var(--ink); border-radius: 16px; background: #fff; font-weight: 900; line-height: 1.3; box-shadow: 0 4px 0 var(--ink); text-align: center; }
.report__btn--ad { background: linear-gradient(#7fd34f, var(--leaf-d)); color: #fff; text-shadow: 0 2px 0 rgba(0, 60, 0, 0.35); }
.report__cap { margin-top: 26px; text-align: center; font-size: 13px; color: rgba(255, 255, 255, 0.78); }

.floor__title { font-size: clamp(22px, 2.6vw, 30px); }
.floor > p { margin-top: 14px; color: rgba(255, 255, 255, 0.86); font-weight: 600; }
.floor__chart { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; padding: 0 6px; }
.floor__col p { height: 46px; margin-top: 10px; text-align: center; font-size: 13.5px; font-weight: 800; line-height: 1.4; color: rgba(255, 255, 255, 0.86); }
.floor__bar { display: flex; flex-direction: column; justify-content: flex-end; height: 210px; border-bottom: 3px solid rgba(255, 255, 255, 0.7); }
.floor__bar span { display: block; width: 72%; margin: 0 auto; border: 3px solid var(--ink); border-bottom: 0; transform-origin: 50% 100%; }
.floor__base { height: 92px; background: var(--sun); border-radius: 0; }
.floor__bar span:first-child { border-radius: 12px 12px 0 0; }
.floor__bar span + span { border-top: 0; }
.floor__gain { height: 74px; background: repeating-linear-gradient(-45deg, var(--zombie) 0 10px, #7cc24a 10px 20px); }
.floor__lost { position: relative; height: 74px; background: rgba(255, 255, 255, 0.06); border-style: dashed !important; border-color: rgba(255, 255, 255, 0.75) !important; }
.floor__lost em { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 900; font-size: 13px; color: #ffb3b3; }
.floor__lost em::before { content: "−"; margin-right: 2px; }
.floor__line { position: absolute; left: -6px; right: -6px; bottom: calc(56px + 92px + 3px); border-top: 3px dashed var(--amber); z-index: 1; }
.floor__line span { position: absolute; left: 6px; top: -30px; padding: 2px 10px 3px; border-radius: 999px; background: var(--amber); color: var(--ink); font-size: 12.5px; font-weight: 900; line-height: 1.4; white-space: nowrap; }
.js .floor .floor__bar span { transform: scaleY(0); transition: transform 0.6s cubic-bezier(0.2, 1.2, 0.4, 1); }
.js .floor.is-in .floor__bar span { transform: none; }
.js .floor.is-in .floor__col:nth-child(3) .floor__bar span { transition-delay: 0.25s; }
.js .floor.is-in .floor__col:nth-child(4) .floor__bar span { transition-delay: 0.5s; }
@media (max-width: 900px) { .away { grid-template-columns: 1fr; } .report__panel { transform: none; } }
@media (max-width: 400px) {
  .report__panel { padding: 44px 14px 18px; }
  .report__rows li { grid-template-columns: 32px minmax(0, 1fr) 48px 48px; gap: 6px; }
  .report__plus, .report__minus { font-size: 19px; }
  .report__ribbon { font-size: 17px; padding: 7px 18px 8px; }
}

/* ---------------------------------------------------------------- stages */
.carry { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 24px; }
.carry__label { margin-right: 4px; font-size: 14px; font-weight: 800; color: var(--ink-2); }
.carry__chip { padding: 3px 14px 4px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--leaf); color: #fff; font-weight: 900; font-size: 14px; line-height: 1.5; box-shadow: 0 3px 0 var(--ink); text-shadow: 0 1px 0 rgba(0, 60, 0, 0.35); }
.trip { position: relative; height: 96px; margin: -10px 0 18px; }
.trip::before { content: ""; position: absolute; left: 0; right: 0; bottom: 14px; border-top: 4px dashed rgba(42, 35, 32, 0.25); }
.trip__truck { position: absolute; bottom: 4px; left: 0; width: 150px; animation: drive 14s linear infinite; }
@keyframes drive { from { transform: translateX(-160px); } to { transform: translateX(calc(min(100vw, 1160px) + 20px)); } }
.stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.scard { position: relative; min-height: 300px; padding: 22px 22px 160px; overflow: hidden; background: var(--card); border: 3px solid var(--ink); border-radius: 26px; box-shadow: 0 7px 0 var(--ink); }
.scard--1 { background: #fff1d6; }
.scard--2 { background: #ffe2c6; }
.scard--3 { background: #eaf4d2; }
.scard--4 { background: #ffdcdc; }
.scard--5 { background: #e5f1c6; }
.scard--6 { background: #dfe6ec; }
.scard__num { display: inline-block; padding: 2px 12px 3px; border-radius: 999px; background: var(--ink); color: var(--sun); font-family: var(--f-pop); font-size: 14px; line-height: 1.4; letter-spacing: 0.04em; }
.scard h3 { margin-top: 10px; font-size: 24px; font-weight: 900; line-height: 1.35; }
.scard p { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.scard__art { position: absolute; right: 6px; bottom: 6px; height: 168px; width: auto; filter: drop-shadow(0 5px 0 rgba(42, 35, 32, 0.2)); transition: transform 0.25s; }
.scard--6 .scard__art { height: 196px; }
.scard:hover .scard__art { transform: translateY(-6px) rotate(-3deg); }
@media (max-width: 1000px) { .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .stages { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px; scrollbar-width: none; }
  .stages::-webkit-scrollbar { display: none; }
  .scard { flex: 0 0 78%; scroll-snap-align: center; }
}

/* ---------------------------------------------------------------- league */
.waves { position: absolute; inset: 0; pointer-events: none; background: repeating-radial-gradient(circle at 22% 46%, rgba(126, 224, 161, 0.1) 0 2px, transparent 2px 54px); -webkit-mask-image: radial-gradient(circle at 22% 46%, #000 0, transparent 70%); mask-image: radial-gradient(circle at 22% 46%, #000 0, transparent 70%); }
.league__shots { position: relative; padding: 0 12% 60px 0; }
.league__shots .phone--tilt-r { width: min(290px, 64vw); }
.phone--mini { position: absolute; right: 0; bottom: 0; width: min(180px, 40vw); border-radius: 32px; padding: 6px; transform: rotate(-6deg); }
.phone--mini::before { top: 12px; height: 13px; }
.phone--mini img { border-radius: 26px; }
.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.points li { padding: 16px 18px; border: 2px solid rgba(126, 224, 161, 0.3); border-radius: 20px; background: rgba(255, 255, 255, 0.05); }
.points h3 { font-size: 17px; font-weight: 900; line-height: 1.5; color: #a8f3c3; }
.points p { margin-top: 4px; font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, 0.8); }
.tiers { margin-top: 28px; }
.tiers__label { font-size: 14px; font-weight: 800; color: rgba(255, 255, 255, 0.72); }
.tiers__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; margin-top: 10px; }
.tier { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-weight: 800; font-size: 14px; line-height: 1.4; }
.tier + .tier::before { content: "›"; margin: 0 6px 0 -12px; padding-right: 8px; color: var(--mint); font-weight: 900; order: -1; display: none; }
.tier__medal { width: 28px; height: 28px; border-radius: 50%; border: 2.5px solid var(--ink); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18), inset 0 3px 0 rgba(255, 255, 255, 0.5); }
.tier--0 .tier__medal { background: linear-gradient(135deg, #f0b47e, #a8642f); }
.tier--1 .tier__medal { background: linear-gradient(135deg, #ffffff, #a9b2bd); }
.tier--2 .tier__medal { background: linear-gradient(135deg, #ffe27a, #e0a526); }
.tier--3 .tier__medal { background: linear-gradient(135deg, #f3feff, #8fd3e0 55%, #c7b8ff); }
@media (max-width: 900px) {
  .league__shots { order: 2; max-width: 420px; margin: 0 auto; width: 100%; }
}
@media (max-width: 560px) { .points { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- crew */
.crew {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x proximity; cursor: grab;
  padding: 14px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 30px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  scrollbar-width: thin; scrollbar-color: var(--ink-2) transparent;
}
.crew.is-drag { cursor: grabbing; scroll-snap-type: none; }
.crew.is-drag * { pointer-events: none; }
.acard { flex: 0 0 200px; scroll-snap-align: start; padding: 14px 14px 20px; text-align: center; background: var(--card); border: 3px solid var(--ink); border-radius: 26px; box-shadow: 0 7px 0 var(--ink); transition: transform 0.2s; user-select: none; }
.acard:hover { transform: translateY(-6px) rotate(-1deg); }
.acard__art { display: grid; place-items: end center; height: 196px; border-radius: 18px; background: radial-gradient(circle at 50% 80%, #ffe2a6, #fff4d6 70%); overflow: hidden; }
.acard__art img { height: 180px; width: auto; -webkit-user-drag: none; }
.acard__tag { display: inline-block; margin-top: 12px; padding: 2px 12px 3px; border: 2px solid var(--ink); border-radius: 999px; background: var(--leaf); color: #fff; font-size: 12px; font-weight: 900; line-height: 1.4; }
.acard--gem .acard__tag { background: var(--gem); }
.acard--gem .acard__art { background: radial-gradient(circle at 50% 80%, #ffc3e4, #fff0f8 70%); }
.acard--pack .acard__tag { background: var(--amber); color: var(--ink); }
.acard h3 { margin-top: 8px; font-size: 18px; font-weight: 900; line-height: 1.4; }
.acard p { margin-top: 2px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); font-weight: 700; }
@media (max-width: 480px) { .acard { flex-basis: 170px; } .acard__art { height: 170px; } .acard__art img { height: 156px; } }

/* ---------------------------------------------------------------- promise */
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pcard { padding: 26px 26px 28px; background: var(--card); border: 3px solid var(--ink); border-radius: 26px; box-shadow: 0 7px 0 var(--ink); }
.pcard__icon { display: grid; place-items: center; width: 58px; height: 58px; border: 3px solid var(--ink); border-radius: 18px; background: linear-gradient(var(--btn-a), var(--btn-b)); color: #fff; box-shadow: 0 4px 0 var(--ink); }
.pcard__icon svg { width: 32px; height: 32px; }
.pcard:nth-child(2) .pcard__icon { background: linear-gradient(#ff8fa3, var(--rose)); }
.pcard:nth-child(3) .pcard__icon { background: linear-gradient(#7fd34f, var(--leaf-d)); }
.pcard:nth-child(4) .pcard__icon { background: linear-gradient(#a978c9, var(--plum)); }
.pcard:nth-child(5) .pcard__icon { background: linear-gradient(#5fd0c8, #23877f); }
.pcard:nth-child(6) .pcard__icon { background: linear-gradient(#6aa7ff, #3456c8); }
.pcard h3 { margin-top: 16px; font-size: 20px; font-weight: 900; line-height: 1.45; }
.pcard p { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.invite { display: grid; grid-template-columns: 130px minmax(0, 1fr) 130px; align-items: end; gap: 20px; max-width: 900px; margin: 56px auto 0; padding: 0 28px; background: #e6f5d2; border: 3px solid var(--ink); border-radius: 30px; box-shadow: 0 8px 0 var(--ink); }
.invite__copy { padding: 26px 0; align-self: center; text-align: center; }
.invite__copy p { margin-top: 8px; color: var(--ink-2); font-size: 15px; font-weight: 600; }
.invite img { height: 170px; width: auto; justify-self: center; margin-top: -40px; }
.invite__b { transform: scaleX(-1); }
@media (max-width: 1000px) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .promises { grid-template-columns: 1fr; gap: 16px; }
  .pcard { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 16px; padding: 20px; }
  .pcard h3 { margin-top: 0; align-self: center; }
  .pcard p { grid-column: 1 / -1; }
  .invite { grid-template-columns: 90px minmax(0, 1fr); padding: 0 18px; gap: 12px; }
  .invite img { height: 130px; margin-top: -30px; }
  .invite__b { display: none; }
  .invite__copy { text-align: left; padding: 20px 0; }
}

/* ---------------------------------------------------------------- faq */
.faq__item { margin-bottom: 14px; background: var(--card); border: 3px solid var(--ink); border-radius: 20px; box-shadow: 0 5px 0 var(--ink); }
.faq__item summary { position: relative; display: block; padding: 18px 60px 18px 22px; font-weight: 900; font-size: 17px; line-height: 1.5; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { position: absolute; right: 18px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border: 2.5px solid var(--ink); border-radius: 50%; background: var(--amber); transition: transform 0.2s; }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 3px; margin: -1.5px 0 0 -6px; border-radius: 2px; background: var(--ink); }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i { transform: rotate(45deg); }
.faq__item p { padding: 0 22px 20px; color: var(--ink-2); font-size: 15.5px; }
.faq__more { margin-top: 30px; text-align: center; font-weight: 800; }
.faq__more a { color: var(--rose); text-underline-offset: 4px; }

/* ---------------------------------------------------------------- cta */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(100px, 12vw, 150px) 0 250px; color: #fff; text-align: center; }
.cta .hero__sky::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: #3a3240; border-top: 10px solid #5a3a4a; }
.hero__sun--cta { left: 50%; bottom: 40px; transform: translateX(-50%); width: clamp(260px, 34vw, 460px); }
.cta__in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.cta__icon { width: 150px; height: 150px; border-radius: 34px; border: 4px solid var(--ink); box-shadow: 0 10px 0 var(--ink); animation: float 3.4s ease-in-out infinite; }
.cta__title { margin-top: 30px; font-weight: 900; font-size: clamp(38px, 6vw, 76px); line-height: 1.15; color: var(--sun); -webkit-text-stroke: 0.12em var(--ink); paint-order: stroke fill; text-shadow: 0 0.07em 0 var(--ink); text-wrap: balance; }
:lang(en) .cta__title { font-family: var(--f-pop); font-weight: 400; }
.cta__text { margin-top: 18px; max-width: 560px; font-weight: 800; text-shadow: 0 2px 10px rgba(44, 34, 82, 0.5); }
.cta__crowd { position: absolute; left: 0; right: 0; bottom: 40px; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 3%; pointer-events: none; }
.cta__crowd img { height: 180px; width: auto; filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.2)); }
.cta__crowd img:nth-child(1) { animation: shamble 0.7s ease-in-out infinite alternate; }
.cta__crowd img:nth-child(2) { margin-right: auto; margin-left: 2%; height: 150px; animation: shamble 0.9s ease-in-out infinite alternate-reverse; }
.cta__crowd img:nth-child(3) { margin-left: auto; margin-right: 2%; height: 160px; transform: scaleX(-1); }
.cta__crowd img:nth-child(4) { transform: scaleX(-1); }
@media (max-width: 640px) {
  .cta { padding-bottom: 190px; }
  .cta__crowd img { height: 120px; }
  .cta__crowd img:nth-child(2), .cta__crowd img:nth-child(3) { height: 100px; }
  .cta__icon { width: 120px; height: 120px; border-radius: 28px; }
}

/* ---------------------------------------------------------------- footer */
.ft { background: #17121f; color: #cbbfd8; padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); }
.ft__in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.ft .logo { color: #fff; }
.ft__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.ft__nav a { color: #fff; font-weight: 800; font-size: 14px; text-decoration: none; }
.ft__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ft__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 13px; }
.ft__meta .langs { margin: 0 0 4px; }
.ft__meta .langs a { color: #fff; }
.ft__meta .langs a[aria-current] { color: var(--ink); }
@media (max-width: 900px) {
  .ft__in { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .ft__meta { align-items: center; }
}

/* ---------------------------------------------------------------- reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .phone--tilt-l.reveal.is-in { transform: rotate(-4deg); }
.js .report.reveal.is-in, .js .league__shots.reveal.is-in { transform: none; }

/* ---------------------------------------------------------------- 404 */
.nf { min-height: 100svh; display: grid; place-items: center; background: linear-gradient(180deg, #2c2252 0%, #6e3470 45%, #ff7d48 100%); color: #fff; text-align: center; padding: 24px; }
.nf__in { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.nf__z { width: 200px; animation: shamble 0.7s ease-in-out infinite alternate; }
.nf__code { font-family: var(--f-pop); font-size: 72px; line-height: 1; color: var(--zombie); -webkit-text-stroke: 8px var(--ink); paint-order: stroke fill; }
.nf__lang { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.nf__lang h1 { font-size: 26px; font-weight: 900; }
.nf__lang + .nf__lang { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.25); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .floor .floor__bar span { transform: none; }
}

/* ---------------------------------------------------------------- 表記のページ（特商法など。legal.html） */
.legal-page .hd { position: sticky; top: 0; }
.legal { padding: 48px 0 72px; }
.legal__title { font-size: clamp(24px, 4.2vw, 32px); font-weight: 900; line-height: 1.4; margin-bottom: 28px; }
.legal__table { margin: 0; background: var(--card); border: 3px solid var(--ink); border-radius: 20px; box-shadow: 0 5px 0 var(--ink); overflow: hidden; }
.legal__table > div { display: grid; grid-template-columns: 200px 1fr; }
.legal__table > div + div { border-top: 2px solid var(--cream); }
.legal__table dt { padding: 16px 20px; background: var(--cream); font-weight: 800; font-size: 15px; line-height: 1.6; }
.legal__table dd { margin: 0; padding: 16px 20px; font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.legal__table small { display: block; margin-top: 4px; color: var(--ink-2); font-size: 13px; }
.legal__table a { color: var(--rose); text-underline-offset: 3px; }
.legal__prices { width: 100%; margin: 10px 0 4px; border-collapse: collapse; font-size: 14px; }
.legal__prices th, .legal__prices td { padding: 8px 10px; border-bottom: 1px solid var(--cream); text-align: left; vertical-align: top; }
.legal__prices th { font-weight: 800; color: var(--ink-2); font-size: 13px; }
.legal__prices td:last-child, .legal__prices th:last-child { text-align: right; white-space: nowrap; }
.legal__note { margin-top: 24px; color: var(--ink-2); font-size: 14px; }
.legal__note a { color: var(--rose); text-underline-offset: 3px; }
.legal h2 { margin: 30px 0 12px; font-size: 22px; line-height: 1.5; }
.legal p + p { margin-top: 16px; }
.privacy-settings { border: 0; background: none; padding: 0; color: #fff; font: 800 14px var(--f-body); cursor: pointer; }
.privacy-settings:hover { text-decoration: underline; text-underline-offset: 4px; }
.cookie-choice { position: fixed; z-index: 100; left: 16px; right: 16px; bottom: 16px; max-width: 700px; margin: auto; padding: 20px; background: var(--card); color: var(--ink); border: 3px solid var(--ink); border-radius: 18px; box-shadow: 0 5px 0 var(--ink); font-size: 14px; }
.cookie-choice[hidden] { display: none; }
.cookie-choice p { line-height: 1.7; }
.cookie-choice a { color: var(--ink); text-underline-offset: 3px; margin-left: 8px; }
.cookie-choice > div { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.cookie-choice button { cursor: pointer; border: 2px solid var(--ink); border-radius: 10px; padding: 8px 18px; color: var(--ink); background: var(--cream); font: inherit; font-weight: 800; }
.cookie-choice button[data-choice="granted"] { background: var(--sun); }
@media (max-width: 640px) {
  .legal { padding: 32px 0 56px; }
  .legal__table > div { grid-template-columns: 1fr; }
  .legal__table dt { padding: 12px 16px 6px; }
  .legal__table dd { padding: 6px 16px 14px; }
  .legal__prices th:nth-child(2), .legal__prices td:nth-child(2) { display: none; }
}
