/* 隐私与同步。独立样式文件，不改动其他区块。标题下面紧跟着真正的依据（不存储文章内容、不含 AI 功能）。
   电脑上左右两栏：左边是多端同步和设备，右边是两种存储方式；手机上从上到下排。
   和整页同一套纸色、衬线字（深色时跟着整页换成 iOS 深色）；红色只用在「免费」「官方付费」小标签上。只做缓慢淡入。 */
.privacy { max-width: 1320px; margin: 0 auto; padding: clamp(40px, 7vw, 96px) clamp(16px, 5vw, 72px) 0; }
.pv {
  --pv-card: var(--paper-2); --pv-ink: var(--ink); --pv-ink-2: var(--ink-2); --pv-muted: var(--muted);
  --pv-icon: var(--moss-text); --pv-icon-soft: var(--leaf-soft); --pv-chip: var(--paper);
  --pv-accent-text: var(--red-text); --pv-accent-soft: var(--red-soft);
  --pv-shadow: var(--shadow);
  max-width: 1120px; margin: 0 auto; padding: clamp(8px, 2vw, 24px) 0; text-align: left; font-family: var(--sans); color: var(--pv-ink);
}
.pv p { margin: 0; }
.pv-head { text-align: center; }
.pv-head .step { margin-bottom: 10px; }
.pv-head h2 { margin: 0; font: 700 clamp(28px, 3.6vw, 46px)/1.25 var(--serif); }
.pv-head h2 span { display: inline-block; }
.pv-lead { max-width: 34em; margin: 14px auto 0 !important; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.7; text-align: center; text-wrap: balance; color: var(--pv-ink-2); }

/* 左右两栏，中间一个淡淡的箭头表示「存到这里」 */
.pv-map { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); gap: clamp(12px, 1.6vw, 20px); align-items: stretch; margin-top: clamp(52px, 6vw, 72px); }
.pv-col { display: grid; gap: 14px; align-content: center; }
.pv-mine { align-content: stretch; }
.pv-mine .pv-devices { display: flex; flex-direction: column; justify-content: center; }
.pv-link { align-self: center; }
/* 右栏小标题悬在气泡上方，不占高度：左右两栏的气泡上下边对齐 */
.pv-store { position: relative; align-content: stretch; grid-auto-rows: 1fr; }
.pv-option { display: flex; flex-direction: column; justify-content: center; }
.pv-store .pv-label { position: absolute; left: 0; bottom: calc(100% + 8px); }
.pv-label { font: 600 14px var(--sans); letter-spacing: .06em; color: var(--pv-muted); padding-left: 4px; }
.pv-bubble { padding: 18px 22px; background: var(--pv-card); border-radius: 22px; box-shadow: var(--pv-shadow); }
.pv-bubble b { display: block; font: 700 18px/1.4 var(--serif); color: var(--pv-ink); }
.pv-bubble p { margin-top: 4px; font-size: 15px; line-height: 1.7; color: var(--pv-ink-2); }
.pv-devices-head { display: flex; align-items: center; gap: 14px; }
.pv-icon { flex: none; width: 40px; height: 40px; padding: 8px; border-radius: 14px; background: var(--pv-icon-soft); fill: none; stroke: var(--pv-icon); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }

.pv-device-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; padding: 0; }
.pv-device-list li { display: grid; justify-items: center; align-content: start; gap: 2px; padding: 12px 6px 11px; border-radius: 16px; background: var(--pv-chip); text-align: center; }
.pv-device-list svg { width: 30px; height: 30px; margin-bottom: 2px; fill: none; stroke: var(--pv-icon); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.pv-device-list b { font: 600 15px/1.4 var(--serif); color: var(--pv-ink); }
.pv-device-list span { display: grid; justify-items: center; font: 13px/1.6 var(--sans); color: var(--pv-muted); }
.pv-device-list em { font-style: normal; white-space: nowrap; }

.pv-link { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--pv-icon-soft); }
.pv-link svg { width: 22px; height: 22px; fill: none; stroke: var(--pv-icon); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.pv-option b { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.pv-tag { position: relative; display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--pv-accent-soft); font: 600 12.5px/1.3 var(--sans); color: var(--pv-accent-text); white-space: nowrap; }
.pv-tag i { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* 动效：只做缓慢淡入（轻微上浮），左边先、箭头、右边后；减少动态时由全局规则直接显示终态 */
.motion .privacy [data-reveal] { transform: translateY(10px); transition: opacity 1.2s var(--e-soft), transform 1.4s var(--e-soft); }
.motion .privacy [data-reveal].is-in { transform: none; }
.motion .pv-map[data-reveal] { opacity: 1; transform: none; }
.motion .pv-map .pv-bubble, .motion .pv-map .pv-label, .motion .pv-map .pv-link { opacity: 0; transition: opacity 1.1s var(--e-soft); }
.motion .pv-map.is-in .pv-bubble, .motion .pv-map.is-in .pv-label, .motion .pv-map.is-in .pv-link { opacity: 1; }
.motion .pv-map.is-in .pv-link { transition-delay: .4s; }
.motion .pv-map.is-in .pv-store > * { transition-delay: .55s; }
.motion .pv-map.is-in .pv-store > * + * { transition-delay: .7s; }
.motion .pv-map.is-in .pv-store > * + * + * { transition-delay: .85s; }

@media (max-width: 760px) {
  .pv { padding: 8px 0; }
  .pv-map { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pv-link { justify-self: center; width: 36px; height: 36px; }
  .pv-link svg { transform: rotate(90deg); width: 18px; height: 18px; }
  .pv-bubble { padding: 16px 16px; border-radius: 20px; }
  .pv-bubble b { font-size: 17px; }
  .pv-device-list { gap: 8px; }
  .pv-device-list li { padding: 10px 4px; }
  .pv-device-list span { font-size: 13px; }
  .pv-bubble p { font-size: 15px; }
  .pv-store { grid-auto-rows: auto; }
  .pv-store .pv-label { position: static; margin-top: 2px; }
  .pv-map { margin-top: 24px; }
}
