/* landscape-shell.css: static side panels in the unused letterbox beside the square field canvas (keyboard / controller, landscape only).
   Never touches the field size: the band width is the canvas offset SliceRenderer.layout() already writes (--map-left), so a screen with no spare width gets 0px bands.
   Loads after elvi-console.css, unlayered. Art: assets/ui/landscape-shell-2026-10-20 (right edge of each image meets the canvas; the right band is mirrored). */

.ui-shell { display: none; }

@media (orientation: landscape) {
  html[data-input="kbm"]:not([data-native-frame]):not([data-inspect="1"]) .ui-map.slice-on > .ui-shell,
  html[data-input="pad"]:not([data-native-frame]):not([data-inspect="1"]) .ui-map.slice-on > .ui-shell {
    display: block; position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
    --shell-img: url("../../../assets/ui/landscape-shell-2026-10-20/liz-shell-side-v1.webp"); --shell-fill: #cec2ae;
  }
  html[data-protagonist="elvi"][data-input]:not([data-native-frame]):not([data-inspect="1"]) .ui-map.slice-on > .ui-shell {
    --shell-img: url("../../../assets/ui/landscape-shell-2026-10-20/elvi-shell-side-v1.webp"); --shell-fill: #070f0a;
  }
  .ui-shell > i {
    position: absolute; top: 0; bottom: 0; width: max(0px, var(--map-left, 0px)); pointer-events: none;
    background: var(--shell-fill) var(--shell-img) right center / auto 100% no-repeat;
  }
  .ui-shell__l { left: 0; }
  .ui-shell__r { right: 0; transform: scaleX(-1); }
}

/* GB keeps the touch deck on coarse-pointer screens even during a transient mouse input. */
@media (orientation: landscape) and (pointer: coarse) {
  html[data-skin="gb"][data-input="kbm"] .ui-map.slice-on > .ui-shell { display: none !important; }
}
