/* 贝贝云 — 夏日祭夜市 粗描边波普手账样式表 */
:root {
  --bg-warm: #1A120C;
  --bg-surface: #261910;
  --bg-card: #2F2015;
  --bg-card-pink: #361A24;
  --bg-card-gold: #332512;
  --bg-card-cyan: #162B28;
  --ink-stroke: #0E0805;
  --pop-orange: #FF6B2C;
  --pop-pink: #FF3D7F;
  --pop-gold: #FFD166;
  --accent-cyan: #00E5C7;
  --text-main: #FFF5EB;
  --text-muted: #D4C0AE;
  --tape-orange: rgba(255, 107, 44, 0.42);
  --tape-pink: rgba(255, 61, 127, 0.4);
  --tape-gold: rgba(255, 209, 102, 0.38);
  --tape-cyan: rgba(0, 229, 199, 0.34);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --font-stack: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-warm);
}

body {
  margin: 0;
  font-family: var(--font-stack);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-main);
  background-color: var(--bg-warm);
  background-image:
    radial-gradient(rgba(255, 107, 44, 0.1) 1.5px, transparent 1.5px),
    radial-gradient(rgba(255, 61, 127, 0.08) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  background-position: 0 0, 14px 14px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent-cyan);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--pop-gold);
}

:focus-visible {
  outline: 3px solid var(--accent-cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent-cyan);
  color: var(--bg-warm);
  padding: 12px 18px;
  font-weight: 700;
  z-index: 200;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 18px;
}

/* 顶部夜市灯笼牌栏 */
.matsuri-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 18, 12, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--ink-stroke);
  box-shadow: 0 4px 0 rgba(255, 107, 44, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 68px;
}

.brand-sign {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 4px 12px 4px 6px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: var(--bg-card);
  border: 3px solid var(--ink-stroke);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--pop-orange);
  transition: transform 0.2s ease;
}

.brand-sign:hover {
  color: var(--text-main);
  transform: translate(-1px, -1px);
}

.brand-lantern {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  background: var(--bg-card);
  border: 3px solid var(--ink-stroke);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--pop-pink);
  cursor: pointer;
}

.nav-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 14px 18px 20px;
  background: rgba(26, 18, 12, 0.98);
  border-bottom: 3px solid var(--ink-stroke);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  flex-direction: column;
  gap: 10px;
}

.nav-menu-open {
  display: flex;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  background: var(--bg-surface);
  border: 2px solid var(--ink-stroke);
  border-radius: 10px;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.nav-link:hover,
.nav-link-active {
  color: var(--bg-warm);
  background: var(--pop-orange);
}

.nav-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 12px;
  font-weight: 800;
  color: var(--bg-warm);
  background: var(--pop-gold);
  border: 2px solid var(--ink-stroke);
  border-radius: 50%;
  flex-shrink: 0;
}

/* 按钮体系：唯一主 CTA 为青色背景配深色文字 */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 132px;
  padding: 12px 26px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  color: var(--bg-warm);
  background-color: var(--accent-cyan);
  border: 3px solid var(--ink-stroke);
  border-radius: 14px;
  box-shadow: 5px 5px 0 var(--pop-pink);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.cta-btn:hover {
  color: var(--bg-warm);
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--pop-orange);
}

.cta-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--pop-pink);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 124px;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-main);
  background-color: var(--bg-card);
  border: 3px solid var(--pop-orange);
  border-radius: 14px;
  box-shadow: 5px 5px 0 var(--ink-stroke);
  transition: transform 0.16s ease, background-color 0.16s ease;
}

.cta-secondary:hover {
  color: var(--bg-warm);
  background-color: var(--pop-gold);
  border-color: var(--ink-stroke);
  transform: translate(-2px, -2px);
}

/* Hero 主舞台区 */
.lantern-hero {
  padding: 36px 0 44px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 800;
  color: var(--bg-warm);
  background: var(--pop-orange);
  border: 3px solid var(--ink-stroke);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--pop-gold);
  transform: rotate(-1.5deg);
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--text-main);
  text-shadow: 3px 3px 0 var(--ink-stroke);
}

.hero-sub {
  margin: 0 0 26px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
}

.hero-chip {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  background: var(--bg-surface);
  border: 2px solid var(--pop-orange);
  border-radius: 999px;
  padding: 5px 12px;
}

.hero-stage {
  position: relative;
  background: var(--bg-surface);
  border: 3px solid var(--ink-stroke);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: 8px 8px 0 var(--pop-orange);
}

.hero-stage::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 24px;
  width: 84px;
  height: 22px;
  background: var(--tape-pink);
  border: 2px solid var(--ink-stroke);
  transform: rotate(-4deg);
  pointer-events: none;
}

.hero-svg {
  width: 100%;
  height: auto;
  border-radius: 14px;
}

/* 通用板块布局与标题 */
.section-band {
  padding: 56px 0;
  position: relative;
}

.section-band-alt {
  background: rgba(38, 25, 16, 0.72);
  border-top: 3px solid var(--ink-stroke);
  border-bottom: 3px solid var(--ink-stroke);
}

.section-head {
  margin-bottom: 30px;
  max-width: 680px;
}

.section-stamp {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--bg-warm);
  background: var(--pop-pink);
  border: 3px solid var(--ink-stroke);
  border-radius: 8px;
  box-shadow: 3px 3px 0 var(--pop-gold);
  transform: rotate(-1.2deg);
}

.section-title {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
}

.section-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

/* 模块 1：核心优势灯笼横幅 */
.benefit-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--bg-card);
  border: 3px solid var(--ink-stroke);
  border-radius: var(--radius-md);
  box-shadow: 5px 5px 0 var(--pop-orange);
}

.benefit-card-pink {
  box-shadow: 5px 5px 0 var(--pop-pink);
}

.benefit-card-gold {
  box-shadow: 5px 5px 0 var(--pop-gold);
}

.benefit-badge {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pop-gold);
  color: var(--bg-warm);
  border: 3px solid var(--ink-stroke);
  border-radius: 12px;
}

.benefit-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
}

.benefit-text {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* 模块 2：4 张手账摊位便签 */
.stall-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.stall-note {
  position: relative;
  padding: 28px 22px 22px;
  background: var(--bg-card);
  border: 3px solid var(--ink-stroke);
  border-radius: var(--radius-md);
  box-shadow: 6px 6px 0 var(--pop-orange);
  --tilt: -1deg;
  transform: rotate(var(--tilt));
  transition: transform 0.22s ease;
}

.stall-note:hover {
  transform: rotate(0deg) translateY(-4px);
}

.stall-note-pink {
  background: var(--bg-card-pink);
  box-shadow: 6px 6px 0 var(--pop-pink);
  --tilt: 1.1deg;
}

.stall-note-gold {
  background: var(--bg-card-gold);
  box-shadow: 6px 6px 0 var(--pop-gold);
  --tilt: -0.9deg;
}

.stall-note-cyan {
  background: var(--bg-card-cyan);
  box-shadow: 6px 6px 0 var(--accent-cyan);
  --tilt: 1deg;
}

.washi-tape {
  position: absolute;
  top: -11px;
  left: 50%;
  width: 74px;
  height: 20px;
  margin-left: -37px;
  background: var(--tape-orange);
  border: 2px solid var(--ink-stroke);
  transform: rotate(-2deg);
  pointer-events: none;
}

.stall-note-pink .washi-tape {
  background: var(--tape-pink);
  transform: rotate(2.5deg);
}

.stall-note-gold .washi-tape {
  background: var(--tape-gold);
  transform: rotate(-1.5deg);
}

.stall-note-cyan .washi-tape {
  background: var(--tape-cyan);
  transform: rotate(2deg);
}

.stall-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
}

.stall-title {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  color: var(--text-main);
}

.stall-text {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
}

/* 模块 3：流媒体支持 */
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.media-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-card);
  border: 3px solid var(--ink-stroke);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--pop-orange);
}

.media-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: var(--pop-gold);
}

.media-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.media-sub {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}

.helper-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* 模块 4：三种祭典票券（套餐价格） */
.ticket-rack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

.ticket-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 24px;
  background: var(--bg-card);
  border: 3px solid var(--ink-stroke);
  border-radius: var(--radius-lg);
  box-shadow: 6px 6px 0 var(--pop-orange);
}

.ticket-featured {
  background: var(--bg-card-pink);
  border-color: var(--pop-gold);
  box-shadow: 8px 8px 0 var(--pop-pink);
}

.ticket-vip {
  background: var(--bg-card-gold);
  box-shadow: 6px 6px 0 var(--pop-gold);
}

.ticket-ribbon {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--bg-warm);
  background: var(--pop-orange);
  border: 2px solid var(--ink-stroke);
  border-radius: 999px;
}

.ticket-featured .ticket-ribbon {
  background: var(--pop-gold);
}

.ticket-vip .ticket-ribbon {
  background: var(--pop-pink);
}

.ticket-name {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
}

.ticket-tier {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--pop-gold);
}

.ticket-audience {
  margin: 0 0 18px;
  padding-bottom: 16px;
  border-bottom: 2px dashed rgba(255, 245, 235, 0.28);
  font-size: 14px;
  color: var(--text-muted);
}

.ticket-list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.ticket-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--text-main);
}

.ticket-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  background: var(--accent-cyan);
  border: 2px solid var(--ink-stroke);
  border-radius: 3px;
  transform: rotate(45deg);
}

.ticket-foot {
  margin-top: auto;
}

.ticket-foot .cta-btn {
  width: 100%;
}

/* 模块 5：三页夜市日记（使用场景） */
.diary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.diary-page {
  position: relative;
  padding: 24px 22px;
  background: var(--bg-card);
  border: 3px solid var(--ink-stroke);
  border-radius: var(--radius-md);
  box-shadow: 6px 6px 0 var(--pop-gold);
}

.diary-page-alt {
  box-shadow: 6px 6px 0 var(--pop-pink);
}

.diary-page-late {
  box-shadow: 6px 6px 0 var(--pop-orange);
}

.diary-chapter {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
}

.diary-device {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--bg-warm);
  background: var(--pop-gold);
  border: 2px solid var(--ink-stroke);
  border-radius: 8px;
}

.diary-body {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
}

/* 模块 6：AI 工具支持 */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.ai-chip {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: var(--bg-card);
  border: 3px solid var(--ink-stroke);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--pop-pink);
}

.ai-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-icon {
  width: 26px;
  height: 26px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.ai-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.ai-desc {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* 模块 7：摊主问答便签墙（常见问题） */
.faq-wall {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
}

.faq-item {
  background: var(--bg-card);
  border: 3px solid var(--ink-stroke);
  border-radius: var(--radius-md);
  box-shadow: 5px 5px 0 var(--pop-orange);
  overflow: hidden;
}

.faq-item-title {
  margin: 0;
  font-size: 17px;
}

.faq-trigger {
  width: 100%;
  min-height: 54px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.faq-trigger:hover {
  background: rgba(255, 107, 44, 0.14);
}

.faq-plus {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  color: var(--bg-warm);
  background: var(--pop-gold);
  border: 2px solid var(--ink-stroke);
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.faq-trigger[aria-expanded="true"] .faq-plus {
  background: var(--pop-pink);
  transform: rotate(45deg);
}

.faq-panel {
  padding: 0 20px 18px;
  border-top: 2px dashed rgba(255, 245, 235, 0.22);
}

.faq-panel[hidden] {
  display: none;
}

.faq-answer {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--text-muted);
}

/* 底部 Final CTA：领取祭典手环贴纸框架 */
.wristband-cta {
  padding: 46px 0 64px;
}

.wristband-box {
  position: relative;
  padding: 34px 24px;
  text-align: center;
  background: linear-gradient(135deg, #361C12 0%, #3A1726 100%);
  border: 3px solid var(--ink-stroke);
  border-radius: var(--radius-lg);
  box-shadow: 8px 8px 0 var(--pop-orange);
}

.wristband-box::before,
.wristband-box::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 20px;
  height: 36px;
  margin-top: -18px;
  background: var(--bg-warm);
  border: 3px solid var(--ink-stroke);
}

.wristband-box::before {
  left: -3px;
  border-left: 0;
  border-radius: 0 18px 18px 0;
}

.wristband-box::after {
  right: -3px;
  border-right: 0;
  border-radius: 18px 0 0 18px;
}

.wristband-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 800;
  color: var(--bg-warm);
  background: var(--pop-gold);
  border: 3px solid var(--ink-stroke);
  border-radius: 999px;
}

.wristband-title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 800;
  color: var(--text-main);
}

.wristband-desc {
  margin: 0 auto 24px;
  max-width: 560px;
  font-size: 16px;
  color: var(--text-muted);
}

/* 夜市闭幕公告栏页脚 */
.matsuri-footer {
  background: #120B07;
  border-top: 4px solid var(--pop-orange);
  padding: 34px 0 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  text-decoration: underline;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 245, 235, 0.16);
  font-size: 13px;
  color: var(--text-muted);
}

.footer-meta p {
  margin: 0;
}

/* 移动端底部悬浮 CTA（仅 <=768px 生效，离开 Hero 显示，遇 Footer 自动隐藏） */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(26, 18, 12, 0.96);
  border-top: 3px solid var(--pop-orange);
  transform: translateY(115%);
  transition: transform 0.25s ease;
  pointer-events: none;
}

.sticky-bar-visible {
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-label {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.sticky-bar .cta-btn {
  min-height: 44px;
  padding: 8px 18px;
  font-size: 15px;
  box-shadow: 3px 3px 0 var(--pop-pink);
}

/* 二级页面通用结构（使用指南、文章、法律、网站地图） */
.subpage-main {
  padding: 28px 0 64px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--text-muted);
}

.breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent-cyan);
}

.subpage-hero {
  margin-bottom: 32px;
  padding: 26px 24px;
  background: var(--bg-card);
  border: 3px solid var(--ink-stroke);
  border-radius: var(--radius-lg);
  box-shadow: 6px 6px 0 var(--pop-orange);
}

.subpage-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
}

.subpage-hero p {
  margin: 0;
  color: var(--text-muted);
}

/* 使用指南 6 卡片网格 */
.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 3px solid var(--ink-stroke);
  border-radius: var(--radius-md);
  box-shadow: 6px 6px 0 var(--pop-orange);
  overflow: hidden;
}

.guide-card:nth-child(2n) {
  box-shadow: 6px 6px 0 var(--pop-pink);
}

.guide-card:nth-child(3n) {
  box-shadow: 6px 6px 0 var(--pop-gold);
}

.guide-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 3px solid var(--ink-stroke);
  background: var(--bg-surface);
}

.guide-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 20px;
}

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--pop-gold);
  font-weight: 600;
}

.guide-title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.guide-title a {
  color: var(--text-main);
  text-decoration: none;
}

.guide-title a:hover {
  color: var(--accent-cyan);
}

.guide-excerpt {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--text-muted);
  flex-grow: 1;
}

.guide-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 44px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 800;
  color: var(--bg-warm);
  background: var(--pop-gold);
  border: 3px solid var(--ink-stroke);
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--pop-pink);
}

.guide-more:hover {
  color: var(--bg-warm);
  background: var(--pop-orange);
}

/* 文章页样式 */
.article-wrap {
  max-width: 820px;
}

.article-shell {
  padding: 28px 22px;
  background: var(--bg-surface);
  border: 3px solid var(--ink-stroke);
  border-radius: var(--radius-lg);
  box-shadow: 6px 6px 0 var(--pop-orange);
}

.article-header {
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 2px dashed rgba(255, 245, 235, 0.22);
}

.article-header h1 {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 4.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.28;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 13px;
  color: var(--pop-gold);
}

.article-body h2 {
  margin: 30px 0 12px;
  padding-left: 12px;
  border-left: 5px solid var(--pop-orange);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
}

.article-body h3 {
  margin: 20px 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--pop-gold);
}

.article-body p {
  margin: 0 0 16px;
  color: var(--text-main);
}

.article-body ul,
.article-body ol {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--text-main);
}

.article-body li {
  margin-bottom: 8px;
}

.article-tip {
  margin: 20px 0;
  padding: 16px 18px;
  background: var(--bg-card-gold);
  border: 3px solid var(--ink-stroke);
  border-left: 6px solid var(--pop-gold);
  border-radius: 12px;
}

.article-tip p {
  margin: 0;
  color: var(--text-main);
  font-size: 15px;
}

.article-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 18px 0 22px;
  border: 3px solid var(--ink-stroke);
  border-radius: 12px;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--bg-card);
}

.article-table th,
.article-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 245, 235, 0.16);
}

.article-table th {
  background: #3B2316;
  color: var(--pop-gold);
  font-weight: 700;
}

.article-cta {
  margin-top: 30px;
  padding: 24px 20px;
  background: linear-gradient(135deg, #361C12 0%, #3A1726 100%);
  border: 3px solid var(--ink-stroke);
  border-radius: var(--radius-md);
  box-shadow: 5px 5px 0 var(--pop-pink);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.article-cta h2 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 20px;
}

.article-cta p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

.article-related {
  margin-top: 28px;
  padding: 22px 20px;
  background: var(--bg-card);
  border: 3px solid var(--ink-stroke);
  border-radius: var(--radius-md);
}

.article-related h2 {
  margin: 0 0 12px;
  font-size: 19px;
}

.related-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.related-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent-cyan);
  font-weight: 600;
}

/* 法律页与网站地图 */
.legal-card {
  max-width: 820px;
  padding: 28px 22px;
  background: var(--bg-surface);
  border: 3px solid var(--ink-stroke);
  border-radius: var(--radius-lg);
  box-shadow: 6px 6px 0 var(--pop-gold);
}

.legal-card h1 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 4vw, 2.25rem);
  font-weight: 800;
}

.legal-card h2 {
  margin: 26px 0 10px;
  font-size: 20px;
  color: var(--pop-gold);
}

.legal-card p,
.legal-card li {
  color: var(--text-main);
}

.sitemap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.sitemap-group {
  padding: 22px;
  background: var(--bg-card);
  border: 3px solid var(--ink-stroke);
  border-radius: var(--radius-md);
  box-shadow: 5px 5px 0 var(--pop-orange);
}

.sitemap-group h2 {
  margin: 0 0 12px;
  font-size: 20px;
  color: var(--pop-gold);
}

.sitemap-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sitemap-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
}

.sitemap-list a:hover {
  color: var(--accent-cyan);
  text-decoration: underline;
}

/* 招牌动画：物件掉落（0.55s 弹性落位）与灯笼微摆、烟花闪烁 */
.js-ready .drop-reveal {
  opacity: 0;
  transform: translateY(-28px) rotate(var(--tilt, 0deg)) scale(0.96);
}

.js-ready .drop-reveal.drop-visible {
  animation: note-drop-in 0.55s cubic-bezier(0.22, 1.28, 0.36, 1) forwards;
}

@keyframes note-drop-in {
  0% {
    opacity: 0;
    transform: translateY(-30px) rotate(var(--tilt, 0deg)) scale(0.95);
  }
  70% {
    opacity: 1;
    transform: translateY(5px) rotate(var(--tilt, 0deg)) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(var(--tilt, 0deg)) scale(1);
  }
}

.lantern-sway {
  transform-box: fill-box;
  transform-origin: top center;
  animation: sway-gentle 3.8s ease-in-out infinite;
}

.lantern-sway-delay {
  animation-delay: -1.6s;
}

@keyframes sway-gentle {
  0%,
  100% {
    transform: rotate(-3.5deg);
  }
  50% {
    transform: rotate(3.5deg);
  }
}

.sparkle-burst {
  transform-box: fill-box;
  transform-origin: center;
  animation: firework-twinkle 2.8s ease-in-out infinite;
}

.sparkle-burst-delay {
  animation-delay: -1.3s;
}

@keyframes firework-twinkle {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.94);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

/* 响应式断点 */
@media (min-width: 640px) {
  .media-grid,
  .ai-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 769px) {
  .sticky-bar {
    display: none;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    gap: 10px;
  }

  .benefit-strip,
  .diary-grid,
  .ticket-rack {
    grid-template-columns: repeat(3, 1fr);
  }

  .stall-board {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-shell,
  .legal-card {
    padding: 36px 40px;
  }
}

@media (min-width: 960px) {
  .lantern-hero {
    padding: 52px 0 56px;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
  }

  .guide-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .sitemap-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 无障碍：减弱动态效果 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js-ready .drop-reveal,
  .js-ready .drop-reveal.drop-visible {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .lantern-sway,
  .sparkle-burst {
    animation: none;
  }

  .stall-note,
  .stall-note:hover,
  .cta-btn,
  .cta-secondary,
  .faq-plus,
  .sticky-bar {
    transition: none;
    transform: none;
  }
}
