@import url("https://fonts.googleapis.com/css2?family=Black+Ops+One&display=swap");

:root {
  --color-primary: #51241f;
  --color-primary-light: #6a322c;
  --color-accent: #e5b25d;
  --color-accent-hover: #d4a04c;
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-text-main: #1e293b;
  --color-text-muted: #64748b;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text-main);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.titulo-banner {
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: bold;
  color: #f4ebdd;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.55);
}

.linea {
  width: 100%;
  height: 1vh;
  background-color: #e5b25d;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
  transform: scaleX(0);
  transform-origin: left;
}

/* Navbar */
.custom-navbar {
  transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
  padding: 20px 0;
}
.navbar-transparent {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
}
.navbar-solid {
  background-color: var(--color-primary);
  padding: 10px 0;
}
.btn-reta {
  background-color: var(--color-accent);
  color: #1e293b !important;
  font-weight: 700;
  border-radius: 6px;
  padding: 8px 20px !important;
  transition: transform 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
}
.btn-reta:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  color: #1e293b !important;
}
.navbar-brand {
  letter-spacing: 0.5px;
  z-index: 1050;
  position: absolute;
  top: 100%;
  transform: translateY(-50%);
  left: 15px;
  transition: all 0.4s ease;
}
.logo-escudo {
  width: 100px;
  height: auto;
  transition: width 0.4s ease;
}
.navbar-solid .logo-escudo {
  width: 80px;
}
@media (max-width: 991.98px) {
  .navbar-brand { top: 40px; }
  .navbar-solid .navbar-brand { top: 30px; }
}

/* Hero */
.hero-section {
  min-height: 85vh;
  position: relative;
  overflow: hidden;
  color: white;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.25);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12, 15, 11, 0.16) 0%,
    rgba(18, 12, 10, 0.35) 55%,
    rgba(18, 10, 8, 0.82) 100%
  );
  z-index: 1;
}
.z-2 { z-index: 2; }

/* Stats */
.estadisticas {
  background-color: var(--color-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, background 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}
.text-accent { color: var(--color-accent); }

.card-hover {
  transition: transform 0.2s;
}
.card-hover:hover {
  transform: translateY(-5px);
}

/* Footer */
.site-footer {
  background-color: var(--color-primary);
}
.linea-foter {
  width: 85%;
  height: 15px;
  background-color: #fff;
}
.typewriter-container {
  display: inline-flex;
  align-items: center;
  min-height: 1.5em;
  font-size: 40px;
  font-family: "Black Ops One", sans-serif;
}
@media (min-width: 992px) {
  .typewriter-container { font-size: 68px; }
}
.typewriter-cursor {
  font-weight: 400;
  animation: blink 0.7s infinite;
  color: var(--color-accent);
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
}
.social-icon:hover {
  background-color: var(--color-accent);
  color: #1e293b !important;
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(229, 178, 93, 0.4);
  border-color: var(--color-accent);
}

/* Páginas internas */
.page-hero {
  min-height: 38vh;
  padding-top: 120px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.player-card {
  border-top: 4px solid var(--color-primary) !important;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.player-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(81, 36, 31, 0.12) !important;
}
.player-card .text-accent {
  color: var(--color-primary);
}

/* Escudos en los últimos partidos */
.match-team {
  min-width: 0;
}

.match-crest {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.16));
}

.match-team h5 {
  overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {
  .match-crest {
    width: 56px;
    height: 56px;
  }
}

/* FC Clubs */
.fc-clubs-page {
  background: #f4f0e9;
  overflow: hidden;
}

.fc-intro,
.fc-explore-section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.fc-intro {
  position: relative;
  background:
    radial-gradient(circle at 88% 15%, rgba(229, 178, 93, 0.18), transparent 24rem),
    #f4f0e9;
}

.fc-eyebrow {
  color: var(--color-primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.fc-display {
  max-width: 780px;
  color: #251b19;
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.fc-display-light {
  color: #fff;
}

.fc-lead {
  max-width: 680px;
  color: #6e625f;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.75;
}

.fc-btn-primary,
.fc-btn-ghost,
.fc-btn-secondary {
  border-radius: 0;
  padding: 0.9rem 1.4rem;
  font-weight: 800;
}

.fc-btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.fc-btn-primary:hover {
  background: var(--color-primary-light);
  color: #fff;
  transform: translateY(-2px);
}

.fc-btn-secondary {
  background: var(--color-accent-hover);
  color: #f4f0e9;
}

.fc-btn-secondary:hover {
  background: var(--color-accent);
  color: #f4f0e9;
  transform: translateY(-2px);
}

.fc-btn-ghost {
  border-bottom: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.fc-btn-ghost:hover {
  color: var(--color-primary-light);
  border-color: var(--color-accent);
}

.fc-identity-card {
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow: hidden;
  padding: 2rem;
  background: var(--color-primary);
  color: #fff;
  box-shadow: 24px 24px 0 rgba(81, 36, 31, 0.1);
}

.fc-identity-card::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 520px;
  top: -120px;
  right: -65px;
  background: var(--color-accent);
  opacity: 0.14;
  transform: rotate(24deg);
}

.fc-identity-card > * {
  position: relative;
  z-index: 1;
}

.fc-identity-card h3 {
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.fc-identity-card p {
  color: rgba(255, 255, 255, 0.65);
}

.fc-identity-crest {
  width: clamp(105px, 12vw, 155px);
  height: clamp(105px, 12vw, 155px);
  object-fit: contain;
  filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.35));
}

.fc-live-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fc-live-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #69d68b;
  box-shadow: 0 0 0 5px rgba(105, 214, 139, 0.15);
}

.fc-card-kicker {
  color: var(--color-accent) !important;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.fc-matches-section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  background: #1d1715;
}

.fc-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.fc-matches-section .fc-eyebrow {
  color: var(--color-accent);
}

.fc-section-number {
  color: rgba(255, 255, 255, 0.08);
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.7;
}

.fc-section-heading-dark .fc-section-number {
  color: rgba(81, 36, 31, 0.09);
}

.fc-loading {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
}

.fc-match-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border-top: 5px solid #807874;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fc-match-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.28);
}

.fc-match-card--win {
  border-color: #3d9b60;
}

.fc-match-card--loss {
  border-color: #b84343;
}

.fc-match-card--draw {
  border-color: var(--color-accent);
}

.fc-match-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #ebe5de;
  color: #8b7f7b;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fc-match-body {
  padding: 2rem 1.25rem 2.25rem;
  text-align: center;
}

.fc-match-score {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #251b19;
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  white-space: nowrap;
}

.fc-match-score span {
  color: #b6aaa5;
  font-size: 0.75em;
}

.fc-explore-section {
  background: #f4f0e9;
}

.fc-feature-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  text-decoration: none;
}

.fc-feature-card-primary {
  background: var(--color-primary);
  transition: transform 0.25s ease, background 0.25s ease;
}

.fc-feature-card-primary:hover {
  background: var(--color-primary-light);
  color: #fff;
  transform: translateY(-5px);
}

.fc-feature-card-muted {
  background: #ded7ce;
  color: #4e4441;
  transition: transform 0.25s ease, background 0.25s ease;
}

.fc-feature-card-muted:hover {
  background: #d3c9be;
  color: #342a27;
  transform: translateY(-5px);
}

.fc-feature-card h3 {
  max-width: 500px;
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.fc-feature-card p {
  max-width: 540px;
  margin-bottom: 0;
  color: inherit;
  opacity: 0.7;
  font-size: 1.05rem;
}

.fc-feature-index {
  position: absolute;
  top: 1.5rem;
  left: 1.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.fc-feature-arrow {
  position: absolute;
  top: 1.1rem;
  right: 1.6rem;
  color: var(--color-accent);
  font-size: 2.5rem;
  transition: transform 0.25s ease;
}

.fc-feature-card:hover .fc-feature-arrow {
  transform: translate(5px, -5px);
}

@media (max-width: 767.98px) {
  .fc-section-heading {
    align-items: flex-start;
  }

  .fc-section-number {
    font-size: 4rem;
  }

  .fc-identity-card {
    min-height: 300px;
    box-shadow: 12px 12px 0 rgba(81, 36, 31, 0.1);
  }

  .fc-feature-card {
    min-height: 300px;
  }
}

/* Plantilla FC Clubs */
.roster-hero {
  position: relative;
  overflow: hidden;
  padding: 11rem 0 5.5rem;
  background:
    radial-gradient(circle at 82% 35%, rgba(229, 178, 93, 0.16), transparent 25rem),
    linear-gradient(135deg, #1d1715 0%, #51241f 100%);
  color: #fff;
}

.roster-hero::after {
  content: "";
  position: absolute;
  right: clamp(-6rem, -4vw, -2rem);
  bottom: clamp(-8rem, -7vw, -4rem);
  width: clamp(20rem, 42vw, 40rem);
  aspect-ratio: 154 / 148;
  background: url("../img/player-hero-mark.svg") center / contain no-repeat;
  opacity: 0.035;
  pointer-events: none;
}

.roster-hero .fc-eyebrow {
  color: var(--color-accent);
}

.roster-back-link {
  display: inline-block;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.roster-back-link:hover {
  color: var(--color-accent);
}

.roster-title {
  color: #f4ebdd;
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(3.75rem, 10vw, 8rem);
  line-height: 0.82;
  text-transform: uppercase;
}

.roster-subtitle {
  color: rgba(255, 255, 255, 0.58);
  font-size: 1.05rem;
}

.roster-hero-crest {
  position: relative;
  z-index: 1;
  width: min(230px, 70%);
  max-height: 230px;
  object-fit: contain;
  opacity: 0.92;
  filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.35));
}

.roster-page {
  min-height: 60vh;
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #f4f0e9;
}

.roster-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid #d9d0c6;
}

.roster-section-title {
  color: #251b19;
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}

.roster-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.roster-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  background: transparent;
  border: 1px solid #cfc4b8;
  color: #6e625f;
  font-size: 0.76rem;
  font-weight: 800;
  transition: all 0.2s ease;
}

.roster-filter strong {
  min-width: 1.5rem;
  padding: 0.12rem 0.35rem;
  background: #e5ddd4;
  color: #51241f;
  text-align: center;
}

.roster-filter:hover,
.roster-filter.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.roster-filter.active strong {
  background: var(--color-accent);
  color: #251b19;
}

.roster-status {
  margin-bottom: 1.5rem;
  color: #756965;
  font-size: 0.8rem;
}

.roster-status-success {
  color: #467456;
}

.roster-status-danger {
  padding: 1rem 1.25rem;
  background: #f4dddd;
  color: #8c3434;
}

.roster-player-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border-top: 4px solid var(--color-primary);
  box-shadow: 0 10px 28px rgba(57, 39, 34, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.roster-player-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 38px rgba(57, 39, 34, 0.13);
}

.roster-player-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid #eee8e2;
}

.roster-card-number {
  color: #b5aaa4;
  font-family: "Black Ops One", sans-serif;
  font-size: 0.85rem;
}

.roster-position {
  color: var(--color-primary);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.roster-player-identity {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.25rem;
}

.min-w-0 {
  min-width: 0;
}

.roster-avatar {
  width: 56px;
  height: 56px;
  display: grid;
  flex: 0 0 56px;
  place-items: center;
  background: #51241f;
  color: var(--color-accent);
  font-family: "Black Ops One", sans-serif;
  font-size: 1.1rem;
}

.roster-player-identity h3 {
  overflow: hidden;
  margin: 0 0 0.25rem;
  color: #251b19;
  font-family: "Black Ops One", sans-serif;
  font-size: 1.15rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.roster-player-identity p {
  overflow: hidden;
  margin: 0;
  color: #948783;
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.roster-rating {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
}

.roster-rating strong {
  color: var(--color-primary);
  font-family: "Black Ops One", sans-serif;
  font-size: 1.75rem;
  line-height: 1;
}

.roster-rating span {
  margin-top: 0.25rem;
  color: #a09490;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.roster-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #eee8e2;
  border-bottom: 1px solid #eee8e2;
}

.roster-stat-grid > div {
  padding: 1rem 0.35rem;
  border-right: 1px solid #eee8e2;
  text-align: center;
}

.roster-stat-grid > div:last-child {
  border-right: 0;
}

.roster-stat-grid strong,
.roster-stat-grid span {
  display: block;
}

.roster-stat-grid strong {
  color: #342927;
  font-size: 1rem;
}

.roster-stat-grid span {
  margin-top: 0.15rem;
  color: #9b8e89;
  font-size: 0.62rem;
  text-transform: uppercase;
}

.roster-win-rate {
  padding: 1rem 1.25rem 1.25rem;
}

.roster-win-rate > div:first-child {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.55rem;
  color: #8b7e79;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.roster-win-rate strong {
  color: var(--color-primary);
}

.roster-progress {
  height: 4px;
  overflow: hidden;
  background: #e8e0d8;
}

.roster-progress i {
  display: block;
  height: 100%;
  background: var(--color-accent);
}

.roster-empty {
  padding: 3rem;
  border: 1px solid #d9d0c6;
  color: #80736e;
  text-align: center;
}

@media (max-width: 991.98px) {
  .roster-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .roster-filters {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .roster-hero {
    padding: 9rem 0 4rem;
  }

  .roster-title {
    font-size: 3.25rem;
  }

  .roster-filters {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  .roster-filter {
    justify-content: space-between;
  }
}

/* Historial de partidos FC Clubs */
.matches-hero::after {
  content: "";
}

.match-history-page {
  min-height: 60vh;
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #f4f0e9;
}

.match-history-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.match-history-total {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--color-primary);
}

.match-history-total strong {
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.8;
}

.match-history-total span {
  margin-top: 0.6rem;
  color: #8c7f7a;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.match-history-loading {
  padding: 2rem;
  border: 1px solid #d9d0c6;
  color: #756965;
  text-align: center;
}

.match-history-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.match-history-accordion .accordion-item {
  overflow: hidden;
  background: transparent;
  border: 1px solid #d7cdc2;
  border-radius: 0;
}

.match-history-accordion .accordion-button {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  background: #fff;
  color: #2b201e;
  border-radius: 0 !important;
  box-shadow: none;
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  text-transform: capitalize;
}

.match-history-accordion .accordion-button:not(.collapsed) {
  background: var(--color-primary);
  color: #fff;
}

.match-history-accordion .accordion-button strong {
  margin-right: 2rem;
  color: #9a8e88;
  font-family: Inter, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.match-history-accordion .accordion-button:not(.collapsed) strong {
  color: var(--color-accent);
}

.match-history-accordion .accordion-button::after {
  filter: sepia(1);
}

.match-history-accordion .accordion-body {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: #e9e2da;
}

.history-match-card {
  min-height: 100%;
}

.history-score-center {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.match-stats-button {
  width: 38px;
  height: 34px;
  display: grid;
  padding: 0;
  place-items: center;
  background: transparent;
  border: 1px solid #d5c9c0;
  color: var(--color-primary);
  font-size: 1.35rem;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.match-stats-button:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.match-detail-modal .modal-content {
  overflow: hidden;
  background: #f4f0e9;
  border: 0;
  border-radius: 0;
}

.match-detail-modal .modal-header {
  padding: 1.5rem 2rem;
  background: var(--color-primary);
  color: #fff;
  border: 0;
}

.match-detail-modal .modal-header .fc-eyebrow {
  color: var(--color-accent);
}

.match-detail-modal .modal-title {
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.match-detail-modal .modal-body {
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.match-detail-loading,
.match-detail-error,
.match-detail-empty {
  padding: 2.5rem;
  border: 1px solid #d8cec4;
  color: #7f726d;
  text-align: center;
}

.match-detail-error {
  background: #f4dddd;
  color: #8c3434;
}

.match-comparison {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background: #fff;
  border-top: 4px solid var(--color-primary);
}

.match-detail-scoreboard {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e8e1da;
}

.match-detail-scoreboard > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}

.match-detail-scoreboard img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.14));
}

.match-detail-scoreboard > div strong {
  color: #322724;
  font-family: "Black Ops One", sans-serif;
}

.match-detail-scoreboard > span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-primary);
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.match-detail-scoreboard > span i {
  color: #b7aaa4;
  font-size: 0.75em;
  font-style: normal;
}

.match-comparison-grid {
  max-width: 640px;
  margin: 0 auto;
}

.match-comparison-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
}

.match-comparison-team img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.14));
}

.match-comparison-team strong {
  color: #322724;
  font-family: "Black Ops One", sans-serif;
}

.match-comparison-rows {
  border-right: 1px solid #e8e1da;
  border-left: 1px solid #e8e1da;
}

.match-comparison-rows > div {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #eee8e2;
  text-align: center;
}

.match-comparison-rows > div:last-child {
  border-bottom: 0;
}

.match-comparison-rows strong {
  color: var(--color-primary);
  font-size: 1rem;
}

.match-comparison-rows span {
  color: #8e817c;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.match-player-detail {
  margin-top: 2rem;
  background: #fff;
}

.match-detail-section-title {
  padding: 1.5rem;
  border-bottom: 1px solid #e7dfd7;
}

.match-detail-section-title h3 {
  margin: 0;
  color: #2b201e;
  font-family: "Black Ops One", sans-serif;
}

.match-player-table thead th {
  padding: 0.9rem 1rem;
  background: #ebe4dc;
  color: #7b6e69;
  border: 0;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.match-player-table tbody td {
  padding: 0.9rem 1rem;
  color: #5d514d;
  border-color: #eee8e2;
  font-size: 0.82rem;
  white-space: nowrap;
}

.match-player-table tbody td:first-child strong,
.match-player-table tbody td:first-child small {
  display: block;
}

.match-player-table tbody td:first-child strong {
  color: #2b201e;
}

.match-player-table tbody td:first-child small {
  color: #9a8d88;
}

.match-player-table .player-rating-cell {
  color: var(--color-primary);
  font-family: "Black Ops One", sans-serif;
  font-size: 1rem;
}

@media (max-width: 767.98px) {
  .match-history-heading {
    align-items: flex-start;
  }

  .match-history-accordion .accordion-button {
    align-items: flex-start;
    flex-direction: column;
  }

  .match-detail-scoreboard {
    grid-template-columns: 1fr auto 1fr;
    gap: 0.75rem;
  }

  .match-detail-scoreboard > div {
    flex-direction: column;
  }

  .match-detail-scoreboard img {
    width: 62px;
    height: 62px;
  }

  .match-comparison-rows {
    border: 0;
  }
}

/* Portada principal */
.home-landing {
  overflow: hidden;
  background: #f4f0e9;
}

.home-manifesto,
.home-kalcho-section,
.home-fc-section,
.home-explore-section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.home-manifesto {
  background:
    radial-gradient(circle at 85% 20%, rgba(229, 178, 93, 0.17), transparent 22rem),
    #f4f0e9;
}

.home-display {
  color: #251b19;
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.home-manifesto-copy {
  margin-bottom: 2rem;
  color: #6f625e;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.8;
}

.home-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.home-quick-links a,
.home-section-link {
  padding-bottom: 0.3rem;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.home-quick-links a:hover,
.home-section-link:hover {
  color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.home-kalcho-section {
  background: #e7dfd6;
}

.home-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.home-section-title {
  color: #251b19;
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(2.1rem, 5vw, 4.5rem);
  line-height: 1;
}

.home-section-index {
  color: rgba(81, 36, 31, 0.1);
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.7;
}

.home-section-index-dark {
  color: rgba(255, 255, 255, 0.08);
}

.kalcho-coming-soon {
  position: relative;
  min-height: 350px;
  display: grid;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(2rem, 6vw, 5rem);
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.02), transparent 50%),
    var(--color-primary);
  color: #fff;
}

.kalcho-coming-soon::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: 8%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.025),
    0 0 0 140px rgba(255, 255, 255, 0.018);
}

.kalcho-coming-soon > * {
  position: relative;
  z-index: 1;
}

.kalcho-day {
  width: 140px;
  height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: #2c211e;
}

.kalcho-day span,
.kalcho-day small {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.kalcho-day strong {
  font-family: "Black Ops One", sans-serif;
  font-size: 3rem;
  line-height: 1.15;
}

.kalcho-status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  color: var(--color-accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kalcho-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 5px rgba(229, 178, 93, 0.13);
}

.kalcho-coming-copy h3 {
  max-width: 650px;
  margin-bottom: 1rem;
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(1.7rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.kalcho-coming-copy p {
  max-width: 600px;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.7;
}

.kalcho-soon-label {
  writing-mode: vertical-rl;
  color: rgba(255, 255, 255, 0.25);
  font-family: "Black Ops One", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-fc-section {
  background: #f4f0e9;
}

.home-match-loading {
  padding: 2.5rem;
  border: 1px solid #d8cec4;
  color: #7f726d;
  text-align: center;
}

.home-fc-section .fc-match-card {
  box-shadow: 0 12px 30px rgba(57, 39, 34, 0.08);
}

.home-explore-section {
  background: #1d1715;
}

.home-explore-section .fc-eyebrow {
  color: var(--color-accent);
}

.home-explore-section .home-section-title {
  color: #f4ebdd;
}

.home-explore-card {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.5rem);
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease;
}

.home-explore-card:hover {
  transform: translateY(-6px);
}

.home-explore-card-primary {
  background: var(--color-primary);
  color: #fff;
}

.home-explore-card-primary:hover {
  background: var(--color-primary-light);
  color: #fff;
}

.home-explore-card-light {
  background: #ded7ce;
  color: #332825;
}

.home-explore-card-light:hover {
  background: #eee7df;
  color: #332825;
}

.home-explore-card > span {
  margin-bottom: auto;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
}

.home-explore-card h3 {
  max-width: 520px;
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.home-explore-card p {
  max-width: 500px;
  margin: 0;
  opacity: 0.62;
}

.home-explore-card > i {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  color: var(--color-accent);
  font-size: 2.4rem;
  font-style: normal;
  transition: transform 0.25s ease;
}

.home-explore-card:hover > i {
  transform: translate(5px, -5px);
}

.home-tournament-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--color-accent);
  color: #2c211e;
  text-decoration: none;
  transition: background 0.2s ease;
}

.home-tournament-cta:hover {
  background: var(--color-accent-hover);
  color: #2c211e;
}

.home-tournament-cta span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-tournament-cta h3 {
  margin: 0.35rem 0 0;
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
}

.home-tournament-cta strong {
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .home-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .kalcho-coming-soon {
    grid-template-columns: 1fr;
  }

  .kalcho-day {
    width: 110px;
    height: 130px;
  }

  .kalcho-soon-label {
    display: none;
  }

  .home-tournament-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Perfil individual FC Clubs */
.roster-profile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: #f5f1ec;
  color: var(--color-primary);
  border-top: 1px solid #e8e0d8;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.roster-profile-link:hover {
  background: var(--color-accent);
  color: #2c211e;
}

.roster-profile-link span {
  font-size: 1.15rem;
}

.player-profile-hero {
  position: relative;
  overflow: hidden;
  padding: 9rem 0 0;
  background:
    radial-gradient(circle at 75% 35%, rgba(229, 178, 93, 0.13), transparent 28rem),
    linear-gradient(135deg, #1d1715 0%, #51241f 100%);
  color: #fff;
}

.player-profile-hero::after {
  content: "";
  position: absolute;
  right: clamp(-6rem, -4vw, -2rem);
  bottom: clamp(-8rem, -7vw, -4rem);
  width: clamp(20rem, 42vw, 40rem);
  aspect-ratio: 154 / 148;
  background: url("../img/player-hero-mark.svg") center / contain no-repeat;
  opacity: 0.035;
  pointer-events: none;
}

.player-profile-hero .fc-eyebrow {
  color: var(--color-accent);
}

.player-profile-photo-wrap {
  position: relative;
  z-index: 1;
  max-width: 410px;
}

.player-profile-photo {
  width: 100%;
  height: 480px;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.player-profile-photo-wrap > span {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 0.7rem 1rem;
  background: var(--color-accent);
  color: #2c211e;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.player-profile-name {
  position: relative;
  z-index: 1;
  overflow-wrap: anywhere;
  color: #f4ebdd;
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.9;
}

.player-profile-proname {
  color: rgba(255, 255, 255, 0.56);
  font-size: 1.1rem;
}

.player-profile-meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.player-profile-meta > div {
  padding: 1.5rem 1rem 1.8rem 0;
}

.player-profile-meta span,
.player-profile-meta strong {
  display: block;
}

.player-profile-meta span {
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.player-profile-meta strong {
  font-family: "Black Ops One", sans-serif;
  font-size: 1.4rem;
}

.player-profile-page {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #f4f0e9;
}

.player-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-bottom: 2rem;
  background: var(--color-primary);
}

.player-kpi-grid > div {
  padding: clamp(1.25rem, 3vw, 2.25rem) 1rem;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.player-kpi-grid > div:last-child {
  border-right: 0;
}

.player-kpi-grid strong,
.player-kpi-grid span {
  display: block;
}

.player-kpi-grid strong {
  color: var(--color-accent);
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.7rem);
}

.player-kpi-grid span {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.player-profile-main {
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.player-panel {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: #fff;
  border-top: 4px solid var(--color-primary);
}

.player-panel h2,
.player-section-heading h2 {
  color: #2b201e;
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.player-rate-list {
  margin: 2.5rem 0;
}

.player-rate-row + .player-rate-row {
  margin-top: 1.35rem;
}

.player-rate-row > div:first-child {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.55rem;
  color: #756965;
  font-size: 0.78rem;
  font-weight: 800;
}

.player-rate-row strong {
  color: var(--color-primary);
}

.player-rate-track {
  height: 6px;
  overflow: hidden;
  background: #e9e1d9;
}

.player-rate-track i {
  display: block;
  height: 100%;
  background: var(--color-accent);
}

.player-secondary-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #ebe4dd;
}

.player-secondary-stats > div {
  padding: 1.25rem 0.5rem 0;
  text-align: center;
}

.player-secondary-stats strong,
.player-secondary-stats span {
  display: block;
}

.player-secondary-stats strong {
  color: #342926;
  font-size: 1.15rem;
}

.player-secondary-stats span {
  margin-top: 0.3rem;
  color: #988b86;
  font-size: 0.6rem;
  text-transform: uppercase;
}

.player-form-panel {
  background: #1d1715;
  color: #fff;
  border-color: var(--color-accent);
}

.player-form-panel h2 {
  color: #fff;
}

.player-form-panel .fc-eyebrow {
  color: var(--color-accent);
}

.player-form-rating {
  margin: 2rem 0 1.5rem;
}

.player-form-rating strong,
.player-form-rating span {
  display: block;
}

.player-form-rating strong {
  color: var(--color-accent);
  font-family: "Black Ops One", sans-serif;
  font-size: 4rem;
  line-height: 1;
}

.player-form-rating span {
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.player-form-bars {
  height: 130px;
  display: flex;
  align-items: flex-end;
  gap: 0.65rem;
  margin: 1.75rem 0;
}

.player-form-bars > div {
  height: 100%;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
}

.player-form-bars i {
  display: block;
  min-height: 10px;
  background: var(--color-primary-light);
  border-top: 3px solid var(--color-accent);
}

.player-form-bars span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.65rem;
  text-align: center;
}

.player-best-match {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.player-best-match span,
.player-best-match strong {
  display: block;
}

.player-best-match span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.player-best-match strong {
  margin-top: 0.35rem;
  color: #f4ebdd;
}

.player-rankings-section,
.player-matches-section {
  margin-top: clamp(4rem, 8vw, 7rem);
}

.player-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.player-section-heading > span {
  color: #8f827d;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.player-ranking-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #ded6cd;
}

.player-ranking-grid > div {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  border-right: 1px solid #c8bdb2;
}

.player-ranking-grid > div:last-child {
  border-right: 0;
}

.player-ranking-grid span {
  color: #756864;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.player-ranking-grid strong {
  color: var(--color-primary);
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
}

.player-match-list {
  background: #fff;
  border-top: 4px solid var(--color-primary);
}

.player-match-row {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(200px, 1.2fr) auto minmax(350px, 2fr);
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #ebe4dd;
}

.player-match-rival {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.player-match-rival img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain;
}

.player-match-rival strong,
.player-match-rival span {
  display: block;
}

.player-match-rival strong {
  overflow: hidden;
  color: #2e2320;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-match-rival span {
  margin-top: 0.2rem;
  color: #9a8d88;
  font-size: 0.65rem;
}

.player-match-score {
  padding: 0.45rem 0.65rem;
  color: #fff;
  background: #817671;
  font-family: "Black Ops One", sans-serif;
  white-space: nowrap;
}

.player-match-score-victoria {
  background: #3d8f5a;
}

.player-match-score-derrota {
  background: #a84444;
}

.player-match-score-empate {
  background: #9a7a42;
}

.player-match-numbers {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.player-match-numbers > div {
  padding: 0 0.5rem;
  border-left: 1px solid #eee7e0;
  text-align: center;
}

.player-match-numbers strong,
.player-match-numbers span {
  display: block;
}

.player-match-numbers strong {
  color: #3a2f2c;
  font-size: 0.9rem;
}

.player-match-numbers span {
  margin-top: 0.2rem;
  color: #9a8d88;
  font-size: 0.55rem;
  text-transform: uppercase;
}

@media (max-width: 991.98px) {
  .player-profile-photo-wrap {
    max-width: 320px;
  }

  .player-profile-photo {
    height: 380px;
  }

  .player-kpi-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .player-ranking-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .player-match-row {
    grid-template-columns: 1fr auto;
  }

  .player-match-numbers {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575.98px) {
  .player-profile-hero {
    padding-top: 8rem;
  }

  .player-profile-photo {
    height: 340px;
  }

  .player-profile-meta,
  .player-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .player-secondary-stats,
  .player-ranking-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .player-ranking-grid > div {
    min-height: 140px;
  }

  .player-match-row {
    gap: 1rem;
    padding: 1rem;
  }

  .player-match-numbers {
    overflow-x: auto;
    grid-template-columns: repeat(5, minmax(70px, 1fr));
  }
}

/* Resumen histórico en FC Clubs */
.fc-overview-section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  background: #ded7ce;
}

.fc-overview-loading,
.fc-overview-error {
  padding: 2.5rem;
  border: 1px solid #c9beb3;
  color: #766965;
  text-align: center;
}

.fc-overview-error {
  background: #f1dada;
  color: #8c3434;
}

.fc-overview-main {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 2fr);
  gap: 1rem;
}

.fc-overview-rating,
.fc-overview-record {
  min-height: 250px;
  padding: clamp(1.75rem, 4vw, 3rem);
}

.fc-overview-rating {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
}

.fc-overview-rating p,
.fc-overview-rating span {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fc-overview-rating p {
  color: var(--color-accent);
}

.fc-overview-rating strong {
  margin: 0.75rem 0;
  color: #fff;
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: 0.9;
}

.fc-overview-rating span {
  color: rgba(255, 255, 255, 0.5);
}

.fc-overview-record {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  border-top: 4px solid var(--color-primary);
}

.fc-overview-record-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 2rem;
}

.fc-overview-record-head > div + div {
  padding-left: 2rem;
  border-left: 1px solid #e8e0d8;
}

.fc-overview-record-head strong,
.fc-overview-record-head span {
  display: block;
}

.fc-overview-record-head strong {
  color: #2d2220;
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
}

.fc-overview-record-head span {
  margin-top: 0.5rem;
  color: #948782;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fc-record-bar {
  height: 10px;
  display: flex;
  overflow: hidden;
  background: #e7e0d9;
}

.fc-record-bar i {
  height: 100%;
}

.fc-record-win {
  background: #3d9b60;
}

.fc-record-draw {
  background: var(--color-accent);
}

.fc-record-loss {
  background: #b84343;
}

.fc-record-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 0.9rem;
  color: #786b67;
  font-size: 0.7rem;
}

.fc-record-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.fc-record-legend i {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
}

.fc-overview-kpis {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 1rem;
  background: #eee8e1;
}

.fc-overview-kpis > div {
  padding: 1.5rem 0.75rem;
  border-right: 1px solid #d3c9bf;
  text-align: center;
}

.fc-overview-kpis > div:last-child {
  border-right: 0;
}

.fc-overview-kpis strong,
.fc-overview-kpis span {
  display: block;
}

.fc-overview-kpis strong {
  color: var(--color-primary);
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.fc-overview-kpis span {
  margin-top: 0.35rem;
  color: #897c77;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fc-overview-foot {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.fc-overview-streaks,
.fc-playoff-achievements {
  padding: 1.75rem;
  background: #fff;
}

.fc-overview-streaks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.fc-overview-streaks > div {
  padding: 0 1rem;
  border-right: 1px solid #e8e1da;
}

.fc-overview-streaks > div:first-child {
  padding-left: 0;
}

.fc-overview-streaks > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.fc-overview-streaks span,
.fc-overview-streaks strong,
.fc-overview-streaks small {
  display: block;
}

.fc-overview-streaks span {
  color: #9a8d88;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fc-overview-streaks strong {
  margin-top: 0.45rem;
  color: #392d2a;
}

.fc-overview-streaks small {
  margin-top: 0.3rem;
  color: #9a8d88;
  font-size: 0.65rem;
}

.fc-playoff-achievements > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-top: 1px solid #ece5de;
}

.fc-playoff-achievements > div strong {
  color: #3a2e2b;
  font-size: 0.8rem;
}

.fc-playoff-achievements > div span {
  color: #91847f;
  font-size: 0.7rem;
}

@media (max-width: 991.98px) {
  .fc-overview-kpis {
    grid-template-columns: repeat(3, 1fr);
  }

  .fc-overview-foot {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .fc-overview-main {
    grid-template-columns: 1fr;
  }

  .fc-overview-record-head {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .fc-overview-record-head > div + div {
    padding: 1.5rem 0 0;
    border-top: 1px solid #e8e0d8;
    border-left: 0;
  }

  .fc-overview-kpis,
  .fc-overview-streaks {
    grid-template-columns: repeat(2, 1fr);
  }

  .fc-overview-streaks > div {
    padding: 0.75rem;
    border: 0;
  }
}
/* Martes Botanero / Kalcho */
.botanero-page {
  overflow: hidden;
  background: #f4f0e9;
}

.botanero-intro,
.botanero-table-section,
.botanero-leaders-section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.botanero-intro {
  background:
    radial-gradient(circle at 88% 15%, rgba(229, 178, 93, 0.18), transparent 24rem),
    #f4f0e9;
}

.botanero-identity-card {
  min-height: 300px;
}

.botanero-identity-crest {
  width: 118px;
  height: 148px;
  flex-shrink: 0;
  object-fit: contain;
}

.botanero-sync-status {
  color: #8b7c76;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.botanero-table-section,
.botanero-leaders-section {
  background: #e7dfd6;
}

.botanero-matches-section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  background: #1d1715;
}

.botanero-league-loading {
  padding: 2.5rem;
  border: 1px solid #c9beb3;
  color: #766965;
  text-align: center;
}

.botanero-league-overview {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 2fr);
  gap: 1rem;
}

.botanero-position-card,
.botanero-next-match-card {
  min-height: 245px;
  padding: clamp(1.75rem, 4vw, 3rem);
}

.botanero-position-card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
}

.botanero-position-card p,
.botanero-position-card span {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.botanero-position-card p { color: var(--color-accent); }

.botanero-position-card > p {
  position: absolute;
  top: clamp(1.5rem, 3vw, 2.5rem);
  left: clamp(1.5rem, 3vw, 2.5rem);
}

.botanero-position-card strong {
  display: flex;
  align-items: flex-end;
  gap: 0.12em;
  margin: 0;
  color: #fff;
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(4rem, 8vw, 6rem);
  line-height: 0.9;
}

.botanero-position-card strong small {
  display: block;
  margin: 0 0 0.3em;
  color: rgba(255, 255, 255, 0.58);
  font-family: inherit;
  font-size: 0.28em;
  line-height: 1;
}

.botanero-standings-button {
  position: absolute;
  bottom: clamp(1.25rem, 2.5vw, 2.5rem);
  right: clamp(1.25rem, 2.5vw, 2.5rem);
  padding: 0;
  border: 0;
  color: var(--color-accent);
  background: transparent;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.botanero-standings-button:hover {
  color: #fff;
  text-decoration: underline;
}

.botanero-standings-button span {
  display: inline-block;
  margin-left: 0.25rem;
  font-size: 1.15em;
  transition: transform 0.2s ease;
}

.botanero-standings-button:hover span {
  transform: translateX(3px);
}

.botanero-next-match-card {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  border-top: 4px solid var(--color-primary);
  text-align: center;
}

.botanero-next-match-card .fc-card-kicker {
  text-align: center;
}

.botanero-next-match-fixture {
  width: min(100%, 760px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  color: #2d2220;
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  text-align: center;
}

.botanero-fixture-team {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.botanero-fixture-team img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.botanero-fixture-team strong {
  overflow-wrap: anywhere;
  line-height: 1.1;
}

.botanero-next-match-fixture span {
  color: var(--color-accent-hover);
  font-family: "Black Ops One", sans-serif;
  font-size: 0.75em;
}

.botanero-next-match-card small {
  display: block;
  margin-top: 1.25rem;
  color: #8a7d78;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
}

.botanero-record-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-top: 1rem;
  background: #eee8e1;
}

.botanero-record-grid > div {
  padding: 1.5rem 0.75rem;
  border-right: 1px solid #d3c9bf;
  text-align: center;
}

.botanero-record-grid > div:last-child { border-right: 0; }

.botanero-record-grid strong,
.botanero-record-grid span { display: block; }

.botanero-record-grid strong {
  color: var(--color-primary);
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.botanero-record-grid span {
  margin-top: 0.35rem;
  color: #897c77;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.botanero-insights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 1rem;
  background: #fff;
}

.botanero-insight-card {
  min-height: 145px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.6rem;
  border-right: 1px solid #e8e0d8;
}

.botanero-insight-card:last-child { border-right: 0; }

.botanero-insight-card p {
  margin: 0 0 0.7rem;
  color: #9a8d88;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.botanero-insight-card strong,
.botanero-insight-card small { display: block; }

.botanero-insight-card > strong,
.botanero-insight-card > small {
  align-self: center;
  text-align: center;
}

.botanero-insight-card strong {
  overflow-wrap: anywhere;
  color: #392d2a;
  font-size: 1rem;
}

.botanero-insight-card small {
  margin-top: 0.4rem;
  color: #9a8d88;
  font-size: 0.65rem;
}

.botanero-form-row {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 0.4rem;
}

.botanero-form-row b {
  width: 1.7rem;
  height: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #807874;
  font-size: 0.68rem;
}

.botanero-form-row .is-win { background: #3d9b60; }
.botanero-form-row .is-draw { background: var(--color-accent-hover); }
.botanero-form-row .is-loss { background: #b84343; }

.botanero-best-victory-fixture {
  display: grid;
  grid-template-columns: minmax(48px, 1fr) auto minmax(48px, 1fr);
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  text-align: center;
}

.botanero-best-victory-team {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.botanero-best-victory-team img {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  object-fit: contain;
}

.botanero-best-victory-team span {
  overflow-wrap: anywhere;
  color: #8d817c;
  font-size: 0.5rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.botanero-best-victory-fixture strong {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  color: var(--color-primary);
  font-family: "Black Ops One", sans-serif;
  font-size: 1.25rem;
  white-space: nowrap;
}

.botanero-best-victory-fixture strong span {
  color: #b6aaa5;
  font-size: 0.75em;
}

.botanero-standings-full { margin-top: 1.5rem; }

.botanero-standings-area.is-standings-open {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 2fr);
  gap: 1rem;
  align-items: stretch;
}

.botanero-standings-area.is-standings-open #kalchoLeagueSummary,
.botanero-standings-area.is-standings-open .botanero-league-overview {
  display: contents;
}

.botanero-standings-area.is-standings-open .botanero-next-match-card,
.botanero-standings-area.is-standings-open .botanero-record-grid,
.botanero-standings-area.is-standings-open .botanero-insights-grid {
  display: none;
}

.botanero-standings-area.is-standings-open .botanero-position-card {
  align-self: start;
  min-height: 262px;
  height: 262px;
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
}

.botanero-standings-area.is-standings-open .botanero-standings-full {
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
  margin-top: 0;
}

.botanero-standings-area.is-standings-open .botanero-standings-full {
  animation: botanero-table-in 0.32s ease-out both;
}

.botanero-standings-area.is-standings-closing .botanero-standings-full {
  animation: botanero-table-out 0.22s ease-in both;
}

.botanero-standings-area.is-summary-restoring .botanero-next-match-card,
.botanero-standings-area.is-summary-restoring .botanero-record-grid,
.botanero-standings-area.is-summary-restoring .botanero-insights-grid {
  animation: botanero-summary-in 0.28s ease-out both;
}

@keyframes botanero-table-in {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes botanero-table-out {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(18px); }
}

@keyframes botanero-summary-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.botanero-calendar-action {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.botanero-section-stamp {
  color: rgba(81, 36, 31, 0.1);
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.7;
}

.botanero-section-stamp-dark {
  color: rgba(255, 255, 255, 0.08);
}

.botanero-panel {
  overflow: hidden;
  border: 0;
}

.botanero-panel-light {
  background: #fff;
  box-shadow: 18px 18px 0 rgba(81, 36, 31, 0.08);
}

.botanero-panel-dark {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--color-primary);
  color: #fff;
}

.botanero-panel-accent {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--color-accent);
  color: #2c211e;
}

.botanero-panel-muted {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: #ded7ce;
  color: #332825;
}

.botanero-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.botanero-panel-heading h3 {
  margin: 0;
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.05;
}

.botanero-panel-heading > span {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.botanero-panel-accent .botanero-panel-heading > span,
.botanero-panel-muted .botanero-panel-heading > span {
  color: rgba(44, 33, 30, 0.42);
}

.botanero-panel-heading-light > div {
  width: 100%;
}

.botanero-dark-kicker {
  color: #5e4033;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.botanero-loading,
.botanero-empty {
  padding: 2rem 1.5rem;
  color: #8b7f7b;
  text-align: center;
}

.botanero-panel-dark .botanero-loading,
.botanero-panel-dark .botanero-empty {
  color: rgba(255, 255, 255, 0.58);
}

.botanero-panel-accent .botanero-loading,
.botanero-panel-accent .botanero-empty,
.botanero-panel-muted .botanero-loading,
.botanero-panel-muted .botanero-empty {
  color: rgba(44, 33, 30, 0.62);
}

.botanero-table-wrapper {
  overflow-x: auto;
}

.botanero-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: #4b403c;
  font-size: 0.78rem;
}

.botanero-table th {
  padding: 1rem 0.7rem;
  border-bottom: 2px solid #e7dfd6;
  color: #9a8b84;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.botanero-table td {
  padding: 1rem 0.7rem;
  border-bottom: 1px solid #eee8e1;
  text-align: center;
}

.botanero-table tbody tr:last-child td {
  border-bottom: 0;
}

.botanero-table .botanero-team-row {
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: inset 5px 0 0 var(--color-accent);
}

.botanero-table .botanero-team-row td {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.botanero-table .botanero-team-row strong {
  color: inherit;
}


.botanero-you-badge {
  display: inline-block;
  margin-left: 0.45rem;
  padding: 0.18rem 0.4rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.botanero-match-list,
.botanero-results-list,
.botanero-scorer-list,
.botanero-sanction-list {
  display: grid;
  gap: 0.75rem;
}

.botanero-match {
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.botanero-match:first-child {
  border-top: 0;
  padding-top: 0;
}

.botanero-match.is-own-match {
  padding-left: 0.9rem;
  border-left: 3px solid var(--color-accent);
}

.botanero-match-meta,
.botanero-match small {
  color: rgba(255, 255, 255, 0.53);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.botanero-match-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.botanero-match-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-size: 0.87rem;
  text-align: center;
}

.botanero-match-teams strong:first-child {
  text-align: right;
}

.botanero-match-teams strong:last-child {
  text-align: left;
}

.botanero-match-teams span {
  color: var(--color-accent);
  font-family: "Black Ops One", sans-serif;
  font-size: 0.72rem;
}

.botanero-match small {
  display: block;
  margin-top: 0.55rem;
}

.botanero-result {
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(44, 33, 30, 0.16);
}

.botanero-result:last-child {
  border-bottom: 0;
}

.botanero-result > span {
  display: block;
  margin-bottom: 0.55rem;
  color: rgba(44, 33, 30, 0.58);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.botanero-result > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
  font-size: 0.75rem;
  text-align: center;
}

.botanero-result strong:first-child {
  text-align: right;
}

.botanero-result strong:last-child {
  text-align: left;
}

.botanero-result b {
  font-family: "Black Ops One", sans-serif;
  font-size: 1.25rem;
}

.botanero-scorer {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1.15fr) minmax(120px, 0.7fr) 2.5rem;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #eee8e1;
  color: #4b403c;
  font-size: 0.78rem;
}

.botanero-scorer:last-child {
  border-bottom: 0;
}

.botanero-scorer > span {
  color: #aa9c95;
  font-weight: 800;
  text-align: center;
}

.botanero-scorer small {
  color: #9b8d87;
  font-size: 0.65rem;
}

.botanero-scorer b {
  color: var(--color-primary);
  font-family: "Black Ops One", sans-serif;
  font-size: 1.35rem;
  text-align: right;
}

.botanero-scorer.is-own-player {
  margin: 0;
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: inset 5px 0 0 var(--color-accent);
}

.botanero-scorer.is-own-player > span,
.botanero-scorer.is-own-player strong,
.botanero-scorer.is-own-player small,
.botanero-scorer.is-own-player b {
  color: var(--color-accent);
}

.botanero-scorer-panel {
  border-top: 4px solid var(--color-primary);
}

.botanero-scorer-panel .botanero-panel-heading {
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid #e8e0d8;
}

.botanero-scorer-panel .botanero-scorer-list {
  gap: 0;
}

.botanero-sanctions-panel {
  align-self: start;
  border-top: 4px solid var(--color-primary);
}

.botanero-sanction {
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(44, 33, 30, 0.14);
}

.botanero-sanction:last-child {
  border-bottom: 0;
}

.botanero-sanction > div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.botanero-sanction strong {
  font-size: 0.82rem;
}

.botanero-sanction span,
.botanero-sanction b,
.botanero-sanction p {
  color: rgba(44, 33, 30, 0.58);
  font-size: 0.66rem;
}

.botanero-sanction span {
  text-align: right;
}

.botanero-sanction b {
  display: block;
  margin-top: 0.35rem;
}

.botanero-sanction p {
  margin: 0.55rem 0 0;
  line-height: 1.55;
}

.botanero-source-note {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #8d8079;
  font-size: 0.72rem;
}

.botanero-source-note a {
  color: var(--color-primary);
  font-weight: 800;
  text-decoration: none;
}

.botanero-source-note a:hover {
  color: var(--color-accent-hover);
}

@media (max-width: 767.98px) {
  .home-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .kalcho-coming-soon {
    grid-template-columns: 1fr;
  }

  .kalcho-day {
    width: 110px;
    height: 130px;
  }

  .kalcho-soon-label {
    display: none;
  }

  .home-tournament-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .botanero-identity-card {
    min-height: 260px;
  }

  .botanero-identity-crest {
    width: 92px;
    height: 120px;
  }

  .botanero-source-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .botanero-league-overview {
    grid-template-columns: 1fr;
  }

  .botanero-standings-area.is-standings-open {
    grid-template-columns: 1fr;
  }

  .botanero-standings-area.is-standings-open .botanero-position-card,
  .botanero-standings-area.is-standings-open .botanero-standings-full {
    grid-column: auto;
    grid-row: auto;
  }

  .botanero-standings-area.is-standings-open .botanero-position-card {
    height: auto;
  }

  .botanero-record-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .botanero-record-grid > div:nth-child(4) {
    border-right: 0;
  }

  .botanero-record-grid > div:nth-child(n + 5) {
    border-top: 1px solid #d3c9bf;
  }

  .botanero-insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .botanero-insight-card:nth-child(2) {
    border-right: 0;
  }

  .botanero-insight-card:nth-child(n + 3) {
    border-top: 1px solid #e8e0d8;
  }

  .botanero-match-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .botanero-scorer {
    grid-template-columns: 1.5rem minmax(0, 1fr) 2rem;
  }

  .botanero-scorer small {
    grid-column: 2;
    grid-row: 2;
  }

  .botanero-scorer b {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 575.98px) {
  .botanero-record-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .botanero-record-grid > div {
    border-top: 1px solid #d3c9bf;
  }

  .botanero-record-grid > div:nth-child(1),
  .botanero-record-grid > div:nth-child(2) {
    border-top: 0;
  }

  .botanero-record-grid > div:nth-child(even) {
    border-right: 0;
  }

  .botanero-next-match-fixture {
    gap: 0.65rem;
    font-size: 0.95rem;
  }

  .botanero-insights-grid {
    grid-template-columns: 1fr;
  }

  .botanero-insight-card {
    min-height: 0;
    border-top: 1px solid #e8e0d8;
    border-right: 0;
  }

  .botanero-insight-card:first-child { border-top: 0; }
}

