:root {
  --snow-mist: #E8EEF7;
  --ice-blue: #D6E1F2;
  --snow-white: #F8F7FA;
  --warm-snow: #F2E4DA;
  --dusk-blue: #B7C9E6;
  --winter-slate: #A7B4CF;
  --warm-lamp: #F6D7C6;
  --cabin-brown: #C9A88E;

  --parchment: #F6F8FC;
  --parchment-deep: #EDF2F9;
  --ui-dark: #15223E;
  --ui-dark-soft: rgba(18, 30, 56, 0.88);
  --gold: #F6C445;
  --gold-hover: #FFD464;
  --crimson: #C84B4B;
  --night-deep: #0E1933;
  --night-mid: #1B315E;
  --ink: #1C2740;
  --ink-muted: #52627E;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 14px 36px rgba(21, 30, 52, 0.14);
  --shadow-card: 0 18px 42px rgba(17, 24, 39, 0.22);
  --font-main: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--ink);
  background: var(--parchment);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body.hide-ko .ko-inline,
body.hide-ko .ko-block {
  display: none !important;
}

img {
  max-width: 100%;
  display: block;
}

button, input, textarea, select {
  font-family: inherit;
}

/* ==================== 开场加载遮罩 ==================== */
.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at 50% 40%, #DCE7F7 0%, #9BB3D6 55%, #4B648D 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-inner {
  text-align: center;
  color: #1F2A44;
  padding: 24px;
  max-width: 340px;
  width: 90%;
}

.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;
}

.loading-logo-medallion {
  position: relative;
  width: 220px;
  height: 120px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
}

.loading-logo-img {
  width: 210px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(20, 32, 60, 0.25));
  animation: pulseStar 1.4s ease-in-out infinite alternate;
}

.emblem-ring {
  display: none;
}

.loading-brand {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: 0.04em;
}

.loading-brand span {
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.85;
}

.loading-progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.loading-bar {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

.loading-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #F6C445, #FFE28A);
  transition: width 0.15s ease;
}

.loading-percent {
  font-weight: 700;
  font-size: 0.9rem;
  min-width: 42px;
}

.loading-hint {
  margin: 10px 0 0;
  font-size: 0.82rem;
  opacity: 0.8;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulseStar {
  from { transform: scale(0.94); }
  to { transform: scale(1.06); }
}

/* ==================== 飘雪画布 ==================== */
.snow-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
}

/* ==================== 顶部导航栏 ==================== */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(16, 28, 54, 0.90) 0%, rgba(20, 34, 64, 0.82) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(196, 224, 255, 0.22);
  box-shadow: 0 8px 28px rgba(8, 16, 36, 0.25);
  color: #FFFFFF;
}

.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  height: 64px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #FFFFFF;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 46px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.logo-sub {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.1em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2.5px;
  border-radius: 999px;
  background: var(--gold);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 185px;
  background: #282A2F;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  cursor: pointer;
}

.dropdown-item:hover {
  background: rgba(246, 196, 69, 0.16);
  color: var(--gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  padding: 3px;
  border-radius: 999px;
}

.lang-seg {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.56);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.lang-seg:hover {
  color: #FFFFFF;
}

.lang-seg.active {
  background: var(--gold);
  color: #1F2023;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(246, 196, 69, 0.48);
}

.lang-sep {
  color: rgba(255, 255, 255, 0.26);
  font-size: 0.72rem;
  user-select: none;
}

.nav-cta-btn {
  text-decoration: none;
  background: linear-gradient(135deg, #F6C445, #FFB938);
  color: #1F2023;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 9px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(246, 196, 69, 0.36);
  transition: transform 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-cta-btn:hover {
  transform: translateY(-1px);
  background: var(--gold-hover);
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 18px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: transform 0.2s;
}

.mobile-drawer {
  background: #23252A;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-drawer[hidden] {
  display: none;
}

.mobile-nav-link {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  padding: 11px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.mobile-nav-link.active {
  color: var(--gold);
  background: rgba(246, 196, 69, 0.12);
}

.mobile-drawer-extras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.mobile-extra-btn {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: #E5E7EB;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

/* ==================== 柔顺雪坡曲线过渡 ==================== */
.torn-edge {
  position: absolute;
  left: 0;
  right: 0;
  height: 44px;
  z-index: 10;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.torn-edge-bottom {
  bottom: -1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 44' preserveAspectRatio='none'%3E%3Cpath d='M0,26 C260,6 520,40 780,22 C1040,4 1260,34 1440,18 L1440,44 L0,44 Z' fill='%23F6F8FC' fill-opacity='0.55'/%3E%3Cpath d='M0,34 C320,14 640,44 980,24 C1180,12 1340,28 1440,24 L1440,44 L0,44 Z' fill='%23F6F8FC'/%3E%3C/svg%3E");
}

.torn-edge-top {
  top: -1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 44' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,20 C1220,38 960,8 680,24 C420,38 180,10 0,24 Z' fill='%23F6F8FC' fill-opacity='0.55'/%3E%3Cpath d='M0,0 L1440,0 L1440,14 C1180,30 880,4 580,20 C340,32 160,10 0,18 Z' fill='%23F6F8FC'/%3E%3C/svg%3E");
}

/* ==================== PART 1: HERO ==================== */
.section-hero {
  position: relative;
  min-height: 92vh;
  padding: 96px 20px 76px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  background: #1B2945;
  color: #FFFFFF;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-badge-btn {
  position: absolute;
  top: 86px;
  right: 24px;
  z-index: 6;
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: rgba(31, 32, 35, 0.72);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  border-radius: 12px;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  cursor: default;
  pointer-events: none;
  user-select: none;
}

.badge-top { font-size: 0.65rem; letter-spacing: 0.12em; color: var(--gold); font-weight: 800; }
.badge-mid { font-size: 1rem; font-weight: 900; }
.badge-bot { font-size: 0.68rem; opacity: 0.9; }

.hero-center-stage {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 760px;
  margin-top: auto;
  margin-bottom: 14px;
  padding: 4px 16px;
}

.hero-play-row {
  display: inline-flex;
  align-items: center;
  background: rgba(20, 26, 42, 0.68);
  backdrop-filter: blur(10px);
  padding: 5px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-sound-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.hero-sound-btn:hover,
.hero-sound-btn.is-unmuted {
  background: rgba(246, 196, 69, 0.24);
  border-color: var(--gold);
}

.hero-play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  background: radial-gradient(circle, var(--gold) 0%, #EE9B3B 100%);
  color: #1F2023;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 22px rgba(246, 196, 69, 0.55);
}

.hero-play-btn:hover {
  transform: scale(1.08);
}

.play-triangle {
  margin-left: 3px;
  font-size: 1rem;
}

.hero-play-label {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* 底部停靠条 */
.hero-dock {
  position: relative;
  z-index: 6;
  width: 100%;
  max-width: 1120px;
  background: linear-gradient(135deg, rgba(16, 29, 56, 0.84) 0%, rgba(24, 42, 78, 0.78) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(202, 226, 255, 0.28);
  border-radius: 20px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 18px 42px rgba(8, 16, 38, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.dock-ticket {
  display: flex;
  align-items: center;
  background: transparent;
  padding: 0;
  margin: -32px 0 -14px -10px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.dock-ticket:hover {
  transform: translateY(-3px) scale(1.03);
}

.dock-ticket-graphic {
  height: 132px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.42));
}

.dock-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
}

.dock-quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  flex: 1;
}

.dock-pill {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #F8F7FA;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.dock-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(246, 196, 69, 0.14);
}

.dock-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.dock-explore-btn {
  text-decoration: none;
  background: var(--gold);
  color: #1F2023;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: 10px;
}

.dock-platform-note {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ==================== 羊皮纸过渡带 ==================== */
.parchment-tail {
  background: var(--parchment);
  background-image:
    radial-gradient(rgba(130, 155, 195, 0.14) 1.1px, transparent 1.1px),
    linear-gradient(180deg, #F6F8FC 0%, #F2F5FB 100%);
  background-size: 24px 24px, 100% 100%;
  padding: 24px 20px;
  text-align: center;
}

.tail-map-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  color: #3E547A;
  font-weight: 700;
  font-size: 0.92rem;
}

.tail-badge {
  background: rgba(255, 255, 255, 0.82);
  border: 1px dashed #8DAAD6;
  padding: 6px 16px;
  border-radius: 999px;
  color: #203254;
  box-shadow: 0 4px 12px rgba(48, 78, 130, 0.08);
}

.tail-dots, .tail-route {
  letter-spacing: 0.2em;
  opacity: 0.65;
}

/* ==================== PART 2: 伙伴图鉴 (全屏背景视频) ==================== */
.section-buddies {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 540px;
  color: #FFFFFF;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.buddies-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #273759 0%, #445E8E 55%, #7B94BE 100%);
  transition: background 0.55s ease;
}

.buddy-bg-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.buddy-full-video,
.buddy-full-fallback {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.buddy-full-video {
  opacity: 1;
  transition: opacity 0.25s ease;
}

.buddy-full-video.is-loading {
  opacity: 0;
}

.buddy-full-video[hidden],
.buddy-full-fallback[hidden] {
  display: none;
}

.buddies-hud-bar {
  position: relative;
  z-index: 6;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 28px 28px 56px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  background: transparent;
}

.buddies-hud-bar:hover,
.buddies-hud-bar:focus-within {
  background: transparent;
}

.buddies-hud-bar .sticker-dock-wrap,
.buddies-hud-bar .buddy-actions {
  opacity: 0.38;
  transition: opacity 0.28s ease;
}

.buddies-hud-bar:hover .sticker-dock-wrap,
.buddies-hud-bar:hover .buddy-actions,
.buddies-hud-bar:focus-within .sticker-dock-wrap,
.buddies-hud-bar:focus-within .buddy-actions {
  opacity: 1;
}

.buddy-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.buddy-sound-corner-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: rgba(20, 26, 42, 0.72);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 1rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.buddy-sound-corner-btn[hidden] {
  display: none;
}

.buddy-sound-corner-btn:hover,
.buddy-sound-corner-btn.is-unmuted {
  background: rgba(246, 196, 69, 0.92);
  color: #1F2023;
  border-color: var(--gold);
}

.btn-gold-primary {
  border: none;
  background: linear-gradient(135deg, #F6C445, #FFB438);
  color: #1F2023;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 11px 20px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(246, 196, 69, 0.35);
  transition: transform 0.2s;
}

.btn-gold-primary:hover {
  transform: translateY(-2px);
}

.btn-glass-secondary {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(20, 26, 42, 0.55);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-glass-secondary:hover {
  background: rgba(20, 26, 42, 0.8);
}

/* 底部贴纸切换条 */
.sticker-dock-wrap {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 680px;
}

.sticker-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(15, 22, 38, 0.45);
  color: #FFFFFF;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.sticker-arrow:hover {
  background: var(--gold);
  color: #1F2023;
  border-color: var(--gold);
}

.sticker-dock {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 6px;
  scrollbar-width: none;
}

.sticker-dock::-webkit-scrollbar { display: none; }

.sticker-btn {
  position: relative;
  flex-shrink: 0;
  width: 92px;
  background: transparent;
  border: none;
  border-radius: 16px;
  padding: 6px;
  cursor: pointer;
  transition: transform 0.22s ease, opacity 0.22s ease;
  opacity: 0.86;
}

.sticker-btn:hover {
  transform: translateY(-4px);
  opacity: 1;
}

.sticker-btn.active {
  opacity: 1;
  transform: translateY(-6px) scale(1.08);
  background:
    linear-gradient(to right, var(--gold) 2.5px, transparent 2.5px) 0 0 / 14px 14px no-repeat,
    linear-gradient(to bottom, var(--gold) 2.5px, transparent 2.5px) 0 0 / 14px 14px no-repeat,
    linear-gradient(to left, var(--gold) 2.5px, transparent 2.5px) 100% 0 / 14px 14px no-repeat,
    linear-gradient(to bottom, var(--gold) 2.5px, transparent 2.5px) 100% 0 / 14px 14px no-repeat,
    linear-gradient(to right, var(--gold) 2.5px, transparent 2.5px) 0 100% / 14px 14px no-repeat,
    linear-gradient(to top, var(--gold) 2.5px, transparent 2.5px) 0 100% / 14px 14px no-repeat,
    linear-gradient(to left, var(--gold) 2.5px, transparent 2.5px) 100% 100% / 14px 14px no-repeat,
    linear-gradient(to top, var(--gold) 2.5px, transparent 2.5px) 100% 100% / 14px 14px no-repeat;
}

.sticker-btn img {
  width: 100%;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(10, 16, 34, 0.36));
}

.sticker-btn.active img {
  filter: drop-shadow(0 8px 18px rgba(246, 196, 69, 0.48));
}

.sticker-btn span {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 6px rgba(10, 16, 34, 0.55);
}

.sticker-btn.active span {
  color: var(--gold);
}

/* ==================== PART 3: 雪岛手账拼贴画 (1:1 参考王国景观拼贴) ==================== */
.section-worldview {
  background: var(--parchment);
  background-image:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.92) 0%, transparent 45%),
    radial-gradient(circle at 82% 80%, rgba(255, 255, 255, 0.85) 0%, transparent 42%),
    radial-gradient(rgba(130, 155, 195, 0.12) 1.1px, transparent 1.1px),
    linear-gradient(180deg, #F6F8FC 0%, #F0F4FA 100%);
  background-size: 100% 100%, 100% 100%, 24px 24px, 100% 100%;
  padding: 28px 24px 48px;
  overflow: hidden;
}

.scrapbook-collage-board {
  position: relative;
  width: 100%;
  max-width: 1560px;
  aspect-ratio: 1560 / 840;
  margin: 0 auto;
}

/* 三张可点击大图 */
.collage-photo {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 8px;
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(24, 44, 82, 0.18);
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}

.collage-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
}

.photo-day {
  top: 2%;
  left: 1%;
  width: 52%;
  z-index: 2;
  transform: rotate(-1.2deg);
}

.photo-night {
  top: 44%;
  left: 6%;
  width: 46%;
  z-index: 3;
  transform: rotate(0.9deg);
}

.photo-mystery {
  top: 11%;
  right: 1%;
  width: 50%;
  z-index: 4;
  transform: rotate(-0.6deg);
}

.photo-day:hover {
  transform: translateY(-7px) scale(1.02) rotate(0deg);
  box-shadow: 0 22px 44px rgba(42, 33, 22, 0.32);
  z-index: 6;
}

.photo-night:hover {
  transform: translateY(-7px) scale(1.02) rotate(0deg);
  box-shadow: 0 22px 44px rgba(42, 33, 22, 0.32);
  z-index: 6;
}

.photo-mystery:hover {
  transform: translateY(-7px) scale(1.02) rotate(0.4deg);
  box-shadow: 0 22px 44px rgba(42, 33, 22, 0.32);
  z-index: 6;
}

/* 和纸胶带装饰条 */
.collage-tape {
  position: absolute;
  top: 57%;
  left: 53%;
  z-index: 7;
  padding: 6px 26px;
  background: rgba(65, 58, 108, 0.92);
  color: #E7E2F7;
  font-size: clamp(0.68rem, 0.9vw, 0.85rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  transform: rotate(-1.8deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* 五件纯装饰素材（严禁点击与悬停交互） */
.collage-prop {
  position: absolute;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 8px 16px rgba(46, 36, 24, 0.24));
}

.prop-wax {
  top: 5%;
  left: 58%;
  width: 8.5%;
  z-index: 8;
  transform: rotate(-8deg);
}

.prop-stamp {
  top: 41%;
  left: 44.5%;
  width: 8.5%;
  z-index: 8;
  transform: rotate(-3deg);
}

.prop-notes {
  right: 16%;
  bottom: 1%;
  width: 24.5%;
  z-index: 2;
  transform: rotate(-2deg);
}

.prop-record {
  right: 2%;
  bottom: 5%;
  width: 21.5%;
  z-index: 7;
  transform: rotate(3.5deg);
}

.prop-pen {
  right: 0.5%;
  bottom: 1%;
  width: 17.5%;
  z-index: 9;
  transform: rotate(-8deg);
}

/* ==================== PART 4: 连载动态 & 企划 ==================== */
.section-journal {
  background: var(--parchment-deep);
  background-image:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.88) 0%, transparent 45%),
    radial-gradient(rgba(130, 155, 195, 0.11) 1px, transparent 1px),
    linear-gradient(180deg, #F2F5FA 0%, #E9EFF8 100%);
  background-size: 100% 100%, 24px 24px, 100% 100%;
  padding: 60px 20px 72px;
}

.journal-container {
  max-width: 1180px;
  margin: 0 auto;
}

.journal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(46, 74, 122, 0.14);
}

.journal-rune-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: #3C5E91;
}

.journal-cn-title {
  margin: 2px 0 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #162442;
}

.journal-postmark {
  border: 2px solid rgba(200, 75, 75, 0.65);
  color: rgba(200, 75, 75, 0.8);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  transform: rotate(-4deg);
}

.more-pill-btn {
  border: none;
  background: #1F2023;
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.more-pill-btn:hover {
  background: var(--gold);
  color: #1F2023;
}

.journal-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: start;
}

/* 左侧牛皮纸信封 + 拍立得轮播 */
.kraft-stack {
  position: relative;
  padding: 12px;
}

.kraft-envelope {
  position: absolute;
  inset: 8px;
  border-radius: 10px;
  background: #D6B17C;
  border: 1px solid #B7905B;
  box-shadow: 0 10px 24px rgba(55, 42, 24, 0.16);
}

.kraft-back-1 { transform: rotate(-3.5deg); }
.kraft-back-2 { transform: rotate(2.5deg); background: #DFBF8F; }

.polaroid-carousel {
  position: relative;
  z-index: 2;
  background: #FFFFFF;
  padding: 14px 14px 16px;
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(25, 20, 15, 0.2);
}

.carousel-stage {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #141B2D;
}

.carousel-video-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: radial-gradient(circle at 50% 45%, #233252 0%, #141B2D 100%);
  cursor: pointer;
}

.carousel-thumb-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.carousel-video-trigger:hover .carousel-thumb-video {
  transform: scale(1.03);
  filter: brightness(0.92);
}

.carousel-thumb-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 22, 38, 0.08) 0%, rgba(16, 22, 38, 0.34) 100%);
  pointer-events: none;
}

.carousel-ep-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(18, 25, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  backdrop-filter: blur(6px);
}

.carousel-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(246, 196, 69, 0.94);
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), background 0.24s ease, box-shadow 0.24s ease;
}

.carousel-video-trigger:hover .carousel-play-badge {
  transform: translate(-50%, -50%) scale(1.1);
  background: #FFD768;
  box-shadow: 0 16px 38px rgba(246, 196, 69, 0.45);
}

.carousel-play-triangle {
  color: #1F2023;
  font-size: 1.45rem;
  line-height: 1;
  margin-left: 4px;
}

/* 视频弹窗播放器 */
.log-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-right: 40px;
  margin-bottom: 12px;
}

.log-modal-ep {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: #273759;
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.log-modal-counter {
  font-size: 0.82rem;
  font-weight: 800;
  color: #6B655D;
}

.log-modal-stage {
  background: #141B2D;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.log-modal-video {
  display: block;
  width: 100%;
  max-height: 62vh;
  background: #141B2D;
}

.log-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.log-modal-caption {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 700;
  color: #2A2520;
  flex: 1;
  min-width: 220px;
}

.log-modal-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.log-modal-nav-btn {
  border: 1px solid #D5CEC2;
  background: #FFFFFF;
  color: #272B36;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.log-modal-nav-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.carousel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.carousel-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #D5CEC2;
  background: #F8F7FA;
  color: #272B36;
  cursor: pointer;
  flex-shrink: 0;
}

.carousel-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.carousel-caption {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #2A2520;
  text-align: center;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(39, 43, 54, 0.25);
  cursor: pointer;
  padding: 0;
  transition: width 0.2s, background 0.2s;
}

.dot-btn.active {
  width: 24px;
  background: var(--gold);
}

/* 右侧列表 */
.schedule-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.sched-tab {
  border: 1px solid rgba(39, 43, 54, 0.18);
  background: rgba(255, 255, 255, 0.55);
  color: #4A4E5A;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.sched-tab.active {
  background: #172747;
  color: var(--gold);
  border-color: #172747;
  box-shadow: 0 6px 16px rgba(18, 34, 66, 0.18);
}

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

.news-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 12px;
  border-bottom: 1px solid rgba(46, 74, 122, 0.14);
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.18s;
}

.news-row:hover {
  background: rgba(255, 255, 255, 0.72);
}

.news-row-main {
  min-width: 0;
}

.news-row-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #162442;
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-row-desc {
  margin: 3px 0 0;
  font-size: 0.8rem;
  color: #4D607D;
}

.news-tag {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 5px;
  background: #364F7B;
  color: #FFFFFF;
  flex-shrink: 0;
}

.news-tag.is-top {
  background: var(--crimson);
}

.news-date {
  font-size: 0.78rem;
  font-weight: 700;
  color: #546887;
  white-space: nowrap;
}

/* ==================== PART 5: 小心愿墙 & 雪夜收尾 ==================== */
.section-wish-wall {
  position: relative;
  background: linear-gradient(180deg, #101D3A 0%, #172C57 48%, #0C162E 100%);
  color: #FFFFFF;
  padding: 76px 20px 64px;
  overflow: hidden;
}

.wish-sky-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(164, 212, 255, 0.22) 0%, transparent 46%),
    radial-gradient(circle at 82% 24%, rgba(183, 201, 230, 0.16) 0%, transparent 40%),
    radial-gradient(circle at 78% 78%, rgba(246, 196, 69, 0.14) 0%, transparent 46%);
  pointer-events: none;
}

.wish-container {
  position: relative;
  z-index: 5;
  max-width: 1180px;
  margin: 0 auto;
}

.wish-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 38px;
}

.wish-header-badge {
  display: inline-block;
  background: rgba(246, 196, 69, 0.2);
  border: 1px solid rgba(246, 196, 69, 0.55);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.wish-title {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 900;
}

.wish-subtitle {
  margin: 0;
  color: rgba(232, 238, 247, 0.85);
  font-size: 0.96rem;
}

.wish-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
}

.wish-form-card {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 18px;
  row-gap: 14px;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-radius: 22px;
  padding: 22px 24px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
}

.wish-form-card .form-group {
  margin-bottom: 0;
}

.wish-form-card .form-group:nth-of-type(1) {
  grid-column: 1;
}

.wish-form-card .form-group:nth-of-type(2) {
  grid-column: 2;
}

.wish-form-card .form-group:nth-of-type(3),
.wish-form-card .wish-submit-btn,
.wish-form-card .wish-save-tip {
  grid-column: 1 / 3;
  margin-top: 0;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: #364055;
  margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1.5px solid #D6DEEC;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.92rem;
  background: #F8FAFD;
  color: #1F2023;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #445E8E;
  background: #FFFFFF;
}

.wish-submit-btn {
  width: 100%;
  border: none;
  background: linear-gradient(135deg, #F6C445, #FFB037);
  color: #1F2023;
  font-weight: 900;
  font-size: 0.98rem;
  padding: 13px 18px;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(246, 196, 69, 0.38);
  transition: transform 0.2s;
}

.wish-submit-btn:hover { transform: translateY(-2px); }

.wish-save-tip {
  margin: 10px 0 0;
  font-size: 0.74rem;
  color: #6B7280;
  text-align: center;
}

.wish-board-wrap {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 18px;
  backdrop-filter: blur(8px);
}

.wish-board-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.wish-filter-btn {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #E8EEF7;
  font-size: 0.76rem;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
}

.wish-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 4px;
}

.wish-note-card {
  background: #FFF9EE;
  color: #2A2520;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  border-top: 4px solid var(--gold);
  cursor: pointer;
  transition: transform 0.2s;
}

.wish-note-card:hover { transform: translateY(-3px); }

.wish-note-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.wish-note-head img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.wish-note-author { font-weight: 800; font-size: 0.86rem; display: block; }
.wish-note-time { font-size: 0.7rem; color: #7C7368; }

.wish-note-text {
  margin: 0 0 10px;
  font-size: 0.86rem;
  line-height: 1.5;
}

.wish-note-reply {
  background: #F3EAD9;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.76rem;
  color: #4E4337;
}

/* 雪夜收尾合照 */
.finale-scene {
  position: relative;
  margin-top: 48px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.45);
}

.finale-banner-img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: center bottom;
}

.finale-caption {
  background: linear-gradient(180deg, rgba(18, 26, 46, 0.75) 0%, #121A2E 100%);
  padding: 16px 20px;
  text-align: center;
}

.finale-caption p {
  margin: 0;
  font-size: 0.96rem;
  color: #FCE8B2;
  font-weight: 600;
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: linear-gradient(180deg, #0B1429 0%, #080F20 100%);
  border-top: 1px solid rgba(183, 201, 230, 0.16);
  color: rgba(232, 240, 252, 0.82);
  padding: 40px 20px;
  text-align: center;
}

.footer-container {
  max-width: 1120px;
  margin: 0 auto;
}

.footer-logo-wrap {
  width: 160px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
}

.footer-logo-badge {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
}

.footer-logo {
  font-size: 1.15rem;
  font-weight: 900;
  color: #FFFFFF;
}

.footer-logo span { color: var(--gold); }

.footer-slogan {
  margin: 6px 0 18px;
  font-size: 0.88rem;
  color: rgba(214, 225, 242, 0.72);
}

.footer-members {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}

.member-chip {
  background: rgba(183, 201, 230, 0.08);
  border: 1px solid rgba(183, 201, 230, 0.2);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
}

.member-chip b { color: var(--gold); }

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.75rem;
  color: rgba(214, 225, 242, 0.5);
}

/* ==================== 悬浮 TOP 按钮 ==================== */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 90;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid rgba(196, 224, 255, 0.36);
  background: rgba(16, 29, 56, 0.9);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold);
  color: #1F2023;
}

.back-to-top small { font-size: 0.62rem; font-weight: 800; margin-top: 2px; }

/* ==================== 弹窗与灯箱 ==================== */
.modal-backdrop,
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 16, 28, 0.78);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal-backdrop[hidden],
.lightbox-backdrop[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 860px;
  max-height: 88vh;
  overflow-y: auto;
  background: #FDFBF7;
  color: var(--ink);
  border-radius: 22px;
  padding: 28px 24px 24px;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.45);
}

.modal-washi-tape {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 10px;
  background: repeating-linear-gradient(45deg, #B7C9E6, #B7C9E6 10px, #F6D7C6 10px, #F6D7C6 20px);
  border-radius: 0 0 8px 8px;
}

.modal-close,
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #D5CEC2;
  background: #FFFFFF;
  color: #272B36;
  font-weight: 800;
  cursor: pointer;
}

.modal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.modal-tab-btn {
  border: 1px solid #D6DEEC;
  background: #F4F6FA;
  color: #3E4658;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.modal-tab-btn.active {
  background: #273759;
  color: #FFFFFF;
  border-color: #273759;
}

.modal-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

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

.modal-subcard {
  background: #F6F4EF;
  border: 1px solid #E4DEC9;
  border-radius: 14px;
  padding: 12px;
}

.modal-subcard img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 8px;
}

.modal-subcard h4 { margin: 0 0 4px; font-size: 0.92rem; }
.modal-subcard p { margin: 0; font-size: 0.8rem; color: #5C6274; }

.meme-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meme-chip {
  background: #E8EEF7;
  color: #273759;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

/* 角色美图网格 & 主创团队的信 */
.beauty-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.beauty-card {
  border: 1px solid #E4DEC9;
  background: #F6F4EF;
  border-radius: 14px;
  padding: 10px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.beauty-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 10px 24px rgba(31, 32, 35, 0.12);
}

.beauty-card-thumb {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #E9E2D4;
  margin-bottom: 8px;
}

.beauty-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.beauty-card:hover .beauty-card-thumb img {
  transform: scale(1.04);
}

.beauty-card h4 {
  margin: 0 0 3px;
  font-size: 0.88rem;
  color: #1F2023;
}

.beauty-card p {
  margin: 0;
  font-size: 0.76rem;
  color: #5C6274;
  line-height: 1.45;
}

.team-letter-img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 4px 4px;
}

.team-letter-img {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  filter: drop-shadow(0 14px 26px rgba(31, 32, 35, 0.22));
}

@media (max-width: 720px) {
  .beauty-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-letter-card {
    padding: 20px 18px;
  }
}

/* 灯箱 */
.lightbox-backdrop {
  z-index: 220;
}

.lightbox-card {
  width: 100%;
  max-width: 1120px;
  max-height: 92vh;
  overflow-y: auto;
  background: #1C202B;
  color: #FFFFFF;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.lightbox-washi-header {
  position: relative;
  background: linear-gradient(90deg, #4B6091, #7C6BA0);
  padding: 14px 52px 14px 20px;
  font-weight: 800;
  font-size: 1rem;
}

.lightbox-close {
  top: 10px;
  right: 12px;
}

.lightbox-stage {
  position: relative;
  background: #0E121B;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.lightbox-stage img {
  max-height: 76vh;
  max-width: 100%;
  width: auto;
  border-radius: 10px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(20, 24, 36, 0.78);
  color: #FFFFFF;
  cursor: pointer;
}

.lightbox-nav.prev { left: 16px; }
.lightbox-nav.next { right: 16px; }

.lightbox-footer {
  padding: 12px 20px 18px;
  text-align: center;
}

.lightbox-desc-wrap {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: #E8EEF7;
}

.is-note-mode .lightbox-stage img {
  max-height: 52vh;
}

.lightbox-handwritten-note {
  max-width: 820px;
  margin: 4px auto 0;
  padding: 18px 24px;
  text-align: left;
  white-space: pre-line;
  color: #362B20;
  background-color: #FCF6E8;
  font-family: "Long Cang", "KaiTi", "STKaiti", "Kaiti SC", "FangSong", "DFKai-SB", cursive, serif;
  font-size: 1.24rem;
  line-height: 36px;
  letter-spacing: 0.03em;
  background-image: repeating-linear-gradient(
    transparent,
    transparent 35px,
    rgba(168, 144, 114, 0.18) 35px,
    rgba(168, 144, 114, 0.18) 36px
  );
  border-radius: 12px;
  border: 1px solid rgba(188, 162, 126, 0.45);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.lightbox-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
}

/* 角色身份卡纯图弹窗 */
.idcard-backdrop {
  position: fixed;
  inset: 0;
  z-index: 230;
  background: rgba(12, 16, 28, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.idcard-backdrop[hidden] {
  display: none;
}

.idcard-stage {
  position: relative;
  max-width: 860px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.idcard-img {
  max-width: 100%;
  max-height: 84vh;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.55));
}

.idcard-close {
  position: absolute;
  top: -16px;
  right: 4px;
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(24, 28, 40, 0.9);
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.idcard-close::after {
  content: "";
  position: absolute;
  inset: -16px;
}

.idcard-close:hover {
  background: var(--gold);
  color: #1F2023;
  border-color: var(--gold);
  transform: scale(1.06);
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 300;
  background: #1F2023;
  color: var(--gold);
  border: 1px solid rgba(246, 196, 69, 0.45);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.toast[hidden] { display: none; }

/* ==================== 响应式适配 (平板 & 手机端) ==================== */
@media (max-width: 980px) {
  .section-buddies {
    aspect-ratio: auto;
    min-height: 0;
  }

  .buddy-bg-media {
    position: relative;
    aspect-ratio: 16 / 9;
    margin-top: 24px;
  }

  .buddies-hud-bar {
    flex-direction: column;
    align-items: center;
    padding: 18px 16px 46px;
    background: linear-gradient(180deg, rgba(16, 24, 44, 0.25) 0%, rgba(16, 24, 44, 0.72) 100%);
  }

  .buddies-hud-bar .sticker-dock-wrap,
  .buddies-hud-bar .buddy-actions {
    opacity: 1;
  }

  .sticker-dock-wrap {
    width: 100%;
    max-width: 100%;
  }

  .buddy-actions {
    justify-content: center;
  }

  .journal-grid,
  .wish-layout {
    grid-template-columns: 1fr;
  }

  .hero-dock {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .dock-ticket {
    margin: -22px auto 4px;
    justify-content: center;
  }

  .dock-ticket-graphic {
    height: 112px;
  }

  .dock-divider { display: none; }

  .dock-meta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 820px) {
  .nav-links,
  .nav-cta-btn {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-badge-btn {
    top: 76px;
    right: 14px;
    left: auto;
    padding: 5px 8px;
  }

  .scrapbook-decor-top {
    flex-direction: column;
    text-align: center;
  }

  .wax-seal, .postage-stamp {
    display: none;
  }

  .wish-form-card {
    grid-template-columns: 1fr;
  }

  .wish-form-card .form-group:nth-of-type(1),
  .wish-form-card .form-group:nth-of-type(2),
  .wish-form-card .form-group:nth-of-type(3),
  .wish-form-card .wish-submit-btn,
  .wish-form-card .wish-save-tip {
    grid-column: 1;
  }
}

@media (max-width: 760px) {
  .scrapbook-collage-board {
    aspect-ratio: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 8px 0;
  }

  .collage-photo {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    transform: none;
  }

  .collage-tape,
  .prop-notes,
  .prop-pen {
    display: none;
  }

  .prop-wax {
    top: -10px;
    left: auto;
    right: 10px;
    width: 74px;
  }

  .prop-stamp {
    top: auto;
    bottom: 84px;
    left: 10px;
    width: 72px;
  }

  .prop-record {
    position: relative;
    right: auto;
    bottom: auto;
    width: 78%;
    margin: 2px auto 0;
    transform: rotate(1deg);
  }
}

@media (max-width: 600px) {
  .nav-logo-img {
    height: 38px;
  }

  .section-hero {
    min-height: 86vh;
    padding: 88px 14px 62px;
  }

  .dock-quick-pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .dock-pill {
    padding: 7px 6px;
    font-size: 0.78rem;
  }

  .buddy-specs,
  .tasks-mini-grid,
  .contract-box,
  .wish-cards-grid,
  .modal-grid-3,
  .modal-grid-2 {
    grid-template-columns: 1fr;
  }

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

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

  .polaroid-card {
    width: 132px;
  }

  .sticker-btn {
    width: 78px;
  }

  .sticker-btn img {
    height: 62px;
  }

  .modal-card {
    padding: 24px 16px 18px;
  }

  .back-to-top {
    right: 14px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}

@media (hover: none) {
  .buddies-hud-bar .sticker-dock-wrap,
  .buddies-hud-bar .buddy-actions {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .snow-canvas { display: none; }
}

/* ==================== 隐藏物品彩蛋 & 全屏烟花 Merry Christmas ==================== */
.section-hero,
.section-buddies,
.section-worldview,
.section-journal,
.section-wish-wall,
.site-footer {
  position: relative;
}

.easter-egg-item {
  position: absolute;
  z-index: 15;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  transform-origin: center center;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), filter 0.25s ease, opacity 0.25s ease;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.12));
  opacity: 0.45;
  user-select: none;
}

.easter-egg-item::after {
  content: "";
  position: absolute;
  inset: -10px;
}

.easter-egg-item img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.easter-egg-item.is-collected {
  transform: scale(1.55) translateY(-18px) !important;
  opacity: 0;
  pointer-events: none;
}

.egg-hud {
  position: fixed;
  left: 20px;
  bottom: 22px;
  z-index: 185;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(24, 30, 48, 0.86);
  border: 1px solid rgba(246, 196, 69, 0.45);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
}

.egg-hud[hidden] {
  display: none;
}

.egg-hud-slots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.egg-hud-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.25s, transform 0.25s;
}

.egg-hud-dot.is-found {
  background: var(--gold);
  transform: scale(1.18);
  box-shadow: 0 0 8px rgba(246, 196, 69, 0.8);
}

.fireworks-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: radial-gradient(circle at 50% 42%, rgba(12, 18, 42, 0.86) 0%, rgba(3, 5, 14, 0.94) 100%);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.65s ease;
}

.fireworks-overlay[hidden] {
  display: none;
}

.fireworks-overlay.is-fading {
  opacity: 0;
}

.fireworks-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.merry-stage {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px 28px;
  pointer-events: none;
  user-select: none;
}

.merry-line {
  font-family: "Great Vibes", "Alex Brush", "Brush Script MT", "Segoe Script", "Apple Chancery", cursive;
  font-weight: 400;
  line-height: 1.05;
  color: #FF5C6C;
  text-shadow:
    0 2px 0 #C42034,
    0 0 22px rgba(255, 224, 150, 0.82),
    0 6px 20px rgba(0, 0, 0, 0.55);
  padding: 0 0.28em;
  clip-path: inset(-30% 100% -32% -16%);
}

.merry-line-1 {
  font-size: clamp(3.8rem, 9.5vw, 7.2rem);
  transform: translateX(-0.18em) rotate(-2deg);
}

.merry-line-2 {
  font-size: clamp(4.2rem, 10.8vw, 8.2rem);
  margin-top: -0.14em;
  transform: rotate(-2deg);
}

.merry-stage.is-animating .merry-line-1 {
  animation: merryScriptWrite 1.35s cubic-bezier(0.32, 0.08, 0.24, 1) 0.25s forwards;
}

.merry-stage.is-animating .merry-line-2 {
  animation: merryScriptWrite 1.75s cubic-bezier(0.32, 0.08, 0.24, 1) 1.25s forwards;
}

.merry-sub {
  margin: 18px 0 0;
  color: rgba(255, 245, 220, 0.92);
  font-size: clamp(0.88rem, 1.8vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
  opacity: 0;
  transform: translateY(10px);
}

.merry-stage.is-animating .merry-sub {
  animation: merrySubFade 0.8s ease 2.65s forwards;
}

@keyframes merryScriptWrite {
  0% {
    clip-path: inset(-25% 100% -28% -12%);
  }
  100% {
    clip-path: inset(-25% -16% -28% -12%);
  }
}

@keyframes merrySubFade {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
