.guide-header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.guide { max-width: 960px; padding-bottom: 48px; }
.guide-intro { max-width: 600px; margin: 32px auto 40px; text-align: center; }
.guide-intro h1 { font-size: 48px; line-height: 1.14; }
.guide-intro p { margin-top: 20px; color: var(--muted); }
.safari-prep { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: 24px 28px; background: #202319; border-radius: var(--radius); }
.safari-prep[hidden] { display: none; }
.safari-prep h2 { font: 600 18px/1.4 var(--body); margin-bottom: 8px; }
.safari-prep p { max-width: 530px; color: #c3c6b2; font-size: 15px; }
.copy-link { min-width: 206px; }
.copy-link .button { width: 100%; padding: 12px 18px; font-size: 14px; }
.copy-link p { font-size: 13px; margin-top: 6px; }
.copy-link p:empty { display: none; }
.copy-link input { width: 100%; margin-top: 10px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--ink); font: 14px/1.5 var(--body); }
.install-steps { margin: 24px 0 0; padding: 0; list-style: none; }
.install-steps > li { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; padding-block: 36px; border-bottom: 1px solid var(--line); }
.step-copy { display: flex; align-items: start; gap: 20px; }
.step-number { color: var(--ember); font: 32px/1.15 var(--pixel); flex: none; min-width: 24px; }
.step-copy h2 { font-size: 24px; line-height: 1.3; }
.step-copy p { margin-top: 14px; font-size: 16px; color: var(--muted); }
.system-example { min-width: 0; }
.system-example > figcaption { margin-bottom: 10px; color: #b9b3a5; font-size: 13px; }
.system-example svg { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linejoin: round; stroke-linecap: round; }
.safari-toolbar, .share-actions, .add-preview { border-radius: 12px; background: #252623; padding: 16px; font: 15px/1.4 var(--body); }
.address { display: flex; align-items: center; gap: 7px; color: #d9d8d0; font-size: 13px; padding-bottom: 16px; }
.address > svg { width: 14px; height: 14px; }
.menu-dots { display: inline-flex; gap: 3px; margin-left: auto; padding: 8px 4px; }
.menu-dots i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.system-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 14px; border-radius: 6px; }
.safari-toolbar .system-action { justify-content: start; }
.emphasis { outline: 1px solid #bba05b; color: #f5dfaa; background: #343428; }
.quiet { color: #c2c1b6; padding-top: 0; padding-bottom: 18px; }
.add-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 18px; font-size: 13px; }
.system-confirm { color: #a5ceff; font-weight: 600; padding: 7px 10px; border: 1px solid #6590bf; border-radius: 6px; }
.app-preview { display: flex; gap: 14px; align-items: center; padding-block: 0 18px; }
.app-preview img { border-radius: 12px; }
.app-preview strong { display: block; font-size: 16px; }
.app-preview small { display: block; color: #babdb1; font-size: 12px; margin-top: 4px; }
.webapp-setting { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid #484a40; padding-top: 14px; font-size: 12px; }
.toggle-on { flex: none; width: 36px; height: 22px; border-radius: 14px; background: #508e49; position: relative; }
.toggle-on::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; top: 2px; right: 2px; background: #fff; }
.installed-example { display: flex; align-items: center; justify-content: center; gap: 18px; }
.installed-example img { border-radius: 18px; }
.installed-example figcaption { font-size: 18px; }
.guide-finish { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 36px; }
.guide-finish p { color: var(--muted); font-size: 14px; max-width: 460px; }
.guide-finish .button { flex: none; padding-inline: 24px; }
.guide-help { margin-top: 36px; padding-block: 18px; border-block: 1px solid var(--line); }
.guide-help summary { color: var(--ink); min-height: 32px; }
.guide-help p { max-width: 720px; margin-top: 16px; color: var(--muted); font-size: 15px; }
.source-note { margin-top: 20px; color: #aaa99d; font-size: 13px; }
.source-note a, .guide-footer a { text-underline-offset: 4px; }
.guide-footer { display: flex; gap: 20px 28px; flex-wrap: wrap; padding-block: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.guide-footer span { margin-left: auto; }
@media (max-width: 800px) {
  .safari-prep { grid-template-columns: 1fr; gap: 16px; }
  .copy-link { justify-self: start; }
  .install-steps > li { gap: 28px; grid-template-columns: 1fr 1fr; }
  .step-copy { gap: 14px; }
  .guide-finish { flex-direction: column; align-items: start; gap: 20px; }
}
@media (max-width: 600px) {
  .guide-header { min-height: 80px; gap: 12px; }
  .guide-header .brand { gap: 6px; }
  .guide-header .brand-figure { width: 40px; height: 40px; }
  .guide-header .brand-name { font-size: 20px; }
  .guide-header .text-link { font-size: 14px; }
  .guide-intro { margin-block: 24px 28px; text-align: left; }
  .guide-intro h1 { font-size: 32px; }
  .guide-intro p { font-size: 16px; margin-top: 18px; }
  .safari-prep { padding: 20px; }
  .safari-prep p { font-size: 14px; }
  .copy-link { justify-self: stretch; min-width: 0; }
  .install-steps { margin-top: 8px; }
  .install-steps > li { grid-template-columns: 1fr; gap: 22px; padding-block: 28px; }
  .step-copy h2 { font-size: 24px; }
  .step-copy p { margin-top: 12px; }
  .system-example { margin-left: 38px; }
  .safari-toolbar, .share-actions, .add-preview { padding: 14px; }
  .address { font-size: 12px; }
  .add-toolbar { font-size: 12px; }
  .system-action { font-size: 14px; padding-inline: 12px; }
  .webapp-setting { gap: 8px; font-size: 11px; }
  .installed-example { justify-content: start; margin-left: 38px; }
  .installed-example img { width: 64px; height: 64px; border-radius: 14px; }
  .guide-finish { margin-top: 28px; }
  .guide-finish .button { width: 100%; font-size: 15px; padding-inline: 12px; }
  .guide-footer span { margin-left: 0; width: 100%; }
}
@media (max-width: 360px) {
  .guide-header .brand-name { font-size: 16px; }
  .system-example { margin-left: 0; }
}
