:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none;color:#fff;background:#030d1d;--blue:#007aff}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{color:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;appearance:none;-webkit-appearance:none}button:disabled{opacity:.35;cursor:default}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #45b4ff;outline-offset:3px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.device{position:relative;isolation:isolate;max-width:480px;margin:auto;min-height:100svh;overflow:hidden;background:#061428;display:flex;flex-direction:column}.device[data-view=home]{background:#fff;color:#071427;padding-top:max(12px,env(safe-area-inset-top))}.themed::before{content:"";position:absolute;inset:-22px;z-index:-1;background:linear-gradient(#000b1f3b,#000b1f3b),url('assets/imgAIPredictionsPersonality.png') 63% center/auto 100% no-repeat;filter:blur(19px)}.themed[data-theme=relationship]::before{background-image:linear-gradient(#000b1f3b,#000b1f3b),url('assets/imgAIPredictionsRelationship.png')}.themed[data-theme=profession]::before{background-image:linear-gradient(#000b1f3b,#000b1f3b),url('assets/imgAIPredictionsProfession.png')}.account-bg{background:linear-gradient(160deg,#637388,#b9c8db 30%,#355f73 55%,#5384ad 83%,#b4a0cb);color:#000}.screen-header{height:calc(64px + env(safe-area-inset-top));padding:calc(10px + env(safe-area-inset-top)) 15px 10px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-shrink:0;position:relative;z-index:2;background:#07172c2e;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid #ffffff18}.screen-header h1{font-size:22px;font-weight:600;text-align:center;line-height:1.15;margin:0;flex:1}.screen-header.light{background:#ffffff66;color:#000}.round{flex:none;width:32px;height:32px;border-radius:50%;border:0;background:#eee;color:#000;display:grid;place-items:center;padding:5px;font-size:28px;font-weight:400;line-height:1}.round svg{width:23px;height:23px}.pill{border:0;border-radius:22px;min-height:34px;padding:5px 17px;color:var(--blue);background:#fff;font-size:17px;font-weight:650;white-space:normal}.header-spacer{width:44px}.primary{min-height:50px;width:100%;border:0;border-radius:15px;padding:11px 16px;font-size:20px;font-weight:500;background:var(--blue);color:#fff;box-shadow:none;line-height:1.3}.text-link{border:0;padding:0;background:transparent;color:var(--blue);font-weight:600;line-height:1.4;text-align:left}.secondary{width:100%;min-height:48px;border:1px solid #ffffff38;border-radius:15px;background:#ffffff14;padding:10px 16px;font-size:17px;font-weight:600}.device svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.landing-nav{display:flex;gap:8px;height:44px;margin:0 12px 13px}.landing-nav button{position:relative;isolation:isolate;overflow:hidden;background:#031429;color:white;border:0;clip-path:inset(0 round 999px);-webkit-clip-path:inset(0 round 999px);transform:translateZ(0)}.landing-nav button::before{content:"";position:absolute;inset:-12px;z-index:-1;background:linear-gradient(#03142955,#03142955),url('assets/imgAIPredictionsPersonality.png') center/cover;filter:blur(10px);border-radius:inherit}.nav-pill{flex:1;min-width:0;display:flex;align-items:center;gap:11px;border-radius:22px;padding:0 19px;font-size:15px;font-weight:600;text-align:left}.nav-circle{width:44px;border-radius:50%;flex:none;padding:11px}.landing-nav svg{width:20px;height:20px;flex:none}.section-cards{display:grid;gap:13px;padding:0 12px}.section-card{position:relative;isolation:isolate;width:100%;height:max(164px,calc((100svh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 44px - 6.5px)/4 - 13px));border:0;border-radius:30px;padding:0;text-align:left;color:white;background:#061428;overflow:hidden}.card-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1}.card-title-glass,.card-description{position:absolute;left:18px;width:54%;border:1px solid #ffffff2e;border-radius:14px;padding:5px 11px;background:#06162b26;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.card-title-glass{top:18px}.card-title{display:block;font-size:26px;font-weight:700;line-height:1.18;letter-spacing:-.4px;white-space:nowrap}.card-subtitle{display:block;font-size:14px;line-height:1.18;font-weight:600;color:#ffffffdb;margin-top:1px}.card-description{bottom:18px;font-size:12px;line-height:1.25;color:#ffffffd1}.site-footer{padding:28px 24px calc(22px + env(safe-area-inset-bottom));font-size:13px;line-height:1.5;color:#647081}.site-footer b{font-size:18px;color:#0b2138}.site-footer p{margin:8px 0 20px}.site-footer small{display:block;margin-top:20px}.locale{display:flex;align-items:center;justify-content:space-between;gap:15px;color:inherit;font-size:14px}.locale select{max-width:65%;background:transparent;border:1px solid #a2b1c4;border-radius:9px;color:inherit;padding:7px;min-height:40px}.hub{padding:20px 20px 0;flex:1;display:flex;flex-direction:column}.body-text{font-size:17px;line-height:1.35;color:#ffffffdb;margin:0}.instruction{font-size:17px;line-height:1.35;color:#ffffffeb;margin:14px 0 0}.topic-area{flex:1;display:flex;align-items:center;padding:31px 0;min-height:330px}.topics{display:flex;flex-wrap:wrap;justify-content:center;gap:9px 8px;width:100%}.topic{border:1px solid #ffffff38;border-radius:100px;padding:8px 15px;min-height:38px;max-width:100%;font-size:15px;font-weight:500;line-height:1.3;background:rgba(var(--topic),var(--alpha));color:#fffffff5;overflow-wrap:anywhere}.topic:active{filter:brightness(1.25)}.action-bar{padding:16px 20px calc(24px + env(safe-area-inset-bottom));position:sticky;bottom:0;background:linear-gradient(#03142b00,#03142bd9 32%);z-index:2}.native-alert{width:320px;max-width:calc(100% - 48px);max-height:85svh;border:1px solid #ffffff5c;border-radius:34px;background:#d4dfe4c9;color:black;padding:22px 16px 16px;backdrop-filter:blur(30px) saturate(1.4);-webkit-backdrop-filter:blur(30px) saturate(1.4);box-shadow:0 20px 60px #0002;overflow:auto}.native-alert::backdrop{background:#0004}.native-alert h2{font-size:17px;line-height:1.3;font-weight:700;margin:0 13px 20px;white-space:pre-line}.alert-body{font-size:17px;line-height:1.3;white-space:pre-line;overflow-wrap:anywhere}.native-alert .alert-body{margin:0 13px 20px}.alert-actions{display:flex;flex-wrap:wrap;gap:8px}.alert-button{flex:1;min-width:0;border:0;border-radius:28px;background:#13295121;color:#000;min-height:48px;font-size:17px;font-weight:650;padding:10px 12px;line-height:1.2}.alert-button.full{flex:1 0 100%}.alert-button.danger{color:#be2030}.topic-sheet{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,480px);max-width:none;max-height:90svh;padding:28px 20px calc(24px + env(safe-area-inset-bottom));background:#163859df;border:1px solid #ffffff38;border-radius:28px 28px 0 0;color:#fff;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);overflow:auto}.topic-sheet::backdrop{background:#03132455}.topic-sheet h2{font-size:24px;font-weight:600;margin:0 35px 24px 0}.sheet-close{position:absolute;right:10px;top:10px;background:#ffffff16;border:0;border-radius:50%;width:40px;height:40px;font-size:28px}.questions{display:grid;gap:10px;margin-bottom:20px}.question{font-size:17px;text-align:left;line-height:1.4;padding:16px;border-radius:15px;border:1px solid #ffffff38;background:#308ced2e;color:white;min-height:62px}.glass{background:#edf2f6b8;border-radius:21px;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);color:#000}.hands-page{padding:7px 7px calc(20px + env(safe-area-inset-bottom))}.hands-card{min-height:calc(75svh - 30px);padding:27px 20px 34px;display:flex;flex-direction:column}.hands-card h2{font-size:17px;line-height:1.3;font-weight:650;margin:0 0 28px}.hands-info{font-size:14px;line-height:1.3;margin:0 0 4px}.hands-card .text-link{font-size:14px;align-self:flex-start;min-height:24px}.security{font-size:11px;line-height:1.3;color:#7b8289;margin:26px 0 18px}.hand-options{display:flex;gap:28px;justify-content:space-between;align-items:center;flex:1;padding:30px 3px}.hand-option{display:flex;flex-direction:column;align-items:center;width:42%}.hand-image{position:relative;padding:0;border:0;background:transparent;width:100%;max-width:130px}.hand-image img{width:100%;height:135px;object-fit:contain}.hand-option h3{font-size:16px;font-weight:600;margin:10px 0 17px;text-align:center}.scan-button{background:var(--blue);border:0;border-radius:12px;padding:10px 16px;color:white;font-size:16px;font-weight:700;min-height:40px;width:100%}.completion{position:absolute;bottom:20px;right:25px;font-size:30px;color:#fff;background:#34c759;border-radius:50%;width:38px;height:38px;text-align:center}.consent-card{margin-top:7px;padding:20px 21px 16px;font-size:11px;line-height:1.3}.consent-card label{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:25px}.consent-card p{white-space:pre-line}.consent-card input[role=switch]{appearance:none;-webkit-appearance:none;width:52px;height:30px;min-width:52px;border-radius:30px;background:#8ca2ad;position:relative;margin:0;cursor:pointer}.consent-card input[role=switch]:checked{background:#007aff}.consent-card input[role=switch]::after{content:"";position:absolute;top:2px;left:2px;width:26px;height:26px;border-radius:50%;background:white;box-shadow:0 1px 3px #0002}.consent-card input[role=switch]:checked::after{left:24px}.camera-screen{height:100svh;min-height:600px;background:#101317}.camera-screen .screen-header{background:transparent;border:0;backdrop-filter:none;-webkit-backdrop-filter:none;margin-top:12px}.camera-screen .screen-header h1{font-size:20px}.camera-screen video#live-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transform-origin:center}.camera-shade{position:absolute;inset:0;background:linear-gradient(#0004,#0001 45%,#000b);z-index:-1;pointer-events:none}.scan-progress{height:6px;margin:0 15% 30px;background:#ffffff55;border-radius:10px;overflow:hidden}.scan-progress span{height:100%;display:block;background:#00a5ff}.scan-instruction{margin:8px 13px 10px;padding:12px 16px;text-align:center;border-radius:15px;background:#0786ecb0;font-size:17px;line-height:1.25;font-weight:600}.aim-area{position:relative;flex:1;min-height:220px;margin:8px 16px;display:grid;place-items:center;overflow:hidden}.aim{position:absolute;width:100%;height:100%;object-fit:contain;opacity:.85}.wide-aim .aim{object-fit:contain}.camera-empty{position:relative;text-align:center;border-radius:15px;background:#03101fb8;padding:14px 15px;max-width:85%;font-size:14px}.camera-bottom{padding:8px 25px calc(20px + env(safe-area-inset-bottom));z-index:2}.zoom-label{display:flex;justify-content:space-between;font-size:13px;color:#d6e0e8}.camera-bottom input{width:100%;accent-color:#0a84ff;margin:10px 0 14px;height:28px}.camera-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.camera-actions .pill{font-size:15px}.tips-page{padding:20px;color:#111;background:#e8edf3;flex:1}.tips-page h2{font-size:20px;line-height:1.25;margin:0 0 18px}.tips-image{width:100%;max-height:320px;object-fit:contain}.tips-page p{font-size:16px;line-height:1.4;white-space:pre-line}.tips-page video{width:100%;margin-top:15px}.tips-page summary{color:#007aff;cursor:pointer;font-size:17px;padding:12px 0}.tips-page>.pill{display:block;margin:20px auto 0}.confirm-screen{background:#000;min-height:100svh}.confirm-header{display:flex;justify-content:space-between;gap:10px;padding:calc(16px + env(safe-area-inset-top)) 24px 0}.confirm-header .pill{flex:1;font-size:16px;max-width:150px}.confirm-message{font-size:18px;line-height:1.3;font-weight:600;text-align:center;margin:28px 20px 20px}.result-placeholder{border:1px dashed #ffffff38;margin:20px;min-height:55svh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#a8adb5;padding:20px;gap:10px;font-size:15px}.result-placeholder span{font-size:12px;color:#bbb}.patterns{display:flex;gap:8px;padding:8px}.patterns button{flex:1;min-width:0;padding:4px;border:2px solid transparent;border-radius:10px;background:#111}.patterns button[aria-pressed=true]{border-color:#007aff;background:#153657}.patterns img{width:100%;height:65px;object-fit:contain}.composer{padding:65px 16px 28px}.composer label{display:block;font-size:13px;font-weight:400;color:#b2b2b2;line-height:1.4;text-align:center;white-space:pre-line}.composer textarea{display:block;width:100%;min-height:200px;resize:vertical;border:0;background:transparent;color:white;font-size:20px;line-height:1.4;margin:19px 0 10px;padding:8px;caret-color:white}.composer .primary{min-height:57px;font-weight:600}.account-page{padding:10px;display:flex;flex-direction:column;gap:10px;flex:1}.account-profile{display:flex;align-items:center;gap:22px;padding:20px;min-height:160px}.avatar{width:120px;height:120px;object-fit:contain;border-radius:50%}.account-profile p{font-size:17px;line-height:1.3;margin:0 0 10px}.account-profile small{display:block;font-size:11px;overflow-wrap:anywhere;margin-bottom:10px}.account-profile .text-link{font-size:17px;font-weight:400}.story-card{border:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;min-height:230px;padding:25px;font-size:23px;font-weight:400}.story-card img{width:100px;height:100px;object-fit:contain}.account-action{background:white;color:var(--blue);border:0;border-radius:15px;min-height:57px;font-size:20px;padding:15px;margin-top:30px}.account-language{padding:18px;margin-top:10px}.manage{margin:12px;padding:22px}.manage p{font-size:15px;line-height:1.4}.manage label{display:block;font-size:14px;margin:20px 0}.manage input{display:block;width:100%;min-height:44px;border:1px solid #abb7c6;border-radius:10px;background:#fffc;padding:10px;margin-top:7px;color:#000;max-width:100%}.empty-state{padding:40px 25px;display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:25px;text-align:center;font-size:17px;line-height:1.4;min-height:60svh}.empty-state>img{width:110px}.life-graph svg{width:120px;height:120px;color:#b5d6f7}.review-tools{max-width:480px;margin:15px auto;padding:14px;color:#b8c4d2;background:#0c1b2c;border:1px solid #314154;border-radius:12px;font-size:12px;line-height:1.4}.review-tools summary{cursor:pointer}.review-tools label{display:block;margin:10px 0}.review-tools select,.review-tools button{color:#ddd;background:#1d3048;border:1px solid #526174;border-radius:6px;padding:6px;margin:3px;max-width:100%}.review-tools p{font-size:12px}.review-tools button{min-height:32px}@media(min-width:600px){body{padding:28px 0;background:radial-gradient(ellipse at top,#122239,#030b16 65%)}.device{min-height:calc(100svh - 56px);border-radius:28px;border:1px solid #ffffff1a;box-shadow:0 35px 110px #0006}.section-card{height:min(230px,max(164px,calc((100svh - 100px)/4 - 13px)))}.camera-screen{height:calc(100svh - 56px)}.native-alert{max-width:calc(100% - 48px)}}@media(min-width:1060px){.review-tools{position:fixed;top:28px;right:20px;width:235px;max-height:90svh;overflow:auto}}@media(max-width:350px){.card-subtitle{font-size:12px}.card-description{font-size:11px}.screen-header h1{font-size:19px}.round{width:32px}.account-profile{gap:15px;padding:15px}.avatar{width:95px;height:95px}.hand-options{gap:20px}.native-alert{max-width:calc(100% - 32px);padding:20px 12px 12px}.native-alert .alert-body{margin-inline:10px;font-size:16px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.patterns button span{display:block;color:#ddd;font-size:10px;line-height:1.15;margin-top:4px;overflow-wrap:anywhere}
.tip-reference{display:block;width:100%;max-height:60svh;object-fit:contain;margin:20px auto}
.camera-bottom input[type=range]{appearance:none;-webkit-appearance:none;background:transparent;cursor:pointer;height:40px;margin:3px 0}.camera-bottom input[type=range]::-webkit-slider-runnable-track{height:5px;border-radius:5px;background:#a8b2bf}.camera-bottom input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:28px;height:28px;border-radius:50%;background:#0a84ff;border:2px solid #dcecff;margin-top:-11.5px;box-shadow:0 2px 6px #0006}.camera-bottom input[type=range]::-moz-range-track{height:5px;border-radius:5px;background:#a8b2bf}.camera-bottom input[type=range]::-moz-range-thumb{width:25px;height:25px;border-radius:50%;background:#0a84ff;border:2px solid #dcecff}.zoom-endpoints{display:flex;justify-content:space-between;color:#c0cedd;font-size:11px;margin:0 0 15px}
@media(orientation:landscape) and (max-height:600px){body:has(.camera-screen){padding:0}.camera-screen{height:100svh;min-height:320px;max-width:none;border-radius:0}.camera-screen .screen-header{height:44px;margin-top:0;padding:4px 15px}.camera-screen .scan-progress{margin-bottom:4px}.camera-screen .scan-instruction{font-size:14px;padding:7px;margin-top:4px;margin-bottom:4px}.camera-screen .aim-area{min-height:60px;margin:0 20px}.camera-screen .camera-bottom{padding:0 30px 6px}.camera-screen .camera-bottom input{height:28px;margin:0}.camera-screen .zoom-endpoints{margin-bottom:4px}.camera-screen .camera-actions .pill{min-height:30px;padding:4px 12px;font-size:14px}.camera-screen .camera-empty{padding:6px;font-size:12px}.camera-screen .camera-empty p{margin:0 0 4px}}
.camera-bottom{position:relative}.zoom-label{padding-right:0}.zoom-reset{display:block;margin:5px auto -2px;border:1px solid #ffffff38;border-radius:20px;background:#071a2b99;color:#c4def8;padding:5px 12px;min-height:32px;font-size:12px}.camera-bottom input[type=range]{margin-top:0}.camera-screen .aim-area{min-height:180px}@media(orientation:landscape) and (max-height:600px){.camera-screen .aim-area{min-height:60px}.camera-screen .zoom-reset{position:absolute;right:100px;top:-2px;min-height:24px;padding:2px 8px;margin:0;font-size:11px}}

.confirm-header [data-action=confirm]:disabled{visibility:hidden}
/* Native-style icon geometry: glyph metrics must not move the symbol. */
.ui-icon{display:block;width:24px;height:24px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.round{display:flex;align-items:center;justify-content:center;flex:0 0 32px;padding:0;overflow:hidden;font-size:0;line-height:0}
.round svg,.round .ui-icon{width:23px;height:23px;flex:0 0 23px}.round:has([data-unused]){padding:0}
.security .ui-icon{display:inline-block;width:12px;height:12px;vertical-align:-1px;margin-right:3px}
.landing-nav{height:44px;margin-bottom:6.5px}.nav-pill{padding:0 13px;gap:9px;font-size:14px}.nav-circle .ui-icon{width:22px;height:22px}
.section-cards{gap:13px}.section-card{height:max(136px,calc((100svh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 69px)/4.15 - 13px));min-height:0}
.site-footer{padding:18px 20px 16px}.site-footer>b{font-size:19px}.site-footer p{font-size:13px;line-height:1.45;margin:8px 0 15px}.site-footer>small{display:block;margin-top:17px;font-size:10px;color:#6c7b8e}
.footer-benefits{display:flex;gap:6px;color:#ab8137}.footer-benefits span{display:flex;flex:1;align-items:center;justify-content:center;gap:4px;padding:7px 4px;background:linear-gradient(145deg,#fffcf4,#f7eedc);border:1px solid #d8c6a2;border-radius:9px;font-size:10px;text-align:center}.footer-benefits .ui-icon{width:15px;height:15px}
#aim-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}.camera-screen #live-video{z-index:0}.camera-screen .aim{visibility:hidden;opacity:1}.camera-screen .screen-header{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;border:0;z-index:3}.camera-screen .aim-area,.camera-screen .scan-progress,.camera-screen .scan-instruction,.camera-screen .camera-bottom{position:relative;z-index:2}.camera-screen .aim-area{overflow:visible}.camera-empty{z-index:3}.camera-screen .scan-instruction{font-weight:600}
.video-dialog{border:0;padding:0;width:min(480px,100vw);max-width:100vw;max-height:100dvh;height:100dvh;background:#000;color:white;border-radius:0;overflow:auto}.video-dialog header{height:58px;display:flex;gap:16px;align-items:center;padding:10px 16px}.video-dialog h2{font-size:17px}.video-dialog video{display:block;width:100%;height:calc(100dvh - 140px);object-fit:contain;background:#000}.video-dialog>.primary{width:calc(100% - 32px);margin:8px 16px 16px}.watch-example{margin:0 0 16px}.tips-page{display:flex;flex-direction:column}.tips-page .watch-example{order:-1}
.hands-explanation{padding:12px 7px 20px;color:#000}.explanation-card{overflow:hidden;margin-bottom:7px;border-radius:22px;padding:0 20px 28px;background:#e2e9efb8}.explanation-card header{position:relative;background:#ffffff36;margin:0 -20px;padding:12px 45px;min-height:46px}.explanation-card h2{text-align:center;margin:0;font-size:20px}.explanation-card header .round{position:absolute;left:8px;top:7px;box-shadow:0 2px 5px #0003}.explanation-hands{display:flex;justify-content:center;gap:0;margin:28px 0 30px}.explanation-hands img{height:140px;width:auto;max-width:48%;object-fit:contain}.explanation-card p{font-size:17px;line-height:1.25;white-space:pre-line;margin:0 0 22px}.chat-history{flex:1;min-height:70svh}.history-row{width:calc(100% - 32px);margin:8px 16px;border:1px solid #fff2;border-radius:16px;padding:18px 16px;background:#ffffff12;text-align:left;display:flex;justify-content:space-between;gap:15px;font-size:17px}
.life-screen{background:radial-gradient(ellipse at 55% 60%,#197cb0aa,transparent 46%),linear-gradient(#001427,#004362 50%,#386d7a);color:white}.life-map{padding:10px 15px 25px}.life-insights{position:relative;border:1px solid #abd8ff33;border-radius:22px;background:#43bdff18;overflow:hidden}.life-locked{filter:blur(5px);pointer-events:none}.life-year-card{height:128px;padding:16px;position:relative;border:1px solid #abd8ff22;border-radius:20px}.life-year-card h2{margin:0 0 12px;font-size:22px}.life-year-card>span{position:absolute;right:16px;top:20px;color:#8cffa5;font-size:13px}.life-year-card p{margin:0;font-size:16px}.life-why{margin-top:10px;height:46px;padding:12px 16px;color:#8cffa5;background:#43bdff18;border:1px solid #abd8ff33;border-radius:20px;font-size:15px}.life-why span{float:right;color:#fff}.unlock{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;gap:10px;min-width:110px;white-space:nowrap;font-size:17px;padding:5px 14px;min-height:28px}.unlock .ui-icon{width:25px;height:25px}.life-ranges{display:flex;padding:3px;border:1px solid #43bdff47;border-radius:22px;background:#43bdff2b;margin:10px 0 32px;height:38px}.life-ranges button{flex:1;min-width:0;background:none;border:1px solid transparent;border-radius:18px;color:#ffffffae;font-size:15px;font-weight:600}.life-ranges button[aria-pressed=true]{color:white;background:#43bdff61;border-color:#b2d6ff75}.life-chart{height:220px;border:1px solid #badff263;border-radius:17px;background:#e1efff14;position:relative;margin:0 4px 42px;color:#ffffff70;font-size:14px}.axis-years{position:absolute;top:1px;left:50%;transform:translateX(-50%)}.axis-activity{position:absolute;right:1px;top:33%;writing-mode:vertical-rl;transform:rotate(180deg)}.life-map>.primary{min-height:57px;margin:0 4px;width:calc(100% - 8px);font-weight:600}
.answer-page{padding:20px 16px}.answer-question{text-align:right;color:#b9dcff;font-size:17px}.answer-result{position:relative;min-height:280px;padding:20px 0;font-size:20px;line-height:1.5}.answer-skeleton i,.story-slots i{display:block;height:12px;background:#ffffff22;border-radius:8px;margin:18px 0;width:96%}.answer-skeleton i:nth-child(2n){width:80%}.is-locked>.answer-skeleton,.is-locked>p{filter:blur(8px);user-select:none}.is-locked>.unlock{z-index:1}.paywall-screen{background:radial-gradient(circle at 0 30%,#67adff21,transparent 50%),radial-gradient(circle at 100% 0,#58d66f19,transparent 50%),#000}.paywall-chooser{padding:12px 16px 36px;text-align:center}.paywall-chooser>small{font-size:12px;letter-spacing:2px;color:#ffffff9c}.paywall-chooser h1{font-size:34px;line-height:1.1;margin:10px 0}.paywall-chooser>p{font-size:17px;line-height:1.4;color:#ffffffbd;margin:10px 0 36px}.access-card{width:100%;display:flex;align-items:center;text-align:left;gap:14px;border:1px solid #67adff55;border-radius:24px;background:#67adff1f;margin:14px 0;padding:22px 18px;color:#fff}.access-card>svg{color:#67adff;width:32px;height:32px}.access-card strong{font-size:22px}.access-card p{font-size:15px;line-height:1.4;margin:9px 0}.access-card small{color:#ffffffac;font-size:13px}.access-card.all{background:#58d66f1f;border-color:#58d66f55}.access-card.all>svg{color:#58d66f}.purchase-screen{background:#071427 url('assets/bgGradientPlan0.png') center/cover}.purchase-page{padding:20px;text-align:center}.purchase-art{height:170px;display:grid;place-items:center}.purchase-art svg{width:120px;height:120px;color:#bfe6ff}.purchase-periods{display:flex;gap:8px}.purchase-periods button{flex:1;background:#ffffff15;border:1px solid #fff3;border-radius:14px;padding:12px 4px;font-size:14px}.purchase-periods button[aria-pressed=true]{border-color:#3db6ff;background:#3db6ff33}.purchase-periods strong{display:block;margin-top:15px;font-size:24px}.purchase-note{font-size:13px;color:#c5d4df;line-height:1.4}.purchase-links{display:flex;justify-content:center;gap:20px;margin-top:25px;font-size:12px}.story-screen{background:#020e21 url('assets/bgStarSky.jpg') center/cover}.story-progress{display:flex;gap:4px;padding:12px 15px 0}.story-progress span{height:3px;background:#fff4;flex:1;border-radius:2px}.story-progress span.active{background:#fff}.story-page{text-align:center;padding:35px 25px;flex:1}.story-avatar{width:115px;height:115px;border-radius:50%;margin:20px}.story-page h2{font-size:26px}.story-page p{font-size:17px;line-height:1.5}.story-navigation{display:flex;justify-content:space-between;margin-top:50px}.story-slots{margin-top:35px}.story-slots i{height:35px;filter:blur(3px)}
@media(min-width:600px){.section-card{height:max(136px,calc((100svh - 125px)/4.15 - 13px))}}
@media(max-height:700px){.section-card{height:136px}.card-title{font-size:22px}.card-description{font-size:11px}.life-chart{height:180px}.explanation-card p{font-size:16px}}

/* Three native-sized AI sections, stacked in the original web menu order. */
.section-cards{display:grid;grid-template-columns:minmax(0,1fr);gap:13px;padding:0 12px;overflow:visible;scroll-snap-type:none}.section-card{width:100%;min-width:0}.section-card:focus-visible{outline-offset:-4px}.site-footer{margin-top:12px}

.probe-panel{padding:8px;border:1px solid #3aa5c6;border-radius:8px;margin-bottom:12px}.probe-panel p{line-height:1.45}.probe-panel canvas{width:150px;height:200px;max-width:100%;background:#000}.probe-panel small{display:block;overflow-wrap:anywhere}#probe-status{color:#c5ffe2;min-height:35px}

.probe-camera-state{position:relative;z-index:3;text-align:center;font-size:12px;margin:4px 14px;background:#001c29cc;border-radius:8px;padding:6px;color:#bfffe6}.lab-launch{margin:0 0 14px;font-size:17px;padding:12px}

/* AimView fills the camera; controls overlay it and never participate in ROI layout. */
.device.camera-screen{height:100dvh;min-height:0;display:block}
.camera-screen .aim-area{position:absolute;inset:0;margin:0;min-height:0;z-index:2;pointer-events:none}
.camera-screen .aim-area .camera-empty{pointer-events:auto}
.camera-screen .screen-header{position:absolute;top:0;left:0;right:0;margin:0;height:calc(64px + env(safe-area-inset-top));padding-top:calc(10px + env(safe-area-inset-top))}
.camera-screen .scan-progress{position:absolute;top:calc(76px + env(safe-area-inset-top));left:15%;right:15%;margin:0;height:6px}
.camera-screen .scan-instruction{position:absolute;top:calc(110px + env(safe-area-inset-top));left:13px;right:13px;margin:0;padding:12px 14px;pointer-events:none}
.camera-screen .camera-bottom{position:absolute;bottom:calc(12px + env(safe-area-inset-bottom));left:16px;right:16px;margin:0;padding:0;z-index:4;display:grid;grid-template-columns:1fr minmax(0,360px) 1fr;gap:6px 0}
.camera-screen .zoom-panel{grid-column:2;position:relative;height:92px;border:1px solid #ffffff38;border-radius:14px;background:#101010d1;padding:8px 14px;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.camera-screen .zoom-label{display:flex;justify-content:flex-start;gap:5px;font-size:13px;line-height:28px;padding:0 102px 0 0;white-space:nowrap}
.camera-screen .zoom-reset{position:absolute;right:14px;top:8px;margin:0;width:96px;height:32px;min-height:32px;padding:4px 8px;background:#007aff1f;color:#53a4ff;border:0;border-radius:16px;font-size:13px}
.camera-screen .zoom-panel input[type=range]{position:absolute;left:48px;bottom:8px;width:calc(100% - 96px);height:40px;margin:0}
.camera-screen .zoom-endpoints{position:absolute;left:14px;right:14px;bottom:17px;display:flex;justify-content:space-between;pointer-events:none;margin:0;font-size:13px}
.camera-screen .camera-actions{grid-column:1/-1;display:flex;justify-content:center;gap:8px;margin:0}
.camera-screen .camera-actions .pill{min-height:34px;font-size:17px;padding:5px 17px}
.camera-screen .probe-camera-state{position:absolute;left:16px;right:16px;bottom:calc(157px + env(safe-area-inset-bottom));margin:0;padding:3px 7px;min-height:0;font-size:10px;line-height:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}
.camera-screen .torch-button{width:32px;height:32px;padding:6px;color:#000;background:#eee}
.camera-screen .torch-button[aria-pressed=true]{background:#ffd75c}
.camera-screen .torch-button[data-state=requested]{background:#ffe9a1}
.camera-screen .torch-button:disabled{opacity:.65}
@media(min-width:600px){.device.camera-screen{height:calc(100dvh - 56px)}}
@media(orientation:landscape) and (max-height:600px){.device.camera-screen{height:100dvh;max-width:none}.camera-screen .screen-header{height:44px;padding:4px 15px}.camera-screen .scan-progress{top:48px}.camera-screen .scan-instruction{top:60px;left:25%;right:25%;font-size:12px;padding:6px}.camera-screen .camera-bottom{left:auto;right:8px;width:220px;bottom:8px;display:flex;flex-direction:column}.camera-screen .zoom-panel{width:220px;flex:none}.camera-screen .probe-camera-state{left:8px;right:auto;max-width:35%;bottom:8px;font-size:9px}.camera-screen .camera-actions .pill{font-size:13px;padding:4px 8px}}

/* HandOutputImageView: even-odd outside mask, continuous camera visible inside. */
#contour-shade{position:absolute;inset:0;z-index:1;pointer-events:none;background:rgba(0,0,0,.7);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);mask-size:100% 100%;-webkit-mask-size:100% 100%;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-mode:alpha}

.camera-screen .scan-instruction[data-valid=true]{background:rgba(52,199,89,.6)}

/* Camera chrome is raised; the aim keeps clear margins independent of zoom visibility. */
.camera-screen .scan-progress{top:calc(64px + env(safe-area-inset-top))}
.camera-screen .scan-instruction{top:calc(88px + env(safe-area-inset-top))}
@media(orientation:landscape) and (max-height:600px){.camera-screen .scan-progress{top:48px}.camera-screen .scan-instruction{top:60px}}
@keyframes scan-example-enter{from{transform:translateY(100%);opacity:.7}to{transform:translateY(0);opacity:1}}
.video-dialog[open]{animation:scan-example-enter .28s cubic-bezier(.2,.75,.3,1) both}
@media(prefers-reduced-motion:reduce){.video-dialog[open]{animation:none}}

.camera-screen .scan-instruction{height:64px;display:flex;align-items:center;justify-content:center;font-size:16px;line-height:20px;padding:10px 12px;overflow:hidden}
@media(orientation:landscape) and (max-height:600px){.camera-screen .scan-instruction{height:44px;font-size:12px;line-height:16px;padding:6px}}

/* Preparation is an overlay; it never changes camera ROI or starts recognition early. */
#scan-countdown{position:absolute;z-index:3;left:50%;top:50%;transform:translate(-50%,-50%);font-size:clamp(90px,42vw,210px);font-weight:800;line-height:1;color:rgba(0,145,255,.9);text-shadow:0 2px 18px rgba(0,0,0,.2);pointer-events:none}

/* Keep the primary action visible while adapting the native hub to browser chrome. */
.device[data-view=hub]{height:100dvh;min-height:0;overflow:hidden}
.device[data-view=hub] .hub{min-height:0;overflow-y:auto;overscroll-behavior-y:contain;padding:18px 20px 0}
.device[data-view=hub] .topic-area{min-height:0;flex:1 0 auto;padding:24px 0}
.device[data-view=hub] .action-bar{position:relative;flex:none;padding:12px 20px calc(16px + env(safe-area-inset-bottom));margin:0}
.device[data-view=hub][data-density="1"] .topic-area{padding:12px 0}
.device[data-view=hub][data-density="2"] .topic-area,.device[data-view=hub][data-density="3"] .topic-area{padding:10px 0}
.device[data-view=hub][data-density="2"] .body-text,.device[data-view=hub][data-density="2"] .instruction{font-size:16px;line-height:1.3}
.device[data-view=hub][data-density="2"] .topics{gap:7px 6px}
.device[data-view=hub][data-density="2"] .topic{padding:6px 12px;min-height:36px;font-size:14px}
.device[data-view=hub][data-density="3"] .body-text,.device[data-view=hub][data-density="3"] .instruction{font-size:15px;line-height:1.3}
.device[data-view=hub][data-density="3"] .instruction{margin-top:10px}
.device[data-view=hub][data-density="3"] .topics{gap:6px}
.device[data-view=hub][data-density="3"] .topic{padding:5px 10px;min-height:34px;font-size:14px}
.legal-link{display:inline-block;text-decoration:none}
@media(min-width:600px){.device[data-view=hub]{height:calc(100dvh - 56px)}}

/* v10: real selected Life photograph. Keep controls visible on short viewports. */
.confirm-screen:has(#life-confirmation){height:100dvh;min-height:0;display:flex;flex-direction:column;padding:12px;overflow:hidden}
.confirm-screen:has(#life-confirmation) .confirm-header{flex:none;display:flex;justify-content:space-between;gap:12px}
.confirm-screen:has(#life-confirmation) .confirm-message{flex:none;font-size:16px;line-height:1.3;margin:12px 0}
#life-confirmation{display:block;width:100%;min-height:0;flex:1;object-fit:contain;align-self:center}
@media(min-width:600px){.confirm-screen:has(#life-confirmation){height:calc(100dvh - 56px)}}

/* Shared scanner presentation rules; do not animate during per-frame redraws. */
@keyframes scanner-sheet-enter{from{transform:translateY(100%);opacity:.8}to{transform:translateY(0);opacity:1}}
@keyframes scanner-alert-enter{from{transform:scale(.94);opacity:0}to{transform:scale(1);opacity:1}}
.device.sheet-enter{animation:scanner-sheet-enter .32s cubic-bezier(.2,.75,.3,1) both}
.native-alert[open]{animation:scanner-alert-enter .18s ease-out both}
@media(prefers-reduced-motion:reduce){.device.sheet-enter,.native-alert[open]{animation:none}}
/* v12: consistent presentation, no default-action highlight, matching video frame. */
.device.sheet-enter{animation-duration:.38s}
.native-alert[open]{animation-duration:.28s}
.native-alert:focus{outline:none}
.camera-screen #processed-frame{position:absolute;z-index:1;pointer-events:none;object-fit:fill}
.camera-screen #aim-overlay{z-index:2}
.probe-camera-state{display:none!important}
.confirm-screen .patterns{flex:none;display:flex;gap:4px;justify-content:center}
.confirm-screen .patterns button{min-width:0;flex:1;padding:5px 2px;font-size:11px}
.confirm-screen .patterns img{max-height:64px;object-fit:contain;width:100%}

/* v13: one explicit projection drives both the visible camera and the input crop. */
.camera-screen video#live-video{inset:auto;object-fit:fill;opacity:0;pointer-events:none;transform:none!important}
.camera-screen #camera-preview{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}

/* v14: long native instructions scroll independently of always-visible actions. */
.native-alert[open]{display:flex;flex-direction:column;overflow:hidden;max-height:calc(100dvh - 32px);animation-duration:.32s}
.native-alert h2,.native-alert .alert-actions{flex:none}
.native-alert .alert-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;margin-bottom:14px}
.native-alert .alert-actions{padding-top:4px}
.native-alert .alert-button{font-size:16px;padding:10px 8px}
.device.sheet-enter{animation-duration:.52s}
.hand-options{gap:16px;padding-inline:0}
.hand-option{width:46%;min-width:0}
.scan-button{padding:10px 5px;font-size:clamp(12px,3.5vw,16px);overflow-wrap:anywhere}
.completion{left:50%;top:72%;right:auto;bottom:auto;transform:translate(-50%,-50%);display:grid;place-items:center;font-size:29px;line-height:1}
.composer{padding-top:20px;flex:1;display:flex;flex-direction:column}
.composer textarea{flex:1;min-height:140px;max-height:42dvh}
.composer .primary{flex:none;margin-bottom:16px}
.palm-processing{position:absolute;inset:0;z-index:8;background:#03101fe8;backdrop-filter:blur(18px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:32px;text-align:center}
.palm-processing img{width:92px;height:110px;object-fit:contain;filter:brightness(0) invert(1)}
.palm-processing progress{width:70%;accent-color:#0a84ff}
.palm-processing p{font-size:19px;font-weight:600}
@media(max-height:650px){.native-alert{padding:16px 12px 12px}.native-alert h2{margin-bottom:12px}.native-alert .alert-body{font-size:15px}.native-alert .alert-button{min-height:40px;font-size:14px;padding:8px}}
@media(prefers-reduced-motion:reduce){.device.sheet-enter,.native-alert[open]{animation:none}}

/* v15: coordinated sheets, touch focus and keyboard-safe question editor. */
.round,.sheet-close{padding:0;display:flex;align-items:center;justify-content:center}
.round svg,.round .ui-icon,.sheet-close .ui-icon{display:block;flex:none;width:23px;height:23px;margin:0}
.topic-sheet:focus,.video-dialog:focus,#question-input:focus{outline:none;box-shadow:none}
body:not(.keyboard-navigation) button:focus-visible{outline:none}
.topic-sheet[open],.video-dialog[open]{animation:scanner-sheet-enter .64s cubic-bezier(.25,.65,.3,1) both}
.native-alert[open]{animation-duration:.36s}
.alert-scroll-hint{flex:none;text-align:center;font-size:21px;line-height:14px;height:14px;margin:-8px 0 4px;color:#25384c;pointer-events:none}
.alert-body[data-more=true]{-webkit-mask-image:linear-gradient(#000 calc(100% - 18px),transparent);mask-image:linear-gradient(#000 calc(100% - 18px),transparent)}
body.composing{overflow:hidden}
.device[data-view=composer]{position:fixed;top:var(--composer-top,0px);left:0;right:0;height:var(--composer-height,100dvh);min-height:0;margin:0 auto;border-radius:0;overflow:hidden}
.device[data-view=composer] .screen-header{flex:none}
.composer{min-height:0;overflow:hidden;padding:16px 16px max(10px,env(safe-area-inset-bottom));gap:10px}
.composer label{flex:none;max-height:30%;overflow:auto;margin:0;font-size:13px}
.composer textarea{flex:1;min-height:48px;max-height:none;resize:none;margin:0;padding:8px;border:0;border-radius:0;outline:none;box-shadow:none;overflow-y:auto}
.composer .primary{margin:0;min-height:44px;font-size:18px}
@media(prefers-reduced-motion:reduce){.topic-sheet[open],.video-dialog[open],.native-alert[open]{animation:none}}

#dialog{outline:none}

/* v16: native button metrics and asset geometry; entrance remains 640 ms. */
.composer .primary,.action-bar .primary{height:57px;min-height:57px;padding:10px 16px;font-size:20px;font-weight:600;line-height:1.2;display:flex;align-items:center;justify-content:center;border-radius:15px}
.composer .primary[hidden]{display:none}
.secondary{display:flex;align-items:center;justify-content:center}
.round.native-nav{position:relative;background:transparent;overflow:visible}
.round.native-nav img{position:absolute;width:42.667px;height:42.667px;max-width:none;left:50%;top:50%;transform:translate(-50%,calc(-50% + 1.067px));object-fit:contain;pointer-events:none}
.question-examples{padding:30px 16px 20px;overflow:auto;display:flex;flex-direction:column;gap:10px;min-height:0}
.question-examples .question{flex:none;text-align:left;font-size:17px;line-height:1.35;padding:16px}

/* v17: reserve the entire controls panel; the same aim rect drives camera ROI. */
.camera-screen .scan-instruction{height:50px;font-size:16px;line-height:19px;padding:6px 12px}
.camera-screen .zoom-panel{height:78px;background:#101010a8}
.camera-screen .zoom-panel input[type=range]{bottom:0}
.camera-screen .zoom-endpoints{bottom:9px}
.camera-screen .zoom-label{font-size:12px;line-height:24px}
.camera-screen .zoom-reset{height:28px;min-height:28px;top:5px}
@media(orientation:landscape) and (max-height:600px){.camera-screen .scan-instruction{height:44px;font-size:12px;line-height:16px}}
.native-alert .alert-actions.stacked{flex-direction:column}
.native-alert .alert-actions.stacked .alert-button{flex:auto;width:100%;overflow-wrap:anywhere}
.completion{top:62.86%;left:55.33%}
.hand-image[data-side=right] .completion{left:44.67%}
.video-dialog[open]{display:flex;flex-direction:column;overflow:hidden}
.video-dialog header{flex:none}
.video-dialog video{flex:1;min-height:0;height:auto;pointer-events:none}
.video-actions{flex:none;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px 16px max(16px,env(safe-area-inset-bottom))}
.video-actions button{font-size:16px;overflow-wrap:anywhere}
.question-examples{padding:10px 0 20px;gap:0}
.question-examples .example-row{display:flex;align-items:center;gap:12px;border:0;border-radius:0;background:transparent;padding:10px 16px 10px 20px;min-height:68px;font-size:16px;font-weight:400}
.example-row>span:first-child{flex:1;min-width:0}
.discover-label{flex:none;max-width:43%;padding:8px 15px;border-radius:14px;color:#008aff;background:white;font-size:16px;font-weight:600;text-align:center;overflow-wrap:anywhere}
.asking-screen{background:black}
/* v18: horizontal controls changes only; the 78px panel/aim bounds stay fixed. */
.camera-screen .camera-bottom{grid-template-columns:1fr}
.camera-screen .zoom-panel{grid-column:1;width:100%;max-width:none}
.camera-screen .zoom-panel input[type=range]{left:64px;width:calc(100% - 120px)}
.camera-screen .zoom-endpoints{font-variant-numeric:tabular-nums;pointer-events:none}
.camera-screen .zoom-endpoints span{min-width:42px;white-space:nowrap}
.camera-screen .zoom-endpoints span:last-child{text-align:right}
.native-alert h2{margin-bottom:20px}
.eclipse-page{position:relative;flex:1;min-height:420px;background:#000}
#eclipse-progress{position:absolute;inset:0}
.eclipse-scene{position:absolute;inset:0;background:#000;color:white;--disc:238px}
.eclipse-heading{position:absolute;left:20px;right:20px;top:calc(25% - 59.5px);transform:translateY(-50%);text-align:center}
.eclipse-heading h2{display:inline;position:relative;margin:0;font-size:20px;font-weight:700;line-height:23px}
.eclipse-dots{position:absolute;left:100%;top:0;margin-left:1px;white-space:pre}
.eclipse-message{font-size:18px;line-height:22px;color:#ffffffb3;margin:10px 0 0;min-height:44px}
.eclipse-art{position:absolute;left:50%;top:50%;width:261px;height:261px;transform:translate(-50%,-50%)}
.eclipse-glow{position:absolute;inset:0;filter:blur(9px)}
.eclipse-form{position:absolute;left:35.5px;top:35.5px;width:190px;height:190px;animation:eclipse-rotate 2.5s linear infinite reverse}
.eclipse-form img{width:100%;height:100%;animation:eclipse-expand 1.25s linear infinite alternate;--expand:1.428571}
.eclipse-ring{position:absolute;inset:0;width:261px;height:261px;animation:eclipse-expand 1.25s linear infinite alternate;--expand:1.052632}
.eclipse-disc{position:absolute;left:11.5px;top:11.5px;width:238px;height:238px;border-radius:50%;background:black;overflow:hidden;display:grid;place-items:center}
.eclipse-hand{width:100px;height:100px;animation:eclipse-expand 1.25s linear infinite alternate;--expand:1.052632}
.eclipse-check{display:none;position:absolute;inset:0;width:238px;height:238px;background:black}
.eclipse-scene[data-phase=check] .eclipse-check,.eclipse-scene[data-phase=fade] .eclipse-check{display:block}
.eclipse-check path{fill:none;stroke:white;stroke-width:7;stroke-linecap:round;stroke-dasharray:150;stroke-dashoffset:0;animation:eclipse-check .3s ease-out}
.eclipse-footer{position:absolute;left:20px;right:20px;top:calc(75% + 59.5px);transform:translateY(-50%);text-align:center;font-size:13px;line-height:18px;color:#ffffffb3;margin:0}
.eclipse-preview-note{position:absolute;bottom:8px;left:20px;right:20px;text-align:center;color:#888;font-size:10px;line-height:13px}
.saving-screen{background:white;color:#777}
.saving-page{flex:1;min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:50px;padding:30px;text-align:center}
.saving-page h2{font-size:19px}
.saving-hand{width:min(313px,100%);height:175px;object-fit:contain;filter:brightness(0);opacity:.35}
.saving-spinner{width:24px;height:24px;border:2px solid #bbb;border-top-color:#555;border-radius:50%;animation:eclipse-rotate 1s linear infinite}
@keyframes eclipse-rotate{to{transform:rotate(360deg)}}
@keyframes eclipse-expand{to{transform:scale(var(--expand))}}
@keyframes eclipse-check{from{stroke-dashoffset:150}to{stroke-dashoffset:0}}
@media(max-height:550px){.eclipse-page{min-height:360px}.eclipse-art{scale:.8}.eclipse-heading{top:calc(25% - 48px)}.eclipse-footer{top:calc(75% + 40px)}}
@media(prefers-reduced-motion:reduce){.eclipse-art *,.saving-spinner{animation:none!important}}

/* v19: scanner-only portrait guard; no changes to portrait ROI or crop geometry. */
dialog.scan-orientation{position:fixed;inset:0;margin:0;width:100%;height:100%;max-width:none;max-height:none;box-sizing:border-box;border:0;border-radius:0;padding:24px max(24px,env(safe-area-inset-right)) 24px max(24px,env(safe-area-inset-left));background:#061427;color:white;text-align:center;overflow:auto;animation:none;outline:none}
dialog.scan-orientation[open]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px}
dialog.scan-orientation::backdrop{background:#061427}
dialog.scan-orientation svg{width:64px;height:64px;flex:none;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
dialog.scan-orientation h2{font-size:22px;line-height:1.25;margin:0;max-width:560px}
dialog.scan-orientation p{font-size:16px;line-height:1.4;margin:0;max-width:540px;color:#cbd5e3}
dialog.scan-orientation .pill{min-height:44px;margin-top:4px}

/* Start all native Eclipse layers together, including on a cold cache. */
.eclipse-scene[data-assets=loading] .eclipse-art{visibility:hidden}
.eclipse-scene[data-assets=loading] .eclipse-art *{animation-play-state:paused}

/* Card glass samples the same static artwork directly; no deferred backdrop capture. */
.section-card .card-image{z-index:0}
.card-title-glass,.card-description{z-index:1;isolation:isolate;overflow:hidden;backdrop-filter:none;-webkit-backdrop-filter:none}
.card-glass-background{position:absolute;inset:0;overflow:hidden;border-radius:inherit;z-index:-1;pointer-events:none}
.card-glass-texture{position:absolute;display:block;background-size:cover;background-position:center;filter:blur(10px)}
.card-glass-background::after{content:"";position:absolute;inset:0;background:#06162b26}

.home-shortcuts{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.home-shortcuts button{display:flex;align-items:center;justify-content:center;gap:10px;flex:1;min-width:150px;font-size:15px}.home-shortcuts img{width:26px;height:26px;object-fit:contain}.prediction-picture{display:block;width:100%;height:auto;border-radius:20px;margin:22px auto;object-fit:contain}.chat-history .history-row{text-align:left}

/* Native history: 15pt margins, 5pt row gaps, 20pt question and 18pt information asset. */
.chat-history{padding-top:35px}.chat-history .history-row{width:calc(100% - 30px);margin:5px 15px;padding:14px 16px;min-height:62px;font-size:20px;line-height:1.25;align-items:center}.history-row>span{flex:1}.history-row img{width:18px;height:18px;object-fit:contain}.history-spinner{display:block;margin:35px auto}.prediction-picture.awaiting-reveal{height:0;margin:0;opacity:0;overflow:hidden}

.chat-history .history-row{border-radius:15px;border:.5px solid #ffffff38;background:#308ced2e}.device[data-theme=relationship] .history-row{background:#945ce82e}.device[data-theme=profession] .history-row{background:#1fa3a62e}

.device[data-view=answer],.device[data-view=chatHistory]{height:100dvh;min-height:0}.device[data-view=answer] .screen-header,.device[data-view=chatHistory] .screen-header{flex:none}.answer-page,.chat-history{flex:1;min-height:0;overflow-y:auto;overscroll-behavior-y:contain}.history-spinner{position:relative;left:auto;top:auto}@media(min-width:600px){.device[data-view=answer],.device[data-view=chatHistory]{height:calc(100dvh - 56px)}}

/* UIAlertController parity: a centered explanation and two stacked actions. */
.native-alert.distinct-alert{width:270px;padding:20px 0 0;border:0;border-radius:14px;background:rgba(242,242,242,.94);text-align:center;box-shadow:0 12px 40px #0002}
.native-alert.distinct-alert h2{margin:0 16px 8px;font-size:17px;line-height:1.3;font-weight:600}
.native-alert.distinct-alert .alert-body{margin:0 16px 20px;font-size:13px;line-height:1.35;font-weight:400}
.native-alert.distinct-alert .alert-actions{gap:0;padding:0;display:block}
.native-alert.distinct-alert .alert-button{display:block;width:100%;min-height:44px;padding:10px 8px;border-radius:0;border-top:1px solid #3c3c432e;background:transparent;color:#007aff;font-size:17px;line-height:1.3;font-weight:400;overflow-wrap:anywhere}
.native-alert.distinct-alert .distinct-new{font-weight:600}
.native-alert.distinct-alert .alert-button:active{background:#0000000d}
