:root {
  --bg: #000000;          /* il fondo, la notte */
  --line: #ece4d4;        /* i testi */
  --muted: #8d877c;       /* i testi secondari */
  --accent: #ff7a1a;      /* l'arancio zucca: la fiamma, il punto della parola */
}

* { box-sizing: border-box; margin: 0; }

html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--line);
  font-family: 'Mona Sans Variable', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.stage {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 16px;
}

.loader {
  width: min(300px, 86vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 2.4vh, 18px);
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.loader__scene {
  position: relative;
  width: 100%;
  display: grid;
  place-items: center;
}

.candle {
  display: block;
  height: clamp(170px, 56vh, 360px);
  width: 100%;
}

.word {
  position: absolute;
  left: 0;
  right: 0;
  top: 34%;
  transform: translateY(-50%);
  text-align: center;
  font-size: clamp(34px, 11vh, 58px);
  font-weight: 560;
  font-variation-settings: 'wdth' 112;
  letter-spacing: -.02em;
  line-height: 1;
  pointer-events: none;
}
.word span { display: inline-block; will-change: transform, opacity, filter; }
.word .dot { color: var(--accent); }

.loader__meta {
  width: 100%;
  display: grid;
  gap: 6px;
  font-size: 13px;
}

.event {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(233, 227, 214, .14);
}
.event__name { font-weight: 560; font-variation-settings: 'wdth' 100; }
.event__date { color: var(--muted); font-variation-settings: 'wdth' 92; }

.status {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  color: var(--muted);
  height: 1.3em;
  overflow: hidden;
}
.status__text { display: inline-block; }
.status__num { color: var(--line); font-variation-settings: 'wdth' 88; min-width: 4ch; text-align: right; }

@media (max-height: 460px) {
  .loader__meta { font-size: 12px; gap: 4px; }
  .event { padding-bottom: 5px; }
}
