/* THBN retro space-age remote skin + HBN starburst badge (Leo add-on). Self-contained: load after
   /brand/remote/remote.css and /styles.css. Day = white body, navy keys; night (html[data-theme="night"]) = black
   body, white keys. Sparing amber on CH keys and the LED. Restyles #tv-remote only; nothing is positioned over the player. */
.tv-remote.remote {
  --lr-bg: #ffffff; --lr-fg: #172554; --lr-rule: #d6dae8; --lr-amber: #f5a524;
  --remote-body: var(--lr-bg); --remote-button: var(--lr-bg); --remote-button-text: var(--lr-fg);
  --remote-accent: var(--lr-amber); --remote-led: var(--lr-amber); --remote-rule: var(--lr-rule);
  width: 176px; padding: 18px 14px 20px; border-radius: 88px 88px 28px 28px;
  background: var(--lr-bg); color: var(--lr-fg); border: 1px solid var(--lr-fg);
  box-shadow: 0 0 0 5px var(--lr-bg), 0 0 0 6px var(--lr-rule);
  background-image: repeating-linear-gradient(90deg, var(--lr-rule) 0 1px, transparent 1px 8px);
  background-size: 60% 6px; background-position: center 14px; background-repeat: no-repeat;
}
html[data-theme="night"] .tv-remote.remote { --lr-bg: #000000; --lr-fg: #ffffff; --lr-rule: #3a3a3a; }
.tv-remote .remote-btn {
  background: var(--lr-bg); color: var(--lr-fg); border: 1px solid color-mix(in srgb, var(--lr-fg) 60%, transparent);
  border-radius: 999px; box-shadow: none; font-weight: 700; letter-spacing: .1em;
}
.tv-remote .remote-btn:hover { background: color-mix(in srgb, var(--lr-fg) 10%, var(--lr-bg)); }
.tv-remote .remote-btn:focus-visible { outline: 2px solid var(--lr-amber); outline-offset: 2px; }
.tv-remote .remote-btn-ch-up, .tv-remote .remote-btn-ch-down { border-color: var(--lr-amber); }
.tv-remote .remote-led { box-shadow: 0 0 0 2px var(--lr-bg), 0 0 0 3px var(--lr-rule); }
/* HBN starburst badge: small, at the top, above every button. Gold color is set in styles.css.
   Mask is /leo/brand/mark-remote.svg — same 14-ray geometry as mark-current.svg, heavier stroke. */
.tv-remote .remote-top { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tv-remote .remote-mark {
  display: block; width: 40px; height: 40px; flex: 0 0 auto; pointer-events: none; background-color: var(--lr-fg);
  -webkit-mask: url(/leo/brand/mark-remote.svg?v=gold4) center / contain no-repeat; mask: url(/leo/brand/mark-remote.svg?v=gold4) center / contain no-repeat;
}
