:root {
  --bg: #f1f5f9;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #dbe5f1;
  --navy: #0b1c46;
  --blue: #0ea5e9;
  --blue-strong: #0284c7;
  --gold: #ffd100;
  --shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 4%, rgba(14, 165, 233, 0.16), transparent 44%),
    radial-gradient(circle at 88% 0%, rgba(255, 209, 0, 0.2), transparent 38%),
    var(--bg);
}

.slcc-discover {
  width: min(1080px, 100% - 24px);
  margin: 14px auto 54px;
}

.slcc-d-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(120deg, rgba(11, 28, 70, 0.96) 0%, rgba(15, 23, 42, 0.95) 54%, rgba(2, 132, 199, 0.88) 100%);
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.2);
  padding: 20px;
}

.slcc-d-heroGlow {
  position: absolute;
  inset: -100px auto auto -40px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 209, 0, 0.3) 0%, rgba(255, 209, 0, 0) 70%);
  pointer-events: none;
}

.slcc-d-brand {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.slcc-d-logo {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.slcc-d-kicker {
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.slcc-d-title {
  margin: 6px 0 0;
  color: #fff;
  font-size: clamp(23px, 3.2vw, 36px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.slcc-d-subtitle {
  margin: 8px 0 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.slcc-d-quick {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.slcc-d-quick::-webkit-scrollbar {
  display: none;
}

.slcc-d-chip {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: 160ms ease;
}

.slcc-d-chip:hover,
.slcc-d-chip:focus-visible {
  border-color: rgba(255, 209, 0, 0.8);
  background: rgba(255, 209, 0, 0.18);
  outline: none;
}

.slcc-d-shell {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  padding: 14px;
}

.slcc-d-smart {
  margin-top: 12px;
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(255, 255, 255, 0.96));
  padding: 12px;
}

.slcc-d-smartLabel {
  margin: 0;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0369a1;
}

.slcc-d-smartText {
  margin: 5px 0 0;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.slcc-d-smartChips {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.slcc-d-searchRow {
  display: grid;
  gap: 10px;
}

@media (min-width: 760px) {
  .slcc-d-searchRow {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
  }
}

.slcc-d-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
}

.slcc-d-searchIcon {
  font-size: 14px;
  opacity: 0.8;
}

.slcc-d-search input {
  width: 100%;
  border: 0;
  outline: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  background: transparent;
}

.slcc-d-search input::placeholder {
  color: #94a3b8;
  font-weight: 600;
}

.slcc-d-clear {
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 16px;
  cursor: pointer;
  border-radius: 10px;
  padding: 6px 8px;
}

.slcc-d-clear:hover {
  background: #f1f5f9;
}

.slcc-d-filtersBtn,
.slcc-d-toggle,
.slcc-d-btn,
.slcc-d-link {
  font-family: inherit;
}

.slcc-d-filtersBtn,
.slcc-d-toggle {
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  color: #334155;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.slcc-d-filtersBtn:hover,
.slcc-d-toggle:hover {
  border-color: #94a3b8;
}

.slcc-d-viewToggle {
  display: flex;
  gap: 8px;
}

.slcc-d-toggle--active {
  color: #fff;
  border-color: var(--navy);
  background: var(--navy);
}

.slcc-d-filters {
  margin-top: 12px;
  border: 1px solid #dbe5f1;
  border-radius: 14px;
  background: #f8fafc;
  padding: 12px;
}

.slcc-d-fgrid {
  display: grid;
  gap: 10px;
}

@media (min-width: 760px) {
  .slcc-d-fgrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

.slcc-d-field--wide {
    grid-column: 1 / -1;
  }
}

.slcc-d-field--checkbox {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.slcc-d-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #475569;
}

.slcc-d-field input,
.slcc-d-field select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  background: #fff;
  padding: 11px 12px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  outline: none;
}

.slcc-d-field input:focus,
.slcc-d-field select:focus {
  border-color: var(--blue-strong);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}

.slcc-d-hint {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.slcc-d-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

.slcc-d-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
}

.slcc-d-actions {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}

.slcc-d-btn {
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.slcc-d-btn--ghost {
  background: #fff;
  color: #334155;
}

.slcc-d-btn--primary {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.slcc-d-btn--primary:hover {
  background: #102456;
}

.slcc-d-status {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
}

.slcc-d-statusText {
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.slcc-d-statusRight {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slcc-d-pill {
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 900;
}

.slcc-d-link {
  border: 0;
  background: transparent;
  color: var(--blue-strong);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
}

.slcc-d-results {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.slcc-d-results--grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 760px) {
  .slcc-d-results--grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .slcc-d-results--grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.slcc-card {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.slcc-card:hover {
  border-color: #b9c9dd;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.09);
}

.slcc-card--skeleton {
  min-height: 170px;
  overflow: hidden;
  position: relative;
}

.slcc-card--skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.66), transparent);
  animation: slccDiscoverShimmer 1.2s infinite;
}

@keyframes slccDiscoverShimmer {
  100% {
    transform: translateX(100%);
  }
}

.slcc-d-results--grid .slcc-card {
  flex-direction: column;
  align-items: stretch;
}

.slcc-ava {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid #dbe5f1;
  background: #f8fafc;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.slcc-ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slcc-ava span {
  color: #64748b;
  font-size: 14px;
  font-weight: 900;
}

.slcc-meta {
  min-width: 0;
  flex: 1;
}

.slcc-nameRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.slcc-name {
  margin: 0;
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slcc-badge {
  border: 1px solid rgba(14, 165, 233, 0.35);
  background: rgba(14, 165, 233, 0.1);
  border-radius: 999px;
  color: #0c4a6e;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 8px;
}

.slcc-badge--gold {
  border-color: rgba(255, 209, 0, 0.45);
  background: rgba(255, 209, 0, 0.18);
  color: #7c5b00;
}

.slcc-badge--success {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.slcc-headline {
  margin: 5px 0 0;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.slcc-loc {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.slcc-score {
  margin: 8px 0 0;
  color: #0f172a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.slcc-reasons {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.slcc-reason {
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 800;
}

.slcc-tags {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.slcc-tag {
  border: 1px solid #dbe5f1;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.slcc-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
}

.slcc-actions a {
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  padding: 8px 11px;
  text-decoration: none;
  color: #334155;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.slcc-actions a.primary {
  color: #fff;
  border-color: var(--navy);
  background: var(--navy);
}

.slcc-actions a:hover {
  filter: brightness(0.97);
}

.slcc-d-empty {
  margin-top: 12px;
}

.slcc-d-emptyCard {
  border: 1px dashed #cbd5e1;
  border-radius: 15px;
  background: #fff;
  padding: 22px;
  text-align: center;
}

.slcc-d-emptyCard h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.slcc-d-emptyCard p {
  margin: 0 auto 12px;
  max-width: 540px;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.slcc-d-footer {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

@media (max-width: 759px) {
  .slcc-discover {
    width: calc(100% - 16px);
    margin-top: 10px;
  }

  .slcc-d-hero {
    padding: 16px;
  }

  .slcc-d-title {
    font-size: 26px;
  }

  .slcc-d-actions {
    justify-content: stretch;
  }

  .slcc-d-actions .slcc-d-btn {
    flex: 1;
  }

  .slcc-d-status {
    flex-direction: column;
    align-items: stretch;
  }

  .slcc-d-statusRight {
    justify-content: space-between;
  }

  .slcc-d-check {
    align-items: flex-start;
  }
}
