/* Rank and movement stay together, leaving the team name room on mobile. */
.journey-results-grid { grid-template-columns: minmax(0,1fr); }
.journey-results-card p.played { background: transparent; }
.journey-results-card p.latest-day { background: #e4f4e9; }
.journey-results-card p > .result-score { display: grid; gap: 4px; text-align: center; min-width: 42px; }
.journey-results-card .result-score b { font-size: 1.05rem; }
.journey-results-card .result-score small { color: #53655a; font: 600 .72rem/1.2 Archivo,Arial,sans-serif; }
.journey-table-section .table-wrap { position: relative; isolation: isolate; overflow-x: auto; }
.journey-table-section .table-wrap table { border-collapse: separate; border-spacing: 0; table-layout: fixed; min-width: 600px; }
.journey-table-section .table-wrap th:first-child,
.journey-table-section .table-wrap td:first-child { position: sticky; left: 0; width: 52px; min-width: 52px; max-width: 52px; box-sizing: border-box; z-index: 3; text-align: center; }
.journey-table-section .table-wrap th:nth-child(2),
.journey-table-section .table-wrap td:nth-child(2) { position: sticky; left: 52px; width: 220px; min-width: 220px; max-width: 220px; box-sizing: border-box; z-index: 2; box-shadow: 3px 0 0 #c8d0cb; white-space: normal; }
.journey-table-section .table-wrap td:nth-child(-n+2) { background: #fff; }
.journey-table-section .table-wrap tr:nth-child(even) td:nth-child(-n+2) { background: #f6f2e8; }
.journey-table-section .table-wrap th:nth-child(-n+2) { background: #0b3026; color: #fff; z-index: 4; }
#movement-note { color: #53655a; font-size: .85rem; line-height: 1.5; max-width: 660px; }
.movement-unavailable { color: #111; }
.journey-table-section tr.zone-champions { --journey-bg: #fff2bd; --journey-bar: #d5a51d; }
.journey-table-section tr.zone-champions:nth-child(even) { --journey-bg: #fff9df; }
.journey-table-section tr.zone-europa { --journey-bg: #dbeaff; --journey-bar: #3b82f6; }
.journey-table-section tr.zone-europa:nth-child(even) { --journey-bg: #edf5ff; }
.journey-table-section tr.zone-conference { --journey-bg: #d9f3e5; --journey-bar: #22a06b; }
.journey-table-section tr.zone-conference:nth-child(even) { --journey-bg: #edfaf3; }
.journey-table-section tr.zone-regular { --journey-bg: #e7eae8; --journey-bar: #a6ada9; }
.journey-table-section tr.zone-regular:nth-child(even) { --journey-bg: #f6f7f6; }
.journey-table-section tr.zone-calabaza { --journey-bg: #ffe2c8; --journey-bar: #e87924; }
.journey-table-section tr.zone-calabaza:nth-child(even) { --journey-bg: #fff2e7; }
.journey-table-section .table-wrap tr.zone-row td { background: var(--journey-bg); }
.journey-table-section .zone-bar { position: absolute; left: 0; top: 8px; bottom: 8px; width: 5px; background: var(--journey-bar); }
.results-pdf-actions { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; margin: 14px 0; }
.results-pdf-actions small { color: #53655a; max-width: 380px; line-height: 1.4; }
.results-pdf-actions .button { white-space: normal; text-align: center; }
@media(max-width:700px) {
 .journey-table-section .table-wrap th:first-child,.journey-table-section .table-wrap td:first-child { width: 44px; min-width: 44px; max-width: 44px; padding-left: 5px; padding-right: 5px; }
 .journey-table-section .table-wrap th:nth-child(2),.journey-table-section .table-wrap td:nth-child(2) { left: 44px; width: 150px; min-width: 150px; max-width: 150px; font-size: 12px; line-height: 1.3; padding: 10px 8px; }
}
body .position-move {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 36px;
  box-sizing: border-box;
  padding: 4px 6px;
  margin: 0;
  border: 1px solid currentColor;
  border-radius: 6px;
  font: 800 12px/1 Archivo, Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  vertical-align: middle;
}
body .position-move.up { color: #08743d; background: #e8f6ed; }
body .position-move.down { color: #bb2525; background: #fff0ee; }
body .position-move.same { color: #111; background: #f1f1ef; }
#current-standings-body td:first-child { text-align: center; vertical-align: middle; }
#current-standings-body td:first-child .position { display: block; line-height: 1.1; }
#current-standings-body td:first-child .position-move { margin-top: 5px; }
#public-schedules article.schedule-played { border-left: 5px solid #667085; background: #e9ecf0; }
#public-schedules article.schedule-confirmed { border-left: 5px solid #16805a; }
.league-current-page #horarios { display: block; order: 4; margin-top: 18px; padding: 24px; background: #fffdf7; border: 1px solid #d5dcd7; }
.schedule-result { margin: .5rem 0; font-size: .8rem; line-height: 1.4; color: #344054; }
.schedule-result strong { font: 800 1rem/1.3 Archivo, Arial, sans-serif; color: #143d30; }
@media (max-width: 700px) {
  body .position-move { min-width: 30px; padding: 3px; gap: 2px; font-size: 10px; border-radius: 5px; }
  #current-standings-body td:first-child .position { font-size: 15px; }
  #current-standings-body td:first-child .position-move { margin: 5px 0 0; }
  #current-standings-body td:nth-child(2) { padding-top: 10px; padding-bottom: 10px; }
  #current-standings-body td:nth-child(2) .team-with-badge { align-items: center; gap: 5px; }
  #current-standings-body td:nth-child(2) .team-with-badge > span { font-size: 12px; line-height: 1.35; }
  #current-standings-body .zone-name { display: block; margin-top: 5px; font-size: 8px; line-height: 1.3; letter-spacing: .02em; }
  #public-schedules article { min-width: 0; }
  .league-current-page #horarios { padding: 18px 10px; }
  #public-schedules .match-date { min-width: 0; }
  #public-schedules .match-date b { font-size: 11px; line-height: 1.4; white-space: normal; }
  #public-schedules h3 { overflow-wrap: anywhere; }
}
.news-generator label { display: grid; gap: 6px; margin: 12px 0; min-width: 0; }
.news-generator select { width: 100%; min-width: 0; max-width: 100%; padding: 10px; font: inherit; }
.featured-match .featured-reason { line-height: 1.6; margin: 0 0 20px; }
