/* ============================================================
   V4.9M — HEADER CLEANUP
   V49L remains canonical. This only removes old LIVE artifacts
   and gives sourceText a clean lane.
   ============================================================ */

/* Old V4.7 decorative LIVE image must never render anymore */
.gpv47-mode-badge{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
}

/* Catch old live2026 image assets regardless of legacy wrapper */
img[src*="live2026"],
img[src*="live_2026"],
img[src*="live-2026"]{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
}

/* Canonical LIVE inside the working V49L stack stays visible */
body:not([data-pixel-layout="9"]) .v49lTopStack .livechip{
  display:flex !important;
  visibility:visible !important;
  opacity:1 !important;

  position:static !important;
  inset:auto !important;
  transform:none !important;

  width:100% !important;
  height:100% !important;
  margin:0 !important;

  box-sizing:border-box !important;

  /* clean single pixel border — no ghost outline */
  border:2px solid #ff2d9d !important;
  box-shadow:
    3px 3px 0 #000,
    inset 0 -3px 0 rgba(255,45,157,.15) !important;
}

/* No legacy pseudo graphics behind canonical LIVE */
body:not([data-pixel-layout="9"]) .v49lTopStack .livechip::before,
body:not([data-pixel-layout="9"]) .v49lTopStack .livechip::after{
  background-image:none !important;
}

/* The real red live dot is the native <i> element */
body:not([data-pixel-layout="9"]) .v49lTopStack .livechip > i{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
}

/* Remove old runtime mirror containers if they somehow survive */
body:not([data-pixel-layout="9"]) .v49jMirrorStack{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
}

/* Source text gets one clean lane, separate from clock/live/status */
body:not([data-pixel-layout="9"]) header.top .sourceText{
  position:absolute !important;
  top:48px !important;
  right:12.25% !important;
  left:auto !important;
  bottom:auto !important;

  width:29vw !important;
  max-width:29vw !important;
  min-width:0 !important;

  margin:0 !important;
  padding:0 !important;
  transform:none !important;

  text-align:right !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;

  color:#e8f5ff !important;
  font:900 10px/1 "Courier New",monospace !important;
  letter-spacing:.045em !important;
  text-shadow:2px 2px 0 #000 !important;

  z-index:550 !important;
}

/* Old V47 helper used to reserve 170px and can distort this row */
.gpv47-ready .gpv47-softfix-live{
  margin-right:0 !important;
}

/* 9:16 stays untouched apart from hiding obsolete decorative LIVE images */
