/* Room lighting stays behind the table and cards; no animation loops. */
@layer studio {
  body.studio-3d.game-active {
    background:
      radial-gradient(ellipse at 3% 22%, #efc87912, transparent 28%),
      radial-gradient(ellipse at 98% 62%, #57b98b0d, transparent 26%),
      radial-gradient(circle at 8% 38%, #f4d69b25, transparent 5px),
      radial-gradient(circle at 94% 27%, #f4d69b20, transparent 7px),
      radial-gradient(circle at 97% 80%, #f4d69b18, transparent 5px),
      linear-gradient(#0914107a,#06110ed9),
      var(--studio-room) center / cover fixed !important;
  }
  body.studio-3d[data-current-turn="left"] #gameApp .player-left .avatar,
  body.studio-3d[data-current-turn="partner"] #gameApp .player-top .avatar,
  body.studio-3d[data-current-turn="right"] #gameApp .player-right .avatar {
    box-shadow: 0 0 8px #e7c37835, 0 8px 14px #0005 !important;
    border-color: #dbc18a !important;
  }
  @media (forced-colors: active) {
    body.studio-3d.game-active { background: Canvas !important; }
  }
}
/* Also hide the old overlay in pages that still contain the element. */
.table-ambient-light { display: none !important; }
