/* Sport Durazno - Fútbol Uruguayo */

.sdu-root {
  --sdu-bg: #ffffff;
  --sdu-bg-soft: #f8fafc;
  --sdu-border: #e2e8f0;
  --sdu-text: #0f172a;
  --sdu-muted: #64748b;
  --sdu-accent: #2196f3;
  --sdu-green: #16a34a;
  --sdu-live: #dc2626;
  --sdu-radius: 10px;

  box-sizing: border-box;
  color: var(--sdu-text);
  font-size: 14px;
  line-height: 1.35;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

.sdu-root *,
.sdu-root *::before,
.sdu-root *::after {
  box-sizing: border-box;
}

.sdu-root img:not(.sdu-team-logo):not(.sdu-slider-logo):not(.sdu-scorer-crest):not(.sdu-crest-img) {
  max-width: 100%;
  height: auto;
}

.sdu-root img.sdu-team-logo {
  display: block !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain;
  align-self: center;
  position: relative;
  top: 2px;
}

.sdu-root img.sdu-slider-logo {
  display: block !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain;
  position: static;
  top: auto;
}

.sdu-matches {
  display: grid;
  gap: 10px;
}

.sdu-match-card,
.sdu-section,
.sdu-table-wrap {
  background: var(--sdu-bg);
  border: 1px solid var(--sdu-border);
  border-radius: var(--sdu-radius);
  box-shadow: var(--sdu-shadow);
}

.sdu-standings-phases {
  display: grid;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.sdu-phases-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--sdu-text);
}

.sdu-phase-tabs {
  display: flex;
  gap: 0;
  width: 100%;
  border-bottom: 1px solid var(--sdu-border);
}

.sdu-phase-tab {
  flex: 1 1 0;
  min-width: 0;
  appearance: none;
  border: 0;
  background: transparent;
  color: #9e9e9e;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 10px 8px;
  cursor: pointer;
}

.sdu-phase-tab.is-active {
  color: #2196f3;
  font-weight: 700;
  box-shadow: inset 0 -3px 0 #2196f3;
}

.sdu-phase-panels {
  display: grid;
  align-items: start;
}

.sdu-phase-panel {
  grid-area: 1 / 1;
  display: block;
  visibility: hidden;
}

.sdu-phase-panel.is-active {
  visibility: visible;
}

.sdu-match-card {
  padding: 10px 12px;
}

.sdu-root .sdu-match-card,
.sdu-root .sdu-match-card .sdu-badge,
.sdu-root .sdu-match-card .sdu-meta-item,
.sdu-root .sdu-match-card .sdu-venue,
.sdu-root .sdu-match-card .sdu-card-footer {
  box-shadow: none;
}

.sdu-root .sdu-match-card .sdu-badge {
  background: var(--sdu-bg-soft) !important;
  border: 0 !important;
}

.sdu-root .sdu-match-card.is-live .sdu-badge {
  background: #fee2e2 !important;
  color: #dc2626 !important;
}

.sdu-root .sdu-match-card.is-finished .sdu-badge,
.sdu-root .sdu-match-card.is-suspended .sdu-badge {
  background: #f1f5f9 !important;
  color: #111 !important;
}

.sdu-match-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 8px;
}

.sdu-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--sdu-bg-soft);
  color: var(--sdu-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.sdu-match-card.is-live .sdu-badge {
  background: #fee2e2;
  color: var(--sdu-live);
}

.sdu-match-card.is-finished .sdu-badge,
.sdu-match-card.is-suspended .sdu-badge {
  background: #f1f5f9;
  color: #111;
}

.sdu-meta-item {
  color: var(--sdu-muted);
  font-size: 12px;
}

.sdu-match-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  gap: 10px;
  align-items: center;
}

.sdu-team {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  width: 100%;
}

.sdu-team-home {
  flex-direction: row;
  justify-content: flex-end;
  text-align: right;
}

.sdu-team-away {
  flex-direction: row;
  justify-content: flex-start;
  text-align: left;
}

.sdu-team-logo {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  object-fit: contain;
  flex: 0 0 24px;
  align-self: center;
}

.sdu-team-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 24px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sdu-score-box {
  min-width: 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sdu-score {
  display: inline-block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}

.sdu-score-global {
  display: block;
  margin-top: 4px;
  color: #666;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.sdu-venue,
.sdu-source {
  color: var(--sdu-muted) !important;
  font-size: 12px;
}

.sdu-jornada-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid var(--sdu-border);
  border-radius: var(--sdu-radius);
  background: var(--sdu-bg-soft);
}

.sdu-jornada-filter label {
  font-size: 13px;
  font-weight: 600;
  color: var(--sdu-text);
}

.sdu-jornada-filter select {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 280px;
  padding: 8px 10px;
  border: 1px solid var(--sdu-border);
  border-radius: 8px;
  background: #fff;
  color: var(--sdu-text);
  font-size: 14px;
}

.sdu-empty,
.sdu-empty-inline {
  color: var(--sdu-muted);
  font-size: 12px;
}

.sdu-venue {
  display: block;
  margin-top: 6px;
  padding: 0 !important;
  background: none !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-weight: 400;
  line-height: 1.35;
}

.sdu-card-footer {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--sdu-border);
}

.sdu-link {
  display: inline-flex;
  align-items: center;
  color: #2196f3 !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.sdu-link:hover {
  text-decoration: underline;
}

.sdu-table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0;
}

.sdu-table-heading {
  padding: 10px 12px 0;
  font-size: 13px;
  font-weight: 800;
}

.sdu-table {
  display: table;
  width: 100%;
  min-width: 520px;
  table-layout: auto;
  border-collapse: collapse;
  font-size: 12px;
}

.sdu-table .sdu-col-pos {
  width: 40px;
}

.sdu-table .sdu-col-crest {
  width: 40px;
  text-align: center;
}

.sdu-table td.sdu-col-crest {
  text-align: center;
  vertical-align: middle;
}

.sdu-scorer-crest {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  margin: 0 !important;
  flex: 0 0 18px;
  object-fit: contain;
}

.sdu-crest-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 18px;
  border-radius: 4px;
  background: rgba(33, 150, 243, 0.12);
  color: #2196f3;
  font-size: 8px;
  font-weight: 800;
  line-height: 18px;
}

.sdu-table .sdu-col-stat {
  width: 48px;
}

.sdu-table thead th {
  background: var(--sdu-bg-soft);
  color: var(--sdu-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.sdu-table th,
.sdu-table td {
  padding: 8px 10px;
  border: 1px solid #ededed;
  border-bottom: 1px solid var(--sdu-border);
  text-align: center;
  white-space: nowrap;
}

.sdu-table th.sdu-col-team,
.sdu-table td.sdu-team-cell {
  text-align: left;
  white-space: nowrap;
  vertical-align: middle;
}

.sdu-team-cell {
  min-width: 0;
  max-width: 100%;
}

.sdu-team-line {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}

.sdu-team-cell img,
.sdu-team-line .sdu-team-logo {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain;
  flex: 0 0 18px;
  align-self: center;
  position: relative;
  top: 1px;
}

.sdu-team-line-name {
  min-width: 0;
  flex: 1 1 auto;
  font-weight: 600;
  line-height: 18px;
  white-space: nowrap;
  align-self: center;
}

.sdu-detail {
  display: grid;
  gap: 10px;
}

.sdu-detail .sdu-match-card--detail .sdu-match-top {
  justify-content: flex-start;
  margin-bottom: 12px;
}

.sdu-detail .sdu-match-card--detail .sdu-score-box {
  min-width: 88px;
}

.sdu-detail .sdu-match-card--detail .sdu-score,
.sdu-detail .sdu-match-card--detail .sdu-score--split {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.sdu-detail .sdu-match-card--detail .sdu-score-sep {
  font-weight: 700;
  color: #9ca3af;
}

.sdu-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.sdu-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.sdu-section {
  padding: 10px 12px;
}

.sdu-section-title,
.sdu-lineup-block h4 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.sdu-lineup-block h4 {
  margin-bottom: 8px;
  color: #052c54;
  font-size: 16px;
  font-weight: 800;
}

.sdu-events {
  display: grid;
  gap: 0;
}

.sdu-event {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
  align-items: center;
  gap: 4px;
  min-height: 34px;
  padding: 4px 0;
  border-bottom: 1px solid #f1f5f9;
}

.sdu-event:last-child {
  border-bottom: 0;
}

.sdu-event-home,
.sdu-event-away {
  min-width: 0;
}

.sdu-event-home {
  text-align: right;
}

.sdu-event-away {
  text-align: left;
}

.sdu-event-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}

.sdu-event-icon {
  display: inline-block;
  flex-shrink: 0;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  vertical-align: middle;
  visibility: visible;
  opacity: 1;
  color: transparent;
}

.sdu-event-icon--goal,
.sdu-event-icon--substitution {
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.sdu-event-icon--goal {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAANESURBVFhHrZdZqM1RFIc/U+bMY6ZkKgoZ8mCIRBKJkKk8mMILRVGGF1NR5METyguSUIRMRTJEKS9EkVmGzPPU77b+t33W3f/h3Hy1bufuvfZa+6y919rrQPm0BkYBC4G1wEZgDTAPGA608Av+B42ABcBp4B3wN0PeAMeBuUA9b6g6LAeeAr8jzrLkO/AIWOQNFqUrcBN4CEy10M6wKKRt5gdwDJgENAPm2OYvAe29gyxGAF+APUBdPwn0ATYBD8zxPWA90MMr2vEdtKMb4Cdj6CLJqEKfR2/gI9DJT0RYZ5Hr7ydCOgN/CjoX3e2btfMTKShKimwrP5FwC9jtBzPoBbwHOviJDA4BF/2gmG+hl9GiJBvo6CcyGGR+dLErqQ88sQkVlKLo7HUE5RSfZebnLlA7GVS6JKm0r1Q/E6XbN2C0n8jgSOBrYjJ4Jhi8U6qfymIrNlqji6XKl0cN4HHg67AGWwKfgkFlwWC/MkBh2xXoh7LNKztGOv1XGtTD4g0pty8DS90N12XTDfb6oahS6sFK6GLnfg34HNGvqNXhwBKrWDus0ik6KqWrXfiyRJVR+lfN6X1gK9APWOk3oAqV/LMz2HnCENuMjsY7yhLdDzkd6A0Ce8MNbLAPp7yWQ7XfO8mSVd5AQC2LasUGtlhom3gtx7iIkywZ5g04VI5f6oPO6qyfjaAFYbZkiZqSxt5AhCv6M97e/CIoM7yzmCgT8qgDPNMHfTOV055eI8LmiLOYKKp5KNMUqQpuWGOZx9CIs5hkvvmGMuRC8o9eQl3EPPSef7A7cy5FvgIr/EJHTauC05IBtV16VmeX6pUwxr6dOqYskmxRtNJQsXthG6lEbbe+3VigG9AgmNN78avgMQmltiLRNBhraD2jLr3mpgdzlZy33cuZ+gPdenVIuiNHvXIOKmwqxap6Sjfd+KSbTrXVxtpof6kkepjKQb+cvA2J3oUwMlXoC7yNLNQLqZetCPpNoCrnbTxPad2roFdLxckbyHsvErZH1qrRKaffpK2dlTc0yys6VNB+ujUHgOZesSgzgduBMR1FWhuu5ja5yBL9tJvilaqDns/J1tOrfL4GrgMnrK87aZmizFGB2Q9M8EZi/ANfLmEKrzSEJQAAAABJRU5ErkJggg==");
}

.sdu-event-icon--goal img {
  display: block;
  width: 14px;
  height: 14px;
}

.sdu-event-icon--substitution {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 7h10l-2-2' stroke='%2316a34a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M17 17H7l2 2' stroke='%23dc2626' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.sdu-sub-players {
  display: grid;
  gap: 2px;
}

.sdu-sub-line {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.sdu-event-home .sdu-sub-line {
  justify-content: flex-end;
  flex-direction: row;
}

.sdu-event-away .sdu-sub-line {
  justify-content: flex-start;
  flex-direction: row;
}

.sdu-sub-arrow {
  flex: 0 0 auto;
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
  padding-top: 2px;
}

.sdu-sub-line .sdu-event-icon {
  padding-top: 0;
  margin-top: 1px;
}

.sdu-sub-arrow--in {
  color: #16a34a;
}

.sdu-sub-arrow--out {
  color: #dc2626;
}

.sdu-event-icon--yellow-card,
.sdu-event-icon--red-card {
  width: 10px;
  height: 14px;
  min-width: 10px;
  min-height: 14px;
  border-radius: 2px;
}

.sdu-event-icon--yellow-card {
  background-color: #facc15;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12);
}

.sdu-event-icon--red-card {
  background-color: #dc2626;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.15);
}

.sdu-event-player {
  color: #000;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.sdu-event-minute {
  color: #000;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.sdu-event-yellow_card .sdu-event-minute,
.sdu-event-red_card .sdu-event-minute {
  color: #000;
}

.sdu-stats {
  display: grid;
  gap: 0;
}

.sdu-stat-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 8px;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 12px;
}

.sdu-stat-row:last-child {
  border-bottom: 0;
}

.sdu-stat-value {
  font-weight: 700;
  text-align: center;
}

.sdu-stat-label {
  color: var(--sdu-muted);
  text-align: center;
  font-size: 11px;
}

.sdu-lineups-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sdu-lineup {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.sdu-lineup li {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  font-size: 12px;
}

.sdu-lineup-dt {
  background: #111;
  color: #fff;
  border-radius: 4px;
  padding: 8px 10px;
  margin-top: 2px;
}

.sdu-lineup-dt .sdu-player-name {
  color: #fff;
  font-weight: inherit;
  font-size: inherit;
}

.sdu-lineup--subs {
  margin-top: 4px;
}

.sdu-player-photo {
  display: block;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  background: #fff;
  border: 1px solid #e5e7eb;
  flex: 0 0 28px;
}

.sdu-shirt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 18px;
  padding: 0 4px;
  border-radius: 4px;
  background: var(--sdu-bg-soft);
  color: var(--sdu-muted);
  font-size: 10px;
  font-weight: 700;
}

.sdu-player-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sdu-sub-tag {
  flex: 0 0 auto;
  padding: 1px 5px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 9px;
  font-weight: 800;
}

.sdu-source {
  margin: 0;
  text-align: center;
}

@media (max-width: 640px) {
  .sdu-root {
    font-size: 13px;
  }

  .sdu-phase-tab {
    font-size: 11px;
    padding: 10px 4px;
  }

  .sdu-table-heading {
    padding: 8px 8px 0;
    font-size: 12px;
  }

  .sdu-table {
    min-width: 0;
    table-layout: fixed;
    font-size: 11px;
  }

  .sdu-table .sdu-col-pos {
    width: 22px;
  }

  .sdu-table .sdu-col-stat {
    width: 28px;
  }

  .sdu-table th,
  .sdu-table td {
    padding: 6px 2px;
    overflow: hidden;
  }

  .sdu-table--scorers .sdu-col-pts {
    width: 52px;
    min-width: 52px;
    overflow: visible;
    white-space: nowrap;
  }

  .sdu-table th.sdu-col-team,
  .sdu-table td.sdu-team-cell {
    padding-left: 6px;
    padding-right: 4px;
  }

  .sdu-team-line {
    gap: 4px;
  }

  .sdu-team-line-name {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sdu-match-row {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 6px;
  }

  .sdu-team-logo {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .sdu-team-name {
    font-size: 12px;
  }

  .sdu-score {
    font-size: 16px;
  }

  .sdu-detail .sdu-match-card--detail .sdu-score,
  .sdu-detail .sdu-match-card--detail .sdu-score--split {
    font-size: 26px;
  }

  .sdu-lineups-grid {
    grid-template-columns: 1fr;
  }

  .sdu-event {
    grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
  }
}

@media (max-width: 400px) {
  .sdu-table .sdu-col-wld {
    display: none;
  }

  .sdu-table .sdu-col-stat {
    width: 30px;
  }

  .sdu-table .sdu-col-pts {
    width: 34px;
  }

  .sdu-table--scorers .sdu-col-pts {
    width: 52px;
    min-width: 52px;
  }
}

/* Slider de resultados (estilo sport.es) */

.sdu-root.sdu-root--slider {
  max-width: 100%;
  margin: 0;
  width: 100%;
  min-width: 0;
  isolation: isolate;
  overflow: visible;
  overflow-x: visible;
}

.sdu-results {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  background: #fff;
  border: 1px solid #e6e6e6;
  box-sizing: border-box;
}

.sdu-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  padding: 0 12px;
  background: #2d2d2d;
  box-sizing: border-box;
}

.sdu-results-title {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.sdu-results-aside {
  display: none;
}

.sdu-results-label {
  display: none;
}

.sdu-results-select {
  width: auto;
  min-width: 120px;
  max-width: 180px;
  height: 24px;
  margin: 0 0 0 auto;
  padding: 0 6px;
  border: 1px solid #555;
  border-radius: 2px;
  background: #3a3a3a;
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
}

.sdu-root.sdu-root--slider .sdu-slider-card[data-sdu-href] {
  cursor: pointer;
}

.sdu-slider {
  position: relative;
  display: block;
  flex: 1 1 auto;
  width: auto;
  max-width: 100%;
  min-width: 0;
  height: auto;
  padding: 10px 36px 12px;
  background: #fff;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.sdu-slider-nav {
  position: absolute;
  top: 58%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  min-width: 28px;
  max-width: 28px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 2px;
  background: #fff;
  color: #888;
  cursor: pointer;
  line-height: 0;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: background 0.15s ease;
}

.sdu-slider-prev {
  left: 6px;
  transform: translateY(-50%);
}

.sdu-slider-next,
.sdu-slider-nav:last-of-type {
  right: 6px;
  left: auto;
  transform: translateY(-50%);
}

.sdu-slider-nav svg {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: currentColor;
  color: #888;
}

.sdu-slider-nav:last-of-type {
  border: 1px solid #ddd;
}

.sdu-slider-nav:hover:not(:disabled) {
  color: #333;
  background: #f7f7f7;
}

.sdu-slider-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.sdu-slider-viewport {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none !important;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  min-width: 0;
  min-height: 92px;
  height: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.sdu-slider-viewport::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

.sdu-root.sdu-root--slider .sdu-slider-viewport {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.sdu-slider-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  gap: 14px;
  min-height: 0;
  height: auto;
  width: max-content;
}

.sdu-slider-group {
  display: flex;
  flex-direction: row;
  flex: 0 0 auto;
  gap: 0;
  min-width: 0;
}

.sdu-slider-group[hidden] {
  display: none !important;
}

.sdu-slider-group-head {
  display: none;
}

.sdu-slider-group-cards {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 14px;
}

.sdu-slider-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 13px;
}

.sdu-slider-empty[hidden] {
  display: none !important;
}

.sdu-slider-card {
  display: flex !important;
  flex-direction: column !important;
  flex: 0 0 188px !important;
  width: 188px !important;
  min-width: 188px !important;
  max-width: 188px !important;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  color: inherit;
  text-align: left;
  text-decoration: none;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: none;
}

.sdu-slider-league {
  color: #111;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 6px;
  padding: 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.sdu-slider-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  box-sizing: border-box;
}

.sdu-slider-meta {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 6px 2px 0;
}

.sdu-slider-date,
.sdu-slider-time {
  color: #444;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

.sdu-slider-card.is-finished .sdu-slider-date,
.sdu-slider-date.is-finished,
.sdu-slider-status.is-finished,
.sdu-slider-card.is-suspended .sdu-slider-date,
.sdu-slider-date.is-suspended,
.sdu-slider-status.is-suspended {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #111;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.2;
}

.sdu-slider-card.is-live .sdu-slider-date,
.sdu-slider-date.is-live,
.sdu-slider-status.is-live {
  color: #dc2626;
  font-weight: 700;
}

.sdu-slider-plus {
  display: inline-flex !important;
  align-items: center;
  flex: 0 0 auto !important;
  width: auto !important;
  margin-left: auto !important;
  color: #2197d5 !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none !important;
}

.sdu-slider-plus:hover {
  color: #1b7caf !important;
  text-decoration: underline !important;
}

.sdu-slider-team-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.sdu-slider-team {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
  text-align: left;
}

.sdu-root.sdu-root--slider .sdu-slider-logo,
.sdu-slider-logo {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain;
  position: static !important;
  top: auto !important;
  flex: 0 0 18px;
}

.sdu-slider-logo--placeholder {
  border-radius: 50%;
  background: #eef2f7;
}

.sdu-slider-team-name {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  color: #111 !important;
  font-size: 13px !important;
  font-weight: 400;
  line-height: 1.2 !important;
  text-align: left;
  text-transform: none;
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sdu-slider-score {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  flex: 0 0 auto;
  min-width: 22px;
  height: 22px;
  padding: 0;
  background: transparent;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.sdu-slider-score-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border: 1px solid #e6e6e6;
  border-radius: 3px;
  background: #f3f3f3;
  color: inherit;
  box-sizing: border-box;
}

.sdu-slider-score-agg {
  color: #555;
  font-size: 11px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .sdu-root.sdu-root--slider {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .sdu-results {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid #e6e6e6;
  }

  .sdu-results-aside {
    display: none !important;
  }

  .sdu-results-select {
    display: none !important;
  }

  .sdu-slider {
    display: block !important;
    flex: 1 1 auto;
    width: auto;
    height: auto;
    border-radius: 0;
    padding: 10px 10px 12px;
    overflow: hidden;
  }

  .sdu-slider-nav {
    display: none !important;
  }

  .sdu-slider-viewport {
    padding: 0;
    scrollbar-width: none;
  }

  .sdu-slider-viewport::-webkit-scrollbar {
    display: none;
    height: 0;
  }

  .sdu-root.sdu-root--slider .sdu-slider-viewport {
    scroll-snap-type: x mandatory;
  }

  .sdu-root.sdu-root--slider .sdu-slider-card {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .sdu-slider-meta {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .sdu-slider-card.is-finished .sdu-slider-date,
  .sdu-slider-date.is-finished,
  .sdu-slider-status.is-finished,
  .sdu-slider-card.is-suspended .sdu-slider-date,
  .sdu-slider-date.is-suspended,
  .sdu-slider-status.is-suspended {
    display: inline-flex !important;
    align-items: center !important;
    padding: 2px 8px !important;
    border-radius: 999px !important;
    background: #f1f5f9 !important;
    color: #111 !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
  }

  .sdu-slider-card.is-live .sdu-slider-date,
  .sdu-slider-date.is-live,
  .sdu-slider-status.is-live {
    color: #dc2626 !important;
    font-weight: 700 !important;
  }

  .sdu-slider-plus {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin-left: auto !important;
  }
}

@media (max-width: 480px) {
  .sdu-slider-nav {
    display: none !important;
  }
}

/* Fila de escudos del fútbol local: siempre 8 en una línea */
.sdu-root.sdu-root--crests {
  overflow: visible;
}

.sdu-crests-bar {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  column-gap: clamp(2px, 1vw, 14px);
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: clamp(6px, 1.6vw, 12px) clamp(2px, 0.8vw, 8px);
  background: #ffffff;
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  box-sizing: border-box;
}

.sdu-crest {
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 0;
}

.sdu-crest-img {
  display: block;
  width: auto !important;
  height: clamp(20px, 7vw, 44px) !important;
  max-width: 100% !important;
  max-height: clamp(20px, 7vw, 44px) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  object-fit: contain;
}

.sdu-crest-placeholder {
  display: block;
  width: clamp(20px, 7vw, 44px);
  height: clamp(20px, 7vw, 44px);
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
}

/* ============================================================
   SCOREBOARD DETALLE
   ============================================================ */
.sdu-root .sdu-match-card--scoreboard {
  background: #fff;
  box-shadow: none;
  border: 0;
  box-sizing: border-box;
  margin: 0 0 16px;
  padding: 16px 8px;
  overflow: visible;
  border-radius: 12px;
}
.sdu-root .sdu-scoreboard-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: clamp(6px, 2vw, 20px);
  align-items: start;
  padding: 0;
}
.sdu-root .sdu-scoreboard-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  gap: 6px;
}
.sdu-root .sdu-scoreboard-logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sdu-root .sdu-scoreboard-logo {
  display: block;
  width: clamp(48px, 12vw, 80px);
  height: clamp(48px, 12vw, 80px);
  max-width: clamp(48px, 12vw, 80px);
  max-height: clamp(48px, 12vw, 80px);
  object-fit: contain;
  margin: 0;
  padding: 0;
}
.sdu-root .sdu-scoreboard-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(48px, 12vw, 80px);
  height: clamp(48px, 12vw, 80px);
  background: #f3f4f6;
  color: #333;
  font-weight: 800;
  font-size: clamp(14px, 2.5vw, 22px);
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}
.sdu-root .sdu-scoreboard-name {
  display: block;
  width: 100%;
  min-width: 0;
  font-family: inherit;
  font-size: clamp(15px, 3.6vw, 22px);
  font-weight: 800;
  color: #111;
  line-height: 1.2;
  white-space: normal;
  overflow: visible;
  word-break: break-word;
  overflow-wrap: anywhere;
  text-align: center;
}
.sdu-root .sdu-scoreboard-scorers {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  width: 100%;
  color: #000;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
}
.sdu-root .sdu-scoreboard-scorers span {
  display: block;
  font-weight: 400;
  white-space: normal;
  overflow: visible;
  word-break: break-word;
}
.sdu-root .sdu-scoreboard-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding-top: 2px;
  min-width: auto;
}
.sdu-root .sdu-scoreboard-period {
  display: block;
  text-align: center;
  color: #757575;
  font-size: clamp(13px, 3vw, 16px);
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  margin: 0 0 4px;
}
.sdu-root .sdu-scoreboard-line {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 0;
}
.sdu-root .sdu-scoreboard-num {
  font-family: inherit;
  font-size: clamp(42px, 12vw, 72px);
  font-weight: 800;
  line-height: 0.95;
  color: #111;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.sdu-root .sdu-scoreboard-sep {
  font-family: inherit;
  font-size: clamp(36px, 10vw, 60px);
  font-weight: 700;
  color: #111;
  line-height: 0.95;
  margin: 0 0.18em;
}
.sdu-root .sdu-scoreboard-clock {
  display: block;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  margin-top: 4px;
}
.sdu-root .sdu-scoreboard-pending {
  font-family: inherit;
  font-size: clamp(28px, 8vw, 48px);
  font-weight: 800;
  line-height: 1;
  color: #111;
  white-space: nowrap;
}
@media (min-width: 641px) {
  .sdu-root .sdu-match-card--scoreboard {
    padding: 16px 12px;
  }
  .sdu-root .sdu-scoreboard-row {
    column-gap: 20px;
    align-items: start;
  }
  .sdu-root .sdu-scoreboard-side--home {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "logo name"
      ". scorers";
    column-gap: 12px;
    row-gap: 4px;
    align-items: center;
    justify-items: start;
    text-align: left;
    gap: 0;
  }
  .sdu-root .sdu-scoreboard-side--away {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "name logo"
      "scorers .";
    column-gap: 12px;
    row-gap: 4px;
    align-items: center;
    justify-items: end;
    text-align: right;
    gap: 0;
  }
  .sdu-root .sdu-scoreboard-side .sdu-scoreboard-logo-cell {
    grid-area: logo;
  }
  .sdu-root .sdu-scoreboard-side .sdu-scoreboard-name {
    grid-area: name;
  }
  .sdu-root .sdu-scoreboard-side .sdu-scoreboard-scorers {
    grid-area: scorers;
  }
  .sdu-root .sdu-scoreboard-side--home .sdu-scoreboard-name {
    text-align: left;
  }
  .sdu-root .sdu-scoreboard-side--away .sdu-scoreboard-name {
    text-align: right;
  }
  .sdu-root .sdu-scoreboard-side--home .sdu-scoreboard-scorers {
    align-items: flex-start;
    text-align: left;
  }
  .sdu-root .sdu-scoreboard-side--away .sdu-scoreboard-scorers {
    align-items: flex-end;
    text-align: right;
  }
  .sdu-root .sdu-scoreboard-score {
    align-self: center;
    padding-top: 0;
  }
  .sdu-root .sdu-scoreboard-logo,
  .sdu-root .sdu-scoreboard-logo-fallback {
    width: 64px;
    height: 64px;
    max-width: 64px;
    max-height: 64px;
  }
}

/* ============================================================
   TIMELINE EVENTOS (minuto centrado, icono al lado nombre)
   ============================================================ */
.sdu-root .sdu-events--timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  box-sizing: border-box;
}
.sdu-root .sdu-event--timeline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}
.sdu-root .sdu-events--timeline .sdu-event-home {
  grid-column: 1;
  padding: 10px 8px 10px 0;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}
.sdu-root .sdu-events--timeline .sdu-event-minute-center {
  grid-column: 2;
  padding: 10px 8px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  text-align: center;
}
.sdu-root .sdu-events--timeline .sdu-event-away {
  grid-column: 3;
  padding: 10px 0 10px 8px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}
.sdu-root .sdu-events--timeline > .sdu-event--timeline:last-child .sdu-event-home,
.sdu-root .sdu-events--timeline > .sdu-event--timeline:last-child .sdu-event-minute-center,
.sdu-root .sdu-events--timeline > .sdu-event--timeline:last-child .sdu-event-away {
  border-bottom: 1px solid #f1f5f9;
}
.sdu-root .sdu-event-minute {
  display: inline-block;
  color: #111;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  min-width: 36px;
  padding: 2px 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  line-height: 1.2;
}
.sdu-root .sdu-event-player-line {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  width: 100%;
}
.sdu-root .sdu-event-home .sdu-event-player-line {
  justify-content: flex-end;
  flex-direction: row;
  text-align: right;
}
.sdu-root .sdu-event-away .sdu-event-player-line {
  justify-content: flex-start;
  flex-direction: row;
  text-align: left;
}
.sdu-root .sdu-event-player {
  color: #000;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.sdu-root .sdu-sub-line .sdu-event-player {
  color: #000;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.sdu-root .sdu-event-home .sdu-event-player-line .sdu-event-icon {
  order: initial;
  margin: 0;
}
.sdu-root .sdu-event-home .sdu-event-player-line .sdu-event-player {
  order: initial;
}
.sdu-root .sdu-event-away .sdu-event-player-line .sdu-event-player {
  order: initial;
}
.sdu-root .sdu-event-away .sdu-event-player-line .sdu-event-icon {
  order: initial;
  margin: 0;
}
.sdu-root .sdu-event-home .sdu-sub-line .sdu-event-player {
  order: 1;
}
.sdu-root .sdu-event-home .sdu-sub-line .sdu-sub-arrow {
  order: 2;
}
.sdu-root .sdu-event-home .sdu-sub-line .sdu-event-icon {
  order: 3;
  margin: 0;
}
.sdu-root .sdu-event-away .sdu-sub-line .sdu-event-icon {
  order: 1;
  margin: 0;
}
.sdu-root .sdu-event-away .sdu-sub-line .sdu-sub-arrow {
  order: 2;
}
.sdu-root .sdu-event-away .sdu-sub-line .sdu-event-player {
  order: 3;
}
.sdu-root span.sdu-event-icon:empty {
  display: inline-block;
}

@media (max-width: 640px) {
  .sdu-root .sdu-event--timeline {
    grid-template-columns: minmax(0, 1fr) minmax(50px, auto) minmax(0, 1fr);
    gap: 0;
  }
  .sdu-root .sdu-events--timeline .sdu-event-home {
    padding: 8px 6px 8px 0;
  }
  .sdu-root .sdu-events--timeline .sdu-event-minute-center {
    padding: 8px 4px;
    min-width: 48px;
  }
  .sdu-root .sdu-events--timeline .sdu-event-away {
    padding: 8px 0 8px 6px;
  }
}
