/* TV remote focus highlight (playtest note #15). On only in remote mode
   (body.remote, set by tv-nav.js).
   Many controls are cut into shapes (torn tape, paper notes) with clip-path,
   which also cuts off any outline or shadow on them. So the highlight is a
   separate floating frame (#tvFocusRing) that tv-nav.js lays over the focused
   control: a thick yellow border with a dark halo, visible on light steel and
   dark buttons alike. The control itself just grows a little. */
body.remote :focus { outline: none !important; }
body.remote :focus:not(select) { scale: 1.06; transition: scale .12s ease-out; }

#tvFocusRing {
  position: fixed; z-index: 9999; pointer-events: none; display: none;
  border: 6px solid #ffd400; border-radius: 14px;
  box-shadow: 0 0 0 4px rgba(20, 20, 20, .7), 0 0 28px 10px rgba(255, 212, 0, .85), inset 0 0 0 3px rgba(20, 20, 20, .5);
  transition: left .12s ease-out, top .12s ease-out, width .12s ease-out, height .12s ease-out;
}
/* Steady, no looping pulse: the Philips TV is weak (see tv-lite notes). */
body.remote #tvFocusRing.on { display: block; }
