/* ============================================================
   styles.css — 页面结构与交互样式
   ───────────────────────────────────────────────────────────
   配色不在这里：4 套配色 × 明暗双模式全部由 palettes.css 的
   --p-* 变量提供，本文件只管结构、布局与交互。

   ── 改样式前先看这四条 ──
   1) 同一层级（顶层 / 同一个 @media 内）每个选择器只出现一次，
      块内写的就是最终生效值，不用再往后找"有没有被覆盖"。
   2) 顶层规则与 @media 覆盖的先后顺序是级联的一部分，
      已与原版逐条保持一致，不要随意调换位置。
   3) 只有 2 个例外：.review-page h3、.site-footer。
      它们的基础规则必须排在某个 @media 之后才生效，
      所以各自保留两块 —— 改这两处时请搜全部出现位置。
   4) 新样式追加到文件末尾，不要插进中间打乱既有顺序。

   ── 本次整理（2026-12-04）──
   · 558 块 / 1413 条声明 → 418 块 / 1188 条声明
   · 删掉 225 条永远不生效的死声明
   · 删掉 46 个页面里已不存在的选择器
     （.service-row / .about / .article-cover / .follow* /
       .preview / .review-tab / .service-types 等旧版残留）
   · 同一选择器的重复块合并为一块，取消"改最后一次才生效"的坑
   · 等价性校验：Chrome 逐元素比对全部计算样式，
     2 套配色 × 明暗 × 9 档宽度（375/390/480/760/768/900/
     1000/1280/1400）共 36 组，与原文件 100% 一致
   ============================================================ */

:root { --bg:#fffcf6;--ink:#433c34;--muted:#82796d;--orange:#bd623d;--line:#e9e1d4;--serif:Georgia,'Songti SC','STSong',serif }
* { box-sizing:border-box }
html { scroll-behavior:smooth;scroll-padding-top:90px }
body { margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;font-size:15px;line-height:1.85 }
a { color:inherit;text-decoration:none }
button { font:inherit;cursor:pointer }
button:focus-visible, a:focus-visible { outline:3px solid #bd623d;outline-offset:5px }
.wrap { max-width:1120px;margin:auto;padding:0 44px }
.brand small { font-size:10px;letter-spacing:3px;color:var(--muted);display:block;line-height:1 }
.navlinks { display:flex;font-size:13px;gap:28px }
.navlinks a:hover { color:var(--orange) }
h1 { font-family:var(--serif);font-weight:500;font-size:53px;line-height:1.4;letter-spacing:1px;margin:22px 0 }
h1 em { font-style:normal;color:var(--orange);position:relative }
h1 em:after { content:'';position:absolute;bottom:-6px;left:0;right:0;height:8px;border-top:2px solid #dbac82;border-radius:50% }
.intro { color:var(--muted);max-width:480px;font-size:14px }
.intro strong { color:var(--ink);font-weight:500 }
.actions { display:flex;gap:24px;align-items:center;margin-top:31px }
.primary { display:inline-block;border:1px solid #e6cdb0;border-radius:5px;padding:10px 22px;font-size:13px;background:transparent;border-color:#d9cbbb;color:#79624d }
.portrait { width:290px;height:290px;border-radius:50%;overflow:hidden;border:3px solid #f4e7d6;margin:auto;background:#f4e7d6 }
.portrait img { width:100%;height:100%;object-fit:cover;object-position:100% 26%;transform:scale(1.48);transform-origin:100% 30% }
.intro p { margin:0 0 12px }
.wechat-qr { display:block;width:230px;height:auto;max-width:100%;margin:12px auto;object-fit:contain }
.wechat-id { display:flex;align-items:center;justify-content:center;gap:15px;margin:15px 0 }
.copy-status { min-height:24px;text-align:center;font-size:12px !important }
.contact-dialog { text-align:center;max-height:90vh;overflow:auto }
.contact-dialog h2 { margin-bottom:5px }
.contact-dialog p { margin:6px 0 }
.stats { display:flex;gap:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:25px 0;margin-bottom:58px }
.stat { flex:1;padding-left:34px;border-left:1px solid var(--line) }
.stat:first-child { padding-left:0;border:0 }
.stat strong { font-family:Georgia,serif;font-weight:400;font-size:31px;line-height:1.3 }
.stat strong small { font-family:inherit;font-size:13px;margin-left:7px }
.stat p { margin:3px 0 0;font-size:12px;color:var(--muted) }
section { margin-bottom:83px }
.section-head { display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:27px }
.section-head h2 { font-family:var(--serif);font-weight:500;font-size:31px;margin:7px 0 0 }
.section-head p { color:var(--muted);font-size:12px;margin:0 }
.featured { display:grid;grid-template-columns:1fr 1.4fr;background:#fcf7ee;border:1px solid #eee2cf;border-radius:10px;overflow:hidden;margin-bottom:22px }
.product-art { padding:38px;display:flex;align-items:center;justify-content:center;position:relative;background:#f8efdf;min-height:290px }
.book { width:155px;min-height:212px;background:#fffaf0;box-shadow:8px 9px 0 #dec7a7,15px 17px 22px #8c67351c;border-radius:2px;padding:22px 18px;border-left:6px solid #e4c09a;position:relative;transform:rotate(-6deg) scale(.9) }
.book .book-label { font-size:8px;letter-spacing:2px;color:#a48560 }
.book h3 { font-family:var(--serif);font-size:28px;font-weight:500;line-height:1.5;margin:20px 0 5px }
.book p { font-size:9px;color:#a38566 }
.book-line { height:1px;background:#d8b98f;margin-top:25px }
.product-body { padding:34px 38px }
.badge { display:inline-block;font-size:10px;letter-spacing:1px;color:#a35f38;background:#ead2b552;border-radius:3px;padding:3px 9px }
.product-body h3 { font-size:24px;font-weight:550;margin:10px 0 }
.product-bottom { display:flex;align-items:center;justify-content:space-between;margin-top:25px;gap:12px }
.price { font-size:25px;color:#a75732;font-weight:550;white-space:nowrap }
.price small { font-size:11px;font-weight:400;color:#9a7b5c;display:block;line-height:1.4 }
.price del { font-size:12px;color:#a19686;font-weight:400;margin-left:9px }
.buy { border:1px solid #c59b75;border-radius:4px;padding:8px 15px;background:#fffaf175;color:#93603d;font-size:12px;white-space:nowrap }
.buy:hover, .primary:hover { background:#ecd2b3 }
.product-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:21px }
.card { border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#fffefa }
.cover-icon { font-family:Georgia,serif;font-size:52px;font-style:italic;opacity:.4;flex-shrink:0 }
.card-body { padding:23px }
.card .product-bottom { align-items:flex-end;margin-top:23px }
.card .price { font-size:24px }
.card .buy { padding:6px 10px }
.reviews .section-head { margin-bottom:25px }
.review-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:17px }
.review { background:#fffdf7;border:1px solid #e9e1d3;border-radius:6px;padding:24px 23px;display:flex;flex-direction:column }
.quote-mark { font-family:Georgia,serif;font-size:43px;line-height:1;color:#d5b994 }
.review h3 { font-size:15px;font-weight:550;line-height:1.7;margin:0 0 11px }
.service { gap:55px;align-items:center;grid-template-columns:1fr;margin-bottom:55px;display:block }
.service p { font-size:13px;color:var(--muted) }
dialog { border:1px solid var(--line);border-radius:12px;padding:35px;width:min(420px,90vw);background:var(--bg);color:var(--ink) }
dialog::backdrop { background:#433c3455 }
dialog h2 { font-size:22px;margin-top:0 }
dialog p { font-size:14px;color:var(--muted) }
dialog .close { border:1px solid var(--line);padding:7px 18px;border-radius:4px;background:#f2e4d0;color:#704b32;float:right }
@media(min-width:1400px) {
  .wrap { max-width:1200px }
  .hero { gap:100px }
}

@media(max-width:760px) {
  .wrap { padding:0 23px }
  .navlinks { font-size:12px }
  h1 { font-size:39px }
  .portrait { width:184px;height:184px;grid-row:1 }
  .hero { padding-bottom:35px;padding-top:30px }
  .stats { padding:21px 0 }
  .stat { padding-left:15px }
  .stat strong { font-size:25px }
  .stat p { font-size:10px }
  .stat strong small { font-size:10px;margin-left:3px }
  .section-head { align-items:flex-start;gap:15px;flex-direction:column }
  .section-head h2 { font-size:27px }
  section { margin-bottom:52px }
  .featured { grid-template-columns:1fr }
  .product-art { min-height:245px }
  .book { min-height:185px;width:145px }
  .book h3 { font-size:24px }
  .product-body { padding:25px }
  .product-body h3 { font-size:22px }
  .product-grid, .review-grid { grid-template-columns:1fr }
  .card-body { padding:23px }
  .review { padding:23px }
  .service { grid-template-columns:1fr;gap:23px }
  footer { gap:20px;font-size:9px }
}

@media(min-width:761px) and (max-width:1000px) {
  .product-grid { grid-template-columns:1fr }
  .cover { height:155px }
  .service { grid-template-columns:1fr;gap:25px }
}

@media(max-width:480px) {
  .wrap { padding:0 18px }
  .hero { padding-top:28px;padding-bottom:30px }
  h1 { font-size:34px }
  .actions { gap:18px;flex-wrap:wrap }
  .primary { padding:10px 17px }
  .section-head h2 { font-size:25px }
  .product-body { padding:22px }
  .card-body { padding:20px }
  .cover { padding:22px;position:relative;height:156px }
  .cover-icon { position:absolute;right:18px;bottom:17px;font-size:35px }
  .product-bottom { flex-wrap:wrap;row-gap:15px }
  .stats { gap:10px }
  .stat { padding-left:10px }
  .stat strong { font-size:23px }
  .stat strong small { display:block;margin:0;font-size:10px }
  .stat p { line-height:1.65 }
  .service h2 { font-size:22px;white-space:normal;text-wrap:balance }
  .contact-dialog { padding:24px 18px }
  .wechat-qr { max-height:48vh;object-fit:contain;width:auto;max-width:100% }
  .wechat-id { gap:10px;flex-wrap:wrap }
}

.account-name small { display:block;font-size:10px;color:var(--muted);line-height:1.5;margin-bottom:3px }
.platform-logo { display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:11px;flex-shrink:0 }
.wx-logo { background:transparent;color:#5b925a }
.wx-logo svg { width:30px;height:30px }
.xhs-logo { background:transparent;color:#d65550;font-size:12px;font-weight:750;letter-spacing:-1px }
.follow-arrow { margin-left:auto;color:#a79681 }
.growth-logo svg { width:54px;height:54px }
.flomo-logo { font:700 24px Georgia,serif;opacity:.8;color:#639266 }
.flomo-logo span { display:block;font:10px -apple-system,sans-serif;text-align:center;letter-spacing:2px;margin-top:5px }
.cover-xhs { font:750 18px -apple-system,sans-serif;color:#c97165;opacity:.8;letter-spacing:-1px }
@media(max-width:480px) {
  .cover-icon.flomo-logo { font-size:23px }
  .cover-icon.cover-xhs { font-size:19px }
  .growth-logo svg { width:39px;height:39px }
}

.positioning { font-size:16px;line-height:1.8;max-width:480px;color:#9c603d }
@media(max-width:480px) {
  .positioning { font-size:15px }
}

.copy { background:transparent;border:0;border-bottom:0;border-radius:0;color:#888888;font-size:12px;padding:7px 2px;min-height:36px }
.copy:hover { color:#666666 }
.contact-dialog .close { float:none;background:transparent;border-color:#e3d8c8;font-size:12px;padding:6px 18px }
.navlinks a { display:inline-flex;align-items:center;min-height:44px;font-size:13px;color:var(--ink);font-weight:400;padding:10px 0 }
.buy, .card .buy { display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 15px }
.card h4 { margin:0;font-weight:550;font-size:18px }
.product-body p, .card p { line-height:1.9;margin:10px 0;font-size:14px;color:#70665a }
.review blockquote { margin:0;line-height:1.95;flex:1;font-size:13px;color:#73685b }
.review blockquote strong { font-weight:550;color:#50483e }
.cover.mint { background:#eaf0e5;color:#63765a }
.cover.pink { background:#faebe3;color:#a36c57 }
.cover-label { letter-spacing:2px;font-size:10px }
footer { border-top:1px solid var(--line);padding:25px 0;display:flex;justify-content:space-between;font-size:11px;color:#827667 }
@media(max-width:480px) {
  .intro { font-size:15px }
  .product-body p, .card p { font-size:14px }
  .review blockquote { font-size:14px }
  .stat p { color:#74695b }
  .copy { min-height:44px }
  .cover h3 { font-size:21px }
  .card h4 { font-size:18px }
  .inclusions { line-height:1.8 }
}

nav { display:flex;align-items:center;justify-content:space-between;height:76px }
.brand { font-size:21px;font-weight:550;display:flex;align-items:center;gap:20px;letter-spacing:2px }
@media(max-width:760px) {
  nav { height:64px }
  .brand { font-size:20px }
  .navlinks a { font-size:12px }
}

@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto }
}

.inclusions { font-size:12px !important;color:#817260 !important;border-top:0;padding-top:0;margin-top:10px !important }
.primary:hover { background:#faf3e9;border-color:#c5ae94 }
@media(min-width:1001px) {
  .card-body>p:not(.inclusions) { min-height:5.7em }
}

.review-page { flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always }
.review-track:focus-visible { outline:2px solid #b18360;outline-offset:5px }
@media(max-width:760px) {
  .review-track { align-items:flex-start }
  .review-page .review-grid { height:auto }
}

.service>div { max-width:none }
.service h2 { font-family:var(--serif);line-height:1.55;font-weight:500;font-size:28px;white-space:normal;margin:10px 0 25px }
.review-page .review-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;height:auto;align-items:stretch }
.review-page h3 { font-size:15px }
@media(max-width:760px) {
  .service h2 { font-size:25px }
  .review-page .review-grid { grid-template-columns:1fr }
  .review-page .quote-mark { display:none }
  .review-page h3 { font-size:14px;margin-bottom:6px }
  .review-page blockquote { font-size:12px;line-height:1.8 }
  .reviews .section-head { gap:8px;margin-bottom:12px }
  .reviews .section-head p { font-size:11px }
}

.review-track::-webkit-scrollbar { display:none }
.review-dot { width:32px;height:32px;padding:0;border:0;background:transparent;display:grid;place-items:center }
.review-dot:before { content:'';display:block;width:7px;height:7px;border-radius:50%;background:#d8cebf }
.review-dot.active:before { background:#9f8061 }
.review-dots button:focus-visible { outline:2px solid #b18360;outline-offset:1px }
.review-page blockquote { flex:none;line-height:1.8 }
.review-track { display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-color:#d4c7b5 transparent;scrollbar-width:none;-ms-overflow-style:none;align-items:flex-start;padding-bottom:0 }
.review-dots { display:flex;justify-content:center;gap:4px;margin-top:9px }
.reviews { background:#f7f3ea;padding:42px 34px;border-radius:10px;padding-top:30px;padding-bottom:24px }
@media(max-width:760px) {
  .reviews { padding:22px 18px 16px }
  .review-page .review-grid { gap:9px }
  .review-page blockquote { line-height:1.75 }
  .review-dots { margin-top:7px }
}

.review-page .quote-mark { font-size:28px;line-height:1;margin-bottom:8px }
.review-page h3 { margin-bottom:10px }
.review-page .review { min-height:0;padding:18px }
.review-page blockquote br+br { display:block;content:"";margin-top:6px }
@media(max-width:760px) {
  .review-page .review-grid { align-items:start }
  .review-page .review { padding:13px 16px }
}

/* ── 首屏：左侧资料卡 + 右侧自我介绍 ── */

header nav { height:86px }
.brand span { font-size:11px;letter-spacing:0;color:var(--muted);font-weight:400 }
.hero { display:grid;grid-template-columns:290px minmax(0,1fr);gap:78px;align-items:center;padding:55px 0 54px }
.profile .portrait { margin:0;width:205px;height:205px;border-radius:50%;border:3px solid #eee1cd;margin-left:auto;margin-right:auto }
.profile h1 { margin:17px 0 4px;line-height:1.3;font-size:36px }
.profile-role { font-size:13px;color:var(--muted);margin:0 }
.profile-line { font-size:13px;margin:15px 0 17px;color:var(--ink) }
.hero-story h2 { font-family:var(--serif);font-size:32px;font-weight:500;margin:0 0 20px }
.hero-story .positioning { font-size:20px;line-height:1.8;margin:0 0 22px;color:#985a3c }
.hero-story .intro { max-width:580px;font-size:14px;line-height:2 }
.hero-story .intro-list { list-style:none;margin:0;padding:0;display:grid;gap:8px }
.hero-story .intro-list li { display:flex;gap:12px;align-items:flex-start }
.hero-story .intro-label { flex:0 0 78px;color:var(--p-accent-deep);font-weight:500;white-space:nowrap }
.hero-story .actions { margin-top:23px }
.profile-social>a { display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:24px;padding:6px 11px;min-height:42px }
.profile-social .account-name small { display:none }
.cover { display:flex;justify-content:space-between;align-items:center;background:#e4edf1;color:#607984;height:137px;padding:20px }
.cover h3 { font-family:var(--serif);font-weight:500;line-height:1.4;margin:9px 0;font-size:21px }
.cover .cover-icon { font-size:39px }
.featured .product-art { min-height:245px;padding:25px }
.product-position { color:#a26340 !important;font-size:11px !important;margin:6px 0 13px !important;min-height:0 !important }
.card-body>p:not(.inclusions):not(.product-position) { min-height:5.7em }
.feedback-select { display:flex;gap:22px;margin:0 0 24px;flex-wrap:wrap }
.feedback-select button { border:0;border-bottom:2px solid transparent;padding:8px 0;background:transparent;color:var(--muted);font-size:12px;min-height:44px }
.feedback-select button[aria-pressed="true"] { border-color:var(--orange);color:var(--orange) }
.review-product-name { font-size:12px;color:#8b7b68;margin:0 0 15px;display:none }
.site-footer { padding:29px 0 24px;font-size:12px;gap:25px }
.footer-name { font-family:var(--serif);font-size:25px;color:var(--ink) }
.site-footer p { color:var(--muted);font-size:11px;line-height:1.85;margin:0 }
.footer-right { text-align:right }
.footer-nav { display:flex;gap:24px;justify-content:flex-end;color:var(--ink) }
@media(max-width:900px) {
  .hero { grid-template-columns:245px minmax(0,1fr);gap:35px }
  .brand span { display:none }
  .hero-story .positioning { font-size:18px }
  .hero-story h2 { font-size:29px }
}

@media(max-width:760px) {
  header nav { height:66px }
  .hero { grid-template-columns:1fr;gap:30px;padding:25px 0 35px }
  .profile h1 { margin:13px 0 3px }
  .profile-line { margin:10px 0 13px }
  .profile-social>a { padding:5px 11px }
  .hero-story h2 { display:none }
  .hero-story .positioning { font-size:20px;margin-bottom:16px }
  .hero-story .intro { font-size:13px }
  .hero-story .intro-list li { gap:8px }
  .hero-story .intro-label { flex-basis:72px }
  .hero-story .actions { margin-top:20px }
  .cover { height:126px }
  .cover h3 { font-size:22px }
  .featured .product-art { min-height:205px;padding:12px }
  .featured .book { transform:rotate(-6deg) scale(.82) }
  .feedback-select { gap:6px 18px;margin-bottom:15px }
  .feedback-select button { font-size:11px }
  .footer-right { text-align:left }
  .footer-nav { justify-content:flex-start }
  .stats { margin-bottom:45px }
  .card-body>p:not(.inclusions):not(.product-position) { min-height:0 }
}

.articles { margin-top:65px;margin-bottom:65px }
.article-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch }
.article-card:hover { border-color:#c5ae94 }
.article-card:hover h3 { color:#985a3c }
@media(max-width:760px) {
  .articles { margin-top:42px;margin-bottom:42px }
  .article-grid { grid-template-columns:1fr;gap:17px }
  .navlinks { gap:18px }
}

.profile-social .xhs-logo { font-size:10px;font-weight:650 }
.profile-social .account-name, .profile-social .follow-arrow { display:none }
.articles .section-head { display:block;text-align:center;margin-bottom:35px }
.articles .section-head h2 { font-size:36px;margin:0 }
.article-card { border:1px solid var(--line);overflow:hidden;background:#fffefa;display:flex;flex-direction:column;border-radius:16px }
.article-copy { display:flex;flex-direction:column;flex:1;padding:23px;min-height:235px }
.article-copy>small { font-size:10px;color:var(--muted);display:none }
.article-meta { display:flex;align-items:center;gap:12px;margin-top:auto;padding-top:15px;justify-content:flex-start }
@media(max-width:760px) {
  .profile .portrait { width:140px;height:140px;border-radius:50%;border-width:3px }
  .profile-social>a, .profile-social>button { width:44px;height:44px;min-height:44px;padding:0 }
  .articles .section-head { margin-bottom:25px }
  .articles .section-head h2 { font-size:30px }
  .article-copy { padding:21px;min-height:0 }
  .article-meta { padding-top:9px }
}

.profile { text-align:center }
.profile-social button { font:inherit }
#products>.section-head, .reviews>.section-head, .service-heading, .articles>.section-head { display:block;text-align:center;margin-bottom:30px }
#products>.section-head h2, .reviews>.section-head h2, .service-heading h2, .articles>.section-head h2 { font-family:var(--serif);font-size:29px;font-weight:500;line-height:1.5;margin:0 }
#products>.section-head>p { margin-top:12px }
.service-options { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px }
.service-option { border:1px solid var(--line);border-radius:10px;padding:29px 30px;background:#fffefa;display:flex;flex-direction:column }
.service-option h3 { font-size:21px;font-weight:550;margin:0 0 10px }
.service-option .service-intro { font-size:13px;line-height:1.9;margin:0 0 23px;color:var(--muted) }
.service-option ul { list-style:none;padding:0;margin:0 0 26px }
.service-option li { padding:0 0 20px 16px;position:relative }
.service-option li:last-child { padding-bottom:0 }
.service-option li:before { content:'';position:absolute;left:0;top:10px;width:4px;height:4px;border-radius:50%;background:#b99771 }
.service-option li strong { display:block;font-size:14px;font-weight:550;line-height:1.7 }
.service-option li span { display:block;font-size:12px;line-height:1.9;color:var(--muted);margin-top:5px }
.service-option .service-price { margin:auto 0 0;padding-top:20px;border-top:1px solid var(--line);font-size:27px;font-weight:550;color:#a75732 }
.service-price>span { font-size:13px;font-weight:400;color:var(--muted) }
.service-price small { display:inline-block;margin-left:12px;font-size:11px;font-weight:400;color:#93603d;background:#f6eee1;padding:2px 8px;border-radius:3px }
.service-contact { text-align:center;margin-top:27px }
.service-contact .primary { min-width:150px }
@media(max-width:760px) {
  .profile h1 { font-size:30px }
  #products>.section-head h2, .reviews>.section-head h2, .service-heading h2, .articles>.section-head h2 { font-size:25px }
  .service-options { grid-template-columns:1fr;gap:18px }
  .service-option { padding:23px }
  .service-option h3 { font-size:19px }
  .service-option li { padding-bottom:18px }
  .service-option .service-intro { margin-bottom:20px }
  .service-option .service-price { font-size:25px }
  .service-contact { margin-top:23px }
}

@media(min-width:761px) {
  .site-footer { align-items:center }
}

.article-image-wrap { position:relative;aspect-ratio:16/9;overflow:hidden;background:#f4f3ed }
.article-image-wrap .article-category { position:absolute;top:11px;left:11px;z-index:1;padding:3px 8px;border-radius:4px;background:#fffcf6eb;color:#66533e;font-size:10px;letter-spacing:1px }
.article-photo { display:block;width:100%;height:100%;object-fit:cover;object-position:center }
.article-photo-2, .article-photo-3, .article-photo-4, .article-photo-6 { object-fit:contain }
.article-photo-5 { object-position:75% 33% }
.article-card .article-copy { min-height:0;padding:21px;flex:1 }
.article-copy h3 { font-weight:550;margin:0 0 13px;font-size:17px;line-height:1.7 }
.article-copy p { color:var(--muted);margin:0 0 20px;line-height:1.85;font-size:13px;margin-bottom:24px }
.article-card .article-meta { border:0;padding-top:0;justify-content:space-between;margin-top:auto }
.article-date { font-size:11px;color:var(--muted) }
.article-read { margin-top:auto;color:#956344;margin:0;font-size:11px }
@media(max-width:760px) {
  .article-image-wrap .article-category { font-size:11px }
  .article-copy h3 { font-size:18px }
  .article-card .article-copy { padding:21px }
}

.product-grid .cover { position:relative;padding-right:120px }
.product-grid .cover .cover-icon { position:absolute;right:22px;top:50%;bottom:auto;transform:translateY(-50%);margin:0;flex-shrink:0 }
.product-grid .cover .growth-logo { width:44px;height:44px;display:flex;align-items:center;justify-content:center }
.product-grid .cover .growth-logo svg { display:block;width:44px;height:44px }
.product-grid .cover .flomo-logo { font-size:29px;line-height:1.15;text-align:center }
.product-grid .cover .flomo-logo span { font-size:9px;margin-top:6px }
.product-grid .cover .cover-xhs { font-size:21px;line-height:1.2 }
@media(max-width:760px) {
  .site-footer { display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:14px }
  .site-footer>div { min-width:0 }
  .site-footer .footer-right { text-align:center;flex-shrink:0 }
  .site-footer .footer-nav { justify-content:center;gap:14px;font-size:11px }
  .site-footer .footer-name { font-size:23px }
  .site-footer p { font-size:10px }
  .product-grid .cover { padding-right:112px }
  .product-grid .cover .cover-icon { right:20px }
}

@media(max-width:380px) {
  .site-footer { gap:10px }
  .site-footer .footer-nav { gap:9px;font-size:10px }
  .site-footer p { font-size:9px }
  .product-grid .cover { padding-right:99px }
  .product-grid .cover h3 { font-size:20px }
  .product-grid .cover .flomo-logo { font-size:25px }
  .product-grid .cover .cover-xhs { font-size:19px }
}

.article-photo-3 { box-sizing:border-box;padding-top:0;object-fit:contain }
.article-photo-4 { object-fit:contain }
.article-photo-6 { object-fit:cover;object-position:center }
.article-photo-2 { background:#f4f1e8;padding-top:0;object-fit:contain }
/* Shared rows keep both footer headings and captions aligned. */

.site-footer { display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;row-gap:6px }
.site-footer>div { display:contents }
.site-footer .footer-name { grid-column:1;grid-row:1;align-self:center;line-height:1.4 }
.site-footer .footer-nav { grid-column:2;grid-row:1;align-self:center }
.site-footer>div:first-child>p { grid-column:1;grid-row:2 }
.site-footer .footer-motto { text-align:center;grid-column:2;grid-row:2 }
@media(min-width:761px) {
  .feedback-select { justify-content:center }
}

/* ── 本地定制：吸顶导航 / 社交入口 / 服务分组 / 外观面板 / 文章下拉 ──
   所有随配色与明暗切换的颜色统一由 palettes.css 管理，这里不写死颜色。 */

/* 1. 头像：方形/圆形照片居中显示（原版竖图的高优先级裁切规则在这里彻底覆盖） */

.profile .portrait img { width:100%;height:100%;object-fit:cover;object-position:center center;transform:none;transform-origin:center center }
/* 2. 顶部导航固定 */

header { border-bottom:0;background:var(--bg);position:sticky;top:0;z-index:100;-webkit-backdrop-filter:saturate(160%) blur(12px);backdrop-filter:saturate(160%) blur(12px) }
/* 3. 社交入口：胶囊图标 + 文字 */

.profile-social { display:flex;gap:8px;flex-wrap:wrap;justify-content:center }
.profile-social>a, .profile-social>button { place-items:center;width:auto;height:auto;min-height:38px;border:1px solid var(--line);border-radius:20px;padding:5px 12px;display:inline-flex;align-items:center;gap:6px;background:transparent }
.profile-social>a:hover, .profile-social>button:hover { background:var(--p-hover);border-color:var(--p-border-strong) }
.profile-social .platform-logo { flex-shrink:0;display:grid;place-items:center;width:auto;height:auto;min-width:18px;font-size:12px;font-weight:700;line-height:1;background:transparent;border:0;border-radius:0 }
.profile-social .wx-logo svg { width:18px;height:18px }
.profile-social .account-name { display:inline-block;font-size:12px;line-height:1 }
.profile-social .follow-arrow { display:none }
/* 4. 服务区：2 类分组 */

.service .service-heading { margin-bottom:8px }
.service-group { margin-bottom:42px }
.service-group:last-of-type { margin-bottom:30px }
.service-group-title { display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;margin:0 0 18px }
.service-group-num { font-family:Georgia,serif;font-style:italic;font-size:30px;color:var(--orange);line-height:1 }
.service-group-title h3 { font-family:var(--serif);font-size:23px;font-weight:500;margin:0;line-height:1.4 }
.service-group-title p { margin:0;color:var(--muted);font-size:13px }
/* 5. 外观设置：触发按钮 + 浮层面板 */

.appearance-wrap { position:relative;display:flex;align-items:center }
.theme-toggle { display:inline-grid;place-items:center;width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:transparent;color:var(--ink);font-size:17px;line-height:1;transition:background .2s,border-color .2s }
.theme-toggle:hover { background:var(--p-hover);border-color:var(--p-border-strong) }
.theme-icon { display:block;transform:translateY(-1px) }
.appearance-panel { position:absolute;top:calc(100% + 12px);right:0;z-index:200;width:300px;padding:18px;background:var(--p-panel);border:1px solid var(--line);border-radius:12px;box-shadow:0 18px 46px var(--p-shadow);animation:panel-in .16s ease-out }
.appearance-panel[hidden] { display:none }
@keyframes panel-in {
  from { opacity:0;transform:translateY(-6px) }
  to { opacity:1;transform:none }
}

.appearance-head { display:flex;align-items:center;justify-content:space-between;margin-bottom:16px }
.appearance-head strong { font-family:var(--serif);font-size:15px;font-weight:500 }
.appearance-head button { border:0;background:transparent;color:var(--muted);font-size:18px;line-height:1;padding:2px 5px }
.appearance-label { margin:0 0 9px;font-size:11px;letter-spacing:1px;color:var(--muted) }
.palette-list { display:grid;gap:6px;margin-bottom:18px }
.palette-item { display:flex;align-items:center;gap:11px;width:100%;padding:8px 10px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--ink);text-align:left;transition:background .15s,border-color .15s }
.palette-item:hover { background:var(--p-hover) }
.palette-item[aria-pressed="true"] { border-color:var(--p-border-strong);background:var(--p-hover) }
.palette-swatch { display:flex;flex-shrink:0;border-radius:5px;overflow:hidden;border:1px solid var(--line) }
.palette-swatch i { width:15px;height:22px;display:block }
.palette-name { flex:1;font-size:13px;line-height:1.35 }
.palette-name small { display:block;font-size:10px;color:var(--muted) }
.palette-check { font-size:13px;color:var(--orange);opacity:0 }
.palette-item[aria-pressed="true"] .palette-check { opacity:1 }
.mode-list { display:flex;gap:8px }
.mode-list button { flex:1;padding:7px 4px;border:1px solid var(--line);border-radius:6px;background:transparent;color:var(--muted);font-size:12px }
.mode-list button[aria-pressed="true"] { border-color:var(--p-border-strong);background:var(--p-hover);color:var(--ink) }
/* 文章下拉：媒体采访 / 近期更新 */

.articles-wrap { position:relative;display:flex;align-items:center }
.articles-toggle { display:inline-flex;align-items:center;gap:5px;min-height:44px;padding:10px 0;border:0;background:transparent;color:var(--ink);font-size:inherit;font-family:inherit;line-height:1.2;cursor:pointer }
.articles-toggle:hover { color:var(--orange) }
.articles-caret { font-size:11px;line-height:1;transition:transform .18s }
.articles-toggle[aria-expanded="true"] .articles-caret { transform:rotate(180deg) }
.articles-menu { position:absolute;top:calc(100% + 6px);left:50%;transform:translateX(-50%);z-index:200;min-width:186px;padding:7px;background:var(--p-panel);border:1px solid var(--line);border-radius:10px;box-shadow:0 18px 46px var(--p-shadow);animation:panel-in .16s ease-out }
.articles-menu[hidden] { display:none }
.articles-menu a { display:block;min-height:0;padding:9px 11px;border-radius:7px;color:var(--ink);font-size:13px;line-height:1.3;white-space:nowrap }
.articles-menu a:hover { background:var(--p-hover);color:var(--orange) }
.articles-menu small { display:block;margin-top:2px;color:var(--muted);font-size:10px }
/* footer 文章下拉：向上展开，尺寸贴合 footer */

.site-footer .articles-toggle { min-height:0;padding:0;gap:3px }
.site-footer .articles-caret { font-size:9px }
.site-footer .articles-menu { top:auto;bottom:calc(100% + 8px);left:auto;right:0;transform:none;min-width:178px }
/* 6. 移动端微调 */

@media(max-width:760px) {
  .profile-social { justify-content:flex-start }
  .service-group-title h3 { font-size:20px }
  .service-group-num { font-size:26px }
  .appearance-panel { right:-8px;width:min(300px,calc(100vw - 32px)) }
  .articles-menu { left:auto;right:-8px;transform:none }
}

@media(max-width:480px) {
  .profile-social { gap:6px }
  .profile-social>a, .profile-social>button { padding:4px 9px;min-height:34px }
  .profile-social .account-name { font-size:11px }
}

@media(prefers-reduced-motion:reduce) {
  header { backdrop-filter:none;-webkit-backdrop-filter:none }
  .appearance-panel { animation:none }
}
