:root {
  --bg: #000000;
  --paper: #f4f2ee;
  --ink: #131316;
  --dark: #1a1a1f;
  --soft: rgba(244, 242, 238, 0.6);
  --accent: #3ddc97;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--paper);
  font-family: "Mona Sans Variable", "Mona Sans", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 10px 12px;
}

.el { position: relative; display: block; width: 228px; max-width: 100%; height: 60px; border: 0; border-radius: 30px; font: inherit; color: var(--ink); background: var(--paper); cursor: pointer; outline: none; overflow: hidden; touch-action: manipulation; -webkit-tap-highlight-color: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), inset 0 -3px 6px rgba(19, 19, 22, 0.12), 0 18px 30px -18px rgba(244, 242, 238, 0.45); transition: background-color 0.35s, color 0.35s, box-shadow 0.35s; }
.el[data-state="checking"] { background: var(--dark); color: var(--paper); cursor: progress; box-shadow: inset 0 0 0 1px rgba(244, 242, 238, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 30px -18px rgba(0, 0, 0, 0.9); }
.el[data-state="done"] { background: var(--accent); color: #06130d; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), inset 0 -3px 6px rgba(6, 19, 13, 0.16), 0 20px 34px -18px color-mix(in srgb, var(--accent) 80%, transparent); }
.el:focus-visible { box-shadow: 0 0 0 2px #000000, 0 0 0 4px var(--paper); }

.el__face { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; gap: 9px; font-size: 16px; font-weight: 720; letter-spacing: -0.008em; white-space: nowrap; opacity: 0; pointer-events: none; }
.el__face[data-face="rest"] { opacity: 1; }
.el__icon { display: block; flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.800; stroke-linecap: round; stroke-linejoin: round; }
.el__face b { font-weight: 800; font-variant-numeric: tabular-nums; }
.el__face [data-tick] { stroke-width: 2.300; stroke-dasharray: 1; stroke-dashoffset: 1; }

.el__face--checks { gap: 14px; font-size: 12.500px; font-weight: 660; }
.el__req { display: inline-flex; align-items: center; gap: 6px; opacity: 0.45; transition: opacity 0.3s; }
.el__req.is-on, .el__req.is-ok { opacity: 1; }
.el__req svg { display: block; flex: none; width: 18px; height: 18px; fill: none; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.el__ring { stroke: rgba(244, 242, 238, 0.22); stroke-width: 1.800; }
.el__arc { stroke: var(--paper); stroke-width: 1.800; stroke-dasharray: 0.28 0.72; opacity: 0; }
.el__ok { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.el__req.is-ok .el__ring { stroke: color-mix(in srgb, var(--accent) 55%, transparent); }

.el__sheen { position: absolute; top: 0; bottom: 0; left: 0; width: 46%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent); opacity: 0; pointer-events: none; }

@media (hover: hover) { .el[data-state="rest"]:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), inset 0 -3px 6px rgba(19, 19, 22, 0.12), 0 22px 36px -16px rgba(244, 242, 238, 0.6); } }
@media (max-width: 330px) { .el__face--checks { gap: 9px; font-size: 11.500px; } .el__req { gap: 4px; } }

.live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ghost { position: absolute; left: 0; top: 0; width: 24px; height: 24px; margin: -3px 0 0 -5px; transform-origin: 20% 15%; pointer-events: none; opacity: 0; fill: #f4f2ee; stroke: #000000; stroke-width: 1.300; stroke-linejoin: round; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6)); z-index: 6; }

@media (prefers-reduced-motion: reduce) { .el, .el__req { transition: none; } }
