/* Central do Campeonato — CSS isolado (não altera .card/.btn globais) */

.championship-dashboard {
  --cd-panel: rgba(10, 12, 22, 0.88);
  --cd-border: rgba(191, 0, 255, 0.22);
  --cd-border-cyan: rgba(0, 191, 255, 0.22);
  --cd-glow: 0 0 28px rgba(191, 0, 255, 0.12);
  display: grid;
  gap: 1.1rem;
  animation: cd-fade 0.35s var(--ease, ease) both;
}

@keyframes cd-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes cd-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.championship-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: 0;
  color: #b39ddb;
  font: inherit;
  cursor: pointer;
  padding: 0;
  margin-bottom: 0.35rem;
}

.championship-back:hover {
  color: #e0aaff;
}

.championship-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.2rem;
  padding: 1.25rem 1.35rem;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(20, 10, 36, 0.95), rgba(8, 14, 28, 0.92));
  border: 1px solid var(--cd-border);
  box-shadow: var(--cd-glow);
  position: relative;
  overflow: hidden;
}

.championship-hero::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -10%;
  width: 55%;
  height: 120%;
  background: radial-gradient(circle, rgba(191, 0, 255, 0.16), transparent 70%);
  pointer-events: none;
}

.championship-hero-main {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.championship-title {
  margin: 0;
  font-family: var(--font-display, Orbitron, sans-serif);
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #e0aaff, #00e5ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.championship-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.championship-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.championship-badge.is-open {
  background: rgba(0, 230, 150, 0.12);
  color: #5dffb0;
  border-color: rgba(0, 230, 150, 0.28);
}

.championship-badge.is-live {
  background: rgba(0, 160, 255, 0.14);
  color: #7ad7ff;
  border-color: rgba(0, 160, 255, 0.3);
}

.championship-badge.is-done {
  background: rgba(160, 100, 255, 0.14);
  color: #d4b3ff;
  border-color: rgba(160, 100, 255, 0.3);
}

.championship-badge.is-cancel {
  background: rgba(255, 70, 90, 0.12);
  color: #ff8f9a;
  border-color: rgba(255, 70, 90, 0.28);
}

.championship-badge.is-sim {
  background: rgba(191, 0, 255, 0.16);
  color: #e0aaff;
  border-color: rgba(191, 0, 255, 0.32);
}

.championship-meta-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1rem;
}

.championship-meta-item {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.championship-meta-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: #00bfff;
  fill: none;
  stroke-width: 1.7;
  margin-top: 2px;
}

.championship-meta-item strong {
  display: block;
  font-size: 0.72rem;
  color: var(--muted, #a8a8b3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.championship-meta-item span {
  font-size: 0.92rem;
  font-weight: 600;
}

.championship-hero-aside {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.championship-trophy {
  width: 110px;
  height: 110px;
  animation: cd-float 4s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(191, 0, 255, 0.35));
}

.championship-info-card {
  width: 100%;
  min-width: 180px;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--cd-border-cyan);
  font-size: 0.78rem;
  display: grid;
  gap: 0.35rem;
}

.championship-info-card div {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
}

.championship-info-card em {
  color: var(--muted, #a8a8b3);
  font-style: normal;
}

.championship-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.championship-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0;
}

.championship-tab {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted, #a8a8b3);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 0.1rem 0.65rem;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.championship-tab:hover {
  color: #fff;
}

.championship-tab.is-active {
  color: #e0aaff;
  border-bottom-color: #00bfff;
}

.championship-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1rem;
  align-items: start;
}

.championship-main {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.championship-side {
  display: grid;
  gap: 1rem;
}

.cd-panel {
  padding: 1rem 1.05rem;
  border-radius: 16px;
  background: var(--cd-panel);
  border: 1px solid var(--cd-border);
  animation: cd-fade 0.4s ease both;
}

.cd-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.cd-panel-head h3 {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c4b5fd;
}

.cd-link {
  appearance: none;
  background: none;
  border: 0;
  color: #7ad7ff;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.cd-link:hover {
  color: #b8f0ff;
}

.cd-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 0.55rem;
}

.cd-team-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.4rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.cd-team-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 191, 255, 0.35);
  box-shadow: 0 0 16px rgba(191, 0, 255, 0.15);
}

.cd-team-tile img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
}

.cd-team-tile strong {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.cd-game-list {
  display: grid;
  gap: 0.55rem;
}

.cd-game-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem 0.8rem;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.25s ease;
}

.cd-game-row:hover {
  border-color: rgba(191, 0, 255, 0.28);
}

.cd-game-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.72rem;
  color: var(--muted, #a8a8b3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cd-game-match {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cd-game-side {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  min-width: 4.5rem;
}

.cd-game-side img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 5px;
}

.cd-game-score {
  font-family: var(--font-display, Orbitron, sans-serif);
  font-size: 0.95rem;
  min-width: 3.2rem;
  text-align: center;
}

.cd-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 560px;
}

.cd-table th {
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted, #a8a8b3);
  padding: 0.45rem 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.cd-table td {
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

.cd-table tr.is-champ {
  background: linear-gradient(90deg, rgba(191, 0, 255, 0.12), transparent 70%);
}

.cd-table tr.is-podium-2 {
  background: rgba(0, 191, 255, 0.05);
}

.cd-table tr.is-podium-3 {
  background: rgba(255, 255, 255, 0.02);
}

.cd-table .cd-team-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
}

.cd-table .cd-team-cell img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 5px;
}

.cd-highlight {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cd-highlight:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.cd-highlight-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0, 191, 255, 0.35);
  box-shadow: 0 0 12px rgba(191, 0, 255, 0.2);
}

.cd-highlight strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c4b5fd;
}

.cd-highlight span {
  font-weight: 700;
}

.cd-highlight small {
  display: block;
  color: var(--muted, #a8a8b3);
  font-size: 0.78rem;
}

.cd-about p {
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
  color: var(--muted, #a8a8b3);
}

.cd-about p strong {
  color: #fff;
  font-weight: 600;
}

.championship-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(191, 0, 255, 0.18), rgba(0, 191, 255, 0.12));
  border: 1px solid rgba(191, 0, 255, 0.35);
  box-shadow: 0 0 24px rgba(191, 0, 255, 0.12);
}

.championship-cta h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.championship-cta p {
  margin: 0;
  color: var(--muted, #a8a8b3);
  font-size: 0.88rem;
}

.cd-rounds {
  display: grid;
  gap: 1rem;
}

.cd-round-block h4 {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7ad7ff;
}

.cd-empty {
  padding: 1.2rem;
  text-align: center;
  color: var(--muted, #a8a8b3);
  font-size: 0.9rem;
}

.cd-skel {
  height: 72px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  background-size: 200% 100%;
  animation: cd-skel 1.2s ease infinite;
}

@keyframes cd-skel {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@media (max-width: 1100px) {
  .championship-layout {
    grid-template-columns: 1fr;
  }
  .championship-meta-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .championship-hero {
    grid-template-columns: 1fr;
  }
  .championship-meta-row {
    grid-template-columns: 1fr;
  }
  .championship-tabs {
    gap: 0.1rem 0.75rem;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .cd-game-row {
    grid-template-columns: 1fr;
  }
}
