:root {
  --bg: #08070b;
  --card: #131118;
  --ink: #f5f3f8;
  --soft: #8f8a9c;
  --accent: #ff4f8b;
  --accent-2: #ffb347;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Mona Sans Variable", "Mona Sans", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 12px;
}

.card {
  position: relative;
  width: min(380px, 100%);
  padding: 16px 12px 10px;
  border-radius: 28px;
  background: linear-gradient(180deg, #1b1822, var(--card) 50%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 30px 60px -30px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  isolation: isolate;
}
/* a stage light from the top corner, in the two colours of the night */
.card__beam {
  position: absolute;
  right: -90px;
  top: -150px;
  width: 360px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 60%, var(--accent-2)), transparent);
  opacity: 0.22;
  z-index: -1;
}

.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 0 8px 10px; }
.head__place { font-size: 11.5px; font-weight: 560; color: var(--soft); letter-spacing: 0.02em; }
.head__title { font-size: 23px; line-height: 28px; font-weight: 700; font-stretch: 112%; letter-spacing: -0.02em; }
.clock { display: flex; align-items: baseline; font-size: 23px; line-height: 28px; font-weight: 640; font-stretch: 96%; letter-spacing: -0.01em; }
.clock span { display: inline-block; min-width: 1.26em; text-align: right; }
.clock span + i + span { text-align: left; }
.clock i { font-style: normal; opacity: 0.55; margin: 0 -1px; }

/* ---- the acts ---- */
.acts { list-style: none; }
.act { position: relative; border-top: 1px solid rgba(255, 255, 255, 0.07); transition: opacity 0.5s ease; }
.act__row {
  width: 100%;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.25s ease;
}
.act__row.is-hot { background: rgba(255, 255, 255, 0.05); }
@media (hover: hover) { .act__row:hover { background: rgba(255, 255, 255, 0.05); } }
.act__row:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.act__time { flex: none; width: 42px; font-size: 13px; font-weight: 560; color: var(--soft); transition: color 0.4s ease; }
.act__name { flex: 1; min-width: 0; white-space: nowrap; }
/* the name grows on the variable axes; the scale sits on the inner span so the row does not reflow */
.act__name span {
  display: inline-block;
  font-size: 16px;
  font-weight: 560;
  font-stretch: 100%;
  letter-spacing: -0.005em;
  transform-origin: 0 50%;
  transition: font-weight 0.6s cubic-bezier(0.3, 1.4, 0.5, 1), font-stretch 0.6s cubic-bezier(0.3, 1.4, 0.5, 1), transform 0.6s cubic-bezier(0.3, 1.4, 0.5, 1), color 0.4s ease;
}
.act__state { flex: none; height: 18px; overflow: hidden; font-size: 12px; line-height: 18px; font-weight: 560; color: var(--soft); text-align: right; }
.act__state span { display: block; white-space: nowrap; }

.act.is-live .act__time { color: var(--ink); }
.act.is-live .act__name span { font-weight: 760; font-stretch: 120%; transform: scale(1.22); }
.act.is-live .act__state { color: var(--accent); }
.act.is-past { opacity: 0.42; }
.act.is-past .act__name span { font-weight: 500; font-stretch: 94%; }

.act__more { height: 0; overflow: hidden; }
.act__in { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 8px 10px 62px; }
.eq { flex: none; display: none; align-items: flex-end; gap: 2.5px; width: 14px; height: 14px; }
.act.is-live .eq { display: flex; }
.eq i { width: 3px; height: 14px; border-radius: 2px; background: var(--accent); transform-origin: 50% 100%; transform: scaleY(0.3); }
.act__what { flex: none; font-size: 12px; font-weight: 560; color: var(--soft); white-space: nowrap; }
.bar { flex: 1; min-width: 20px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.bar span { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: 0 50%; }
.act__left { flex: none; min-width: 62px; font-size: 12px; font-weight: 600; text-align: right; white-space: nowrap; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ghost {
  position: fixed;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  pointer-events: none;
  fill: #ffffff;
  stroke: #101116;
  stroke-width: 1.4;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.6));
  opacity: 0;
  visibility: hidden;
  z-index: 5;
}

@media (max-width: 360px) {
  .act__in { padding-left: 8px; }
  .act.is-live .act__name span { transform: scale(1.12); }
}

/* on a big screen the whole card is shown larger */
@media (min-width: 900px) and (min-height: 680px) {
  .card { zoom: 1.3; }
}
