/* Sport Link V1.0 release checklist and portfolio launch polish. */
#releaseChecklist {
  padding-bottom: 96px;
}

.slReleaseHero {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
  border: 1px solid #c7d2fe;
  border-radius: 24px;
  padding: 22px;
  background: linear-gradient(135deg, #0f172a, #2563eb);
  color: #fff;
  box-shadow: 0 18px 44px rgba(37, 99, 235, .22);
}

.slReleaseHero span {
  display: inline-flex;
  margin-bottom: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  padding: 6px 10px;
  font-weight: 900;
}

.slReleaseHero h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
}

.slReleaseHero p {
  margin: 8px 0 0;
  color: #dbeafe;
  font-weight: 800;
}

.slReleaseHero strong {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: rgba(255,255,255,.14);
  font-size: 28px;
}

.slReleaseGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.slReleaseCat,
.slReleasePanel,
.slCompetitionPanel {
  border: 1px solid #dbeafe;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15,23,42,.07);
}

.slReleaseCat {
  padding: 14px;
}

.slReleaseCat b,
.slReleaseCat span {
  display: block;
}

.slReleaseCat span {
  margin-top: 4px;
  color: #64748b;
  font-weight: 800;
  font-size: 13px;
}

.slReleaseCat i {
  display: block;
  margin-top: 10px;
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.slReleaseCat em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e, #2563eb);
}

.slReleasePanel {
  padding: 16px;
}

.slReleasePanelHead {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.slReleasePanelHead h3 {
  margin: 0;
}

.slReleaseList {
  display: grid;
  gap: 10px;
}

.slReleaseItem {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 12px;
  align-items: start;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 13px;
  background: #f8fafc;
}

.slReleaseItem small {
  color: #64748b;
  font-weight: 850;
}

.slReleaseItem b {
  display: block;
  margin: 3px 0 8px;
  color: #0f172a;
}

.slReleaseItem textarea {
  width: 100%;
  min-height: 58px;
  box-sizing: border-box;
  border: 1px solid #dbe4ef;
  border-radius: 12px;
  padding: 10px;
  resize: vertical;
  font: inherit;
  background: #fff;
}

.slReleaseControls {
  display: grid;
  gap: 8px;
}

.slReleaseControls select,
.slReleaseControls button {
  min-height: 40px;
  border-radius: 12px;
}

.slReleaseReadOnly,
.slReleaseEmpty {
  display: block;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  padding: 12px;
  text-align: center;
  color: #64748b;
  font-weight: 900;
  background: #f8fafc;
}

.slCompetitionPanel {
  margin-top: 14px;
  padding: 16px;
}

.slCompetitionPanel h3 {
  margin: 0 0 10px;
}

.slCompetitionForm {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.slCompetitionForm textarea {
  grid-column: 1 / -1;
  min-height: 70px;
  resize: vertical;
}

.slCompetitionForm button {
  grid-column: 1 / -1;
}

.slPortfolioTabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
}

.slPortfolioTabs button {
  min-width: 0;
  min-height: 46px;
  padding: 9px 10px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #fff;
  color: #475569;
  box-shadow: none;
  font-weight: 900;
}

.slPortfolioTabs button.active {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

.slPortfolioSection { display: none; scroll-margin-top: 12px; }
.slPortfolioSection.active { display: block; }
.slPortfolioCompactCard { margin-top: 14px; }
.slPortfolioSection[data-portfolio-section="competition"] > .slCompetitionPanel { margin-top: 0; }
.slPortfolioSectionHead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.slPortfolioSectionHead h3 { margin: 0; }
.slPortfolioSectionHead button { flex: 0 0 auto; min-height: 40px; }
.slPortfolioCompactList { display: grid; gap: 8px; }
.slPortfolioCompactList:not(.show-all) [data-portfolio-extra] { display: none; }
.slPortfolioCompactItem { min-width: 0; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; }
.slPortfolioCompactItem summary { display: flex; min-height: 46px; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; cursor: pointer; list-style: none; }
.slPortfolioCompactItem summary::-webkit-details-marker { display: none; }
.slPortfolioCompactItem summary span { min-width: 0; overflow-wrap: anywhere; color: #334155; font-weight: 800; }
.slPortfolioCompactItem summary i { display: inline-block; margin: 0 8px; color: #2563eb; font-style: normal; }
.slPortfolioCompactItem summary b { flex: 0 0 auto; color: #64748b; font-size: 13px; }
.slPortfolioCompactItem[open] summary { border-bottom: 1px solid #e2e8f0; background: #f8fafc; }
.slPortfolioCompactItem > div { padding: 12px; }
.slPortfolioCompactItem > div > strong { display: block; }
.slPortfolioCompactItem > div > p { margin: 6px 0 0; white-space: pre-wrap; }
.slPortfolioDetailActions { margin-top: 10px; }

@media (max-width: 900px) {
  .slReleaseGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .slReleaseItem,
  .slCompetitionForm {
    grid-template-columns: 1fr;
  }

  .slPortfolioTabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .slReleaseHero {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 18px;
    padding: 16px;
  }

  .slReleaseHero h2 {
    font-size: 26px;
  }

  .slReleaseHero strong {
    width: 100%;
    height: 70px;
  }

  .slReleaseGrid {
    grid-template-columns: 1fr;
  }

  .slReleasePanelHead {
    align-items: stretch;
    flex-direction: column;
  }

  .slPortfolioTabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slPortfolioSectionHead { align-items: stretch; flex-direction: column; }
  .slPortfolioSectionHead button { width: 100%; }
  .slPortfolioCompactItem summary { align-items: flex-start; }
}
