@import url('https://fonts.googleapis.com/css2?family=Ruslan+Display&family=Inter:wght@400;500;700;800;900&display=swap');
:root{color-scheme:dark;--red:#ff243d;--muted:#b798a1;--line:#ff243d42;--text:#fff1f3}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;color:var(--text);font:16px/1.5 Inter,system-ui,sans-serif;background:radial-gradient(ellipse at 0% 38%,#57102566,transparent 46%),radial-gradient(ellipse at 100% 80%,#3a146b55,transparent 48%),linear-gradient(125deg,#10060f,#070309 65%)}body:before{content:"";position:fixed;inset:0;pointer-events:none;background-image:linear-gradient(#ffffff04 1px,transparent 1px),linear-gradient(90deg,#ffffff04 1px,transparent 1px);background-size:42px 42px}.shell{position:relative;width:min(1180px,calc(100% - 32px));margin:auto;padding:28px 0}header{display:flex;align-items:center;gap:20px;padding:22px 24px;margin-bottom:30px;border:1px solid var(--line);border-radius:28px;background:linear-gradient(110deg,#240b1edb,#0c050edd);box-shadow:0 24px 80px #0008}.brand{display:flex;align-items:center;gap:18px;color:inherit;text-decoration:none;min-width:0}.mark{font-size:66px;line-height:1;color:var(--red);text-shadow:0 0 14px #ff243d88}.eyebrow{font-size:12px;letter-spacing:.17em;font-weight:800;color:var(--muted);margin:0 0 8px}h1{font:clamp(38px,5.4vw,72px)/1 'Ruslan Display',Georgia,serif;text-shadow:0 0 12px #ff243daa,0 7px #300913;margin:0}h2{margin:0;font-size:24px;line-height:1.3}.skulls{margin-left:auto;color:var(--red);font-size:22px;white-space:nowrap;text-shadow:0 0 14px #ff243d99}.language{padding:6px 12px;border:1px solid var(--line);border-radius:11px;color:var(--muted);font-size:14px}.layout{display:grid;grid-template-columns:.92fr 1.35fr;gap:24px;align-items:start}.panel,.altar{border:1px solid var(--line);background:linear-gradient(145deg,#1b0918df,#09030bee);border-radius:32px;box-shadow:0 24px 80px #0008,inset 0 0 80px #ff243d09}.panel{padding:30px}.altar{position:sticky;top:20px;padding:34px;min-height:600px;display:flex;flex-direction:column;align-items:center;text-align:center;overflow:hidden}.altar:before{content:"";position:absolute;inset:20px;border:1px dashed #ff243d52;border-radius:26px;pointer-events:none}.moon{align-self:flex-end;font:52px/1 Georgia;color:#f5d7df;text-shadow:0 0 22px #ffffff70}.sigil{font:242px/1.08 Georgia,serif;color:var(--red);text-shadow:0 0 12px #ff243d88;animation:spin 28s linear infinite}.altar h2{font-size:28px;margin-top:14px}.altar p{color:var(--muted);line-height:1.65;margin-bottom:26px}.omens{display:grid;gap:12px;width:100%;margin-top:auto}.omens span{border:1px solid #ff243d38;background:#0003;border-radius:18px;padding:13px}.modes{border:0;padding:0;margin:0 0 28px;display:grid;grid-template-columns:1.55fr 1fr;gap:8px}.modes legend{font-size:14px;font-weight:700;color:var(--muted);margin-bottom:10px}.modes label{position:relative;cursor:pointer}.modes input{position:absolute;opacity:0;width:1px;height:1px}.modes span{height:100%;min-height:56px;display:flex;align-items:center;justify-content:center;padding:10px 12px;border:1px solid #ff243d38;border-radius:14px;text-align:center;font-size:14px;font-weight:700;color:var(--muted);background:#0003}.modes input:checked+span{background:#ff243d20;color:#ffe8ed;border-color:var(--red);box-shadow:inset 0 0 18px #ff243d0a}.modes input:focus-visible+span{outline:2px solid white;outline-offset:3px}.section-title{display:flex;align-items:center;gap:12px;margin-bottom:18px}.section-title>span{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:50%;background:#ff243d1c;border:1px solid #ff243d66;color:var(--red);font-weight:900}.field{display:grid;gap:8px;margin-bottom:18px}.field>span{font-weight:700;color:#ffdce2}.field em{font-style:normal;font-size:14px;color:var(--muted);font-weight:400}input,textarea,button{font:inherit}input,textarea{width:100%;min-width:0;background:#0005;color:var(--text);border:1px solid var(--line);border-radius:18px;padding:15px 16px;outline:none}input::placeholder,textarea::placeholder{color:#bda5b17d}input:focus,textarea:focus{border-color:var(--red);box-shadow:0 0 0 4px #ff243d20}textarea{min-height:170px;resize:vertical;line-height:1.55}small,.privacy{font-size:13px;color:var(--muted);line-height:1.5}.upload{display:grid;place-items:center;min-height:190px;border:1px dashed #ff243d80;border-radius:24px;background:radial-gradient(circle,#ff243d15,transparent 55%),#0003;position:relative;cursor:pointer;overflow:hidden}.upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload:focus-within{outline:2px solid var(--red);outline-offset:3px}#uploadCopy{display:grid;gap:8px;text-align:center;padding:16px;pointer-events:none}#uploadCopy strong{font-size:18px}#uploadCopy>span{font-size:14px;color:var(--muted)}.upload img{max-width:100%;max-height:190px;object-fit:contain;pointer-events:none}.text-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:28px 0 14px}.text-heading .section-title{margin:0}.text-heading h2{font-size:22px}button{cursor:pointer;color:var(--text);font-weight:800;transition:background .2s,transform .2s}button:disabled{opacity:.65;cursor:wait}button:focus-visible,a:focus-visible{outline:2px solid white;outline-offset:4px}.ghost{background:#ff243d19;border:1px solid #ff243d66;border-radius:16px;padding:12px 16px;font-size:14px}.ghost:hover{background:#ff243d30}.primary{border:0;background:linear-gradient(135deg,#ff243d,#97111f);box-shadow:0 18px 36px #ff243d30,inset 0 -4px #0004;border-radius:20px;width:100%;padding:18px 20px;text-transform:uppercase;letter-spacing:.025em}.primary:hover{transform:translateY(-1px)}.privacy{text-align:center;margin:16px 0 0}.error{color:#ff93a3;font-size:14px;margin:6px 0}.error:empty{display:none}footer{text-align:center;max-width:660px;margin:24px auto 0;color:var(--muted);font-size:12px;padding:0 16px}.result-card{position:relative;overflow:hidden;padding:40px}.result-top{display:flex;gap:20px;align-items:center;margin-bottom:28px}.result-mark{font:120px/1 Georgia;color:var(--red)}.result-top h2{font-size:clamp(28px,4vw,48px)}.muted{color:var(--muted)}.stamp{display:table;color:var(--red);font-size:32px;font-weight:900;border:6px double var(--red);padding:8px 24px;transform:rotate(-9deg);margin:0 0 28px auto;letter-spacing:.1em}.result-person{display:flex;gap:24px}.result-person img{width:200px;max-height:260px;object-fit:cover;border-radius:22px;border:1px solid var(--line)}dl{display:grid;gap:14px;flex:1;background:#0005;border:1px solid var(--line);border-radius:22px;padding:22px;margin:0}dt{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.15em}dd{font-size:22px;font-weight:700;margin:2px 0 0;overflow-wrap:anywhere}blockquote{background:#0005;border-left:6px solid var(--red);border-radius:20px;margin:26px 0 0;padding:28px;font-size:24px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.actions{display:flex;gap:12px;margin:20px 0}.actions button{flex:1;font-size:16px}.overlay{position:fixed;inset:0;display:grid;place-items:center;z-index:10;background:#07030ade;backdrop-filter:blur(5px)}.overlay>div{margin:20px;padding:28px 44px;border:1px solid var(--line);border-radius:24px;text-align:center;background:#190914;color:var(--red);font-weight:800}.overlay span{display:inline-block;font:90px/1 Georgia;animation:spin 2s linear infinite}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:900px){.layout{grid-template-columns:1fr}.altar{position:relative;top:0;min-height:0;padding:24px}.sigil{font-size:150px}.moon{position:absolute;right:35px;top:25px;font-size:36px}.altar h2{font-size:24px}.altar p{margin:12px 0 4px}.omens{display:none}.skulls{font-size:18px}.text-heading{flex-wrap:wrap}}@media(max-width:560px){.shell{width:calc(100% - 20px);padding-top:10px}header{padding:18px 16px;border-radius:22px;gap:10px;margin-bottom:18px}.brand{gap:10px}.mark{font-size:42px}.eyebrow{font-size:12px;letter-spacing:.08em}.brand .eyebrow{max-width:230px;font-size:10px}.skulls{display:none}.language{margin-left:auto}.panel{padding:20px;border-radius:24px}.altar{border-radius:24px}.altar h2{font-size:22px}h2{font-size:22px}.modes{grid-template-columns:1fr}.modes span{min-height:46px}.section-title>span{flex-basis:36px;height:36px}.text-heading{align-items:stretch;flex-direction:column}.result-card{padding:20px}.result-mark{display:none}.result-person{flex-direction:column}.result-person img{align-self:center}.actions{flex-direction:column}blockquote{font-size:20px;padding:20px}.stamp{font-size:24px}.result-top h2{font-size:28px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

.consultation{text-align:center;margin:28px auto 0;max-width:650px}.consultation-button{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;padding:17px 24px;border:1px solid var(--line);border-radius:18px;background:#ff243d12;color:var(--text);font-size:16px}.consultation-button:disabled{cursor:default;opacity:1}.soon{font-size:12px;letter-spacing:.05em;text-transform:uppercase;padding:4px 8px;border:1px solid var(--line);border-radius:8px;color:var(--muted)}.consultation p{font-size:14px;color:var(--muted);margin:10px 0 0}
html[data-theme="light"]{color-scheme:light;--red:#2864ba;--muted:#566d86;--line:#bfd1e9;--text:#17324f}
html[data-theme="light"] body{background:radial-gradient(ellipse at 0% 38%,#dceaff88,transparent 46%),radial-gradient(ellipse at 100% 80%,#def5ff99,transparent 48%),linear-gradient(125deg,#f9fcff,#eef5ff 65%)}
html[data-theme="light"] body:before{background-image:linear-gradient(#2864ba05 1px,transparent 1px),linear-gradient(90deg,#2864ba05 1px,transparent 1px)}
html[data-theme="light"] header{background:linear-gradient(110deg,#ffffff,#eaf3ff);box-shadow:0 18px 60px #2347730e}
html[data-theme="light"] h1{text-shadow:0 2px 0 #d6e5f8}
html[data-theme="light"] .mark,html[data-theme="light"] .sigil,html[data-theme="light"] .skulls{text-shadow:0 0 20px #82b6ff50}
html[data-theme="light"] .panel,html[data-theme="light"] .altar{background:linear-gradient(145deg,#ffffffed,#f5f9ffff);box-shadow:0 24px 70px #2347730e,inset 0 0 60px #ffffff70}
html[data-theme="light"] .altar:before{border-color:#a8c5e8}
html[data-theme="light"] .moon{color:#668bbd;text-shadow:0 0 20px #bfd6f4}
html[data-theme="light"] .omens span{border-color:#ccdbef;background:#edf5ff;color:var(--text)}
html[data-theme="light"] .modes span{border-color:#c5d5e9;background:#f6f9ff}
html[data-theme="light"] .modes input:checked+span{background:#e4efff;color:#174783;border-color:var(--red);box-shadow:inset 0 0 18px #2864ba05}
html[data-theme="light"] .section-title>span{border-color:#b6cdeb;background:#eaf2ff}
html[data-theme="light"] .field>span{color:var(--text)}
html[data-theme="light"] input,html[data-theme="light"] textarea{background:#fff}
html[data-theme="light"] input::placeholder,html[data-theme="light"] textarea::placeholder{color:#74859a}
html[data-theme="light"] input:focus,html[data-theme="light"] textarea:focus{box-shadow:0 0 0 4px #2864ba16}
html[data-theme="light"] .upload{border-color:#99b7dd;background:radial-gradient(circle,#dcecff88,transparent 65%),#f7faff}
html[data-theme="light"] .ghost{background:#edf4ff;border-color:#a9c3e6}
html[data-theme="light"] .ghost:hover{background:#dceaff}
html[data-theme="light"] .primary{color:#fff;background:linear-gradient(135deg,#3478d0,#215398);box-shadow:0 12px 28px #2864ba25,inset 0 -3px #102e651c}
html[data-theme="light"] .overlay{background:#f5f9ffe6}
html[data-theme="light"] .overlay>div{background:#fff}
html[data-theme="light"] .error{color:#b02942}
html[data-theme="light"] dl,html[data-theme="light"] blockquote{background:#edf4ff}
html[data-theme="light"] .consultation-button{background:#fff;box-shadow:0 8px 24px #2347730a}
html[data-theme="light"] button:focus-visible,html[data-theme="light"] a:focus-visible,html[data-theme="light"] .modes input:focus-visible+span{outline-color:#17324f}
/* Shared ritual mark and compact controls */
.brand-sigil{width:62px;height:62px;flex-shrink:0}.ritual-sigil{width:220px;height:220px;animation:spin 28s linear infinite;margin:12px 0}.result-sigil{width:110px;height:110px;flex-shrink:0}.header-tools{display:flex;align-items:center;gap:12px;margin-left:auto;flex-wrap:wrap;justify-content:flex-end}.ask-witch{border:1px solid #ff243d80;color:var(--text);background:#ff243d16;border-radius:14px;padding:12px 18px;white-space:normal;font:700 16px/1.3 Inter,system-ui,sans-serif}.header-tools select{border:1px solid var(--line);background:#160914;color:var(--text);border-radius:12px;padding:10px;font:inherit;max-width:150px}.modes span{flex-direction:column;gap:4px}.modes small{font-weight:700}.section-title h2 em,.upload em{font-size:14px;font-style:normal;font-weight:400;color:var(--muted)}.text-heading h2{font-size:20px}.text-heading .ghost{flex-shrink:0;max-width:50%}.brand{flex-shrink:1}h1{font-size:clamp(34px,5vw,64px)}header{flex-wrap:wrap}.brand .eyebrow{white-space:normal}.stamp{color:#ff243d;border-color:#ff243d}.result-card{overflow-wrap:anywhere}dialog{width:min(440px,calc(100% - 32px));text-align:center;color:var(--text);border:1px solid var(--line);background:#160914;border-radius:24px;padding:32px}dialog::backdrop{background:#08091588;backdrop-filter:blur(4px)}.dialog-close{position:absolute;right:12px;top:8px;border:0;background:transparent;color:var(--text);font-size:28px}dialog h2{margin:12px 0}dialog p{line-height:1.65;color:var(--muted)}html[data-theme="light"] .ask-witch{background:#fff;border-color:#f3a1aa;box-shadow:0 4px 16px #2b49790d}html[data-theme="light"] .header-tools select,html[data-theme="light"] dialog{background:white}html[data-theme="light"] .stamp{color:#ff243d;border-color:#ff243d}button:disabled{cursor:not-allowed}#submit:disabled{box-shadow:none}#paymentNote{min-height:20px}#confirmation:focus{outline:none}#resultText:empty{display:none}@media(max-width:900px){.ritual-sigil{width:130px;height:130px}.altar{padding:20px}.altar .moon{display:none}.altar h2{font-size:22px}.altar p{margin:10px 0}.layout{gap:16px}.header-tools{flex-wrap:nowrap}header{margin-bottom:16px}.brand .eyebrow{max-width:220px}}@media(max-width:560px){header{padding:14px;gap:14px}.brand-sigil{width:42px;height:42px}.header-tools{width:100%;justify-content:space-between;gap:10px}.ask-witch{padding:10px 14px;flex:1}.header-tools select{max-width:140px;width:auto;font-size:14px}.brand{width:100%}.ritual-sigil{width:85px;height:85px;margin:0}.altar{min-height:0;display:grid;grid-template-columns:85px 1fr;text-align:left;column-gap:18px}.altar h2{margin:0;font-size:18px}.altar>p{grid-column:1/-1;font-size:14px;margin:8px 0 0}.altar:before{inset:10px}.text-heading .ghost{max-width:none}.result-sigil{width:64px;height:64px}.result-top{align-items:flex-start}.result-top h2{font-size:24px}.modes span{min-height:58px}.modes{grid-template-columns:1fr;margin-bottom:20px}.panel{padding:18px}.section-title h2{font-size:20px}}@media(prefers-reduced-motion:reduce){.ritual-sigil{animation:none}}
/* Translation-safe layout: natural wrapping, no clipped or fixed-height text. */
header,.header-tools,.brand,.layout,.panel,.modes,.modes label,.text-heading,.section-title,.result-top>div{min-width:0}
button,.modes b,.section-title h2,.eyebrow,.altar h2,.field>span{overflow-wrap:anywhere;hyphens:auto}
button{white-space:normal;height:auto;min-height:44px;line-height:1.4}
.modes span{height:auto}.text-heading{flex-wrap:wrap;gap:12px}.section-title{min-width:0}.field input,.field textarea{max-width:100%;min-width:0}
.header-tools{margin-inline-start:auto;margin-left:0}.header-tools select{width:150px;min-width:0;text-overflow:ellipsis}.brand{direction:ltr}.brand .eyebrow{max-width:340px}
html[dir="rtl"] .field,html[dir="rtl"] .altar,html[dir="rtl"] dl{text-align:start}html[dir="rtl"] .header-tools{margin-left:0}html[dir="rtl"] .dialog-close{right:auto;left:12px}html[dir="rtl"] .eyebrow{letter-spacing:0}
html:lang(ar),html:lang(he),html:lang(hi),html:lang(bn),html:lang(th){letter-spacing:normal}html:lang(ar) body,html:lang(he) body,html:lang(hi) body,html:lang(bn) body,html:lang(th) body{line-height:1.7}html:lang(ar) .eyebrow,html:lang(hi) .eyebrow,html:lang(bn) .eyebrow,html:lang(th) .eyebrow{letter-spacing:0}
@media(max-width:560px){.header-tools select{width:128px;flex-shrink:0}.ask-witch{min-width:0;font-size:14px}.modes b{font-size:15px}.text-heading .ghost{width:100%}.brand .eyebrow{font-size:10px}.actions>*{min-width:0;max-width:100%}}
/* Scope selector joins the existing right-aligned header controls. */
.header-tools{margin-left:auto;margin-inline-start:auto;justify-content:flex-end;direction:ltr}.header-tools>*{direction:inherit}.audience-toggle{display:flex;flex-shrink:0;border:1px solid var(--line);border-radius:14px;padding:3px;background:#ff243d08;max-width:100%}.audience-toggle button{border:0;border-radius:10px;background:transparent;color:var(--muted);font:700 13px/1.35 Inter,system-ui,sans-serif;padding:8px 10px;min-height:36px}.audience-toggle button[aria-pressed="true"]{background:#ff243d20;color:var(--text)}html[data-theme="light"] .audience-toggle button[aria-pressed="true"]{background:#e4efff}html[dir="rtl"] .header-tools{margin-left:auto}html[dir="rtl"] .header-tools button{direction:rtl}
::view-transition-old(root),::view-transition-new(root){animation-duration:1.4s;animation-timing-function:ease-in-out;mix-blend-mode:normal}body,header,.panel,.altar,input,textarea,button,select,.modes span{transition:color 1.4s ease,background-color 1.4s ease,border-color 1.4s ease,box-shadow 1.4s ease}
@media(max-width:900px){.header-tools{flex-wrap:wrap}}@media(max-width:560px){.header-tools{justify-content:flex-end}.audience-toggle{margin-left:auto}.ask-witch{flex:0 1 auto}.header-tools select{width:110px}.audience-toggle button{font-size:12px;padding:7px 9px}}
@media(prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation-duration:0s}body,header,.panel,.altar,input,textarea,button,select,.modes span{transition:none}}
/* One connected two-position ritual control, retaining the existing palette. */
.modes{display:block}.mode-track{display:grid;grid-template-columns:1.55fr 1fr;gap:0;border:1px solid var(--line);border-radius:16px;padding:4px;background:#0003}.mode-track label{min-width:0}.mode-track span{border:0;background:transparent;border-radius:12px;height:100%}.mode-track input:checked+span{border:0;box-shadow:inset 0 0 0 1px var(--red)}html[data-theme="light"] .mode-track{background:#f6f9ff}html[data-theme="light"] .mode-track span{background:transparent}html[data-theme="light"] .mode-track input:checked+span{background:#e4efff}.altar-consultation{position:relative;width:100%;margin-top:14px}#checkoutDialog{width:min(520px,calc(100% - 24px));max-height:90dvh;overflow:auto;text-align:start;padding:28px}#checkoutDialog h2{text-align:center}#checkoutDialog>img{display:block;margin:auto}#checkoutSummary{text-align:center}#paymentElement{margin:16px 0}#paymentForm .primary{width:100%}#expressCheckout:empty{display:none}@media(max-width:560px){.mode-track{grid-template-columns:1fr 1fr}.mode-track span{padding:10px 7px}.mode-track b{font-size:13px}.altar-consultation{grid-column:1/-1}}
