
.ios-lead { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin: 2px 0 0; }
.steps { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.steps li { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: var(--r-m); background: var(--surface-2); font-size: 15px; line-height: 1.45; }
.step-n { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font: 700 13px/1 var(--font-sans); flex: none; }
.step-c { flex: 1; min-width: 0; }
.step-tx { display: block; padding-top: 1px; }
.step-tx svg.step-i { display: inline-block; width: 19px; height: 19px; vertical-align: -4px; margin: 0 1px; color: var(--ios-blue);
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.step-tx .step-w { white-space: nowrap; }

.ig-pic { margin-top: 10px; max-width: 300px; padding: 8px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-soft);
  font: 500 12px/16px var(--font-sans); color: var(--ink-2); }
.ig-pic svg.ig-i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--ink-3); }
.ig-hl { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none; min-width: 28px; height: 28px; padding: 0 5px;
  border-radius: 999px; background: var(--accent-tint); box-shadow: 0 0 0 2px var(--accent); color: var(--ink); }
.ig-pic .ig-hl svg.ig-i { color: var(--ink); }
.ig-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 30px; }
.ig-pill { flex: 1; min-width: 0; display: flex; align-items: center; gap: 4px; height: 32px; padding: 0 2px 0 12px; border-radius: 999px; background: var(--surface-2); }
.ig-url { flex: 1; min-width: 0; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-round { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); }
.ig-tools { padding: 0 8px; }
.ig-card { display: flex; flex-direction: column; gap: 4px; }
.ig-row { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 10px; border-radius: 9px; }
.ig-row.ig-hl { justify-content: flex-start; margin: 2px; height: 28px; border-radius: 9px; }
.ig-dim { display: inline-block; height: 8px; max-width: 100%; border-radius: 4px; background: var(--line); }
.ig-sq { width: 18px; height: 18px; border-radius: 5px; background: var(--line); flex: none; }
.ig-acts { display: flex; justify-content: space-between; align-items: flex-start; gap: 4px; padding: 2px 0; }
.ig-act { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ig-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); }
.ig-act .ig-hl { width: 30px; height: 30px; min-width: 0; padding: 0; border-radius: 50%; }
.ig-lbl { font-size: 11px; line-height: 13px; text-align: center; color: var(--ink); }
.ig-top .ig-ttl { flex: 1; min-width: 0; text-align: center; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-top .ig-hl { padding: 0 12px; color: var(--ios-blue); font-weight: 600; }

.ig-dialog { position: fixed; inset: auto 0 0 0; margin: 0; width: 100%; max-width: 100%; height: auto;
  max-height: calc(100% - 24px - env(safe-area-inset-top)); padding: 0; border: 0; border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-up), 0 -1px 0 var(--line);
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  transform: translateY(32px); opacity: 0; transition: transform .2s ease, opacity .18s; }
.ig-dialog.open { transform: none; opacity: 1; }
.ig-dialog::backdrop { background: rgba(10, 8, 6, 0.45); }
.ig-dialog.ig-fallback { display: block; z-index: 1000; box-shadow: 0 0 0 100vmax rgba(10, 8, 6, 0.45); }
.ig-dialog:focus-visible { outline: none; }
.ig-in { padding: 14px 20px calc(24px + env(safe-area-inset-bottom)); }
.ig-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; margin-bottom: 8px; }
.ig-head h2 { margin: 0; font: 600 22px/28px var(--font-serif); color: var(--ink); min-width: 0; }
.ig-x { display: grid; place-items: center; flex: none; width: 40px; height: 40px; margin-right: -6px; padding: 0; border: 0; border-radius: 50%;
  background: var(--surface-sunk); color: var(--ink-2); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ig-x svg.ig-i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; }
.ig-x:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ig-dialog .notice { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 12px 14px; border-radius: var(--r-m);
  background: var(--surface-2); font-size: 14px; line-height: 1.45; text-align: left; }
.ig-dialog .notice img { width: 28px; height: 28px; flex: none; margin-top: -2px; }
.ig-dialog .notice span { color: var(--ink-2); }
.ig-dialog .ig-ok { display: flex; width: 100%; margin-top: 18px; border: 0; cursor: pointer; }
@media (min-width: 600px) {
  .ig-dialog { inset: 0; margin: auto; width: calc(100% - 48px); max-width: 460px; height: fit-content; max-height: calc(100% - 48px);
    border-radius: var(--r-xl); box-shadow: var(--shadow-2); }
  .ig-in { padding: 14px 24px 24px; }
  .ig-x { margin-right: -10px; }
}
@media (prefers-reduced-motion: reduce) { .ig-dialog { transition: none; transform: none; } }
