/* Ported from presentation.html + mobile adaptations */

/* ── Sun Disk ───────────────────────────────────────────── */
.sun-disk {
  width: clamp(3rem, 14vw, 5rem);
  height: clamp(3rem, 14vw, 5rem);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f5d98f 0%, var(--gold) 40%, #8a6a2e 100%);
  /* Layered halo: tight ring + diffuse outer glow so the disc reads as
     emitting light, not just colored. */
  box-shadow:
    0 0 14px rgba(201,166,89,0.55),
    0 0 60px var(--gold-glow),
    inset 0 0 16px rgba(0,0,0,0.2);
  flex-shrink: 0;
  position: relative;
}
.sun-disk::after {
  content: '';
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0.3;
}

/* ── Frame / Card ───────────────────────────────────────── */
.frame {
  border: 1px solid rgba(201,166,89,0.25);
  background: rgba(26,20,16,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: clamp(0.9rem, 3vw, 1.4rem);
  border-radius: 2px;
}

/* ── Buttons ────────────────────────────────────────────────
   The app uses one button family across all primary actions:
   spaced Cinzel caps, hairline gold border or gentle gold fill,
   slight inset glow on press. Matches the "MANY SUNS SHALL PASS"
   intro CTA — that's the platonic version of the system. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: var(--small-size);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
              transform 0.15s var(--ease);
  text-decoration: none;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.4; pointer-events: none; }

.btn-primary {
  /* Refined gold — soft top-down gradient gives the button a lit
     surface rather than a flat fill. Subtle outer glow ties it to
     the gold-glow token used on sun-discs elsewhere. */
  background: linear-gradient(180deg, #d4b369 0%, var(--gold) 55%, #b8954a 100%);
  color: var(--ink);
  border-color: rgba(0,0,0,0.15);
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 0 24px var(--gold-glow);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #dec07a 0%, #d4b369 55%, var(--gold) 100%);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(201,166,89,0.45);
}
.btn-ghost:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.btn-full { width: 100%; }

/* ── Arc Cards (Three arcs hub) ─────────────────────────── */
.arc-card {
  padding: clamp(1rem, 3.5vw, 1.5rem) clamp(0.8rem, 3vw, 1.2rem);
  border: 1px solid rgba(201,166,89,0.2);
  background: rgba(26,20,16,0.5);
  border-radius: 2px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.arc-card:hover, .arc-card:focus-visible {
  border-color: rgba(201,166,89,0.5);
  background: rgba(26,20,16,0.75);
}
.arc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 2px;
  background: var(--gold);
}
.arc-card .num-roman {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: var(--tiny-size);
  letter-spacing: 0.3em;
}
.arc-card h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 5vw, 1.55rem);
  color: var(--papyrus);
}
.arc-card .deity {
  font-family: var(--font-mono);
  font-size: var(--tiny-size);
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
}
.arc-card .hieroglyph-svg {
  width: clamp(34px, 9vw, 44px);
  height: clamp(34px, 9vw, 44px);
  color: var(--gold);
  margin: 0 auto 0.1rem;
  display: block;
}
.arc-card .hieroglyph {
  display: block;
  font-size: clamp(2rem, 9vw, 2.6rem);
  line-height: 1;
  color: var(--gold);
  margin: 0 auto 0.1rem;
  text-align: center;
  font-family: 'Noto Sans Egyptian Hieroglyphs', serif;
}
.arc-card .deity-names {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--font-mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: var(--small-size);
}
.arc-card .deity-primary { color: var(--gold); }
/* Hellenized name reads as "also known as", not as a disabled element.
   Italic + gold-dim distinguishes it from the primary transliteration
   without making it look broken. */
.arc-card .deity-slash    { color: rgba(201,166,89,0.35); font-weight: 300; }
.arc-card .deity-secondary {
  color: rgba(201,166,89,0.65);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.16em;
  text-transform: none;
  font-family: var(--font-display);
  font-size: 1.05em;
}
.arc-card p {
  /* Cormorant upright (not italic) at body size — keeps the serif
     warmth of the poem prompts while staying readable on dark.
     Italic at this size was the worst offender per design QA. */
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: var(--body-size);
  color: var(--papyrus);
  opacity: 0.78;
  line-height: 1.6;
  letter-spacing: 0.005em;
}
.arc-card .arc-date {
  font-size: var(--tiny-size);
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 500;
  margin-top: 0.2rem;
}

/* ── Expandable arc cards ───────────────────────────────── */
.arc-card--expandable {
  cursor: default;
  padding: 0;
}
.arc-card-toggle {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  background: none;
  border: none;
  color: inherit;
  text-align: center;
  cursor: pointer;
  padding: clamp(1rem, 3.5vw, 1.5rem) clamp(0.8rem, 3vw, 1.2rem);
  -webkit-tap-highlight-color: transparent;
}
.arc-expand-hint {
  font-size: var(--tiny-size);
  letter-spacing: 0.2em;
  color: var(--papyrus-dim);
  text-transform: uppercase;
  font-family: var(--font-body);
  transition: color 0.2s, opacity 0.2s;
}
.arc-card-toggle[aria-expanded="true"] .arc-expand-hint {
  color: var(--gold);
  opacity: 0.8;
}
.arc-inline-expand:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid rgba(201,166,89,0.15);
  padding: clamp(0.8rem, 3vw, 1.2rem);
}
.arc-inline-schedule {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.arc-sched-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.15rem 1rem;
  font-size: var(--small-size);
  text-align: left;
  align-items: start;
}
.arc-sched-item .s-time {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: var(--tiny-size);
  letter-spacing: 0.08em;
  padding-top: 0.15rem;
  text-align: left;
  white-space: nowrap;
  grid-row: 1 / span 2;
}
.arc-sched-item .s-event {
  color: var(--papyrus);
  line-height: 1.35;
  text-align: left;
  grid-column: 2;
  grid-row: 1;
}
.arc-sched-item .s-sub {
  display: block;
  font-family: var(--font-body);
  font-size: var(--tiny-size);
  color: var(--papyrus-dim);
  /* Upright Inter — italic Cormorant at this size on dark is hard to
     read. Schedule context lines need to scan in 2 seconds. */
  font-style: normal;
  font-weight: 400;
  text-align: left;
  grid-column: 2;
  grid-row: 2;
  margin-top: 0.05rem;
  line-height: 1.4;
}
.arc-full-link {
  margin-top: 0.25rem;
}

/* ── Cruise Map (papyrus / Tolkien-style) ──────────────────── */
.cruise-map {
  width: 100%;
  display: flex;
  justify-content: center;
}
.cruise-map-svg {
  width: 100%;
  max-width: 560px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.45));
}
.cruise-map-svg .cm-river {
  stroke: #5a4a2c;
  stroke-width: 5;
  stroke-linecap: round;
  opacity: 0.85;
}
.cruise-map-svg .cm-river-shimmer {
  stroke: #c9a659;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-dasharray: 3 8;
  opacity: 0.75;
}
.cruise-map-svg .cm-stop-ring {
  fill: #ebe2d3;
  stroke: #5a4a2c;
  stroke-width: 1.4;
}
.cruise-map-svg .cm-stop-dot {
  fill: #5a4a2c;
}
.cruise-map-svg .cm-stop.is-active .cm-stop-dot { fill: #b86945; }
.cruise-map-svg .cm-stop.is-active .cm-stop-ring { stroke: #b86945; stroke-width: 2; }
.cruise-map-svg .cm-stop.is-muted .cm-stop-dot { fill: #8a7a5a; }
.cruise-map-svg .cm-stop.is-muted .cm-stop-ring { stroke: #8a7a5a; }
.cruise-map-svg .cm-stop-label {
  font-family: 'Cinzel', 'Trajan Pro', serif;
  font-size: 22px;
  font-weight: 500;
  fill: #2a1f10;
  letter-spacing: 0.04em;
}
.cruise-map-svg .cm-stop-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  fill: #5a4a2c;
  opacity: 0.85;
}
.cruise-map-svg .cm-stop-day {
  font-family: 'Cinzel', 'Trajan Pro', serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  fill: #b86945;
}
.cruise-map-svg .cm-stop-glyph {
  font-family: 'Noto Sans Egyptian Hieroglyphs', sans-serif;
  font-size: 22px;
  fill: #5a4a2c;
}
.cruise-map-svg .cm-corner-glyph {
  font-family: 'Noto Sans Egyptian Hieroglyphs', sans-serif;
  font-size: 28px;
  fill: #6e5a36;
  opacity: 0.55;
}
.cruise-map-svg .cm-title-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 32px;
  fill: #2a1f10;
}
.cruise-map-svg .cm-title-sub {
  font-family: 'Cinzel', 'Trajan Pro', serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  fill: #5a4a2c;
}
.cruise-map-svg .cm-compass-letter {
  font-family: 'Cinzel', 'Trajan Pro', serif;
  font-size: 14px;
  fill: #5a4a2c;
}
.cruise-map-svg .cm-legend-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15px;
  fill: #5a4a2c;
}

/* ── Schedule Timeline ──────────────────────────────────── */
.schedule-grid {
  display: grid;
  grid-template-columns: 5.6rem 1fr;
  gap: 0.3rem clamp(0.7rem, 2.5vw, 1.1rem);
  font-size: var(--body-size);
  text-align: left;
}
.schedule-grid .time { text-align: left; }
.schedule-grid .event { text-align: left; }
.schedule-grid .time {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: var(--small-size);
  letter-spacing: 0.1em;
  padding-top: 0.2rem;
  white-space: nowrap;
}
.schedule-grid .schedule-glyph {
  display: inline-block;
  color: var(--gold);
  margin-right: 0.5rem;
  font-size: 1.15em;
  vertical-align: -0.05em;
  opacity: 0.85;
}

/* Reveal: rows start slightly down + transparent. Once the parent .schedule-grid
   gets .is-revealed (via IntersectionObserver), each row animates in with a
   CSS-driven stagger so the reader can register what they're reading. */
.schedule-grid .schedule-row {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 480ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 480ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0ms;
  will-change: opacity, transform;
}
.schedule-grid.is-revealed .schedule-row {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--row-i, 0) * 130ms + 80ms);
}
@media (prefers-reduced-motion: reduce) {
  .schedule-grid .schedule-row {
    opacity: 1; transform: none; transition: none;
  }
}
.schedule-grid .event {
  color: var(--papyrus);
  line-height: 1.4;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(201,166,89,0.1);
}
.schedule-grid .event:last-child { border-bottom: none; padding-bottom: 0; }
.schedule-grid .event strong { font-weight: 500; color: var(--papyrus); }
.schedule-grid .sub {
  display: block;
  font-family: var(--font-body);
  font-size: var(--small-size);
  color: var(--papyrus-dim);
  margin-top: 0.2rem;
  /* Upright Inter — schedule subtitles are functional, not poetic. */
  font-style: normal;
  font-weight: 400;
  line-height: 1.45;
}

/* ── Papyrus Riddle Card ────────────────────────────────── */
.papyrus-card {
  position: relative;
  background: linear-gradient(160deg, #f0e6d0 0%, #e8dbc2 40%, #dfd0b0 100%);
  color: #2a1f12;
  padding: 2.5rem 1.5rem 2rem;
  border-radius: 1px;
  overflow: visible;
}
/* torn top edge */
.papyrus-card::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 18px;
  background: linear-gradient(160deg, #f0e6d0 0%, #e8dbc2 40%, #dfd0b0 100%);
  clip-path: polygon(0% 100%, 1.5% 30%, 3% 80%, 5% 15%, 7% 60%, 9.5% 35%, 12% 70%, 14% 25%, 16.5% 65%, 19% 40%, 21% 75%, 23.5% 20%, 26% 55%, 28.5% 35%, 31% 70%, 33.5% 30%, 36% 65%, 38.5% 40%, 41% 80%, 43.5% 25%, 46% 60%, 48.5% 35%, 51% 70%, 53.5% 30%, 56% 65%, 58.5% 40%, 61% 80%, 63.5% 25%, 66% 60%, 68.5% 35%, 71% 70%, 73.5% 30%, 76% 65%, 78.5% 40%, 81% 80%, 83.5% 25%, 86% 60%, 88.5% 35%, 91% 70%, 93.5% 30%, 96% 65%, 98.5% 45%, 100% 100%);
}
/* torn bottom edge */
.papyrus-card::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 18px;
  background: linear-gradient(160deg, #f0e6d0 0%, #e8dbc2 40%, #dfd0b0 100%);
  clip-path: polygon(0% 0%, 2% 70%, 4% 20%, 6.5% 60%, 9% 30%, 11.5% 75%, 14% 35%, 16.5% 65%, 19% 25%, 21.5% 60%, 24% 40%, 26.5% 70%, 29% 20%, 31.5% 55%, 34% 30%, 36.5% 70%, 39% 25%, 41.5% 65%, 44% 35%, 46.5% 70%, 49% 25%, 51.5% 65%, 54% 30%, 56.5% 75%, 59% 35%, 61.5% 65%, 64% 25%, 66.5% 60%, 69% 30%, 71.5% 70%, 74% 20%, 76.5% 55%, 79% 35%, 81.5% 65%, 84% 25%, 86.5% 70%, 89% 35%, 91.5% 60%, 94% 30%, 96.5% 65%, 99% 40%, 100% 0%);
}
.papyrus-card .cartouche {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: #8a6a2e;
  text-align: center;
  margin-bottom: 1.2rem;
}
.papyrus-card .riddle-body {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 3.5vw, 1.2rem);
  line-height: 1.75;
  color: #2a1f12;
  white-space: pre-line;
}
.papyrus-card .riddle-body::first-letter {
  font-size: 2.8em;
  line-height: 0.75;
  float: left;
  margin-right: 0.08em;
  color: #6a4e1a;
  font-weight: 400;
}

/* Locked riddle */
.riddle-locked {
  position: relative;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(201,166,89,0.15);
  background: rgba(26,20,16,0.4);
  border-radius: 2px;
  text-align: center;
  opacity: 0.7;
}
.riddle-locked .lock-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
  opacity: 0.5;
}
.riddle-locked .lock-date {
  font-family: var(--font-mono);
  font-size: var(--small-size);
  letter-spacing: 0.15em;
  color: var(--papyrus-dim);
}

/* ── Progress Bar ───────────────────────────────────────── */
.progress-bar {
  height: 3px;
  background: rgba(201,166,89,0.12);
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  /* Gradient fill + soft glow at the leading edge gives the progress
     bar more presence without making it loud. */
  background: linear-gradient(90deg, rgba(201,166,89,0.4) 0%, var(--gold) 100%);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--gold-glow);
  transition: width 0.4s var(--ease);
}

/* ── Deity Result Card ──────────────────────────────────── */
.deity-card {
  padding: clamp(1rem, 3.5vw, 1.5rem);
  border: 1px solid rgba(201,166,89,0.25);
  background: rgba(26,20,16,0.5);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
}
.deity-card.rank-1 { border-color: rgba(201,166,89,0.55); }
.deity-card .rank-label {
  font-family: var(--font-mono);
  font-size: var(--tiny-size);
  letter-spacing: 0.3em;
  color: var(--papyrus-dim);
}
.deity-card.rank-1 .rank-label { color: var(--gold); }
.deity-card .deity-symbol {
  font-size: 2rem;
  line-height: 1;
}
.deity-card .deity-domain {
  font-size: var(--small-size);
  color: var(--papyrus-dim);
  font-style: italic;
}
.deity-card .deity-description {
  font-size: var(--small-size);
  line-height: 1.6;
  color: var(--papyrus);
}
.deity-card .deity-ask {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--body-size);
  color: var(--gold);
  padding-top: 0.4rem;
  border-top: 1px solid rgba(201,166,89,0.15);
}

/* ── Form elements ──────────────────────────────────────── */
.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.field-label {
  /* Cinzel matches the eyebrow + deity-name family — every uppercase
     tracked label across the app reads as one type voice. */
  font-family: var(--font-mono);
  font-size: var(--tiny-size);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--papyrus-dim);
  text-transform: uppercase;
}
.field-input,
.field-select,
.field-textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  background: rgba(235,226,211,0.06);
  border: 1px solid rgba(201,166,89,0.2);
  border-radius: 2px;
  color: var(--papyrus);
  font-family: var(--font-body);
  font-size: var(--body-size);
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field-input::placeholder,
.field-textarea::placeholder { color: var(--papyrus-dim); opacity: 0.6; }
.field-textarea { min-height: 100px; resize: vertical; }

/* checkbox/radio — Cormorant non-italic matches .cosmic-guide-body so
   form labels read in the same descriptive voice as home prose. */
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-height: 44px;
  cursor: pointer;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: var(--body-size);
  line-height: 1.45;
  color: var(--papyrus);
  padding: 0.5rem 0;
}
.check-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.15em;
  accent-color: var(--gold);
  cursor: pointer;
}
/* Inline (qualifier) text inside check labels — slightly dimmer, same font */
.check-label .dim {
  color: var(--papyrus-dim);
}

/* searchable guest dropdown */
.guest-search-wrap { position: relative; }
.guest-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 240px;
  overflow-y: auto;
  background: var(--ink-2);
  border: 1px solid rgba(201,166,89,0.3);
  border-top: none;
  z-index: 50;
}
.guest-dropdown .guest-opt {
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-size: var(--body-size);
  color: var(--papyrus);
  transition: background 0.15s;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.guest-dropdown .guest-opt:hover { background: rgba(201,166,89,0.1); }
.guest-dropdown .guest-opt.plus-one { color: var(--papyrus-dim); font-style: italic; }

/* ── Checkbox choice for quiz ───────────────────────────── */
.quiz-choice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 56px;
  padding: 0.9rem 1rem;
  background: rgba(235,226,211,0.04);
  border: 1px solid rgba(201,166,89,0.15);
  border-radius: 2px;
  cursor: pointer;
  text-align: left;
  color: var(--papyrus);
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: 1.4;
  transition: background 0.15s, border-color 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.quiz-choice:hover { background: rgba(201,166,89,0.08); border-color: rgba(201,166,89,0.3); }
.quiz-choice.selected { background: rgba(201,166,89,0.12); border-color: rgba(201,166,89,0.5); }

/* ── Alert / banner ─────────────────────────────────────── */
.alert {
  padding: 0.75rem 1rem;
  border-radius: 2px;
  font-size: var(--small-size);
  border-left: 3px solid currentColor;
}
.alert-error { background: rgba(184,105,69,0.1); color: var(--terracotta); }
.alert-success { background: rgba(201,166,89,0.1); color: var(--gold); }

/* ── Two-choice button row ───────────────────────────────── */
.choice-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.choice-btn {
  min-height: 56px;
  padding: 0.75rem 1rem;
  background: rgba(235,226,211,0.04);
  border: 1px solid rgba(201,166,89,0.2);
  border-radius: 2px;
  color: var(--papyrus);
  font-size: var(--body-size);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.choice-btn:hover { background: rgba(201,166,89,0.08); border-color: rgba(201,166,89,0.4); }
.choice-btn.selected { background: rgba(201,166,89,0.12); border-color: var(--gold); color: var(--gold); }

/* ── Ceremony card ──────────────────────────────────────── */
.ceremony-card {
  padding: clamp(0.9rem, 3vw, 1.3rem);
  border: 1px solid rgba(184,105,69,0.3);
  background: rgba(184,105,69,0.05);
  border-radius: 2px;
}
.ceremony-card .ceremony-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--h3-size);
  color: var(--terracotta);
  margin-bottom: 0.4rem;
}
.ceremony-card .ceremony-meta {
  font-family: var(--font-mono);
  font-size: var(--tiny-size);
  letter-spacing: 0.2em;
  color: var(--papyrus-dim);
  margin-bottom: 0.75rem;
}

/* ── Deity cross-link refs & tooltip ───────────────────── */
.deity-ref {
  background: none;
  border: none;
  padding: 0;
  color: var(--gold);
  text-decoration: underline dotted;
  cursor: pointer;
  font: inherit;
  display: inline;
}
.deity-ref:focus-visible {
  outline: 1px dotted var(--gold);
  outline-offset: 2px;
}

.deity-tooltip {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink-2);
  border-top: 1px solid rgba(201,166,89,0.4);
  padding: 1.25rem var(--screen-padding) calc(1.5rem + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform var(--dur) var(--ease);
  z-index: 300;
}
.deity-tooltip.visible {
  transform: translateY(0);
}
.deity-tooltip-inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.deity-tooltip-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.deity-tooltip-glyph {
  font-size: 2rem;
  line-height: 1;
  color: var(--gold);
}
.deity-tooltip-name {
  font-family: var(--font-mono);
  font-size: var(--h3-size);
  color: var(--gold);
  letter-spacing: 0.05em;
}
.deity-tooltip-greek {
  font-size: var(--small-size);
  color: var(--papyrus-dim);
  font-style: italic;
}
.deity-tooltip-domain {
  font-size: var(--small-size);
  color: var(--papyrus-dim);
}
.deity-tooltip-principle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--body-size);
  color: var(--papyrus);
  margin: 0;
}
.deity-tooltip-link {
  margin-top: 0.25rem;
  font-size: var(--small-size);
}
