/*! © 2026 Nuvira Technologies, LLC. All rights reserved. WonderWise, its tutors, artwork, voices, lessons and software may not be copied, scraped or reused. See /terms. */
.koa-stage { position:relative;isolation:isolate;overflow:visible;background:#fff; }
.koa-character-canvas,.koa-master-fallback { position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;pointer-events:none; }
.koa-character-canvas[hidden],.koa-master-fallback[hidden] { display:none !important; }
/* Laptop and tablet: the tutor fills the column above the chat box, which sits at the bottom of the
   column (its bottom edge lines up with the whiteboard's). Layout only; the avatar rig fits itself to the stage. */
@media (min-width:761px){
  .classroom .teacher-column .teacher-panel { flex:1 1 auto; aspect-ratio:auto; height:auto; min-height:0; }
  .classroom .teacher-column .character-space { flex:1 1 0; height:100%; }
  .classroom .teacher-column #koa-stage { width:100%; height:100%; aspect-ratio:auto; }
  .classroom .teacher-column .conversation-area { margin-top:auto; margin-bottom:clamp(16px,3.5vh,36px); }
}
