/* Help-guide articles (/faq/connect-ezpz-account/). Loads after style.css and
   content.css; every rule is scoped to .guide-*. The step pictures reuse the
   real Settings classes (.scard, .mfa-row, .sbtn, .nav-user-*) from style.css
   and only position them here — never restyle those classes in this file. */

/* ---- Hero extras ---- */
.guide-crumbs {
  display: flex; justify-content: center; align-items: center; gap: var(--sp-2);
  font-family: var(--font-mono); font-size: var(--fs-label); color: var(--text-faint);
  margin-bottom: var(--sp-4);
}
.guide-crumbs a { color: var(--text-muted); text-decoration: none; }
.guide-crumbs a:hover { color: var(--voice); }
.guide-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2);
  margin-top: var(--sp-4);
  font-family: var(--font-mono); font-size: var(--fs-label); color: var(--text-faint);
  letter-spacing: var(--ls-normal);
}
.guide-copied { font-size: var(--fs-xs); color: var(--data); margin-top: var(--sp-2); }

/* ---- Before you start ---- */
.guide-before {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--sp-6); margin-bottom: var(--sp-8);
}
.guide-before h2 { margin-top: 0; }
.guide-checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--sp-4); }
.guide-checklist li { display: flex; gap: var(--sp-3); align-items: flex-start; margin: 0; }
.guide-check {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: var(--radius-pill);
  background: var(--data-dim); color: var(--data);
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.guide-check .icon { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 3; }

/* ---- A numbered step ---- */
.guide-step { padding-top: var(--sp-6); margin-bottom: var(--sp-8); border-top: 1px solid var(--border-hair); }
.guide-step-head { display: flex; align-items: center; gap: var(--sp-4); margin-bottom: var(--sp-4); }
.guide-step-head h2 { margin: 0; }
.guide-step-num {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--radius-pill);
  background: var(--accent-soft); color: var(--accent-strong); border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: var(--fw-display); font-size: var(--fs-lg);
  font-variant-numeric: tabular-nums; letter-spacing: var(--ls-normal);
}
.guide-step-num--voice { background: var(--voice-dim); color: var(--voice-strong); border-color: var(--border-voice); }
.guide-step-num .icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }
.prose .guide-step-label {
  font-family: var(--font-mono); font-size: var(--fs-label); text-transform: uppercase;
  letter-spacing: var(--ls-wide); color: var(--text-faint); margin: 0 0 2px; line-height: 1.2;
}
.prose .guide-tip {
  font-size: var(--fs-sm); color: var(--text-muted);
  border-left: 2px solid var(--voice); padding: var(--sp-2) var(--sp-4);
  background: var(--bg-card); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.prose .guide-h3 { font-family: var(--font-display); font-weight: var(--fw-strong); font-size: var(--fs-h4); margin: var(--sp-7) 0 var(--sp-3); }
.guide-substeps { margin-bottom: var(--sp-4); }

/* ---- Screenshot frame: browser window around a rebuilt screen ---- */
.guide-shot { margin: var(--sp-5) 0 var(--sp-6); }
.guide-shot-frame {
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg); box-shadow: var(--shadow-lift);
}
.guide-shot-bar {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-4); background: var(--bg-elevated); border-bottom: 1px solid var(--border);
}
.guide-shot-dots { display: flex; gap: 6px; flex-shrink: 0; }
.guide-shot-dots i { width: 10px; height: 10px; border-radius: var(--radius-pill); background: var(--border-strong); }
.guide-shot-url {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: var(--font-mono); font-size: var(--fs-3xs); color: var(--text-faint);
  background: var(--bg-sunken); border-radius: var(--radius-sm); padding: 4px 10px;
  letter-spacing: var(--ls-normal);
}
.guide-shot-screen { padding: var(--sp-5); user-select: none; }
.guide-shot .scard-head p { font-size: var(--fs-xs); }
.guide-shot .mfa-row-text { flex: 1; min-width: 0; }
.guide-shot .ezpz-hint { margin-top: var(--sp-3); }
.guide-shot .sf-row input { pointer-events: none; }
.guide-shot-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; }
.guide-shot figcaption {
  margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--text-muted); text-align: center;
}

/* Step 1: top bar with the account menu held open. */
.guide-shot-screen--menu { min-height: 230px; }
.guide-shot-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: var(--sp-3); border-bottom: 1px solid var(--border-hair);
}
.guide-shot-topbar .brand { font-size: var(--fs-sm); }
.guide-shot-topbar .brand-mark { width: 22px; height: 22px; }
.guide-shot-topbar .nav-user-dropdown { transition: none; }

/* Step 2: sidebar + card, side by side like the real Settings page. */
.guide-shot-screen--settings { display: grid; grid-template-columns: 170px 1fr; gap: var(--sp-5); align-items: start; }
@media (max-width: 640px) {
  .guide-shot-screen--settings { grid-template-columns: 1fr; }
}
.guide-shot-screen--card { max-width: 560px; margin: 0 auto; }

/* TV Connector sign-in card (that app's own layout, not this site's). */
.guide-shot-screen--app { display: flex; justify-content: center; background: var(--bg-sunken); }
.guide-app-card {
  width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: var(--sp-3);
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--sp-5);
}
.guide-app-title { font-family: var(--font-display); font-weight: var(--fw-strong); font-size: var(--fs-lg); text-align: center; margin: 0; }
.guide-app-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px;
  background: var(--bg-sunken); border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.guide-app-tab {
  position: relative; text-align: center; padding: 6px 8px; border-radius: var(--radius-sm);
  font-size: var(--fs-xs); font-weight: var(--fw-emphasis); color: var(--text-muted);
}
.guide-app-tab.is-active { background: var(--accent-soft); color: var(--accent-strong); }
.prose .guide-app-note { font-size: var(--fs-label); color: var(--text-faint); text-align: center; margin: 0; }
.guide-app-submit {
  display: block; text-align: center; padding: 9px; border-radius: var(--radius-sm);
  background: var(--accent); color: var(--text); font-size: var(--fs-xs); font-weight: var(--fw-strong);
}

/* TV Connector chat box with the Talk to Vox mic. */
.guide-app-composer {
  width: 100%; max-width: 520px; display: flex; align-items: center; gap: var(--sp-3);
  background: var(--bg-card); border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  padding: var(--sp-3) var(--sp-4);
}
.guide-app-input { flex: 1; min-width: 0; font-size: var(--fs-sm); color: var(--text-faint); }
.guide-app-mic {
  flex-shrink: 0; width: 36px; height: 36px; align-items: center; justify-content: center;
  border-radius: var(--radius-md); background: var(--accent-soft); color: var(--accent-strong);
  border: 1px solid var(--border-accent);
}
.guide-app-mic .icon { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ---- Highlight ring + numbered pin on the thing to click ---- */
.guide-hotspot {
  position: relative;
  outline: 2px solid var(--voice); outline-offset: 3px; border-radius: var(--radius-sm);
  box-shadow: 0 0 0 7px var(--voice-dim);
}
.guide-hotspot--inline { display: inline-flex; }
.guide-hotspot--block { display: block; }
.guide-pin {
  position: absolute; top: -12px; right: -12px; z-index: 2;
  width: 22px; height: 22px; border-radius: var(--radius-pill);
  background: var(--voice); color: var(--text-on-accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: var(--fs-3xs); font-weight: var(--fw-strong);
  letter-spacing: var(--ls-normal); box-shadow: var(--shadow-card);
  animation: guide-pin-pulse 2.4s var(--ease-in-out) infinite;
}
@keyframes guide-pin-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--voice-glow); }
  50% { box-shadow: 0 0 0 6px transparent; }
}
@media (prefers-reduced-motion: reduce) { .guide-pin { animation: none; } }

/* ---- "Which case are you?" branches under step 2 ---- */
.guide-branch {
  border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-card);
  padding: var(--sp-4) var(--sp-5); margin-top: var(--sp-4); scroll-margin-top: 150px;
}
.guide-branch--alt { border-style: dashed; border-color: var(--border-strong); }
.prose .guide-branch-title { font-family: var(--font-display); font-weight: var(--fw-strong); font-size: var(--fs-md); margin: 0 0 var(--sp-2); }
.prose .guide-branch p:last-child { margin-bottom: 0; }

/* ---- Membership table ---- */
.guide-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: var(--sp-4); }
.prose .guide-table { display: table; width: 100%; margin: 0; border-collapse: collapse; }
.prose .guide-table th, .prose .guide-table td { border: 0; border-bottom: 1px solid var(--border-hair); padding: var(--sp-3) var(--sp-4); vertical-align: top; }
.prose .guide-table tr:last-child th, .prose .guide-table tr:last-child td { border-bottom: 0; }
.prose .guide-table thead th {
  font-family: var(--font-mono); font-size: var(--fs-label); text-transform: uppercase;
  letter-spacing: var(--ls-wide); color: var(--text-faint); background: var(--bg-sunken);
}
.prose .guide-table tbody th { background: var(--bg-card); white-space: nowrap; }
@media (max-width: 560px) { .prose .guide-table tbody th { white-space: normal; } }
