/* ==========================================================================
   RocoYU Lab — 共享骨架样式（仅索引页与页面外框）
   每个方案自己有独立的主题样式，这里只放最少的公共部分。
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }

/* ---------- 方案索引页 ---------- */
.lab-index {
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  background: #0e0d0b;
  color: #ede7db;
  min-height: 100svh;
  padding: 48px 24px 80px;
}
.lab-wrap { max-width: 1180px; margin: 0 auto; }
.lab-kicker {
  font-size: 11px; font-weight: 800; letter-spacing: 0.22em;
  text-transform: uppercase; color: #b8934e;
}
.lab-index h1 {
  margin: 10px 0 0; font-size: clamp(30px, 5vw, 52px);
  font-weight: 900; line-height: 1.08; letter-spacing: -0.02em;
}
.lab-lead {
  margin: 16px 0 0; max-width: 62ch;
  font-size: 15px; line-height: 1.75; color: #a49b8b;
}
.lab-note {
  margin-top: 26px; padding: 14px 18px;
  border-left: 3px solid #b8934e;
  background: #17150f;
  font-size: 13.5px; line-height: 1.7; color: #c9bfae;
}
.lab-grid {
  margin-top: 44px;
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.lab-card {
  display: flex; flex-direction: column;
  padding: 0; overflow: hidden;
  border: 1px solid #2c2820;
  background: #14120e;
  text-decoration: none;
  transition: border-color .2s, transform .2s;
}
.lab-card:hover { border-color: #b8934e; transform: translateY(-3px); }
.lab-thumb {
  height: 168px;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800; letter-spacing: 0.1em;
  border-bottom: 1px solid #2c2820;
  position: relative; overflow: hidden;
}
.lab-body { padding: 18px 20px 22px; }
.lab-tag {
  display: inline-block; margin-bottom: 10px;
  padding: 2px 9px; border-radius: 99px;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.lab-card h2 { margin: 0; font-size: 19px; font-weight: 900; }
.lab-card p {
  margin: 9px 0 0; font-size: 13.5px; line-height: 1.65; color: #9c9384;
}
.lab-traits { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 6px; }
.lab-traits span {
  padding: 3px 9px; font-size: 11px; font-weight: 700;
  border: 1px solid #2f2b22; color: #8d8474;
}
.lab-foot {
  margin-top: 46px; padding-top: 22px;
  border-top: 1px solid #262218;
  font-size: 12.5px; color: #6f6858; line-height: 1.8;
}
