:root {
  --ink: #102235;
  --muted: #5d6a77;
  --paper: #f7faf9;
  --line: rgba(16, 34, 53, 0.12);
  --blue: #0068b5;
  --cyan: #00a6d6;
  --green: #159957;
  --red: #db2747;
  --gold: #f4b223;
  --shadow: 0 18px 48px rgba(16, 34, 53, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.42) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px),
    linear-gradient(135deg, rgba(0, 104, 181, 0.16), transparent 38%),
    linear-gradient(225deg, rgba(219, 39, 71, 0.14), transparent 36%),
    var(--paper);
  background-size: 64px 64px, 64px 64px, auto, auto, auto;
}

button,
input,
select {
  font: inherit;
}

.public-hero {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 26px clamp(18px, 5vw, 72px) 92px;
  color: white;
  background:
    linear-gradient(115deg, rgba(0, 87, 184, 0.9), rgba(12, 132, 86, 0.76) 50%, rgba(231, 29, 73, 0.82)),
    url("https://images.unsplash.com/photo-1517927033932-b3d18e61fb3a?auto=format&fit=crop&w=1800&q=80") center 44% / cover;
}

.public-hero::after {
  content: "";
  position: absolute;
  right: 8vw;
  bottom: -62px;
  width: 230px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 28px solid rgba(255, 255, 255, 0.18);
}

nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 900;
}

nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--gold);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin-top: 48px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(244, 178, 35, 0.94);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(2.5rem, 6vw, 5.3rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-content p:last-child {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.24rem);
}

main {
  width: min(1440px, calc(100% - 28px));
  margin: -56px auto 48px;
}

.public-tabs {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(720px, 100%);
  margin-bottom: 14px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.public-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  background: transparent;
  font-weight: 950;
  cursor: pointer;
}

.public-tabs button.active {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.public-view {
  display: none;
}

.public-view.active {
  display: block;
}

.stats-grid,
.layout,
.award-grid,
.insight-grid {
  display: grid;
  gap: 14px;
}

.stats-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 14px;
}

.stats-grid article,
.insight-card,
.panel,
.tournament-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.stats-grid article {
  position: relative;
  overflow: hidden;
  padding: 16px;
}

.stats-grid article::after {
  content: "";
  position: absolute;
  right: -18px;
  top: -24px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 13px solid rgba(0, 104, 181, 0.08);
}

.stats-grid span {
  display: block;
  font-size: clamp(1.18rem, 2.4vw, 1.8rem);
  font-weight: 950;
}

.stats-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 800;
}

.insight-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.insight-card {
  position: relative;
  overflow: hidden;
  min-height: 116px;
  padding: 16px;
}

.insight-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--blue), var(--green), var(--gold));
}

.insight-card span {
  display: block;
  font-size: clamp(1rem, 1.7vw, 1.32rem);
  font-weight: 950;
  line-height: 1.18;
}

.insight-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
}

.tournament-state {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 14px;
  padding: 18px;
}

.tournament-state h2,
.section-title h2 {
  margin: 0;
  letter-spacing: 0;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-weight: 900;
  margin-bottom: 8px;
}

.progress-bar {
  height: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16, 34, 53, 0.09);
}

.progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--gold));
}

.layout {
  grid-template-columns: minmax(0, 0.85fr) minmax(520px, 1.15fr);
  align-items: start;
  margin-bottom: 14px;
}

.ranking-consultation {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.ranking-panel,
.participant-panel {
  width: 100%;
}

.ranking-table-wrap {
  overflow-x: auto;
}

.ranking-table {
  min-width: 1120px;
}

.ranking-table th,
.ranking-table td {
  white-space: nowrap;
}

.ranking-table th:nth-child(2),
.ranking-table td:nth-child(2) {
  min-width: 260px;
}

.ranking-table th:nth-child(3),
.ranking-table td:nth-child(3) {
  min-width: 220px;
}

.ranking-table td:nth-child(2) strong {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.ranking-table tr.ranking-top-1 {
  background: rgba(244, 178, 35, 0.16);
}

.ranking-table tr.ranking-top-2 {
  background: rgba(148, 163, 184, 0.16);
}

.ranking-table tr.ranking-top-3 {
  background: rgba(180, 83, 9, 0.12);
}

.champion-pick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-weight: 850;
}

.muted-dash {
  color: var(--muted);
  font-weight: 900;
}

.qualified-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.panel {
  padding: 18px;
  margin-bottom: 14px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.section-title span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.compact-select {
  width: auto;
  min-width: 210px;
}

.chart-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.chart-shell canvas {
  display: block;
  width: 100%;
  height: 360px;
}

.chart-shell.compact canvas {
  height: 320px;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  background: white;
}

thead {
  background: linear-gradient(90deg, rgba(0, 104, 181, 0.1), rgba(244, 178, 35, 0.14));
}

th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.rank {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green), var(--blue));
}

.group-tables {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
}

.group-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.group-card h3 {
  margin: 0;
  padding: 12px 14px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-size: 1rem;
  letter-spacing: 0;
}

.group-card table {
  min-width: 0;
}

.group-card th,
.group-card td {
  padding: 9px 8px;
  font-size: 0.82rem;
}

.group-card th:not(:first-child),
.group-card td:not(:first-child) {
  text-align: center;
}

.group-card td:first-child {
  font-weight: 850;
}

select,
input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 10px;
  color: var(--ink);
  background: white;
}

.participant-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.participant-summary.wide {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.knockout-controls {
  display: grid;
  grid-template-columns: minmax(240px, 420px);
  gap: 10px;
  margin-bottom: 14px;
}

.knockout-showcase {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
  gap: 16px;
  align-items: start;
}

.knockout-bracket-frame {
  min-width: 0;
  overflow: hidden;
}

.knockout-bracket {
  display: grid;
  grid-template-columns: repeat(6, minmax(250px, 1fr));
  gap: 24px;
  overflow-x: auto;
  padding: 4px 4px 12px;
}

.knockout-bracket-symmetric {
  grid-template-columns:
    minmax(230px, 1fr)
    minmax(220px, 0.96fr)
    minmax(220px, 0.92fr)
    minmax(220px, 0.88fr)
    minmax(250px, 1.04fr)
    minmax(220px, 0.88fr)
    minmax(220px, 0.92fr)
    minmax(220px, 0.96fr)
    minmax(230px, 1fr);
  gap: 18px;
}

.knockout-bracket-visual {
  grid-template-columns:
    minmax(150px, 1fr)
    minmax(150px, 1fr)
    minmax(150px, 1fr)
    minmax(150px, 1fr)
    minmax(170px, 1.08fr)
    minmax(150px, 1fr)
    minmax(150px, 1fr)
    minmax(150px, 1fr)
    minmax(150px, 1fr);
  gap: 10px;
  align-items: stretch;
  padding: 8px 6px 18px;
}

.knockout-bracket-empty {
  grid-template-columns: minmax(260px, 520px);
  justify-content: center;
}

.bracket-round {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  min-width: 150px;
  min-height: 0;
}

.bracket-round:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -22px;
  height: 42%;
  width: 18px;
  border-top: 2px solid rgba(0, 104, 181, 0.24);
  border-right: 2px solid rgba(0, 104, 181, 0.24);
  border-bottom: 2px solid rgba(0, 104, 181, 0.24);
  border-radius: 0 10px 10px 0;
  transform: translateY(-50%);
  pointer-events: none;
}

.knockout-bracket-visual .bracket-round:not(:last-child)::after {
  display: none !important;
  content: "";
  position: absolute;
  top: 50%;
  right: -24px;
  width: 24px;
  height: 2px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 104, 181, 0.3), rgba(212, 175, 55, 0.44));
  transform: translateY(-50%);
  pointer-events: none;
}

.bracket-round h3,
.knockout-detail-round h3 {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-size: 0.95rem;
  font-weight: 950;
  text-align: center;
}

.bracket-round-matches,
.knockout-detail-round {
  display: grid;
  align-content: start;
  gap: 24px;
}

.knockout-bracket-visual .bracket-round-matches {
  align-content: center;
  gap: 8px;
}

.knockout-bracket-visual .bracket-round h3 {
  padding: 8px 10px;
  font-size: 0.78rem;
}

.knockout-bracket-visual .bracket-final-column .bracket-round-matches {
  gap: 12px;
}

.bracket-center .bracket-round-matches {
  gap: 34px;
}

.bracket-final-column .bracket-round-matches {
  align-content: center;
  gap: 18px;
}

.bracket-center-label {
  margin: 2px 0 -8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.hall-of-champions {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(16, 34, 53, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.92)),
    #fff;
  box-shadow: 0 12px 30px rgba(16, 34, 53, 0.1);
}

.hall-title .eyebrow {
  margin-bottom: 8px;
}

.hall-title h3 {
  margin: 0;
  color: var(--ink);
}

.champion-card {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.champion-card span,
.champion-card small,
.hall-row em,
.hall-metrics span {
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 850;
}

.champion-card strong {
  color: var(--ink);
  font-size: 1rem;
}

.world-champion {
  border-color: rgba(244, 178, 35, 0.5);
  background: rgba(244, 178, 35, 0.12);
}

.pool-champion {
  border-color: rgba(0, 104, 181, 0.25);
  background: rgba(0, 104, 181, 0.08);
}

.hall-top-three {
  display: grid;
  gap: 8px;
}

.hall-top-three h4 {
  margin: 2px 0 0;
}

.hall-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.hall-row strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hall-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.hall-metrics div {
  display: grid;
  place-items: center;
  padding: 9px 6px;
  border-radius: 8px;
  background: rgba(226, 232, 240, 0.55);
}

.hall-metrics strong {
  color: var(--ink);
}

.hall-screen {
  overflow: hidden;
}

.hall-of-champions-page {
  position: static;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hall-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 16px;
  margin-bottom: 16px;
}

.hall-feature-card {
  min-height: 190px;
  align-content: center;
  padding: 22px;
}

.hall-feature-card > span {
  font-size: 0.82rem;
  text-transform: uppercase;
}

.hall-feature-card strong {
  font-size: clamp(1.5rem, 3vw, 2.45rem);
  line-height: 1.05;
}

.hall-feature-card small {
  font-size: 0.9rem;
}

.hall-feature-card .team-flag {
  width: 40px;
  height: 30px;
  margin-right: 8px;
  vertical-align: -5px;
}

.hall-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1.15fr);
  gap: 16px;
}

.hall-panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.hall-panel h3 {
  margin: 0 0 12px;
}

.hall-awards-panel {
  grid-column: 1 / -1;
}

.hall-summary-grid,
.hall-awards-grid {
  display: grid;
  gap: 10px;
}

.hall-summary-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hall-summary-grid div,
.hall-award-card {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.hall-summary-grid strong {
  color: var(--ink);
  font-size: 1.45rem;
}

.hall-summary-grid span,
.hall-award-card span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

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

.hall-award-card.filled {
  border-color: rgba(21, 153, 87, 0.35);
  background: rgba(21, 153, 87, 0.08);
}

.hall-award-card strong {
  color: var(--ink);
}

.hall-hero-grid.premium {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 20px;
  margin-bottom: 20px;
}

.hall-feature-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 28px;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}

.hall-world-card {
  border-color: rgba(217, 119, 6, 0.28);
  background:
    radial-gradient(circle at 82% 18%, rgba(251, 191, 36, 0.3), transparent 34%),
    linear-gradient(135deg, #fff8df, #ffffff 58%, #fef3c7);
}

.hall-pool-card {
  border-color: rgba(37, 99, 235, 0.22);
  background:
    radial-gradient(circle at 85% 18%, rgba(59, 130, 246, 0.22), transparent 36%),
    linear-gradient(135deg, #eff6ff, #ffffff 58%, #dbeafe);
}

.hall-kicker {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hall-champion-main,
.hall-pool-main {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  align-content: center;
  min-height: 118px;
}

.hall-champion-main strong,
.hall-pool-main strong {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.02;
}

.hall-big-flag {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 950;
}

.hall-big-flag > span {
  display: none;
}

.hall-big-flag .team-flag {
  width: 76px;
  height: 54px;
  margin: 0;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.16);
}

.hall-trophy-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
  font-size: 1.7rem;
}

.hall-points-badge,
.hall-crowned-badge {
  width: fit-content;
  border-radius: 999px;
  font-weight: 950;
}

.hall-points-badge {
  padding: 8px 16px;
  color: #ffffff;
  background: #2563eb;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.leader-points,
.leader-points *,
.champion-points,
.champion-points * {
  color: #ffffff !important;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

.leader-points,
.champion-points {
  background: #2563eb !important;
  border-radius: 999px;
  font-weight: 800;
  padding: 8px 16px;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
}

.hall-crowned-badge {
  padding: 6px 12px;
  color: #92400e;
  background: rgba(251, 191, 36, 0.22);
  border: 1px solid rgba(217, 119, 6, 0.22);
  font-size: 0.78rem;
}

.hall-mini-metrics {
  position: relative;
  z-index: 1;
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin-top: 8px;
}

.hall-pool-card .hall-mini-metrics {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  overflow: hidden;
  align-items: stretch;
  margin-top: 0;
}

.hall-mini-metrics div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  justify-content: center;
  align-items: center;
  min-width: 0;
  text-align: center;
  overflow: hidden;
  padding: 12px 8px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.hall-mini-metrics strong {
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
}

.hall-mini-metrics span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.1;
  font-weight: 900;
  text-align: center;
  white-space: normal;
  text-transform: uppercase;
  word-break: normal;
}

.hall-grid.premium {
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 20px;
}

.hall-panel {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.hall-panel h3 {
  color: var(--ink);
  font-size: 1.05rem;
}

.hall-top-three {
  gap: 10px;
}

.hall-row {
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: #fff;
}

.hall-row em {
  color: var(--ink);
  font-weight: 950;
}

.hall-row-1 {
  border-left: 5px solid #f59e0b;
  background: #fffbeb;
}

.hall-row-2 {
  border-left: 5px solid #94a3b8;
  background: #f8fafc;
}

.hall-row-3 {
  border-left: 5px solid #b45309;
  background: #fff7ed;
}

.hall-summary-grid {
  grid-template-columns: repeat(5, minmax(112px, 1fr));
}

.hall-kpi {
  justify-items: center;
  align-content: center;
  min-height: 142px;
  text-align: center;
}

.hall-kpi i,
.hall-award-card i {
  font-style: normal;
  line-height: 1;
}

.hall-kpi i {
  font-size: 1.9rem;
}

.hall-kpi strong {
  color: var(--ink);
  font-size: 1.55rem;
}

.hall-kpi span {
  max-width: 110px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.hall-awards-panel {
  padding: 18px;
}

.hall-awards-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.hall-award-card {
  min-height: 190px;
  align-content: center;
  justify-items: center;
  text-align: center;
  border-radius: 14px;
}

.hall-award-card i {
  margin-bottom: 4px;
  font-size: 2rem;
}

.hall-award-card span {
  text-transform: uppercase;
}

.hall-award-card strong {
  font-size: 0.95rem;
  line-height: 1.2;
}

.hall-feature-card.hall-world-card,
.hall-feature-card.hall-pool-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: center;
  align-content: center;
  column-gap: 36px;
  row-gap: 12px;
  min-height: 350px;
  border-width: 1px;
}

.hall-feature-card.hall-pool-card {
  grid-template-columns: 260px minmax(0, 1fr);
}

.champion-user-card-content {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: center;
  column-gap: 36px;
  row-gap: 12px;
  height: 100%;
}

.hall-feature-card.hall-pool-card.champion-user-card-content {
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: center;
  align-content: center;
  column-gap: 36px;
  row-gap: 12px;
  height: 100%;
}

.champion-user-image-wrap {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: center;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.champion-user-info {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.hall-illustration,
.hall-card-copy {
  position: relative;
  z-index: 1;
}

.hall-illustration {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 220px;
  height: 220px;
  min-height: 0;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(145deg, #071827, #0b2033);
  box-shadow: 0 24px 48px rgba(7, 24, 39, 0.24);
}

.hall-gold-illustration.muted {
  opacity: 1;
}

.hall-world-card .hall-illustration,
.hall-pool-card .hall-illustration {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: center;
  width: 260px;
  height: 260px;
}

.hall-world-card .hall-card-copy,
.hall-pool-card .hall-card-copy {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}

.hall-main-icon,
.hall-kpi-icon,
.hall-award-icon,
.hall-small-icon,
.hall-medal-icon,
.hall-flag-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  backdrop-filter: none;
}

.hall-small-icon {
  width: 100%;
  height: 100%;
}

.hall-card-copy {
  min-width: 0;
  align-self: end;
}

.hall-pool-card .hall-card-copy {
  align-self: end;
}

.hall-card-copy .hall-kicker {
  display: block;
  margin-bottom: 10px;
  color: #92400e;
}

.hall-pool-card .hall-card-copy .hall-kicker {
  color: #1d4ed8;
}

.hall-big-flag .hall-flag-shield {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 96px;
  height: 72px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: #f8fafc;
  background: linear-gradient(145deg, #071827, #0b2033);
  font-size: 0.95rem;
  font-weight: 950;
  letter-spacing: 0.06em;
}

.hall-flag-icon {
  width: 100%;
  height: 100%;
}

.hall-flag-shield em {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -39%);
  color: #f8fafc;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 950;
}

.hall-trophy-mark {
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(145deg, #071827, #0b2033);
}

.hall-medal-badge {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(145deg, #071827, #0b2033);
}

.hall-medal-icon {
  width: 100%;
  height: 100%;
}

.hall-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin-bottom: 2px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(145deg, #071827, #0b2033);
}

.hall-kpi i,
.hall-award-card i {
  font-size: unset;
}

.hall-kpi-icon {
  width: 100%;
  height: 100%;
}

.hall-award-card i {
  display: grid;
  place-items: center;
  width: 130px;
  height: 130px;
  margin: 0 0 10px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(145deg, #071827, #0b2033);
}

.hall-award-icon {
  width: 100%;
  height: 100%;
}

.bracket-empty {
  min-height: 116px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(100, 116, 139, 0.42);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(226, 232, 240, 0.45);
  font-weight: 900;
  text-align: center;
}

.bracket-match {
  position: relative;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.92)),
    #fff;
  box-shadow: 0 10px 24px rgba(16, 34, 53, 0.08);
}

.visual-bracket-match {
  gap: 5px;
  min-height: 0;
  padding: 8px;
  border-color: rgba(16, 34, 53, 0.11);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94)),
    #ffffff;
  box-shadow: 0 16px 34px rgba(16, 34, 53, 0.1);
}

.visual-bracket-match::after {
  display: none !important;
  content: "";
  position: absolute;
  top: 50%;
  right: -29px;
  width: 28px;
  height: 2px;
  border: 0;
  background: rgba(0, 104, 181, 0.22);
  transform: translateY(-50%);
}

.bracket-round:last-child .visual-bracket-match::after,
.bracket-champion-round .visual-bracket-match::after {
  display: none !important;
}

.visual-bracket-match.is-played {
  border-color: rgba(34, 197, 94, 0.32);
}

.visual-bracket-match.is-penalties {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 16px 34px rgba(212, 175, 55, 0.12);
}

.visual-match-head,
.visual-match-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
}

.visual-match-head > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visual-match-head {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.visual-status,
.penalty-badge {
  display: inline-grid;
  max-width: 100%;
  min-height: 24px;
  place-items: center;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visual-status {
  flex: 0 1 auto;
  min-width: 0;
}

.visual-status-pending {
  color: #334155;
  background: #E2E8F0;
}

.visual-status-played {
  color: #FFFFFF;
  background: #16A34A;
}

.visual-status-penalties,
.penalty-badge {
  color: #0F172A;
  background: linear-gradient(135deg, #FDE68A, #F59E0B);
}

.visual-team-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  min-height: 29px;
  padding: 5px 7px;
  border: 1px solid rgba(16, 34, 53, 0.08);
  border-left: 4px solid transparent;
  border-radius: 8px;
  background: #FFFFFF;
  transition: opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.visual-team-row strong {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 850;
}

.visual-team-row strong span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visual-team-row .team-flag {
  width: 18px;
  height: 13px;
}

.visual-team-row.is-winner {
  border-left-color: #D4AF37;
  border-color: rgba(212, 175, 55, 0.46);
  background: linear-gradient(90deg, rgba(254, 243, 199, 0.72), #FFFFFF 68%);
}

.visual-team-row.is-winner strong {
  font-weight: 950;
}

.visual-team-row.is-loser {
  opacity: 0.56;
}

.visual-score {
  display: inline-grid;
  min-width: 30px;
  min-height: 26px;
  place-items: center;
  border: 1px solid #CBD5E1;
  border-radius: 7px;
  color: #0F172A;
  background: #E2E8F0;
  font-weight: 950;
  line-height: 1;
}

.visual-score small {
  color: #475569;
  font-size: 0.62rem;
  font-weight: 950;
}

.visual-match-footer {
  color: var(--muted);
  justify-content: flex-end;
  font-size: 0.68rem;
  font-weight: 850;
}

.bracket-pending-card,
.bracket-champion-card {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 0;
  padding: 12px;
  border: 1px dashed rgba(100, 116, 139, 0.35);
  border-radius: 12px;
  color: var(--muted);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94)),
    #FFFFFF;
  box-shadow: 0 14px 30px rgba(16, 34, 53, 0.08);
  text-align: center;
}

.bracket-pending-icon,
.bracket-champion-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(145deg, #071827, #0b2033);
}

.bracket-pending-icon img,
.bracket-champion-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bracket-pending-card strong,
.bracket-champion-card strong {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
}

.bracket-pending-card small,
.bracket-champion-card small {
  max-width: 210px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.35;
}

.bracket-champion-card.has-champion {
  border-style: solid;
  border-color: rgba(212, 175, 55, 0.42);
  background: linear-gradient(180deg, rgba(255, 251, 235, 0.95), #FFFFFF);
}

.bracket-match.qualifier-hit {
  border-color: #22C55E;
  background: #ECFDF5;
}

.bracket-match.qualifier-miss {
  border-color: #EF4444;
  background: #FEF2F2;
}

.bracket-round:not(:last-child) .bracket-match:not(.visual-bracket-match)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -29px;
  width: 28px;
  border-top: 2px solid rgba(0, 104, 181, 0.24);
}

.bracket-round:last-child .bracket-match:not(.visual-bracket-match)::after {
  display: none;
}

.bracket-round::before,
.knockout-bracket:not(.knockout-bracket-visual) .bracket-round::after,
.bracket-match::before,
.bracket-match:not(.visual-bracket-match)::after {
  display: none !important;
}

.bracket-match-top,
.bracket-match-bottom,
.bracket-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bracket-match-top {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.bracket-match-top .status-pill {
  min-width: 65px;
  padding: 4px 8px;
  font-size: 0.7rem;
  text-transform: none;
}

.bracket-team {
  min-height: 34px;
  border-radius: 7px;
  padding: 9px 10px;
  background: white;
  border: 1px solid rgba(16, 34, 53, 0.08);
}

.bracket-team strong {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
}

.team-flag {
  flex: 0 0 auto;
  width: 22px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12);
}

.bracket-score {
  display: inline-grid;
  min-width: 30px;
  min-height: 28px;
  place-items: center;
  border-radius: 6px;
  border: 1px solid #CBD5E1;
  color: #0F172A;
  background: #E2E8F0;
  font-weight: 950;
}

.bracket-match-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 950;
}

.bracket-official-result {
  min-width: 0;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bracket-points {
  display: inline-grid;
  min-width: 64px;
  min-height: 26px;
  place-items: center;
  border-radius: 999px;
  padding: 2px 8px;
  color: #0F172A;
  background: #E2E8F0;
  border: 1px solid #CBD5E1;
  font-weight: 950;
  white-space: nowrap;
}

.ranking-medal {
  display: inline-block;
  width: 1.65em;
  margin-right: 4px;
}

.knockout-detail-table-wrap {
  margin-top: 0;
}

.knockout-detail-table {
  min-width: 1120px;
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
}

.knockout-detail-table th {
  padding: 10px 12px;
  white-space: nowrap;
  vertical-align: middle;
}

.knockout-detail-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.knockout-detail-table th:nth-child(1),
.knockout-detail-table td:nth-child(1) {
  width: 18%;
}

.knockout-detail-table th:nth-child(2),
.knockout-detail-table td:nth-child(2) {
  width: 8%;
}

.knockout-detail-table th:nth-child(3),
.knockout-detail-table td:nth-child(3),
.knockout-detail-table th:nth-child(4),
.knockout-detail-table td:nth-child(4) {
  width: 22%;
}

.knockout-detail-table th:nth-child(3),
.knockout-detail-table td:nth-child(3) {
  padding-left: 16px;
}

.knockout-detail-table th:nth-child(5),
.knockout-detail-table td:nth-child(5) {
  width: 7%;
  text-align: center;
}

.knockout-detail-table th:nth-child(6),
.knockout-detail-table td:nth-child(6) {
  width: 9%;
  text-align: center;
}

.knockout-detail-table th:nth-child(7),
.knockout-detail-table td:nth-child(7) {
  width: 14%;
}

.knockout-detail-table td span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.knockout-detail-table .status-pill {
  color: white;
}

.knockout-detail-table .status-pill.neutral {
  color: #0F172A;
}

.knockout-detail-table .status-pill.exact,
.knockout-detail-table .status-pill.correct,
.knockout-detail-table .status-pill.outcome,
.knockout-detail-table .status-pill.miss,
.knockout-detail-table .status-pill.pending {
  color: #FFFFFF;
}

.knockout-round-separator td {
  padding: 10px 12px;
  border-bottom: 0;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-weight: 950;
}

.knockout-detail-table td.detail-badges {
  display: table-cell;
  vertical-align: middle;
}

.detail-badge-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  gap: 4px;
  min-width: 0;
}

.detail-badge-wrap .status-pill {
  margin: 0;
  min-width: auto;
  padding: 4px 7px;
  font-size: 0.72rem;
}

.score-breakdown {
  display: grid;
  gap: 3px;
  min-width: 0;
  line-height: 1.18;
  padding: 2px 0;
}

.score-breakdown strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.score-breakdown span {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 750;
}

.score-breakdown .qualifier-line {
  margin-top: 3px;
  color: var(--ink);
  font-weight: 900;
}

.score-breakdown .metrics-line {
  white-space: normal;
}

.score-breakdown.empty {
  color: var(--muted);
  font-weight: 850;
}

.points-cell,
.status-cell {
  text-align: center;
  vertical-align: middle;
}

.points-cell strong {
  display: inline-grid;
  min-width: 34px;
  min-height: 30px;
  place-items: center;
  border-radius: 7px;
  color: #0F172A;
  background: #E2E8F0;
}

.form-status {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(0, 104, 181, 0.08);
  font-weight: 800;
}

.knockout-public-form,
.knockout-public-list {
  display: grid;
  gap: 12px;
}

#knockoutPredictionFields {
  display: grid;
  gap: 12px;
}

.knockout-form-card,
.knockout-result-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.knockout-form-card {
  grid-template-columns: minmax(220px, 1.4fr) repeat(5, minmax(92px, 1fr));
  align-items: end;
}

.knockout-form-card > div,
.knockout-result-card > div:first-child {
  display: grid;
  gap: 4px;
}

.knockout-form-card span,
.knockout-result-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.knockout-form-card label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
}

.submit-button {
  justify-self: start;
  min-height: 42px;
  border: 0;
  border-radius: 7px;
  padding: 0 18px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-weight: 900;
  cursor: pointer;
}

.submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.knockout-result-card dl {
  display: grid;
  grid-template-columns: minmax(180px, 1.25fr) minmax(180px, 1.25fr) 80px 100px minmax(220px, 1.2fr);
  gap: 10px;
  margin: 0;
}

.knockout-result-card div {
  min-width: 0;
}

.knockout-result-card dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.knockout-result-card dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.summary-pill,
.award-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.summary-pill {
  padding: 12px;
}

.summary-pill strong {
  display: block;
  font-size: 1.35rem;
}

.summary-pill span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.award-grid {
  grid-template-columns: 1fr;
}

.award-card {
  padding: 10px;
  border-left: 5px solid var(--gold);
}

.award-card.hit {
  border-left-color: var(--green);
  background: rgba(21, 153, 87, 0.08);
}

.award-card strong,
.award-card span {
  display: block;
}

.award-card span {
  margin-top: 2px;
  color: var(--muted);
  font-weight: 800;
}

.participant-final-projection {
  margin-bottom: 14px;
}

.final-projection-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 5px solid #64748b;
  border-radius: 8px;
  background: #f8fafc;
}

.final-projection-card.hit {
  border-left-color: #16a34a;
  background: #ecfdf5;
}

.final-projection-card.miss {
  border-left-color: #dc2626;
  background: #fef2f2;
}

.final-projection-heading,
.final-projection-teams {
  display: flex;
  align-items: center;
  gap: 10px;
}

.final-projection-heading {
  justify-content: space-between;
  flex-wrap: wrap;
}

.final-projection-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

.final-projection-status {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.final-projection-teams {
  margin-top: 10px;
  flex-wrap: wrap;
  color: var(--muted);
}

.final-projection-teams strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.final-projection-empty {
  font-weight: 800;
}

.qualified-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qualified-list span {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  font-weight: 900;
}

.qualified-list small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.classified-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.classified-count,
.classified-hit-total {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: white;
  font-size: 0.78rem;
  font-weight: 850;
}

.classified-count strong {
  font-size: 0.82rem;
  line-height: 1;
}

.classified-count.ok {
  border-color: #7BC67B;
  background: #E8F7EC;
}

.classified-count.miss {
  border-color: #E88A8A;
  background: #FDECEC;
}

.classified-count.omitted {
  border-color: #F4C542;
  background: #FFF8E1;
}

.classified-hit-total {
  border-color: rgba(0, 104, 181, 0.2);
  background: rgba(0, 104, 181, 0.07);
}

.classified-compare-list {
  gap: 9px;
}

.qualified-list .classified-chip {
  min-width: 145px;
  border-width: 1px;
  color: var(--ink);
}

.classified-chip strong {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.2;
}

.classified-chip em {
  display: inline-grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.75);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 950;
}

.qualified-list .classified-hit {
  border-color: #7BC67B;
  background: #E8F7EC;
}

.qualified-list .classified-miss {
  border-color: #E88A8A;
  background: #FDECEC;
}

.qualified-list .classified-omitted {
  border-color: #F4C542;
  background: #FFF8E1;
}

.match-meta,
.teams {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.match-meta {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.teams {
  align-items: center;
}

.teams strong {
  flex: 1;
}

.teams strong:last-child {
  text-align: right;
}

.teams span {
  color: var(--red);
  font-weight: 950;
}

.points-pill {
  display: inline-flex;
  justify-content: center;
  min-width: 58px;
  padding: 4px 8px;
  border-radius: 999px;
  color: white;
  background: var(--blue);
  font-weight: 900;
}

.accuracy-pill,
.status-pill {
  display: inline-flex;
  justify-content: center;
  min-width: 72px;
  padding: 5px 9px;
  border-radius: 999px;
  color: white;
  background: var(--blue);
  font-size: 0.78rem;
  font-weight: 950;
}

.status-pill.exact {
  color: #FFFFFF;
  background: #2563EB;
}

.status-pill.correct,
.status-pill.outcome {
  color: #FFFFFF;
  background: #16A34A;
}

.status-pill.miss {
  color: #FFFFFF;
  background: #DC2626;
}

.status-pill.pending {
  color: #FFFFFF;
  background: #64748B;
}

.status-pill.neutral {
  color: #0F172A;
  background: #E2E8F0;
}

.comparison-wrap {
  overflow: auto;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.comparison-wrap h3 {
  margin: 0;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}

.comparison-wrap table {
  min-width: 650px;
}

.comparison-wrap th,
.comparison-wrap td {
  padding: 10px 9px;
  font-size: 0.8rem;
}

.empty-state {
  padding: 28px;
  border: 1px dashed rgba(0, 104, 181, 0.34);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.68);
  font-weight: 800;
  text-align: center;
}

@media (max-width: 1050px) {
  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .layout,
  .qualified-layout,
  .knockout-showcase,
  .tournament-state {
    grid-template-columns: 1fr;
  }

  .hall-of-champions {
    position: static;
  }

  .hall-hero-grid,
  .hall-grid {
    grid-template-columns: 1fr;
  }

  .hall-summary-grid,
  .hall-awards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .participant-summary.wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .knockout-controls,
  .knockout-form-card,
  .knockout-result-card dl {
    grid-template-columns: 1fr;
  }

  .knockout-bracket {
    grid-template-columns: repeat(6, minmax(240px, 240px));
  }

  .knockout-bracket.knockout-bracket-visual {
    grid-template-columns: repeat(9, minmax(160px, 190px));
  }

  .knockout-bracket.knockout-bracket-symmetric {
    grid-template-columns: repeat(9, minmax(220px, 240px));
  }

  .bracket-round:nth-child(n) .bracket-round-matches {
    padding-top: 0;
  }
}

@media (max-width: 620px) {
  main {
    width: min(100% - 18px, 1440px);
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hall-summary-grid,
  .hall-awards-grid {
    grid-template-columns: 1fr;
  }

  .hall-feature-card.hall-world-card,
  .hall-feature-card.hall-pool-card {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 16px;
  }

  .champion-user-card-content {
    grid-template-columns: 1fr;
    row-gap: 16px;
    height: auto;
  }

  .hall-feature-card.hall-pool-card.champion-user-card-content {
    grid-template-columns: 1fr;
    row-gap: 16px;
    height: auto;
  }

  .champion-user-image-wrap,
  .champion-user-info {
    grid-column: 1;
    grid-row: auto;
  }

  .champion-user-info {
    align-items: center;
    align-self: center;
    text-align: center;
  }

  .hall-illustration {
    justify-self: center;
  }

  .hall-world-card .hall-illustration {
    width: min(260px, 100%);
    height: auto;
    aspect-ratio: 1;
  }

  .hall-pool-card .hall-illustration {
    width: min(260px, 100%);
    height: auto;
    aspect-ratio: 1;
  }

  .hall-mini-metrics,
  .hall-pool-card .hall-mini-metrics {
    grid-column: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-title {
    display: block;
  }

  .section-title input,
  .section-title select {
    margin-top: 10px;
  }

  .bracket-official-result {
    white-space: normal;
  }

  .knockout-bracket.knockout-bracket-visual {
    grid-template-columns: 1fr;
    overflow-x: visible;
    gap: 18px;
    padding: 0;
  }

  .knockout-bracket-visual .bracket-round {
    min-width: 0;
  }

  .knockout-bracket-visual .bracket-round::after,
  .visual-bracket-match::after {
    display: none !important;
  }

  .visual-bracket-match,
  .bracket-pending-card,
  .bracket-champion-card {
    min-height: 0;
  }

  .compact-select {
    width: 100%;
  }

  .insight-grid {
    grid-template-columns: 1fr;
  }

  .chart-shell canvas,
  .chart-shell.compact canvas {
    height: 300px;
  }

  .participant-summary.wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .submit-button {
    width: 100%;
  }
}
