:root {
  --bg: #0d1117;
  --panel: #121a24;
  --panel-soft: #182433;
  --surface: #edf2f7;
  --text: #e8eef5;
  --muted: #94a8bc;
  --line: rgba(255, 255, 255, 0.09);
  --accent: #29c2ff;
  --accent-strong: #0d8ec6;
  --warm: #ff6b2c;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(41, 194, 255, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(255, 107, 44, 0.16), transparent 28%),
    linear-gradient(180deg, #0b1016 0%, #111a24 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-family: monospace;
  color: #b7ecff;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(7, 12, 18, 0.75);
  backdrop-filter: blur(14px);
}

.topbar__inner,
.main-nav__inner,
.content {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.topbar__links,
.main-nav__links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.main-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(13, 17, 23, 0.82);
  backdrop-filter: blur(18px);
}

.main-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 0;
}

.main-nav__links a,
.nav-button {
  color: var(--muted);
}

.main-nav__links a.is-active,
.main-nav__links a:hover,
.nav-button:hover,
.topbar a:hover {
  color: var(--text);
}

.inline-form {
  margin: 0;
}

.nav-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand__logo {
  display: block;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 1.05rem;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--warm));
  color: #061018;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.brand__mark--large {
  width: 6rem;
  height: 6rem;
  font-size: 2rem;
}

.brand__text {
  display: flex;
  flex-direction: column;
  font-family: "Rajdhani", sans-serif;
  line-height: 1;
}

.brand__text strong {
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand__text small {
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content {
  padding: 2rem 0 4rem;
}

.site-footer {
  padding: 0 0 1.6rem;
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero,
.profile-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
}

.hero--home {
  display: block;
  width: 100%;
}

.hero__copy,
.section,
.profile-card,
.league-detail {
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(18, 26, 36, 0.82);
  box-shadow: var(--shadow);
}

.hero__copy,
.section,
.profile-card,
.league-detail {
  padding: 1.5rem;
}

.section--compact {
  padding: 1rem 1.1rem;
  border-radius: 1.15rem;
}

.profile-main,
.league-table {
  display: grid;
  gap: 1rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
}

h1,
.page-title {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.hero__text,
.page-copy {
  margin: 1rem 0 0;
  color: var(--muted);
}

.home-dashboard-slider {
  position: relative;
  min-height: clamp(340px, 42vw, 500px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 10% 15%, rgba(117, 207, 255, 0.16), transparent 35%),
    linear-gradient(135deg, rgba(7, 11, 17, 0.98), rgba(8, 12, 18, 0.94));
  box-shadow: var(--shadow);
}

.home-dashboard-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 12, 18, 0.9) 0%, rgba(8, 12, 18, 0.62) 33%, rgba(8, 12, 18, 0.14) 68%, rgba(8, 12, 18, 0.34) 100%),
    linear-gradient(0deg, rgba(8, 12, 18, 0.52), transparent 45%);
}

.home-dashboard-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.01);
  animation: dashboardSlide calc(var(--slide-count, 1) * 3s) infinite;
  animation-delay: calc(var(--slide-index, 0) * 3s);
}

.hero--home .hero__copy {
  position: relative;
  z-index: 2;
  max-width: min(720px, 58%);
  min-height: inherit;
  display: grid;
  align-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: clamp(1.15rem, 3vw, 2.4rem);
}

.hero--home .hero__copy h1 {
  font-size: clamp(2.1rem, 4.7vw, 4.8rem);
  letter-spacing: 0.015em;
}

.hero--home .hero__text {
  max-width: 500px;
  color: #c8d4e2;
  font-size: clamp(0.86rem, 1vw, 1.05rem);
  font-weight: 700;
  line-height: 1.18;
  margin-top: 0.65rem;
}

.home-edit-titles {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(117, 207, 255, 0.38);
  border-radius: 999px;
  background: rgba(8, 12, 18, 0.68);
  color: #75cfff;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.home-edit-titles:hover {
  background: rgba(117, 207, 255, 0.14);
  color: var(--text);
}

.home-hero-credit {
  position: absolute;
  right: clamp(0.85rem, 2vw, 1.35rem);
  bottom: clamp(0.75rem, 1.8vw, 1.15rem);
  z-index: 3;
  max-width: min(420px, 46%);
  margin: 0;
  padding: 0.42rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(5, 10, 16, 0.58);
  color: rgba(236, 243, 252, 0.88);
  font-size: clamp(0.68rem, 0.9vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: right;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.admin-home-title-page textarea {
  width: 100%;
  resize: vertical;
}

.home-dashboard-slider img:first-child:last-child {
  opacity: 1;
  transform: scale(1.01);
  animation: none;
}

.home-dashboard-slider__empty {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.35rem;
  min-height: inherit;
  color: var(--muted);
  text-align: center;
}

.home-dashboard-slider__empty strong {
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  line-height: 1;
  text-transform: uppercase;
}

@keyframes dashboardSlide {
  0% {
    opacity: 0;
    transform: scale(0.985) translateX(1%);
  }
  8%,
  42% {
    opacity: 1;
    transform: scale(1) translateX(0);
  }
  50%,
  100% {
    opacity: 0;
    transform: scale(0.985) translateX(-1%);
  }
}

.section--compact .page-copy {
  margin-top: 0.65rem;
  font-size: 0.94rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.button-link,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.95rem;
  padding: 0.95rem 1.2rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #041018;
  font-weight: 700;
  cursor: pointer;
}

.button-link--ghost {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.profile-card__role,
.team-row__country {
  color: var(--muted);
}

.section {
  margin-top: 1.5rem;
}

.section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section__header h2 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.narrow-section {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.profile-card__avatar-wrap {
  display: flex;
  justify-content: center;
}

.profile-card__avatar {
  width: 160px;
  height: 160px;
  border-radius: 1.25rem;
  object-fit: cover;
  border: 1px solid var(--line);
}

.profile-card__avatar--square {
  border-radius: 0.4rem;
}

.profile-header {
  margin-top: 0;
}

.profile-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.profile-shell--compact {
  grid-template-columns: 250px 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.profile-sidebar--compact {
  padding: 1.1rem;
  align-self: start;
}

.profile-sidebar__name {
  margin: 0 0 1rem;
  font-size: 1.5rem;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.25rem;
  font-size: 0.95rem;
}

.profile-table--compact {
  margin-top: 0.9rem;
  font-size: 0.88rem;
}

.profile-table td {
  padding: 0.7rem 0;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-table--compact td {
  padding: 0.52rem 0;
}

.profile-table td:first-child {
  color: var(--muted);
  width: 40%;
}

.profile-links {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.profile-links--compact {
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.profile-link {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.8rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.profile-links--compact .profile-link {
  padding: 0.68rem 0.8rem;
  font-size: 0.92rem;
}

.profile-content {
  display: grid;
  gap: 1rem;
}

.profile-content--compact {
  gap: 0.8rem;
}

.profile-tabs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.profile-tabs--compact {
  gap: 0.55rem;
}

.profile-tab {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.profile-tabs--compact .profile-tab {
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.92rem;
}

.profile-tab.is-active {
  background: rgba(41, 194, 255, 0.14);
  color: var(--surface);
}

.dashboard-panel:not(.is-active) {
  display: none;
}

.profile-link.is-active {
  border-color: rgba(41, 194, 255, 0.32);
  background: rgba(41, 194, 255, 0.12);
  color: var(--surface);
}

.profile-team-table {
  display: grid;
  gap: 0.75rem;
}

.profile-team-table--compact {
  gap: 0.5rem;
}

.profile-team-table__head,
.profile-team-table__row {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 1rem;
  border-radius: 0.95rem;
  padding: 1rem;
}

.profile-team-table--compact .profile-team-table__head,
.profile-team-table--compact .profile-team-table__row {
  grid-template-columns: 1fr 140px;
  gap: 0.8rem;
  padding: 0.8rem 0.9rem;
  border-radius: 0.8rem;
}

.profile-team-table__head {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.profile-team-table__row {
  background: rgba(255, 255, 255, 0.03);
}

.profile-team-table__row small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.account-grid--compact {
  gap: 0.8rem;
}

.profile-detail-list {
  display: grid;
  gap: 0.6rem;
}

.profile-detail-list p {
  margin: 0;
  color: var(--muted);
}

.legacy-shell {
  margin-top: 0;
}

.legacy-shell__header {
  margin-bottom: 1.5rem;
}

.legacy-top {
  margin-bottom: 1rem;
}

.legacy-quickbox {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.03);
}

.legacy-quickbox p {
  margin: 0;
}

.legacy-class-chip {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.5rem 0.8rem;
  border-radius: 0.75rem;
  background: rgba(120, 219, 105, 0.16);
  color: #b7f7a6;
}

.legacy-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  margin-top: 1rem;
}

.legacy-quicklinks a {
  color: var(--accent);
}

.legacy-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.legacy-tab {
  padding: 0.8rem 1rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.legacy-tab.is-active,
.legacy-tab:hover {
  color: var(--text);
  background: rgba(41, 194, 255, 0.14);
}

.legacy-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.15rem;
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.03);
}

.legacy-panel + .legacy-panel {
  margin-top: 1rem;
}

.legacy-direct-link {
  margin: 0 0 1rem;
  color: var(--muted);
}

.legacy-profile-head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.2rem;
  align-items: start;
}

.legacy-photo-card {
  display: grid;
  gap: 0.9rem;
}

.legacy-photo-card__image,
.legacy-photo-card__placeholder {
  width: 150px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.65rem;
}

.legacy-photo-card__image {
  object-fit: cover;
}

.legacy-photo-card__placeholder {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.legacy-photo-card__status {
  margin: 0;
  color: #b7f7a6;
}

.legacy-photo-card__status.is-error {
  color: #ff8e8e;
}

.legacy-player-card h3,
.legacy-score-box h3,
.legacy-team-columns h3 {
  margin-top: 0;
}

.legacy-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
}

.legacy-table td {
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.legacy-edit-grid,
.legacy-classification-grid,
.legacy-team-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.legacy-info-list,
.legacy-score-box,
.legacy-team-list__item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
}

.legacy-info-list {
  padding: 1rem;
}

.legacy-info-list p {
  margin: 0;
  padding: 0.45rem 0;
  color: var(--muted);
}

.legacy-guidelines {
  margin: 0 0 1rem 1.2rem;
  color: var(--muted);
}

.legacy-score-box {
  padding: 1rem;
}

.legacy-score-box__value {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: 2.4rem;
  text-transform: uppercase;
}

.legacy-history-table {
  margin-top: 1rem;
  display: grid;
  gap: 0.6rem;
}

.legacy-history-table__head,
.legacy-history-table__row {
  display: grid;
  grid-template-columns: 50px 90px 1.8fr 120px 120px 90px;
  gap: 0.75rem;
  align-items: start;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
}

.legacy-history-table__head {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.legacy-history-table__row,
.legacy-history-table__empty {
  background: rgba(255, 255, 255, 0.03);
}

.legacy-history-table__row small {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
}

.legacy-history-table__empty {
  padding: 1rem;
  border-radius: 0.9rem;
  color: var(--muted);
}

.legacy-team-list {
  display: grid;
  gap: 0.75rem;
}

.legacy-team-list__item {
  padding: 0.9rem 1rem;
}

.legacy-team-list__item span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
}

.profile-card h1 {
  margin-top: 1rem;
  font-size: 2rem;
}

.profile-card__role {
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.profile-badges,
.stack-actions,
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.team-list--compact {
  gap: 0.65rem;
  margin-top: 0.8rem;
}

.profile-badges,
.stack-actions {
  display: grid;
}

.pill,
.distance {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  background: rgba(41, 194, 255, 0.12);
  color: #9adfff;
  font-size: 0.88rem;
}

.pill--muted,
.distance--muted {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.profile-meta {
  display: grid;
  gap: 0.8rem;
  margin: 1.25rem 0 0;
}

.profile-meta div {
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
}

.profile-meta dt {
  color: var(--muted);
  font-size: 0.9rem;
}

.profile-meta dd {
  margin: 0.2rem 0 0;
}

.action-link {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.95rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.action-panel {
  display: grid;
  gap: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.action-panel--compact {
  gap: 0.7rem;
  padding: 0.9rem;
  border-radius: 0.9rem;
}

.action-panel--wide {
  grid-column: 1 / -1;
}

.action-panel h3 {
  margin: 0;
  font-size: 1.2rem;
}

.action-panel--compact h3 {
  font-size: 1.05rem;
}

.status-line {
  margin: 0;
  color: var(--muted);
}

.big-data {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--surface);
}

.division-banner,
.legacy-class-chip {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.division-banner {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 3rem;
  padding: 0.7rem 1rem;
  border-radius: 0.85rem;
}

.division-pro {
  background: #111111;
  color: #f4f4f4;
}

.division-semi-pro {
  background: #6e183d;
  color: #f8edf3;
}

.division-1 {
  background: #c62828;
  color: #fff2f2;
}

.division-2 {
  background: #f3e6c8;
  color: #3b2d12;
}

.division-3 {
  background: #f4df8d;
  color: #3d3000;
}

.division-4 {
  background: #71e3cf;
  color: #083a32;
}

.division-5 {
  background: #2f80ed;
  color: #eef6ff;
}

.division-6 {
  background: #8e949c;
  color: #0d1117;
}

.guideline-list {
  display: grid;
  gap: 0.45rem;
}

.guideline-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.profile-form,
.league-table,
.event-list,
.season-block,
.data-table {
  display: grid;
  gap: 1rem;
}

.profile-form--compact {
  gap: 0.75rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.register-oauth-panel {
  display: grid;
  gap: 0.75rem;
  width: min(100%, 34rem);
}

.register-oauth-panel .page-copy--small {
  margin: -0.25rem 0 0;
  text-align: center;
}

.google-login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  width: 100%;
  max-width: 100%;
  min-height: 3.05rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.94);
  color: #111827;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
}

.google-login-button:hover {
  background: #ffffff;
  border-color: rgba(41, 194, 255, 0.45);
}

.google-login-button--disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.google-login-button__icon {
  display: block;
  flex: 0 0 1.45rem;
  width: 1.45rem;
  height: 1.45rem;
  max-width: 1.45rem;
  max-height: 1.45rem;
  background: url("/google-favicon.svg") center / contain no-repeat;
  overflow: hidden;
}

.page-copy--small {
  margin-top: -0.25rem;
  font-size: 0.82rem;
}

.admin-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
}

.teams-shell {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 1rem;
  align-items: start;
}

.teams-shell--compact {
  grid-template-columns: 320px 1fr;
  gap: 0.85rem;
}

.teams-create-panel,
.teams-list-panel {
  margin-top: 0;
}

.teams-code-preview strong,
.team-row__code strong {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.team-delete-form {
  margin-top: 1rem;
}

.team-search-form {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.team-search-form label {
  display: grid;
  gap: 0.35rem;
}

.team-search-form label span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.team-search-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.team-search-form__actions button,
.team-search-form__actions .action-link {
  width: auto;
}

.button-danger {
  background: linear-gradient(135deg, #b61d1d, #861111);
  border-color: rgba(255, 111, 111, 0.55);
}

.button-danger:hover {
  border-color: rgba(255, 164, 164, 0.72);
  box-shadow: 0 10px 24px rgba(134, 17, 17, 0.26);
}

.admin-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.admin-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 1rem;
  align-items: start;
}

.admin-results,
.admin-detail {
  margin-top: 0;
}

.admin-results-list {
  display: grid;
  gap: 0.85rem;
}

.admin-result-form {
  margin: 0;
}

.admin-result-card {
  position: relative;
  display: grid;
  gap: 0.7rem;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.admin-result-card:hover {
  transform: translateY(-1px);
  border-color: rgba(41, 194, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.admin-result-card.is-selected {
  border-color: rgba(41, 194, 255, 0.72);
  background:
    linear-gradient(90deg, rgba(41, 194, 255, 0.18), rgba(41, 194, 255, 0.04) 38%, rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(41, 194, 255, 0.22), 0 0 0 1px rgba(41, 194, 255, 0.14);
}

.admin-result-card.is-selected::before {
  content: "";
  position: absolute;
  top: 0.75rem;
  bottom: 0.75rem;
  left: 0.45rem;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #29c2ff, #7ae1ff);
}

.admin-result-card__identity small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
}

.admin-result-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-player-table {
  display: grid;
  gap: 0.32rem;
}

.admin-player-form {
  margin: 0;
}

.admin-player-row {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) minmax(130px, 0.8fr) minmax(90px, 0.5fr) minmax(100px, 0.55fr) minmax(110px, 0.65fr);
  gap: 0.7rem;
  align-items: center;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.72rem;
  padding: 0.55rem 0.68rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-align: left;
}

.admin-player-form .admin-player-row {
  cursor: pointer;
}

.admin-player-form .admin-player-row:hover {
  border-color: rgba(41, 194, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.admin-tournament-table {
  display: grid;
  gap: 0.32rem;
}

.admin-tournament-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.3fr) minmax(180px, 1.2fr) minmax(180px, 1.2fr) minmax(100px, 0.8fr) minmax(100px, 0.7fr) minmax(180px, 1fr);
  gap: 0.6rem;
  align-items: center;
  padding: 0.48rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.72rem;
  background: rgba(255, 255, 255, 0.03);
}

.admin-tournament-row--head {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-family: "Rajdhani", sans-serif;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-tournament-row strong,
.admin-tournament-row small {
  display: block;
}

.admin-tournament-row small {
  margin-top: 0.08rem;
  color: var(--muted);
}

.admin-tournament-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}

.admin-tournament-actions form {
  margin: 0;
}

.admin-player-row--head {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-player-row.is-selected {
  border-color: rgba(41, 194, 255, 0.72);
  background:
    linear-gradient(90deg, rgba(41, 194, 255, 0.16), rgba(41, 194, 255, 0.04) 44%, rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.05);
}

.admin-player-row strong {
  display: block;
  margin: 0;
}

.admin-player-row small {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
}

.admin-detail-top {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-detail-photo {
  display: grid;
  gap: 0.6rem;
  justify-items: start;
}

.admin-user-form--detail {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-user-form__full {
  grid-column: 1 / -1;
}

.admin-detail-actions {
  display: flex;
  justify-content: flex-start;
}

.admin-photo-status-form {
  margin-top: 1rem;
}

.admin-email-verification-form {
  margin-top: 0.65rem;
}

.admin-log-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.65rem;
}

.email-verification-alert {
  display: grid;
  gap: 0.5rem;
  margin: 0.8rem 0;
  padding: 0.8rem;
  border: 1px solid rgba(255, 214, 102, 0.32);
  border-radius: 0.9rem;
  background: rgba(255, 214, 102, 0.08);
  color: var(--text);
}

.email-verification-alert strong {
  color: #ffe38d;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.email-verification-alert p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.email-verification-alert form {
  margin: 0;
}

.payment-history {
  display: grid;
  gap: 0.75rem;
}

.payment-history__item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
}

.payment-history__item small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.review-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.review-card__media img,
.review-card__placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 0.9rem;
  object-fit: cover;
  border: 1px solid var(--line);
}

.review-card__placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.review-card__body {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.review-card__body h3 {
  margin: 0;
}

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

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
}

.mode-group-checkbox-grid {
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 0.45rem;
}

.mode-group-checkbox-grid .check-card {
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.55rem 0.65rem;
  white-space: nowrap;
}

.check-card {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
}

.check-card input {
  width: auto;
  margin: 0;
}

.other-division-control {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 0.45fr);
  gap: 0.35rem;
  margin-top: 0.7rem;
}

.other-division-control label {
  display: grid;
  gap: 0.35rem;
}

.other-division-control[hidden] {
  display: none;
}

.team-roster-members__actions {
  display: grid;
  gap: 0.5rem;
  justify-items: end;
}

.inline-stack-form {
  display: grid;
  gap: 0.4rem;
}

.inline-stack-form input {
  min-width: 220px;
}

.organizer-filter-form {
  margin-bottom: 1rem;
}

.player-registration-form {
  gap: 0.8rem;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.player-registration-checks,
.player-registration-statuses {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.player-registration-statuses small {
  color: var(--muted);
}

.employee-search-player-card summary {
  cursor: pointer;
  list-style: none;
}

.employee-search-player-card summary::-webkit-details-marker {
  display: none;
}

.employee-search-player-card[open] {
  border-color: rgba(41, 194, 255, 0.32);
}

.employee-search-player-card[open] .registered-team-card__summary {
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.compact-registration-card summary {
  cursor: pointer;
  list-style: none;
}

.compact-registration-card summary::-webkit-details-marker {
  display: none;
}

.registration-card__toggle-label {
  justify-self: end;
  white-space: nowrap;
  color: #9adfff;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.registration-card__toggle-label::before {
  content: "Show details";
}

.compact-registration-card[open] .registration-card__toggle-label::before {
  content: "Hide details";
}

.compact-registration-card[open] {
  border-color: rgba(41, 194, 255, 0.28);
}

.compact-registration-card[open] .registered-team-card__summary {
  padding-bottom: 0.48rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.registration-card__details {
  display: grid;
  gap: 0.45rem;
  padding-top: 0.48rem;
}

.registration-card__details--actions {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  align-items: end;
}

.status-yes {
  color: #7ed08b;
  font-weight: 700;
}

.status-no {
  color: #ff8f8f;
  font-weight: 700;
}

.organizer-danger-form {
  margin-top: 0.85rem;
}

.id-card-page {
  background:
    radial-gradient(circle at top left, rgba(41, 194, 255, 0.16), transparent 35%),
    linear-gradient(135deg, #0f1722, #111827 60%, #17131d);
  min-height: 100vh;
  margin: 0;
}

.id-card-print-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  gap: 1rem;
  padding: 1.25rem;
}

.player-id-card {
  position: relative;
  width: 5.4cm;
  height: 8.55cm;
  box-sizing: border-box;
  padding: 0.38cm 0.62cm 0.38cm 0.38cm;
  overflow: hidden;
  border-radius: 0.28cm;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at top right, rgba(41, 194, 255, 0.2), transparent 42%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    rgba(11, 17, 27, 0.94);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

.player-id-card--pvc {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.24cm;
}

.player-id-card__base-design {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.player-id-card__watermark {
  position: absolute;
  inset: auto auto 0.72cm 50%;
  width: 3.7cm;
  max-height: 3.7cm;
  object-fit: contain;
  opacity: 0.12;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}

.player-id-card__side-id {
  position: absolute;
  right: 0.13cm;
  top: calc(50% + 2cm);
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Rajdhani", sans-serif;
  font-size: 0.34cm;
  font-weight: 700;
  letter-spacing: 0.08cm;
  line-height: 1;
  padding: 0.16cm 0.08cm;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.16cm;
  background: rgba(5, 10, 16, 0.68);
  box-shadow: 0 0.08cm 0.24cm rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(2px);
  z-index: 2;
}

.player-id-card__photo {
  position: relative;
  width: 3.35cm;
  height: 3.95cm;
  justify-self: center;
  border-radius: 0.22cm;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  z-index: 1;
}

.player-id-card__photo img,
.player-id-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.player-id-card__photo img {
  object-fit: cover;
}

.player-id-card__placeholder {
  color: var(--muted);
  font-family: "Rajdhani", sans-serif;
  font-size: 0.32cm;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.player-id-card__fields {
  position: relative;
  display: grid;
  align-content: end;
  gap: 0.12cm;
  z-index: 1;
}

.player-id-card__fields p {
  display: grid;
  margin: 0;
  padding-bottom: 0.1cm;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.player-id-card__fields span {
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: 0.36cm;
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
}

.player-id-card__expiration span {
  font-size: 0.31cm;
  letter-spacing: 0.03em;
}

@media print {
  @page {
    size: 5.4cm 8.55cm;
    margin: 0;
  }

  html,
  body {
    width: 5.4cm;
    height: 8.55cm;
    margin: 0;
  }

  .id-card-page {
    min-height: 8.55cm;
    background: #ffffff;
  }

  .id-card-print-shell {
    width: 5.4cm;
    height: 8.55cm;
    min-height: 8.55cm;
    padding: 0;
    display: block;
  }

  .id-card-print-button {
    display: none;
  }

  .player-id-card {
    width: 5.4cm;
    height: 8.55cm;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .player-id-card__watermark {
    opacity: 0.14;
  }
}

.signup-shell {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.signup-brand {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.signup-brand h2 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: 2rem;
}

.signup-form {
  display: grid;
  gap: 1rem;
}

.signup-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1rem;
  align-items: start;
}

.signup-row > label {
  color: var(--muted);
  padding-top: 0.9rem;
  font-size: 0.95rem;
}

.signup-birth-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.signup-divider {
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0.35rem 0;
}

.radio-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 0.5rem;
}

.radio-stack--inline {
  flex-direction: row;
  flex-wrap: wrap;
}

.radio-option {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.radio-option--card {
  min-width: 150px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.radio-option--card input {
  width: auto;
  margin: 0;
}

.field-help {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
}

.signup-checkbox {
  color: var(--muted);
}

.signup-checkbox label {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.signup-submit {
  display: flex;
  justify-content: center;
}

.signup-privacy {
  padding: 1rem 1.1rem;
  border-radius: 0.95rem;
  background: rgba(41, 194, 255, 0.08);
  color: var(--muted);
  font-size: 0.95rem;
}

.league-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.league-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
  border-radius: 1rem;
  padding: 1rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.league-card:hover {
  transform: translateY(-2px);
  border-color: rgba(41, 194, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.league-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.league-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(18, 26, 36, 0.82);
  box-shadow: var(--shadow);
  padding: 0.78rem 0.9rem;
}

.filters__group {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.filters__group label {
  color: var(--muted);
  font-size: 0.78rem;
}

.filters__group--search {
  grid-column: span 1;
}

.search-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.42rem;
}

.filters input,
.filters select,
.filters button {
  min-height: 2.15rem;
  border-radius: 0.62rem;
  padding: 0.5rem 0.62rem;
  font-size: 0.84rem;
}

.form-grid,
.data-table__row,
.data-table__row--head {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-grid--compact {
  gap: 0.75rem;
}

.form-grid--profile {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-grid label,
.role-form {
  display: grid;
  gap: 0.45rem;
}

.admin-user-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.admin-user-form label {
  display: grid;
  gap: 0.3rem;
}

.admin-user-form label span {
  color: var(--muted);
  font-size: 0.82rem;
}

.form-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-grid--compact span {
  font-size: 0.82rem;
}

.form-grid__full {
  grid-column: 1 / -1;
}

input,
select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.9rem;
  padding: 0.95rem 1rem;
  background: var(--panel-soft);
  color: var(--text);
}

.profile-form--compact input,
.profile-form--compact select {
  border-radius: 0.75rem;
  padding: 0.78rem 0.85rem;
}

.profile-form--compact button,
.profile-form--compact .button-link {
  padding: 0.8rem 1rem;
}

.admin-photo-thumb {
  display: block;
  width: 84px;
  height: 104px;
  margin-top: 0.6rem;
  border-radius: 0.6rem;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-photo-thumb--large {
  width: 140px;
  height: 170px;
}


.action-link--compact {
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
}

.data-table__row,
.data-table__row--head,
.team-row,
.event-card,
.season-events__row {
  border-radius: 1rem;
  padding: 1rem;
}

.data-table__row--head {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.data-table__row,
.team-row,
.season-events__row {
  background: rgba(255, 255, 255, 0.03);
}

.data-table__row {
  grid-template-columns: 2fr 1fr 0.8fr 1fr;
  align-items: start;
}

.dashboard-event-row {
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.dashboard-event-row:hover,
.dashboard-event-row:focus-visible {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.32);
  transform: translateY(-1px);
  outline: none;
}

.data-table--compact {
  gap: 0.65rem;
}

.data-table--compact .data-table__row,
.data-table--compact .data-table__row--head {
  gap: 0.8rem;
  padding: 0.85rem 0.9rem;
  border-radius: 0.85rem;
}

.data-table__row strong,
.team-row h3,
.league-detail__brand h2 {
  display: block;
  margin: 0;
}

.data-table__row small,
.season-events__row small {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
}

.data-table--compact .data-table__row small {
  margin-top: 0.14rem;
  font-size: 0.82rem;
}

.data-table__row--admin {
  align-items: center;
}

.notice {
  margin: 0.7rem 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 0.85rem;
  background: rgba(52, 211, 153, 0.1);
  color: #defcef;
  font-weight: 800;
}

.sync-job-list {
  display: grid;
  gap: 0.65rem;
}

.sync-job-card {
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.sync-job-card[open] {
  border-color: rgba(56, 189, 248, 0.32);
  background: rgba(56, 189, 248, 0.055);
}

.sync-job-card__summary {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 0.7fr 0.9fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
  cursor: pointer;
  list-style: none;
}

.sync-job-card__summary::-webkit-details-marker {
  display: none;
}

.sync-job-card__summary strong,
.sync-job-card__summary small {
  display: block;
}

.sync-job-card__summary small {
  margin-top: 0.14rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.sync-job-card__summary b {
  justify-self: end;
  padding: 0.42rem 0.64rem;
  border: 1px solid rgba(56, 189, 248, 0.42);
  border-radius: 0.62rem;
  color: #dff7ff;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.sync-job-card__form {
  padding: 0 0.95rem 0.95rem;
}

.sync-job-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-top: 0.75rem;
}

.team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.team-row--rich {
  display: grid;
  grid-template-columns: 1fr auto;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, rgba(41, 194, 255, 0.08), transparent 26%), rgba(255, 255, 255, 0.025);
  border-radius: 1rem;
  padding: 1rem;
}

.team-row--compact {
  border-radius: 0.95rem;
  padding: 0.9rem;
  gap: 0.8rem;
}

.team-row--collapsible {
  display: block;
  padding: 0;
  overflow: hidden;
}

.team-row__summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.78rem 0.85rem;
  cursor: pointer;
  list-style: none;
}

.team-row__summary::-webkit-details-marker {
  display: none;
}

.team-row--collapsible[open] .team-row__summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.team-row__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  padding: 0.48rem 0.72rem;
  border: 1px solid rgba(56, 189, 248, 0.42);
  border-radius: 0.7rem;
  background: rgba(56, 189, 248, 0.1);
  color: #dff7ff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.team-row--collapsible[open] .team-row__toggle {
  background: rgba(255, 107, 44, 0.12);
  border-color: rgba(255, 138, 92, 0.45);
}

.team-row--collapsible > .team-delete-form {
  margin: 0.75rem 0.85rem 0.85rem;
}

.team-row__brand {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.team-row--compact .team-row__brand {
  gap: 0.8rem;
}

.team-row__banner {
  grid-column: 1 / -1;
  margin: -1rem -1rem 0;
  overflow: hidden;
  border-radius: 1rem 1rem 0 0;
  max-height: 180px;
}

.team-row--compact .team-row__banner {
  margin: -0.9rem -0.9rem 0;
  max-height: 130px;
  border-radius: 0.95rem 0.95rem 0 0;
}

.team-row__banner img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.team-row--compact .team-row__banner img {
  height: 130px;
}

.team-row__main {
  display: grid;
  gap: 0.2rem;
}

.team-row--compact .team-row__main {
  gap: 0.08rem;
}

.team-row--compact .team-row__main h3 {
  font-size: 1.2rem;
  line-height: 1;
}

.team-row__meta {
  display: grid;
  gap: 0.55rem;
  align-content: center;
  justify-items: end;
}

.team-row--compact .team-row__meta {
  gap: 0.4rem;
  align-content: start;
}

.team-row__code {
  margin: 0.15rem 0 0;
}

.team-row__logo {
  width: 72px;
  height: 72px;
  border-radius: 1rem;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.team-row--compact .team-row__logo {
  width: 58px;
  height: 58px;
  border-radius: 0.85rem;
}

.team-row__logo--placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(41, 194, 255, 0.25), rgba(255, 107, 44, 0.25));
  color: var(--surface);
  font-family: "Rajdhani", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.team-row__editor {
  grid-column: 1 / -1;
  display: grid;
  gap: 1rem;
  margin-top: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.team-row__editor--compact {
  gap: 0.8rem;
  margin: 0;
  padding: 0.8rem 0.85rem 0.85rem;
}

.team-assets-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.team-assets-grid--compact {
  gap: 0.75rem;
}

.team-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.team-rosters,
.team-history {
  display: grid;
  gap: 1rem;
}

.team-rosters--compact,
.team-history--compact {
  gap: 0.75rem;
}

.team-roster-card {
  display: grid;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.team-roster-card--compact {
  gap: 0.8rem;
  padding: 0.85rem;
  border-radius: 0.9rem;
}

.team-roster-card__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.team-roster-card__header h3 {
  margin: 0;
}

.team-roster-card--compact .team-roster-card__header h3 {
  font-size: 1.1rem;
}

.team-roster-card__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.team-roster-card--compact .team-roster-card__meta {
  gap: 0.35rem;
}

.team-roster-members {
  display: grid;
  gap: 0.65rem;
}

.team-roster-members--compact {
  gap: 0.5rem;
}

.team-roster-members__row,
.team-history__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
}

.team-roster-members--compact .team-roster-members__row,
.team-history--compact .team-history__row {
  padding: 0.72rem 0.85rem;
  border-radius: 0.78rem;
}

.team-roster-members__row small,
.team-history__row small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
}

.registered-team-groups {
  display: grid;
  gap: 1rem;
}

.registered-team-group {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.025);
}

.registered-team-group__header,
.registered-team-table__head,
.registered-team-table__row,
.registered-team-card__summary {
  display: grid;
  align-items: center;
  gap: 1rem;
}

.registered-team-group__header {
  grid-template-columns: 1fr auto;
}

.registered-team-group__header h3 {
  margin: 0;
}

.registered-team-group__header h3 span {
  color: var(--accent);
}

.registered-team-table {
  display: grid;
  overflow: hidden;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.registered-team-table__head,
.registered-team-table__row {
  grid-template-columns: 3rem 1.5fr 1fr auto;
  padding: 0.8rem 1rem;
}

.registered-team-table__head {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
}

.registered-team-table__row,
.registered-team-card {
  background: rgba(255, 255, 255, 0.03);
}

.registered-team-table__row:nth-child(odd) {
  background: rgba(255, 255, 255, 0.045);
}

.registered-team-table__row small,
.registered-team-card__summary small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
}

.registered-team-card {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
}

.registered-team-card__summary {
  grid-template-columns: 3rem 1.4fr 1fr auto;
}

.registered-team-card__rank {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(88, 190, 246, 0.18);
  color: var(--accent);
  font-weight: 900;
}

.team-row__country {
  margin: 0 0 0.2rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-card {
  display: grid;
  grid-template-columns: 9rem 1fr auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, rgba(41, 194, 255, 0.08), transparent 24%), rgba(255, 255, 255, 0.025);
}

.event-card__date span {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-family: "Rajdhani", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.event-card__league {
  margin: 0 0 0.2rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.event-card__meta,
.section__note,
.flash {
  color: var(--muted);
}

.event-card__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}

.home-events-section {
  margin-top: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.95rem;
}

.home-events-section .section__header {
  margin-bottom: 0.45rem;
}

.home-events-section .section__header h2 {
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  letter-spacing: 0.035em;
}

.home-events-section .event-list {
  gap: 0.42rem;
}

.home-events-section .event-card {
  grid-template-columns: 7rem minmax(0, 1fr) auto;
  gap: 0.58rem;
  padding: 0.52rem 0.62rem;
  border-radius: 0.72rem;
}

.home-events-section .event-card--empty {
  display: block;
  min-height: 0;
}

.home-events-section .event-card--empty .event-card__body {
  display: block;
  width: 100%;
  max-width: none;
}

.home-events-section .event-card--empty h3,
.home-events-section .event-card--empty .event-card__meta {
  max-width: none;
}

.home-events-section .event-card__date span {
  padding: 0.38rem 0.55rem;
  border-radius: 0.62rem;
  font-size: 0.86rem;
  line-height: 1;
}

.home-events-section .event-card__league {
  margin-bottom: 0.08rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.home-events-section .event-card h3 {
  font-size: 0.95rem;
  line-height: 1.05;
}

.home-events-section .event-card__meta {
  margin: 0.12rem 0 0;
  font-size: 0.74rem;
  line-height: 1.18;
}

.home-events-section .event-card__aside {
  gap: 0.3rem;
}

.home-events-section .distance {
  min-height: 1.85rem;
  padding: 0.34rem 0.58rem;
  border-radius: 0.58rem;
  font-size: 0.74rem;
}

.league-detail {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.25rem;
}

.league-detail__brand {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  text-align: center;
}

.season-block__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.season-block__links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.season-block__links a,
.league-detail__brand a {
  color: #9adfff;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.season-events {
  display: grid;
  gap: 0.65rem;
}

.season-events__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
}

.flash--error {
  color: #ffae91;
}

.flash--success {
  color: #8ff0b4;
}

@media (max-width: 980px) {
  .hero,
  .profile-hero,
  .hero--home,
  .league-detail,
  .event-card,
  .data-table__row,
  .data-table__row--head,
  .season-events__row {
    grid-template-columns: 1fr;
  }

  .league-grid,
  .filters {
    grid-template-columns: 1fr 1fr;
  }

  .home-events-section .event-card {
    grid-template-columns: 1fr;
    gap: 0.36rem;
  }

  .home-events-section .event-card__aside {
    align-items: flex-start;
  }

  .home-dashboard-slider {
    min-height: 340px;
  }

  .hero--home .hero__copy {
    max-width: 100%;
    padding: 1.2rem;
  }

  .hero--home .hero__copy h1 {
    font-size: clamp(2rem, 10vw, 3.8rem);
  }

  .profile-shell,
  .profile-team-table__head,
  .profile-team-table__row,
  .account-grid,
  .signup-brand {
    grid-template-columns: 1fr;
  }

  .profile-shell--compact,
  .form-grid--profile,
  .teams-shell--compact {
    grid-template-columns: 1fr;
  }

  .page-intro,
  .season-block__header,
  .team-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .quick-actions-grid {
    grid-template-columns: 1fr;
  }

  .admin-shortcuts,
  .admin-layout,
  .teams-shell,
  .review-grid,
  .review-card {
    grid-template-columns: 1fr;
  }

  .team-row--rich {
    grid-template-columns: 1fr;
  }

  .team-row__summary {
    grid-template-columns: 1fr;
  }

  .team-row__summary .team-row__meta {
    justify-items: start;
  }

  .team-row__brand {
    flex-direction: column;
  }

  .team-assets-grid,
  .team-roster-card__header,
  .team-roster-members__row,
  .team-history__row {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-detail-top,
  .admin-user-form--detail {
    grid-template-columns: 1fr;
  }

  .event-card__aside {
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .form-grid,
  .league-grid,
  .filters,
  .search-box,
  .signup-birth-grid,
  .signup-row {
    grid-template-columns: 1fr;
  }

  body {
    overflow-x: hidden;
  }

  .topbar,
  .main-nav {
    position: static;
  }

  .topbar__inner {
    width: min(1160px, calc(100% - 1rem));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.42rem 0;
    font-size: 0.74rem;
  }

  .topbar__links {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 0.65rem;
    white-space: nowrap;
  }

  .topbar__status {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    color: rgba(148, 168, 188, 0.86);
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .main-nav__inner {
    width: min(1160px, calc(100% - 1rem));
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.62rem;
    padding: 0.68rem 0 0.58rem;
  }

  .brand {
    min-width: 0;
    gap: 0.65rem;
  }

  .brand__logo {
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 0.72rem;
  }

  .brand__text {
    min-width: 0;
  }

  .brand__text strong {
    font-size: clamp(1.05rem, 6vw, 1.28rem);
    letter-spacing: 0.045em;
    white-space: nowrap;
  }

  .brand__text small {
    font-size: 0.66rem;
    letter-spacing: 0.07em;
    white-space: nowrap;
  }

  .main-nav__links {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.45rem;
    max-width: 100%;
    margin: 0 -0.18rem;
    padding: 0.08rem 0.18rem 0.16rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav__links::-webkit-scrollbar {
    display: none;
  }

  .main-nav__links a,
  .nav-button {
    flex: 0 0 auto;
    min-height: 2rem;
    padding: 0.38rem 0.68rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    font-size: 0.88rem;
    line-height: 1;
    white-space: nowrap;
  }

  .main-nav__links a.is-active,
  .main-nav__links a:hover,
  .nav-button:hover {
    border-color: rgba(41, 194, 255, 0.32);
    background: rgba(41, 194, 255, 0.12);
  }

  .inline-form {
    flex: 0 0 auto;
  }

  .hero,
  .profile-hero,
  .hero--home,
  .league-detail,
  .event-card,
  .data-table__row,
  .data-table__row--head,
  .season-events__row,
  .profile-shell,
  .profile-shell--compact,
  .form-grid,
  .form-grid--profile {
    grid-template-columns: 1fr;
  }

  .content {
    width: min(1160px, calc(100% - 1rem));
    padding-top: 0.85rem;
  }

  .home-dashboard-slider {
    min-height: clamp(220px, 68vw, 250px);
    border-radius: 1.1rem;
  }

  .home-dashboard-slider::after {
    background:
      linear-gradient(180deg, rgba(8, 12, 18, 0.58) 0%, rgba(8, 12, 18, 0.24) 42%, rgba(8, 12, 18, 0.7) 100%),
      linear-gradient(90deg, rgba(8, 12, 18, 0.42), transparent 74%);
  }

  .hero--home .hero__copy {
    max-width: min(92%, 430px);
    align-content: end;
    padding: 0.72rem;
  }

  .hero--home .eyebrow {
    margin-bottom: 0.34rem;
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }

  .hero--home .hero__copy h1 {
    max-width: 82%;
    font-size: clamp(1.38rem, 8.2vw, 2.25rem);
    line-height: 0.9;
    text-shadow: 0 0.18rem 0.8rem rgba(0, 0, 0, 0.66);
  }

  .hero--home .hero__text {
    max-width: 84%;
    margin-top: 0.34rem;
    font-size: clamp(0.62rem, 3.4vw, 0.78rem);
    line-height: 1.08;
    text-shadow: 0 0.14rem 0.65rem rgba(0, 0, 0, 0.72);
  }

  .home-hero-credit {
    right: 0.55rem;
    bottom: 0.5rem;
    max-width: 42%;
    padding: 0.28rem 0.45rem;
    font-size: 0.5rem;
    white-space: normal;
  }

  .payment-history__item {
    flex-direction: column;
  }

  .review-actions {
    grid-template-columns: 1fr;
  }
}

.event-page {
  width: min(1320px, calc(100% - 2rem));
  margin: 0 auto 3rem;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
}

.event-tabs {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0.22rem;
  overflow-x: auto;
  margin: -0.4rem auto 1.25rem;
  padding: 0.18rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: rgba(18, 26, 36, 0.4);
  backdrop-filter: blur(14px);
}

.event-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0 0.62rem;
  border: 1px solid transparent;
  border-radius: 0.9rem;
  color: var(--muted);
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(0.82rem, 1vw, 1.02rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.event-page > .event-tabs .event-tab {
  flex: 1 1 0;
}

.event-tab--register {
  color: var(--muted);
}

.event-tab--live {
  color: #9af7c1;
}

.event-tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.event-tab.is-active {
  color: var(--text);
  border-color: rgba(41, 194, 255, 0.22);
  background: linear-gradient(135deg, rgba(41, 194, 255, 0.16), rgba(255, 107, 44, 0.12));
}

.organizer-command-center {
  width: min(1500px, calc(100% - 1rem));
  margin-bottom: 1.5rem;
}

.organizer-tabs {
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0.25rem;
  overflow-x: auto;
  padding: 0.3rem;
}

.organizer-tabs .event-tab {
  min-height: 2.25rem;
  padding: 0 0.52rem;
  font-size: clamp(0.68rem, 0.74vw, 0.82rem);
  letter-spacing: 0.035em;
  flex: 0 0 auto;
}

.dashboard-command-center {
  justify-content: center;
  align-items: stretch;
  width: 100%;
  margin: 0 0 0.52rem;
  padding: 0.14rem;
  border-radius: 0.82rem;
  background: rgba(18, 26, 36, 0.46);
}

.dashboard-command-center .event-tab {
  flex: 1 1 0;
  min-height: 1.72rem;
  padding: 0 0.42rem;
  border-radius: 0.62rem;
  font-size: clamp(0.66rem, 0.78vw, 0.8rem);
  letter-spacing: 0.03em;
}

.organizer-panel {
  margin-bottom: 0.9rem;
}

.organizer-panel:not(.is-active) {
  display: none;
}

.employee-panel:not(.is-active) {
  display: none;
}

.organizer-panel .section__header {
  margin-bottom: 0.45rem;
}

.organizer-panel .section__header h2 {
  font-size: clamp(1.22rem, 1.55vw, 1.65rem);
}

.organizer-panel .profile-form,
.organizer-panel .season-block,
.organizer-panel .league-table {
  gap: 0.5rem;
}

.organizer-panel .league-detail {
  gap: 0.55rem;
  padding: 0.68rem 0.75rem;
  border-radius: 0.9rem;
}

.organizer-tournament-card {
  position: relative;
  grid-template-columns: 1fr;
}

.organizer-tournament-card.is-collapsed {
  padding: 0.52rem 0.65rem;
}

.organizer-tournament-card .league-detail__brand,
.organizer-tournament-card__details {
  grid-column: 1 / -1;
}

.organizer-tournament-card .league-detail__brand {
  text-align: left;
}

.organizer-tournament-card.is-collapsed .league-detail__brand {
  text-align: left;
}

.organizer-tournament-card__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: start;
}

.organizer-tournament-card__summary h2 {
  overflow-wrap: anywhere;
}

.organizer-tournament-card__badges {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.28rem;
  white-space: nowrap;
}

@media (max-width: 1040px) {
  .organizer-tournament-card__summary {
    grid-template-columns: 1fr;
  }

  .organizer-tournament-card__badges {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

.organizer-tournament-card.is-collapsed .organizer-tournament-card__summary {
  align-items: center;
}

.organizer-tournament-card.is-collapsed .organizer-tournament-card__extra {
  display: none;
}

.organizer-tournament-card.is-collapsed h2 {
  margin-bottom: 0.1rem;
}

.organizer-tournament-card.is-collapsed .page-copy {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.15;
}

.organizer-tournament-card.is-collapsed .organizer-tournament-card__details,
.organizer-tournament-card.is-collapsed .organizer-danger-form {
  display: none;
}

.organizer-tournament-card__toggle {
  border: 1px solid rgba(154, 223, 255, 0.22);
  border-radius: 0.72rem;
  background: rgba(255, 255, 255, 0.035);
  color: #9adfff;
  padding: 0.26rem 0.5rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.organizer-tournament-card__toggle:hover {
  background: rgba(154, 223, 255, 0.08);
  color: var(--text);
}

.organizer-panel .league-detail__brand {
  gap: 0.25rem;
}

.organizer-panel .league-detail__brand h2,
.organizer-panel .season-block__header h3 {
  font-size: clamp(0.98rem, 1.24vw, 1.24rem);
}

.organizer-panel .season-block {
  padding: 0.58rem 0.68rem;
  border-radius: 0.78rem;
}

.organizer-panel-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.organizer-panel-card--nested {
  margin-top: 0.08rem;
  background: rgba(255, 255, 255, 0.02);
}

.organizer-panel .registered-team-card {
  padding: 0.48rem 0.6rem;
  border-radius: 0.68rem;
}

.organizer-panel .registered-team-card__summary {
  gap: 0.48rem;
}

.organizer-panel .organizer-filter-form {
  margin-bottom: 0.45rem;
}

.organizer-panel .player-registration-form {
  gap: 0.45rem;
  margin-top: 0.45rem;
  padding-top: 0.48rem;
}

.organizer-panel .form-grid {
  gap: 0.52rem;
}

.organizer-panel .form-grid label,
.organizer-panel .role-form {
  gap: 0.24rem;
}

.organizer-panel .form-grid span,
.organizer-panel .pb-teams-filter span {
  font-size: 0.74rem;
}

.organizer-panel input,
.organizer-panel select,
.organizer-panel textarea {
  min-height: 2.18rem;
  border-radius: 0.64rem;
  padding: 0.52rem 0.62rem;
  font-size: 0.86rem;
}

.organizer-panel button,
.organizer-panel .button-link,
.organizer-panel .action-link {
  min-height: 2.05rem;
  padding: 0.48rem 0.68rem;
  font-size: 0.8rem;
}

.organizer-panel .pill {
  padding: 0.26rem 0.48rem;
  font-size: 0.72rem;
}

.organizer-panel .page-copy,
.organizer-panel small {
  font-size: 0.78rem;
  line-height: 1.22;
}

.organizer-panel .check-card {
  padding: 0.46rem 0.56rem;
  border-radius: 0.62rem;
  font-size: 0.8rem;
}

.employee-command-center {
  margin-bottom: 0.55rem;
}

.employee-tabs {
  padding: 0.14rem;
  border-radius: 0.82rem;
}

.employee-tabs .event-tab {
  min-height: 1.85rem;
  padding: 0 0.5rem;
  border-radius: 0.62rem;
  font-size: clamp(0.68rem, 0.78vw, 0.82rem);
  letter-spacing: 0.03em;
}

.employee-panel {
  margin-bottom: 0.8rem;
}

.employee-panel.section,
.employee-panel.league-table {
  padding: 0.68rem 0.78rem;
  border-radius: 0.85rem;
}

.employee-panel .league-detail {
  gap: 0.52rem;
  padding: 0.6rem 0.7rem;
  border-radius: 0.78rem;
}

.employee-panel .league-detail__brand {
  gap: 0.22rem;
}

.employee-panel .league-detail__brand h2,
.employee-panel .section__header h2,
.employee-panel .season-block__header h3 {
  font-size: clamp(0.98rem, 1.18vw, 1.2rem);
}

.employee-panel .season-block {
  gap: 0.48rem;
  padding: 0.52rem 0.62rem;
  border-radius: 0.72rem;
}

.employee-panel .registered-team-groups {
  gap: 0.46rem;
}

.employee-panel .registered-team-card {
  padding: 0.46rem 0.58rem;
  border-radius: 0.64rem;
}

.employee-panel .registered-team-card__summary {
  gap: 0.42rem;
}

.employee-panel .registered-team-card__rank {
  width: 1.65rem;
  height: 1.65rem;
  font-size: 0.8rem;
}

.employee-panel .player-registration-form {
  gap: 0.42rem;
  margin-top: 0.42rem;
  padding-top: 0.44rem;
}

.employee-panel .player-registration-checks,
.employee-panel .player-registration-statuses {
  gap: 0.42rem;
}

.employee-panel .check-card {
  padding: 0.42rem 0.52rem;
  border-radius: 0.58rem;
  font-size: 0.78rem;
}

.employee-panel .form-grid {
  gap: 0.46rem;
}

.employee-panel .form-grid label,
.employee-panel .role-form {
  gap: 0.22rem;
}

.employee-panel .form-grid span {
  font-size: 0.72rem;
}

.employee-panel input,
.employee-panel select,
.employee-panel textarea {
  min-height: 2rem;
  border-radius: 0.58rem;
  padding: 0.46rem 0.58rem;
  font-size: 0.82rem;
}

.employee-panel button,
.employee-panel .button-link,
.employee-panel .action-link {
  min-height: 1.95rem;
  padding: 0.42rem 0.62rem;
  font-size: 0.78rem;
}

.employee-panel .pill {
  padding: 0.22rem 0.44rem;
  font-size: 0.7rem;
}

.employee-panel .page-copy,
.employee-panel small {
  font-size: 0.76rem;
  line-height: 1.18;
}

.employee-search-player-card[open] .registered-team-card__summary {
  padding-bottom: 0.48rem;
}

.registration-option-list {
  display: grid;
  gap: 0.48rem;
}

.registration-option-card {
  display: grid;
  gap: 0.48rem;
  padding: 0.58rem 0.68rem;
  border-radius: 0.72rem;
  background: rgba(255, 255, 255, 0.03);
}

.registration-option-card__summary {
  display: grid;
  gap: 0.08rem;
}

.registration-option-card__summary strong {
  font-size: 0.9rem;
}

.registration-option-card__summary small {
  color: var(--muted);
}

.registration-option-select {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.registration-option-select input {
  width: 0.92rem;
  height: 0.92rem;
  margin-top: 0.12rem;
  accent-color: var(--accent);
}

.registration-option-bulk-form {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.48rem;
}

.registration-option-bulk-form .button-danger {
  min-height: 2.05rem;
  padding: 0.48rem 0.72rem;
}

.setup-division-filter {
  max-width: 260px;
  margin: 0.12rem 0 0.48rem;
}

.setup-filter-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 320px));
  gap: 0.5rem;
  align-items: end;
}

.registration-option-form {
  grid-template-columns: repeat(6, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 0.42rem;
  padding-top: 0.48rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.registration-option-form label {
  display: grid;
  gap: 0.18rem;
}

.registration-option-form label span {
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.schedule-bracket-list {
  display: grid;
  gap: 0.62rem;
}

.schedule-section-stack {
  display: grid;
  gap: 0.62rem;
}

.field-assignment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.7rem;
}

.field-assignment-grid--finals {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.field-assignment-card {
  display: grid;
  gap: 0.46rem;
  padding: 0.58rem;
  border: 1px solid rgba(154, 223, 255, 0.14);
  border-radius: 0.72rem;
  background: rgba(88, 190, 246, 0.045);
}

.field-assignment-card--finals {
  background: rgba(255, 255, 255, 0.035);
}

.schedule-section-card {
  gap: 0.5rem;
}

.schedule-section-card--fields {
  order: 1;
  border-color: rgba(56, 189, 248, 0.28);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(12, 18, 28, 0.58));
}

.schedule-section-card--finals {
  order: 3;
  border-color: rgba(250, 204, 21, 0.28);
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.08), rgba(12, 18, 28, 0.58));
}

.schedule-section-card--details {
  order: 2;
  border-color: rgba(52, 211, 153, 0.28);
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.08), rgba(12, 18, 28, 0.58));
}

.schedule-section-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: flex-end;
}

.schedule-section-card.is-collapsed .schedule-section-card__details {
  display: none;
}

.schedule-section-card__toggle {
  min-height: 2rem;
  padding: 0.4rem 0.72rem;
  border-color: rgba(88, 190, 246, 0.35);
  color: var(--text);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.schedule-section-card__toggle--fields {
  border-color: rgba(56, 189, 248, 0.62);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(14, 116, 144, 0.2));
  color: #dff7ff;
}

.schedule-section-card__toggle--finals {
  border-color: rgba(250, 204, 21, 0.68);
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.24), rgba(180, 83, 9, 0.2));
  color: #fff7d1;
}

.schedule-section-card__toggle--details {
  border-color: rgba(52, 211, 153, 0.64);
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.22), rgba(6, 95, 70, 0.2));
  color: #defcef;
}

.schedule-section-card__toggle:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.field-assignment-card__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.42rem;
  align-items: center;
}

.field-assignment-card h4 {
  margin: 0;
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field-assignment-card small {
  color: var(--muted);
}

.field-assignment-form,
.field-assignment-options {
  display: grid;
  gap: 0.34rem;
}

.field-name-control {
  display: grid;
  gap: 0.18rem;
}

.field-name-control span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.field-assignment-options {
  max-height: 9rem;
  overflow: auto;
  padding-right: 0.16rem;
}

.field-assignment-options label {
  display: flex;
  align-items: flex-start;
  gap: 0.36rem;
  padding: 0.34rem 0.4rem;
  border-radius: 0.48rem;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-size: 0.76rem;
  line-height: 1.15;
}

.field-assignment-options input {
  width: 0.88rem;
  height: 0.88rem;
  min-height: auto;
  margin-top: 0.08rem;
  accent-color: var(--accent);
}

.schedule-bracket-card {
  display: grid;
  gap: 0.58rem;
  padding: 0.66rem;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 0.78rem;
  background: rgba(255, 255, 255, 0.026);
}

.schedule-bracket-card__details {
  display: grid;
  gap: 0.58rem;
}

.schedule-bracket-card.is-collapsed .schedule-bracket-card__details {
  display: none;
}

.schedule-bracket-card__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
}

.schedule-bracket-card__header h3,
.schedule-bracket-panel h4 {
  margin: 0;
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.schedule-bracket-card__header h3 {
  font-size: clamp(0.95rem, 1.18vw, 1.18rem);
}

.schedule-bracket-panel h4 {
  font-size: 0.86rem;
}

.schedule-bracket-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.38rem;
}

.schedule-bracket-actions form {
  margin: 0;
}

.advancing-teams-form {
  display: flex;
  align-items: end;
  gap: 0.28rem;
}

.advancing-teams-form label {
  display: grid;
  gap: 0.12rem;
}

.advancing-teams-form label span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.advancing-teams-form select {
  min-height: 2rem;
  min-width: 4rem;
  padding: 0.25rem 0.45rem;
  border-radius: 0.48rem;
  font-size: 0.78rem;
}

.advancing-teams-form button {
  min-height: 2rem;
  padding: 0.28rem 0.55rem;
  border-radius: 0.48rem;
  font-size: 0.72rem;
}

.schedule-bracket-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.schedule-bracket-card__toggle {
  min-height: 2.25rem;
  padding: 0.48rem 0.75rem;
  border-color: rgba(41, 194, 255, 0.72);
  color: #061018;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #75dcff, var(--accent));
  box-shadow: 0 0 0 1px rgba(41, 194, 255, 0.14), 0 10px 24px rgba(41, 194, 255, 0.18);
}

.schedule-bracket-card__toggle:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(135deg, #ffffff, #75dcff);
  transform: translateY(-1px);
}

.schedule-bracket-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(260px, 1.2fr);
  gap: 0.55rem;
}

.schedule-bracket-panel {
  display: grid;
  gap: 0.42rem;
  padding: 0.56rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0.68rem;
  background: rgba(6, 15, 24, 0.34);
}

.schedule-bracket-panel--full {
  overflow: hidden;
}

.schedule-team-list,
.schedule-generated-brackets {
  display: grid;
  gap: 0.34rem;
}

.schedule-team-list span,
.schedule-generated-bracket {
  display: grid;
  gap: 0.08rem;
  padding: 0.42rem 0.5rem;
  border-radius: 0.52rem;
  background: rgba(255, 255, 255, 0.035);
}

.schedule-team-list strong,
.schedule-generated-bracket strong,
.schedule-match-row strong {
  color: var(--text);
}

.schedule-team-list small,
.schedule-generated-bracket small {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.18;
}

.schedule-match-list {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0.62rem;
}

.schedule-match-row {
  display: grid;
  grid-template-columns: 5rem 1fr minmax(280px, 2fr) 8rem;
  gap: 0.48rem;
  align-items: center;
  padding: 0.46rem 0.56rem;
  color: var(--text);
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.025);
}

.schedule-match-row:nth-child(odd) {
  background: rgba(255, 255, 255, 0.045);
}

.schedule-match-games,
.public-schedule-games {
  display: grid;
  gap: 0.18rem;
}

.schedule-match-games small,
.public-schedule-games small {
  color: var(--text);
  line-height: 1.18;
}

.match-score-form {
  display: grid;
  grid-template-columns: minmax(5.5rem, 1fr) auto minmax(5.5rem, 1fr) minmax(5rem, 0.7fr) auto;
  gap: 0.32rem;
  align-items: end;
  max-width: 100%;
  padding: 0.28rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.035);
}

.match-score-form label {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.match-score-form label span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.match-score-form input {
  min-height: 1.8rem;
  padding: 0.24rem 0.34rem;
  border-radius: 0.42rem;
  font-size: 0.78rem;
}

.match-score-form > strong {
  align-self: center;
  color: var(--muted);
  font-size: 0.68rem;
}

.match-score-form button {
  min-height: 1.8rem;
  padding: 0.24rem 0.5rem;
  border-radius: 0.42rem;
  font-size: 0.68rem;
  white-space: nowrap;
}

.match-log-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: flex-start;
  padding: 0.32rem 0.48rem;
  border: 1px solid rgba(88, 214, 141, 0.28);
  border-radius: 0.52rem;
  background: rgba(88, 214, 141, 0.08);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.match-log-status a {
  color: var(--accent);
  font-weight: 900;
  text-decoration: none;
}

.match-log-status--pending {
  border-color: rgba(255, 190, 90, 0.32);
  background: rgba(255, 190, 90, 0.1);
  color: #ffd79a;
}

@media (max-width: 900px) {
  .schedule-bracket-card__header,
  .schedule-bracket-grid,
  .schedule-match-row {
    grid-template-columns: 1fr;
  }

  .match-score-form {
    grid-template-columns: 1fr;
  }

  .schedule-bracket-actions {
    justify-content: flex-start;
  }
}

.registration-option-form input,
.registration-option-form select {
  min-width: 0;
}

.registration-option-form button {
  min-height: 2.05rem;
  padding-inline: 0.7rem;
}

.registration-option-delete-form {
  display: flex;
  justify-content: flex-end;
}

.registration-option-delete-form .button-danger {
  min-height: 2.05rem;
  padding: 0.48rem 0.72rem;
}

@media (max-width: 1120px) {
  .registration-option-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .setup-filter-row {
    grid-template-columns: 1fr;
  }

  .registration-option-form {
    grid-template-columns: 1fr;
  }
}

.event-panel {
  display: none;
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: transparent;
  box-shadow: none;
}

.event-panel.is-active {
  display: block;
}

.event-hero-card {
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(12px);
}

.event-hero-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(92px, 132px);
  gap: 1rem;
  align-items: center;
}

.event-hero-card__main {
  min-width: 0;
}

.event-league-logo {
  display: grid;
  place-items: center;
  justify-self: end;
  width: min(132px, 100%);
  min-height: 92px;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.035);
}

.event-league-logo img {
  display: block;
  max-width: 100%;
  max-height: 98px;
  object-fit: contain;
}

.event-league-logo span {
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.event-eyebrow {
  margin: 0 0 0.25rem;
  color: var(--muted);
  font-family: "Rajdhani", sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-hero-card h1,
.event-section-title h2 {
  margin: 0;
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1;
  text-transform: uppercase;
}

.event-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.event-facts--public {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 860px;
}

.event-facts span,
.event-info-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.7rem;
}

.event-facts strong,
.event-info-card h2 {
  display: block;
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-family: "Rajdhani", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-info-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0.7rem;
  margin-top: 0.75rem;
}

.event-info-card p {
  margin: 0.18rem 0;
  color: var(--text);
  font-size: 0.9rem;
}

.event-info-card a {
  color: #9adfff;
}

.event-info-card--numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.event-info-card--numbers h2 {
  grid-column: 1 / -1;
}

.event-info-card--numbers div {
  display: grid;
  place-items: center;
  min-height: 3.75rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.05);
}

.event-info-card--numbers div strong {
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: 1.45rem;
}

.event-info-card--numbers div span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.event-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 0.75rem;
}

.event-table-wrap--short-race {
  overflow-x: visible;
}

.event-info-table,
.event-score-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-align: center;
  border-radius: 1rem;
  overflow: hidden;
}

.event-info-table th,
.event-info-table td,
.event-score-table th,
.event-score-table td {
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.48rem 0.46rem;
  font-size: 0.82rem;
  line-height: 1.12;
}

.event-info-table th,
.event-score-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.event-info-table tbody tr:nth-child(odd),
.event-score-table tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.025);
}

.public-scoreboard-stack {
  display: grid;
  gap: 1.1rem;
  margin-top: 0.75rem;
}

.public-score-division {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  align-items: start;
  gap: 0.7rem;
}

#score {
  margin-left: calc(50% - 50vw + 0.75rem);
  margin-right: calc(50% - 50vw + 0.75rem);
}

#score .public-score-division--short-race {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 0.7rem;
}

#score .public-score-division--short-race .public-score-phase--prelims {
  grid-column: auto;
  grid-row: span 8;
}

#score .public-score-division--short-race .public-score-phase--playoff {
  min-width: 0;
}

#score .public-score-division--short-race .public-score-phase--playoff .event-table-wrap {
  margin-top: 0.25rem;
}

#score .public-score-division--short-race .public-score-phase--playoff .public-score-matches-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

#score .public-score-division--short-race .public-score-phase--playoff .public-score-matches-table th,
#score .public-score-division--short-race .public-score-phase--playoff .public-score-matches-table td {
  padding: 0.28rem 0.25rem;
  font-size: 0.72rem;
}

#score .public-score-division--short-race .public-score-phase--playoff .public-score-matches-table th:nth-child(1),
#score .public-score-division--short-race .public-score-phase--playoff .public-score-matches-table td:nth-child(1) {
  width: 4.5rem;
}

#score .public-score-division--short-race .public-score-phase--playoff .public-score-matches-table th:nth-child(3),
#score .public-score-division--short-race .public-score-phase--playoff .public-score-matches-table td:nth-child(3) {
  width: 4.2rem;
}

#score .public-score-division--short-race .public-score-phase--playoff .public-score-matches-table th:nth-child(5),
#score .public-score-division--short-race .public-score-phase--playoff .public-score-matches-table td:nth-child(5) {
  width: 4.6rem;
}

.public-score-division h3 {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
}

.public-score-phase {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.public-score-phase:first-of-type {
  grid-row: span 8;
}

.public-score-phase__tab {
  justify-self: start;
  min-width: 8rem;
  padding: 0.58rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  border-radius: 0.55rem 0.55rem 0 0;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.public-score-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.public-score-standings-table,
.public-score-matches-table {
  min-width: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.02);
}

.public-score-standings-table th,
.public-score-matches-table th {
  font-size: 0.72rem;
  text-align: center;
}

.public-score-standings-table td,
.public-score-matches-table td {
  padding: 0.3rem 0.34rem;
  font-size: 0.78rem;
  line-height: 1.05;
}

.public-score-standings-table th:nth-child(2),
.public-score-standings-table td:nth-child(2) {
  min-width: 8.5rem;
}

.public-score-standings-table--short-race {
  min-width: 0;
  table-layout: fixed;
}

.public-score-standings-table--short-race th:nth-child(1),
.public-score-standings-table--short-race td:nth-child(1) {
  width: 2.2rem;
  min-width: 2.2rem;
  padding-left: 0.12rem;
  padding-right: 0.12rem;
}

.public-score-standings-table--short-race th:nth-child(2),
.public-score-standings-table--short-race td:nth-child(2) {
  width: 12.5rem;
  min-width: 12.5rem;
}

.public-score-standings-table--short-race th:nth-child(3),
.public-score-standings-table--short-race td:nth-child(3) {
  width: 14.5rem;
}

.public-score-standings-table--short-race th:nth-child(4),
.public-score-standings-table--short-race td:nth-child(4),
.public-score-standings-table--short-race th:nth-child(5),
.public-score-standings-table--short-race td:nth-child(5),
.public-score-standings-table--short-race th:nth-child(6),
.public-score-standings-table--short-race td:nth-child(6) {
  width: 2.35rem;
}

.public-score-standings-table--short-race th:last-child,
.public-score-standings-table--short-race td:last-child {
  width: 5.3rem;
}

.public-score-matches-table th:nth-child(2),
.public-score-matches-table th:nth-child(4),
.public-score-matches-table td:nth-child(2),
.public-score-matches-table td:nth-child(4) {
  min-width: 6.8rem;
}

.public-score-team-cell {
  text-align: left;
}

.public-score-team-cell a {
  color: #7ec5ff;
  font-weight: 900;
  text-decoration: none;
}

.public-score-team-cell small {
  display: block;
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
}

.public-score-standings-table tr.public-score-bracket-tone--light,
.public-score-matches-table tr.public-score-bracket-tone--light {
  background: rgba(255, 255, 255, 0.06);
}

.public-score-standings-table tr.public-score-bracket-tone--dark,
.public-score-matches-table tr.public-score-bracket-tone--dark {
  background: rgba(0, 0, 0, 0.16);
}

.public-score-standings-table tr.public-score-bracket-tone--light:nth-child(odd),
.public-score-matches-table tr.public-score-bracket-tone--light:nth-child(odd) {
  background: rgba(255, 255, 255, 0.075);
}

.public-score-standings-table tr.public-score-bracket-tone--dark:nth-child(odd),
.public-score-matches-table tr.public-score-bracket-tone--dark:nth-child(odd) {
  background: rgba(0, 0, 0, 0.22);
}

.public-score-bracket-row td {
  border-top-color: rgba(126, 197, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(126, 197, 255, 0.18);
}

.public-score-chip-list {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
}

.public-score-chip {
  min-width: 1.85rem;
  padding: 0.16rem 0.28rem;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.06);
  color: #7ec5ff;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
}

.public-score-standings-table--short-race .public-score-chip {
  min-width: 1.9rem;
  padding: 0.11rem 0.12rem;
  font-size: 0.72rem;
  white-space: nowrap;
  text-align: center;
}

.public-score-standings-table--short-race .public-score-chip-list {
  flex-wrap: nowrap;
  gap: 0.1rem;
}

.public-score-standings-table--short-race td,
.public-score-standings-table--short-race th {
  padding: 0.22rem 0.18rem;
  white-space: nowrap;
}

.public-score-standings-table--short-race .public-score-team-cell a {
  display: inline-block;
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: nowrap;
}

.public-score-chip.is-win,
.public-score-matches-table td.is-winner {
  background: rgba(58, 235, 110, 0.18);
  color: #8ff0b4;
}

.public-score-chip.is-loss,
.public-score-matches-table td.is-loser {
  background: rgba(255, 95, 95, 0.18);
  color: #ff9c9c;
}

.public-score-chip.is-tie {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.public-score-pending {
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 1100px) {
  .public-score-division {
    grid-template-columns: 1fr;
  }

  .public-score-phase:first-of-type {
    grid-row: auto;
  }
}

.league-events-panel {
  margin-top: 0.75rem;
  padding: 0.72rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.league-events-panel__header {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 0.55rem;
}

.league-events-panel__header h2 {
  margin: 0;
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: 1.05rem;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.league-events-panel__header span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.league-events-table {
  display: grid;
  gap: 0.22rem;
}

.league-events-row {
  display: grid;
  grid-template-columns: 150px minmax(180px, 1fr) minmax(180px, 1fr);
  gap: 0.65rem;
  align-items: center;
  padding: 0.46rem 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 0.7rem;
  color: var(--text);
  text-decoration: none;
}

.league-events-row:not(.league-events-row--head) {
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.league-events-row:not(.league-events-row--head):hover {
  border-color: rgba(117, 207, 255, 0.38);
  background: rgba(117, 207, 255, 0.08);
  transform: translateY(-1px);
}

.league-events-row.is-current {
  border-color: rgba(117, 207, 255, 0.45);
  background: rgba(117, 207, 255, 0.075);
}

.league-events-row--head {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  font-family: "Rajdhani", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.league-events-row strong {
  color: #75cfff;
}

.live-scoreboard-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
  color: var(--muted);
  font-weight: 800;
}

.live-status {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-family: "Rajdhani", sans-serif;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.live-status--live {
  border-color: rgba(50, 255, 142, 0.4);
  background: rgba(50, 255, 142, 0.12);
  color: #9af7c1;
}

.live-status--completed {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

.live-scoreboard-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(50, 255, 142, 0.06), transparent 42%),
    rgba(255, 255, 255, 0.03);
  padding: 0.72rem;
}

.live-scoreboard-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.live-scoreboard-card__header strong {
  color: #9af7c1;
}

.live-field-scoreboards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
}

.live-field-scoreboard-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.25rem;
  background: transparent;
  color: var(--text);
  box-shadow: none;
}

.live-field-scoreboard-card__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.25fr);
  align-items: center;
  gap: 0.42rem;
  padding: 0.58rem 0.65rem 0.42rem;
}

.live-field-scoreboard-card__top h3 {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  overflow: hidden;
  margin: 0;
  color: #ef4a37;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.55rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-field-scoreboard-card__top small,
.live-field-scoreboard-card__top strong {
  color: #7d90a7;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.live-field-scoreboard-card__top strong {
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-field-scoreboard-card__top strong span {
  color: inherit;
}

.live-dot {
  flex: 0 0 auto;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: #9aa7b7;
}

.live-dot--live {
  background: #84bd82;
}

.live-dot--completed {
  background: #ef4a37;
}

.live-field-scoreboard-card__teams {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.live-field-scoreboard-card__teams div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px;
  min-height: 2.85rem;
  background: rgba(255, 255, 255, 0.08);
}

.live-field-scoreboard-card__teams div:first-child {
  background: rgba(255, 255, 255, 0.12);
}

.live-field-scoreboard-card__teams span {
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0.34rem 0.62rem;
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.25rem, 2.15vw, 1.85rem);
  font-weight: 700;
  line-height: 0.95;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-field-scoreboard-card__teams strong {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  font-weight: 900;
}

.live-field-scoreboard-card__clocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.live-clock {
  display: grid;
  place-items: center;
  min-height: 3rem;
  color: #fff;
  font-family: "Rajdhani", sans-serif;
  text-align: center;
}

.live-clock--game {
  background: #1f6fd1;
}

.live-clock--break {
  background: #f04a36;
}

.live-clock span {
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.live-clock strong {
  font-size: clamp(1.35rem, 2.55vw, 2rem);
  font-weight: 900;
  line-height: 0.95;
}

.live-field-scoreboard-card__alternate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px 74px 42px minmax(0, 1fr);
  align-items: stretch;
  min-height: 2.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.live-field-scoreboard-card__alternate .live-scoreline-team {
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0.3rem 0.52rem;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(0.92rem, 1.45vw, 1.22rem);
  font-weight: 900;
  line-height: 0.95;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-field-scoreboard-card__alternate .live-scoreline-team--home {
  justify-content: flex-end;
  color: #2e8cff;
  text-align: right;
}

.live-field-scoreboard-card__alternate .live-scoreline-team--away {
  justify-content: flex-start;
  color: #ff4050;
  text-align: left;
}

.live-field-scoreboard-card__alternate .live-scoreline-score {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.06rem, 1.75vw, 1.42rem);
  font-weight: 900;
}

.live-field-scoreboard-card__alternate .live-scoreline-clock {
  display: grid;
  place-items: center;
  background: rgba(31, 111, 209, 0.22);
  color: #fff;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(0.95rem, 1.5vw, 1.18rem);
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
}

.live-field-scoreboard-card__next {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px 42px minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  min-height: 2.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.live-field-scoreboard-card__next strong {
  display: grid;
  place-items: center;
  align-self: center;
  width: 2rem;
  min-height: 1.72rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.48rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.16);
  color: #fff;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 5px 12px rgba(0, 0, 0, 0.18);
}

.live-field-scoreboard-card__next strong.is-leading {
  border-color: rgba(101, 255, 171, 0.35);
  background:
    linear-gradient(180deg, rgba(101, 255, 171, 0.32), rgba(6, 94, 45, 0.08)),
    #178846;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 0 0 1px rgba(23, 136, 70, 0.28),
    0 8px 16px rgba(23, 136, 70, 0.28);
}

.live-field-scoreboard-card__next strong.is-trailing {
  border-color: rgba(255, 122, 142, 0.35);
  background:
    linear-gradient(180deg, rgba(255, 122, 142, 0.28), rgba(88, 17, 30, 0.08)),
    #741f2d;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 0 1px rgba(116, 31, 45, 0.32),
    0 8px 16px rgba(116, 31, 45, 0.28);
}

.live-field-scoreboard-card__next strong.is-tied {
  border-color: rgba(205, 215, 226, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(54, 63, 73, 0.08)),
    #6f7884;
}

.live-field-scoreboard-card__next span {
  overflow: hidden;
  padding: 0 0.38rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  width: 100%;
}

.live-field-scoreboard-card__next > span:only-child {
  grid-column: 1 / -1;
}

.live-field-scoreboard-card__next--teams-only {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.live-field-scoreboard-card__next em {
  color: #ef4a37;
  display: grid;
  justify-items: center;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.96rem;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.live-field-scoreboard-card__next em span {
  display: block;
  padding: 0;
  color: #7d90a7;
  font-size: 0.58rem;
  line-height: 0.85;
  text-transform: uppercase;
}

.live-field-scoreboard-card--short {
  min-height: 0;
}

.live-field-scoreboard-card--short .live-field-scoreboard-card__top h3 {
  font-size: clamp(1.18rem, 1.7vw, 1.65rem);
}

.live-short-match-list {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.live-short-match-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(46px, 0.28fr) minmax(0, 1fr);
  align-items: center;
  min-height: 2.42rem;
  background: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.live-short-match-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.04);
}

.live-short-match-row.is-current {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.live-short-match-row > span {
  overflow: hidden;
  min-width: 0;
  padding: 0 0.42rem;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(0.72rem, 0.98vw, 0.96rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-short-match-row > span:first-child {
  text-align: left;
}

.live-short-match-row > span:last-child {
  text-align: right;
}

.live-short-match-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  align-self: stretch;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-family: "Rajdhani", sans-serif;
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.live-short-match-center--clock {
  color: #05c873;
  font-size: 0.98rem;
}

.live-short-match-center b {
  display: inline-grid;
  place-items: center;
  width: 1.06rem;
  height: 1.06rem;
  border-radius: 0.28rem;
  color: #fff;
  font-size: 0.72rem;
  line-height: 1;
}

.live-short-match-center b.is-win {
  background: #49a84c;
}

.live-short-match-center b.is-loss {
  background: #ff4b4b;
}

.live-scoreboard-table td small {
  display: block;
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.event-section-title {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.event-section-title p,
.event-empty,
.event-register-card p,
.event-schedule-grid span {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.event-section-title--inline {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.event-registration-grid,
.event-layout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.65rem;
}

.event-register-card,
.event-team-row,
.event-layout-card,
.event-bracket-card,
.event-schedule-grid article,
.event-ranking-row {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.event-register-card {
  display: grid;
  gap: 0.6rem;
  padding: 0.72rem;
}

.event-register-card[data-register-option-card] {
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.event-register-card[data-register-option-card]:hover {
  border-color: rgba(56, 189, 248, 0.42);
  background: rgba(56, 189, 248, 0.08);
  transform: translateY(-1px);
}

.event-register-card header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.event-register-card h3 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.28rem;
  text-transform: uppercase;
}

.event-register-card header span,
.event-register-meta span {
  color: #9adfff;
  font-weight: 800;
}

.event-register-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem 0.65rem;
  font-size: 0.86rem;
  align-items: center;
}

.event-register-form {
  display: grid;
  gap: 0.65rem;
}

.event-register-form select,
.event-register-form button,
.event-division-filter {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.52rem 0.65rem;
  font-size: 0.88rem;
}

.event-register-form button {
  border-color: rgba(41, 194, 255, 0.2);
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #041018;
  font-weight: 900;
}

.event-team-list,
.event-bracket-stack,
.event-ranking-list,
.event-schedule-grid {
  display: grid;
  gap: 0.65rem;
}

.event-team-row summary,
.event-player-row summary,
.event-ranking-row,
.event-schedule-grid article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  cursor: pointer;
  padding: 0.85rem 1rem;
}

.event-team-row summary strong,
.event-player-row summary strong,
.event-bracket-team strong {
  color: var(--text);
}

.event-team-row summary span:last-child,
.event-player-row summary span:last-child {
  color: var(--muted);
  font-weight: 800;
}

.event-roster-list {
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem 1rem 1rem;
  background: rgba(255, 255, 255, 0.025);
}

.pb-teams-shell,
.pb-roster-page {
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  box-shadow: none;
  padding: 0.85rem;
}

.pb-teams-title,
.pb-roster-page__header h1 {
  margin: 0 0 0.55rem;
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.45rem, 2vw, 2.05rem);
  font-weight: 700;
}

.pb-teams-title {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #dfe3e8;
}

.pb-roster-page__header h1 span {
  color: #357dc4;
}

.pb-teams-filter {
  display: grid;
  gap: 0.28rem;
  max-width: 320px;
  margin: 0.55rem 0 0.8rem;
}

.pb-teams-filter span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.pb-teams-filter select {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 0.6rem 0.75rem;
  font-size: 0.95rem;
}

.pb-team-group {
  margin-top: 0.8rem;
}

.pb-team-group h3,
.pb-roster-main h2 {
  margin: 0 0 0.45rem;
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.25rem, 1.55vw, 1.7rem);
  font-weight: 700;
}

.pb-team-table {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.pb-team-table__head,
.pb-team-row {
  display: grid;
  grid-template-columns: 2.4rem 1fr 10rem;
  align-items: center;
  gap: 0.55rem;
  min-height: 2rem;
  padding: 0 0.5rem;
}

.pb-team-table__head {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pb-team-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #2d6fb4;
  text-decoration: none;
  transition: background-color 140ms ease, transform 140ms ease;
}

.pb-team-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}

.pb-team-row:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(2px);
}

.pb-team-row__seed {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
}

.pb-team-row__name {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.pb-team-row__name strong {
  color: #3d83ca;
  font-size: 0.82rem;
  font-weight: 700;
}

.pb-team-row__flag {
  min-width: 1.35rem;
  color: var(--text);
  font-size: 0.86rem;
}

.pb-team-row__status {
  justify-self: end;
  border-radius: 0.3rem;
  padding: 0.16rem 0.34rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.pb-team-row__status.is-pending {
  border: 1px solid #c8c8c8;
  background: #fff;
  color: #555;
}

.pb-team-row__status.is-paid {
  color: #7ed08b;
}

.pb-team-table__empty,
.pb-roster-table__empty {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  padding: 0.85rem;
}

.pb-roster-page__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pb-roster-page__legacy,
.pb-roster-sidebar__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  border: 1px solid #d0d0d0;
  border-radius: 0.45rem;
  background: #fff;
  color: #555;
  padding: 0 1rem;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
}

.pb-roster-layout {
  display: grid;
  grid-template-columns: 22rem 1fr;
  gap: 1.4rem;
  align-items: start;
}

.pb-roster-sidebar,
.pb-roster-main {
  background: transparent;
}

.pb-roster-sidebar__facts {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.85rem;
  overflow: hidden;
}

.pb-roster-sidebar__facts div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 0;
  background: rgba(255, 255, 255, 0.03);
}

.pb-roster-sidebar__facts div:last-child {
  border-bottom: 0;
}

.pb-roster-sidebar__facts strong {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  padding-left: 1rem;
}

.pb-roster-sidebar__facts span {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  padding-right: 1rem;
}

.pb-roster-main__tabs {
  display: flex;
  gap: 0;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.pb-roster-main__tabs a {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.03);
  color: #357dc4;
  padding: 0.58rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.pb-roster-main__tabs a.is-active {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.pb-roster-group {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 0;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.85rem 0.6rem 0.7rem;
}

.pb-roster-group + .pb-roster-group {
  margin-top: 0;
  border-top: 0;
}

.pb-roster-group h3 {
  margin: 0 0 0.7rem;
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.pb-roster-table {
  width: 100%;
  border-collapse: collapse;
}

.pb-roster-table th,
.pb-roster-table td {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 0.58rem 0.45rem;
  font-size: 0.9rem;
  text-align: center;
  vertical-align: middle;
}

.pb-roster-table th {
  background: rgba(255, 255, 255, 0.04);
  font-family: "Rajdhani", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: left;
}

.pb-roster-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.01);
}

.pb-roster-table td.pb-roster-avatar,
.pb-roster-table th:first-child {
  width: 4.75rem;
  padding: 0;
  text-align: center;
}

.pb-roster-avatar img {
  display: block;
  width: 4rem;
  height: 4rem;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}

.pb-roster-avatar__placeholder {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  background: rgba(255, 255, 255, 0.06);
  color: #9adfff;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.pb-roster-name {
  color: #3d83ca;
  font-weight: 700;
  text-align: left;
}

.pb-roster-table td.is-paid {
  color: #7ed08b;
  font-weight: 700;
}

.pb-roster-table td.is-pending {
  color: var(--muted);
  font-weight: 700;
}

.pb-roster-table td.status-yes {
  color: #7ed08b;
  font-weight: 700;
}

.pb-roster-table td.status-no {
  color: #ff8f8f;
  font-weight: 700;
}

.league-detail--clickable {
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.league-detail--clickable:hover,
.league-detail--clickable:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(154, 223, 255, 0.28);
  box-shadow: 0 16px 32px rgba(3, 12, 24, 0.18);
  outline: none;
}

.pb-league-profile {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.1rem;
  background: transparent;
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  box-shadow: none;
}

.pb-league-profile__side {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.65rem;
  min-height: 190px;
  padding: 1rem 0.7rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  text-align: center;
}

.pb-league-profile__logo {
  width: 86px;
  max-height: 92px;
  object-fit: contain;
}

.pb-league-profile__logo-placeholder {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, var(--accent), var(--warm));
  color: #061018;
  font-size: 1.8rem;
  font-weight: 900;
}

.pb-league-profile__side h1 {
  margin: 0;
  color: #75cfff;
  font-size: 1.08rem;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: capitalize;
}

.pb-league-profile__side p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
  font-weight: 700;
}

.pb-league-profile__website {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.12rem 0.52rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
}

.pb-league-profile__main {
  padding: 0.72rem 0.85rem 1rem;
}

.pb-league-profile__season {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  margin-bottom: 0.45rem;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.pb-league-profile__season a,
.pb-league-event-row__title strong {
  color: #57bfff;
  text-decoration: none;
}

.pb-league-profile__season a:hover,
.pb-league-event-row:hover .pb-league-event-row__title strong {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.pb-league-event-list {
  display: grid;
  gap: 0.08rem;
}

.pb-league-event-row {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr);
  align-items: baseline;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.98rem;
  line-height: 1.18;
}

.pb-league-event-row__date {
  color: var(--text);
  font-weight: 800;
}

.pb-league-event-row__title {
  min-width: 0;
  color: var(--muted);
  font-weight: 800;
}

.pb-league-event-row__flag {
  display: inline-block;
  min-width: 1.35rem;
  margin-right: 0.18rem;
}

.pb-league-event-row__title em {
  color: var(--muted);
  font-style: normal;
}

.pb-league-profile__past {
  margin-top: 1.1rem;
}

.pb-league-profile__past h2 {
  margin: 0 0 0.28rem;
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.pb-league-event-list--past .pb-league-event-row__date {
  color: var(--muted);
}

.pb-league-profile__empty {
  margin: 0.7rem 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

@media (max-width: 760px) {
  .organizer-tournament-card__summary {
    grid-template-columns: 1fr;
  }

  .organizer-tournament-card__badges {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .pb-league-profile {
    grid-template-columns: 1fr;
  }

  .pb-league-profile__side {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .pb-league-event-row {
    grid-template-columns: 1fr;
    gap: 0.12rem;
    padding: 0.35rem 0;
  }
}

.event-player-row {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.event-player-history {
  display: grid;
  gap: 0.5rem;
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.event-player-history h4 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  text-transform: uppercase;
}

.event-player-history div {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0.8rem;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.event-layout-card {
  margin: 0;
}

.event-layout-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.04);
}

.event-layout-card figcaption {
  padding: 0.8rem 1rem;
  font-family: "Rajdhani", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.event-bracket-section h3 {
  margin: 0 0 0.45rem;
  font-family: inherit;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.event-bracket-section h3 span {
  color: var(--muted);
  font-size: 0.82em;
}

.event-bracket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.55rem;
}

.event-bracket-card h4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0;
  padding: 0.42rem 0.55rem;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.event-bracket-card h4 small {
  flex: 0 0 auto;
  padding: 0.14rem 0.42rem;
  border: 1px solid rgba(117, 207, 255, 0.24);
  border-radius: 999px;
  background: rgba(117, 207, 255, 0.08);
  color: #9adfff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.event-bracket-team {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  align-items: center;
  min-height: 2.18rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 3px 0 0 rgba(126, 197, 255, 0.1);
}

.event-bracket-team--light {
  background: rgba(255, 255, 255, 0.065);
}

.event-bracket-team--dark {
  background: rgba(0, 0, 0, 0.18);
  box-shadow: inset 3px 0 0 rgba(255, 255, 255, 0.08);
}

.event-bracket-team--empty {
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
}

.event-bracket-team span {
  display: grid;
  place-items: center;
  height: 100%;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 900;
}

.event-bracket-team--dark span {
  background: rgba(0, 0, 0, 0.14);
}

.event-bracket-team strong {
  padding: 0 0.55rem;
  color: var(--text);
  font-size: 0.84rem;
  line-height: 1.12;
}

.event-schedule-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.event-schedule-grid article {
  cursor: default;
}

.public-schedule-table {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.025);
}

.public-schedule-table--rankpb {
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.85rem;
  background: transparent;
  color: var(--text);
}

.public-schedule-toolbar,
.schedule-settings-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: end;
  margin: 0 0 0.65rem;
}

.public-schedule-toolbar {
  justify-content: center;
  gap: 0.45rem;
}

.schedule-settings-form {
  margin: 0.55rem 0 0;
}

.public-schedule-toolbar label,
.schedule-settings-form label {
  display: grid;
  gap: 0.22rem;
  color: var(--muted);
  font-family: "Rajdhani", sans-serif;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.public-schedule-toolbar label {
  flex: 0 1 8.75rem;
  min-width: 7.5rem;
}

.public-schedule-toolbar select,
.schedule-settings-form input {
  min-height: 2.35rem;
  min-width: 12rem;
}

.public-schedule-toolbar select {
  min-width: 0;
  width: 100%;
  min-height: 2.05rem;
  padding: 0.35rem 0.55rem;
  font-size: 0.86rem;
}

.schedule-settings-form button {
  min-height: 2.35rem;
  padding: 0.55rem 0.9rem;
}

.public-schedule-row--rankpb-head,
.public-schedule-row--rankpb {
  display: grid;
  grid-template-columns: minmax(210px, 1.25fr) minmax(220px, 1.2fr) minmax(110px, 0.5fr) minmax(220px, 1.2fr) minmax(150px, 0.85fr);
  align-items: center;
  gap: 1rem;
}

.public-schedule-row--rankpb-head {
  padding: 0.45rem 1.15rem;
  background: transparent;
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-align: center;
}

.public-schedule-row--rankpb-head span:first-child {
  color: #2d79bd;
  text-align: left;
  font-size: 1.18rem;
}

.public-schedule-date-row {
  padding: 0.28rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
}

.public-schedule-row--rankpb {
  min-height: 5.6rem;
  padding: 0.52rem 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
}

.public-schedule-row--rankpb.public-schedule-match-tone--light {
  background: rgba(255, 255, 255, 0.055);
}

.public-schedule-row--rankpb.public-schedule-match-tone--dark {
  background: rgba(0, 0, 0, 0.16);
}

.public-schedule-row--rankpb.public-schedule-match-tone--light:nth-of-type(odd) {
  background: rgba(255, 255, 255, 0.07);
}

.public-schedule-row--rankpb.public-schedule-match-tone--dark:nth-of-type(odd) {
  background: rgba(0, 0, 0, 0.22);
}

.public-schedule-match-tone {
  box-shadow: inset 4px 0 0 rgba(126, 197, 255, 0.12);
}

.public-schedule-match-tone--dark {
  box-shadow: inset 4px 0 0 rgba(255, 255, 255, 0.08);
}

.public-schedule-meta {
  display: grid;
  gap: 0.12rem;
  color: var(--text);
  font-size: 0.8rem;
  line-height: 1.12;
}

.public-schedule-meta strong {
  color: var(--text);
  font-weight: 900;
}

.public-schedule-meta small {
  color: var(--muted);
  font-weight: 700;
}

.public-schedule-home,
.public-schedule-away {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1;
}

.public-schedule-team-stack,
.public-schedule-bracket-stack,
.public-schedule-score-stack {
  display: grid;
  gap: 0.38rem;
  align-content: center;
}

.public-schedule-game-team,
.public-schedule-game-score,
.public-schedule-bracket-stack span {
  min-height: 1.45rem;
}

.public-schedule-game-team {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.public-schedule-team-flag {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  min-width: 1.55rem;
  line-height: 1;
}

.country-flag-img {
  display: block;
  width: 1.45rem;
  height: 1.05rem;
  border-radius: 0.12rem;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.public-schedule-home .public-schedule-game-team {
  justify-content: flex-end;
}

.public-schedule-away .public-schedule-game-team {
  justify-content: flex-start;
}

.public-schedule-game-score {
  display: inline-flex;
  gap: 0.32rem;
  align-items: center;
  justify-content: center;
}

.public-schedule-home {
  justify-content: flex-end;
  color: #2378d6;
  text-align: right;
}

.public-schedule-away {
  justify-content: flex-start;
  color: #df1e27;
  text-align: left;
}

.public-schedule-home strong,
.public-schedule-away strong,
.public-schedule-team-link {
  color: inherit;
}

.public-schedule-team-link {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-radius: 0;
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease;
}

.public-schedule-team-link:hover {
  background: transparent;
  transform: translateY(-1px);
}

.public-schedule-team-link.is-winner {
  background: transparent;
  outline: none;
}

.public-schedule-team-link.is-loser {
  background: transparent;
  outline: none;
}

.public-schedule-home small,
.public-schedule-away small {
  font-size: 0.95rem;
}

.public-schedule-score {
  color: var(--muted);
  font-family: "Rajdhani", sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

.public-schedule-score.is-complete {
  display: inline-flex;
  gap: 0.34rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--text);
}

.public-schedule-score em {
  color: var(--muted);
  font-style: normal;
}

.public-schedule-score-pending {
  display: inline-grid;
  min-width: 6.6rem;
  place-items: center;
  opacity: 0.75;
}

.public-schedule-finished {
  color: var(--muted);
  font-family: "Rajdhani", sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.public-score-box {
  display: inline-grid;
  place-items: center;
  min-width: 2.1rem;
  min-height: 1.75rem;
  padding: 0.18rem 0.42rem;
  border-radius: 0.48rem;
  color: #fff;
  font-size: 0.98rem;
  line-height: 1;
}

.public-score-box.is-winner {
  background: #149a50;
}

.public-score-box.is-loser {
  background: #c42f2f;
}

.public-schedule-bracket {
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: 0.98rem;
  font-weight: 900;
  text-align: left;
}

.public-schedule-bracket-stack {
  color: var(--text);
  line-height: 1.05;
}

.public-schedule-refresh {
  width: 2.2rem;
  min-height: 2.2rem;
  padding: 0;
  border: 1px solid rgba(88, 190, 246, 0.34);
  border-radius: 0.55rem;
  background: rgba(88, 190, 246, 0.08);
  color: var(--accent);
  font: inherit;
  font-size: 1.08rem;
  cursor: pointer;
}

.public-schedule-refresh:hover {
  background: rgba(88, 190, 246, 0.18);
}

.public-schedule-row:not(.public-schedule-row--rankpb):not(.public-schedule-row--rankpb-head) {
  display: grid;
  grid-template-columns: 5.2rem 0.9fr 1.15fr minmax(260px, 1.9fr) 0.9fr;
  gap: 0.55rem;
  align-items: center;
  padding: 0.58rem 0.72rem;
  color: var(--text);
  font-size: clamp(0.78rem, 0.95vw, 0.92rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.public-schedule-row:not(.public-schedule-row--rankpb):not(.public-schedule-row--rankpb-head):last-child {
  border-bottom: 0;
}

.public-schedule-row:not(.public-schedule-row--rankpb):nth-child(odd):not(.public-schedule-row--head) {
  background: rgba(255, 255, 255, 0.035);
}

.public-schedule-row--head:not(.public-schedule-row--rankpb-head) {
  color: var(--muted);
  font-family: "Rajdhani", sans-serif;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.065);
}

@media (max-width: 920px) {
  .public-schedule-row:not(.public-schedule-row--rankpb):not(.public-schedule-row--rankpb-head) {
    grid-template-columns: 2.4rem 1fr;
  }

  .public-schedule-row--head:not(.public-schedule-row--rankpb-head) {
    display: none;
  }

  .public-schedule-row--rankpb-head {
    display: none;
  }

  .public-schedule-row--rankpb {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 0.72rem 0.9rem;
  }

  .public-schedule-home,
  .public-schedule-away,
  .public-schedule-score,
  .public-schedule-bracket {
    justify-content: flex-start;
    text-align: left;
  }
}

.event-ranking-row {
  grid-template-columns: 3rem 1fr auto auto;
}

.event-ranking-row span {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.65rem;
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-weight: 900;
}

.event-ranking-row em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.event-ranking-row b {
  color: #9adfff;
}

.season-ranking-controls {
  max-width: 34rem;
  margin: 0.4rem 0 1.35rem;
}

.season-ranking-controls label {
  display: grid;
  gap: 0.32rem;
  color: var(--muted);
  font-family: "Rajdhani", sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.season-ranking-controls select {
  width: 100%;
  min-height: 2.55rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font: 800 1rem "Space Grotesk", sans-serif;
  padding: 0 0.85rem;
}

.season-ranking-stack {
  display: grid;
  gap: 1.4rem;
}

.season-ranking-section h3 {
  margin: 0 0 0.65rem;
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  line-height: 1;
}

.season-ranking-table-wrap {
  overflow-x: auto;
}

.season-ranking-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  color: var(--text);
  background: transparent;
}

.season-ranking-table th,
.season-ranking-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.5rem 0.55rem;
  text-align: right;
  font-size: 0.95rem;
  white-space: nowrap;
}

.season-ranking-table th {
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.season-ranking-table th:first-child,
.season-ranking-table td:first-child {
  width: 3.3rem;
  text-align: center;
}

.season-ranking-table th:nth-child(2),
.season-ranking-table td:nth-child(2) {
  min-width: 14rem;
  text-align: left;
}

.season-ranking-table tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.045);
}

.season-ranking-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.018);
}

.season-ranking-table td:last-child,
.season-ranking-table th:last-child {
  font-weight: 950;
}

.season-ranking-team {
  color: #7ec5ff;
  font-weight: 900;
}

.season-ranking-team a {
  color: #7ec5ff;
  text-decoration: none;
}

.season-ranking-team span {
  display: inline-block;
  min-width: 1.5rem;
  margin-right: 0.25rem;
}

.organizer-layout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.organizer-layout-card {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
}

.organizer-layout-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0.75rem;
}

.id-card-design-preview {
  max-width: 220px;
}

.id-card-design-preview img {
  aspect-ratio: 5.4 / 8.55;
  max-height: 220px;
}

.organizer-layout-card figcaption {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 860px) {
  .event-facts,
  .event-info-grid,
  .event-section-title--inline,
  .event-player-history div,
  .event-ranking-row {
    grid-template-columns: 1fr;
  }

  .event-team-row summary,
  .event-player-row summary {
    grid-template-columns: 1fr;
  }

  .pb-roster-page__header,
  .pb-roster-layout {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .pb-roster-sidebar__button {
    margin-left: 0;
  }

  .pb-teams-shell,
  .pb-roster-page {
    padding: 1rem;
  }

  .pb-team-table__head,
  .pb-team-row {
    grid-template-columns: 2.2rem 1fr;
  }

  .pb-team-row__status,
  .pb-team-table__head span:last-child {
    grid-column: 2;
    justify-self: start;
    margin-bottom: 0.75rem;
  }

  .pb-roster-table {
    display: block;
    overflow-x: auto;
  }
}

/* Compact visual pass for Leagues and Dashboard pages. */
.content {
  padding: 1.25rem 0 2.6rem;
}

.profile-header {
  display: none;
}

.profile-shell--compact {
  grid-template-columns: 225px 1fr;
  gap: 0.75rem;
  margin-top: 0;
}

.profile-sidebar--compact,
.section--compact {
  padding: 0.72rem 0.8rem;
  border-radius: 0.95rem;
}

.profile-sidebar--compact {
  align-self: start;
  position: sticky;
  top: 5.25rem;
}

.profile-sidebar__name {
  margin-bottom: 0.55rem;
  font-size: 1.22rem;
  line-height: 1.05;
}

.profile-sidebar--compact .brand__mark--large {
  width: 4rem;
  height: 4rem;
  border-radius: 0.8rem;
  font-size: 1.35rem;
}

.profile-table--compact {
  margin-top: 0.48rem;
  font-size: 0.76rem;
}

.profile-table--compact td {
  padding: 0.3rem 0;
}

.profile-links--compact {
  gap: 0.28rem;
  margin-top: 0.52rem;
}

.profile-links--compact .profile-link,
.profile-tabs--compact .profile-tab {
  padding: 0.42rem 0.56rem;
  border-radius: 0.62rem;
  font-size: 0.78rem;
  line-height: 1;
}

.profile-classification-card {
  display: grid;
  gap: 0.32rem;
  margin-top: 0.58rem;
  padding: 0.52rem;
  border: 1px solid var(--line);
  border-radius: 0.72rem;
  background: rgba(255, 255, 255, 0.035);
}

.profile-classification-card span,
.profile-classification-card small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.profile-classification-card strong {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 2.05rem;
  padding: 0.36rem 0.46rem;
  border-radius: 0.5rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.profile-classification-card small {
  letter-spacing: 0;
  text-transform: none;
}

.profile-content--compact {
  gap: 0.58rem;
}

.profile-tabs--compact {
  gap: 0.38rem;
}

.account-grid--compact,
.profile-form--compact,
.data-table--compact {
  gap: 0.52rem;
}

.form-grid--compact {
  gap: 0.48rem 0.6rem;
}

.form-grid--compact span {
  font-size: 0.76rem;
}

.profile-form--compact input,
.profile-form--compact select {
  min-height: 2.28rem;
  padding: 0.5rem 0.64rem;
  border-radius: 0.62rem;
  font-size: 0.86rem;
}

.profile-form--compact button,
.profile-form--compact .button-link,
.action-panel--compact button {
  min-height: 2.25rem;
  padding: 0.52rem 0.78rem;
  border-radius: 0.65rem;
  font-size: 0.86rem;
}

.action-panel--compact {
  padding: 0.72rem;
  border-radius: 0.85rem;
}

.action-panel--compact h3,
.section--compact .section__header h2 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.05;
}

.section--compact .section__header {
  margin-bottom: 0.45rem;
}

.section--compact .page-copy,
.guideline-list p {
  margin-top: 0.38rem;
  font-size: 0.8rem;
  line-height: 1.25;
}

.data-table--compact .data-table__row,
.data-table--compact .data-table__row--head {
  gap: 0.55rem;
  padding: 0.55rem 0.68rem;
  border-radius: 0.68rem;
  font-size: 0.84rem;
}

.data-table--compact .data-table__row small {
  font-size: 0.74rem;
}

.event-tabs {
  margin: -0.25rem auto 0.8rem;
  padding: 0.14rem;
  border-radius: 0.88rem;
}

.event-tab {
  min-height: 1.95rem;
  padding: 0 0.46rem;
  border-radius: 0.68rem;
  font-size: clamp(0.72rem, 0.86vw, 0.9rem);
  letter-spacing: 0.035em;
}

.event-panel {
  padding: 0.68rem;
  border-radius: 1rem;
}

.event-hero-card {
  padding: 0.7rem 0.82rem;
  border-radius: 0.9rem;
}

.event-hero-card__body {
  grid-template-columns: minmax(0, 1fr) minmax(78px, 112px);
  gap: 0.72rem;
}

.event-league-logo {
  width: min(112px, 100%);
  min-height: 78px;
  padding: 0.35rem;
  border-radius: 0.78rem;
}

.event-league-logo img {
  max-height: 82px;
}

.event-league-logo span {
  font-size: 1.35rem;
}

.event-eyebrow {
  margin-bottom: 0.16rem;
  font-size: 0.8rem;
}

.event-hero-card h1,
.event-section-title h2 {
  font-size: clamp(1.3rem, 2.35vw, 1.9rem);
}

.event-facts {
  gap: 0.42rem;
  margin-top: 0.55rem;
}

.event-facts span,
.event-info-card {
  padding: 0.5rem 0.58rem;
  border-radius: 0.78rem;
  font-size: 0.86rem;
}

.event-facts strong,
.event-info-card h2 {
  margin-bottom: 0.22rem;
  font-size: 0.7rem;
}

.event-info-grid {
  gap: 0.5rem;
  margin-top: 0.55rem;
}

.event-info-card p {
  margin: 0.1rem 0;
  font-size: 0.8rem;
  line-height: 1.2;
}

.event-info-card--numbers {
  gap: 0.45rem;
}

.event-info-card--numbers div {
  min-height: 2.8rem;
  border-radius: 0.68rem;
}

.event-info-card--numbers div strong {
  font-size: 1.14rem;
}

.event-info-card--numbers div span {
  font-size: 0.7rem;
}

.event-table-wrap {
  margin-top: 0.5rem;
}

.event-info-table,
.event-score-table {
  border-radius: 0.78rem;
}

.event-info-table th,
.event-info-table td,
.event-score-table th,
.event-score-table td {
  padding: 0.34rem 0.36rem;
  font-size: 0.74rem;
  line-height: 1.05;
}

.league-events-panel {
  margin-top: 0.52rem;
  padding: 0.55rem;
  border-radius: 0.82rem;
}

.league-events-panel__header {
  margin-bottom: 0.4rem;
}

.league-events-panel__header h2 {
  font-size: 0.92rem;
}

.league-events-panel__header span,
.league-events-row--head {
  font-size: 0.7rem;
}

.league-events-row {
  grid-template-columns: 128px minmax(160px, 1fr) minmax(160px, 1fr);
  gap: 0.48rem;
  padding: 0.34rem 0.46rem;
  border-radius: 0.58rem;
  font-size: 0.78rem;
  line-height: 1.1;
}

.live-scoreboard-card {
  padding: 0.55rem;
  border-radius: 0.82rem;
}

.live-scoreboard-meta {
  gap: 0.4rem;
  font-size: 0.76rem;
}

.live-status {
  min-height: 1.45rem;
  padding: 0.12rem 0.45rem;
  font-size: 0.7rem;
}

  .live-scoreboard-card__header {
    font-size: 0.78rem;
  }

.live-field-scoreboards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.62rem;
}

.live-field-scoreboard-card__top {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.25fr);
  gap: 0.38rem;
  padding: 0.52rem 0.58rem 0.38rem;
}

.live-field-scoreboard-card__teams div {
  grid-template-columns: minmax(0, 1fr) 52px;
  min-height: 2.65rem;
}

.live-field-scoreboard-card__teams span {
  font-size: clamp(1.1rem, 1.55vw, 1.55rem);
}

.live-field-scoreboard-card__teams strong {
  font-size: clamp(1.35rem, 1.9vw, 1.9rem);
}

.live-clock {
  min-height: 2.75rem;
}

.live-field-scoreboard-card__next {
  grid-template-columns: minmax(0, 1fr) 38px 38px minmax(0, 1fr);
}

.live-field-scoreboard-card__next.live-field-scoreboard-card__next--teams-only {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.live-field-scoreboard-card__next span {
  font-size: 0.82rem;
}

.live-field-scoreboard-card__next em {
  font-size: 0.9rem;
}

@media (max-width: 1180px) {
  .live-field-scoreboards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .sync-job-card__summary {
    grid-template-columns: 1fr;
  }

  .sync-job-card__summary b {
    justify-self: start;
  }

  .live-field-scoreboards {
    grid-template-columns: minmax(0, 1fr);
  }

  .live-field-scoreboard-card__top {
    grid-template-columns: 1fr;
    gap: 0.32rem;
  }
}

  .event-section-title {
    margin-bottom: 0.5rem;
}

.event-section-title p,
.event-empty,
.event-register-card p,
.event-schedule-grid span {
  font-size: 0.8rem;
}

.event-registration-grid,
.event-layout-grid {
  gap: 0.5rem;
}

.event-register-card {
  gap: 0.45rem;
  padding: 0.55rem;
  border-radius: 0.82rem;
}

.event-register-card h3 {
  font-size: 1.05rem;
}

.event-register-meta {
  gap: 0.3rem 0.5rem;
  font-size: 0.76rem;
}

.pb-teams-shell,
.pb-roster-page {
  padding: 0.75rem;
  border-radius: 1rem;
}

.pb-teams-title,
.pb-roster-page__title {
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  margin-bottom: 0.5rem;
}

.pb-team-group {
  margin-top: 0.75rem;
}

.pb-team-group h3,
.pb-roster-main h2 {
  font-size: 1.08rem;
  margin-bottom: 0.38rem;
}

.pb-team-row {
  min-height: 2.05rem;
  padding: 0.35rem 0.48rem;
  font-size: 0.82rem;
}

.pb-league-profile {
  grid-template-columns: 140px minmax(0, 1fr);
  width: min(980px, calc(100% - 2rem));
  margin-bottom: 1.25rem;
  border-radius: 0.85rem;
}

.pb-league-profile__side {
  gap: 0.42rem;
  min-height: 140px;
  padding: 0.7rem 0.55rem;
}

.pb-league-profile__logo,
.pb-league-profile__logo-placeholder {
  width: 66px;
  height: 66px;
  max-height: 70px;
}

.pb-league-profile__logo-placeholder {
  font-size: 1.35rem;
  border-radius: 0.65rem;
}

.pb-league-profile__side h1 {
  font-size: 0.9rem;
  line-height: 1.12;
}

.pb-league-profile__website {
  min-height: 1.6rem;
  padding: 0.08rem 0.42rem;
  font-size: 0.74rem;
}

.pb-league-profile__main {
  padding: 0.5rem 0.65rem 0.7rem;
}

.pb-league-profile__season {
  margin-bottom: 0.3rem;
  font-size: 0.86rem;
}

.pb-league-event-row {
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 0.48rem;
  font-size: 0.84rem;
  line-height: 1.08;
}

.pb-league-profile__past {
  margin-top: 0.7rem;
}

.pb-league-profile__past h2 {
  margin-bottom: 0.18rem;
  font-size: 0.86rem;
}

.league-grid {
  gap: 0.75rem;
}

.league-card {
  min-height: auto;
  padding: 0.75rem;
  border-radius: 0.9rem;
}

.league-card img {
  height: 62px;
}

@media (max-width: 760px) {
  .profile-shell--compact {
    grid-template-columns: 1fr;
  }

  .event-hero-card__body {
    grid-template-columns: 1fr;
  }

  .event-league-logo {
    justify-self: start;
  }

  .event-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .league-events-row {
    grid-template-columns: 1fr;
    gap: 0.18rem;
  }

  .other-division-control {
    grid-template-columns: 1fr;
  }

  .league-events-row--head {
    display: none;
  }

  .pb-league-profile {
    grid-template-columns: 1fr;
  }
}

/* Compact pass for admin, queues, payments, and live check-in screens. */
.admin-page,
.photo-queue-page,
.payments-page,
.checkin-live-page {
  padding: 0.82rem 0.92rem;
  border-radius: 1rem;
}

.admin-page.section,
.photo-queue-page.section,
.payments-page.section,
.checkin-live-page.section,
.checkin-live-page.league-table {
  margin-top: 0.85rem;
}

.admin-page .section__header,
.photo-queue-page .section__header,
.payments-page .section__header,
.checkin-live-page .section__header {
  margin-bottom: 0.48rem;
}

.admin-page .section__header h2,
.photo-queue-page .section__header h2,
.payments-page .section__header h2,
.checkin-live-page .section__header h2 {
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1;
}

.checkin-live-page.page-intro .page-title {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.admin-page .page-copy,
.photo-queue-page .page-copy,
.payments-page .page-copy,
.checkin-live-page .page-copy,
.admin-page small,
.photo-queue-page small,
.payments-page small,
.checkin-live-page small,
.status-line {
  font-size: 0.78rem;
  line-height: 1.25;
}

.admin-search {
  gap: 0.48rem;
  margin: 0.55rem 0 0.7rem;
}

.admin-search input,
.admin-search button,
.admin-page input,
.admin-page select,
.admin-page button,
.photo-queue-page select,
.photo-queue-page button,
.payments-page select,
.payments-page button,
.checkin-live-page input,
.checkin-live-page select,
.checkin-live-page button {
  min-height: 2.18rem;
  padding: 0.46rem 0.62rem;
  border-radius: 0.62rem;
  font-size: 0.82rem;
}

.admin-shortcuts {
  gap: 0.55rem;
  margin-bottom: 0.7rem;
}

.admin-shortcuts .action-link,
.photo-queue-page .action-link,
.checkin-live-page .action-link {
  min-height: 2rem;
  padding: 0.45rem 0.62rem;
  border-radius: 0.62rem;
  font-size: 0.8rem;
}

.admin-layout {
  grid-template-columns: 300px 1fr;
  gap: 0.65rem;
}

.admin-player-row {
  min-height: 2.25rem;
  padding: 0.42rem 0.58rem;
  font-size: 0.82rem;
}

.admin-results.section,
.admin-detail.section {
  padding: 0.7rem;
  border-radius: 0.85rem;
}

.admin-results-list {
  gap: 0.45rem;
}

.admin-result-card {
  gap: 0.42rem;
  padding: 0.58rem 0.68rem;
  border-radius: 0.72rem;
}

.admin-result-card.is-selected::before {
  top: 0.46rem;
  bottom: 0.46rem;
  left: 0.34rem;
  width: 3px;
}

.admin-result-card__identity strong,
.review-card__body h3,
.checkin-live-page .league-detail__brand h2 {
  font-size: 1rem;
  line-height: 1.05;
}

.admin-result-card__identity small {
  margin-top: 0.08rem;
}

.admin-result-card__meta {
  gap: 0.28rem;
}

.admin-page .pill,
.checkin-live-page .pill {
  min-height: 1.45rem;
  padding: 0.18rem 0.42rem;
  border-radius: 999px;
  font-size: 0.7rem;
}

.admin-detail-top {
  grid-template-columns: 1fr 120px;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.admin-detail-photo {
  gap: 0.35rem;
}

.admin-photo-thumb {
  width: 56px;
  height: 70px;
  margin-top: 0.35rem;
  border-radius: 0.45rem;
}

.admin-photo-thumb--large {
  width: 94px;
  height: 116px;
}

.review-card__placeholder {
  min-height: 5rem;
  font-size: 0.8rem;
}

.admin-user-form,
.admin-user-form--detail,
.admin-page .role-form,
.photo-queue-page .review-actions,
.payments-page .role-form,
.checkin-live-page .profile-form,
.checkin-live-page .inline-stack-form {
  gap: 0.42rem;
}

.admin-user-form label,
.admin-page .role-form,
.payments-page .role-form,
.checkin-live-page .form-grid label {
  gap: 0.22rem;
}

.admin-user-form label span,
.checkin-live-page .form-grid span {
  font-size: 0.72rem;
}

.admin-photo-status-form {
  margin-top: 0.55rem;
}

.review-grid {
  gap: 0.65rem;
}

.photo-queue-page .review-grid {
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.review-card {
  grid-template-columns: 128px 1fr;
  gap: 0.65rem;
  padding: 0.62rem;
  border-radius: 0.82rem;
}

.review-card__media img,
.review-card__placeholder {
  border-radius: 0.62rem;
}

.review-card__body {
  gap: 0.42rem;
}

.review-actions {
  gap: 0.45rem;
}

.payments-page .data-table {
  gap: 0.5rem;
}

.payments-page .data-table__row,
.payments-page .data-table__row--head {
  gap: 0.55rem;
  padding: 0.56rem 0.68rem;
  border-radius: 0.7rem;
  font-size: 0.82rem;
}

.payments-page .data-table__row small {
  margin-top: 0.1rem;
  font-size: 0.72rem;
}

.checkin-live-page .profile-form {
  gap: 0.5rem;
}

.checkin-live-page .form-grid {
  gap: 0.5rem;
}

.checkin-live-page.league-table {
  gap: 0.58rem;
}

.checkin-live-page .league-detail {
  padding: 0.7rem;
  border-radius: 0.85rem;
}

.checkin-live-page .league-detail__brand {
  gap: 0.32rem;
}

.checkin-live-page .team-roster-members__row {
  gap: 0.5rem;
  padding: 0.52rem 0;
}

.checkin-live-page .team-roster-members__actions {
  gap: 0.45rem;
}

.checkin-live-page .inline-stack-form {
  grid-template-columns: 135px minmax(160px, 1fr) auto;
  align-items: center;
}

@media (max-width: 860px) {
  .admin-layout,
  .admin-detail-top,
  .review-card,
  .checkin-live-page .inline-stack-form {
    grid-template-columns: 1fr;
  }

  .admin-player-row {
    grid-template-columns: 1fr;
    gap: 0.18rem;
  }

  .admin-player-row--head {
    display: none;
  }
}

/* Final dashboard command-center override: keep it compact even if global tab styles change. */
.profile-content .dashboard-command-center.event-tabs {
  align-self: start;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: 2.15rem;
  margin: 0 0 0.5rem;
  padding: 0.12rem;
  overflow-x: auto;
  border-radius: 0.78rem;
}

.profile-content .dashboard-command-center.event-tabs .event-tab {
  flex: 1 1 0;
  align-self: center;
  min-height: 1.62rem;
  height: 1.62rem;
  max-height: 1.62rem;
  padding: 0 0.38rem;
  border-radius: 0.58rem;
  font-size: 0.74rem;
  line-height: 1;
}

/* Live scoreboard full-width override: let tournament live cards breathe while keeping max 3 per row. */
#live.event-panel {
  width: min(1760px, calc(100vw - 2rem));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

#live .live-field-scoreboards {
  grid-template-columns: repeat(3, minmax(330px, 1fr));
  gap: 0.78rem;
}

#live .live-field-scoreboard-card {
  min-width: 0;
}

@media (max-width: 1180px) {
  #live.event-panel {
    width: min(100%, calc(100vw - 1.25rem));
  }

  #live .live-field-scoreboards {
    grid-template-columns: repeat(2, minmax(300px, 1fr));
  }
}

@media (max-width: 760px) {
  #live.event-panel {
    width: 100%;
    margin-left: 0;
    transform: none;
  }

  #live .live-field-scoreboards {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Compact the active/paused second-game strip under GAME TIME and BREAK TIME. */
#live .live-field-scoreboard-card__alternate {
  grid-template-columns: minmax(0, 1fr) 36px 62px 36px minmax(0, 1fr);
  min-height: 2.05rem;
}

#live .live-field-scoreboard-card__alternate .live-scoreline-team {
  padding: 0.18rem 0.34rem;
  font-size: clamp(0.7rem, 0.9vw, 0.9rem);
  line-height: 0.92;
}

#live .live-field-scoreboard-card__alternate .live-scoreline-score {
  font-size: clamp(0.92rem, 1.15vw, 1.08rem);
}

#live .live-field-scoreboard-card__alternate .live-scoreline-clock {
  font-size: clamp(0.78rem, 1vw, 0.94rem);
}

/* Next Match in Leagues / Live: show both games from the upcoming xball match block. */
#live .live-field-scoreboard-card__next.live-field-scoreboard-card__next--group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-items: stretch;
  min-height: 0;
  padding: 0.28rem 0.42rem 0.34rem;
  gap: 0.18rem;
}

#live .live-field-scoreboard-card__next--group .live-next-title {
  width: 100%;
  padding: 0;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

#live .live-next-game-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 0.28rem;
  width: 100%;
  min-height: 1.05rem;
}

#live .live-next-game-row em,
#live .live-next-game-row span {
  overflow: hidden;
  padding: 0;
  font-family: "Rajdhani", sans-serif;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#live .live-next-game-row em {
  display: none;
  color: #78d7ff;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#live .live-next-game-row span {
  color: var(--text);
  font-size: clamp(0.62rem, 0.78vw, 0.76rem);
  font-weight: 800;
  text-align: center;
}

/* Coach event review history and star ratings. */
.coach-stars {
  color: #ffc94a;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.coach-review-history,
.admin-coach-review-history {
  margin-top: 0.7rem;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.035);
}

.coach-review-list {
  display: grid;
  gap: 0.45rem;
}

.coach-review-item {
  display: grid;
  gap: 0.12rem;
  padding: 0.46rem 0.55rem;
  border-radius: 0.62rem;
  background: rgba(255, 255, 255, 0.045);
}

.coach-review-item strong {
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.coach-review-item small,
.coach-review-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

/* Contact page */
.topbar a.is-active {
  color: var(--text);
}

.contact-page {
  display: grid;
  gap: 1rem;
}

.contact-hero {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(41, 194, 255, 0.14), rgba(255, 107, 44, 0.08)),
    rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow);
}

.contact-hero h1 {
  margin: 0.2rem 0 0.35rem;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 0.9;
  text-transform: uppercase;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.contact-card,
.contact-info-panel {
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.04);
}

.contact-card span {
  color: var(--accent);
  font-family: "Rajdhani", sans-serif;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.contact-card h2,
.contact-info-panel h2 {
  margin: 0.28rem 0 0.35rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-card p,
.contact-info-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
}

.contact-card .action-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.75rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(41, 194, 255, 0.3);
  border-radius: 0.7rem;
  background: rgba(41, 194, 255, 0.1);
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
