/* /install page — reuses .landing (photo backdrop) and .card (glass panel) from style.css. */
.install-page { overflow-y: auto; }
.install-card { max-width: 480px; text-align: left; }
.install-logo { display: block; text-align: center; }
.install-logo img { width: 96px; height: 96px; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .5)); }
.install-card h2 { margin: 6px 0 6px; font: 700 22px/1.25 'Poppins', system-ui, sans-serif; text-align: center; }
.card.install-card > p, .card.install-card > p.muted { margin: 0 0 14px; line-height: 1.5; white-space: normal; }
.install-card .small { font-size: 12.5px; }

.install-status {
  margin: 4px 0 14px; padding: 10px 12px; border-radius: 10px; font-size: 14px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.install-status.ok { background: rgba(46, 160, 90, .16); border-color: rgba(46, 160, 90, .5); color: #9fe6b8; }
.install-status.warn { background: rgba(214, 160, 40, .14); border-color: rgba(214, 160, 40, .45); color: #f4d48a; }

.install-box { display: flex; flex-direction: column; gap: 10px; }
.install-box[hidden] { display: none; }
.install-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  padding: 12px 16px; border-radius: 12px; font-size: 16px; font-weight: 600; text-decoration: none;
}
.install-btn.small-btn { width: auto; padding: 6px 12px; font-size: 13px; border-radius: 8px; white-space: nowrap; }

.install-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 8px; }
.install-steps li {
  counter-increment: step; display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); font-size: 14px; line-height: 1.4;
}
.install-steps li::before {
  content: counter(step); flex: none; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 13px; background: var(--accent, #7c5cff); color: #fff;
}
.install-steps li span { flex: 1; }
.install-steps code { font-size: 12.5px; padding: 1px 5px; border-radius: 5px; background: rgba(255, 255, 255, .1); }
.install-browsers { text-align: center; margin: 14px 0 0; }

:root[data-theme="light"] .install-status { background: rgba(255, 255, 255, .45); border-color: rgba(0, 0, 0, .1); }
:root[data-theme="light"] .install-status.ok { background: rgba(46, 160, 90, .14); color: #1d6b3c; }
:root[data-theme="light"] .install-status.warn { background: rgba(214, 160, 40, .16); color: #7a5508; }
:root[data-theme="light"] .install-steps li { background: rgba(255, 255, 255, .45); }
:root[data-theme="light"] .install-steps code { background: rgba(0, 0, 0, .07); }

/* /privacy — a longer read on the same glass card */
.privacy-card { max-width: 680px; margin: 24px 0; }
.card.privacy-card > p { line-height: 1.6; }
.privacy-card h3 { margin: 20px 0 8px; font: 600 16px/1.3 'Poppins', system-ui, sans-serif; }
.privacy-card ul { margin: 0 0 8px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; line-height: 1.55; font-size: 14.5px; }
.privacy-card a:not(.install-btn) { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.card.privacy-card > p.privacy-updated { text-align: center; margin-top: -2px; }
.privacy-back { margin-top: 22px !important; }

/* "Can't use the Chrome Web Store?" — a quiet text link */
.install-alt { margin: 2px 0 0; text-align: center; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.link-btn:hover { opacity: .85; }
#manualStoreNote a { color: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
