.s-ring {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: min(100%, 380px);
  aspect-ratio: 1;
  margin: 0 auto;
  padding: 12px;
  border-radius: 50%;
  background: var(--c-bg);
  box-shadow: var(--shadow);
  touch-action: none;
}
[data-theme="retro"] .s-ring { border-radius: 0; border: 3px solid #000; background: #000; box-shadow: 6px 6px 0 #000, inset 0 0 0 3px var(--line); }
.s-ring.fail { animation: s-fail .4s ease; }
@keyframes s-fail { 25%, 75% { transform: translateX(-8px); } 50% { transform: translateX(8px); } }
.s-pad {
  border: 0;
  cursor: pointer;
  opacity: .42;
  transition: opacity .08s, filter .08s, transform .08s;
  display: flex;
  padding: 18%;
  -webkit-tap-highlight-color: transparent;
}
.s-pad kbd { opacity: .7; }
.s-pad.p0 { background: var(--a4); border-top-left-radius: 100%; align-items: end; justify-content: end; }
.s-pad.p1 { background: var(--a1); border-top-right-radius: 100%; align-items: end; justify-content: start; }
.s-pad.p2 { background: var(--a3); border-bottom-left-radius: 100%; align-items: start; justify-content: end; }
.s-pad.p3 { background: var(--a2); border-bottom-right-radius: 100%; align-items: start; justify-content: start; }
[data-theme="retro"] .s-pad { border-radius: 0 !important; box-shadow: inset -6px -6px 0 rgba(0,0,0,.35), inset 6px 6px 0 rgba(255,255,255,.2); }
.s-pad.lit { opacity: 1; filter: brightness(1.25); transform: scale(.98); }
[data-theme="retro"] .s-pad.lit { box-shadow: 0 0 30px currentColor, inset 0 0 0 4px #fff; }
.s-pad.p0.lit { color: var(--a4); } .s-pad.p1.lit { color: var(--a1); } .s-pad.p2.lit { color: var(--a3); } .s-pad.p3.lit { color: var(--a2); }
.s-center {
  position: absolute;
  left: 50%; top: 50%;
  width: 34%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 8px solid var(--c-bg);
  background: var(--panel);
  color: var(--fg);
  font-size: 16px;
  cursor: pointer;
  z-index: 2;
}
[data-theme="retro"] .s-center { border-radius: 0; font-size: 10px; border: 6px solid #000; background: var(--a5); color: #fff; }
.s-strict { display: flex; gap: 6px; align-items: center; font-size: .9em; color: var(--dim); cursor: pointer; }
