:root { color-scheme: light; }

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100dvh;
  background: #e7eef0;
  color: #1a2a30;
  font: 18px/1.4 ui-sans-serif, system-ui, sans-serif;
  padding: max(18px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
}

main { max-width: 24rem; margin: 0 auto; text-align: center; }

.kicker {
  margin: 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: #3d6f7a;
  font-weight: 750;
}

h1 { margin: 0.15rem 0 0.3rem; font-size: 2.6rem; }
.lede { color: #3c5158; }

.now {
  margin: 1rem 0 0;
  font-size: 2rem;
  font-weight: 700;
}

.count {
  margin: 0;
  font: 650 5rem/1 ui-monospace, Menlo, Consolas, monospace;
  color: #1d5966;
}

.sides {
  list-style: none;
  padding: 0;
  margin: 0.4rem auto 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  max-width: 16rem;
}

.sides li {
  min-height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #d5e3e6;
  font-weight: 750;
}

.sides li.on { background: #1d5966; color: #f4fbfc; }

button {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 14px;
  background: #1d5966;
  color: white;
  font: 700 1.15rem/1 ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
}

button:focus-visible { outline: 2px solid #1d5966; outline-offset: 3px; }
.plain { color: #3c5158; }
