/* ==========================================================================
   融创·北京壹号庄园 · 丰收季 Cosplay 秀 —— 设计系统
   纯 HTML5 + CSS + JS，无外部依赖

   配色基调：米黄纸底 + 琥珀橙。
   背景用暖白纸色，文字用深咖啡，强调色用琥珀/南瓜橙，
   深色只保留在小面积元素（按钮、徽标、描边）上，避免整屏压暗。
   ========================================================================== */

:root {
  /* 底色与表面 */
  --paper: #fdf6e9;
  --surface: #fffdf8;
  --surface-soft: #fdf1de;

  /* 文字 */
  --text: #3b2614;
  --ink-2: #5a3a22;
  --text-dim: rgba(59, 38, 20, 0.68);

  /* 线条 */
  --line: rgba(150, 95, 45, 0.34);
  --line-strong: rgba(150, 95, 45, 0.46);

  /* 强调色 */
  --orange: #e07b2e;
  --orange-deep: #b3540a;   /* 小字用的深橙，浅底上 4.66:1 */
  --gold: #9a5f0e;          /* 小字用的琥珀，浅底上 4.86:1 */
  --gold-bright: #f2bd5e;   /* 填充/发光用的亮金，只做大面积底色 */
  --amber-wash: rgba(224, 123, 46, 0.09);
  --danger: #bf4426;
  --ok: #6f8b3c;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(120, 72, 32, 0.09);
  --shadow: 0 20px 46px -24px rgba(120, 72, 32, 0.34);

  --font-display: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", system-ui, sans-serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", system-ui, sans-serif;

  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 660px at 82% -10%, rgba(242, 149, 63, 0.16), transparent 62%),
    radial-gradient(980px 580px at 4% 6%, rgba(214, 150, 82, 0.14), transparent 66%),
    radial-gradient(820px 560px at 50% 106%, rgba(246, 212, 137, 0.22), transparent 70%),
    var(--paper);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.022;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.01em;
}

p { margin: 0; }

::selection { background: var(--gold-bright); color: #3b2614; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--gold-bright);
  color: #3b2614;
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- Layout ---------- */
.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

section { position: relative; }

.section {
  padding: clamp(64px, 9vw, 118px) 0;
}

.section-head {
  max-width: 700px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section-head.center {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.section-head.center .eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.section-title {
  font-size: clamp(1.8rem, 4.2vw, 2.9rem);
}

.section-title em {
  font-style: normal;
  color: var(--orange-deep);
}

.section-lead {
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 1.02rem;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: linear-gradient(120deg, var(--gold-bright) 0%, var(--orange) 100%);
  --btn-fg: #38200f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), filter 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 14px 28px -16px rgba(194, 95, 15, 0.55);
}

.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  border-color: var(--gold);
  background: var(--amber-wash);
  box-shadow: none;
  filter: none;
}

.btn--block { width: 100%; }

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.link-arrow span.arrow {
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover span.arrow { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(253, 246, 233, 0.88);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(1.15);
}

.header-inner {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--gold-bright), var(--orange));
  color: #3b2614;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(150, 95, 45, 0.18), 0 8px 20px -10px rgba(194, 95, 15, 0.6);
}

/* 品牌 logo 原图为紫字 + 黄橙图形。浅底上直接放即可辨认，
   这里仍垫一层近白底板并加细描边，让它看起来是一枚标准标识块。 */
.brand-logo {
  height: 36px;
  width: auto;
  flex-shrink: 0;
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 6px 16px -10px rgba(120, 72, 32, 0.4), inset 0 0 0 1px rgba(150, 95, 45, 0.14);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.06rem;
  letter-spacing: 0.08em;
}

.brand-text span {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dim);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--text);
  background: var(--amber-wash);
}

.site-nav a[aria-current="page"] {
  color: #3b2614;
  background: linear-gradient(120deg, var(--gold-bright), var(--orange));
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.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(-5.5px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  padding: clamp(36px, 6vw, 72px) 0 clamp(56px, 8vw, 100px);
  overflow: hidden;
}

.hero::before {
  content: "31";
  position: absolute;
  right: -2%;
  top: 6%;
  font-family: var(--font-display);
  font-size: clamp(12rem, 30vw, 26rem);
  font-weight: 700;
  line-height: 0.8;
  color: rgba(150, 95, 45, 0.07);
  pointer-events: none;
  user-select: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero-copy { position: relative; z-index: 1; }

.hero-date {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 10px;
  margin-bottom: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.hero-date .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(224, 123, 46, 0.5);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(224, 123, 46, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(224, 123, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 123, 46, 0); }
}

.hero-title {
  font-size: clamp(2.3rem, 5.6vw, 4.3rem);
  line-height: 1.14;
  letter-spacing: 0.02em;
}

.hero-title .line {
  display: block;
  font-size: 0.46em;
  letter-spacing: 0.34em;
  color: var(--text-dim);
  margin-bottom: 14px;
  font-weight: 600;
}

.hero-title em {
  font-style: normal;
  color: var(--orange-deep);
  white-space: nowrap;
  background-image: linear-gradient(90deg, rgba(224, 123, 46, 0.26), rgba(240, 185, 92, 0.1));
  background-repeat: no-repeat;
  background-size: 100% 0.16em;
  background-position: 0 calc(100% - 0.06em);
  padding-bottom: 0.06em;
}

.hero-sub {
  max-width: 46ch;
  margin-top: 24px;
  color: var(--text-dim);
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow-sm);
}

.hero-meta div {
  padding: 18px 20px;
  background: rgba(255, 253, 248, 0.9);
}

.hero-meta dt {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.hero-meta dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.hero-meta dd small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

/* Poster frame */
.hero-poster {
  position: relative;
  justify-self: end;
  width: min(100%, 430px);
}

.poster-frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 10px;
  background: linear-gradient(160deg, rgba(255, 253, 248, 0.95), rgba(246, 224, 196, 0.85));
  box-shadow: var(--shadow);
  transform: rotate(2.2deg);
  transition: transform 0.6s var(--ease);
}

.hero-poster:hover .poster-frame { transform: rotate(0deg) scale(1.01); }

.poster-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: calc(var(--radius-lg) - 6px);
  box-shadow: inset 0 0 0 1px rgba(150, 95, 45, 0.16);
  pointer-events: none;
}

.poster-frame img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 6px);
}

.poster-badge {
  position: absolute;
  right: -14px;
  bottom: 34px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--gold-bright), var(--orange));
  color: #38200f;
  font-family: var(--font-body);
  font-weight: 700;
  text-align: center;
  line-height: 1;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  box-shadow: 0 14px 30px -14px rgba(194, 95, 15, 0.6);
  transform: rotate(-8deg);
}

.poster-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(196, 98, 15, 0.05);
  padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-inline: 22px;
  font-family: var(--font-display);
  font-size: 0.94rem;
  letter-spacing: 0.22em;
  color: var(--text-dim);
  white-space: nowrap;
}

.marquee-track span i {
  font-style: normal;
  color: var(--orange);
  font-size: 0.7rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Countdown ---------- */
.countdown-wrap {
  margin-top: 28px;
}

.countdown-label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.countdown-item {
  min-width: 78px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  text-align: center;
}

.countdown-item b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
  line-height: 1.1;
}

.countdown-item span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--text-dim);
}

/* ---------- Activity cards ---------- */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 26px);
}

.activity-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(255, 253, 248, 0.98), rgba(253, 240, 224, 0.9) 58%),
    var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.activity-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 220px at var(--mx, 80%) var(--my, 0%), rgba(224, 123, 46, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}

.activity-card:hover {
  transform: translateY(-5px);
  border-color: rgba(194, 95, 15, 0.35);
  box-shadow: var(--shadow);
}

.activity-card:hover::before { opacity: 1; }

.activity-card > * { position: relative; z-index: 1; }

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.card-index {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: var(--amber-wash);
  color: var(--orange-deep);
}

.card-icon svg { width: 28px; height: 28px; }

.activity-card h3 {
  margin-top: 22px;
  font-size: clamp(1.4rem, 2.3vw, 1.75rem);
}

.activity-card p {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 0.94rem;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  background: rgba(196, 98, 15, 0.06);
}

.chip svg { width: 13px; height: 13px; opacity: 0.75; }

.card-foot {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-top: auto;
  padding-top: 26px;
}

/* 活动卡报名按钮：加粗放大 + 呼吸脉动，让访客一眼看到入口 */
.card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 17px 24px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--gold-bright) 0%, var(--orange) 100%);
  color: #2b1a0c;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.5vw, 1.12rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow:
    0 12px 26px -16px rgba(194, 95, 15, 0.7),
    inset 0 0 0 1px rgba(255, 253, 248, 0.42);
  animation: cta-pulse 2.8s ease-in-out infinite;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}

.card-cta .arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(58, 34, 16, 0.14);
  font-size: 1rem;
  transition: transform 0.25s var(--ease);
}

.card-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  animation-play-state: paused;
  box-shadow:
    0 18px 34px -16px rgba(194, 95, 15, 0.8),
    inset 0 0 0 1px rgba(255, 253, 248, 0.6);
}

.card-cta:hover .arrow { transform: translateX(4px); }

.card-cta:active { transform: translateY(0); }

@keyframes cta-pulse {
  0%, 100% {
    box-shadow:
      0 12px 26px -18px rgba(194, 95, 15, 0.5),
      0 0 0 0 rgba(224, 123, 46, 0.28),
      inset 0 0 0 1px rgba(255, 253, 248, 0.42);
  }
  50% {
    box-shadow:
      0 16px 32px -14px rgba(194, 95, 15, 0.72),
      0 0 0 9px rgba(224, 123, 46, 0),
      inset 0 0 0 1px rgba(255, 253, 248, 0.42);
  }
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 8px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 92px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong) 8%, var(--line-strong) 92%, transparent);
}

.timeline-item {
  display: grid;
  grid-template-columns: 76px 24px 1fr;
  gap: 18px;
  padding: 16px 0;
}

.timeline-time {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--gold);
  text-align: right;
  padding-top: 2px;
}

.timeline-dot {
  position: relative;
}

.timeline-dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--orange);
}

.timeline-body h4 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin-bottom: 4px;
}

.timeline-body p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* ---------- Info / callout ---------- */
.info-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.8);
}

.info-item .k {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.info-item .v {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
}

.note {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border: 1px dashed rgba(154, 95, 14, 0.38);
  border-radius: var(--radius);
  background: rgba(242, 189, 94, 0.16);
  color: var(--ink-2);
  font-size: 0.9rem;
}

.note svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--gold);
}

.hero-date.is-passed,
.deadline-note.is-passed {
  color: #a8391e;
  border-color: rgba(191, 68, 38, 0.35);
}

[hidden] { display: none !important; }

.deadline-note {
  display: inline-block;
  margin-top: 16px;
  padding: 7px 14px;
  border: 1px solid rgba(191, 68, 38, 0.35);
  border-radius: 999px;
  background: rgba(191, 68, 38, 0.08);
  color: #a8391e;
  font-size: 0.78rem;
  font-weight: 600;
}

.closed-note {
  margin-bottom: 18px;
  padding: 10px 14px;
  border: 1px dashed rgba(191, 68, 38, 0.35);
  border-radius: 12px;
  background: rgba(191, 68, 38, 0.07);
  color: #a8391e;
  font-size: 0.78rem;
  line-height: 1.6;
}

.signup-closed .form-card { border-color: rgba(191, 68, 38, 0.2); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: clamp(48px, 6vw, 82px) 0 clamp(34px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -40%;
  width: 80vw;
  height: 80vw;
  max-width: 900px;
  max-height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(224, 123, 46, 0.13), transparent 62%);
  pointer-events: none;
}

.page-hero .container { position: relative; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.crumbs a { transition: color 0.2s var(--ease); }
.crumbs a:hover { color: var(--gold); }
.crumbs .sep { opacity: 0.4; }
.crumbs [aria-current] { color: var(--text); }

.page-title {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.page-title .num {
  font-family: var(--font-display);
  font-size: 0.4em;
  letter-spacing: 0.2em;
  color: var(--orange-deep);
}

.page-lead {
  max-width: 62ch;
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 1.02rem;
}

.page-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

/* ---------- Detail layout ---------- */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

/* 报名页：表单放在左栏且更宽，细则后置在右栏 */
.detail-grid--form-first {
  grid-template-columns: minmax(360px, 500px) minmax(0, 1fr);
}

.detail-grid--form-first > .detail-main { font-size: 0.98rem; }

/* 首页时间表 + 须知 */
.detail-grid--flow {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
}

.detail-main > * + * { margin-top: 34px; }

.detail-card {
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.86);
  box-shadow: var(--shadow-sm);
}

.detail-card h2 {
  font-size: clamp(1.24rem, 2.2vw, 1.5rem);
  margin-bottom: 14px;
}

.detail-card h3 {
  font-size: 1.06rem;
  color: var(--text);
  margin-bottom: 8px;
}

.detail-card p + p { margin-top: 10px; }

.muted { color: var(--text-dim); }

.rule-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rule-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-2);
  font-size: 0.94rem;
}

.rule-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.66em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(224, 123, 46, 0.16);
}

.rule-list strong { color: var(--gold); }

.price-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.price-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(224, 123, 46, 0.09), transparent 70%);
}

.price-card .size {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.price-card .amount {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}

.price-card .amount small {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-dim);
}

.price-card .desc {
  margin-top: 6px;
  font-size: 0.84rem;
  color: var(--text-dim);
}

/* Game levels */
.level-list {
  display: grid;
  gap: 14px;
  counter-reset: level;
}

.level {
  position: relative;
  padding: 22px 24px 22px 68px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.72);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.level:hover {
  border-color: rgba(194, 95, 15, 0.32);
  background: rgba(255, 253, 248, 0.96);
}

.level::before {
  counter-increment: level;
  content: "0" counter(level);
  position: absolute;
  left: 22px;
  top: 21px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #b0854d;
  line-height: 1;
}

.level h3 {
  font-size: 1.06rem;
  margin-bottom: 6px;
}

.level p {
  color: var(--text-dim);
  font-size: 0.92rem;
}

.level .tag-mini {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(224, 123, 46, 0.12);
  color: #993f04;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

/* ---------- Cosplay 奖项 ---------- */
.prize-grid {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.prize {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.74);
}

.prize-media {
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.prize-media img {
  display: block;
  width: 100%;
  height: 118px;
  object-fit: cover;
}

.prize-body h3 {
  margin: 6px 0 4px;
}

.prize-body p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.prize-rank {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(224, 123, 46, 0.14);
  color: #8a5008;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* 套圈礼品标签 */
.gift-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gift-list li {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.8);
  color: var(--ink-2);
  font-size: 0.86rem;
}

.gift-list li:nth-child(n + 6) {
  border-color: rgba(154, 95, 14, 0.34);
  background: rgba(224, 123, 46, 0.08);
}

/* ---------- Form ---------- */
.form-card {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid rgba(154, 95, 14, 0.24);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(165deg, rgba(224, 123, 46, 0.08), rgba(255, 253, 248, 0.96) 44%),
    var(--surface);
  box-shadow: var(--shadow);
}

.form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.form-head h2 {
  font-size: 1.16rem;
}

.form-head p {
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.form-badge {
  flex-shrink: 0;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(154, 95, 14, 0.12);
  color: #8a5008;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.field + .field { margin-top: 18px; }

.field > label,
.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

.field > label .req,
.field-label .req {
  color: var(--orange-deep);
  margin-left: 3px;
}

.field .hint {
  margin-top: 6px;
  font-size: 0.74rem;
  color: var(--text-dim);
}

.input,
.select,
.textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.94rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.input::placeholder,
.textarea::placeholder { color: #80715f; }

.input:hover,
.select:hover,
.textarea:hover { border-color: rgba(150, 95, 45, 0.42); }

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(154, 95, 14, 0.14);
  background: #fffefa;
}

.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%239a5f0e' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.select option { background: var(--surface); color: var(--text); }

.textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.6;
}

.field[data-invalid="true"] .input,
.field[data-invalid="true"] .select,
.field[data-invalid="true"] .textarea,
.field[data-invalid="true"] .stepper {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(191, 68, 38, 0.1);
}

.error-msg {
  display: none;
  margin-top: 7px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #a8391e;
}

.field[data-invalid="true"] .error-msg { display: block; }

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field-row > .field { margin-top: 0; }

/* Stepper */
.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.stepper button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(196, 98, 15, 0.06);
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.stepper button:hover {
  background: rgba(154, 95, 14, 0.12);
  border-color: rgba(154, 95, 14, 0.4);
  color: var(--gold);
}

.stepper button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.stepper input {
  flex: 1;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}

.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.stepper input:focus { outline: none; }

.pumpkin-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pumpkin-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(196, 98, 15, 0.05);
}

.pumpkin-card .p-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.pumpkin-card .p-head svg {
  width: 26px;
  height: 26px;
  color: var(--orange-deep);
}

.pumpkin-card .p-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.pumpkin-card .p-sub {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.pumpkin-card .p-price {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 0.78rem;
  color: var(--gold);
  display: flex;
  justify-content: space-between;
}

.pumpkin-card .p-price b {
  font-family: var(--font-display);
  font-size: 1rem;
}

/* Total bar */
.total-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding: 14px 18px;
  border: 1px solid rgba(154, 95, 14, 0.28);
  border-radius: var(--radius-sm);
  background: linear-gradient(100deg, rgba(242, 189, 94, 0.22), rgba(224, 123, 46, 0.1));
}

.total-bar .label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.total-bar .value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.total-bar .value small {
  font-size: 0.62em;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-dim);
  margin-left: 2px;
}

/* Consent checkbox */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.consent input {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--orange-deep);
  cursor: pointer;
}

.consent[data-invalid="true"] { color: #a8391e; }

/* ---------- Records ---------- */
.records {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.records-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.records-head strong { color: var(--text); }

.records-export {
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}

.records-export:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--amber-wash);
}

.records ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 208px;
  overflow-y: auto;
}

.records li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 248, 0.78);
  font-size: 0.8rem;
}

.records li .r-main { min-width: 0; }
.records li .r-main b { color: var(--text); }
.records li .r-main span {
  display: block;
  color: var(--text-dim);
  font-size: 0.74rem;
  margin-top: 2px;
  overflow-wrap: anywhere;
}

.records li .r-no {
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: var(--gold);
  white-space: nowrap;
}

.record-del {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.record-del:hover {
  color: #a8391e;
  border-color: rgba(191, 68, 38, 0.45);
  background: rgba(191, 68, 38, 0.08);
}

.records-empty {
  padding: 14px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-size: 0.78rem;
  text-align: center;
}

/* ---------- Toast / success ---------- */
.toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: min(360px, calc(100vw - 40px));
  padding: 14px 16px;
  border: 1px solid rgba(154, 95, 14, 0.28);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
  font-size: 0.86rem;
  pointer-events: auto;
  animation: toast-in 0.4s var(--ease) both;
}

.toast.is-leaving { animation: toast-out 0.32s var(--ease) both; }

.toast svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--ok);
}

.toast b { display: block; margin-bottom: 2px; }
.toast span { color: var(--text-dim); font-size: 0.8rem; }

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

@keyframes toast-out {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateY(10px) scale(0.98); }
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: clamp(48px, 6vw, 80px);
  padding: clamp(40px, 5vw, 64px) 0 28px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(246, 230, 205, 0.55), rgba(246, 226, 197, 0.9));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}

.footer-brand p {
  margin-top: 14px;
  max-width: 34ch;
  color: var(--text-dim);
  font-size: 0.86rem;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.footer-col ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
  color: var(--text-dim);
}

.footer-col a { transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
  color: #7b6a5b;
}

/* ---------- Reveal ---------- */
/* 只有脚本正常运行时才隐藏，脚本失效时内容默认可见，避免整页空白 */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.94);
  color: var(--gold);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.to-top:hover { border-color: var(--gold); }

.to-top svg { width: 18px; height: 18px; }

/* ---------- PDF / poster utilities ---------- */
.pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--ink-2);
  background: rgba(255, 253, 248, 0.72);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.pdf-link:hover { border-color: var(--gold); color: var(--gold); }
.pdf-link svg { width: 15px; height: 15px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .form-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-poster {
    justify-self: center;
    width: min(100%, 380px);
    margin: clamp(8px, 4vw, 24px) 0 4px;
  }
  .poster-badge { right: -6px; bottom: 18px; width: 76px; height: 76px; font-size: 0.6rem; }
  .poster-badge strong { font-size: 1.5rem; }
  .activity-grid { grid-template-columns: 1fr; }
  .info-panel { grid-template-columns: 1fr; }
  .timeline::before { left: 76px; }
  .timeline-item { grid-template-columns: 62px 22px 1fr; gap: 14px; }
  .page-title .num { font-size: 0.34em; }

  .nav-toggle { display: block; }

  .site-header { background: rgba(253, 246, 233, 0.92); backdrop-filter: blur(16px); border-bottom-color: var(--line); }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: grid;
    gap: 2px;
    padding: 14px 20px 22px;
    background: rgba(253, 246, 233, 0.99);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(20px);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav a { padding: 12px 14px; font-size: 0.98rem; }

  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container, .header-inner { width: calc(100% - 32px); }
  :root { --header-h: 68px; }
  .brand-mark { width: 36px; height: 36px; font-size: 1.1rem; }
  .brand-text strong { font-size: 0.96rem; }
  .brand-text span { font-size: 0.6rem; letter-spacing: 0.18em; }

  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta div { padding: 14px 18px; }
  .hero-title { font-size: clamp(2rem, 9vw, 2.7rem); }
  .hero-title .line { letter-spacing: 0.22em; }

  .countdown-item { flex: 1 1 64px; min-width: 64px; padding: 10px 8px; }
  .countdown-item b { font-size: 1.32rem; }

  .field-row, .pumpkin-row, .price-row { grid-template-columns: 1fr; }

  .prize { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 12px; }
  .prize-media img { height: 92px; }

  .timeline::before { left: 66px; }
  .timeline-item { grid-template-columns: 54px 18px 1fr; gap: 12px; }
  .timeline-time { font-size: 0.84rem; }
  .timeline-body h4 { font-size: 1rem; }

  .level { padding: 20px 18px 20px 58px; }
  .level::before { left: 16px; font-size: 1.24rem; }

  .btn { padding: 12px 20px; font-size: 0.9rem; }
  .btn-row .btn { flex: 1 1 100%; }

  .poster-frame { transform: rotate(1.4deg); }
  .toast-stack { left: 16px; right: 16px; bottom: 16px; }
  .toast { width: 100%; }
  .to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  /* 需压过 .js .reveal 的两类选择器，否则减弱动效时首屏内容会停在透明状态 */
  .js .reveal { opacity: 1; transform: none; }
}
