:root {
  --bg: #E6E3D6;
  --ink: #262624;
  --muted: #57534e;
  --sage: #9EA08F;
  --paper: #F4F1E6;
  --oxblood: #7A1F1F;
  --alert: #E31C23;
  --ring: #F0C14B;
  --radius: 0.75rem;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --shadow: 0 18px 50px rgba(38, 38, 36, 0.16);
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  min-height: 100dvh;
  line-height: 1.45;
}

.geo {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 1rem var(--gutter) 0;
}

.hero {
  max-width: 38rem;
  margin: 0 auto;
  padding: 1.25rem var(--gutter) 0.5rem;
  text-align: center;
}
.kicker {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 0.85rem;
}
h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.65rem, 5.2vw, 2.35rem);
  line-height: 1.18;
  margin: 0;
}
h1 em {
  font-style: italic;
  color: var(--oxblood);
  font-weight: 600;
}
.urgency {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.stage {
  padding: 1.25rem var(--gutter) 0.5rem;
}
.player {
  position: relative;
  max-width: 22.5rem;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  background: #111;
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #111;
  pointer-events: none;
}
.player video::-webkit-media-controls { display: none !important; }
.rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 13px;
  background: transparent;
  z-index: 9;
  pointer-events: none;
}
.rail-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #ff6a4a 0%, var(--alert) 55%, #c10d12 100%);
  box-shadow: 0 0 12px rgba(227, 28, 35, 0.75);
  transform-origin: left center;
  transition: width 0.4s linear;
}
.veil {
  position: absolute;
  inset: 0;
  z-index: 8;
  border: 0;
  cursor: pointer;
  display: block;
  padding: 0;
  font-family: var(--sans);
  color: var(--paper);
  background: transparent;
}
.mute-card {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: 14.4rem;
  height: 9.15rem;
  background: var(--alert);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1rem 0.85rem 0.95rem;
  border-radius: 0.7rem;
  border: 2px solid rgba(255, 255, 255, 0.95);
  outline: 2px solid rgba(20, 12, 8, 0.55);
  outline-offset: 0;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
  text-align: center;
  animation: mute-pulse 2.4s ease-in-out infinite;
}
@keyframes mute-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.035); }
}
.mute-ico { width: 3.35rem; height: 3.35rem; flex-shrink: 0; }
.mute-t {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.mute-s {
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.2;
  opacity: 0.96;
}
.pill {
  position: absolute;
  left: 50%;
  bottom: 2.7rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: auto;
  min-width: 14.2rem;
  padding: 0.78rem 1.5rem;
  white-space: nowrap;
  border-radius: 999px;
  border: 2.5px solid var(--ring);
  background: #1a1814;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55), 0 8px 22px rgba(0, 0, 0, 0.4);
}
.pill svg { width: 1.35rem; height: 1.35rem; stroke: #fff; }
.hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.15rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}
.player.is-on .veil:not(.hold) { display: none; }
.hold[hidden] { display: none !important; }
.watching {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.85rem 0 0;
}
.watching strong { color: var(--ink); font-weight: 600; }

.proof {
  max-width: 42rem;
  margin: 1.5rem auto 0;
  padding: 0 var(--gutter) 2rem;
  display: grid;
  gap: 1rem;
}
@media (min-width: 880px) {
  .proof { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}
.ticket {
  background: var(--sage);
  color: var(--ink);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 1.1rem 1.15rem 0.4rem;
  box-shadow: var(--shadow);
}
.ticket .who {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.45rem;
  font-weight: 600;
}
.ticket p:nth-child(2) {
  font-family: var(--serif);
  font-size: 0.98rem;
  margin: 0 0 0.8rem;
  line-height: 1.35;
}
.serrate {
  height: 10px;
  margin: 0 -1.15rem;
  background-image: radial-gradient(circle, transparent 50%, var(--bg) 51%);
  background-size: 16px 16px;
  background-position: -8px -8px;
}

footer {
  text-align: center;
  padding: 0.5rem var(--gutter) 2.5rem;
  font-family: var(--serif);
  font-size: 1.05rem;
}
footer .copy {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0.35rem 0 0;
}

dialog {
  border: 0;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  padding: 1.4rem;
  max-width: 22rem;
  font-family: var(--sans);
}
dialog::backdrop { background: rgba(38, 38, 36, 0.45); }
dialog button {
  margin-top: 0.8rem;
  font-family: var(--sans);
  background: var(--ink);
  color: var(--paper);
  border: 0;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
}
