:root {
  --tournament-ink:var(--ink, #18231f);
  --tournament-muted:var(--muted, #68736e);
  --tournament-rule:var(--line, #d8dfda);
  --tournament-green:var(--green, #087a52);
  --tournament-green-dark:var(--green-dark, #07583e);
  --tournament-paper:#fbfcfa;
}

.tournament-profile-page {
  background:var(--paper, #f4f5f1);
  color:var(--tournament-ink);
}

.tournament-profile-page .public-tournament-main {
  width:min(calc(100% - 32px), 1240px);
  margin:0 auto;
  padding:30px 0 64px;
}

.tournament-profile-header {
  position:relative;
  margin:0 0 30px;
  padding:0;
  border-bottom:1px solid var(--tournament-rule);
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
.tournament-information-page .tournament-profile-header,
.tournament-statistics-page .tournament-profile-header { margin-bottom:0; }
.tournament-information-page #participantsCard,
.tournament-statistics-page #statsCard { border-top:0; }
.tournament-information-page #participantCategoryFilterWrap[hidden] { display:none; }

.tournament-profile-identity {
  position:relative;
  display:flex;
  align-items:end;
  gap:20px;
  margin:0 0 8px;
  padding:26px 24px 24px;
  border:1px solid #e0e5e1;
  border-top:4px solid var(--tournament-green);
  border-radius:8px;
  background:#fff;
}

.tournament-profile-identity > div:first-child { flex:1; min-width:0; }
.tournament-profile-identity > div:not(:first-child) { flex:none; }
.tournament-profile-identity > div:last-child:has(> [hidden]):not(:has(> :not([hidden]))) { display:none; }

.tournament-profile-badge {
  display:inline-flex;
  width:max-content;
  margin:0 0 9px;
  padding:4px 8px;
  border-width:1px;
  border-style:solid;
  border-radius:4px;
  font-size:.67rem;
  font-weight:850;
  letter-spacing:.08em;
  line-height:1;
  text-transform:uppercase;
}

.tournament-profile-header h1 {
  max-width:920px;
  margin:0;
  color:var(--tournament-ink);
  font-family:var(--theme-title-font, Georgia, 'Times New Roman', serif);
  font-size:clamp(2rem, 5vw, 4.35rem);
  font-weight:500;
  line-height:.98;
  letter-spacing:0;
  text-wrap:balance;
}

.tournament-profile-page .public-tournament-main #tName {
  max-width:none;
  font-size:clamp(2rem, 4.5vw, 3.6rem);
}

.tournament-profile-meta {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px 16px;
  margin:16px 0 0;
  color:var(--tournament-muted);
  font-size:.86rem;
  font-weight:650;
}

.tournament-profile-meta span + span::before {
  content:'';
  display:inline-block;
  width:3px;
  height:3px;
  margin:0 16px 2px 0;
  border-radius:50%;
  background:#9aa49f;
}

.tournament-profile-status {
  align-self:start;
  margin-top:24px;
  color:#8a5b0b;
  font-size:.72rem;
  font-weight:800;
  text-transform:uppercase;
}

.tournament-profile-related {
  display:inline-flex;
  align-items:center;
  gap:3px;
  padding:3px;
  border:1px solid #ced7d2;
  border-radius:6px;
  background:#eef1ee;
}

.tournament-profile-related a {
  padding:6px 10px;
  border-radius:4px;
  color:#66706b;
  font-size:.75rem;
  font-weight:800;
  text-decoration:none;
}

.tournament-profile-related a[aria-current='true'] {
  background:#fff;
  color:var(--tournament-ink);
  box-shadow:0 1px 3px rgba(24,35,31,.12);
}

@keyframes tournament-profile-loading-pulse {
  0%, 100% { opacity:1; }
  50% { opacity:.58; }
}

.profile-data-loading .tournament-profile-badge,
.profile-data-loading .tournament-profile-header h1,
.profile-data-loading .tournament-profile-meta,
.profile-data-loading .tournament-profile-nav::before,
.profile-data-loading .tournament-category-rail::before,
.profile-data-loading .tournament-profile-outcome > div:first-child,
.profile-data-loading .tournament-profile-final {
  border-color:transparent;
  background:#e5eae7;
  color:transparent;
  animation:tournament-profile-loading-pulse 1.35s ease-in-out infinite;
}

.profile-data-loading .tournament-profile-badge {
  width:116px;
  min-height:20px;
  box-sizing:border-box;
}

.profile-data-loading .tournament-profile-header h1 {
  width:min(78%, 760px);
  min-height:68px;
  border-radius:5px;
}

.profile-data-loading .tournament-profile-meta {
  width:min(62%, 470px);
  min-height:14px;
  border-radius:3px;
}

.profile-data-loading .tournament-profile-identity > div:last-child {
  width:150px;
  min-height:38px;
  border-radius:6px;
  background:#edf0ee;
}

.profile-data-loading .tournament-profile-nav,
.profile-data-loading .tournament-category-rail { min-height:64px; }
.profile-data-loading .tournament-profile-nav:empty::before {
  content:'';
  width:min(340px, 72%);
  height:13px;
  border-radius:3px;
}
.profile-data-loading .tournament-category-rail:empty::before {
  content:'';
  width:min(420px, 86%);
  height:34px;
  border-radius:5px;
}

.profile-data-loading .tournament-profile-outcome[hidden] {
  display:grid;
  min-height:108px;
}
.profile-data-loading .tournament-profile-outcome > div:first-child {
  width:min(330px, 86%);
  min-height:58px;
  border-radius:5px;
}
.profile-data-loading .tournament-profile-final {
  width:min(430px, 100%);
  min-height:46px;
  justify-self:end;
  border-radius:5px;
}
.profile-data-loading .public-results-toolbar,
.profile-data-loading .tournament-view-toolbar,
.profile-data-loading .results-profile-grid { visibility:hidden; }
.profile-data-loading .public-results-toolbar { min-height:40px; }

.tournament-view-loading-placeholder { display:none; }
.profile-data-loading .tournament-profile-loaded-content { display:none !important; }
.profile-data-loading .tournament-view-loading-placeholder {
  display:grid;
  gap:14px;
  min-height:420px;
  padding:28px 0 34px;
  box-sizing:border-box;
  border-top:1px solid var(--tournament-rule);
}
.profile-data-loading .tournament-view-loading-placeholder > span {
  display:block;
  border-radius:5px;
  background:#e5eae7;
  animation:tournament-profile-loading-pulse 1.35s ease-in-out infinite;
}
.profile-data-loading .loading-placeholder-heading { width:min(360px, 58%); height:27px; }
.profile-data-loading .loading-placeholder-heading.is-small { width:min(250px, 44%); height:21px; margin-top:10px; }
.profile-data-loading .loading-placeholder-copy { width:min(760px, 88%); height:14px; }
.profile-data-loading .loading-placeholder-copy.is-short { width:min(520px, 66%); }
.profile-data-loading .loading-placeholder-panel { width:100%; height:112px; margin:5px 0 8px; }
.profile-data-loading .loading-placeholder-table { width:100%; height:180px; }
.profile-data-loading .loading-placeholder-switch { width:190px; height:36px; }
.profile-data-loading .loading-placeholder-filter { width:min(440px, 72%); height:42px; }
.profile-data-loading .loading-placeholder-metrics { width:100%; height:88px; }
.profile-data-loading .tournament-information-loading-placeholder { min-height:590px; }
.profile-data-loading .tournament-stats-loading-placeholder { min-height:475px; }
.profile-data-loading .tournament-insights-loading-placeholder { min-height:500px; }

@media (prefers-reduced-motion:reduce) {
  .profile-data-loading .tournament-profile-badge,
  .profile-data-loading .tournament-profile-header h1,
  .profile-data-loading .tournament-profile-meta,
  .profile-data-loading .tournament-profile-nav::before,
  .profile-data-loading .tournament-category-rail::before,
  .profile-data-loading .tournament-profile-outcome > div:first-child,
  .profile-data-loading .tournament-profile-final,
  .profile-data-loading .tournament-view-loading-placeholder > span { animation:none; }
  .tournament-profile-final-score.team-acta-result-trigger,
  .tournament-profile-page .pill.result.team-acta-result-trigger,
  .tournament-profile-page .public-knockout-match.team-acta-bracket-trigger { transition:none; }
}

.tournament-profile-nav {
  display:flex;
  align-items:center;
  gap:28px;
  min-width:0;
  overflow-x:auto;
  scrollbar-width:none;
}

.tournament-profile-nav::-webkit-scrollbar { display:none; }
.tournament-profile-nav a {
  position:relative;
  flex:0 0 auto;
  padding:15px 0 14px;
  color:#737d78;
  font-size:.82rem;
  font-weight:800;
  text-decoration:none;
}
.tournament-profile-nav a:hover { color:var(--tournament-ink); }
.tournament-profile-nav a[aria-current='page'] { color:var(--tournament-ink); }
.tournament-profile-nav a[aria-current='page']::after {
  content:'';
  position:absolute;
  right:0;
  bottom:-1px;
  left:0;
  height:3px;
  background:var(--tournament-green);
}
.tournament-profile-nav-name { display:none; }

.tournament-category-rail {
  display:flex;
  align-items:center;
  gap:7px;
  padding:17px 0 20px;
  overflow-x:auto;
  scrollbar-width:none;
}
.tournament-profile-page .tournament-category-rail > button { margin:0; }
.tournament-category-rail[hidden] { display:none; }
.tournament-category-rail::-webkit-scrollbar { display:none; }
.tournament-category-rail > button {
  flex:0 0 auto;
  min-height:34px;
  padding:6px 13px;
  border:1px solid #cdd6d1;
  border-radius:5px;
  background:transparent;
  color:#5e6964;
  font:inherit;
  font-size:.77rem;
  font-weight:800;
  cursor:pointer;
}
.tournament-category-rail > button:hover { border-color:#88aa9a; color:var(--tournament-green-dark); }
.tournament-category-rail > button[aria-pressed='true'] { border-color:var(--tournament-green-dark); background:var(--tournament-green-dark); color:#fff; }
.tournament-category-rail.has-scope-switch .results-stage-switch { margin:0 0 0 auto; }

.tournament-profile-page .profile-native-category { display:none !important; }
.tournament-profile-page .card {
  border:0;
  border-top:1px solid var(--tournament-rule);
  border-radius:0;
  background:transparent;
  box-shadow:none;
  padding:28px 0;
  margin:0;
}
.tournament-profile-page .card:first-child { border-top:0; }
.tournament-profile-page .table-wrap,
.tournament-profile-page .public-table-scroll { max-width:100%; overflow:auto; }

.tournament-profile-section-heading {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.tournament-profile-section-heading h2 { margin:0; font-size:1.28rem; }
.tournament-profile-kicker { margin:0 0 5px; color:var(--tournament-green); font-size:.68rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }

.tournament-profile-outcome {
  display:grid;
  grid-template-columns:minmax(260px, .82fr) minmax(480px, 1.18fr);
  gap:40px;
  align-items:center;
  padding:5px 0 31px;
  border-bottom:1px solid var(--tournament-rule);
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
.tournament-profile-outcome[hidden] { display:none; }
.tournament-profile-outcome-label { color:var(--tournament-green); font-size:.7rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.tournament-profile-outcome h2 { margin:6px 0 0; font-family:Georgia, 'Times New Roman', serif; font-size:clamp(1.65rem, 3.2vw, 2.65rem); font-weight:500; line-height:1.05; }
.tournament-profile-outcome h2 a { color:inherit; text-decoration:none; }
.tournament-profile-outcome h2 a:hover { text-decoration:underline; }
.tournament-winner-shield { width:.85em; height:.85em; max-width:32px; max-height:32px; object-fit:contain; vertical-align:baseline; margin-right:8px; }
.tournament-profile-final { display:grid; grid-template-columns:minmax(0, 1fr) minmax(86px, max-content) minmax(0, 1fr); align-items:center; gap:14px; width:100%; min-width:0; }
@media (min-width: 761px) {
  .tournament-profile-final { grid-template-columns:minmax(0, max-content) minmax(86px, max-content) minmax(0, max-content); justify-content:end; }
}
.tournament-profile-final > :first-child { text-align:right; }
.tournament-profile-final > a:nth-of-type(2),
.tournament-profile-final > strong:nth-of-type(2) { text-align:left; }
.tournament-profile-final a,
.tournament-profile-final > strong { min-width:0; color:#29342f; font-size:.88rem; font-weight:750; line-height:1.25; overflow-wrap:break-word; white-space:normal; text-decoration:none; }
.tournament-profile-final a:hover { text-decoration:underline; }
.tournament-profile-final > .winner-name { color:var(--tournament-green-dark); font-weight:850; }
.tournament-profile-final-score { display:grid; place-items:center; min-height:46px; padding:0 10px; border:1px solid #bdd2c8; border-radius:5px; box-sizing:border-box; background:#edf6f1; color:var(--tournament-ink); font-family:Georgia, 'Times New Roman', serif; font-size:1.7rem; font-weight:700; white-space:nowrap; }
.tournament-profile-final-score.team-acta-result-trigger,
.tournament-profile-page .pill.result.team-acta-result-trigger { transition:border-color .16s ease, background-color .16s ease, box-shadow .16s ease; }
.tournament-profile-final-score.team-acta-result-trigger:hover,
.tournament-profile-final-score.team-acta-result-trigger:focus-visible,
.tournament-profile-page .pill.result.team-acta-result-trigger:hover,
.tournament-profile-page .pill.result.team-acta-result-trigger:focus-visible {
  border-color:#7eaa9a;
  background:#e6f1ec;
  box-shadow:0 2px 8px rgba(25, 71, 56, .1);
}
.tournament-profile-page .public-knockout-match.team-acta-bracket-trigger {
  cursor:pointer;
  transition:border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.tournament-profile-page .public-knockout-match.team-acta-bracket-trigger:hover,
.tournament-profile-page .public-knockout-match.team-acta-bracket-trigger:focus-visible {
  border-color:#78a796;
  background:#f7fbf9;
  box-shadow:0 5px 15px rgba(25, 71, 56, .13);
  outline:none;
}

.tournament-view-toolbar {
  display:flex;
  align-items:center;
  gap:7px;
  margin:0 0 20px;
}
.tournament-view-toolbar button {
  min-height:34px;
  padding:6px 11px;
  border:0;
  border-bottom:2px solid transparent;
  border-radius:0;
  background:transparent;
  color:#6d7772;
  font:inherit;
  font-size:.78rem;
  font-weight:800;
  cursor:pointer;
}
.tournament-view-toolbar button[aria-pressed='true'] { border-bottom-color:var(--tournament-green); color:var(--tournament-ink); }

.tournament-profile-page .results-stage-switch {
  display:inline-flex;
  align-items:center;
  gap:3px;
  margin-bottom:20px;
  padding:3px;
  border:1px solid #cdd6d1;
  border-radius:6px;
  background:#eef1ee;
}
.tournament-profile-page .results-stage-switch[hidden] { display:none; }
.tournament-profile-page .results-stage-switch button {
  min-height:32px;
  padding:6px 11px;
  border:0;
  border-radius:4px;
  background:transparent;
  color:#64706a;
  font:inherit;
  font-size:.76rem;
  font-weight:800;
  cursor:pointer;
}
.tournament-profile-page .results-stage-switch button[aria-pressed='true'] {
  background:#fff;
  color:var(--tournament-green-dark);
  box-shadow:0 1px 3px rgba(24,35,31,.12);
}
.tournament-profile-page .public-results-toolbar { padding:0; margin:0; }
.tournament-profile-page .public-results-toolbar .xlsx-button { margin-left:auto; }
.tournament-profile-page .results-profile-grid { display:block; }
.tournament-profile-page .results-profile-grid.visible-sections-2,
.tournament-profile-page .results-profile-grid.visible-sections-3 { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); }
.tournament-profile-page .results-profile-grid.visible-sections-3 [data-result-section='matches'] { grid-column:1 / -1; }
.tournament-profile-page .results-profile-grid.has-maximized { display:grid; grid-template-columns:minmax(0, 1fr) !important; }
.tournament-profile-page .results-profile-grid.has-maximized .result-card.maximized { grid-column:1 / -1; width:100%; }
.tournament-profile-page .result-card { width:100%; padding:22px; }
.tournament-profile-page .result-card.section-hidden { display:none; }
.tournament-profile-page .public-knockout-panel { padding-top:0; }

.tournament-profile-page .groups-group-block + .groups-group-block { margin-top:18px; }
.tournament-profile-page .groups-group-block .group-title { padding:0 8px; }
.tournament-profile-page .groups-table { width:100%; table-layout:fixed; }
.tournament-profile-page .groups-table .groups-seed { width:64px; }
.tournament-profile-page .groups-table .groups-context { width:40%; }
.tournament-profile-page .groups-table th,
.tournament-profile-page .groups-table td { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tournament-profile-page .match-row > .name:first-child { text-align:right; }
.tournament-profile-page .match-row > .vs { min-width:30px; text-align:center; }
.tournament-profile-page .pill.result { border:1px solid #d6dcd8; background:#eef1ef; color:#26312c; }
.tournament-profile-page .round-block { margin-inline:0; }

.tournament-profile-page #standingsPane { padding-inline:8px; }
.tournament-profile-page .standings-group-block + .standings-group-block { margin-top:24px; }
.tournament-profile-page .standings-group-block .group-title { padding:0 8px; }
.tournament-profile-page .standings-table { width:100%; table-layout:fixed; }
.tournament-profile-page .standings-table .standing-position { width:42px; }
.tournament-profile-page .standings-table .standing-number { width:40px; }
.tournament-profile-page .standings-table-individual { min-width:520px !important; }
.tournament-profile-page .standings-table-individual .standing-name { width:auto; }
.tournament-profile-page .standings-table-teams { min-width:820px !important; }
.tournament-profile-page .standings-table-teams .standing-name { width:230px; }
.tournament-profile-page .standings-table-teams .standing-number { width:48px; }
.tournament-profile-page .standings-table th,
.tournament-profile-page .standings-table td { text-align:center; white-space:nowrap; }
.tournament-profile-page .standings-table th:nth-child(2),
.tournament-profile-page .standings-table td:nth-child(2) { text-align:left; }
.tournament-profile-page .standings-table .standing-entrant { overflow:hidden; font-weight:720; text-overflow:ellipsis; }
.tournament-profile-page .standings-table .standing-points { font-weight:850; }
.tournament-profile-page .standings-table tr.standing-qualified td { border-radius:0 !important; background:#eaf4ef; }
.tournament-profile-page .standings-table tr.standing-qualified td:first-child { box-shadow:inset 3px 0 0 var(--tournament-green); color:var(--tournament-green-dark); font-weight:900; }
.tournament-profile-page .standings-table tr.standing-qualified-start td:first-child { border-top-left-radius:7px !important; }
.tournament-profile-page .standings-table tr.standing-qualified-end td:first-child { border-bottom-left-radius:7px !important; }
.tournament-profile-page .standings-table td.standing-difference-positive { color:#087a52; font-weight:850; }
.tournament-profile-page .standings-table td.standing-difference-negative { color:#b2473e; font-weight:850; }
.tournament-profile-page .standings-table td.standing-difference-neutral { color:#7a8580; }

.tournament-stats-summary {
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:1px;
  margin:0 0 24px;
  background:var(--tournament-rule);
  border:1px solid var(--tournament-rule);
}
.tournament-stats-summary div { padding:15px 18px; background:var(--tournament-paper); }
.tournament-stats-summary strong { display:block; font-family:Georgia, 'Times New Roman', serif; font-size:1.55rem; }
.tournament-stats-summary span { color:var(--tournament-muted); font-size:.72rem; }
.tournament-stats-coverage {
  margin:-14px 0 24px;
  color:#7a8580;
  font-size:.72rem;
  font-style:italic;
  text-align:right;
}
.tournament-profile-page .stats-entity-tabs {
  display:flex;
  align-items:flex-end;
  gap:24px;
  margin:0 0 18px;
  border-bottom:1px solid var(--tournament-rule);
}
.tournament-profile-page .stats-entity-tabs button {
  position:relative;
  min-height:38px;
  padding:0 0 10px;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--tournament-muted);
  font:inherit;
  font-size:1.08rem;
  font-weight:750;
  cursor:pointer;
}
.tournament-profile-page .stats-entity-tabs button::after {
  content:'';
  position:absolute;
  right:0;
  bottom:-1px;
  left:0;
  height:2px;
  background:transparent;
}
.tournament-profile-page .stats-entity-tabs button:hover,
.tournament-profile-page .stats-entity-tabs button[aria-selected='true'] { color:var(--tournament-ink); }
.tournament-profile-page .stats-entity-tabs button[aria-selected='true']::after { background:var(--tournament-green); }
.tournament-profile-page .stats-entity-tabs button:focus-visible { outline:2px solid var(--tournament-green); outline-offset:3px; }

.tournament-profile-page .insights-controls {
  display:flex;
  justify-content:flex-start;
  margin:0 0 18px;
}
.tournament-profile-page .insights-controls[hidden] { display:none; }
.tournament-profile-page .insights-controls .results-stage-switch { margin:0; }

.tournament-profile-page .insights-opening,
.tournament-profile-page .insights-split-band,
.tournament-profile-page .insights-strength-band,
.tournament-profile-page .insights-story-grid,
.tournament-profile-page .insights-country-band,
.tournament-profile-page #teamInsightsSection,
.tournament-profile-page #championSection { padding:38px 0; }
.tournament-profile-page .insights-split-band,
.tournament-profile-page .insights-strength-band { background:transparent; }
.tournament-profile-page .insights-loading { min-height:280px; place-content:center; }
.tournament-profile-page #insightsContent { display:flex; flex-direction:column; }
.tournament-profile-page #insightsContent[hidden] { display:none; }
.tournament-profile-page .insights-opening { order:1; }
.tournament-profile-page .insights-split-band { order:2; }
.tournament-profile-page #championSection { order:3; }
.tournament-profile-page .insights-story-grid { order:4; }
.tournament-profile-page .insights-strength-band { order:5; }
.tournament-profile-page #teamInsightsSection { order:6; }
.tournament-profile-page .insights-country-band { order:7; }
.tournament-profile-page .insights-coverage-band { order:8; }

.tournament-information-intro { display:grid; grid-template-columns:minmax(0, 1.2fr) minmax(280px, .8fr); gap:32px; align-items:start; }
.tournament-information-description { margin:0; color:#4f5c56; font-size:1rem; line-height:1.65; }
.tournament-profile-page .public-banner.tournament-profile-logo {
  width:200px;
  max-width:100%;
  height:112px;
  box-sizing:border-box;
  display:grid;
  place-items:center;
  align-self:center;
  margin:0;
  overflow:hidden;
  border:0;
  background:transparent;
}
.tournament-profile-page .public-banner.tournament-profile-logo img {
  width:100%;
  height:100%;
  border-radius:0;
  object-fit:contain;
  object-position:center;
}
.tournament-profile-identity > div:last-child {
  display:contents;
}
.tournament-profile-identity .tournament-profile-related[hidden] {
  display:none;
}
.tournament-profile-identity .tournament-profile-status {
  position:absolute;
  top:-14px;
  right:12px;
  margin:0;
}
@media (min-width:761px) {
  .tournament-profile-identity:has(> .tournament-profile-logo:not([hidden])) {
    display:grid;
    grid-template-columns:minmax(0, 1fr) 200px;
    column-gap:16px;
    row-gap:8px;
    padding-right:12px;
  }
  .tournament-profile-identity:has(> .tournament-profile-logo:not([hidden])) > div:first-child {
    grid-column:1;
    grid-row:1 / 3;
    align-self:start;
  }
  .tournament-profile-identity:has(> .tournament-profile-logo:not([hidden])) > .tournament-profile-logo {
    grid-column:2;
    grid-row:1;
    justify-self:end;
  }
  .tournament-profile-identity:has(> .tournament-profile-logo:not([hidden])) .tournament-profile-related {
    grid-column:2;
    grid-row:2;
    justify-self:end;
  }
}
.tournament-profile-page #participantsCard .state-actions,
.tournament-profile-page .public-tournament-nav[hidden] { display:none !important; }
.tournament-profile-page #participantsCard .tournament-title-row { display:block; }
.tournament-profile-page #participantsCard .tournament-title-row[hidden] { display:none; }
.tournament-profile-page #participantsCard .tournament-information-copy[hidden] ~ .tournament-facts { margin-top:0; }
.tournament-profile-page #participantsCard #tDesc { max-width:78ch; margin:0; color:#4f5c56; font-size:1rem; line-height:1.65; }
.tournament-profile-page #tOperationalFact > span { display:block; }
.tournament-profile-page #tOperationalFact > span + span { margin-top:5px; }
.tournament-profile-page .tournament-facts.without-operational-data { grid-template-columns:1.15fr 1fr; }
.tournament-profile-page .tournament-source-evidence { color:var(--tournament-muted); font-size:.78rem; }
.tournament-profile-page .public-tournament-main #participantsCard { border-top:1px solid var(--tournament-rule); }
.tournament-profile-page.tournament-media-page .tournament-media-collection { border-top:0; padding-top:0; }

.tournament-information-page .public-tournament-main { padding-top:25px; }
.tournament-information-page .public-tournament-main #participantsCard {
  padding:21px 28px;
  border:0;
  border-radius:8px;
  background:#fff;
}
.tournament-information-page .tournament-facts.without-operational-data { margin-top:22px; }
.tournament-information-page .tournament-facts.without-operational-data .tournament-fact { padding-top:14px; padding-bottom:14px; }
.tournament-information-page .winners-public { margin-top:20px; padding-top:14px; padding-bottom:14px; }
.tournament-information-page .winners-public h2 { margin-bottom:8px; }

@media (max-width:760px) {
  .tournament-profile-page .public-tournament-main { width:min(calc(100% - 24px), 1240px); padding-top:18px; }
  .tournament-information-page .public-tournament-main { padding-top:16px; }
  .tournament-information-page .public-tournament-main #participantsCard { padding:20px 16px; }
  .tournament-information-page .tournament-facts.without-operational-data { margin-top:18px; }
  .tournament-information-page .tournament-facts.without-operational-data .tournament-fact { padding-top:11px; padding-bottom:11px; }
  .tournament-information-page .winners-public { padding-top:12px; padding-bottom:12px; }
  .tournament-profile-header { margin-bottom:20px; }
  .tournament-profile-identity { flex-direction:column; align-items:stretch; gap:12px; margin-bottom:6px; padding:20px 16px 18px; }
  .tournament-profile-header h1 { font-size:clamp(1.8rem, 10vw, 2.75rem); }
  .tournament-profile-meta { gap:5px 11px; font-size:.75rem; }
  .tournament-profile-meta span + span::before { margin-right:11px; }
  .profile-data-loading .tournament-profile-header h1 { width:92%; min-height:88px; }
  .profile-data-loading .tournament-profile-meta { width:86%; min-height:28px; }
  .profile-data-loading .tournament-profile-identity > div:last-child { width:150px; min-height:38px; }
  .profile-data-loading .tournament-view-loading-placeholder { min-height:430px; padding:22px 0 28px; }
  .profile-data-loading .tournament-information-loading-placeholder { min-height:540px; }
  .profile-data-loading .loading-placeholder-heading { width:72%; }
  .profile-data-loading .loading-placeholder-copy { width:94%; }
  .profile-data-loading .loading-placeholder-copy.is-short { width:76%; }
  .profile-data-loading .loading-placeholder-panel { height:138px; }
  .profile-data-loading .loading-placeholder-table { height:170px; }
  .tournament-profile-status { margin-top:0; }
  .tournament-profile-related { justify-self:start; }
  .tournament-profile-nav { position:sticky; top:var(--portal-header-height, 58px); z-index:12; gap:21px; margin:0 -12px; padding:0 12px; background:rgba(244,245,241,.96); backdrop-filter:blur(9px); }
  .tournament-profile-nav.is-compact .tournament-profile-nav-name { display:block; flex:0 0 min(42vw, 170px); overflow:hidden; color:var(--tournament-ink); font-family:Georgia, 'Times New Roman', serif; font-size:.82rem; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }
  .tournament-category-rail { flex-wrap:wrap; overflow:visible; padding-bottom:15px; }
  .tournament-category-rail.has-scope-switch .results-stage-switch { margin-left:0; }
  .tournament-profile-outcome { grid-template-columns:1fr; padding-bottom:24px; }
  .tournament-profile-final { min-width:0; gap:8px; }
  .tournament-profile-final { grid-template-columns:minmax(0, 1fr) minmax(70px, max-content) minmax(0, 1fr); }
  .tournament-profile-final a { font-size:.8rem; }
  .tournament-profile-final-score { min-height:40px; font-size:1.4rem; }
  .tournament-view-toolbar { overflow-x:auto; }
  .tournament-profile-page .results-profile-grid.visible-sections-2,
  .tournament-profile-page .results-profile-grid.visible-sections-3 { grid-template-columns:minmax(0, 1fr); }
  .tournament-profile-page .results-profile-grid.visible-sections-3 [data-result-section='matches'] { grid-column:auto; }
  .tournament-profile-page .result-card { padding:16px 14px; }
  .tournament-profile-page .match-row {
    grid-template-columns:minmax(0, 1fr) 28px minmax(0, 1fr);
    gap:5px 8px;
  }
  .tournament-profile-page .match-row > .vs { display:block; min-width:0; }
  .tournament-profile-page .match-row > div:last-child { grid-column:1 / -1; justify-self:center; }
  .tournament-stats-summary { grid-template-columns:1fr 1fr; }
  .tournament-stats-summary > div:nth-child(3) { grid-column:1 / -1; }
  .tournament-profile-page .stats-entity-tabs { gap:18px; }
  .tournament-profile-page .stats-entity-tabs button { font-size:.95rem; }
  .tournament-information-intro { grid-template-columns:1fr; }
}

.tournament-profile-final-score { background:var(--theme-soft, #edf6f1); border-color:var(--theme-accent, #a8c7b8); }
.tournament-profile-page .results-stage-switch,
.tournament-profile-related { background:var(--theme-secondary-soft, #eef1ee); border-color:var(--line); }
.tournament-profile-page .tournament-category-rail > button[aria-pressed='true'] {
  background:var(--theme-bright, var(--tournament-green-dark));
  color:var(--theme-hero-ink, #fff);
}
.tournament-profile-final-score.team-acta-result-trigger:hover { background:var(--theme-secondary-soft, #e6f1ec); }
@media (max-width:760px) {
  .tournament-profile-nav { background:var(--theme-header, rgba(244,245,241,.96)); }
}
.tournament-information-copy { position:relative; }
.tournament-information-copy:has(.tournament-documents:not([hidden])) { min-height:34px; padding-right:44px; }
.tournament-documents { position:absolute; right:0; top:0; z-index:5; }
.tournament-documents > summary { display:grid; place-items:center; width:32px; height:32px; cursor:pointer; color:var(--muted); border:1px solid var(--line); border-radius:50%; list-style:none; }
.tournament-documents > summary::-webkit-details-marker { display:none; }
.tournament-documents > summary:hover, .tournament-documents[open] > summary { color:var(--ink); background:var(--surface, #fff); }
.tournament-documents-list { position:absolute; top:40px; right:0; width:min(360px, calc(100vw - 48px)); max-height:320px; overflow:auto; padding:14px; background:#fff; color:var(--ink); border:1px solid var(--line); border-radius:6px; box-shadow:0 8px 24px #0002; }
.tournament-documents-list a { display:block; padding:7px 0; font-size:.78rem; font-weight:400; overflow-wrap:anywhere; }
.tournament-documents-list br { display:none; }
.participant-countries { margin-top:16px; }
.participant-countries[hidden], #participantListPanel[hidden] { display:none; }
.participant-countries h3 { margin:0; font-size:.95rem; color:var(--ink); }
.participant-countries > p { margin:5px 0 12px; font-size:.75rem; color:var(--muted); }
.participant-country-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:0 24px; max-height:220px; overflow:auto; }
.participant-country-list > div { display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding:8px 0; border-bottom:1px solid var(--line); font-size:.78rem; }
.participant-country-list strong { color:var(--ink); overflow-wrap:anywhere; }
.participant-country-list span { color:var(--muted); font-variant-numeric:tabular-nums; }

.tournament-profile-page #resultsGrid[hidden],
.tournament-profile-page #resultViewToolbar[hidden],
.tournament-profile-page .public-results-toolbar[hidden] { display: none !important; }

.public-results-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-radius: 50%;
  background: #27834d;
  vertical-align: middle;
}

.public-results-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  color: #247443;
  font-size: .72rem;
  font-weight: 500;
  vertical-align: middle;
  white-space: nowrap;
}
.public-results-live-tag .public-results-live-dot { margin-left: 0; flex: 0 0 6px; }

.tournament-profile-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 9px;
  border: 1px solid #e5dac1;
  border-radius: 999px;
  background: #faf4e8;
  line-height: 1.25;
}
.tournament-profile-status[hidden] { display: none; }
.tournament-profile-status.is-live {
  color: #226b40;
  border-color: #c6dfce;
  background: #edf7f0;
}
.tournament-profile-status.is-live::before {
  content: '';
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #2b8a50;
  animation: tournament-status-pulse 2.4s ease-out infinite;
}
@keyframes tournament-status-pulse {
  0% { box-shadow: 0 0 0 0 rgb(43 138 80 / 35%); opacity: 1; }
  65% { box-shadow: 0 0 0 5px rgb(43 138 80 / 0%); opacity: .75; }
  100% { box-shadow: 0 0 0 5px rgb(43 138 80 / 0%); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .tournament-profile-status.is-live::before { animation: none; }
}

/* A server-provided title is readable while the interactive details load. */
.profile-data-loading .tournament-profile-header h1[data-public-initial-heading] {
  color:inherit; background:transparent; animation:none; width:auto; min-height:0;
}
