body.coma-lobby[data-role=customer][data-lobby=gallery]:not(.space-session) {
  background:#091410 linear-gradient(0deg,#04091291,transparent 70%) fixed;
  background-image:linear-gradient(0deg,#04091291,transparent 70%),url('/consultation-assets/textures/lobby-starfield.webp');
  background-size:cover; background-position:63% 36%;
}
.choosing-oracle .lobby-header { border-bottom-color:transparent; }
#galleryWorld { display:none; position:fixed; inset:0; z-index:0; }
body:has(#requestPanel:not([hidden]) #oraclePicker:not([hidden])) #galleryWorld { display:block; }
body:not(.lobby-journey):has(#requestPanel:not([hidden]) #oraclePicker:not([hidden])) :is(.lobby-header,.customer-layout) { position:relative; z-index:1; pointer-events:none; }
body:not(.lobby-journey):has(#requestPanel:not([hidden]) #oraclePicker:not([hidden])) :is(.lobby-header a,.lobby-header button,.oracle-spotlight,.master-listing,.gallery-nav,#reconnect,.error,.notice) { pointer-events:auto; }
#galleryWorld:not(.garden-world):not(.world-ready) canvas { opacity:0; }
#galleryWorld::after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(0deg,#06141059,transparent 75%); }
.coma-lobby .coma-wordmark { white-space:nowrap; }
@media(max-width:560px) {
  .choosing-oracle .lobby-header { gap:5px; padding-inline:16px; }
  .choosing-oracle .coma-wordmark { font-size:25px; letter-spacing:-.05em; }
}
.choosing-oracle .customer-layout:has(#oraclePicker:not([hidden])) { max-width:none; margin:0; padding:0; }
.choosing-oracle #requestPanel:has(#oraclePicker:not([hidden])) { padding:0; }
#oraclePicker { --card-width:clamp(60px,16vw,88px); --gap:clamp(5px,1.2vw,18px); padding:clamp(12px,2.8svh,32px) 0 max(15px,env(safe-area-inset-bottom)); }
#oraclePicker .oracle-picker-heading { padding:0; flex-direction:column; gap:2px; text-align:center; }
#oraclePickerTitle { font:400 clamp(15px,2vw,20px)/1.4 var(--serif); color:#fff2e6; }
#oracleAvailableCount { color:#fae2e8; font:12px/1.4 var(--sans); text-shadow:0 1px 8px #241726; }

:is(.master-listing,.oracle-detail,.oracle-spotlight)[data-tone=apricot] { --glass-color:255 172 98; --glass-depth:110 55 39; }
:is(.master-listing,.oracle-detail,.oracle-spotlight)[data-tone=jade] { --glass-color:114 236 195; --glass-depth:27 74 73; }
:is(.master-listing,.oracle-detail,.oracle-spotlight)[data-tone=lilac] { --glass-color:195 161 255; --glass-depth:72 47 98; }
:is(.master-listing,.oracle-detail,.oracle-spotlight)[data-tone=rose] { --glass-color:255 145 174; --glass-depth:101 47 75; }
:is(.master-listing,.oracle-detail,.oracle-spotlight)[data-tone=sky] { --glass-color:128 203 255; --glass-depth:33 63 102; }
.oracle-spotlight {
  --portrait-size:clamp(112px,23svh,216px);
  position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center;
  width:min(calc(100% - 34px),430px); min-height:calc(var(--portrait-size) + 134px); margin:5px auto 0;
  text-align:center; color:#fff0e1; text-shadow:0 1px 4px #261624,0 1px 14px #211524;
}
:is(.oracle-spotlight,#oracleChoices,#oracleCardFlight) [hidden] { display:none; }
.oracle-spotlight .oracle-sigil,
:is(#oracleChoices,#oracleCardFlight) .oracle-choice .oracle-sigil {
  position:relative; isolation:isolate; display:grid; place-items:center; aspect-ratio:1; height:auto; overflow:visible; border-radius:0; background:none;
}
.oracle-spotlight .oracle-sigil { width:var(--portrait-size); margin:0 auto -4px; }
.oracle-spotlight .oracle-sigil::before {
  content:""; position:absolute; z-index:-1; inset:-17% -38%; pointer-events:none;
  background:radial-gradient(ellipse 50% 49% at 50% 46%,#fff2c73d,transparent 76%),radial-gradient(ellipse 44% 49% at 50% 49%,rgb(var(--glass-color,195 161 255) / .47),transparent 100%);
}
:is(.oracle-spotlight,#oracleChoices,#oracleCardFlight) .oracle-sigil :is(canvas,img) { grid-area:1/1; width:100%; height:100%; aspect-ratio:1; object-fit:contain; }
:is(.oracle-spotlight,#oracleChoices,#oracleCardFlight) .oracle-sigil img:not([data-ready=true]),
:is(.oracle-spotlight,#oracleChoices,#oracleCardFlight) .oracle-sigil:has(img[data-ready=true]:not([hidden])) canvas { visibility:hidden; }
.oracle-spotlight .oracle-sigil canvas { filter:drop-shadow(0 0 11px rgb(var(--glass-color,195 161 255) / .55)); }
.oracle-spotlight .oracle-sigil img { width:95%; height:95%; object-fit:cover; border-radius:50%; mask-image:radial-gradient(circle,#000 50%,#000 61%,transparent 72%); }
.oracle-spotlight h3 { max-width:100%; margin:0; overflow:hidden; color:#fff6e7; font:400 clamp(25px,7vw,46px)/1.24 var(--serif); letter-spacing:-.035em; white-space:nowrap; text-overflow:ellipsis; }
.oracle-spotlight p { margin:4px 0 0; }
.oracle-spotlight .spotlight-shop,.oracle-spotlight .spotlight-bio { max-width:100%; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; color:#ffebee; font:13px/1.45 var(--sans); }
.spotlight-state { color:#fff1e7; font:13px/1.5 var(--sans); }
.spotlight-state[data-available=true]::before { content:""; display:inline-block; width:5px; height:5px; margin-right:6px; vertical-align:.18em; border-radius:50%; background:#e2f3bd; box-shadow:0 0 7px #e1f3bd83; }
.spotlight-actions { display:flex; justify-content:center; gap:4px 16px; flex-wrap:wrap; }
.spotlight-actions button { min-height:44px; padding:0 4px; border:0; background:none; color:#fff2da; font:500 13px var(--sans); text-shadow:inherit; }
.spotlight-actions .spotlight-open span { margin-left:3px; }
.spotlight-actions .spotlight-reviews { color:#ffeadb; }
.spotlight-actions button:hover:enabled { text-decoration:underline; text-underline-offset:4px; }

#oracleChoices {
  position:relative; display:flex; align-items:center; gap:var(--gap); max-width:calc(5 * var(--card-width) + 4 * var(--gap)); margin:5px auto 0; overflow:auto hidden; padding:8px 0 9px;
  overscroll-behavior-x:contain; scrollbar-width:none; isolation:isolate; overflow-anchor:none; -webkit-tap-highlight-color:transparent;
  user-select:none; pointer-events:auto; touch-action:pan-y pinch-zoom;
}
#oracleChoices::-webkit-scrollbar { display:none; }
#oracleChoices::before,#oracleChoices::after { content:""; flex:0 0 calc((100% - var(--card-width)) / 2 - var(--gap)); }
#oracleChoices:empty { display:none; }
#oracleChoices.is-dragging,#oracleChoices.is-dragging * { cursor:grabbing; }
#oracleChoices img { -webkit-user-drag:none; }
:is(#oracleChoices,#oracleCardFlight) .master-listing { position:relative; flex:0 0 var(--card-width); min-width:0; border:0; pointer-events:auto; }
:is(#oracleChoices,#oracleCardFlight) .oracle-choice {
  display:flex; justify-content:center; align-items:center; flex-direction:column; gap:2px; width:100%; min-height:80px; padding:4px 2px;
  border:0; border-radius:15px; background:none; color:#fff0e3; text-align:center; text-shadow:0 1px 5px #251728,0 1px 7px #211927;
}
:is(#oracleChoices,#oracleCardFlight) .oracle-choice strong { width:100%; min-width:0; overflow:hidden; font:500 12px/1.45 var(--sans); white-space:nowrap; text-overflow:ellipsis; }
:is(#oracleChoices,#oracleCardFlight) .oracle-choice .oracle-sigil { width:clamp(38px,11vw,54px); transform:translateY(var(--drop,0px)) rotateY(var(--tilt,0deg)) scale(var(--scale,1)); }
:is(#oracleChoices,#oracleCardFlight) .oracle-choice .oracle-sigil img { width:88%; height:88%; border-radius:50%; object-fit:cover; }
:is(#oracleChoices,#oracleCardFlight) .oracle-choice .oracle-sigil::before { content:""; position:absolute; z-index:-1; inset:-23%; background:radial-gradient(circle,rgb(var(--glass-color,195 161 255) / .41),transparent 67%); opacity:.45; }
:is(#oracleChoices,#oracleCardFlight) .is-current .oracle-sigil::before { opacity:1; }
:is(#oracleChoices,#oracleCardFlight) .master-listing:not(.is-current) .oracle-choice { opacity:.78; }
#oracleChoices .oracle-choice:hover:enabled { opacity:1; }
#oracleChoices .oracle-choice:focus-visible { outline-offset:-2px; }

.gallery-nav { display:flex; justify-content:center; align-items:center; gap:14px; }
.gallery-nav button { width:44px; min-height:44px; padding:0; background:none; color:#fff1de; border:0; font-size:19px; }
#galleryPosition { color:#f5dfe3; font-size:12px; font-variant-numeric:tabular-nums; letter-spacing:.09em; }
.oracle-empty { text-align:center; }
#oraclePicker:not([hidden]) { animation:iris-arrival .52s cubic-bezier(.2,.78,.2,1) both; }
@keyframes iris-arrival { from { opacity:0; translate:0 10px; } to { opacity:1; translate:none; } }
#loading { animation:iris-loading .65s backwards; }
@keyframes iris-loading { 0%,65% { opacity:0; } }
@media(max-height:520px) and (min-width:620px) {
  #oraclePicker { max-width:900px; margin-inline:auto; padding:5px 14px 10px; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); grid-template-areas:"heading heading" "profile cards" "profile pager" "empty empty"; align-items:center; }
  .oracle-picker-heading { grid-area:heading; }
  .oracle-spotlight { --portrait-size:105px; grid-area:profile; min-height:215px; margin-top:0; }
  #oracleChoices { grid-area:cards; width:100%; min-width:0; align-self:end; }
  .gallery-nav { grid-area:pager; justify-self:center; align-self:start; }
  .oracle-empty { grid-area:empty; }
}
@media(prefers-reduced-motion:reduce) {
  :is(#oracleChoices,#oracleCardFlight) .oracle-choice .oracle-sigil { transform:none; }
  #loading,#oraclePicker:not([hidden]),#customerIntake:not([hidden]) { animation-duration:.01s; }
}

#oracleCardFlight { position:fixed; inset:0; z-index:5; pointer-events:none; overflow:hidden; }
#oracleCardFlight :is(.oracle-spotlight,.master-listing) { position:absolute; margin:0; pointer-events:none; }
#oracleCardFlight .master-listing { transform-origin:center; }
#customerIntake.oracle-in-flight { opacity:0; }
.oracle-gallery-returning :is(#oracleChoices,#oracleSpotlight) { visibility:hidden; }
@media(prefers-reduced-motion:no-preference){
  .oracle-gallery-returning :is(.oracle-picker-heading,.gallery-nav) { animation:oracle-gallery-return-labels .32s .23s ease-out both; }
  @keyframes oracle-gallery-return-labels { from { opacity:0; } to { opacity:1; } }
}
