/* Add after the existing TV styles. Host is a sibling of the WebGL canvas. */
.wall-tv-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:2;isolation:isolate;contain:layout paint}
.wall-tv-layer .wall-tv-display{position:absolute;left:0;top:0;inset:auto;transform-origin:0 0;will-change:transform;width:640px;height:360px;min-width:0;min-height:0;max-width:none;max-height:none;aspect-ratio:auto;border:0;border-radius:0;overflow:visible;pointer-events:auto;background:#090d11;box-sizing:border-box}
.wall-tv-layer .tv-player-slot,.wall-tv-layer .tv-player-slot iframe{position:absolute;inset:0;display:block;width:100%;height:100%;border:0}
.wall-tv-layer [hidden]{display:none!important}
/* Keep all app buttons/status OUTSIDE the transformed player rectangle. */
.wall-tv-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.wall-tv-actions button{min-height:44px}
.wall-tv-status{font-size:12px;line-height:1.45}
.wall-tv-chrome{position:absolute;height:44px;display:flex;gap:0;align-items:stretch;pointer-events:auto;background:#142526;border:1px solid #6e8983;border-radius:8px 8px 0 0;box-sizing:border-box;z-index:3}
.wall-tv-chrome button{min-width:44px;min-height:42px;padding:4px 10px;border:0;border-radius:0;background:transparent;color:#f4f1e8;flex:none;font-size:20px;line-height:1}
.wall-tv-chrome .wall-tv-move{flex:1;text-align:left;font-size:14px;font-weight:700;cursor:grab;touch-action:none}
.wall-tv-chrome .wall-tv-move:active{cursor:grabbing}
.wall-tv-chrome button:hover,.wall-tv-chrome button:focus-visible{background:#33574f}
.wall-tv-resize{position:absolute;width:44px;height:24px;min-height:24px;min-width:44px;padding:0;border:1px solid #6e8983;border-radius:0 0 6px 6px;background:#142526;color:#fff;cursor:nwse-resize;touch-action:none;pointer-events:auto;z-index:3}
.wall-tv-adjusting{pointer-events:none!important}
/* Existing scene controls may have a higher stacking layer, but their bounds must
   be included in the presentation blocked/overlap gate; never cover the iframe. */
