/* ADIMASTER RELEASE 72 · ARTIST CLEANUP / ARTIFACT LOCK
   Surgical desktop-only cleanup over R71.
   Scope is deliberately narrow:
   1) remove the baked FIELD STABILITY / 98.7% leakage in ENERGY FIELD,
   2) restore a readable AM mark in the system strip,
   3) matte-out the remaining master-art lines below the system strip,
   4) reserve a small clean bay below the 4:3 Artist master for the collapsed player beacon.
   Globe/core/left master/right telemetry geometry/lower deck geometry remain untouched. */

@media (min-width:761px){
  /* ENERGY FIELD: hard-mask only the baked-in bottom label strip.
     The frame/rings/bars from the approved master remain visible. */
  body[data-route="artist"] .r53Energy::after{
    content:""!important;
    display:block!important;
    position:absolute!important;
    z-index:8!important;
    left:4.2%!important;
    right:4.2%!important;
    bottom:3.6%!important;
    height:14.8%!important;
    pointer-events:none!important;
    background:
      linear-gradient(180deg,rgba(1,6,17,.16) 0%,rgba(1,6,17,.90) 26%,#010611 48%,#010611 100%)!important;
    box-shadow:0 -7px 13px rgba(1,6,17,.42)!important;
  }

  /* Rebuild the bottom ENERGY meta as the single live source of truth. */
  body[data-route="artist"] .r53EnergyMeta{
    z-index:11!important;
    left:6.7%!important;
    right:6.7%!important;
    bottom:5.1%!important;
    min-height:11px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  body[data-route="artist"] .r53EnergyMeta span,
  body[data-route="artist"] .r53EnergyMeta b{
    display:block!important;
    margin:0!important;
    padding:2px 5px!important;
    color:#66f6ff!important;
    background:#010611!important;
    box-shadow:0 0 7px 3px #010611!important;
    font-size:clamp(5px,.36vw,7px)!important;
    line-height:1!important;
    font-weight:900!important;
    letter-spacing:.065em!important;
    text-transform:uppercase!important;
    white-space:nowrap!important;
    text-shadow:0 0 7px rgba(77,238,255,.20)!important;
  }
  body[data-route="artist"] .r53EnergyMeta b{
    color:#b9faff!important;
    letter-spacing:.04em!important;
  }

  /* SYSTEM STRIP AM MARK: use the clean transparent AM asset and give it enough visual weight. */
  body[data-route="artist"] .r53SystemCell:first-child .r53SystemIcon{
    width:clamp(38px,2.8vw,50px)!important;
    height:clamp(38px,2.8vw,50px)!important;
    border-color:rgba(86,230,255,.30)!important;
    background:
      radial-gradient(circle at 50% 50%,rgba(4,18,31,.92),rgba(1,8,16,.99) 72%),
      url("../gateway/am-logo.webp") center 48% / 126% auto no-repeat!important;
    box-shadow:
      inset 0 0 17px rgba(77,228,255,.07),
      0 0 13px rgba(64,224,255,.055)!important;
    filter:brightness(1.28) saturate(1.14)!important;
    opacity:1!important;
  }

  /* MATTE: hide the last 2.35% of baked master decoration below the system strip.
     z=47 keeps it below the live system rail (z=48) and above the master wallpaper. */
  body[data-route="artist"] .view.active[data-view="artist"]::after{
    content:""!important;
    display:block!important;
    position:absolute!important;
    z-index:47!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    height:2.35%!important;
    pointer-events:none!important;
    background:#010611!important;
  }

  /* PLAYER BAY: do not modify the 4:3 master coordinates. Reserve a short external bay
     after the scene so the collapsed note is visually separate from the system rail. */
  body[data-route="artist"] .view.active[data-view="artist"]{
    margin-bottom:78px!important;
  }
  body[data-route="artist"] #adiPersistentPlayerDock.collapsed{
    right:18px!important;
    bottom:14px!important;
  }
}

@media (max-width:760px){
  /* R72 is desktop-only. */
  body[data-route="artist"] .view.active[data-view="artist"]{margin-bottom:0!important}
}
