:root {
  --forest: #2b1019;
  --forest-deep: #16070c;
  --forest-soft: #3a1622;
  --plum: #4d0010;
  --moss: #65751a;
  --leaf: #9eaa4b;
  --leaf-bright: #5c6b18;
  --petal: #f693a7;
  --petal-light: #ffb9c7;
  --petal-pale: #ffced8;
  --flower: #fff3cf;
  --ivory: #fbf5ea;
  --ivory-ink: #5a4750;
  --moss-ink: #4c5814;

  --paper: #fdeef1;
  --paper-tint: #f8dfe4;
  --card: #ffffff;
  --card-warm: #fdf5f6;
  --surface-raised: #ffffff;

  --ink: #3a0c18;
  --ink-soft: #6b4b55;
  --petal-deep: #b81747;
  --petal-bright: #b81747;
  --moss-deep: #4c5814;
  --pink-fill: #bf1d4e;

  --line: rgba(77, 0, 16, 0.14);
  --line-strong: rgba(77, 0, 16, 0.26);
  --line-dark: rgba(77, 0, 16, 0.12);

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);

  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  --petal-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%23000'%3E%3Ccircle cx='12' cy='5.4' r='4.3'/%3E%3Ccircle cx='18.4' cy='10.1' r='4.3'/%3E%3Ccircle cx='15.9' cy='17.7' r='4.3'/%3E%3Ccircle cx='8.1' cy='17.7' r='4.3'/%3E%3Ccircle cx='5.6' cy='10.1' r='4.3'/%3E%3Ccircle cx='12' cy='12' r='3.6'/%3E%3C/g%3E%3C/svg%3E");
  --trail-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 20'%3E%3Cpath fill='%23000' d='M2 15c4 0 6-1.6 8.4-3.2C13 10 15 8.4 18.6 8.4c2.2 0 3.6 1 3.6 2.4 0 1.2-1 2-2.2 2-1 0-1.8-.6-1.8-1.4 0-.6.4-1 1-1 .4 0 .7.2.8.5.3-.1.5-.4.5-.8 0-.8-.9-1.5-2.2-1.5-2.5 0-4.2 1.3-6.7 3C9 13.4 6.6 15 2 15z'/%3E%3C/svg%3E");


  --container: 1240px;
  --nav-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-family: var(--font-display); font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--petal-light); color: var(--plum); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--pink-fill); color: #fff;
  padding: 12px 20px; border-radius: 0 0 12px 0;
  font-family: var(--font-display); font-weight: 700;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--petal-deep); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible,
.foot-card :focus-visible { outline-color: var(--leaf-bright); }
.foot-card2 :focus-visible { outline-color: var(--plum); }
.foot-rail :focus-visible { outline-color: var(--plum); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }
.container-wide { max-width: 1480px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }
.section { padding-block: clamp(72px, 9vw, 122px); }
.section-tight { padding-block: clamp(52px, 6vw, 84px); }

.eyebrow-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--petal-deep);
  margin: 0 0 16px;
}
.kicker::before {
  content: ""; width: 15px; height: 15px; flex: none;
  background: currentColor;
  -webkit-mask: var(--petal-mark) center / contain no-repeat;
  mask: var(--petal-mark) center / contain no-repeat;
}
.on-dark .kicker { color: var(--petal-deep); }
.kicker-moss { color: var(--petal-deep); }

h1 { font-size: clamp(46px, 7vw, 92px); letter-spacing: -0.032em; font-weight: 800; }
h2 { font-size: clamp(30px, 3.8vw, 46px); letter-spacing: -0.022em; }
h3 { font-size: clamp(19px, 2vw, 25px); letter-spacing: -0.012em; }
.moss { color: var(--petal-deep); }
.on-dark .moss { color: var(--petal-deep); }
.pink { color: var(--petal-deep); }
.on-dark .pink { color: var(--petal-deep); }

.lead { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--ink-soft); max-width: 62ch; }
.on-dark .lead { color: var(--ink-soft); }

.text-link {
  color: var(--petal-deep); font-weight: 700;
  text-decoration: underline; text-decoration-thickness: 2px;
  text-decoration-color: rgba(184, 23, 71, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.18s ease;
}
.text-link:hover { text-decoration-color: currentColor; }

.section-head { max-width: 720px; margin-bottom: clamp(34px, 4vw, 54px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }

.btn {
  --btn-bg: linear-gradient(180deg, #ffb9c7, #ef7793);
  --btn-bevel: #7d0d31;
  --btn-fg: var(--plum);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 0; border-radius: var(--radius-pill);
  box-shadow: 0 3px 0 var(--btn-bevel), 0 10px 22px -14px rgba(77, 0, 16, 0.7);
  text-decoration: none; cursor: pointer;
  transition: filter 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { filter: brightness(1.1); }
.btn:active { filter: brightness(0.94); }

.btn-pink {
  --btn-bg: linear-gradient(180deg, #ffb9c7, #ef7793);
  --btn-bevel: var(--plum);
  --btn-fg: var(--plum);
}
.btn-ghost {
  --btn-bg: linear-gradient(180deg, #65751a, #4c5814);
  --btn-fg: var(--flower);
  --btn-bevel: #2b3208;
  border: 0;
}
.btn-ghost:hover { filter: brightness(1.12); }
.btn-lg { padding: 17px 32px; font-size: 16.5px; }
.btn-block { width: 100%; }
.btn-icon { width: 18px; height: 18px; flex: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
@media (max-width: 560px) {
  .btn-row > .btn { flex: 1 1 100%; }
}

.site-nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 120;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding-top: 14px;
  background: transparent;
  --nav-fg: rgba(255, 243, 207, 0.86);
  --nav-fg-strong: #fff;
  --nav-current: #b8c96a;
}

.nav-bubble {
  display: flex; align-items: center; gap: clamp(10px, 1.4vw, 18px);
  padding: 7px clamp(12px, 1.4vw, 18px) 7px 10px;
  border-radius: var(--radius-pill);
  background: rgba(87, 19, 42, 0.92);
  border: 1px solid rgba(255, 217, 224, 0.16);
  -webkit-backdrop-filter: saturate(115%) blur(14px);
  backdrop-filter: saturate(115%) blur(14px);
  box-shadow: 0 10px 28px -18px rgba(0, 0, 0, 0.9);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
.site-nav.scrolled .nav-bubble,
body.solid-nav .nav-bubble {
  --nav-fg: rgba(255, 243, 207, 0.9);
  --nav-fg-strong: #fff;
  background: rgba(87, 19, 42, 0.97);
  box-shadow: 0 14px 34px -20px rgba(77, 0, 16, 0.85);
}

.site-nav.scrolled .nav-logo[aria-current="page"],
body.solid-nav .site-nav .nav-links a[aria-current="page"],
body.solid-nav .site-nav .nav-logo[aria-current="page"] { color: var(--nav-current); }
body.solid-nav .site-nav .nav-links a:hover { color: #ffb9c7; background: rgba(255, 185, 199, 0.14); }
body.solid-nav main { padding-top: calc(var(--nav-h) + 10px); }
body.solid-nav .wiki-shell { padding-top: calc(var(--nav-h) + clamp(20px, 3vw, 36px)); }

.nav-inner {
  width: 100%; max-width: 1420px; margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 40px);
  display: flex; align-items: center; gap: clamp(10px, 1.6vw, 22px);
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; flex: none;
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  color: var(--nav-fg); transition: color 0.25s ease;
}
.nav-logo:hover { color: var(--nav-fg-strong); }
.nav-logo img { width: 38px; height: 38px; }
.nav-logo[aria-current="page"] { color: var(--nav-current); }
.site-nav.scrolled .nav-logo[aria-current="page"] { color: var(--nav-current); }

.nav-links { display: flex; align-items: center; gap: clamp(2px, 0.7vw, 8px); list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 14.5px;
  color: var(--nav-fg); text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease;
}
.nav-links a .nav-ico { width: 16px; height: 16px; flex: none; }
.nav-links a:hover { color: var(--nav-fg-strong); background: rgba(255, 255, 255, 0.09); }
.site-nav.scrolled .nav-links a:hover { color: #ffb9c7; background: rgba(255, 185, 199, 0.14); }
.nav-links a[aria-current="page"] { color: var(--nav-current); }
.site-nav.scrolled .nav-links a[aria-current="page"] { color: var(--nav-current); }

.nav-pills { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: none; }
.nav-pill {
  display: inline-flex; align-items: center; gap: 9px;
  border: 2px solid var(--plum); border-radius: var(--radius-sm);
  cursor: pointer; text-decoration: none;
  font-family: var(--font-display); font-weight: 800; font-size: 12.5px;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 8px 14px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.28), inset 0 -2px 0 rgba(0, 0, 0, 0.18), 0 3px 0 var(--plum);
  transition: filter 0.2s ease, transform 0.2s var(--ease-soft), box-shadow 0.2s var(--ease-soft);
}
.nav-pill:hover { filter: brightness(1.1); }
.nav-pill:active { filter: brightness(0.94); }
.nav-pill svg { width: 15px; height: 15px; flex: none; }
.pill-ip { background: linear-gradient(180deg, #ffb9c7, #ef7793); color: var(--plum); }
.pill-discord {
  background: linear-gradient(180deg, #65751a, #4c5814);
  color: var(--flower); border-color: #2b3208;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.18), inset 0 -2px 0 rgba(0, 0, 0, 0.25), 0 3px 0 #2b3208;
}


.pill-discord svg { color: #dbe89a; width: 17px; height: 17px; }
.count-chip {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  border-radius: 999px; padding: 2px 8px;
  background: rgba(77, 0, 16, 0.2); color: inherit;
  font-variant-numeric: tabular-nums;
}
.pill-discord .count-chip { background: #9eaa4b; color: #22300f; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px;
  width: 46px; height: 46px; margin-left: auto; position: relative; z-index: 140;
  color: var(--nav-fg-strong);
}
.nav-toggle span {
  display: block; width: 24px; height: 2.5px; background: currentColor;
  margin: 5px auto; border-radius: 2px;
  transition: transform 0.4s var(--ease-soft), opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] { color: var(--ink); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav-pills { display: none; }
  .nav-bubble { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(87, 19, 42, 0.97); }
  .nav-links {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100dvh; z-index: 130;
    flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 4px;
    padding: calc(var(--nav-h) + 18px) clamp(18px, 6vw, 40px) 36px;
    background: var(--paper);
    overflow-y: auto;
    opacity: 0; pointer-events: none;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }
  .nav-links a { font-size: 26px; color: var(--ink); padding: 12px; }
  .nav-links a .nav-ico { width: 22px; height: 22px; }
  .nav-links a[aria-current="page"] { color: var(--petal-deep); }
  .nav-links.open { opacity: 1; pointer-events: auto; visibility: visible; }
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 24px) 0 92px;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }

.trailer-card {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 12px 22px 12px 12px;
  text-align: left; color: var(--flower);
  transition: transform 0.2s var(--ease-soft), box-shadow 0.2s var(--ease-soft), filter 0.2s ease;
}
.trailer-card:hover { filter: brightness(1.08); }
.trailer-card:active { filter: brightness(0.95); }

.trailer-thumb { position: relative; flex: none; width: 148px; overflow: hidden; display: block; border: 2px solid #170812; }
.trailer-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.trailer-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(43, 50, 8, 0.32);
  transition: background-color 0.24s var(--ease-soft);
}
.trailer-card:hover .trailer-play { background: rgba(43, 50, 8, 0.14); }
.trailer-play svg {
  width: 20px; height: 20px; color: var(--plum);
  padding: 9px 8px 9px 11px; box-sizing: content-box;
  background: var(--petal-light); border-radius: 999px;
  box-shadow: 0 3px 0 var(--petal-deep);
  transition: transform 0.24s var(--ease-soft);
}


.trailer-meta { display: grid; gap: 3px; }
.trailer-kicker {
  font-family: var(--font-display); font-weight: 800; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--petal-deep);
}
.trailer-title { font-family: var(--font-body); font-size: 14.5px; color: var(--ink-soft); }

@media (max-width: 560px) {
  .trailer-card { width: 100%; padding: 10px 16px 10px 10px; gap: 13px; }
  .trailer-thumb { width: 108px; }
  .trailer-title { font-size: 13.5px; }
}

.trailer-modal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(25, 30, 5, 0.86);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.trailer-dialog { position: relative; width: min(1100px, 100%); }
.trailer-frame {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  border-radius: 16px; overflow: hidden;
  background: #000; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.trailer-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trailer-close {
  position: absolute; right: 0; top: -52px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border: 0; border-radius: 10px;
  background: var(--pink-fill); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 13.5px;
  box-shadow: 0 3px 0 #7d0d31;
}
.trailer-close:hover { filter: brightness(1.1); }
.trailer-close svg { width: 15px; height: 15px; }
@media (max-width: 640px) { .trailer-close { top: auto; bottom: -52px; right: 50%; transform: translateX(50%); } }
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(128% 100% at 50% 38%, transparent 44%, rgba(31, 10, 17, 0.5) 100%),
    linear-gradient(180deg, rgba(31, 10, 17, 0.3) 0%, rgba(31, 10, 17, 0.04) 26%, rgba(31, 10, 17, 0.06) 58%, rgba(253, 238, 241, 0.28) 84%, var(--paper) 99%);
}
.hero-petals { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

.hero-stage {
  position: relative; z-index: 2;
  width: 100%; max-width: 1220px; margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: clamp(16px, 3vw, 44px);
}
.hero-logo { justify-self: center; }
.hero-logo img {
  width: min(430px, 60vw); height: auto;
  filter: drop-shadow(0 30px 62px rgba(43, 50, 8, 0.5));
  animation: logo-bob 6s ease-in-out infinite;
}

.hero-vote {
  box-shadow: 0 3px 0 var(--btn-bevel), 0 16px 34px -12px rgba(0, 0, 0, 0.8);
  font-size: 17.5px;
}

.hero-center {
  justify-self: center;
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(20px, 3vw, 34px);
}
.hero-center .hero-logo img {
  width: min(380px, 56vw);
  filter: drop-shadow(0 10px 26px rgba(25, 30, 5, 0.7)) drop-shadow(0 32px 58px rgba(25, 30, 5, 0.45));
}
@media (max-width: 940px) {
  .hero-center { order: -1; width: 100%; }
  .hero-center .hero-logo img { width: min(320px, 70vw); }
}
@keyframes logo-bob {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.02); }
}

.mc-panel {
  position: relative;
  background: linear-gradient(180deg, #ffffff, #fff7f8);
  border: 3px solid rgba(77, 0, 16, 0.16);
  border-radius: var(--radius);
  box-shadow:
    inset 0 2px 0 #ffffff,
    0 5px 0 rgba(77, 0, 16, 0.13),
    0 26px 48px -32px rgba(77, 0, 16, 0.45);
}


.hero-side {
  align-content: start;
  min-width: 258px;
  padding: 0; overflow: hidden;
  text-align: left;
}
.hs-head {
  margin: 0; padding: 10px 16px;
  background: linear-gradient(180deg, #ffb9c7, #ef7793);
  color: var(--plum);
  font-family: var(--font-display); font-weight: 800; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase;
  border-bottom: 3px solid var(--petal-deep);
}
.hs-body { display: grid; gap: 16px; padding: 16px 22px 18px; }
.hs-body-split { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 22px; }
.hs-stack { display: grid; gap: 16px; min-width: 0; }
.hs-discord {
  display: grid; place-items: center; flex: none;
  color: var(--petal-deep);
  transition: color 0.2s var(--ease-soft), transform 0.2s var(--ease-soft);
}
.hs-discord:hover { color: var(--pink-fill); transform: scale(1.06); }
.hs-discord svg { width: 46px; height: auto; display: block; }

.box-left { justify-self: end; }
.box-right { justify-self: start; }
.hs-row { display: grid; gap: 4px; padding: 0; background: none; border: 0; text-align: left; color: inherit; width: 100%; }
.hs-label {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft);
}
.hs-label::before {
  content: ""; width: 11px; height: 11px; flex: none;
  background: var(--petal-deep);
  -webkit-mask: var(--petal-mark) center / contain no-repeat;
  mask: var(--petal-mark) center / contain no-repeat;
}
.hs-value {
  font-family: var(--font-mono); font-weight: 700; font-size: 15px;
  color: var(--plum); line-height: 1.3;
  display: inline-flex; align-items: center; gap: 8px;
  font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
}
.hs-value.num { font-family: var(--font-display); font-weight: 800; font-size: 27px; line-height: 1.05; color: var(--moss-deep); }
.hs-value svg { width: 13px; height: 13px; color: var(--ink-soft); flex: none; }
.hs-copy { cursor: pointer; font: inherit; transition: filter 0.18s ease; }
.hs-copy:hover { filter: brightness(1.16); }
.hs-copy:hover .hs-value svg { color: var(--petal-deep); }
.hs-copy.copied .hs-value { color: var(--moss-deep); }

.hero-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-decoration: none; color: var(--plum);
  font-family: var(--font-display);
  font-size: 12px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(253, 238, 241, 0.9);
  transition: color 0.25s ease;
}
.hero-cue:hover { color: var(--petal-deep); }
.hero-cue svg { width: 16px; height: 16px; animation: cue-bob 2.2s ease-in-out infinite; }
@keyframes cue-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@media (max-width: 940px) {
  .hero { min-height: auto; padding: calc(var(--nav-h) + 40px) 0 84px; }
  .hero-stage { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 22px; }
  .hero-logo { order: -1; }
  .hero-logo img { width: min(340px, 74vw); }
  .hero-side { width: min(420px, 100%); min-width: 0; justify-self: center; }
  .box-left, .box-right { justify-self: center; }
}

.hero-page { min-height: min(56vh, 460px); padding: calc(var(--nav-h) + 46px) 0 56px; }
.hero-page .hero-veil {
  background:
    radial-gradient(120% 110% at 50% 30%, rgba(31, 10, 17, 0.28) 30%, rgba(31, 10, 17, 0.7) 100%),
    linear-gradient(180deg, rgba(31, 10, 17, 0.62) 0%, rgba(31, 10, 17, 0.5) 40%, rgba(31, 10, 17, 0.3) 78%, var(--paper) 100%);
}
.hero-page-inner { position: relative; z-index: 2; text-align: center; max-width: 860px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }
.hero-page-inner h1 { font-size: clamp(34px, 5.4vw, 68px); color: var(--flower); text-shadow: 0 4px 24px rgba(31, 10, 17, 0.85), 0 1px 3px rgba(31, 10, 17, 0.6); margin-bottom: 14px; }
.hero-page-inner .lead { color: rgba(255, 243, 207, 0.95); margin-inline: auto; text-shadow: 0 2px 14px rgba(31, 10, 17, 0.9), 0 1px 3px rgba(31, 10, 17, 0.6); }
.hero-page-inner .kicker { color: var(--petal-light); justify-content: center; }
.hero-page-inner .moss { color: var(--petal); }
.hero-page-inner .btn-ghost,
.hero-stage .btn-ghost {
  box-shadow: 0 3px 0 var(--btn-bevel), 0 14px 30px -12px rgba(0, 0, 0, 0.75);
}

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  color: var(--ink-soft);
}
.chip b { color: var(--ink); font-variant-numeric: tabular-nums; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); flex: none; }
.chip.is-off .dot { background: var(--ink-soft); }

.address-band { position: relative; padding-block: clamp(54px, 7vw, 92px); overflow: hidden; }
.address-band .band-photo { position: absolute; inset: 0; }
.address-band .band-photo img { width: 100%; height: 100%; object-fit: cover; }
.address-band .band-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43, 50, 8, 0.62), rgba(43, 50, 8, 0.42) 40%, rgba(43, 50, 8, 0.74));
}
.address-band > .container { position: relative; }

.seam { position: relative; height: 10px; display: block; }
.seam::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--petal) 0 50%, var(--leaf) 50% 100%);
}
.seam-top { position: absolute; top: 0; left: 0; right: 0; }
.seam-bottom { position: absolute; bottom: 0; left: 0; right: 0; }

.addr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 16px; }
.addr-card {
  background: linear-gradient(180deg, #ffb9c7, #ef7793);
  border: 2px solid var(--plum);
  border-radius: var(--radius-pill);
  padding: 16px 38px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 0 rgba(0, 0, 0, 0.14), 0 3px 0 var(--plum);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left;
  width: 100%;
  transition: filter 0.2s ease;
}
.addr-card:hover { filter: brightness(1.06); }
.addr-card:active { filter: brightness(0.95); }
.addr-label { font-family: var(--font-display); font-size: 11.5px; font-weight: 700; letter-spacing: 0.19em; text-transform: uppercase; color: var(--plum); display: block; margin-bottom: 4px; }
.addr-value { font-family: var(--font-mono); font-weight: 500; font-size: clamp(13.5px, 1.5vw, 17px); color: var(--plum); white-space: nowrap; }
.addr-copy { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--plum); display: inline-flex; align-items: center; gap: 7px; flex: none; }
.addr-copy svg { width: 16px; height: 16px; }
.addr-card.copied .addr-copy { color: #2b3208; }

.card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 3px 0 var(--card-warm);
  transition: transform 0.42s var(--ease-out), box-shadow 0.42s var(--ease-out), border-color 0.42s var(--ease-out);
}
.card:hover { border-color: var(--petal); box-shadow: 0 3px 0 var(--card-warm), 0 0 0 1px rgba(255, 185, 199, 0.22) inset; }
.card h3, .card .h3-like { color: var(--petal-deep); }

#things-to-do {
  position: relative; isolation: isolate;
  background-image: url("../assets/img/shot-cherry.webp");
  background-size: cover; background-position: center 40%;
  background-attachment: fixed;
}
@media (max-width: 900px), (hover: none) {
  #things-to-do {
    background-image: url("../assets/img/shot-cherry-900.webp");
    background-attachment: scroll;
    background-position: center top;
  }
}
#things-to-do::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg,
      var(--paper) 0%,
      rgba(253, 238, 241, 0.9) 12%,
      rgba(253, 238, 241, 0.78) 26%,
      rgba(253, 238, 241, 0.6) 48%,
      rgba(253, 238, 241, 0.72) 78%,
      var(--paper) 100%);
}

.todo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .todo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .todo-grid { grid-template-columns: 1fr; } }

.todo-card {
  display: flex; flex-direction: column; overflow: hidden;
  text-decoration: none;
  background: var(--ivory);
  border-color: rgba(77, 0, 16, 0.14);
  box-shadow: 0 3px 0 rgba(77, 0, 16, 0.22), 0 24px 44px -28px rgba(0, 0, 0, 0.75);
  color: var(--ivory-ink);
}
.todo-card h3 { color: var(--plum); }
.todo-card .todo-body p { color: var(--ivory-ink); }
.todo-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: rgba(77, 0, 16, 0.1); }
.todo-media img { width: 100%; height: 100%; object-fit: cover; }

.todo-num {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  min-width: 34px; height: 34px; padding: 0 9px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--plum); color: var(--ivory);
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.35);
}
.todo-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.todo-body h3 { margin-bottom: 9px; }
.todo-body p { color: var(--ink-soft); font-size: 15.4px; margin-bottom: 16px; }
.todo-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 13.5px;
  color: var(--pink-fill);
}
.todo-link svg { width: 15px; height: 15px; }

.todo-cmd {
  display: inline-block; margin-bottom: 12px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500;
  color: var(--moss-ink); background: rgba(76, 88, 20, 0.14);
  padding: 3px 9px; border-radius: var(--radius-pill);
}

.todo-media--art {
  background: linear-gradient(150deg, rgba(246, 147, 167, 0.3) 0%, rgba(255, 243, 207, 0.55) 55%, rgba(158, 170, 75, 0.34) 100%);
  display: grid; place-items: center;
}
.todo-media--art img { width: auto; max-width: 68%; max-height: 76%; object-fit: contain; }


.mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 12px; }
.mini-tile {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-radius: var(--radius-pill);
  background: linear-gradient(180deg, #ffb9c7, #ef7793);
  border: 2px solid var(--plum);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 0 rgba(0, 0, 0, 0.14), 0 3px 0 var(--plum);
  font-family: var(--font-display); font-weight: 700; font-size: 14.5px;
  text-decoration: none; color: var(--plum);
  transition: filter 0.2s ease;
}
.mini-tile::before {
  content: ""; width: 13px; height: 13px; flex: none;
  background: var(--plum);
  -webkit-mask: var(--petal-mark) center / contain no-repeat;
  mask: var(--petal-mark) center / contain no-repeat;
}
.mini-tile:hover { filter: brightness(1.07); }

.split { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.split.reverse > *:first-child { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: minmax(0, 1fr); } .split.reverse > *:first-child { order: 0; } }

.frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 6px solid var(--card);
  box-shadow: 0 4px 0 var(--card-warm), 0 30px 56px -36px rgba(46, 21, 32, 0.5);
}
.frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.frame-seam::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: linear-gradient(90deg, var(--petal) 0 50%, var(--leaf) 50% 100%); }

.feature-rows { display: grid; gap: clamp(52px, 7vw, 104px); }
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}
.feature-row:nth-child(even) .feature-media { order: 2; }

.feature-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 4px 0 var(--card-warm), 0 34px 60px -38px rgba(0, 0, 0, 0.85);
}
.feature-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.feature-media--art {
  border: 0; box-shadow: none; background: none; overflow: visible;
  display: grid; place-items: center;
}
.feature-media--art img {
  width: min(400px, 82%); height: auto;
  aspect-ratio: auto; object-fit: contain;
  filter: drop-shadow(0 22px 44px rgba(0, 0, 0, 0.55));
}

.feature-body h3 {
  font-size: clamp(24px, 3.1vw, 38px);
  letter-spacing: -0.022em; line-height: 1.12;
  color: var(--petal-deep); margin-bottom: 20px;
}
.feature-body .petal-list { gap: 14px; }
.feature-body .petal-list li { font-size: 16.5px; }
.feature-body .petal-list b { color: var(--ink); }

@media (max-width: 880px) {
  .feature-row { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .feature-row:nth-child(even) .feature-media { order: 0; }
}

.home-store-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.home-store-card {
  position: relative; display: flex; flex-direction: column;
  overflow: hidden; text-decoration: none; color: inherit;
  transition: filter 0.18s ease, border-color 0.18s ease;
}
.home-store-card:hover { filter: brightness(1.07); }
.home-store-badge {
  border-radius: var(--radius-pill);
  position: absolute; left: 12px; top: 12px; z-index: 2;
  padding: 5px 10px;
  background: var(--petal-light); color: var(--plum);
  border: 2px solid #170812;
  font-family: var(--font-display); font-weight: 800; font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.home-store-art {
  aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 20px;
  background: linear-gradient(150deg, rgba(246, 147, 167, 0.2), rgba(158, 170, 75, 0.16));
}
.home-store-art img { width: auto; max-width: 76%; max-height: 76%; object-fit: contain; }
.home-store-body { padding: 14px 16px 16px; display: grid; gap: 5px; }
.home-store-body strong { font-family: var(--font-display); font-size: 16.5px; color: var(--petal-deep); }
.home-store-price { font-family: var(--font-mono); font-weight: 700; font-size: 17px; color: var(--leaf-bright); font-variant-numeric: tabular-nums; }

.home-store-ladder { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ladder-mascot { width: 54px; height: auto; flex: none; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4)); }
.home-store-ladder-label {
  font-family: var(--font-display); font-weight: 700; font-size: 11.5px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft);
}
.rank-ladder { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.rank-chip {
  border-radius: var(--radius-pill); padding: 9px 15px;
  background: var(--card-warm); color: var(--ink);
  border: 2px solid #170812;
  font-family: var(--font-display); font-weight: 800; font-size: 12.5px;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  transition: filter 0.18s ease, color 0.18s ease;
}
.rank-chip:hover { filter: brightness(1.15); color: var(--petal-deep); }
.rank-chip.is-top { background: linear-gradient(180deg, #ffb9c7, #ef7793); color: var(--plum); }
.rank-arrow { color: var(--ink-soft); font-size: 14px; }

.petal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.petal-list li { position: relative; padding-left: 27px; color: var(--ink-soft); }
.petal-list li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 14px; height: 14px; background: var(--petal);
  -webkit-mask: var(--petal-mark) center / contain no-repeat;
  mask: var(--petal-mark) center / contain no-repeat;
}
.petal-list.moss li::before { background: var(--leaf); }
.on-dark .petal-list li { color: var(--ink-soft); }

.on-dark { color: var(--ink); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--ink); }
.panel-forest { position: relative; background: none; }
.panel-forest > * { position: relative; }

.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.stat {
  background: rgba(43, 50, 8, 0.55);
  padding: 24px 22px; text-align: center;
}
.stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3vw, 36px); color: var(--leaf-bright); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.stat span { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 243, 207, 0.66); }

.vote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.vote-card {
  display: flex; flex-direction: column; gap: 14px; padding: 22px;
  text-decoration: none; color: inherit;
  background: linear-gradient(180deg, #65751a, #4c5814);
  border-color: #2b3208;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.16), 0 3px 0 #2b3208;
}
.vote-card:hover {
  border-color: var(--petal);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.16), 0 3px 0 #2b3208;
}
.vote-card .vote-n { font-family: var(--font-display); font-weight: 800; font-size: 13px; color: var(--flower); letter-spacing: 0.14em; }
.vote-card h3 { font-size: 19px; word-break: break-word; color: var(--flower); }
.vote-card .btn { margin-top: auto; }

.ladder {
  --ladder-gap: clamp(22px, 2.4vw, 32px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ladder-gap);
}
.rung {
  position: relative;
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #65751a, #4c5814);
  border: 2px solid #2b3208;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.16), 0 3px 0 #2b3208;
  color: var(--flower);
}
.rung b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: 0.02em; }
.rung span { font-size: 13px; font-variant-numeric: tabular-nums; }
.rung.is-key {
  background: linear-gradient(180deg, #ffb9c7, #ef7793);
  border-color: var(--plum);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.28), 0 3px 0 var(--plum);
  color: var(--plum);
}

.rung .rung-flag {
  display: inline-block; margin-bottom: 9px;
  padding: 3px 10px; border-radius: var(--radius-pill);
  background: var(--flower); color: #2b3208;
  font-family: var(--font-display); font-weight: 800; font-size: 9.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  font-variant-numeric: normal;
}
.rung.is-final .rung-flag { background: var(--petal-light); color: var(--plum); }

.rung::after {
  content: ""; position: absolute; z-index: 1;
  width: 10px; height: 10px;
  border-top: 3px solid var(--petal-deep);
  border-right: 3px solid var(--petal-deep);
  border-radius: 2px;
  left: 50%; top: 100%;
  margin: calc(var(--ladder-gap) / 2) 0 0;
  transform: translate(-50%, -50%) rotate(135deg);
}
.rung:last-child::after { content: none; }

@media (min-width: 600px) {
  .ladder { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rung:nth-child(1) { grid-area: 1 / 1; }
  .rung:nth-child(2) { grid-area: 1 / 2; }
  .rung:nth-child(3) { grid-area: 1 / 3; }
  .rung:nth-child(4) { grid-area: 2 / 3; }
  .rung:nth-child(5) { grid-area: 2 / 2; }
  .rung:nth-child(6) { grid-area: 2 / 1; }
  .rung:nth-child(7) { grid-area: 3 / 1; }
  .rung:nth-child(8) { grid-area: 3 / 2; }
  .rung:nth-child(9) { grid-area: 3 / 3; }
  .rung:nth-child(10) { grid-area: 4 / 3; }
  .rung:nth-child(11) { grid-area: 4 / 2; }
  .rung:nth-child(12) { grid-area: 4 / 1; }

  .rung:nth-child(1)::after, .rung:nth-child(2)::after,
  .rung:nth-child(7)::after, .rung:nth-child(8)::after {
    left: 100%; right: auto; top: 50%;
    margin: 0 0 0 calc(var(--ladder-gap) / 2);
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .rung:nth-child(4)::after, .rung:nth-child(5)::after,
  .rung:nth-child(10)::after, .rung:nth-child(11)::after {
    left: auto; right: 100%; top: 50%;
    margin: 0 calc(var(--ladder-gap) / 2) 0 0;
    transform: translate(50%, -50%) rotate(-135deg);
  }
  .rung:nth-child(3)::after, .rung:nth-child(6)::after, .rung:nth-child(9)::after {
    left: 50%; right: auto; top: 100%;
    margin: calc(var(--ladder-gap) / 2) 0 0;
    transform: translate(-50%, -50%) rotate(135deg);
  }
}

@media (min-width: 1024px) {
  .ladder { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .rung:nth-child(1) { grid-area: 1 / 1; }
  .rung:nth-child(2) { grid-area: 1 / 2; }
  .rung:nth-child(3) { grid-area: 1 / 3; }
  .rung:nth-child(4) { grid-area: 1 / 4; }
  .rung:nth-child(5) { grid-area: 1 / 5; }
  .rung:nth-child(6) { grid-area: 1 / 6; }
  .rung:nth-child(7) { grid-area: 2 / 6; }
  .rung:nth-child(8) { grid-area: 2 / 5; }
  .rung:nth-child(9) { grid-area: 2 / 4; }
  .rung:nth-child(10) { grid-area: 2 / 3; }
  .rung:nth-child(11) { grid-area: 2 / 2; }
  .rung:nth-child(12) { grid-area: 2 / 1; }

  .rung:nth-child(-n+5)::after {
    left: 100%; right: auto; top: 50%;
    margin: 0 0 0 calc(var(--ladder-gap) / 2);
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .rung:nth-child(6)::after {
    left: 50%; right: auto; top: 100%;
    margin: calc(var(--ladder-gap) / 2) 0 0;
    transform: translate(-50%, -50%) rotate(135deg);
  }
  .rung:nth-child(n+7):nth-child(-n+11)::after {
    left: auto; right: 100%; top: 50%;
    margin: 0 calc(var(--ladder-gap) / 2) 0 0;
    transform: translate(50%, -50%) rotate(-135deg);
  }
}

.rank-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.rank-card { padding: 24px 22px; display: flex; flex-direction: column; gap: 14px; }
.rank-card header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rank-card h3 { letter-spacing: 0.05em; text-transform: uppercase; }
.rank-tier { font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); }
.rank-stats { display: flex; gap: 18px; padding: 12px 0; border-block: 1px solid var(--line); }
.rank-stats div { font-size: 13px; color: var(--ink-soft); }
.rank-stats b { display: block; font-family: var(--font-display); font-size: 18px; color: var(--ink); font-variant-numeric: tabular-nums; }

.rules-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .rules-layout { grid-template-columns: minmax(0, 1fr); } }
.rules-toc { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 3px; }
@media (max-width: 900px) { .rules-toc { position: static; display: flex; flex-wrap: wrap; gap: 8px; } }
.rules-toc a {
  padding: 8px 12px; border-radius: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  color: var(--ink-soft); text-decoration: none;
  transition: color 0.2s var(--ease-soft), background-color 0.2s var(--ease-soft);
}
.rules-toc a:hover, .rules-toc a.active { color: var(--petal-deep); background: rgba(255, 185, 199, 0.14); }

.rule-group { margin-bottom: clamp(38px, 5vw, 60px); scroll-margin-top: calc(var(--nav-h) + 24px); }
.rule-group > h2 { margin-bottom: 20px; }
.rule {
  display: grid; grid-template-columns: 46px 1fr; gap: 16px;
  padding: 18px 0; border-top: 1px solid var(--line);
}
.rule:last-child { border-bottom: 1px solid var(--line); }
.rule-n {
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  color: var(--petal-deep); font-variant-numeric: tabular-nums;
  padding-top: 2px;
}
.rule-group .petal-list + p { margin-top: 14px; }
.rule-group > h3 { font-size: 21px; margin: 22px 0 10px; }
.rule h3 { font-size: 17.5px; margin-bottom: 6px; }
.rule p { color: var(--ink-soft); font-size: 15.4px; margin-bottom: 0; }
.rule p + p { margin-top: 8px; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 380px; }
table.data th, table.data td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.data th { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--moss-deep); background: var(--card-warm); }
table.data tr:last-child td { border-bottom: 0; }
table.data td:last-child { font-variant-numeric: tabular-nums; }

.note {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--radius);
  background: var(--card-warm); border: 1px solid var(--line);
}
.note::before {
  content: ""; width: 18px; height: 18px; flex: none; margin-top: 2px;
  background: var(--petal);
  -webkit-mask: var(--petal-mark) center / contain no-repeat;
  mask: var(--petal-mark) center / contain no-repeat;
}
.note p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.note-body { min-width: 0; display: grid; gap: 10px; }
.note .petal-list { gap: 7px; }
.note .petal-list li { padding-left: 22px; font-size: 15px; }
.note .petal-list li::before { width: 11px; height: 11px; top: 0.4em; }
.on-dark .note { background: rgba(77, 0, 16, 0.05); border-color: var(--line); }
.on-dark .note::before { background: var(--petal-bright); }
.on-dark .note p { color: var(--ink-soft); }

.site-footer-card { padding-block: clamp(40px, 6vw, 72px) 0; }
.foot-card2 {
  position: relative;
  border: 2px solid var(--plum); border-radius: 8px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.2), 0 4px 0 var(--plum);
}
.fc-logo {
  position: absolute; left: 26px; bottom: 14px; z-index: 2;
  width: 182px; height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5));
}
.fc-top {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(180deg, #ffc4d0, #f693a7);
  border-radius: 5px 5px 0 0;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.22);
  padding: 16px 22px 16px 236px;
}
.fc-spacer { margin-left: auto; }
.fc-block {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(180deg, #65751a, #4c5814);
  color: var(--flower);
  border: 2px solid #2b3208; border-radius: var(--radius-sm);
  font-family: var(--font-mono); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 9px 14px; text-decoration: none; cursor: pointer;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.14), 0 3px 0 #2b3208;
  transition: filter 0.2s ease, transform 0.2s var(--ease-soft), box-shadow 0.2s var(--ease-soft);
  font-variant-numeric: tabular-nums;
}
.fc-block:hover { filter: brightness(1.16); }
.fc-block:active { filter: brightness(0.94); }
.fc-block svg { width: 17px; height: 17px; flex: none; }
.fc-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: linear-gradient(180deg, #f693a7, #ef7793);
  border-radius: 0 0 5px 5px;
  padding: 18px 26px 20px 236px;
}
.fc-legal { line-height: 1.5; }
.fc-legal strong { display: block; font-size: 14.5px; color: var(--plum); }
.fc-legal span { font-size: 13px; color: rgba(77, 0, 16, 0.72); }
.fc-sign {
  font-family: "Mr Dafoe", cursive;
  font-size: 38px; line-height: 1;
  color: rgba(77, 0, 16, 0.78);
  text-decoration: none; flex: none;
  transform: rotate(-7deg);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: color 0.25s ease, transform 0.3s var(--ease-soft);
}
.fc-sign:hover { color: var(--plum); }
@media (max-width: 820px) {
  .fc-logo { position: static; display: block; width: 150px; margin: -62px auto 0; }
  .foot-card2 { margin-top: 62px; }
  .fc-top { padding: 14px 16px; flex-wrap: wrap; }
  .fc-bottom { padding: 16px 18px; flex-direction: column; align-items: flex-start; gap: 12px; }
}

.page-footer { border-top: 1px solid var(--line); margin-top: clamp(46px, 6vw, 76px); }
.footer-grid {
  display: grid; grid-template-columns: 1.55fr 0.65fr 0.95fr 0.85fr; gap: clamp(24px, 3.4vw, 56px);
  padding-block: clamp(52px, 6vw, 78px) 34px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h3 {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--petal-deep); margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
}
.footer-grid h3::before {
  content: ""; width: 13px; height: 13px; background: var(--flower); flex: none;
  -webkit-mask: var(--petal-mark) center / contain no-repeat;
  mask: var(--petal-mark) center / contain no-repeat;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--ink-soft); text-decoration: none; font-size: 15px; }
.footer-grid a:hover { color: var(--petal-deep); }
.footer-brand > img:first-of-type { width: 210px; margin-bottom: 14px; }
.footer-brand p { color: var(--ink-soft); font-size: 15px; max-width: 36ch; margin: 0; }
.footer-banner {
  display: block; margin-top: 18px; width: 100%; max-width: 468px; height: auto;
  border: 2px solid var(--plum); border-radius: 5px;
  image-rendering: auto;
}
.footer-connect { display: inline-flex; align-items: center; gap: 9px; }
.footer-connect svg { width: 16px; height: 16px; color: var(--leaf-bright); flex: none; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 18px 26px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-soft);
}
.footer-sign { font-size: 30px; color: var(--petal-deep); }
.footer-sign:hover { color: var(--petal-light); }

.site-footer { padding: 0 0 clamp(24px, 4vw, 40px); }
.foot-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(168deg, var(--surface-raised) 0%, #2b3208 100%);
  color: var(--flower);
}
.foot-rail {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 16px clamp(20px, 3vw, 34px);
  background: linear-gradient(90deg, rgba(246, 147, 167, 0.95) 0 50%, rgba(158, 170, 75, 0.95) 50% 100%);
  color: var(--plum);
}
.foot-rail .rail-ip { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-weight: 500; font-size: 15px; background: rgba(253, 242, 234, 0.76); padding: 8px 14px; border-radius: 10px; border: 0; color: var(--plum); }
.foot-rail .rail-ip:hover { background: #ffffff; }
.foot-rail a { color: var(--plum); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.foot-rail a:hover { text-decoration: underline; }

.foot-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 48px);
  padding: clamp(34px, 5vw, 56px) clamp(20px, 3vw, 34px);
}
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand img { width: 220px; margin-bottom: 16px; }
.foot-brand p { color: rgba(255, 243, 207, 0.7); font-size: 15px; max-width: 34ch; }
.foot-col h4 { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--petal-bright); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 8px; }
.foot-col h4::before {
  content: ""; width: 13px; height: 13px; background: var(--flower);
  -webkit-mask: var(--petal-mark) center / contain no-repeat;
  mask: var(--petal-mark) center / contain no-repeat;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-col a { color: rgba(255, 243, 207, 0.78); text-decoration: none; font-size: 15px; }
.foot-col a:hover { color: var(--petal-bright); }

.foot-base {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px clamp(20px, 3vw, 34px);
  background: rgba(43, 50, 8, 0.6);
  border-top: 1px solid var(--line-dark);
  font-size: 13px; color: rgba(255, 243, 207, 0.6);
}
.foot-base p { margin: 0; }
.foot-sign { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: rgba(255, 243, 207, 0.72); }
.foot-sign .sign-name { font-family: "Mr Dafoe", cursive; font-size: 30px; line-height: 1; color: var(--petal-bright); }

.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 243, 207, 0.09); color: var(--flower);
  transition: background-color 0.24s var(--ease-soft);
}
.socials a:hover { background: var(--petal); color: var(--plum); }
.socials svg { width: 18px; height: 18px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.72s var(--ease-out), transform 0.72s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity 0.66s var(--ease-out), transform 0.66s var(--ease-out); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 0.56s; }
.reveal-stagger.in > *:nth-child(9) { transition-delay: 0.64s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
  .hero-petals { display: none; }
}

.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 250;
  transform: translate(-50%, 20px);
  padding: 12px 20px; border-radius: 12px;
  background: #22300f; color: var(--flower);
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px;
  box-shadow: 0 18px 40px -20px rgba(43, 50, 8, 0.8);
  opacity: 0; pointer-events: none;
  transition: opacity 0.28s var(--ease-soft), transform 0.28s var(--ease-soft);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.err-wrap { min-height: 62vh; display: grid; place-items: center; text-align: center; }
.err-wrap img { width: min(260px, 60vw); margin-inline: auto; margin-bottom: 24px; }
