html, body { margin: 0; height: 100%; background: #000; color: #fff; }
body { overflow: hidden; -webkit-tap-highlight-color: transparent; }
.stage { position: fixed; inset: 0; overflow: hidden; overflow: clip; container-type: size; }
.seg { fill: #fff; } .seg.off { fill: rgba(255,255,255,0); }
.clock { display: flex; align-items: center; gap: 0.9vmin; height: 5.5vmin; }
.clock svg { display: block; height: 100%; width: auto; overflow: visible; }
.glow { filter: drop-shadow(0 0 0.5vmin rgba(255,255,255,0.9)) drop-shadow(0 0 2vmin rgba(255,255,255,0.35)); }

/* the play button: a glowing ring with a play triangle */
#play { width: max(11vmin, 64px); height: max(11vmin, 64px); padding: 0; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; position: relative;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 0 1.2vmin rgba(255,255,255,0.5), 0 0 4vmin rgba(255,255,255,0.18), inset 0 0 1.5vmin rgba(255,255,255,0.12);
  transition: transform 0.35s, background 0.35s, opacity 0.8s; animation: breathe 2.4s ease-in-out infinite; }
#play svg { width: 36%; height: 36%; margin-left: 9%; fill: #fff; filter: drop-shadow(0 0 0.6vmin rgba(255,255,255,0.9)); }
#play:hover, #play:focus-visible { transform: scale(1.08); background: rgba(255,255,255,0.12); outline: none; }
#play::after { content: ""; position: absolute; inset: -16px; }
@keyframes breathe { 0%,100% { box-shadow: 0 0 1.2vmin rgba(255,255,255,0.5), 0 0 4vmin rgba(255,255,255,0.18); }
                     50% { box-shadow: 0 0 2vmin rgba(255,255,255,0.8), 0 0 7vmin rgba(255,255,255,0.3); } }
body.on #play { opacity: 0; pointer-events: none; transform: scale(1.6); }

/* small sound toggle once the music is on */
#snd { position: fixed; right: 2.4vmin; bottom: 2.4vmin; width: 40px; height: 40px; border-radius: 50%; padding: 0;
  border: 1px solid rgba(255,255,255,0.5); background: rgba(0,0,0,0.3); cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity 1s 1s; display: flex; align-items: center; justify-content: center; z-index: 20; }
body.on #snd { opacity: 0.75; pointer-events: auto; }
#snd svg { width: 55%; height: 55%; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; }
#snd .x { display: none; } #snd.muted .x { display: inline; } #snd.muted .w { display: none; }

video { display: block; }
@media (prefers-reduced-motion: reduce) { #play { animation: none; } }
