@charset "UTF-8";
/**
 * FutebolDA — Championship Page Styles
 *
 * Visual based on noataque theme campeonato.css.
 * Uses "Barlow Semi Condensed" + "Inter" fonts.
 *
 * @package FutebolDA
 * @since   0.5.0
 */
@import url("https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@400;600;700&family=Inter:wght@400;600;700&display=swap");
/* ── Championship Header ─────────────────────── */
.fda-champ-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 0 20px;
}
@media screen and (max-width: 900px) {
  .fda-champ-header {
    padding: 20px 0 15px;
  }
}

.fda-champ-logo {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  margin-bottom: 12px;
}
.fda-champ-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media screen and (max-width: 900px) {
  .fda-champ-logo {
    width: 60px;
    height: 60px;
  }
}

.fda-champ-title {
  margin: 0 0 10px;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
  color: var(--fda-primary);
  text-align: center;
}
@media screen and (max-width: 900px) {
  .fda-champ-title {
    font-size: 1.75rem;
    line-height: normal;
  }
}

/* ── Tabs override (Tabela / Notícias) ───────── */
.fda-championship-page .fda-tabs {
  border-bottom: 1px solid var(--fda-primary-light);
  margin-bottom: 0;
  justify-content: center;
  gap: 0;
}
.fda-championship-page .fda-tab {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 18px;
  font-weight: 600;
  padding: 10px 30px;
  color: var(--fda-text-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}
.fda-championship-page .fda-tab:hover {
  color: var(--fda-primary);
}
.fda-championship-page .fda-tab.fda-active {
  color: var(--fda-primary);
  border-bottom-color: var(--fda-primary);
}

/* ── Stage Navigation (Carousel) ─────────────── */
.fda-stage-nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--fda-primary-light);
  margin-bottom: 0;
  padding: 0;
  gap: 0;
}

.fda-stage-prev,
.fda-stage-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: var(--fda-radius-sm);
  background: transparent;
  cursor: pointer;
  color: var(--fda-text-muted);
  transition: all 0.15s;
  flex-shrink: 0;
  padding: 0;
}
.fda-stage-prev:hover,
.fda-stage-next:hover {
  color: var(--fda-primary);
}

.fda-stage-selector {
  flex: 1;
  text-align: center;
}

.fda-stage-select {
  width: 100%;
  padding: 10px 15px;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 29px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--fda-primary);
  cursor: pointer;
  text-align: center;
  text-align-last: center;
  appearance: none;
  -webkit-appearance: none;
  max-height: 50px;
}

.fda-stage-panel {
  display: none;
}
.fda-stage-panel.fda-active {
  display: block;
}

/* ── Standings Table ─────────────────────────── */
.fda-standings {
  margin-bottom: var(--fda-gap-lg);
}

.fda-standings-group-title {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 24px;
  color: var(--fda-primary);
  text-align: center;
  margin: 0;
  padding: 8px 12px;
  border-bottom: 1px solid var(--fda-primary-light);
}

.fda-standings-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--fda-primary-light) #fff;
}
@media screen and (max-width: 900px) {
  .fda-standings-table-wrap {
    position: relative;
    overflow-x: scroll;
    overflow-y: visible;
  }
}

.fda-standings-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  /* ── thead ───── */
  /* ── tbody cells ───── */
  /* ── Alternating rows ───── */
  /* ── Hover ───── */
}
@media screen and (max-width: 900px) {
  .fda-standings-table {
    font-size: 12px;
  }
}
@media (max-width: 600px) {
  .fda-standings-table {
    min-width: 650px;
  }
}
.fda-standings-table thead tr {
  background-color: var(--fda-primary-bg);
}
.fda-standings-table th {
  padding: 8px 15px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--fda-primary);
  background-color: var(--fda-primary-bg);
  border-top: 1px solid var(--fda-primary-light);
  border-bottom: 1px solid var(--fda-primary-light);
  white-space: nowrap;
  text-align: center;
}
.fda-standings-table th:last-child {
  padding-right: 15px;
}
.fda-standings-table th.fda-st-team {
  text-align: left;
}
@media (max-width: 600px) {
  .fda-standings-table th.fda-st-team {
    position: sticky;
    left: 40px;
    z-index: 3;
    background-color: var(--fda-primary-bg);
  }
}
.fda-standings-table th.fda-st-pos {
  width: 40px;
  min-width: 40px;
  padding-left: 14px;
}
@media (max-width: 600px) {
  .fda-standings-table th.fda-st-pos {
    position: sticky;
    left: 0;
    z-index: 3;
    background-color: var(--fda-primary-bg);
  }
}
@media screen and (max-width: 900px) {
  .fda-standings-table th {
    padding: 8px;
  }
}
.fda-standings-table td {
  padding: 8px 15px;
  border-bottom: 1px solid var(--fda-primary-light);
  text-align: center;
  white-space: nowrap;
  background-color: #fff;
  height: 36px;
}
.fda-standings-table td:last-child {
  padding-right: 15px;
}
.fda-standings-table td.fda-st-team {
  text-align: left;
  position: relative;
  width: auto;
}
@media screen and (max-width: 900px) {
  .fda-standings-table td.fda-st-team img {
    width: 26px;
    height: 26px;
    margin: 0 6px 0 0;
  }
}
@media screen and (max-width: 900px) {
  .fda-standings-table td.fda-st-team .fda-st-team-fullname {
    display: none;
  }
}
@media screen and (max-width: 900px) {
  .fda-standings-table td.fda-st-team .fda-st-team-shortname {
    display: inline;
    font-size: 10px;
  }
}
@media (max-width: 600px) {
  .fda-standings-table td.fda-st-team {
    position: sticky;
    left: 40px;
    z-index: 3;
    background-color: #fff;
  }
  .fda-standings-table td.fda-st-team::after {
    content: "";
    position: absolute;
    top: 0;
    right: -6px;
    bottom: 0;
    width: 6px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.06), transparent);
    pointer-events: none;
  }
}
.fda-standings-table td.fda-st-pos {
  font-weight: 700;
  width: 40px;
  min-width: 40px;
  position: relative;
  padding-left: 14px;
  /* Zone classification bar */
}
.fda-standings-table td.fda-st-pos::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--zone-color, transparent);
  pointer-events: none;
}
@media (max-width: 600px) {
  .fda-standings-table td.fda-st-pos {
    position: sticky;
    left: 0;
    z-index: 3;
    background-color: #fff;
  }
}
.fda-standings-table td.fda-st-pts {
  font-weight: 700;
}
@media screen and (max-width: 900px) {
  .fda-standings-table td {
    padding: 8px;
  }
}
.fda-standings-table tbody tr:nth-child(even) td {
  background-color: var(--fda-primary-bg);
}
@media (max-width: 600px) {
  .fda-standings-table tbody tr:nth-child(even) td.fda-st-pos, .fda-standings-table tbody tr:nth-child(even) td.fda-st-team {
    background-color: var(--fda-primary-bg);
  }
}
.fda-standings-table tr:hover td {
  background: color-mix(in srgb, var(--fda-primary-bg) 80%, var(--fda-primary-light));
}
@media (max-width: 600px) {
  .fda-standings-table tr:hover td.fda-st-pos, .fda-standings-table tr:hover td.fda-st-team {
    background: color-mix(in srgb, var(--fda-primary-bg) 80%, var(--fda-primary-light));
  }
}

/* ── Team cell elements ──────────────────────── */
.fda-st-team-logo,
img.fda-st-team-logo {
  display: inline-block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 8px;
}

.fda-st-team-logo--placeholder {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(--fda-primary-light);
  border-radius: 50%;
  flex-shrink: 0;
  vertical-align: middle;
  margin-right: 8px;
}

.fda-st-team-fullname,
.fda-st-team-shortname {
  vertical-align: middle;
}

@media (min-width: 901px) {
  .fda-standings-table td.fda-st-team .fda-st-team-shortname {
    display: none;
  }
}
/* ── Form Dots (W/L/D) ──────────────────────── */
.fda-form-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin: 0 1px;
  vertical-align: middle;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  text-indent: -999px;
}

.fda-form-w {
  background-color: #22c55e;
}

.fda-form-l {
  background-color: #ef4444;
}

.fda-form-d {
  background-color: #d1d5db;
}

/* ── Legend ───────────────────────────────────── */
.fda-standings-legend {
  padding: 10px 0;
}
@media screen and (max-width: 900px) {
  .fda-standings-legend {
    margin-top: 15px;
  }
}
.fda-standings-legend ul {
  padding: 0;
  margin: 0;
  display: block;
  list-style: none;
}
@media screen and (max-width: 900px) {
  .fda-standings-legend ul {
    width: 100%;
  }
}
.fda-standings-legend ul li {
  padding: 7px 0;
  display: inline-block;
  margin-right: 20px;
  font-size: 13px;
  font-family: "Inter", sans-serif;
}
.fda-standings-legend ul li:last-child {
  margin-right: 0;
}
@media screen and (max-width: 900px) {
  .fda-standings-legend ul li {
    width: 100%;
    margin-right: 10px;
  }
}
.fda-standings-legend .fda-legend-color {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 5px;
  vertical-align: middle;
  border-radius: 2px;
}
.fda-standings-legend .fda-legend-abbrev {
  font-size: 13px;
}
.fda-standings-legend .fda-legend-abbrev strong {
  font-weight: 700;
}

/* ── Penalty deduction ───────────────────────── */
.fda-penalty {
  font-size: 11px;
  color: var(--fda-danger);
  font-weight: 400;
}

/* ── Live indicator in standings ─────────────── */
.fda-st-live {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  background-color: #666;
  padding: 2px 5px;
  border-radius: 5px;
  white-space: nowrap;
}
.fda-st-live.fda-st-live-win {
  background-color: #090;
}
.fda-st-live.fda-st-live-lose {
  background-color: #900;
}

/* ── Rounds ──────────────────────────────────── */
.fda-rounds {
  margin-bottom: var(--fda-gap-lg);
}
@media screen and (max-width: 900px) {
  .fda-rounds {
    padding: 12px 0 10px 0;
    width: 100%;
  }
}

.fda-round-nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0;
}

.fda-round-prev,
.fda-round-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: var(--fda-radius-sm);
  background: transparent;
  cursor: pointer;
  color: var(--fda-text-muted);
  transition: all 0.15s;
  flex-shrink: 0;
  padding: 0;
}
.fda-round-prev:hover,
.fda-round-next:hover {
  color: var(--fda-primary);
}

.fda-round-selector {
  flex: 1;
  text-align: center;
}

.fda-round-select {
  width: 100%;
  padding: 8px 15px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--fda-text);
  cursor: pointer;
  text-align: center;
  text-align-last: center;
  appearance: none;
  -webkit-appearance: none;
  max-height: 36px;
}

/* ── Game Row ────────────────────────────────── */
.fda-round-date-group {
  margin-bottom: var(--fda-gap);
}

.fda-round-date {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--fda-text-muted);
  text-transform: capitalize;
  margin: 0 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--fda-primary-light);
}

.fda-game-row {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  margin: auto;
  min-height: 70px;
  border-bottom: 1px solid var(--fda-primary-light);
  text-decoration: none;
  color: var(--fda-text);
  padding: 8px 0;
  transition: background 0.15s;
}
.fda-game-row:hover {
  background: var(--fda-primary-bg);
}
.fda-game-row.fda-live {
  border-left: 3px solid var(--fda-live);
  background: var(--fda-live-bg);
}

/* ── Score Row (teams + goals) ──────────────── */
.fda-game-score-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5px;
  font-family: "Inter", sans-serif;
  color: #424b5a;
  font-size: 16px;
  font-weight: 400;
  line-height: 27px;
  width: 100%;
}
.fda-game-score-row > div {
  vertical-align: middle;
}

.fda-score-team {
  width: calc(100% - 15px);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 4px;
}
.fda-score-team-home {
  justify-content: flex-end;
}
.fda-score-team-away {
  justify-content: flex-start;
}

.fda-score-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.fda-score-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.fda-score-logo img {
  margin-top: 0px;
  object-fit: contain;
  vertical-align: middle;
}

.fda-score-value {
  min-width: 20px;
  text-align: center;
}
.fda-score-value strong {
  color: var(--fda-primary);
}

.fda-score-vs {
  font-size: 14px;
  color: var(--fda-text-light);
  min-width: 5px;
  text-align: center;
}

/* ── Penalty Row ──────────────────────────────── */
.fda-game-penalty-row {
  font-size: 11px;
  color: var(--fda-text-muted, #848D95);
  font-weight: 600;
  text-align: center;
  margin-top: 1px;
}

/* ── Date / Info Row ──────────────────────────── */
.fda-game-date-row {
  font-family: "Inter", sans-serif;
  color: #848D95;
  font-size: 11px;
  font-weight: 400;
  line-height: 15px;
  width: 100%;
  text-align: center;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.fda-today-badge {
  background-color: #999;
  color: #fff;
  padding: 2px 5px;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.fda-status-final {
  display: inline-block;
  border-radius: 5px;
  padding: 2px 8px;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 700;
  background-color: #666666;
  color: #ffffff;
}

.fda-status-live {
  display: inline-block;
  border-radius: 5px;
  padding: 2px 8px;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 700;
  background-color: #c0392b;
  color: #ffffff;
  animation: fda-pulse 1.5s ease-in-out infinite;
}

.fda-status-short {
  display: inline-block;
  border-radius: 5px;
  padding: 2px 6px;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 700;
  background-color: #e74c3c;
  color: #ffffff;
}

.fda-status-postponed {
  display: inline-block;
  border-radius: 5px;
  padding: 2px 6px;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 700;
  background-color: #e67e22;
  color: #ffffff;
}

.fda-date-venue {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fda-date-sep {
  color: #aaa;
  font-size: 10px;
}

/* ── Keys (Chaveamento) ──────────────────────── */
.fda-keys {
  margin: 20px auto;
  max-width: 900px;
}

.fda-keys-block {
  margin-bottom: 20px;
}
.fda-keys-block:last-child {
  margin-bottom: 0;
}

.fda-keys-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.fda-keys-label::before, .fda-keys-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--fda-primary-light);
}
.fda-keys-label span {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--fda-text-muted);
  background: var(--fda-primary-bg);
  padding: 3px 14px;
  border-radius: 12px;
  white-space: nowrap;
}

.fda-keys-matchups {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fda-keys-matchup {
  width: 100%;
}

.fda-keys-matchup-pair {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: center;
}
.fda-keys-matchup-pair .fda-keys-leg {
  flex: 1;
  max-width: 450px;
  min-width: 0;
}
@media (max-width: 600px) {
  .fda-keys-matchup-pair {
    flex-direction: column;
    align-items: center;
  }
  .fda-keys-matchup-pair .fda-keys-leg {
    max-width: 100%;
    width: 100%;
  }
}

.fda-keys-matchup-single {
  max-width: 450px;
  margin: 0 auto;
}
@media (max-width: 600px) {
  .fda-keys-matchup-single {
    max-width: 100%;
  }
}

.fda-keys-leg-label {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--fda-text-muted);
  text-align: center;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.fda-keys-match-label {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--fda-text-muted);
  text-align: center;
  margin-bottom: 4px;
}

.fda-keys-config-match .fda-game-row {
  cursor: default;
}
.fda-keys-config-match .fda-tbd {
  color: var(--fda-text-light);
  font-style: italic;
  font-size: 0.85em;
}

.fda-or-sep {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: var(--fda-text-muted);
  text-transform: uppercase;
  margin: 0 4px;
  opacity: 0.7;
}

.fda-score-team-tbd-pair {
  gap: 2px;
}
.fda-score-team-tbd-pair .fda-score-name {
  font-size: 0.8em;
}

/* ── Standings + Rounds Layout ───────────────── */
.fda-standings-rounds-row {
  margin: 20px 0;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 20px;
  position: relative;
}
.fda-standings-rounds-row .fda-standings-col {
  width: 75%;
  min-width: 0;
}
.fda-standings-rounds-row .fda-rounds-col {
  width: 25%;
  min-width: 0;
}
.fda-standings-rounds-row .fda-standings,
.fda-standings-rounds-row .fda-rounds {
  margin-bottom: 0;
}
@media screen and (max-width: 900px) {
  .fda-standings-rounds-row {
    flex-direction: column;
  }
  .fda-standings-rounds-row .fda-standings-col,
  .fda-standings-rounds-row .fda-rounds-col {
    width: 100%;
  }
  .fda-standings-rounds-row .fda-rounds-col {
    display: none;
  }
}

/* ── Per-group row layout ────────────────────── */
.fda-group-row {
  margin-top: 0;
  margin-bottom: 0;
}
.fda-group-row + .fda-group-row {
  margin-top: 24px;
}

/* Group title inside rounds-col — hidden on desktop, shown on mobile rounds mode */
.fda-group-rounds-title {
  display: none;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 24px;
  color: var(--fda-primary);
  text-align: center;
  margin: 0;
  padding: 8px 12px;
  border-bottom: 1px solid var(--fda-primary-light);
}

/* ── Rounds tab (mobile only) ────────────────── */
.fda-tab--rounds {
  display: none;
}
@media screen and (max-width: 900px) {
  .fda-tab--rounds {
    display: inline-flex;
  }
}

/* ── Mobile rounds mode ──────────────────────── */
@media screen and (max-width: 900px) {
  .fda-championship-page.fda-rounds-mode .fda-standings-rounds-row .fda-standings-col {
    display: none;
  }
  .fda-championship-page.fda-rounds-mode .fda-standings-rounds-row .fda-rounds-col {
    display: block;
    width: 100%;
  }
  .fda-championship-page.fda-rounds-mode .fda-standings-legend {
    display: none;
  }
  .fda-championship-page.fda-rounds-mode .fda-group-rounds-title {
    display: block;
  }
}
/* ── Extra responsive overrides ──────────────── */
@media (max-width: 900px) {
  .fda-season-selector {
    justify-content: center;
  }
  .fda-game-team .fda-team-name {
    font-size: 12px;
  }
  .fda-game-score {
    min-width: 60px;
  }
}
/* ── Animations (shared) ─────────────────────── */
@keyframes fda-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

/*# sourceMappingURL=championship.css.map */
