/* A dedicated row accommodates the native date picker at every text size. */
.quick-reading > div {min-inline-size:0}
#life-path-form {display:grid;grid-template-columns:minmax(0,1fr);gap:12px;max-width:30rem;margin-inline:0}
#life-path-form label,#life-path-form input,#life-path-form button {position:static;min-inline-size:0;width:100%;max-width:100%;margin:0}
#life-path-form input {inline-size:100%;appearance:none;-webkit-appearance:none}
#life-path-form button {white-space:normal;min-height:48px;height:auto;padding:14px 18px}
#quick-number {display:inline-grid;place-items:center;min-width:1.6em;aspect-ratio:1;margin-bottom:10px;border:1px solid #af9160;border-radius:50%;background:#192b44;color:#f6d59c;box-shadow:inset 0 0 0 5px #192b44,inset 0 0 0 6px #8d754e}

.report-cover {position:relative;isolation:isolate;display:flex;align-items:flex-end;min-height:clamp(390px,43vw,590px);padding:clamp(28px,5.5vw,86px);color:#fff4df;background:#101a31 url('edition/cover-landscape.jpg') center 42%/cover;box-shadow:0 12px 45px #131d3221;overflow:hidden}
.report-cover::before,.report-cover::after {content:"";position:absolute;pointer-events:none}
.report-cover::before {inset:0;z-index:-1;background:linear-gradient(95deg,#081325db,#0b142999 44%,transparent 78%),linear-gradient(0deg,#0b1129b8,transparent 65%)}
.report-cover::after {inset:clamp(10px,1vw,18px);border:1px solid #dfc38e78}
.edition-inscription {width:min(100%,48rem);min-width:0}
.edition-title {color:#e8c88d;font:italic 500 clamp(1.6rem,3vw,2.65rem)/1.1 var(--serif);margin-top:clamp(20px,4vw,50px)}
.report-cover #report-person {color:#fff4dc;font:500 clamp(2.7rem,6.4vw,6.2rem)/.98 var(--serif);letter-spacing:-.045em;margin:8px 0 18px;overflow-wrap:anywhere}
.report-cover .report-meta {color:#e8e4df;font:400 clamp(.88rem,1.3vw,1.04rem)/1.45 var(--sans);margin:1px 0!important}
#report-key {display:inline-block;margin:15px 0 0!important;padding-top:12px;border-top:1px solid #dabb825e;color:#f0cb88;font:600 .82rem/1.4 var(--sans);letter-spacing:.04em}
#report .contents,#report .edition-chapter,#report .report-overview {background:#fbf7ef url('edition/paper.jpg') center top/100% auto repeat-y;border:1px solid #d7cabb}
#report .contents,#report .report-overview {padding:clamp(24px,4vw,52px)}
#report .edition-chapter {padding:0 clamp(20px,5vw,74px) clamp(25px,4vw,55px);margin:34px 0}
.chapter-plate {position:relative;display:flex;align-items:flex-end;min-height:clamp(155px,21vw,310px);margin:0 calc(-1 * clamp(20px,5vw,74px));background-position:center;background-size:cover;padding:20px clamp(20px,5vw,74px)}
.chapter-plate span {color:#fff0d7;font:italic 500 clamp(1.3rem,2.2vw,2.15rem)/1.2 var(--serif);background:#10192ac9;padding:5px 12px}
#report .report-chapter {padding:0;margin:clamp(22px,3.2vw,44px) 0 9px;border:0;color:#192b46}
#report .chapter-intent {font:italic 500 clamp(1.4rem,2.4vw,2rem)/1.22 var(--serif);color:#725532;max-width:42ch;margin:0 0 24px}
#report .table-wrap,#report .cards,#report .reading-entry {min-width:0}
.reveal-theatre {background:#091325}
.reveal-theatre::before {background:linear-gradient(90deg,#10254529,#071225b8),url('edition/cover-landscape.jpg') center 42%/cover;opacity:.69}
.reveal-main,.reveal-foot,.reveal-mast {position:relative;z-index:1}
.reveal-main {transition:opacity .46s,transform .6s;transform-origin:center}
.reveal-theatre[data-arrived] .reveal-main {opacity:0;transform:scale(1.07);pointer-events:none}
.reveal-arrival {position:absolute;z-index:2;inset:13% 8% 13%;margin:auto;display:grid;place-items:center;pointer-events:none}
.reveal-arrival .report-cover {width:min(100%,930px);min-height:min(53vh,520px);max-height:100%;padding:clamp(26px,4.7vw,72px);overflow:auto}
.reveal-arrival .report-cover #report-person {font-size:clamp(2.1rem,5.8vw,5rem)}
.reveal-mast,.reveal-foot {z-index:3}
.reveal-copy {text-shadow:0 2px 20px #060c1c}
.reveal-theatre .lens-scene {filter:drop-shadow(0 0 24px #77afff2b)}
@media(max-width:620px) {
  .reveal-arrival {inset:13% 5%}
  .reveal-arrival .report-cover {min-height:48vh;background-position:55% center}
  .report-cover::before {background:linear-gradient(0deg,#071126eb,#0a17332b 84%)}
}
@media print {
  #report .edition-chapter {padding:0;border:0;background:white;break-before:page}
  .chapter-plate {margin:0;min-height:130px;print-color-adjust:exact;-webkit-print-color-adjust:exact}
  #report .report-chapter {break-before:auto}
  #report .report-cover {background:#111c33 url('edition/cover-landscape.jpg') center/cover;color:white;print-color-adjust:exact;-webkit-print-color-adjust:exact}
  #report .contents,#report .report-overview {background:white;border:0}
}
.overview-keys {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:12px 24px;margin-top:22px}
.overview-entry {padding:0 0 14px;border-bottom:1px solid #b8a88c}
#report .overview-entry h4 {margin:9px 0;color:#2d4254}
#eye-plate {display:none}
[data-scene=eye] .lens-fallback + #eye-plate {display:block;position:absolute;inset:0;margin:auto;width:100%;height:100%;object-fit:contain;mask-image:radial-gradient(ellipse,#000 45%,transparent 77%)}
.reveal-track {grid-template-columns:5fr 8fr 7fr 5.25fr 7.75fr}
.reveal-track i:after {transition:none}

.prompt-tools {display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:16px 0}
#copy-notice,.reader-guide-link {font:600 .85rem/1.4 var(--sans)}
@media print {[data-screen-only]{display:none!important}}

.element-plate {display:flex;align-items:center;gap:1rem;margin:1rem 0;padding:.8rem;background:#102038;color:#f7ddb0;border-radius:.25rem}
.element-plate img {width:clamp(4rem,14vw,7rem);height:auto;display:block}
.element-plate figcaption {font:500 clamp(1.55rem,4vw,2.3rem)/1.1 var(--serif)}

.report-cover .zodiac-background,.chapter-plate .zodiac-background {
  position:absolute;pointer-events:none;object-fit:contain;height:auto;aspect-ratio:1;
}
.report-cover .zodiac-background {
  width:min(46%,445px);top:50%;right:4%;transform:translateY(-50%);
  filter:drop-shadow(0 0 20px #050817);
}
.report-cover .edition-inscription {position:relative}
.chapter-plate:has(.zodiac-background) {
  isolation:isolate;overflow:hidden;
}
.chapter-plate:has(.zodiac-background)::before {
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(95deg,#14203899,transparent 75%);
}
.chapter-plate .zodiac-background {width:clamp(172px,28vw,340px);top:50%;left:17%;transform:translateY(-50%)}
.chapter-plate span {position:relative}
#report[data-zodiac-art] .edition-chapter,#report[data-zodiac-art] .report-overview {
  position:relative;isolation:isolate;
}
#report[data-zodiac-art] .edition-chapter::after,#report[data-zodiac-art] .report-overview::after {
  content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;
  background:var(--zodiac-art) right bottom/min(46%,330px) no-repeat;opacity:.21;
}
@media(max-width:680px) {
  .report-cover:has(.zodiac-background) {padding-top:clamp(150px,47vw,280px)}
  .reveal-arrival .report-cover:has(.zodiac-background) {padding-top:clamp(100px,30vw,155px)}
  .report-cover .zodiac-background {width:min(65%,275px);top:4%;right:4%;transform:none}
  .reveal-arrival .report-cover .zodiac-background {width:min(42%,175px)}
  .chapter-plate .zodiac-background {left:auto;right:4%}
}

#report .chapter-walkthrough {margin:1.35rem 0;padding:.9rem 1.2rem;border-left:3px solid #b19060;background:#e9ddc581}
#report .chapter-walkthrough h4 {margin:0 0 .35rem;color:#614b2c}
#report .chapter-walkthrough p {margin:0;max-width:74ch}

#report .chapter-walkthrough p + p {margin-top:.8em}
