/* 红果短剧：清爽温暖、内容优先的响应式界面 */
:root {
  --brand: #2F8F83;
  --brand-deep: #236f66;
  --brand-soft: #dceee9;
  --accent: #F2B36F;
  --ink: #243331;
  --text: #2E3836;
  --muted: #71807C;
  --danger-accent: #E96B4C;
  --page: #FAFCFA;
  --surface: #ffffff;
  --surface-soft: #EEF5F2;
  --line: #dce7e3;
  --line-strong: #c7d7d1;
  --shadow-sm: 0 8px 24px rgba(36, 51, 49, .07);
  --shadow-md: 0 18px 50px rgba(36, 51, 49, .11);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --max: 1180px;
  --measure: 720px;
  --header-h: 76px;
  --ease: cubic-bezier(.2,.65,.25,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--page); }
body { margin: 0; min-width: 320px; color: var(--text); background: var(--page); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; line-height: 1.72; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--brand-deep); }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { background: #cfe9e3; color: var(--ink); }
:focus-visible { outline: 3px solid rgba(233,107,76,.42); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; left: 16px; top: 10px; z-index: 999; transform: translateY(-150%); background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; text-decoration: none; transition: transform .18s var(--ease); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250,252,250,.92); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(199,215,209,.72); }
.header-shell { width: min(calc(100% - 32px), var(--max)); min-height: var(--header-h); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 14px 14px 14px 4px; background: linear-gradient(145deg, var(--brand), #4ca799); color: #fff; font-weight: 800; box-shadow: 0 8px 22px rgba(47,143,131,.24); }
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { font-size: 18px; color: var(--ink); letter-spacing: .02em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 12px; }
.primary-nav { display: flex; align-items: center; gap: 6px; }
.primary-nav a { position: relative; padding: 10px 14px; border-radius: var(--radius-pill); text-decoration: none; color: #53615e; font-size: 15px; font-weight: 650; transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease); }
.primary-nav a:hover { background: var(--surface-soft); color: var(--ink); transform: translateY(-1px); }
.primary-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 14px; background: #fff; align-items: center; justify-content: center; flex-direction: column; gap: 4px; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .18s var(--ease), opacity .18s var(--ease); }
.menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

main { overflow: clip; }
.hero, .section, .breadcrumbs, .page-hero, .not-found { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.hero { min-height: calc(100svh - var(--header-h)); display: grid; grid-template-columns: minmax(0,1.08fr) minmax(340px,.92fr); align-items: center; gap: clamp(36px, 6vw, 84px); padding-block: clamp(52px, 9vw, 112px); }
.hero-copy { max-width: 700px; }
.eyebrow { margin: 0 0 12px; color: var(--brand-deep); font-size: 13px; line-height: 1.4; letter-spacing: .16em; font-weight: 800; text-transform: uppercase; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -.025em; text-wrap: balance; }
h1 { margin: 0; font-size: clamp(42px, 6.3vw, 78px); font-weight: 860; }
h2 { margin: 0; font-size: clamp(30px, 4vw, 50px); font-weight: 820; }
h3 { margin: 0; font-size: clamp(20px, 2.2vw, 28px); font-weight: 760; }
p { margin: 0; }
.hero-lede { max-width: 680px; margin-top: 24px; color: #4d5c58; font-size: clamp(18px, 2vw, 22px); line-height: 1.7; }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 19px; border: 1px solid transparent; border-radius: 14px; text-decoration: none; font-weight: 760; line-height: 1.3; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(47,143,131,.22); }
.button-primary:hover { background: var(--brand-deep); color: #fff; box-shadow: 0 14px 30px rgba(47,143,131,.27); }
.button-ghost { background: rgba(255,255,255,.76); color: var(--ink); border-color: var(--line-strong); }
.button-ghost:hover { background: #fff; color: var(--ink); border-color: var(--brand); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 30px 0 0; }
.hero-points li { padding: 8px 12px; border-radius: var(--radius-pill); background: var(--surface-soft); color: #53615e; font-size: 13px; font-weight: 700; }
.hero-media { position: relative; margin: 0; }
.hero-media::before { content: ""; position: absolute; inset: 7% -7% -7% 12%; z-index: -1; border-radius: 48px; background: linear-gradient(145deg, #e3f3ee, #f8e2c8); }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 36px 36px 36px 10px; box-shadow: var(--shadow-md); background: var(--surface-soft); }
.hero-media figcaption { width: min(90%, 420px); margin: -34px 0 0 auto; position: relative; padding: 18px 20px; border-radius: 18px 18px 6px 18px; background: var(--ink); color: #f5fbf8; font-size: 14px; line-height: 1.65; box-shadow: var(--shadow-sm); }

.section { padding-block: clamp(62px, 9vw, 118px); }
.section-heading { max-width: 780px; margin-bottom: 34px; }
.section-heading > p:last-child { margin-top: 16px; color: var(--muted); font-size: 17px; }
.compact-heading { max-width: 700px; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1fr minmax(280px,.72fr); gap: 50px; align-items: end; }
.split-heading > p { color: var(--muted); font-size: 17px; }

.content-section { padding-top: 28px; }
.content-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.content-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: 0 6px 20px rgba(36,51,49,.04); }
.content-card-wide { grid-column: span 1; }
.content-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-soft); }
.content-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.content-card:hover .content-card-media img { transform: scale(1.035); }
.content-card-body { padding: 22px; }
.card-kicker { margin-bottom: 8px; color: var(--danger-accent); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.content-card-body h3 { font-size: 24px; }
.content-card-body > p:not(.card-kicker) { margin-top: 12px; color: #586662; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.tag-row span { padding: 5px 9px; border-radius: var(--radius-pill); background: var(--surface-soft); color: #62716d; font-size: 12px; }
details { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; }
summary { cursor: pointer; color: var(--brand-deep); font-weight: 700; }
details p { margin-top: 10px; color: var(--muted); font-size: 14px; }

.warm-panel { width: min(calc(100% - 32px), calc(var(--max) + 80px)); padding-inline: clamp(22px,4vw,52px); border-radius: 34px; background: linear-gradient(145deg, #f8f0e5, #edf6f2 58%, #fff); }
.insight-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 26px; }
.insight-item { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 16px; padding: 20px 0; border-top: 1px solid rgba(113,128,124,.18); }
.index-chip { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; background: rgba(255,255,255,.74); color: var(--brand-deep); font-weight: 820; font-variant-numeric: tabular-nums; }
.insight-item h3 { font-size: 20px; }
.insight-item p { margin-top: 8px; color: #586662; }
.muted-note { color: var(--muted) !important; font-size: 14px; }

.device-band { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.78fr); gap: clamp(36px,6vw,84px); align-items: center; }
.device-copy p:not(.eyebrow) { margin-top: 18px; max-width: 650px; color: var(--muted); font-size: 17px; }
.inline-links { display: flex; flex-wrap: wrap; gap: 16px 22px; margin-top: 22px; }
.inline-links a, .text-link { color: var(--brand-deep); font-weight: 760; }
.device-visual { position: relative; }
.device-visual::after { content: ""; position: absolute; width: 44%; height: 38%; right: -7%; bottom: -9%; border-radius: 50%; background: rgba(242,179,111,.32); filter: blur(4px); z-index: -1; }
.device-visual img { width: 100%; aspect-ratio: 6/5; object-fit: cover; border-radius: 14px 32px 32px 32px; box-shadow: var(--shadow-md); }

.split-feature { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(36px,6vw,82px); align-items: center; }
.feature-image img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 32px 12px 32px 32px; box-shadow: var(--shadow-sm); }
.feature-copy > p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 17px; }
.check-list { padding: 0; margin: 22px 0; list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: .05em; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand-deep); font-size: 12px; font-weight: 900; }

.practical-section { border-top: 1px solid var(--line); }
.note-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.note-card { min-height: 100%; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.note-card h3 { font-size: 19px; }
.note-card p { margin-top: 10px; color: var(--muted); font-size: 14px; }

.faq-section { padding-top: 40px; }
.faq-list { display: grid; gap: 10px; max-width: 920px; }
.faq-item { margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: clip; }
.faq-item summary { padding: 18px 20px; color: var(--ink); list-style: none; font-size: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--brand); font-size: 22px; line-height: 1; transition: transform .18s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 20px 20px; color: var(--muted); font-size: 15px; }

.breadcrumbs { padding-top: 22px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 13px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #a1aca9; }
.breadcrumbs a { text-decoration: none; }

.page-hero { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(320px,.9fr); gap: clamp(36px,6vw,76px); align-items: center; padding-block: clamp(48px,8vw,96px); }
.page-hero h1 { font-size: clamp(38px,5.3vw,68px); }
.page-hero-image { margin: 0; }
.page-hero-image img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 32px 32px 10px 32px; box-shadow: var(--shadow-md); background: var(--surface-soft); }
.page-hero-web { position: relative; }
.page-hero-web::before { content: ""; position: absolute; inset: 12% -12vw auto 52%; height: 70%; border-radius: 999px; background: radial-gradient(circle, rgba(47,143,131,.16), rgba(47,143,131,0) 68%); z-index: -1; }
.phone-image img { aspect-ratio: 4/5; max-height: 640px; object-position: center; }

.key-answer { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: stretch; padding-top: 22px; }
.answer-card { padding: clamp(28px,5vw,56px); border-radius: 28px; background: var(--ink); color: #f5fbf8; }
.answer-card h2 { color: #fff; }
.answer-card > p:last-child { margin-top: 18px; color: #d6e3df; font-size: 17px; }
.mini-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-stat-grid div { display: grid; align-content: center; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.mini-stat-grid strong { color: var(--brand-deep); font-size: 21px; }
.mini-stat-grid span { color: var(--muted); font-size: 14px; }

.guide-stack { display: grid; gap: 0; border-top: 1px solid var(--line); }
.guide-row { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.guide-number { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: var(--surface-soft); color: var(--brand-deep); font-size: 18px; font-weight: 850; }
.guide-row h3 { font-size: 23px; }
.guide-row p { margin-top: 8px; max-width: 820px; color: var(--muted); }

.browser-layout { padding-top: 20px; }
.browser-demo { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 28px; background: #fff; box-shadow: var(--shadow-md); }
.browser-bar { height: 44px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #f7faf8; }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #cbd9d4; }
.browser-content { display: grid; grid-template-columns: minmax(240px,.62fr) 1.38fr; gap: 46px; padding: clamp(28px,5vw,54px); align-items: center; }
.vertical-frame { width: min(100%, 320px); aspect-ratio: 9/16; margin: 0 auto; border-radius: 26px; padding: 10px; background: #15201e; box-shadow: 0 16px 44px rgba(36,51,49,.16); }
.vertical-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.browser-notes p { margin-top: 16px; color: var(--muted); }
.browser-notes ul { margin: 20px 0 0; padding-left: 20px; color: #52615d; }
.browser-notes li + li { margin-top: 7px; }

.related-paths { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(28px,5vw,46px); margin-bottom: clamp(56px,8vw,96px); border-radius: 26px; background: var(--surface-soft); }
.related-copy { max-width: 760px; }
.related-copy h2 { font-size: clamp(28px,3.5vw,42px); }
.related-copy > p:last-child { margin-top: 14px; color: var(--muted); }
.related-paths .button { flex: 0 0 auto; margin-top: 0; }

.desktop-focus { padding-top: 26px; }
.desktop-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.desktop-card { position: relative; min-height: 230px; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.desktop-index { display: inline-flex; margin-bottom: 34px; color: var(--danger-accent); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.desktop-card h3 { font-size: 22px; }
.desktop-card p { margin-top: 10px; color: var(--muted); }
.desktop-card::after { content: ""; position: absolute; width: 120px; height: 120px; right: -62px; bottom: -62px; border-radius: 50%; background: rgba(47,143,131,.08); transition: transform .3s var(--ease); }
.desktop-card:hover::after { transform: scale(1.25); }

.comparison-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,7vw,88px); align-items: center; }
.comparison-copy p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 17px; }
.ratio-visual { padding: clamp(20px,4vw,38px); border-radius: 30px; background: linear-gradient(145deg,#e6f3ef,#fff2df); }
.screen-shell { aspect-ratio: 16/10; padding: 12px; display: grid; place-items: center; border-radius: 20px; background: #1d2927; box-shadow: var(--shadow-md); }
.portrait-video { height: 100%; aspect-ratio: 9/16; overflow: hidden; border-radius: 10px; background: #000; }
.portrait-video img { width: 100%; height: 100%; object-fit: cover; }

.setting-table-section { padding-top: 30px; }
.responsive-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--surface-soft); color: var(--ink); font-size: 14px; }
td { color: #576561; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfdfc; }

.app-notes { padding-top: 30px; }
.app-step-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.app-step { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 16px; padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.app-step-number { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: var(--brand); color: #fff; font-weight: 850; }
.app-step h3 { font-size: 21px; }
.app-step p { margin-top: 8px; color: var(--muted); }

.mobile-contrast { display: grid; grid-template-columns: minmax(260px,.72fr) 1.28fr; gap: clamp(40px,7vw,92px); align-items: center; }
.mobile-contrast figure { margin: 0; }
.mobile-contrast figure img { width: 100%; max-height: 620px; object-fit: cover; border-radius: 30px 30px 8px 30px; box-shadow: var(--shadow-md); }
.mobile-contrast > div > p:not(.eyebrow) { margin-top: 16px; color: var(--muted); font-size: 17px; }

.not-found { min-height: calc(100svh - var(--header-h)); display: grid; grid-template-columns: .7fr 1.3fr; gap: 50px; align-items: center; padding-block: 70px; }
.not-found-code { font-size: clamp(110px,20vw,260px); line-height: .8; font-weight: 900; letter-spacing: -.08em; color: var(--brand-soft); user-select: none; }
.not-found-copy { max-width: 650px; }
.not-found-copy h1 { font-size: clamp(38px,5vw,64px); }
.not-found-copy > p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 17px; }

.site-footer { margin-top: 10px; background: var(--ink); color: #dbe8e4; }
.footer-shell { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; padding-block: 46px; display: grid; grid-template-columns: 1fr auto; gap: 28px 50px; align-items: start; }
.footer-brand strong { color: #fff; font-size: 20px; }
.footer-brand p { margin-top: 8px; max-width: 560px; color: #aabdb7; font-size: 14px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: flex-end; }
.footer-nav a { color: #dbe8e4; text-decoration: none; font-size: 14px; }
.footer-nav a:hover { color: #fff; }
.footer-note { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #8fa49e; font-size: 12px; }

@media (max-width: 1020px) {
  :root { --header-h: 70px; }
  .hero, .page-hero { grid-template-columns: 1fr 1fr; gap: 38px; }
  .content-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .note-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .device-band, .split-feature, .comparison-panel { gap: 42px; }
}

@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  .primary-nav { position: fixed; top: calc(var(--header-h) - 1px); left: 16px; right: 16px; display: grid; gap: 6px; padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: var(--shadow-md); transform: translateY(-12px) scale(.98); transform-origin: top; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; }
  .primary-nav[data-open="true"] { transform: translateY(0) scale(1); opacity: 1; visibility: visible; pointer-events: auto; }
  .primary-nav a { border-radius: 12px; }
  .hero, .page-hero, .device-band, .split-feature, .comparison-panel, .mobile-contrast, .not-found { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 64px; }
  .hero-media { width: min(100%, 620px); }
  .page-hero-image { width: min(100%, 620px); }
  .split-heading { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .key-answer { grid-template-columns: 1fr; }
  .browser-content { grid-template-columns: 1fr; }
  .vertical-frame { width: min(72vw, 320px); }
  .related-paths { align-items: flex-start; flex-direction: column; }
  .desktop-grid, .app-step-list { grid-template-columns: 1fr; }
  .footer-shell { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
  .footer-note { grid-column: auto; }
  .mobile-contrast figure { width: min(100%, 520px); }
}

@media (max-width: 620px) {
  :root { --header-h: 66px; }
  .header-shell, .hero, .section, .breadcrumbs, .page-hero, .not-found, .footer-shell { width: min(calc(100% - 24px), var(--max)); }
  .brand-copy small { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .hero { gap: 44px; padding-block: 48px 72px; }
  h1 { font-size: clamp(38px,12vw,56px); }
  h2 { font-size: clamp(28px,8vw,40px); }
  .hero-lede { font-size: 17px; }
  .hero-actions .button, .button-row .button { width: 100%; }
  .hero-media img { border-radius: 26px 26px 26px 8px; }
  .hero-media figcaption { width: 92%; margin-top: -20px; }
  .section { padding-block: 64px; }
  .content-grid, .note-grid, .insight-list { grid-template-columns: 1fr; }
  .warm-panel { width: min(calc(100% - 16px), calc(var(--max) + 80px)); padding-inline: 18px; border-radius: 24px; }
  .content-card-body { padding: 19px; }
  .device-band, .split-feature, .comparison-panel, .mobile-contrast { gap: 30px; }
  .page-hero { padding-block: 44px 64px; }
  .page-hero h1 { font-size: clamp(36px,10.8vw,54px); }
  .mini-stat-grid { grid-template-columns: 1fr 1fr; }
  .guide-row { grid-template-columns: 46px minmax(0,1fr); gap: 14px; padding: 22px 0; }
  .guide-number { width: 40px; height: 40px; border-radius: 13px; }
  .browser-content { padding: 20px; gap: 30px; }
  .related-paths { padding: 24px; }
  .desktop-card { min-height: auto; padding: 22px; }
  .app-step { grid-template-columns: 42px minmax(0,1fr); padding: 20px; }
  .not-found { gap: 24px; padding-block: 48px; }
  .not-found-code { font-size: 34vw; }
}

@media (max-width: 420px) {
  .hero-points { display: grid; grid-template-columns: 1fr 1fr; }
  .mini-stat-grid { grid-template-columns: 1fr; }
  .insight-item { grid-template-columns: 38px minmax(0,1fr); gap: 12px; }
  .index-chip { width: 36px; height: 36px; }
  .app-step { grid-template-columns: 1fr; }
  .app-step-number { margin-bottom: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header, .site-footer, .hero-actions, .menu-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .section, .page-hero { width: 100%; padding: 24px 0; }
  .content-card, .note-card, .desktop-card, .app-step, .faq-item { break-inside: avoid; box-shadow: none; }
  a { color: #000; text-decoration: underline; }
}


/* 深入内容：选择问题、故障排查与设备习惯 */
.decision-section { border-top: 1px solid var(--line); }
.decision-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.decision-card { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg,#fff,#fbfdfc); }
.decision-card h3 { font-size: 21px; }
.decision-card > p { margin-top: 12px; color: #5f6d69; }
.signal-box { display: grid; gap: 5px; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--surface-soft); }
.signal-box strong { color: var(--brand-deep); font-size: 12px; letter-spacing: .08em; }
.signal-box span { color: #53615e; font-size: 14px; }

.troubleshoot-section { padding-top: 34px; }
.troubleshoot-list { display: grid; gap: 12px; }
.troubleshoot-item { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.troubleshoot-item h3 { font-size: 20px; }
.troubleshoot-item dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0 0; }
.troubleshoot-item dl > div { padding: 15px 16px; border-radius: 14px; background: var(--surface-soft); }
.troubleshoot-item dt { margin-bottom: 5px; color: var(--brand-deep); font-size: 12px; font-weight: 820; letter-spacing: .08em; }
.troubleshoot-item dd { margin: 0; color: #596763; font-size: 14px; }

.comfort-section { padding-top: 34px; }
.comfort-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.comfort-card { padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.comfort-card h3 { font-size: 20px; }
.comfort-card p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.comfort-card:nth-child(3n+1) { background: linear-gradient(145deg,#fff,#f0f7f4); }
.comfort-card:nth-child(3n+2) { background: linear-gradient(145deg,#fff,#fff7ed); }

.habit-section { padding-top: 34px; }
.habit-list { border-top: 1px solid var(--line); }
.habit-row { display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.habit-row > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--danger-accent); font-size: 13px; font-weight: 850; }
.habit-row h3 { font-size: 21px; }
.habit-row p { margin-top: 8px; max-width: 880px; color: var(--muted); }

@media (max-width: 820px) {
  .decision-grid, .comfort-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .decision-card, .troubleshoot-item, .comfort-card { padding: 20px; }
  .troubleshoot-item dl { grid-template-columns: 1fr; }
  .habit-row { grid-template-columns: 42px minmax(0,1fr); gap: 13px; }
  .habit-row > span { width: 38px; height: 38px; }
}


.site-header[data-scrolled="true"] { box-shadow: 0 8px 28px rgba(36,51,49,.06); }
.glossary-section { border-top: 1px solid var(--line); }
.glossary-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 0; }
.glossary-item { margin: 0; padding: 24px; border-radius: 20px; background: var(--surface-soft); border: 1px solid transparent; transition: background .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease); }
.glossary-item:hover { background: #fff; border-color: var(--line); transform: translateY(-2px); }
.glossary-item dt { color: var(--ink); font-size: 19px; line-height: 1.3; font-weight: 800; }
.glossary-item dd { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 820px) { .glossary-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .glossary-item { padding: 20px; } }

/* 细节状态：提升长页面浏览时的定位感与可读性 */
.content-card:focus-within,
.note-card:focus-within,
.decision-card:focus-within,
.comfort-card:focus-within,
.troubleshoot-item:focus-within {
  border-color: rgba(47,143,131,.48);
  box-shadow: 0 0 0 4px rgba(47,143,131,.08);
}
.section[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
.text-link { display: inline-flex; align-items: center; gap: 8px; text-decoration-thickness: 1px; }
.text-link::after { content: "→"; transition: transform .18s var(--ease); }
.text-link:hover::after { transform: translateX(3px); }
.answer-card .eyebrow { color: #9ed8cf; }
.page-hero .button-ghost { background: rgba(255,255,255,.9); }
.desktop-card:nth-child(4n+1) .desktop-index,
.habit-row:nth-child(4n+1) > span { color: var(--brand-deep); }
.desktop-card:nth-child(4n+2) .desktop-index,
.habit-row:nth-child(4n+2) > span { color: #a66b2f; }
.desktop-card:nth-child(4n+3) .desktop-index,
.habit-row:nth-child(4n+3) > span { color: var(--danger-accent); }
.desktop-card:nth-child(4n+4) .desktop-index,
.habit-row:nth-child(4n+4) > span { color: #526a64; }

@supports (text-wrap: pretty) {
  .content-card-body > p,
  .note-card p,
  .decision-card > p,
  .comfort-card p,
  .habit-row p,
  .guide-row p { text-wrap: pretty; }
}

@media (hover: none) {
  .content-card:hover .content-card-media img,
  .desktop-card:hover::after,
  .glossary-item:hover,
  .button:hover { transform: none; }
}

@media (min-width: 1180px) {
  .content-card:nth-child(1),
  .content-card:nth-child(2) { min-height: 500px; }
  .content-card:nth-child(1) .content-card-media,
  .content-card:nth-child(2) .content-card-media { aspect-ratio: 16/11; }
  .note-grid .note-card:nth-child(4n+1) { transform: translateY(8px); }
  .note-grid .note-card:nth-child(4n+3) { transform: translateY(-6px); }
}

@media (min-width: 821px) and (max-width: 1179px) {
  .section { padding-block: 76px; }
  .hero { min-height: auto; padding-block: 78px; }
  .page-hero { padding-block: 70px; }
  .content-card-body h3 { font-size: 22px; }
  .note-card h3 { font-size: 18px; }
}

@media (max-width: 620px) {
  .breadcrumbs { padding-top: 16px; }
  .breadcrumbs ol { gap: 6px; }
  .breadcrumbs li + li::before { margin-right: 6px; }
  .content-card-media { aspect-ratio: 4/3; }
  .device-visual img,
  .feature-image img,
  .page-hero-image img { border-radius: 22px 22px 8px 22px; }
  .faq-item summary { padding: 16px 17px; }
  .faq-item p { padding: 0 17px 17px; }
  .related-copy h2 { font-size: 28px; }
  th, td { padding: 15px 16px; }
}
