/* ORIVON Supporters: page components, the public "Supporter" badge and the admin tab.
   Loaded only by supporters.html, acknowledgements.html, collective/profile.html and collective/admin.html.
   Reuses the site's design tokens (see styles-*.css). No animation beyond colour changes. */

/* ---------- Supporter badge (same markup everywhere; text is always visible, never colour-only) ---------- */
.sup-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.22rem 0.7rem 0.22rem 0.55rem;
  border: 1px solid rgba(232, 176, 106, 0.55);
  border-radius: 999px;
  background: rgba(232, 176, 106, 0.1);
  color: var(--aurora-amber);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.05em; line-height: 1.2;
  white-space: nowrap; cursor: help;
}
.sup-badge svg { width: 13px; height: 13px; flex: none; }
.sup-badge-row { margin: 0.35rem 0 0.1rem; }

/* ---------- Support page ---------- */
.sup-lede { margin-top: 1.2rem; }
.sup-lede p { max-width: 62ch; font-size: 1.05rem; color: var(--silver); line-height: 1.75; }
.sup-lede p + p { margin-top: 0.9rem; }
.sup-note {
  display: flex; align-items: flex-start; gap: 0.8rem;
  margin-top: 2rem; padding: 1rem 1.25rem;
  border: 1px solid rgba(232, 176, 106, 0.4); border-left: 4px solid var(--aurora-amber);
  border-radius: var(--radius-md); background: rgba(232, 176, 106, 0.06);
  color: var(--polar-white); font-size: 1.02rem; line-height: 1.6; max-width: 62ch;
}
.sup-note svg { flex: none; width: 20px; height: 20px; margin-top: 0.15rem; color: var(--aurora-amber); }
.sup-note p { margin: 0; }
.sup-section-title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 0.6rem; }
.sup-section-intro { color: var(--silver); max-width: 60ch; margin: 0 0 1.6rem; }
.sup-cta { padding: 2.4rem 2rem; max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
.sup-cta .sup-section-title { margin: 0; }
.sup-cta p { margin: 0; color: var(--silver); line-height: 1.65; max-width: 46ch; }
.sup-cta .sup-pay-note { margin: 0.2rem 0 0; color: var(--polar-white-dim); }

/* Payment buttons: not .btn-primary/.btn-ghost (main.js makes those follow the cursor). Calm, colour-only hover. */
.btn.sup-btn {
  background: linear-gradient(135deg, var(--aurora-cyan), var(--aurora-cyan-dim)); color: var(--space-black);
  box-shadow: 0 8px 26px -10px rgba(79, 179, 192, 0.55);
  transition: filter 0.2s, box-shadow 0.2s;
}
.btn.sup-btn:hover { filter: brightness(1.08); box-shadow: 0 12px 30px -10px rgba(79, 179, 192, 0.7); }
.btn.sup-btn:focus-visible { outline: 2px solid var(--polar-white); outline-offset: 3px; }
/* Plain external links to the Ko-fi page (no scripts, widgets or iframes). */
.sup-pay-note { margin: 1.2rem 0 0; color: var(--polar-white-dim); font-size: 0.95rem; }
.sup-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.8rem; }
.sup-points li { position: relative; padding-left: 1.4rem; color: var(--polar-white-dim); line-height: 1.65; }
.sup-points li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--aurora-cyan); }

.sup-fund { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 2rem; margin: 0; padding: 0; list-style: none; }
.sup-fund li { position: relative; padding-left: 1.4rem; color: var(--polar-white-dim); line-height: 1.6; }
.sup-fund li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--aurora-cyan); }
.sup-thanks { margin: 0 0 1.2rem; padding: 0; list-style: none; display: grid; gap: 0.7rem; }
.sup-thanks li { position: relative; padding-left: 1.4rem; color: var(--polar-white-dim); line-height: 1.6; }
.sup-thanks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--aurora-amber); }
.sup-promise { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--polar-white); font-size: 1rem; line-height: 1.65; }
.sup-small { font-size: 0.85rem; color: var(--silver-2); line-height: 1.65; }

/* ---------- Acknowledgements page ---------- */
.sup-ack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; list-style: none; margin: 0; padding: 0; }
.sup-ack-card { padding: 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }
.sup-ack-head { display: flex; align-items: center; gap: 0.9rem; min-width: 0; }
.sup-ack-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--midnight-3); flex: none; }
.sup-ack-name { font-family: var(--font-display); font-size: 1.1rem; color: var(--polar-white); margin: 0; overflow-wrap: anywhere; }
.sup-ack-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: 0.85rem; }
.sup-ack-links a { color: var(--aurora-cyan); text-decoration: underline; text-underline-offset: 3px; }
.sup-ack-links a:hover { color: var(--polar-white); }
.sup-ack-state { padding: 2.2rem 1.6rem; text-align: center; }
.sup-ack-state p { margin: 0.4rem auto 0; max-width: 52ch; color: var(--silver); }
.sup-ack-state .sup-ack-title { color: var(--polar-white); font-family: var(--font-display); font-size: 1.15rem; margin: 0; }

/* ---------- Admin: Supporters tab ---------- */
.sup-admin-note { color: var(--silver); max-width: 66ch; margin: 0 0 1.4rem; }
.sup-admin-results { list-style: none; margin: 0.6rem 0 0; padding: 0; display: grid; gap: 0.4rem; }
.sup-admin-results li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.6rem 0.9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.sup-admin-check { display: flex; align-items: flex-start; gap: 0.6rem; margin: 0.6rem 0; }
.sup-admin-check input { margin-top: 0.3rem; }
.sup-admin-check small { display: block; color: var(--silver-2); }
.sup-admin-status { display: inline-block; padding: 0.1rem 0.55rem; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 0.72rem; color: var(--polar-white-dim); }
.sup-admin-status.is-active { border-color: rgba(79, 179, 192, 0.6); color: var(--aurora-cyan); }

@media (max-width: 960px) { .sup-ack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .sup-fund, .sup-ack-grid { grid-template-columns: 1fr; }
  .sup-cta { padding: 1.8rem 1.25rem; }
  .btn.sup-btn { white-space: normal; text-align: center; }
  .sup-admin-results li { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .btn.sup-btn { transition: none; } }
