/* macOS 使用准备（mac-setup.html）。颜色、字体、按钮、导航、页尾来自 site.css */
html { scroll-padding-top: calc(var(--nav-h) + 20px); }
.ms { padding: calc(var(--nav-h) + 56px) 0 96px; }
.ms-in { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.ms h1 { margin-top: 18px; font-size: clamp(28px, 4.2vw, 42px); line-height: 1.25; }
.ms h1 .ph { white-space: pre-wrap; }
.ms .lead { margin-top: 16px; max-width: none; text-wrap: wrap; }
.ms-toc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ms-toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 500; transition: border-color var(--t-fast); }
.ms-toc a:hover { border-color: var(--indigo); }
.ms section { margin-top: 64px; }
.ms h2 { display: flex; align-items: center; gap: 14px; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.35; }
.ms h2 .num { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--indigo); color: #fff; font-size: 18px; }
.ms section > p { margin-top: 16px; }
.ms-warn { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 14px; background: #F8E9CF; color: #6E4A10; font-weight: 500; }
.ms-warn svg { flex: none; width: 22px; height: 22px; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ms-note { color: var(--muted); }
.ms-steps { list-style: none; margin: 26px 0 0; padding: 0; counter-reset: s; }
.ms-steps li { position: relative; padding: 0 0 30px 54px; counter-increment: s; }
.ms-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--indigo-l); color: var(--indigo-d); font-family: var(--num); font-weight: 600; }
.ms-steps li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 42px; bottom: 8px; border-left: 2px solid var(--line); }
.ms-steps li:last-child { padding-bottom: 0; }
.ms-steps p { padding-top: 3px; color: var(--ink); }
.ms-shot { display: block; margin-top: 14px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: var(--shadow); cursor: zoom-in; }
.ms-shot img { display: block; width: 100%; height: auto; }
.ms-tall { max-width: 460px; }
.ms-code { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; min-height: 52px; padding: 8px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 17px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.ms-code button { flex: none; min-height: 44px; padding: 0 14px; border-radius: 99px; color: var(--indigo-d); font: 500 15px/1 var(--sans); user-select: none; -webkit-user-select: none; }
.ms-code button:hover { background: var(--indigo-l); }
.ms-faq { margin: 22px 0 0; }
.ms-faq dt { margin-top: 20px; font-weight: 700; color: var(--ink); }
.ms-faq dd { margin: 6px 0 0; }
.ms-end { margin-top: 64px; }
@media (max-width: 760px) {
  .ms { padding: calc(var(--nav-h) + 28px) 0 72px; }
  .ms section { margin-top: 52px; }
  .ms-steps li { padding-left: 46px; padding-bottom: 30px; }
  .ms-steps li .ms-shot, .ms-steps li .ms-code { margin-left: -46px; }
  .ms-steps li:not(:last-child)::after { display: none; }
  .ms-steps li::before { width: 32px; height: 32px; }
  .ms-end .btn { width: 100%; }
}
