/* HSK 语法板块样式 —— hs-* 独立命名空间。
 *
 * 🔴🔴 为什么独立命名空间：`ts-*` 定义在 assets/simulator.css（交通页 + 医院页共用），
 *    `pv-*` 定义在 assets/proverb.css（成语板块）。动共用文件要重跑那两页断言，
 *    所以新板块一律开自己的前缀，不去碰别人的。
 */

.hs-hero {
  background-image: linear-gradient(135deg, #1e3a5f 0%, #2c5282 55%, #1f4d6b 100%);
  color: #fff;
  padding: 4rem 0 3rem;
}
.hs-hero .badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}
.hs-hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin: 0 0 0.4rem;
  font-weight: 700;
}
.hs-hero h1 .zh {
  display: block;
  font-size: 1.35rem;
  font-weight: 400;
  opacity: 0.9;
  margin-top: 0.5rem;
}
.hs-hero .lead {
  font-size: 1.06rem;
  line-height: 1.75;
  max-width: 46em;
  opacity: 0.95;
  margin: 1.1rem 0 0;
}
.hs-hero .stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  margin-top: 1.8rem;
}
.hs-hero .stats div {
  font-size: 0.9rem;
  opacity: 0.85;
}
.hs-hero .stats b {
  display: block;
  font-size: 1.9rem;
  font-weight: 700;
  opacity: 1;
  line-height: 1.2;
}

.hs-sec { padding: 3.2rem 0; }
.hs-sec.alt { background: #f7f9fb; }

.hs-h2 {
  font-size: 1.65rem;
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: #1a202c;
}
.hs-h2 .zh {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  color: #4a5568;
  margin-top: 0.2rem;
}
.hs-sub {
  color: #4a5568;
  line-height: 1.8;
  max-width: 48em;
  margin: 0 0 1.8rem;
  font-size: 1rem;
}

/* 划线声明块 —— 老陈拍板的「明确划线」，页面必须自己说清不做什么 */
.hs-scope {
  background: #fffaf0;
  border-left: 4px solid #d69e2e;
  padding: 1.2rem 1.4rem;
  border-radius: 0 8px 8px 0;
  margin: 1.6rem 0;
  max-width: 52em;
}
.hs-scope h4 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: #744210;
  font-weight: 700;
}
.hs-scope p {
  margin: 0;
  line-height: 1.75;
  color: #4a5568;
  font-size: 0.94rem;
}

/* 类别区块 */
.hs-cat { margin-bottom: 3rem; }
.hs-cat-head {
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0.7rem;
  margin-bottom: 1.3rem;
}
.hs-cat-head .n {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: #718096;
  text-transform: uppercase;
}
.hs-cat-head h3 {
  margin: 0.15rem 0 0.2rem;
  font-size: 1.3rem;
  color: #1a202c;
  font-weight: 700;
}
.hs-cat-head h3 .zh {
  font-size: 1rem;
  font-weight: 400;
  color: #4a5568;
  margin-left: 0.5rem;
}
.hs-cat-head .intro {
  color: #4a5568;
  line-height: 1.75;
  font-size: 0.95rem;
  max-width: 48em;
  margin: 0.5rem 0 0;
}

/* 语法点卡片 */
.hs-point {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.2rem 1.35rem;
  margin-bottom: 0.85rem;
}
.hs-point .p-official {
  font-size: 0.8rem;
  color: #2c5282;
  font-weight: 500;
  background: #ebf4ff;
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
}
.hs-point .p-say {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #1a202c;
  margin: 0 0 0.85rem;
}
.hs-ex {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}
.hs-ex .ex {
  background: #f7fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.4rem 0.8rem;
  font-size: 1.02rem;
  color: #1a202c;
  cursor: pointer;
  transition: background 0.15s;
}
.hs-ex .ex:hover { background: #ebf4ff; }
.hs-ex .ex.speaking { background: #bee3f8; border-color: #4299e1; }
.hs-note {
  font-size: 0.93rem;
  line-height: 1.75;
  color: #4a5568;
  border-top: 1px dashed #e2e8f0;
  padding-top: 0.75rem;
  margin: 0;
}
.hs-note .warn { color: #975a16; font-weight: 600; }

/* 路线图 */
.hs-road {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.8rem;
}
.hs-lv {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem 1.1rem;
}
.hs-lv.done { border-color: #2f855a; background: #f0fff4; }
.hs-lv h4 {
  margin: 0 0 0.15rem;
  font-size: 1.05rem;
  color: #1a202c;
  font-weight: 700;
}
.hs-lv .st {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2f855a;
  font-weight: 600;
  display: block;
  margin-bottom: 0.45rem;
}
.hs-lv.planned .st { color: #a0aec0; }
.hs-lv p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #4a5568;
}

/* FAQ */
.hs-faq details {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.9rem 1.2rem;
  margin-bottom: 0.7rem;
}
.hs-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #1a202c;
  font-size: 1rem;
  line-height: 1.6;
}
.hs-faq details p {
  margin: 0.8rem 0 0;
  line-height: 1.8;
  color: #4a5568;
  font-size: 0.95rem;
}

/* hub 的类别入口卡 */
.hs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.9rem;
}
.hs-catcard {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  text-decoration: none;
  display: block;
  transition: border-color 0.15s, background 0.15s;
}
.hs-catcard:hover { border-color: #4299e1; background: #ebf4ff; }
.hs-catcard .n {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #718096;
}
.hs-catcard h3 {
  margin: 0.25rem 0 0.15rem;
  font-size: 1.15rem;
  color: #1a202c;
  font-weight: 700;
}
.hs-catcard .en {
  margin: 0;
  font-size: 0.88rem;
  color: #4a5568;
}
.hs-catcard .ct {
  margin: 0.6rem 0 0;
  font-size: 0.82rem;
  color: #2c5282;
  font-weight: 600;
}

/* 内链 */
.hs-rel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.hs-rel a {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  background: #2c5282;
  color: #fff;
  border-radius: 7px;
  text-decoration: none;
  font-size: 0.94rem;
  transition: background 0.15s;
}
.hs-rel a:hover { background: #1a365d; }

@media (max-width: 640px) {
  .hs-hero h1 { font-size: 1.85rem; }
  .hs-hero .stats { gap: 1.4rem; }
  .hs-hero .stats b { font-size: 1.5rem; }
  .hs-sec { padding: 2.2rem 0; }
}