.pitcher-outcome-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  min-width: 20rem;
}

.mobile-card-share-context { display: none; }

.mobile-card-share-export .mobile-card-share-context {
  align-items: center;
  color: var(--green, #24f36b);
  display: flex;
  gap: .2rem;
  font-size: .82rem;
  font-weight: 950;
  justify-content: flex-start !important;
  letter-spacing: .08em;
  box-sizing: border-box;
  padding: 1rem 0 0;
  text-align: left !important;
  text-transform: uppercase;
  width: 100%;
}

.mobile-card-share-export .mobile-card-share-context span,
.mobile-card-share-export .mobile-card-share-context strong {
  color: inherit;
  font: inherit;
}

.pitcher-outcome-summary > div {
  background: color-mix(in srgb, var(--panel, #0d140f) 88%, var(--green, #24f36b));
  border: 1px solid var(--border, #24452e);
  border-radius: .75rem;
  padding: .7rem .8rem;
}

.pitcher-outcome-summary span,
.recent-pitcher-outcomes h4 {
  color: var(--muted, #aab4aa);
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.pitcher-outcome-summary strong { color: var(--green, #24f36b); font-size: 1.2rem; }
.pitcher-outcome-summary span { line-height: 1.05; min-height: 2.1em; }
.nfl-longest-outlook { display: grid; gap: 1rem; min-width: 0; }
.nfl-longest-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nfl-longest-supporting-context {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.nfl-longest-supporting-context > div {
  border-bottom: 1px solid color-mix(in srgb, var(--border, #24452e) 65%, transparent);
  display: grid;
  gap: .35rem;
  padding: .75rem;
}
.nfl-longest-supporting-context span {
  color: var(--muted, #aab4aa);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.nfl-longest-supporting-context strong { color: var(--text, #f5f8f5); font-size: 1rem; }

@media (min-width: 841px) {
  .desktop-insight-nfl-longest-item .desktop-insight-summary {
    align-items: center;
    box-sizing: border-box;
    grid-template-areas: "watchlist identity context outlook details";
    grid-template-columns: 30px minmax(500px, 1.2fr) minmax(260px, .65fr) minmax(480px, .9fr) 112px;
    min-height: 122px;
    padding: 14px 16px;
  }

  .desktop-insight-nfl-longest-item .desktop-insight-watchlist {
    grid-area: watchlist;
  }

  .desktop-insight-nfl-longest-item .desktop-insight-identity {
    grid-area: identity;
  }

  .desktop-insight-nfl-longest-item .desktop-insight-stats {
    display: none;
  }

  .desktop-insight-nfl-longest-item :is(.desktop-insight-scores, .nfl-longest-outlook) {
    display: contents;
  }

  .desktop-insight-nfl-longest-item .desktop-insight-details-toggle {
    grid-area: details;
  }

  .desktop-insight-nfl-longest-item .nfl-longest-summary {
    grid-area: outlook;
    min-width: 0;
  }

  .desktop-insight-nfl-longest-item .nfl-longest-supporting-context {
    align-items: center;
    grid-area: context;
  }

  .desktop-insight-nfl-longest-item .nfl-longest-supporting-context > div {
    padding: .45rem .6rem;
  }

  .desktop-insight-nfl-longest-item .nfl-longest-supporting-context span {
    line-height: 1.15;
    min-height: 2.3em;
  }
}

@media (max-width: 1240px) and (min-width: 841px) {
  .desktop-insight-nfl-longest-item .desktop-insight-summary {
    gap: 12px;
    grid-template-columns: 30px minmax(300px, 1.1fr) minmax(150px, .55fr) minmax(300px, .85fr) 106px;
  }
}

.recent-pitcher-outcomes { border-top: 1px solid var(--border, #24452e); margin-top: 1rem; padding-top: 1rem; }
.recent-pitcher-outcomes > div { display: grid; gap: .1rem; }
.recent-pitcher-outcome-row {
  align-items: center;
  border-bottom: 1px solid color-mix(in srgb, var(--border, #24452e) 65%, transparent);
  display: grid;
  gap: .75rem;
  grid-template-columns: 7rem 4rem minmax(9rem, 1fr) 4rem;
  padding: .65rem 0;
}
.recent-pitcher-outcome-row small { color: var(--muted, #aab4aa); text-align: right; }
.nfl-longest-recent-row { grid-template-columns: minmax(8rem, 1fr) auto minmax(9rem, 1fr); }
.nfl-longest-recent-row strong { color: var(--green, #24f36b); text-align: right; }
.nfl-longest-recent-row span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 760px) {
  .mobile-pitcher-outcome-card {
    gap: 12px;
    border-color: rgba(39, 248, 107, 0.22);
    background: linear-gradient(145deg, rgba(39, 248, 107, 0.055), rgba(255, 255, 255, 0.018) 52%);
  }
  .mobile-pitcher-outcome-summary { min-width: 0; }
  .mobile-pitcher-outcome-summary > div { padding: .65rem .5rem; }
  .mobile-pitcher-outcome-summary span { font-size: .62rem; min-height: 0; }
  .mobile-pitcher-outcome-summary strong { font-size: 1rem; }
  .mobile-pitcher-outcome-card .mobile-first-pitch-identity { margin-bottom: 0; }
  .mobile-pitcher-outcome-identity .mobile-mlb-player-row { padding-inline: 12px; }
  .mobile-nfl-longest-identity .mobile-mlb-player-row { padding-inline: 12px; }
  .pitcher-outcome-context { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-pitcher-outcome-recent .recent-pitcher-outcome-row {
    gap: .4rem;
    grid-template-columns: 5.7rem 3.2rem minmax(0, 1fr) 2.8rem;
  }
  .mobile-nfl-longest-recent .nfl-longest-recent-row {
    grid-template-columns: minmax(0, 1fr) auto 4.5rem;
  }
  .recent-pitcher-outcome-row span:nth-child(3) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
