/* ============ 前台：现代资讯媒体风 ============ */

.ticker { background: #14243d; color: #c8d5e8; font-size: 12px; letter-spacing: .02em; }
.ticker__inner { height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ticker__left { display: flex; align-items: center; gap: 9px; }
.ticker__left .dot { background: #4c9dff; }
.ticker__right { display: flex; align-items: center; gap: 8px; color: #8fa5c2; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.94); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 11px; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 19px; font-weight: 800; letter-spacing: -.06em;
  box-shadow: 0 5px 14px rgba(29, 78, 216, .24);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__name { font-size: 18px; font-weight: 800; letter-spacing: -.03em; }
.brand__sub { font-size: 10.5px; color: var(--ink-3); letter-spacing: .14em; font-weight: 650; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav__link {
  padding: 8px 13px; border-radius: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  transition: .18s ease;
}
.nav__link:hover { color: var(--brand); background: var(--brand-soft); }
.nav__link--active { color: var(--brand); background: var(--brand-soft); }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); transition: .18s ease;
}
.icon-btn:hover { color: var(--brand); border-color: #b9c8de; background: var(--surface-soft); }
.admin-entry {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650;
  padding: 8px 13px; border-radius: 8px; color: var(--ink-2); border: 1px solid var(--line-strong);
  background: var(--surface); transition: .18s ease;
}
.admin-entry:hover { color: #fff; background: var(--brand); border-color: var(--brand); }
.menu-btn { display: none; }

.search-panel { border-bottom: 1px solid var(--line); background: var(--surface); }
.search-panel[hidden] { display: none; }
.search-panel__inner { padding: 18px 0 20px; display: flex; gap: 10px; align-items: center; }
.search-input {
  flex: 1; display: flex; align-items: center; gap: 10px; background: var(--surface-soft);
  border: 1px solid var(--line-strong); border-radius: 10px; padding: 0 14px; height: 46px; color: var(--ink-3);
}
.search-input:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(29,78,216,.10); }
.search-input input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 14.5px; color: var(--ink); }
.search-input input::placeholder { color: var(--ink-3); }

/* ---------- 首页焦点区 ---------- */
.hero-band {
  background:
    radial-gradient(900px 320px at 12% -20%, #e7efff 0%, transparent 70%),
    radial-gradient(700px 300px at 88% 0%, #eef5ff 0%, transparent 72%),
    #f9fbfe;
  border-bottom: 1px solid var(--line);
  padding: 34px 0 40px;
}
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section-head__eyebrow {
  display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 750;
  letter-spacing: .16em; color: var(--brand); text-transform: uppercase; margin-bottom: 8px;
}
.section-head h1 { font-size: 24px; }
.section-head h2 { font-size: 21px; }
.section-head p { color: var(--ink-3); font-size: 13px; margin-top: 6px; }
.section-head__link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; color: var(--brand); }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: 18px; }
.hero-main {
  position: relative; display: block; min-height: 340px; border-radius: var(--radius-l);
  overflow: hidden; color: #fff; box-shadow: var(--shadow); transition: .22s ease;
}
.hero-main:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.hero-main .cover { position: absolute; inset: 0; }
.hero-main__shade {
  position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,22,43,.05) 20%, rgba(9,22,43,.62) 68%, rgba(9,22,43,.88) 100%);
}
.hero-main__body { position: absolute; left: 30px; right: 30px; bottom: 28px; }
.hero-main__badges { display: flex; align-items: center; gap: 8px; margin-bottom: 13px; }
.hero-main__title { font-size: 27px; line-height: 1.36; color: #fff; margin-bottom: 10px; letter-spacing: -.03em; }
.hero-main__summary { font-size: 13.5px; color: rgba(255,255,255,.82); line-height: 1.75; max-width: 620px; margin-bottom: 15px; }
.hero-main__meta { display: flex; align-items: center; gap: 16px; font-size: 12.5px; color: rgba(255,255,255,.72); }
.hero-main__meta span { display: inline-flex; align-items: center; gap: 5px; }

.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.hero-mini {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-s); overflow: hidden; transition: .22s ease;
}
.hero-mini:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: #cad7ea; }
.hero-mini__bar { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--bar, var(--brand)); }
.hero-mini__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.hero-mini h3 { font-size: 16.5px; line-height: 1.5; margin-bottom: 9px; }
.hero-mini p { font-size: 12.5px; color: var(--ink-3); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-mini__meta { margin-top: 13px; font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 12px; }

.feature-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 20px; }
.feature-strip__item { background: var(--surface); padding: 16px 20px; display: flex; align-items: center; gap: 14px; }
.feature-strip__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.feature-strip__txt strong { display: block; font-size: 14px; }
.feature-strip__txt span { font-size: 12px; color: var(--ink-3); }

/* ---------- 内容区 ---------- */
.content-wrap { padding: 40px 0 64px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }

.feed-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.feed-head h2 { font-size: 20px; }
.feed-head__count { font-size: 12.5px; color: var(--ink-3); }
.feed-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }

.feed-list { display: flex; flex-direction: column; gap: 14px; }
.article-card {
  display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-s); transition: .2s ease;
}
.article-card:hover { transform: translateY(-2px); border-color: #cad7ea; box-shadow: var(--shadow-hover); }
.article-card__cover { position: relative; min-height: 158px; }
.article-card__cover .pill { position: absolute; left: 12px; top: 12px; }
.article-card__cover .cover__glyph { font-size: 60px; right: 10px; bottom: -8px; }
.article-card__body { padding: 18px 20px 16px; display: flex; flex-direction: column; }
.article-card__meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--ink-3); margin-bottom: 9px; }
.article-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.article-card h3 { font-size: 17px; line-height: 1.48; margin-bottom: 8px; transition: color .18s ease; }
.article-card:hover h3 { color: var(--brand); }
.article-card__summary { font-size: 13px; color: var(--ink-2); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-card__foot { margin-top: auto; padding-top: 13px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.article-card__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.mini-tag { font-size: 11.5px; color: var(--ink-3); background: var(--surface-soft); border: 1px solid var(--line); padding: 2px 8px; border-radius: 5px; }
.article-card__more { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 650; color: var(--brand); white-space: nowrap; }

.load-more { display: flex; justify-content: center; margin-top: 24px; }

/* ---------- 侧栏 ---------- */
.sidebar { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 92px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-s); }
.side-card__title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 750; margin-bottom: 16px; }
.side-card__title .ic { color: var(--brand); }
.cat-list { display: flex; flex-direction: column; gap: 4px; }
.cat-item {
  display: flex; align-items: center; gap: 11px; padding: 10px 11px; border-radius: 9px;
  transition: .18s ease;
}
.cat-item:hover { background: var(--surface-tint); }
.cat-item__dot { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.cat-item__txt { flex: 1; min-width: 0; }
.cat-item__txt strong { display: block; font-size: 13.5px; font-weight: 700; }
.cat-item__txt span { display: block; font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-item__count { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.about-card { background: linear-gradient(145deg, #f2f6ff 0%, #ffffff 70%); }
.about-card__mark { width: 38px; height: 38px; border-radius: 11px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 12px; }
.about-card h3 { font-size: 15.5px; margin-bottom: 8px; }
.about-card p { font-size: 12.8px; line-height: 1.8; color: var(--ink-2); margin-bottom: 14px; }

/* ---------- 分类页 / 搜索页 ---------- */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: 30px 0 34px; }
.page-hero__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.page-hero__label { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 750; letter-spacing: .12em; color: var(--brand); margin-bottom: 10px; }
.page-hero h1 { font-size: 28px; margin-bottom: 8px; }
.page-hero p { font-size: 13.5px; color: var(--ink-2); max-width: 620px; }
.page-hero__count { text-align: right; flex: none; }
.page-hero__count strong { display: block; font-size: 32px; font-weight: 800; color: var(--brand); line-height: 1.1; }
.page-hero__count span { font-size: 12px; color: var(--ink-3); }

/* ---------- 文章详情 ---------- */
.reader { padding: 30px 0 70px; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-3); margin-bottom: 22px; }
.crumb a:hover { color: var(--brand); }
.reader-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 36px; align-items: start; }
.reader-main { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 34px 38px 40px; box-shadow: var(--shadow-s); }
.reader-head { margin-bottom: 22px; }
.reader-head__top { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.reader-head h1 { font-size: 30px; line-height: 1.38; margin-bottom: 14px; }
.reader-head__summary { font-size: 15px; color: var(--ink-2); line-height: 1.8; border-left: 3px solid var(--line-strong); padding-left: 15px; }
.reader-head__meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-3); margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.reader-head__meta span { display: inline-flex; align-items: center; gap: 6px; }
.reader-cover { height: 220px; border-radius: var(--radius); margin-bottom: 30px; position: relative; }
.reader-cover .cover__glyph { font-size: 130px; right: 30px; bottom: -18px; }
.reader-cover__label { position: absolute; left: 22px; bottom: 20px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .12em; opacity: .85; }
.reader-body { padding-top: 2px; }
.reader-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.reader-actions { display: flex; gap: 8px; margin-left: auto; }
.reader-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 18px; }
.related-list { display: flex; flex-direction: column; gap: 0; }
.related-item { display: block; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.related-item:last-child { border-bottom: 0; }
.related-item:hover strong { color: var(--brand); }
.related-item strong { display: block; font-size: 13.5px; font-weight: 650; line-height: 1.55; transition: color .18s ease; }
.related-item span { font-size: 11.5px; color: var(--ink-3); }

/* ---------- 关于 ---------- */
.about-page { padding: 44px 0 72px; }
.about-page__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.about-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 32px 34px; }
.about-block h2 { font-size: 22px; margin-bottom: 16px; }
.about-block p { font-size: 14.5px; line-height: 1.95; color: var(--ink-2); margin-bottom: 14px; }
.about-block__list { display: grid; gap: 12px; margin-top: 20px; }
.about-block__list div { display: flex; gap: 11px; align-items: flex-start; font-size: 13.8px; color: var(--ink-2); }
.about-block__list .ic { color: var(--brand); margin-top: 3px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 34px 0 28px; }
.footer-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.footer-brand__mark { width: 32px; height: 32px; border-radius: 9px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; }
.footer-brand strong { font-size: 15.5px; }
.footer-note { font-size: 12.5px; color: var(--ink-3); max-width: 420px; line-height: 1.8; }
.footer-links { display: flex; gap: 26px; }
.footer-col strong { display: block; font-size: 12.5px; margin-bottom: 10px; }
.footer-col a { display: block; font-size: 12.5px; color: var(--ink-3); margin-bottom: 7px; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-about { flex: 1 1 340px; min-width: 0; }
.footer-contact { flex: 0 1 210px; min-width: 180px; }
.footer-contact > strong { display: block; font-size: 12.5px; color: var(--ink); margin-bottom: 12px; }
.footer-contact__row { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--ink-3); margin-bottom: 9px; text-decoration: none; }
.footer-contact__row:last-child { margin-bottom: 0; }
.footer-contact__row .ic { color: var(--brand); flex: none; }
.footer-contact__row strong { font-size: 15px; font-weight: 750; color: var(--ink-2); letter-spacing: .01em; }
a.footer-contact__row:hover strong, a.footer-contact__row:hover span { color: var(--brand); }
.footer-contact__qr { display: flex; align-items: center; gap: 11px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.footer-contact__qr button { border: 1px solid var(--line-strong); background: #fff; padding: 4px; border-radius: 9px; cursor: zoom-in; flex: none; line-height: 0; transition: .18s ease; }
.footer-contact__qr button:hover { border-color: var(--brand); box-shadow: 0 4px 12px rgba(29,78,216,.12); }
.footer-contact__qr button img { width: 76px; height: 76px; object-fit: contain; display: block; border-radius: 5px; }
.footer-contact__qr span { font-size: 11.5px; color: var(--ink-3); line-height: 1.7; }
.footer-icp { margin-top: 16px; text-align: center; font-size: 12px; color: var(--ink-3); display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }
.footer-icp a, .footer-icp span { color: var(--ink-3); }
.footer-icp a:hover { color: var(--brand); }
.footer-icp i { font-style: normal; color: var(--line-strong); }
.qr-mask { position: fixed; inset: 0; background: rgba(18,30,46,.55); display: grid; place-items: center; padding: 20px; z-index: 300; }
.qr-mask__card { background: var(--surface); border-radius: var(--radius-l); padding: 26px 30px; text-align: center; box-shadow: 0 24px 70px rgba(18,30,46,.28); }
.qr-mask__card img { width: min(280px, 68vw); height: auto; display: block; margin: 0 auto; border: 1px solid var(--line); border-radius: 10px; }
.qr-mask__card p { font-size: 13.5px; color: var(--ink-2); margin: 16px 0 18px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1040px) {
  .content-grid, .reader-grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 22px; }
  .hero-grid { grid-template-columns: 1.35fr 1fr; }
  .article-card { grid-template-columns: 170px minmax(0, 1fr); }
  .reader-main { padding: 28px 26px 34px; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .nav--open {
    display: flex; position: absolute; top: 72px; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 16px;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .content-grid, .reader-grid, .about-page__grid { grid-template-columns: 1fr; }
  .sidebar, .reader-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .sidebar > *, .reader-side > * { flex: 1 1 240px; }
  .feature-strip { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .ticker__right { display: none; }
  .brand__sub { display: none; }
  .header-inner { height: 62px; gap: 10px; }
  .nav--open { top: 62px; }
  .admin-entry span { display: none; }
  .hero-band { padding: 24px 0 28px; }
  .hero-main { min-height: 300px; }
  .hero-main__body { left: 20px; right: 20px; bottom: 22px; }
  .hero-main__title { font-size: 21px; }
  .hero-side { grid-template-columns: 1fr; }
  .article-card { grid-template-columns: 1fr; }
  .article-card__cover { min-height: 140px; }
  .reader-main { padding: 24px 20px 30px; }
  .reader-head h1 { font-size: 23px; }
  .reader-cover { height: 160px; }
  .page-hero__inner { flex-direction: column; align-items: flex-start; }
  .page-hero__count { text-align: left; }
  .section-head h1 { font-size: 20px; }
  .prose { font-size: 15.5px; }
  .footer-links { gap: 20px; }
  .footer-contact { flex: 1 1 100%; }
}

/* ============ 首页改版：天蓝落地页板块 ============ */
body.is-home-dark { background: #1180c0; }
body.is-home-dark .site-footer { background: #0a6396; border-top-color: rgba(255,255,255,.10); }
body.is-home-dark .footer-note,
body.is-home-dark .footer-col a,
body.is-home-dark .footer-bottom,
body.is-home-dark .footer-icp,
body.is-home-dark .footer-icp a,
body.is-home-dark .footer-contact__row,
body.is-home-dark .footer-contact__row strong,
body.is-home-dark .footer-contact__qr span { color: #9fb2cd; }
body.is-home-dark .footer-brand strong,
body.is-home-dark .footer-col strong,
body.is-home-dark .footer-contact > strong { color: #eaf2ff; }
body.is-home-dark .footer-contact__qr { border-top-color: rgba(255,255,255,.14); }
body.is-home-dark .footer-contact__qr button { background: #fff; border-color: rgba(255,255,255,.3); }
body.is-home-dark .footer-bottom { border-top-color: rgba(255,255,255,.10); }
body.is-home-dark .footer-icp i { color: rgba(255,255,255,.28); }
body.is-home-dark .footer-icp a:hover,
body.is-home-dark .footer-col a:hover { color: #8fc5ff; }

.home { background: #1180c0; color: #eaf2ff; }

.hm-hero {
  position: relative; overflow: hidden; padding: 58px 0 0;
  background:
    radial-gradient(1000px 460px at 78% -12%, rgba(150,220,255,.55), transparent 62%),
    radial-gradient(760px 420px at 4% 108%, rgba(90,220,240,.24), transparent 58%),
    #1180c0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hm-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(125deg, rgba(255,255,255,.035) 0 1px, transparent 1px 26px);
}
.hm-hero__inner {
  position: relative; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  gap: 48px; align-items: center; padding-bottom: 44px;
}
.hm-hero__tag {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08);
  color: #cfe0ff; font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
}
.hm-hero__tag .dot { background: #4ee1c3; }
.hm-hero__copy h1 { font-size: 42px; line-height: 1.28; letter-spacing: -.035em; color: #fff; margin: 22px 0 16px; }
.hm-hero__copy > p { font-size: 15px; line-height: 1.9; color: #a9bdd9; max-width: 520px; }
.hm-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn--light { background: #fff; border-color: #fff; color: #0a5a92; padding: 12px 22px; font-size: 14px; }
.btn--light:hover { background: #e3f2ff; border-color: #e3f2ff; color: #0a5a92; }
.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.38); color: #eaf2ff; padding: 12px 22px; font-size: 14px; }
.btn--outline-light:hover { background: rgba(255,255,255,.10); border-color: #fff; color: #fff; }
.hm-hero__visual { min-width: 0; }
.hm-hero__feature {
  position: relative; display: block; min-height: 280px; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.16); box-shadow: 0 24px 60px rgba(3,12,30,.42);
}
.hm-hero__feature .hm-hero__cover { position: absolute; inset: 0; }
.hm-hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,18,40,.05) 10%, rgba(6,18,40,.55) 58%, rgba(6,18,40,.92) 100%);
}
.hm-hero__feature-body { position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.hm-hero__feature-body strong { font-size: 19px; line-height: 1.5; color: #fff; }
.hm-hero__feature-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #b9cbe6; }
.hm-hero__placeholder { display: grid; place-items: center; min-height: 280px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #7f9bc4; letter-spacing: .18em; }
.hm-stats {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; overflow: hidden; margin-bottom: 44px;
}
.hm-stats__item { background: #0f6ca6; padding: 18px 22px; }
.hm-stats__item strong { display: block; font-size: 24px; font-weight: 800; color: #8fc5ff; line-height: 1.2; }
.hm-stats__item span { font-size: 12px; color: #9fb2cd; }

.hm-section { padding: 58px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.hm-section--alt { background: #0f72ad; }
.hm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.hm-head__eyebrow { display: inline-block; font-size: 11.5px; font-weight: 750; letter-spacing: .18em; color: #6ea8ff; margin-bottom: 9px; }
.hm-head h2 { font-size: 26px; color: #fff; letter-spacing: -.025em; }
.hm-head p { font-size: 13.5px; color: #9fb2cd; margin-top: 8px; }
.hm-head__link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; color: #8fc5ff; background: none; border: 0; padding: 0; white-space: nowrap; }
.hm-head__link:hover { color: #fff; }

.hm-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hm-cat {
  position: relative; display: flex; flex-direction: column; padding: 26px 24px 22px;
  border-radius: 16px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12);
  overflow: hidden; transition: .2s ease;
}
.hm-cat:hover { background: rgba(255,255,255,.10); border-color: rgba(120,170,255,.5); transform: translateY(-3px); }
.hm-cat__bar { position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--cat-accent, #2e6bff); }
.hm-cat__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hm-cat__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.10); color: #dbe9ff; }
.hm-cat__count { font-size: 12px; color: #9fb2cd; }
.hm-cat h3 { font-size: 18px; color: #fff; margin-bottom: 10px; }
.hm-cat p { font-size: 13px; line-height: 1.8; color: #a9bdd9; min-height: 47px; }
.hm-cat__tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0 18px; }
.hm-cat__tags span { font-size: 11.5px; color: #b9cbe6; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); padding: 3px 9px; border-radius: 6px; }
.hm-cat__link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; color: #8fc5ff; }

.hm-focus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hm-focus { position: relative; padding: 24px 20px; border-radius: 14px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.10); }
.hm-focus__no { position: absolute; right: 18px; top: 16px; font-size: 12px; font-weight: 800; color: rgba(255,255,255,.22); letter-spacing: .08em; }
.hm-focus__icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(110,168,255,.16); color: #8fc5ff; margin-bottom: 16px; }
.hm-focus h3 { font-size: 15.5px; color: #fff; margin-bottom: 8px; }
.hm-focus p { font-size: 12.5px; line-height: 1.75; color: #a9bdd9; }

.hm-pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hm-pick { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12); transition: .2s ease; }
.hm-pick:hover { transform: translateY(-3px); border-color: rgba(120,170,255,.5); }
.hm-pick__cover { height: 132px; position: relative; }
.hm-pick__cover .pill { position: absolute; left: 14px; top: 14px; }
.hm-pick__cover .cover__glyph { font-size: 64px; }
.hm-pick__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.hm-pick__meta { font-size: 11.5px; color: #8fa8ca; margin-bottom: 10px; }
.hm-pick h3 { font-size: 16px; line-height: 1.55; color: #fff; margin-bottom: 10px; }
.hm-pick p { font-size: 12.5px; line-height: 1.75; color: #a9bdd9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-pick__more { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 650; color: #8fc5ff; }

body.is-home-dark .feed-head h2 { color: #fff; }
body.is-home-dark .feed-head__count { color: #9fb2cd; }
body.is-home-dark .hm-section .content-wrap { padding-top: 0; }
body.is-home-dark .hm-section .feed-head { margin-bottom: 16px; }
body.is-home-dark .hm-section .feed-list .article-card { border-color: rgba(255,255,255,.14); }
body.is-home-dark .hm-section .feed-chips .chip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #d6e4f8; }
body.is-home-dark .hm-section .feed-chips .chip--active { background: #2e6bff; border-color: #2e6bff; color: #fff; }
body.is-home-dark .hm-section .feed-chips .chip:hover { color: #fff; }
body.is-home-dark .hm-section .load-more .btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #d6e4f8; }
body.is-home-dark .hm-section .load-more .btn:hover { color: #fff; background: rgba(255,255,255,.14); }
body.is-home-dark .hm-section .state { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #a9bdd9; }
body.is-home-dark .hm-section .state h3 { color: #fff; }

.hm-cta { padding: 54px 0 60px; background: radial-gradient(800px 320px at 84% 10%, rgba(150,220,255,.42), transparent 62%), #0a6396; }
.hm-cta__inner { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 40px; align-items: center; }
.hm-cta__eyebrow { font-size: 11.5px; font-weight: 750; letter-spacing: .18em; color: #6ea8ff; }
.hm-cta__copy h2 { font-size: 28px; color: #fff; margin: 12px 0; letter-spacing: -.025em; }
.hm-cta__copy p { font-size: 14px; color: #a9bdd9; line-height: 1.85; max-width: 520px; }
.hm-cta__card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 24px 26px; }
.hm-cta__label { display: block; font-size: 12.5px; color: #8fc5ff; margin-bottom: 14px; }
.hm-cta__row { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #c6d7ee; margin-bottom: 11px; }
.hm-cta__row .ic { color: #8fc5ff; }
.hm-cta__row strong { font-size: 17px; color: #fff; }
a.hm-cta__row:hover strong, a.hm-cta__row:hover span { color: #8fc5ff; }
.hm-cta__qr { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,.16); }
.hm-cta__qr button { border: 1px solid rgba(255,255,255,.2); background: #fff; padding: 4px; border-radius: 9px; cursor: zoom-in; line-height: 0; }
.hm-cta__qr button img { width: 74px; height: 74px; object-fit: contain; display: block; border-radius: 5px; }
.hm-cta__qr span { font-size: 11.5px; color: #9fb2cd; }

@media (max-width: 1040px) {
  .hm-hero__copy h1 { font-size: 34px; }
  .hm-cat-grid, .hm-pick-grid { grid-template-columns: repeat(2, 1fr); }
  .hm-focus-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hm-hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .hm-hero__feature { min-height: 220px; }
  .hm-cta__inner { grid-template-columns: 1fr; gap: 24px; }
  .hm-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .hm-hero { padding-top: 36px; }
  .hm-hero__copy h1 { font-size: 27px; }
  .hm-section { padding: 42px 0; }
  .hm-cat-grid, .hm-pick-grid, .hm-focus-grid { grid-template-columns: 1fr; }
  .hm-head { flex-direction: column; align-items: flex-start; }
  .hm-head h2 { font-size: 21px; }
  .hm-stats__item { padding: 14px 16px; }
  .hm-stats__item strong { font-size: 20px; }
}

/* ============================================================
   科技风主题（body.theme-tech）
   深空底色 · 霓虹青蓝 · 网格光效。全部覆盖项集中在此，
   与资讯风（classic / 默认）互不干扰；切换由 app.js 挂 body class 完成。
   ============================================================ */
body.theme-tech {
  --bg: #060b18;
  --surface: #0d1930;
  --surface-soft: #101d38;
  --surface-tint: #142545;
  --ink: #e7f1ff;
  --ink-2: #b2c6e8;
  --ink-3: #7189ae;
  --line: #1c2c4c;
  --line-strong: #2b3f63;
  --brand: #22d3ee;
  --brand-deep: #06b6d4;
  --brand-soft: rgba(34, 211, 238, .13);
  --accent: #f472b6;
  --success: #34d399;
  --warning: #fbbf24;
  --danger: #fb7185;
  --shadow-s: 0 1px 2px rgba(0, 0, 0, .35);
  --shadow: 0 10px 34px rgba(0, 0, 0, .42);
  --shadow-hover: 0 16px 48px rgba(0, 0, 0, .55);
  background: var(--bg);
  color: var(--ink);
}
body.theme-tech ::selection { background: rgba(34, 211, 238, .32); color: #fff; }

/* 顶部信息条 */
body.theme-tech .ticker { background: #071225; color: #8da6cb; border-bottom: 1px solid #13233f; }
body.theme-tech .ticker__left .dot { background: #22d3ee; box-shadow: 0 0 9px #22d3ee; }
body.theme-tech .ticker__right { color: #6480a8; }

/* 顶栏 */
body.theme-tech .site-header { background: rgba(6, 11, 24, .9); border-bottom-color: #1c2c4c; }
body.theme-tech .brand__mark {
  background: linear-gradient(135deg, #22d3ee, #6366f1); color: #061021;
  box-shadow: 0 0 20px rgba(34, 211, 238, .38);
}
body.theme-tech .brand__name { color: #eaf4ff; }
body.theme-tech .brand__sub { color: #22d3ee; }
body.theme-tech .nav__link:hover,
body.theme-tech .nav__link--active { color: #22d3ee; background: rgba(34, 211, 238, .1); }
body.theme-tech .icon-btn:hover { color: #22d3ee; border-color: #2b5f78; background: #101d38; }
body.theme-tech .admin-entry:hover { background: #22d3ee; border-color: #22d3ee; color: #061021; }
body.theme-tech .nav--open { background: #0d1930; }

/* 搜索 / 按钮 / 标签：修正写死的浅色描边 */
body.theme-tech .search-input:focus-within { border-color: #22d3ee; box-shadow: 0 0 0 3px rgba(34, 211, 238, .14); }
body.theme-tech .btn:hover { border-color: #2b5f78; color: #22d3ee; }
body.theme-tech .chip:hover { border-color: #2b5f78; color: #22d3ee; }
body.theme-tech .btn--primary { box-shadow: 0 4px 16px rgba(34, 211, 238, .24); }
body.theme-tech .btn--danger { background: #2a1420; border-color: #5a2537; }

/* 焦点区 / 首页次导航（资讯风首页用，科技风也走深色） */
body.theme-tech .hero-band {
  background:
    radial-gradient(900px 320px at 12% -20%, rgba(34, 211, 238, .12) 0%, transparent 70%),
    radial-gradient(700px 300px at 88% 0%, rgba(99, 102, 241, .12) 0%, transparent 72%),
    #081226;
  border-bottom-color: #1c2c4c;
}
body.theme-tech .hero-mini:hover { border-color: #2b5f78; }
body.theme-tech .feature-strip, body.theme-tech .feature-strip__item { background: #0d1930; }
body.theme-tech .feature-strip { background: #1c2c4c; border-color: #1c2c4c; }
body.theme-tech .feature-strip__icon { background: rgba(34, 211, 238, .12); color: #22d3ee; }
body.theme-tech .about-card { background: linear-gradient(145deg, #10203e 0%, #0d1930 70%); border-color: #1c2c4c; }
body.theme-tech .about-card__mark { box-shadow: 0 0 16px rgba(34, 211, 238, .3); }

/* 内容卡片 */
body.theme-tech .article-card:hover { border-color: #2b5f78; }
body.theme-tech .article-card:hover h3 { color: #22d3ee; }
body.theme-tech .cat-item:hover { background: rgba(34, 211, 238, .07); }
body.theme-tech .mini-tag { background: #101d38; }
body.theme-tech .side-card__title .ic { color: #22d3ee; }
body.theme-tech .page-hero { background: #0d1930; border-bottom-color: #1c2c4c; }
body.theme-tech .page-hero__label { color: #22d3ee; }
body.theme-tech .page-hero__count strong { color: #22d3ee; text-shadow: 0 0 18px rgba(34, 211, 238, .35); }
body.theme-tech .crumb a:hover { color: #22d3ee; }
body.theme-tech .reader-main, body.theme-tech .about-block { background: #0d1930; border-color: #1c2c4c; }
body.theme-tech .reader-head__summary { border-left-color: #2b5f78; }
body.theme-tech .related-item { border-bottom-color: #1c2c4c; }
body.theme-tech .related-item:hover strong { color: #22d3ee; }
body.theme-tech .about-block__list .ic { color: #22d3ee; }

/* 骨架 / 状态 / 提示 */
body.theme-tech .skeleton { background: linear-gradient(90deg, #101d38 25%, #16284a 50%, #101d38 75%); background-size: 200% 100%; }
body.theme-tech .boot-mark { box-shadow: 0 0 20px rgba(34, 211, 238, .4); }
body.theme-tech .state--error .state__icon { background: #2a1420; color: #fb7185; }
body.theme-tech .qr-mask { background: rgba(2, 6, 14, .72); }
body.theme-tech .qr-mask__card { background: #0d1930; border: 1px solid #1c2c4c; }
body.theme-tech .qr-mask__card img { border-color: #1c2c4c; }

/* 文章正文（Markdown）深色可读 */
body.theme-tech .prose { color: #c6d8f4; }
body.theme-tech .prose .md-h { color: #eaf4ff; }
body.theme-tech .prose .md-h2 { border-left-color: #22d3ee; }
body.theme-tech .prose .md-list li::marker { color: #22d3ee; }
body.theme-tech .prose .md-quote { background: #101d38; border-left-color: #22d3ee; color: #b2c6e8; }
body.theme-tech .prose .md-code { background: #142545; color: #67e8f9; }
body.theme-tech .prose .md-pre { background: #0a162c; border-color: #1c2c4c; }
body.theme-tech .prose .md-table-wrap { border-color: #1c2c4c; }
body.theme-tech .prose .md-table th { background: #101d38; color: #eaf4ff; border-bottom-color: #2b3f63; }
body.theme-tech .prose .md-table td { border-bottom-color: #1c2c4c; }
body.theme-tech .prose a { color: #22d3ee; }
body.theme-tech .prose strong { color: #fff; }
body.theme-tech .prose .md-hr { background: #1c2c4c; }
body.theme-tech .prose .md-figure__cap { color: #8fa9cc; }
body.theme-tech .prose .md-img { border-color: #1c2c4c; }

/* ---------- 页脚 ---------- */
body.theme-tech .site-footer { background: #071225; border-top-color: #1c2c4c; }
body.theme-tech .footer-brand__mark { box-shadow: 0 0 14px rgba(34, 211, 238, .3); }
body.theme-tech .footer-col a:hover,
body.theme-tech .footer-icp a:hover { color: #22d3ee; }
body.theme-tech .footer-contact__row .ic { color: #22d3ee; }
body.theme-tech .footer-contact__qr button:hover { border-color: #22d3ee; box-shadow: 0 4px 14px rgba(34, 211, 238, .2); }

/* ============ 首页落地页 · 科技风 ============ */
body.theme-tech.is-home-dark { background: #060b18; }
body.theme-tech.is-home-dark .site-footer { background: #071225; border-top-color: #16233d; }
body.theme-tech.is-home-dark .footer-note,
body.theme-tech.is-home-dark .footer-col a,
body.theme-tech.is-home-dark .footer-bottom,
body.theme-tech.is-home-dark .footer-icp,
body.theme-tech.is-home-dark .footer-icp a,
body.theme-tech.is-home-dark .footer-contact__row,
body.theme-tech.is-home-dark .footer-contact__row strong,
body.theme-tech.is-home-dark .footer-contact__qr span { color: #7f96b8; }
body.theme-tech.is-home-dark .footer-brand strong,
body.theme-tech.is-home-dark .footer-col strong,
body.theme-tech.is-home-dark .footer-contact > strong { color: #dceaff; }
body.theme-tech.is-home-dark .footer-contact__qr { border-top-color: #16233d; }
body.theme-tech.is-home-dark .footer-bottom { border-top-color: #16233d; }
body.theme-tech.is-home-dark .footer-icp i { color: #2b3f63; }
body.theme-tech.is-home-dark .footer-icp a:hover,
body.theme-tech.is-home-dark .footer-col a:hover { color: #22d3ee; }
body.theme-tech.is-home-dark .footer-contact__row .ic { color: #22d3ee; }

body.theme-tech .home { background: #060b18; color: #dceaff; }
body.theme-tech .hm-hero {
  background:
    radial-gradient(1000px 460px at 78% -12%, rgba(34, 211, 238, .26), transparent 62%),
    radial-gradient(760px 420px at 4% 108%, rgba(99, 102, 241, .2), transparent 58%),
    #070e1e;
  border-bottom: 1px solid rgba(34, 211, 238, .18);
}
body.theme-tech .hm-hero::before {
  background-image:
    linear-gradient(rgba(34, 211, 238, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, .055) 1px, transparent 1px);
  background-size: 46px 46px;
}
body.theme-tech .hm-hero__tag { border-color: rgba(34, 211, 238, .32); background: rgba(34, 211, 238, .09); color: #8fe9f6; }
body.theme-tech .hm-hero__tag .dot { background: #22d3ee; box-shadow: 0 0 10px #22d3ee; }
body.theme-tech .hm-hero__copy h1 { color: #fff; text-shadow: 0 0 34px rgba(34, 211, 238, .18); }
body.theme-tech .hm-hero__copy > p { color: #93a9cb; }
body.theme-tech .btn--light { background: #22d3ee; border-color: #22d3ee; color: #05131c; box-shadow: 0 0 22px rgba(34, 211, 238, .3); }
body.theme-tech .btn--light:hover { background: #67e8f9; border-color: #67e8f9; color: #05131c; }
body.theme-tech .btn--outline-light { border-color: rgba(34, 211, 238, .45); color: #bfeef7; }
body.theme-tech .btn--outline-light:hover { background: rgba(34, 211, 238, .12); border-color: #22d3ee; color: #fff; }
body.theme-tech .hm-hero__feature { border-color: rgba(34, 211, 238, .26); box-shadow: 0 24px 64px rgba(0, 0, 0, .6), 0 0 32px rgba(34, 211, 238, .12); }
body.theme-tech .hm-hero__shade { background: linear-gradient(180deg, rgba(4, 10, 24, .05) 10%, rgba(4, 10, 24, .62) 58%, rgba(4, 10, 24, .96) 100%); }
body.theme-tech .hm-hero__feature-body strong { color: #fff; }
body.theme-tech .hm-hero__feature-meta { color: #9ab1d2; }
body.theme-tech .hm-hero__placeholder { background: rgba(34, 211, 238, .05); border-color: rgba(34, 211, 238, .16); color: #4c6a92; }

body.theme-tech .hm-stats { background: rgba(34, 211, 238, .16); border-color: rgba(34, 211, 238, .16); }
body.theme-tech .hm-stats__item { background: #0a1730; }
body.theme-tech .hm-stats__item strong { color: #22d3ee; text-shadow: 0 0 18px rgba(34, 211, 238, .35); }
body.theme-tech .hm-stats__item span { color: #7f96b8; }

body.theme-tech .hm-section { border-bottom-color: rgba(34, 211, 238, .1); }
body.theme-tech .hm-section--alt { background: #081326; }
body.theme-tech .hm-head__eyebrow { color: #22d3ee; }
body.theme-tech .hm-head h2 { color: #fff; }
body.theme-tech .hm-head p { color: #7f96b8; }
body.theme-tech .hm-head__link { color: #8fe9f6; }
body.theme-tech .hm-head__link:hover { color: #fff; }

body.theme-tech .hm-cat { background: rgba(34, 211, 238, .04); border-color: rgba(34, 211, 238, .16); }
body.theme-tech .hm-cat:hover { background: rgba(34, 211, 238, .09); border-color: rgba(34, 211, 238, .5); box-shadow: 0 10px 34px rgba(0, 0, 0, .4), 0 0 26px rgba(34, 211, 238, .08); }
body.theme-tech .hm-cat__icon { background: rgba(34, 211, 238, .12); color: #8fe9f6; }
body.theme-tech .hm-cat__count { color: #7f96b8; }
body.theme-tech .hm-cat h3 { color: #fff; }
body.theme-tech .hm-cat p { color: #93a9cb; }
body.theme-tech .hm-cat__tags span { color: #a9c2e2; background: rgba(34, 211, 238, .07); border-color: rgba(34, 211, 238, .16); }
body.theme-tech .hm-cat__link { color: #8fe9f6; }

body.theme-tech .hm-focus { background: rgba(34, 211, 238, .03); border-color: rgba(34, 211, 238, .13); }
body.theme-tech .hm-focus__no { color: rgba(34, 211, 238, .28); }
body.theme-tech .hm-focus__icon { background: rgba(34, 211, 238, .14); color: #67e8f9; }
body.theme-tech .hm-focus h3 { color: #fff; }
body.theme-tech .hm-focus p { color: #93a9cb; }

body.theme-tech .hm-pick { background: rgba(34, 211, 238, .04); border-color: rgba(34, 211, 238, .16); }
body.theme-tech .hm-pick:hover { border-color: rgba(34, 211, 238, .5); }
body.theme-tech .hm-pick__meta { color: #8fa8ca; }
body.theme-tech .hm-pick h3 { color: #fff; }
body.theme-tech .hm-pick p { color: #93a9cb; }
body.theme-tech .hm-pick__more { color: #8fe9f6; }

body.theme-tech.is-home-dark .feed-head h2 { color: #fff; }
body.theme-tech.is-home-dark .feed-head__count { color: #7f96b8; }
body.theme-tech.is-home-dark .hm-section .feed-list .article-card { border-color: rgba(34, 211, 238, .16); }
body.theme-tech.is-home-dark .hm-section .feed-chips .chip { background: rgba(34, 211, 238, .06); border-color: rgba(34, 211, 238, .2); color: #c8dcf5; }
body.theme-tech.is-home-dark .hm-section .feed-chips .chip--active { background: #22d3ee; border-color: #22d3ee; color: #05131c; }
body.theme-tech.is-home-dark .hm-section .feed-chips .chip:hover { color: #22d3ee; }
body.theme-tech.is-home-dark .hm-section .load-more .btn { background: rgba(34, 211, 238, .06); border-color: rgba(34, 211, 238, .22); color: #c8dcf5; }
body.theme-tech.is-home-dark .hm-section .load-more .btn:hover { color: #fff; background: rgba(34, 211, 238, .14); }
body.theme-tech.is-home-dark .hm-section .state { background: rgba(34, 211, 238, .04); border-color: rgba(34, 211, 238, .14); color: #93a9cb; }
body.theme-tech.is-home-dark .hm-section .state h3 { color: #fff; }

body.theme-tech .hm-cta { background: radial-gradient(800px 320px at 84% 10%, rgba(34, 211, 238, .22), transparent 62%), #071225; }
body.theme-tech .hm-cta__eyebrow { color: #22d3ee; }
body.theme-tech .hm-cta__copy h2 { color: #fff; }
body.theme-tech .hm-cta__copy p { color: #93a9cb; }
body.theme-tech .hm-cta__card { background: rgba(34, 211, 238, .04); border-color: rgba(34, 211, 238, .18); }
body.theme-tech .hm-cta__label { color: #8fe9f6; }
body.theme-tech .hm-cta__row { color: #c6d8f4; }
body.theme-tech .hm-cta__row .ic { color: #22d3ee; }
body.theme-tech .hm-cta__row strong { color: #fff; }
a.hm-cta__row:hover strong, a.hm-cta__row:hover span { color: #8fe9f6; }
body.theme-tech .hm-cta__qr { border-top-color: rgba(34, 211, 238, .16); }
body.theme-tech .hm-cta__qr span { color: #7f96b8; }

/* ============================================================
   商务官网风主题（body.theme-business）— 默认
   蓝白官网 · 深蓝标题 · 亮蓝按钮 #1a77ff · 浅灰分区。
   变量层覆盖全站，.biz-* 为首页独立官网板块结构。
   ============================================================ */
body.theme-business {
  --bg: #f4f6fa;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --surface-tint: #eef4ff;
  --ink: #1b2028;
  --ink-2: #48566b;
  --ink-3: #8492a6;
  --line: #e6ebf2;
  --line-strong: #d3dce8;
  --brand: #1a77ff;
  --brand-deep: #0b56d9;
  --brand-soft: #e8f1ff;
  --accent: #1a77ff;
  --success: #16a34a;
  --warning: #d97706;
  --danger: #dc2626;
  background: var(--bg);
  color: var(--ink);
}
body.theme-business ::selection { background: rgba(26, 119, 255, .22); color: #0b2a5b; }

/* ---- 全站控件：蓝白商务化 ---- */
body.theme-business .ticker { background: #0b1c3a; color: #a9bcd8; border-bottom: 0; }
body.theme-business .ticker__left .dot { background: #1a77ff; box-shadow: 0 0 8px #1a77ff; }
body.theme-business .ticker__right { color: #8299bd; }

body.theme-business .site-header { background: #fff; border-bottom-color: #e6ebf2; }
body.theme-business .brand__mark { background: linear-gradient(135deg, #1a77ff, #0b56d9); color: #fff; box-shadow: 0 6px 16px rgba(26, 119, 255, .28); }
body.theme-business .brand__name { color: #1b2028; }
body.theme-business .brand__sub { color: #1a77ff; }
body.theme-business .nav__link { color: #3a4759; }
body.theme-business .nav__link:hover,
body.theme-business .nav__link--active { color: #1a77ff; background: #eef4ff; }
body.theme-business .icon-btn:hover { color: #1a77ff; border-color: #bcd4ff; background: #f0f6ff; }
body.theme-business .nav--open { background: #fff; }

body.theme-business .btn--primary { background: #1a77ff; border-color: #1a77ff; color: #fff; box-shadow: 0 4px 14px rgba(26, 119, 255, .26); }
body.theme-business .btn--primary:hover { background: #0b56d9; border-color: #0b56d9; }
body.theme-business .btn:hover { border-color: #1a77ff; color: #1a77ff; }
body.theme-business .chip:hover { border-color: #1a77ff; color: #1a77ff; }
body.theme-business .search-input:focus-within { border-color: #1a77ff; box-shadow: 0 0 0 3px rgba(26, 119, 255, .12); }
body.theme-business .pill { color: #1a77ff; }

/* 内页通用：页面头 / 卡片 / 正文 / 页脚 */
body.theme-business .page-hero { background: linear-gradient(180deg, #f0f6ff 0%, #fff 100%); border-bottom-color: #e6ebf2; }
body.theme-business .page-hero__label { color: #1a77ff; }
body.theme-business .page-hero__count strong { color: #1a77ff; }
body.theme-business .crumb a:hover { color: #1a77ff; }
body.theme-business .article-card:hover { border-color: #bcd4ff; box-shadow: 0 16px 44px rgba(26, 60, 130, .12); }
body.theme-business .article-card:hover h3 { color: #1a77ff; }
body.theme-business .cat-item:hover { background: #f0f6ff; }
body.theme-business .side-card__title .ic { color: #1a77ff; }
body.theme-business .mini-tag { background: #f0f5fc; }
body.theme-business .reader-main, body.theme-business .about-block { background: #fff; border-color: #e6ebf2; }
body.theme-business .reader-head__summary { border-left-color: #1a77ff; background: #f4f8ff; }
body.theme-business .related-item:hover strong { color: #1a77ff; }
body.theme-business .about-block__list .ic { color: #1a77ff; }
body.theme-business .prose .md-h2 { border-left-color: #1a77ff; }
body.theme-business .prose .md-list li::marker { color: #1a77ff; }
body.theme-business .prose .md-quote { background: #f4f8ff; border-left-color: #1a77ff; }
body.theme-business .prose .md-code { background: #eef4ff; color: #0b56d9; }
body.theme-business .prose a { color: #1a77ff; }
body.theme-business .qr-mask { background: rgba(11, 28, 58, .6); }
body.theme-business .qr-mask__card { background: #fff; }

/* 页脚：深蓝商务 */
body.theme-business .site-footer { background: #0b1c3a; border-top-color: #0b1c3a; color: #94a8c6; }
body.theme-business .site-footer .footer-note,
body.theme-business .site-footer .footer-col a,
body.theme-business .site-footer .footer-bottom,
body.theme-business .site-footer .footer-icp,
body.theme-business .site-footer .footer-icp a,
body.theme-business .site-footer .footer-contact__row,
body.theme-business .site-footer .footer-contact__row strong,
body.theme-business .site-footer .footer-contact__qr span { color: #94a8c6; }
body.theme-business .site-footer .footer-brand strong,
body.theme-business .site-footer .footer-col strong,
body.theme-business .site-footer .footer-contact > strong { color: #fff; }
body.theme-business .site-footer .footer-brand__mark { background: linear-gradient(135deg, #1a77ff, #0b56d9); box-shadow: none; }
body.theme-business .site-footer .footer-col a:hover,
body.theme-business .site-footer .footer-icp a:hover { color: #66abff; }
body.theme-business .site-footer .footer-contact__row .ic { color: #1a77ff; }
body.theme-business .site-footer .footer-contact__qr button:hover { border-color: #1a77ff; }
body.theme-business .site-footer .footer-bottom { border-top-color: rgba(255, 255, 255, .1); }
body.theme-business .site-footer .footer-contact__qr { border-top-color: rgba(255, 255, 255, .1); }
body.theme-business .site-footer .footer-icp i { color: #4a6288; }

/* ============ 首页：商务官网板块 ============ */
.biz-home { background: #fff; }

/* 通用区块 */
.biz-section { padding: 74px 0; background: #fff; }
.biz-section--alt { background: #f4f6fa; }
.biz-section--latest { background: #f7f9fc; }
.biz-head { margin: 0 auto 44px; max-width: 720px; }
.biz-head--center { text-align: center; }
.biz-head--left { text-align: left; margin: 0 0 28px; }
.biz-head__eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .18em; color: #1a77ff; margin-bottom: 12px; }
.biz-head--center .biz-head__eyebrow::before,
.biz-head--center .biz-head__eyebrow::after { content: ''; display: inline-block; width: 26px; height: 1px; background: #1a77ff; vertical-align: middle; margin: 0 12px 3px; opacity: .5; }
.biz-head h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 36px); line-height: 1.3; font-weight: 800; letter-spacing: -.02em; color: #1b2028; }
.biz-head p { margin: 0; font-size: 15px; color: #6b7a8f; line-height: 1.8; }

/* 按钮 */
.biz-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid transparent; border-radius: 6px; font-size: 14px; font-weight: 600; padding: 13px 26px; cursor: pointer; font-family: inherit; transition: .2s ease; }
.biz-btn--primary { background: #1a77ff; color: #fff; box-shadow: 0 6px 20px rgba(26, 119, 255, .3); }
.biz-btn--primary:hover { background: #0b56d9; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(26, 119, 255, .4); }
.biz-btn--outline { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .55); }
.biz-btn--outline:hover { background: #fff; color: #0b56d9; }
.biz-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.biz-btn--ghost:hover { background: #fff; color: #0b56d9; }

/* ---- 主视觉 ---- */
.biz-hero { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; background: #0b1c3a; }
.biz-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center 42%; }
.biz-hero__mask { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 18, 42, .94) 0%, rgba(6, 18, 42, .82) 38%, rgba(6, 18, 42, .35) 72%, rgba(6, 18, 42, .15) 100%); }
.biz-hero__inner { position: relative; z-index: 2; padding: 70px 0 78px; }
.biz-hero__copy { max-width: 640px; }
.biz-hero__tag { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; letter-spacing: .08em; color: #bcd6ff; border: 1px solid rgba(120, 175, 255, .35); background: rgba(26, 119, 255, .12); border-radius: 30px; padding: 7px 16px; margin-bottom: 26px; }
.biz-hero__tag .dot { width: 7px; height: 7px; border-radius: 50%; background: #4d9bff; box-shadow: 0 0 10px #4d9bff; }
.biz-hero__copy h1 { margin: 0 0 20px; font-size: clamp(38px, 5vw, 62px); line-height: 1.18; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.biz-hero__copy p { margin: 0; max-width: 560px; font-size: 16px; line-height: 1.9; color: #c4d6f0; }
.biz-hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 34px; }
.biz-hero__badges span { font-size: 13px; color: #dce9ff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 5px; padding: 6px 14px; }
.biz-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- 一站式服务三卡 ---- */
.biz-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.biz-service { display: flex; flex-direction: column; background: #fff; border: 1px solid #e6ebf2; border-radius: 12px; overflow: hidden; transition: .28s ease; }
.biz-service:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(20, 50, 110, .14); border-color: #cfe0ff; }
.biz-service__media { position: relative; height: 178px; background-size: cover; background-position: center; }
.biz-service__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 28, 58, .05), rgba(11, 28, 58, .38)); }
.biz-service__no { position: absolute; top: 14px; left: 16px; z-index: 2; font-size: 22px; font-weight: 800; color: rgba(255, 255, 255, .9); letter-spacing: .04em; }
.biz-service__body { position: relative; padding: 0 24px 26px; }
.biz-service__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 10px; background: var(--biz-accent); color: #fff; margin: -24px 0 16px; box-shadow: 0 8px 20px rgba(26, 119, 255, .28); position: relative; z-index: 3; }
.biz-service h3 { margin: 0 0 10px; font-size: 20px; font-weight: 800; color: #1b2028; }
.biz-service p { margin: 0 0 16px; font-size: 14px; line-height: 1.8; color: #6b7a8f; }
.biz-service__points { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid #edf1f6; padding-top: 14px; }
.biz-service__points li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #48566b; padding: 5px 0; }
.biz-service__points li .ic { color: #1a77ff; flex: none; }
.biz-service__link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #1a77ff; }

/* ---- 解决方案分栏 ---- */
.biz-solution-list { display: flex; flex-direction: column; gap: 22px; }
.biz-solution { display: grid; grid-template-columns: .82fr 1.18fr; gap: 40px; align-items: center; background: #fff; border: 1px solid #e6ebf2; border-radius: 12px; padding: 40px 44px; }
.biz-solution--reverse { grid-template-columns: 1.18fr .82fr; }
.biz-solution--reverse .biz-solution__intro { order: 2; }
.biz-solution--reverse .biz-solution__items { order: 1; }
.biz-solution__intro { position: relative; }
.biz-solution__icon { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 14px; background: #eaf2ff; color: #1a77ff; margin-bottom: 20px; }
.biz-solution__intro h3 { margin: 0; font-size: clamp(21px, 2.4vw, 28px); line-height: 1.4; font-weight: 800; color: #1b2028; }
.biz-solution__line { display: block; width: 48px; height: 4px; border-radius: 2px; background: #1a77ff; margin-top: 20px; }
.biz-solution__items { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; }
.biz-sol-item { display: flex; gap: 13px; }
.biz-sol-item__ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 9px; background: #f0f5ff; color: #1a77ff; }
.biz-sol-item strong { display: block; font-size: 15px; color: #1b2028; margin: 1px 0 5px; }
.biz-sol-item p { margin: 0; font-size: 13px; line-height: 1.7; color: #7a889c; }

/* ---- 生态伙伴 ---- */
.biz-eco-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.biz-eco { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; background: #fff; border: 1px solid #e6ebf2; border-radius: 12px; padding: 28px 14px; transition: .25s ease; }
.biz-eco:hover { border-color: #bcd4ff; box-shadow: 0 14px 34px rgba(20, 50, 110, .1); transform: translateY(-4px); }
.biz-eco__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; background: #eaf2ff; color: #1a77ff; margin-bottom: 6px; }
.biz-eco strong { font-size: 14px; color: #1b2028; }
.biz-eco > span:last-child { font-size: 12px; color: #8492a6; }

/* ---- 关注方向（案例墙） ---- */
.biz-case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.biz-case { background: #fff; border: 1px solid #e6ebf2; border-radius: 12px; padding: 30px 24px; transition: .25s ease; }
.biz-case:hover { border-color: #bcd4ff; box-shadow: 0 16px 40px rgba(20, 50, 110, .1); }
.biz-case__icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 12px; background: linear-gradient(135deg, #1a77ff, #0b56d9); color: #fff; margin-bottom: 18px; box-shadow: 0 8px 18px rgba(26, 119, 255, .25); }
.biz-case h3 { margin: 0 0 10px; font-size: 18px; font-weight: 800; color: #1b2028; }
.biz-case p { margin: 0; font-size: 13px; line-height: 1.8; color: #6b7a8f; }

/* ---- 编辑精选（复用资讯卡样式） ---- */
.biz-pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.biz-pick-grid .hm-pick { background: #fff; border-color: #e6ebf2; }
.biz-pick-grid .hm-pick:hover { border-color: #bcd4ff; }

/* ---- 资讯列表区 ---- */
.biz-section--latest .biz-head h2 { font-size: 30px; }
.biz-section--latest .feed-head h2 { font-size: 20px; color: #1b2028; }
.biz-section--latest .feed-head__count { color: #8492a6; }
.biz-section--latest .content-grid > div:first-child > .panel,
.biz-section--latest #feed-root .article-card { background: #fff; }

/* ---- 联系 CTA ---- */
.biz-cta { padding: 64px 0; background: radial-gradient(900px 360px at 82% 0%, rgba(26, 119, 255, .35), transparent 60%), linear-gradient(120deg, #0b2f6b 0%, #0b1c3a 100%); }
.biz-cta__inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 50px; align-items: center; }
.biz-cta__eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .18em; color: #6db0ff; margin-bottom: 14px; }
.biz-cta__copy h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: #fff; }
.biz-cta__copy p { margin: 0 0 26px; font-size: 15px; color: #b4c8e6; line-height: 1.8; }
.biz-cta__card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; padding: 28px 30px; backdrop-filter: blur(6px); }
.biz-cta__label { display: block; font-size: 15px; color: #fff; margin-bottom: 16px; }
.biz-contact__row { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #c4d6f0; padding: 7px 0; }
.biz-contact__row .ic { color: #5aa2ff; flex: none; }
.biz-contact__row strong { font-size: 17px; color: #fff; }
.biz-cta__qr { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); }
.biz-cta__qr button { width: 76px; height: 76px; padding: 4px; background: #fff; border: 1px solid transparent; border-radius: 8px; cursor: pointer; flex: none; }
.biz-cta__qr button img { width: 100%; height: 100%; display: block; }
.biz-cta__qr span { font-size: 13px; color: #b4c8e6; }

/* ---- 响应式 ---- */
@media (max-width: 980px) {
  .biz-hero { min-height: 480px; }
  .biz-service-grid, .biz-pick-grid { grid-template-columns: 1fr 1fr; }
  .biz-eco-grid { grid-template-columns: repeat(3, 1fr); }
  .biz-case-grid { grid-template-columns: 1fr 1fr; }
  .biz-solution, .biz-solution--reverse { grid-template-columns: 1fr; gap: 24px; padding: 30px; }
  .biz-solution--reverse .biz-solution__intro,
  .biz-solution--reverse .biz-solution__items { order: initial; }
  .biz-cta__inner { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .biz-section { padding: 52px 0; }
  .biz-hero__copy h1 { font-size: 34px; }
  .biz-service-grid, .biz-pick-grid, .biz-case-grid { grid-template-columns: 1fr; }
  .biz-eco-grid { grid-template-columns: 1fr 1fr; }
  .biz-solution__items { grid-template-columns: 1fr; }
  .biz-hero__actions .biz-btn { flex: 1 1 100%; justify-content: center; }
}

/* ---- 自定义导航（后台「导航设置」） ---- */
.nav--dense { gap: 2px; margin-left: 4px; }
.nav--dense .nav__link { padding: 8px 9px; font-size: 12.5px; white-space: nowrap; }
.nav__link--cta {
  margin-left: 8px; padding: 9px 16px; font-size: 13px; font-weight: 700;
  border-radius: 8px; box-shadow: 0 4px 12px rgba(26, 119, 255, .24);
  color: #fff !important; background: var(--brand) !important;
}
.nav__link--cta:hover { color: #fff !important; background: var(--brand-deep) !important; }
.nav__link--cta.nav__link--active { color: #fff !important; background: var(--brand) !important; }
@media (max-width: 1180px) {
  .nav--dense .nav__link { padding: 7px 7px; font-size: 12px; }
  .nav__link--cta { margin-left: 4px; padding: 8px 12px; }
}
@media (max-width: 860px) {
  .nav--open .nav__link--cta { margin: 6px 0 0; text-align: center; }
}

/* 区块 / 页脚滚动定位时避开吸顶导航 */
#site-footer, .biz-section, .biz-hero, .biz-cta, .hm-section { scroll-margin-top: 84px; }

/* ---------- 在线客服浮窗 ---------- */
.chat-widget { position: fixed; right: 22px; bottom: 22px; z-index: 120; font-family: var(--font); }
.chat-fab {
  width: 56px; height: 56px; border-radius: 50%; border: none; margin-left: auto; display: grid; place-items: center;
  background: var(--brand); color: #fff; cursor: pointer; position: relative;
  box-shadow: 0 6px 20px rgba(29, 78, 216, .32); transition: transform .18s ease, box-shadow .18s ease;
}
.chat-fab:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(29, 78, 216, .42); }
.chat-fab--open { background: var(--brand-deep); }
.chat-fab svg { transition: opacity .16s ease; }
.chat-fab__badge {
  position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--accent); color: #fff; font-size: 11px; line-height: 20px;
  text-align: center; font-weight: 700; border: 2px solid var(--surface);
}
.chat-fab__badge[hidden] { display: none; }
.chat-panel {
  position: absolute; right: 0; bottom: 70px; width: 340px; max-width: calc(100vw - 32px);
  height: 480px; max-height: calc(100vh - 110px); display: flex; flex-direction: column;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-hover); overflow: hidden;
  transform-origin: bottom right; animation: chat-in .18s ease;
}
.chat-panel[hidden] { display: none; }
@keyframes chat-in { from { opacity: 0; transform: scale(.94) translateY(8px); } to { opacity: 1; transform: none; } }
.chat-panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px;
  background: var(--brand); color: #fff; flex: none;
}
.chat-panel__title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.chat-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: rgba(255, 255, 255, .22); font-weight: 700; font-size: 16px;
}
.chat-panel__title strong { display: block; font-size: 14.5px; line-height: 1.3; }
.chat-panel__title small { display: flex; align-items: center; gap: 5px; font-size: 11.5px; opacity: .9; margin-top: 2px; }
.chat-online-dot { width: 7px; height: 7px; border-radius: 50%; background: #6ee7b7; box-shadow: 0 0 0 2px rgba(110, 231, 183, .35); }
.chat-panel__close {
  background: none; border: none; color: #fff; opacity: .85; cursor: pointer; padding: 4px; border-radius: 6px; display: grid; place-items: center;
}
.chat-panel__close:hover { opacity: 1; background: rgba(255, 255, 255, .18); }
.chat-panel__body {
  flex: 1; min-height: 0; overflow-y: auto; padding: 16px; background: var(--surface-soft);
  display: flex; flex-direction: column; gap: 12px;
}
.chat-hello { display: flex; }
.chat-hello__bubble {
  max-width: 88%; padding: 10px 13px; border-radius: 4px 12px 12px 12px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: 13px; line-height: 1.6;
}
.chat-msg { display: flex; flex-direction: column; gap: 3px; max-width: 84%; }
.chat-msg--me { align-self: flex-end; align-items: flex-end; }
.chat-msg--agent { align-self: flex-start; align-items: flex-start; }
.chat-msg__bubble { padding: 9px 12px; border-radius: 12px 12px 4px 12px; font-size: 13.5px; line-height: 1.6; word-break: break-word; white-space: pre-wrap; }
.chat-msg--me .chat-msg__bubble { background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg--agent .chat-msg__bubble { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-msg__time { font-size: 10.5px; color: var(--ink-3); padding: 0 3px; }
.chat-panel__field { padding: 10px 14px 0; border-top: 1px solid var(--line); flex: none; }
.chat-identity__row { display: flex; gap: 8px; }
.chat-identity__row input {
  width: 50%; min-width: 0; padding: 7px 9px; font-size: 12.5px;
  border: 1px solid var(--line-strong); border-radius: 7px; background: var(--surface); color: var(--ink);
}
.chat-identity__row input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.chat-panel__field .field__hint { font-size: 10.5px; color: var(--ink-3); margin-top: 5px; }
.chat-panel__input { display: flex; gap: 8px; padding: 10px 14px 14px; flex: none; }
.chat-panel__input input {
  flex: 1; min-width: 0; padding: 9px 11px; font-size: 13.5px;
  border: 1px solid var(--line-strong); border-radius: 8px 8px 8px 4px; background: var(--surface); color: var(--ink);
}
.chat-panel__input input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.chat-send {
  width: 40px; height: 40px; flex: none; border: none; border-radius: 8px; display: grid; place-items: center;
  background: var(--brand); color: #fff; cursor: pointer; transition: background .16s ease;
}
.chat-send:hover { background: var(--brand-deep); }
.chat-send:disabled { opacity: .5; cursor: default; }
@media (max-width: 480px) {
  .chat-widget { right: 14px; bottom: 14px; }
  .chat-panel { width: calc(100vw - 28px); height: 60vh; }
}
body.theme-tech .chat-fab { box-shadow: 0 6px 22px rgba(34, 211, 238, .35); }
body.theme-tech .chat-panel__head { background: linear-gradient(135deg, #0e7490, #0891b2); }

/* 免费获取方案：留资弹窗 */
body.lead-open { overflow: hidden; }
.lead-modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 20px; }
.lead-modal[hidden] { display: none; }
.lead-modal__backdrop { position: absolute; inset: 0; background: rgba(11, 24, 43, .6); backdrop-filter: blur(3px); }
.lead-modal__card {
  position: relative; width: min(520px, 100%); max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--surface, #fff); color: var(--ink, #1b2735); border-radius: 16px;
  box-shadow: 0 28px 80px rgba(8, 28, 56, .28); padding: 30px 32px 28px;
}
.lead-modal__close {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border: none; border-radius: 8px;
  background: transparent; color: var(--ink-3, #7b8794); cursor: pointer; display: grid; place-items: center;
}
.lead-modal__close:hover { background: var(--brand-soft, #eaf3ff); color: var(--brand, #1a77ff); }
.lead-modal__eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--brand, #1a77ff); }
.lead-modal__head h2 { margin: 10px 0 8px; font-size: 26px; line-height: 1.25; letter-spacing: -.02em; }
.lead-modal__head p { margin: 0 0 20px; font-size: 13.5px; line-height: 1.7; color: var(--ink-2, #506276); }
.lead-form { display: grid; gap: 14px; }
.lead-field { display: grid; gap: 6px; }
.lead-field__label { font-size: 13px; font-weight: 700; color: var(--ink, #1b2735); }
.lead-field__label em { color: #e5484d; font-style: normal; }
.lead-field__label small { font-weight: 400; color: var(--ink-3, #7b8794); margin-left: 4px; }
.lead-field input, .lead-field textarea {
  width: 100%; padding: 10px 12px; font: inherit; font-size: 13.5px; line-height: 1.6;
  color: var(--ink, #1b2735); background: var(--surface, #fff);
  border: 1px solid var(--line-strong, #cfd8e3); border-radius: 9px; resize: vertical;
}
.lead-field input::placeholder, .lead-field textarea::placeholder { color: #9aa7b5; }
.lead-field input:focus, .lead-field textarea:focus { outline: none; border-color: var(--brand, #1a77ff); box-shadow: 0 0 0 3px var(--brand-soft, #eaf3ff); }
.lead-field__error { min-height: 0; font-size: 11.5px; color: #e5484d; }
.lead-field__error:empty { display: none; }
.lead-field--error input, .lead-field--error textarea { border-color: #e5484d; }
.lead-form__submit { width: 100%; justify-content: center; margin-top: 2px; }
.lead-form__submit:disabled { opacity: .6; cursor: default; }
.lead-form__note { margin: 0; font-size: 11.5px; line-height: 1.6; color: var(--ink-3, #7b8794); text-align: center; }
.lead-modal__success { text-align: center; padding: 24px 0 10px; }
.lead-modal__success[hidden] { display: none; }
.lead-modal__success-icon {
  width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-soft, #eaf3ff); color: var(--brand, #1a77ff);
}
.lead-modal__success h3 { margin: 0 0 8px; font-size: 21px; }
.lead-modal__success p { margin: 0 0 22px; font-size: 13.5px; color: var(--ink-2, #506276); }
body.theme-tech .lead-modal__card { background: #101c2f; color: #e8f1ff; border: 1px solid rgba(255, 255, 255, .1); }
body.theme-tech .lead-field input, body.theme-tech .lead-field textarea { background: #0a1424; color: #e8f1ff; border-color: rgba(255, 255, 255, .16); }
@media (max-width: 560px) {
  .lead-modal { padding: 12px; }
  .lead-modal__card { padding: 26px 20px 22px; border-radius: 12px; max-height: calc(100vh - 24px); }
  .lead-modal__head h2 { font-size: 22px; }
}
