:root {
  color-scheme: dark;
  --bg: #041015;
  --ink: #f6fffb;
  --muted: #a8c8c7;
  --teal: #2ae0cf;
  --green: #a3e85a;
  --blue: #71a8ff;
  --amber: #ffc857;
  --line: rgba(246, 255, 251, 0.16);
  --panel: rgba(4, 18, 24, 0.82);
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--body);
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

.intro-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100vw;
  min-height: 100vh;
  min-height: 100svh;
  padding: 2rem;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(42, 224, 207, 0.16), transparent 28rem),
    radial-gradient(circle at 22% 24%, rgba(113, 168, 255, 0.16), transparent 20rem),
    radial-gradient(circle at 78% 74%, rgba(163, 232, 90, 0.14), transparent 22rem),
    linear-gradient(145deg, #071c23 0%, #041015 58%, #02080b 100%);
}

.intro-stage::before {
  position: absolute;
  inset: -10%;
  z-index: -4;
  content: "";
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(246, 255, 251, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 255, 251, 0.08) 1px, transparent 1px);
  background-size: 58px 58px;
  transform: rotate(-5deg) scale(1.08);
}

.flow {
  position: absolute;
  z-index: -3;
  width: 70vmax;
  height: 18vmax;
  border-radius: 999px;
  opacity: 0;
  transform: translateX(-42vw) rotate(-12deg);
}

.flow-one {
  top: 18%;
  background: linear-gradient(90deg, transparent, rgba(42, 224, 207, 0.32), rgba(113, 168, 255, 0.18), transparent);
}

.flow-two {
  bottom: 16%;
  background: linear-gradient(90deg, transparent, rgba(163, 232, 90, 0.24), rgba(42, 224, 207, 0.28), transparent);
  transform: translateX(42vw) rotate(10deg);
}

.pulse-line {
  position: absolute;
  left: 8vw;
  right: 8vw;
  top: 50%;
  height: 2px;
  z-index: -1;
  overflow: hidden;
  opacity: 0;
  background: rgba(246, 255, 251, 0.12);
}

.pulse-line::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, var(--green), var(--teal), transparent);
  transform: translateX(-100%);
}


.setup-panel[hidden] {
  display: none !important;
}
.setup-panel {
  position: fixed;
  left: 50%;
  top: 1rem;
  z-index: 70;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(190px, 1.2fr) minmax(190px, 1fr);
  gap: 0.65rem;
  align-items: end;
  width: min(calc(100vw - 2rem), 980px);
  padding: 0.76rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 16, 21, 0.9);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.24);
  transform: translateX(-50%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.setup-panel label {
  display: grid;
  gap: 0.35rem;
}

.setup-panel span {
  color: rgba(246, 255, 251, 0.68);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.setup-panel input,
.setup-panel textarea {
  width: 100%;
  min-height: 40px;
  padding: 0.58rem 0.68rem;
  color: var(--ink);
  border: 1px solid rgba(246, 255, 251, 0.18);
  border-radius: 8px;
  background: rgba(246, 255, 251, 0.08);
  outline: none;
}

.setup-panel textarea {
  min-height: 84px;
  resize: vertical;
}

.setup-panel input:focus,
.setup-panel textarea:focus {
  border-color: rgba(42, 224, 207, 0.78);
}

.setup-wide {
  grid-column: 1 / -1;
}

.date-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
}

.setup-panel button,
.start-button {
  min-height: 44px;
  padding: 0.72rem 1rem;
  color: #031015;
  font-weight: 850;
  letter-spacing: 0;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--teal));
  cursor: pointer;
  touch-action: manipulation;
}

.setup-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

.setup-actions button[data-close-setup] {
  color: var(--ink);
  border: 1px solid rgba(246, 255, 251, 0.18);
  background: rgba(246, 255, 251, 0.08);
}

.intro-stage.is-setup-open .start-button,
.intro-stage.is-setup-open .agenda-button {
  opacity: 0;
  pointer-events: none;
}

.intro-stage.is-playing .setup-panel {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-16px);
}

.support-motion {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.queue-label,
.name-rain,
.ticket-card,
.improvement-board,
.resolution-ring {
  position: absolute;
  opacity: 0;
}

.name-rain {
  display: none;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.name-tag {
  position: absolute;
  left: var(--name-left);
  top: -5.4rem;
  display: grid;
  gap: 0.18rem;
  width: max-content;
  max-width: min(260px, 28vw);
  padding: 0.58rem 0.72rem;
  border: 1px solid rgba(246, 255, 251, 0.13);
  border-radius: 8px;
  background: rgba(5, 24, 31, 0.72);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translate(-50%, -10vh) scale(var(--name-scale));
  will-change: transform, opacity;
}

.name-tag strong,
.name-tag small {
  display: block;
  overflow: hidden;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.name-tag strong {
  color: rgba(246, 255, 251, 0.9);
  font-size: clamp(0.7rem, 1vw, 0.88rem);
  font-weight: 900;
}

.name-tag small {
  color: rgba(168, 200, 199, 0.76);
  font-size: clamp(0.56rem, 0.78vw, 0.66rem);
  font-weight: 720;
}

.queue-label {
  left: clamp(1rem, 4vw, 3.2rem);
  top: clamp(5.8rem, 12vh, 8rem);
  padding: 0.55rem 0.68rem;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  border: 1px solid rgba(163, 232, 90, 0.22);
  border-radius: 8px;
  background: rgba(4, 16, 21, 0.72);
}

.ticket-card {
  width: clamp(168px, 15vw, 218px);
  min-height: 112px;
  padding: 0.78rem 0.82rem;
  contain: layout paint;
  border: 1px solid rgba(246, 255, 251, 0.15);
  border-radius: 8px;
  background: rgba(5, 24, 31, 0.82);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  will-change: transform, opacity;
}

.ticket-id,
.ticket-meta,
.ticket-status {
  display: block;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ticket-id {
  color: rgba(246, 255, 251, 0.58);
  font-size: 0.66rem;
  font-weight: 850;
}

.ticket-card strong {
  display: block;
  min-height: 2.3em;
  margin: 0.34rem 0 0.45rem;
  color: rgba(246, 255, 251, 0.96);
  font-size: clamp(0.9rem, 1.15vw, 1.05rem);
  line-height: 1.12;
}

.ticket-meta {
  margin-bottom: 0.52rem;
  color: rgba(246, 255, 251, 0.62);
  font-size: 0.63rem;
  font-weight: 760;
}

.ticket-status {
  width: max-content;
  padding: 0.34rem 0.48rem;
  color: #041015;
  font-size: 0.67rem;
  font-weight: 900;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--teal));
}

.ticket-status::before {
  content: "+ ";
}

.ticket-a {
  left: -230px;
  top: 18vh;
}

.ticket-b {
  right: -230px;
  top: 27vh;
}

.ticket-c {
  left: -240px;
  bottom: 28vh;
}

.ticket-d {
  right: -240px;
  bottom: 22vh;
}

.ticket-e,
.ticket-g,
.ticket-i {
  left: -250px;
}

.ticket-f,
.ticket-h,
.ticket-j {
  right: -250px;
}

.ticket-e {
  top: 43vh;
}

.ticket-f {
  top: 48vh;
}

.ticket-g {
  bottom: 14vh;
}

.ticket-h {
  bottom: 34vh;
}

.ticket-i {
  top: 60vh;
}

.ticket-j {
  bottom: 8vh;
}

.improvement-board {
  left: 50%;
  bottom: clamp(4.8rem, 10vh, 6.2rem);
  z-index: 1;
  display: flex;
  gap: 0.6rem;
  width: max-content;
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
}

.improvement-board span {
  display: block;
  flex: 0 0 auto;
  padding: 0.56rem 0.76rem;
  color: rgba(246, 255, 251, 0.82);
  font-size: 0.66rem;
  font-weight: 850;
  border: 1px solid rgba(113, 168, 255, 0.24);
  border-radius: 999px;
  background: rgba(7, 28, 35, 0.78);
}

.resolution-ring {
  left: 50%;
  top: 50%;
  width: min(62vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(42, 224, 207, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.72);
}

.resolution-ring span {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(163, 232, 90, 0.13);
  border-radius: inherit;
}

.resolution-ring span:nth-child(2) {
  inset: 32%;
  border-color: rgba(113, 168, 255, 0.14);
}

.resolution-ring span:nth-child(3) {
  inset: 46%;
  border-color: rgba(255, 200, 87, 0.14);
}

.champions-pad {
  position: fixed;
  right: clamp(1rem, 2.8vw, 2rem);
  top: clamp(1rem, 3.4vh, 2rem);
  z-index: 6;
  width: min(310px, calc(100vw - 2rem));
  min-height: 166px;
  padding: 0.95rem 0.92rem 0.86rem;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid rgba(42, 224, 207, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(rgba(42, 224, 207, 0.08) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(163, 232, 90, 0.06) 1px, transparent 1px) 0 0 / 20px 20px,
    radial-gradient(circle at 20% 12%, rgba(163, 232, 90, 0.22), transparent 9rem),
    linear-gradient(145deg, rgba(4, 16, 21, 0.96), rgba(7, 38, 43, 0.92));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.36), 0 0 34px rgba(42, 224, 207, 0.18), inset 0 0 0 1px rgba(246, 255, 251, 0.06);
  text-shadow: none;
  transform: rotate(-1deg) translateY(14px);
}

.champions-pad::before {
  position: absolute;
  inset: 0;
  content: "0101  FIX  1100  KB  0011  RCA  1010  NEXT  0110";
  color: rgba(163, 232, 90, 0.16);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: 0.18em;
  opacity: 0.86;
  overflow: hidden;
  pointer-events: none;
  transform: skewX(-8deg);
}

.champions-pad::after {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0.36rem;
  content: "";
  background: linear-gradient(var(--teal), var(--green));
  box-shadow: 0 0 18px rgba(42, 224, 207, 0.64);
}

.champions-pad__pin {
  position: absolute;
  right: 0.72rem;
  top: 0.62rem;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #ffffff, var(--green) 38%, var(--teal) 78%);
  box-shadow: 0 0 16px rgba(42, 224, 207, 0.72);
}

.champions-pad__header,
.champions-ticker {
  position: relative;
  z-index: 1;
}

.champions-pad__header {
  display: grid;
  gap: 0.2rem;
  padding: 0.12rem 1.1rem 0.52rem 0.52rem;
  border-bottom: 1px solid rgba(42, 224, 207, 0.26);
}

.champions-pad__header span:first-child {
  color: #f8fffd;
  font-size: 0.88rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.champions-stars,
.champion-badge {
  color: #ffd86f;
  text-shadow: 0 0 10px rgba(255, 216, 111, 0.82), 0 0 22px rgba(255, 200, 87, 0.34);
}

.champions-stars {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}

.champions-ticker {
  height: 82px;
  margin-top: 0.54rem;
  overflow: hidden;
  mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
}

.champions-track {
  display: grid;
  gap: 0.42rem;
}

.champion-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.2rem 0.46rem;
  align-items: center;
  min-height: 44px;
  padding: 0.42rem 0.48rem;
  border: 1px solid rgba(42, 224, 207, 0.18);
  border-radius: 8px;
  background: rgba(4, 16, 21, 0.68);
  box-shadow: inset 0 0 18px rgba(42, 224, 207, 0.05);
}

.champion-item strong,
.champion-item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.champion-item strong {
  color: #f8fffd;
  font-size: 0.82rem;
  font-weight: 950;
}

.champion-item small {
  color: rgba(168, 200, 199, 0.78);
  font-size: 0.64rem;
  font-weight: 760;
}

.champion-badge {
  grid-row: span 2;
  font-size: 0.6rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.intro-stage.is-playing .champions-pad {
  pointer-events: auto;
  animation: padPopIn 800ms 8.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.intro-stage.is-playing .champions-track {
  animation: championScroll 24s 8.35s linear infinite;
}

.intro-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 1180px);
  text-align: center;
  text-shadow: 0 24px 80px rgba(0, 0, 0, 0.58);
}

.eyebrow,
.subline,
.host-line,
.date-line,
.guest-line,
.topic-line {
  margin: 0;
  opacity: 0;
  letter-spacing: 0;
}

.eyebrow {
  color: var(--green);
  font-size: clamp(0.82rem, 1.6vw, 1.05rem);
  font-weight: 850;
  text-transform: uppercase;
  transform: translateY(22px);
}

h1 {
  display: grid;
  gap: 0.04em;
  margin: 0.35rem 0 0.85rem;
  font-size: clamp(4.1rem, 13vw, 12rem);
  line-height: 0.88;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.word {
  display: block;
  opacity: 0;
  transform: translateY(0.72em) scale(0.96);
  will-change: transform, opacity;
}

.word-friday {
  color: #f8fffd;
}

.word-fixathon {
  color: transparent;
  background: linear-gradient(95deg, var(--green), var(--teal), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
}

.subline {
  width: fit-content;
  max-width: min(92vw, 820px);
  margin: 0 auto;
  padding: 0.38rem 0.92rem;
  color: #f8fffd;
  font-size: clamp(1.28rem, 2.6vw, 2.1rem);
  font-weight: 900;
  line-height: 1.08;
  border-bottom: 2px solid rgba(42, 224, 207, 0.5);
  background: linear-gradient(90deg, transparent, rgba(4, 16, 21, 0.48), transparent);
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.68);
  transform: translateY(-10px);
}

.checkmark {
  display: inline-grid;
  place-items: center;
  width: 1.1em;
  height: 1.1em;
  margin-right: 0.28rem;
  color: #041015;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--teal));
  font-size: 0.72em;
  vertical-align: 0.08em;
}

.host-line,
.date-line,
.guest-line,
.topic-line {
  position: relative;
  display: block;
  width: fit-content;
  max-width: min(94vw, 980px);
  margin-left: auto;
  margin-right: auto;
  padding: 0.56rem 0.9rem;
  color: rgba(246, 255, 251, 0.95);
  font-weight: 900;
  line-height: 1.18;
  overflow: hidden;
  overflow-wrap: anywhere;
  isolation: isolate;
  border: 1px solid rgba(246, 255, 251, 0.2);
  border-radius: 8px;
  background: rgba(4, 16, 21, 0.82);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.32);
  text-shadow: none;
  transform: translateY(-6px);
}

.host-line {
  margin-top: 1rem;
  font-size: clamp(1.05rem, 1.8vw, 1.34rem);
  border-color: rgba(113, 168, 255, 0.36);
}

.date-line {
  margin-top: 0.44rem;
  color: rgba(246, 255, 251, 0.86);
  font-size: clamp(0.94rem, 1.45vw, 1.12rem);
  border-color: rgba(42, 224, 207, 0.26);
  background: rgba(4, 16, 21, 0.72);
}

.guest-line {
  margin-top: 0.7rem;
  padding: 0.78rem 1.25rem;
  color: rgba(246, 255, 251, 0.98);
  font-size: clamp(1.35rem, 2.6vw, 2.15rem);
  border: 2px solid rgba(42, 224, 207, 0.54);
  background:
    linear-gradient(135deg, rgba(4, 16, 21, 0.95), rgba(7, 38, 43, 0.92)),
    linear-gradient(90deg, rgba(42, 224, 207, 0.2), rgba(163, 232, 90, 0.12));
  box-shadow: 0 0 0 2px rgba(42, 224, 207, 0.1), 0 20px 58px rgba(42, 224, 207, 0.3);
}

.topic-line {
  z-index: 4;
  margin-top: 0.9rem;
  padding: 0.95rem 1.45rem;
  color: #f8fffd;
  font-size: clamp(2rem, 5vw, 4.25rem);
  border: 3px solid rgba(42, 224, 207, 0.66);
  background:
    linear-gradient(135deg, rgba(4, 16, 21, 0.98), rgba(8, 45, 46, 0.94)),
    linear-gradient(90deg, rgba(42, 224, 207, 0.28), rgba(163, 232, 90, 0.2));
  box-shadow: 0 0 0 3px rgba(42, 224, 207, 0.18), 0 28px 92px rgba(42, 224, 207, 0.42), inset 0 0 36px rgba(42, 224, 207, 0.16);
  text-shadow: 0 0 18px rgba(42, 224, 207, 0.5), 0 8px 30px rgba(0, 0, 0, 0.7);
  transform-origin: 50% -34px;
}

.guest-line::before,
.topic-line::before {
  position: absolute;
  inset: -24% -10%;
  z-index: 0;
  content: "0101 1100 1010 0110  FIX  0011 1001  NEXT  0110 0101  KB  1010 1100  RESOLVE  1110 0010  RCA";
  color: rgba(163, 232, 90, 0.34);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0.16em;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  text-shadow: 0 0 16px rgba(42, 224, 207, 0.58);
  transform: translateY(26%) skewX(-10deg);
  white-space: normal;
}

.guest-line::after,
.topic-line::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  opacity: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 10%, rgba(42, 224, 207, 0.72) 40%, rgba(163, 232, 90, 0.5) 56%, transparent 82%);
  transform: translateX(-120%);
}

.start-button {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 20;
  min-width: 220px;
  min-height: 64px;
  padding: 1rem 1.6rem;
  font-size: clamp(1.08rem, 2.2vw, 1.45rem);
  box-shadow: 0 18px 56px rgba(42, 224, 207, 0.34);
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.start-button:hover {
  box-shadow: 0 24px 72px rgba(42, 224, 207, 0.44);
  transform: translate(-50%, calc(-50% - 3px));
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(246, 255, 251, 0.74);
  outline-offset: 3px;
}


.agenda-button {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1.3rem, 4.5vh, 2.4rem);
  z-index: 10;
  min-height: 52px;
  padding: 0.85rem 1rem;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: 0;
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(42, 224, 207, 0.34);
  border-radius: 8px;
  background: rgba(4, 16, 21, 0.84);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.agenda-button:hover,
.intro-stage.is-agenda-open .agenda-button {
  border-color: rgba(163, 232, 90, 0.62);
  transform: translateY(-2px);
}

.agenda-panel[hidden] {
  display: none !important;
}

.agenda-panel {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: calc(clamp(1.3rem, 4.5vh, 2.4rem) + 4.4rem);
  z-index: 12;
  width: min(420px, calc(100vw - 2rem));
  padding: 0.9rem;
  color: var(--ink);
  border: 1px solid rgba(42, 224, 207, 0.3);
  border-radius: 8px;
  background: rgba(4, 16, 21, 0.94);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.4);
}

.agenda-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.agenda-header strong {
  color: var(--green);
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.agenda-header button {
  min-height: 36px;
  padding: 0.42rem 0.62rem;
  color: var(--ink);
  border: 1px solid rgba(246, 255, 251, 0.18);
  border-radius: 8px;
  background: rgba(246, 255, 251, 0.08);
  cursor: pointer;
}

.agenda-panel ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.15rem;
}

.agenda-panel li {
  color: rgba(246, 255, 251, 0.9);
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  font-weight: 720;
  line-height: 1.28;
}
.champion-reaction {
  position: fixed;
  z-index: 40;
  width: 42px;
  height: 42px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 0 12px rgba(255, 216, 111, 0.58));
  animation: reactionFloat 950ms ease-out forwards;
}

@keyframes reactionFloat {
  from {
    opacity: 0;
    transform: translate(-50%, -20%) scale(0.72);
  }
  22% {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translate(calc(-50% + var(--reaction-drift)), -120px) scale(1.24);
  }
}

.audio-note {
  position: fixed;
  left: 50%;
  bottom: 0.65rem;
  z-index: 10;
  width: min(92vw, 620px);
  margin: 0;
  color: rgba(246, 255, 251, 0.72);
  font-size: 0.82rem;
  font-weight: 650;
  text-align: center;
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 200ms ease;
}

.audio-note.is-visible {
  opacity: 1;
}

.intro-stage.is-playing .flow-one {
  animation: flowInLeft 11s cubic-bezier(0.18, 0.82, 0.22, 1) both;
}

.intro-stage.is-playing .flow-two {
  animation: flowInRight 11s 0.25s cubic-bezier(0.18, 0.82, 0.22, 1) both;
}

.intro-stage.is-playing .pulse-line {
  animation: lineReveal 900ms 0.65s ease both;
}

.intro-stage.is-playing .pulse-line::after {
  animation: pulseSweep 4.8s 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.intro-stage.is-playing .queue-label {
  animation: fadeRise 700ms 0.35s ease both;
}

.intro-stage.is-playing .resolution-ring {
  animation: ringWake 8s 0.4s ease-out infinite;
}

.intro-stage.is-playing .name-rain {
  opacity: 1;
}

.intro-stage.is-playing .name-tag {
  animation: nameFall var(--name-duration) var(--name-delay) linear infinite;
}

.intro-stage.is-playing .ticket-card {
  animation: ticketResolve 4.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.intro-stage.is-playing .ticket-card::after {
  animation: ticketCheck 4.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.intro-stage.is-playing .ticket-b,
.intro-stage.is-playing .ticket-b::after {
  animation-delay: 0.32s;
}

.intro-stage.is-playing .ticket-c,
.intro-stage.is-playing .ticket-c::after {
  animation-delay: 0.64s;
}

.intro-stage.is-playing .ticket-d,
.intro-stage.is-playing .ticket-d::after {
  animation-delay: 0.96s;
}

.intro-stage.is-playing .ticket-e,
.intro-stage.is-playing .ticket-e::after {
  animation-delay: 1.28s;
}

.intro-stage.is-playing .ticket-f,
.intro-stage.is-playing .ticket-f::after {
  animation-delay: 1.6s;
}

.intro-stage.is-playing .ticket-g,
.intro-stage.is-playing .ticket-g::after {
  animation-delay: 1.92s;
}

.intro-stage.is-playing .ticket-h,
.intro-stage.is-playing .ticket-h::after {
  animation-delay: 2.24s;
}

.intro-stage.is-playing .ticket-i,
.intro-stage.is-playing .ticket-i::after {
  animation-delay: 2.56s;
}

.intro-stage.is-playing .ticket-j,
.intro-stage.is-playing .ticket-j::after {
  animation-delay: 2.88s;
}

.intro-stage.is-playing .ticket-a {
  --ticket-end-x: 30vw;
  --ticket-end-y: 3vh;
}

.intro-stage.is-playing .ticket-b {
  --ticket-end-x: -33vw;
  --ticket-end-y: 2vh;
}

.intro-stage.is-playing .ticket-c {
  --ticket-end-x: 33vw;
  --ticket-end-y: -4vh;
}

.intro-stage.is-playing .ticket-d {
  --ticket-end-x: -35vw;
  --ticket-end-y: -5vh;
}

.intro-stage.is-playing .ticket-e {
  --ticket-end-x: 28vw;
  --ticket-end-y: -1vh;
}

.intro-stage.is-playing .ticket-f {
  --ticket-end-x: -28vw;
  --ticket-end-y: 1vh;
}

.intro-stage.is-playing .ticket-g {
  --ticket-end-x: 32vw;
  --ticket-end-y: -3vh;
}

.intro-stage.is-playing .ticket-h {
  --ticket-end-x: -32vw;
  --ticket-end-y: 3vh;
}

.intro-stage.is-playing .ticket-i {
  --ticket-end-x: 30vw;
  --ticket-end-y: 2vh;
}

.intro-stage.is-playing .ticket-j {
  --ticket-end-x: -30vw;
  --ticket-end-y: -2vh;
}

.intro-stage.is-playing .improvement-board {
  animation: improvementDrift 16s 1s linear infinite;
}

.intro-stage.is-playing .eyebrow {
  animation: fadeRise 800ms 0.45s ease both;
}

.intro-stage.is-playing .word-friday {
  animation: titleFlow 1.15s 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.intro-stage.is-playing .word-fixathon {
  animation: titleFlow 1.25s 1.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.intro-stage.is-playing .subline {
  animation: sublineIn 820ms 2.55s ease both;
}

.intro-stage.is-playing .host-line {
  animation: sublineIn 700ms 3s ease both;
}

.intro-stage.is-playing .date-line {
  animation: sublineIn 650ms 3.16s ease both;
}

.intro-stage.is-playing .topic-line {
  animation: topicSwingIn 1600ms 9.2s cubic-bezier(0.16, 1, 0.3, 1) both, topicGlow 2800ms 9.85s ease-out both;
}

.intro-stage.is-playing .topic-line::before {
  animation: matrixCodeFlash 1500ms 9.25s steps(8, end) both;
}

.intro-stage.is-playing .topic-line::after {
  animation: detailSweep 1200ms 9.72s ease-out both;
}

.intro-stage.is-playing .guest-line {
  animation: detailReveal 900ms 10.85s cubic-bezier(0.16, 1, 0.3, 1) both, guestGlow 1600ms 11.45s ease-out both;
}

.intro-stage.is-playing .guest-line::before {
  animation: matrixCodeFlash 1200ms 10.92s steps(7, end) both;
}

.intro-stage.is-playing .guest-line::after {
  animation: detailSweep 900ms 11.18s ease-out both;
}

.intro-stage.is-playing .start-button {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-50% + 16px));
}

.intro-stage.is-complete .start-button,
.intro-stage.is-playing .agenda-button,
.intro-stage.is-complete .agenda-button {
  opacity: 1;
  pointer-events: auto;
}

.intro-stage.is-complete .start-button {
  transform: translate(-50%, -50%);
}

.intro-stage.is-playing .agenda-button,
.intro-stage.is-complete .agenda-button {
  transform: none;
}

@keyframes flowInLeft {
  0% {
    opacity: 0;
    transform: translateX(-55vw) rotate(-12deg) scale(0.88);
  }
  24%, 70% {
    opacity: 0.72;
  }
  100% {
    opacity: 0.18;
    transform: translateX(18vw) rotate(-7deg) scale(1.02);
  }
}

@keyframes flowInRight {
  0% {
    opacity: 0;
    transform: translateX(55vw) rotate(10deg) scale(0.9);
  }
  24%, 70% {
    opacity: 0.64;
  }
  100% {
    opacity: 0.16;
    transform: translateX(-20vw) rotate(6deg) scale(1.02);
  }
}

@keyframes lineReveal {
  from {
    opacity: 0;
    transform: scaleX(0.34);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes pulseSweep {
  from {
    transform: translateX(-105%);
  }
  to {
    transform: translateX(105%);
  }
}

@keyframes ringWake {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.76) rotate(0deg);
  }
  18%, 70% {
    opacity: 0.45;
  }
  100% {
    opacity: 0.04;
    transform: translate(-50%, -50%) scale(1.08) rotate(18deg);
  }
}

@keyframes nameFall {
  0% {
    opacity: 0;
    transform: translate(-50%, -10vh) scale(var(--name-scale));
  }
  10%, 72% {
    opacity: 0.78;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--name-drift)), 112vh) scale(var(--name-scale));
  }
}

@keyframes ticketResolveMobile {
  0% {
    opacity: 0;
    transform: translateX(-92vw) scale(0.92) rotate(-4deg);
  }
  20%, 42% {
    opacity: 0.94;
    transform: translateX(0) scale(1) rotate(0deg);
  }
  70%, 100% {
    opacity: 0;
    transform: translateX(92vw) scale(0.96) rotate(4deg);
  }
}

@keyframes ticketCheckMobile {
  0%, 28% {
    opacity: 0;
    transform: scale(0.45) rotate(-18deg);
  }
  38%, 58% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.8) rotate(8deg);
  }
}

@keyframes ticketCheck {
  0%, 34% {
    opacity: 0;
    transform: scale(0.45) rotate(-18deg);
  }
  46%, 72% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.8) rotate(8deg);
  }
}

@keyframes ticketResolve {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.92);
  }
  14%, 44% {
    opacity: 0.82;
  }
  38% {
    transform: translate(calc(var(--ticket-end-x) * 0.6), calc(var(--ticket-end-y) * 0.6)) scale(1);
  }
  58% {
    opacity: 0.9;
    transform: translate(var(--ticket-end-x), var(--ticket-end-y)) scale(1);
  }
  82%, 100% {
    opacity: 0;
    transform: translate(calc(var(--ticket-end-x) + 9vw), calc(var(--ticket-end-y) - 1vh)) scale(0.96);
  }
}

@keyframes improvementDrift {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(14px);
  }
  10%, 88% {
    opacity: 1;
  }
  100% {
    opacity: 0.76;
    transform: translateX(calc(-50% - 18vw)) translateY(0);
  }
}

@keyframes padPopIn {
  0% {
    visibility: hidden;
    opacity: 0;
    transform: rotate(-1.4deg) translateY(18px) scale(0.96);
  }
  1% {
    visibility: visible;
    opacity: 0;
  }
  72% {
    visibility: visible;
    opacity: 1;
    transform: rotate(-1.4deg) translateY(-3px) scale(1.02);
  }
  100% {
    visibility: visible;
    opacity: 1;
    transform: rotate(-1.4deg) translateY(0) scale(1);
  }
}

@keyframes championScroll {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

@keyframes fadeRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleFlow {
  0% {
    opacity: 0;
    transform: translateY(0.72em) scale(0.96);
  }
  68% {
    opacity: 1;
    transform: translateY(-0.035em) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes sublineIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes detailReveal {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.94);
  }
  70% {
    opacity: 1;
    transform: translateY(-2px) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes detailSweep {
  0% {
    opacity: 0;
    transform: translateX(-120%);
  }
  35%, 72% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

@keyframes guestGlow {
  0%, 100% {
    box-shadow: 0 16px 44px rgba(42, 224, 207, 0.24);
  }
  42% {
    box-shadow: 0 0 0 3px rgba(246, 255, 251, 0.18), 0 22px 64px rgba(42, 224, 207, 0.44);
  }
}



@keyframes matrixCodeFlash {
  0% {
    opacity: 0;
    transform: translateY(28%) skewX(-10deg);
  }
  18%, 62% {
    opacity: 0.86;
  }
  100% {
    opacity: 0;
    transform: translateY(-18%) skewX(-10deg);
  }
}
@keyframes topicSwingIn {
  0% {
    opacity: 0;
    transform: translateY(34px) rotate(-9deg) scale(0.62);
  }
  34% {
    opacity: 1;
    transform: translateY(-8px) rotate(5deg) scale(1.24);
  }
  58% {
    opacity: 1;
    transform: translateY(2px) rotate(-3deg) scale(1.13);
  }
  78% {
    opacity: 1;
    transform: translateY(-1px) rotate(1.4deg) scale(1.08);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1.06);
  }
}
@keyframes topicGlow {
  0%, 100% {
    box-shadow: 0 0 0 2px rgba(42, 224, 207, 0.14), 0 22px 72px rgba(42, 224, 207, 0.32);
  }
  38% {
    box-shadow: 0 0 0 7px rgba(246, 255, 251, 0.18), 0 0 54px rgba(42, 224, 207, 0.56), 0 26px 86px rgba(163, 232, 90, 0.3);
  }
  70% {
    box-shadow: 0 0 0 3px rgba(42, 224, 207, 0.22), 0 24px 76px rgba(42, 224, 207, 0.38);
  }
}

@media (min-width: 1500px) and (max-height: 1100px) {
  h1 {
    font-size: clamp(6.5rem, 15vh, 10rem);
  }

  .topic-line {
    font-size: clamp(2.2rem, 5.4vh, 3.55rem);
  }

  .guest-line {
    font-size: clamp(1.4rem, 3.2vh, 1.95rem);
  }
}

@media (max-height: 820px) {
  .intro-stage {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  h1 {
    margin: 0.18rem 0 0.42rem;
    font-size: clamp(3.6rem, 13vh, 8rem);
  }

  .subline {
    padding: 0.28rem 0.74rem;
    font-size: clamp(1.02rem, 3vh, 1.6rem);
  }

  .host-line {
    margin-top: 0.62rem;
    font-size: clamp(0.92rem, 2.3vh, 1.12rem);
  }

  .date-line {
    margin-top: 0.28rem;
    padding: 0.36rem 0.68rem;
    font-size: clamp(0.82rem, 2vh, 1rem);
  }

  .topic-line {
    margin-top: 0.46rem;
    padding: 0.68rem 1rem;
    font-size: clamp(1.48rem, 5.1vh, 3rem);
  }

  .guest-line {
    margin-top: 0.42rem;
    padding: 0.56rem 0.9rem;
    font-size: clamp(1rem, 3.2vh, 1.65rem);
  }
}
@media (max-width: 820px) {
  .setup-panel {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .queue-label {
    display: none;
  }

  .name-rain {
    z-index: 1;
  }

  .name-tag {
    max-width: min(230px, 58vw);
    padding: 0.5rem 0.62rem;
    background: rgba(5, 24, 31, 0.84);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  }

  .name-tag strong {
    font-size: 0.82rem;
  }

  .name-tag small {
    font-size: 0.6rem;
  }

  .intro-stage {
    place-items: start center;
    min-height: 100dvh;
    padding: calc(env(safe-area-inset-top, 0px) + 0.58rem) 1rem 1rem;
  }

  .intro-copy {
    width: min(100%, 390px);
    transform: translateY(0);
  }

  h1 {
    margin: 0.15rem 0 0.42rem;
    font-size: clamp(2.95rem, 15.8vw, 5.05rem);
    line-height: 0.86;
  }

  .subline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.22rem 0.34rem;
    max-width: min(96vw, 360px);
    padding: 0.3rem 0.64rem;
    font-size: clamp(0.98rem, 4.6vw, 1.34rem);
    line-height: 1.12;
  }

  .subline-item {
    gap: 0.24rem;
  }

  .host-line {
    width: min(90vw, 360px);
    box-sizing: border-box;
    margin-top: 0.58rem;
    font-size: clamp(0.92rem, 4.1vw, 1.16rem);
  }

  .date-line {
    width: min(90vw, 360px);
    box-sizing: border-box;
    max-width: none;
    margin-top: 0.28rem;
    padding: 0.34rem 0.62rem;
    font-size: clamp(0.82rem, 3.6vw, 1rem);
  }

  .topic-line {
    width: min(90vw, 360px);
    box-sizing: border-box;
    max-width: none;
    margin-top: 0.42rem;
    padding: 0.68rem 0.86rem;
    font-size: clamp(1.42rem, 7.7vw, 2.35rem);
    line-height: 1.08;
  }

  .guest-line {
    width: min(90vw, 360px);
    box-sizing: border-box;
    max-width: none;
    margin-top: 0.38rem;
    padding: 0.56rem 0.76rem;
    font-size: clamp(1rem, 4.8vw, 1.45rem);
    line-height: 1.12;
  }

  .ticket-card {
    left: 50%;
    right: auto;
    top: min(60vh, 510px);
    bottom: auto;
    z-index: 3;
    width: min(270px, calc(100vw - 2rem));
    min-height: 118px;
    margin-left: calc(min(270px, calc(100vw - 2rem)) / -2);
    padding: 0.78rem 0.84rem;
    background: rgba(5, 24, 31, 0.94);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.34), 0 0 28px rgba(42, 224, 207, 0.14);
  }

  .ticket-id {
    font-size: 0.68rem;
  }

  .ticket-card strong {
    min-height: 2.25em;
    padding-right: 2.2rem;
    font-size: 1rem;
    line-height: 1.14;
  }

  .ticket-meta {
    font-size: 0.66rem;
  }

  .ticket-status {
    font-size: 0.68rem;
  }


  .ticket-b,
  .ticket-d,
  .ticket-f,
  .ticket-h,
  .ticket-j {
    top: min(64vh, 540px);
  }

  .ticket-a,
  .ticket-c,
  .ticket-e,
  .ticket-g,
  .ticket-i {
    top: min(50vh, 420px);
  }

  .ticket-card::after {
    right: 0.58rem;
    top: 0.58rem;
    width: 1.72rem;
    height: 1.72rem;
  }

  .intro-stage.is-playing .ticket-card {
    animation-name: ticketResolveMobile;
    animation-duration: 1.65s;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    animation-fill-mode: both;
  }

  .intro-stage.is-playing .ticket-card::after {
    animation-name: ticketCheckMobile;
    animation-duration: 1.65s;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    animation-fill-mode: both;
  }

  .intro-stage.is-playing .ticket-b,
  .intro-stage.is-playing .ticket-b::after {
    animation-delay: 0.72s;
  }

  .intro-stage.is-playing .ticket-c,
  .intro-stage.is-playing .ticket-c::after {
    animation-delay: 1.44s;
  }

  .intro-stage.is-playing .ticket-d,
  .intro-stage.is-playing .ticket-d::after {
    animation-delay: 2.16s;
  }

  .intro-stage.is-playing .ticket-e,
  .intro-stage.is-playing .ticket-e::after {
    animation-delay: 2.88s;
  }

  .intro-stage.is-playing .ticket-f,
  .intro-stage.is-playing .ticket-f::after {
    animation-delay: 3.6s;
  }

  .intro-stage.is-playing .ticket-g,
  .intro-stage.is-playing .ticket-g::after {
    animation-delay: 4.32s;
  }

  .intro-stage.is-playing .ticket-h,
  .intro-stage.is-playing .ticket-h::after {
    animation-delay: 5.04s;
  }

  .intro-stage.is-playing .ticket-i,
  .intro-stage.is-playing .ticket-i::after {
    animation-delay: 5.76s;
  }

  .intro-stage.is-playing .ticket-j,
  .intro-stage.is-playing .ticket-j::after {
    animation-delay: 6.48s;
  }

  .improvement-board {
    bottom: 5.6rem;
  }

  .start-button {
    z-index: 30;
    width: min(320px, calc(100vw - 2.4rem));
    -webkit-tap-highlight-color: transparent;
  }

  .champions-pad {
    left: 0.72rem;
    right: auto;
    top: auto;
    bottom: 0.72rem;
    width: min(236px, 62vw);
    min-height: 126px;
    padding: 0.78rem 0.66rem 0.62rem;
  }

  .champions-pad__header {
    padding: 0.1rem 0.1rem 0.38rem 0.34rem;
  }

  .champions-pad__header span:first-child {
    font-size: 0.68rem;
  }

  .champions-stars {
    font-size: 0.66rem;
  }

  .champions-ticker {
    height: 58px;
    margin-top: 0.42rem;
  }

  .champions-track {
    gap: 0.32rem;
  }

  .champion-item {
    min-height: 36px;
    padding: 0.34rem 0.38rem;
  }

  .champion-item strong {
    font-size: 0.68rem;
  }

  .champion-item small {
    font-size: 0.52rem;
  }

  .champion-badge {
    padding: 0.22rem 0.3rem;
    font-size: 0.48rem;
  }

  .agenda-button {
    right: 1.2rem;
    bottom: calc(clamp(1.3rem, 4.5vh, 2.4rem) + 4.3rem);
  }

  .agenda-panel {
    left: 1rem;
    right: 1rem;
    bottom: calc(clamp(1.3rem, 4.5vh, 2.4rem) + 8.2rem);
    width: auto;
  }
}

@media (max-width: 430px) and (max-height: 760px) {
  .intro-copy {
    transform: translateY(0);
  }

  h1 {
    font-size: clamp(2.72rem, 14.4vw, 4.4rem);
  }

  .subline {
    font-size: clamp(0.9rem, 4.2vw, 1.12rem);
  }

  .topic-line {
    font-size: clamp(1.24rem, 6.8vw, 1.9rem);
  }

  .guest-line {
    font-size: clamp(0.92rem, 4.3vw, 1.2rem);
  }
}
@media (max-width: 520px) {
  .improvement-board {
    display: none;
  }

  .name-tag small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow,
  .pulse-line,
  .queue-label,
  .name-rain,
  .name-tag,
  .resolution-ring,
  .ticket-card,
  .improvement-board,
  .eyebrow,
  .word,
  .subline,
  .host-line,
  .guest-line,
  .topic-line,
  .champions-pad {
    animation: none !important;
    visibility: visible;
    opacity: 1;
    filter: none;
    transform: none;
  }

  .pulse-line::after,
  .guest-line::before,
  .guest-line::after,
  .topic-line::before,
  .topic-line::after,
  .champions-track {
    animation: none !important;
  }
}
