/*
 * Ekoloko World — room stays visible while typing on a phone (v1).
 * Global sheet, linked after eko-world-mobile.v6.css. Versioned in the file name:
 * never edit in place, ship vN+1. The behaviour and the defect it fixes are
 * documented in eko-world-keyboard.v1.js.
 *
 * Only on a coarse-pointer device, and only while the room chat holds focus, the
 * room canvas shrinks toward its top edge to the visible viewport height (the
 * scale is computed by the script and written to --eko-room-k). Nothing here is
 * active on a mouse device, and the rule matches nothing once the field blurs.
 */
@media (pointer: coarse) {
  html.eko-typing canvas.eko-typing-canvas {
    transform-origin: 50% 0;
    transform: scale(var(--eko-room-k, 0.55));
    will-change: transform;
  }
}
