/* ════════════════════════════════════════════════════════════
   Munifa — native extraction of the Figma "产品网站设计"
   Design tokens mirror src/index.css (Tailwind v4 @theme)
   ════════════════════════════════════════════════════════════ */

:root {
  --gold: #C9A96E;
  --gold-light: #E8CFA0;
  --rose: #D4899A;
  --rose-light: #F0C4CF;
  --cream: #F5EDE0;
  --cream-dim: #C8B8A2;
  --ink: #0D0A08;
  --ink-warm: #1A1410;
  --ink-mid: #251E18;
  --ink-surface: #2E2520;
  --font-sans: 'Noto Sans', 'Noto Sans SC', 'Noto Sans Arabic', system-ui, sans-serif;
  --font-arabic: 'Noto Naskh Arabic', 'Noto Sans Arabic', serif;
  --font-serif: 'Noto Serif SC', 'Songti SC', 'STSong', 'SimSun', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--ink);
  color: var(--cream);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  font-style: normal !important;
  overflow: hidden;
}

* { font-style: normal !important; }

.font-arabic { font-family: var(--font-arabic); }
.font-sans { font-family: var(--font-sans); }

::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #C9A96E44; border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: #C9A96E88; }

[dir="rtl"] { direction: rtl; }
[dir="ltr"] { direction: ltr; }

/* ── Animations ───────────────────────────────────────────── */
@keyframes rotate-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes rotate-reverse { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; filter: blur(40px); }
  50% { opacity: 1; filter: blur(30px); }
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes veil-lift {
  0% { clip-path: inset(0 0 100% 0); opacity: 0; }
  100% { clip-path: inset(0 0 0% 0); opacity: 1; }
}

.animate-rotate-slow { animation: rotate-slow 30s linear infinite; }
.animate-rotate-reverse { animation: rotate-reverse 45s linear infinite; }
.animate-pulse-glow { animation: pulse-glow 4s ease-in-out infinite; }
.animate-fade-in-up { animation: fade-in-up 0.8s ease-out forwards; }
.animate-float { animation: float 6s ease-in-out infinite; }

.shimmer-text {
  background: linear-gradient(90deg, #C9A96E 0%, #F5EDE0 30%, #E8CFA0 50%, #F5EDE0 70%, #C9A96E 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
  font-style: normal;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.gold-border-glow { box-shadow: 0 0 0 1px #C9A96E44, 0 0 20px #C9A96E22; }

.card-flip-inner { transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); transform-style: preserve-3d; position: relative; }
.card-flip-inner.flipped { transform: rotateY(180deg); }
.card-face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.card-back { transform: rotateY(180deg); }

.progress-bar {
  background: linear-gradient(90deg, #C9A96E, #E8CFA0, #D4899A);
  background-size: 200% auto;
  animation: shimmer 2s linear infinite;
}

.sister-locked { filter: grayscale(0.7) brightness(0.5); transition: all 0.5s ease; }
.sister-locked:hover { filter: grayscale(0.4) brightness(0.65); }

/* ── App shell ────────────────────────────────────────────── */
#root {
  position: fixed; inset: 0;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  -webkit-user-select: none; user-select: none;
}

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: absolute; top: 0; inset-inline: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(to bottom, #0D0A08ee, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-logo { display: flex; align-items: baseline; gap: 8px; cursor: pointer; transition: opacity .2s; }
.nav-logo:hover { opacity: .8; }
.nav-logo .ar { font-family: var(--font-arabic); font-size: 20px; color: var(--gold-light); font-weight: 500; text-shadow: 0 0 16px #C9A96E44; }
.nav-logo .en { font-size: 10px; color: var(--gold); letter-spacing: 0.3em; text-transform: uppercase; font-weight: 600; }
.lang-btns { display: flex; align-items: center; gap: 4px; }
.lang-btn {
  font-size: 10px; padding: 4px 10px; border-radius: 999px;
  border: 1px solid #C9A96E22; color: #C9A96E44; background: transparent;
  cursor: pointer; transition: all .2s; font-family: var(--font-sans);
}
.lang-btn:hover { color: #C9A96E66; }
.lang-btn.active { border-color: var(--gold); color: var(--gold); }

/* ── Chapter dots ─────────────────────────────────────────── */
.chapter-dots {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  z-index: 20; display: flex; flex-direction: column; gap: 8px;
}
.chapter-dots button {
  width: 24px; height: 24px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-size: 7px; background: #C9A96E0F; color: #C9A96E44;
  border: none; cursor: pointer; transition: all .25s;
}
.chapter-dots button:hover { background: #C9A96E1A; }
.chapter-dots button.active { background: var(--gold); color: var(--ink); transform: scale(1.1); }

/* ── Slides ───────────────────────────────────────────────── */
.slide {
  position: absolute; inset: 0;
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
  opacity: 0; transform: scale(.97) translateY(8px);
  pointer-events: none;
}
.slide.active { opacity: 1; transform: scale(1) translateY(0); pointer-events: auto; }

.chapter-tag {
  font-size: 12px; color: var(--gold); letter-spacing: 0.32em;
  text-transform: uppercase; margin: 0; font-weight: 500;
}
/* 四幕统一的「第X幕」标签：盲盒/档位在各自 head 顶部，世家定位到海报顶部（导航栏下方）；Hero 在品牌块首行（均在标题上方） */
.story-chapter { position: absolute; top: 60px; left: 0; right: 0; display: flex; justify-content: center; z-index: 7; }
.story-chapter .chapter-tag { background: #0D0A08B8; padding: 6px 18px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid #C9A96E22; }
.centered { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 0 24px; text-align: center; }
/* 提升到背景层之上：否则静态内容（tagline / Munifa / CTA）会被 hero-bg 盖住 */
.z-top { position: relative; z-index: 5; }

/* ── Arrows ───────────────────────────────────────────────── */
.arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: 999px; color: #C9A96E55; background: transparent;
  border: none; cursor: pointer; font-size: 18px;
  transition: all .2s;
}
.arrow:hover { color: var(--gold); background: #C9A96E0A; }
.arrow.left { left: 12px; }
.arrow.right { right: 48px; }
@media (min-width: 768px) { .arrow.right { right: 56px; } }

/* ── Hero (CH0) ───────────────────────────────────────────── */
/* 底层背景：阿拉伯女性闭眼特写（沉睡待醒）· 占满上半屏 */
/* 底层背景：阿拉伯女性闭眼特写（沉睡待醒）· 占满上半屏 · --hb 控制朦胧度（移动端减淡） */
.hero-bg { position: absolute; top: 0; left: 0; right: 0; height: 62%; overflow: hidden; --hb: 0.4px; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 42%;
  filter: brightness(.96) saturate(.8) contrast(.94) blur(var(--hb));
  animation: heroBreath 16s ease-in-out infinite;
}
@keyframes heroBreath {
  0%, 100% { transform: scale(1.04) translateY(0); }
  50% { transform: scale(1.09) translateY(-6px); }
}
/* 眼睛区柔和可见、顶部压暗护倒计时、底部渐深承接文字内容 */
.hero-bg .veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, #0D0A0873 0%, transparent 16%, transparent 62%, #0D0A08d9 80%, #0D0A08 94%),
    radial-gradient(ellipse 62% 42% at 50% 46%, transparent 50%, #0D0A0855 100%);
}
/* 面纱雾层：覆盖全画面（含眼面）的暖色轻纱，让整幅均匀朦胧、不只周边 */
.hero-bg .veil::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 78% 88% at 50% 46%, #F4E8CC16 0%, #F4E8CC10 44%, #F4E8CC0a 70%, #F4E8CC06 100%),
    linear-gradient(115deg, #F4E8CC08 0%, #F4E8CC11 26%, #F4E8CC0b 50%, #F4E8CC13 74%, #F4E8CC08 100%);
  backdrop-filter: blur(0.5px) saturate(.96) brightness(1.02);
  -webkit-backdrop-filter: blur(0.5px) saturate(.96) brightness(1.02);
  animation: veilDrift 14s ease-in-out infinite;
  /* 雾层底部渐隐：让压暗渐变透出，消除图片带下缘的生硬接缝 */
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 96%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 96%);
}
@keyframes veilDrift {
  0%, 100% { opacity: .85; transform: translateX(0) scale(1); }
  50% { opacity: 1; transform: translateX(-1.5%) scale(1.03); }
}
.octa-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.hero-title { font-family: var(--font-arabic); font-size: 54px; font-weight: 300; color: var(--gold-light); line-height: 1; text-shadow: 0 0 60px #C9A96E99; }
@media (min-width: 768px) { .hero-title { font-size: 66px; } }
.hero-anisa { font-family: var(--font-sans); font-size: 14px; font-weight: 300; color: var(--gold); letter-spacing: .45em; text-transform: uppercase; }
@media (min-width: 768px) { .hero-anisa { font-size: 16px; } }
/* 品牌行：مُنِيفة + Munifa 同排紧凑呈现 */
.brand-row { display: flex; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.hero-tagline { font-family: var(--font-sans); font-size: 24px; letter-spacing: .04em; margin-bottom: 0; max-width: 640px; }
@media (min-width: 768px) { .hero-tagline { font-size: 27px; } }
.hero-brand { margin-bottom: 24px; }
.hero-brand .hero-tagline {
  /* 覆盖 shimmer 金渐变：实色暖白 + 深色投影，保证在亮部背景（眼部高光）上清晰可读 */
  background: none;
  -webkit-background-clip: border-box; background-clip: border-box;
  -webkit-text-fill-color: #F8F0DE; color: #F8F0DE; animation: none; font-weight: 400;
  text-shadow: 0 1px 4px #0D0A08, 0 2px 16px #0D0A08, 0 0 34px #0D0A08D9;
}
.hero-sub { color: var(--cream-dim); font-size: 14px; margin-bottom: 16px; max-width: 512px; }

.countdown {
  display: flex; align-items: center; gap: 20px; padding: 14px 28px; margin-bottom: 20px;
  border-radius: 16px; border: 1px solid #C9A96E18; background: #1A141077; backdrop-filter: blur(20px);
}
@media (min-width: 768px) { .countdown { gap: 32px; } }
.countdown .unit { display: flex; flex-direction: column; align-items: center; }
.countdown .num { font-family: var(--font-sans); font-size: 30px; color: var(--gold-light); font-variant-numeric: tabular-nums; text-shadow: 0 0 20px #C9A96E44; }
@media (min-width: 768px) { .countdown .num { font-size: 40px; } }
.countdown .lab { font-size: 10px; color: #C9A96E77; margin-top: 2px; }
.countdown .sep { color: #C9A96E2A; font-size: 24px; }
.reveal-line { font-size: 10px; color: #C9A96E44; letter-spacing: 0.2em; margin-bottom: 20px; }
.cta-row { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .cta-row { flex-direction: row; } }
.btn-primary {
  padding: 16px 52px; border-radius: 14px; font-size: 18px; font-weight: 600; letter-spacing: 0.24em;
  color: var(--ink); background: linear-gradient(135deg, #C9A96E, #E8CFA0); border: none; cursor: pointer;
  transition: all .2s; box-shadow: 0 8px 30px #C9A96E44; font-family: var(--font-sans);
}
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost {
  padding: 12px 32px; border-radius: 12px; font-size: 14px; letter-spacing: 0.2em;
  color: var(--gold); background: transparent; border: 1px solid #C9A96E33; cursor: pointer; transition: all .2s;
  font-family: var(--font-sans);
}
.btn-ghost:hover { background: #C9A96E0A; }

/* ── Section headings ──────────────────────────────────────── */
.sec-title { font-family: var(--font-sans); font-weight: 300; color: var(--gold-light); }
@media (min-width: 768px) { .sec-title { font-size: 36px; } }
.sec-sub { color: var(--cream-dim); font-size: 14px; margin-top: 8px; }

/* ── Ten works (CH2, legacy) ──────────────────────────────── */
.works-wrap { position: relative; z-index: 10; display: flex; flex-direction: column; height: 100%; padding: 64px 16px 16px; }
@media (min-width: 768px) { .works-wrap { padding: 64px 40px 16px; } }
.works-head { text-align: center; margin-bottom: 16px; flex-shrink: 0; }
.works-body { flex: 1; display: flex; flex-direction: column; gap: 16px; min-height: 0; }
@media (min-width: 768px) { .works-body { flex-direction: row; } }
.works-strip {
  display: flex; gap: 6px; overflow-x: auto; flex-shrink: 0;
  padding-bottom: 4px;
}
@media (min-width: 768px) { .works-strip { flex-direction: column; overflow-y: auto; overflow-x: hidden; width: 160px; } }
.works-strip::-webkit-scrollbar { display: none; }
.works-strip button {
  display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 12px;
  border: 1px solid transparent; background: transparent; cursor: pointer; text-align: left; flex-shrink: 0;
  transition: all .2s; color: var(--cream);
}
.works-strip button:hover { background: var(--ink-warm); }
.works-strip button.sel { border-color: #C9A96E44; background: var(--ink-mid); }
.works-strip .tp { width: 32px; height: 40px; border-radius: 8px; overflow: hidden; position: relative; background: var(--ink-warm); flex-shrink: 0; }
.works-strip .tp img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.works-strip .tn { font-family: var(--font-arabic); font-size: 14px; color: var(--gold-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.works-strip .tt { font-size: 8px; letter-spacing: .05em; }
.detail-panel {
  flex: 1; border-radius: 16px; border: 1px solid #C9A96E1A; background: var(--ink-warm);
  overflow: hidden; display: flex; flex-direction: column; min-height: 0;
}
@media (min-width: 768px) { .detail-panel { flex-direction: row; } }
.detail-portrait { position: relative; height: 192px; overflow: hidden; flex-shrink: 0; }
@media (min-width: 768px) { .detail-portrait { width: 208px; height: auto; } }
.detail-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.detail-portrait .serial { position: absolute; bottom: 8px; inset-inline: 8px; text-align: center; font-size: 8px; color: #C9A96E55; font-family: monospace; }
.detail-info { flex: 1; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.detail-info::-webkit-scrollbar { display: none; }
.detail-name { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.detail-name .ar { font-family: var(--font-arabic); font-size: 32px; color: var(--gold-light); line-height: 1.1; }
.detail-name .en { font-size: 12px; }
.detail-name .meta { text-align: end; flex-shrink: 0; margin-inline-start: 12px; }
.detail-name .meta .tier { font-size: 10px; color: var(--cream-dim); }
.detail-name .meta .nfc { font-size: 9px; color: #C9A96E33; font-family: monospace; margin-top: 2px; }
.pct-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--cream-dim); margin-bottom: 6px; }
.pct-track { height: 4px; border-radius: 999px; background: var(--ink-mid); overflow: hidden; }
.pct-fill { height: 100%; border-radius: 999px; transition: all .7s; }
.price-grid { display: flex; gap: 12px; margin-top: 12px; margin-bottom: 12px; }
.price-box { flex: 1; border-radius: 12px; background: var(--ink-mid); padding: 10px; text-align: center; }
.price-box .v { font-size: 14px; color: var(--gold-light); }
.price-box .l { font-size: 9px; color: var(--cream-dim); margin-top: 2px; }
.sealed-note { display: flex; align-items: center; gap: 8px; padding: 16px 12px; border-radius: 12px; background: var(--ink); border: 1px solid #C9A96E08; margin-bottom: 12px; }
.sealed-note span { font-size: 20px; color: #C9A96E18; flex-shrink: 0; }
.sealed-note p { font-size: 12px; color: #C9A96E2A; }
.reserve-btn {
  width: 100%; padding: 10px; border-radius: 12px; font-size: 14px; font-weight: 500;
  letter-spacing: 0.2em; border: none; cursor: pointer; transition: all .2s; color: var(--ink);
  font-family: var(--font-sans);
}
.reserve-btn:hover { filter: brightness(1.1); }
.reserve-btn.locked { color: #C9A96E18; border: 1px solid #C9A96E08; background: transparent; cursor: not-allowed; }

/* ── Memory cards (CH3) ───────────────────────────────────── */
.mem-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
@media (min-width: 768px) { .mem-grid { gap: 32px; } }
.mem-card { position: relative; width: 160px; height: 224px; cursor: pointer; flex-shrink: 0; }
@media (min-width: 768px) { .mem-card { width: 192px; height: 256px; } }
.mem-inner { width: 100%; height: 100%; transition: transform .85s cubic-bezier(.2,.85,.25,1.12); transform-style: preserve-3d; }
.mem-inner.flipped { transform: rotateY(180deg); }
.mem-face {
  position: absolute; inset: 0; border-radius: 16px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
.mem-front { border: 1px solid #C9A96E22; background: var(--ink-warm); box-shadow: 0 0 20px #C9A96E08; }
.mem-back { border: 1px solid #C9A96E55; transform: rotateY(180deg); background: linear-gradient(160deg, #251E18, #1A1410); box-shadow: 0 0 40px #C9A96E18, inset 0 1px 0 #C9A96E33; }
.mem-front .star { font-size: 32px; color: #C9A96E22; }
.mem-front .t1 { font-size: 10px; color: #C9A96E44; letter-spacing: 0.2em; text-transform: uppercase; }
.mem-front .t2 { font-size: 9px; color: #C9A96E2A; }
.mem-back .ar { font-family: var(--font-arabic); font-size: 60px; color: var(--gold-light); text-shadow: 0 0 30px #C9A96E88; }
.mem-back .lbl { font-family: var(--font-sans); font-size: 18px; color: var(--gold); }
.mem-back .un { font-size: 9px; color: #C9A96E55; letter-spacing: 0.2em; margin-top: 4px; }

/* ── Tiers (CH4) ──────────────────────────────────────────── */
.tiers-wrap { position: relative; z-index: 10; display: flex; flex-direction: column; height: 100%; padding: 64px 16px 56px; max-width: 1024px; margin: 0 auto; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; }
@media (min-width: 768px) { .tiers-wrap { padding: 64px 40px 56px; } }
.tiers-head { text-align: center; margin-bottom: 16px; flex-shrink: 0; }
/* 等宽封面流：三卡同宽，居中卡最上层完整显示，两侧卡等宽半透明、被居中卡部分遮挡（重叠+裁切），点击/自动轮换位置 */
.tiers-grid { position: relative; flex: 1 1 auto; min-height: 360px; overflow: hidden; --tw: 220px; --th: 340px; }
@media (min-width: 768px) { .tiers-grid { --tw: 300px; --th: 440px; min-height: 440px; } }
.tier-card {
  position: absolute; top: 50%; left: 50%;
  width: var(--tw); height: var(--th);
  transform: translate(-50%, -50%) translateX(var(--dx, 0%));
  z-index: var(--z, 1); opacity: var(--o, .5);
  border-radius: 16px; border: 1px solid #C9A96E18; background: var(--ink-warm);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .55s cubic-bezier(.4,0,.2,1), opacity .55s, z-index 0s;
  cursor: pointer;
}
.tier-card.active { border-color: #C9A96E44; box-shadow: 0 24px 70px #00000066; }
.tier-card.featured { border-color: #D4899A44; background: linear-gradient(160deg, #2A1E20, #1A1410); box-shadow: 0 0 50px #D4899A15; }
.tier-strip { position: relative; display: flex; height: 64px; flex-shrink: 0; overflow: hidden; }
.tier-strip .si { flex: 1; position: relative; overflow: hidden; }
.tier-strip .si img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; filter: brightness(.32) saturate(.25) blur(12px); transform: scale(1.45); }
.tier-strip .si .ov { position: absolute; inset: 0; }
.strip-veil { position: absolute; inset: 0; background: rgba(12, 9, 7, .42); }
.strip-seal { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #C9A96E99; text-shadow: 0 0 16px rgba(0,0,0,.8); letter-spacing: .3em; }
.tier-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.tier-ar { font-family: var(--font-arabic); font-size: 20px; margin-bottom: 2px; }
.tier-zh { font-size: 12px; color: var(--cream-dim); margin-bottom: 12px; }
.tier-price { font-size: 24px; font-weight: 300; color: var(--gold-light); }
.tier-price .u { font-size: 10px; color: var(--cream-dim); margin-inline-start: 4px; }
.tier-dep { font-size: 12px; color: var(--cream-dim); margin-top: 4px; }
.tier-dep .v { font-weight: 600; }
.tier-refund { font-size: 9px; color: #C9A96E33; margin-top: 4px; margin-bottom: 12px; }
.tier-svcs { list-style: none; flex: 1; margin-bottom: 12px; }
.tier-svcs li { font-size: 11px; color: var(--cream-dim); display: flex; align-items: flex-start; gap: 6px; margin-bottom: 4px; }
.tier-svcs li .mk { color: #C9A96E; font-size: 9px; flex-shrink: 0; margin-top: 2px; }
.tiers-foot { text-align: center; font-size: 9px; color: #C9A96E33; letter-spacing: .1em; flex-shrink: 0; margin-top: 10px; }

/* 第四幕 · 揭面文案置顶（用户指定）：小像 + 标题 + 倒计时 */
.tiers-final { flex-shrink: 0; margin: 2px 0 4px; text-align: center; }
.tf-main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.mini-row.tf-minis { margin-bottom: 0; max-width: none; gap: 6px; }
.mini-row.tf-minis button { width: 34px; height: 42px; border-radius: 8px; }
.mini-row.tf-minis button img { filter: brightness(.28) saturate(.2) blur(8px); transform: scale(1.3); }
.mini-row.tf-minis button .ov span { font-size: 9px; color: #C9A96E77; }
.tf-info { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.tf-title { font-size: 24px; font-weight: 500; color: var(--cream); letter-spacing: .12em; text-shadow: 0 0 24px #C9A96E55; white-space: nowrap; }
.cta-countdown.tf-count { margin-bottom: 0; font-size: 22px; gap: 10px; }
.tiers-bottom { text-align: center; margin: 22px 0 2px; flex-shrink: 0; }

/* 手机端第四幕：等宽封面流 + 内容压缩，整幕一屏展示不滚动 */
@media (max-width: 767px) {
  .tiers-wrap { padding: 16px 10px 14px; overflow-y: auto; }
  .tiers-head { margin-bottom: 0; }
  .chapter-tag { margin-bottom: 4px; }
  .tiers-grid { --tw: 196px; --th: 320px; min-height: 320px; }
  .tiers-wrap .tier-strip { height: 24px; }
  .tiers-wrap .strip-seal { font-size: 9px; }
  .tier-body { padding: 7px 6px 8px; }
  .tier-ar { font-size: 11px; margin-bottom: 1px; }
  .tier-zh { font-size: 8px; margin-bottom: 3px; }
  .tier-price { font-size: 13px; }
  .tier-price .u { font-size: 7px; }
  .tier-dep { font-size: 8px; margin-top: 2px; }
  .tier-refund { font-size: 7px; margin: 1px 0 5px; }
  .tier-svcs { margin-bottom: 6px; }
  .tier-svcs li { font-size: 8px; gap: 3px; margin-bottom: 2px; }
  .tier-svcs li .mk { font-size: 7px; }
  .reserve-btn { padding: 6px 2px; font-size: 9px; white-space: nowrap; }
  .tf-main { gap: 3px; }
  .tf-title { font-size: 13px; white-space: normal; letter-spacing: .03em; }
  .cta-countdown.tf-count { font-size: 11px; gap: 5px; }
  .mini-row.tf-minis { gap: 3px; flex-wrap: nowrap; }
  .mini-row.tf-minis button { width: 16px; height: 20px; }
  .tiers-bottom { margin: 6px 0 2px; }
  .sec-title { font-size: 17px; }
  .tiers-foot { margin-top: 4px; }
}

/* ── Final CTA (CH5) ──────────────────────────────────────── */
.cta-wrap { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 0 24px; text-align: center; max-width: 672px; margin: 0 auto; }
.mini-row { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; max-width: 384px; margin-bottom: 24px; }
.mini-row button { position: relative; width: 40px; height: 48px; border-radius: 8px; overflow: hidden; opacity: .5; border: 1px solid #C9A96E11; cursor: pointer; transition: opacity .2s; }
.mini-row button:hover { opacity: .9; }
.mini-row button img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; filter: brightness(.4) saturate(.3) blur(3px); }
.mini-row button .ov { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.mini-row button .ov span { font-family: var(--font-arabic); font-size: 10px; color: #C9A96E44; }
.cta-countdown { display: flex; align-items: center; gap: 12px; color: var(--gold-light); margin-bottom: 32px; font-family: var(--font-sans); font-variant-numeric: tabular-nums; font-size: 16px; text-shadow: 0 0 20px #C9A96E44; }
.cta-countdown .cs { color: #C9A96E22; }
.tier-cta-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; width: 100%; max-width: 560px; }
@media (min-width: 640px) { .tier-cta-row { flex-direction: row; } }
.tier-cta-row button {
  flex: 1; padding: 12px; border-radius: 12px; font-size: 14px; font-weight: 500; letter-spacing: .1em;
  border: none; cursor: pointer; color: var(--ink); transition: all .2s; font-family: var(--font-sans);
}
.tier-cta-row button:hover { filter: brightness(1.1); }
.cta-note { font-size: 9px; color: #C9A96E33; max-width: 320px; }

/* ── WhatsApp ─────────────────────────────────────────────── */
.whatsapp {
  position: fixed; bottom: 20px; left: 20px; z-index: 30;
  width: 40px; height: 40px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  color: #fff; background: linear-gradient(135deg, #25D366, #128C7E); box-shadow: 0 4px 20px #25D36655;
  cursor: pointer; transition: transform .2s;
}
.whatsapp:hover { transform: scale(1.1); }

/* ── Modal ────────────────────────────────────────────────── */
.modal-back { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.85); backdrop-filter: blur(8px); }
.modal-card { position: relative; width: 100%; max-width: 384px; border-radius: 24px; border: 1px solid #C9A96E33; background: var(--ink-warm); overflow: hidden; box-shadow: 0 0 60px #C9A96E18; }
.modal-portrait { position: relative; height: 192px; overflow: hidden; }
.modal-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.modal-portrait .grad { position: absolute; inset: 0; background: linear-gradient(to top, #1A1410 0%, transparent 60%); }
.modal-close { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 999px; background: #0D0A0888; color: var(--gold); border: none; cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.modal-close:hover { background: #C9A96E22; }
.modal-name { position: absolute; bottom: 16px; inset-inline: 0; text-align: center; }
.modal-name .ar { font-family: var(--font-arabic); font-size: 32px; color: var(--gold-light); text-shadow: 0 0 30px #C9A96E88; }
.modal-name .en { font-size: 14px; }
.modal-body { padding: 20px; }
.modal-prices { border-radius: 12px; background: var(--ink-mid); padding: 16px; margin-bottom: 16px; }
.modal-prices .row { display: flex; justify-content: space-between; font-size: 14px; }
.modal-prices .row + .row { margin-top: 8px; }
.modal-prices .div { height: 1px; background: #C9A96E11; margin: 8px 0; }
.modal-prices .r { font-size: 9px; color: #C9A96E66; text-align: center; }
.modal-methods { margin-bottom: 16px; }
.modal-methods p { font-size: 12px; color: var(--cream-dim); display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.modal-methods p .mk { color: var(--gold); font-size: 9px; }
.modal-reserve { width: 100%; padding: 14px; border-radius: 12px; font-size: 14px; font-weight: 500; letter-spacing: .2em; color: var(--ink); background: linear-gradient(135deg, #C9A96Ebb, #C9A96E); border: none; cursor: pointer; transition: all .2s; font-family: var(--font-sans); }
.modal-reserve:hover { filter: brightness(1.1); }
.modal-footnote { font-size: 9px; color: #C9A96E33; text-align: center; margin-top: 8px; }

/* ── Hero copy (CH0) ──────────────────────────────────────── */
.hero-lead { color: var(--cream); font-weight: 300; font-size: 14px; line-height: 1.6; max-width: 480px; margin-bottom: 18px; letter-spacing: .02em; }
/* 首幕：闭眼特写为主视觉，文案与价值模块上移至页面中部 */
#slide-0 .centered { justify-content: center; padding-top: 168px; padding-bottom: 20px; }
.hero-countdown-top {
  position: absolute; top: 56px; left: 50%; transform: translateX(-50%); z-index: 20;
  text-align: center; padding: 16px 44px 18px; border-radius: 20px;
  background: linear-gradient(160deg, #2A2119CC, #17120DF2);
  border: 1.5px solid #C9A96E88; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 0 70px #C9A96E4D, 0 10px 40px #000000aa, inset 0 1px 0 #C9A96E55;
}
.hcd-label { font-size: 12px; color: #E8CFA0DD; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 10px; white-space: nowrap; }
@media (max-width: 560px) { .hcd-tz { display: none; } }
.hcd-row { display: flex; align-items: flex-start; justify-content: center; gap: 16px; }
.hcd-unit { display: flex; flex-direction: column; align-items: center; min-width: 62px; }
.hcd-num { font-family: var(--font-sans); font-size: 48px; font-weight: 600; color: #F6E3B8; line-height: 1; font-variant-numeric: tabular-nums; text-shadow: 0 0 32px #C9A96ECC, 0 0 70px #C9A96E66; }
.hcd-lab { font-size: 11px; color: #C9A96EAA; margin-top: 6px; letter-spacing: .14em; }
.hcd-sep { font-size: 34px; color: #C9A96E77; line-height: 1; padding-top: 6px; }
/* 核心价值 · 五大亮点模块 —— 鎏金镶卡，横排 5 联，依次揭幕 */
.value-grid {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px; width: 100%; max-width: 1180px; margin: 0 auto 24px;
}
/* 卡阵背后的柔光聚光区 */
.value-grid::before {
  content: ''; position: absolute; inset: -30px -20px; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, #C9A96E0d, transparent 72%);
}
.value-item {
  position: relative; text-align: start; padding: 34px 16px 14px;
  border-radius: 15px; overflow: hidden; isolation: isolate;
  background: linear-gradient(168deg, #262019f2 0%, #18120df5 100%);
  border: 1px solid #C9A96E38;
  box-shadow: 0 12px 34px #00000080, inset 0 1px 0 #C9A96E2b, inset 0 0 30px #C9A96E07;
  opacity: 0; transform: translateY(16px);
  transition: transform .25s ease, box-shadow .25s ease;
}
.value-item:hover { transform: translateY(-3px); box-shadow: 0 16px 40px #00000099, 0 0 26px #C9A96E1c, inset 0 1px 0 #C9A96E38; }
/* 卡顶鎏金压边线 */
.value-item::before {
  content: ''; position: absolute; top: 0; left: 14%; right: 14%; height: 1.5px;
  background: linear-gradient(90deg, transparent, #E8CFA0aa, transparent);
}
/* 左上角柔光晕 */
.value-item::after {
  content: ''; position: absolute; width: 130px; height: 130px; top: -64px; inset-inline-start: -44px;
  background: radial-gradient(circle, #C9A96E17, transparent 70%); pointer-events: none;
}
.value-item.reveal { animation: vfade .62s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes vfade {
  0%   { opacity: 0; transform: translateY(16px) scale(.97); filter: brightness(2.2); }
  55%  { opacity: 1; filter: brightness(1.5); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: brightness(1); }
}
/* 錾刻序号：卡内左上，入场烙印 */
.vi-num {
  position: absolute; top: 8px; inset-inline-start: 12px;
  font-family: var(--font-sans); font-weight: 200; font-size: 30px; line-height: 1;
  letter-spacing: .04em; color: #C9A96E1a;
  -webkit-text-stroke: 1px #C9A96E66;
}
.value-item.reveal .vi-num { animation: numStamp .85s cubic-bezier(.2,.8,.3,1) both; }
@keyframes numStamp {
  0%   { opacity: 0; transform: scale(1.65); filter: blur(6px); }
  60%  { opacity: 1; filter: blur(0) brightness(1.9); }
  100% { opacity: 1; transform: scale(1); filter: brightness(1); }
}
/* 徽记：右上角呼吸金徽 */
.vi-ic {
  position: absolute; top: 10px; inset-inline-end: 12px;
  font-size: 17px; color: var(--gold);
  text-shadow: 0 0 12px #C9A96E99;
  animation: icBreath 3.4s ease-in-out infinite;
}
@keyframes icBreath { 0%, 100% { text-shadow: 0 0 8px #C9A96E55; } 50% { text-shadow: 0 0 18px #C9A96Ebb; } }
/* 标题：鎏金渐变流光 */
.vi-t {
  position: relative; display: block; margin-bottom: 5px;
  font-size: 18.5px; font-weight: 600; letter-spacing: .03em;
  background: linear-gradient(100deg, #a98a52 0%, #F2E4C2 40%, #EBD5A6 52%, #F2E4C2 64%, #a98a52 100%);
  background-size: 240% auto; background-position: 0% center;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.value-item.reveal .vi-t { animation: viSheen 1.5s ease-out .12s both; }
@keyframes viSheen { from { background-position: 130% center; } to { background-position: 0% center; } }
.vi-b { position: relative; font-size: 13.5px; color: var(--cream-dim); line-height: 1.7; }
.vi-note { margin-top: 8px; font-family: var(--font-sans); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); opacity: .72; }
/* 矮视口压缩：保证首幕单屏完整展示（倒计时+标语+8卡+CTA 一屏放下） */
@media (max-height: 920px) {
  #slide-0 .centered { padding-top: 138px; padding-bottom: 12px; }
  .hero-bg { height: 54%; }
  .hero-title { font-size: 40px; }
  .brand-row { gap: 10px; margin-bottom: 8px; }
  .hero-anisa { font-size: 12px; }
  .hero-tagline { font-size: 20px; }
  .hero-brand { margin-bottom: 12px; }
  .chapter-tag { margin-bottom: 10px; font-size: 10px; }
  .hero-countdown-top { top: 36px; padding: 9px 26px 11px; border-radius: 14px; }
  .hcd-label { font-size: 10px; margin-bottom: 5px; letter-spacing: .22em; }
  .hcd-row { gap: 10px; }
  .hcd-num { font-size: 30px; }
  .hcd-lab { font-size: 9px; margin-top: 3px; }
  .hcd-sep { font-size: 20px; padding-top: 3px; }
  .hcd-unit { min-width: 42px; }
  .value-grid { gap: 11px; margin-bottom: 14px; }
  .value-item { padding: 28px 12px 10px; border-radius: 12px; }
  .vi-num { font-size: 24px; top: 5px; inset-inline-start: 9px; }
  .vi-ic { font-size: 14px; top: 7px; }
  .vi-t { font-size: 15px; margin-bottom: 3px; }
  .vi-b { font-size: 11.5px; line-height: 1.6; }
  .vi-note { font-size: 8px; margin-top: 5px; }
  .btn-primary { padding: 12px 40px; font-size: 15px; }
  /* 合并后的第四幕（档位+揭面）同步压缩，保证一屏 */
  .tiers-wrap { padding: 54px 40px 36px; }
  .tiers-head { margin-bottom: 12px; }
  .tier-strip { height: 46px; }
  .strip-seal { font-size: 15px; }
  .tiers-final { margin-top: 16px; }
  .tf-title { font-size: 19px; }
  .cta-countdown.tf-count { font-size: 17px; }
  .mini-row.tf-minis button { width: 28px; height: 35px; }
  .tier-body { padding: 12px 14px; }
  .tier-ar { font-size: 17px; }
  .tier-zh { margin-bottom: 8px; }
  .tier-price { font-size: 20px; }
  .tier-refund { margin-bottom: 8px; }
  .tier-svcs li { font-size: 10px; margin-bottom: 3px; }
  .reserve-btn { padding: 10px; font-size: 12px; }
}
/* 极矮视口：进一步压缩首幕 */
@media (max-height: 780px) {
  #slide-0 .centered { padding-top: 120px; }
  .hero-title { font-size: 33px; }
  .hero-tagline { font-size: 17px; }
  .hero-countdown-top { top: 30px; padding: 7px 20px 9px; }
  .hcd-num { font-size: 24px; }
  .hcd-sep { font-size: 16px; }
  .value-item { padding: 24px 10px 9px; }
  .vi-t { font-size: 13.5px; }
  .vi-b { font-size: 10.8px; line-height: 1.55; }
  .vi-note { font-size: 7.5px; margin-top: 4px; }
  .btn-primary { padding: 10px 34px; font-size: 14px; }
}
/* 平板：价值卡回退 2 列，8 卡呈 4×2 平衡 */
@media (max-width: 960px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
/* 窄屏：价值卡 2 列（第 5 张跨两列），品牌与闭眼区压缩 */
@media (max-width: 640px) {
  .hero-bg { height: 52%; --hb: 0.4px; }
  .hero-bg .veil::after { backdrop-filter: blur(0.8px) saturate(.94) brightness(1.02); -webkit-backdrop-filter: blur(0.8px) saturate(.94) brightness(1.02); }
  #slide-0 .centered { padding-top: 128px; padding-bottom: 14px; justify-content: flex-start; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .hero-countdown-top { top: 44px; padding: 9px 20px 11px; }
  .hcd-num { font-size: 27px; }
  .hcd-unit { min-width: 38px; }
  .hcd-sep { font-size: 19px; }
  .hcd-label { font-size: 9px; }
  .hcd-lab { font-size: 8px; }
  .hero-title { font-size: 36px; }
  .hero-anisa { font-size: 12px; letter-spacing: .3em; }
  .brand-row { gap: 8px; margin-bottom: 6px; }
  .hero-tagline { font-size: 17px; }
  .hero-brand { margin-bottom: 14px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px; }
  .value-item { padding: 30px 12px 11px; }
  .value-item { padding: 32px 12px 12px; }
  .vi-num { font-size: 23px; top: 6px; inset-inline-start: 10px; }
  .vi-ic { font-size: 14px; top: 7px; }
  .vi-t { font-size: 14.5px; }
  .vi-b { font-size: 11px; }
  .btn-primary { padding: 12px 36px; font-size: 14px; }
}

/* ── Blind box (CH3) ─────────────────────────────────────── */
.blind-wrap { position: relative; z-index: 10; display: flex; flex-direction: column; height: 100%; max-width: 1040px; margin: 0 auto; padding: 48px 28px 60px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.blind-head { text-align: center; margin-bottom: 18px; flex-shrink: 0; }
.blind-grid {
  flex: 1; display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(5, 1fr);
  gap: 12px; min-height: 0; overflow: hidden; align-content: center; justify-content: center;
}
@media (min-width: 560px) { .blind-grid { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); } }
@media (min-width: 820px) { .blind-grid { grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(2, 1fr); gap: 14px; } }
/* ≤819px：礼盒改自然高度网格，整幕可滚动，杜绝顶部裁切遮挡 */
@media (max-width: 819.98px) {
  .blind-wrap { padding: 44px 20px 48px; }
  .blind-head { margin-bottom: 12px; }
  .blind-grid { flex: none; grid-template-rows: none; grid-auto-rows: 252px; gap: 12px; overflow: visible; align-content: start; justify-content: stretch; }
  .blind-hint { margin-top: 16px; }
}
.blind-box { perspective: 800px; cursor: pointer; width: 100%; height: 100%; }
.blind-inner { position: relative; width: 100%; height: 100%; transition: transform .85s cubic-bezier(.2,.85,.25,1.12); transform-style: preserve-3d; }
.blind-box.open .blind-inner { transform: rotateY(180deg); }
.blind-face {
  position: absolute; inset: 0; border-radius: 14px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  overflow: hidden;
}
/* 盲盒外框：双层鎏金边 + 内衬暗纹，厚重的「封印礼盒」感 */
.blind-front {
  padding: 6px; border: 1px solid #C9A96E3c;
  background: linear-gradient(160deg, #251E18, #1A1410);
  outline: 1px solid #C9A96E14; outline-offset: 2px;
  box-shadow: 0 10px 30px #000000aa, 0 0 24px #C9A96E0a, inset 0 1px 0 #C9A96E20;
}
/* 内层雕花框：芭比式礼盒版面（顶栏 / 窗格 / 铭牌 / 底栏） */
.blind-front .box-frame {
  position: relative; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
  border: 1px solid color-mix(in srgb, var(--tint) 34%, #C9A96E22);
  border-radius: 9px;
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--tint) 7%, transparent), transparent 55%),
    repeating-linear-gradient(45deg, #C9A96E05 0 2px, transparent 2px 14px);
  box-shadow: inset 0 0 26px #C9A96E0d, inset 0 0 0 1px #0D0A0866;
}
/* 四角鎏金包角 */
.blind-front .fr-corner { position: absolute; width: 15px; height: 15px; border: 0 solid #E8CFA099; }
.blind-front .fr-corner.tl { top: 4px; left: 4px; border-top-width: 1.5px; border-left-width: 1.5px; }
.blind-front .fr-corner.tr { top: 4px; right: 4px; border-top-width: 1.5px; border-right-width: 1.5px; }
.blind-front .fr-corner.bl { bottom: 4px; left: 4px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.blind-front .fr-corner.br { bottom: 4px; right: 4px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.blind-front .box-glow { position: absolute; inset: 0; background: var(--tint); opacity: .07; }
/* 收藏版顶栏 */
.blind-front .box-topbar { position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 6px; font-family: var(--font-sans); font-size: 7.5px; letter-spacing: .22em; color: #C9A96E88; text-transform: uppercase; padding: 5px 0 4px; border-bottom: 1px solid #C9A96E1c; }
.blind-front .tb-ic { font-size: 8px; color: var(--tint); }
/* 中央展示窗格（缎带 + 蝴蝶结 + 徽章） */
.blind-front .box-window { position: relative; flex: 1; margin: 9px 9px 7px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at 50% 40%, color-mix(in srgb, var(--tint) 12%, transparent), transparent 70%); box-shadow: inset 0 0 22px #00000055, inset 0 0 0 1px #C9A96E14; overflow: hidden; }
.blind-front .ribbon-v { position: absolute; top: 0; bottom: 0; left: 50%; width: 12%; transform: translateX(-50%); background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--tint) 70%, #fff) 50%, transparent); opacity: .45; }
.blind-front .ribbon-h { position: absolute; left: 0; right: 0; top: 50%; height: 12%; transform: translateY(-50%); background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--tint) 70%, #fff) 50%, transparent); opacity: .45; }
.blind-front .bow { position: absolute; z-index: 4; top: 50%; left: 50%; width: 38px; height: 28px; transform: translate(-50%, -50%); }
.blind-front .bow::before, .blind-front .bow::after { content: ''; position: absolute; top: 0; width: 0; height: 0; border-style: solid; }
.blind-front .bow::before { left: 0; border-width: 14px 19px 14px 0; border-color: transparent color-mix(in srgb, var(--tint) 80%, #fff) transparent transparent; filter: drop-shadow(0 1px 2px #0008); }
.blind-front .bow::after { right: 0; border-width: 14px 0 14px 19px; border-color: transparent transparent transparent color-mix(in srgb, var(--tint) 80%, #fff); filter: drop-shadow(0 1px 2px #0008); }
.blind-front .bow-knot { position: absolute; z-index: 5; top: 50%; left: 50%; width: 11px; height: 11px; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle at 35% 30%, #fff8, var(--tint) 60%, #0D0A08); box-shadow: 0 0 8px var(--tint); }
/* 姊妹徽章（阿拉伯名首字） */
.blind-front .box-emblem { position: relative; z-index: 3; width: 44%; aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 36% 30%, #fff6, color-mix(in srgb, var(--tint) 30%, #1A1410) 70%); border: 1px solid #C9A96E55; box-shadow: 0 0 18px color-mix(in srgb, var(--tint) 40%, transparent), inset 0 1px 2px #fff6; }
.blind-front .em-ar { font-family: var(--font-arabic); font-size: 21px; color: #F2DFB5; text-shadow: 0 0 12px var(--tint); line-height: 1; }
/* 底部名字铭牌 + slogan */
.blind-front .box-nameplate { position: relative; z-index: 3; margin: 0 9px; padding: 7px 8px 8px; border-radius: 8px; background: linear-gradient(160deg, #0D0A08, #1A1410); border: 1px solid #C9A96E2c; box-shadow: inset 0 1px 0 #C9A96E22; text-align: center; }
.blind-front .np-ar { font-family: var(--font-arabic); font-size: 17px; color: var(--gold-light); line-height: 1.1; }
.blind-front .np-en { font-size: 8.5px; color: #C9A96E99; letter-spacing: .08em; margin-top: 2px; }
.blind-front .np-slogan { font-family: var(--font-sans); font-style: italic; font-size: 8px; color: var(--tint); margin-top: 2px; line-height: 1.3; }
.blind-front .np-order { font-family: var(--font-sans); font-size: 7px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); margin-top: 1px; opacity: .9; }
.blind-front .np-feat { font-family: var(--font-sans); font-size: 6.6px; line-height: 1.35; color: #C9A96E77; margin-top: 3px; }
/* 屋号：穆妮法 · Munifa —— 每一尊礼盒铭牌均露出，串联十姊妹归属感 */
.blind-front .np-house { font-family: var(--font-sans); font-size: 7px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); opacity: .82; margin-bottom: 1px; }
/* 底栏：编号 + 开箱提示 */
.blind-front .box-foot { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; margin: 6px 11px 8px; }
.blind-front .box-serial { font-family: monospace; font-size: 7px; color: #C9A96E55; letter-spacing: .04em; }
.blind-front .box-tap { font-size: 7.5px; color: var(--gold); letter-spacing: .12em; }
.blind-box.open .blind-front .box-tap { color: #C9A96E44; }
.blind-box.open .blind-front .box-seal { color: #C9A96E44; }
.blind-box.open .blind-back { box-shadow: 0 0 26px color-mix(in srgb, var(--tint) 38%, transparent); }
@keyframes sealPulse { 0%, 100% { box-shadow: 0 0 12px var(--tint); } 50% { box-shadow: 0 0 22px var(--tint); } }
.blind-back {
  transform: rotateY(180deg); background: var(--ink-warm);
  border: 1px solid color-mix(in srgb, var(--tint) 45%, transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--tint) 22%, transparent);
  display: flex; flex-direction: column;
}
.blind-back .box-doll { width: 100%; height: 62%; object-fit: cover; object-position: top; }
.blind-back .box-info { flex: 1; padding: 8px; display: flex; flex-direction: column; gap: 2px; min-height: 0; }
.blind-back .box-namerow { display: flex; align-items: baseline; gap: 6px; }
.blind-back .box-namerow .ar { font-family: var(--font-arabic); font-size: 16px; color: var(--gold-light); line-height: 1; }
.blind-back .box-namerow .en { font-size: 9px; }
.blind-back .box-tier { font-size: 8px; letter-spacing: .1em; }
.blind-back .box-feat { font-size: 8px; color: var(--cream-dim); line-height: 1.4; overflow: hidden; }
.blind-back .box-nfc { margin-top: auto; font-size: 7px; color: #C9A96E66; font-family: monospace; letter-spacing: .05em; }

/* ── 礼盒肖像 + 觉醒徽章（需求 1）────────────────────────── */
.blind-front .box-peek { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: .82; }
.blind-front .box-badge {
  position: absolute; top: 7px; right: 7px; z-index: 5;
  font-size: 8px; letter-spacing: .05em; padding: 3px 7px; border-radius: 999px;
  font-family: var(--font-sans); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.blind-front .box-badge.awake { background: rgba(201,169,110,.92); color: #221610; }
.blind-front .box-badge.lock  { background: rgba(20,14,10,.62); color: #E8CFA0; border: 1px solid #E8CFA055; }
.blind-hint { text-align: center; color: #C9A96Eaa; font-size: 11px; margin-top: 14px; letter-spacing: .04em; }

/* ── 人物信息卡弹窗（需求 1）─────────────────────────────── */
.teaser-card { max-width: 408px; max-height: 88vh; display: flex; flex-direction: column; }
.teaser-card .modal-portrait { height: 176px; flex-shrink: 0; }
.teaser-card .modal-portrait .teaser-tier {
  position: absolute; bottom: 14px; inset-inline-start: 14px;
  font-size: 10px; letter-spacing: .12em; padding: 4px 10px; border-radius: 999px;
  color: #1A1410; font-family: var(--font-sans); box-shadow: 0 2px 10px #0006;
}
.teaser-body { max-height: calc(88vh - 176px); overflow-y: auto; }
.teaser-slogan { font-family: var(--font-sans); font-style: italic; color: var(--gold); font-size: 14px; margin-bottom: 10px; }
/* 屋号与编号：让人物卡明确归属于穆妮法 · Munifa */
.teaser-house { font-family: var(--font-sans); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); opacity: .88; margin-bottom: 3px; }
.teaser-serial { font-family: monospace; font-size: 9px; color: #C9A96E77; letter-spacing: .06em; margin-top: 3px; }
.teaser-heart { font-family: var(--font-sans); font-size: 9px; letter-spacing: .12em; color: var(--rose); opacity: .92; margin-top: 4px; }
.teaser-frag { font-size: 14px; line-height: 1.7; color: var(--cream); border-inline-start: 2px solid #C9A96E55; padding-inline-start: 12px; margin-bottom: 14px; }
.teaser-sec { margin-bottom: 14px; }
.teaser-sec h4 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; font-family: var(--font-sans); }
.teaser-sec p { font-size: 12.5px; line-height: 1.7; color: var(--cream-dim); }
.teaser-locked { text-align: center; padding: 22px 12px; border: 1px dashed #C9A96E33; border-radius: 14px; margin-bottom: 14px; }
.teaser-locked .lock-ic { font-size: 26px; margin-bottom: 8px; }
.teaser-locked .lock-main { font-size: 14px; color: var(--gold); margin-bottom: 6px; letter-spacing: .1em; }
.teaser-locked .lock-sub { font-size: 11px; color: #C9A96E99; line-height: 1.6; }
.teaser-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.teaser-secondary {
  padding: 11px; border-radius: 12px; font-size: 13px; letter-spacing: .04em;
  border: 1px solid #C9A96E55; background: transparent; color: var(--gold-light);
  cursor: pointer; font-family: var(--font-sans); transition: all .2s;
}
.teaser-secondary:hover { background: #C9A96E14; }
.teaser-reserve {
  width: 100%; padding: 13px; border-radius: 12px; font-size: 14px; font-weight: 500; letter-spacing: .2em;
  color: var(--ink); border: none; cursor: pointer; font-family: var(--font-sans); transition: all .2s;
}
.teaser-reserve:hover { filter: brightness(1.1); }

/* ── 守谜人对话弹窗（需求 3）─────────────────────────────── */
.chat-fab {
  position: fixed; bottom: 20px; right: 20px; z-index: 40;
  width: 54px; height: 54px; border-radius: 999px; border: 1px solid #C9A96E66;
  background: linear-gradient(135deg, #C9A96E, #a9823f); color: #1A1410; font-size: 22px;
  cursor: pointer; box-shadow: 0 8px 30px #C9A96E55; display: flex; align-items: center; justify-content: center;
  transition: transform .2s;
}
.chat-fab:hover { transform: scale(1.08); }
.chat-panel {
  position: fixed; bottom: 84px; right: 20px; z-index: 45;
  width: min(360px, calc(100vw - 40px)); height: min(540px, calc(100vh - 110px));
  border-radius: 20px; border: 1px solid #C9A96E44; background: linear-gradient(180deg, #1F1812, #15100C);
  box-shadow: 0 20px 60px #000a; display: none; flex-direction: column; overflow: hidden;
}
.chat-panel.open { display: flex; animation: chatPop .25s ease; }
@keyframes chatPop { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #C9A96E1c; background: linear-gradient(135deg, #2A2119, #1A1410); }
.chat-title { font-family: var(--font-arabic); font-size: 18px; color: var(--gold-light); }
.chat-sub { font-size: 10px; color: #C9A96E99; letter-spacing: .06em; margin-top: 2px; }
.chat-x { width: 26px; height: 26px; border-radius: 999px; background: #0D0A08aa; color: var(--gold); border: none; cursor: pointer; font-size: 13px; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 14px 14px 6px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 82%; padding: 9px 12px; border-radius: 14px; font-size: 13px; line-height: 1.6; word-break: break-word; }
.chat-msg.bot { align-self: flex-start; background: #2A2119; border: 1px solid #C9A96E22; color: var(--cream); border-bottom-left-radius: 4px; }
.chat-msg.me { align-self: flex-end; background: linear-gradient(135deg, #C9A96E, #b9964f); color: #1A1410; border-bottom-right-radius: 4px; }
.chat-msg b { color: var(--gold-light); }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px; border-top: 1px solid #C9A96E11; max-height: 124px; overflow-y: auto; }
.chat-chip { font-size: 11px; padding: 6px 10px; border-radius: 999px; border: 1px solid #C9A96E55; background: transparent; color: var(--gold-light); cursor: pointer; font-family: var(--font-sans); transition: all .15s; text-align: start; }
.chat-chip:hover { background: #C9A96E1c; }
.chat-input-row { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid #C9A96E1c; }
.chat-input { flex: 1; padding: 10px 12px; border-radius: 12px; border: 1px solid #C9A96E33; background: #0D0A08; color: var(--cream); font-size: 13px; font-family: var(--font-sans); outline: none; }
.chat-input:focus { border-color: #C9A96E77; }
.chat-send { width: 40px; border-radius: 12px; border: none; background: linear-gradient(135deg, #C9A96E, #a9823f); color: #1A1410; cursor: pointer; font-size: 15px; flex-shrink: 0; }
@media (max-width: 480px) { .chat-panel { right: 10px; bottom: 74px; width: calc(100vw - 20px); } .chat-fab { right: 10px; } }

/* ── 第三幕 · 世家（Munifa 故事页：海报 + 软性文案 + 沉浸阅读）───── */
.story-wrap {
  position: relative; z-index: 10;
  display: flex; align-items: stretch;
  height: 100%; max-width: 1120px; margin: 0 auto;
  gap: 40px; padding: 56px 28px 36px;
}
/* 背景八角星：极淡，只作空气感 */
.story-octa { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; opacity: .05; }
/* 回眸背影全身海报：鎏金细框 + 深色渐晕融入墨底 */
.story-poster {
  position: relative; flex: 0 0 37%; max-width: 400px; align-self: center;
  height: min(100%, 640px); border-radius: 22px; overflow: hidden;
  border: 1px solid #C9A96E38;
  box-shadow: 0 0 60px #C9A96E12, 0 24px 70px #000b, inset 0 1px 0 #C9A96E22;
  animation: fade-in-up .9s ease-out both;
}
.story-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.story-poster .sp-grad { position: absolute; inset: 0; background: linear-gradient(to top, #0D0A08f0 0%, #0D0A0840 26%, transparent 46%), linear-gradient(115deg, #0D0A0830, transparent 36%); }
.story-poster .sp-cap {
  position: absolute; bottom: 16px; inset-inline: 0; text-align: center;
  font-size: 10px; letter-spacing: .24em; color: #E8CFA0d9; text-transform: uppercase;
  text-shadow: 0 1px 8px #0D0A08cc;
}
/* 软性文案栏 */
.story-body {
  position: relative; flex: 1; min-width: 0;
  overflow-y: auto; display: flex; flex-direction: column; justify-content: flex-start;
  padding: 4px 6px; text-align: start;
}
.story-body::-webkit-scrollbar { display: none; }
/* 概念句：衬线斜体 + 鎏金左边线，注入文学感 */
.story-concept {
  font-family: var(--font-serif);
  font-style: italic; font-size: 13px; line-height: 1.9; color: var(--gold-light);
  max-width: 560px; margin: 2px 0 18px; padding-left: 13px;
  border-left: 2px solid #C9A96E55;
}
/* ── 画卷：上下轴头 + 暖金纸感 ── */
.story-scroll {
  position: relative; margin: 2px 0 18px; padding: 26px 22px;
  background: linear-gradient(180deg, #16110c 0%, #1d1711 50%, #16110c 100%);
  border-left: 1px solid #C9A96E22; border-right: 1px solid #C9A96E22;
  box-shadow: inset 0 0 46px #00000055;
}
.story-scroll::before, .story-scroll::after {
  content: ''; position: absolute; left: -7px; right: -7px; height: 13px;
  background: linear-gradient(180deg, #F2E4C2, #C9A96E 42%, #8a6d3a 58%, #E8CFA0);
  border-radius: 9px; box-shadow: 0 2px 9px #000000aa;
}
.story-scroll::before { top: -7px; }
.story-scroll::after { bottom: -7px; }
.story-scroll .scroll-seal {
  position: absolute; top: -21px; left: 50%; transform: translateX(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-arabic); font-size: 16px; color: #0D0A08;
  background: radial-gradient(circle at 35% 30%, #F2E4C2, #C9A96E 72%);
  box-shadow: 0 0 0 2px #0D0A08, 0 2px 8px #000a; z-index: 2;
}
.story-scroll .story-sec { margin-bottom: 14px; }
.story-scroll .story-sec:not(:last-of-type) { padding-bottom: 13px; border-bottom: 1px solid #C9A96E1a; }
/* 产品参数表：BJD 球关节 + AI 机械感 */
.story-spec { margin-top: 16px; padding-top: 14px; border-top: 1px solid #C9A96E22; }
.story-spec .ss-h { font-family: var(--font-sans); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.story-spec ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; max-width: 560px; }
.story-spec li { display: flex; gap: 8px; font-size: 11.5px; line-height: 1.5; }
.story-spec .sp-k { flex: 0 0 auto; min-width: 36px; color: var(--gold-light); font-family: var(--font-sans); }
.story-spec .sp-v { color: var(--cream-dim); }
.story-lead { font-size: 14px; line-height: 2.0; color: var(--cream-dim); max-width: 560px; margin: 6px 0 20px; }
.story-sec { margin-bottom: 15px; max-width: 560px; }
.story-sec h4 {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 5px; display: flex; align-items: center; gap: 8px; font-family: var(--font-sans);
}
.story-sec h4 span { font-size: 10px; color: #C9A96E77; }
.story-sec p { font-size: 13px; line-height: 1.9; color: var(--cream-dim); }
/* 十姊妹家族相册条：家谱感的收束 */
.story-sisters {
  display: flex; flex-wrap: wrap; gap: 10px 14px; max-width: 560px;
  margin: 4px 0 2px; padding-top: 14px; border-top: 1px solid #C9A96E14;
}
.ss-chip { display: inline-flex; align-items: center; gap: 5px; }
.ss-chip img {
  width: 24px; height: 24px; border-radius: 999px; object-fit: cover; object-position: top;
  border: 1px solid #C9A96E33; filter: saturate(.5) brightness(.4) blur(5px); transform: scale(1.25);
}
.ss-chip span { font-family: var(--font-arabic); font-size: 12px; color: #C9A96Eaa; }
.story-sig { font-family: var(--font-arabic); font-size: 15px; color: var(--gold-light); margin-top: 12px; letter-spacing: .04em; }
/* ── 第三幕 · 海报科技感 HUD 参数标识 ── */
.story-hud { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.hud-node { position: absolute; transform: translate(-50%, -50%); }
.hud-dot {
  display: block; width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 3px #C9A96E33, 0 0 10px #C9A96E99;
  animation: hudPulse 2.4s ease-in-out infinite;
}
.hud-line { position: absolute; top: 50%; height: 1px; background: linear-gradient(90deg, #C9A96Ecc, #C9A96E22); }
.hud-r .hud-line { left: 9px; width: 34px; }
.hud-l .hud-line { right: 9px; width: 34px; }
.hud-label {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 1px; padding: 5px 9px;
  background: rgba(13, 10, 8, .72); border: 1px solid #C9A96E4d; border-radius: 6px;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  white-space: nowrap; box-shadow: 0 4px 16px #0008;
}
.hud-r .hud-label { left: 47px; }
.hud-l .hud-label { right: 47px; text-align: right; }
.hud-label::before, .hud-label::after {
  content: ''; position: absolute; width: 5px; height: 5px; border: 1px solid #C9A96E88;
}
.hud-label::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hud-label::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.hud-k { font-size: 8px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.hud-v { font-size: 11px; color: #F2E4C2; letter-spacing: .02em; }
@keyframes hudPulse {
  0%, 100% { box-shadow: 0 0 0 3px #C9A96E33, 0 0 10px #C9A96E99; }
  50% { box-shadow: 0 0 0 5px #C9A96E22, 0 0 16px #C9A96Ecc; }
}
/* ── 第三幕 · 横向 tab ── */
.story-tabs { display: flex; gap: 8px; margin: 4px 0 14px; flex-wrap: wrap; }
.story-tab {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px;
  border-radius: 999px; border: 1px solid #C9A96E33; background: rgba(255, 255, 255, .02);
  color: var(--cream-dim); font-family: var(--font-sans); font-size: 12px; letter-spacing: .04em;
  cursor: pointer; transition: all .25s; white-space: nowrap;
}
.story-tab .ic { color: var(--gold); font-size: 11px; }
.story-tab:hover { border-color: #C9A96E66; color: #F2E4C2; }
.story-tab.active {
  border-color: #C9A96E; background: linear-gradient(160deg, #2A1E20, #1A1410);
  color: #F2E4C2; box-shadow: 0 0 18px #C9A96E22;
}
.story-tabpanel { position: relative; }
.story-tabpanel .story-sec { margin-bottom: 0; max-width: 560px; }
.story-tabpanel .story-sec p { font-size: 13px; line-height: 1.9; color: var(--cream-dim); }
/* 窄屏：海报在上（回眸一眼先入心），文案在下滚动阅读 */
@media (max-width: 880px) {
  .story-wrap { flex-direction: column; padding: 48px 18px 22px; gap: 14px; }
  .story-poster { flex: 0 0 auto; width: 100%; max-width: none; height: 40%; align-self: stretch; border-radius: 16px; }
  .story-poster img { object-position: center 8%; }
  .story-body { justify-content: flex-start; padding-top: 6px; }
  .story-lead { font-size: 12.5px; line-height: 1.8; margin-bottom: 12px; }
  .story-spec ul { grid-template-columns: 1fr; gap: 7px; }
  .story-spec li { font-size: 11px; }
  .story-sig { margin-top: 8px; }
  /* HUD 在窄屏缩小，避免压图 */
  .hud-line { width: 20px; }
  .hud-r .hud-label { left: 29px; }
  .hud-l .hud-label { right: 29px; }
  .hud-label { padding: 3px 6px; }
  .hud-k { font-size: 7px; }
  .hud-v { font-size: 10px; }
  .story-tabs { gap: 6px; margin-bottom: 10px; }
  .story-tab { padding: 6px 11px; font-size: 11px; }
  .story-tabpanel .story-sec p { font-size: 12px; line-height: 1.75; }
}
