/* DRAFT: existing illustrated objects surround the unchanged approved mark.
   The cup uses one cell of the preserved cafe-props atlas; no raster editing. */
.bubble-theme .depth-objects{position:absolute;inset:0;pointer-events:none}
.bubble-theme .depth-object{position:absolute;display:grid;justify-items:center;align-content:start;gap:8px;pointer-events:auto;appearance:none;border:0;border-radius:20px;padding:7px;background:transparent;color:var(--pop-ink);font:inherit;cursor:pointer;touch-action:manipulation}
.bubble-theme .depth-object:disabled{cursor:default;opacity:1}
.bubble-theme .depth-object-art{display:block;width:100%;height:auto;filter:drop-shadow(4px 8px 5px #173e3724);transition:translate 220ms ease,rotate 220ms ease,filter 220ms ease}
.bubble-theme .depth-object-label{font:600 15px/1.2 var(--friendly);white-space:nowrap;text-shadow:0 2px 0 #ffffffa3}
.bubble-theme .depth-object[aria-expanded=true]{z-index:5}
.bubble-theme .depth-object[aria-expanded=true] .depth-object-label{text-decoration:underline;text-decoration-color:#7040a66b;text-underline-offset:5px}
.bubble-theme .depth-object[aria-expanded=true] .depth-object-art{filter:drop-shadow(4px 10px 5px #173e3736)}
.bubble-theme .depth-seat{left:6%;bottom:13%;width:clamp(130px,14vw,180px);rotate:0deg}
.bubble-theme .depth-cup{left:14%;top:3%;width:clamp(115px,11vw,145px);rotate:0deg}
.bubble-theme .depth-cup-art{aspect-ratio:1;background-image:url('../assets/DRAFT_cafe-props-640.webp');background-size:300% 200%;background-position:0 0;background-repeat:no-repeat}
.bubble-theme .depth-curiosity{right:5%;top:5%;width:clamp(145px,16vw,205px);rotate:0deg}
.bubble-theme .depth-notebook{right:7%;bottom:7%;width:clamp(130px,14vw,175px);rotate:0deg}
.bubble-theme .depth-object-popover{--bubble-fill:#f8dbf0;position:absolute;left:0;bottom:calc(100% + 12px);width:200px;box-sizing:border-box;padding:16px 18px;border:1px solid #173e3724;border-radius:24px 25px 22px 9px;background:var(--bubble-fill);color:#173e37;font:600 18px/1.25 var(--friendly);text-align:left;box-shadow:3px 5px 0 #173e3729,0 10px 24px #173e3710;isolation:isolate;animation:object-pop-in 180ms ease-out both}
.bubble-theme .depth-object-popover[hidden]{display:none}
.bubble-theme .depth-object-popover::before{content:"";position:absolute;left:24px;bottom:-7px;width:12px;height:12px;background:var(--bubble-fill);border-right:1px solid #173e3724;border-bottom:1px solid #173e3724;transform:rotate(45deg)}
/* The transparent bridge keeps a hover preview open while entering its bubble. */
.bubble-theme .depth-object-popover::after{content:"";position:absolute;inset:100% 0 auto;height:14px;background:transparent}
.bubble-theme .depth-curiosity .depth-object-popover,.bubble-theme .depth-notebook .depth-object-popover{left:auto;right:0;border-radius:25px 24px 9px 22px}
.bubble-theme .depth-curiosity .depth-object-popover::before,.bubble-theme .depth-notebook .depth-object-popover::before{left:auto;right:24px}
.bubble-theme .depth-cup .depth-object-popover{--bubble-fill:#f9df88}
.bubble-theme .depth-curiosity .depth-object-popover{--bubble-fill:#ddd0f5}
.bubble-theme .depth-seat .depth-object-popover{--bubble-fill:#f8d3e2}
.bubble-theme .depth-notebook .depth-object-popover{--bubble-fill:#d6e7fc}
.bubble-theme :is(.depth-seat,.depth-notebook) .depth-object-popover{bottom:auto;top:calc(100% + 10px);border-radius:9px 24px 25px 22px}
.bubble-theme :is(.depth-seat,.depth-notebook) .depth-object-popover::before{bottom:auto;top:-7px;transform:rotate(225deg)}
.bubble-theme :is(.depth-seat,.depth-notebook) .depth-object-popover::after{inset:auto 0 100%}
@keyframes object-pop-in{from{opacity:0;translate:0 5px;scale:.94}to{opacity:1;translate:0 0;scale:1}}
.bubble-theme.playful-mode .depth-object:is(:hover,:focus-visible) .depth-object-art{translate:0 -9px;rotate:-4deg;filter:drop-shadow(5px 15px 8px #173e3736)}
.bubble-theme.playful-mode .depth-object:active .depth-object-art{translate:0 2px;rotate:0deg}
.bubble-theme:is(.static-mode,.is-static,.ambient-suspended) .depth-object-art{transition:none!important;translate:none!important;rotate:none!important}
@media(min-width:701px) and (max-width:950px){
 .bubble-theme .depth-art{height:min(48svh,485px)}
 .bubble-theme .depth-seat{left:0;width:120px;bottom:10%}
 .bubble-theme .depth-cup{left:4%;width:110px;top:5%}
 .bubble-theme .depth-curiosity{right:0;width:130px;top:6%}
 .bubble-theme .depth-notebook{right:1%;width:120px;bottom:7%}
 .bubble-theme .depth-object-label{font-size:16px}
}
@media(min-width:701px) and (max-height:760px){
 .bubble-theme .depth-seat{width:120px;bottom:4%}
 .bubble-theme .depth-cup{width:100px;top:0}
 .bubble-theme .depth-curiosity{width:140px;top:0}
 .bubble-theme .depth-notebook{width:110px;bottom:3%}
 .bubble-theme .depth-object-label{font-size:16px}
 .bubble-theme .depth-object-popover{font-size:16px;padding:12px 14px}
 .bubble-theme :is(.depth-cup,.depth-curiosity) .depth-object-popover{bottom:auto;top:calc(100% + 10px)}
 .bubble-theme :is(.depth-cup,.depth-curiosity) .depth-object-popover::before{bottom:auto;top:-7px;transform:rotate(225deg)}
 .bubble-theme :is(.depth-cup,.depth-curiosity) .depth-object-popover::after{inset:auto 0 100%}
 .bubble-theme :is(.depth-seat,.depth-notebook) .depth-object-popover{top:auto;bottom:calc(100% + 12px)}
 .bubble-theme :is(.depth-seat,.depth-notebook) .depth-object-popover::before{top:auto;bottom:-7px;transform:rotate(45deg)}
 .bubble-theme :is(.depth-seat,.depth-notebook) .depth-object-popover::after{inset:100% 0 auto}
}
@media(min-width:951px) and (max-height:760px){
 .bubble-theme .depth-cup{left:6%}
 .bubble-theme .depth-object .depth-object-popover{width:160px;font-size:16px;padding:13px 15px;top:calc(50% - 38px);bottom:auto;left:calc(100% + 10px);right:auto;border-radius:24px}
 .bubble-theme .depth-object .depth-object-popover::before{top:28px;bottom:auto;left:-7px;right:auto;transform:rotate(135deg)}
 .bubble-theme .depth-object .depth-object-popover::after{inset:0 100% 0 auto;width:12px;height:auto}
 .bubble-theme :is(.depth-curiosity,.depth-notebook) .depth-object-popover{right:calc(100% + 10px);left:auto}
 .bubble-theme :is(.depth-curiosity,.depth-notebook) .depth-object-popover::before{left:auto;right:-7px;transform:rotate(-45deg)}
 .bubble-theme :is(.depth-curiosity,.depth-notebook) .depth-object-popover::after{inset:0 auto 0 100%}
}
@media(min-width:701px) and (max-width:950px) and (max-height:760px){
 .bubble-theme .depth-seat{width:100px}
 .bubble-theme .depth-cup{width:clamp(70px,calc(25svh - 90px),85px);grid-template-columns:minmax(0,1fr)}
 .bubble-theme .depth-curiosity{width:110px}
 .bubble-theme .depth-notebook{width:85px}
}
@media(max-width:700px){
 .bubble-theme .depth-mark{padding:28px 0 87px}
 .bubble-theme .depth-art{height:min(37svh,315px);max-width:67%}
 .bubble-theme .depth-object{padding:4px;gap:2px;border-radius:13px}
 .bubble-theme .depth-object-label{font-size:12px}
 .bubble-theme .depth-seat{left:0;bottom:22%;width:73px;rotate:0deg}
 .bubble-theme .depth-cup{left:0;top:13%;width:75px;rotate:0deg}
 .bubble-theme .depth-curiosity{right:0;top:13%;width:79px;rotate:0deg}
 .bubble-theme .depth-notebook{right:0;bottom:24%;width:74px;rotate:0deg}
 .bubble-theme .depth-object-popover{width:158px;padding:12px 14px;font-size:16px;line-height:1.25;bottom:calc(100% + 9px);box-shadow:2px 4px 0 #173e3729,0 8px 18px #173e3710}
 .bubble-theme .practice-scene .object-listen{width:86%;max-width:280px;bottom:12%}
}
@media(max-width:360px){
 .bubble-theme .depth-mark{padding:28px 0 79px}
 .bubble-theme .depth-art{height:min(33svh,245px);max-width:65%}
 .bubble-theme .depth-seat{width:62px;bottom:26%;left:0}
 .bubble-theme .depth-cup{width:63px;left:0;top:10%}
 .bubble-theme .depth-curiosity{width:66px;right:0;top:10%}
 .bubble-theme .depth-notebook{width:63px;right:0;bottom:27%}
 .bubble-theme .depth-object-label{font-size:11px}
 .bubble-theme .depth-object-popover{width:150px;font-size:15px;padding:11px 13px}
}
@media(prefers-reduced-motion:reduce){.bubble-theme .depth-object-art{transition:none!important;translate:none!important;rotate:none!important}.bubble-theme .depth-object-popover{animation:none}}
