.install-guide-link {
  display:inline-flex;
  flex-shrink:0;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 13px;
  border:1px solid transparent;
  border-radius:12px;
  background:var(--lime);
  color:#132719;
  font-size:12px;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
  box-shadow:0 2px 10px rgba(7,31,45,.2);
}
.install-mock-row svg,.install-mock-icon svg {
  flex:none;
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.install-guide-link:hover { background:#e6f972; }
.install-guide-link:focus-visible { outline:3px solid #4ca3d7; outline-offset:3px; }

.install-guide {
  --install-panel:#edf3f4;
  --install-card:var(--paper);
  --install-muted:#425b6a;
  padding:clamp(24px,4vw,60px) 4.5% clamp(38px,6vw,84px);
  color:var(--ink);
}
html[data-theme="dark"] .install-guide {
  --install-panel:#1b2b35;
  --install-card:#13232e;
  --install-muted:#bbcbd5;
}
.install-guide-panel {
  padding:clamp(18px,4vw,54px);
  border:1px solid var(--line);
  border-radius:22px;
  background:var(--install-panel);
}
.install-guide-heading {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  flex-wrap:wrap;
  gap:18px 24px;
  margin-bottom:clamp(20px,3vw,34px);
}
.install-guide-heading h2 {
  max-width:18ch;
  margin:0;
  font-size:clamp(31px,4.5vw,64px);
  font-weight:800;
  letter-spacing:-.06em;
  line-height:.98;
}
.install-guide-tabs {
  display:inline-flex;
  gap:4px;
  padding:4px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--install-card);
}
.install-guide-tabs button {
  min-width:76px;
  min-height:44px;
  padding:8px 14px;
  border:0;
  border-radius:10px;
  background:transparent;
  color:var(--ink);
  font-size:13px;
  font-weight:800;
}
.install-guide-tabs button[aria-selected="true"] { background:var(--lime); color:#14271b; }
.install-guide-tabs button:focus-visible,
.install-guide-tabpanel:focus-visible,
.install-guide:focus-visible { outline:2px solid #418cc5; outline-offset:3px; }

.install-steps {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:0;
  padding:0;
  list-style:none;
  counter-reset:install-step;
}
.install-steps li {
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-content:start;
  align-items:center;
  column-gap:10px;
  padding:clamp(12px,1.65vw,20px);
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--install-card);
  counter-increment:install-step;
}
.install-steps li::before {
  grid-row:2;
  display:grid;
  place-items:center;
  width:26px;
  height:26px;
  border-radius:50%;
  background:#d9f33c;
  color:#14271b;
  content:counter(install-step);
  font-size:12px;
  font-weight:800;
}
.install-steps h3 {
  grid-column:2;
  margin:0;
  font-size:clamp(15px,1.55vw,20px);
  line-height:1.24;
  letter-spacing:-.028em;
}
.install-steps p {
  grid-column:1/-1;
  margin:9px 0 0;
  color:var(--install-muted);
  font-size:13px;
  line-height:1.5;
}
.install-visual {
  grid-column:1/-1;
  grid-row:1;
  display:grid;
  place-items:center;
  min-height:162px;
  margin:0 0 14px;
  padding:12px;
  border-radius:10px;
  background:radial-gradient(ellipse at 30% 16%,#22638d,#102c44 76%);
  color:#17242b;
}
.install-mock-browser,.install-mock-sheet {
  width:min(100%,240px);
  padding:8px;
  border:1px solid #d4e2e8;
  border-radius:13px;
  background:#fff;
  box-shadow:0 8px 16px rgba(3,17,27,.28);
  font-size:12px;
  line-height:1.25;
}
.install-mock-browser {
  display:flex;
  align-items:center;
  gap:5px;
  padding:6px;
}
.install-mock-address {
  flex:1;
  min-width:0;
  overflow:hidden;
  padding:9px 8px;
  border-radius:8px;
  background:#edf3f6;
  font-weight:700;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.install-mock-highlight { background:#d9f33c; color:#17291b; font-weight:800; }
.install-mock-icon {
  flex:0 0 34px;
  display:grid;
  place-items:center;
  height:34px;
  border-radius:8px;
}
.install-mock-dots {
  width:3px;
  height:3px;
  border-radius:50%;
  background:currentColor;
  box-shadow:0 -5px currentColor,0 5px currentColor;
}
.install-mock-sheet { display:grid; gap:6px; }
.install-mock-handle {
  justify-self:center;
  width:28px;
  height:3px;
  margin-bottom:4px;
  border-radius:10px;
  background:#adbfc9;
}
.install-mock-row {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:31px;
  padding:5px 6px;
  border-radius:7px;
  text-align:center;
}
.install-mock-plus {
  display:grid;
  place-items:center;
  flex:0 0 15px;
  height:15px;
  border:1px solid currentColor;
  border-radius:4px;
  font-size:14px;
  line-height:1;
}
.install-mock-app,.install-mock-setting {
  display:flex;
  align-items:center;
  gap:8px;
  padding:2px 3px;
  font-weight:800;
}
.install-mock-app img { border-radius:8px; }
.install-mock-setting { justify-content:space-between; font-size:10px; font-weight:600; }
.install-mock-toggle {
  display:flex;
  flex:0 0 25px;
  justify-content:flex-end;
  align-items:center;
  height:15px;
  padding:2px;
  border-radius:12px;
  background:#428451;
}
.install-mock-toggle::after {
  width:11px;
  height:11px;
  border-radius:50%;
  background:#fff;
  content:"";
}

@media (max-width:1024px) {
  .install-guide-link { min-width:44px; padding:0 9px; }
}
@media (max-width:760px) {
  .install-guide { padding-inline:14px; }
  .install-steps { grid-template-columns:minmax(0,1fr); }
  .install-visual { min-height:144px; }
}
