:root {
  color-scheme: dark light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #151619;
  color: #f5f2ec;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

button,
input {
  font: inherit;
}

.shell {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(233, 91, 59, 0.2), transparent 38%),
    linear-gradient(315deg, rgba(76, 154, 132, 0.18), transparent 36%),
    #151619;
  display: flex;
  min-height: 100vh;
  padding: 24px;
}

.panel {
  margin: 0 auto;
  max-width: 560px;
  width: 100%;
}

.eyebrow {
  color: #bbb2a5;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.2rem, 8vw, 4.8rem);
  line-height: 0.95;
  margin: 0 0 28px;
}

.token-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 18px;
}

label,
.state-label {
  color: #d7d0c5;
  display: block;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.token-row {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto;
}

input {
  background: #0f1012;
  border: 1px solid #5f5a51;
  border-radius: 6px;
  color: #f5f2ec;
  min-width: 0;
  padding: 12px 14px;
}

button {
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  padding: 12px 18px;
}

button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.8);
  opacity: 0.55;
}

.token-row button {
  background: #f5f2ec;
  color: #151619;
}

.state-block {
  margin: 34px 0 22px;
}

.state-value {
  display: block;
  font-size: clamp(4rem, 24vw, 9rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.state-value.no {
  color: #72d7a0;
}

.state-value.yes {
  color: #ff755f;
}

.state-value.unknown {
  color: #bbb2a5;
  font-size: clamp(2.4rem, 13vw, 5rem);
}

.updated,
.message {
  color: #bbb2a5;
  display: block;
  min-height: 1.35em;
}

.actions {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.choice {
  color: #111;
  font-size: clamp(1.15rem, 5vw, 1.6rem);
  min-height: 78px;
}

.choice.no {
  background: #72d7a0;
}

.choice.yes {
  background: #ff755f;
}

.message {
  margin-top: 18px;
}

@media (max-width: 460px) {
  .shell {
    align-items: stretch;
    padding: 18px;
  }

  .token-row,
  .actions {
    grid-template-columns: 1fr;
  }
}
