/* Birga Pass — solid content only (no glass), scoped under .bp, built on the shell's tokens.
   One tint: the accent marks the progress and the primary chip-in. No colour-mixing functions (old WebViews). */

.bp .bp-card { margin-top: 0; }
.bp .bp-card > * + * { margin-top: 10px; }
.bp .bp-card > .card-sub { margin-top: 2px; }

.bp-p { margin: 0; font-size: 15px; line-height: 1.4; color: var(--text); overflow-wrap: anywhere; }
.bp-strong { font-weight: 600; }
.bp-meta { font-size: 14px; color: var(--subtitle); }
.bp-mine { font-size: 14px; font-weight: 600; color: var(--accent); }
.bp-hint { font-size: 13px; color: var(--hint); }
.bp-promise { font-size: 13px; color: var(--subtitle); }

.bp-progress { display: grid; gap: 8px; }
.bp-amount { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }

.bp-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.bp-chips .btn { flex: 1 1 120px; min-width: 0; }

.bp-how { font-size: 13px; font-weight: 600; color: var(--section-header); text-transform: uppercase;
          letter-spacing: 0.02em; }
.bp-steps, .bp-terms { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; line-height: 1.4; }
.bp-terms { padding: 12px 16px 12px 34px; color: var(--text); }
.bp-help { display: grid; gap: 10px; padding: 12px 16px; justify-items: start; }

/* the "show my name" switch (role=switch) */
.bp-switch-row { padding-right: 16px; }
.bp-switch {
  position: relative; flex: none; width: 51px; height: 31px; border-radius: 16px;
  background: rgb(var(--text-rgb) / 0.16); transition: background .2s ease;
}
.bp-switch::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 4px rgb(0 0 0 / .2); transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}
.bp-switch-row[aria-checked="true"] .bp-switch { background: var(--accent); }
.bp-switch-row[aria-checked="true"] .bp-switch::after { transform: translateX(20px); }

@media (prefers-reduced-motion: reduce) {
  .bp-switch, .bp-switch::after { transition: none; }
}
@media (prefers-contrast: more) {
  .bp-hint, .bp-promise, .bp-meta { color: var(--text); }
  .bp-switch { box-shadow: inset 0 0 0 1px var(--text); }
}
