
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: 15px; line-height: 1.6; color: #1d1d1f; background: #fff;
  -webkit-font-smoothing: antialiased;
}
.page { max-width: 780px; margin: 0 auto; padding: 40px 60px; }
@media print { .page { page-break-after: always; } .page:last-child { page-break-after: avoid; } }

.cover {
  min-height: 80vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: #f5f5f7; padding: 80px 48px; text-align: center;
  page-break-after: always;
}
.cover-tagline { font-size: 17px; color: #6e6e73; margin-bottom: 44px; margin-top: 10px; }
.cover-desc { font-size: 19px; font-weight: 300; max-width: 680px; color: #1d1d1f; line-height: 1.5; margin-bottom: 48px; }
.cover-stats { display: flex; gap: 36px; margin-bottom: 36px; }
.cover-stat-val { font-size: 17px; font-weight: 600; color: #0071e3; display: block; margin-bottom: 4px; }
.cover-stat-lbl { font-size: 13px; color: #6e6e73; display: block; margin-top: 2px; line-height: 1.3; }
.cover-footer { font-size: 13px; color: #86868b; border-top: 1px solid #d2d2d7; padding-top: 18px; width: 100%; max-width: 480px; }

.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #0071e3; margin-bottom: 6px; }
h1 { font-size: 32px; font-weight: 600; letter-spacing: -.5px; margin-bottom: 14px; line-height: 1.2; }
h2 { font-size: 20px; font-weight: 600; letter-spacing: -.3px; margin: 44px 0 12px; padding-bottom: 8px; border-bottom: 1px solid #e8e8ed; }
h2:first-of-type { margin-top: 0; }
h3 { font-size: 15px; font-weight: 600; margin: 18px 0 5px; }
p { margin-bottom: 10px; }
p.muted { color: #6e6e73; font-size: 14px; }
hr { border: none; border-top: 1px solid #e8e8ed; margin: 40px 0; }
code { font-family: "SF Mono", Menlo, monospace; font-size: 12px; background: #f5f5f7; border: 1px solid #d2d2d7; border-radius: 4px; padding: 1px 5px; }

.tip  { background: #f0f6ff; border-left: 3px solid #0071e3; border-radius: 0 8px 8px 0; padding: 11px 15px; margin: 14px 0; font-size: 14px; }
.tip strong { color: #0071e3; }
.note { background: #fff8ec; border-left: 3px solid #f5a623; border-radius: 0 8px 8px 0; padding: 11px 15px; margin: 14px 0; font-size: 14px; }

.qs-step { display: flex; gap: 16px; padding: 15px 0; border-bottom: 1px solid #e8e8ed; align-items: flex-start; }
.qs-step:last-child { border-bottom: none; }
.qs-num { width: 28px; height: 28px; border-radius: 50%; background: #0071e3; color: #fff; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 3px; }
.qs-title { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.qs-desc { font-size: 14px; color: #6e6e73; }

.req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.req-card { background: #f5f5f7; border: 1px solid #d2d2d7; border-radius: 10px; padding: 13px 15px; }
.req-label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #6e6e73; margin-bottom: 3px; }
.req-value { font-size: 15px; font-weight: 600; }

.file-tree { background: #f5f5f7; border: 1px solid #d2d2d7; border-radius: 10px; padding: 15px 18px; font-family: "SF Mono", Menlo, monospace; font-size: 12.5px; line-height: 2; margin: 14px 0; }
.file-tree .dir { font-weight: 600; }
.file-tree .file { color: #6e6e73; }
.file-tree .cmt { color: #0071e3; font-family: -apple-system, sans-serif; font-style: italic; font-size: 11.5px; }

.proc-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 14px 0; }
.proc-table th { text-align: left; font-weight: 600; font-size: 13px; padding: 7px 0; border-bottom: 1.5px solid #d2d2d7; }
.proc-table td { padding: 9px 0; border-bottom: 1px solid #e8e8ed; }
.proc-table td:first-child { font-weight: 500; width: 100px; }

.tool-header { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.tool-name { font-size: 22px; font-weight: 600; }
.tool-badge { font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6e6e73; background: #f5f5f7; border: 1px solid #d2d2d7; border-radius: 4px; padding: 2px 6px; }
.new { display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: #0071e3; color: #fff; border-radius: 3px; padding: 2px 5px; vertical-align: middle; position: relative; top: -2px; margin-left: 4px; }
.tool-desc { font-size: 14px; color: #6e6e73; margin-bottom: 16px; }

.tool-section { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; margin-bottom: 32px; }
.step-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: #0071e3; margin-bottom: 3px; }
.step-label { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.opts { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.opts li { font-size: 13px; }
.opts li strong { font-weight: 600; }
.opts li span { display: block; font-size: 12px; color: #6e6e73; }

.ss-wrap { display: block; line-height: 0; border: 1px solid rgba(0,0,0,0.08); box-shadow: 0 2px 16px rgba(0,0,0,0.1); border-radius: 12px; overflow: hidden; }
.ss-wrap img { display: block; width: 100%; height: auto; }

.perf-group { margin-bottom: 18px; }
.perf-group-title { font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: #6e6e73; margin-bottom: 8px; }
.perf-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.perf-lbl { width: 170px; font-size: 13px; flex-shrink: 0; }
.perf-track { flex: 1; height: 12px; background: #f5f5f7; border-radius: 6px; overflow: hidden; }
.perf-fill { height: 100%; border-radius: 6px; background: #0071e3; }
.perf-fill.gray { background: #c8c8c8; }
.perf-val { width: 60px; text-align: right; font-size: 12px; color: #6e6e73; }
.perf-saving { color: #1a7a3e; font-weight: 600; font-size: 11px; }

.compare-table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 14px 0; }
.compare-table th { text-align: left; font-weight: 600; font-size: 12px; color: #6e6e73; padding: 6px 0; border-bottom: 1.5px solid #d2d2d7; }
.compare-table td { padding: 8px 0; border-bottom: 1px solid #e8e8ed; }
.compare-table td:first-child { font-weight: 500; width: 42%; }
.ok { color: #1a7a3e; font-weight: 700; }
.no { color: #bbb; }

.faq-item { border-bottom: 1px solid #e8e8ed; padding: 15px 0; }
.faq-q { font-size: 15px; font-weight: 600; margin-bottom: 5px; }
.faq-a { font-size: 14px; color: #6e6e73; }
.faq-a strong { color: #1d1d1f; }

.num-steps { list-style: none; counter-reset: ns; display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.num-steps li { counter-increment: ns; display: flex; gap: 10px; font-size: 14px; align-items: flex-start; }
.num-steps li::before { content: counter(ns); font-size: 10px; font-weight: 700; color: #fff; background: #0071e3; border-radius: 50%; width: 19px; height: 19px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }

:root {
  --site-blue: #0071e3;
  --site-blue-soft: #eaf4ff;
  --site-ink: #1d1d1f;
  --site-muted: #6e6e73;
  --site-line: rgba(0, 0, 0, 0.10);
  --site-surface: rgba(255, 255, 255, 0.88);
  --site-canvas: #f5f5f7;
  --site-sidebar: 272px;
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  background: var(--site-canvas);
  min-width: 320px;
}

body.nav-open {
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 1000;
  padding: 9px 13px;
  border-radius: 9px;
  background: #111;
  color: #fff;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.reading-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 1001;
  width: 0;
  height: 3px;
  background: var(--site-blue);
}

.site-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  background: var(--site-surface);
  border-bottom: 1px solid var(--site-line);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
}

.site-brand {
  display: flex;
  align-items: baseline;
  gap: 9px;
  min-width: 202px;
  color: var(--site-ink);
  text-decoration: none;
}

.site-brand strong {
  font-size: 18px;
  letter-spacing: -0.03em;
}

.site-brand span {
  font-size: 12px;
  color: var(--site-muted);
}

.site-search {
  position: relative;
  flex: 1;
  max-width: 580px;
  margin-left: auto;
}

.site-search input {
  width: 100%;
  min-height: 40px;
  padding: 9px 42px 9px 38px;
  border: 1px solid var(--site-line);
  border-radius: 12px;
  background: rgba(118, 118, 128, 0.10);
  color: var(--site-ink);
  font: inherit;
  outline: none;
}

.site-search input:focus {
  background: #fff;
  border-color: rgba(0, 113, 227, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

.search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--site-muted);
  pointer-events: none;
}

.search-shortcut {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  min-width: 22px;
  padding: 1px 6px;
  border: 1px solid var(--site-line);
  border-radius: 6px;
  background: #fff;
  color: var(--site-muted);
  font-size: 11px;
  text-align: center;
}

.mobile-nav-button {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--site-line);
  border-radius: 11px;
  background: #fff;
  color: var(--site-ink);
  font-size: 20px;
  cursor: pointer;
}

.site-shell {
  display: grid;
  grid-template-columns: var(--site-sidebar) minmax(0, 1fr);
  max-width: 1440px;
  margin: 0 auto;
}

.site-sidebar {
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  padding: 24px 16px 32px 20px;
  border-right: 1px solid var(--site-line);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.sidebar-label {
  padding: 0 10px 9px;
  color: var(--site-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.guide-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.guide-nav a {
  display: block;
  padding: 8px 10px;
  border-radius: 9px;
  color: #424245;
  font-size: 13px;
  line-height: 1.3;
  text-decoration: none;
}

.guide-nav a:hover {
  background: rgba(118, 118, 128, 0.09);
}

.guide-nav a[aria-current="true"] {
  background: var(--site-blue-soft);
  color: #005eb8;
  font-weight: 600;
}

.guide-nav a[hidden] {
  display: none;
}

.search-status {
  min-height: 24px;
  padding: 12px 10px 0;
  color: var(--site-muted);
  font-size: 12px;
}

.guide-main {
  min-width: 0;
  padding: 30px clamp(20px, 4vw, 60px) 80px;
}

.guide-main > .cover,
.guide-main > .page {
  width: 100%;
  max-width: 860px;
  margin: 0 auto 28px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.055);
}

.guide-main > .cover {
  min-height: calc(100vh - 128px);
  padding: 72px 48px;
}

.guide-main > .cover > img {
  width: auto;
  max-width: 100%;
}

.guide-main > .page {
  max-width: 860px;
  padding: 52px clamp(34px, 7vw, 72px) 60px;
}

.guide-main > [hidden] {
  display: none !important;
}

.installer-disabled {
  cursor: default;
  background: #e8e8ed !important;
  color: #515154 !important;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.installer-note {
  display: block;
  max-width: 420px;
  margin: 10px auto 0;
  color: var(--site-muted);
  font-size: 12px;
  line-height: 1.4;
}

.ss-wrap {
  position: relative;
}

.ss-wrap img {
  cursor: zoom-in;
  transition: transform 180ms ease, filter 180ms ease;
}

.ss-wrap:hover img {
  filter: brightness(0.985);
  transform: scale(1.004);
}

.faq-item {
  padding: 0;
}

.faq-q-button {
  position: relative;
  width: 100%;
  padding: 17px 38px 17px 0;
  border: 0;
  background: transparent;
  color: var(--site-ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.faq-q-button::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 15px;
  color: var(--site-blue);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transition: transform 180ms ease;
}

.faq-q-button[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 38px 17px 0;
}

.faq-a[hidden] {
  display: none;
}

.image-dialog {
  width: min(94vw, 1200px);
  max-width: none;
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #111;
  color: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.image-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.image-dialog-inner {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  max-height: 92vh;
}

.image-dialog img {
  width: 100%;
  height: 100%;
  max-height: calc(92vh - 54px);
  object-fit: contain;
  background: #111;
}

.image-dialog footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 54px;
  padding: 10px 14px 10px 18px;
  background: #1d1d1f;
}

.image-caption {
  color: #d2d2d7;
  font-size: 13px;
}

.image-dialog-close {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #3a3a3c;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 44px;
  height: 44px;
  border: 1px solid var(--site-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--site-ink);
  font-size: 20px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.48);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 78px;
  }

  .site-topbar {
    height: 62px;
    padding: 0 14px;
  }

  .mobile-nav-button {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
  }

  .site-brand {
    min-width: 0;
  }

  .site-brand span {
    display: none;
  }

  .site-search {
    max-width: none;
  }

  .search-shortcut {
    display: none;
  }

  .site-shell {
    display: block;
  }

  .site-sidebar {
    position: fixed;
    inset: 62px auto 0 0;
    z-index: 95;
    width: min(86vw, 320px);
    height: calc(100vh - 62px);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 18px 0 54px rgba(0, 0, 0, 0.18);
    transform: translateX(-105%);
    transition: transform 200ms ease;
  }

  body.nav-open .site-sidebar {
    transform: translateX(0);
  }

  .guide-main {
    padding: 18px 14px 64px;
  }

  .guide-main > .cover,
  .guide-main > .page {
    margin-bottom: 16px;
    border-radius: 16px;
  }

  .guide-main > .cover {
    min-height: calc(100vh - 98px);
    padding: 54px 22px;
  }

  .guide-main > .page {
    padding: 38px 24px 44px;
  }

  .tool-section {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .req-grid {
    grid-template-columns: 1fr;
  }

  .cover-stats {
    gap: 18px;
  }

  .perf-row {
    flex-wrap: wrap;
  }

  .perf-lbl {
    width: 100%;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 560px) {
  .site-brand strong {
    font-size: 16px;
  }

  .site-search input {
    min-height: 38px;
    padding-left: 34px;
    font-size: 14px;
  }

  .guide-main > .page {
    padding-inline: 20px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 19px;
  }

  .guide-main table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media print {
  body {
    background: #fff;
  }

  .site-topbar,
  .site-sidebar,
  .reading-progress,
  .back-to-top,
  .skip-link,
  .image-dialog {
    display: none !important;
  }

  .site-shell,
  .guide-main {
    display: block;
    padding: 0;
  }

  .guide-main > .cover,
  .guide-main > .page {
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}
@media(max-width:640px){.uv-movie-steps{grid-template-columns:1fr!important}.uv-movie-steps img{max-width:300px}}
