/* The actual felt stays still. Only its warm illumination and shade move.
   This lightweight plane remains available when the render governor is lean. */
body.v45-battle-active.v72-casino-battle #v72-casino-table .v72-table-light {
  --v338-from-x:-8%;
  --v338-to-x:8%;
  --v338-light-low:.27;
  --v338-light-high:.53;
  display:block !important;
  position:absolute;
  inset:-12%;
  overflow:hidden;
  pointer-events:none;
  contain:layout paint;
  isolation:isolate;
  mix-blend-mode:normal;
  filter:none;
  background:linear-gradient(111deg,transparent 13%,#c9ab6400 24%,#e6c78b2e 40%,#f1ddb34d 50%,#b2904a1f 61%,transparent 73%);
  will-change:transform,opacity;
  animation:v338FeltLightDrift 14s ease-in-out infinite alternate !important;
}

body.v45-battle-active.v72-casino-battle #v72-casino-table .v72-table-light::before {
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(ellipse at 34% 57%,#02080580,transparent 64%);
  transform-origin:50% 50%;
  will-change:transform,opacity;
  animation:v338FeltShadowDrift 18s ease-in-out infinite alternate;
}

body.v45-battle-active.v72-casino-battle #v72-casino-table .v72-table-light::after {
  content:"";
  position:absolute;
  left:17%;
  top:9%;
  width:54%;
  height:1px;
  background:linear-gradient(90deg,transparent,#d7bd84aa 42%,#f1dfad 53%,transparent);
  will-change:transform,opacity;
  animation:v338BrassRimReflection 12s ease-in-out infinite;
}

/* Lean mode reduces the travel and removes the extra rim surface. It must
   not turn the whole living table off on a phone or after a slow frame. */
html:is(.v69-low-fps,.v69-heavy-burst) body.v45-battle-active.v72-casino-battle #v72-casino-table .v72-table-light {
  --v338-from-x:-4%;
  --v338-to-x:4%;
  --v338-light-low:.22;
  --v338-light-high:.38;
  animation-duration:20s !important;
}
html:is(.v69-low-fps,.v69-heavy-burst) body.v45-battle-active.v72-casino-battle #v72-casino-table .v72-table-light::before {
  animation-duration:24s;
}
html:is(.v69-low-fps,.v69-heavy-burst) body.v45-battle-active.v72-casino-battle #v72-casino-table .v72-table-light::after {
  content:none;
  display:none;
  will-change:auto;
}

/* Intro/finale own the screen. Hidden and paused tabs retain their place in
   the light's timeline, and resume without restarting a bright sweep. */
body.v45-battle-active.v72-casino-battle:is(.v67-paused,.v61-character-clash-active,.v280-match-finale-active) #v72-casino-table .v72-table-light,
body.v45-battle-active.v72-casino-battle:is(.v67-paused,.v61-character-clash-active,.v280-match-finale-active) #v72-casino-table .v72-table-light::before,
body.v45-battle-active.v72-casino-battle:is(.v67-paused,.v61-character-clash-active,.v280-match-finale-active) #v72-casino-table .v72-table-light::after {
  animation-play-state:paused !important;
}
body.v45-battle-active.v72-casino-battle:is(.v61-character-clash-active,.v280-match-finale-active) #v72-casino-table .v72-table-light {
  visibility:hidden;
}

@keyframes v338FeltLightDrift {
  0% {transform:translate3d(var(--v338-from-x),-1.5%,0);opacity:var(--v338-light-low);}
  48% {opacity:var(--v338-light-high);}
  100% {transform:translate3d(var(--v338-to-x),1.5%,0);opacity:var(--v338-light-low);}
}
@keyframes v338FeltShadowDrift {
  0% {transform:translate3d(3%,1%,0) scale(1.01);opacity:.5;}
  100% {transform:translate3d(-3%,-1%,0) scale(1.04);opacity:.76;}
}
@keyframes v338BrassRimReflection {
  0%,12% {transform:translate3d(-16%,0,0);opacity:0;}
  37% {opacity:.45;}
  74%,100% {transform:translate3d(22%,0,0);opacity:0;}
}

@media (prefers-reduced-motion:reduce), (forced-colors:active) {
  html:root body.v45-battle-active.v72-casino-battle #v72-casino-table .v72-table-light {
    display:none !important;
    animation:none !important;
    will-change:auto;
  }
  html:root body.v45-battle-active.v72-casino-battle #v72-casino-table .v72-table-light::before,
  html:root body.v45-battle-active.v72-casino-battle #v72-casino-table .v72-table-light::after {
    content:none;
    animation:none !important;
    will-change:auto;
  }
}
