/* 2026-10-25 classroom-body PREVIEW: full-body Lola. Loaded AFTER ask.css; everything is scoped to .askx-body so the
   current chest-up classroom (.askx-room) is untouched when this class is absent.
   Geometry of /static/site/real-lola/classroom-body/still.jpg (16:9): Lola x 34-75% (centre 51%), bow at y 15%, paws end y 89%,
   chalkboard x 54-98% / y 0-29%. --h = stage height; the stage is placed so her paws sit just above the measured dock (--dock),
   and the last 11% of the picture (empty floor) hides behind the dock. */
.askx-body{--dock:190px;--top:96px;--h:min(calc((100vh - var(--dock))/.89),56.25vw);--h:min(calc((100dvh - var(--dock))/.89),56.25vw);background:#3a2a1c;overflow:hidden}
.askx-body .room-bg{position:absolute;inset:-40px;background:url(/static/site/real-lola/classroom-body/bg.jpg) center/cover;filter:blur(18px) saturate(1.05)}
.askx-body .room-stage{position:absolute;left:50%;transform:translateX(-50%);top:auto;bottom:calc(var(--dock) - .11*var(--h));height:var(--h);width:auto;aspect-ratio:16/9;pointer-events:none;--u:calc(var(--h)/100)}
.askx-body .room-stage:before{content:"";position:absolute;left:-20%;right:-20%;top:0;bottom:0;background:url(/static/site/real-lola/classroom-body/bg-wide.jpg) 0 0/100% 100% no-repeat}
.askx-body .room-art{position:absolute;inset:0;-webkit-mask-image:linear-gradient(to right,transparent,#000 2.5%,#000 97.5%,transparent),linear-gradient(to bottom,#000 90%,transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(to right,transparent,#000 2.5%,#000 97.5%,transparent),linear-gradient(to bottom,#000 90%,transparent);mask-composite:intersect}
.askx-body .room-still{position:absolute;inset:0;background:url(/static/site/real-lola/classroom-body/still.jpg) center/100% 100% no-repeat}
.askx-body .room-stage .ask-face{position:absolute;inset:0;width:auto;height:auto;margin:0}
.askx-body .ask-glow,.askx-body .ask-blink,.askx-body .ask-wave,.askx-body #askImg{display:none}
.askx-body .ask-vids{position:absolute;inset:0;left:0;top:0;right:0;bottom:0;width:auto;height:auto;border-radius:0;background:none;box-shadow:none;-webkit-mask-image:none;mask-image:none;display:block}
.askx-body .ask-face[data-state=listen] .ask-vids{box-shadow:none}
.askx-body .ask-vids video{transition:opacity .35s}
/* school logo card on the right chalkboard */
.askx-body .room-logo{position:absolute;left:65%;top:12%;width:19%;padding:calc(var(--u)*1.2) calc(var(--u)*1.5);background:#fff;border-radius:calc(var(--u)*.6);transform:rotate(-1.5deg);box-shadow:0 calc(var(--u)*.5) calc(var(--u)*1.4) rgba(0,0,0,.4)}
.askx-body .room-logo img{width:100%;display:block}
.askx-body .room-logo:before{content:"";position:absolute;top:calc(var(--u)*-.6);left:50%;width:calc(var(--u)*1.3);height:calc(var(--u)*1.3);border-radius:50%;background:#c0392b;box-shadow:0 2px 3px rgba(0,0,0,.33)}
/* phone: show Lola (centre 51%) at ~85% of the screen width, picture centred on her; the rest of the room is the blurred backdrop */
@media (max-width:600px){
  .askx-body{background:#3a2a1c;--h:min(calc((100vh - var(--dock) - var(--top))/.89),116vw);--h:min(calc((100dvh - var(--dock) - var(--top))/.89),116vw)}
  .askx-body .room-bg{display:block;background-image:url(/static/site/real-lola/classroom-body/bg-top.jpg);background-size:100% 100%;filter:none}
  .askx-body .room-stage{left:calc(50vw - .51*var(--h)*1.7778);transform:none;width:calc(var(--h)*1.7778);max-width:none}
  .askx-body .room-art{-webkit-mask-image:linear-gradient(to bottom,transparent,#000 7%,#000 90%,transparent);mask-image:linear-gradient(to bottom,transparent,#000 7%,#000 90%,transparent)}
  .askx-body .room-art:after{display:none}
  .askx-body .room-stage:before{display:none}
  .askx-body .room-logo{position:fixed;left:auto;right:12px;top:calc(var(--top) + 4px);width:32vw;padding:7px 9px;border-radius:6px}
  .askx-body .room-logo:before{top:-5px;width:9px;height:9px}
  .askx-body .askx-stage{background:linear-gradient(to top,rgba(14,22,52,.94),rgba(14,22,52,.84) 72%,rgba(14,22,52,.45))}
  .askx-body .askx-hint{color:#fff!important;text-shadow:0 1px 4px rgba(0,0,0,.7)}
}
