/* JTraceX public help and privacy pages: local review candidate, 2026-09-30. */
:root {
  color-scheme: light dark;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --bg: #f5f5f7;
  --surface: #fff;
  --surface-soft: #f7f7f9;
  --ink: #18191d;
  --muted: #62646c;
  --quiet: #878a92;
  --line: #dddfe4;
  --shadow: 0 28px 90px rgba(22, 26, 35, .08);
  --accent: #0066cc;
  --accent-ink: #0056ad;
  --accent-soft: #eaf3ff;
  --accent-glow: rgba(0, 102, 204, .12);
  --content-gutter: clamp(44px, 9vw, 116px);
  background: var(--bg);
}

/* One interface language for every app; the official app icons carry identity. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.72; }
img { max-width: 100%; height: auto; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 5px; }
p, h1, h2, h3 { margin-top: 0; }
h1, h2, h3 { color: var(--ink); letter-spacing: -.035em; text-wrap: balance; }
p { margin-bottom: 1.1em; }
ul, ol { padding-inline-start: 1.5em; }
li + li { margin-top: .55em; }
strong { color: var(--ink); }
button, input { font: inherit; }
.skip-link { position: fixed; top: -70px; left: 18px; z-index: 90; padding: 9px 14px; background: var(--ink); color: var(--surface); border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }

.redesign-header { position: sticky; top: 0; z-index: 40; height: 68px; background: rgba(255,255,255,.9); border-bottom: 1px solid rgba(25, 29, 37, .08); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.header-inner { max-width: 1320px; height: 100%; margin-inline: auto; padding-inline: clamp(22px, 4.5vw, 58px); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.redesign-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; white-space: nowrap; font-size: 18px; font-weight: 740; letter-spacing: -.035em; }
.redesign-brand img { display: block; width: 36px; height: 36px; border-radius: 9px; }
.redesign-brand:hover { color: var(--ink); }
.redesign-nav { display: flex; align-items: center; gap: clamp(15px, 2.2vw, 34px); white-space: nowrap; }
.redesign-nav a { color: var(--muted); font-size: 13px; font-weight: 560; text-decoration: none; transition: color .18s ease; }
.redesign-nav a:hover, .redesign-nav a[aria-current="page"] { color: var(--ink); }
.redesign-nav a[aria-current="page"] { font-weight: 720; }
.redesign-nav .all-apps-link { margin-right: 8px; color: var(--accent-ink); }

.redesign-main { max-width: none; margin: 0; padding: 0 0 96px; }
.redesign-main > :not(.redesign-hero) { max-width: 1204px; margin-inline: auto; }
.redesign-hero { max-width: 1320px; min-height: 390px; margin: 0 auto; padding: clamp(52px, 5.2vw, 72px) clamp(22px, 4.5vw, 58px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .7fr); align-items: center; gap: clamp(44px, 6vw, 82px); }
.hero-copy { max-width: 700px; }
.hero-eyebrow { margin: 0 0 14px; font-size: 13px; line-height: 1.3; font-weight: 700; color: var(--accent-ink); letter-spacing: .02em; }
.redesign-hero h1 { max-width: 100%; margin: 0; font-size: clamp(44px, 5vw, 70px); line-height: 1.15; letter-spacing: -.055em; font-weight: 740; text-wrap: balance; }
.redesign-hero h1 .hero-phrase { white-space: nowrap; }
.redesign-hero .hero-lede { max-width: 34em; margin: 20px 0 0; color: var(--muted); font-size: clamp(17px, 1.5vw, 19px); line-height: 1.7; letter-spacing: -.012em; }
.redesign-hero .hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px 25px; margin-top: 26px; }
.redesign-hero .hero-action { display: inline-flex; min-height: 43px; align-items: center; justify-content: center; padding: 9px 19px; border-radius: 999px; color: var(--surface); background: var(--accent); font-size: 14px; font-weight: 670; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.redesign-hero .hero-action:hover { color: #fff; background: var(--accent-ink); transform: translateY(-2px); }
.redesign-hero .hero-action + .hero-action { padding-inline: 0; color: var(--accent-ink); background: transparent; }
.redesign-hero .hero-action + .hero-action::after { content: "›"; display: inline-block; margin-left: 7px; font-size: 21px; line-height: 10px; }
.redesign-hero .hero-action + .hero-action:hover { color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 660; text-decoration: none; }
.button-primary { color: #fff; background: var(--accent); }
.button-primary:hover { color: #fff; background: var(--accent-ink); }
.button-secondary { color: var(--accent-ink); background: var(--accent-soft); }
.hero-date { margin: 25px 0 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.hero-date.date-pair { display: flex; flex-wrap: wrap; gap: 2px 18px; }
.hero-date.date-pair span { white-space: nowrap; }
.hero-date.date-stacked { display: grid; gap: 2px; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 285px; overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: var(--surface); }
.hero-art::before { content: ""; position: absolute; width: 245px; height: 245px; border-radius: 50%; background: var(--accent-soft); filter: blur(35px); opacity: .48; }
.hero-art::after, .art-orbit, .art-halo, .art-name { display: none; }
.hero-art img { position: relative; z-index: 2; width: clamp(135px, 12vw, 170px); height: auto; border-radius: 24%; box-shadow: 0 24px 54px rgba(25, 28, 36, .16), 0 5px 15px rgba(25, 28, 36, .06); }

/* Common section rhythm. Original factual content and anchors remain in place. */
.redesign-main > .section, .redesign-main > .section-compact, .redesign-main > .contact-panel, .redesign-main > .crew-story, .redesign-main > .help-shortcuts, .redesign-main > .layout, .redesign-main > .legal-layout, .redesign-main > .summary-grid, .redesign-main > .toc, .redesign-main > .policy, .redesign-main > .moved-summary { width: calc(100% - var(--content-gutter)); }
.redesign-main > .section, .redesign-main > .section-compact { padding-block: clamp(45px, 6vw, 78px); }
.redesign-main > .section + .section, .redesign-main > .section + .section-compact, .redesign-main > .section-compact + .section-compact { border-top: 1px solid var(--line); }
.section-heading, .section-title { margin-bottom: 28px; }
.section-heading h2, .redesign-main > .section > h2, .section-title, .redesign-main > .section-compact h2, .contact-panel h2, .crew-story h2 { max-width: 18em; margin: 0 0 9px; font-size: clamp(28px, 2.6vw, 39px); line-height: 1.25; font-weight: 730; }
.section-heading p { max-width: 57ch; margin: 0; color: var(--muted); font-size: 16px; }
.redesign-main h3 { font-size: 20px; line-height: 1.3; font-weight: 690; }
.redesign-main p, .redesign-main li { overflow-wrap: anywhere; }

.topic-grid, .feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.topic, .feature-card { min-width: 0; padding: 30px; border: 1px solid rgba(24,25,29,.065); border-radius: 25px; background: var(--surface); box-shadow: 0 8px 27px rgba(20,25,35,.035); }
.choice-card { min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.choice-card h3 { margin: 0 0 9px; }
.choice-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.topic-wide { grid-column: auto; }
.topic:nth-child(2), .feature-card:nth-child(2), .topic:nth-child(4), .feature-card:nth-child(5) { background: var(--surface); }
.topic h3, .feature-card h3 { margin: 0 0 10px; }
.topic p, .feature-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.73; }

.subscription-panel { display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr); gap: clamp(25px, 4vw, 65px); padding: clamp(27px, 4vw, 54px); background: var(--surface); border-radius: 30px; }
.subscription-panel h2 { font-size: clamp(28px, 2.6vw, 39px); line-height: 1.25; }
.subscription-panel .muted { color: var(--muted); }
.plan-stack { border-top: 1px solid var(--line); }
.plan-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.plan-row > div { display: grid; gap: 3px; }
.plan-row strong { font-size: 15px; }
.plan-row span { color: var(--muted); font-size: 13px; }
.plan-label { white-space: nowrap; }
.callout, .notice, .legal-note, .note { margin-block: 22px; padding: 17px 20px; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--accent-soft); color: var(--ink); }
.callout p, .notice p, .legal-note p, .note p { margin: 0; }

/* Help accordions use native details, with visible focus and a quiet expanded state. */
.faq-list, .help-list, .group { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); background: transparent; }
summary { position: relative; display: block; padding: 21px 40px 21px 0; list-style: none; cursor: pointer; color: var(--ink); font-size: 17px; font-weight: 630; line-height: 1.5; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; top: 17px; right: 4px; color: var(--accent); font-size: 26px; font-weight: 350; line-height: 1; }
details[open] summary::after { content: "−"; }
details > :not(summary) { max-width: 76ch; color: var(--muted); }
details > div, details > p { padding: 0 0 20px; }
.faq-answer p, .help-answer p { margin-bottom: .8em; }

.contact-panel { margin-block: 58px 0; padding: clamp(28px, 4vw, 54px); border-radius: 30px; background: var(--accent-soft); }
.contact-panel h2 { max-width: none; }
.contact-panel p { max-width: 66ch; color: var(--muted); }
.contact-panel a, .primary-button { font-weight: 650; }
.crew-story { min-height: 290px; display: grid; align-items: center; margin-block: 20px; padding: clamp(28px, 4.5vw, 56px); border-radius: 30px; background: linear-gradient(90deg, rgba(12,34,49,.90), rgba(12,34,49,.54)), url('/privacy/assets/cabinassistant-hero-v2.jpg') center/cover; color: #fff; }
.crew-story h2, .crew-story strong { color: #fff; }
.crew-story p { max-width: 60ch; color: rgba(255,255,255,.83); }
.crew-story .editorial-page-label { color: rgba(255,255,255,.72); font-size: 11px; letter-spacing: .13em; }
.crew-facts { display: flex; flex-wrap: wrap; gap: 15px 27px; font-size: 13px; }
.crew-facts span { display: flex; gap: 5px; color: rgba(255,255,255,.83); }

/* Long privacy documents: article text sits directly on the page, with a sticky index. */
.legal-layout, .layout { display: grid; grid-template-columns: 225px minmax(0, 1fr); align-items: start; gap: clamp(32px, 5vw, 76px); padding-top: 35px; }
.legal-layout > .legal-content, .layout > .article-content, .legal-layout > .legal-article { min-width: 0; width: 100%; max-width: none; }
.legal-toc, .toc { position: sticky; top: 86px; display: grid; gap: 4px; max-height: calc(100dvh - 105px); overflow: auto; padding: 12px 0; border: 0; background: none; box-shadow: none; }
.legal-toc a, .toc a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--muted); font-size: 13px; line-height: 1.45; font-weight: 560; text-decoration: none; }
.legal-toc a:hover, .toc a:hover { color: var(--accent-ink); background: var(--accent-soft); }
.legal-article, .legal-content, .article-content, .policy, .terms { max-width: 830px; padding: 0; border: 0; background: transparent; box-shadow: none; }
.legal-section, .policy-section, .terms-section, .article-content > section { scroll-margin-top: 0; padding: 35px 0 40px; border-top: 1px solid var(--line); }
.legal-section:first-child, .policy-section:first-child, .terms-section:first-child, .article-content > section:first-child { padding-top: 0; border-top: 0; }
.legal-section h2, .policy-section h2, .terms-section h2, .article-content > section h2 { margin: 0 0 21px; font-size: clamp(25px, 2vw, 32px); line-height: 1.3; font-weight: 720; }
.legal-section h3, .policy-section h3, .terms-section h3, .article-content > section h3 { margin: 27px 0 9px; font-size: 18px; }
.legal-section p, .policy-section p, .terms-section p, .article-content > section p, .legal-section li, .policy-section li, .terms-section li { max-width: 73ch; color: var(--muted); font-size: 15px; line-height: 1.92; }
.legal-section p strong, .policy-section p strong, .terms-section p strong { color: var(--ink); }
.legal-intro { color: var(--muted); }
.data-map, .summary-grid, .policy-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.data-item, .summary-item, .policy-summary > div { min-width: 0; padding: 22px; border-radius: 20px; background: var(--surface); }
.data-item strong, .summary-item strong, .policy-summary strong { display: block; margin-bottom: 6px; font-size: 15px; }
.data-item span, .summary-item span, .policy-summary p { display: block; color: var(--muted); font-size: 14px; line-height: 1.75; }
.redesign-main > .summary-grid, .redesign-main > .moved-summary { margin-bottom: 36px; }
.redesign-main > .summary-grid { max-width: 1204px; grid-template-columns: repeat(3, 1fr); }
.moved-summary { padding: 23px 26px; border-radius: 24px; background: var(--surface); }
.moved-summary h2 { margin-bottom: 18px; font-size: 22px; }
.moved-summary > div { background: var(--surface-soft); }
.policy-summary.moved-summary { display: block; }
.policy-summary.moved-summary ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.policy-summary.moved-summary li { margin: 0; padding: 20px; border-radius: 17px; background: var(--surface-soft); color: var(--muted); font-size: 14px; line-height: 1.7; }
.policy-summary.moved-summary li strong { display: block; margin-bottom: 5px; }
.data-list { display: grid; gap: 13px; }
.data-list > div { padding: 18px; border-radius: 16px; background: var(--surface); }
.app-hangan #collection .data-list { min-width: 0; margin: 24px 0 0; gap: 14px; counter-reset: hangan-info; }
.app-hangan #collection .data-list-card { min-width: 0; padding: 24px 26px; border: 0; border-radius: 20px; background: var(--surface-soft); counter-increment: hangan-info; }
.app-hangan #collection .data-list-card dt { color: var(--ink); font-size: 17px; font-weight: 710; line-height: 1.4; }
.app-hangan #collection .data-list-card dt::before { content: counter(hangan-info) ". "; font-variant-numeric: tabular-nums; }
.app-hangan #collection .data-list-card dd { min-width: 0; margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }

/* Keep the Hangan summary, document, help panels and footer on one measure. */
.app-hangan .redesign-main > .summary-grid { width: calc(100% - var(--content-gutter)); max-width: 1204px; margin-bottom: 32px; }
.app-hangan .hangan-document-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 3.5vw, 48px);
  width: calc(100% - var(--content-gutter));
  max-width: 1204px;
  margin: 0 auto 62px;
}
.app-hangan .hangan-document-layout > .toc { min-width: 0; margin: 0; }
.app-hangan .hangan-document-layout > .policy,
.app-hangan .hangan-document-layout > .terms { min-width: 0; width: 100%; max-width: none; margin: 0; padding: 0; }
.app-hangan .redesign-main > .section { max-width: 1204px; }
.app-hangan .redesign-main > .section .section-title { margin-bottom: 22px; }
.app-hangan .group.checklist { border-top: 0; margin-top: 0; }
.app-hangan .checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0; list-style: none; }
.app-hangan .check-item { min-width: 0; padding: 24px; border-radius: 18px; background: var(--surface-soft); }
.app-hangan .check-item b { display: block; margin-bottom: 9px; color: var(--ink); font-size: 17px; line-height: 1.35; }
.app-hangan .check-item span { display: block; color: var(--muted); font-size: 15px; line-height: 1.7; }
.app-hangan .contact-panel { max-width: 1204px; }
.app-jiuji .redesign-main > .help-shortcuts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
.help-shortcuts a { display: grid; gap: 3px; padding: 22px; border-radius: 18px; background: var(--surface); text-decoration: none; }
.help-shortcuts strong { font-size: 16px; }
.help-shortcuts span { color: var(--muted); font-size: 13px; }
.app-jiuji .layout { max-width: 1204px; }
.app-jiuji .article-content > section { padding-block: 35px 40px; }
.app-jiuji .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.app-jiuji .tile { padding: 22px; border-radius: 20px; background: var(--surface); }
.app-jiuji .tile h3 { margin-bottom: 8px; }
.app-jiuji .tile p { margin: 0; color: var(--muted); font-size: 14px; }
.app-jiuji .contact-address { font-size: 18px; font-weight: 650; }
.support-topic-link { display: block; color: var(--ink); text-decoration: none; transition: transform .18s ease, background .18s ease; }
.support-topic-link:hover { color: var(--ink); background: var(--accent-soft) !important; transform: translateY(-2px); }
.support-topic-link h3 { color: inherit; }
.support-section-nav { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.support-section-nav a { display: inline-flex; min-height: 38px; align-items: center; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.support-section-nav a:hover { color: var(--accent-ink); border-color: var(--accent-soft); background: var(--accent-soft); }
.app-jiuji.page-support .support-overview > p { max-width: 57ch; color: var(--muted); }
.app-jiuji.page-support .support-overview > h2 { margin-bottom: 9px; }
.app-tuji .legal-layout { max-width: 1204px; }
.app-tuji .privacy-promise { padding: 30px; border-radius: 25px; background: var(--accent-soft); }
.app-tuji .privacy-promise h2 { font-size: 26px; }
.app-tuji .privacy-promise p { color: var(--muted); }

.site-footer, .redesign-main > .footer { max-width: none; margin: 0; padding: 30px max(22px, calc((100vw - 1200px)/2)); border-top: 1px solid var(--line); background: var(--surface-soft); color: var(--muted); font-size: 12px; }
.redesign-main > .footer { width: 100%; }
.app-hangan .redesign-main > .footer { width: calc(100% - var(--content-gutter)); max-width: 1204px; margin: 30px auto 0; padding: 24px 0 0; border: 0; background: transparent; }
.app-hangan .footer > a { display: inline-block; margin-right: 18px; }
.site-footer p, .footer p { color: var(--muted); }
.site-footer a, .footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover, .footer a:hover { color: var(--accent); text-decoration: underline; }
.site-footer nav, .footer nav, .footer-links { display: flex; flex-wrap: wrap; gap: 12px 21px; }
.footer-inner, .footer-main { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 15px; }
.site-registration, .legal-links, .registration { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 11px; }
.site-registration img, .legal-links img, .registration img { width: 16px; height: 16px; vertical-align: middle; }

@media (max-width: 900px) {
  .redesign-hero { grid-template-columns: minmax(0, 1fr) minmax(235px, .65fr); min-height: 350px; gap: 32px; }
  .hero-art { min-height: 250px; border-radius: 28px; }
  .topic-grid, .feature-grid, .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-layout, .layout { grid-template-columns: 180px minmax(0, 1fr); gap: 25px; }
  .app-hangan .hangan-document-layout { grid-template-columns: 155px minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 105px; }
  .redesign-header { height: auto; min-height: 65px; }
  .header-inner { min-height: 65px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 2px; padding-block: 9px; }
  .redesign-brand { font-size: 17px; }
  .redesign-brand img { width: 31px; height: 31px; }
  .redesign-nav { width: 100%; gap: 18px; overflow-x: auto; padding: 5px 0 2px; scrollbar-width: none; }
  .redesign-nav::-webkit-scrollbar { display: none; }
  .redesign-nav a { font-size: 12px; }
  .redesign-hero { min-height: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 45px 22px 42px; }
  .redesign-hero h1 { max-width: 100%; font-size: clamp(39px, 10vw, 56px); }
  .redesign-hero .hero-lede { margin-top: 17px; font-size: 16px; line-height: 1.7; }
  .redesign-hero .hero-actions { margin-top: 23px; }
  .hero-art { display: none; }
  .hero-art img { width: 115px; }
  .art-name { bottom: 18px; left: 20px; }
  .redesign-main > .section, .redesign-main > .section-compact { padding-block: 44px; }
  .topic-grid, .feature-grid, .choice-grid, .data-map, .summary-grid, .policy-summary, .app-hangan .checklist, .app-jiuji .grid, .app-jiuji .help-shortcuts { grid-template-columns: 1fr; }
  .app-jiuji .redesign-main > .help-shortcuts { grid-template-columns: 1fr; }
  .policy-summary.moved-summary ul { grid-template-columns: 1fr; }
  .topic-wide { grid-column: auto; }
  .topic, .feature-card { padding: 24px; }
  .subscription-panel { grid-template-columns: 1fr; }
  .legal-layout, .layout { display: block; padding-top: 24px; }
  .legal-toc, .toc { position: static; display: flex; gap: 5px; max-height: none; overflow-x: auto; padding: 0 0 15px; border-bottom: 1px solid var(--line); white-space: nowrap; scrollbar-width: thin; }
  .legal-toc a, .toc a { flex: 0 0 auto; padding: 8px 10px; }
  .app-hangan .hangan-document-layout { display: block; margin-bottom: 38px; }
  .app-hangan .hangan-document-layout > .toc { display: flex; flex-wrap: wrap; gap: 8px; max-height: none; overflow: visible; padding: 0; border: 0; white-space: normal; }
  .app-hangan .hangan-document-layout > .toc a { display: inline-flex; min-height: 40px; flex: 0 0 auto; align-items: center; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 12px; }
  .app-hangan .hangan-document-layout > .policy,
  .app-hangan .hangan-document-layout > .terms { padding-top: 25px; }
  .legal-article, .legal-content, .article-content, .policy { padding-top: 30px; }
  .redesign-main > .summary-grid { grid-template-columns: 1fr; }
  .app-hangan .summary-item { display: block; padding: 18px 20px; border-radius: 18px; }
  .app-hangan .summary-item b { display: block; margin-bottom: 5px; color: var(--ink); font-size: 14px; line-height: 1.4; }
  .app-hangan .summary-item span { font-size: 13px; line-height: 1.6; }
  .app-hangan #collection .data-list { margin-top: 19px; gap: 11px; }
  .app-hangan #collection .data-list-card { padding: 20px; border-radius: 17px; }
  .app-hangan #collection .data-list-card dt { font-size: 16px; }
  .app-hangan #collection .data-list-card dd { margin-top: 9px; }
  .section-heading h2, .section-title, .contact-panel h2 { font-size: 28px; }
  .site-footer, .redesign-main > .footer { padding: 27px 22px; }
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b0c0f; --surface: #191b20; --surface-soft: #13151a; --ink: #f5f6f8; --muted: #b2b6c0; --quiet: #9398a3; --line: #32353d; --shadow: 0 30px 80px rgba(0,0,0,.32); --accent: #79b9ff; --accent-ink: #9bcbff; --accent-soft: #152b40; --accent-glow: rgba(80, 153, 225, .18); }
  .redesign-header { background: rgba(19,21,26,.88); border-bottom-color: rgba(255,255,255,.08); }
  .redesign-hero .hero-action { color: #101115; }
  .redesign-hero .hero-action:hover { color: #101115; background: var(--accent-ink); }
  .hero-art { background: var(--surface); border-color: var(--line); }
  .hero-art::before { opacity: .65; }
  .topic, .feature-card { border-color: rgba(255,255,255,.045); box-shadow: none; }
  .topic:nth-child(2), .feature-card:nth-child(2), .topic:nth-child(4), .feature-card:nth-child(5) { background: var(--surface); }
  .moved-summary > div { background: #21242a; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .redesign-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--surface); }
}

/* Shared app selector used for the local review entry point. */
.review-wrap { max-width: 1320px; margin: auto; padding: 0 clamp(22px, 4.5vw, 58px) 110px; }
.review-hero { padding: clamp(55px, 6vw, 82px) 0 clamp(52px, 5vw, 68px); border-bottom: 1px solid var(--line); }
.review-kicker { margin: 0 0 14px; color: var(--accent-ink); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.review-hero h1 { margin: 0; font-size: clamp(50px, 7vw, 94px); font-weight: 740; line-height: 1.08; letter-spacing: -.065em; }
.review-hero > p:last-child { max-width: 34em; margin: 26px 0 0; color: var(--muted); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.65; }
.review-section { padding-top: 52px; }
.review-section-heading h2 { margin: 0 0 30px; font-size: clamp(30px, 3vw, 42px); line-height: 1.22; font-weight: 730; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review-card { min-width: 0; min-height: 252px; padding: 27px; border: 1px solid var(--line); border-radius: 26px; background: var(--surface); }
.review-card img { display: block; width: 62px; height: 62px; border-radius: 15px; }
.review-card h3 { margin: 25px 0 14px; font-size: 25px; font-weight: 720; }
.review-card nav { display: flex; flex-wrap: wrap; gap: 8px 15px; }
.review-card a { color: var(--accent-ink); font-size: 14px; font-weight: 640; text-decoration: none; }
.review-card a:hover { text-decoration: underline; }
.review-footer { padding: 30px max(22px, calc((100vw - 1200px)/2)); border-top: 1px solid var(--line); background: var(--surface-soft); color: var(--muted); font-size: 12px; }
@media (max-width: 930px) { .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .review-hero { padding-block: 58px 62px; }
  .review-section { padding-top: 42px; }
  .review-grid { grid-template-columns: 1fr; }
  .review-card { min-height: 0; padding: 23px; }
  .review-card h3 { margin-top: 18px; }
  .review-footer { padding-inline: 22px; }
}
@media (max-width: 360px) {
  html { scroll-padding-top: 125px; }
  .redesign-nav { flex-wrap: wrap; gap: 2px 15px; overflow: visible; white-space: normal; }
  .redesign-nav a { padding-block: 3px; }
  .app-hangji .redesign-nav { display: grid; grid-template-columns: repeat(3, max-content); gap: 2px 20px; }
  .app-hangji .redesign-nav .all-apps-link { margin-right: 0; }
  .redesign-hero h1 { font-size: 34px; }
}

/* Every help or policy topic reads as its own quiet block. */
.redesign-main > .section,
.redesign-main > .section-compact {
  width: calc(100% - var(--content-gutter));
  max-width: 1204px;
  margin: 0 auto 18px;
  padding: clamp(27px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
}
.redesign-main > .section + .section,
.redesign-main > .section + .section-compact,
.redesign-main > .section-compact + .section-compact { border-top: 1px solid var(--line); }
.redesign-main > .section .topic,
.redesign-main > .section .feature-card,
.redesign-main > .section .choice-card {
  border: 0;
  background: var(--surface-soft);
  box-shadow: none;
}
.redesign-main > .section .subscription-panel {
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.redesign-main > .section .subscription-panel .callout {
  margin-top: 18px;
  padding: 17px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.redesign-main > .contact-panel {
  margin-top: 22px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.legal-section,
.policy-section,
.terms-section,
.article-content > section:not(.note) {
  margin: 0 0 16px;
  padding: clamp(25px, 3.3vw, 38px);
  border: 1px solid var(--line);
  border-radius: 25px;
  background: var(--surface);
}
.legal-section:first-child,
.policy-section:first-child,
.terms-section:first-child,
.article-content > section:first-child:not(.note) {
  padding-top: clamp(25px, 3.3vw, 38px);
  border: 1px solid var(--line);
}
.content-subsection {
  margin-top: 13px;
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--surface-soft);
}
.content-subsection h3 { margin: 0 0 9px; }
.content-subsection > :last-child { margin-bottom: 0; }
.app-jiuji .content-subsection ol {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
  counter-reset: backup-step;
}
.app-jiuji .content-subsection ol li {
  margin: 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--surface);
  counter-increment: backup-step;
}
.app-jiuji .content-subsection ol li::before {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-ink);
  content: counter(backup-step, decimal-leading-zero);
  font-size: 12px;
  font-weight: 720;
}
.legal-section ul,
.policy-section ul,
.terms-section ul,
.article-content > section ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 19px 0 0;
  padding: 0;
  list-style: none;
}
.legal-section ul > li,
.policy-section ul > li,
.terms-section ul > li,
.article-content > section ul > li {
  min-width: 0;
  margin: 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--surface-soft);
}
.content-subsection ul > li { background: var(--surface); }
.callout, .notice, .legal-note, .note {
  margin-block: 18px;
  padding: 19px 22px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
}
.data-item, .summary-item, .policy-summary > div,
.help-shortcuts a {
  border: 1px solid var(--line);
}
.policy-summary.moved-summary {
  padding: 0;
  background: transparent;
}
.policy-summary.moved-summary li {
  padding: 23px 25px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.app-jiuji .article-content > section.note {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.app-jiuji .article-content > section.note h2 { margin: 0 0 22px; }
.app-jiuji .article-content > section.note ul { margin: 0; }
.app-jiuji .article-content > section.note li {
  padding: 25px 27px 27px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.8;
}
.app-jiuji .article-content > section.note li::before {
  display: block;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.025em;
}
.app-jiuji .article-content > section.note li:nth-child(1)::before { content: "登录与同步"; }
.app-jiuji .article-content > section.note li:nth-child(2)::before { content: "同步的数据范围"; }
.app-jiuji .article-content > section.note li:nth-child(3)::before { content: "功能使用信息"; }
.app-jiuji .article-content > section.note li:nth-child(4)::before { content: "定位与识酒"; }
.app-tuji .privacy-promise { border: 1px solid var(--line); background: var(--surface); }
.app-tuji.page-support .privacy-promise { border: 0; background: var(--surface-soft); }
.app-tuji.page-support .section-compact > .contact-panel { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.app-tuji .redesign-main > .legal-layout {
  margin-top: 32px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.app-tuji #collection.legal-section {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.app-tuji #collection.legal-section > h2 { margin: 0 0 20px; }
.processing-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
}
.processing-card {
  min-width: 0;
  padding: clamp(22px, 3vw, 29px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.processing-card h3 {
  margin: 0 0 19px;
  font-size: clamp(19px, 1.8vw, 22px);
  line-height: 1.4;
}
.processing-card dl { display: grid; gap: 17px; margin: 0; }
.processing-card dl > div { padding-top: 16px; border-top: 1px solid var(--line); }
.processing-card dt { color: var(--accent-ink); font-size: 12px; font-weight: 720; letter-spacing: .015em; }
.processing-card dd { margin: 6px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
@media (max-width: 700px) {
  .redesign-main > .section,
  .redesign-main > .section-compact { padding: 25px 20px; border-radius: 22px; }
  .topic, .feature-card, .choice-card { padding: 20px; }
  .legal-section,
  .policy-section,
  .terms-section,
  .article-content > section:not(.note) { padding: 25px 22px; border-radius: 21px; }
  .legal-section ul,
  .policy-section ul,
  .terms-section ul,
  .article-content > section ul { grid-template-columns: 1fr; }
  .content-subsection { padding: 19px; }
  .processing-card { padding: 22px 20px; }
  .app-tuji .redesign-main > .legal-layout { margin-top: 22px; }
}
