/* Charm Blossoms · Magic MBTI — Dark Purple Gold Theme */
:root {
  --bg-deep: #0A0014;
  --bg-mid: #1A0A2E;
  --purple-royal: #4C1D95;
  --purple-main: #7C3AED;
  --purple-neon: #A855F7;
  --purple-glow: #E879F9;
  --lavender: #C4B5FD;
  --gold: #D4AF37;
  --gold-light: #F5E6A3;
  --text-white: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.65);
  --text-dim: rgba(255, 255, 255, 0.45);
  --glass-bg: rgba(30, 10, 60, 0.55);
  --glass-border: rgba(212, 175, 55, 0.35);
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max-w: 420px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  overflow: hidden;
  background: var(--bg-deep);
}

body {
  font-family: 'Noto Sans SC', -apple-system, sans-serif;
  color: var(--text-white);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* 全屏抠图背景 */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: var(--bg-deep);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transition: opacity 0.5s ease;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(10, 0, 20, 0.15) 0%,
    rgba(10, 0, 20, 0.05) 35%,
    rgba(10, 0, 20, 0.25) 100%
  );
}

/* 背景音乐按钮 */
.bgm-btn {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 50;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(30, 10, 60, 0.65);
  backdrop-filter: blur(8px);
  color: var(--gold-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.35);
}
.bgm-btn--off { opacity: 0.55; }
.bgm-btn--off .bgm-btn__icon { opacity: 0.4; }
.bgm-btn__icon { font-size: 18px; font-weight: 700; }

.app {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100dvh;
  overflow: hidden;
  padding-left: 28px;
}

/* ===== 全局左侧 MAGIC MBTI 装饰条 ===== */
.magic-rail {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 28px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0 20px;
  background: linear-gradient(180deg, rgba(76,29,149,0.55), rgba(30,10,60,0.35));
  border-right: 1px solid rgba(212,175,55,0.2);
  pointer-events: none;
}
.magic-rail__star { width: 14px; height: 14px; object-fit: contain; opacity: 0.9; }
.magic-rail__text {
  flex: 1;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 9px;
  letter-spacing: 0.35em;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  margin: 12px 0;
}
.magic-rail__circle { width: 22px; height: 22px; object-fit: contain; opacity: 0.75; }

.screen {
  display: none;
  flex-direction: column;
  height: 100dvh;
  padding: 0 20px 0 4px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  animation: fadeUp 0.45s ease;
  position: relative;
}

.screen-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.screen > :not(.screen-decor) { position: relative; z-index: 1; }

/* 装饰组件定位 */
.decor { position: absolute; object-fit: contain; pointer-events: none; }
.decor--orchid-tr { top: 2%; right: -8%; width: 42%; max-width: 180px; opacity: 0.92; }
.decor--butterfly-l { top: 38%; left: -6%; width: 28%; max-width: 110px; opacity: 0.85; }
.decor--butterfly-tr { top: 4%; right: -4%; width: 26%; max-width: 100px; }
.decor--butterfly-br { bottom: 18%; right: -6%; width: 24%; max-width: 95px; }
.decor--butterfly-hero { top: 42%; left: 8%; width: 22%; max-width: 85px; }
.decor--crystals-bl { bottom: 14%; left: -10%; width: 36%; max-width: 150px; opacity: 0.88; }
.decor--crystals-br { bottom: 10%; right: -12%; width: 34%; max-width: 140px; opacity: 0.85; }
.decor--crystals-hero { bottom: 22%; right: 2%; width: 28%; max-width: 110px; opacity: 0.7; }
.decor--orchid-bl { bottom: 8%; left: -6%; width: 30%; max-width: 120px; opacity: 0.75; }
.decor--ball-tl { top: 0; left: -12%; width: 32%; max-width: 130px; opacity: 0.9; }
.decor--circle-bl { bottom: 8%; left: -14%; width: 38%; max-width: 160px; opacity: 0.35; }
.decor--circle-center { top: 18%; left: 50%; transform: translateX(-50%); width: 72%; max-width: 300px; opacity: 0.5; }
.decor--ball-center { top: 22%; left: 50%; transform: translateX(-50%); width: 52%; max-width: 220px; }
.decor--circle-result { top: 28%; left: 50%; transform: translateX(-50%); width: 85%; max-width: 340px; opacity: 0.35; }
.decor--star-tr { top: 6%; right: 8%; width: 20px; opacity: 0.8; }
.decor--hero-cluster { bottom: 28%; left: -4%; width: 38%; max-width: 150px; opacity: 0.55; }
.decor--hat-hero { bottom: 30%; left: 2%; width: 28%; max-width: 110px; opacity: 0.5; }

.decor--float { animation: decorFloat 4s ease-in-out infinite; }
.decor--float-slow { animation: decorFloat 5.5s ease-in-out infinite; }
.decor--fly { animation: butterflyFly 6s ease-in-out infinite; }
.decor--pulse { animation: ballPulse 3s ease-in-out infinite; }

@keyframes decorFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.decor--ball-tl.decor--float { animation: ballFloat 3.5s ease-in-out infinite; }
@keyframes ballFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.decor--ball-center.decor--pulse {
  animation: ballCenterPulse 3s ease-in-out infinite;
}
@keyframes ballCenterPulse {
  0%, 100% { transform: translateX(-50%) scale(1); filter: drop-shadow(0 0 20px rgba(168,85,247,0.5)); }
  50% { transform: translateX(-50%) scale(1.04); filter: drop-shadow(0 0 32px rgba(232,121,249,0.7)); }
}
@keyframes butterflyFly {
  0%, 100% { transform: translate(0, 0) rotate(-3deg); opacity: 0.85; }
  33% { transform: translate(8px, -12px) rotate(2deg); opacity: 1; }
  66% { transform: translate(-4px, -6px) rotate(-1deg); opacity: 0.9; }
}

/* 星光分隔线 */
.star-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 12px auto;
  width: 100%;
  max-width: 280px;
}
.star-divider--sm { margin: 8px auto; max-width: 200px; }
.star-divider__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.7;
}
.star-divider img { width: 16px; height: 16px; object-fit: contain; flex-shrink: 0; }

/* 毛玻璃金框面板 */
.glass-frame {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
.glass-frame__bg {
  position: absolute;
  inset: -8px -4px;
  width: calc(100% + 8px);
  height: calc(100% + 16px);
  object-fit: fill;
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
}
.glass-frame__inner {
  position: relative;
  z-index: 1;
  padding: 20px 16px;
}
.glass-frame--guide { margin: 16px 0; }
.glass-frame--guide .glass-frame__inner { padding: 16px 12px; }
.glass-frame--quiz { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.glass-frame--quiz .glass-frame__inner { flex: 1; display: flex; flex-direction: column; padding: 18px 14px 14px; }
.glass-frame--result { margin: 0 0 16px; }
.glass-frame--result .glass-frame__inner { padding: 14px 12px; }
.glass-frame--detail { flex: 1; min-height: 0; margin-bottom: 12px; }
.glass-frame--detail .glass-frame__inner { padding: 14px 12px 8px; max-height: 48vh; overflow-y: auto; }
.glass-frame--chart { margin: 8px 0 12px; }
.glass-frame--chart .glass-frame__inner { padding: 12px; display: flex; justify-content: center; }
.glass-frame--partner { margin-bottom: 16px; }
.glass-frame--poster { margin-bottom: 16px; }
.glass-frame--poster .glass-frame__inner { padding: 10px; }

/* 魔法按钮（组件图） */
.btn--magic {
  position: relative;
  height: 52px;
  border-radius: 26px;
  font-size: 17px;
  color: var(--gold-light);
  font-family: 'Noto Serif SC', serif;
  font-weight: 600;
  background: url('../images/components/comp-btn.png') center / 100% 100% no-repeat;
  border: none;
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.35);
  padding: 0 48px 0 24px;
  letter-spacing: 0.05em;
}
.btn--magic.btn--sm {
  height: 44px;
  font-size: 14px;
  padding: 0 20px;
  min-width: 120px;
}
.btn__star {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  object-fit: contain;
}
.btn--sm .btn__star { display: none; }
.btn-nav {
  background: rgba(10,0,20,0.4);
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 22px;
  color: var(--gold-light);
  font-size: 13px;
  padding: 10px 16px;
  cursor: pointer;
  font-family: inherit;
}
.btn-nav:disabled { opacity: 0.35; cursor: not-allowed; }

.footer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 11px;
  color: var(--gold);
  opacity: 0.85;
}
.footer-note__line {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.footer-note__line:last-child { background: linear-gradient(90deg, var(--gold), transparent); }

.time-estimate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--lavender);
  margin: 16px 0;
}
.time-estimate__star { width: 10px; height: 10px; object-fit: contain; opacity: 0.8; }

.p07__heading {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--gold-light);
  text-align: center;
  margin-bottom: 4px;
}

.partner-ring-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}
.partner-ring__circle {
  position: absolute;
  inset: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  object-fit: contain;
  opacity: 0.65;
  animation: decorFloat 5s ease-in-out infinite;
}
.partner-ring-wrap .partner-ring {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 10px auto 0;
  background: rgba(10,0,20,0.5);
}

.p08__ghost, .p10__ghost { margin-top: 12px; }
.p08__sub { margin-bottom: 8px; }
.p09__sub { font-size: 13px; color: var(--text-muted); margin: -16px 0 8px; }
.p05__sub { font-size: 13px; color: var(--text-dim); margin-top: -16px; margin-bottom: 24px; }
.p01__tagline { font-size: 14px; color: var(--gold-light); margin-top: 10px; text-align: center; letter-spacing: 0.08em; }


.screen--active { display: flex; }

/* 页面安全区：避开背景底部水晶球/魔法帽区域 */
.screen--hero { justify-content: flex-start; padding-top: 12vh; }
.screen--hero .p01__cta,
.screen--hero .p06__actions { margin-top: auto; padding-bottom: 28vh; }

.screen--content { padding-top: 14vh; padding-bottom: 22vh; }
.screen--framed { padding-top: 18vh; padding-bottom: 20vh; }
.screen--loading {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-bottom: 15vh;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.script-title {
  font-family: 'Great Vibes', cursive;
  font-size: 42px;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), #B8860B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn:active { transform: scale(0.97); }

.btn--primary {
  height: 52px;
  border-radius: 26px;
  font-size: 17px;
  color: var(--text-white);
  background: linear-gradient(135deg, rgba(124,58,237,0.3), rgba(76,29,149,0.5));
  border: 1.5px solid var(--purple-neon);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.45), inset 0 0 12px rgba(255,255,255,0.06);
}

.btn--ghost {
  height: 44px;
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 22px;
}

.dim { color: var(--text-dim); font-size: 11px; line-height: 1.6; text-align: center; }

/* P01 Landing */
.p01 { padding-bottom: 24px; }
.p01__hero { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.p01__subtitle { font-size: 14px; color: var(--gold); letter-spacing: 0.15em; margin-top: 10px; text-align: center; }
.p01__hint { font-size: 13px; color: var(--text-muted); margin-top: 6px; text-align: center; }
.p01__cta { width: 100%; }
.p01__disclaimer { margin-top: 10px; }

/* P02 Guide */
.p02 { padding-top: 48px; padding-bottom: 28px; }
.p02__welcome { font-size: 13px; color: var(--gold); margin-bottom: 8px; font-family: 'Playfair Display', serif; }
.p02__title { font-family: 'Playfair Display', 'Noto Serif SC', serif; font-size: 24px; color: var(--gold-light); text-align: center; margin-bottom: 8px; line-height: 1.35; }
.guide-list { display: flex; flex-direction: column; gap: 12px; }
.guide-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 10px;
  background: rgba(10, 0, 20, 0.35);
  border: 1px solid rgba(168,85,247,0.25);
  border-radius: var(--radius-md);
}
.guide-item__icon { width: 48px; height: 48px; flex-shrink: 0; object-fit: contain; filter: drop-shadow(0 0 8px rgba(168,85,247,0.4)); }
.guide-item__text h4 { font-size: 15px; color: var(--gold-light); margin-bottom: 4px; }
.guide-item__text p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.p02__cta { margin-top: 8px; }

/* P03 Quiz */
.p03 { position: relative; padding-top: 14vh; padding-bottom: 16vh; }
.quiz-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.quiz-header__label { font-size: 13px; color: var(--gold); font-weight: 500; }
.quiz-header__pct { font-size: 13px; color: var(--purple-neon); }
.progress-track { height: 4px; background: rgba(255,255,255,0.12); border-radius: 99px; margin-bottom: 28px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--purple-neon), var(--purple-main)); border-radius: 99px; box-shadow: 0 0 8px rgba(168,85,247,0.6); transition: width 0.35s ease; }
.quiz-question { font-family: 'Noto Serif SC', serif; font-size: 18px; line-height: 1.75; color: var(--gold-light); text-align: center; min-height: 90px; margin-bottom: 28px; }
.option-list { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.option-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(10, 0, 20, 0.55);
  border: 1px solid rgba(168,85,247,0.3);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-align: left;
  backdrop-filter: blur(4px);
}
.option-card.selected { border-color: var(--gold); box-shadow: 0 0 16px rgba(212,175,55,0.25); background: linear-gradient(135deg, rgba(124,58,237,0.45), rgba(76,29,149,0.65)); }
.option-card__label { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #1A0A2E; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.option-card__text { font-size: 15px; line-height: 1.55; color: var(--text-white); padding-top: 3px; }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; }
.quiz-nav .btn--magic { width: auto; flex-shrink: 0; }

/* P05 Loading */
.p05 .script-title { font-size: 28px; margin-bottom: 24px; }
.p05__status { font-size: 15px; color: var(--text-muted); margin-bottom: 28px; }
.p05__track { width: 100%; height: 6px; background: rgba(255,255,255,0.1); border-radius: 99px; overflow: hidden; }
.p05__fill { height: 100%; background: linear-gradient(90deg, var(--purple-neon), var(--purple-glow)); width: 0%; transition: width 0.1s linear; }
.p05__pct { margin-top: 10px; font-size: 14px; color: var(--purple-neon); }

/* P06 Result */
.p06 { text-align: center; }
.p06__eyebrow { font-size: 13px; color: var(--gold); margin-bottom: 8px; letter-spacing: 0.08em; }
.p06__type { font-family: 'Playfair Display', serif; font-size: 64px; font-weight: 700; letter-spacing: 0.1em; line-height: 1; background: linear-gradient(180deg, #F5E6A3, #D4AF37, #fff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; filter: drop-shadow(0 0 20px rgba(212,175,55,0.3)); }
.p06__name { font-size: 20px; color: var(--gold-light); margin: 8px 0 16px; }
.p06__tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 20px; }
.tag { padding: 6px 14px; border-radius: 99px; font-size: 12px; background: rgba(168,85,247,0.2); border: 1px solid rgba(168,85,247,0.45); }
.p06__desc-frame {
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  backdrop-filter: none;
}
.p06__desc { font-size: 14px; line-height: 1.75; color: var(--text-muted); margin: 0; }
.p06__actions { display: flex; flex-direction: column; gap: 12px; }

/* P07 Detail */
.p07 { padding-top: 18px; padding-bottom: 28px; }
.tabs { display: flex; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 20px; }
.tab { flex: 1; padding: 12px 4px; background: none; border: none; color: var(--text-muted); font-size: 14px; font-family: inherit; cursor: pointer; position: relative; }
.tab--active { color: var(--text-white); font-weight: 600; }
.tab--active::after { content: ''; position: absolute; bottom: -1px; left: 20%; right: 20%; height: 2px; background: var(--gold); }
.tab-panel { display: none; }
.tab-panel--active { display: block; }
.dim-block { margin-bottom: 24px; }
.dim-block__title { font-size: 14px; color: var(--gold); margin-bottom: 10px; font-weight: 600; }
.percent-row { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.pct-badge { font-size: 20px; font-weight: 700; padding: 6px 14px; border-radius: var(--radius-sm); }
.pct-badge--left { background: rgba(168,85,247,0.25); border: 1px solid rgba(168,85,247,0.5); }
.pct-badge--right { background: rgba(124,58,237,0.35); border: 1px solid var(--purple-main); color: var(--lavender); }
.pct-dot { color: var(--text-dim); }
.dual-bar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: rgba(255,255,255,0.08); margin-bottom: 8px; }
.dual-bar__l { background: linear-gradient(90deg, var(--purple-neon), var(--purple-main)); transition: width 0.8s cubic-bezier(0.34,1.4,0.64,1); }
.dual-bar__r { background: linear-gradient(90deg, var(--purple-main), var(--lavender)); transition: width 0.8s cubic-bezier(0.34,1.4,0.64,1); }
.dim-hint { font-size: 12px; color: var(--text-muted); text-align: center; }
.list-item { display: flex; gap: 12px; padding: 14px; background: rgba(76,29,149,0.25); border-radius: var(--radius-sm); border: 1px solid rgba(168,85,247,0.15); font-size: 14px; line-height: 1.6; color: var(--text-muted); margin-bottom: 10px; }
.list-item::before { content: '✦'; color: var(--gold); flex-shrink: 0; }
.p07__footer { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }

/* P08 Ability */
.p08 { padding-top: 32px; padding-bottom: 32px; text-align: center; }
.p08__title { font-size: 18px; color: var(--gold-light); margin-bottom: 8px; font-family: 'Playfair Display', serif; }
.p08__chart svg { width: 260px; height: 260px; overflow: visible; }
.p08__score { font-size: 36px; font-weight: 700; color: var(--gold-light); margin: 8px 0 4px; }
.p08__score span { font-size: 16px; color: var(--text-muted); font-weight: 400; }
.star { font-size: 22px; color: rgba(255,255,255,0.2); }
.star--on { color: var(--gold); }

/* P09 Partner */
.p09 { padding-top: 40px; padding-bottom: 32px; text-align: center; }
.p09__title { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--gold-light); margin-bottom: 28px; }
.partner-main {
  padding: 24px 16px;
  background: transparent;
  border: none;
  border-radius: 0;
  margin-bottom: 0;
  backdrop-filter: none;
}
.partner-main__type { font-size: 32px; font-weight: 700; position: relative; }
.partner-main__name { font-size: 16px; color: var(--gold); margin: 4px 0 16px; position: relative; }
.partner-ring { width: 100px; height: 100px; border-radius: 50%; border: 3px solid var(--purple-neon); display: flex; align-items: center; justify-content: center; margin: 0 auto; font-size: 28px; font-weight: 700; color: var(--purple-glow); box-shadow: 0 0 30px rgba(168,85,247,0.4); position: relative; }
.partner-alt { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.partner-alt__item { display: flex; justify-content: space-between; padding: 12px 16px; background: rgba(76,29,149,0.3); border-radius: var(--radius-sm); border: 1px solid rgba(168,85,247,0.2); font-size: 14px; }
.partner-alt__pct { color: var(--purple-neon); font-weight: 600; }

/* P10 Share */
.p10 { padding-top: 32px; padding-bottom: 32px; }
.p10__title { text-align: center; font-size: 18px; color: var(--gold-light); margin-bottom: 20px; font-family: 'Playfair Display', serif; }
.poster-preview { border: none; border-radius: var(--radius-md); overflow: hidden; margin-bottom: 0; }
#poster-canvas { width: 100%; display: block; }
.share-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.share-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: none; color: var(--text-muted); font-size: 11px; cursor: pointer; font-family: inherit; }
.share-btn__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--glass-bg); border: 1px solid rgba(168,85,247,0.3); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.page-nav { display: flex; justify-content: center; gap: 16px; margin-top: 12px; }
.page-nav button { background: none; border: none; color: var(--purple-neon); font-size: 13px; cursor: pointer; font-family: inherit; text-decoration: underline; }
.toast { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(20px); background: rgba(30,10,60,0.9); border: 1px solid var(--purple-neon); color: #fff; padding: 10px 20px; border-radius: 99px; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.3s; z-index: 100; }
.toast--show { opacity: 1; transform: translateX(-50%) translateY(0); }
