@font-face {
  font-family: Barlow;
  src: url("assets/fonts/barlow-condensed.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("assets/fonts/inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #080e1a;
  --surface: #0d1626;
  --surface-2: #111e31;
  --border: #253247;
  --border-soft: #1b283b;
  --text: #ecf0f5;
  --muted: #8c9bb1;
  --gold: #d7b77b;
  --gold-bright: #efcf91;
  --green: #77c8a6;
  --red: #cb8791;
  --blue: #7aa6d9;
  --heading: Barlow, "Bahnschrift SemiCondensed", "Arial Narrow", sans-serif;
  --body: Inter, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 62% -25%, #19304b66, transparent 55%), var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.5;
  min-width: 320px;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
}
button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
button,
a,
input,
select,
dialog {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold);
}
button {
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    transform 0.2s;
}
a {
  color: var(--gold);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--heading);
  font-weight: 650;
}
h1 {
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: 1px;
}
h2 {
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: 1.2px;
}
h3 {
  font-size: 22px;
}
p {
  line-height: 1.65;
}
small {
  font-size: 12px;
}
button svg {
  flex-shrink: 0;
}
.icon {
  height: 20px;
  width: 20px;
  vertical-align: middle;
  flex-shrink: 0;
}
.muted,
.subtle {
  color: var(--muted);
}
.gold-text {
  color: var(--gold) !important;
}
.green {
  color: var(--green);
}
.error {
  color: var(--red) !important;
}
.outline-text {
  color: #a3b1c6;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  clip-path: inset(50%);
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 1000;
  background: var(--gold);
  color: var(--bg);
  padding: 12px;
}
.skip-link:focus {
  clip-path: none;
  top: 12px;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  padding: 10px 16px;
  background: transparent;
  white-space: nowrap;
  border-radius: 4px;
  font-weight: 550;
  font-size: 14px;
  line-height: 1.5;
}
.btn .icon {
  width: 17px;
  height: 17px;
}
.btn:hover:not(:disabled) {
  background: #213049;
  color: var(--text);
}
.btn.gold {
  background: var(--gold);
  color: #141921;
  border-color: var(--gold);
  box-shadow: 0 3px 22px #c6a36612;
}
.btn.gold:hover:not(:disabled) {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translateY(-1px);
}
.btn.outlined {
  border-color: #3a4659;
  background: #131d2c;
}
.btn.quiet {
  padding: 8px 10px;
  color: #b2bdcd;
}
.btn.text-button {
  padding: 6px 8px;
  color: var(--muted);
  font-size: 13px;
}
.btn.text-button:hover {
  color: var(--gold);
  background: transparent;
}
.btn.small {
  padding: 7px 11px;
  font-size: 12px;
}
.btn.danger {
  border-color: #834552;
  color: #e6a2ac;
  background: #38212c;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 7px;
  border: 1px solid #354158;
  color: #adbbcf;
  border-radius: 3px;
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0.8px;
  font-weight: 650;
  white-space: nowrap;
}
.badge.subdued {
  border-color: #29354a;
  color: #8c9bb1;
}
.badge.gold-badge {
  border-color: #6d5b3c;
  color: var(--gold);
  background: #c6a3690b;
}
.badge.green-badge {
  color: var(--green);
  border-color: #35604f;
  background: #3a946613;
}
.badge.bo1 {
  color: #93a9c7;
  border-color: #30435d;
  background: #152740;
}
.badge.bo3 {
  color: #9eb9ea;
  border-color: #425981;
  background: #23385945;
}
.badge.bo5 {
  color: var(--gold);
  border-color: #655739;
  background: #c6a3690b;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.1px;
  color: var(--muted);
  margin-bottom: 12px;
}
.gold-diamond {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}
.live-dot {
  display: inline-block;
  flex-shrink: 0;
  height: 6px;
  width: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px #d7b77b66;
}
.header {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  border-bottom: 1px solid var(--border);
  gap: 24px;
  background: #080e1ae6;
}
.brand {
  display: flex;
  gap: 15px;
  align-items: center;
  cursor: pointer;
  white-space: nowrap;
}
.brand > .icon {
  width: 38px;
  height: 43px;
  color: var(--gold);
  stroke-width: 1.35;
}
.brand > div {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-family: var(--heading);
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: 1px;
  font-weight: 650;
}
.brand-name b {
  font-weight: 500;
  color: var(--gold);
}
.brand-s {
  font-size: 26px;
}
.brand-sub {
  font-size: 9px;
  letter-spacing: 2.7px;
  color: #8594aa;
  margin-top: 4px;
}
.main-nav {
  display: flex;
  align-self: stretch;
  gap: 27px;
  margin-left: auto;
  margin-right: auto;
}
.nav-link {
  background: none;
  border: 0;
  color: #8f9fb5;
  position: relative;
  padding: 0 1px;
  font-size: 14px;
}
.nav-link:hover {
  color: #edf0f4;
}
.nav-link.active {
  color: var(--gold);
}
.nav-link.active:after {
  content: "";
  position: absolute;
  height: 2px;
  bottom: -1px;
  left: -3px;
  right: -3px;
  background: var(--gold);
  box-shadow: 0 -3px 12px #d7b77b44;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.header-actions .btn {
  font-size: 12px;
}
.action-divider {
  width: 1px;
  height: 23px;
  background: var(--border);
  margin: 0 8px;
}
.session-bar {
  padding: 11px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-soft);
  font-size: 12px;
  background: #0b1220a6;
}
.session-title {
  display: flex;
  align-items: center;
  gap: 11px;
}
.session-title > span:nth-child(2) {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.autosave {
  display: flex;
  gap: 5px;
  align-items: center;
  color: #698a82;
  margin-left: 7px;
  font-size: 11px;
}
.autosave .icon {
  width: 12px;
  height: 12px;
}
.session-tools {
  display: flex;
  gap: 15px;
}
.session-tools .text-button {
  font-size: 12px;
  padding: 3px;
}
.session-tools .icon {
  width: 14px;
  height: 14px;
}
.stage-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 23px 36px 19px;
  max-width: 1380px;
  margin: 0 auto;
}
.progress-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: #62738c;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.3px;
  white-space: nowrap;
}
.progress-step .step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid #28364d;
  border-radius: 50%;
  font-size: 10px;
  letter-spacing: 0;
}
.step-number .icon {
  width: 14px;
  height: 14px;
}
.progress-step.current {
  color: var(--gold);
}
.progress-step.current .step-number {
  border-color: #776544;
  background: #b2965414;
  box-shadow: 0 0 16px #bda15f14;
}
.progress-step.done {
  color: #8ba493;
}
.progress-step.done .step-number {
  border-color: #365548;
}
.here-dot {
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}
.progress-line {
  height: 1px;
  background: #243047;
  flex: 1;
  max-width: 138px;
}
.progress-cup {
  color: #576984;
}
.progress-cup.done {
  color: var(--gold);
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 25px;
  padding: 15px 36px 48px;
  max-width: 2000px;
  margin: 0 auto;
}
.main-content {
  min-width: 0;
  animation: view-in 0.25s ease;
}
.sidebar {
  padding-top: 6px;
  min-width: 0;
}
.panel {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: linear-gradient(145deg, #111d2eaa, #0c1524cc);
  box-shadow: 0 8px 28px #00000012;
  overflow: hidden;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 23px;
  border-bottom: 1px solid var(--border-soft);
  gap: 15px;
}
.panel-heading .eyebrow {
  font-size: 10px;
  margin-bottom: 7px;
}
.panel-heading-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.panel-heading h2 {
  font-size: 25px;
}
.panel-footer {
  padding: 15px 22px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 12px;
}
.panel-footer > span {
  display: flex;
  align-items: center;
  gap: 12px;
}
.view-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 20px 0 28px;
  min-height: 91px;
}
.view-heading p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 11px;
}
.view-heading > .icon {
  width: 45px;
  height: 45px;
  color: var(--gold);
}
.heading-actions {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-direction: column;
}
.overview-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 18px 0 24px;
}
.overview-hero h1 {
  font-size: 51px;
  line-height: 0.98;
  letter-spacing: 1.2px;
}
.overview-hero p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}
.overview-hero .eyebrow {
  font-size: 10px;
  letter-spacing: 1.6px;
  margin-bottom: 16px;
}
.overview-numbers {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  max-width: 460px;
  margin-top: 18px;
}
.overview-numbers > div:not(.overall-progress) {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.overview-numbers strong {
  font-family: var(--heading);
  font-size: 44px;
  line-height: 1;
  font-weight: 450;
}
.overview-numbers > div:nth-child(5) strong {
  color: var(--gold);
}
.overview-numbers span {
  font-size: 9px;
  letter-spacing: 1.2px;
  color: #7789a2;
  white-space: nowrap;
  margin-top: 9px;
}
.overall-progress {
  grid-column: 1/-1;
  margin-top: 3px;
}
.overall-progress > div:first-child {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
}
.overall-progress span {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.3px;
}
.progress-track {
  height: 3px;
  background: #1e2c42;
  border-radius: 5px;
  overflow: hidden;
}
.progress-track span {
  display: block;
  height: 100%;
  background: var(--gold);
  transition: width 0.3s;
}
.stage-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 9px 0 28px;
}
.stage-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0f192a;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 17px 15px;
  text-align: left;
  min-width: 0;
}
.stage-card:hover {
  border-color: #66768f;
  background: #172337;
}
.stage-card.is-current {
  border-color: #74623f;
  background: linear-gradient(100deg, #d7b77b0d, #152031);
}
.stage-card-number {
  font: 26px var(--heading);
  color: #46556f;
}
.stage-card.is-current .stage-card-number {
  color: #b49761;
}
.stage-card-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.stage-card-text strong {
  font-family: var(--heading);
  font-size: 19px;
  font-weight: 550;
  letter-spacing: 0.7px;
}
.stage-card-text small {
  font-size: 10px;
  color: #8596af;
  white-space: nowrap;
}
.stage-card > b {
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
  margin-left: auto;
  white-space: nowrap;
}
.stage-card > .icon {
  width: 15px;
  color: #61718d;
  display: none;
}
.workspace-heading,
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 15px;
  gap: 15px;
}
.workspace-heading > div,
.inline {
  display: flex;
  align-items: center;
  gap: 12px;
}
.workspace-heading h2 {
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 600;
}
.workspace-heading .muted {
  font-size: 12px;
  border-left: 1px solid #2b3850;
  padding-left: 12px;
}
.bracket-legend {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 15px 23px;
  font-size: 10px;
  color: #8494aa;
}
.bracket-legend > span {
  display: flex;
  gap: 8px;
  align-items: center;
}
.legend-line {
  display: inline-block;
  width: 21px;
  height: 1px;
  background: #8b7853;
}
.legend-line.dashed {
  height: 0;
  background: none;
  border-top: 1px dashed #567291;
}
.right-note {
  margin-left: auto;
  white-space: nowrap;
}
.bracket-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-gutter: stable;
}
.playin-canvas {
  position: relative;
  width: 1136px;
  min-height: 631px;
  margin: 0 auto;
}
.connectors {
  position: absolute;
  inset: 0;
  width: 100%;
  pointer-events: none;
  fill: none;
  stroke-width: 1.25;
}
.upper-lines {
  stroke: #826e47;
}
.lower-lines {
  stroke: #425875;
  stroke-dasharray: 5 5;
}
.bracket-column-label {
  position: absolute;
  top: 5px;
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: #7f91ad;
}
.bracket-column-label small {
  font-family: var(--body);
  display: block;
  color: #546982;
  font-size: 9px;
  letter-spacing: 1px;
  margin-top: 5px;
}
.bracket-node {
  position: absolute;
  width: 230px;
}
.lower-label {
  position: absolute;
  left: 17px;
  top: 494px;
  font-size: 10px;
  letter-spacing: 1.7px;
  color: #526e93;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.match-card {
  position: relative;
  border: 1px solid #30415a;
  border-radius: 4px;
  background: #111d2e;
  overflow: hidden;
  box-shadow: 0 4px 14px #0002;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.match-card.ready:hover {
  border-color: #69768c;
  box-shadow: 0 4px 18px #0003;
}
.match-card.locked {
  background: #0d1727;
  border-color: #23344b;
}
.match-meta {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  font-size: 9px;
  font-weight: 500;
  color: #7d90ad;
  border-bottom: 1px solid #26354b;
  background: #0c152499;
}
.match-meta > span:last-child {
  display: flex;
  gap: 8px;
  align-items: center;
}
.match-meta .badge {
  font-size: 8px;
  padding: 2px 4px;
}
.match-record {
  font-size: 10px;
  color: #a8b9cf;
}
.match-team {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 47px;
  padding: 0 7px 0 10px;
  border-left: 2px solid transparent;
  position: relative;
}
.match-team + .match-team {
  border-top: 1px solid #23324a;
}
.match-team.winner {
  background: linear-gradient(90deg, #d6b27214, transparent);
  border-left-color: var(--gold);
}
.match-team.winner .team-identity strong,
.match-team.winner .score-cell {
  color: var(--gold-bright);
}
.match-team.loser .team-identity,
.match-team.loser .team-meta {
  opacity: 0.47;
}
.match-team.winner .team-logo {
  animation: advance 0.35s ease;
}
.team-identity {
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 0;
  color: inherit;
  text-align: left;
}
.team-identity:hover strong {
  color: var(--gold);
}
.team-identity > span:not(.team-logo) {
  min-width: 0;
}
.team-identity strong {
  font-size: 12px;
  letter-spacing: 0.2px;
  white-space: nowrap;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
  font-weight: 600;
}
.team-identity small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  margin-top: 2px;
}
.team-logo {
  flex-shrink: 0;
  height: 30px;
  width: 30px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--team-color) 10%, transparent),
    transparent 80%
  );
  position: relative;
}
.team-logo img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px #0005);
}
.team-logo.large {
  width: 57px;
  height: 57px;
  background: #101d30;
  border: 1px solid #2e3c51;
}
.team-logo.large img {
  width: 72%;
  height: 72%;
}
.logo-fallback {
  font-family: var(--heading);
  font-size: 11px;
  font-weight: 550;
  color: #a1b0c5;
  text-align: center;
  line-height: 1.1;
  border: 1px solid #374b66;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  letter-spacing: -0.2px;
}
.logo-fallback[hidden] {
  display: none;
}
.large .logo-fallback {
  font-size: 17px;
}
.hero-logo .logo-fallback {
  font-size: 43px;
}
.team-meta {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
  font-size: 8px;
  color: #8499b4;
}
.team-meta small {
  font-size: 8px;
  color: #5b7495;
  margin-top: 4px;
}
.score-cell {
  padding: 0;
  width: 24px;
  height: 29px;
  flex-shrink: 0;
  background: #09111f;
  border: 1px solid #24344c;
  border-radius: 3px;
  color: #879ab3;
  font-size: 15px;
  font-weight: 600;
  margin-left: 4px;
}
.score-cell:hover:not(:disabled) {
  background: #283445;
  border-color: var(--gold);
}
.quick-win {
  padding: 0;
  background: none;
  border: 0;
  width: 14px;
  height: 32px;
  color: #657791;
}
.quick-win .icon {
  height: 13px;
  width: 13px;
}
.quick-win:hover {
  color: var(--gold);
}
.match-team.winner .quick-win {
  color: var(--gold);
}
.match-edit {
  width: 100%;
  height: 27px;
  background: #0d1726;
  border: 0;
  border-top: 1px solid #23324a;
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #8597b1;
}
.match-edit .icon {
  width: 10px;
  height: 10px;
}
.match-edit:hover:not(:disabled) {
  color: var(--gold);
  background: #1e2b3d;
}
.pending-team {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #617692;
  font-size: 10px;
  flex: 1;
}
.pending-team > .icon {
  width: 14px;
  height: 14px;
  opacity: 0.55;
}
.final-match {
  border-color: #75603b;
  background: linear-gradient(120deg, #b1915313, #152133);
}
.final-match .match-meta {
  background: #b4976112;
  color: #c0a572;
}
.final-match .match-team {
  height: 55px;
}
.qualifier-callout {
  position: absolute;
  left: 590px;
  top: 77px;
  width: 225px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.qualifier-callout > .icon {
  width: 42px;
  height: 42px;
  color: #9f8759;
  stroke-width: 1;
}
.qualifier-callout > strong {
  font-family: var(--heading);
  font-size: 23px;
  letter-spacing: 1px;
  font-weight: 500;
  color: #b0bbcd;
  line-height: 1.15;
}
.qualifier-callout > span:last-child {
  color: #647a98;
  font-size: 10px;
}
.qualifier-callout.is-qualified > strong {
  color: var(--gold);
  font-size: 35px;
}
.sidebar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 17px 15px;
}
.sidebar-heading h2 {
  font-size: 16px;
  font-weight: 550;
  letter-spacing: 1.1px;
}
.sidebar-heading > .live-dot {
  background: var(--green);
  box-shadow: 0 0 8px #69b89144;
}
.standings-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px 17px;
}
.standings-summary b {
  font-family: var(--heading);
  font-size: 27px;
  font-weight: 500;
}
.standings-summary small {
  font-size: 16px;
  color: #637b91;
}
.standings-summary em {
  font-family: var(--body);
  font-style: normal;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.6px;
  color: var(--green);
  margin-left: 6px;
}
.standings-summary .badge {
  font-size: 8px;
}
.standings table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.standings th {
  font-size: 8px;
  letter-spacing: 1px;
  color: #60758f;
  text-align: center;
  padding: 9px 3px;
  border-top: 1px solid #243247;
  border-bottom: 1px solid #243247;
  font-weight: 500;
  background: #0c1523;
}
.standings th:first-child {
  width: 47%;
  text-align: left;
  padding-left: 17px;
}
.standings th:nth-child(2) {
  width: 21%;
}
.standings th:nth-child(5) {
  width: 13%;
}
.standings td {
  padding: 6px 2px;
  text-align: center;
  border-bottom: 1px solid #1c2a3e80;
  font-size: 10px;
  color: #899cb5;
  height: 39px;
}
.standings td:first-child {
  text-align: left;
  padding-left: 13px;
}
.standings td:nth-child(3) {
  color: #d5dde8;
  font-weight: 600;
}
.standings td:nth-child(4) {
  color: #78889e;
}
.standings .team-logo {
  height: 23px;
  width: 23px;
}
.standings .team-identity {
  gap: 7px;
}
.standings .team-identity strong {
  font-size: 10px;
}
.standings .logo-fallback {
  font-size: 8px;
}
.status-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  margin: auto;
  font-size: 15px;
  line-height: 1;
}
.status-dot.active {
  color: #6f8fac;
}
.status-dot.qualified {
  color: var(--green);
}
.status-dot.eliminated {
  color: var(--red);
}
.status-dot .icon {
  width: 12px;
  height: 12px;
}
.standing-qualified {
  background: #427e6010;
}
.standing-eliminated {
  opacity: 0.55;
}
.pending-standing td {
  font-size: 9px !important;
  color: #617796 !important;
  padding: 12px !important;
  text-align: center !important;
}
.standings-key {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 13px 8px;
  font-size: 8px;
  color: #8293ab;
}
.standings-key > span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.dot {
  width: 4px;
  height: 4px;
  display: inline-block;
  border-radius: 50%;
}
.dot.qualified {
  background: var(--green);
}
.dot.active {
  background: #6483a6;
}
.dot.eliminated {
  background: var(--red);
}
.recent {
  margin-top: 19px;
}
.recent .sidebar-heading {
  padding-bottom: 10px;
}
.empty-history {
  text-align: center;
  padding: 21px 10px 28px;
}
.empty-history > .icon {
  color: #486183;
  height: 27px;
  width: 27px;
}
.empty-history p {
  font-size: 11px;
  color: #97a8bd;
  margin-top: 12px;
}
.empty-history span {
  font-size: 10px;
  color: #596f8c;
}
.sidebar-tip {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 23px 5px;
  color: #546c8b;
}
.sidebar-tip > .icon {
  height: 18px;
  width: 18px;
  margin-top: 2px;
}
.sidebar-tip p {
  font-size: 10px;
  color: #6d82a0;
}
.sidebar-tip strong {
  display: block;
  color: #93a5be;
  font-size: 11px;
  font-weight: 500;
}
.round-timeline {
  display: flex;
  border: 1px solid var(--border);
  background: #111c2c;
  border-radius: 5px;
  margin-bottom: 30px;
  overflow-x: auto;
}
.round-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  min-width: 115px;
  background: none;
  border: 0;
  border-right: 1px solid #26344a;
  padding: 18px 10px;
  color: #7b8da7;
  font-size: 11px;
  font-weight: 550;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.round-tab:last-child {
  border-right: 0;
}
.round-tab.active {
  color: var(--gold);
  background: linear-gradient(0deg, #d7b77b0c, transparent);
  border-bottom-color: var(--gold);
}
.round-tab.done .round-number {
  color: var(--green);
}
.round-tab:hover:not(:disabled) {
  background: #1b2940;
}
.round-tab > .icon {
  height: 14px;
  width: 14px;
}
.round-number {
  font-family: var(--heading);
  font-size: 23px;
  color: #526886;
}
.round-tab small {
  color: #576e90;
  font-size: 9px;
}
.section-heading {
  margin-top: 4px;
  margin-bottom: 18px;
}
.section-heading h2 {
  font-size: 21px;
}
.section-heading .muted {
  font-size: 12px;
}
.pool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}
.pool-card {
  background: #0f1a2b;
  border: 1px solid #2b3b52;
  border-radius: 5px;
  overflow: hidden;
}
.pool-title {
  padding: 17px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #354053;
  background: linear-gradient(110deg, #ba9b5712, transparent);
  font-family: var(--heading);
  letter-spacing: 1px;
  font-size: 20px;
}
.pool-title b {
  color: var(--gold);
  font-weight: 600;
}
.pool-title .muted {
  font-family: var(--body);
  font-size: 9px;
  letter-spacing: 0;
}
.pool-team {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #223148;
  padding: 14px 10px;
  min-height: 71px;
}
.pool-team:last-child {
  border-bottom: 0;
}
.pool-team .team-identity {
  gap: 7px;
}
.pool-team .team-identity strong {
  max-width: 105px;
  font-size: 11px;
}
.pool-team .team-identity small {
  font-size: 9px;
}
.pool-team > .badge {
  margin-left: auto;
  font-size: 8px;
  padding: 3px;
  letter-spacing: 0;
}
.pool-team.pending {
  color: #8396b1;
  gap: 10px;
}
.pool-team.pending strong {
  font-size: 11px;
  font-weight: 500;
}
.pool-team.pending small {
  display: block;
  font-size: 9px;
  color: #5b7495;
}
.pool-team.pending > .icon {
  width: 14px;
  margin-left: auto;
}
.notice {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #17263a55;
  border: 1px solid #2c405b;
  padding: 15px 18px;
  border-radius: 4px;
  color: #91a5c0;
  font-size: 12px;
  margin: 20px 0;
}
.notice > .icon {
  color: #779ac6;
  flex-shrink: 0;
  width: 17px;
  height: 17px;
}
.notice .btn {
  margin-left: auto;
}
.swiss-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.swiss-groups.groups-1 {
  grid-template-columns: 1fr;
}
.swiss-groups.groups-2 {
  grid-template-columns: 1fr 1fr;
}
.record-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 0 16px;
  margin-bottom: 15px;
  border-bottom: 1px solid #35465d;
}
.record-heading > b {
  font-family: var(--heading);
  font-size: 38px;
  font-weight: 450;
  color: var(--gold);
  line-height: 1;
}
.record-heading > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.record-heading strong {
  font-size: 10px;
  letter-spacing: 0.6px;
  font-weight: 600;
}
.record-heading small {
  font-size: 9px;
  color: #7187a7;
}
.record-matches {
  display: grid;
  gap: 15px;
}
.groups-1 .record-matches {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.groups-2 .record-matches {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.record-matches .match-meta {
  font-size: 10px;
  min-height: 31px;
}
.record-matches .match-team {
  height: 54px;
}
.record-matches .match-edit {
  height: 29px;
}
.record-matches .team-identity strong {
  font-size: 13px;
}
.record-matches .team-meta {
  font-size: 9px;
}
.record-matches .team-meta small {
  font-size: 9px;
}
.advance-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 25px;
  border: 1px solid #6a5a3e;
  background: linear-gradient(90deg, #c2a16b12, transparent);
  padding: 20px;
  border-radius: 5px;
}
.advance-banner > div {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12px;
}
.advance-banner strong {
  font-weight: 500;
}
.advance-banner .icon {
  color: var(--gold);
}
.segmented {
  display: flex;
  background: #0b1423;
  border: 1px solid #2a3a52;
  border-radius: 4px;
  padding: 3px;
  gap: 2px;
}
.segmented button {
  background: none;
  border: 0;
  border-radius: 2px;
  padding: 7px 11px;
  font-size: 11px;
  color: #7a8fae;
  white-space: nowrap;
}
.segmented button.active {
  background: #243249;
  color: #d4b986;
}
.segmented button:hover {
  color: var(--text);
}
.knockout-canvas {
  width: 1160px;
  position: relative;
  height: 810px;
  margin: 30px auto 0;
}
.knockout-canvas .bracket-node {
  width: 232px;
}
.knockout-canvas .bracket-column-label {
  top: -6px;
}
.knockout-canvas .final-node {
  width: 264px;
}
.final-label {
  display: flex;
  align-items: center;
  gap: 7px;
  justify-content: center;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--gold);
  height: 39px;
}
.final-label .icon {
  width: 17px;
  height: 17px;
}
.final-node .final-match .match-team {
  height: 63px;
}
.final-node .team-logo {
  width: 38px;
  height: 38px;
}
.final-node .team-identity strong {
  font-size: 15px;
}
.final-node .score-cell {
  font-size: 20px;
  width: 30px;
  height: 36px;
}
.champion-node {
  position: absolute;
  left: 886px;
  top: 257px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 250px;
  min-height: 275px;
  text-align: center;
  border: 1px solid #7a664125;
  background: radial-gradient(ellipse at center, #ba9b5514, transparent 72%);
  border-radius: 50%;
}
.champion-node > .icon {
  color: #a58c5d;
  width: 58px;
  height: 58px;
  stroke-width: 1;
  margin-bottom: 20px;
}
.champion-node > strong {
  font-family: var(--heading);
  font-size: 46px;
  line-height: 0.97;
  letter-spacing: 2px;
  color: #b8a27a;
  font-weight: 550;
}
.champion-node > span:not(.team-logo) {
  font-size: 9px;
  letter-spacing: 2px;
  margin-top: 19px;
  color: #7c745d;
}
.champion-node.crowned {
  border-color: #9a814845;
  background: radial-gradient(ellipse, #e0b65620, transparent 75%);
}
.champion-node.crowned > strong {
  color: var(--gold);
  font-size: 44px;
  margin-top: 12px;
}
.team-logo.hero-logo {
  width: 123px;
  height: 123px;
  border: 1px solid #a78a4744;
  background: radial-gradient(ellipse, #e4bc5d13, transparent);
  box-shadow: 0 0 50px #cba5580d;
}
.team-logo.hero-logo img {
  width: 75%;
  height: 75%;
}
.seeding-note {
  position: absolute;
  bottom: 24px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #607795;
  font-size: 11px;
}
.seeding-note .icon {
  width: 14px;
  height: 14px;
}
.history-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  position: relative;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #233148;
  background: none;
  color: inherit;
  text-align: left;
  padding: 17px 20px;
}
.history-row:hover {
  background: #17253c;
}
.history-stage {
  font-size: 10px;
  letter-spacing: 0.5px;
  color: #687f9e;
  width: 100%;
}
.history-duel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}
.history-duel b {
  font-size: 13px;
  font-weight: 550;
}
.history-duel strong {
  font-size: 16px;
  letter-spacing: 2px;
  font-weight: 550;
  white-space: nowrap;
}
.history-duel i {
  font-style: normal;
  color: #415c7e;
  font-size: 12px;
}
.history-row > .icon {
  position: absolute;
  top: 18px;
  right: 21px;
  width: 12px;
  height: 12px;
  color: #65809f;
}
.history-row.compact {
  padding: 12px 15px;
  gap: 4px;
}
.history-row.compact .history-stage {
  font-size: 8px;
}
.history-row.compact .team-logo {
  width: 22px;
  height: 22px;
}
.history-row.compact .history-duel {
  gap: 7px;
}
.history-row.compact .history-duel b {
  font-size: 10px;
}
.history-row.compact .history-duel strong {
  font-size: 12px;
}
.history-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.history-grid .history-row:nth-child(odd) {
  border-right: 1px solid #233148;
}
.empty-state {
  text-align: center;
  padding: 65px 20px;
}
.empty-state > .icon {
  width: 36px;
  height: 36px;
  color: #577394;
  margin-bottom: 20px;
}
.empty-state h3 {
  font-size: 26px;
}
.empty-state p {
  font-size: 13px;
  color: var(--muted);
  margin: 10px 0 23px;
}
.champion-hero {
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 36px 25px 30px;
  margin: 8px 0 30px;
  border: 1px solid #88704166;
  border-radius: 6px;
  background:
    radial-gradient(ellipse at 50% 30%, #ae873122, transparent 63%),
    linear-gradient(120deg, #142135, #0c1526);
}
.champion-hero > .eyebrow {
  justify-content: center;
  color: #b49b6d;
  font-size: 10px;
}
.champion-glow {
  margin: 28px auto 20px;
}
.champion-glow .hero-logo {
  width: 155px;
  height: 155px;
  box-shadow: 0 0 90px #bba26a22;
}
.champion-hero h1 {
  font-size: 67px;
  margin: 0 0 8px;
}
.champion-title {
  font-family: var(--heading);
  font-size: 23px;
  letter-spacing: 6px;
  color: var(--gold);
}
.champion-record {
  display: block;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #8b9db6;
  margin: 19px 0 32px;
}
.champion-record i {
  font-style: normal;
  margin: 0 12px;
  color: #5d728f;
}
.champion-route {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  border-top: 1px solid #a78a4733;
  padding-top: 20px;
  gap: 10px;
}
.champion-route > button {
  border: 0;
  border-right: 1px solid #3d4050;
  background: none;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 0 20px;
  gap: 5px;
  color: var(--text);
}
.champion-route > button:last-child {
  border-right: 0;
}
.champion-route small {
  font-size: 9px;
  color: #8999b1;
}
.champion-route strong {
  font-family: var(--heading);
  font-size: 25px;
  color: var(--gold);
  font-weight: 500;
}
.champion-route span {
  font-size: 11px;
}
.confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  overflow: hidden;
}
.confetti i {
  position: absolute;
  top: -15px;
  width: 5px;
  height: 10px;
  background: var(--gold);
  animation: confetti-fall 2s ease-out forwards;
}
.overview-active {
  padding: 43px 40px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.overview-active > div:first-child {
  flex: 1;
}
.overview-active > div > .icon {
  color: var(--gold);
  width: 39px;
  height: 39px;
  margin-bottom: 25px;
}
.overview-active .eyebrow {
  font-size: 10px;
}
.overview-active h2 {
  font-size: 40px;
}
.overview-active p {
  color: var(--muted);
  font-size: 13px;
  max-width: 370px;
  margin: 15px 0 26px;
}
.overview-team-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  align-content: center;
  transform: rotate(-5deg);
}
.overview-team-wall > button {
  background: none;
  border: 0;
}
.overview-team-wall > button:hover {
  transform: translateY(-3px);
}
.team-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.directory-team {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 15px;
}
.directory-team h3 {
  font-size: 21px;
  letter-spacing: 0;
  line-height: 1.1;
}
.directory-team > div {
  min-width: 0;
}
.directory-team p {
  font-size: 10px;
  color: #7c92af;
  margin: 7px 0;
}
.directory-team .badge {
  font-size: 8px;
}
.directory-team .large {
  height: 45px;
  width: 45px;
}
.directory-team .btn {
  margin-left: auto;
  padding: 4px;
}
.directory-team .btn .icon {
  width: 14px;
}
footer {
  padding: 25px 36px 30px;
  border-top: 1px solid #202d40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: 2000px;
  margin: auto;
}
footer > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
footer .icon {
  color: #57637a;
  width: 19px;
  height: 19px;
}
footer strong {
  font-family: var(--heading);
  font-size: 18px;
  color: #788aa3;
  font-weight: 500;
}
footer > div > span {
  font-size: 10px;
  color: #526680;
  margin-left: 7px;
}
footer > span {
  font-size: 8px;
  letter-spacing: 0.9px;
  color: #4d617e;
}
footer .btn {
  font-size: 10px !important;
}
.toast-region {
  position: fixed;
  bottom: 26px;
  right: 28px;
  z-index: 200;
  max-width: min(460px, calc(100vw - 30px));
  display: grid;
  gap: 10px;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #586245;
  border-radius: 5px;
  background: #172331f7;
  padding: 16px 18px;
  box-shadow: 0 15px 50px #0007;
  color: #d3dcca;
  font-size: 13px;
  animation: view-in 0.25s ease;
}
.toast .icon {
  color: var(--gold);
  height: 18px;
  width: 18px;
  margin-top: 1px;
}
.toast.error {
  border-color: #874b57;
  background: #31202c;
  color: #edc4ce !important;
}
.toast > button {
  margin-left: 5px;
  background: none;
  border: 0;
  padding: 0;
  color: #a0acbd;
}
.toast > button .icon {
  width: 13px;
  height: 13px;
  color: inherit;
}
dialog {
  border: 1px solid #4a5364;
  background: linear-gradient(140deg, #142136, #0d1728);
  color: var(--text);
  border-radius: 8px;
  padding: 0;
  width: 560px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 40px);
  box-shadow: 0 20px 120px #000b;
  overflow: auto;
}
dialog::backdrop {
  background: #020710cc;
  backdrop-filter: blur(7px);
}
dialog[open] {
  animation: dialog-in 0.2s ease;
}
dialog.wide-modal {
  width: 890px;
}
.modal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 25px;
  border-bottom: 1px solid #2a3b52;
  gap: 20px;
}
.modal-heading h2 {
  font-size: 26px;
  letter-spacing: 0.7px;
}
.modal-heading .eyebrow {
  font-size: 9px;
  margin-bottom: 7px;
}
.modal-heading > .btn {
  padding: 5px;
}
.modal-body {
  padding: 25px;
}
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #29394e;
}
.modal-copy {
  color: #9aacbf;
  font-size: 14px;
  line-height: 1.75;
}
.modal-copy strong {
  color: var(--text);
}
.modal-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 17px;
}
.modal-field > span {
  color: #9aacc2;
  font-size: 12px;
}
.modal-field input,
.modal-field select,
.manual-pair select {
  border: 1px solid #3a4d67;
  background: #091322;
  padding: 11px 13px;
  border-radius: 4px;
  color: var(--text);
  width: 100%;
  min-height: 43px;
  font-size: 14px;
}
.modal-field input:focus,
.modal-field select:focus {
  border-color: var(--gold);
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 15px;
}
.score-match-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 27px;
  margin: 0 0 23px;
}
.score-match-title > div,
.score-match-title > .score-pick-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  flex: 1;
}
.score-match-title strong {
  font-family: var(--heading);
  font-size: 25px;
}
.score-match-title > span {
  font-size: 12px;
  color: #617797;
}
.score-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.score-side {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.score-side .btn {
  padding: 11px 5px;
  border: 1px solid #43516b;
  background: #142238;
  font-size: 15px;
  white-space: nowrap;
}
.score-side .btn.selected {
  border-color: var(--gold);
  color: var(--gold);
  background: #b99b5722;
}
.score-side .btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.score-side .score-label {
  grid-column: 1/-1;
  text-align: center;
  color: #9daec5;
  font-size: 11px;
  margin-bottom: 5px;
}
.score-options.bo1 .score-side {
  grid-template-columns: 1fr;
}
.score-options.bo3 .score-side {
  grid-template-columns: 1fr 1fr;
}
.impact-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #b8a274;
  font-size: 12px;
  border: 1px solid #74634066;
  background: #b59b5b0c;
  border-radius: 4px;
  margin-top: 24px;
  padding: 14px;
}
.impact-notice .icon {
  height: 16px;
  width: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.saved-row {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #293a51;
}
.saved-row > div {
  flex: 1;
}
.saved-row strong {
  font-size: 14px;
  font-weight: 500;
  display: block;
}
.saved-row small {
  color: #7d92af;
  display: block;
  margin-top: 5px;
}
.saved-row .btn {
  font-size: 12px;
}
.save-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.team-detail-head {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-bottom: 25px;
}
.team-detail-head h3 {
  font-size: 33px;
}
.team-detail-head p {
  font-size: 13px;
  color: #899fb9;
  margin: 5px 0 10px;
}
.team-detail-record {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.team-detail-record strong {
  font-family: var(--heading);
  font-size: 45px;
  line-height: 1.1;
  color: var(--gold);
}
.team-detail-record span {
  color: #607a9c;
  font-size: 10px;
  letter-spacing: 1px;
}
.team-detail-list {
  display: grid;
  gap: 0;
  margin-top: 14px;
}
.team-detail-list .history-row {
  padding-left: 0;
  padding-right: 0;
}
.team-detail-list .history-row > .icon {
  right: 0;
}
.rules-list {
  display: grid;
  gap: 15px;
  margin: 5px 0 25px;
  padding-left: 20px;
  color: #a4b3c7;
  font-size: 13px;
}
.rules-list strong {
  color: var(--gold);
  font-weight: 550;
}
.sources-list {
  display: grid;
  gap: 9px;
  margin: 16px 0;
  font-size: 12px;
}
.sources-list a {
  text-decoration: none;
  color: #a7b9d3;
}
.sources-list a:hover {
  color: var(--gold);
}
.sources-list a .icon {
  width: 12px;
  height: 12px;
  margin-left: 5px;
}
.draw-pools {
  max-height: 325px;
  overflow: auto;
  margin-bottom: 20px;
}
.draw-pools .pool-grid {
  gap: 8px;
}
.draw-pools .pool-title {
  padding: 12px;
  font-size: 20px;
}
.draw-pools .pool-title .muted {
  display: none;
}
.draw-pools .pool-team {
  padding: 9px 8px;
  min-height: 51px;
}
.draw-pools .pool-team .team-identity strong {
  font-size: 10px;
  max-width: 95px;
}
.draw-pools .pool-team .team-logo {
  width: 23px;
  height: 23px;
}
.draw-pools .pool-team > .badge {
  display: none;
}
.draw-result-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  max-height: 390px;
  overflow: auto;
}
.draw-pair {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 13px 10px;
  border: 1px solid #3b4e69;
  border-radius: 4px;
  min-height: 66px;
  background: #132137;
  animation: reveal 0.3s ease;
}
.draw-pair.hidden-pair {
  color: #536d8f;
  border-color: #26384e;
  background: #0b1626;
}
.draw-pair > .vs {
  font-size: 10px;
  color: #67819e;
}
.draw-pair > .team-identity {
  font-size: 12px;
  pointer-events: none;
}
.draw-result-list .team-logo {
  width: 29px;
  height: 29px;
}
.draw-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #9db0cb;
  font-size: 13px;
}
.draw-rolling {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 20px;
  min-height: 60px;
}
.draw-rolling .team-logo {
  animation: logo-roll 0.3s ease infinite alternate;
  opacity: 0.5;
}
.draw-rolling .team-logo:nth-child(2) {
  animation-delay: 0.08s;
  opacity: 1;
  transform: scale(1.25);
}
.draw-rolling .team-logo:nth-child(3) {
  animation-delay: 0.16s;
}
.manual-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 17px;
  align-items: center;
  margin: 22px 0;
}
.manual-pair > .vs {
  color: #7188a7;
  font-size: 12px;
}
.manual-selected {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px;
  border: 1px solid #3b4c65;
  border-radius: 4px;
}
.manual-selected .team-identity strong {
  font-size: 14px;
}
.manual-help {
  color: #829ab7;
  font-size: 12px;
}
.inline-error {
  border: 1px solid #824d5a;
  background: #3b253188;
  border-radius: 3px;
  color: #e9b4c0;
  padding: 10px 13px;
  font-size: 12px;
  margin-top: 14px;
}
.inline-error:empty {
  display: none;
}
.file-input {
  font-size: 12px;
  color: #8298b4;
}
.highlight-match {
  animation: highlight 1.4s ease !important;
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
::-webkit-scrollbar {
  height: 7px;
  width: 7px;
}
::-webkit-scrollbar-track {
  background: #091222;
}
::-webkit-scrollbar-thumb {
  background: #334460;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #5e7090;
}
@keyframes view-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes advance {
  0% {
    transform: translateX(-8px);
    opacity: 0.4;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes logo-roll {
  from {
    transform: translateY(-3px);
    filter: blur(1px);
  }
  to {
    transform: translateY(3px);
    filter: blur(0);
  }
}
@keyframes highlight {
  0%,
  50% {
    box-shadow: 0 0 30px #d7b77b50;
  }
  100% {
    box-shadow: none;
  }
}
@keyframes confetti-fall {
  to {
    transform: translate3d(var(--drift), 100vh, 0) rotate(380deg);
    opacity: 0;
  }
}
@media (min-width: 1650px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 325px;
    gap: 30px;
    padding-left: 45px;
    padding-right: 45px;
  }
  .header,
  .session-bar {
    padding-left: 45px;
    padding-right: 45px;
  }
  .overview-hero {
    padding-top: 27px;
    padding-bottom: 30px;
  }
  .overview-hero h1 {
    font-size: 62px;
  }
  .overview-numbers {
    max-width: 520px;
    gap: 35px;
  }
  .overview-numbers strong {
    font-size: 51px;
  }
  .stage-card {
    padding: 19px;
  }
  .stage-card-text strong {
    font-size: 23px;
  }
  .stage-card-text small {
    font-size: 12px;
  }
  .stage-card-number {
    font-size: 30px;
  }
  .stage-card > b {
    font-size: 15px;
  }
  .playin-canvas {
    width: 1136px;
  }
  .standings td {
    height: 42px;
    font-size: 11px;
  }
  .standings .team-identity strong {
    font-size: 12px;
  }
  .standings th {
    font-size: 9px;
  }
  .standings-key {
    font-size: 9px;
  }
  .header-actions .btn {
    font-size: 13px;
  }
  .pool-team .team-identity strong {
    max-width: 165px;
    font-size: 13px;
  }
  .pool-team .team-identity small {
    font-size: 11px;
  }
  .pool-team {
    padding: 17px 13px;
  }
  .pool-team .team-logo {
    height: 37px;
    width: 37px;
  }
  .team-directory {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .directory-team {
    padding: 23px 20px;
  }
  .record-matches .match-team {
    height: 59px;
  }
  .swiss-groups.groups-1 .record-matches {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1350px) {
  .header {
    padding: 0 24px;
    gap: 20px;
  }
  .brand-name {
    font-size: 27px;
  }
  .brand > .icon {
    width: 32px;
  }
  .main-nav {
    gap: 21px;
  }
  .header-actions .quiet span {
    display: none;
  }
  .header-actions {
    gap: 0;
  }
  .layout {
    grid-template-columns: minmax(0, 1fr) 268px;
    padding-left: 24px;
    padding-right: 24px;
    gap: 20px;
  }
  .session-bar {
    padding-left: 24px;
    padding-right: 24px;
  }
  .overview-hero {
    gap: 15px;
  }
  .overview-hero h1 {
    font-size: 45px;
  }
  .overview-hero .eyebrow {
    font-size: 8px;
  }
  .overview-numbers {
    gap: 17px;
    max-width: 350px;
  }
  .overview-numbers strong {
    font-size: 38px;
  }
  .overview-numbers span {
    font-size: 8px;
  }
  .stage-card {
    gap: 10px;
    padding: 14px 10px;
  }
  .stage-card > b {
    display: none;
  }
  .stage-card > .icon {
    display: block;
    margin-left: auto;
  }
  .stage-card-text strong {
    font-size: 18px;
  }
  .stage-card-text small {
    font-size: 9px;
  }
  .standings .team-identity strong {
    font-size: 9px;
  }
  .standings th:first-child {
    width: 45%;
  }
  .pool-grid {
    gap: 10px;
  }
  .pool-team .team-identity strong {
    max-width: 75px;
    font-size: 10px;
  }
  .pool-team .team-logo {
    width: 25px;
    height: 25px;
  }
  .pool-team .team-identity small {
    font-size: 8px;
  }
  .pool-team > .badge {
    display: none;
  }
  .groups-2 .record-matches {
    grid-template-columns: 1fr;
  }
  .groups-1 .record-matches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .team-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .view-heading {
    flex-wrap: wrap;
  }
  .heading-actions {
    flex-direction: row;
    align-items: center;
  }
  .standings-summary .badge {
    font-size: 7px;
  }
  .bracket-legend {
    gap: 14px;
    font-size: 9px;
  }
  .bracket-legend .right-note {
    font-size: 8px;
  }
  .panel-heading-actions {
    gap: 9px;
  }
  .panel-heading-actions > .badge {
    font-size: 8px;
  }
}
@media (max-width: 1050px) {
  .header {
    gap: 15px;
  }
  .main-nav {
    gap: 17px;
  }
  .nav-link {
    font-size: 13px;
  }
  .header-actions .outlined span {
    display: none;
  }
  .header-actions .btn {
    padding: 7px;
  }
  .brand {
    gap: 9px;
  }
  .brand-sub {
    font-size: 8px;
    letter-spacing: 2px;
  }
  .layout {
    grid-template-columns: minmax(0, 1fr) 245px;
    gap: 16px;
    padding: 10px 20px 35px;
  }
  .overview-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .overview-hero h1 {
    font-size: 43px;
  }
  .overview-hero h1 br {
    display: none;
  }
  .overview-hero h1 .gold-text {
    margin-left: 7px;
  }
  .overview-numbers {
    width: 100%;
    max-width: none;
    margin-top: 10px;
    gap: 13px;
  }
  .overview-numbers strong {
    font-size: 32px;
  }
  .overall-progress {
    margin-top: 0;
  }
  .overview-numbers > div:not(.overall-progress) {
    align-items: flex-start;
  }
  .stage-cards {
    gap: 7px;
  }
  .stage-card-number {
    display: none;
  }
  .stage-card .icon {
    display: none;
  }
  .stage-card-text strong {
    font-size: 17px;
  }
  .stage-card-text small {
    font-size: 8px;
  }
  .stage-card {
    padding: 13px 9px;
  }
  .stage-progress {
    gap: 13px;
    padding: 20px;
  }
  .progress-step {
    gap: 7px;
    font-size: 10px;
  }
  .pool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pool-team .team-identity strong {
    max-width: 125px;
    font-size: 12px;
  }
  .pool-team .team-identity small {
    font-size: 10px;
  }
  .pool-team .team-logo {
    width: 31px;
    height: 31px;
  }
  .pool-team > .badge {
    display: inline-flex;
  }
  .swiss-groups {
    grid-template-columns: 1fr !important;
  }
  .record-matches {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .bracket-legend .right-note {
    display: none;
  }
  .panel-heading h2 {
    font-size: 23px;
  }
  .panel-heading-actions > .badge {
    display: none;
  }
  .sidebar-heading {
    padding-left: 13px;
    padding-right: 13px;
  }
  .sidebar-heading h2 {
    font-size: 15px;
  }
  .standings-summary {
    padding-left: 13px;
    padding-right: 13px;
  }
  .standings-summary em {
    font-size: 8px;
    margin-left: 3px;
  }
  .standings-key {
    gap: 9px;
    font-size: 7px;
  }
  .standings td:first-child {
    padding-left: 8px;
  }
  .standings .team-identity {
    gap: 4px;
  }
  .standings .team-identity strong {
    font-size: 9px;
  }
  .standings th {
    font-size: 7px;
  }
  .history-grid {
    grid-template-columns: 1fr;
  }
  .history-grid .history-row:nth-child(odd) {
    border-right: 0;
  }
  .overview-active {
    padding: 25px;
    flex-direction: column;
  }
  .overview-team-wall {
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    transform: none;
  }
  .overview-team-wall .large {
    height: 36px;
    width: 36px;
  }
  footer > div > span {
    display: none;
  }
  footer {
    padding: 20px;
    gap: 12px;
  }
  .advance-banner {
    flex-wrap: wrap;
  }
  .advance-banner > .btn {
    width: 100%;
  }
}
@media (max-width: 800px) {
  .header {
    height: auto;
    flex-wrap: wrap;
    padding: 15px 20px 0;
    gap: 8px 16px;
  }
  .brand {
    margin-right: auto;
  }
  .header-actions {
    margin-left: auto;
  }
  .main-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    height: 48px;
    margin: 0;
    gap: 15px;
  }
  .nav-link {
    font-size: 13px;
  }
  .session-bar {
    padding: 10px 20px;
    gap: 10px;
  }
  .session-tools {
    gap: 10px;
  }
  .autosave {
    font-size: 0;
    margin-left: 0;
  }
  .autosave .icon {
    width: 13px;
    height: 13px;
  }
  .session-title > span:nth-child(2) {
    max-width: 140px;
    font-size: 11px;
  }
  .stage-progress {
    padding: 18px 20px;
    gap: 8px;
  }
  .progress-step {
    font-size: 8px;
    gap: 5px;
    letter-spacing: 0.6px;
  }
  .progress-step .step-number {
    width: 22px;
    height: 22px;
    font-size: 8px;
  }
  .here-dot,
  .progress-cup {
    display: none;
  }
  .layout {
    display: block;
    padding: 4px 20px 30px;
  }
  .sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 30px;
  }
  .recent {
    margin-top: 0;
    align-self: start;
  }
  .sidebar-tip {
    grid-column: 2;
    align-self: end;
    grid-row: 1;
    margin-top: 350px;
    padding: 15px 5px;
  }
  .standings .team-identity strong {
    font-size: 11px;
  }
  .standings th {
    font-size: 8px;
  }
  .standings td {
    font-size: 11px;
  }
  .standings-key {
    font-size: 8px;
  }
  .overview-hero {
    padding-top: 10px;
  }
  .overview-hero h1 {
    font-size: 45px;
  }
  .overview-numbers {
    max-width: none;
  }
  .overview-numbers strong {
    font-size: 35px;
  }
  .overview-numbers span {
    font-size: 9px;
  }
  .stage-card {
    padding: 15px;
  }
  .stage-card-text small {
    font-size: 9px;
  }
  .stage-card-text strong {
    font-size: 21px;
  }
  .stage-card-number {
    display: block;
    font-size: 23px;
  }
  .panel-heading-actions > .badge {
    display: inline-flex;
  }
  .team-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .view-heading h1 {
    font-size: 45px;
  }
  .view-heading {
    margin-top: 16px;
  }
  .swiss-groups.groups-1 .record-matches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .record-heading strong {
    font-size: 11px;
  }
  .record-heading small {
    font-size: 10px;
  }
  .history-grid {
    grid-template-columns: 1fr 1fr;
  }
  .history-grid .history-row:nth-child(odd) {
    border-right: 1px solid #233148;
  }
  .draw-pools .pool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  footer > span {
    display: none;
  }
}
@media (max-width: 520px) {
  .header {
    padding: 13px 15px 0;
  }
  .brand-name {
    font-size: 26px;
  }
  .brand > .icon {
    height: 35px;
    width: 29px;
  }
  .brand-sub {
    font-size: 7px;
    letter-spacing: 1.9px;
  }
  .header-actions .btn {
    padding: 5px;
  }
  .header-actions .btn .icon {
    width: 15px;
    height: 15px;
  }
  .action-divider {
    margin: 0 5px;
  }
  .header-actions .outlined {
    border: 0;
    background: none;
  }
  .session-bar {
    padding: 9px 15px;
  }
  .session-tools .text-button {
    font-size: 10px;
  }
  .session-tools .icon {
    width: 12px;
    height: 12px;
  }
  .session-tools {
    gap: 9px;
  }
  .session-title {
    gap: 6px;
  }
  .session-title > span:nth-child(2) {
    max-width: 102px;
    font-size: 10px;
  }
  .session-title .autosave {
    display: none;
  }
  .stage-progress {
    padding: 17px 15px;
    gap: 7px;
  }
  .progress-step {
    font-size: 7px;
    gap: 4px;
  }
  .progress-step .step-number {
    width: 18px;
    height: 18px;
    font-size: 7px;
  }
  .progress-line {
    min-width: 4px;
  }
  .layout {
    padding: 3px 15px 25px;
  }
  .overview-hero h1 {
    font-size: 44px;
    line-height: 1;
  }
  .overview-hero h1 br {
    display: block;
  }
  .overview-hero h1 .gold-text {
    margin-left: 0;
  }
  .overview-hero .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .overview-hero p {
    font-size: 12px;
  }
  .overview-numbers {
    gap: 14px;
  }
  .overview-numbers strong {
    font-size: 36px;
  }
  .overview-numbers span {
    font-size: 8px;
  }
  .stage-cards {
    gap: 7px;
    margin-bottom: 25px;
  }
  .stage-card {
    padding: 12px 8px;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
  .stage-card-number {
    font-size: 20px;
  }
  .stage-card-text strong {
    font-size: 18px;
    letter-spacing: 0.5px;
  }
  .stage-card-text small {
    display: none;
  }
  .stage-card > b {
    display: block;
    font-size: 11px;
    margin: 0;
  }
  .workspace-heading h2 {
    font-size: 10px;
  }
  .workspace-heading .muted {
    font-size: 10px;
    padding-left: 8px;
  }
  .workspace-heading > div {
    gap: 8px;
  }
  .workspace-heading .badge {
    font-size: 8px;
  }
  .panel-heading {
    padding: 17px 14px;
    gap: 10px;
  }
  .panel-heading h2 {
    font-size: 22px;
  }
  .panel-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 1.4px;
  }
  .panel-heading-actions > .badge {
    display: none;
  }
  .panel-heading-actions .btn {
    font-size: 10px;
  }
  .bracket-legend {
    padding: 13px 14px;
    font-size: 8px;
    gap: 12px;
  }
  .bracket-legend .legend-line {
    width: 15px;
  }
  .panel-footer {
    padding: 13px 14px;
    font-size: 10px;
    flex-wrap: wrap;
  }
  .panel-footer > .btn {
    margin-left: auto;
  }
  .sidebar {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }
  .sidebar-tip {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0;
  }
  .standings td {
    height: 42px;
  }
  .standings .team-identity strong {
    font-size: 12px;
  }
  .standings th:first-child {
    width: 49%;
  }
  .standings th {
    font-size: 9px;
  }
  .standings-summary .badge {
    font-size: 9px;
  }
  .standings-summary em {
    font-size: 9px;
  }
  .standings-key {
    font-size: 9px;
    gap: 25px;
  }
  .sidebar-heading h2 {
    font-size: 19px;
  }
  .view-heading {
    margin-bottom: 23px;
    gap: 17px;
  }
  .view-heading h1 {
    font-size: 42px;
  }
  .view-heading p {
    font-size: 12px;
  }
  .view-heading > .badge {
    font-size: 9px;
  }
  .view-heading .eyebrow {
    font-size: 9px;
  }
  .heading-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .heading-actions > .btn {
    padding: 9px 11px;
    font-size: 12px;
  }
  .segmented button {
    font-size: 10px;
    padding: 6px 9px;
  }
  .section-heading h2 {
    font-size: 20px;
  }
  .section-heading > .badge {
    font-size: 7px;
  }
  .section-heading .muted {
    font-size: 10px;
  }
  .pool-grid {
    gap: 12px;
  }
  .pool-team .team-identity strong {
    font-size: 10px;
    max-width: 85px;
  }
  .pool-team .team-identity small {
    font-size: 8px;
  }
  .pool-team .team-logo {
    height: 27px;
    width: 27px;
  }
  .pool-team > .badge {
    display: none;
  }
  .pool-team {
    padding: 11px 8px;
    min-height: 63px;
  }
  .pool-title {
    padding: 12px;
    font-size: 21px;
  }
  .pool-title .muted {
    font-size: 8px;
  }
  .notice {
    font-size: 11px;
    padding: 13px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .notice > span {
    flex: 1;
    min-width: 200px;
  }
  .notice .btn {
    margin: 0 0 0 22px;
    font-size: 11px;
  }
  .record-matches {
    grid-template-columns: 1fr !important;
  }
  .swiss-groups.groups-1 .record-matches {
    grid-template-columns: 1fr;
  }
  .record-matches .match-team {
    height: 57px;
    padding-left: 15px;
  }
  .record-matches .team-identity strong {
    font-size: 14px;
  }
  .record-matches .team-meta {
    font-size: 10px;
    margin-right: 8px;
  }
  .record-matches .score-cell {
    width: 35px;
    height: 32px;
  }
  .record-matches .quick-win {
    width: 28px;
  }
  .record-matches .match-meta {
    padding-left: 17px;
    padding-right: 17px;
  }
  .record-matches .match-edit {
    height: 32px;
    font-size: 10px;
  }
  .record-matches .team-logo {
    height: 33px;
    width: 33px;
  }
  .history-panel .panel-heading {
    flex-wrap: wrap;
    gap: 13px;
  }
  .history-grid {
    grid-template-columns: 1fr;
  }
  .history-grid .history-row:nth-child(odd) {
    border-right: 0;
  }
  .team-directory {
    grid-template-columns: 1fr;
  }
  .directory-team {
    padding: 19px;
  }
  .directory-team h3 {
    font-size: 25px;
  }
  .directory-team p {
    font-size: 11px;
  }
  .directory-team .large {
    height: 52px;
    width: 52px;
  }
  .champion-hero {
    padding: 30px 14px;
  }
  .champion-hero h1 {
    font-size: 49px;
  }
  .champion-title {
    font-size: 18px;
    letter-spacing: 3px;
  }
  .champion-record {
    font-size: 8px;
    letter-spacing: 0.7px;
  }
  .champion-record i {
    margin: 0 4px;
  }
  .champion-route {
    gap: 15px 5px;
  }
  .champion-route > button {
    padding: 0 12px;
  }
  .champion-route small {
    font-size: 8px;
  }
  .champion-glow .hero-logo {
    height: 130px;
    width: 130px;
  }
  .modal-heading {
    padding: 19px 18px;
  }
  .modal-heading h2 {
    font-size: 24px;
  }
  .modal-body {
    padding: 21px 18px;
  }
  .score-options {
    gap: 19px;
  }
  .score-side .btn {
    font-size: 14px;
  }
  .score-match-title {
    gap: 10px;
  }
  .score-match-title strong {
    font-size: 23px;
  }
  .modal-footer {
    gap: 8px;
  }
  .modal-footer .btn {
    font-size: 12px;
    padding: 10px 12px;
  }
  .draw-result-list {
    grid-template-columns: 1fr;
    max-height: 350px;
  }
  .draw-pair {
    padding: 11px;
    min-height: 59px;
  }
  .team-detail-head {
    gap: 13px;
    flex-wrap: wrap;
  }
  .team-detail-head h3 {
    font-size: 28px;
  }
  .team-detail-record strong {
    font-size: 32px;
  }
  .manual-pair {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .manual-pair > .vs {
    text-align: center;
  }
  .saved-row {
    flex-wrap: wrap;
  }
  .saved-row > div {
    min-width: 150px;
  }
  .overview-team-wall .large {
    width: 35px;
    height: 35px;
  }
  .overview-active {
    padding: 27px 21px;
  }
  .overview-team-wall {
    gap: 5px;
  }
  .toast-region {
    right: 15px;
    bottom: 15px;
  }
  .toast {
    font-size: 12px;
    padding: 13px;
  }
  .field-grid {
    gap: 0 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Readability and wide-bracket refinements. */
@font-face {
  font-family: Barlow;
  src: url("assets/fonts/barlow-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 499;
  font-display: swap;
}
.skip-link:focus:not(:focus-visible) {
  clip-path: inset(50%);
  top: -60px;
}
.match-meta {
  font-size: 11px;
  line-height: 1.3;
}
.match-meta .badge {
  font-size: 10px;
}
.team-identity strong {
  font-size: 14px;
}
.team-meta,
.team-meta small {
  font-size: 10px;
}
.match-edit {
  font-size: 11px;
}
.pending-team {
  font-size: 11px;
}
.bracket-column-label {
  font-size: 12px;
}
.bracket-legend {
  font-size: 12px;
}
.bracket-legend .right-note {
  font-size: 11px;
}
.match-record {
  font-size: 11px;
}
.score-cell {
  font-size: 16px;
}
.quick-win {
  width: 19px;
}
.quick-win .icon {
  height: 15px;
  width: 15px;
}
.qualifier-callout > span:last-child {
  font-size: 12px;
}
.qualifier-callout > span.green {
  color: var(--green);
}
.standings .team-identity strong {
  font-size: 12px;
}
.standings th {
  font-size: 10px;
  letter-spacing: 0.5px;
}
.standings td {
  font-size: 12px;
}
.standings-summary .badge {
  font-size: 10px;
}
.standings-key {
  font-size: 10px;
  gap: 12px;
}
.history-row.compact .history-stage {
  font-size: 10px;
}
.history-row.compact .history-duel b {
  font-size: 12px;
}
.sidebar-tip p,
.empty-history span {
  font-size: 12px;
}
.sidebar-tip strong,
.empty-history p {
  font-size: 13px;
}
.overview-hero p,
.view-heading p {
  font-size: 16px;
}
.overview-numbers span {
  font-size: 11px;
}
.overall-progress span {
  font-size: 12px;
}
.stage-card-text small {
  font-size: 12px;
}
.record-heading strong {
  font-size: 12px;
}
.record-heading small {
  font-size: 12px;
}
.record-matches .match-meta {
  font-size: 12px;
}
.record-matches .team-identity strong {
  font-size: 15px;
}
.record-matches .team-meta,
.record-matches .team-meta small {
  font-size: 11px;
}
.pool-team .team-identity strong {
  font-size: 13px;
}
.pool-team .team-identity small {
  font-size: 12px;
}
.pool-title .muted {
  font-size: 11px;
}
.panel-footer {
  font-size: 13px;
}
.round-tab {
  font-size: 12px;
}
.round-tab small {
  font-size: 11px;
}
.seeding-note {
  font-size: 12px;
}
.round-timeline {
  margin-bottom: 25px;
}
@media (min-width: 1200px) and (max-width: 1649px) {
  .wide-layout {
    grid-template-columns: 1fr;
  }
  .wide-layout .sidebar {
    display: grid;
    grid-template-columns: 320px 1fr 1fr;
    gap: 24px;
    margin-top: 0;
  }
  .wide-layout .recent {
    margin-top: 0;
    align-self: start;
  }
  .wide-layout .sidebar-tip {
    align-self: start;
    margin-top: 0;
  }
  .wide-layout .knockout-canvas {
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 1200px) {
  .bracket-legend {
    font-size: 10px;
  }
  .standings td {
    font-size: 11px;
  }
  .standings .team-identity strong {
    font-size: 10px;
  }
  .standings th {
    font-size: 9px;
  }
  .standings-summary .badge {
    font-size: 8px;
  }
  .standings-key {
    font-size: 8px;
    gap: 10px;
  }
  .overview-hero p,
  .view-heading p {
    font-size: 14px;
  }
  .stage-card-text small {
    font-size: 10px;
  }
  .overview-numbers span {
    font-size: 10px;
  }
  .pool-team .team-identity strong {
    font-size: 12px;
  }
  .pool-team .team-identity small {
    font-size: 10px;
  }
}
@media (max-width: 520px) {
  .bracket-legend {
    font-size: 9px;
  }
  .standings .team-identity strong {
    font-size: 13px;
  }
  .standings th {
    font-size: 10px;
  }
  .standings-key {
    font-size: 11px;
  }
  .overview-numbers span {
    font-size: 9px;
  }
  .overall-progress span {
    font-size: 11px;
  }
  .panel-footer {
    font-size: 12px;
  }
  .pool-team .team-identity strong {
    font-size: 11px;
  }
  .record-matches .match-edit {
    font-size: 12px;
  }
  .record-heading strong {
    font-size: 11px;
  }
  .record-heading small {
    font-size: 11px;
  }
}
/* Direct match picks and participant tier lists. */
.match-pick { flex: 1; align-self: stretch; }
.team-profile-link { background: transparent; border: 0; padding: 4px; flex-shrink: 0; }
.team-profile-link:hover { color: var(--gold); background: #ffffff08; border-radius: 3px; }
.score-pick-team { background: #132238; border: 1px solid #30415a; border-radius: 6px; padding: 18px 12px; color: inherit; transition: border-color .15s, background .15s; }
.score-pick-team:hover { border-color: var(--gold); background: #d6b27212; }
.score-pick-team small { font-size: 11px; color: var(--gold); margin-top: 4px; }
.layout.tierlist-layout { display: block; }
.tierlist-heading { align-items: center; margin-bottom: 26px; }
.tierlist-summary { display: flex; align-items: center; gap: 18px; padding-left: 24px; border-left: 1px solid #31405a; }
.tierlist-summary > strong { font-family: var(--heading); font-size: 48px; color: var(--gold); white-space: nowrap; line-height: 1; }
.tierlist-summary > strong span { font-size: 24px; color: #65768f; }
.tierlist-summary > div { font-size: 10px; letter-spacing: 1.5px; color: #bac9dc; }
.tierlist-summary small { display: block; margin-top: 7px; font-size: 11px; letter-spacing: 0; color: var(--muted); }
.tier-category-tabs { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 8px; margin-bottom: 22px; }
.tier-category { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; background: #0e1b2e; border: 1px solid #293b55; color: #9dafc8; padding: 12px; border-radius: 4px; font-size: 12px; font-weight: 600; letter-spacing: .8px; }
.tier-category .icon { width: 22px; height: 22px; }
.tier-category small { color: #7d90ab; font-size: 10px; background: #ffffff07; padding: 3px 6px; border-radius: 3px; }
.tier-category:hover { background: #192a42; color: #e5edf7; }
.tier-category.active { color: var(--gold); border-color: #a78c54; background: linear-gradient(110deg,#d7b27313,#18263a); box-shadow: inset 0 -2px #c4a268; }
.tier-workspace { overflow: visible; }
.tier-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 21px 24px; }
.tier-toolbar h2 { font-family: var(--heading); font-size: 21px; letter-spacing: 1px; margin: 0; }
.tier-toolbar h2 > span { font-family: var(--body); font-size: 13px; color: var(--gold); margin-left: 8px; }
.tier-toolbar > div > span { color: #8499b5; display: block; font-size: 12px; margin-top: 5px; }
.tier-toolbar > div:last-child { display: flex; align-items: center; gap: 12px; }
.tier-toolbar > div:first-child { display: block; }
.tier-instructions { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid #24344c; padding: 12px 24px; color: #8c9fb9; font-size: 11px; }
.tier-instructions span { display: flex; align-items: center; gap: 8px; }
.tier-instructions .icon { width: 14px; height: 14px; color: #b89e6c; }
.tier-board { margin: 0 24px; border: 1px solid #334059; border-radius: 4px; overflow: hidden; }
.tier-S { --tier-color: #e49592; }
.tier-A { --tier-color: #e3b580; }
.tier-B { --tier-color: #dace84; }
.tier-C { --tier-color: #8ebc9f; }
.tier-D { --tier-color: #83adc8; }
.tier-row { display: flex; position: relative; min-height: 108px; background: #0b1728; }
.tier-row:nth-child(even) { background: #0e1b2e; }
.tier-row + .tier-row { border-top: 1px solid #2e3d53; }
.tier-label { flex: 0 0 115px; align-self: stretch; background: color-mix(in srgb, var(--tier-color) 86%, #112035); color: #172235; border: 0; padding: 12px 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.tier-label b { font-family: var(--heading); font-size: 38px; font-weight: 650; line-height: 1; }
.tier-label span { font-size: 9px; letter-spacing: .2px; font-weight: 650; }
.tier-label[aria-disabled="false"]:hover { background: var(--tier-color); }
.tier-dropzone { display: flex; flex: 1; flex-wrap: wrap; align-content: center; align-items: flex-start; gap: 8px; min-width: 0; min-height: 106px; padding: 9px 30px 9px 12px; transition: background .12s; }
.tier-empty-target { flex: 1; align-self: stretch; background: transparent; border: 0; padding: 18px; color: #59708e; font-size: 12px; text-align: left; min-height: 85px; }
.tier-empty-target[aria-disabled="false"] { color: #b9a77f; }
.tier-dropzone.drag-over, .tier-row.drag-over .tier-dropzone { background: #d6b27219; outline: 1px dashed #c9ad77; outline-offset: -5px; }
.tier-row-count { position: absolute; right: 11px; top: 13px; font-size: 10px; color: #69819f; pointer-events: none; }
.tier-card { width: 90px; flex: 0 0 90px; background: #17263b; border: 1px solid #2d405b; border-radius: 4px; padding: 6px 4px 7px; display: flex; flex-direction: column; align-items: center; color: #dce5f1; position: relative; cursor: grab; transition: border-color .12s, background .12s; user-select: none; -webkit-user-select: none; }
.tier-card:hover { border-color: #73839a; background: #20314a; }
.tier-card:active { cursor: grabbing; }
.tier-card > .team-logo.large { width: 48px; height: 48px; border: 0; background: transparent; }
.tier-card > .team-logo.large img { width: 90%; height: 90%; }
.tier-card strong { width: 100%; text-align: center; font-size: 10px; line-height: 1.2; margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tier-card small { display: block; color: #839bb9; font-size: 9px; line-height: 1.2; margin-top: 3px; }
.tier-card.selected { border-color: var(--gold); background: #b89b5820; box-shadow: 0 0 0 1px var(--gold); }
.tier-selected-mark { display: none; position: absolute; top: -4px; right: -4px; width: 17px; height: 17px; border-radius: 50%; background: var(--gold); color: #152031; align-items: center; justify-content: center; }
.tier-selected-mark .icon { width: 11px; height: 11px; }
.tier-card.selected .tier-selected-mark { display: flex; }
.tier-card.is-dragging { opacity: .4; }
.tier-card.drop-before { box-shadow: -5px 0 var(--gold); }
.tier-portrait { position: relative; width: 80px; height: 69px; display: block; background: radial-gradient(ellipse at bottom, color-mix(in srgb,var(--team-color) 25%,#132035),#111e31); border-radius: 2px; }
.tier-portrait > img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; border-radius: inherit; pointer-events: none; }
.tier-portrait > img[hidden], .portrait-fallback[hidden] { display: none; }
.portrait-fallback { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: #8194af; font-family: var(--heading); font-size: 26px; }
.tier-club-mark { position: absolute; bottom: -3px; right: -2px; background: #0a1629; border: 1px solid #3b4c61; border-radius: 50%; height: 23px; width: 23px; }
.tier-club-mark .team-logo { width: 21px; height: 21px; }
.tier-selection-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 24px; color: #7e94b0; font-size: 11px; min-height: 53px; }
.tier-selection-bar > div { display: flex; align-items: center; gap: 8px; }
.tier-selection-bar .icon { width: 15px; height: 15px; }
.tier-selection-bar strong { color: var(--gold); }
.tier-selection-bar.has-selection { position: sticky; bottom: 12px; z-index: 5; margin: 12px; background: #1a293ff5; border: 1px solid #9f8858; border-radius: 5px; box-shadow: 0 8px 35px #0008; padding: 10px 14px; }
.tier-quick.btn { min-width: 34px; min-height: 34px; padding: 5px 9px; color: #182334; background: var(--tier-color); border-color: var(--tier-color); font-weight: 700; }
.tier-pool { margin-top: 22px; }
.tier-pool-zone { padding: 0 24px 24px; gap: 12px; min-height: 110px; }
.tier-source-teams { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 24px; margin: 22px 0; }
.tier-source-teams > div { display: flex; align-items: center; gap: 9px; padding: 5px 0; border-bottom: 1px solid #27384f; min-width: 0; }
.tier-source-teams strong { font-size: 12px; }
.tier-source-teams > div > span:last-child { font-size: 10px; color: #8fa2bb; margin-left: auto; white-space: nowrap; }
@media (max-width: 1000px) {
  .tierlist-summary { display: none; }
  .tier-category { gap: 8px; padding: 10px 6px; font-size: 11px; }
  .tier-instructions { flex-wrap: wrap; }
}
@media (max-width: 680px) {
  .tier-category-tabs { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; margin-bottom: 16px; }
  .tier-category { min-height: 48px; }
  .tier-toolbar { padding: 16px 14px; align-items: flex-start; flex-wrap: wrap; gap: 12px; }
  .tier-toolbar > div:last-child { gap: 8px; }
  .tier-toolbar h2 { font-size: 19px; }
  .tier-toolbar > div > span { font-size: 11px; line-height: 1.5; }
  .tier-instructions { padding: 11px 14px; line-height: 1.5; font-size: 10px; }
  .tier-instructions span:last-child { display: none; }
  .tier-board { margin: 0 10px; }
  .tier-label { flex-basis: 52px; padding: 10px 3px; }
  .tier-label b { font-size: 32px; }
  .tier-label span { display: none; }
  .tier-dropzone { gap: 6px; padding: 8px 20px 8px 8px; }
  .tier-empty-target { font-size: 10px; padding: 8px; min-height: 70px; }
  .tier-row { min-height: 95px; }
  .tier-dropzone { min-height: 93px; }
  .tier-card { width: 72px; flex-basis: 72px; }
  .tier-card > .team-logo.large { width: 42px; height: 42px; }
  .tier-card strong { font-size: 9px; }
  .tier-card small { font-size: 8px; }
  .tier-portrait { width: 62px; height: 62px; }
  .tier-row-count { right: 7px; top: 10px; }
  .tier-selection-bar { padding: 12px 14px; line-height: 1.5; }
  .tier-selection-bar.has-selection { flex-wrap: wrap; gap: 8px; margin: 10px; padding: 10px; bottom: 6px; }
  .tier-selection-bar > .tier-quick-places { flex-wrap: wrap; gap: 6px; }
  .tier-quick-places .text-button { font-size: 10px; padding: 5px; }
  .tier-pool-zone { padding: 0 14px 16px; gap: 9px; }
  .tier-source-teams { grid-template-columns: 1fr; }
  .score-pick-team { padding: 12px 6px; }
}
@media (max-width: 520px) {
  .main-nav { gap: 13px; overflow-x: auto; }
  .main-nav .nav-link { font-size: 12px; white-space: nowrap; }
}
.tier-card strong { font-size: 12px; }
.tier-selection-bar.has-selection { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); width: min(900px, calc(100% - 32px)); margin: 0; }
@media (max-width: 680px) {
  .tier-card strong { font-size: 10px; }
  .tier-selection-bar.has-selection { bottom: 8px; margin: 0; }
}
@media (max-width: 680px) {
  .tier-category { gap: 6px; font-size: 10px; letter-spacing: .4px; }
  .tier-category .icon { width: 18px; height: 18px; }
  .tier-category small { padding: 2px 4px; font-size: 9px; }
}
@media (max-width: 360px) {
  .session-bar { flex-direction: column; align-items: stretch; gap: 5px; }
  .session-tools { justify-content: space-between; }
  .stage-progress { gap: 4px; padding-left: 10px; padding-right: 10px; }
  .progress-step { gap: 3px; letter-spacing: .2px; }
  .tier-category small { display: none; }
}
/* Random winners, scoped to the active phase or Swiss round. */
.randomize-button { color: var(--gold); border-color: #756645; background: #d7b77b08; }
.randomize-button:hover:not(:disabled) { background: #d7b77b1a; border-color: var(--gold); }
.randomize-button .icon { width: 17px; height: 17px; }
.randomize-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.randomize-heading { flex-wrap: wrap; }
.bracket-panel > .panel-heading { flex-wrap: wrap; gap: 15px; }
.bracket-panel .panel-heading-actions { flex-wrap: wrap; gap: 9px; }
.randomize-knockout { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 16px 20px; background: #101c2d; border: 1px solid var(--border); border-radius: 5px; margin-bottom: 18px; }
.randomize-knockout > div > strong { display: flex; align-items: center; gap: 9px; font-size: 11px; letter-spacing: .9px; color: #c5d0e0; }
.randomize-knockout > div > span { display: block; margin-top: 5px; font-size: 11px; color: var(--muted); }
.randomize-advance { flex-wrap: wrap; }
@media (max-width: 680px) {
  .randomize-heading { align-items: flex-start; gap: 10px; }
  .randomize-heading > .inline { flex-wrap: wrap; gap: 8px; }
  .randomize-advance > .randomize-actions { flex-direction: row; flex-wrap: wrap; }
  .randomize-knockout { padding: 14px; }
  .randomize-knockout .randomize-actions { gap: 7px; }
  .randomize-knockout .randomize-button { padding: 9px 10px; font-size: 11px; }
}
