/* THE DISC CARD'S COVER, until its screens are ready: Disc's own green, flowing and darker toward one corner, faint rings like a plate behind it,
   the logo in the middle, and the food around it. The food wanders loose, then falls into line round the logo as if set on a plate, goes round once
   in order, and wanders off again: a food discipline app, told without a screen (cover-disc.js moves it).
   Every rule starts at .disc, the cover itself */
.shot.disc {
  background: linear-gradient(140deg, #02240a, #08771c 58%, #3d9a46);
} /* the plain gradient under the flowing colour: what is seen with no graphics card */
.disc .dflow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.disc .dpat {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 1000px;
  height: 1000px;
  translate: -50% -50%;
  scale: var(--bz, 1);
  animation: dbreathe 18s ease-in-out infinite alternate;
}
.disc .dpat circle {
  fill: none;
  stroke: #fff;
  stroke-opacity: 0.12;
  stroke-width: 1.1;
  vector-effect: non-scaling-stroke;
} /* rings, as on a plate */
@keyframes dbreathe {
  to {
    scale: calc(var(--bz, 1) * 1.06);
  }
}
.disc .grain {
  z-index: 2;
}
.disc .dplate {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.disc .dplate ellipse {
  fill: none;
  stroke: #fff;
  stroke-width: 1.2;
  stroke-dasharray: 2 7;
  stroke-linecap: round;
  opacity: var(--k, 0);
} /* the line the food falls into, seen only while it is in order */
.disc .dlogo {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 38%;
  height: auto;
  translate: -50% -50%;
  filter: drop-shadow(0 14px 22px rgba(0, 20, 6, 0.35));
}
.disc .dfood {
  position: absolute;
  z-index: 5;
  inset: 0;
}
.disc .fd {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--fs, 42px);
  height: var(--fs, 42px);
  margin: calc(var(--fs, 42px) / -2) 0 0 calc(var(--fs, 42px) / -2);
  overflow: visible;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  will-change: transform;
} /* each piece of food, drawn as a line in white */
.disc .chip {
  color: #fff;
}
.disc:not(.live) .dpat {
  animation-play-state: paused;
}
@media (max-width: 760px) {
  .disc .dlogo {
    width: 44%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .disc .dpat {
    animation: none;
  }
}
