:root {
  --bg: #07051d;
  --bg-soft: #100932;
  --panel: rgba(14, 10, 48, 0.9);
  --panel-strong: #110a38;
  --text: #f8f7ff;
  --muted: #b9b5d3;
  --red: #ff3158;
  --red-dark: #b90838;
  --cyan: #40d8ff;
  --violet: #8d4dff;
  --gold: #ffc928;
  --border: rgba(150, 85, 255, 0.38);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(117, 33, 214, .25), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(255, 25, 73, .15), transparent 28%),
    linear-gradient(145deg, #07051d, #0b0730 48%, #090522);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .2;
  background-image:
    linear-gradient(115deg, transparent 47%, rgba(255,255,255,.05) 48%, transparent 49%),
    radial-gradient(circle, rgba(255, 255, 255, .18) 1px, transparent 1px);
  background-size: 180px 180px, 18px 18px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  aspect-ratio: 1;
  border-radius: 16px;
  color: var(--gold);
  font-weight: 1000;
  font-style: italic;
  background: linear-gradient(145deg, #e00b3d, #6b0e8e);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 0 28px rgba(255, 25, 82, .35);
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.15rem; letter-spacing: .08em; }
.brand small { margin-top: 2px; color: var(--muted); font-size: .66rem; letter-spacing: .13em; }
.event-pill {
  display: flex;
  gap: 18px;
  padding: 11px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(13, 8, 44, .72);
  color: #ddd9f3;
  font-size: .88rem;
  backdrop-filter: blur(14px);
}

main { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .7fr);
  align-items: center;
  gap: 70px;
  width: min(1240px, calc(100% - 40px));
  margin: 28px auto 100px;
}
.eyebrow {
  margin: 0 0 13px;
  color: var(--red);
  font-weight: 900;
  font-size: .78rem;
  letter-spacing: .18em;
}
.community-label {
  display: inline-flex;
  margin: 0 0 17px;
  padding: 7px 11px;
  border-left: 3px solid var(--gold);
  color: #f4e9b0;
  background: linear-gradient(90deg, rgba(255, 201, 40, .13), transparent);
  font-size: clamp(.7rem, 1.5vw, .82rem);
  font-weight: 850;
  letter-spacing: .09em;
  line-height: 1.35;
}
.hero-copy h1, .section-heading h2, .registration-heading h1 {
  margin: 0;
  font-weight: 1000;
  letter-spacing: -.05em;
  line-height: .98;
  text-transform: uppercase;
}
.hero-copy h1 { font-size: clamp(3rem, 6vw, 6rem); }
.hero-copy h1 span {
  color: transparent;
  background: linear-gradient(90deg, var(--gold), #ff8d16, var(--red));
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 850;
  transition: transform .2s ease, filter .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.button:disabled { cursor: wait; opacity: .65; transform: none; }
.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 12px 34px rgba(255, 29, 76, .26);
}
.button-secondary { border-color: var(--border); background: rgba(24, 14, 64, .8); }
.button-block { width: 100%; }
.event-details { display: flex; flex-wrap: wrap; gap: 30px; margin: 30px 0 0; }
.event-details div { border-left: 2px solid var(--red); padding-left: 12px; }
.event-details dt { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; }
.event-details dd { margin: 4px 0 0; font-weight: 750; }
.poster-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  max-height: 720px;
  border: 1px solid rgba(156, 83, 255, .6);
  border-radius: 24px;
  background: #0a0628;
  box-shadow: var(--shadow), 0 0 80px rgba(106, 20, 206, .25);
  transform: rotate(1.2deg);
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: inherit;
  pointer-events: none;
}
.poster-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.section { width: min(1240px, calc(100% - 40px)); margin: 0 auto 110px; }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading h2 { font-size: clamp(2.3rem, 5vw, 4.5rem); }
.section-heading > p:last-child { color: var(--muted); line-height: 1.6; }
.tournament-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.tournament-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(25, 14, 72, .93), rgba(10, 6, 35, .96));
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
}
.card-image { overflow: hidden; aspect-ratio: 4 / 5; background: #08041c; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.tournament-card:hover .card-image img { transform: scale(1.035); }
.card-content { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.card-kicker { margin: 0 0 7px; color: var(--gold); font-size: .68rem; font-weight: 850; text-transform: uppercase; }
.card-content h3 { margin: 0; font-size: 1.12rem; line-height: 1.15; }
.card-meta { display: grid; gap: 5px; margin: 14px 0 18px; color: var(--muted); font-size: .78rem; }
.card-content .button { margin-top: auto; }

.info-links {
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid var(--border);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 49, 88, .08), transparent 35%),
    rgba(13, 8, 45, .74);
  box-shadow: var(--shadow);
}
.info-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.info-link-card {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 17px;
  min-height: 138px;
  padding: 22px;
  border: 1px solid rgba(255, 201, 40, .25);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(29, 17, 78, .96), rgba(10, 6, 35, .96));
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.info-link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 201, 40, .65);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .3);
}
.info-link-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  color: var(--gold);
  font-size: 1.65rem;
  background: linear-gradient(145deg, rgba(255, 49, 88, .3), rgba(107, 14, 142, .55));
  border: 1px solid rgba(255,255,255,.13);
}
.info-link-copy { display: grid; gap: 5px; }
.info-link-copy small { color: var(--red); font-size: .68rem; font-weight: 900; letter-spacing: .15em; }
.info-link-copy strong { font-size: clamp(1.2rem, 2.6vw, 1.75rem); text-transform: uppercase; }
.info-link-copy > span { color: var(--muted); font-size: .88rem; line-height: 1.45; }
.info-link-arrow { color: var(--gold); font-size: 1.7rem; }

.steps { padding: 45px; border: 1px solid var(--border); border-radius: 26px; background: rgba(13, 8, 45, .72); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.steps-grid article span {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  color: var(--gold); font-size: 1.2rem; font-weight: 900;
  background: linear-gradient(145deg, var(--red-dark), #531386);
}
.steps-grid h3 { margin: 15px 0 8px; }
.steps-grid p { margin: 0; color: var(--muted); line-height: 1.55; }
.site-footer {
  display: grid; gap: 16px;
  padding: 28px max(20px, calc((100% - 1240px) / 2));
  border-top: 1px solid var(--border); color: var(--muted); background: #060419;
}
.site-footer p { margin: 0; }
.footer-main { display: flex; justify-content: space-between; gap: 20px; }
.footer-disclaimer {
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: rgba(190, 176, 224, .72);
  font-size: .78rem;
  text-align: center;
}

/* Registro */
.compact-header { padding-bottom: 12px; }
.back-link { color: var(--muted); font-weight: 700; }
.back-link:hover { color: white; }
.registration-layout {
  display: grid;
  grid-template-columns: minmax(300px, 500px) minmax(0, 680px);
  align-items: start;
  gap: 38px;
  width: min(1180px, calc(100% - 40px));
  margin: 24px auto 70px;
}
.registration-poster {
  position: sticky;
  top: 20px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}
.registration-poster > img { width: 100%; }
.poster-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 15px; }
.poster-summary span:first-child { grid-column: 1 / -1; color: var(--gold); }
.poster-summary span { padding: 10px; border-radius: 9px; background: rgba(255,255,255,.05); font-size: .82rem; }
.registration-panel {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(13, 8, 45, .9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.registration-heading { margin-bottom: 26px; }
.registration-heading h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
.registration-heading > p:last-child { color: var(--muted); line-height: 1.7; }
.auth-gate { padding: 35px; text-align: center; border: 1px solid var(--border); border-radius: 18px; background: rgba(255,255,255,.035); }
.lock-icon {
  display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 18px;
  border-radius: 50%; color: white; font-size: 2rem; font-weight: 900;
  background: linear-gradient(145deg, #4285f4, #7b3fee);
  box-shadow: 0 0 40px rgba(66, 133, 244, .35);
}
.auth-gate h2 { margin: 0 0 10px; }
.auth-gate > p { color: var(--muted); line-height: 1.6; }
.auth-recovery { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.preview-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid rgba(255, 201, 40, .42);
  border-radius: 13px;
  background: rgba(255, 201, 40, .08);
}
.preview-banner small, .preview-banner strong { display: block; }
.preview-banner small { margin-bottom: 4px; color: var(--gold); font-size: .68rem; font-weight: 900; letter-spacing: .08em; }
.preview-banner strong { color: #f5f2ff; font-size: .85rem; line-height: 1.4; }
.google-button { margin-top: 10px; color: #1f1f1f; background: white; }
.google-g { display: grid; place-items: center; margin-right: 10px; color: #4285f4; font-size: 1.15rem; font-weight: 900; }
.signed-user {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding: 12px;
  border: 1px solid rgba(64, 216, 255, .22);
  border-radius: 13px;
  background: rgba(64, 216, 255, .055);
}
.signed-user img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--cyan); }
.signed-user small, .signed-user strong { display: block; }
.signed-user small { color: var(--muted); }
.text-button { padding: 5px; border: 0; color: var(--cyan); background: transparent; cursor: pointer; }
#registration-form, #referee-form { display: grid; gap: 15px; }
.field-row { display: grid; grid-template-columns: 1.5fr .7fr; gap: 15px; }
.field { display: grid; gap: 8px; }
.field span { font-size: .9rem; font-weight: 720; }
.field b, .consent-field b { color: var(--red); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 0 15px;
  border: 1px solid rgba(190, 176, 224, .26); border-radius: 11px;
  outline: none; color: white; background: rgba(5, 3, 24, .66);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; padding-block: 14px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(64,216,255,.1); }
.rules-document-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 12px 15px;
  border: 1px solid rgba(64, 216, 255, .34);
  border-radius: 12px;
  color: white;
  background: rgba(64, 216, 255, .07);
  text-decoration: none;
  transition: border-color .2s, background .2s, transform .2s;
}
.rules-document-link:hover { border-color: var(--cyan); background: rgba(64, 216, 255, .12); transform: translateY(-1px); }
.rules-document-link strong, .rules-document-link small { display: block; }
.rules-document-link strong { margin-bottom: 3px; font-size: .9rem; }
.rules-document-link small { color: var(--muted); font-size: .72rem; }
.game-fieldset {
  min-width: 0;
  margin: 0;
  padding: 15px;
  border: 1px solid rgba(190, 176, 224, .26);
  border-radius: 12px;
  background: rgba(5, 3, 24, .38);
}
.game-fieldset legend { padding: 0 8px; font-size: .9rem; font-weight: 720; }
.game-fieldset b { color: var(--red); }
.game-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.game-option {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(141, 77, 255, .25);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255,255,255,.035);
  cursor: pointer;
}
.game-option:has(input:checked) { border-color: var(--cyan); color: white; background: rgba(64, 216, 255, .08); }
.game-option input { width: 18px; height: 18px; accent-color: var(--red); }
.referee-directory { display: grid; gap: 18px; }
.directory-session {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(64, 216, 255, .22);
  border-radius: 13px;
  background: rgba(64, 216, 255, .055);
}
.directory-session small, .directory-session strong { display: block; }
.directory-session small { margin-bottom: 3px; color: var(--muted); }
.directory-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.button-small { min-height: 39px; padding-inline: 14px; font-size: .78rem; }
.directory-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(255,255,255,.035);
}
.directory-summary > div { display: grid; min-width: 100px; text-align: center; }
.directory-summary > div span { color: var(--gold); font-size: 2.25rem; font-weight: 1000; line-height: 1; }
.directory-summary > div small { margin-top: 5px; color: var(--muted); }
.directory-summary p { margin: 0; color: var(--muted); line-height: 1.55; }
.referee-list { display: grid; gap: 14px; }
.referee-entry {
  padding: 18px;
  border: 1px solid rgba(141, 77, 255, .3);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(25, 14, 72, .82), rgba(8, 5, 29, .9));
}
.referee-entry-admin { border-color: rgba(255, 201, 40, .3); }
.referee-entry-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 14px; }
.referee-entry-header h3 { margin: 0; font-size: 1.2rem; }
.referee-status {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.referee-status-pendiente { color: #ffdc68; background: rgba(255, 201, 40, .13); }
.referee-status-aprobado { color: #70f0bd; background: rgba(70, 221, 165, .13); }
.referee-status-rechazado { color: #ff91aa; background: rgba(255, 49, 88, .13); }
.referee-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.referee-detail { min-width: 0; padding: 11px; border-radius: 9px; background: rgba(255,255,255,.035); }
.referee-detail-wide { grid-column: 1 / -1; }
.referee-detail small { display: block; margin-bottom: 4px; color: var(--cyan); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.referee-detail span { display: block; overflow-wrap: anywhere; color: #ebe9f7; font-size: .86rem; line-height: 1.45; white-space: pre-line; }
.referee-entry-actions { display: flex; justify-content: flex-end; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.button-approve {
  color: #06261c;
  background: linear-gradient(135deg, #74f1c0, #36c98f);
  box-shadow: 0 10px 28px rgba(54, 201, 143, .18);
}
.button-reject {
  color: #ff9ab0;
  border: 1px solid rgba(255, 49, 88, .55);
  background: rgba(255, 49, 88, .09);
}
.referee-entry-actions { gap: 10px; flex-wrap: wrap; }
.directory-empty { margin: 0; padding: 32px; border: 1px dashed var(--border); border-radius: 14px; color: var(--muted); text-align: center; }
.consent-field {
  display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start;
  padding: 14px; border-radius: 11px; color: var(--muted); background: rgba(255,255,255,.04);
  font-size: .84rem; line-height: 1.5;
}
.consent-field input { width: 18px; height: 18px; accent-color: var(--red); }
.form-message { min-height: 1.2em; margin: 8px 0 0; color: var(--muted); font-size: .9rem; }
.form-message.error { color: #ff8ea6; }
.form-message.success { color: #76f3c2; }
.success-card { padding: 40px 25px; text-align: center; }
.success-check {
  display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 18px;
  border-radius: 50%; color: #071d17; background: #65efbd; font-size: 2.4rem; font-weight: 900;
  box-shadow: 0 0 40px rgba(101,239,189,.25);
}
.success-card p { margin: 12px auto 24px; max-width: 480px; color: var(--muted); line-height: 1.6; }

/* Páginas en construcción */
.coming-soon-main {
  display: grid;
  place-items: center;
  width: min(1000px, calc(100% - 40px));
  min-height: calc(100vh - 190px);
  margin: 0 auto;
  padding: 40px 0 80px;
}
.coming-soon-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: clamp(35px, 7vw, 78px);
  border: 1px solid var(--border);
  border-radius: 28px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(141, 77, 255, .3), transparent 42%),
    linear-gradient(145deg, rgba(23, 13, 67, .97), rgba(7, 5, 29, .98));
  box-shadow: var(--shadow), 0 0 80px rgba(106, 20, 206, .16);
}
.coming-soon-card::before,
.coming-soon-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), var(--gold));
  transform: rotate(-18deg);
}
.coming-soon-card::before { top: 35px; left: -35px; }
.coming-soon-card::after { right: -35px; bottom: 35px; }
.coming-soon-symbol {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin: 0 auto 24px;
  border: 1px solid rgba(255, 201, 40, .36);
  border-radius: 24px;
  font-size: 2.7rem;
  background: linear-gradient(145deg, rgba(255, 49, 88, .25), rgba(82, 18, 143, .72));
  box-shadow: 0 0 45px rgba(255, 49, 88, .18);
}
.status-badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 201, 40, .4);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 201, 40, .08);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .17em;
}
.coming-soon-card h1 {
  margin: 0;
  font-size: clamp(2.7rem, 8vw, 6rem);
  font-weight: 1000;
  line-height: .95;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.coming-soon-card > p {
  max-width: 620px;
  margin: 24px auto 30px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
}

/* Acceso arbitral e inscriptos */
.bracket-card-button, .roster-card-button { margin-top: 10px !important; }
.roster-layout { width: min(1180px, calc(100% - 40px)); margin: 30px auto 90px; }
.roster-hero {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 30px;
  margin-bottom: 24px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,49,88,.1), rgba(24,13,68,.94));
}
.roster-hero img { width: 180px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 15px; }
.roster-hero h1 { margin: 5px 0 10px; font-size: clamp(2rem, 5vw, 4rem); line-height: 1; }
.roster-hero p:last-child { margin: 0; color: var(--muted); }
.roster-panel {
  padding: clamp(20px, 4vw, 38px);
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(10,6,35,.9);
  box-shadow: var(--shadow);
}
.roster-session { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.roster-session small, .roster-session strong { display: block; }
.roster-session small { margin-bottom: 4px; color: var(--muted); }
.roster-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 34px; }
.roster-stats div { padding: 18px; border: 1px solid rgba(141,77,255,.32); border-radius: 14px; text-align: center; background: rgba(255,255,255,.035); }
.roster-stats strong, .roster-stats span { display: block; }
.roster-stats strong { color: var(--gold); font-size: 2rem; }
.roster-stats span { margin-top: 4px; color: var(--muted); font-size: .78rem; text-transform: uppercase; }
.roster-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.roster-heading h2 { margin: 3px 0 0; font-size: clamp(1.7rem, 4vw, 2.8rem); }
.roster-heading > p { max-width: 360px; margin: 0; color: var(--muted); text-align: right; }
.spots-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.spot-card { min-height: 120px; padding: 15px; border: 1px solid; border-radius: 13px; background: rgba(255,255,255,.03); }
.spot-card span, .spot-card strong, .spot-card small { display: block; }
.spot-number { margin-bottom: 11px; color: var(--muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.spot-card strong { overflow-wrap: anywhere; line-height: 1.25; }
.spot-card small { margin-top: 8px; color: var(--muted); line-height: 1.35; }
.spot-contact { display: grid; gap: 4px; margin-top: 10px; padding-top: 9px; border-top: 1px solid rgba(255,255,255,.08); }
.spot-contact span, .spot-contact a { color: #d9d6ea; font-size: .78rem; line-height: 1.35; }
.spot-contact a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.spot-occupied { border-color: rgba(64,216,255,.38); background: linear-gradient(145deg, rgba(64,216,255,.1), rgba(18,10,55,.88)); }
.spot-occupied strong { color: #fff; }
.spot-available { border-color: rgba(101,239,189,.3); border-style: dashed; }
.spot-available strong { color: #76f3c2; }
.waitlist-section { margin-top: 30px; padding: 22px; border: 1px solid rgba(255,201,40,.28); border-radius: 15px; background: rgba(255,201,40,.05); }
.waitlist-section h2 { margin-top: 0; }
.waitlist-section li { margin: 8px 0; color: #ebe9f7; }
.waitlist-section li strong, .waitlist-section li span { display: block; }
.waitlist-section li span { margin-top: 3px; color: var(--muted); font-size: .82rem; }
[hidden] { display: none !important; }

@media (max-width: 1050px) {
  .tournament-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { gap: 35px; }
  .spots-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .event-pill { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .poster-frame { max-width: 540px; margin: 0 auto; transform: none; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .registration-layout { grid-template-columns: 1fr; }
  .registration-poster { position: static; max-width: 500px; margin: 0 auto; }
  .info-link-grid { grid-template-columns: 1fr; }
  .spots-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .site-header { width: min(100% - 28px, 1240px); }
  .brand small { display: none; }
  .hero-grid, .section, .registration-layout { width: min(100% - 28px, 1240px); }
  .hero-grid { margin-top: 10px; margin-bottom: 72px; }
  .hero-copy h1 { font-size: clamp(2.75rem, 14vw, 4.6rem); }
  .tournament-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-content { padding: 13px; }
  .card-kicker { display: none; }
  .card-content h3 { font-size: .94rem; }
  .card-meta { font-size: .7rem; }
  .button { padding-inline: 14px; }
  .steps { padding: 25px; }
  .steps-grid { grid-template-columns: 1fr; }
  .site-footer { font-size: .82rem; }
  .footer-main { flex-direction: column; }
  .registration-layout { gap: 18px; }
  .registration-panel { padding: 22px 17px; }
  .field-row { grid-template-columns: 1fr; }
  .game-options { grid-template-columns: 1fr; }
  .directory-summary { grid-template-columns: 1fr; text-align: center; }
  .directory-session { align-items: flex-start; flex-direction: column; }
  .directory-actions { width: 100%; justify-content: space-between; }
  .directory-actions { flex-wrap: wrap; }
  .preview-banner { align-items: flex-start; flex-direction: column; }
  .referee-details { grid-template-columns: 1fr; }
  .referee-detail-wide { grid-column: auto; }
  .signed-user { grid-template-columns: 42px 1fr; }
  .signed-user .text-button { grid-column: 2; justify-self: start; }
  .back-link { font-size: .8rem; }
  .info-links { padding: 24px 18px; }
  .info-link-card { grid-template-columns: 48px 1fr; padding: 17px; }
  .info-link-icon { width: 48px; height: 48px; font-size: 1.35rem; }
  .info-link-arrow { display: none; }
  .coming-soon-main { width: min(100% - 28px, 1000px); }
  .roster-layout { width: min(100% - 28px, 1180px); }
  .roster-hero { grid-template-columns: 92px 1fr; gap: 16px; padding: 14px; }
  .roster-hero img { width: 92px; }
  .roster-stats { gap: 8px; }
  .roster-stats div { padding: 12px 7px; }
  .roster-stats strong { font-size: 1.45rem; }
  .roster-heading { display: block; }
  .roster-heading > p { margin-top: 8px; text-align: left; }
  .spots-grid { grid-template-columns: 1fr; }
  .roster-session { align-items: flex-start; flex-direction: column; }
  .referee-entry-actions .button { width: 100%; }
}
