/* Project Dynasty Playoff Showdown band (commissioner-locked 2026-10-14).
 *
 * The postseason frame for the Owner Showdown slot (#score-ribbon on Home):
 * the current round's full verified slate — team crests, seeds, and either the
 * scheduled time or the FINAL score — with owner-vs-owner games trimmed in
 * ember and carrying a small OWNER chip, and every past round collapsed into a
 * strip of small verified score chips. Regular/preseason seasons never load
 * this surface; the offseason hides the slot entirely.
 *
 * The band is always dark in both themes, like the Owner Showdown band it
 * replaces. No overflow at 1440/390. */

.score-ribbon.is-playoff {
  display: block;
  min-height: 0;
  grid-template-columns: none;
}

@media (min-width: 900px) {
  .score-ribbon.is-playoff {
    position: static;
    top: auto;
  }
}

.pd-psd {
  --pd-psd-ember: #ff7a3c;
  --pd-psd-ember-deep: #d5551c;
  --pd-psd-gold: #f1c95b;
  display: grid;
  gap: 12px;
  padding: 16px 20px 14px;
  background:
    radial-gradient(120% 190% at 100% 0%, rgba(226, 97, 43, 0.12), transparent 46%),
    radial-gradient(120% 190% at 0% 0%, rgba(241, 201, 91, 0.07), transparent 42%),
    linear-gradient(180deg, #191920, #101013);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 3px 0 var(--pd-psd-ember);
}

.pd-psd-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.pd-psd-kicker {
  margin: 0;
  color: var(--pd-psd-gold);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.pd-psd-title {
  margin: 0;
  font-size: 16px;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pd-psd-round {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pd-psd-meta {
  margin-left: 10px;
  color: var(--pd-psd-gold);
}

.pd-psd-slate {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
  min-width: 0;
}

.pd-psd-game {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 12px 12px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.pd-psd-game.is-owner {
  border-color: rgba(226, 97, 43, 0.55);
  background: linear-gradient(90deg, rgba(226, 97, 43, 0.12), rgba(255, 255, 255, 0.03) 58%);
  box-shadow: inset 3px 0 0 var(--pd-psd-ember);
}

.pd-psd-owner-chip {
  position: absolute;
  top: -7px;
  right: 10px;
  padding: 2px 7px;
  border: 1px solid rgba(255, 122, 60, 0.65);
  border-radius: 99px;
  background: rgba(213, 85, 28, 0.9);
  color: #fff;
  font-size: 8px;
  font-weight: 1000;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pd-psd-side {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.pd-psd-side.is-home {
  justify-content: flex-end;
}

.pd-psd-side-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.pd-psd-side-copy strong {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.pd-psd-side-copy small {
  color: var(--pd-psd-gold);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pd-psd-crest {
  flex: 0 0 auto;
}

.pd-psd-crest img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.pd-psd-crest > span:not([class]) {
  display: none;
}

.pd-psd-score {
  min-width: 26px;
  font-size: 20px;
  font-weight: 1000;
  text-align: right;
}

.pd-psd-side.is-home .pd-psd-score {
  order: -1;
  text-align: left;
}

.pd-psd-score.is-winner {
  color: var(--pd-psd-gold);
}

.pd-psd-mid {
  display: grid;
  place-items: center;
  min-width: 0;
}

.pd-psd-final {
  color: rgba(255, 255, 255, 0.6);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.pd-psd-when {
  padding: 4px 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

.pd-psd-await {
  margin: 0;
  padding: 10px 12px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.pd-psd-past {
  display: grid;
  gap: 7px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pd-psd-past-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 8.5px;
  font-weight: 950;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.pd-psd-past-round {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.pd-psd-past-round > strong {
  flex: 0 0 auto;
  min-width: 72px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pd-psd-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
}

.pd-psd-score-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.pd-psd-score-chip b {
  font-weight: 800;
}

.pd-psd-score-chip b.is-winner {
  color: #fff;
}

.pd-psd-score-chip i {
  color: rgba(255, 255, 255, 0.35);
  font-style: normal;
}

@media (max-width: 620px) {
  .pd-psd {
    padding: 12px 12px 10px;
    gap: 10px;
  }

  .pd-psd-slate {
    grid-template-columns: minmax(0, 1fr);
  }

  .pd-psd-title {
    font-size: 14px;
  }

  .pd-psd-when {
    font-size: 9px;
    white-space: normal;
  }
}
