/* Community layer: account button, dialogs, votes, pack buttons. Uses app.css tokens. */
.account-slot { display: inline-flex; }
.cm-account-btn {
  display: inline-flex; align-items: center; gap: 6px; max-width: 160px;
  background: var(--bg-surface); color: var(--text-main); border: 1px solid var(--border-subtle);
  border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}
.cm-account-btn:hover { border-color: var(--border-focus); background: var(--bg-surface-elevated); }
.cm-account-btn:focus-visible, .cm-primary:focus-visible, .cm-secondary:focus-visible, .cm-link:focus-visible,
.cm-vote-btn:focus-visible, .cm-pack-mini:focus-visible, .cm-close:focus-visible { outline: 3px solid var(--accent-gold, #f5c518); outline-offset: 2px; }
.cm-account-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .cm-account-label { display: none; } .cm-account-btn { padding: 8px 10px; } }

.team-deck-header .team-deck-badge { margin-left: auto; }
.cm-pack-mini {
  margin-left: 8px; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; font-size: 16px; line-height: 1; cursor: pointer;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border-subtle); color: var(--text-main);
}
.cm-pack-mini:hover { background: var(--accent-gold, #f5c518); border-color: var(--accent-gold, #f5c518); }

/* dialog */
.cm-backdrop {
  position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 16px;
  background: rgba(3, 6, 12, 0.72); backdrop-filter: blur(4px);
}
.cm-dialog {
  position: relative; width: min(420px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  background: var(--bg-surface); color: var(--text-main); border: 1px solid var(--border-focus);
  border-radius: 18px; padding: 24px 22px 20px; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}
.cm-title { margin: 0 32px 14px 0; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
.cm-close {
  position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
  background: transparent; color: var(--text-muted); border: 1px solid var(--border-subtle); font-size: 14px;
}
.cm-form { display: grid; gap: 12px; }
.cm-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--text-muted); }
.cm-form small { font-weight: 500; color: var(--text-dim); }
.cm-form input, .cm-link-input {
  width: 100%; padding: 11px 12px; border-radius: 10px; font: inherit; font-size: 15px;
  background: var(--bg-main); color: var(--text-main); border: 1px solid var(--border-subtle);
}
.cm-form input:focus, .cm-link-input:focus { outline: none; border-color: var(--accent-emerald); box-shadow: 0 0 0 3px var(--accent-emerald-surface); }
.cm-form input:disabled { opacity: 0.6; }
.cm-primary, .cm-secondary {
  padding: 12px 18px; border-radius: 12px; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; border: 1.5px solid var(--accent-emerald);
}
.cm-primary { background: var(--accent-emerald); color: #04140c; }
.cm-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.cm-secondary { background: transparent; color: var(--text-main); border-color: var(--border-focus); }
.cm-link { background: none; border: 0; color: var(--text-muted); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; padding: 6px 0; justify-self: start; }
.cm-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.cm-note { margin: 12px 0 0; color: var(--text-muted); font-size: 13px; line-height: 1.45; }
.cm-nick, .cm-pack-club { margin: 0 0 12px; font-size: 1rem; }
.cm-msg { min-height: 1.2em; margin: 12px 0 0; font-size: 13px; font-weight: 700; color: var(--accent-emerald); }
.cm-msg.bad, .cm-vote-msg.bad { color: var(--accent-crimson); }

/* votes in the card modal */
.cm-vote-block {
  margin: 16px 0 4px; padding: 14px 16px; border-radius: 14px;
  background: var(--bg-main); border: 1px solid var(--border-subtle);
}
.cm-vote-block[hidden] { display: none; }
.cm-vote-q { margin: 0 0 10px; font-size: 0.95rem; font-weight: 800; }
.cm-vote-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.cm-vote-btn {
  padding: 11px 10px; border-radius: 12px; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer;
  background: var(--bg-surface-elevated); color: var(--text-main); border: 1.5px solid var(--border-subtle);
}
.cm-vote-btn:hover { border-color: var(--border-focus); }
.cm-vote-btn.up.on { background: var(--accent-emerald-surface); border-color: var(--accent-emerald); color: #9cf0cb; }
.cm-vote-btn.down.on { background: var(--accent-crimson-surface); border-color: var(--accent-crimson); color: #ffc9c2; }
.cm-result { display: grid; grid-template-columns: minmax(90px, 1fr) minmax(60px, 1.4fr); gap: 4px 10px; align-items: center; margin: 6px 0; font-size: 12.5px; }
.cm-result-label { font-weight: 800; color: var(--text-main); }
.cm-result-text { grid-column: 1 / -1; color: var(--text-muted); }
.cm-bar { display: block; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.cm-bar i { display: block; height: 100%; background: var(--accent-emerald); border-radius: inherit; }
.cm-vote-msg { min-height: 1.2em; margin: 8px 0 0; font-size: 12.5px; font-weight: 700; color: var(--accent-emerald); }
.cm-vote-summaries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cm-vote-summaries .cm-result { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 3px; margin: 0; }
.cm-vote-summaries .cm-result-label { font-size: 12px; }
.cm-vote-summaries .cm-result-text { font-size: 11.5px; line-height: 1.5; }
.cm-vote-msg:empty { display: none; }
.modal-detail-body .cm-vote-block { display: flex; flex: 1 0 auto; flex-direction: column; justify-content: space-between; gap: 14px; margin: 0; padding: 16px 12px; }
.modal-detail-body .cm-vote-q, .modal-detail-body .cm-vote-btns { margin: 0; }
.modal-detail-body .cm-vote-block[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .cm-backdrop { backdrop-filter: none; } }

/* profile dialog */
.cm-dialog.cm-wide { width: min(640px, 100%); }
.account-slot .slang-avatar, .cm-hero-avatar .slang-avatar { display: block; border-radius: 50%; }
.cm-account-btn { padding-left: 6px; }
.cm-tabs { display: flex; gap: 6px; margin: 0 0 14px; border-bottom: 1px solid var(--border-subtle); }
.cm-tab { background: none; border: 0; border-bottom: 3px solid transparent; color: var(--text-muted); font: inherit; font-size: 14px; font-weight: 800; padding: 8px 12px; cursor: pointer; }
.cm-tab.on { color: var(--text-main); border-bottom-color: var(--accent-emerald); }
.cm-tab:focus-visible, .cm-chip:focus-visible, .cm-pick:focus-visible, .cm-opt:focus-visible, .cm-pred-pill:focus-visible { outline: 3px solid var(--accent-gold, #f5c518); outline-offset: 2px; }
.cm-hero { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.cm-hero-text { display: grid; gap: 2px; justify-items: start; }
.cm-hero-nick { font-size: 1.25rem; }
.cm-hero-club { color: var(--text-muted); font-size: 0.9rem; }
.cm-picker { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 12px; }
.cm-pick { padding: 3px; border-radius: 50%; border: 2px solid transparent; background: transparent; cursor: pointer; }
.cm-pick.on { border-color: var(--accent-gold, #f5c518); }
.cm-pick:hover { border-color: var(--border-focus); }
.cm-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 14px 0 6px; }
.cm-stat { background: var(--bg-main); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; }
.cm-stat-label { font-size: 12px; font-weight: 800; color: var(--text-muted); }
.cm-stat b { font-size: 1.5rem; line-height: 1.1; }
.cm-stat small { color: var(--text-muted); font-size: 12px; line-height: 1.35; }
.cm-h3 { margin: 16px 0 8px; font-size: 1rem; font-weight: 800; }
.cm-h4 { margin: 8px 0 2px; font-size: 0.85rem; font-weight: 800; color: var(--text-muted); }
.cm-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.cm-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; background: var(--accent-gold-glow, rgba(245, 197, 24,.2)); border: 1px solid rgba(245, 197, 24,.4); }
.cm-club-form { margin-top: 16px; }

/* predictions */
.cm-questions { display: grid; gap: 12px; margin: 10px 0; }
.cm-q { margin: 0; padding: 12px; border: 1px solid var(--border-subtle); border-radius: 14px; background: var(--bg-main); min-width: 0; }
.cm-q legend { padding: 0 6px; font-weight: 800; font-size: 0.95rem; }
.cm-q-tag { margin: 0 0 8px; color: var(--text-muted); font-size: 12.5px; }
.cm-opts { display: grid; gap: 6px; }
.cm-opt { display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left; padding: 9px 12px; border-radius: 10px; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; background: var(--bg-surface-elevated); color: var(--text-main); border: 1.5px solid var(--border-subtle); }
.cm-opt:disabled { cursor: default; opacity: 0.9; }
.cm-opt:not(:disabled):hover { border-color: var(--border-focus); }
.cm-opt.on { border-color: var(--accent-emerald); background: var(--accent-emerald-surface); }
.cm-opt.win { box-shadow: inset 0 0 0 2px var(--accent-gold, #f5c518); }
.cm-opt-pct { color: var(--text-muted); font-size: 12px; }
.cm-q-result { margin: 8px 0 0; font-size: 12.5px; font-weight: 800; color: var(--text-muted); }
.cm-q-result.ok, .cm-feed-status.ok, .cm-reward { color: var(--accent-emerald); }
.cm-pred-pill { margin-right: 8px; padding: 7px 12px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; color: #1a1203; background: var(--accent-gold, #f5c518); border: 0; animation: cm-pulse 2.4s ease-in-out infinite; }
@keyframes cm-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(245, 197, 24,.5); } 50% { box-shadow: 0 0 0 7px rgba(245, 197, 24,0); } }
@media (prefers-reduced-motion: reduce) { .cm-pred-pill { animation: none; } }
@media (max-width: 480px) { .cm-pred-pill { padding: 7px 9px; font-size: 12px; } }

/* feed */
.cm-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.cm-chip { padding: 6px 12px; border-radius: 999px; font: inherit; font-size: 12.5px; font-weight: 800; cursor: pointer; color: var(--text-muted); background: transparent; border: 1px solid var(--border-subtle); }
.cm-chip.on { color: var(--text-main); border-color: var(--accent-emerald); background: var(--accent-emerald-surface); }
.cm-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cm-feed-item { display: flex; gap: 10px; padding: 10px 12px; border: 1px solid var(--border-subtle); border-radius: 12px; background: var(--bg-main); font-size: 13px; line-height: 1.45; }
.cm-feed-ico { font-size: 1.3rem; line-height: 1.2; }
.cm-feed-time { display: block; margin-top: 4px; color: var(--text-dim); font-size: 11.5px; }
@media (max-width: 480px) { .cm-stats { grid-template-columns: 1fr 1fr; } .cm-hero-avatar .slang-avatar { width: 60px; height: 60px; } }
.cm-dialog { overflow-x: hidden; } .cm-dialog * { min-width: 0; }

/* predictions, visual version */
.cm-progress { display: flex; align-items: center; gap: 6px; margin: 4px 0 2px; }
.cm-progress i { flex: 1; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); }
.cm-progress i.on { background: var(--accent-emerald); }
.cm-progress span { font-size: 12px; font-weight: 800; color: var(--text-muted); min-width: 28px; text-align: right; }
.cm-q { --q: var(--accent-emerald); padding: 0 0 12px; overflow: hidden; background: linear-gradient(180deg, color-mix(in srgb, var(--q) 14%, var(--bg-main)) 0%, var(--bg-main) 70px); border-color: color-mix(in srgb, var(--q) 35%, var(--border-subtle)); }
.cm-q.tone-n { --q: var(--accent-crimson); }
.cm-q > .cm-q-head { float: left; width: 100%; display: flex; align-items: flex-start; gap: 12px; padding: 18px 14px 16px; margin: 0; box-sizing: border-box; }
.cm-q-head + .cm-opts { clear: both; }
.cm-q-emoji { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-size: 26px; background: color-mix(in srgb, var(--q) 22%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--q) 50%, transparent); }
.cm-q-titles { display: grid; gap: 8px; min-width: 0; }
.cm-q-titles b { font-size: 1rem; line-height: 1.35; }
.cm-q-titles small { color: var(--text-muted); font-size: 12px; line-height: 1.5; font-weight: 500; }
.cm-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; padding: 0 12px; }
.cm-opt { position: relative; flex-direction: column; justify-content: flex-start; align-items: center; text-align: center; gap: 3px; padding: 12px 8px 10px; overflow: hidden; }
.cm-opt:not(:disabled):hover { transform: translateY(-2px); border-color: var(--q); }
.cm-opt.on { border-color: var(--q); background: color-mix(in srgb, var(--q) 16%, var(--bg-surface-elevated)); box-shadow: 0 0 0 1px var(--q); }
.cm-opt.lost { opacity: 0.6; }
.cm-opt-photo { position: relative; width: 58px; height: 58px; border-radius: 50%; background: #08150f; box-shadow: 0 0 0 2px color-mix(in srgb, var(--q) 60%, transparent); }
.cm-opt-photo > img:first-child { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.cm-opt-crest { position: absolute; right: -6px; bottom: -4px; width: 24px; height: 24px; object-fit: contain; background: #08150f; border-radius: 50%; padding: 2px; box-shadow: 0 0 0 1px var(--border-subtle); }
.cm-opt-unknown { display: grid; place-items: center; font-size: 28px; font-weight: 900; color: var(--text-muted); }
.cm-opt-name { font-size: 12.5px; line-height: 1.25; font-weight: 800; overflow-wrap: anywhere; }
.cm-opt-team { font-size: 11px; line-height: 1.2; color: var(--text-muted); font-weight: 600; }
.cm-opt-check { position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%; display: none; place-items: center; font-size: 12px; font-weight: 900; color: #04140c; background: var(--q); }
.cm-opt.on .cm-opt-check { display: grid; }
.cm-opt-bar { align-self: stretch; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); margin-top: 4px; overflow: hidden; }
.cm-opt-bar i { display: block; height: 100%; background: var(--q); }
.cm-opt-pct { font-size: 11.5px; color: var(--text-muted); font-weight: 800; }
.cm-opt.win { box-shadow: 0 0 0 2px var(--accent-gold, #f5c518); background: color-mix(in srgb, var(--accent-gold, #f5c518) 14%, var(--bg-surface-elevated)); }
.cm-q-result { margin: 10px 14px 0; }
@media (max-width: 480px) { .cm-opts { grid-template-columns: repeat(2, 1fr); } }
.cm-opt-photo::before { content: '👤'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 26px; opacity: 0.35; }
.cm-opt-photo > img:first-child { position: relative; }
.cm-opt[data-key=other] { grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: 10px; padding: 8px 12px; }
.cm-opt[data-key=other] .cm-opt-photo { width: 34px; height: 34px; }
.cm-opt[data-key=other] .cm-opt-unknown { font-size: 20px; }
.cm-opt[data-key=other] .cm-opt-unknown::before { content: none; }

/* points, tier, public switch */
.cm-points { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 12px 0 8px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--border-subtle); background: linear-gradient(135deg, color-mix(in srgb, var(--accent-gold, #f5c518) 14%, var(--bg-main)), var(--bg-main)); }
.cm-points-main { display: grid; gap: 2px; }
.cm-points-main b { font-size: 1.9rem; line-height: 1.05; }
.cm-points small, .cm-points-rank small { color: var(--text-muted); font-size: 12px; }
.cm-points-rank { display: grid; gap: 6px; justify-items: end; text-align: right; }
.cm-tier { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 900; color: #1a1203; }
.cm-tier.tier-gold { background: linear-gradient(135deg, #f5c542, #fff1b0); }
.cm-tier.tier-silver { background: linear-gradient(135deg, #c9d1dc, #ffffff); }
.cm-tier.tier-bronze { background: linear-gradient(135deg, #cd7f32, #f3c79a); }
.cm-switch { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-weight: 800; font-size: 14px; cursor: pointer; }
.cm-switch input { width: 20px; height: 20px; accent-color: var(--accent-emerald); }

/* Tribune tab */
.fan-view { margin: 8px 0 32px; }
.fan-view[hidden] { display: none; }
.fan-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.fan-h3 { margin: 28px 0 10px; font-size: 1.1rem; font-weight: 800; }
.fan-grid { margin-top: 6px; }
.fan-leaders { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.fan-club { border: 1px solid var(--border-subtle); background: var(--bg-surface); border-radius: 14px; padding: 12px 14px; }
.fan-club h4 { margin: 0 0 8px; font-size: 0.95rem; }
.fan-club ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fan-leader { display: flex; align-items: center; gap: 10px; }
.fan-leader b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.9rem; }
.fan-hidden { color: var(--text-muted); font-weight: 600; }
.fan-av { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; font-size: 26px; }
.fan-av .slang-avatar { display: block; border-radius: 50%; }
.fan-pts { font-size: 12.5px; font-weight: 800; color: var(--text-muted); }
.fan-war { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: war; }
.fan-war li { counter-increment: war; display: grid; grid-template-columns: minmax(110px, 1.2fr) minmax(80px, 2fr) auto; align-items: center; gap: 12px; font-size: 13px; }
.fan-war-name { font-weight: 800; }
.fan-war-bar { display: block; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.fan-war-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-emerald), var(--accent-gold, #f5c518)); }
.fan-war-meta { color: var(--text-muted); font-size: 12px; white-space: nowrap; }
@media (max-width: 640px) { .fan-war li { grid-template-columns: 1fr; gap: 4px; } }
.scope-tabs { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }


/* Social Login & OAuth Styles */
.cm-oauth-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.cm-oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #141c26;
  color: #fff;
}
.cm-oauth-btn:hover {
  background: #1a2533;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}
.cm-oauth-apple {
  background: #000;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.cm-oauth-apple:hover {
  background: #111;
}
.cm-oauth-google {
  background: #ffffff;
  color: #1f2937;
  border-color: #d1d5db;
}
.cm-oauth-google:hover {
  background: #f3f4f6;
}
.cm-oauth-twitter {
  background: #0f1419;
  color: #fff;
}
.cm-separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 14px 0 16px 0;
  color: #64748b;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cm-separator::before,
.cm-separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cm-separator span {
  padding: 0 10px;
}

/* sign-in providers, consent, account actions */
.cm-or { display: flex; align-items: center; gap: 10px; margin: 14px 0 10px; color: var(--text-muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.cm-or::before, .cm-or::after { content: ""; flex: 1; height: 1px; background: var(--border-subtle); }
.cm-social { display: grid; gap: 8px; }
.cm-social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 14px; border-radius: 12px; font-size: 14px; font-weight: 800; text-decoration: none; border: 1.5px solid var(--border-focus); background: var(--bg-main); color: var(--text-main); }
.cm-social-btn:hover { border-color: var(--text-main); }
.cm-social-btn.provider-apple { background: #000; color: #fff; border-color: #000; }
.cm-social-btn.provider-google { background: #fff; color: #1f1f1f; border-color: #dadce0; }
.cm-social-btn.provider-x { background: #0f1419; color: #fff; border-color: #2f3336; }
.cm-social-btn:focus-visible { outline: 3px solid var(--accent-gold, #f5c518); outline-offset: 2px; }
.cm-consent a { color: var(--accent-emerald); }
.cm-linked { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.cm-account-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.cm-danger, .cm-danger-text { color: var(--accent-crimson); }
.cm-danger-btn { background: var(--accent-crimson); border-color: var(--accent-crimson); color: #fff; }
.cm-legal-links { margin-top: 8px; font-size: 13px; }
.cm-legal-links a { color: var(--text-muted); }
.cm-report { margin-left: 6px; background: none; border: 0; color: var(--text-dim); cursor: pointer; font-size: 13px; padding: 2px 4px; border-radius: 6px; }
.cm-report:hover, .cm-report:focus-visible { color: var(--accent-crimson); outline: none; }
.cm-form select { width: 100%; padding: 11px 12px; border-radius: 10px; font: inherit; font-size: 15px; background: var(--bg-main); color: var(--text-main); border: 1px solid var(--border-subtle); }

/* The little counters on the scope tabs were inconsistent ("9 lig" on one tab, a dash on another, nothing on the rest): none of them carries information a person needs. */
.scope-tab .tab-count { display: none; }

/* Sign-in options not configured on the server: still visible, visibly inactive, and they explain themselves on click. */
.cm-social-btn.is-off { opacity: 0.6; cursor: pointer; font-family: inherit; width: 100%; }
.cm-social-btn.is-off:hover { opacity: 0.85; }
button.cm-social-btn { appearance: none; -webkit-appearance: none; }
.cm-boast-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}.cm-boast-link{color:var(--accent,#b9ff70);font-size:13px}.cm-boast-actions [hidden]{display:none}
