/* ==========================================================================
   香香腐宅 · 内容专题站  共享样式（第 10 档配色：湖水青 + 莓紫 + 蜜桃珊瑚 + 奶油黄）
   站点 chrome 与 App 自身配色（白底 + 玫粉 #F5709C）刻意分离
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

body, h1, h2, h3, h4, p, ul, ol, li, figure, figcaption, blockquote, dl, dd, dt {
  margin: 0; padding: 0;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }

:root {
  --teal: #2F9FB4;      --teal-d: #1F7186;   --teal-l: #E4F4F7;
  --plum: #7B3FBF;      --plum-d: #55268C;   --plum-l: #F1E7FB;
  --peach: #F2735E;     --peach-d: #C94A32;  --peach-l: #FDEAE5;
  --cream: #FFC24D;     --amber: #E0A94F;
  --bg: #FFFBF7;        --card: #FFFFFF;
  --ink: #20222A;       --ink-2: #4A4D57;    --muted: #8A8A92;
  --line: #F0E9E2;      --line-2: #E7E2F2;
  --grad-main: linear-gradient(135deg, #4FC0D4, #2F9FB4 50%, #7B3FBF);
  --grad-cta: linear-gradient(135deg, #FFB07A, #F2735E 56%, #D9482F);
  --shadow: 0 10px 26px rgba(41, 30, 60, .08);
  --shadow-lg: 0 18px 44px rgba(24, 16, 40, .16);
}

html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Heiti SC", sans-serif;
  background: var(--bg); color: var(--ink);
  font-size: 16px; line-height: 1.75;
}
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* ---------------- 头部 ---------------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 251, 247, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.head-in { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand img { width: 42px; height: 42px; border-radius: 12px; box-shadow: var(--shadow); }
.brand-name { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-name b { font-size: 19px; letter-spacing: .5px; color: var(--plum-d); }
.brand-name .sub { font-size: 11.5px; color: var(--muted); letter-spacing: .3px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a {
  font-size: 14.5px; color: var(--ink-2); padding: 8px 13px; border-radius: 9px;
  transition: background .2s, color .2s; white-space: nowrap;
}
.nav a:hover { background: var(--teal-l); color: var(--teal-d); }
.nav a.on { background: var(--teal-l); color: var(--teal-d); font-weight: 700; }
.nav .header-cta {
  margin-left: 8px; padding: 9px 20px; border-radius: 22px;
  background: var(--grad-cta); color: #fff; font-weight: 700; font-size: 14.5px;
  box-shadow: 0 8px 18px rgba(217, 72, 47, .28); white-space: nowrap;
}
.nav .header-cta:hover { color: #fff; background: var(--grad-cta); filter: brightness(1.05); }
.nav .header-cta::after { display: none; }

/* ---------------- Hero ---------------- */
.hero {
  background:
    radial-gradient(760px 380px at 12% 4%, rgba(79, 192, 212, .34), transparent 68%),
    radial-gradient(680px 420px at 88% 96%, rgba(123, 63, 191, .38), transparent 66%),
    radial-gradient(520px 300px at 74% 12%, rgba(242, 115, 94, .22), transparent 70%),
    linear-gradient(150deg, #1E1233, #3D1B63 44%, #0E5F70);
  color: #fff; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .5;
}
.hero-in { position: relative; z-index: 2; padding-top: 68px; padding-bottom: 78px; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 46px; align-items: center; }
.hero-grid > * { min-width: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3);
  color: #fff; font-size: 12.5px; padding: 5px 14px; border-radius: 20px;
  letter-spacing: .4px; margin-bottom: 18px;
}
.pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--cream); display: block; }
.hero h1 {
  font-size: 44px; line-height: 1.28; letter-spacing: 1px; font-weight: 800;
  text-shadow: 0 6px 22px rgba(0, 0, 0, .28);
}
.hero-lead {
  margin-top: 20px; font-size: 16.5px; line-height: 1.95;
  color: rgba(255, 255, 255, .88); max-width: 560px;
}
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--grad-cta); color: #fff; font-weight: 700; font-size: 16px;
  padding: 14px 34px; border-radius: 30px;
  box-shadow: 0 14px 30px rgba(217, 72, 47, .34);
  transition: transform .2s, filter .2s;
}
.btn:hover { filter: brightness(1.06); }
.hero-meta { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: rgba(255, 255, 255, .74); }
.hero-meta span { display: flex; align-items: center; gap: 7px; }
.hero-meta i { color: var(--cream); font-size: 12px; }
.hero-visual { display: flex; gap: 16px; align-items: flex-start; min-width: 0; }
.mini-shot {
  flex: 1 1 0; min-width: 0; border-radius: 15px; overflow: hidden;
  background: #fff; box-shadow: 0 20px 44px rgba(8, 14, 30, .38);
  box-shadow: 0 20px 44px rgba(8, 14, 30, .38), 0 0 0 5px rgba(255, 255, 255, .14);
}
.mini-shot.main { flex: 1.32; }
.mini-shot.sub { margin-top: 42px; }
.mini-shot img { width: 100%; height: auto; display: block; }

/* ---------------- 数据条 ---------------- */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats .in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 30px 0; }
.stats .it { text-align: center; min-width: 0; }
.stats .it .num { font-size: 30px; font-weight: 800; color: var(--teal); letter-spacing: .5px; }
.stats .it .num em { font-size: 16px; font-style: normal; margin-left: 2px; }
.stats .it .lbl { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ---------------- 通用区块 ---------------- */
.section { padding: 74px 0; }
.section.alt { background: #fff; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.sec-head h2 { font-size: 29px; letter-spacing: .5px; color: var(--plum-d); }
.sec-head-p { margin-top: 12px; font-size: 15.5px; color: var(--ink-2); }

/* 功能卡 */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 24px; box-shadow: var(--shadow); min-width: 0;
}
.card .ico {
  width: 46px; height: 46px; border-radius: 13px; display: flex;
  align-items: center; justify-content: center; font-size: 20px;
  background: var(--teal-l); color: var(--teal-d); margin-bottom: 16px;
}
.card:nth-child(3n+2) .ico { background: var(--plum-l); color: var(--plum-d); }
.card:nth-child(3n) .ico { background: var(--peach-l); color: var(--peach-d); }
.card h3 { font-size: 18px; margin-bottom: 9px; }
.card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.85; }

/* 截图墙 */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.shot { margin: 0; min-width: 0; }
.shot img {
  width: 100%; height: auto; border-radius: 14px;
  box-shadow: 0 0 0 5px #fff, 0 12px 28px rgba(41, 30, 60, .12);
}
.shot figcaption { margin-top: 13px; font-size: 13.5px; color: var(--muted); text-align: center; }

/* 同名甄别 */
.judge { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.judge .it {
  background: #fff; border: 1px solid var(--line-2); border-radius: 16px;
  padding: 24px; min-width: 0; box-shadow: var(--shadow);
}
.judge .it strong { display: block; font-size: 16px; color: var(--plum-d); margin-bottom: 8px; }
.judge .it p { font-size: 14.5px; color: var(--ink-2); }

/* 深度内容入口 */
.entries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.entry {
  display: block; background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 24px 22px; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s; min-width: 0;
}
.entry:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--teal); }
.entry .k { font-size: 12px; color: var(--teal-d); letter-spacing: 1px; font-weight: 700; }
.entry h3 { font-size: 17px; margin: 9px 0 8px; }
.entry p { font-size: 14px; color: var(--ink-2); }
.entry .go { margin-top: 14px; font-size: 13.5px; color: var(--peach-d); font-weight: 700; }

/* 评价 */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 24px; box-shadow: var(--shadow); min-width: 0;
}
.stars { color: var(--amber); font-size: 14px; letter-spacing: 2px; }
.review p { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); }
.review .who { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* FAQ */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
details.qa {
  background: #fff; border: 1px solid var(--line); border-radius: 13px;
  overflow: hidden; box-shadow: var(--shadow);
}
details.qa > summary {
  padding: 17px 54px 17px 22px; font-size: 16px; font-weight: 700;
  position: relative; color: var(--ink);
}
details.qa > summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  color: var(--teal); font-size: 21px; font-weight: 700; line-height: 1;
}
details.qa[open] > summary::after { content: "–"; }
details.qa .ans { padding: 0 22px 20px; font-size: 14.5px; color: var(--ink-2); }
details.qa .ans p + p { margin-top: 10px; }

/* 下载通道条 */
.band {
  background: linear-gradient(135deg, #2A1642, #4A2069 52%, #0E5F70);
  color: #fff; border-radius: 20px; padding: 38px 40px;
  display: grid; grid-template-columns: 1fr auto; gap: 14px 26px; align-items: center;
  box-shadow: var(--shadow-lg);
}
.band h2 { font-size: 24px; grid-column: 1; grid-row: 1; }
.band .btn { grid-column: 2; grid-row: 1; justify-self: end; }
.band-txt { grid-column: 1 / -1; grid-row: 2; font-size: 14.5px; color: rgba(255, 255, 255, .82); }

/* 内页横幅 */
.page-hero {
  background:
    radial-gradient(620px 320px at 88% 8%, rgba(123, 63, 191, .34), transparent 68%),
    radial-gradient(520px 300px at 8% 92%, rgba(79, 192, 212, .3), transparent 70%),
    linear-gradient(150deg, #1E1233, #3D1B63 46%, #0E5F70);
  color: #fff; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .45;
}
.page-hero .in { position: relative; z-index: 2; padding: 52px 0 54px; }
.crumb { font-size: 13px; color: rgba(255, 255, 255, .7); margin-bottom: 14px; }
.crumb a:hover { color: #fff; }
.page-hero h1 { font-size: 33px; line-height: 1.35; letter-spacing: .5px; }
.page-hero .page-lead {
  margin-top: 18px; font-size: 16px; line-height: 1.95;
  color: rgba(255, 255, 255, .87); max-width: 780px;
}

/* 正文 */
.prose { width: 100%; max-width: 900px; min-width: 0; margin: 0 auto; padding: 54px 22px 64px; }
.prose h2 {
  font-size: 23px; color: var(--plum-d); letter-spacing: .3px;
  margin-top: 42px; padding-left: 15px; border-left: 5px solid var(--teal);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17.5px; margin-top: 24px; color: var(--ink); }
.sec-body { margin-top: 16px; }
.sec-body p, .prose .sec-body p { margin-bottom: 14px; font-size: 15.5px; color: var(--ink-2); line-height: 1.95; }
.sec-body p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); }
.prose a { color: var(--teal-d); border-bottom: 1px solid rgba(47, 159, 180, .45); }
.prose a:hover { color: var(--peach-d); border-bottom-color: var(--peach); }
.prose .tip {
  margin-top: 18px; background: var(--teal-l); border-left: 4px solid var(--teal);
  border-radius: 0 10px 10px 0; padding: 15px 18px; font-size: 14.5px; color: var(--teal-d);
}
.prose .shot { max-width: 368px; margin: 26px auto; }
.prose .shot img { width: 100%; height: auto; border-radius: 12px; box-shadow: var(--shadow); }
.prose .shot figcaption { margin-top: 11px; font-size: 13px; color: var(--muted); text-align: center; }

/* 步骤列表（计数器只写在直接子项上） */
.prose .steps { counter-reset: st; margin-top: 18px; }
.prose .steps > li {
  position: relative; padding-left: 54px; margin-bottom: 18px;
  font-size: 15.5px; color: var(--ink-2); line-height: 1.9;
}
.prose .steps > li::before {
  counter-increment: st; content: counter(st);
  position: absolute; left: 0; top: 1px; width: 34px; height: 34px;
  border-radius: 11px; background: var(--grad-main); color: #fff;
  font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.prose .steps > li strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 3px; }
.prose .steps > li > ul { margin-top: 8px; }
.prose .steps > li > ul > li { position: relative; padding-left: 17px; font-size: 14.5px; margin-bottom: 6px; }
.prose .steps > li > ul > li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--peach);
}
.prose ul.dot { margin-top: 14px; }
.prose ul.dot > li { position: relative; padding-left: 18px; margin-bottom: 8px; font-size: 15.5px; color: var(--ink-2); }
.prose ul.dot > li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
}

/* 表格 */
.table-scroll { overflow-x: auto; margin-top: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
table.cmp { width: 100%; min-width: 680px; font-size: 14.5px; }
table.cmp caption { text-align: left; padding: 14px 18px 0; font-size: 13.5px; color: var(--muted); }
table.cmp th, table.cmp td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.cmp thead th { background: var(--teal-l); color: var(--teal-d); font-size: 14px; white-space: nowrap; }
table.cmp tbody tr:nth-child(even) { background: #FCFAF8; }
table.cmp tbody tr:last-child td { border-bottom: 0; }

/* 相关链接 */
.related { max-width: 900px; margin: 0 auto; padding: 0 22px 44px; }
.related h2 { font-size: 19px; color: var(--plum-d); margin-bottom: 16px; }
.rel-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rel-links a {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 13px;
  padding: 16px 18px; font-size: 14.5px; color: var(--ink-2);
  box-shadow: var(--shadow); transition: border-color .2s, color .2s;
}
.rel-links a:hover { border-color: var(--teal); color: var(--teal-d); }
.rel-links a b { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 5px; }

/* ---------------- 页脚 ---------------- */
.site-foot { background: #0C2A31; color: #C3D6D9; padding: 52px 0 0; margin-top: 10px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.foot-col h3 { font-size: 15.5px; color: #fff; margin-bottom: 14px; }
.foot-col p { font-size: 13.5px; line-height: 1.9; color: #A9C2C6; }
.foot-col ul li { margin-bottom: 9px; }
.foot-col ul a { font-size: 13.5px; color: #A9C2C6; }
.foot-col ul a:hover { color: var(--cream); }
.footer-dl {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  background: var(--grad-cta); color: #fff; font-weight: 700; font-size: 14.5px;
  padding: 11px 26px; border-radius: 24px; box-shadow: 0 10px 22px rgba(0, 0, 0, .28);
}
.foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.foot-brand img { width: 38px; height: 38px; border-radius: 11px; }
.foot-brand b { color: #fff; font-size: 17px; }
.disc { margin-top: 34px; border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0 26px; }
.disc p { font-size: 12.5px; color: #8FADB1; line-height: 1.9; text-align: center; }

/* ---------------- 动效（仅首页） ---------------- */
.reveal { transition: opacity .62s ease, transform .62s ease; }
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------- 断点 ---------------- */
@media (max-width: 980px) {
  .hero h1 { font-size: 34px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-visual { max-width: 520px; }
  .cards, .judge, .reviews { grid-template-columns: repeat(2, 1fr); }
  .entries { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .band { grid-template-columns: 1fr; padding: 32px 26px; }
  .band .btn { grid-column: 1; grid-row: auto; justify-self: start; }
  .band-txt { grid-row: auto; }
  .page-hero h1 { font-size: 27px; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .head-in { flex-wrap: wrap; padding: 10px 0; gap: 8px; }
  .brand { width: 100%; }
  .nav { width: 100%; margin-left: 0; gap: 0; flex-wrap: wrap; }
  .nav a { flex: 0 0 33.3333%; text-align: center; padding: 8px 4px; font-size: 13.5px; white-space: nowrap; }
  .nav .header-cta { display: none; }
  .brand-name .sub { display: none; }
  .hero-in { padding-top: 40px; padding-bottom: 48px; }
  .hero h1 { font-size: 28px; }
  .hero-lead { font-size: 15px; }
  .mini-shot.sub { margin-top: 26px; }
  .btn { padding: 12px 26px; font-size: 15px; }
  .stats .in { grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 24px 0; }
  .stats .it .num { font-size: 25px; }
  .section { padding: 52px 0; }
  .sec-head h2 { font-size: 23px; }
  .sec-head-p { font-size: 14.5px; }
  .cards, .judge, .reviews, .entries { grid-template-columns: 1fr; }
  .card, .judge .it, .review { padding: 22px 20px; }
  .shots { gap: 16px; }
  .shot figcaption { font-size: 12.5px; }
  .page-hero .in { padding: 36px 0 40px; }
  .page-hero h1 { font-size: 23px; }
  .page-hero .page-lead { font-size: 15px; }
  .prose { padding: 40px 22px 52px; }
  .prose h2 { font-size: 20px; margin-top: 34px; }
  .prose .steps > li { padding-left: 46px; }
  .prose .steps > li::before { width: 30px; height: 30px; font-size: 14px; border-radius: 9px; }
  .rel-links { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .disc p { text-align: left; }
}
@media print {
  .js .reveal, .reveal { opacity: 1 !important; transform: none !important; }
}
