/* HBN-only triangle chrome. Loaded after /leo/popup.css and /leo/remote.css so it wins on this site.
   Those Leo files are left unchanged; CJ keeps the gold pulsar. Nothing here is laid over the video player. */

#leo-pop-mark {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background: url(/brand/hbn-triangle/hbn-triangle-256.png?v=tri1) center/contain no-repeat;
  background-color: transparent;
  -webkit-mask: none;
  mask: none;
  filter: none;
}

body .tv-remote .remote-mark,
html[data-theme="day"] .tv-remote .remote-mark,
html[data-theme="night"] .tv-remote .remote-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  pointer-events: none;
  background: url(/brand/hbn-triangle/hbn-triangle-256.png?v=tri1) center/contain no-repeat;
  background-color: transparent;
  -webkit-mask: none;
  mask: none;
  filter: none;
}

/* Night-mode yellow square: assets are already true-RGBA (corners alpha 0). The fill came from CSS.
   styles.css has html[data-theme="night"] body.tv-mode .tvb-badge { background-color: #D4A537 }
   which is more specific than the later triangle override, so the gold painted a square behind
   the transparent PNG. Raise specificity here; do not use the background shorthand so the
   triangle image stays. Same override covers other triangle marks just in case a gold fill
   is reapplied. Start-button gold border (.dk-start-b in registry-desktop.css:66) is button
   chrome around icon+label, not a square on the mark — left alone. */
html[data-theme="night"] body.tv-mode .tv-topbar .tvb-badge,
html[data-theme="night"] body.tv-mode .tvb-badge,
html[data-theme="day"] body.tv-mode .tv-topbar .tvb-badge,
html[data-theme="night"] .hbn-news-head .hbn-news-mark,
html[data-theme="night"] #leo-pop-mark,
html[data-theme="night"] .ms-mark,
html[data-theme="night"] .dk-start-b .dk-ico,
html[data-theme="night"] .dk-tb .dk-ico,
html[data-theme="night"] .dk-icon img {
  background-color: transparent;
  -webkit-mask-image: none;
  mask-image: none;
}

/* HBN-only: hide the amber/orange status LED on the TV remote and put nothing in its place.
   Confirmed as span.remote-led (7x7, background #f5a524 / --lr-amber / --remote-led), sitting
   under the triangle in .remote-top. It is not the triangle badge (.remote-mark). Leo/CJ CSS
   is not edited. */
body .tv-remote .remote-led,
body.tv-mode .tv-remote .remote-led,
body.earth-tv .tv-remote .remote-led {
  display: none;
}
