/* Private Oracle Scroll QA view. Do not register public navigation or routing. */
:root{
 color-scheme:light; --os-bg:#f3eadc;--os-paper:#fffbf1;--os-ink:#29212d;--os-muted:#625868;--os-gold:#a57941;--os-line:#dfceb5;--os-accent:#713454;--os-on-accent:#fff;--os-panel:#fdf9f1;--os-focus:#713454;
}
:root[data-theme="dark"]{color-scheme:dark;--os-bg:#101622;--os-paper:#1b2535;--os-ink:#f0e6d4;--os-muted:#d0c6c9;--os-gold:#c9a56b;--os-line:#485265;--os-accent:#c9a56b;--os-on-accent:#171821;--os-panel:#182234;--os-focus:#f3cd8c}
*,*::before,*::after{box-sizing:border-box}
html{min-width:0;scroll-behavior:smooth}
body{margin:0; min-width:0; background:radial-gradient(ellipse at 20% 10%,rgba(196,164,112,.12),transparent 40%),radial-gradient(ellipse at 85% 80%,rgba(126,90,110,.07),transparent 47%),var(--os-bg);color:var(--os-ink);font-family:system-ui,-apple-system,'Segoe UI',sans-serif;line-height:1.6}
body::before{content:"";pointer-events:none;position:fixed;inset:0;opacity:.18;background-image:radial-gradient(var(--os-gold) .65px,transparent .85px);background-size:127px 113px;mask-image:linear-gradient(120deg,transparent 20%,#000 90%)}
#arcanaGlobalHeaderMount{min-height:84px;border-bottom:1px solid var(--os-line);max-width:1400px;margin:auto}
/* FE0 owns insertion and hydration of the existing shared header. This slot intentionally does not create a second nav. */
.os-page{max-width:1400px;margin:0 auto;min-height:min(760px,calc(100svh - 170px));padding:clamp(24px,4vw,54px) clamp(16px,4.5vw,64px) 40px;display:grid;grid-template-columns:minmax(260px, .82fr) minmax(0,1.18fr);gap:clamp(24px,4.7vw,76px);align-items:start}
.os-intro{padding-top:clamp(18px,4vw,78px);min-width:0;container-type:inline-size}
.os-overline{text-transform:uppercase;font-size:.78rem;letter-spacing:.21em;font-weight:750;color:var(--os-gold);margin:0 0 24px}
.os-overline span{padding-inline:9px}
h1{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.045em;font-size:min(clamp(3rem,5.2vw,5.1rem),13.2cqw);line-height:1.08;font-weight:500;margin:0 0 17px}
.os-subtitle{font-family:Georgia,serif;font-size:clamp(1.22rem,2.1vw,1.63rem);color:var(--os-muted);margin:0}
.os-rule{height:1px;background:var(--os-line);margin:clamp(30px,4vw,57px) 0 30px}
.os-description{font-size:clamp(1.02rem,1.45vw,1.2rem);max-width:32ch;line-height:1.83;margin:0}
.os-steps{max-width:420px;border:1px solid var(--os-line);background:color-mix(in srgb,var(--os-panel) 78%,transparent);border-radius:18px;margin-top:52px;padding:22px 26px}
.os-steps-title{font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:var(--os-gold);font-size:.77rem}
.os-steps p{margin:8px 0 0;max-width:36ch;color:var(--os-muted);line-height:1.65}
.os-disclaimer{text-transform:uppercase;letter-spacing:.12em;font-size:.71rem;font-weight:700;color:var(--os-gold);margin-top:32px}
.os-stage{border:1.5px solid var(--os-line);border-radius:27px;padding:clamp(20px,2.5vw,32px);background:var(--os-panel);box-shadow:0 18px 75px rgba(30,24,24,.07);min-width:0;display:flex;flex-direction:column;min-height:680px}
:root[data-theme="dark"] .os-stage{box-shadow:0 24px 78px rgba(0,0,0,.21)}
.os-stage-top{display:flex;align-items:center;justify-content:space-between;text-transform:uppercase;letter-spacing:.2em;font-weight:800;font-size:.79rem;color:var(--os-gold);border-bottom:1px solid var(--os-line);padding-bottom:16px}
.os-star{font-size:1.2rem;opacity:.7}
.os-illustration{min-height:430px;flex:1;position:relative;display:grid;place-items:center;isolation:isolate;min-width:0}
.os-ornament{position:absolute;inset:8% 8% 3%;height:89%;width:84%;object-fit:contain;opacity:.67;pointer-events:none;z-index:-1}
.os-scroll{width:min(100%,535px);min-width:0;height:clamp(275px,27vw,375px);position:relative;display:grid;align-items:center;justify-items:stretch;transition:height .9s cubic-bezier(.19,1,.22,1)}
.os-sheet{width:92%;height:83%;object-fit:fill;justify-self:center;filter:drop-shadow(0 11px 17px rgba(45,25,8,.11));transition:transform .85s cubic-bezier(.19,1,.22,1),opacity .5s;transform-origin:center;transform:scaleY(.12)}
.os-roller{position:absolute;width:99%;height:43px;left:.5%;object-fit:fill;z-index:4;filter:drop-shadow(0 4px 5px rgba(30,17,10,.18));transition:transform .8s cubic-bezier(.19,1,.22,1)}
.os-roller-top{top:7%}.os-roller-bottom{bottom:7%}
.os-seal{position:absolute;z-index:5;width:84px;height:84px;left:calc(50% - 42px);top:calc(50% - 42px);object-fit:contain;transition:transform .55s,opacity .4s}
.os-scroll-writing{position:absolute;inset:13% 12%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:18px;opacity:0;transform:translateY(12px);transition:opacity .4s .2s,transform .5s .2s;pointer-events:none}
.os-flourish{color:var(--os-gold);font-size:.85rem;letter-spacing:1rem;margin-inline-end:-1rem;opacity:.75}
.os-message-ink{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.22rem,2.45vw,1.95rem);line-height:1.42;font-weight:400;color:#3a2930;max-width:29ch;overflow-wrap:anywhere}
:root[data-theme="dark"] .os-message-ink{color:#eee1cc}
.os-stage[data-state="result"] .os-sheet{transform:scaleY(1)}
.os-stage[data-state="result"] .os-roller-top{transform:translateY(-3px)}
.os-stage[data-state="result"] .os-roller-bottom{transform:translateY(3px)}
.os-stage[data-state="result"] .os-seal{opacity:0;transform:scale(.75);pointer-events:none}
.os-stage[data-state="result"] .os-scroll-writing{opacity:1;transform:none;transition-delay:.3s}
.os-stage[data-state="result"] .os-scroll{height:clamp(335px,34vw,430px)}
.os-output{min-width:0;text-align:center;padding:0 0 0}
.os-status{font-size:.9rem;color:var(--os-muted);min-height:3.4em;margin:0 0 18px;display:flex;align-items:center;justify-content:center}
.os-actions{display:flex;flex-direction:column;gap:12px;align-items:stretch}
.os-button{min-height:55px;padding:12px 20px;border:2px solid transparent;border-radius:13px;font:750 1.05rem/1.3 system-ui,sans-serif;color:var(--os-on-accent);background:var(--os-accent);cursor:pointer;transition:background .15s,transform .15s;touch-action:manipulation}
.os-button:not(:disabled):hover{transform:translateY(-2px);filter:brightness(1.055)}
.os-button:disabled{cursor:not-allowed;opacity:.52}
.os-button-secondary{background:transparent;color:var(--os-ink);border-color:var(--os-gold)}
.os-button:focus-visible{outline:3px solid var(--os-focus);outline-offset:4px}
[hidden]{display:none!important}
.os-footer{border-top:1px solid var(--os-line);max-width:1400px;margin:0 auto;padding:20px clamp(16px,4.5vw,64px) 26px;display:flex;justify-content:space-between;gap:16px;font-size:.76rem;letter-spacing:.07em;color:var(--os-muted)}
@media(max-width:880px){#arcanaGlobalHeaderMount{min-height:70px}.os-page{grid-template-columns:1fr;min-height:0;max-width:670px;gap:27px;padding-top:20px}.os-intro{padding-top:0}.os-overline{margin-bottom:12px}h1{font-size:clamp(2.4rem,9vw,3.75rem)}.os-rule,.os-steps{display:none}.os-description{font-size:.98rem;max-width:52ch;margin-top:14px}.os-disclaimer{display:none}.os-stage{min-height:570px;padding:22px}.os-illustration{min-height:365px}.os-scroll{height:315px}.os-stage[data-state="result"] .os-scroll{height:365px}.os-message-ink{font-size:clamp(1.2rem,4.7vw,1.7rem)}.os-footer{font-size:.67rem}}
@media(max-width:420px){.os-page{padding:14px 13px 24px;gap:23px}.os-stage{padding:17px 15px;min-height:550px;border-radius:23px}.os-stage-top{font-size:.68rem;letter-spacing:.16em}.os-illustration{min-height:340px}.os-scroll{height:290px}.os-stage[data-state="result"] .os-scroll{height:350px}.os-roller{height:31px}.os-seal{width:68px;height:68px;left:calc(50% - 34px);top:calc(50% - 34px)}.os-message-ink{font-size:clamp(1.11rem,5.15vw,1.36rem)}.os-scroll-writing{gap:8px}.os-status{font-size:.83rem}.os-subtitle{font-size:1.05rem}.os-description{font-size:.93rem}.os-button{min-height:52px}.os-footer{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition:none!important}.os-stage[data-state="result"] .os-scroll-writing{transition-delay:0s}}

.os-sr-only{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
