/* ============================================================================
   gallery.susudo.top · 午夜星殿烫金美学 (Celestial Obsidian & Foil Gold)
   ============================================================================ */
:root {
  --bg: #090A14;
  --bg-deep: #06070E;
  --surface: rgba(20, 17, 36, 0.78);
  --surface-solid: #141124;
  --surface-hi: rgba(31, 26, 54, 0.88);
  --ink: #F6EFE2;
  --ink-sub: #C8BFD6;
  --ink-muted: #8C82A0;
  --gold: #D8B46A;
  --gold-light: #F4DCA4;
  --gold-soft: rgba(216, 180, 106, 0.14);
  --gold-border: rgba(216, 180, 106, 0.34);
  --lavender: #B69CE8;
  --lavender-soft: rgba(182, 156, 232, 0.14);
  --rose: #E28AA8;
  --rose-soft: rgba(226, 138, 168, 0.15);
  --emerald: #6DC5A3;
  --line: rgba(216, 180, 106, 0.16);
  --line-bright: rgba(216, 180, 106, 0.42);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-serif: "Noto Serif SC", "Cormorant Garamond", Georgia, serif;
  --font-sans: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.7;
}
.mono { font-family: var(--font-mono); }
.serif { font-family: var(--font-serif); }

/* 星河画布与深空星云 */
.cosmos-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
.nebula-veil {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(640px 440px at 14% 12%, rgba(182, 156, 232, 0.16), transparent 68%),
    radial-gradient(560px 420px at 88% 22%, rgba(216, 180, 106, 0.13), transparent 66%),
    radial-gradient(620px 480px at 50% 92%, rgba(226, 138, 168, 0.11), transparent 70%);
}

/* ==================== 悬浮午夜磨砂导航 ==================== */
.nav-wrap {
  position: sticky;
  top: 12px;
  z-index: 40;
  max-width: 1180px;
  margin: 12px auto 0;
  padding: 0 16px;
}
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(15, 13, 28, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--gold-border);
  box-shadow: 0 14px 40px -16px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(244, 220, 164, 0.12);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--gold-light);
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-star {
  color: var(--gold);
  font-size: 1rem;
  text-shadow: 0 0 12px rgba(216, 180, 106, 0.75);
}
.brand-text {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  font-weight: 500;
}
.nav-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-tab {
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-sub);
  font-family: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s var(--ease);
}
.nav-tab:hover { color: var(--gold-light); background: rgba(216, 180, 106, 0.08); }
.nav-tab.is-active {
  background: linear-gradient(135deg, rgba(216, 180, 106, 0.24), rgba(182, 156, 232, 0.2));
  border-color: var(--gold-border);
  color: var(--gold-light);
  box-shadow: 0 0 18px -6px rgba(216, 180, 106, 0.55);
}
.ghost-pill {
  text-decoration: none;
  font-size: 0.72rem;
  color: var(--ink-sub);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: all 0.22s ease;
}
.ghost-pill:hover { border-color: var(--gold); color: var(--gold-light); }

.mobile-tabs { display: none; }

/* ==================== 圣殿主舞台 ==================== */
.sanctuary-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 18px 56px;
}
.hero-crest {
  text-align: center;
  margin-bottom: 26px;
}
.crest-svg {
  width: 240px;
  height: 50px;
  display: block;
  margin: 0 auto 6px;
}
.hero-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  color: var(--gold);
  margin-bottom: 6px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, #FFF8EA 10%, #F4DCA4 58%, #C9B2F2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.hero-sub {
  font-size: 0.88rem;
  color: var(--ink-sub);
  max-width: 580px;
  margin: 0 auto;
}

.stage-root {
  transition: opacity 0.24s var(--ease), transform 0.28s var(--ease), filter 0.24s ease;
}
.stage-root.is-swapping {
  opacity: 0;
  transform: translateY(12px);
  filter: blur(4px);
}

/* 通用玻璃紫曜石卡片与控件 */
.celestial-card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 22px 60px -28px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(244, 220, 164, 0.08);
}
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 6px;
}
.section-h2 {
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-weight: 600;
  color: var(--ink);
}
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.grid-asym { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 20px; align-items: start; }

.input-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.input-label { font-size: 0.78rem; color: var(--ink-sub); }
.dark-input, .dark-select, .dark-textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(9, 10, 20, 0.72);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.88rem;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.dark-input:focus, .dark-select:focus, .dark-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.dark-select option { background: #141124; color: #F6EFE2; }

.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid #F2D89B;
  background: linear-gradient(135deg, #E3C27A 0%, #B88D44 100%);
  color: #14101D;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 10px 28px -10px rgba(216, 180, 106, 0.65);
  transition: transform 0.24s var(--ease), box-shadow 0.24s ease;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(216, 180, 106, 0.8); }
.btn-gold:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--gold-border);
  background: rgba(216, 180, 106, 0.06);
  color: var(--gold-light);
  font-family: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.22s var(--ease);
}
.btn-outline:hover { background: rgba(216, 180, 106, 0.16); border-color: var(--gold); }
.btn-sm { height: 31px; padding: 0 12px; font-size: 0.74rem; }
.chip-btn {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-sub);
  font-family: inherit;
  font-size: 0.76rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.chip-btn:hover, .chip-btn.is-active {
  border-color: var(--gold);
  color: var(--gold-light);
  background: var(--gold-soft);
}

/* ==================== 01 · 电子塔罗仪式动效与 3D 翻牌 ==================== */
.spread-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.spread-card {
  text-align: left;
  font-family: inherit;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(12, 11, 24, 0.65);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.26s var(--ease);
}
.spread-card:hover { border-color: var(--gold-border); transform: translateY(-2px); }
.spread-card.is-active {
  border-color: var(--gold);
  background: linear-gradient(145deg, rgba(216, 180, 106, 0.14), rgba(182, 156, 232, 0.1));
  box-shadow: 0 0 26px -12px rgba(216, 180, 106, 0.55);
}

/* 3D 洗牌舞台 */
.shuffle-stage {
  position: relative;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  overflow: hidden;
}
.shuffle-card {
  position: absolute;
  width: 126px;
  height: 202px;
  border-radius: 12px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.65);
  animation: tarotShuffle 1.3s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  animation-delay: calc(var(--i) * 0.11s);
}
.shuffle-card svg { width: 100%; height: 100%; display: block; }
@keyframes tarotShuffle {
  0%, 100% { transform: translateX(0) rotate(0deg) scale(1); z-index: 2; }
  35% { transform: translateX(calc(var(--dir) * 86px)) rotate(calc(var(--dir) * 14deg)) scale(1.03); z-index: 5; }
  70% { transform: translateX(calc(var(--dir) * -18px)) rotate(calc(var(--dir) * -4deg)) scale(0.98); z-index: 1; }
}

/* 弧形扇面选牌区 */
.fan-wrap {
  position: relative;
  padding: 26px 8px 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.fan-wrap::-webkit-scrollbar { display: none; }
.fan-track {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 720px;
  padding: 16px 24px 8px;
}
.fan-card {
  width: 78px;
  height: 125px;
  margin-left: -34px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transform-origin: center bottom;
  transform: translateY(var(--arc-y, 0px)) rotate(var(--arc-r, 0deg));
  transition: transform 0.28s var(--ease), filter 0.24s ease, opacity 0.3s ease;
  position: relative;
}
.fan-card:first-child { margin-left: 0; }
.fan-card svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.6)); }
.fan-card:hover {
  transform: translateY(calc(var(--arc-y, 0px) - 26px)) rotate(var(--arc-r, 0deg)) scale(1.08);
  z-index: 25;
  filter: drop-shadow(0 0 16px rgba(216, 180, 106, 0.72));
}
.fan-card.is-picked {
  opacity: 0.16;
  pointer-events: none;
  transform: translateY(-48px) scale(0.85);
}

/* 3D 翻牌牌位阵 */
.slots-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 18px 0 22px;
}
.tarot-slot {
  width: 168px;
  text-align: center;
  position: relative;
}
.slot-label {
  font-size: 0.74rem;
  color: var(--gold-light);
  margin-bottom: 8px;
  font-family: var(--font-serif);
}
.flip-scene {
  width: 168px;
  height: 268px;
  perspective: 1100px;
  cursor: pointer;
  position: relative;
}
.flip-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.flip-scene.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 42px -12px rgba(0, 0, 0, 0.85);
}
.flip-face svg { width: 100%; height: 100%; display: block; }
.flip-front { transform: rotateY(180deg); }
.slot-empty {
  width: 168px;
  height: 268px;
  border-radius: 14px;
  border: 1.5px dashed var(--gold-border);
  background: rgba(216, 180, 106, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink-muted);
  font-size: 0.76rem;
}

/* 翻牌金尘粒子爆发 */
.gold-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}
.gold-spark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F7E3AC;
  box-shadow: 0 0 10px #D8B46A;
  animation: sparkFly 0.85s var(--ease) forwards;
}
@keyframes sparkFly {
  from { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
  to { transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0); opacity: 0; }
}

.reading-card {
  background: rgba(11, 10, 22, 0.76);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 12px;
}

/* ==================== 02 · 星盘 SVG 与解读 ==================== */
.natal-wheel-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}
.natal-svg {
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 28px rgba(182, 156, 232, 0.22));
}
.wheel-outer-spin {
  transform-origin: 220px 220px;
  animation: slowWheel 90s linear infinite;
}
@keyframes slowWheel {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.el-bar-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 5px;
}
.el-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.6s var(--ease);
}

/* ==================== 03 & 04 · MBTI 与恋爱心理问卷 + 雷达图 ==================== */
.quiz-progress-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 18px;
}
.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--lavender), var(--gold));
  border-radius: 999px;
  transition: width 0.35s var(--ease);
}
.quiz-question-card {
  animation: qSlideIn 0.32s var(--ease) both;
}
@keyframes qSlideIn {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: translateX(0); }
}
.likert-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}
.likert-btn {
  padding: 12px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(12, 11, 24, 0.72);
  color: var(--ink-sub);
  font-family: inherit;
  font-size: 0.76rem;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.likert-btn:hover, .likert-btn.is-picked {
  border-color: var(--gold);
  background: var(--gold-soft);
  color: var(--gold-light);
  transform: translateY(-2px);
}
.mbti-type-big {
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold-light);
  text-shadow: 0 0 28px rgba(216, 180, 106, 0.45);
}
.radar-svg {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ==================== 隐蔽星殿观测后台弹窗 ==================== */
.vault-mask {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 5, 11, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease);
}
.vault-mask.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.vault-sheet {
  width: 100%;
  max-width: 980px;
  max-height: 90dvh;
  background: #120F22;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(18px) scale(0.97);
  transition: transform 0.34s var(--ease);
}
.vault-mask.is-open .vault-sheet { transform: translateY(0) scale(1); }
.vault-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 22px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line);
}
.vault-body {
  padding: 20px 22px 26px;
  overflow-y: auto;
}
.circle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-sub);
  cursor: pointer;
}
.circle-btn:hover { border-color: var(--gold); color: var(--gold-light); }

.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi-box {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}
.kpi-k { font-size: 0.7rem; color: var(--ink-muted); }
.kpi-v { font-family: var(--font-mono); font-size: 1.32rem; font-weight: 600; color: var(--gold-light); margin-top: 2px; }

.v-row {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 10px;
}
.v-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.74rem;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.v-tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-light);
  font-size: 0.68rem;
}
.v-tag.is-geo { background: var(--lavender-soft); color: #D7C4FA; }
.v-tag.is-mod { background: var(--rose-soft); color: #F5B4C9; }
.v-detail-pre {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(6, 7, 14, 0.8);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-sub);
  white-space: pre-wrap;
  word-break: break-all;
}

/* 页脚与 Toast */
.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px 28px;
}
.footer-inner {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.76rem;
  color: var(--ink-muted);
}
.footer-copy { display: inline-flex; align-items: center; gap: 6px; }
.stealth-star {
  color: var(--gold);
  user-select: none;
  cursor: default;
  padding: 2px 4px;
}
.footer-links { display: inline-flex; align-items: center; gap: 8px; }
.footer-links a { color: var(--ink-sub); text-decoration: none; }
.footer-links a:hover { color: var(--gold-light); }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  z-index: 140;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(24, 20, 42, 0.95);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-size: 0.8rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.26s var(--ease);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ==================== 响应式双端适配 ==================== */
@media (max-width: 820px) {
  .nav-tabs { display: none; }
  .mobile-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 12px 14px 0;
  }
  .mobile-tabs::-webkit-scrollbar { display: none; }
  .m-tab {
    flex-shrink: 0;
    height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(20, 17, 36, 0.85);
    color: var(--ink-sub);
    font-family: inherit;
    font-size: 0.78rem;
    cursor: pointer;
    white-space: nowrap;
  }
  .m-tab.is-active {
    border-color: var(--gold);
    background: var(--gold-soft);
    color: var(--gold-light);
  }
  .grid-2, .grid-3, .grid-asym, .spread-grid { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px), (hover: none) and (pointer: coarse) {
  .dark-input, .dark-select, .dark-textarea { font-size: 16px; }
}

@media (max-width: 640px) {
  .nav-wrap { padding: 0 12px; }
  .top-nav { padding: 8px 13px; }
  .brand-text { font-size: 0.68rem; letter-spacing: 0.1em; }
  .ghost-pill { font-size: 0.68rem; padding: 4px 9px; }
  .sanctuary-shell { padding: 18px 14px 44px; }
  .celestial-card { padding: 18px 15px; }
  .tarot-slot, .flip-scene, .slot-empty { width: 138px; }
  .flip-scene, .slot-empty { height: 220px; }
  .likert-grid { grid-template-columns: 1fr; }
  .vault-mask { padding: 10px; align-items: flex-end; }
  .vault-sheet { max-height: 92dvh; border-radius: 22px 22px 14px 14px; }
  .vault-body { padding: 16px 14px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .wheel-outer-spin, .shuffle-card { animation: none !important; }
}
