/* ADIMASTER RELEASE 69 · STABLE LOCK
   Based on R66 (last clean one-row composite).
   Purpose: undo R67/R68 lower-deck regression, slightly oversize the deck to hide master leakage,
   clean right-panel static labels, and keep the Artist header visually fused with the scene.
   Globe/core/left master are untouched.
*/
@media (min-width:761px){
  /* Header: fused magenta -> cyan, but no geometry changes to the scene. */
  body[data-route="artist"] header{
    width:calc(100% - 24px)!important;
    max-width:none!important;
    border-radius:14px!important;
    border:1px solid rgba(92,224,245,.13)!important;
    background:
      radial-gradient(540px 96px at 0% 50%,rgba(238,58,203,.18),transparent 72%),
      radial-gradient(660px 104px at 100% 50%,rgba(49,220,255,.11),transparent 72%),
      linear-gradient(90deg,rgba(26,5,31,.78) 0%,rgba(7,9,19,.80) 32%,rgba(3,11,21,.81) 68%,rgba(2,19,27,.77) 100%)!important;
    box-shadow:inset 0 1px rgba(255,255,255,.028),0 10px 32px rgba(0,0,0,.18),-30px 0 64px rgba(235,57,207,.045),30px 0 64px rgba(59,226,255,.04)!important;
    backdrop-filter:blur(16px) saturate(1.18)!important;
  }
  body[data-route="artist"] header::before{
    opacity:.48!important;
    background:linear-gradient(90deg,rgba(244,69,211,.74),rgba(138,78,255,.18) 34%,rgba(72,211,255,.14) 70%,rgba(73,244,235,.55))!important;
  }

  /* RIGHT TELEMETRY: keep the master frames; cover only baked-in English micro-labels. */
  body[data-route="artist"] .r53TelemetryPanel{overflow:hidden!important}
  body[data-route="artist"] .r53Sound::after{
    content:""!important;display:block!important;position:absolute!important;z-index:7!important;
    left:6.2%!important;right:6.2%!important;bottom:4.4%!important;height:12.5%!important;
    background:linear-gradient(180deg,rgba(1,6,17,.66),#010611 40%,#010611 100%)!important;
    box-shadow:0 -5px 10px rgba(1,6,17,.35)!important;pointer-events:none!important;
  }
  body[data-route="artist"] .r53Energy::after{
    content:""!important;display:block!important;position:absolute!important;z-index:7!important;
    left:5.8%!important;right:5.8%!important;bottom:2.6%!important;height:15.5%!important;
    background:linear-gradient(180deg,rgba(1,6,17,.55),#010611 42%,#010611 100%)!important;
    box-shadow:0 -5px 10px rgba(1,6,17,.30)!important;pointer-events:none!important;
  }
  body[data-route="artist"] .r66SoundMeta{z-index:9!important;bottom:5.2%!important;background:transparent!important;box-shadow:none!important;color:#88a6b8!important}
  body[data-route="artist"] .r53EnergyMeta{z-index:9!important;bottom:4.0%!important}
  body[data-route="artist"] .r53EnergyMeta span,
  body[data-route="artist"] .r53EnergyMeta b{background:transparent!important;box-shadow:none!important}

  /* LOWER DECK: revert to R66 one-row behavior and make the replacement surface slightly larger. */
  body[data-route="artist"] .artistIntelligenceR49{
    left:.34%!important;
    top:65.72%!important;
    width:99.32%!important;
    height:23.62%!important;
    padding:13px 16px 15px!important;
    grid-template-columns:minmax(0,35.35%) minmax(0,64.65%)!important;
    grid-template-rows:28px minmax(0,1fr)!important;
    gap:8px 16px!important;
    border:1px solid rgba(79,220,255,.27)!important;
    border-radius:10px!important;
    background:
      radial-gradient(520px 190px at 12% 7%,rgba(45,204,255,.024),transparent 70%),
      radial-gradient(760px 220px at 84% 100%,rgba(111,65,255,.025),transparent 72%),
      linear-gradient(180deg,#020b17 0%,#020914 50%,#020812 100%)!important;
    box-shadow:inset 0 1px rgba(255,255,255,.025),inset 0 0 40px rgba(27,117,171,.018)!important;
    overflow:hidden!important;
  }

  /* hard guarantee: one row, first five only */
  body[data-route="artist"] #artistRail{
    display:grid!important;
    grid-auto-flow:column!important;
    grid-auto-columns:calc((100% - 48px)/5)!important;
    grid-template-rows:1fr!important;
    gap:12px!important;
    height:calc(100% - 24px)!important;
    overflow:hidden!important;
    padding:0!important;
  }
  body[data-route="artist"] #artistRail > :nth-child(n+6){display:none!important}
  body[data-route="artist"] #artistRail > .card{height:100%!important;min-height:0!important;min-width:0!important;overflow:hidden!important}
  body[data-route="artist"] #artistRail .cover{aspect-ratio:16/9!important;height:auto!important;min-height:0!important}
  body[data-route="artist"] #artistRail .cardBody{padding:8px 9px!important;overflow:hidden!important}

  /* System rail stays directly below the enlarged deck; no overlap. */
  body[data-route="artist"] .r53SystemBar{
    left:.34%!important;
    top:89.55%!important;
    width:99.32%!important;
    height:8.94%!important;
  }
}
