/* 海口明颖贸易有限公司 · 企业官网 全站样式
   品牌色：深绿 #286B58 / 中绿 #6F8F7D / 墨绿 #23382F */
:root {
  --blue: #286B58;
  --blue-dark: #1D5344;
  --yellow: #6F8F7D;
  --ink: #23382F;
  --gray: #68796E;
  --line: #E7ECE5;
  --bg: #F6F7F3;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(35, 56, 47, .08);
  --max: 1120px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; align-items: center; }
.nav-links a {
  font-size: 15px; color: var(--gray); font-weight: 500;
  padding: 6px 2px; position: relative; transition: color .2s;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--blue); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--blue); border-radius: 2px;
}
.nav-user { display: flex; align-items: center; gap: 12px; }
.nav-user .uname { font-size: 14px; color: var(--ink); font-weight: 600; }
.btn {
  display: inline-block; cursor: pointer; border: none;
  padding: 10px 22px; border-radius: 8px; font-size: 15px; font-weight: 600;
  transition: all .2s; text-align: center;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: transparent; color: var(--blue); border: 1px solid var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; }
.btn-sm { padding: 7px 16px; font-size: 14px; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { filter: brightness(1.05); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  min-height: 380px; display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("../hero.jpg") center / cover no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(35, 56, 47, .88) 20%, rgba(40, 107, 88, .55) 75%, rgba(40, 107, 88, .25));
}
.hero-inner { position: relative; padding: 40px 0; max-width: 640px; }

/* ---------- 首页顶部横幅：高度严控在视口 10% 以内 ---------- */
.hero.hero--banner {
  min-height: 0;
  height: calc(10vh - 1px);
  max-height: calc(10vh - 1px);
  align-items: center;
}
.hero--banner .banner-bar {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(10px, 2vw, 28px);
  height: 100%;
}
.hero--banner .banner-slogan {
  display: flex; align-items: center; gap: clamp(6px, 0.8vw, 12px);
  min-width: 0; white-space: nowrap;
  font-size: clamp(14px, 2.2vh, 21px);
  line-height: 1.15; letter-spacing: .5px;
  overflow: hidden;
}
.hero--banner .banner-brand { font-weight: 700; flex: none; }
.hero--banner .banner-sep { color: rgba(255, 255, 255, .55); flex: none; }
.hero--banner .banner-quote {
  color: var(--yellow); font-weight: 600;
  overflow: hidden; text-overflow: ellipsis;
}
.hero--banner .banner-actions {
  display: flex; align-items: center; gap: clamp(8px, 1vw, 14px); flex: none;
}
.hero--banner .btn-sm {
  padding: clamp(5px, 0.9vh, 9px) clamp(12px, 1.4vw, 18px);
  font-size: clamp(12px, 1.5vh, 14px);
  white-space: nowrap;
}
.hero--banner .banner-ghost { color: #fff; border-color: rgba(255, 255, 255, .7); }
.hero--banner .banner-ghost:hover { background: #fff; color: var(--blue); }

/* 主推区引导头（原横幅内容下移后的排版） */
.app-lead { max-width: 760px; margin: 0 0 44px; }
.app-lead .tag {
  display: inline-block; font-size: 13px; letter-spacing: 2px;
  color: var(--blue); border: 1px solid rgba(40, 107, 88, .45);
  padding: 3px 12px; border-radius: 999px; margin-bottom: 14px;
}
.app-lead h1 { font-size: 34px; line-height: 1.25; font-weight: 700; letter-spacing: .5px; color: var(--ink); }

/* ---------- 首页品牌标语（主视觉大字 + 入场动效） ---------- */
.app-lead h1.slogan {
  position: relative; z-index: 0;
  margin-top: 4px;
  font-size: clamp(32px, 4.8vw, 54px);
  line-height: 1.24; letter-spacing: 2px; font-weight: 800;
  color: var(--ink);
}
.app-lead h1.slogan .slogan__line {
  display: block;
  opacity: 0; transform: translateY(16px);
  animation: sloganIn .75s cubic-bezier(.22, .68, .32, 1) forwards;
}
.app-lead h1.slogan .slogan__line:nth-child(1) { animation-delay: .06s; }
.app-lead h1.slogan .slogan__line:nth-child(2) { animation-delay: .2s; }
@keyframes sloganIn { to { opacity: 1; transform: none; } }

/* 品牌名：品牌蓝 + 黄色高亮笔（下划线从左扫出） */
.app-lead h1.slogan .slogan__brand {
  position: relative; display: inline-block;
  color: var(--blue); padding: 0 .05em;
}
.app-lead h1.slogan .slogan__brand::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .06em; height: .17em;
  background: linear-gradient(90deg, rgba(242, 169, 59, .95), rgba(242, 169, 59, .45));
  border-radius: 999px; z-index: -1;
  transform: scaleX(0); transform-origin: left center;
  animation: sloganMark .8s .45s cubic-bezier(.22, .68, .32, 1) forwards;
}
@keyframes sloganMark { to { transform: scaleX(1); } }

/* 品牌名可点击 → 打开「勤记」应用 */
.app-lead h1.slogan a.slogan__brand { text-decoration: none; cursor: pointer; }
.app-lead h1.slogan a.slogan__brand:hover { color: var(--blue-dark); }
.app-lead h1.slogan a.slogan__brand:hover::after {
  background: linear-gradient(90deg, var(--yellow), rgba(242, 169, 59, .6));
}
.app-lead h1.slogan a.slogan__brand:active { color: var(--blue-dark); }

/* 副标语：品牌定位句，弱化处理 */
.app-lead .slogan__sub {
  margin-top: 16px; font-size: 15px; font-weight: 600;
  letter-spacing: 2px; color: var(--blue-dark); opacity: .8;
}

/* ---------- 首页主推区：左品牌标语 ｜ 右浮动活动卡片 ---------- */
.app-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 392px);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
  margin-bottom: 76px;
}
.app-hero .app-lead { margin-bottom: 0; max-width: none; }

/* 首页主 CTA：打开 App */
.app-lead .btn-app {
  padding: 12px 26px; letter-spacing: .5px;
  box-shadow: 0 8px 20px rgba(40, 107, 88, .28);
}
.app-lead .btn-app:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(40, 107, 88, .34); }

/* 活动卡片：独立浮起，避免把页面切成「到此结束」的横条 */
.campaign-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; gap: 9px;
  padding: 30px 28px 26px;
  border-radius: 18px; color: #fff; text-decoration: none;
  background: linear-gradient(150deg, #1D5344 0%, #286B58 62%, #6F8F7D 100%);
  box-shadow: 0 18px 40px rgba(29, 83, 68, .22);
  transition: transform .28s cubic-bezier(.22, .68, .32, 1), box-shadow .28s ease;
}
.campaign-card::after {
  content: ''; position: absolute; right: -46px; top: -46px;
  width: 170px; height: 170px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 169, 59, .45), transparent 70%);
  pointer-events: none;
}
.campaign-card:hover { transform: translateY(-5px); box-shadow: 0 26px 54px rgba(29, 83, 68, .3); }
.campaign-card > * { position: relative; z-index: 1; }
.campaign-card__tag {
  background: var(--yellow); color: var(--ink);
  font-weight: 700; font-size: 12px; letter-spacing: .5px;
  border-radius: 999px; padding: 4px 13px;
}
.campaign-card__title { font-size: 19px; line-height: 1.5; letter-spacing: .3px; }
.campaign-card__date { font-size: 13px; font-weight: 600; color: var(--yellow); letter-spacing: .5px; }
.campaign-card__desc { font-size: 13.5px; line-height: 1.7; color: rgba(255, 255, 255, .78); }
.campaign-card__btn { margin-top: 8px; align-self: stretch; }

/* ---------- 核心功能卡片：版式优化 ---------- */
.feat-grid { gap: 20px; }
.feat-grid .card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 30px 26px 28px;
}
.feat-grid .card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--yellow));
  transform: scaleX(0); transform-origin: left center;
  transition: transform .38s cubic-bezier(.22, .68, .32, 1);
}
.feat-grid .card:hover::before { transform: scaleX(1); }
.feat-grid .card .icon {
  width: 56px; height: 56px; border-radius: 16px; font-size: 27px;
  background: linear-gradient(135deg, rgba(40, 107, 88, .16), rgba(242, 169, 59, .22));
  margin-bottom: 20px;
  transition: transform .3s ease;
}
.feat-grid .card:hover .icon { transform: scale(1.06) rotate(-3deg); }
.feat-grid .card h3 { font-size: 19px; margin-bottom: 9px; letter-spacing: .3px; }
.feat-grid .card p { font-size: 14.5px; line-height: 1.75; }
@media (prefers-reduced-motion: reduce) {
  .app-lead h1.slogan .slogan__line { opacity: 1; transform: none; animation: none; }
  .app-lead h1.slogan .slogan__brand::after { transform: scaleX(1); animation: none; }
}
.app-lead p.sub { margin-top: 12px; font-size: 16px; color: var(--gray); max-width: 620px; }
.app-lead .stores { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
/* 引导头位于浅色区块，商店徽章需换成深色配色，否则白字不可见 */
.app-lead .store-badge.soon {
  border-color: var(--line); color: var(--gray); background: #fff; opacity: 1;
}
.app-lead .store-badge b { color: var(--ink); }
.hero .tag {
  display: inline-block; font-size: 13px; letter-spacing: 2px;
  color: var(--yellow); border: 1px solid rgba(242, 169, 59, .6);
  padding: 3px 12px; border-radius: 999px; margin-bottom: 14px;
}
.hero h1 { font-size: 38px; line-height: 1.22; font-weight: 700; letter-spacing: 1px; }
.hero p.sub { margin-top: 12px; font-size: 16px; color: rgba(255, 255, 255, .85); max-width: 520px; }
.hero .actions { margin-top: 22px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 区块 ---------- */
section.block { padding: 84px 0; }
section.block.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-head .kicker {
  color: var(--blue); font-size: 14px; font-weight: 700; letter-spacing: 3px;
}
.sec-head h2 { font-size: 32px; margin-top: 8px; }
.sec-head p { color: var(--gray); margin-top: 10px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- 页面首屏标题区：左对齐 + 紧凑（高度不高于首页横幅） ---------- */
section.block.page-top { padding-top: 22px; }
.sec-head.sec-head--head {
  text-align: left;
  max-width: 900px;
  margin-bottom: 28px;
}
.sec-head--head .kicker { font-size: 12px; letter-spacing: 2px; }
.sec-head--head h2 { font-size: 26px; margin-top: 2px; line-height: 1.25; }
.sec-head--head p {
  margin: 6px 0 0; max-width: none;
  font-size: 14px; line-height: 1.6;
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; font-size: 26px;
  background: rgba(40, 107, 88, .1); margin-bottom: 18px;
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 15px; }
.card ul { margin-top: 14px; padding-left: 18px; color: var(--gray); font-size: 14px; }
.card ul li { margin: 4px 0; }
.card .cover { border-radius: 10px; overflow: hidden; margin-bottom: 18px; }
.card .cover img { width: 100%; height: 190px; object-fit: cover; }

/* 保障条 */
.stats {
  background: linear-gradient(120deg, var(--ink), #1D5344); color: #fff;
}
.stats .grid { text-align: center; padding: 56px 0; }
.stats .num { font-size: 36px; font-weight: 700; color: var(--yellow); }
.stats .lbl { margin-top: 6px; color: rgba(255, 255, 255, .75); font-size: 14px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); margin-top: 84px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding: 56px 0 40px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer a:hover { color: var(--yellow); }
.site-footer .brandline { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.site-footer .brandline img { height: 34px; background: #fff; border-radius: 8px; padding: 4px; }
.footer-bar { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
/* 备案号：工信部规定网站底部须标注并链接至 beian.miit.gov.cn，必须静态可见 */
.site-footer .icp { margin: 0; padding: 0 0 20px; font-size: 12.5px; letter-spacing: .2px; }
.site-footer .icp a { color: rgba(255, 255, 255, .52); text-decoration: none; }
.site-footer .icp a:hover { color: var(--yellow); }

/* ---------- 表单 ---------- */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { font-size: 14px; font-weight: 600; display: block; margin-bottom: 6px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line);
  border-radius: 8px; font-size: 15px; font-family: inherit; background: #fff;
  transition: border-color .2s;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(40, 107, 88, .12);
}
.form .hint { font-size: 13px; color: var(--gray); }
.form .err { color: #d33; font-size: 14px; min-height: 20px; }

/* 联系页右列：卡片均匀分布，与左侧留言表单顶部/底部对齐 */
.contact-side {
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.contact-side .card { margin-bottom: 0; }

/* 无框卡片：去掉背景/边框/阴影，内容与区块左缘对齐 */
.card-plain {
  background: transparent; border: none; box-shadow: none;
  padding: 32px 0;
}
.card-plain:hover { transform: none; box-shadow: none; }

.msg-item { border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; background: #fff; }
.msg-item .meta { color: var(--gray); font-size: 13px; margin-bottom: 6px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.msg-item .body { font-size: 15px; white-space: pre-wrap; word-break: break-all; }
.msg-item .atts { margin-top: 8px; display: flex; gap: 10px; flex-wrap: wrap; }
.msg-item .atts a { color: var(--blue); font-size: 13px; }

/* ---------- 登录页 ---------- */
.auth-wrap { max-width: 440px; margin: 64px auto; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.auth-tabs { display: flex; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.auth-tabs button {
  flex: 1; background: none; border: none; font-size: 16px; font-weight: 600;
  padding: 12px; cursor: pointer; color: var(--gray); border-bottom: 2px solid transparent;
}
.auth-tabs button.on { color: var(--blue); border-bottom-color: var(--blue); }

/* toast */
#toast {
  position: fixed; left: 50%; bottom: 48px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 8px;
  font-size: 14px; opacity: 0; pointer-events: none; transition: all .3s; z-index: 999;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 响应式 */
@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero { min-height: 260px; }
  /* 首页横幅：窄屏同样严格 10vh，标语与按钮分两行排布 */
  .hero.hero--banner { height: calc(10vh - 1px); min-height: 0; max-height: calc(10vh - 1px); }
  .hero--banner .banner-bar { flex-wrap: wrap; gap: 4px 10px; }
  .hero--banner .banner-slogan { width: 100%; font-size: clamp(13px, 2vh, 16px); }
  .hero--banner .banner-sep { display: none; }
  .hero--banner .banner-quote::before { content: "·"; color: rgba(255,255,255,.55); margin-right: 6px; }
  .hero--banner .banner-actions { margin-left: auto; }
  .hero--banner .banner-ghost { display: none; }
  .hero--banner .btn-sm { padding: 4px 14px; font-size: 12px; }
  .app-lead h1 { font-size: 26px; }
  .app-lead h1.slogan { font-size: clamp(30px, 9vw, 40px); letter-spacing: 1px; }
  .app-lead .slogan__sub { margin-top: 12px; font-size: 14px; letter-spacing: 1px; }
  .campaign-card { padding: 24px 22px 22px; }
  .feat-grid .card { padding: 26px 22px 24px; }
  .app-lead { margin-bottom: 32px; }
  .hero-inner { padding: 32px 0; }
  .hero h1 { font-size: 26px; }
  .hero p.sub { font-size: 15px; margin-top: 10px; }
  .hero .actions { margin-top: 18px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .nav { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; row-gap: 4px; }
  .nav-links { flex-wrap: wrap; row-gap: 4px; }
  .nav-links a { white-space: nowrap; font-size: 14px; }
  .form .row { grid-template-columns: 1fr; }
}

/* ---------- 减重 APP 区块 ---------- */
.hero .stores { margin-top: 12px; display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.4); border-radius: 10px;
  padding: 7px 14px; font-size: 13px; color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.08); cursor: default;
}
.store-badge b { color: #fff; font-size: 14px; }
.store-badge.soon { opacity: .85; }
.feature-icon { font-size: 30px; }

.app-show { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.app-show .steps { margin-top: 22px; display: grid; gap: 14px; }
.app-show .step { display: flex; gap: 14px; align-items: flex-start; }
.app-show .step .n {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.app-show .step h4 { font-size: 16px; }
.app-show .step p { color: var(--gray); font-size: 14px; }

.phone {
  width: 270px; margin: 0 auto; border-radius: 36px;
  border: 10px solid var(--ink); background: #fff;
  box-shadow: var(--shadow); overflow: hidden;
}
.phone .screen { padding: 22px 18px 26px; }
.phone .app-logo {
  width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--blue), #6F8F7D);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 26px; font-weight: 800;
}
.phone .app-title { text-align: center; font-weight: 700; font-size: 17px; }
.phone .app-sub { text-align: center; color: var(--gray); font-size: 12px; margin-bottom: 16px; }
.phone .metric {
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px; margin-bottom: 10px; text-align: center;
}
.phone .metric .v { font-size: 26px; font-weight: 800; color: var(--blue); }
.phone .metric .k { font-size: 12px; color: var(--gray); }
.phone .bars { display: flex; align-items: flex-end; gap: 7px; height: 74px; padding: 6px 4px 0; }
.phone .bars i {
  flex: 1; border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #A7C4B4, var(--blue)); display: block;
}
.phone .bars i.hl { background: linear-gradient(180deg, var(--yellow), #e08a1a); }
.phone .week { display: flex; justify-content: space-between; font-size: 10px; color: var(--gray); margin-top: 6px; }
@media (max-width: 860px) { .app-show { grid-template-columns: 1fr; } }

/* ============================================================
   减肥知识讲堂 /learn/
   ============================================================ */
.ls-page { background: #F6F7F3; }

/* ---------- 栏目首页 Hero ---------- */
.ls-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(128deg, #1D5344, #286B58 55%, #6F8F7D);
  padding: 62px 0 70px;
}
.ls-hero::after {
  content: ""; position: absolute; right: -120px; top: -90px;
  width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255, 255, 255, .07);
}
.ls-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.45fr 1fr; gap: 48px; align-items: center; }
.ls-hero .kicker { color: var(--yellow); font-size: 13px; font-weight: 700; letter-spacing: 3px; }
.ls-hero h1 { font-size: 42px; margin: 10px 0 16px; letter-spacing: 1px; }
.ls-hero__text > p { color: rgba(255, 255, 255, .88); font-size: 16px; line-height: 1.85; max-width: 620px; }
.ls-hero__text strong { color: #fff; }
.ls-hero__stat { display: flex; gap: 30px; flex-wrap: wrap; margin: 26px 0 30px; }
.ls-hero__stat div { display: flex; flex-direction: column; }
.ls-hero__stat strong { font-size: 28px; color: var(--yellow); line-height: 1.2; }
.ls-hero__stat span { font-size: 13px; color: rgba(255, 255, 255, .72); }
.ls-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.ls-hero .btn-primary { background: var(--yellow); color: var(--ink); }
.ls-hero .btn-primary:hover { background: var(--yellow); filter: brightness(1.06); }
.ls-hero .btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.ls-hero .btn-ghost:hover { background: #fff; color: var(--blue); }

/* 进度面板 */
.ls-hero__panel {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 20px; padding: 26px 26px 22px; backdrop-filter: blur(8px);
}
.ls-progress { position: relative; width: 148px; margin: 0 auto 18px; }
.ls-progress__svg { width: 148px; height: 148px; transform: rotate(-90deg); }
.ls-progress__bg { fill: none; stroke: rgba(255, 255, 255, .18); stroke-width: 9; }
.ls-progress__fg { fill: none; stroke: var(--yellow); stroke-width: 9; stroke-linecap: round; transition: stroke-dashoffset .7s ease; }
.ls-progress__num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ls-progress__num strong { font-size: 28px; }
.ls-progress__num span { font-size: 12px; color: rgba(255, 255, 255, .7); }
.ls-progress__rows { display: grid; gap: 8px; font-size: 14px; }
.ls-progress__row { display: flex; justify-content: space-between; gap: 12px; color: rgba(255, 255, 255, .85); border-bottom: 1px dashed rgba(255, 255, 255, .16); padding-bottom: 7px; }
.ls-progress__row strong { color: #fff; }
.ls-progress__next { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, .85); line-height: 1.75; }
.ls-progress__next a { color: var(--yellow); font-weight: 600; }
.ls-progress__note { margin-top: 8px; min-height: 17px; font-size: 12px; color: var(--yellow); }

/* ---------- 板块卡 ---------- */
.ls-grid { display: grid; gap: 22px; }
.ls-grid--cats { grid-template-columns: repeat(3, 1fr); }
.ls-grid--mini { grid-template-columns: repeat(2, 1fr); }
.ls-cat {
  display: block; background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--cat, var(--blue)); border-radius: 14px;
  padding: 26px; transition: transform .25s, box-shadow .25s;
}
.ls-cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ls-cat__icon { font-size: 28px; margin-bottom: 12px; }
.ls-cat h3 { font-size: 19px; margin-bottom: 8px; }
.ls-cat p { color: var(--gray); font-size: 14px; min-height: 70px; }
.ls-cat__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; font-size: 13px; }
.ls-cat__n { color: var(--cat, var(--blue)); font-weight: 700; }
.ls-cat__prog { color: var(--gray); }

/* ---------- 文章列表行 ---------- */
.ls-cat-list { display: grid; gap: 10px; }
.ls-row {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 15px 20px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.ls-row:hover { border-color: var(--blue); box-shadow: 0 6px 20px rgba(35, 56, 47, .07); transform: translateX(2px); }
.ls-row__no {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  background: rgba(40, 107, 88, .1); color: var(--blue);
  font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.ls-row__main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ls-row__main strong { font-size: 16px; font-weight: 600; }
.ls-row__main em {
  font-style: normal; color: var(--gray); font-size: 13px; margin-top: 3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ls-row__meta { flex: none; color: var(--gray); font-size: 13px; }
.ls-row__state { flex: none; color: #6F8F7D; font-size: 13px; font-weight: 600; text-align: right; }
.ls-row.is-read { background: #F3F7F1; border-color: #DDE9DF; }
.ls-row.is-read .ls-row__no { background: rgba(111, 143, 125, .12); color: #6F8F7D; }

.ls-catalog { margin-bottom: 44px; }
.ls-catalog__head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.ls-catalog__head h3 { font-size: 21px; display: flex; align-items: center; gap: 10px; }
.ls-catalog__head h3 span { font-size: 22px; }
.ls-catalog__head h3 em { font-style: normal; font-size: 13px; color: var(--gray); font-weight: 400; }
.ls-catalog__more { color: var(--blue); font-size: 14px; }
.ls-catalog__more:hover { text-decoration: underline; }

/* ---------- 面包屑 ---------- */
.ls-crumb-wrap { padding: 22px 24px 0; }
.ls-crumb { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--gray); }
.ls-crumb a:hover { color: var(--blue); }
.ls-crumb em { font-style: normal; color: var(--ink); }

/* ---------- 板块页头部 ---------- */
.ls-topic-hero {
  background: linear-gradient(120deg, #23382F, #1D5344);
  color: #fff; padding: 52px 0 56px; position: relative; overflow: hidden;
}
.ls-topic-hero::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
  background: var(--cat, var(--blue));
}
.ls-topic-hero__icon { font-size: 40px; margin-bottom: 10px; }
.ls-topic-hero .kicker { color: var(--cat, var(--yellow)); font-size: 12px; font-weight: 700; letter-spacing: 3px; }
.ls-topic-hero h1 { font-size: 36px; margin: 8px 0 12px; }
.ls-topic-hero p { color: rgba(255, 255, 255, .82); max-width: 720px; }
.ls-topic-hero__meta { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 20px; font-size: 14px; color: rgba(255, 255, 255, .72); }
.ls-topic-hero__prog { color: var(--yellow); font-weight: 600; }
.ls-topic-foot { margin-top: 30px; text-align: center; }

/* ---------- 文章页布局 ---------- */
.ls-layout { display: grid; grid-template-columns: minmax(0, 1fr) 296px; gap: 36px; padding: 26px 24px 0; align-items: start; }
.ls-article { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 42px 46px 38px; }
.ls-meta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--gray); }
.ls-chip { background: var(--chip, var(--blue)); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.ls-title { font-size: 32px; line-height: 1.35; margin: 16px 0 14px; }
.ls-lead { font-size: 17px; color: var(--gray); padding-left: 14px; border-left: 3px solid var(--blue); line-height: 1.8; }
.ls-keys { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.ls-keys span { font-size: 12px; color: var(--blue); background: rgba(40, 107, 88, .08); padding: 4px 10px; border-radius: 6px; }

/* ---------- 正文排版 ---------- */
.ls-body { margin-top: 26px; font-size: 16px; line-height: 1.9; }
.ls-p { margin: 15px 0; color: #23382F; }
.ls-h2 { font-size: 21px; margin: 34px 0 12px; padding-left: 12px; border-left: 4px solid var(--blue); }
.ls-ul { list-style: none; margin: 15px 0; padding: 0; }
.ls-ul li { position: relative; padding-left: 22px; margin: 9px 0; color: #23382F; }
.ls-ul li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); opacity: .55; }
.ls-card { background: #F3F6F1; border: 1px solid #E1E9DF; border-radius: 12px; padding: 20px 22px; margin: 22px 0; }
.ls-card__t { font-weight: 700; color: var(--blue); margin-bottom: 10px; }
.ls-card__l { list-style: none; display: grid; gap: 8px; }
.ls-card__l li { position: relative; padding-left: 18px; font-size: 15px; color: #3B4A42; }
.ls-card__l li::before { content: "·"; position: absolute; left: 4px; color: var(--blue); font-weight: 700; }
.ls-tip, .ls-warn { display: flex; gap: 12px; padding: 16px 18px; border-radius: 12px; margin: 22px 0; font-size: 15px; line-height: 1.8; }
.ls-tip { background: #fff8ea; border: 1px solid #f6e2bb; }
.ls-warn { background: #fdf1f0; border: 1px solid #f4d3d0; }
.ls-tip__i, .ls-warn__i { flex: none; font-size: 17px; line-height: 1.6; }

/* ---------- 课后自测 ---------- */
.quiz { margin-top: 40px; padding-top: 28px; border-top: 1px dashed var(--line); }
.quiz__head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.quiz__head h2 { font-size: 20px; }
.quiz__status { font-size: 14px; color: var(--gray); }
.quiz__status.is-pass { color: #6F8F7D; font-weight: 600; }
.quiz__list { list-style: none; display: grid; gap: 24px; padding: 0; }
.quiz__q { display: flex; gap: 10px; font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.quiz__no {
  flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff;
  font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.quiz__opts { display: grid; gap: 9px; }
.quiz__opt {
  display: flex; gap: 10px; align-items: flex-start; width: 100%; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 16px; font-size: 15px; font-family: inherit; color: var(--ink);
  cursor: pointer; transition: border-color .18s, background .18s;
}
.quiz__opt:hover { border-color: var(--blue); background: #F3F6F1; }
.quiz__key {
  flex: none; width: 22px; height: 22px; border-radius: 6px; background: #EAF2EC; color: var(--gray);
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.quiz__opt.is-picked { border-color: var(--blue); background: #EAF2EC; }
.quiz__opt.is-picked .quiz__key { background: var(--blue); color: #fff; }
.quiz__opt.is-right { border-color: #6F8F7D; background: #f0faf6; }
.quiz__opt.is-right .quiz__key { background: #6F8F7D; color: #fff; }
.quiz__opt.is-wrong { border-color: #d9534f; background: #fdf3f2; }
.quiz__opt.is-wrong .quiz__key { background: #d9534f; color: #fff; }
.quiz__opt:disabled { cursor: default; }
.quiz__exp {
  margin-top: 12px; padding: 12px 16px; background: #F6F7F3;
  border-left: 3px solid #6F8F7D; border-radius: 0 8px 8px 0;
  font-size: 14px; color: #4F6258; line-height: 1.8;
}
.quiz__foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.quiz__hint { font-size: 13px; color: var(--gray); }

/* ---------- 文章底部操作 ---------- */
.ls-actions {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 34px; padding-top: 24px; border-top: 1px dashed var(--line);
}
.ls-actions__tip { font-size: 13px; color: #6F8F7D; }
#doneBtn.is-done { background: #6F8F7D; }

.ls-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.ls-nav__item {
  display: flex; flex-direction: column; gap: 6px;
  border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; transition: .2s;
}
.ls-nav__item:hover { border-color: var(--blue); background: #FFFEFA; }
.ls-nav__item--next { text-align: right; }
.ls-nav__item span { font-size: 12px; color: var(--gray); }
.ls-nav__item strong { font-size: 15px; font-weight: 600; }
.ls-nav__item.is-empty { border: none; }

.ls-related { margin-top: 42px; }
.ls-mini {
  display: flex; flex-direction: column; gap: 6px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; transition: .2s;
}
.ls-mini:hover { border-color: var(--blue); box-shadow: 0 6px 18px rgba(35, 56, 47, .06); }
.ls-mini__no { font-size: 12px; font-weight: 700; color: var(--blue); }
.ls-mini__t { font-size: 15px; font-weight: 600; }
.ls-mini__m { font-size: 12px; color: var(--gray); }

.ls-disclaimer {
  margin-top: 34px; padding: 16px 18px; background: #F6F7F3;
  border-radius: 10px; font-size: 13px; color: var(--gray); line-height: 1.8;
}

/* ---------- 侧栏 ---------- */
.ls-side { position: sticky; top: 88px; display: grid; gap: 18px; }
.ls-side__box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.ls-side__t { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.ls-side__list { list-style: none; display: grid; gap: 4px; counter-reset: s; }
.ls-side__list li { counter-increment: s; }
.ls-side__list a { display: block; font-size: 14px; color: var(--gray); padding: 7px 10px; border-radius: 8px; line-height: 1.5; }
.ls-side__list a::before { content: counter(s, decimal-leading-zero) "  "; color: #b9c3cf; font-size: 12px; }
.ls-side__list a:hover { background: #F1F5EF; color: var(--blue); }
.ls-side__list li.is-current a { background: rgba(40, 107, 88, .09); color: var(--blue); font-weight: 600; }
.ls-side__stat { font-size: 13px; color: var(--gray); line-height: 2; margin-bottom: 12px; }
.ls-side__btn { width: 100%; margin-bottom: 8px; }
.ls-side__btn:last-child { margin-bottom: 0; }

/* ---------- 收藏区 ---------- */
.ls-fav { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px 32px; }
.ls-fav__head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.ls-fav__head h2 { font-size: 22px; }
.ls-fav__head span { font-size: 13px; color: var(--gray); }
.ls-fav__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ls-fav__item {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; transition: .2s;
}
.ls-fav__item:hover { border-color: var(--blue); background: #FFFEFA; }
.ls-fav__item strong { font-size: 15px; font-weight: 600; }
.ls-fav__item span { font-size: 12px; color: var(--gray); flex: none; }
.ls-fav__empty { color: var(--gray); font-size: 14px; }

/* ---------- 底部 CTA ---------- */
.ls-cta {
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  background: linear-gradient(120deg, #23382F, #1D5344);
  color: #fff; border-radius: 18px; padding: 40px 44px;
}
.ls-cta h2 { font-size: 24px; margin-bottom: 10px; }
.ls-cta p { color: rgba(255, 255, 255, .8); font-size: 15px; max-width: 640px; }
.ls-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ls-cta .btn-primary { background: var(--yellow); color: var(--ink); }
.ls-cta .btn-primary:hover { background: var(--yellow); filter: brightness(1.06); }
.ls-cta .btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.ls-cta .btn-ghost:hover { background: #fff; color: var(--blue); }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .ls-layout { grid-template-columns: 1fr; }
  .ls-side { position: static; }
  .ls-side__list { grid-template-columns: repeat(2, 1fr); display: grid; }
  /* 主推区：中等屏改为上下堆叠，避免两栏互相挤压 */
  .app-hero { grid-template-columns: 1fr; gap: 32px; margin-bottom: 58px; }
  .campaign-card { max-width: 520px; }
}
@media (max-width: 860px) {
  .ls-hero { padding: 44px 0 52px; }
  .ls-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .ls-hero h1 { font-size: 32px; }
  .ls-hero__stat { gap: 22px; }
  .ls-grid--cats, .ls-grid--mini, .ls-fav__list { grid-template-columns: 1fr; }
  .ls-cat p { min-height: 0; }
  .ls-article { padding: 28px 22px 26px; border-radius: 14px; }
  .ls-title { font-size: 25px; }
  .ls-topic-hero h1 { font-size: 27px; }
  .ls-row { flex-wrap: wrap; gap: 10px; padding: 14px 16px; }
  .ls-row__main em { white-space: normal; }
  .ls-row__meta { font-size: 12px; }
  .ls-nav { grid-template-columns: 1fr; }
  .ls-nav__item--next { text-align: left; }
  .ls-cta { padding: 28px 22px; }
  .ls-fav { padding: 22px 20px; }
  .ls-side__list { grid-template-columns: 1fr; }
}

/* 官网首页 · 安卓安装包下载入口（2026-10-27 首次出包，替换「敬请期待」）
   深底用 .ready，浅底用 .ready-light；都是 a 标签，去掉下划线、给手指光标 */
.store-badge.ready,
.store-badge.ready-light { text-decoration: none; cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.store-badge.ready { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.16); }
.store-badge.ready:hover { background: rgba(255,255,255,.28); border-color: #fff; }
.store-badge.ready-light { border-color: #E5E7EB; color: #6B7280; background: #fff; }
.store-badge.ready-light b { color: #1C1B19; }
.store-badge.ready-light:hover { border-color: #1C1B19; color: #1C1B19; }
