:root {
  color-scheme: dark;
  --void: #101010;
  --paper: #eceae5;
  --muted: #92928e;
  --line: rgba(236, 234, 229, .22);
  --safe-top: max(16px, env(safe-area-inset-top));
  --safe-right: max(18px, env(safe-area-inset-right));
  --safe-bottom: max(18px, env(safe-area-inset-bottom));
  --safe-left: max(18px, env(safe-area-inset-left));
  --ui: "Neue Haas Grotesk Display Pro", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; background: var(--void); scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }
body { color: var(--paper); font-family: var(--ui); font-weight: 300; overflow-x: hidden; }
button, textarea { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; border: 0; margin: -1px; clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap; }

.reading-app { position: relative; min-height: 100dvh; overflow: hidden; isolation: isolate; background: var(--void); }

.ritual-header {
  position: fixed; z-index: 100; top: 0; right: 0; left: 0;
  height: calc(42px + var(--safe-top));
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end;
  padding: var(--safe-top) var(--safe-right) 0 var(--safe-left);
  pointer-events: none;
}
.ritual-header a, .ritual-header button { min-height: 42px; display: inline-flex; align-items: center; pointer-events: auto; }
.ritual-exit {
  min-width: 70px; justify-self: start; gap: 8px; overflow: visible; white-space: nowrap;
  color: rgba(255,255,255,.72); text-decoration: none; font-size: 9px; letter-spacing: .22em;
}
.ritual-exit span:first-child { font-size: 16px; transform: translateY(-1px); }
.ritual-progress { margin: 0; align-self: center; color: rgba(255,255,255,.62); font-size: 9px; letter-spacing: .27em; }
.ritual-back { justify-self: end; background: transparent; color: rgba(255,255,255,.72); font-size: 9px; letter-spacing: .2em; cursor: pointer; }

.ritual-scene {
  min-height: 100dvh; width: 100%; opacity: 0;
  transition: opacity .7s cubic-bezier(.22,.72,.2,1);
}
.ritual-scene.is-active { opacity: 1; }
.entry-scene { position: fixed; inset: 0; background: #000; }

/* Reading choice: typography, not product cards. */
.plan-scene { min-height: 100dvh; overflow-y: auto; scrollbar-width: none; }
.plan-scene::-webkit-scrollbar { display: none; }
.plan-shell {
  width: min(100%, 760px); min-height: 100dvh; display: grid; align-content: center;
  margin: 0 auto; padding: calc(var(--safe-top) + 76px) var(--safe-right) calc(var(--safe-bottom) + 42px) var(--safe-left);
}
.plan-kicker { margin: 0 0 14px; color: #858581; font-size: 9px; letter-spacing: .34em; }
.plan-shell h1 { margin: 0 0 42px; font-size: clamp(29px, 8vw, 46px); font-weight: 300; letter-spacing: .025em; line-height: 1; }
.plan-list { display: grid; margin: 0 0 34px; }
.plan-option {
  position: relative; width: 100%; padding: 19px 0 17px; border-bottom: 1px solid rgba(236,234,229,.16);
  background: transparent; text-align: left; cursor: pointer;
}
.plan-option:first-child { border-top: 1px solid rgba(236,234,229,.16); }
.plan-option-line { display: grid; grid-template-columns: 1fr auto auto; align-items: baseline; gap: 15px; }
.plan-option h3 { margin: 0; font-size: 16px; font-weight: 300; letter-spacing: .15em; }
.plan-option-count, .plan-option-price { margin: 0; color: #aaa9a4; font-size: 10px; letter-spacing: .13em; white-space: nowrap; }
.plan-option-price { min-width: 48px; color: #e8e6e0; text-align: right; }
.plan-option-positions {
  max-height: 0; margin: 0; overflow: hidden; color: #888884; font-size: 10px; line-height: 1.55;
  letter-spacing: .06em; opacity: 0; transform: translateY(-5px);
  transition: max-height .45s ease, margin .45s ease, opacity .35s ease, transform .45s ease;
}
.plan-option[aria-checked="true"] h3 { color: #fff; }
.plan-option[aria-checked="true"] .plan-option-positions { max-height: 72px; margin-top: 12px; opacity: 1; transform: none; }
.plan-option[aria-checked="true"]::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 1px; content: ""; background: rgba(255,255,255,.72); }
.question-panel { margin: 2px 0 26px; }
.question-panel label { display: block; margin-bottom: 7px; color: #aaa9a5; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.question-panel textarea {
  width: 100%; min-height: 58px; resize: none; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(236,234,229,.18);
  border-radius: 0; outline: 0; background: transparent; font-size: 16px; font-weight: 300; line-height: 1.4;
}
.question-panel textarea:focus { border-color: rgba(255,255,255,.58); }
.question-panel textarea::placeholder { color: #5f605d; }
.question-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 7px; color: #62635f; font-size: 8px; letter-spacing: .08em; }
.begin-ritual, .open-unlock {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; justify-self: start;
  min-height: 42px; padding: 0; border-bottom: 1px solid rgba(255,255,255,.55); background: transparent;
  color: #efede8; font-size: 9px; letter-spacing: .2em; cursor: pointer;
}
.begin-ritual {
  width: min(100%, 215px);
  min-height: 44px;
  justify-content: center;
  justify-self: center;
  padding: 12px 22px 11px;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 999px;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
  color: #f5f5f3;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1;
  transition: background-color .2s ease, box-shadow .2s ease, opacity .2s ease, transform .2s ease;
}
.begin-ritual span[aria-hidden="true"] { display: none; }
.begin-ritual:not(:disabled):hover { background: rgba(255,255,255,.09); box-shadow: 0 9px 26px rgba(0,0,0,.3); transform: translateY(-1px); }
.begin-ritual:focus-visible { outline: 1px solid #fff; outline-offset: 5px; }
.begin-ritual:disabled { opacity: .38; cursor: not-allowed; }
.inline-error, .unlock-error { min-height: 17px; margin: 12px 0 0; color: #c99f98; font-size: 10px; }
.plan-gift-invitation {
  display: grid;
  justify-items: center;
  width: 100%;
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid rgba(236,234,229,.12);
  text-align: center;
}
.plan-gift-invitation p {
  margin: 0 0 11px;
  color: #858581;
  font-size: 8px;
  letter-spacing: .2em;
}
.plan-gift-action {
  min-width: min(100%, 250px);
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px 13px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 999px;
  background: #f5f5f3;
  box-shadow: 0 8px 24px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.88);
  color: #0c0c0c;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1;
  text-decoration: none;
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.plan-gift-action:hover { background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.32); color: #000; transform: translateY(-1px); }
.plan-gift-action:focus-visible { outline: 1px solid #fff; outline-offset: 5px; }

/* One continuous selection space. */
.explore-scene { position: fixed; inset: 0; min-height: 0; overflow: hidden; }
.space-viewport { position: absolute; inset: 0; overflow: hidden; perspective: 1040px; perspective-origin: 50% 48%; touch-action: none; cursor: grab; }
.space-viewport:active { cursor: grabbing; }
.space-field { position: absolute; inset: 0; transform-style: preserve-3d; }
.space-card {
  position: absolute; top: 50%; left: 50%; width: 94px; aspect-ratio: 1063 / 1772; overflow: hidden; padding: 0;
  border-radius: 7px; outline: 0; background: transparent; cursor: pointer; transform-origin: 50% 50%;
  will-change: transform, filter, opacity; transition: opacity .7s ease, filter .28s ease;
}
.space-card img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: inherit; pointer-events: none; }
.space-card:focus-visible { outline: 1px solid rgba(255,255,255,.72); outline-offset: 4px; }
.space-card.is-candidate { filter: brightness(1.14) drop-shadow(0 24px 34px rgba(0,0,0,.72)) !important; }
.space-card.is-selected { opacity: 0 !important; pointer-events: none; }
.space-vignette { position: absolute; z-index: 20; inset: 0; pointer-events: none; box-shadow: inset 0 0 72px 10px rgba(0,0,0,.5); }
.explore-scene.is-opening .space-card { animation: card-emerge 1.25s cubic-bezier(.16,.78,.25,1) both; animation-delay: var(--entry-delay, 0ms); }
.explore-scene.is-complete .space-field { opacity: .16; transition: opacity 1.1s ease; }
.explore-scene.is-complete .space-card { pointer-events: none; }

.explore-cue {
  position: absolute; z-index: 60; right: var(--safe-right); bottom: calc(var(--safe-bottom) + 72px); left: var(--safe-left);
  margin: 0; text-align: center;
  color: rgba(236,234,229,.82); font-size: 8px; letter-spacing: .18em; line-height: 1.45; white-space: nowrap;
  pointer-events: none; text-shadow: 0 2px 14px #000, 0 0 22px #000; transition: opacity .42s ease, transform .42s ease;
}
.explore-cue.is-dismissed { opacity: 0; transform: translateY(4px); }

.candidate-controls {
  position: absolute; z-index: 45; right: var(--safe-right); bottom: calc(var(--safe-bottom) + 76px); left: var(--safe-left);
  text-align: center; pointer-events: none;
}
.candidate-controls p { margin: 0 0 7px; color: #b6b4ae; font-size: 9px; letter-spacing: .22em; text-transform: uppercase; text-shadow: 0 2px 16px #000; }
.candidate-controls > div { display: flex; justify-content: center; gap: 34px; }
.candidate-controls button {
  min-width: 96px; min-height: 38px; padding: 0 18px; border: 1px solid rgba(255,255,255,.8); border-radius: 999px;
  background: #f5f5f3; color: #0c0c0c; font-size: 10px; font-weight: 500; letter-spacing: .18em; cursor: pointer; pointer-events: auto;
}
.candidate-controls .cancel-card { border-color: rgba(255,255,255,.36); background: transparent; color: #aaa9a5; }

.selection-dock {
  position: absolute; z-index: 40; right: var(--safe-right); bottom: var(--safe-bottom); left: var(--safe-left);
  min-height: 58px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 18px;
  pointer-events: none; text-shadow: 0 2px 14px #000;
}
.selection-slots { display: flex; align-items: end; gap: 8px; min-width: 0; overflow-x: auto; scrollbar-width: none; pointer-events: auto; }
.selection-slots::-webkit-scrollbar { display: none; }
.selection-slot {
  position: relative; flex: 0 0 27px; height: 45px; display: grid; place-items: center; padding: 0;
  border: 1px solid rgba(255,255,255,.2); border-radius: 3px; background: rgba(16,16,16,.12);
  color: #8d8e89; font-size: 8px; cursor: default;
}
button.selection-slot { border-color: rgba(255,255,255,.45); cursor: pointer; }
.selection-slot img { width: 100%; height: 100%; object-fit: contain; border-radius: 2px; }
.selection-slot em { position: absolute; right: -3px; bottom: -3px; width: 13px; height: 13px; display: grid; place-items: center; border-radius: 50%; background: #eae8e3; color: #111; font-size: 7px; font-style: normal; }
.selection-count { margin: 0 0 4px; color: #dfddd7; font-size: 9px; letter-spacing: .22em; white-space: nowrap; }
.selection-dock.is-drop-ready .selection-slot:not(button):first-of-type,
.selection-dock.is-drop-ready .selection-slot.drop-target { border-color: #fff; color: #fff; }

.space-completion {
  position: absolute; z-index: 50; inset: calc(var(--safe-top) + 66px) var(--safe-right) calc(var(--safe-bottom) + 28px) var(--safe-left);
  display: grid; align-content: center; justify-items: center; text-align: center; pointer-events: none;
}
.space-completion > p { margin: 0 0 8px; color: #b7b5af; font-size: 9px; letter-spacing: .27em; }
.chosen-cards { position: relative; width: min(100%, 370px); height: 280px; margin-bottom: 10px; }
.chosen-card { position: absolute; top: 50%; left: 50%; width: var(--chosen-width, 94px); aspect-ratio: 1063 / 1772; overflow: hidden; border-radius: 7px; transform: translate(-50%,-50%) translateX(var(--spread-x)) rotate(var(--spread-r)); filter: drop-shadow(0 20px 30px rgba(0,0,0,.78)); }
.chosen-card img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.space-completion .open-unlock, .space-completion .return-to-space { pointer-events: auto; }
.space-completion .open-unlock {
  width: min(100%, 270px); min-height: 46px; justify-content: center; justify-self: center; gap: 14px; padding: 12px 20px;
  border: 1px solid rgba(255,255,255,.82); border-radius: 999px; background: transparent; color: #fff; font-size: 10px;
}
.space-completion .space-completion-error { min-height: 15px; margin: 4px 0 0; color: #c99f98; font-size: 9px; letter-spacing: .04em; }
.return-to-space { margin-top: 10px; padding: 10px 18px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: transparent; color: #8e8f8a; font-size: 8px; letter-spacing: .18em; cursor: pointer; }
.card-flight { position: fixed; z-index: 200; margin: 0; pointer-events: none; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0,0,0,.65)); transition: left .56s cubic-bezier(.22,.8,.22,1), top .56s cubic-bezier(.22,.8,.22,1), width .56s cubic-bezier(.22,.8,.22,1), height .56s cubic-bezier(.22,.8,.22,1), opacity .56s ease, transform .56s ease; }

/* Checkout stays secure but visually restrained. */
dialog { max-width: none; max-height: none; padding: 0; border: 0; background: transparent; color: inherit; }
dialog::backdrop { background: rgba(0,0,0,.86); backdrop-filter: blur(8px); }
.unlock-dialog { width: 100%; height: 100%; }
.unlock-shell {
  position: relative; width: min(calc(100% - 30px), 450px); max-height: calc(100dvh - 30px); overflow-y: auto;
  margin: 15px auto; padding: 28px 22px; border: 1px solid rgba(255,255,255,.2); background: #101010; text-align: left;
}
.unlock-close { position: absolute; top: 7px; right: 7px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: transparent; color: #999994; font-size: 22px; cursor: pointer; }
.unlock-kicker { margin: 0 0 9px; color: #999a96; font-size: 9px; letter-spacing: .22em; }
.unlock-shell h2 { margin: 0; font-size: 25px; font-weight: 300; letter-spacing: .04em; }
.unlock-summary { display: flex; gap: 6px; margin: 24px 0 18px; overflow-x: auto; }
.unlock-summary-card { position: relative; flex: 0 0 38px; height: 63px; }
.unlock-summary-card img { width: 100%; height: 100%; object-fit: contain; }
.unlock-summary-card span { position: absolute; right: -3px; bottom: -3px; width: 15px; height: 15px; display: grid; place-items: center; border-radius: 50%; background: #efede8; color: #101010; font-size: 7px; }
.unlock-price { margin: 18px 0 22px; font-size: 27px; letter-spacing: .06em; }
.reading-consent { display: grid; grid-template-columns: 18px 1fr; gap: 11px; color: #aaa9a5; font-size: 11px; line-height: 1.45; }
.reading-consent input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: #e9e7e2; }
.unlock-legal { display: flex; gap: 9px; margin: 15px 0; font-size: 10px; }
.unlock-legal a { color: #aaa9a5; }
.checkout-reading, .development-reading, .primary-ritual-action {
  width: 100%; min-height: 48px; margin-top: 7px; padding: 13px 18px; border: 1px solid rgba(255,255,255,.58);
  border-radius: 999px; background: transparent; color: #eeece7; font-size: 9px; letter-spacing: .19em; text-align: center; text-decoration: none; cursor: pointer;
}
.checkout-reading:disabled { opacity: .3; cursor: default; }
.development-reading { border-color: rgba(188,166,107,.5); color: #d6c48e; }

/* Gift purchase stays inside the new Reading experience. */
.gift-dialog { width: 100%; height: 100%; }
.gift-shell {
  position: relative;
  width: min(calc(100% - 24px), 470px);
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  margin: 12px auto;
  padding: 30px 22px 25px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 26px;
  background: #101010;
  box-shadow: 0 28px 70px rgba(0,0,0,.68);
  scrollbar-width: none;
}
.gift-shell::-webkit-scrollbar { display: none; }
.gift-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: transparent;
  color: #aaa9a5;
  font-size: 24px;
  cursor: pointer;
}
.gift-kicker { margin: 0 0 9px; color: #8e8e89; font-size: 8px; letter-spacing: .25em; }
.gift-shell h2 { margin: 0; font-size: 28px; font-weight: 300; letter-spacing: .035em; }
.gift-intro { margin: 12px 0 24px; color: #aaa9a5; font-size: 12px; line-height: 1.55; }
.gift-plan-picker { min-width: 0; margin: 0 0 22px; padding: 0; border: 0; }
.gift-plan-picker legend { margin: 0 0 8px; color: #858581; font-size: 8px; letter-spacing: .2em; }
.gift-plan-options { display: grid; }
.gift-plan-option {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  gap: 12px;
  padding: 13px 0 12px;
  border-top: 1px solid rgba(236,234,229,.15);
  color: #aaa9a5;
  cursor: pointer;
}
.gift-plan-option:last-child { border-bottom: 1px solid rgba(236,234,229,.15); }
.gift-plan-option input { position: absolute; opacity: 0; pointer-events: none; }
.gift-plan-name { color: #d8d6d0; font-size: 13px; letter-spacing: .13em; }
.gift-plan-count, .gift-plan-option-price { font-size: 9px; letter-spacing: .1em; white-space: nowrap; }
.gift-plan-option.is-selected .gift-plan-name, .gift-plan-option.is-selected .gift-plan-option-price { color: #fff; }
.gift-plan-option.is-selected { box-shadow: inset 0 -1px 0 rgba(255,255,255,.72); }
.gift-field { display: grid; gap: 7px; margin-top: 17px; }
.gift-field span { color: #8f8f8b; font-size: 8px; letter-spacing: .18em; }
.gift-field input, .gift-field textarea {
  width: 100%;
  padding: 9px 0 10px;
  border: 0;
  border-bottom: 1px solid rgba(236,234,229,.24);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: #efede8;
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
}
.gift-field textarea { min-height: 65px; resize: vertical; }
.gift-field input:focus, .gift-field textarea:focus { border-color: rgba(255,255,255,.72); }
.gift-price { margin: 22px 0 15px; color: #f0eee9; font-size: 27px; letter-spacing: .04em; text-align: center; }
.gift-legal { display: flex; justify-content: center; gap: 9px; margin: 0 0 15px; color: #858581; font-size: 9px; }
.gift-legal a { color: inherit; }
.gift-checkout, .gift-development {
  width: 100%;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  background: #f5f5f3;
  color: #0c0c0c;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .16em;
  cursor: pointer;
}
.gift-development { margin-top: 9px; border-color: rgba(188,166,107,.5); background: transparent; color: #d6c48e; }
.gift-checkout:disabled, .gift-development:disabled { opacity: .45; cursor: default; }
.gift-error { min-height: 16px; margin: 10px 0 0; color: #c99f98; font-size: 10px; line-height: 1.4; }
.gift-result { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(236,234,229,.18); text-align: center; }
.gift-result p { margin: 0 0 12px; color: #d8d6d0; font-size: 10px; letter-spacing: .18em; }
.gift-private-link { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 10px 18px; border: 1px solid rgba(255,255,255,.58); border-radius: 999px; color: #fff; font-size: 10px; letter-spacing: .12em; text-decoration: none; }

/* Reveal every card first; the overall reading appears only when the spread is complete. */
.reveal-scene, .reading-complete-scene { min-height: 100dvh; padding: calc(var(--safe-top) + 76px) var(--safe-right) calc(var(--safe-bottom) + 28px); overflow-y: auto; scrollbar-width: none; }
.reveal-scene::-webkit-scrollbar, .reading-complete-scene::-webkit-scrollbar { display: none; }
.reveal-heading, .complete-heading { max-width: 40rem; margin: 0 auto 20px; text-align: center; }
.reveal-heading h2, .complete-heading h2 { margin: 0; font-size: clamp(27px, 8vw, 46px); font-weight: 300; letter-spacing: .035em; line-height: 1; }
.reveal-heading p, .complete-question { max-width: 32rem; margin: 13px auto 0; color: #9a9a96; font-size: 13px; line-height: 1.5; }
.complete-question { font-style: italic; }
.active-reveal {
  display: grid;
  width: min(100%, 900px);
  min-height: min(55vh, 520px);
  margin: 22px auto 12px;
  place-items: center;
}
.reveal-card {
  position: relative;
  width: min(53vw, 226px);
  aspect-ratio: 1063 / 1772;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  perspective: 1100px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.reveal-card:disabled { cursor: default; }
.reveal-card:focus-visible { outline: 1px solid #e7e5df; outline-offset: 7px; }
.reveal-card-inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.2,.72,.16,1); }
.reveal-card.is-revealed .reveal-card-inner { transform: rotateY(180deg); }
.reveal-card-back, .reveal-card-front {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: 7px;
  backface-visibility: hidden;
  box-shadow: 0 18px 38px rgba(0,0,0,.58);
}
.reveal-card-back img, .reveal-card-front img, .reveal-card-front video { display: block; width: 100%; height: 100%; object-fit: contain; }
.reveal-card-front { background: #e3e2df; transform: rotateY(180deg); }
.reveal-card-front.is-signature {
  background: transparent;
  padding: 0;
  box-shadow: 0 0 55px rgba(224,222,213,.24), 0 25px 50px #000;
}
.reveal-card-front.is-signature video { border-radius: inherit; background: transparent; object-fit: contain; }
.reveal-card-front.is-signature::after { position: absolute; inset: -30%; content: ""; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.24) 49%, transparent 62%); animation: signature-light 4s ease-in-out infinite; pointer-events: none; }
.reveal-count { margin: 0 auto; color: #999a96; font-size: 9px; letter-spacing: .24em; text-align: center; }
.reveal-scene > .next-reveal { display: block; width: min(100%, 300px); margin: 18px auto 0; }
.complete-spread { display: flex; max-width: 760px; min-height: 145px; justify-content: center; align-items: center; margin: 25px auto 42px; }
.complete-card { position: relative; flex: 0 0 clamp(58px, 18vw, 120px); aspect-ratio: 1063 / 1772; margin-left: clamp(-21px, -3.5vw, -8px); transform: translateY(var(--complete-y)) rotate(var(--complete-r)); filter: drop-shadow(0 18px 25px rgba(0,0,0,.65)); }
.complete-card:first-child { margin-left: 0; }
.complete-card img, .complete-card video { width: 100%; height: 100%; object-fit: contain; border-radius: 5px; }
.synthesis-panel { max-width: 720px; margin: 0 auto 46px; padding: 28px 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.synthesis-kicker, .synthesis-panel h3 { color: #aaa9a5; font-size: 9px; font-weight: 400; letter-spacing: .2em; }
.synthesis-copy, .synthesis-guidance, .synthesis-reflection { color: #d2d0cb; font-size: 16px; line-height: 1.7; white-space: pre-line; }
.synthesis-panel hr { height: 1px; margin: 34px 0; border: 0; background: var(--line); }
.synthesis-panel h3 { margin: 27px 0 11px; }
.reading-complete-scene .finish-reading { display: flex; width: min(100%, 320px); margin: 0 auto; justify-content: center; align-items: center; }

@keyframes card-emerge { from { opacity: 0; filter: brightness(.35) blur(4px); } to { opacity: 1; } }
@keyframes explore-cue-drift {
  0%, 100% { transform: translate(-50%, -50%); }
  22% { transform: translate(-8px, -4px); }
  48% { transform: translate(4px, -1px); }
  72% { transform: translate(2px, 5px); }
}
@keyframes signature-light { 0%, 38% { transform: translateX(-48%); opacity: 0; } 55% { opacity: 1; } 72%, 100% { transform: translateX(48%); opacity: 0; } }

@media (min-width: 700px) {
  .plan-shell { padding-right: clamp(34px, 7vw, 110px); padding-left: clamp(34px, 7vw, 110px); }
  .space-card { width: 126px; }
  .selection-dock { min-height: 76px; }
  .selection-slot { flex-basis: 36px; height: 59px; }
  .candidate-controls { bottom: calc(var(--safe-bottom) + 88px); }
  .active-reveal { min-height: min(58vh, 560px); }
  .reveal-card { width: min(25vw, 275px); }
}

@media (max-height: 720px) and (max-width: 699px) {
  .plan-shell { align-content: start; padding-top: calc(var(--safe-top) + 64px); }
  .plan-shell h1 { margin-bottom: 25px; }
  .plan-option { padding: 14px 0 13px; }
  .question-panel textarea { min-height: 44px; }
}

@media (max-width: 349px) {
  .space-card { width: 74px; }
}

@media (max-width: 699px) {
  .complete-card { flex-basis: clamp(46px, 15vw, 58px); margin-left: clamp(-13px, -3.2vw, -9px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
