/* BeginThings x Google "Add to preferred sources" (prefsource-r1, 22 Oct 2026).
   Uses the reader (--rh-*) and shell (--bts-*) tokens, so it follows the light/dark theme. */
.bt-ps{margin:2.5rem 0 0;padding:16px 18px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px;
  border:1px solid var(--rh-line,#344052);border-left:3px solid #6842b5;border-radius:8px;background:var(--rh-surface,#111824);color:var(--rh-text,#f0f3f8)}
.bt-ps-copy{flex:1 1 260px;min-width:0}
.bt-ps-title{display:block;margin:0;font-size:16px;line-height:1.35;font-weight:650;letter-spacing:-.01em;color:var(--rh-text,#f0f3f8)}
.bt-ps-line{display:block;margin:3px 0 0;font-size:14px;line-height:1.5;color:var(--rh-muted,#b2bdcd)}
.bt-ps-act{flex:0 0 auto;display:flex;align-items:center;min-height:44px;max-width:100%}
.bt-ps-act [google-add-preferred-source-btn]{display:inline-block;max-width:100%}
.bt-ps-act [google-add-preferred-source-btn][hidden]{display:none}
.rh-reader .bt-ps a.bt-ps-link,.bt-ps-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 16px;border-radius:999px;
  border:1px solid #6842b5;color:var(--rh-text,#f0f3f8);background:transparent;font-size:14px;font-weight:600;text-decoration:none;line-height:1.3}
.bt-ps-link:hover{background:rgba(104,66,181,.14);text-decoration:none}
.bt-ps-link[hidden]{display:none!important}
/* Compact footer row. The shell resets every #bts-footer descendant with !important,
   inside @layer bts-shell; they live in the same layer with higher specificity. */
@layer bts-shell{
#bts-footer .bt-ps-foot{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:10px 20px!important;
  margin:4px 0 8px!important;padding:14px 0!important;border-top:1px solid var(--bts-border)!important}
#bts-footer .bt-ps-foot .bt-ps-copy{display:block!important;flex:1 1 220px!important;min-width:0!important}
#bts-footer .bt-ps-foot p.bt-ps-title{display:block!important;margin:0!important;color:var(--bts-fg)!important;font-size:13px!important;font-weight:650!important;line-height:1.5!important}
#bts-footer .bt-ps-foot p.bt-ps-line{display:block!important;margin:2px 0 0!important;color:var(--bts-muted)!important;font-size:12px!important;line-height:1.5!important}
#bts-footer .bt-ps-foot .bt-ps-act{display:flex!important;flex:0 0 auto!important;align-items:center!important;max-width:100%!important}
#bts-footer .bt-ps-foot [google-add-preferred-source-btn]{display:inline-block!important;max-width:100%!important}
#bts-footer .bt-ps-foot [google-add-preferred-source-btn][hidden]{display:none!important}
#bts-footer .bt-ps-foot a.bt-ps-link{color:var(--bts-fg)!important;border:1px solid #6842b5!important;border-radius:999px!important;padding:8px 14px!important;font-size:13px!important;font-weight:600!important;text-decoration-line:none!important}
}
@media (max-width:560px){.bt-ps{padding:14px}.bt-ps-act{width:100%}}
@media print{.bt-ps,.bt-ps-foot{display:none}}
.rh-reader .bt-ps p.bt-ps-title{margin:0;font-size:16px;line-height:1.35}
.rh-reader .bt-ps p.bt-ps-line{margin:3px 0 0;font-size:14px;line-height:1.5;color:var(--rh-muted,#b2bdcd)}
