.saved-main {
  min-height: calc(100vh - 68px);
}

.saved-card {
  background: linear-gradient(180deg, #0a1220, #080f1c);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.saved-hero {
  position: relative;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.hero-top {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 2;
}

.saved-note {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid #183155;
  background: rgba(15, 31, 55, 0.45);
  border-radius: 0.55rem;
  padding: 0.55rem 0.6rem;
  color: #88a9c8;
  font-size: 0.7rem;
  line-height: 1.35;
}

.saved-note svg {
  width: 0.72rem;
  color: #4aa3ff;
  flex-shrink: 0;
}

.saved-strip {
  border: 1px solid #1b2d49;
  border-radius: 0.6rem;
  background: rgba(5, 11, 22, 0.6);
  padding: 0.55rem;
}

.saved-strip small {
  color: #6f87a3;
  font-size: 0.63rem;
}

.saved-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid #1b2d49;
  border-radius: 0.5rem;
  overflow: hidden;
}

.saved-metrics > div {
  padding: 0.4rem 0.25rem;
  text-align: center;
  border-right: 1px solid #1b2d49;
}

.saved-metrics > div:last-child {
  border-right: 0;
}

.saved-metrics strong {
  display: block;
  color: #c5dbf5;
  font: 700 0.68rem/1 "JetBrains Mono", monospace;
}

.saved-metrics span {
  display: block;
  margin-top: 0.18rem;
  color: #607a98;
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-value small {
  font-size: 0.7rem;
  color: #637b97;
}

:root[data-theme="light"] .saved-card {
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
  box-shadow: 0 8px 18px rgba(31, 62, 98, 0.12);
}

:root[data-theme="light"] .saved-note {
  border-color: #d4e3f6;
  background: #f4f9ff;
  color: #4b6a8e;
}

:root[data-theme="light"] .saved-strip,
:root[data-theme="light"] .saved-metrics,
:root[data-theme="light"] .saved-metrics > div {
  border-color: #d4e3f6;
}

:root[data-theme="light"] .saved-strip {
  background: #f9fcff;
}

:root[data-theme="light"] .saved-metrics strong {
  color: #1b3657;
}

@media (max-width: 1199px) {
  .saved-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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