:root {
  /* soft warm palette (junak-mtrebova.skauting.cz inspired) */
  --c-page: #f3e7cc;
  --c-card: #fffbf2;
  --c-panel: #f5e9cb;
  --c-line: #ddcfa5;
  --c-line-soft: #e8dcb8;
  --c-ink: #4a3d24;
  --c-ink-soft: #857552;
  --c-accent: #3b8414;
  --c-gold: #7a6128;
  --c-error: #b4524b;
  --c-error-soft: #f0ddd3;
  --c-muted: #b9b3a5;

  --r-panel: 1.6rem;
  --r-pill: 999px;
  --r-input: 14px;
  /* playful, freehand-ish container radii — uneven per corner, like the skaut logo */
  --r-freeform: 36px 48px 38px 52px / 46px 38px 50px 38px;
  --r-freeform-alt: 32px 44px 34px 46px / 44px 34px 48px 36px;

  --shadow-panel: 0 18px 44px -24px rgb(122 97 40 / 40%);
  --shadow-pop: 0 10px 28px -12px rgb(122 97 40 / 35%);
}

* {
  font-family: 'skautbold';
}

.info {
  margin-inline: auto;
  font-family: 'JetBrains Mono';
  color: var(--c-ink);
}

.info.small {
  font-size: .8em;
  color: var(--c-ink-soft);
}

.nostretch {
  flex-grow: 1;
  width: 0;
  min-width: 100%;
}

/* the unpaid-tickets label on the main page */
.unpaid-label {
  font-family: 'JetBrains Mono';
  color: var(--c-accent);
}

/* panel shown instead of the form before the sale opens / after it ends */
.sale-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 30rem;
  padding: 34px 40px;
  margin: 16px;
  background-color: var(--c-card);
  border-radius: var(--r-freeform-alt);
  box-shadow: var(--shadow-panel), inset 0 0 0 2px var(--c-line-soft);
  text-align: center;
  transform: rotate(-0.35deg);
}

.sale-panel h2 {
  margin: 0;
  color: var(--c-gold);
}

.sale-panel h3 {
  margin: 0;
}

.countdown {
  font-size: 2rem;
  color: var(--c-accent);
  letter-spacing: 0.04em;
}
