/* ============================================================
   classes.css — 普适类页面
   Scoped to .uc-* to avoid collisions with discoveries.css
   ============================================================ */

.uc-page {
  padding: 48px 0 96px;
  min-height: calc(100vh - 120px);
}

.uc-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* -------- Hero -------- */

.uc-hero {
  margin-bottom: 48px;
}

.uc-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted, #707070);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.uc-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d97757;
  box-shadow: 0 0 0 3px rgba(217, 119, 87, 0.18);
  animation: uc-pulse 2.2s ease-in-out infinite;
}

@keyframes uc-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.uc-hero__title {
  font-family: 'Noto Serif SC', Georgia, serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  color: var(--color-text, #1a1a1a);
}

.uc-hero__title em {
  font-style: italic;
  font-weight: 500;
  color: #d97757;
}

.uc-hero__lede {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--color-text, #333);
  margin: 0 0 14px;
  max-width: 700px;
}

.uc-hero__lede strong {
  color: #1a1a1a;
  font-weight: 600;
}

.uc-hero__lede a {
  color: #d97757;
  text-decoration: none;
  border-bottom: 1px dashed rgba(217, 119, 87, 0.4);
}

.uc-hero__lede a:hover {
  border-bottom-color: #d97757;
}

.uc-hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 28px;
  padding: 20px 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: rgba(250, 250, 249, 0.6);
}

.uc-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.uc-hero__stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 26px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1;
}

.uc-hero__stat-label {
  font-size: 12.5px;
  color: #707070;
  letter-spacing: 0.02em;
}

/* -------- Filter -------- */

.uc-filter {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.uc-filter__btn {
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #555;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
}

.uc-filter__btn:hover {
  border-color: rgba(217, 119, 87, 0.45);
  color: #1a1a1a;
}

.uc-filter__btn--active {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.uc-filter__count {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  color: #555;
  font-family: 'JetBrains Mono', monospace;
}

.uc-filter__btn--active .uc-filter__count {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* -------- List -------- */

.uc-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  align-items: start;
}
@media (min-width: 1440px) {
  .uc-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .uc-list { grid-template-columns: 1fr; gap: 12px; }
}

/* Preview cards are clickable */
.uc-card--preview {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.uc-card--preview:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.uc-card__footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}
.uc-card__cta {
  color: #2563EB;
  font-weight: 500;
  white-space: nowrap;
}
.uc-card--preview:hover .uc-card__cta {
  text-decoration: underline;
}
.uc-card__more-hint {
  color: #71717A;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
}

/* -------- Detail view -------- */
.uc-detail__breadcrumb {
  margin: 0 0 24px;
  font-size: 13px;
}
.uc-detail__breadcrumb a {
  color: #71717A;
  text-decoration: none;
}
.uc-detail__breadcrumb a:hover {
  color: #2563EB;
  text-decoration: underline;
}

.uc-detail__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.uc-detail__titles { flex: 1 1 auto; min-width: 0; }
.uc-detail__title {
  font-family: 'Noto Serif SC', Georgia, serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2;
  color: #18181B;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.uc-detail__subtitle {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  color: #71717A;
  font-size: 16px;
  margin: 0;
}
.uc-detail__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.uc-detail__hub {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 20px 0 24px;
  padding: 14px 18px;
  background: #FFFFFF;
  border: 1px solid #E4E4E7;
  border-left: 3px solid rgba(217, 119, 87, 0.7);
  border-radius: 0 8px 8px 0;
}
.uc-detail__hub-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #71717A;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.uc-detail__hub-name {
  font-size: 16px;
  font-weight: 500;
  color: #18181B;
}

.uc-detail__lede {
  font-size: 17px;
  line-height: 1.8;
  color: #3f3f46;
  margin: 0 0 36px;
  padding: 20px 24px;
  background: #FFFFFF;
  border: 1px solid #E4E4E7;
  border-radius: 10px;
}

.uc-detail__body {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.uc-detail__section {
  padding: 28px 32px;
  background: #FFFFFF;
  border: 1px solid #E4E4E7;
  border-radius: 12px;
}
.uc-detail__section--note {
  background: #fcfbf7;
}
.uc-detail__section-title {
  font-size: 13px;
  color: #71717A;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 16px;
}
.uc-detail__section-sub {
  font-size: 13px;
  color: #71717A;
  margin: -10px 0 14px;
}

.uc-detail__footer {
  margin: 48px 0 0;
  padding-top: 24px;
  border-top: 1px solid #E4E4E7;
}
.uc-detail__back-btn {
  display: inline-flex;
  padding: 10px 18px;
  background: #FFFFFF;
  border: 1px solid #D4D4D8;
  border-radius: 8px;
  color: #52525B;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.15s;
}
.uc-detail__back-btn:hover {
  border-color: #2563EB;
  color: #2563EB;
  text-decoration: none;
}

@media (max-width: 720px) {
  .uc-detail__title { font-size: 28px; }
  .uc-detail__section { padding: 20px 22px; }
  .uc-detail__lede { padding: 16px 18px; font-size: 15px; }
}

/* -------- Card -------- */

.uc-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 16px 18px 12px;
  background: #fff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* Overflow safety: grid children default to min-width: auto which prevents
     shrinking; reset so long text / wide flex children can fit. */
  min-width: 0;
  overflow: hidden;
}

.uc-card:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border-color: rgba(37, 99, 235, 0.22);
}

.uc-card[data-expanded="true"] {
  padding: 26px 30px 22px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border-color: rgba(37, 99, 235, 0.25);
  gap: 14px;
}

.uc-card__meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
}
.uc-card__meta-key {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: #71717A;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.uc-card__expandable {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.uc-card__toggle {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 12px;
  background: rgba(0, 0, 0, 0.025);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 7px;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  color: #52525B;
  transition: all 0.15s ease;
  width: 100%;
  text-align: left;
}
.uc-card[data-expanded="true"] .uc-card__toggle {
  padding: 10px 14px;
  font-size: 13px;
}
.uc-card__toggle:hover {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.2);
  color: #2563EB;
}
.uc-card__toggle-text {
  font-weight: 500;
  flex-shrink: 0;
}
.uc-card__more-hint {
  flex: 1;
  text-align: right;
  font-size: 12px;
  color: #71717A;
  font-family: 'JetBrains Mono', monospace;
}
.uc-card__toggle-icon {
  flex-shrink: 0;
  color: currentColor;
  transition: transform 0.2s ease;
}
.uc-card[data-expanded="true"] .uc-card__toggle-icon {
  transform: rotate(180deg);
}

.uc-card--uncurated {
  background: rgba(250, 250, 249, 0.5);
  border-style: dashed;
}

.uc-card__section--note {
  background: #fcfbf7;
  border-radius: 8px;
  padding: 12px 16px;
  margin-left: -16px;
  margin-right: -16px;
}

.uc-note {
  font-size: 13.5px;
  color: #666;
  line-height: 1.65;
  font-style: italic;
  margin: 0;
}

.uc-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.uc-card__titles {
  flex: 1 1 auto;
  min-width: 0;
  /* Allow long Chinese-English hybrid names to wrap instead of overflow */
  overflow-wrap: anywhere;
  word-break: break-word;
}

.uc-card__title {
  font-family: 'Noto Serif SC', Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  color: #1a1a1a;
  margin: 0 0 2px;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.uc-card__subtitle { font-size: 12px; }
.uc-card[data-expanded="true"] .uc-card__title { font-size: 26px; margin-bottom: 4px; }
.uc-card[data-expanded="true"] .uc-card__subtitle { font-size: 13px; }

.uc-card__subtitle {
  font-size: 13px;
  color: #808080;
  font-family: 'Inter', sans-serif;
  font-style: italic;
  margin: 0;
}

.uc-card__badges {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  flex-shrink: 1;   /* allow shrinking when card is narrow */
  min-width: 0;
  max-width: 100%;
}

/* Prevent individual badges from overflowing on very narrow cards */
.uc-badge {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.uc-badge { padding: 3px 8px; font-size: 10.5px; }
.uc-card[data-expanded="true"] .uc-badge { padding: 5px 11px; font-size: 11.5px; }

.uc-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  font-size: 11.5px;
  font-weight: 500;
  border-radius: 999px;
  letter-spacing: 0.02em;
  font-family: 'JetBrains Mono', monospace;
}

.uc-badge--size   { background: #f0edea; color: #5a4a3d; }
.uc-badge--domain { background: #eef4ee; color: #3d5a45; }
.uc-badge--score  { background: #faf0e9; color: #80492a; }
.uc-badge--soc    { background: #fbebea; color: #9e2a2b; }
.uc-badge--llm-high { background: #eaf2ef; color: #335c50; border: 1px solid #c8ded5; }
.uc-badge--llm-med  { background: #f3f0e5; color: #6c5b2b; border: 1px solid #e0d8b8; }
.uc-badge--llm-low  { background: #faeaea; color: #7d3030; border: 1px solid #e0bcbc; }

/* Verified-prediction badge — most prominent of the badges */
.uc-badge--verified {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  border: 1px solid #15803d;
  box-shadow: 0 1px 3px rgba(22, 163, 74, 0.35);
  font-weight: 600;
  font-family: 'Inter', -apple-system, sans-serif;
  letter-spacing: 0.01em;
  animation: uc-verified-pulse 2.6s ease-in-out infinite;
}

@keyframes uc-verified-pulse {
  0%, 100% { box-shadow: 0 1px 3px rgba(22, 163, 74, 0.35); }
  50% { box-shadow: 0 1px 12px rgba(22, 163, 74, 0.55); }
}

/* Card-level emphasis when it has verified predictions */
.uc-card[data-verified="true"] {
  border-color: rgba(22, 163, 74, 0.35);
  box-shadow: 0 2px 10px rgba(22, 163, 74, 0.08);
}
.uc-card[data-verified="true"]:hover {
  border-color: rgba(22, 163, 74, 0.6);
  box-shadow: 0 4px 18px rgba(22, 163, 74, 0.18);
}
.uc-card[data-verified="true"] .uc-card__title::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  margin-left: 8px;
  vertical-align: middle;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.uc-card__hub {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 2px 0 4px;
  padding-left: 10px;
  border-left: 2px solid rgba(217, 119, 87, 0.55);
  font-size: 12px;
  min-width: 0;
  flex-wrap: wrap;   /* let hub label + long name wrap to 2 lines if needed */
}
.uc-card__hub-name {
  font-size: 13px;
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}
.uc-card[data-expanded="true"] .uc-card__hub {
  margin: 4px 0 6px;
  padding-left: 14px;
  border-left-width: 3px;
  font-size: 13px;
}
.uc-card[data-expanded="true"] .uc-card__hub-name { font-size: 15px; }

.uc-card__hub-label {
  font-size: 12px;
  color: #909090;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.uc-card__hub-name {
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
  flex: 1 1 auto;
}

.uc-card__summary {
  font-size: 13px;
  line-height: 1.6;
  color: #52525B;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.uc-card[data-expanded="true"] .uc-card__summary {
  font-size: 15px;
  line-height: 1.75;
  color: #444;
  -webkit-line-clamp: unset;
  overflow: visible;
  margin-bottom: 8px;
}

.uc-card__section {
  padding-top: 0;
  border-top: none;
}

.uc-card__section-title {
  font-size: 12px;
  color: #808080;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 10px;
}

/* -------- Shared equations -------- */

.uc-eq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.uc-eq-block {
  background: #faf9f7;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 14px 18px;
}

.uc-eq-label {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: #808080;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 600;
}

.uc-eq-line {
  margin: 4px 0;
  overflow-x: auto;
}

.uc-eq-line .katex-display {
  margin: 6px 0;
  padding: 0;
  background: transparent;
  text-align: left;
}
.uc-eq-line .katex {
  font-size: 1.05em;
  color: #18181B;
}

.uc-eq-code {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #3d2e1f;
  background: transparent;
  border: 0;
  padding: 0;
  line-height: 1.55;
  word-break: break-word;
  white-space: pre-wrap;
}

/* -------- Invariants + physics prototype -------- */

.uc-inv-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 20px;
}

.uc-inv-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.55;
  color: #444;
}

.uc-inv-list li::before {
  content: "∼";
  position: absolute;
  left: 0;
  top: 0;
  color: #d97757;
  font-weight: 600;
}

.uc-prototype {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(217, 119, 87, 0.09);
  color: #80492a;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}

/* -------- Members by domain -------- */

.uc-members {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.uc-members__row {
  display: flex;
  gap: 12px;
  align-items: baseline;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.06);
  padding-bottom: 8px;
}

.uc-members__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.uc-members__domain {
  flex: 0 0 140px;
  font-size: 12.5px;
  font-weight: 600;
  color: #707070;
  font-family: 'Inter', sans-serif;
}

.uc-members__names {
  flex: 1 1 auto;
  font-size: 14px;
  line-height: 1.65;
  color: #333;
}

.uc-members__name {
  display: inline-block;
  margin-right: 10px;
}

.uc-members__name--hub {
  color: #80492a;
  font-weight: 500;
}

/* -------- Predictions -------- */

.uc-pred {
  background: linear-gradient(180deg, #fff 0%, #fdf9f4 100%);
  border: 1px solid rgba(217, 119, 87, 0.25);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 12px;
}

.uc-pred:last-child {
  margin-bottom: 0;
}

.uc-pred__header {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.uc-pred__target {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
}

.uc-pred__status {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(217, 119, 87, 0.15);
  color: #80492a;
  font-weight: 500;
}

.uc-pred__status--verified {
  background: rgba(54, 140, 85, 0.15);
  color: #2a6c40;
  font-weight: 600;
}

.uc-pred--verified {
  border-color: rgba(54, 140, 85, 0.4);
  background: linear-gradient(180deg, #fff 0%, #f4faf5 100%);
}

.uc-pred__paper-link {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: #1a1a1a;
  color: #fff !important;
  text-decoration: none;
  border: 1px solid #1a1a1a;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.uc-pred__paper-link:hover {
  background: #d97757;
  border-color: #d97757;
  transform: translateY(-1px);
}

.uc-pred__text {
  font-size: 14.5px;
  color: #333;
  line-height: 1.65;
  margin: 0 0 8px;
}

.uc-pred__rationale {
  font-size: 13px;
  color: #6a5d47;
  line-height: 1.6;
  margin: 0 0 10px;
  padding: 8px 12px;
  background: rgba(217, 119, 87, 0.06);
  border-left: 2px solid rgba(217, 119, 87, 0.35);
  border-radius: 4px;
  font-style: italic;
}

.uc-pred__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 4px 16px;
  font-size: 12px;
  color: #707070;
}

.uc-pred__meta-key {
  color: #999;
  margin-right: 4px;
}

/* -------- Skeleton loading -------- */

.uc-skeleton__card {
  height: 280px;
  background: linear-gradient(90deg, #f5f5f4 0%, #faf9f7 50%, #f5f5f4 100%);
  background-size: 200% 100%;
  border-radius: 16px;
  margin-bottom: 24px;
  animation: uc-shimmer 1.5s ease infinite;
}

@keyframes uc-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* -------- Footnote -------- */

.uc-footnote {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.uc-footnote__title {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}

.uc-footnote__list {
  padding-left: 20px;
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.75;
  color: #444;
}

.uc-footnote__list li {
  margin-bottom: 6px;
}

.uc-footnote__list code {
  background: #f0edea;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12.5px;
  color: #80492a;
}

.uc-footnote__hint {
  font-size: 13px;
  color: #707070;
  line-height: 1.7;
}

.uc-footnote__hint a {
  color: #d97757;
  text-decoration: none;
  border-bottom: 1px dashed rgba(217, 119, 87, 0.4);
}

/* -------- Active nav link -------- */
.site-header__nav-link--active {
  color: #d97757 !important;
}

/* -------- Responsive -------- */

@media (max-width: 720px) {
  .uc-hero__title { font-size: 32px; }
  .uc-card { padding: 22px 20px; }
  .uc-members__row { flex-direction: column; gap: 4px; }
  .uc-members__domain { flex: 0 0 auto; }
}

/* ============================================================
   Layout refresh 2026-04-17
   Tightens hero, gives cards more breathing room, quiets
   competing visual signals on "已实证" state.
   ============================================================ */

/* 1. Wider, roomier card grid. */
.uc-list {
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 18px;
}
@media (min-width: 1280px) {
  .uc-list { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (max-width: 820px) {
  .uc-list { grid-template-columns: 1fr; gap: 14px; }
}

/* 2. Card padding + rhythm. */
.uc-card--preview {
  padding: 20px 22px 16px;
  gap: 12px;
}

/* 3. Title: larger, with better breathing. Subtitle: a bit bigger. */
.uc-card__title { font-size: 19px; line-height: 1.32; margin-bottom: 3px; }
.uc-card__subtitle { font-size: 13px; }

/* 4. Hub row: replace orange left-border with neutral mono label chip,
   aligned with the design system. */
.uc-card__hub {
  border-left: none;
  padding-left: 0;
  margin: 0;
  align-items: center;
  font-size: 13px;
  gap: 10px;
}
.uc-card__hub-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.04);
  color: #71717A;
  letter-spacing: 0.06em;
}
.uc-card__hub-name {
  font-size: 14px;
  color: #18181B;
  font-weight: 500;
}

/* 5. Summary: 4 lines instead of 3, slightly bigger. */
.uc-card__summary {
  font-size: 14px;
  line-height: 1.65;
  color: #52525B;
  -webkit-line-clamp: 4;
}

/* 6. Badges: a bit larger + more padding so they're readable on retina. */
.uc-card--preview .uc-badge {
  padding: 4px 10px;
  font-size: 11.5px;
}

/* 7. Footer: remove dashed border; let whitespace + CTA carry the separation. */
.uc-card--preview .uc-card__footer {
  border-top: none;
  padding-top: 6px;
  margin-top: 4px;
  font-size: 12.5px;
}

/* 8. Verified state: keep border + badge; remove the dot on title so we
   don't have three competing "look here" signals at once. */
.uc-card[data-verified="true"] .uc-card__title::after {
  display: none;
}

/* 9. Hero: slightly tighter bottom margin now that lede is one paragraph. */
.uc-hero { margin-bottom: 36px; }
.uc-hero__lede { margin-bottom: 10px; }

/* 10. Filter: make the button group feel more like a control cluster. */
.uc-filter {
  padding: 6px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 999px;
  gap: 4px;
  width: fit-content;
  margin-bottom: 24px;
}
.uc-filter__btn {
  border-color: transparent;
  background: transparent;
  padding: 7px 14px;
  font-size: 13px;
}
.uc-filter__btn:hover {
  border-color: transparent;
  background: rgba(0, 0, 0, 0.05);
}
.uc-filter__btn--active {
  background: #ffffff;
  color: #18181B;
  border-color: transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* 11. Stats card: slightly softer background. */
.uc-hero__stats {
  background: rgba(250, 250, 249, 0.4);
  padding: 18px 22px;
}

/* ========== Mobile responsive ========== */
@media (max-width: 640px) {
  /* Hero 描述更紧凑 */
  .uc-hero__title { font-size: 24px; }
  .uc-hero__lede { font-size: 14px; line-height: 1.6; }

  /* 卡片网格 */
  .uc-list { gap: 12px; }
  .uc-card { padding: 14px 16px; }
  .uc-card__title { font-size: 16px; }
  .uc-card__subtitle { font-size: 11px; }

  /* Badges: 手机上只显示前 2 个 */
  .uc-card__badges { gap: 4px; }
  .uc-badge { font-size: 10px; padding: 2px 7px; }
  .uc-badge--score,
  .uc-badge--llm-high,
  .uc-badge--llm-med,
  .uc-badge--llm-low { display: none; }

  /* Summary 固定 2 行 */
  .uc-card__summary { -webkit-line-clamp: 2; font-size: 12px; }

  /* Hub 更紧凑 */
  .uc-card__hub { font-size: 11px; padding-left: 8px; }
  .uc-card__hub-name { font-size: 12px; }

  /* Toggle 按钮 */
  .uc-card__toggle { font-size: 12px; padding: 8px 12px; }
  .uc-card__more-hint { font-size: 10px; }

  /* 详情页 */
  .uc-detail__title { font-size: 24px; }
  .uc-detail__section { padding: 18px 16px; }
  .uc-detail__lede { padding: 14px 16px; font-size: 14px; }
  .uc-detail__hub { padding: 10px 14px; }

  /* 公式块横向滚动 */
  .uc-eq-line { overflow-x: auto; }
  .uc-eq-code { white-space: pre-wrap; word-break: break-all; font-size: 12px; }
  .uc-eq-block { padding: 10px 14px; }

  /* 不变量列表单列 */
  .uc-inv-list { grid-template-columns: 1fr; }

  /* 成员表单列 */
  .uc-members__row { flex-direction: column; gap: 4px; }

  /* 预测卡片 */
  .uc-pred { padding: 12px 14px; }
  .uc-pred__meta { font-size: 12px; }
}
