.spk-main {
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 48px;
}
.spk-sheet {
  width: min(760px, 100%);
  margin: 12px auto 0;
  padding: 28px 22px 32px;
  color: #2c2420;
  background-color: #f6eee6;
  background-image: repeating-linear-gradient(0deg, rgba(142, 74, 74, 0.045) 0 1px, transparent 1px 8px);
  border-radius: 22px;
}
.spk-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.25;
  color: #8e4a4a;
}
.spk-lead, .spk-skip, .spk-safe, .spk-read, .spk-dim, .spk-hard, .spk-clip {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.65;
  color: #2c2420;
}
.spk-skip, .spk-safe { color: #5c463f; }
.spk-gates { display: grid; gap: 10px; margin: 18px 0; }
.spk-gate-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 252, 248, 0.72);
  color: #2c2420;
  font-size: 16px;
  line-height: 1.5;
}
.spk-gate-row input { width: 18px; height: 18px; margin-top: 3px; accent-color: #8e4a4a; }
.spk-miss { color: #8e4a4a; font-weight: 700; }
.spk-start, .spk-actions button, .spk-actions a {
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #8e4a4a;
  color: #fffaf6;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.spk-start:disabled { opacity: 0.45; cursor: not-allowed; }
.spk-ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: min(320px, 100%);
  margin-bottom: 14px;
}
.spk-tick {
  width: 7px;
  height: 16px;
  border-radius: 2px;
  background: #eadfd4;
}
.spk-tick.is-done { background: #8e4a4a; }
.spk-tick.is-now { background: #d98659; }
.spk-count { margin: 0 0 8px; color: #8e4a4a; font-weight: 700; }
.spk-prompt {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.45;
  color: #2c2420;
}
.spk-ruler { display: flex; flex-wrap: wrap; gap: 8px; }
.spk-choice {
  flex: 1 1 0;
  min-width: 4.6em;
  min-height: 52px;
  padding: 8px 6px;
  border: 1px solid rgba(142, 74, 74, 0.28);
  border-radius: 12px;
  background: #fffaf6;
  color: #2c2420;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.spk-choice:hover, .spk-choice:focus-visible { border-color: #8e4a4a; outline: none; }
.spk-choice.is-on { background: #8e4a4a; color: #fffaf6; }
.spk-figure {
  display: flex;
  gap: 28px;
  align-items: center;
  margin: 4px 0 18px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 252, 248, 0.78);
}
.spk-bar {
  width: 72px;
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  flex: 0 0 72px;
}
.spk-give, .spk-recv { width: 100%; border-radius: 10px; min-height: 8px; }
.spk-give { background: #8e4a4a; }
.spk-recv { background: #2c2420; }
.spk-figure.is-quiet .spk-give,
.spk-figure.is-quiet .spk-recv { background: #cbb8ae; }
.spk-diff { flex: 1; min-width: 0; }
.spk-ends { display: flex; justify-content: space-between; margin-bottom: 8px; font-weight: 700; }
.spk-ends span:first-child { color: #2c2420; }
.spk-ends span:last-child { color: #d98659; }
.spk-figure.is-quiet .spk-ends span { color: #8a776e; }
.spk-track {
  position: relative;
  height: 14px;
  border-radius: 99px;
  background: linear-gradient(90deg, #2c2420, #f3e4d8 50%, #d98659);
}
.spk-figure.is-quiet .spk-track { background: #d9cfc6; }
.spk-pin {
  position: absolute;
  top: -9px;
  width: 8px;
  height: 32px;
  margin-left: -4px;
  border-radius: 4px;
  background: #8e4a4a;
}
.spk-figure.is-quiet .spk-pin { background: #8a776e; }
.spk-side-note {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: #5c463f;
  font-size: 13px;
}
.spk-type {
  margin: 0 0 8px;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.2;
  color: #8e4a4a;
}
.spk-result.is-quiet .spk-type { color: #2c2420; }
.spk-kicker { margin: 16px 0 6px; font-size: 13px; letter-spacing: 0.04em; color: #8e4a4a; font-weight: 700; }
.spk-open { margin: 0 0 8px; padding-left: 1.2em; color: #2c2420; }
.spk-open li { margin: 0 0 8px; line-height: 1.55; }
.spk-clip {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(217, 134, 89, 0.16);
}
.spk-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.spk-actions button:nth-child(2) { background: #2c2420; }
.spk-actions a, .spk-actions button:last-child { background: transparent; color: #8e4a4a; border: 1px solid #8e4a4a; }
@media (max-width: 640px) {
  .spk-choice { flex: 1 1 30%; }
  .spk-figure { flex-direction: column; align-items: stretch; }
  .spk-bar { align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .spk-choice, .spk-start { transition: none; }
}
