.dp-section {
  margin-top: 34px;
  scroll-margin-top: 98px;
}

.dp-title {
  align-items: flex-end;
}

.dp-date-box {
  min-width: 180px;
  padding: 12px 14px;
  border: 1px solid rgba(139, 166, 184, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  text-align: right;
}

.dp-date-box small {
  display: block;
  color: var(--muted, #91a4b0);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dp-date-box strong {
  display: block;
  margin-top: 4px;
  text-transform: capitalize;
}

.dp-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

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

.dp-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(139, 166, 184, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(47, 218, 187, 0.09), transparent 38%),
    linear-gradient(145deg, rgba(13, 27, 38, 0.99), rgba(6, 16, 24, 0.99));
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.dp-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: rgba(71, 215, 187, 0.8);
}

.dp-card.is-wide {
  grid-column: 1 / -1;
}

.dp-bomba::before {
  background: #f0b74a;
}

.dp-marcatore::before {
  background: #73b8ff;
}

.dp-cards::before {
  background: #e8976d;
}

.dp-card.is-no-bet::before {
  background: rgba(165, 180, 190, 0.38);
}

.dp-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.dp-card-head > div {
  flex: 1;
  min-width: 0;
}

.dp-card-head small {
  display: block;
  color: var(--muted, #91a4b0);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dp-card-head h3 {
  margin: 3px 0 0;
  font-size: 1.08rem;
}

.dp-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  color: #4be1c0;
  background: rgba(75, 225, 192, 0.1);
  font-weight: 900;
}

.dp-badge {
  padding: 6px 9px;
  border-radius: 999px;
  color: #071018;
  background: #f1cc60;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.dp-card.is-no-bet .dp-badge {
  color: #d4dee3;
  background: rgba(212, 222, 227, 0.1);
}

.dp-match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.dp-match > div {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.dp-match > div:last-child {
  justify-content: flex-end;
  text-align: right;
}

.dp-match span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dp-match > b {
  color: var(--muted, #91a4b0);
  font-size: 0.68rem;
}

.dp-team-logo,
.dp-team-fallback {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.07);
}

.dp-team-fallback {
  display: grid;
  place-items: center;
  font-size: 0.66rem;
  font-weight: 900;
}

.dp-meta,
.dp-book {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted, #91a4b0);
  font-size: 0.72rem;
}

.dp-pick-main,
.dp-double-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 14px 0 12px;
}

.dp-pick-main > div,
.dp-double-summary > div {
  padding: 11px;
  border-radius: 13px;
  background: rgba(3, 10, 16, 0.62);
}

.dp-pick-main small,
.dp-double-summary small {
  display: block;
  color: var(--muted, #91a4b0);
  font-size: 0.7rem;
}

.dp-pick-main strong,
.dp-double-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 1.08rem;
}

.dp-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 12px;
  margin-bottom: 12px;
}

.dp-stats span {
  color: var(--muted, #91a4b0);
  font-size: 0.74rem;
}

.dp-stats strong {
  color: var(--text, #ecf4f7);
}

.dp-double-legs {
  display: grid;
  gap: 8px;
}

.dp-leg {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.dp-leg > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  color: #071018;
  background: #4be1c0;
  font-weight: 900;
}

.dp-leg strong,
.dp-leg small {
  display: block;
}

.dp-leg small {
  margin-top: 3px;
  color: var(--muted, #91a4b0);
  font-size: 0.7rem;
}

.dp-player {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 14px 0 2px;
}

.dp-player > img,
.dp-player > span {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.dp-player > span {
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.15rem;
}

.dp-player small,
.dp-player strong {
  display: block;
}

.dp-player small {
  color: var(--muted, #91a4b0);
  font-size: 0.72rem;
}

.dp-note,
.dp-empty {
  margin: 12px 0 0;
  color: var(--muted, #91a4b0);
  font-size: 0.76rem;
  line-height: 1.5;
}

.dp-empty {
  min-height: 120px;
  display: flex;
  align-items: center;
}

@media (max-width: 820px) {
  .dp-grid {
    grid-template-columns: 1fr;
  }

  .dp-card.is-wide {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .dp-title {
    align-items: stretch;
  }

  .dp-date-box {
    width: 100%;
    text-align: left;
  }

  .dp-summary {
    grid-template-columns: 1fr;
  }

  .dp-card {
    padding: 15px;
    border-radius: 18px;
  }

  .dp-card-head {
    align-items: flex-start;
  }

  .dp-badge {
    max-width: 110px;
    white-space: normal;
    text-align: center;
  }

  .dp-pick-main,
  .dp-double-summary,
  .dp-stats {
    grid-template-columns: 1fr 1fr;
  }

  .dp-leg {
    grid-template-columns: 26px minmax(0, 1fr);
  }

  .dp-leg > b {
    grid-column: 2;
  }
}
