/* The invitation carries the instructions. Leave the space below the menu to the cards. */
:root{--portal-text-shadow:0 1px 2px #100b19d1,0 0 4px #100b197d}
#welcome-account-past:empty{display:none}
#welcome-account-past:not(:empty){margin-bottom:8px}
.account-seals.library-seals{--ivory:#fff4d9;--gold:#e9c67f;grid-template-columns:repeat(3,minmax(0,1fr));width:min(100%,21rem);margin:14px auto}
body:not(:has(:is(#selection,#welcome-pick,#welcome-first,#welcome-spread,#result.screen):not([hidden]))) #spread-example{display:none!important}
.library-area:not([hidden]){width:min(100%,28rem);margin:14px auto;padding:8px 12px;display:grid;justify-items:center;gap:6px;text-align:center}
.library-area[hidden]{display:none!important}
.library-area a,.library-area summary,.library-area label{min-height:44px;align-content:center}
.library-area label input[type=checkbox]{width:auto}
.original-readings{width:100%}.original-readings>details{max-width:24rem;margin:0 auto}.original-readings img{display:block;width:min(100%,14rem);height:auto;margin:8px auto;border-radius:8px}.original-readings p{white-space:pre-line;overflow-wrap:anywhere;margin:10px auto;max-width:36ch;text-align:start}
#library-readings .original-readings[open],#library-readings .original-readings details[open]{padding:0;border:0;box-shadow:none;background:none}
#library-readings .original-readings details>summary{padding:8px 12px;border:0;box-shadow:none;background:none;color:#fff6df;text-shadow:var(--portal-text-shadow)}
#library-readings .original-readings p{padding:4px 12px;color:#fff6df;background:transparent;text-shadow:var(--portal-text-shadow)}
#welcome-account-past img{display:block;width:auto;height:6rem;max-width:100%;object-fit:contain;border-radius:5px;margin:0 auto}
.welcome-completion .welcome-other-paths{width:min(100%,24rem);margin-inline:auto;text-align:center}
.welcome-other-paths summary{cursor:pointer;min-height:44px;align-content:center;color:#ffe4a2}
.welcome-other-paths[open] :is(a,button){display:flex;align-items:center;justify-content:center;min-height:44px;width:100%}
body[data-prelaunch] .welcome-completion:has(.welcome-recap){width:min(calc(100% - 24px),36rem);margin:1.4rem auto 2rem;gap:.8rem}
.welcome-completion:has(.welcome-recap) .oracle-explanation{width:100%;margin:.2rem 0}
.welcome-recap ol{list-style:none;margin:0;padding:0}
.welcome-recap li{padding:.7rem 0;border-bottom:1px solid #6f839c65}
.welcome-recap li:last-child{border:0;padding-bottom:0}
.welcome-recap h3{margin:0;color:#ffe6a7;font:600 1.05rem/1.3 Georgia,serif}
.welcome-recap li p{margin:.25rem 0 0}
.welcome-completion .welcome-return-note{margin:0 auto .6rem;color:#fff0d6;font:500 1rem/1.45 system-ui,sans-serif}
.welcome-completion .welcome-other-paths:has(h2){max-width:none;text-align:start}
.welcome-other-paths:has(h2) :is(a,button){display:flex;align-items:center;min-height:44px;width:100%;padding:0;border:0;background:none;color:#ffe4a7;text-decoration:none;text-align:start}
.welcome-other-paths:has(h2) p{margin:0}
.welcome-offers>h2{margin:0 0 .15rem;text-align:center}
.welcome-human-report [hidden]{display:none!important}
.welcome-human-report form{display:grid;gap:.6rem;margin-top:.75rem}
.welcome-human-report label:has(input[type=email]){display:grid;gap:.3rem}
.welcome-human-report input[type=email]{box-sizing:border-box;width:100%;min-height:44px;padding:.5rem;border:1px solid #b59558;border-radius:5px;background:#101f2c;color:#fff5db}
.welcome-explore{width:100%;margin:1rem auto 0}
.welcome-explore h2{font:600 1.4rem/1.2 Georgia,serif;color:#ffe6a7;text-align:center}
.welcome-explore [data-welcome-chapters]{display:grid;gap:.9rem;margin:1rem auto}
.welcome-explore [data-welcome-chapters] a{display:grid;grid-template-columns:72px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:.2rem .85rem;padding:.85rem;text-align:start;border:1px solid #796746;border-radius:10px;background:#16283b;color:#fff6df;text-decoration:none}
.welcome-explore [data-welcome-chapters] img{grid-row:1/3;width:100%;height:82px;object-fit:contain}
.welcome-explore strong{color:#ffe4a7;font:600 1.12rem/1.2 Georgia,serif}
.welcome-explore>a,.welcome-explore>button{display:flex;min-height:44px;margin:auto;align-items:center;text-decoration:none}
body[data-prelaunch] :is(#selection,#welcome-pick)>.eyebrow,body[data-prelaunch] #selection>.quiet,body[data-prelaunch] #welcome-progress,
body[data-prelaunch] .path-position,body[data-prelaunch] .path-stops{display:none!important}
body[data-prelaunch] #selection>h1{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0}
body[data-prelaunch] #selection,body[data-prelaunch] #welcome-pick:not(.five-back-pick){min-height:0;padding-block-start:6px;align-self:start}
body[data-prelaunch][data-reader-nav] :is(#selection,#welcome-pick:not(.five-back-pick)){padding-block-start:calc(env(safe-area-inset-top,0px) + 56px)}
body[data-prelaunch] #selection #backs{margin-block-start:2px}
body[data-prelaunch] #welcome-pick:not(.five-back-pick)>h1{font-size:19px;line-height:1.2;margin:2px auto 4px}
body[data-prelaunch] #welcome-pick:not(.five-back-pick){--pick-chrome:126px}
body[data-prelaunch] #welcome-pick:not(.five-back-pick):has(#welcome-back-table:not([hidden])){--pick-chrome:152px}
body[data-prelaunch] :is(button,a,summary):not(.card-back):active,.draw-invitation button:active{filter:brightness(1.24);translate:0 1px}
body[data-prelaunch] button:not(.card-back)[aria-busy=true]{cursor:progress;outline:2px solid #eed598;outline-offset:2px}
body[data-prelaunch] button:not(.card-back)[aria-busy=true]::after{content:"";display:inline-block;width:.7em;height:.7em;margin-inline-start:.45em;vertical-align:middle;border:2px solid currentColor;border-inline-end-color:transparent;border-radius:50%;animation:oracle-wait .75s linear infinite}
.advice-path{max-width:32rem;margin:8px auto;color:#fff5da;text-align:center}.advice-path p{margin:0 auto 6px;text-wrap:balance}
.advice-path summary{cursor:pointer;color:#ffe4a2;min-height:44px;padding:7px 10px;border:0;border-radius:0;box-shadow:none;background:transparent;font:400 15px/1.4 system-ui,sans-serif;text-decoration:underline;text-underline-offset:3px}
body[data-prelaunch] #welcome-first.guided-reading #welcome-first-detail,body[data-prelaunch] #daily-short{box-sizing:border-box;width:min(calc(100% - 24px),36ch);margin:10px auto 12px;padding:.45rem .65rem;border:0;box-shadow:none;background:transparent;text-align:center}
body[data-prelaunch] :is(#daily-short,#welcome-first-meaning){color:#fff6e2;font:500 17px/1.45 system-ui,sans-serif;text-wrap:pretty;text-shadow:var(--portal-text-shadow)}
.screen :is(h1,.path-caption),.screen>.quiet,.screen>.eyebrow,.invitation>.quiet,.invitation .eyebrow,#status:not(:empty),.welcome-return-note{ text-shadow:var(--portal-text-shadow) }
.screen h1::before,.screen>.quiet::before,.screen>.eyebrow::before,.invitation>.quiet::before,.invitation .eyebrow::before,.feedback:has(#status:not(:empty))::before,#status:not(:empty)::before{content:none}
body[data-prelaunch] #result .daily-actions{grid-template-columns:1fr;justify-items:center}
.advice-path details>div{display:grid;gap:4px;justify-items:center}.advice-path .text-button{min-height:44px;display:inline-flex;align-items:center}
@media(prefers-reduced-motion:reduce){body[data-prelaunch] button[aria-busy=true]::after{animation:none!important}}

/* Offer labels stay on their own action. */
:where(button,a.gold-button)[data-reading-offer]{position:relative}
:where(button,a.gold-button)[data-reading-offer]::before{
 position:absolute;inset-inline-end:.5rem;inset-block-start:-.4rem;
 z-index:1;display:inline-grid;place-items:center;min-height:17px;padding:1px .5rem;
 box-sizing:border-box;width:max-content;pointer-events:none;white-space:nowrap;
 color:#30200e;border:1px solid #f0d38d;border-radius:3px;
 background:linear-gradient(143deg,#ab7837,#ffe8ac 45%,#d1a65e 81%,#b38443);
 box-shadow:inset 0 0 0 1px #634320a3,0 2px 6px #0a0717a3;
 font:700 .72rem/1.1 Georgia,serif;text-shadow:0 1px #fff0ba9c;
}
:is([data-reading-offer="success"],[data-reading-offer="welcome-finish"])::before{content:"US$0.99"}
[data-reading-offer="report"]::before{content:"US$8"}
[data-reading-offer="party"]::before{content:"US$2.99"}
[data-reading-offer="zoom"]::before{content:"US$64"}
[data-reading-offer="membership"]::before{content:"From US$0.99"}
:is([data-reading-offer="success"],[data-reading-offer="welcome-finish"]):lang(fr)::before{content:"0,99 $ US"}
[data-reading-offer="report"]:lang(fr)::before{content:"8 $ US"}
[data-reading-offer="party"]:lang(fr)::before{content:"2,99 $ US"}
[data-reading-offer="zoom"]:lang(fr)::before{content:"64 $ US"}
[data-reading-offer="membership"]:lang(fr)::before{content:"Dès 0,99 $ US"}
:where(button,a.gold-button)[data-reading-offer="free"]::before{
 inset-inline-end:-.38rem;inset-block-start:-.67rem;
 content:"Free";color:#fff5db;border-color:#f9dba67d;border-radius:60% 50% 55% 45% / 78% 74% 56% 60%;
 background:radial-gradient(ellipse at 28% 0,#ccb9ea 0,transparent 56%),linear-gradient(130deg,#66547d,#302745 66%);
 box-shadow:inset 0 1px 5px #f8e8f676,0 0 12px #c6aaff83;
 text-shadow:0 1px 2px #1e132a;
}
[data-reading-offer="free"]:lang(fr)::before{content:"Gratuit"}
[hidden] [data-reading-offer]::before,[data-reading-offer][hidden]::before{content:none}

/* One action at the checkpoint. The door back to the site sits below. */
.destiny-pause{width:min(100%,30rem);margin:1.5rem auto 3rem;padding:1rem;text-align:center}
.destiny-pause h2{margin:0;font:500 clamp(1.75rem,6vw,2.5rem)/1.1 Georgia,serif;color:#f6dfaa}
.destiny-pause p{max-width:35ch;margin:.85rem auto;font:400 1rem/1.45 system-ui,sans-serif}
.destiny-wheel{position:relative;width:min(62vw,200px);aspect-ratio:1;margin:1.1rem auto 1.5rem}
.destiny-wheel::after{content:'';position:absolute;top:-8px;left:50%;width:15px;height:15px;border:1px solid #ffebb5;background:#ddae57;transform:translateX(-50%) rotate(45deg)}
.destiny-disc{width:100%;height:100%;border:4px double #e6bf77;border-radius:50%;background:
 radial-gradient(circle,#ffdf9c 0 4%,#6b492e 5% 10%,transparent 11%),
 repeating-conic-gradient(from -22.5deg,#a97639 0 1deg,#191b37 1deg 22.5deg,#253951 22.5deg 45deg);
 box-shadow:inset 0 0 16px #fcd78999,0 0 30px #a785db52}
.destiny-wheel.is-spinning .destiny-disc{animation:destiny-turn 1.05s linear infinite}
@keyframes destiny-turn{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.destiny-wheel.is-spinning .destiny-disc{animation:none;filter:brightness(1.3)}}
.destiny-options{display:grid;justify-items:center;gap:.3rem;margin:1.35rem auto 0;padding:1rem;color:#fff5dc;background:#112438;border-radius:.75rem}
.destiny-options :is(a,button){min-height:44px;text-decoration:none}
.destiny-status:empty{display:none}
.destiny-options .destiny-finish{width:auto;margin:.35rem auto .5rem;padding:.5rem 1.3rem}
body[data-prelaunch] #welcome-table-screen:has(> #welcome-table[data-destiny-three]){
 padding-block-start:clamp(2.5rem,calc(45svh - 8rem),22rem);
}
#welcome-table[data-destiny-three]{grid-template-rows:auto}
#welcome-table[data-destiny-three] .table-slot{grid-row:1}

body[data-prelaunch] #welcome-account #welcome-auth-methods:has(#welcome-google:not([hidden])) #welcome-email-choice{
 background:transparent;border-color:transparent;box-shadow:none;color:#ffe5ad;
}
