@font-face{font-family:Manrope;src:url('assets/manrope.ttf') format('truetype');font-weight:200 800;font-display:swap}@font-face{font-family:Cormorant;src:url('assets/cormorant-garamond.ttf') format('truetype');font-weight:300 700;font-display:swap}
:root{color-scheme:dark;--bg:#062e32;--fg:#f4edda;--muted:#b1ccc2;--accent:#e6d4a6;--button-ink:#173e39;--line:#ffffff29;--panel:#0c393c;--title-font:Manrope;--title-weight:600}html[data-theme=crystal]{color-scheme:light;--bg:#f4f0e5;--fg:#173b3e;--muted:#526b67;--accent:#163f43;--button-ink:#fbf6e7;--line:#153e3929;--panel:#fffcf4;--title-font:Cormorant;--title-weight:500}html[data-theme=red]{--bg:#a3313b;--fg:#fff3dd;--muted:#f3d8c5;--accent:#f2deae;--button-ink:#6d2431;--line:#ffeadc40;--panel:#8a2934;--title-weight:700}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--fg);font-family:Manrope,Arial,sans-serif;transition:background-color .4s,color .3s;overflow-x:hidden}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{font:inherit;color:inherit;cursor:pointer;border:0}button:disabled{cursor:wait}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:5px}[hidden]{display:none!important}svg{display:block}p{margin:0}button svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}
.shell{position:relative;z-index:1;max-width:1536px;padding:0 clamp(22px,4vw,76px);margin:auto;min-height:100svh;display:flex;flex-direction:column}.site-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 0 23px;border-bottom:1px solid var(--line)}.brand{display:block;line-height:0}.brand img{width:145px;height:auto}.project-label{font-size:11px;letter-spacing:.08em;color:var(--muted)}.icon-button{width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:transparent;display:grid;place-items:center;font-size:18px;flex-shrink:0}.directions{display:flex;align-items:center;gap:36px;padding-top:24px;position:relative;z-index:2}.directions-label{font-size:10px;color:var(--muted);letter-spacing:.12em;text-transform:uppercase;white-space:nowrap}.theme-switch{display:flex;gap:8px;flex:1;max-width:800px}.theme-option{display:flex;align-items:center;gap:12px;position:relative;min-height:64px;border:1px solid var(--line);border-radius:12px;padding:10px 14px;background:transparent;text-align:left;flex:1;transition:background .2s,border-color .2s}.theme-option[aria-pressed=true]{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 7%,transparent)}.theme-option:hover{background:color-mix(in srgb,var(--accent) 9%,transparent)}.theme-option small{display:block;font-size:9px;color:var(--muted);line-height:1.4}.theme-option strong{font-size:12px;font-weight:600;white-space:nowrap}.swatch{height:31px;width:31px;border-radius:50%;border:1px solid #ffffff50;flex-shrink:0}.classic-swatch{background:linear-gradient(135deg,#174a4e 60%,#e6d4a6 61%)}.crystal-swatch{background:linear-gradient(135deg,#f4f0e5 55%,#c0d9dc 56%);border-color:#9aafa0}.red-swatch{background:linear-gradient(135deg,#a3313b 60%,#f2deae 61%)}.selected-mark{font-size:13px;margin-left:auto;opacity:0}.theme-option[aria-pressed=true] .selected-mark{opacity:1}
.experience{flex:1;display:grid;grid-template-columns:minmax(290px,.88fr) minmax(450px,1.12fr);grid-template-rows:1fr auto;column-gap:clamp(30px,4vw,88px);align-items:center;max-width:1280px;width:100%;margin:15px auto 24px}.copy-panel{grid-column:1;grid-row:1;align-self:end;padding-top:40px;padding-bottom:28px;z-index:1}.eyebrow{font-size:9px;letter-spacing:.2em;font-weight:600;line-height:1.7;color:var(--muted);margin:0 0 21px}h1{font-family:var(--title-font);font-weight:var(--title-weight);font-size:clamp(38px,4.1vw,64px);line-height:1.09;letter-spacing:-.055em;margin:0 0 22px;max-width:660px}html[data-theme=crystal] h1{font-size:clamp(50px,5.4vw,82px);line-height:.94;letter-spacing:-.035em}.intro-copy{font-size:15px;line-height:1.75;color:var(--muted);max-width:360px}.fortune-copy p{font-size:clamp(17px,1.6vw,22px);line-height:1.6;max-width:440px}.fortune-signature{display:block;margin-top:20px;font-size:11px;color:var(--muted)}.stage-panel{grid-column:2;grid-row:1/3;align-self:center;min-width:0}.stage{width:100%;max-width:650px;aspect-ratio:600/650;position:relative;margin:auto;user-select:none;-webkit-user-select:none}.stage canvas{display:block;position:absolute;width:100%;height:100%;inset:0;touch-action:none;cursor:grab}.stage canvas:active{cursor:grabbing}.gesture-cue{position:absolute;left:33%;width:34%;top:75%;text-align:center;color:var(--accent);pointer-events:none;transition:opacity .3s}.gesture-cue svg{width:100%;height:38px;fill:none;stroke:currentColor;stroke-width:1;stroke-linecap:round;opacity:.8}.gesture-cue span{font-size:9px;white-space:nowrap}.gesture-cue.hide{opacity:0}.load-message{position:absolute;inset:0;display:grid;place-content:center;background:var(--bg);color:var(--muted);font-size:12px;z-index:2}.load-message.ready{display:none}.controls-panel{grid-column:1;grid-row:2;align-self:start;padding-bottom:52px;max-width:380px;width:100%;z-index:1}.primary-button{min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:25px;border:1px solid var(--accent);border-radius:50px;background:var(--accent);color:var(--button-ink);padding:17px 24px;width:100%;max-width:340px;font-size:13px;font-weight:650;text-decoration:none;text-align:left;transition:transform .2s,filter .2s}.primary-button:hover:not(:disabled){filter:brightness(1.05);transform:translateY(-2px)}.primary-button:active:not(:disabled){transform:scale(.985)}.primary-button:disabled{opacity:.72}.interaction-status{font-size:10px;line-height:1.6;color:var(--muted);margin-top:16px;min-height:32px;max-width:340px}.secondary-actions{display:flex;align-items:center;justify-content:space-between;max-width:340px;margin-top:8px;gap:16px}.text-button{padding:10px 0;background:none;font-size:11px;min-height:44px;color:var(--muted);line-height:1.4}.text-button span{margin-left:10px;font-size:16px}.text-button:hover{color:var(--fg)}.save-status{font-size:10px;color:var(--muted);line-height:1.6}.site-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid var(--line);padding:10px 0 max(14px,env(safe-area-inset-bottom));min-height:58px;color:var(--muted);font-size:10px}.year-mark{letter-spacing:.08em;font-size:8px}.site-footer .text-button{min-height:32px;padding:5px 0}.background-art{position:fixed;inset:0;pointer-events:none;overflow:hidden}.background-art>span{display:none;font-size:min(52vw,760px);font-weight:800;letter-spacing:-.07em;line-height:1;position:absolute;bottom:-12%;right:-3%;opacity:.035}.background-art i{position:absolute;width:70vw;height:70vw;border:1px solid currentColor;border-radius:50%;right:-40%;top:20%;opacity:.035}.background-art i+i{width:80vw;height:80vw;right:-44%;top:15%}html[data-theme=crystal] .background-art>span,html[data-theme=red] .background-art>span{display:block}html[data-theme=red] .background-art i{display:none}html[data-theme=classic] .background-art{background:radial-gradient(ellipse at 74% 49%,#14545740,transparent 49%)}.skip-link{position:fixed;top:10px;left:20px;z-index:8;transform:translateY(-150%);background:var(--accent);color:var(--button-ink);padding:12px;border-radius:5px}.skip-link:focus{transform:none}
 dialog{width:min(600px,calc(100vw - 36px));max-height:calc(100svh - 44px);border:1px solid var(--line);border-radius:22px;background:var(--panel);color:var(--fg);padding:44px 36px 32px;box-shadow:0 25px 100px #0005}dialog::backdrop{background:#00191dcc;backdrop-filter:blur(7px)}.dialog-close{position:absolute;top:15px;right:15px;font-size:24px}dialog h2{font-family:var(--title-font);font-size:34px;font-weight:600;letter-spacing:-.03em;line-height:1.1;margin:0 0 25px}dialog p{font-size:13px;line-height:1.75;margin-bottom:20px;color:var(--muted)}dialog .eyebrow{font-size:9px;color:var(--muted);margin-top:8px;margin-bottom:14px}dialog h3{font-size:14px;margin:30px 0 12px}.compact{max-width:100%;font-size:12px;margin-top:24px}.direction-notes{padding:0;list-style:none;counter-reset:directions}.direction-notes li{border-top:1px solid var(--line);padding:18px 0 18px 34px;position:relative}.direction-notes li:before{counter-increment:directions;content:'0' counter(directions);position:absolute;left:0;top:21px;font-size:9px;color:var(--muted)}.direction-notes strong{display:block;font-size:14px;font-weight:600}.direction-notes li span{display:block;font-size:12px;line-height:1.7;color:var(--muted);margin-top:6px}.reference-links{display:grid}.reference-links a{font-size:12px;text-decoration:none;display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:13px 0}.reference-links a span{font-size:9px;color:var(--muted);white-space:nowrap}.small-note{font-size:10px!important;margin-top:22px!important;line-height:1.7}.noscript-message{position:fixed;inset:20%;padding:30px;background:var(--panel);color:var(--fg);z-index:10}
@media(min-width:1450px){.experience{margin-top:18px;margin-bottom:32px}.stage{max-width:680px}.copy-panel{padding-bottom:35px}.controls-panel{padding-bottom:90px}}
@media(max-width:1000px) and (min-width:761px){.directions-label{display:none}.theme-switch{max-width:none}.experience{grid-template-columns:minmax(260px,.9fr) minmax(350px,1.1fr);gap:16px}.controls-panel{padding-bottom:25px}.intro-copy{font-size:13px}}
@media(max-width:760px){.shell{padding:0 22px}.site-header{padding:19px 0 15px;gap:12px}.brand img{width:119px}.project-label{font-size:8px;letter-spacing:0;max-width:100px;text-align:right;line-height:1.5;margin-left:auto}.site-header .icon-button{width:36px;height:36px;font-size:15px}.directions{padding-top:16px;display:block}.directions-label{display:none}.theme-switch{gap:6px;max-width:none}.theme-option{padding:9px 6px;min-height:60px;border-radius:10px;gap:0;justify-content:center;text-align:center;flex-direction:column}.swatch{display:none}.theme-option small{font-size:7px;margin-bottom:4px}.theme-option strong{font-size:9px;font-weight:650}.selected-mark{display:none}.experience{display:flex;flex-direction:column;margin:0 auto 12px;gap:0;flex:1;width:100%;max-width:500px}.copy-panel{padding:27px 0 0;align-self:auto;width:100%;text-align:center}.eyebrow{font-size:7px;letter-spacing:.17em;margin-bottom:12px}h1{font-size:35px;letter-spacing:-.05em;line-height:1.06;margin-bottom:12px}html[data-theme=crystal] h1{font-size:46px}.intro-copy{font-size:11px;line-height:1.6;max-width:290px;margin:auto}.stage-panel{width:100%;margin-top:-1px}.stage{width:min(100%,calc(46svh * .923));max-width:390px;min-width:240px}.controls-panel{max-width:340px;align-self:auto;text-align:center;padding:0 0 7px;margin-top:-4px}.primary-button{max-width:none;min-height:52px;font-size:12px;padding:16px 21px}.interaction-status{font-size:9px;margin-top:12px;min-height:25px}.fortune-copy p{font-size:15px;line-height:1.6;max-width:340px;margin:auto}.fortune-signature{font-size:9px;margin-top:10px}.gesture-cue span{font-size:7px}.gesture-cue svg{height:24px}.secondary-actions{max-width:none}.site-footer{gap:10px;font-size:8px;padding-top:7px;min-height:46px}.site-footer .text-button{font-size:8px}.site-footer .text-button span{font-size:11px;margin-left:5px}.year-mark{display:none}.background-art>span{font-size:85vw;bottom:10%;opacity:.025}.background-art i{display:none}body[data-state=revealed] .copy-panel{padding-top:23px}body[data-state=revealed] h1{font-size:31px;margin-bottom:12px}html[data-theme=crystal] body[data-state=revealed] h1{font-size:42px}body[data-state=revealed] .stage{width:min(100%,calc(36svh * .923));min-width:220px}body[data-state=revealed] .controls-panel{margin-top:0}.load-message{font-size:10px}dialog{padding:46px 23px 25px}dialog h2{font-size:30px}.reference-links a{font-size:10px}.reference-links a span{font-size:8px}}
@media(max-width:360px){.shell{padding:0 16px}.theme-option strong{font-size:8px}.theme-option small{font-size:6.6px}h1{font-size:30px}.intro-copy{font-size:10px}.stage{width:min(100%,calc(43svh * .923));min-width:220px}.copy-panel{padding-top:22px}.primary-button{min-height:50px}.site-footer{font-size:7px}}
@media(max-height:650px) and (max-width:760px){.site-header{padding-top:12px;padding-bottom:12px}.brand img{width:104px}.theme-option{min-height:50px;padding:7px 4px}.directions{padding-top:10px}.copy-panel{padding-top:18px}.eyebrow{margin-bottom:8px}h1{font-size:28px;margin-bottom:8px}html[data-theme=crystal] h1{font-size:38px}.stage{width:230px;min-width:200px}.intro-copy{font-size:10px;max-width:280px}.controls-panel{margin-top:-8px}.interaction-status{margin-top:9px}body[data-state=revealed] .stage{width:200px;min-width:180px}.fortune-copy p{font-size:13px}body[data-state=revealed] h1{font-size:27px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.primary-button:hover{transform:none!important}}
.stage canvas{pointer-events:none;touch-action:auto;cursor:default}.gesture-surface{position:absolute;left:15%;top:9%;width:70%;height:65%;border-radius:50%;clip-path:ellipse(50% 50% at 50% 50%);touch-action:none;cursor:grab}.gesture-surface:active{cursor:grabbing}html[data-theme=red] .gesture-surface{top:15%}
.gesture-cue{top:auto;bottom:0;left:30%;width:40%}.gesture-cue svg{height:24px}.gesture-cue span{font-size:10px}
@media(max-width:760px){.theme-option strong{font-size:10.5px}.theme-option small{font-size:8px}.intro-copy{font-size:12px}.gesture-cue span{font-size:9px}.gesture-cue svg{height:20px}.interaction-status{font-size:10px}}
@media(max-width:360px){.theme-option strong{font-size:9px}.theme-option small{font-size:7px}.intro-copy{font-size:11px}}
@media(min-width:761px){.stage{max-width:min(650px,max(360px,calc((100svh - 280px) * .923)))}.experience{min-height:0}}
@media(max-width:760px){.gesture-cue{display:none}.theme-option strong{font-size:11px;white-space:normal;line-height:1.2}.theme-option small{font-size:8px}}
@media(max-width:360px){.theme-option strong{font-size:10.5px}.theme-option small{font-size:7.5px}}
.motion-setting{display:flex;align-items:center;gap:13px;min-height:56px;border-top:1px solid var(--line);padding-top:17px;margin-top:10px;cursor:pointer}.motion-setting input{width:22px;height:22px;accent-color:var(--accent);flex-shrink:0}.motion-setting span{font-size:12px}.motion-setting small{display:block;font-size:10px;color:var(--muted);line-height:1.5;margin-top:4px}

.phone-motion{max-width:340px;margin-top:8px}.phone-motion-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;width:100%;padding:8px 12px;border:1px solid var(--line);border-radius:24px;background:transparent;color:var(--accent);font-size:11px;line-height:1.4}.phone-motion-button::before{content:"";display:block;width:10px;height:17px;border:1.4px solid currentColor;border-radius:3px;transform:rotate(-12deg);flex-shrink:0}.phone-motion-button[aria-pressed=true]{border-color:var(--accent)}.phone-motion-button:disabled{opacity:.6;cursor:default}.phone-motion p{font-size:10px;line-height:1.6;color:var(--muted);margin-top:8px}.phone-motion-button:hover:not(:disabled){background:color-mix(in srgb,var(--accent) 7%,transparent)}
@media(max-width:760px){.phone-motion{max-width:none;margin-top:5px}.phone-motion p{font-size:10px;margin-top:6px}.controls-panel{padding-bottom:14px}}

/* Result actions: clear next steps, with comfortable reading and touch targets. */
.result-actions{display:grid;gap:10px;width:100%;max-width:340px}
.result-actions .primary-button{max-width:none;min-height:56px;padding:16px 22px;font-size:16px;font-weight:650;line-height:1.4}
.result-button{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:52px;border-radius:50px;padding:14px 22px;text-align:left;line-height:1.4;font-size:15px;font-weight:650;background:transparent;color:var(--fg);transition:background-color .2s,transform .2s,border-color .2s}
.result-secondary{border:1px solid var(--accent)}
.result-secondary:hover:not(:disabled){background:color-mix(in srgb,var(--accent) 10%,transparent)}
.result-button:active:not(:disabled){transform:scale(.985)}
.result-save{min-height:48px;padding:10px 22px;font-size:14px;font-weight:550;border:1px solid transparent}
.result-save:hover:not(:disabled){background:color-mix(in srgb,var(--fg) 6%,transparent)}
.result-button:disabled{opacity:.65;cursor:wait}
.result-actions svg,.result-dialog svg{width:22px;height:22px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
.result-actions .save-status{font-size:12px;line-height:1.55;color:var(--fg);text-align:left;overflow-wrap:anywhere}
.result-actions .save-status:empty{display:none}
.phone-motion-button{min-height:48px;font-size:12px}









.greeting-text{display:block;width:100%;min-height:96px;resize:vertical;margin-top:12px;padding:12px;border:1px solid var(--accent);border-radius:10px;background:var(--bg);color:var(--fg);font:400 14px/1.55 Manrope,Arial,sans-serif;user-select:text;-webkit-user-select:text;touch-action:auto}

@media(min-width:761px){body[data-state=revealed] .copy-panel{padding-bottom:24px}body[data-state=revealed] .controls-panel{padding-bottom:34px}}
@media(max-width:760px){body[data-state=revealed] .experience{margin-bottom:16px}body[data-state=revealed] .copy-panel{padding-top:22px}body[data-state=revealed] .stage-panel{margin-top:2px}body[data-state=revealed] .stage{width:clamp(180px,25svh,235px);min-width:0}body[data-state=revealed] .controls-panel{width:100%;margin-top:0;padding-bottom:12px}.result-actions{max-width:none;margin:0 auto}.result-actions .primary-button{font-size:15px;min-height:56px}.result-button{font-size:15px;min-height:52px}.result-save{font-size:14px;min-height:48px}.result-actions .save-status{text-align:center}}
@media(max-height:650px) and (max-width:760px){body[data-state=revealed] .stage{width:170px;min-width:0}body[data-state=revealed] .copy-panel{padding-top:18px}.result-actions{gap:10px}}
@media(prefers-reduced-motion:reduce){.result-button{transition:none}.result-button:active:not(:disabled){transform:none}}

/* A contained light response around the object; the canvas stays in front. */
.stage{isolation:isolate;--stage-halo-y:43%;--stage-halo-core:#a6e1d51c;--stage-halo-ring:#e6d4a629}
html[data-theme=crystal] .stage{--stage-halo-y:43%;--stage-halo-core:#b7dce52b;--stage-halo-ring:#8cbecb45}
html[data-theme=red] .stage{--stage-halo-y:49%;--stage-halo-core:#f5e4bd18;--stage-halo-ring:#f2deae2e}
.stage::before{content:"";position:absolute;inset:2%;z-index:-1;border-radius:50%;pointer-events:none;background:radial-gradient(ellipse 50% 46% at 50% var(--stage-halo-y),var(--stage-halo-core) 0%,var(--stage-halo-ring) 67%,transparent 100%);opacity:0;transform:scale(.96);transition:opacity .65s ease-out,transform 1.1s ease-out}
body[data-state=stirring] .stage::before{opacity:1;transform:scale(1);transition:opacity .22s ease-out,transform .7s ease-out}
body[data-state=settling] .stage::before{opacity:.42;transform:scale(.985)}
body[data-state=revealed] .stage::before{animation:stage-halo-reveal 1.3s ease-out both;transition:none}
@keyframes stage-halo-reveal{0%{opacity:.18;transform:scale(.985)}32%{opacity:.68;transform:scale(1)}100%{opacity:0;transform:scale(1)}}
body[data-reduced-motion=true] .stage::before{opacity:0;animation:none;transition:none;transform:none}
@media(prefers-reduced-motion:reduce){.stage::before{opacity:0!important;animation:none!important;transition:none!important;transform:none!important}}

/* The greeting opens as a complete card, with its next steps beside it. */
.result-dialog{width:min(880px,calc(100vw - 32px));max-height:calc(100svh - 32px);padding:0;overflow:auto;overscroll-behavior:contain;border-radius:24px;box-shadow:0 32px 120px #00131780;scrollbar-width:thin}
.result-dialog::backdrop{background:#001317c9;backdrop-filter:blur(10px)}
.result-dialog-header{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 22px 16px 28px;border-bottom:1px solid var(--line);background:var(--panel)}
.result-dialog-header h2{font-family:Manrope,Arial,sans-serif;font-size:21px;font-weight:600;line-height:1.3;letter-spacing:-.035em;margin:0;color:var(--fg)}
.result-dialog-header h2:focus{outline:none}
.result-dialog #resultDialogClose{position:static;width:48px;height:48px;min-width:48px;font-size:28px;background:color-mix(in srgb,var(--fg) 4%,transparent)}
.result-dialog[open] .result-dialog-layout{display:grid}
.result-dialog-layout{grid-template-columns:minmax(0,400px) minmax(240px,1fr);gap:32px;align-items:center;padding:28px}
.result-card-frame{position:relative;aspect-ratio:3/4;width:100%;margin:0;overflow:hidden;border:1px solid color-mix(in srgb,var(--accent) 34%,transparent);border-radius:16px;background:var(--bg);box-shadow:0 18px 48px #00151c35;isolation:isolate}
.result-card-frame #resultCardImage{display:block;position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain;border-radius:inherit}
.result-card-fallback{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;text-align:center;padding:clamp(22px,3.6vw,36px);background:radial-gradient(ellipse at 50% 35%,color-mix(in srgb,var(--accent) 8%,transparent),transparent 65%),var(--bg)}
.result-card-fallback > *{flex-shrink:0}
.result-card-fallback::after{content:"";position:absolute;inset:12px;border:1px solid color-mix(in srgb,var(--accent) 34%,transparent);border-radius:8px;pointer-events:none}
.result-card-brand{position:relative;z-index:1;line-height:0;margin-bottom:auto;align-self:flex-start}
.result-card-brand img{width:112px;height:auto;max-width:100%}
.result-card-brand .result-logo-dark{display:none}
html[data-theme=crystal] .result-card-brand .result-logo-light{display:none}
html[data-theme=crystal] .result-card-brand .result-logo-dark{display:block}
.result-card-year{position:absolute;inset:15% 0 auto;font-size:clamp(92px,13vw,160px);font-weight:800;letter-spacing:-.08em;color:var(--accent);opacity:.07;line-height:1;pointer-events:none}
.result-card-fallback .result-card-eyebrow{position:relative;font-size:9px;letter-spacing:.2em;font-weight:650;color:var(--accent);margin:22px 0 15px;line-height:1.5}
.result-card-fallback h3{position:relative;font-family:var(--title-font);font-weight:600;font-size:clamp(25px,3.3vw,36px);line-height:1.13;letter-spacing:-.04em;color:var(--fg);margin:0 0 22px;overflow-wrap:anywhere}
.result-card-fallback #resultCardText{position:relative;font-size:clamp(16px,1.7vw,19px);line-height:1.55;color:var(--fg);margin:0;overflow-wrap:anywhere}
.result-card-signature{position:relative;display:block;margin-top:auto;padding-top:28px;font-size:11px;line-height:1.6;color:var(--muted)}
.result-dialog-details{min-width:0;width:100%;max-width:300px;justify-self:center;padding:12px 0}
.result-dialog #resultDialogIntro{font-size:15px;line-height:1.65;color:var(--muted);margin:0 0 24px}
.result-dialog-actions{display:grid;gap:10px;min-width:0}
.result-dialog-actions .primary-button{max-width:none;min-height:56px;padding:16px 20px;font-size:15px;font-weight:650;line-height:1.4}
.result-dialog-actions .result-button{min-height:52px;padding:14px 20px;font-size:15px;line-height:1.4}
.result-dialog-actions .result-replay{border:1px solid var(--line);background:color-mix(in srgb,var(--fg) 3%,transparent)}
.result-dialog-actions .result-replay:hover{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 8%,transparent)}
.result-dialog-actions .result-copy{min-height:48px;padding:10px 20px;font-size:14px;font-weight:550;border:1px solid transparent}
.result-dialog-actions .result-copy:hover{background:color-mix(in srgb,var(--fg) 5%,transparent)}
.result-dialog-actions #resultDownloadLink{font-size:14px;text-decoration:none}
.result-dialog-actions .save-status,.result-dialog-actions .copy-status{font-size:12px;line-height:1.6;color:var(--fg);margin:0;overflow-wrap:anywhere}
.result-dialog-actions .save-status:empty,.result-dialog-actions .copy-status:empty{display:none}
.result-dialog .greeting-text{margin-top:0}
@media(max-width:700px){.result-dialog{width:min(420px,calc(100vw - 24px));max-height:calc(100svh - 24px);border-radius:20px}.result-dialog-header{padding:12px 14px 12px 18px;gap:12px}.result-dialog-header h2{font-size:18px;line-height:1.3;max-width:240px}.result-dialog-layout{grid-template-columns:minmax(0,1fr);gap:22px;padding:18px}.result-dialog-details{max-width:none;padding:0}.result-dialog #resultDialogIntro{font-size:14px;line-height:1.6;margin-bottom:16px}.result-card-frame{border-radius:12px}.result-card-fallback{padding:26px}.result-card-fallback h3{font-size:29px}.result-card-fallback #resultCardText{font-size:17px}.result-card-fallback .result-card-eyebrow{font-size:8px;margin:20px 0 12px}.result-card-signature{font-size:10px;padding-top:22px}.result-dialog-actions .primary-button{font-size:15px}.result-dialog-actions .result-button{font-size:15px}.result-dialog-actions .result-copy{font-size:14px}}
@media(max-width:360px){.result-dialog{width:calc(100vw - 16px);max-height:calc(100svh - 16px)}.result-dialog-layout{padding:8px;gap:18px}.result-dialog-details{padding:4px 8px 8px}.result-dialog-header{padding-left:16px}.result-dialog-header h2{font-size:17px}.result-card-fallback{padding:23px}.result-card-fallback h3{font-size:26px;margin-bottom:16px}.result-card-fallback #resultCardText{font-size:16px}.result-card-brand img{width:104px}.result-dialog-actions .primary-button,.result-dialog-actions .result-button{padding-left:18px;padding-right:18px}}
@media(max-height:600px) and (min-width:701px){.result-dialog{width:min(820px,calc(100vw - 32px))}.result-dialog-layout{grid-template-columns:minmax(0,320px) minmax(250px,1fr);padding:22px;gap:28px}}
