:root {
  --bg: #F6F2EB;
  --surface: #FFFFFF;
  --surface-soft: #EFEAE0;
  --ink: #1D1B18;
  --ink-soft: #544F47;
  --ink-muted: #867F74;
  --line: rgba(29, 27, 24, 0.09);
  --line-strong: rgba(29, 27, 24, 0.16);
  --accent: #8C3B2B;
  --accent-soft: rgba(140, 59, 43, 0.11);
  --theme-bg: #FBF5EE;
  --radius-lg: 22px;
  --radius-md: 15px;
  --radius-sm: 11px;
  --shadow-card: 0 12px 32px rgba(29, 27, 24, 0.055);
  --shadow-float: 0 18px 42px rgba(29, 27, 24, 0.09);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
}

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

html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: clip;
  background-color: var(--bg);
  background-image: radial-gradient(ellipse 90% 380px at 50% -90px, var(--accent-soft), transparent 72%);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246, 242, 235, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  min-width: 0;
  flex: 1;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}

.brand-text {
  min-width: 0;
  overflow: hidden;
}

.brand-text strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text span {
  display: block;
  font-size: 11px;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}

@media (max-width: 520px) {
  .brand-text span {
    display: none;
  }
}

.ghost-pill {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-soft);
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.ghost-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Hero */
.hero {
  padding: 26px 0 20px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 5vw, 35px);
  line-height: 1.28;
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  max-width: 600px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.trust-chip {
  font-size: 12px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
}

.quick-redeem-box {
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  box-shadow: var(--shadow-card);
}

.quick-redeem-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.code-banner {
  margin-top: 14px;
  background: #EBF6EF;
  border: 1px solid #B6DFC5;
  color: #195635;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* Assessment grid */
.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding-bottom: 32px;
}

@media (min-width: 640px) {
  .catalog-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .catalog-grid .assess-card:first-child {
    grid-column: 1 / -1;
  }
}

.assess-card {
  background: linear-gradient(150deg, var(--card-bg, #FFFFFF) 0%, #FFFFFF 65%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.assess-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: var(--card-accent, var(--accent));
}

.assess-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-float);
  border-color: rgba(29, 27, 24, 0.2);
}

.card-art-watermark {
  position: absolute;
  right: -8px;
  top: 8px;
  width: 96px;
  height: 96px;
  opacity: 0.12;
  pointer-events: none;
}

.card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.cat-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  padding: 3px 9px;
  border-radius: 999px;
}

.hot-badge {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--card-accent, var(--accent));
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.assess-card h2 {
  font-family: var(--font-serif);
  font-size: 19.5px;
  line-height: 1.35;
  margin: 10px 0 6px;
  position: relative;
  z-index: 1;
}

.assess-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13.5px;
  position: relative;
  z-index: 1;
}

.card-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  position: relative;
  z-index: 1;
}

.duration-label {
  color: var(--ink-muted);
}

.price-pill {
  color: var(--ink-soft);
  background: var(--surface-soft);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
  margin-left: 6px;
}

.enter-cta {
  font-weight: 700;
  color: var(--card-accent, var(--accent));
  white-space: nowrap;
}

/* Landing page */
.landing-wrap {
  padding: 18px 0 42px;
  min-width: 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 12px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.back-link:hover {
  color: var(--ink);
}

.landing-hero-card {
  background: linear-gradient(155deg, var(--theme-bg) 0%, #FFFFFF 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.landing-hero-card::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(29, 27, 24, 0.05);
  border-radius: 15px;
  pointer-events: none;
}

.landing-hero-card h1 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 5vw, 30px);
  margin: 10px 0 8px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.landing-sub {
  color: var(--ink-soft);
  margin: 0 0 14px;
  font-size: 14.5px;
  position: relative;
  z-index: 1;
}

.landing-intro {
  font-size: 14px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(29, 27, 24, 0.06);
  padding: 13px 14px;
  border-radius: var(--radius-md);
  margin: 0 0 14px;
  position: relative;
  z-index: 1;
}

.highlight-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink);
}

.highlight-list li::before {
  content: "✦";
  color: var(--accent);
  flex-shrink: 0;
}

.sample-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  position: relative;
  z-index: 1;
}

/* Unlock / Start Card */
.panel-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  box-shadow: var(--shadow-card);
  margin-bottom: 16px;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.panel-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 18px;
}

.panel-hint {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--ink-muted);
}

.step-strip {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.step-tag {
  font-size: 11.5px;
  color: var(--ink-soft);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 4px 9px;
  border-radius: 999px;
}

.field-group {
  margin-bottom: 14px;
  min-width: 0;
}

.field-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink-soft);
}

.input-row {
  display: flex;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.input-row > input,
.input-row > select {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}

.input-row > .btn {
  flex-shrink: 0;
}

input[type="text"], input[type="number"], input[type="password"], select, textarea {
  width: 100%;
  max-width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity 0.18s, transform 0.12s, background-color 0.18s;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-secondary {
  background: var(--surface-soft);
  color: var(--ink);
  border-color: var(--line);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.8);
  color: var(--accent);
  border-color: var(--accent);
}

.full-width {
  width: 100%;
}

.verify-feedback {
  margin-top: 10px;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.verify-feedback.ok {
  background: #EDF7F1;
  color: #1B5E3A;
  border: 1px solid #BCE3CB;
}

.verify-feedback.err {
  background: #FDF2F2;
  color: #9B2C2C;
  border: 1px solid #F5C6C6;
}

.verify-feedback.warn {
  background: #FFF9EB;
  color: #8A5A00;
  border: 1px solid #F4DDA3;
}

.history-mini-list {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.history-mini-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fff;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  min-width: 0;
}

/* Quiz Runner */
.quiz-wrap {
  padding: 18px 0 40px;
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
}

.quiz-progress-box {
  margin-bottom: 16px;
}

.quiz-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.progress-track {
  height: 7px;
  border-radius: 999px;
  background: var(--surface-soft);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.question-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  box-shadow: var(--shadow-card);
  animation: fadeSlide 0.22s ease;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.question-num {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
  background: var(--theme-bg);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.question-prompt {
  font-family: var(--font-serif);
  font-size: 18.5px;
  line-height: 1.5;
  margin: 0 0 18px;
}

.options-list {
  display: grid;
  gap: 11px;
}

.option-btn {
  width: 100%;
  min-height: 54px;
  text-align: left;
  background: #FCFBF8;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 13px 14px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: all 0.16s ease;
}

.option-btn:hover {
  border-color: var(--accent);
  background: var(--theme-bg);
}

.option-btn.selected {
  border-color: var(--accent);
  background: var(--theme-bg);
  box-shadow: 0 0 0 2px var(--accent-soft);
  font-weight: 600;
}

.option-letter {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.option-btn.selected .option-letter {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.quiz-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  gap: 10px;
}

/* Report View */
.report-wrap {
  padding: 18px 0 48px;
  min-width: 0;
}

.sample-banner {
  background: #FFF8E6;
  border: 1px solid #F0D28A;
  color: #7D5500;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
}

.report-hero {
  background: linear-gradient(155deg, var(--theme-bg) 0%, #FFFFFF 75%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  box-shadow: var(--shadow-float);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.report-hero::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(29, 27, 24, 0.06);
  border-radius: 14px;
  pointer-events: none;
}

.report-archive-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.archive-code {
  font-size: 11px;
  letter-spacing: 0.09em;
  color: var(--ink-muted);
  font-weight: 600;
}

.report-seal {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.report-for {
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.report-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(23px, 5vw, 31px);
  line-height: 1.28;
  margin: 0 0 8px;
  position: relative;
  z-index: 1;
}

.report-sub {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 14.5px;
  position: relative;
  z-index: 1;
}

.quote-box {
  background: rgba(255, 255, 255, 0.88);
  border-left: 3.5px solid var(--accent);
  padding: 12px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.report-action-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.report-action-bar .btn {
  flex: 1 1 160px;
}

/* Metric Widgets */
.metric-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

@media (max-width: 440px) {
  .metric-highlight-grid {
    grid-template-columns: 1fr 1fr;
  }
  .metric-highlight-grid .metric-box:last-child {
    grid-column: 1 / -1;
  }
}

.metric-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.metric-box .label {
  font-size: 12px;
  color: var(--ink-muted);
}

.metric-box .val {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 3px;
}

/* Battery bar */
.battery-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
}

.battery-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.battery-status-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.battery-shell {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 10px;
}

.battery-body {
  flex: 1;
  height: 34px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 3px;
  background: #FAF8F4;
}

.battery-level {
  height: 100%;
  border-radius: 6px;
  transition: width 0.6s ease;
}

.battery-cap {
  width: 6px;
  height: 14px;
  background: var(--ink);
  border-radius: 0 3px 3px 0;
}

/* Radar & Dimension bars */
.chart-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  box-shadow: var(--shadow-card);
  margin-bottom: 16px;
}

.chart-section h3 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 18px;
}

.radar-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
  width: 100%;
}

.radar-wrap svg {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
}

.dim-list {
  display: grid;
  gap: 13px;
}

.dim-row-head {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  margin-bottom: 5px;
}

.dim-row-head strong {
  color: var(--ink);
}

.dim-row-head span {
  color: var(--accent);
  font-weight: 700;
}

.dim-bar-track {
  height: 8px;
  border-radius: 999px;
  background: var(--surface-soft);
  overflow: hidden;
}

.dim-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
}

.dim-desc {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 4px;
}

/* MBTI Axis */
.mbti-axis-list {
  display: grid;
  gap: 16px;
}

.mbti-axis-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 5px;
}

.mbti-axis-bar {
  height: 12px;
  border-radius: 999px;
  background: var(--surface-soft);
  display: flex;
  overflow: hidden;
}

/* Narrative Sections */
.report-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-card);
  min-width: 0;
  overflow-wrap: anywhere;
}

.report-section.tone-strength {
  background: linear-gradient(180deg, #F4FAF6 0%, #FFFFFF 48%);
}

.report-section.tone-blind {
  background: linear-gradient(180deg, #FDF8EE 0%, #FFFFFF 48%);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.section-num {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--theme-bg);
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.report-section h3 {
  font-family: var(--font-serif);
  font-size: 17.5px;
  margin: 0;
}

.report-section p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.82;
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.bullet-list li {
  padding: 11px 13px;
  background: rgba(246, 242, 235, 0.72);
  border: 1px solid rgba(29, 27, 24, 0.05);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.action-idx {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Promo & Related */
.promo-card {
  background: linear-gradient(135deg, #25211E 0%, #3F3731 100%);
  color: #FAF8F4;
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  margin-bottom: 16px;
}

.promo-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 17.5px;
}

.promo-card p {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: rgba(250, 248, 244, 0.85);
}

.promo-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 255, 255, 0.11);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  flex-wrap: wrap;
}

.related-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.related-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #FCFBF8;
  border: 1px solid var(--line);
  padding: 13px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.related-item:hover {
  border-color: var(--accent);
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 22px 16px 34px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 680px;
  margin: 4px auto;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.modal.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 16, 0.58);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.modal-head h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 17px;
}

.icon-btn {
  border: none;
  background: var(--surface-soft);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
}

.modal-desc {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--ink-soft);
}

.poster-preview-wrap {
  background: var(--surface-soft);
  border-radius: var(--radius-md);
  padding: 10px;
  text-align: center;
  margin-bottom: 14px;
}

.poster-preview-wrap img {
  width: 100%;
  max-width: 320px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

/* Loading & Toast */
.loading-state {
  min-height: 60vh;
  display: grid;
  place-items: center;
  gap: 10px;
  color: var(--ink-muted);
}

.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--surface-soft);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: #1D1B18;
  color: #fff;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  z-index: 80;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  max-width: calc(100vw - 32px);
  text-align: center;
}

.toast.hidden {
  display: none;
}

.hidden {
  display: none !important;
}
