.p-main .p-orientation{margin-top:24px;margin-bottom:36px;scroll-margin-top:110px}
.p-main .orientation-shell{max-width:820px;margin:auto;padding:12px 0;color:#122c40}
.p-main .orientation-composer{display:flex;align-items:center;gap:14px;padding:10px 12px 10px 20px;border:1px solid #e4dff1;border-radius:22px;background:linear-gradient(120deg,#ffffffeb,#faf8ffdf);box-shadow:0 2px 4px #6755ad05,0 8px 30px #6755ad08,inset 0 1px 0 #fff;backdrop-filter:blur(18px)}
.p-main .orientation-search{display:flex;flex:none;color:#7964c5}.p-main .orientation-search svg{width:21px;height:21px}
.p-main #orientation-input{display:block;flex:1;min-width:0;width:100%;height:30px;min-height:30px;max-height:110px;resize:none;padding:3px 0;border:0!important;background:transparent;color:#122c40;font:inherit;font-size:16px;line-height:24px;outline:none!important;box-shadow:none!important;border-radius:0}.p-main #orientation-input::placeholder{color:#798296;opacity:1}
.p-main #orientation-submit{display:flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;min-height:40px;padding:0;border:0;border-radius:50%;background:#eee9fb;color:#7059c5;cursor:pointer}.p-main #orientation-submit svg{width:20px;height:20px}.p-main #orientation-submit:hover{background:#e3dbf8}
.p-main .orientation-bottom{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin:11px 6px 0;font-size:12px;line-height:1.5;color:#7a8091}.p-main #orientation-another{margin-left:auto;padding:0;border:0;background:none;color:#7964ac;font:inherit;cursor:pointer}.p-main .orientation-info summary{color:#7a8091;cursor:pointer;list-style:none}.p-main .orientation-info summary::-webkit-details-marker{display:none}.p-main .orientation-info[open]{flex-basis:100%;order:3}.p-main #orientation-privacy{margin:9px 0 6px;max-width:680px;font-size:12px;line-height:1.6;color:#69758a}.p-main .orientation-shell a{color:#7059b8;text-underline-offset:3px}
.p-main .orientation-shell :is(button,a,summary):focus{outline:none!important;box-shadow:none!important}.p-main .orientation-shell :is(button,a,summary):focus-visible{outline:2px solid #a998dc!important;outline-offset:4px}.p-main .orientation-composer:has(#orientation-input[data-keyboard-focus]){box-shadow:0 0 0 2px #b5a3e44d}
.p-main .orientation-status{color:#67558b;font-size:14px;line-height:1.6;margin:18px 6px 0}.p-main .orientation-status:empty{display:none}.p-main .orientation-shell[aria-busy=true] .orientation-status::before{content:'';display:inline-block;width:12px;height:12px;margin-right:9px;border:2px solid #dcd4ed;border-top-color:#7c66c5;border-radius:50%;vertical-align:-2px;animation:orientation-spin 1s linear infinite}
.p-main .orientation-result{display:flex;align-items:center;gap:24px;justify-content:space-between;padding:22px 24px;margin-top:16px;border:1px solid #e6e0f2;border-radius:22px;background:#f7f4fccc}.p-main .orientation-result[hidden]{display:none}.p-main .orientation-result-kicker{margin:0 0 6px;font-size:12px;color:#8876aa}.p-main .orientation-result h3{margin:0 0 8px;font-size:22px;font-weight:550;color:#122c40}.p-main #orientation-reason{margin:0;font-size:15px;line-height:1.6;color:#596980}.p-main #orientation-description{margin:10px 0 0;font-size:12px;line-height:1.6;color:#798296}
.p-main #orientation-open{flex:none;max-width:240px;border:0;border-radius:14px;padding:13px 18px;background:#122c40;color:white;font:inherit;font-size:14px;line-height:1.5;cursor:pointer}.p-main #orientation-open:hover{background:#294358}.p-main #orientation-open:disabled,.p-main #orientation-submit:disabled{opacity:.6;cursor:wait}.p-main #orientation-contact{font-size:14px;margin:12px 6px}
@keyframes orientation-spin{to{transform:rotate(360deg)}}
/* Full-body sprites stay above the unchanged, compact composer. */
.p-main .orientation-shell.has-guide{padding-top:174px}
.p-main .orientation-composer{position:relative}
.p-main .orientation-guide-track{--guide-size:176px;--guide-x:0px;position:absolute;left:0;right:0;bottom:100%;height:var(--guide-size);pointer-events:none;visibility:hidden}
.p-main .orientation-guide-track.is-loaded{visibility:visible}
.p-main .orientation-guide-walker{position:absolute;left:0;bottom:calc(var(--guide-size)*-.014);width:var(--guide-size);height:var(--guide-size);will-change:transform}
.p-main .orientation-guide-character{position:relative;width:100%;height:100%;transform-origin:50% 98.6%;transform:scaleX(var(--guide-facing,1));animation:guide-breathe 4.5s ease-in-out infinite}
.p-main .orientation-guide-track:is([data-state="searching"],[data-state="rising"],[data-state="sitting"]) .orientation-guide-character{animation:none}
.p-main .orientation-guide-pose{display:block;position:absolute;inset:0;background-image:var(--guide-sheet);background-repeat:no-repeat;background-size:400% 400%}
.p-main .orientation-guide-pose[hidden]{display:none!important}
.p-main .orientation-guide-logo{position:absolute;left:var(--logo-x,50%);top:var(--logo-y,39%);width:var(--logo-width,18%);height:auto;max-width:none;transform:translate(-50%,-50%) rotate(var(--logo-rotate,0deg)) scaleX(var(--guide-facing,1));opacity:.95}
.p-main .orientation-guide-caption{position:absolute;left:calc(var(--guide-x) + var(--guide-size)*.78);bottom:24px;max-width:240px;color:#7b6a9d;font-size:12px;line-height:1.5;letter-spacing:.01em;padding:7px 12px;background:#f3eff9b3;border:1px solid #e9e2f2;border-radius:13px 13px 13px 3px}
.p-main .orientation-guide-track[data-side="right"] .orientation-guide-caption{left:auto;right:calc(100% - var(--guide-x) - var(--guide-size)*.22);border-radius:13px 13px 3px 13px}
.p-main .orientation-guide-track[data-state="searching"] .orientation-guide-caption{opacity:0}
.p-main .orientation-guide-thoughts{display:flex;align-items:start;gap:9px;position:absolute;left:calc(var(--guide-x) + var(--guide-size)*.72);top:4px;max-width:190px;padding:9px 10px 7px;border:1px solid #e8e0f2;background:linear-gradient(140deg,#fffffff2,#f6f1fde8);border-radius:24px;box-shadow:0 6px 18px #7160950c;backdrop-filter:blur(10px)}
.p-main .orientation-guide-thoughts[hidden]{display:none!important}
.p-main .orientation-guide-thoughts::before,.p-main .orientation-guide-thoughts::after{content:'';position:absolute;bottom:-8px;left:3px;width:9px;height:9px;border:1px solid #e8e0f2;background:#faf7fd;border-radius:50%}
.p-main .orientation-guide-thoughts::after{bottom:-16px;left:-5px;width:5px;height:5px}
.p-main .orientation-guide-track[data-side="right"] .orientation-guide-thoughts{left:auto;right:calc(100% - var(--guide-x) - var(--guide-size)*.28)}
.p-main .orientation-guide-track[data-side="right"] .orientation-guide-thoughts::before{left:auto;right:3px}
.p-main .orientation-guide-track[data-side="right"] .orientation-guide-thoughts::after{left:auto;right:-5px}
.p-main .orientation-thought{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:39px;max-width:51px;color:#7862b9;animation:guide-thought-in .22s ease-out both;animation-delay:calc(var(--thought-index)*55ms)}
.p-main .orientation-thought>span{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#eee8f9}
.p-main .orientation-thought svg{width:20px;height:20px;margin:0}.p-main .orientation-thought small{font-size:9px;line-height:1.2;text-align:center;white-space:nowrap}
.p-main .orientation-guide-track.is-paused *{animation-play-state:paused!important}
@keyframes guide-breathe{0%,100%{transform:scaleX(var(--guide-facing,1)) scaleY(1)}50%{transform:scaleX(var(--guide-facing,1)) scaleY(1.007)}}
@keyframes guide-thought-in{from{opacity:0;transform:translateY(4px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:700px){.p-main .orientation-shell.has-guide{padding-top:148px}.p-main .orientation-guide-track{--guide-size:150px}.p-main .orientation-guide-caption{bottom:22px;max-width:calc(100% - var(--guide-size)*.8 - 8px);font-size:11px;padding:6px 9px}.p-main .orientation-guide-thoughts{gap:6px;padding:8px 8px 6px;top:2px;max-width:174px}.p-main .orientation-thought{min-width:35px;max-width:48px}}
@media(prefers-reduced-motion:reduce){.p-main .orientation-guide-track[data-state="searching"] .orientation-guide-caption{opacity:1}.p-main .orientation-guide-walker{will-change:auto}}
/* Mairi’Lab liquid glass: light, translucent surfaces with restrained lavender reflections. */
.p-main .orientation-guide-caption{background:linear-gradient(140deg,#ffffffb8,#f1e9ff66);border:1px solid #ffffffdf;box-shadow:0 5px 16px #69508d0d,inset 0 1px 1px #fff,inset 0 -1px 2px #b09ace25;backdrop-filter:blur(18px) saturate(155%);-webkit-backdrop-filter:blur(18px) saturate(155%)}
.p-main .orientation-guide-thoughts{background:transparent;border:0;box-shadow:none;backdrop-filter:none;padding:0;gap:10px;top:6px}
.p-main .orientation-thought{gap:5px;min-width:44px;max-width:54px}
.p-main .orientation-thought:nth-child(2){margin-top:-7px}.p-main .orientation-thought:nth-child(3){margin-top:3px}
.p-main .orientation-thought>span{position:relative;width:43px;height:43px;overflow:hidden;border:1px solid #fffffff2;border-radius:50%;background:linear-gradient(135deg,#ffffffe6 0%,#ffffff69 44%,#d9c9f447 100%);box-shadow:0 7px 17px #71609518,inset 0 1px 2px #fff,inset 0 -2px 5px #b19bd528;backdrop-filter:blur(18px) saturate(170%);-webkit-backdrop-filter:blur(18px) saturate(170%)}
.p-main .orientation-thought>span::before{content:'';position:absolute;inset:2px 5px auto;height:13px;border-radius:50%;background:linear-gradient(#ffffffd9,#ffffff00);pointer-events:none}
.p-main .orientation-thought svg{position:relative;width:22px;height:22px;filter:drop-shadow(0 1px 1px #ffffffd9)}
.p-main .orientation-thought small{color:#7c6b98;font-size:9px;text-shadow:0 1px #fff}
.p-main .orientation-guide-thoughts::before,.p-main .orientation-guide-thoughts::after{border-color:#ffffffe6;background:linear-gradient(135deg,#ffffffe0,#ded0f369);box-shadow:0 3px 7px #7d669c15,inset 0 1px 1px #fff;backdrop-filter:blur(9px)}
@media(max-width:700px){.p-main .orientation-guide-thoughts{gap:7px;padding:0;top:6px}.p-main .orientation-thought{min-width:39px}.p-main .orientation-thought>span{width:39px;height:39px}.p-main .orientation-thought small{font-size:8px}}

@media(max-width:700px){.p-main .orientation-shell{padding:8px 0}.p-main .orientation-composer{gap:10px;padding:10px 10px 10px 14px;border-radius:20px}.p-main .orientation-bottom{gap:8px 14px}.p-main .orientation-bottom>span{flex-basis:100%}.p-main #orientation-another{margin-left:0}.p-main .orientation-info{margin-left:auto}.p-main .orientation-info[open]{margin-left:0}.p-main .orientation-result{flex-direction:column;align-items:stretch;gap:16px;padding:20px}.p-main #orientation-open{max-width:none}}
@media(prefers-reduced-motion:reduce){.p-main .orientation-shell *{animation:none!important;transition:none!important}}
/* Thoughts sit close to the temple; only their contents scroll, the glass keeps floating. */
.p-main .orientation-shell.has-guide{padding-top:150px}
.p-main .orientation-guide-caption{bottom:52px;padding:5px 10px;font-size:11px}
.p-main .orientation-guide-thoughts{left:calc(var(--guide-x) + var(--guide-size)*.65);top:17px;gap:6px;align-items:center}
.p-main .orientation-guide-track[data-side="right"] .orientation-guide-thoughts{right:calc(100% - var(--guide-x) - var(--guide-size)*.35)}
.p-main .orientation-thought{min-width:0;max-width:none;gap:0;animation:guide-thought-float 2.8s ease-in-out infinite}
.p-main .orientation-thought:nth-child(2){margin-top:-18px;animation-delay:-1.1s}
.p-main .orientation-thought>span{width:34px;height:34px;background:linear-gradient(135deg,#ffffffb8,#ffffff38 55%,#e8dffb33);border-color:#ffffffbf;box-shadow:0 3px 10px #7160950c,inset 0 1px 1px #ffffffd9;backdrop-filter:blur(12px) saturate(135%);-webkit-backdrop-filter:blur(12px) saturate(135%)}
.p-main .orientation-thought:nth-child(2)>span{width:28px;height:28px}
.p-main .orientation-thought>span::before{height:9px;opacity:.65}
.p-main .orientation-thought i{display:flex;align-items:center;justify-content:center;position:absolute;inset:0;font-style:normal}
.p-main .orientation-thought i.is-rolling{animation:guide-icon-scroll .26s cubic-bezier(.2,.65,.3,1) both}
.p-main .orientation-thought svg{width:19px;height:19px;stroke-width:1.25;color:#8a77b7;filter:none}
.p-main .orientation-thought:nth-child(2) svg{width:16px;height:16px;opacity:.8}
.p-main .orientation-guide-thoughts::before{width:7px;height:7px;bottom:5px;left:-7px}
.p-main .orientation-guide-thoughts::after{width:4px;height:4px;bottom:-1px;left:-13px}
.p-main .orientation-guide-track[data-side="right"] .orientation-guide-thoughts::before{right:-7px;left:auto}
.p-main .orientation-guide-track[data-side="right"] .orientation-guide-thoughts::after{right:-13px;left:auto}
@keyframes guide-thought-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes guide-icon-scroll{from{transform:translateY(12px);opacity:0}to{transform:translateY(0);opacity:1}}
.p-main .orientation-examples summary{cursor:pointer;list-style:none;color:#7964ac}.p-main .orientation-examples summary::-webkit-details-marker{display:none}
.p-main .orientation-bottom:has(.orientation-examples[open]){padding-bottom:8px}
.p-main .orientation-examples[open]{flex-basis:100%;order:4}
.p-main .orientation-examples-list{display:grid;grid-template-columns:1fr 1fr;gap:18px 24px;margin-top:14px;padding:20px;border:1px solid #e9e3f3;border-radius:18px;background:#ffffff99}
.p-main .orientation-examples-list h4{margin:0 0 8px;font-size:12px;font-weight:600;color:#74628e}
.p-main .orientation-examples-list button{display:block;text-align:left;padding:5px 0;border:0;background:transparent;color:#5e6b7d;font:inherit;font-size:12px;line-height:1.5;cursor:pointer}
.p-main .orientation-examples-list button:hover{color:#7059c5;text-decoration:underline;text-underline-offset:3px}
.p-main #orientation-recovery{display:flex;gap:16px;flex-wrap:wrap;margin:10px 6px;font-size:13px}.p-main #orientation-recovery[hidden]{display:none}
@media(max-width:700px){.p-main .orientation-shell.has-guide{padding-top:132px}.p-main .orientation-guide-thoughts{top:14px;gap:5px}.p-main .orientation-guide-caption{bottom:45px;font-size:10px}.p-main .orientation-thought>span{width:30px;height:30px}.p-main .orientation-thought:nth-child(2)>span{width:25px;height:25px}.p-main .orientation-examples-list{grid-template-columns:1fr;gap:14px;padding:16px}.p-main .orientation-info{margin-left:0}}
@media(prefers-reduced-motion:reduce){.p-main .orientation-thought,.p-main .orientation-thought i.is-rolling{animation:none!important}}
/* The logo changes with its exact body frame, with no independent interpolation. */
.p-main .orientation-guide-logo{transform:translate(-50%,-50%) rotate(var(--logo-rotate,0deg)) scaleX(var(--guide-facing,1)) scaleY(var(--logo-depth,1));transform-origin:center;transition:none!important;animation:none!important}
.p-main .orientation-guide-pose{transition:none!important}
