/* The page owns the frame's dimensions and position. The diagram is decorative. */
.sc-court {
  position: relative;
  width: 100%;
  height: 100%;
  isolation: isolate;
  pointer-events: none;
}
.sc-court::before,
.sc-court > canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.sc-court::before {
  content: "";
  background: url("./court-still.webp") center / contain no-repeat;
}
.sc-court > canvas { display: block; opacity: 0; }
.sc-court[data-rendered="true"]::before { visibility: hidden; }
.sc-court[data-rendered="true"] > canvas { opacity: 1; }
