/* Affiliate links (src/affiliate.js): nothing here applies while affiliate links are off (no
   element gets data-aff, no dialog is created). Uses the tokens of app.css. */
a[data-aff]::after {
  content: " · " attr(data-aff);
  font-weight: 400;
  font-size: .85em;
  opacity: .85;
}
.aff-dialog {
  width: min(440px, calc(100vw - 32px));
  box-sizing: border-box;
  border: 1px solid var(--line, #e7e3da);
  border-radius: 16px;
  padding: 20px;
  background: var(--surface, #fff);
  color: var(--ink, #18201e);
}
.aff-dialog::backdrop { background: rgb(0 0 0 / .35); }
.aff-dialog h2 { font-size: 1.1rem; margin: 0 0 8px; }
.aff-dialog p { margin: 0 0 10px; line-height: 1.5; }
.aff-dialog .aff-note { color: var(--muted, #5c6461); font-size: .9rem; }
.aff-dialog a { color: var(--sage, #2f6b4f); font-size: .9rem; }
/* Refuse and Accept: same size, same weight, side by side (CNIL: refusing as easy as accepting). */
.aff-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.aff-row .btn { width: 100%; }
