/* Public tournament page. */
.site-header.site-header {
  border-bottom: 1px solid #12507570;
}
.site-header-inner {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  min-height: 116px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.wordmark,
.spectator-page .wordmark,
.admin-match-page .wordmark,
.public-home .wordmark {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  justify-self: auto;
  transform: translate(-50%, -50%);
}
.site-header nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr);
  justify-self: center;
  width: min(760px, 100%);
  gap: 0;
  border-bottom: 0;
}
.site-header nav a:first-child {
  grid-column: 1;
  justify-self: end;
}
.site-header nav a:last-child {
  grid-column: 3;
  justify-self: start;
}
.site-header .header-actions {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 28px;
  transform: translateY(-50%);
}
.public-home main {
  max-width: 1480px;
  margin-top: 0;
}
.public-home .public-dashboard {
  gap: 22px;
}
.public-home .tournament-banner {
  padding: 8px 18px 0;
  background: none;
  border: 0;
  box-shadow: none;
  overflow: visible;
}
.public-home .tournament-banner::before,
.public-home .tournament-banner::after {
  content: none;
}
.public-home .tournament-banner-kicker {
  font-size: 11px;
  letter-spacing: 0.5em;
}
.public-home .tournament-banner h1 {
  font-size: clamp(28px, 3.4vw, 50px);
  margin: 10px 0;
}
.public-home .tournament-banner-tagline {
  font:
    600 12px/1.6 Arial,
    sans-serif;
  letter-spacing: 0.3em;
  margin: 12px 0 17px;
}
.public-home .tournament-banner-badges {
  gap: 12px;
}
.public-home .tournament-banner-badges > li {
  min-height: 46px;
  padding: 8px 16px;
  font-size: 12px;
  border-radius: 13px;
  gap: 10px;
}
.public-home .tournament-banner-badges svg {
  width: 27px;
  height: 27px;
}
.public-home .tournament-banner-live-label {
  font-size: 18px;
}
.public-home .tournament-banner-live-copy {
  font-size: 9px;
}
.home-tournament-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 14px;
  align-items: start;
}
.public-home #brackets > .tournament-grid-panel,
.home-sidebar {
  min-height: 0;
  border: 1px solid #2488b5;
  border-radius: 17px;
  background: linear-gradient(115deg, #001a2ce8, #020b1be8);
  box-shadow:
    -3px 0 5px -2px #5de8ff,
    3px 0 7px -3px #478dff,
    inset 0 1px 16px #098ee51f,
    0 12px 30px #0007;
}
.public-home #brackets > .tournament-grid-panel {
  padding: 18px 16px 12px;
  overflow: hidden;
}
.tournament-grid-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 4px 14px;
}
.tournament-grid-heading > svg {
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  fill: #59e6ff;
  color: #59e6ff;
  filter: drop-shadow(0 0 9px #00aaff70);
}
.tournament-grid-heading h2 {
  font:
    800 21px/1.2 "Exo 2",
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  margin: 0;
}
.tournament-grid-heading p {
  font-size: 9px;
  color: #9bd8ff;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 5px 0 0;
}
.tournament-grid-heading > span {
  margin-left: auto;
  max-width: 30%;
  color: #81afd2;
  font-size: 10px;
  text-align: right;
  letter-spacing: 0.1em;
}
.public-home .bracket {
  display: flex;
  gap: 18px;
  padding: 0;
  overflow-x: auto;
}
.public-home .bracket-round {
  position: relative;
  flex: 1 0 210px;
  min-width: 210px;
  padding: 10px 12px 12px;
  gap: 12px;
  border: 1px solid #0876a3;
  border-bottom-color: #103859;
  border-radius: 11px;
  background: linear-gradient(140deg, #00315666, #010c1a85 65%);
}
.public-home .bracket-round:last-child {
  border-top-color: #7562cb;
}
.public-home .bracket-round h3 {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 25px;
  margin: 0;
  font:
    800 13px/1.2 "Exo 2",
    sans-serif;
  letter-spacing: 0;
  color: #5feaff;
}
.public-home .bracket-round h3 > span {
  margin-left: auto;
  color: #71acd8;
  font:
    14px Arial,
    sans-serif;
}
.final-crown {
  width: 35px;
  height: 35px;
  object-fit: contain;
  transform: scale(1.6);
}
.public-home .bracket-pairs {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: 1fr;
  align-items: center;
  gap: 12px;
}
.public-home .match-card {
  overflow: visible;
  min-height: 89px;
  padding: 8px 12px;
  border: 1px solid #258ab2;
  border-radius: 11px;
  background: linear-gradient(135deg, #08243a, #010c18);
  box-shadow: inset 0 1px 8px #0099ff17;
}
.public-home .match-card::before {
  top: 29px;
  bottom: 9px;
  left: -1px;
  height: auto;
  width: 3px;
  background: #50e4ff;
  box-shadow: 0 0 8px #00baff;
  border-radius: 2px;
}
.public-home .match-card small {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2px 5px;
  color: #9fc5e4;
  font-size: 9px;
  line-height: 1.3;
  padding-bottom: 5px;
  border-bottom: 1px solid #17446780;
}
.public-home .match-card .team {
  font-size: 13px;
  padding: 3px 0;
  line-height: 1.4;
  align-items: center;
}
.public-home .match-card .team > span {
  overflow-wrap: anywhere;
}
.public-home .match-card .team b {
  font-size: 16px;
  color: #e8f6ff;
  font-variant-numeric: tabular-nums;
}
.public-home .match-card .winner {
  color: #fff;
  font-weight: 700;
  text-shadow: 0 0 8px #1faaff70;
}
.public-home .match-card .pending-team {
  color: #9cb4cf;
  font-size: 11px;
}
.public-home .match-card.live {
  border-color: #fd49dc;
  box-shadow:
    0 0 12px #ff19d53d,
    inset 3px 0 10px #ff00b222;
}
.public-home .match-card.live::before {
  background: #ff58df;
  box-shadow: 0 0 10px #ff19d5;
}
.public-home .match-card.live small {
  color: #66e7ff;
}
.public-home .match-card.live .team {
  padding-right: 50px;
}
.match-live-marker {
  position: absolute;
  right: 8px;
  bottom: 9px;
  font-size: 10px;
  color: #ff77c8;
  text-shadow: 0 0 8px #ff008b;
}
.public-home .match-card:hover {
  border-color: #99f2ff;
  background: linear-gradient(135deg, #103750, #031426);
}
.bracket-connectors {
  position: absolute;
  right: -44px;
  top: 0;
  width: 44px;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 0 3px #00bfff);
}
.tournament-grid-caption {
  margin: 16px 0 0;
  text-align: center;
  color: #38cfff;
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}
.home-sidebar {
  display: grid;
  gap: 10px;
  padding: 14px;
}
.home-promo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #147ea8;
  border-radius: 14px;
  padding: 17px;
  background: #001120;
}
.home-promo h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
  font:
    800 14px/1.25 "Exo 2",
    sans-serif;
  text-transform: uppercase;
  color: #63e7ff;
}
.home-promo h2 svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;
}
.trophy-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #00101ff5 5%, #00101fcc 45%, #00101f16),
    url("/assets/tournament-trophy.png") right center / auto 100% no-repeat;
  opacity: 0.9;
}
.about-promo::before {
  background-image:
    linear-gradient(90deg, #00101ff5 5%, #00101fcc 45%, #00101f16),
    url("/assets/tournament-chair.webp");
}
.promo-match-date {
  font-size: 16px;
  font-weight: 700;
  color: #b5d8ff;
  margin: 0 0 14px;
}
.promo-teams {
  display: grid;
  gap: 8px;
  font-size: 13px;
  min-height: 44px;
  margin-bottom: 16px;
  max-width: 77%;
}
.promo-action {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 32px;
  padding: 7px 9px;
  border: 1px solid #ff4edb;
  border-radius: 8px;
  background: #190d2be6;
  box-shadow:
    0 0 9px #ff00b53d,
    inset 0 0 7px #dc1cab22;
  font-size: 10px;
  color: #f1e9ff;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
}
.promo-action:hover {
  background: #3b1246;
}
.promo-action > span {
  font-size: 18px;
  line-height: 12px;
}
.promo-empty {
  font-size: 11px;
  color: #a7b9d0;
}
.about-promo > p {
  max-width: 69%;
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.4;
  color: #a8c8e8;
}
.home-promo details {
  font-size: 12px;
}
.home-promo summary {
  color: #50e6ff;
  cursor: pointer;
  list-style: none;
}
.home-promo summary::-webkit-details-marker {
  display: none;
}
.home-promo details[open] > p {
  padding: 10px;
  background: #021321ed;
  border-radius: 6px;
  color: #bbd4e9;
  line-height: 1.5;
  margin-bottom: 0;
}
.audience-promo {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
}
.audience-promo > svg {
  width: 34px;
  height: 34px;
  fill: #ff68d7;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px #ff00ae70);
}
.audience-promo h2 {
  color: #e5eaff;
  font-size: 11px;
  margin-bottom: 6px;
}
.audience-promo p {
  margin: 0 0 10px;
  color: #a8c8e8;
  font-size: 11px;
  line-height: 1.45;
}
.audience-promo .promo-action {
  font-size: 9px;
}
.sidebar-caption {
  text-align: center;
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #83b8e1;
  margin: 0;
}
@media (min-width: 1600px) {
  .home-tournament-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
  }
  .public-home .match-card {
    min-height: 95px;
  }
}
@media (max-width: 1150px) {
  .home-tournament-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-sidebar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .sidebar-caption {
    grid-column: 1/-1;
  }
}
@media (min-width: 761px) and (max-width: 1350px) {
  .spectator-page .site-header-inner,
  .admin-match-page .site-header-inner {
    grid-template-rows: 84px auto;
    min-height: 163px;
  }
  .spectator-page .wordmark,
  .admin-match-page .wordmark {
    top: 16px;
    transform: translateX(-50%);
  }
  .spectator-page .site-header nav,
  .admin-match-page .site-header nav {
    grid-row: 1;
  }
  .spectator-page .site-header .header-actions,
  .admin-match-page .site-header .header-actions {
    position: relative;
    top: auto;
    right: auto;
    grid-row: 2;
    justify-self: center;
    margin-top: 4px;
    transform: none;
  }
}
@media (max-width: 760px) {
  .site-header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-top: 10px;
    padding-bottom: 12px;
  }
  .wordmark,
  .spectator-page .wordmark,
  .admin-match-page .wordmark,
  .public-home .wordmark {
    position: relative;
    top: auto;
    left: auto;
    grid-row: 1;
    justify-self: center;
    transform: none;
  }
  .site-header nav {
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    order: 0;
  }
  .site-header nav a:first-child,
  .site-header nav a:last-child {
    grid-column: auto;
    justify-self: center;
  }
  .site-header .header-actions {
    position: relative;
    top: auto;
    right: auto;
    grid-row: 3;
    justify-self: center;
    margin-top: 8px;
    order: 0;
    transform: none;
  }
  .public-home .tournament-banner {
    padding: 18px 0 0;
  }
  .public-home .tournament-banner h1 {
    font-size: clamp(27px, 6.5vw, 42px);
  }
  .public-home .tournament-banner-tagline {
    font-size: 10px;
    letter-spacing: 0.06em;
  }
  .public-home .tournament-banner-badges {
    gap: 9px;
  }
  .public-home .tournament-banner-badges > li {
    padding: 8px;
    font-size: 11px;
    gap: 7px;
  }
  .public-home .tournament-banner-live-copy {
    font-size: 8px;
  }
  .home-sidebar {
    grid-template-columns: 1fr;
  }
  .public-home #brackets > .tournament-grid-panel {
    padding: 15px 10px 12px;
  }
  .tournament-grid-heading {
    gap: 9px;
  }
  .tournament-grid-heading h2 {
    font-size: 17px;
  }
  .tournament-grid-heading p {
    font-size: 7px;
    letter-spacing: 0.13em;
  }
  .tournament-grid-heading > span {
    font-size: 8px;
  }
  .public-home .bracket {
    padding-bottom: 10px;
    scroll-snap-type: x proximity;
  }
  .public-home .bracket-round {
    flex-basis: 250px;
    scroll-snap-align: start;
    width: auto;
  }
  .tournament-grid-caption {
    font-size: 8px;
    letter-spacing: 0.15em;
  }
}
