.hlv-body {
  background: #2a1614;
}

.hlv-sheet {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 28px 22px 48px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 0%, rgba(224, 138, 46, 0.18), transparent 32%),
    radial-gradient(circle at 90% 12%, rgba(194, 75, 98, 0.16), transparent 28%),
    #fff1e8;
  color: #3b241c;
  box-shadow: 0 18px 40px rgba(42, 22, 20, 0.22);
}

main.shell-main.hlv-main {
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 32px;
}

.hlv-title,
.hlv-type {
  margin: 0;
  color: #3b241c;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
}

.hlv-lead,
.hlv-skip,
.hlv-safe,
.hlv-read,
.hlv-dim,
.hlv-hard,
.hlv-clip,
.hlv-count {
  color: #3b241c;
  line-height: 1.65;
}

.hlv-skip,
.hlv-safe,
.hlv-count {
  color: #8a5a52;
}

.hlv-idle,
.hlv-stage {
  width: min(520px, 100%);
  height: auto;
  margin: 12px auto;
  display: block;
}

.hlv-gates {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.hlv-gate-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f8ddd2;
  color: #3b241c;
}

.hlv-gate-row input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  flex: 0 0 22px;
  accent-color: #c24b62;
}

.hlv-start,
.hlv-actions button {
  min-height: 48px;
  margin-top: 16px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: #c24b62;
  color: #fff7f3;
  font-size: 1.05rem;
  cursor: pointer;
}

.hlv-ghost {
  background: transparent;
  color: #3b241c;
  box-shadow: inset 0 0 0 1px #c24b62;
}

.hlv-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 16px;
}

.hlv-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f3d2c4;
}

.hlv-dot.is-in {
  background: #c24b62;
  box-shadow: 0 0 0 2px #e08a2e;
}

.hlv-prompt {
  margin: 0;
  color: #3b241c;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  line-height: 1.45;
}

.hlv-ruler {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hlv-choice {
  flex: 1 1 16%;
  min-height: 52px;
  padding: 12px 8px;
  border: 0;
  border-radius: 14px;
  background: #f8ddd2;
  color: #3b241c;
  font-size: 1rem;
  cursor: pointer;
}

.hlv-choice:nth-child(1) { background: #f8ddd2; }
.hlv-choice:nth-child(2) { background: #f3c3b4; }
.hlv-choice:nth-child(3) { background: #e39284; }
.hlv-choice:nth-child(4) { background: #c24b62; color: #fff7f3; }
.hlv-choice:nth-child(5) { background: #e08a2e; color: #3b241c; }

.hlv-choice.is-on {
  box-shadow: inset 0 0 0 3px #3b241c, 0 0 0 3px #e08a2e;
}

.hlv-kicker {
  margin: 22px 0 6px;
  color: #c24b62;
  font-size: 0.95rem;
}

.hlv-open {
  margin: 0;
  padding-left: 1.2em;
  color: #3b241c;
}

.hlv-open li + li {
  margin-top: 8px;
}

.hlv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hlv-miss {
  color: #c24b62;
}

.hlv-sheet [hidden],
#hlv-canvas[hidden],
#hlv-download[hidden],
#hlv-miss[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .hlv-choice {
    flex: 1 1 42%;
  }
}
