@font-face {
  font-family: Peyda;
  src: url("/assets/peyda.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Peyda;
  src: url("/assets/peyda-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #080e0d;
  --panel: #111a18;
  --ink: #f3eee4;
  --muted: #9ca9a3;
  --mint: #91dfca;
  --coral: #ff705e;
  --line: #ffffff17;
  --radius: 24px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Peyda, Tahoma, sans-serif;
  line-height: 1.8;
  min-height: 100dvh;
  background-image: radial-gradient(
    ellipse at 85% 20%,
    #91dfca0c,
    transparent 45%
  );
}
button,
input,
select {
  font: inherit;
}
a {
  color: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}
input:focus,
select:focus {
  border-color: var(--mint);
}
[hidden] {
  display: none !important;
}
.header {
  max-width: 1440px;
  margin: auto;
  padding: 26px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
}
.brand small {
  display: block;
  font:
    9px Arial,
    sans-serif;
  letter-spacing: 3px;
  color: var(--muted);
  margin-top: 6px;
}
.logo {
  display: grid;
  place-items: center;
  background: var(--ink);
  width: 46px;
  height: 46px;
  border-radius: 12px;
}
.logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.event-label,
.connection {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
}
.connection {
  color: var(--mint);
}
.connection.offline {
  color: var(--coral);
}
.live-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px #91dfca66;
}
main {
  max-width: 1320px;
  margin: auto;
  padding: 56px 5vw 70px;
  min-height: calc(100dvh - 190px);
}
footer {
  max-width: 1440px;
  margin: auto;
  padding: 22px 5vw;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: #73827b;
  font-size: 11px;
}
footer [lang="en"] {
  font: 10px monospace;
  letter-spacing: 1px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--mint);
  font-size: 12px;
  margin: 0 0 18px;
}
.eyebrow:before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--mint);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(42px, 5.2vw, 76px);
  line-height: 1.45;
  letter-spacing: -2px;
  margin-bottom: 20px;
}
h1 em {
  color: var(--mint);
  font-style: normal;
}
h2 {
  font-size: 28px;
  line-height: 1.6;
  margin-bottom: 12px;
}
h3 {
  font-size: 18px;
}
.muted {
  color: var(--muted);
}
.intro {
  font-size: 16px;
  color: var(--muted);
  max-width: 470px;
  line-height: 2;
}
.registration-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 7vw;
  align-items: start;
}
.hero-copy {
  padding-top: 8px;
}
.pill {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 30px;
  display: inline-flex;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}
.facts {
  display: flex;
  gap: 0;
  margin: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.facts > div {
  flex: 1;
  border-inline-end: 1px solid var(--line);
  padding-inline-start: 20px;
}
.facts > div:first-child {
  padding-inline-start: 0;
}
.facts > div:last-child {
  border: 0;
}
.facts b {
  font-size: 28px;
  display: block;
  font-weight: 400;
  line-height: 1.5;
}
.facts small {
  color: var(--muted);
  font-size: 11px;
}
.card {
  background: linear-gradient(140deg, #18211e, #111916);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 18px 70px #0002;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.card-head h2 {
  font-size: 22px;
  margin: 0;
}
.card-head > span {
  font: 11px monospace;
  color: var(--muted);
}
form {
  display: grid;
  gap: 18px;
}
label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: #c6d0c9;
}
input,
select {
  width: 100%;
  height: 50px;
  background: #090f0d;
  border: 1px solid #ffffff22;
  border-radius: 12px;
  color: var(--ink);
  padding: 0 14px;
  min-width: 0;
  outline: 0;
}
input::placeholder {
  color: #67776e;
}
input[type="tel"] {
  direction: ltr;
  text-align: right;
}
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: var(--mint);
  margin: 4px 0 0;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.consent {
  display: flex;
  align-items: start;
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
  gap: 10px;
}
.primary,
.secondary {
  border-radius: 12px;
  min-height: 50px;
  padding: 12px 22px;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
}
.primary {
  background: var(--mint);
  color: #10251c;
  border: 1px solid var(--mint);
  font-weight: 700;
  transition: background 0.2s;
}
.primary:hover {
  background: #b0efd9;
}
.secondary {
  background: transparent;
  border: 1px solid #ffffff25;
  color: var(--ink);
}
.secondary:hover {
  background: #ffffff08;
}
.coral {
  background: var(--coral);
  border-color: var(--coral);
  color: #25120f;
}
.full {
  width: 100%;
}
.small {
  font-size: 11px;
}
.form-note {
  text-align: center;
  font-size: 10px;
  color: var(--muted);
  margin: 0;
}
.error {
  background: #ff705e10;
  color: #ffc0b6;
  border: 1px solid #ff705e40;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12px;
}
.orbit {
  height: 150px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background-image: radial-gradient(#91dfca20 1px, transparent 1px);
  background-size: 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px;
  margin-top: 30px;
  border: 1px solid var(--line);
}
.orbit-rings {
  position: relative;
  width: 120px;
  height: 120px;
  border: 1px solid #91dfca44;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  transform: rotate(-22deg);
}
.orbit-rings:before,
.orbit-rings:after {
  content: "";
  position: absolute;
  inset: 15px -10px;
  border: 1px solid #91dfca44;
  border-radius: 50%;
  transform: rotate(60deg);
}
.orbit-rings:after {
  transform: rotate(-60deg);
}
.orbit-rings i {
  width: 18px;
  height: 18px;
  background: var(--coral);
  border-radius: 50%;
  box-shadow: 0 0 30px #ff705e44;
}
.orbit p {
  font-size: 14px;
  margin: 0;
}
.orbit small {
  display: block;
  color: var(--muted);
  font: 9px monospace;
  letter-spacing: 2px;
  margin-top: 9px;
}
.rules {
  padding: 0;
  list-style: none;
  counter-reset: rules;
  margin: 18px 0;
}
.rules li {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: start;
  gap: 10px;
  margin-bottom: 10px;
  counter-increment: rules;
}
.rules li:before {
  content: counter(rules, decimal-leading-zero);
  font: 10px monospace;
  color: var(--mint);
  padding-top: 6px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 30px;
}
.page-heading h1 {
  font-size: 36px;
  letter-spacing: -0.7px;
  margin: 0;
}
.stepper {
  display: flex;
  gap: 8px;
}
.step {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.step.current {
  border-color: var(--mint);
  color: var(--mint);
  background: #91dfca0c;
}
.step.done {
  background: var(--mint);
  color: var(--bg);
}
.game-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
}
.waiting {
  text-align: center;
  padding: 42px 24px;
}
.waiting h2 {
  margin-top: 25px;
}
.beacon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid #91dfca55;
  display: grid;
  place-items: center;
  margin: auto;
  box-shadow:
    0 0 0 14px #91dfca06,
    0 0 0 28px #91dfca03;
  color: var(--mint);
  font-size: 26px;
}
.waiting p {
  max-width: 440px;
  margin: 12px auto;
  color: var(--muted);
  font-size: 14px;
}
.side-stat {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.side-stat:first-child {
  padding-top: 0;
}
.side-stat:last-child {
  padding-bottom: 0;
  border: 0;
}
.side-stat small {
  color: var(--muted);
  display: block;
}
.side-stat b {
  font-size: 32px;
  font-weight: 400;
  display: block;
  color: var(--mint);
}
.timer {
  direction: ltr;
  font: clamp(42px, 5vw, 64px) monospace;
  letter-spacing: -3px;
  line-height: 1.4;
  color: var(--mint);
  font-variant-numeric: tabular-nums;
}
.timer.urgent {
  color: var(--coral);
}
.question-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 12px;
}
.question h2 {
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.9;
  min-height: 100px;
}
.options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.option {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: right;
  min-height: 76px;
  background: #0a120f;
  border: 1px solid #ffffff25;
  border-radius: 14px;
  color: var(--ink);
  padding: 14px 16px;
  font-size: 15px;
}
.option:hover {
  border-color: var(--mint);
  background: #91dfca08;
}
.option > span {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex: none;
  font-size: 12px;
  color: var(--mint);
}
.option.selected {
  border-color: var(--mint);
  background: #91dfca13;
}
.question-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 11px;
}
.feedback {
  min-height: 24px;
  color: var(--mint);
  font-size: 13px;
}
.feedback.wrong {
  color: var(--coral);
}
.leaderboard {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: right;
  white-space: nowrap;
}
th {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
tr:last-child td {
  border: 0;
}
td:first-child {
  color: var(--muted);
  width: 70px;
}
tbody tr:first-child td {
  color: var(--mint);
}
.table-empty {
  text-align: center;
  color: var(--muted);
  padding: 40px;
  font-size: 13px;
}
.table-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.table-title h2 {
  font-size: 20px;
  margin: 0;
}
.tabs {
  display: flex;
  gap: 4px;
  background: #080f0c;
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 10px;
}
.tabs button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  padding: 7px 13px;
  border-radius: 7px;
}
.tabs button[aria-pressed="true"] {
  background: #91dfca18;
  color: var(--mint);
}
.stage main {
  max-width: 1800px;
  padding-top: 40px;
}
.stage .header {
  max-width: 1800px;
}
.stage .page-heading h1 {
  font-size: 46px;
}
.stage-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
}
.stage .timer {
  font-size: clamp(90px, 12vw, 170px);
  letter-spacing: -8px;
}
.stage .card {
  padding: 32px;
}
.stage .waiting h2 {
  font-size: 38px;
}
.stage table {
  font-size: 22px;
}
.stage th {
  font-size: 14px;
}
.stage td {
  padding: 15px 20px;
}
.stage .qr-card {
  text-align: center;
}
.qr {
  background: #fff;
  padding: 8px;
  border-radius: 16px;
  width: 190px;
  height: 190px;
  margin: 20px auto;
  display: block;
}
.join-url {
  direction: ltr;
  font: 12px monospace;
  overflow-wrap: anywhere;
  color: var(--mint);
}
.stage-stats {
  display: flex;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 24px;
  justify-content: space-around;
}
.stage-stats b {
  display: block;
  font-size: 32px;
  font-weight: 400;
  color: var(--mint);
}
.stage-stats small {
  font-size: 12px;
  color: var(--muted);
}
.stage .stage-stats b {
  font-size: 46px;
}
.stage .step {
  width: 44px;
  height: 44px;
  font-size: 18px;
}
.stage-status {
  margin-bottom: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stage-status h2 {
  font-size: 25px;
  margin: 0;
}
.login-card {
  max-width: 420px;
  margin: 40px auto;
}
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.admin-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.metric {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.metric small {
  font-size: 11px;
  color: var(--muted);
}
.metric b {
  display: block;
  font-size: 30px;
  font-weight: 400;
  color: var(--mint);
}
.notice {
  border-inline-start: 2px solid var(--coral);
  padding: 8px 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 2;
  margin: 20px 0;
}
.podium {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 12px;
  padding: 20px 0 30px;
  direction: ltr;
}
.podium > div {
  flex: 1;
  max-width: 230px;
  text-align: center;
  background: #91dfca07;
  border: 1px solid var(--line);
  padding: 20px 12px;
  border-radius: 16px;
  direction: rtl;
}
.podium > div:nth-child(2) {
  padding-top: 38px;
  border-color: #91dfca66;
  background: #91dfca0d;
}
.podium b {
  display: block;
  font-size: 18px;
}
.podium small {
  display: block;
  color: var(--mint);
  font-size: 13px;
}
.podium .medal {
  font-size: 30px;
  color: var(--coral);
  margin-bottom: 12px;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  max-width: calc(100% - 32px);
  background: var(--ink);
  color: var(--bg);
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 13px;
  box-shadow: 0 10px 40px #0008;
}
.skip-link {
  position: fixed;
  top: -100px;
  right: 16px;
  background: var(--mint);
  color: var(--bg);
  padding: 10px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.countdown-number {
  font: 100px monospace;
  color: var(--mint);
  margin: 20px 0;
}
.stage .countdown-number {
  font-size: 180px;
}
@media (min-width: 1600px) {
  .stage table {
    font-size: 26px;
  }
  .stage td {
    padding: 18px 24px;
  }
}
@media (max-width: 1000px) {
  .registration-layout {
    gap: 4vw;
  }
  .game-layout {
    grid-template-columns: 1fr 230px;
  }
  .stage-grid {
    grid-template-columns: 1fr 280px;
  }
  .stage .page-heading h1 {
    font-size: 36px;
  }
  .stage table {
    font-size: 18px;
  }
  .stage .card {
    padding: 24px;
  }
  .admin-grid {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 24px;
  }
}
@media (max-width: 720px) {
  .header {
    padding: 18px 22px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .brand {
    font-size: 21px;
  }
  .event-label {
    display: none;
  }
  .connection {
    font-size: 10px;
  }
  main {
    padding: 32px 20px 44px;
  }
  .registration-layout,
  .game-layout,
  .stage-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-copy {
    padding: 0;
  }
  h1 {
    font-size: 46px;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  .intro {
    font-size: 14px;
  }
  .orbit {
    display: none;
  }
  .facts {
    margin: 22px 0;
  }
  .facts b {
    font-size: 24px;
  }
  .facts > div {
    padding-inline-start: 14px;
  }
  .card {
    padding: 24px 20px;
    border-radius: 20px;
  }
  .rules {
    margin-bottom: 0;
  }
  .game-sidebar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 18px;
    order: -1;
    gap: 12px;
  }
  .side-stat {
    border: 0;
    padding: 0 !important;
    border-inline-end: 1px solid var(--line);
  }
  .side-stat small {
    font-size: 10px;
  }
  .side-stat b {
    font-size: 23px;
  }
  .side-stat .timer {
    font-size: 29px;
    letter-spacing: -1px;
  }
  .page-heading {
    gap: 12px;
    margin-bottom: 22px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .step {
    width: 30px;
    height: 30px;
    font-size: 11px;
  }
  .stepper {
    gap: 5px;
  }
  .options {
    grid-template-columns: 1fr;
  }
  .option {
    min-height: 64px;
  }
  .question h2 {
    font-size: 23px;
    min-height: 0;
    line-height: 1.9;
  }
  .question-meta {
    margin-bottom: 20px;
    padding-bottom: 16px;
  }
  .question-bottom {
    align-items: start;
  }
  .waiting {
    padding: 38px 18px;
  }
  .waiting h2 {
    font-size: 24px;
  }
  .waiting p {
    font-size: 13px;
  }
  .table-title {
    align-items: start;
    gap: 10px;
    flex-direction: column;
  }
  td,
  th {
    padding: 12px 10px;
  }
  .stage .page-heading h1 {
    font-size: 27px;
  }
  .stage .timer {
    font-size: 90px;
    letter-spacing: -4px;
  }
  .stage .waiting h2 {
    font-size: 28px;
  }
  .stage table {
    font-size: 16px;
  }
  .stage .qr-card {
    order: 2;
  }
  .stage .stage-stats b {
    font-size: 34px;
  }
  .stage .card {
    padding: 24px 18px;
  }
  .stage-status h2 {
    font-size: 20px;
  }
  .stage .step {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
  .metric-grid {
    gap: 8px;
  }
  .metric {
    padding: 13px;
  }
  .metric small {
    font-size: 10px;
  }
  .metric b {
    font-size: 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .admin-actions > * {
    flex: 1;
  }
  footer {
    font-size: 10px;
    padding: 20px;
    gap: 14px;
  }
  footer [lang="en"] {
    font-size: 8px;
    letter-spacing: 0;
  }
  .podium {
    gap: 7px;
  }
  .podium b {
    font-size: 12px;
  }
  .podium small {
    font-size: 11px;
  }
  .podium > div {
    padding: 15px 7px;
  }
  .podium .medal {
    font-size: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Keep the ten-row results legible on a full-HD exhibition display. */
@media (min-width: 1001px) {
  .stage .header {
    padding: 18px 4vw;
  }
  .stage main {
    padding: 24px 4vw;
  }
  .stage footer {
    display: none;
  }
  .stage .page-heading {
    margin-bottom: 24px;
  }
  .stage .page-heading h1 {
    font-size: 36px;
  }
  .stage .card {
    padding: 24px;
  }
  .stage .stage-status {
    margin-bottom: 20px;
  }
  .stage .stage-status h2 {
    font-size: 22px;
  }
  .stage .leaderboard table {
    line-height: 1.4;
  }
  .stage .leaderboard td {
    font-size: 18px;
    padding: 6px 16px;
  }
  .stage .leaderboard th {
    padding: 9px 16px;
  }
  .stage .podium {
    padding: 0 0 12px;
  }
  .stage .podium > div {
    padding: 10px 12px;
  }
  .stage .podium > div:nth-child(2) {
    padding-top: 18px;
  }
  .stage .podium .medal {
    font-size: 24px;
    margin-bottom: 4px;
  }
}
@media (min-width: 1001px) and (max-height: 900px) {
  .stage #podium {
    display: none;
  }
}

/* Private registration management in the host panel. */
.admin-grid > .card {
  min-width: 0;
}
.admin-results .leaderboard {
  max-height: 480px;
  overflow: auto;
}
.participants-card {
  margin-top: 24px;
}
.participants-heading,
.participants-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.participants-heading h2 {
  margin-bottom: 4px;
  font-size: 24px;
}
.participants-heading .eyebrow {
  margin-bottom: 8px;
}
.participants-heading p:last-child {
  margin-bottom: 0;
}
.participants-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.participants-tools {
  margin: 24px 0 18px;
  align-items: end;
}
.participants-tools label {
  width: min(100%, 480px);
}
.players-table-wrap {
  max-height: 560px;
  overflow: auto;
}
.players-table {
  min-width: 680px;
}
.players-table td {
  white-space: normal;
  overflow-wrap: anywhere;
}
.players-table th {
  position: sticky;
  top: 0;
  background: var(--panel);
  z-index: 1;
}
.phone {
  min-width: 135px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap !important;
}
@media (max-width: 720px) {
  .participants-heading,
  .participants-tools {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }
  .participants-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .participants-tools label {
    width: 100%;
  }
  .participants-heading h2 {
    font-size: 21px;
  }
}

.reset-panel {
  margin-top: 24px;
  border-color: #ff705e55;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.reset-panel h2 {
  font-size: 23px;
  margin-bottom: 8px;
}
.reset-panel p:last-child {
  margin-bottom: 0;
  max-width: 720px;
}
.reset-panel .eyebrow {
  color: var(--coral);
  margin-bottom: 8px;
}
.danger-button {
  color: #ffb5a9;
  border-color: #ff705e77;
  flex-shrink: 0;
}
.danger-button:hover {
  background: #ff705e14;
}
#reset-dialog {
  width: min(540px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  border: 1px solid #ff705e66;
  border-radius: 24px;
  padding: 28px;
  color: var(--ink);
  background: var(--panel);
  box-shadow: 0 25px 100px #000a;
}
#reset-dialog::backdrop {
  background: #000b;
}
#reset-dialog h2 {
  font-size: 25px;
}
#reset-dialog p {
  font-size: 13px;
}
#reset-dialog form {
  gap: 14px;
}
#reset-dialog form > * {
  margin: 0;
}
.reset-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px !important;
}
@media (max-width: 720px) {
  .reset-panel {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  #reset-dialog {
    padding: 22px;
  }
  .reset-dialog-actions {
    flex-direction: column-reverse;
  }
}

.header-links {
  flex-shrink: 0;
}
.header-site {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--mint);
  font-size: 12px;
}
.header-site:hover {
  border-color: var(--mint);
  background: #91dfca0a;
}
.retinum-link {
  color: var(--mint);
  text-decoration: underline;
  text-decoration-color: #91dfca55;
  text-underline-offset: 5px;
}
.retinum-link:hover {
  text-decoration-color: var(--mint);
}
.brand-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 2;
  margin-bottom: 0;
}
footer {
  gap: 16px;
  flex-wrap: wrap;
}
footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mint);
  text-decoration: none;
  min-height: 32px;
}
footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 720px) {
  .header-site {
    font-size: 11px;
    padding: 6px 10px;
  }
  .hero-copy h1 {
    font-size: clamp(36px, 10vw, 46px);
  }
}
