html, body { height: 100%; }

body {
  margin: 0;
  user-select: none;
  -webkit-user-select: none;
  background: var(--card);
  color: var(--text);
}

body[data-state="wait"],
body[data-state="tap"],
body[data-state="waitattempt"] {
  background: var(--card);
  color: var(--text);
}

body[data-state="ok"] {
  background: #22c55e;
  color: #ffffff;
}

body[data-state="bad"] {
  background: #ef4444;
  color: #ffffff;
}

.ssRoot {
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  text-align: center;
}

.ssStack {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 1000px;
}

.ssPrimary {
  font-weight: 950;
  letter-spacing: -0.02em;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1.05;
}

.ssInfo {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ssLine {
  font-weight: 900;
  font-size: clamp(24px, 3.5vw, 44px);
  line-height: 1.1;
}

.ssAction {
  font-weight: 950;
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: -0.02em;
}

.hidden { display: none; }
