/* Website-only styles on top of the extension's ui.css. */
[hidden] { display: none !important; }
a { color: var(--accent); }
.brand { color: inherit; text-decoration: none; margin-right: 6px; }
.brand::after { content: '·'; margin-left: 6px; color: var(--muted); }

/* Reserved ad row: fixed height so the one-screen layout can budget for it. */
.ad-row { flex: none; height: 90px; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ad-row .adsbygoogle { display: block; width: 100%; height: 90px; }
.ad-row.preview { border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); font-size: 12px; }

.open-panel { display: flex; align-items: center; justify-content: center; }
.open-box { max-width: 520px; padding: 28px; border: 1px solid var(--line); border-radius: 14px; text-align: center; }
.loading { margin: 0; font-weight: 600; color: var(--muted); }
.open-box h2 { margin-top: 0; }
.error { color: #d64545; font-weight: 600; }

/* Content pages (index, privacy). */
.page { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; line-height: 1.6; font-size: 15px; }
.page h1 { font-size: 28px; margin-bottom: 4px; }
.page h2 { font-size: 19px; margin-top: 28px; }
.page ul { list-style: disc; padding-left: 22px; }
.page li { margin: 4px 0; }
.page footer { margin-top: 40px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.cta { display: inline-block; margin: 12px 0; padding: 8px 18px; border-radius: 8px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; }
.shared-tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted); vertical-align: middle; }
.share-controls { display: inline-flex; align-items: center; gap: 8px; }
.share-controls .toggle { margin-right: 0; }
.share-note { font-size: 12px; max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
