:root{--ink:#170d25;--ink-2:#241436;--plum:#35204b;--lilac:#ae85ef;--lilac-2:#d6c1f7;--gold:#eacb91;--cream:#faf5eb;--paper:#f2e8d8;--muted:#c3b5cf;--line:rgba(231,207,247,.19);--shadow:0 28px 90px rgba(5,2,11,.43)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--ink);color:var(--cream);font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;-webkit-font-smoothing:antialiased}
button,textarea,input{font:inherit}
button{cursor:pointer}
button:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
button:disabled{cursor:not-allowed;opacity:.45}
button,textarea{-webkit-tap-highlight-color:transparent}
.app-shell{min-height:100dvh;position:relative;overflow:hidden;background:var(--ink)}
.app-shell:before{content:"";position:absolute;inset:0 0 auto;height:440px;background:radial-gradient(circle at 50% 0,rgba(117,58,150,.16),transparent 70%);pointer-events:none}
.site-header{height:70px;position:relative;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 max(22px,calc((100vw - 1100px)/2));border-bottom:1px solid rgba(255,255,255,.055)}
.brand{display:flex;align-items:center;gap:11px;color:var(--cream);text-decoration:none;font-family:Georgia,"Times New Roman",serif;font-size:22px;letter-spacing:-.055em;white-space:nowrap}
.brand-mark{display:grid;place-items:center;width:32px;height:32px;border:1px solid rgba(234,203,145,.65);border-radius:50%;color:var(--gold);font-family:Georgia,serif;font-size:22px;line-height:1;box-shadow:0 0 18px rgba(234,203,145,.13)}
.header-actions{display:flex;align-items:center;gap:7px}
.header-link,.icon-button{border:0;background:transparent;color:var(--muted);padding:11px;border-radius:10px}
.header-link:hover,.icon-button:hover{color:var(--cream);background:rgba(255,255,255,.06)}
.header-link{font-size:13px;font-weight:600}
.icon-button{font-size:20px;line-height:1;min-width:42px;min-height:42px}
.demo-ribbon{position:relative;z-index:4;text-align:center;background:#2b1a3e;color:#ddcdec;padding:7px 15px;font-size:11px;letter-spacing:.025em;border-bottom:1px solid rgba(255,255,255,.055)}
.page{position:relative;z-index:1;animation:pageIn .35s ease both}
@keyframes pageIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.container{width:min(100% - 40px,1050px);margin-inline:auto}
.narrow{width:min(100% - 40px,610px);margin-inline:auto}
.eyebrow{color:var(--gold);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.25em}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{font-family:Georgia,"Times New Roman",serif;font-weight:400}
h1{font-size:clamp(42px,7.4vw,76px);line-height:1.03;letter-spacing:-.06em}
h2{font-size:clamp(31px,5vw,48px);line-height:1.13;letter-spacing:-.045em}
h3{font-size:24px;line-height:1.2;letter-spacing:-.035em}
p{line-height:1.62}
.muted{color:var(--muted)}
.gold{color:var(--gold)}
.text-center{text-align:center}
.button{min-height:50px;border:1px solid transparent;border-radius:14px;padding:12px 21px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:14px;font-weight:700;line-height:1.2;transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease;text-decoration:none;white-space:nowrap}
.button:active{transform:scale(.985)}
.button-primary{background:linear-gradient(140deg,#bd94f3,#9863dc);color:#1d102d;box-shadow:0 10px 30px rgba(154,93,223,.24)}
.button-primary:hover{background:linear-gradient(140deg,#d6b5fc,#aa72ea);box-shadow:0 12px 40px rgba(154,93,223,.32)}
.button-secondary{background:rgba(255,255,255,.065);border-color:var(--line);color:var(--cream)}
.button-secondary:hover{background:rgba(255,255,255,.11)}
.button-text{background:transparent;color:var(--lilac-2);padding-inline:8px}
.button-text:hover{color:#fff}
.button-block{width:100%}
.button-row{display:flex;gap:10px;flex-wrap:wrap}
.small-note{font-size:12px;color:var(--muted);line-height:1.5}
.home-hero{min-height:min(760px,calc(100dvh - 104px));position:relative;display:flex;align-items:center;overflow:hidden;background:linear-gradient(90deg,rgba(20,10,35,.96) 0%,rgba(20,10,35,.78) 44%,rgba(20,10,35,.2) 100%),url('./assets/celestial-stage.jpg') center 62%/cover no-repeat}
.home-hero:after{content:"";position:absolute;inset:auto 0 0;height:170px;background:linear-gradient(transparent,var(--ink));pointer-events:none}
.hero-content{position:relative;z-index:2;padding-block:100px 160px}
.hero-content>*{max-width:560px}
.hero-content h1{margin:19px 0 23px}
.hero-content p{font-size:18px;color:#e8dded;max-width:460px;margin-bottom:29px}
.hero-content .hero-note{display:flex;align-items:center;gap:9px;margin-top:18px;color:#ddd0e9;font-size:12px}
.hero-note span{width:5px;height:5px;border-radius:50%;background:var(--gold);display:inline-block}
.hero-visual{position:absolute;z-index:2;right:max(8%,calc((100vw - 1160px)/2));bottom:83px;width:360px;height:290px;pointer-events:none;filter:drop-shadow(0 25px 30px rgba(0,0,0,.32))}
.hero-visual .card{position:absolute;width:126px;height:207px;bottom:0;left:50%;transform-origin:bottom center}
.hero-visual .card:nth-child(1){transform:translateX(-86%) rotate(-19deg)}
.hero-visual .card:nth-child(2){transform:translateX(-43%) translateY(-25px) rotate(0deg);z-index:2}
.hero-visual .card:nth-child(3){transform:translateX(-5%) rotate(19deg)}
.home-below{padding:42px 0 80px;display:grid;grid-template-columns:1fr 1fr 1fr;gap:36px}
.home-below div{border-top:1px solid var(--line);padding-top:18px}
.home-below strong{display:block;color:var(--gold);font-size:12px;margin-bottom:7px}
.home-below p{color:var(--muted);font-size:13px;line-height:1.6}
.stage{min-height:calc(100dvh - 104px);padding:40px 0 90px}
.stage-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:42px}
.step-label{font-size:12px;color:var(--muted);letter-spacing:.08em;text-transform:uppercase}
.form-heading{margin-bottom:12px}
.lead{font-size:16px;color:var(--muted);margin-bottom:30px}
.input-label{font-size:13px;font-weight:700;display:block;margin-bottom:10px;color:var(--cream)}
.question-input{display:block;width:100%;min-height:174px;resize:vertical;border-radius:19px;border:1px solid rgba(232,203,145,.35);background:#28183a;color:var(--cream);padding:19px 20px;line-height:1.6;outline:none;box-shadow:0 15px 45px rgba(0,0,0,.11)}
.question-input::placeholder{color:#a797b5}
.question-input:focus{border-color:var(--lilac);box-shadow:0 0 0 3px rgba(174,133,239,.15)}
.field-meta{display:flex;justify-content:space-between;gap:14px;margin:9px 0 26px;color:var(--muted);font-size:12px}
.topic-list{display:flex;gap:8px;flex-wrap:wrap;margin:11px 0 30px}
.topic{background:#2b1a3e;border:1px solid var(--line);border-radius:999px;color:#e2d4ec;padding:10px 15px;min-height:43px;font-size:13px}
.topic:hover,.topic.active{background:#493065;border-color:#ac80e8;color:white}
.stage-actions{margin-top:26px;display:flex;gap:10px;flex-wrap:wrap}
.example-box{margin-top:35px;border-left:2px solid var(--gold);padding:2px 0 2px 16px;color:var(--muted);font-size:13px}
.question-quote{font-family:Georgia,serif;font-size:clamp(24px,4vw,31px);line-height:1.35;color:var(--cream);padding:25px 0 28px;border-bottom:1px solid var(--line);margin-bottom:29px}
.position-list{list-style:none;margin:0;padding:0;display:grid;gap:11px}
.position-list li{display:flex;align-items:center;gap:13px;color:#e4dceb;font-size:14px}
.position-list li span{display:grid;place-items:center;min-width:29px;height:29px;border-radius:50%;border:1px solid #876e9d;color:var(--gold);font-size:12px}
.quota-note{margin:33px 0 12px;background:#2c1c3f;border:1px solid var(--line);border-radius:15px;padding:15px 17px;color:#e6daec;font-size:13px}
.quota-note strong{color:var(--gold)}
.ritual{margin:36px auto 7px;text-align:center;max-width:530px;color:#e8deed;font-family:Georgia,serif;font-size:20px;line-height:1.5}
.draw-stage{position:relative;min-height:calc(100dvh - 104px);overflow:hidden;background:linear-gradient(180deg,rgba(23,13,37,.5),rgba(23,13,37,.52)),url('./assets/celestial-stage.jpg') center 55%/cover no-repeat}
.draw-stage:after{content:"";position:absolute;inset:auto 0 0;height:180px;background:linear-gradient(transparent,#170d25);pointer-events:none}
.draw-content{position:relative;z-index:2;padding:24px 20px 0;text-align:center}
.draw-count{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(234,203,145,.32);border-radius:999px;background:rgba(30,15,49,.74);color:var(--gold);padding:9px 16px;font-size:12px;font-weight:700}
.draw-content h2{margin:32px 0 7px;font-size:clamp(29px,5vw,44px)}
.draw-content .draw-sub{font-size:14px;color:#decfe7;margin:0 auto;max-width:360px}
.draw-question{font-size:12px;color:#bbaac8;margin:18px auto 0;max-width:350px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.draw-slots{display:flex;gap:7px;align-items:flex-start;justify-content:center;max-width:520px;margin:30px auto 0;position:relative;z-index:4}
.draw-slot{min-width:0;flex:1;display:flex;align-items:center;flex-direction:column;gap:7px}
.draw-slot-visual{width:52px;height:76px;border-radius:6px;border:1px dashed rgba(234,203,145,.43);background:rgba(18,8,30,.53);display:grid;place-items:center;color:#baa0cd;font-size:11px}
.draw-slot-visual.filled{border:0;background:none}
.draw-slot .card{width:52px;height:76px;border-radius:5px}
.draw-slot .card-face-symbol{font-size:26px}
.draw-slot .card-face-name,.draw-slot .card-face-number{display:none}
.draw-slot label{font-size:10px;line-height:1.25;color:#d7c6df;max-width:72px}
.draw-slot.current .draw-slot-visual{border-color:var(--gold);box-shadow:0 0 19px rgba(234,203,145,.16)}
.fan-wrap{position:relative;height:260px;max-width:690px;margin:13px auto 0;z-index:5;touch-action:pan-y}
.fan-card{position:absolute;left:50%;bottom:5px;width:94px;height:160px;padding:0;border:0;background:transparent;transform-origin:50% 130%;transition:transform .2s ease,filter .2s ease;will-change:transform}
.fan-card:hover,.fan-card:focus-visible{transform:var(--fan-transform) translateY(-23px)!important;z-index:40!important;filter:brightness(1.15)}
.fan-card .card{width:100%;height:100%;box-shadow:0 3px 12px rgba(0,0,0,.4)}
.fan-card:active{transform:var(--fan-transform) translateY(-34px) scale(1.025)!important}
.draw-hint{position:relative;z-index:5;text-align:center;color:#e8d9ee;font-size:12px;margin:0 0 22px}
.draw-foot{position:relative;z-index:5;display:flex;justify-content:center;padding:0 20px 40px}
.card{aspect-ratio: .61;display:block;position:relative;overflow:hidden;border-radius:9px;box-shadow:0 12px 25px rgba(0,0,0,.27)}
.card-back{background:linear-gradient(135deg,#553574,#291640 55%,#57346e);border:2px solid #a77ec5}
.card-back:before{content:"";position:absolute;inset:6px;border:1px solid #d8b780;border-radius:5px;opacity:.88}
.card-back:after{content:"✦";position:absolute;left:50%;top:49%;transform:translate(-50%,-50%);width:60%;aspect-ratio:1;border:1px solid rgba(234,203,145,.82);border-radius:50%;display:grid;place-items:center;color:var(--gold);font-family:Georgia,serif;font-size:51px;box-shadow:0 0 0 8px rgba(234,203,145,.065),inset 0 0 22px rgba(234,203,145,.11)}
.card-face{background:linear-gradient(160deg,#f5ead1,#e2d0aa);border:3px solid #e5c794;color:#23132e}
.card-face:before{content:"";position:absolute;inset:5px;border:1px solid #6e4d77;border-radius:3px;pointer-events:none}
.card-face-top{position:absolute;left:0;right:0;top:8%;text-align:center;color:#67496f;font-family:Georgia,serif;font-size:13px;letter-spacing:.23em}
.card-face-symbol{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);font-family:Georgia,serif;font-size:clamp(46px,9vw,80px);line-height:1;color:#7b4e81;text-shadow:0 5px 0 rgba(220,183,130,.35)}
.card-face-symbol:after{content:"";position:absolute;width:105%;height:105%;left:-3%;top:-4%;border:1px solid rgba(132,87,120,.36);border-radius:50%}
.card-face-name{position:absolute;bottom:6%;left:5%;right:5%;text-align:center;font-family:Georgia,serif;font-size:10px;line-height:1.07;font-weight:bold;letter-spacing:.02em;text-transform:uppercase}
.card-face-number{position:absolute;bottom:19%;left:0;right:0;text-align:center;font-size:8px;letter-spacing:.2em;color:#795c75}
.card-face[data-tone="blue"] .card-face-symbol{color:#3c768b}
.card-face[data-tone="rust"] .card-face-symbol{color:#b2644b}
.card-face[data-tone="olive"] .card-face-symbol{color:#667749}
.card-face[data-tone="violet"] .card-face-symbol{color:#775692}
.spread-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;max-width:760px;margin:28px auto 0}
.spread-item{min-width:0;text-align:center}
.spread-item .card{width:100%;max-width:130px;margin:auto}
.spread-item strong{display:block;color:var(--gold);font-size:11px;line-height:1.25;margin-top:12px}
.spread-item small{display:block;color:var(--muted);font-size:10px;line-height:1.3;margin-top:4px}
.spread-intro{padding-top:10px;text-align:center}
.spread-intro h1{font-size:clamp(37px,5vw,54px);margin:16px 0 8px}
.spread-intro p{color:var(--muted);max-width:480px;margin:0 auto}
.spread-bottom{text-align:center;margin:34px auto 0}
.loading-orbit{width:70px;height:70px;border:1px solid var(--gold);border-radius:50%;margin:45px auto 24px;position:relative;animation:spin 2.2s linear infinite}
.loading-orbit:after{content:"✦";position:absolute;inset:0;display:grid;place-items:center;color:var(--gold);font-size:28px}
@keyframes spin{to{transform:rotate(360deg)}}
.reading-top{background:linear-gradient(180deg,#241334,#1c102b);padding:40px 0 45px;border-bottom:1px solid var(--line)}
.reading-top .eyebrow{margin-bottom:15px}
.reading-top h1{font-size:clamp(38px,6vw,58px);max-width:770px;margin-bottom:20px}
.reading-question{color:#e2d4e9;font-family:Georgia,serif;font-size:18px;line-height:1.5;max-width:670px;margin-bottom:20px}
.mini-cards{display:flex;gap:8px;max-width:500px;margin:22px 0}
.mini-cards .card{width:calc((100% - 32px)/5);max-width:82px;border-radius:5px}
.mini-cards .card-face-symbol{font-size:32px}
.mini-cards .card-face-name,.mini-cards .card-face-number{display:none}
.reading-body{background:#fcf8f1;color:#2b2030;padding:45px 0 90px}
.reading-paper{width:min(100% - 40px,680px);margin:auto}
.reading-paper h2{color:#34203e;font-size:clamp(29px,5vw,39px);margin:0 0 20px}
.reading-paper h3{color:#42274e;font-size:clamp(23px,4vw,29px);margin:0 0 18px}
.reading-paper p{font-size:16px;line-height:1.75;color:#463a4b;margin:0 0 17px}
.reading-summary{padding-bottom:26px;border-bottom:1px solid #dcd0d9}
.reading-section{padding:34px 0;border-bottom:1px solid #e3d9df;scroll-margin-top:20px}
.reading-section .section-kicker{display:block;color:#836588;font-size:11px;letter-spacing:.17em;text-transform:uppercase;font-weight:800;margin-bottom:9px}
.reading-section-head{display:flex;align-items:center;gap:16px;margin-bottom:10px}
.reading-section-head .card{width:66px;min-width:66px;height:104px;border-radius:5px;box-shadow:0 5px 15px #c6b9c2}
.reading-section-head .card-face-symbol{font-size:28px}
.reading-section-head .card-face-name,.reading-section-head .card-face-number{display:none}
.reading-section-head h3{margin:0 0 4px}
.reading-section-head .card-label{font-size:12px;color:#776779}
.reflection-box{background:#f1e8dd;border-left:3px solid #9c739d;padding:22px 21px;margin:26px 0;border-radius:0 12px 12px 0}
.reflection-box strong{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.13em;color:#765781;margin-bottom:10px}
.reflection-box p{margin:0;font-family:Georgia,serif;font-size:20px;line-height:1.45;color:#38253e}
.disclaimer{font-size:12px!important;color:#7d717d!important;padding-top:20px}
.reading-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:27px}
.reading-actions .button-secondary{color:#4b305c;border-color:#cabbcb;background:#fff}
.coffee-box{margin-top:40px;background:#2b193e;color:var(--cream);padding:27px 23px;border-radius:20px;box-shadow:var(--shadow)}
.coffee-box h3{color:var(--gold);margin-bottom:10px}
.coffee-box p{color:#e2d4e9;font-size:14px;margin-bottom:18px}
.coffee-box .button-text{color:#eadbf5}
.coffee-dismissed{font-size:12px;color:#907e94;margin-top:25px}
.reading-nav{display:flex;gap:8px;overflow-x:auto;padding:13px max(20px,calc((100vw - 680px)/2));background:#f8f2e9;border-bottom:1px solid #e5d9e1;scrollbar-width:none}
.reading-nav::-webkit-scrollbar{display:none}
.reading-nav a{white-space:nowrap;color:#6f567a;text-decoration:none;padding:8px 11px;border:1px solid #e2d4df;border-radius:999px;font-size:11px;font-weight:700}
.reading-nav a:hover{background:#efe3ee}
.history-list{display:grid;gap:13px;margin-top:26px}
.history-item{width:100%;display:flex;text-align:left;align-items:center;gap:14px;background:#29193b;border:1px solid var(--line);border-radius:16px;color:var(--cream);padding:14px}
.history-item:hover{border-color:#ae85ef;background:#34204a}
.history-item .card{width:42px;min-width:42px;height:66px;border-radius:4px}
.history-item .card-face-symbol{font-size:20px}
.history-item .card-face-name,.history-item .card-face-number{display:none}
.history-item span{min-width:0;flex:1}
.history-item strong{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.history-item small{display:block;color:var(--muted);margin-top:6px;font-size:11px}
.empty-state{text-align:center;padding:55px 0;color:var(--muted)}
.modal-backdrop{position:fixed;z-index:70;inset:0;background:rgba(7,3,12,.7);display:flex;align-items:flex-end;justify-content:center}
.modal{position:relative;width:min(100%,540px);max-height:min(88dvh,710px);overflow:auto;background:#2a193d;border:1px solid #67477a;border-radius:25px 25px 0 0;padding:28px 23px max(32px,env(safe-area-inset-bottom));box-shadow:0 -20px 90px rgba(0,0,0,.35);animation:sheetUp .23s ease both}
@keyframes sheetUp{from{transform:translateY(30px);opacity:.5}to{transform:translateY(0);opacity:1}}
.modal-handle{width:38px;height:4px;background:#7b6687;border-radius:10px;margin:-12px auto 22px}
.modal h2{font-size:31px;margin-bottom:13px}
.modal p,.modal li{font-size:14px;color:#dfd0e7;line-height:1.65}
.modal ul{padding-left:18px}
.modal .close{position:absolute;right:18px;top:16px}
.modal-quote{background:#38214e;border:1px solid var(--line);border-radius:12px;padding:15px;margin:20px 0;font-family:Georgia,serif;color:#f0e4f3;font-size:16px;line-height:1.5}
.toast{position:fixed;z-index:90;left:50%;bottom:max(20px,env(safe-area-inset-bottom));transform:translateX(-50%);width:max-content;max-width:calc(100vw - 32px);padding:12px 16px;border-radius:12px;background:#ead7fb;color:#231132;font-size:13px;font-weight:700;box-shadow:var(--shadow)}
.site-footer{padding:25px 20px 36px;text-align:center;color:#9a8aaa;font-size:11px;border-top:1px solid rgba(255,255,255,.06)}
@media(max-width:760px){.site-header{height:62px;padding:0 20px}.brand{font-size:19px}.brand-mark{width:28px;height:28px;font-size:19px}.header-link{font-size:12px;padding-inline:8px}.home-hero{min-height:calc(100dvh - 90px);align-items:flex-start;background:linear-gradient(180deg,rgba(20,10,35,.79),rgba(20,10,35,.36) 56%,rgba(20,10,35,.15)),url('./assets/celestial-stage.jpg') center 68%/cover no-repeat}.hero-content{padding:53px 0 270px}.hero-content>*{max-width:470px}.hero-content h1{font-size:clamp(45px,11vw,66px)}.hero-content p{font-size:16px;max-width:380px}.hero-visual{width:250px;height:200px;right:50%;bottom:48px;transform:translateX(50%)}.hero-visual .card{width:89px;height:146px}.home-below{grid-template-columns:1fr;gap:10px;padding-top:15px}.home-below div{padding-top:15px}.stage{padding-top:30px}.stage-top{margin-bottom:35px}.draw-stage{min-height:calc(100dvh - 90px)}.draw-content h2{margin-top:24px}.draw-slots{margin-top:27px}.fan-wrap{height:250px;margin-top:2px}.fan-card{width:78px;height:131px}.draw-hint{margin-top:0}.spread-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:22px 10px;max-width:410px}.spread-item{grid-column:span 2}.spread-item .card{max-width:110px}.spread-grid .spread-item:nth-child(4){grid-column:2 / span 2}.spread-grid .spread-item:nth-child(5){grid-column:4 / span 2}.reading-top{padding-top:29px}.reading-body{padding-top:34px}}
@media(max-width:410px){.container,.narrow,.reading-paper{width:min(100% - 32px,680px)}.header-link{font-size:11px;padding-inline:5px}.hero-content{padding-top:42px}.hero-content h1{font-size:46px}.hero-content p{font-size:15px}.fan-card{width:68px;height:115px}.fan-wrap{height:220px}.draw-slot-visual,.draw-slot .card{width:44px;height:68px}.draw-slot label{font-size:9px}.draw-content h2{font-size:31px}.spread-item strong{font-size:10px}.spread-item small{font-size:9px}.button{min-height:48px}}
@media(min-width:761px){.draw-content{padding-top:33px}.fan-wrap{height:330px}.fan-card{width:105px;height:173px}.draw-slots{margin-top:40px}.modal-backdrop{align-items:center}.modal{border-radius:22px;padding-bottom:30px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}.fan-card{will-change:auto}}

/* Direction 02: one fixed violet world, bold Vietnamese sans, readable long-form copy. */
@font-face{font-family:"Be Vietnam Pro";src:url('./assets/fonts/BeVietnamPro-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Be Vietnam Pro";src:url('./assets/fonts/BeVietnamPro-SemiBold.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Be Vietnam Pro";src:url('./assets/fonts/BeVietnamPro-Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
:root{--ink:#17054d;--ink-2:#17054d;--plum:#250c67;--lilac:#a75dff;--lilac-2:#d6b7ff;--gold:#ffba42;--cream:#fffaf7;--paper:#17054d;--muted:#d5c6ee;--line:rgba(197,156,255,.25)}
html,body{background:#17054d}
body{font-family:"Be Vietnam Pro",Arial,sans-serif;color:#fffaf7}
.app-shell{background:#17054d;isolation:isolate}
.app-shell:before{position:fixed;inset:0;z-index:0;height:auto;opacity:.42;background-image:radial-gradient(circle,rgba(255,255,255,.5) .7px,transparent 1px),radial-gradient(circle,rgba(178,135,255,.5) .8px,transparent 1.5px);background-size:51px 63px,89px 113px;background-position:11px 17px,39px 48px;pointer-events:none}
.app-shell:after{content:"";position:fixed;z-index:0;left:50%;bottom:-270px;transform:translateX(-50%);width:min(900px,125vw);aspect-ratio:1;border:2px solid rgba(150,91,237,.24);border-radius:50%;box-shadow:0 0 0 22px rgba(158,91,241,.045),0 0 0 82px rgba(158,91,241,.035),inset 0 0 0 62px rgba(158,91,241,.025);background:repeating-conic-gradient(from 0deg,rgba(171,111,244,.17) 0deg 1deg,transparent 1deg 30deg);opacity:.65;pointer-events:none}
.site-header{border-bottom:0;background:transparent}
.mobile-history{display:none}
.brand,.brand-mark,.question-quote,.ritual,.reading-question,.reflection-box p{font-family:"Be Vietnam Pro",Arial,sans-serif}
.brand{font-weight:700;letter-spacing:-.05em}
.brand-mark{font-weight:600}
h1,h2,h3{font-family:"Be Vietnam Pro",Arial,sans-serif;font-weight:700;letter-spacing:-.055em}
h1{line-height:1.11}
h2{line-height:1.18}
.eyebrow{color:#f4b341;letter-spacing:.11em}
.demo-ribbon{background:rgba(87,28,155,.18);color:#d9c4ed;border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.08)}
.home-hero,.draw-stage,.reading-top,.reading-body{background:transparent}
.home-hero:after,.draw-stage:after{display:none}
.home-hero{min-height:min(740px,calc(100dvh - 104px))}
.hero-content{padding-block:95px 90px}
.hero-content h1{font-size:clamp(42px,6.4vw,69px);max-width:670px}
.hero-content h1 em{font-style:normal;color:#ffbc49}
.hero-content p{color:#e7dcf4}
.hero-visual{bottom:80px}
.button-primary{background:#6917d8;color:#fff;box-shadow:0 10px 27px rgba(82,14,179,.33);border:1px solid #af62ff}
.button-primary:hover{background:#7922ed;box-shadow:0 11px 28px rgba(105,23,216,.43)}
.button-secondary{background:rgba(27,9,76,.57);border-color:#8b4ed5;color:#fff}
.button-secondary:hover{background:#361076}
.button-text{color:#e7d3ff}
.question-input,.quota-note,.history-item{background:rgba(43,14,99,.78)}
.question-input{border-color:#8241c5}
.topic{background:#32106d;color:#f6ebff;border-color:#7942bb}
.topic:hover,.topic.active{background:#6421c7}
.draw-count{background:#6418cc;color:#fff;border:1px solid #8f34ec;font-size:13px}
.draw-content h2{color:#fff}
.draw-slot-visual{background:rgba(30,7,78,.78)}
.draw-slot .card-face{border:1px solid #ad6dfe}
.card-back{background:linear-gradient(145deg,#6335a4,#342078 55%,#542ca5);border:2px solid #a36fea}
.card-back:before{border-color:#8ed0c6}
.card-back:after{color:#90d8d0;border-color:#ab71e8;box-shadow:0 0 0 8px rgba(106,41,217,.16),inset 0 0 24px rgba(103,236,216,.09)}
.card-face{border:3px solid #a769ef;background:#e7d8bb}
.card-face:before{display:none}
.card-face img{display:block;width:100%;height:100%;object-fit:cover}
.spread-intro h1{font-size:clamp(33px,5vw,50px)}
.spread-item strong{color:#ffc04a}
.reading-top{border-bottom:1px solid rgba(188,141,247,.27)}
.reading-top h1{font-size:clamp(38px,6vw,54px)}
.reading-question{font-size:18px;font-weight:600}
.reading-nav{background:#260d65;border-color:rgba(206,162,255,.25)}
.reading-nav a{color:#f0e3ff;border-color:#8251c6;background:#371071}
.reading-nav a:hover{background:#561aab}
.reading-paper h2,.reading-paper h3{color:#fff}
.reading-paper h2{font-size:clamp(27px,4.8vw,36px)}
.reading-paper h3{font-size:clamp(21px,4vw,27px)}
.reading-paper p{color:#f3eafc;font-size:16px;line-height:1.8}
.reading-section,.reading-summary{border-color:rgba(204,158,255,.24)}
.reading-section .section-kicker,.reading-summary .section-kicker{color:#ffba42;font-weight:700;letter-spacing:.06em}
.reading-section-head .card-label{color:#cbb8e9;font-weight:600}
.reading-section-head{display:flex;flex-direction:column;align-items:center;text-align:center;gap:17px;margin-bottom:24px}
.reading-section-head .card{width:min(45vw,205px);min-width:0;height:auto;aspect-ratio:.6;border:4px solid #9a58e8;border-radius:9px;box-shadow:0 0 0 8px rgba(112,41,214,.18),0 18px 40px rgba(4,0,32,.42)}
.reading-section-head h3{margin-bottom:5px;color:#ffbd45}
.reading-section-head .card-label{font-size:13px}
.reflection-box{background:#341077;border-left:4px solid #f1ab3e;border-radius:12px;padding:24px}
.reflection-box strong{color:#ffc458}
.reflection-box p{color:#fff;font-weight:600;font-size:18px}
.disclaimer{color:#c2afd9!important}
.reading-actions .button-secondary{color:#fff;border-color:#9653e9;background:#3b0d83}
.coffee-box{background:#320c76;border:1px solid #8e42e1}
.coffee-box h3{color:#ffc04a}
.coffee-box p{color:#eee0fb}
.site-footer{position:relative;z-index:1}
.modal{background:#270b66;border-color:#7c40cb}
.modal-quote{background:#3a1281}
.fan-card .card{box-shadow:0 4px 16px rgba(2,0,26,.55)}
@media(max-width:760px){.site-header{justify-content:center;position:relative}.brand{font-size:21px}.header-actions{position:absolute;inset:0 14px 0 auto;gap:0}.header-link{display:none}.header-actions .icon-button{font-size:21px}.mobile-history{display:block;position:absolute;left:14px;top:10px;font-size:25px}.hero-content{padding-top:53px;padding-bottom:200px}.hero-content h1{font-size:clamp(41px,10.7vw,57px)}.hero-content p{font-size:16px}.hero-visual{bottom:20px;width:216px;height:170px}.hero-visual .card{width:75px;height:123px}.home-hero{min-height:calc(100dvh - 90px)}.draw-content h2{font-size:clamp(27px,7.4vw,34px)}.reading-body{padding-top:30px}.reading-paper p{font-size:16px;line-height:1.75}.reading-section{padding:31px 0}.reading-section-head .card{width:min(58vw,230px);height:auto;min-width:0}.reading-top .mini-cards{margin-bottom:11px}}

/* Full deck: one touch-friendly horizontal row, scoped to the draw stage. */
.deck-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;max-width:900px;margin:30px auto 12px;text-align:left;color:#fff;font-size:13px}
.deck-heading span{color:#dfc9f3;font-size:12px}
.deck-scroller{display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;max-width:900px;margin:0 auto;padding:8px 12px 16px;scroll-snap-type:x proximity;overscroll-behavior-x:contain;touch-action:pan-x;-webkit-overflow-scrolling:touch;scrollbar-color:#9a55e4 transparent;scrollbar-width:thin}
.deck-card{flex:0 0 86px;display:flex;flex-direction:column;align-items:center;gap:7px;padding:0 0 4px;border:0;background:transparent;color:#d8c6ee;font-family:inherit;font-size:11px;font-weight:600;cursor:pointer;scroll-snap-align:center}
.deck-card .card{width:86px;height:141px;box-shadow:0 4px 16px rgba(2,0,26,.55);transition:transform .18s ease,filter .18s ease}
.deck-card:hover .card,.deck-card:focus-visible .card{transform:translateY(-5px);filter:brightness(1.15)}
.deck-card:focus-visible{outline:2px solid #ffc458;outline-offset:4px;border-radius:5px}
.deck-card:active .card{transform:translateY(-8px) scale(1.03)}
.draw-hint{margin:18px auto 22px;max-width:470px;line-height:1.5}
.card-face.is-reversed img{transform:rotate(180deg)}
@media(max-width:760px){.deck-heading{margin-top:26px;align-items:flex-start;flex-direction:column;gap:3px}.deck-scroller{max-width:none;width:calc(100vw - 20px);margin-left:-10px;padding-inline:14px}.deck-card{flex-basis:75px}.deck-card .card{width:75px;height:123px}.draw-hint{margin-top:13px}}

/* Arc-shaped deck and a larger 3-over-2 spread on the drawing screen. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.draw-content{padding-top:19px}
.draw-count{font-size:14px;padding:10px 18px}
.draw-content h2{font-size:clamp(32px,5vw,44px);margin:20px auto 8px}
.draw-content .draw-sub{font-size:16px;line-height:1.5;max-width:470px}
.draw-question{font-size:14px;max-width:450px;margin-top:12px}
.draw-slots{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));column-gap:8px;row-gap:13px;max-width:350px;margin:21px auto 0}
.draw-slot{grid-column:span 2;gap:6px}
.draw-slot:nth-child(4){grid-column:2 / span 2}
.draw-slot:nth-child(5){grid-column:4 / span 2}
.draw-slot-visual,.draw-slot .card{width:70px;height:105px;border-radius:6px}
.draw-slot-visual{font-size:14px}
.draw-slot label{font-size:12px;max-width:105px;color:#eee2f7}
.deck-heading{max-width:760px;margin:24px auto 0;font-size:15px}
.deck-heading span{font-size:13px}
.deck-scroller{height:245px;max-width:760px;gap:0;padding:15px calc(50% - 47px) 0;scroll-snap-type:none;scrollbar-width:none;overflow-y:hidden}
.deck-scroller::-webkit-scrollbar{display:none}
.deck-card{flex:0 0 94px;height:160px;margin-right:-44px;position:relative;align-self:flex-start;transform-origin:50% 100%;transition:none;will-change:transform}
.deck-card:last-child{margin-right:0}
.deck-card .card{width:94px;height:155px;border-radius:8px;box-shadow:0 8px 23px rgba(2,0,26,.52);transition:filter .16s ease}
.deck-card:hover .card,.deck-card:focus-visible .card{transform:none;filter:brightness(1.18)}
.deck-card:active .card{transform:none;filter:brightness(1.3)}
.draw-hint{font-size:14px;line-height:1.55;max-width:520px;margin:0 auto 20px}
@media(max-width:760px){
  .draw-content{padding:18px 16px 0}
  .draw-content h2{font-size:clamp(32px,8.2vw,38px);margin-top:18px}
  .draw-content .draw-sub{font-size:16px;max-width:360px}
  .draw-question{font-size:13px;max-width:355px}
  .draw-slots{max-width:340px;margin-top:21px;row-gap:12px}
  .draw-slot-visual,.draw-slot .card{width:68px;height:102px}
  .draw-slot label{font-size:11px}
  .deck-heading{margin-top:21px;gap:4px}
  .deck-scroller{width:calc(100vw - 12px);max-width:none;margin-left:-10px;height:224px;padding:13px calc(50% - 44px) 0}
  .deck-card{flex-basis:88px;height:146px;margin-right:-43px}
  .deck-card .card{width:88px;height:145px}
  .draw-hint{font-size:13px}
}
@media(max-width:360px){
  .draw-slot-visual,.draw-slot .card{width:63px;height:95px}
  .draw-slot label{font-size:10px}
  .deck-scroller{padding-inline:calc(50% - 41px)}
  .deck-card{flex-basis:82px;margin-right:-40px}
  .deck-card .card{width:82px;height:135px}
}

/* A selected card flies to its slot while turning face-up. */
.pick-flyer{position:fixed;z-index:9999;pointer-events:none;perspective:900px;filter:drop-shadow(0 12px 24px rgba(0,0,0,.38))}
.pick-flyer-inner{position:relative;width:100%;height:100%;transform-style:preserve-3d}
.pick-flyer .card{position:absolute;inset:0;width:100%;height:100%;margin:0;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.pick-flyer .card-face{transform:rotateY(180deg)}
.draw-slot.just-picked .draw-slot-visual{animation:slot-land .42s cubic-bezier(.18,.78,.22,1)}
@keyframes slot-land{
  0%{transform:scale(.86);box-shadow:0 0 0 0 rgba(255,198,80,.6)}
  55%{transform:scale(1.08);box-shadow:0 0 0 8px rgba(255,198,80,.12)}
  100%{transform:scale(1);box-shadow:0 0 0 0 rgba(255,198,80,0)}
}
@media(prefers-reduced-motion:reduce){.draw-slot.just-picked .draw-slot-visual{animation:none}}

/* The two decks are the first choice in the funnel. The whole tile is a button. */
.deck-home{min-height:calc(100dvh - 104px);align-items:center}
.deck-home .hero-content{width:min(100% - 40px,680px);padding:38px 0 46px;text-align:center}
.deck-home .hero-content>*{max-width:none}
.deck-home .home-quota{display:inline-block;padding:8px 14px;border:1px solid #a86de5;border-radius:999px;background:#351074;color:#ffe0a0;letter-spacing:.025em;font-size:12px}
.deck-home h1{font-size:clamp(35px,5.4vw,58px);line-height:1.12;margin:19px auto 12px}
.deck-home p{font-size:16px;line-height:1.48;max-width:550px;margin:0 auto 25px}
.deck-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:580px;margin:auto}
.deck-option{min-width:0;padding:13px 13px 14px;display:flex;flex-direction:column;align-items:center;gap:9px;background:rgba(45,13,105,.72);color:#fff;border:1px solid #7741bc;border-radius:19px;transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease}
.deck-option:hover,.deck-option:focus-visible{transform:translateY(-3px);border-color:#ffc15b;background:#401681;box-shadow:0 14px 36px rgba(4,0,32,.3)}
.deck-option:active{transform:scale(.985)}
.deck-option-art{display:block;width:min(100%,132px)}
.deck-option-art .card{width:100%;height:auto;aspect-ratio:360/620;box-shadow:0 9px 24px rgba(2,0,20,.46)}
.deck-option strong{font-size:16px;line-height:1.2}
.deck-option-cta{min-height:44px;width:100%;display:flex;align-items:center;justify-content:center;gap:6px;border-radius:11px;background:#6d20d7;border:1px solid #af65f7;font-size:13px;font-weight:700}
.deck-option:hover .deck-option-cta{background:#8130e8}
.card-back{padding:0;border:0;background:#1b0c38}
.card-back:before,.card-back:after{display:none}
.card-back img{display:block;width:100%;height:100%;object-fit:cover}
.card-back:has(img[src*="classic"]){background:#100e12}
.card-back:has(img[src*="meo-u"]){background:#fff3df}
@media(max-width:760px){
  .deck-home{min-height:calc(100dvh - 90px)}
  .deck-home .hero-content{padding:19px 0 24px}
  .deck-home h1{font-size:clamp(30px,8.4vw,43px);margin:13px auto 9px}
  .deck-home p{font-size:14px;line-height:1.45;margin-bottom:16px}
  .deck-options{gap:10px}
  .deck-option{padding:9px 8px 10px;gap:6px;border-radius:15px}
  .deck-option-art{width:min(100%,105px)}
  .deck-option strong{font-size:14px}
  .deck-option-cta{font-size:11px;min-height:44px;letter-spacing:-.02em}
  .reveal-stage{padding-bottom:105px;animation:none}
  .reveal-stage .stage-top{margin-bottom:10px}
  .reveal-stage .spread-intro{padding-top:0}
  .reveal-stage .spread-intro h1{font-size:clamp(25px,7vw,33px);margin:8px 0 4px}
  .reveal-stage .spread-intro p{font-size:13px;line-height:1.35}
  .reveal-stage .spread-grid{gap:11px 8px;margin-top:12px;max-width:330px}
  .reveal-stage .spread-item .card{max-width:82px}
  .reveal-stage .spread-item strong{font-size:10px;margin-top:5px}
  .reveal-stage .spread-item small{font-size:9px;line-height:1.15;margin-top:2px}
  .reveal-stage .spread-bottom{position:fixed;z-index:25;left:0;right:0;bottom:0;margin:0;padding:11px 16px max(13px,env(safe-area-inset-bottom));background:#210965;border-top:1px solid #8745d0;box-shadow:0 -12px 30px rgba(11,0,39,.4)}
  .reveal-stage .spread-bottom>.button{width:min(100%,420px);margin:auto}
  .reveal-stage .spread-bottom>.small-note{display:none}
  .reveal-stage .spread-bottom .api-error{max-width:420px;margin:0 auto 8px;text-align:left}
}
@media(max-width:375px){
  .deck-home .hero-content{padding:13px 0 18px}
  .deck-home .home-quota{font-size:10px;padding:6px 10px}
  .deck-home h1{font-size:29px}
  .deck-home p{font-size:13px;margin-bottom:11px}
  .deck-option-art{width:min(100%,88px)}
  .deck-option strong{font-size:13px}
  .deck-option-cta{font-size:10px}
}
@media(max-width:760px) and (max-height:700px){
  .reveal-stage{padding-top:10px}
  .reveal-stage .stage-top{margin-bottom:3px}
  .reveal-stage .spread-intro h1{font-size:23px;margin:4px 0}
  .reveal-stage .spread-intro p{font-size:12px}
  .reveal-stage .spread-grid{gap:6px 7px;margin-top:7px;max-width:290px}
  .reveal-stage .spread-item .card{max-width:68px}
  .reveal-stage .spread-item strong{margin-top:3px}
  .reveal-stage .spread-item small{font-size:8px}
}

/* The reading index remains reachable by touch and by mouse. */
.reading-nav-shell{display:flex;align-items:center;gap:4px;background:#260d65;border-top:1px solid rgba(206,162,255,.25);border-bottom:1px solid rgba(206,162,255,.25);padding:0 max(12px,calc((100vw - 940px)/2))}
.reading-nav{flex:1;min-width:0;max-width:none;padding:10px 5px;border:0;background:transparent;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.reading-nav a{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:42px;padding:8px 13px;font-size:12px}
.reading-nav-arrow{flex:0 0 38px;width:38px;height:42px;border:1px solid rgba(171,106,243,.55);border-radius:12px;background:#391078;color:#fff;font-family:inherit;font-weight:700;font-size:27px;line-height:1;display:grid;place-items:center;cursor:pointer}
.reading-nav-arrow:hover:not(:disabled){background:#5c1db8}
.reading-nav-arrow:disabled{opacity:.28;cursor:default}
.reading-nav-arrow:focus-visible{outline:2px solid #ffc458;outline-offset:2px}
@media(max-width:760px){.reading-nav-shell{padding-inline:8px}.reading-nav-arrow{flex-basis:34px;width:34px;height:40px}.reading-nav a{font-size:12px}}
.api-error{max-width:560px;margin:0 auto 20px;padding:17px 19px;text-align:left;border:1px solid #d98c9e;border-radius:14px;background:#3d174e;color:#fff}
.api-error strong{display:block;font-size:15px;margin-bottom:6px}
.api-error p{margin:0 0 6px;color:#fff;font-size:14px;line-height:1.5}
.api-error small{color:#e9d4ed;font-size:12px}

/* Only the purple next-step CTAs receive the periodic white sweep. */
:where(button.button-primary:not(:disabled),.deck-option-cta){position:relative;isolation:isolate;overflow:hidden}
button.button-primary:not(:disabled)::after,.deck-option-cta::after{content:"";position:absolute;z-index:2;top:-12%;left:-72%;width:68%;height:124%;pointer-events:none;background:linear-gradient(100deg,transparent,rgba(255,255,255,.02) 32%,rgba(255,255,255,.5) 50%,rgba(255,255,255,.02) 68%,transparent);transform:skewX(-22deg);opacity:0;animation:button-glint 7s linear infinite}
.deck-option:nth-child(2) .deck-option-cta::after{animation-delay:-2.3s}
button.button-primary:not(:disabled):hover::after,button.button-primary:not(:disabled):focus-visible::after,.deck-option:hover .deck-option-cta::after,.deck-option:focus-visible .deck-option-cta::after{animation-duration:3.5s}
@keyframes button-glint{0%,8%{opacity:0;transform:translateX(0) skewX(-22deg)}10%{opacity:.8}19%{opacity:0;transform:translateX(390%) skewX(-22deg)}100%{opacity:0;transform:translateX(390%) skewX(-22deg)}}

/* The visible face-down cards deal into the existing arc on first entry. */
.deck-entering .deck-card .card{opacity:0}

/* Waiting state: the five chosen cards rise in a slow, staggered rhythm. */
.loading-stage .lead{max-width:450px;margin:0 auto;color:#eee0fb;font-size:16px;line-height:1.6}
.loading-spread{display:flex;justify-content:center;align-items:center;gap:clamp(5px,2vw,12px);max-width:460px;margin:31px auto 16px;min-height:140px}
.loading-card{width:clamp(53px,15vw,78px);flex:none;animation:loading-card-wave 3.4s ease-in-out infinite;animation-delay:calc(var(--card-index) * .2s);will-change:transform}
.loading-card .card{width:100%;height:auto;box-shadow:0 12px 22px rgba(4,0,31,.35)}
.loading-stage .small-note{font-size:13px;color:#d8bdf5}
@keyframes loading-card-wave{0%,18%,55%,100%{transform:translate3d(0,0,0)}35%{transform:translate3d(0,-15px,0)}}
@media(prefers-reduced-motion:reduce){button.button-primary:not(:disabled)::after,.deck-option-cta::after,.loading-card,.loading-orbit{animation:none!important}.deck-entering .deck-card .card{opacity:1}}

/* Topic shortcuts mirror the full set while keeping the question editable. */
.topic-list{margin-bottom:20px}
.topic{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:10px 14px;white-space:nowrap;font-size:14px;line-height:1.2}
.topic-icon{display:inline-flex;align-items:center;justify-content:center;min-width:19px;font-size:18px;line-height:1}
.topic-more{border-color:#a867eb;color:#fff;background:rgba(93,24,184,.6)}
.topic-more:hover{background:#6421c7}
@media(max-width:760px){.topic-list{gap:8px;margin-top:12px}.topic{min-height:46px;padding:9px 12px;font-size:13px}.topic-icon{font-size:17px}}
