/* Glow + glass (Nolan, 2026-11-09): the coach + player dashboard's dark look gets a soft cyan
   glow from the top left and an amber glow from the bottom right, and the sidebar + cards become
   see-through so the glow shows through them. Look only — no layout, size or colour of text
   changes. Dark mode only; light mode and the studio (html.force-dark, no .in-team) are untouched.
   Cards carry no backdrop blur on purpose: a session page can hold hundreds of catch cards. */
@media (prefers-color-scheme: dark) {
  body.in-team {
    background:
      radial-gradient(1100px 650px at 12% -8%, rgba(0,220,250,.30), transparent 60%),
      radial-gradient(1000px 700px at 100% 100%, rgba(255,191,6,.20), transparent 62%),
      #05070a fixed;
  }
  body.in-team .side {
    background: rgba(8,10,13,.35);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-right: 1px solid rgba(255,255,255,.07);
  }
  body.in-team .topbar { background: rgba(8,10,13,.5); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
  body.in-team :is(.card, .list, .player-row, .body > .kpis .kpi, .lab-kpis .kpi, .srow:not(.list .srow), .panel,
    .catch, .empty, .podium, .rp-search, .rp-tile, .teamsw-row, .tile, .tcard, .ath-list) {
    background: linear-gradient(180deg, rgba(255,255,255,.075) 0%, rgba(255,255,255,.03) 100%);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 10px 30px rgba(0,0,0,.35);
  }
  body.in-team .list .srow { background: transparent; }
  body.in-team .list .srow:hover { background: var(--hover); }
  body.in-team .side-link.on {
    background: linear-gradient(90deg, rgba(0,220,250,.24), rgba(0,220,250,.06));
    box-shadow: inset 0 0 0 1px rgba(0,220,250,.28), 0 0 18px rgba(0,220,250,.12);
  }
  body.in-team .avatar { box-shadow: 0 0 0 2px rgba(0,0,0,.35), 0 0 14px rgba(255,255,255,.08); }
  /* move-logo.png sits on a black box, and blending can't remove it inside the frosted (blurred)
     sidebar, so show a copy with the black made see-through (Nolan, 11-09). */
  body.in-team :is(.brand, .side-brand) img { content: url("move-logo-clear.png"); mix-blend-mode: normal; }
  body.in-team .nav-badge { box-shadow: 0 0 10px rgba(255,69,58,.6); }
}
@media (prefers-color-scheme: dark) {
  body.in-team :is(.player-row, .srow:not(.list .srow), .catch, .rp-tile, .tile, .tcard):hover {
    background: linear-gradient(180deg, rgba(255,255,255,.11) 0%, rgba(255,255,255,.05) 100%);
  }
}
