@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--bg:#faf9ff;--ink:#18213b;--muted:#8a8fa5;--purple:#815bf5;--line:#eeedf5;--lavender:#eee9ff}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 20% 10%,#eee7ff,transparent 48%),radial-gradient(ellipse at 85% 85%,#e6e9ff,transparent 45%),#f6f4fc;color:var(--ink);font:14px/1.5 Manrope,sans-serif;min-height:100dvh}button,input,textarea,select{font:inherit}button{color:inherit;cursor:pointer;border:0;background:none}button:disabled{cursor:default}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #ad92ff;outline-offset:3px}button,a{-webkit-tap-highlight-color:transparent}.app-shell{max-width:440px;min-height:100dvh;margin:auto;background:linear-gradient(#fff,#faf9ff);position:relative;box-shadow:0 0 100px #3d20750d;padding-bottom:95px}.app-header{padding:27px 25px 10px;display:flex;align-items:center;justify-content:space-between}.wordmark{font-size:27px;font-weight:800;letter-spacing:-1.5px;display:flex;align-items:center;gap:7px}.logo-symbol{display:inline-block;color:#9a71ff;font-size:30px;font-weight:400}.avatar{width:33px;height:33px;border-radius:50%;color:#815bf5;font-size:23px;background:var(--lavender)}main{padding:10px 25px 20px}.greeting{margin-bottom:23px}.eyebrow{color:#9e8cbe;letter-spacing:1.7px;font-size:9px;font-weight:750;text-transform:uppercase;margin:17px 0 10px}h1{font-size:29px;line-height:1.27;letter-spacing:-1.2px;font-weight:800;margin:10px 0}h2{font-size:19px;letter-spacing:-.6px;margin:0;font-weight:800}p{font-size:12px;color:var(--muted);line-height:1.65}.greeting>p:last-child{margin:10px 0 0}.modes{display:grid;gap:13px}.mode{height:174px;position:relative;overflow:hidden;border-radius:16px;text-align:left;color:white;isolation:isolate;background:#342a66;padding:23px}.mode img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 57%;z-index:-2}.mode:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#111827aa,transparent 95%);z-index:-1}.mode-info{position:absolute;bottom:22px;left:23px;right:45px;z-index:1}.mode h2{font-size:26px;letter-spacing:-.8px;color:white}.mode p{font-size:11px;color:#f1eaff;margin:5px 0 0;max-width:230px}.circle-arrow{position:absolute;right:20px;bottom:25px;border-radius:50%;background:#fff;color:#333250;width:27px;height:27px;display:grid;place-items:center;font-size:16px}.section-top{display:flex;justify-content:space-between;align-items:center;margin:26px 0 13px}.section-top button{color:#8d77ba;font-size:10px}.cards{display:grid;grid-template-columns:1fr 1fr;gap:20px 12px}.card{min-width:0}.card-img{height:155px;border-radius:13px;overflow:hidden;position:relative;background:#5b5888;cursor:pointer}.card img{width:100%;height:100%;object-fit:cover}.card-img:after{content:'';position:absolute;inset:55% 0 0;background:linear-gradient(transparent,#18213b55);pointer-events:none}.card-tag{position:absolute;top:10px;left:10px;background:#ffffffd9;border-radius:6px;padding:4px 7px;font-size:7px;letter-spacing:.7px;font-weight:800;color:#47405f;z-index:2}.bookmark{position:absolute;right:6px;top:4px;color:white;font-size:24px;z-index:3;filter:drop-shadow(0 1px 4px #555)}.play-small{position:absolute;bottom:11px;right:12px;font-size:18px;color:white;z-index:2}.card h3{font-size:11px;letter-spacing:-.2px;margin:10px 0 3px;font-weight:750}.card p{font-size:9px;margin:0;color:#9a9bb0}.progress-card{width:100%;background:#f1edff;border:1px solid #e9e2fc;border-radius:14px;margin-top:25px;padding:17px;display:flex;align-items:center;gap:12px;text-align:left;font-size:11px;font-weight:750}.progress-card small{display:block;color:#9690ad;font-size:9px;font-weight:500;margin-top:4px}.progress-icon{font-size:26px;color:#9872fb}.progress-card>span:last-child{margin-left:auto;color:#8c6bbd}.bottom-nav{position:fixed;z-index:5;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,440px);padding:13px 25px max(14px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#ffffffef;backdrop-filter:blur(18px);display:flex;justify-content:space-around;gap:25px}.bottom-nav button{display:flex;flex-direction:column;gap:3px;align-items:center;min-width:65px;font-size:9px;color:#9ba0b5;font-weight:650}.bottom-nav button span{font-size:25px;line-height:27px}.bottom-nav button.active{color:#815bf5}.page-heading{margin:10px 0 23px}.page-heading h1{font-size:27px}.page-heading p{margin:5px 0}.search{width:100%;padding:12px 14px;border:1px solid #eeebf6;border-radius:12px;background:#f5f3fa;color:var(--ink);font-size:11px}.search::placeholder{color:#aaa6bc}.filters{display:flex;gap:7px;flex-wrap:wrap;margin:17px 0 22px}.chip{background:#f0edf8;color:#8a839e;border:1px solid transparent;border-radius:20px;padding:8px 12px;font-size:10px;font-weight:700}.chip.active{background:#e9dfff;color:#794ee5;border-color:#ddd0fd}.discover-grid .card-img{height:190px}.back-link{font-size:11px;font-weight:650;color:#8b72c4;padding:7px 0}.empty{text-align:center;padding:35px 15px;border-radius:14px;background:#f5f2fd;margin:20px 0}.empty>span{font-size:40px;color:#a88cf3}.empty h2{margin-top:12px}.empty p{font-size:11px}.primary{background:linear-gradient(110deg,#956bff,#7248db);color:white;font-weight:750;border-radius:11px;padding:14px 20px;font-size:12px;box-shadow:0 5px 12px #8a59f326;width:100%;display:flex;align-items:center;justify-content:center;gap:15px}.primary.white{background:white;color:#20213d;box-shadow:none}.text-button{font-size:11px;font-weight:650;color:#8e7da9;padding:12px 0}.profile-person{text-align:center;margin-bottom:22px}.profile-avatar{width:68px;height:68px;background:linear-gradient(140deg,#e1d8ff,#d2eef4);color:#8965e7;border-radius:50%;display:grid;place-items:center;font-size:40px;margin:5px auto 12px}.profile-person h2{font-size:18px}.profile-person p{font-size:11px;margin:5px 0}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:13px;background:#f1edff;border:1px solid #e8dfff;border-radius:15px;margin-bottom:23px}.stats>div{text-align:center;background:#faf8ff;border-radius:10px;padding:14px 2px}.stats strong{font-size:22px;display:block;color:#8064d7;font-weight:800}.stats small{font-size:8px;color:#9690aa;display:block;margin-top:2px}.profile-links{border:1px solid var(--line);border-radius:15px;overflow:hidden;background:#fff}.profile-links button{padding:16px 14px;border-bottom:1px solid var(--line);display:flex;align-items:center;text-align:left;width:100%;gap:11px;font-size:11px;font-weight:750}.profile-links button:last-child{border:0}.profile-links small{display:block;font-size:9px;color:#9994aa;font-weight:500;margin-top:3px}.profile-links b{margin-left:auto;font-weight:500;color:#a599bd;font-size:18px}.menu-icon{background:#f0eaff;color:#9d74f9;border-radius:50%;width:28px;height:28px;display:grid;place-items:center;font-size:17px}.sign-out{width:100%;margin-top:15px;font-size:10px}.history-item{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:15px 0;font-size:11px}.history-item small{display:block;color:var(--muted);font-size:9px;margin-top:4px}.modal-backdrop{position:fixed;z-index:20;inset:0;background:#1c123257;backdrop-filter:blur(8px);display:grid;place-items:center;padding:22px}.modal{position:relative;width:385px;max-width:100%;max-height:90dvh;overflow:auto;padding:30px 25px;background:linear-gradient(#fff,#fbf9ff);border-radius:24px;box-shadow:0 20px 70px #20123b35;outline:none}.modal .eyebrow{font-size:8px;margin:3px 0 14px}.modal h2{font-size:25px;line-height:1.3;letter-spacing:-.9px;margin:10px 0 13px}.modal p{font-size:11px;line-height:1.7}.modal .primary{margin-top:22px}.close{position:absolute;top:12px;right:12px;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#f0edf6;color:#9a91ac;font-size:18px}.modal label{display:block;font-size:10px;font-weight:750;margin:21px 0 9px}.modal .filters{gap:7px;margin:8px 0 18px}.modal textarea,.modal select{width:100%;background:#f7f5fc;border:1px solid #e9e3f5;padding:12px;border-radius:10px;color:var(--ink);font-size:11px}.modal textarea{min-height:70px;resize:vertical}.muted{color:#a49bb4;margin-left:3px;font-weight:500}.moods{display:flex;gap:9px;justify-content:center;margin:28px 0 20px}.moods button{width:46px;height:48px;font-size:26px;background:#f7f5fd;border:1px solid #eee9f8;border-radius:10px;filter:saturate(.85)}.moods button.selected{border:2px solid #9775ff;background:#eee6ff}.settings-row{display:flex!important;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line);margin:5px 0!important}.settings-row input{accent-color:var(--purple);width:18px;height:18px}.fine-print{font-size:9px!important;color:#a29bb3!important}#gateway{display:none}#gateway.visible{display:block;position:fixed;z-index:10;inset:0;overflow:auto;background:radial-gradient(ellipse at 20% 10%,#eee7ff,transparent 48%),radial-gradient(ellipse at 85% 85%,#e6e9ff,transparent 45%),#f6f4fc}.at-gateway .app-shell{visibility:hidden}.welcome,.auth-screen{max-width:440px;margin:auto;min-height:100dvh;position:relative;overflow:hidden;background:#fcfbff}.welcome{color:white;display:flex;flex-direction:column;justify-content:center}.welcome-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:55% 50%;filter:saturate(.8)}.welcome-wash{position:absolute;inset:0;background:linear-gradient(180deg,#5355bbaa 0%,#ad83c83b 45%,#f3b29455 62%,#29245d77)}.welcome-center{position:relative;text-align:center;margin-bottom:40px}.welcome-logo{margin:0 auto 15px;display:grid;place-items:center}.welcome-logo .logo-symbol{font-size:59px;color:#eee2ff}.welcome h1{font-size:57px;font-weight:800;letter-spacing:-3px;line-height:1.2;margin:0 0 18px}.welcome-center p{color:white;font-size:15px;font-weight:650;line-height:1.6}.welcome-bottom{position:absolute;bottom:max(33px,env(safe-area-inset-bottom));left:30px;right:30px}.welcome-bottom .primary{border-radius:24px}.welcome-bottom .primary span{margin-left:auto}.welcome-bottom .primary{justify-content:flex-start;padding-left:25px}.welcome-bottom p{font-size:10px;color:#fff9;text-align:center;margin:15px 0 0}.auth-screen{padding:27px 28px;display:flex;flex-direction:column;justify-content:center}.auth-screen>.back-link{position:absolute;top:25px;left:28px}.auth-intro{margin:20px 0 28px;text-align:center}.app-icon{width:63px;height:63px;border-radius:18px;margin:0 auto 24px;background:linear-gradient(145deg,#bca1ff,#8663ef 55%,#b38aff);box-shadow:0 9px 20px #966df733;display:grid;place-items:center}.app-icon .logo-symbol{color:#fff;font-size:40px}.auth-intro h1{font-size:25px;letter-spacing:-1px}.auth-intro p{font-size:11px;margin-top:8px}.social-buttons{display:grid;gap:11px}.social-buttons button{width:100%;border-radius:12px;border:1px solid #ece7f8;background:white;padding:13px;font-size:11px;font-weight:750;display:flex;align-items:center;gap:10px;box-shadow:0 4px 10px #4f356507}.social-buttons button.apple{color:white;background:#171b2e;border-color:#171b2e}.social-buttons small{margin-left:auto;font-size:7px;font-weight:500;opacity:.5}.social-buttons button>span{font-size:16px;width:20px}.google-g{color:#4285f4;font-weight:800}.divider{height:1px;background:#e6e0f1;margin:26px 0;text-align:center;position:relative}.divider span{position:relative;top:-10px;background:#fcfbff;padding:0 13px;font-size:10px;color:#b0a6c0}.email-option{border:1px solid #e8e1f3;background:#f4f0fb;border-radius:11px;width:100%;padding:14px;text-align:left;display:flex;align-items:center;font-size:11px;gap:12px;margin-bottom:23px;font-weight:650}.email-option span:last-child{margin-left:auto;color:#9b8bb4}.auth-footnote{font-size:9px;color:#a49ab4;text-align:center;line-height:1.8;margin:20px 10px 0}.auth-privacy{font-size:8px;color:#b6adbf;text-align:center;margin:20px 0 0}.auth-screen label{display:block;margin:16px 0 8px;font-weight:750;font-size:10px}.input-wrap{border:1px solid #e8e1f4;background:#f4f1fb;display:flex;align-items:center;border-radius:11px;padding:12px;gap:10px}.input-wrap input{width:100%;min-width:0;border:0;background:transparent;outline:none;color:#6f638b;font-size:11px}.input-wrap>span{color:#a08cbc}.input-wrap button{color:#a08cbc;padding:0}.auth-screen form .primary{margin-top:24px}.auth-screen form .auth-footnote{text-align:left;margin-left:0;margin-right:0}.auth-screen>.text-button{margin-top:15px}.flow-art{position:absolute;inset:0;background:#211151;overflow:hidden}.flow-art:before,.flow-art:after{content:'';position:absolute;left:-40%;top:-50%;width:180%;height:190%;background:repeating-radial-gradient(ellipse at 55% 45%,#0f1445 0%,#2d276f 7%,#6e42ba 13%,#c177e9 17%,#f9afda 19%,#8451bd 21%,#3f4a9c 26%,#429cd1 31%,#a2e6ed 34%,#736ee2 36%,#3b2072 42%);border-radius:43%;transform:rotate(-25deg);filter:blur(3px);animation:liquid 18s ease-in-out infinite alternate}.flow-art:after{opacity:.55;mix-blend-mode:screen;transform:rotate(45deg) scale(1.2);filter:blur(14px);animation-duration:27s;animation-direction:alternate-reverse}@keyframes liquid{to{transform:rotate(40deg) scale(1.18,.82) translate(5%,-3%);border-radius:60% 35% 48% 70%}}.mode>.flow-art{z-index:-2}.player{position:fixed;z-index:15;inset:0;background:#151132;color:white;overflow:hidden}.player-scene{position:absolute;inset:0}.player-scene video,.player-scene canvas{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.player-scene:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(#15102a55,transparent 32%,transparent 50%,#15102a99)}.player-top{position:absolute;top:max(23px,env(safe-area-inset-top));left:20px;right:20px;display:flex;align-items:center;justify-content:space-between;gap:10px;z-index:2}.player-top button{font-size:11px;color:white}.player .pill{padding:7px 12px;border-radius:20px;background:#ffffff22;backdrop-filter:blur(10px);font-size:10px}.player-counter{font-size:9px;color:#ffffffb3}.player-bottom{position:absolute;left:27px;right:27px;bottom:max(35px,env(safe-area-inset-bottom));display:flex;justify-content:space-between;align-items:flex-end;gap:30px;z-index:2}.player-bottom h2{font-size:30px;max-width:600px;line-height:1.2;letter-spacing:-1px;margin:8px 0}.player-bottom p{color:#f1e8ffb5;font-size:12px;margin:10px 0}.player-bottom .eyebrow{display:none}.player-hint{font-size:8px;color:#ffffff65}.player-controls{display:flex;gap:10px;align-items:center;flex-shrink:0}.player-controls button{background:#ffffff16;backdrop-filter:blur(10px);border:1px solid #ffffff45;border-radius:50%;height:42px;width:42px;font-size:20px;color:white}.error-note{position:absolute;top:45%;left:10%;right:10%;text-align:center;font-size:12px;background:#1b1737aa;border-radius:15px;padding:22px}.player-paused .player .flow-art:before,.player-paused .player .flow-art:after{animation-play-state:paused!important}#toast{position:fixed;z-index:40;bottom:100px;left:50%;transform:translate(-50%,150px);opacity:0;background:#26203f;color:white;padding:13px 20px;font-size:10px;border-radius:20px;pointer-events:none;max-width:90%;width:max-content;transition:transform .25s,opacity .25s}#toast.show{transform:translate(-50%,0);opacity:1}@media(min-width:700px){.app-shell{margin:28px auto;min-height:calc(100dvh - 56px);border-radius:28px;overflow:hidden;border:1px solid #fff}.app-header{padding-top:28px}.bottom-nav{bottom:28px;border-radius:0 0 28px 28px}.welcome,.auth-screen{margin:28px auto;min-height:calc(100dvh - 56px);border-radius:28px;box-shadow:0 20px 100px #5a3b7719}.player{inset:28px auto;left:50%;transform:translateX(-50%);width:440px;border-radius:28px;box-shadow:0 15px 100px #43305e35}.player-bottom{display:block}.player-controls{justify-content:space-between;margin-top:25px}.modal-backdrop{background:#1c123238}.modal{width:385px}}@media(max-width:699px){.player-bottom{display:block}.player-controls{justify-content:space-between;margin-top:25px}.player-bottom h2{font-size:26px}.player-controls button{height:40px;width:40px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}@media(max-width:359px){main{padding-left:19px;padding-right:19px}.app-header{padding-left:19px;padding-right:19px}.moods{gap:5px}.moods button{width:40px}.greeting h1{font-size:26px}.mode{height:158px}}
h1:focus{outline:none}.greeting{margin:10px 0 21px}.greeting h1{font-size:23px;letter-spacing:-.8px}.greeting>p:last-child{font-size:11px;margin-top:6px}.mode{height:156px}.progress-card{margin-top:20px}body:has(.player) .app-shell{visibility:hidden}
.mode{height:146px}
.nature-preview{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.mode>.nature-preview{z-index:-2}.nature-layer{pointer-events:none}.player-scene .nature-layer{opacity:1}
.quiz-modal{width:430px;padding:29px 24px;max-height:94dvh}.quiz-top{display:flex;justify-content:space-between;font-size:8px;letter-spacing:1.3px;font-weight:750;color:#9a87b8;padding-right:15px}.quiz-progress{display:flex;gap:5px;margin:15px 0 25px}.quiz-progress i{height:3px;background:#eee8f6;flex:1;border-radius:3px}.quiz-progress .filled{background:#a083dc}.quiz-modal h2{font-size:26px}.goal-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:23px 0}.goal-tile{position:relative;border:1px solid #e9e3f3;background:#f8f6fc;text-align:left;border-radius:15px;padding:20px 15px;min-height:140px}.goal-tile>span{display:block;font-size:29px;color:#b397d7;margin-bottom:10px}.goal-tile strong{display:block;font-size:12px}.goal-tile small{display:block;font-size:9px;color:#a29aae;margin-top:6px;max-width:110px}.goal-tile b,.visual-choice b{position:absolute;top:10px;right:10px;width:21px;height:21px;display:grid;place-items:center;border:1px solid #e3d9f4;border-radius:50%;font-size:10px;color:#ac95ca;font-weight:500;background:#fbf9ff}.goal-tile.chosen,.comfort-choice.chosen{border:1.5px solid #ae8ce8;background:#f2ecfd}.chosen b{background:#a17adf;color:white;border-color:#a17adf}.visual-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.visual-choice{position:relative;border-radius:13px;overflow:hidden;background:#1c2431;border:2px solid transparent;padding:0;text-align:left;height:139px;color:white}.visual-choice:nth-child(2n){height:155px}.visual-choice.chosen{border-color:#ad8aef}.visual-image{position:absolute;inset:0}.visual-image>img{width:100%;height:100%;object-fit:cover}.visual-choice:after{content:'';position:absolute;inset:65% 0 0;background:linear-gradient(transparent,#121427bc)}.visual-choice>span{position:absolute;bottom:10px;left:11px;font-size:10px;font-weight:750;z-index:2}.visual-choice b{z-index:3;top:8px;right:8px}.quiz-note{font-size:9px!important;color:#a89db8!important;text-align:center;line-height:1.7;margin-top:17px}.quiz-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px}.quiz-actions .primary{width:auto;min-width:150px;margin:0!important;padding:13px 18px}.quiz-actions .primary:disabled{opacity:.4;box-shadow:none}.comfort-options{display:grid;gap:9px;margin:23px 0}.comfort-choice{display:flex;align-items:center;justify-content:space-between;gap:15px;border-radius:13px;padding:16px;border:1px solid #e9e2f2;background:#faf8fd;text-align:left}.comfort-choice strong{display:block;font-size:11px}.comfort-choice small{display:block;color:#a79bb6;font-size:9px;margin-top:4px}.comfort-choice b{font-size:13px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;color:#ab91ca}.comfort-choice.chosen b{color:#fff}.quiz-results{display:grid;gap:14px;margin:23px 0}.quiz-result{border:1px solid #ece6f4;border-radius:14px;overflow:hidden}.result-art{position:relative;height:150px;overflow:hidden}.result-art img{width:100%;height:100%;object-fit:cover}.quiz-result>div:last-child{padding:13px}.quiz-result strong{font-size:12px}.quiz-result p{font-size:10px;margin:6px 0 0;line-height:1.7}.wellness-note{padding:15px;border-radius:13px;background:#eef3ec;color:#43614d;margin:17px 0}.wellness-note strong{font-size:11px}.wellness-note p{font-size:10px;color:#7a8d7e;line-height:1.8;margin:6px 0 0}.wellness-note .text-button{color:#65866d;font-size:9px;padding-bottom:0}.research-links{display:grid;gap:12px;margin:23px 0;font-size:10px;color:#8a6bb4}.card-why{font-size:8px;color:#9982b4;text-align:left;padding:7px 0}.personal-match{margin:20px 0 0;border:1px solid #e7e1f0;border-radius:14px;background:#f4effc;position:relative;padding:16px 52px 13px 16px}.personal-match small{letter-spacing:1.1px;font-size:7px;color:#a390bb}.personal-match h2{font-size:13px;margin-top:7px;letter-spacing:-.2px}.personal-match p{font-size:9px;margin:5px 0}.match-play{position:absolute;right:15px;top:26px;width:29px;height:29px;border-radius:50%;background:#e7dbfa;color:#8f68ce}.why-link{font-size:8px;color:#9b7fbc;padding:4px 0 0}.fit-feedback{justify-content:center}.quiz-modal .close{top:9px;right:9px;width:20px;height:20px;font-size:14px}@media(max-width:380px){.quiz-modal{padding:25px 18px}.goal-tile{padding:15px 11px;min-height:130px}.quiz-modal h2{font-size:23px}}
.personal-match{display:grid;grid-template-columns:76px minmax(0,1fr) 27px;gap:0 12px;padding:14px;align-items:center}.match-preview{position:relative;grid-column:1;grid-row:1 / span 2;width:76px;height:82px;border-radius:11px;overflow:hidden;background:#14251f;padding:0}.match-preview img{width:100%;height:100%;object-fit:cover}.match-preview>span{position:absolute;bottom:5px;right:7px;font-size:14px;color:#ffffffca;z-index:2}.match-copy{grid-column:2;min-width:0}.match-copy h2{font-size:12px;line-height:1.4}.match-copy p{font-size:8px;line-height:1.6}.personal-match .match-play{position:static;grid-column:3;grid-row:1;width:27px;height:27px}.personal-match .why-link{grid-column:2 / span 2;justify-self:start;padding-top:5px;font-size:8px}
.story-player-bottom{bottom:28px}.story-player-bottom .story-title{font-size:11px;letter-spacing:.1px;font-weight:650;color:#ffffffe0;margin-bottom:13px}.story-chapters{display:flex;gap:6px;margin:0 0 19px}.story-chapters .story-chapter{position:relative;flex:1;height:13px;padding:5px 0;background:none;overflow:hidden}.story-chapters .story-chapter:before,.story-chapters i{content:'';display:block;position:absolute;left:0;right:0;top:5px;height:2px;background:#ffffff38;border-radius:2px}.story-chapters i{right:auto;width:var(--story-fill,0%);background:#fff;transition:width .2s linear}.story-copy>span{color:#ffffffa6;font-size:8px;letter-spacing:1px;text-transform:uppercase}.story-copy h2{font-size:26px;line-height:1.2;margin:11px 0 10px;max-width:370px}.story-copy p{font-size:11px;line-height:1.8;max-width:350px;margin:0 0 13px;color:#fffdf5cb}.story-player-bottom .player-hint{font-size:7px;color:#ffffff7a}.story-player-bottom .player-hint a{text-decoration:underline;text-underline-offset:2px}.story-player-bottom .player-controls{margin-top:22px}.story-ending{margin:13px 0}.story-ending[hidden]{display:none}.story-ending p{font-size:10px;margin:0 0 10px}.story-ending button{font-size:10px;color:white;background:#ffffff20;border:1px solid #ffffff40;padding:8px 14px;border-radius:20px;margin-right:8px}.story-player-bottom{padding-top:25px}.player-scene:has(video):after{background:linear-gradient(#09182799,transparent 22%,#0b172224 40%,#0b1722b8 76%,#0b1722dc)}
.voice-modal{width:410px;padding:33px 27px;max-height:94dvh}.voice-arrival{background:radial-gradient(ellipse at 50% 47%,#eae4ff85,transparent 57%),linear-gradient(#fff 20%,#ffefdf44 100%),#fcfbff}.memo-top{display:flex;align-items:center;justify-content:space-between;padding-right:14px;margin-bottom:26px}.memo-top>span{font-size:8px;letter-spacing:1.5px;color:#aa98c3;font-weight:750}.memo-top button{font-size:9px;color:#a391bb}.memo-top button:disabled{opacity:.35}.voice-modal h2{font-size:27px;line-height:1.3;text-align:center;margin:19px 0 13px}.memo-prompt{text-align:center;font-size:12px!important;color:#7d7392!important;line-height:1.9!important}.memo-mic-wrap{width:144px;height:144px;margin:32px auto 15px;display:grid;place-items:center;border-radius:50%;background:#ddd0ff55;box-shadow:0 0 0 13px #e5d9ff35,0 0 0 26px #ede5ff25}.memo-mic{width:94px;height:94px;border-radius:50%;background:linear-gradient(145deg,#b69aff,#8764ed);box-shadow:0 7px 21px #9970e34d,inset 0 1px 1px #ffffff70;display:grid;place-items:center;color:white}.memo-mic svg{height:39px;width:32px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.memo-mic svg rect{fill:#ffffff18}.memo-mic:disabled{opacity:.45}.listening{animation:memo-pulse 2.5s ease-in-out infinite}.stop-square{height:22px;width:22px;background:white;border-radius:5px}.memo-status{text-align:center;font-size:10px;color:#8c7caa;min-height:16px;margin:24px 0 10px}.memo-wave{display:flex;gap:3px;justify-content:center;align-items:center;height:45px;margin:8px auto 0}.memo-wave i{display:block;width:3px;height:var(--h);border-radius:3px;background:#b69ae8;opacity:.45}.memo-wave.active i{animation:memo-bars 1.1s ease-in-out var(--d) infinite alternate;opacity:.9}.memo-time{text-align:center;color:#a998be;font-size:9px;margin:3px 0 22px}.memo-privacy{font-size:8px!important;color:#a99bb8!important;text-align:center;line-height:1.85!important;margin:24px 7px 0!important}.memo-text-box{display:none}.memo-text-box.visible{display:block}.voice-modal textarea{min-height:95px;font-size:11px;line-height:1.8}.voice-modal label{font-size:10px}.voice-modal label small{font-size:8px;color:#aa9bb8;font-weight:500;margin-left:4px}.voice-modal .full{display:block;width:100%;text-align:center}.memo-audio{display:block;width:100%;height:35px;margin:12px 0}.memo-message{font-size:10px!important;padding:10px 12px;border-radius:10px;background:#eee8f7;color:#8f7ca6!important;line-height:1.8!important}.memo-quote{font-size:12px!important;line-height:1.9!important;padding:18px;background:#f4effa;border-radius:13px;color:#81718e!important;font-style:italic;white-space:pre-wrap;max-height:190px;overflow:auto}.memo-insights{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.memo-insights>div{padding:12px;background:#f6f3fb;border:1px solid #ede7f5;border-radius:11px}.memo-insights span{color:#a390b9;font-size:8px;text-transform:uppercase;letter-spacing:.8px}.memo-insights p{margin:5px 0 0;font-size:10px;color:#766487;line-height:1.65}.memo-note{font-size:9px!important;color:#a193b1!important;line-height:1.85!important}.memo-experiences{display:grid;gap:13px;margin:24px 0 12px}.memo-experience{padding:0;border-radius:14px;overflow:hidden;text-align:left;border:1px solid #eee7f6;background:#faf8fd}.memo-experience-art{height:115px;position:relative;background:#14251f}.memo-experience-art img{width:100%;height:100%;object-fit:cover}.memo-experience>div:last-child{padding:13px 16px}.memo-experience strong{font-size:17px}.memo-experience small{display:block;color:#a494b5;font-size:9px;margin:3px 0}.memo-experience span{display:block;font-size:9px;margin-top:8px;color:#9b7cc3}@keyframes memo-pulse{50%{box-shadow:0 0 0 17px #e5d9ff40,0 0 0 33px #ede5ff20}}@keyframes memo-bars{to{transform:scaleY(.4)}}
.experience-modal .full{display:block;width:100%;text-align:center;font-size:10px;padding:10px 0}.experience-modal .memo-experience-art{height:90px}.experience-modal .memo-experience>div:last-child{padding:10px 14px}.experience-modal .memo-experiences{margin-top:19px}
.voice-modal.is-recording .memo-mic-wrap{width:94px;height:94px;margin:18px auto 6px;box-shadow:0 0 0 9px #e5d9ff35}.voice-modal.is-recording .memo-mic{width:66px;height:66px}.voice-modal.is-recording .memo-status{margin-top:13px}.voice-modal.is-recording .memo-wave{height:24px;margin-top:2px}.voice-modal.is-recording .memo-time{margin-bottom:16px}.voice-modal.is-recording .memo-prompt{font-size:10px!important}.voice-modal.is-recording h2{font-size:23px;margin-top:4px}.voice-modal.is-recording .memo-top{margin-bottom:16px}.memo-live-panel{border:1px solid #dfd1f3;background:#f8f4fd;border-radius:14px;padding:14px;margin:15px 0}.live-panel-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.live-panel-top strong{font-size:10px;color:#89709f}.live-panel-top>span{font-size:8px;color:#a694b8}.live-panel-top>span[data-state="listening"]{color:#6d9773}.live-panel-top>span[data-state="error"]{color:#a3817d}#live-transcript{min-height:46px;max-height:110px;overflow:auto;font-size:12px;line-height:1.9;color:#665670;margin:10px 0 0;white-space:pre-wrap}#live-interim{color:#b6a1c9}#live-placeholder{font-style:normal;font-size:10px;color:#b1a3bf}.memo-live-match:empty{display:none}.memo-live-match{margin:17px 0}.live-match-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.live-match-heading strong{font-size:10px;color:#8e78a5}.live-match-heading small{font-size:7px;color:#b4a7c3}.live-intent-chips{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0}.live-intent-chips span{font-size:8px;color:#a084b7;background:#efe8f8;padding:5px 8px;border-radius:14px}.live-recommendation{display:grid;grid-template-columns:68px minmax(0,1fr);gap:12px;align-items:center;padding:10px;background:#f4f1f8;border-radius:12px}.live-recommendation-art{position:relative;height:74px;border-radius:9px;overflow:hidden;background:#14251f}.live-recommendation-art img{width:100%;height:100%;object-fit:cover}.live-recommendation small{font-size:7px;color:#b1a0bf;display:block}.live-recommendation strong{font-size:10px;display:block;margin:5px 0}.live-recommendation p{font-size:8px!important;line-height:1.7;margin:0}.live-recovery{display:flex;gap:10px;align-items:center;justify-content:center}.live-recovery .text-button{font-size:9px}
.voice-modal.is-recording .memo-prompt{display:none}.voice-modal.is-recording .memo-mic-wrap{width:68px;height:68px;margin:12px auto 4px}.voice-modal.is-recording .memo-mic{width:50px;height:50px}.voice-modal.is-recording .stop-square{width:16px;height:16px;border-radius:4px}.voice-modal.is-recording .memo-status{margin:9px 0 5px}.voice-modal.is-recording .memo-wave{height:14px;transform:scaleY(.65)}.voice-modal.is-recording .memo-time{margin:3px 0 11px}.live-finish:disabled{opacity:.45}

.viewing-consent{border:1px solid #e5def5;background:#faf8ff;border-radius:16px;padding:12px 14px;margin:18px 0}.viewing-consent .settings-row{margin:0;gap:16px;font-size:14px}.viewing-consent p{font-size:12px;line-height:1.55;margin:7px 0}.viewing-sync{color:#75648d;font-size:11px}.viewing-table-wrap{overflow:auto;margin:20px 0}.viewing-table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}.viewing-table th,.viewing-table td{padding:13px 12px;border-bottom:1px solid #e8e3f2;white-space:nowrap}.viewing-table th:first-child{white-space:normal;min-width:155px}.viewing-table th small{display:block;color:#8d829f;font-weight:400;margin-top:4px}.viewing-insights{max-width:830px!important}.viewing-insights .stats{grid-template-columns:1fr 1fr}

.scene-dissolve-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:4;pointer-events:none}.morph-caption{position:absolute;z-index:8;left:24px;right:24px;top:24%;text-align:center;text-shadow:0 2px 18px #0009;pointer-events:none;color:white}.morph-caption span{display:block;font-size:10px;letter-spacing:.14em;opacity:.85}.morph-caption strong{display:block;margin:12px auto 9px;font-size:clamp(22px,5vw,38px);max-width:550px;line-height:1.16}.morph-caption small{font-size:12px;opacity:.85}.is-morphing .story-player-bottom{opacity:.15;transition:opacity .3s}.is-morphing .player-controls button{pointer-events:none}.story-tools{display:flex;align-items:center;gap:12px;margin:16px 0;color:#ffffffb3;font-size:10px}.story-tools button{border:1px solid #ffffff40;border-radius:22px;background:#ffffff14;color:white;padding:8px 12px;font-size:11px;cursor:pointer}.story-reader section{padding:20px 0;border-bottom:1px solid var(--line)}.story-reader section:last-child{border-bottom:0}.story-reader small{color:var(--purple);font-size:10px;letter-spacing:.04em;text-transform:uppercase}.story-reader h3{font-size:21px;line-height:1.3;margin:9px 0 8px}.story-reader p{font-size:15px;line-height:1.7}.story-reader-modal{max-width:540px!important}.story-player-bottom .story-ending{margin-top:12px}.story-ending[hidden]{display:none!important}@media(prefers-reduced-motion:reduce){.scene-morph-canvas,.morph-caption{display:none!important}}

.player-scene{z-index:0}.player-scene:after{z-index:6}

.nature-category{display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--muted);font-size:12px;margin:0 0 24px}.nature-category select{border:1px solid #e9e4f6;background:white;border-radius:20px;padding:9px 13px;color:var(--ink);font:inherit;max-width:58%}

.story-tools{flex-wrap:wrap;gap:8px 12px;font-size:12px}.story-tools button{font-size:14px;min-height:42px;padding:10px 14px}.morph-caption span{font-size:12px}.morph-caption small{font-size:13px}.story-reader p{font-size:16px}.story-reader small{font-size:12px}.story-player-bottom .player-hint{font-size:12px;line-height:1.5}.nature-category{font-size:14px}.nature-category select{appearance:none;padding-right:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23725ba1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat}

.player .credits-toggle{font:inherit;font-size:14px;color:#ffffffb8;background:none;border:0;padding:10px 0;min-height:42px;text-decoration:underline;text-underline-offset:4px;cursor:pointer}.player .credits-toggle:hover{color:white}

.player-scene:has(video):after{background:linear-gradient(#09182765,transparent 21%,transparent 45%,#0b172260 78%,#0b1722a0)}.story-player-bottom .story-copy,.story-player-bottom .story-title{text-shadow:0 2px 12px #0009}

.flow-breath{position:absolute;top:82px;left:28px;right:28px;z-index:3;display:flex;align-items:center;justify-content:center;gap:14px;color:#fff;pointer-events:none;text-shadow:0 1px 10px #0008}.flow-breath[hidden]{display:none}.flow-breath strong{display:block;font-size:1rem;font-weight:600}.flow-breath small{display:block;font-size:.8125rem;opacity:.75}.breath-dot{width:18px;height:18px;border:1px solid #ffffffb3;border-radius:50%;background:#ffffff30;box-shadow:0 0 20px #ffffff35;will-change:transform}.flow-steps{display:flex;gap:8px;margin:16px 0 10px}.flow-steps span{flex:1;border-top:2px solid #ffffff35;padding-top:7px;font-size:.875rem;color:#ffffff8c}.flow-steps span.active{border-color:#fff;color:#fff}.flow-sequence p{font-size:1rem;line-height:1.45;margin:8px 0 12px;max-width:390px;min-height:2.9em}.flow-sequence-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:10px}.flow-sequence-actions button{background:#ffffff12;border:1px solid #ffffff40;border-radius:20px;color:#fff;padding:7px 12px;font-size:.875rem;cursor:pointer}

.flow-player .player-bottom{gap:14px;bottom:max(28px,env(safe-area-inset-bottom))}.flow-player .player-bottom h2{font-size:26px;line-height:1.2;margin:0 0 6px}.flow-player .flow-steps{margin:10px 0 6px}.flow-player .flow-sequence p{margin:6px 0 10px;min-height:2.6em}.flow-player .flow-sequence-actions{margin-bottom:6px}.flow-player .player-hint{margin-top:8px}

/* Account setup follows the storyboard's simple, single-column onboarding. */
.account-screen{padding-bottom:32px}.account-screen .auth-intro{margin-bottom:24px}
.account-screen form{display:grid;gap:12px}.account-screen label{font-size:14px;font-weight:600;margin-top:6px}
.account-screen input,.writing-prompts input,#delete-confirm{width:100%;box-sizing:border-box;border:1px solid #ddd9ed;border-radius:13px;padding:14px 15px;background:#faf9ff;color:#172238;font:inherit;font-size:16px;min-height:50px}
.account-screen input:focus,.writing-prompts input:focus{outline:2px solid #8a70de;outline-offset:2px}
.account-password-wrap{display:flex;align-items:center;position:relative}.account-password-wrap input{padding-right:70px}.account-password-wrap button{position:absolute;right:12px;font:inherit;font-size:14px;color:#694cc0;background:none;border:0;padding:8px}
.account-screen form .primary{margin-top:10px}.account-screen .fine-print{margin:0 0 6px}.account-message{font-size:14px;line-height:1.5;color:#516b57;min-height:1.5em}.account-message.is-error,.danger{color:#9f3b51}
.account-setup-note{padding:16px;border-radius:15px;background:#efebff;margin:0 0 20px;font-size:14px;line-height:1.5}.account-setup-note p{margin:7px 0 0;font-size:14px}
.account-apple{width:100%;padding:15px;border-radius:14px;background:#172238;color:white;border:0;font:inherit;font-weight:600}.account-apple small{display:block;font-size:12px;font-weight:400;margin-top:4px}.account-screen button:disabled{opacity:.55;cursor:not-allowed}
.writing-prompts{margin:20px 0 24px;padding:18px;background:#f4f1ff;border-radius:16px;text-align:left}.writing-prompts summary{font-weight:650;font-size:16px;cursor:pointer}.writing-prompts p{font-size:14px}.writing-prompts label{display:block;font-size:14px;font-weight:600;margin:16px 0 8px}.writing-prompts .primary{margin-top:18px}.writing-prompts input{background:white}.memo-sync-choice{text-align:left;margin:18px 0 8px}.account-screen .eyebrow{display:block;margin:18px 0 10px}
.memo-transcription-choice{display:flex;align-items:flex-start;gap:12px;font-size:14px;line-height:1.5;text-align:left;background:#f4f1ff;border-radius:14px;padding:14px;margin-top:20px}.memo-transcription-choice input{width:20px;height:20px;flex-shrink:0;accent-color:#8062ce}
.memo-input-tabs{display:flex;gap:6px;background:#efecf8;border-radius:14px;padding:5px;margin:20px 0}.memo-input-tabs button{flex:1;padding:12px;border:0;border-radius:10px;background:transparent;color:#6e6483;font:inherit;font-size:16px}.memo-input-tabs button[aria-pressed=true]{background:white;color:#34244f;box-shadow:0 2px 9px #5a3b7712}.memo-recording-ui[hidden],.voice-modal.is-writing #memo-live-match{display:none}.account-screen .auth-privacy,.account-screen .fine-print{font-size:14px;line-height:1.5;color:#777087}.account-screen .auth-intro p{font-size:16px;line-height:1.5}.account-screen .app-icon{width:48px;height:48px;margin-bottom:16px}.account-screen .auth-intro{margin-top:28px;margin-bottom:18px}.account-screen .auth-intro .eyebrow{font-size:12px}.account-screen{justify-content:flex-start;padding-top:36px}
.voice-modal .memo-quote{font-size:16px;line-height:1.65}.voice-modal .memo-insights p{font-size:14px;line-height:1.5}.voice-modal .memo-note,.voice-modal .memo-privacy{font-size:14px;line-height:1.55}.voice-modal .memo-insights span{font-size:12px}.voice-modal label[for=memo-goal]{font-size:14px}

@media(prefers-reduced-motion:reduce){.scene-dissolve-video{display:none!important}}

/* Keep the moving scene quiet; narrative and extra controls open on request. */
.player .story-title,.flow-player .player-bottom h2{font-size:14px;font-weight:500;line-height:1.4;letter-spacing:0;margin:0 0 2px;color:#ffffffe0}
.player .scene-details{max-height:42dvh;overflow:auto;color:white}
.player .scene-details>summary{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;font-size:12px;font-weight:400;color:#ffffffb8;cursor:pointer;list-style:none}
.player .scene-details>summary::-webkit-details-marker{display:none}
.player .scene-details>summary:after{content:' +';margin-left:6px}
.player .scene-details[open]>summary:after{content:' −'}
.player .scene-details>summary:focus-visible{outline:2px solid white;outline-offset:2px;border-radius:5px}
.player .scene-details .story-copy h2{font-size:18px;font-weight:500;line-height:1.5;letter-spacing:0}
.player .scene-details .story-chapters{margin:4px 0 12px}
.player .scene-why{font-size:19px;min-width:44px;min-height:44px;padding:6px;background:transparent}
.player .player-counter{font-variant-numeric:tabular-nums;font-size:10px;opacity:.65}
.player .player-controls{margin-top:10px}
.player .flow-breath{top:88px;gap:9px;opacity:.8}
.player .flow-breath strong{font-size:12px;font-weight:400}
.player .breath-dot{width:12px;height:12px;box-shadow:none}
.player-scene:has(video):after{background:linear-gradient(#09182745,transparent 18%,transparent 68%,#0b172275)}

/* Vivids Create: a quiet studio with a local preview and explicit per-use credits. */
.studio-invitation{width:100%;display:flex;gap:12px;align-items:center;text-align:left;border:1px solid #e6dcfa;background:linear-gradient(120deg,#f1eaff,#fcf6ef);border-radius:16px;padding:17px 14px;margin:18px 0 4px}
.studio-invitation>span:nth-child(2){flex:1}.studio-invitation small{font-size:8px;letter-spacing:1.2px;color:#8c70ae}.studio-invitation strong{display:block;font-size:13px;line-height:1.5;margin:4px 0}.studio-invitation span span{font-size:10px;color:#92819f}.studio-spark{font-size:29px;color:#9460df}.studio-invitation>span:last-child{color:#9a7fb4}
.studio-heading h1{font-size:28px}.studio-heading p{font-size:13px;line-height:1.7}.studio-discover-link{color:#8661bb;font-size:12px;padding:9px 0}
.studio-preview{height:260px;position:relative;border-radius:19px;overflow:hidden;background:#17162a;margin:22px 0 25px}.studio-preview canvas,.studio-preview video{width:100%;height:100%;display:block;object-fit:cover}.studio-preview>span{position:absolute;bottom:10px;left:12px;right:12px;text-align:center;color:#ffffffb3;font-size:9px;pointer-events:none;text-shadow:0 1px 5px #000}
#studio-form fieldset{padding:0;border:0;margin:20px 0}#studio-form legend,#studio-form>label{display:block;font-size:13px;font-weight:650;margin-bottom:11px}.studio-themes{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.studio-themes button,.studio-styles button{border:1px solid #e8e1f2;background:#faf8ff;border-radius:12px;font-size:11px;padding:12px 7px;min-height:43px}.studio-themes button[aria-pressed=true],.studio-styles button[aria-pressed=true]{background:#eee5ff;color:#734aba;border-color:#bea0e5}.studio-styles{display:flex;gap:7px}.studio-styles button{flex:1}#studio-prompt{width:100%;border:1px solid #e1d8ee;background:#fcfaff;padding:14px;border-radius:13px;resize:vertical;font:inherit;font-size:14px;line-height:1.7;color:var(--ink);min-height:125px}.studio-hint{font-size:11px;line-height:1.7;margin:3px 0 20px}
#studio-form .studio-consent{display:flex;gap:11px;align-items:flex-start;font-size:11px;line-height:1.7;font-weight:400;background:#f4f0fa;border-radius:12px;padding:13px}.studio-consent input{width:18px;height:18px;flex-shrink:0;accent-color:#8455c2;margin-top:2px}.studio-credit-summary{padding:17px 0;display:grid;gap:6px}.studio-credit-summary strong{font-size:13px}.studio-credit-summary span{font-size:11px;color:#9a8ba8}.studio-credit-summary span:last-child{color:#8a6aaa}#studio-form .primary:disabled{opacity:.5;box-shadow:none}.studio-status{font-size:12px;min-height:1.5em;line-height:1.7}.studio-credit-link{display:flex;justify-content:space-between;width:100%;padding:15px;border:1px solid #e8e1f2;border-radius:13px;font-size:12px;background:#f9f6ff}.studio-credit-link span{color:#9778be}.studio-empty{padding:23px 14px;border-radius:13px;text-align:center;font-size:12px;line-height:1.7;background:#f5f2fa;color:#a196ad}.studio-pack-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:22px 0}.studio-pack{border:1px solid #dfd1f1;background:#f6f0ff;padding:20px 10px;border-radius:13px;text-align:left;display:grid;gap:9px}.studio-pack:disabled{opacity:.55}.studio-pack strong{font-size:16px}.studio-pack span{font-size:11px;line-height:1.5;color:#9a7db1}.studio-job{display:flex;align-items:center;gap:12px;padding:16px 0;border-top:1px solid var(--line)}.studio-job>div{flex:1;min-width:0}.studio-job strong{font-size:12px}.studio-job p{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:5px 0}.studio-job small{font-size:10px;color:#9575b2}.studio-job button{width:42px;height:42px;border-radius:50%;background:#eee5fa;color:#9672ba}.studio-created-video{width:100%;max-height:65dvh;object-fit:contain;border-radius:14px;background:#12141f}

/* A featured invitation, with a living seed spiral and a clear studio action. */
.create-vivid-card{isolation:isolate;position:relative;display:block;width:100%;min-height:226px;margin:0 0 24px;padding:23px;text-align:left;overflow:hidden;border-radius:23px;background:radial-gradient(ellipse at 100% 20%,#593873,#251833 72%);color:#fff;border:1px solid #a785b754;box-shadow:0 12px 28px #60468020}
.create-vivid-card:after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#24172ff2, #281c3499 48%,transparent 75%)}
.create-vivid-art{position:absolute;z-index:-2;width:252px;height:252px;right:-27px;top:-5px;pointer-events:none;mix-blend-mode:screen}.create-vivid-art canvas{display:block;width:100%;height:100%;opacity:.94}
.create-vivid-copy{display:block;position:relative;z-index:1;max-width:240px}.create-vivid-copy small{display:block;color:#e0bedf;font-size:8px;letter-spacing:1.65px;font-weight:650;margin-bottom:11px}.create-vivid-copy strong{display:block;font-size:30px;letter-spacing:-1.2px;font-weight:750;line-height:1.13;color:#fff7fa}.create-vivid-description{display:block;font-size:11px;color:#dac9df;line-height:1.6;margin:10px 0 15px}.create-vivid-button{display:inline-flex;align-items:center;justify-content:space-between;gap:18px;background:#f4d5a6;color:#402a40;font-size:11px;font-weight:750;min-height:37px;padding:9px 14px;border-radius:22px}.create-vivid-button>span{font-size:17px;line-height:1}.create-vivid-note{position:absolute;right:15px;bottom:16px;font-size:6.5px;letter-spacing:1px;color:#ecd0e3b0}
.create-vivid-card:hover{border-color:#e4b8cf88}.create-vivid-card:focus-visible{outline-color:#bb85eb;outline-offset:4px}.create-vivid-card:active{transform:translateY(1px)}
@media(max-width:360px){.create-vivid-card{padding:20px}.create-vivid-copy strong{font-size:27px}.create-vivid-art{right:-56px}.create-vivid-note{display:none}}

/* Shared icon grid and the quieter Joyspace hub. */
.ui-icon{display:block;width:24px;height:24px;min-width:24px;flex-shrink:0;vertical-align:middle}
.bottom-nav button>span{display:grid;place-items:center;width:24px;height:24px;margin:0 auto 4px;line-height:1}
.avatar{display:grid;place-items:center;width:44px;height:44px;padding:10px;font-size:inherit}
.close{display:grid;place-items:center;width:44px;height:44px;padding:10px}
.player-controls button{display:grid;place-items:center;padding:0}
.bookmark,.play-small,.circle-arrow{display:grid;place-items:center}
.icon-label{display:inline-flex;align-items:center;gap:8px}
.profile-heading{margin-bottom:20px}
.profile-identity{display:flex;align-items:center;gap:13px;margin:0 0 22px}
.joyspace-avatar{display:grid;place-items:center;width:52px;height:52px;flex-shrink:0;border-radius:50%;background:linear-gradient(135deg,#ddd3ff,#b6eeea);color:#7657d5}
.profile-identity h2{font-size:17px;margin:0 0 4px;letter-spacing:-.3px}.profile-identity p{font-size:12px;color:#77839d;margin:0}
.journey-card{display:block;width:100%;padding:16px;border:1px solid #e5dcff;border-radius:17px;background:#f2edff;text-align:left;color:#1b2841;margin-bottom:14px}
.journey-card-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:14px;font-weight:650}.journey-card-heading small{display:block;font-size:11px;color:#77839d;font-weight:400;margin-top:4px}.journey-view{display:inline-flex;align-items:center;color:#8260df;font-size:12px;font-weight:600;gap:2px}
.journey-stats,.progress-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}.journey-stats>span,.progress-summary>div{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:69px;padding:12px 4px;border-radius:12px;background:#ffffffb3;text-align:center}.journey-stats strong,.progress-summary strong{font-size:23px;line-height:1.2;font-weight:700;letter-spacing:-.7px}.journey-stats small,.progress-summary small{font-size:10px;color:#77839d;margin-top:5px}.journey-stats>span:nth-child(1) strong{color:#815be6}.journey-stats>span:nth-child(2) strong{color:#279882}
.profile-links{overflow:hidden;border:1px solid #e8eaf2;border-radius:17px;background:#fff}.profile-links button{display:flex;align-items:center;gap:11px;width:100%;min-height:69px;padding:13px 14px;text-align:left;font-size:14px;font-weight:600;color:#26334c;border:0;border-bottom:1px solid #edf0f7;background:transparent}.profile-links button:last-child{border-bottom:0}.profile-links small{display:block;font-size:11px;line-height:1.45;font-weight:400;color:#7c89a1;margin-top:3px}.menu-icon{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border-radius:50%;background:#f1ebff;color:#8d67ef}.profile-row-arrow{margin-left:auto;color:#8490a7;display:flex}.profile-footnote{font-size:11px;line-height:1.6;color:#8590a5;margin:20px 8px}
.progress-range{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;border-radius:12px;padding:4px;background:#f0f2f8;margin:20px 0 14px}.progress-range button{border:0;background:transparent;color:#77839d;border-radius:9px;min-height:38px;font-size:12px;font-weight:600}.progress-range button[aria-pressed=true]{background:#1b2940;color:white}
.progress-summary{margin:0 0 25px}.progress-summary>div{background:#f7f6fc}.progress-summary>div:nth-child(1) strong{color:#825ce3}.progress-summary>div:nth-child(2) strong{color:#299982}.progress-summary>div:nth-child(3) strong{color:#c77a35}
.progress-section{margin:0 0 26px}.progress-section h2{font-size:17px;margin:0}.progress-section .section-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.progress-note{font-size:11px;line-height:1.6;color:#8390a7;margin:10px 0}.progress-empty{padding:20px 16px;border:1px solid #e8eaf3;border-radius:15px;font-size:12px;line-height:1.7;color:#7b87a0;background:#fff}
.mood-chart{margin:0;border:1px solid #e8eaf3;border-radius:15px;padding:10px 8px 0;background:white}.mood-chart svg{display:block;width:100%;height:auto}.mood-chart text{fill:#8490a7;font-size:10px}.mood-grid{stroke:#edf0f7;fill:none}.mood-before,.mood-after{fill:none;stroke:#c8c0f4;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.mood-after{stroke:#8863eb}.mood-point{fill:#8863eb}.mood-legend{display:flex;gap:10px;font-size:10px;color:#7a879f}.mood-legend span{display:flex;align-items:center;gap:4px}.mood-legend span:before{content:'';width:6px;height:6px;border-radius:50%;background:#c8c0f4}.mood-legend span:last-child:before{background:#8863eb}.mood-change-note{display:flex;flex-direction:column;gap:5px;border:1px solid #d9f1e5;border-radius:14px;padding:15px;background:#edf9f3;margin-top:12px;font-size:12px;line-height:1.5}.mood-change-note strong{font-size:15px}.mood-change-note span{color:#72869a}
.progress-list{border:1px solid #e8eaf3;border-radius:15px;overflow:hidden;background:white}.progress-list-row{display:flex;align-items:center;gap:10px;padding:14px;border-bottom:1px solid #edf0f7}.progress-list-row:last-child{border-bottom:0}.progress-list-row strong{display:block;font-size:12px;font-weight:600}.progress-list-row small{display:block;font-size:11px;color:#8490a7;margin-top:4px}
.settings-account{margin:20px 0}.settings-group{border:1px solid #e8eaf3;border-radius:15px;margin:12px 0;padding:0 14px}.settings-group summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;padding:17px 0;font-size:14px;font-weight:650}.settings-group summary::-webkit-details-marker{display:none}.settings-group summary:after{content:'+';margin-left:auto;color:#8d79b0;font-size:20px;font-weight:400}.settings-group[open] summary:after{content:'−'}.settings-group>p{font-size:12px;line-height:1.65}.settings-group>.primary{margin-bottom:14px}.settings-group .settings-row{font-size:12px}.settings-group .text-button{font-size:12px;text-align:left}.settings-group .fine-print{font-size:10px}.sign-out{margin:16px 0}
/* The invitation art dissolves into the card instead of boxing in its copy. */
.create-vivid-card{background:linear-gradient(110deg,#281b36,#473053);min-height:250px}
.create-vivid-card:after{background:linear-gradient(90deg,#281b36 0%,#281b36f5 40%,#281b3680 64%,transparent 88%)}
.create-vivid-art{width:290px;height:290px;right:-43px;top:-18px;mix-blend-mode:screen;-webkit-mask-image:radial-gradient(ellipse at 65% 48%,#000 18%,#0009 43%,transparent 70%);mask-image:radial-gradient(ellipse at 65% 48%,#000 18%,#0009 43%,transparent 70%)}
.create-vivid-copy{max-width:220px}.create-vivid-copy strong{font-size:30px;text-shadow:0 1px 10px #281b36}.create-vivid-description{color:#eee1f1}.create-vivid-copy small{color:#ead3ef}.create-vivid-note{color:#ead3ef}.create-vivid-button{gap:12px}.create-vivid-button>span{display:flex}.create-vivid-button .ui-icon{color:#402a40}
@media(max-width:360px){.create-vivid-card{padding:20px}.create-vivid-copy strong{font-size:27px}.create-vivid-art{right:-69px}.profile-links button{padding:12px;font-size:13px}.profile-links small{font-size:10px}}
/* Keep the studio invitation on one icon/text baseline. */
.studio-discover-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;text-align:left;line-height:1.4;padding:8px 0;margin:5px 0}
.studio-discover-link .ui-icon{align-self:center}
/* Separate Skip and Close into their own tap targets. */
.voice-modal .memo-top{min-height:44px;padding-right:48px;margin-top:-12px;margin-bottom:14px;gap:10px}
.voice-modal .memo-top>span{font-size:9px;line-height:1.5;letter-spacing:1px}
.voice-modal .memo-top button{min-width:44px;min-height:44px;padding:0 4px;font-size:13px;flex-shrink:0;color:#785aa9}
.voice-modal .close{top:13px;right:13px;width:44px;height:44px;padding:10px}
.voice-modal .memo-transcription-choice{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:20px;font-weight:400;padding:14px;text-align:left}
.voice-modal .memo-transcription-choice input{appearance:auto;width:18px;height:18px;min-width:18px;min-height:18px;flex:0 0 18px;padding:0;margin:1px 0 0;border-radius:4px}
.voice-modal .memo-transcription-choice>span{display:block;flex:1;min-width:0;font-size:13px;line-height:20px}
.profile-photo-button{position:relative;padding:0;overflow:visible;border:1px solid #e1d9ef}
.joyspace-avatar img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
.photo-edit-dot{position:absolute;bottom:-2px;right:-2px;width:19px;height:19px;border:2px solid #fff;border-radius:50%;display:grid;place-items:center;background:#8560df;color:white;font-size:15px;line-height:1}
.photo-editor-preview{width:112px;height:112px;margin:24px auto}
.photo-upload-label{position:relative;display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 16px;border:1px solid #ded5f1;border-radius:13px;background:#f5f0ff;color:#7354b1;font-size:14px;font-weight:600;cursor:pointer;overflow:hidden}
.photo-upload-label input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.photo-upload-label:focus-within{outline:3px solid #ad92ff;outline-offset:3px}.photo-status{min-height:24px;font-size:12px;color:#78628e}.text-button:disabled{opacity:.45}
/* A modal must fit the available grid track on narrow phones. */
.modal-backdrop{grid-template-columns:minmax(0,1fr)}
.modal{min-width:0;justify-self:center;max-width:100%}
.checkin-invitation{position:absolute;z-index:5;top:76px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:4px;border:1px solid #ffffff30;border-radius:24px;background:#15162566;backdrop-filter:blur(12px);color:#fff;white-space:nowrap;padding:2px 6px 2px 14px}
.checkin-invitation[hidden],.inline-checkin[hidden]{display:none!important}
.checkin-invitation>button{color:inherit;min-height:36px;font-size:12px}.checkin-invitation>button:last-child{display:grid;place-items:center;width:36px;padding:6px}
.inline-checkin{padding:15px 16px 10px;border:1px solid #ffffff30;border-radius:18px;background:#191b2bd9;backdrop-filter:blur(18px);color:white;margin:8px 0 14px;max-height:40dvh;overflow:auto;text-shadow:none}
.inline-checkin-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px;font-weight:600}.inline-checkin-heading small{display:block;font-size:11px;font-weight:400;color:#e7e3f0b3;margin-top:4px}.inline-checkin-heading button{display:grid;place-items:center;min-width:36px;min-height:36px;padding:6px;color:#eee}
.inline-checkin .moods{margin:15px 0 8px;gap:7px;justify-content:space-between}.inline-checkin .moods button{min-width:38px;min-height:40px;font-size:25px;background:#ffffff10;border:1px solid transparent;border-radius:11px;padding:5px}.inline-checkin .moods button.selected{border-color:#d4b9ff;background:#ffffff25}.inline-checkin-done{display:block;width:100%;min-height:36px;font-size:12px;color:#e7dcfa}
.inline-fit{font-size:11px;color:#e7dcfa;margin:6px 0}.inline-fit summary{cursor:pointer;padding:8px 0}.inline-fit .filters{margin:6px 0}.inline-fit .chip{color:white;background:#ffffff14;border:1px solid #ffffff30;font-size:11px}
/* One shared hit target and centered glyph, including compact quiz dialogs. */
.modal .close,.voice-modal .close,.quiz-modal .close{width:44px;height:44px;min-width:44px;min-height:44px;padding:0;display:flex;align-items:center;justify-content:center;line-height:1;background:transparent;isolation:isolate;flex-shrink:0;overflow:visible}
.modal .close:before{content:'';position:absolute;inset:4px;border-radius:50%;background:#f0edf6;z-index:-1}
.modal .close .ui-icon{position:static;width:24px;height:24px;min-width:24px;margin:0;transform:none;flex:0 0 24px}
.player .scene-why{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;padding:0;border:1px solid #ffffff60;border-radius:50%;background:#17223630;color:#fff;flex:0 0 44px}
.player .player-controls{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px}
.player .player-controls button{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;width:100%;height:48px;padding:0;border:0;background:transparent;backdrop-filter:none;isolation:isolate}
.player .player-controls button:before{content:'';position:absolute;width:40px;height:40px;border:1px solid #ffffff45;border-radius:50%;background:#ffffff16;backdrop-filter:blur(10px);z-index:-1}
.player-controls .ui-icon{width:24px;height:24px;margin:0;flex:0 0 24px}
.welcome-bottom .primary{justify-content:center;padding:14px 20px;min-height:48px}
.welcome-login{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin-top:12px;border:1px solid #ffffffa0;border-radius:26px;color:#fff;background:#1b203a45;backdrop-filter:blur(12px);font-size:14px;font-weight:750}
.welcome-guest{display:block;min-height:44px;margin:8px auto 0;color:#fff;font-size:12px;text-decoration:underline;text-underline-offset:4px}
.joy-log-invitation{padding:20px;margin:0 0 22px;border:1px solid #e4dafa;border-radius:20px;background:linear-gradient(120deg,#f1eaff,#f5faf8)}
.joy-log-card-top{display:flex;align-items:center;gap:12px}.joy-log-card-top small,.shared-vivid-card>small{font-size:9px;letter-spacing:1.4px;color:#7a62a8;font-weight:800}.joy-log-card-top h2{font-size:17px;line-height:1.35;margin-top:3px}.joy-log-invitation p{color:#706a84;margin:12px 0}
.joy-log-open{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;color:#704ac2;font-size:12px;font-weight:800;padding:0}.joy-log-open .ui-icon{width:20px;height:20px;min-width:20px}.joy-week,.joy-badges,.joy-entries{margin-bottom:25px}.joy-week>.section-top{align-items:flex-start;gap:10px}.joy-week .section-top h2{font-size:17px}.joy-week .section-top>span,.joy-badges .section-top>span{color:#8a76ae;font-size:11px;white-space:nowrap}
.joy-week-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.joy-day{text-align:center;color:#8a8fa5;font-size:10px}.joy-day-stamp{display:flex;align-items:center;justify-content:center;height:38px;max-width:38px;margin:6px auto 0;border-radius:50%;background:#f0edf7}.joy-day.visited .joy-day-stamp{background:#a17aee;color:white}.joy-day.today .joy-day-stamp{outline:2px solid #b79ae8;outline-offset:3px}.joy-week>p{font-size:11px}.joy-badge-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.joy-badge{display:flex;align-items:flex-start;flex-direction:column;padding:16px;border-radius:16px;border:1px solid #eae6f1;color:#6d7184;background:#faf9fd}.joy-badge.earned{border-color:#decef8;background:linear-gradient(145deg,#f2eafe,#edf7f4);color:#523786}.joy-badge-symbol{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:#ebe7f4;color:#a49ab8;margin-bottom:12px}.earned .joy-badge-symbol{background:#e1d2f6;color:#8057c7}.joy-badge strong{font-size:12px}.joy-badge small{font-size:10px;line-height:1.6;margin-top:5px}
.joy-entry{border:1px solid #e9e3f1;border-radius:18px;padding:16px;margin-bottom:12px}.joy-entry-top{display:flex;align-items:center;gap:10px}.joy-entry-top>div{min-width:0;flex:1}.joy-entry h3{font-size:13px;line-height:1.45;margin:0}.joy-entry p{margin:4px 0;font-size:11px}.joy-entry .joy-reflection{font-size:13px;color:#5e5377;white-space:pre-wrap;margin:14px 0}.joy-entry>.text-button{min-height:44px;padding:8px 0;font-size:11px}.joy-replay{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;color:#8e65d2}.joy-empty{text-align:center;border:1px dashed #dcd0ed;border-radius:20px;padding:28px 18px}.joy-empty-symbol{width:58px;height:58px;border-radius:50%;background:#eee7fa;color:#976ed6;display:grid;place-items:center;margin:0 auto 18px}.joy-empty h2{font-size:18px}.joy-share{min-height:44px;font-size:12px;padding:10px 0}.shared-vivid-card{border-radius:18px;border:1px solid #e4dafa;padding:18px;margin-bottom:18px;background:#f7f2fe}.shared-vivid-card h2{margin-top:8px;font-size:18px}#joy-note{width:100%;resize:vertical;min-height:110px;padding:14px;border:1px solid #e0d8ec;border-radius:12px;font:inherit}#vivid-share-url{width:100%;min-height:44px;padding:12px;border:1px solid #e0d8ec;border-radius:12px;font-size:12px}

.joy-system-share{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;width:100%;margin-top:10px}
.joy-entries .section-top>button{display:inline-flex;align-items:center;gap:5px;min-height:44px;flex-shrink:0;white-space:nowrap}
/* Keep welcome actions in normal flow, including short screens and large text. */
.welcome{padding:32px 30px max(24px,env(safe-area-inset-bottom));justify-content:space-between;gap:28px}
.welcome-center{margin:0;flex:1;min-height:240px;display:flex;flex-direction:column;justify-content:center;z-index:1}
.welcome-bottom{position:relative;bottom:auto;left:auto;right:auto;width:100%;flex:none;z-index:1}
