/* ==========================================================================
   Previously Accounts chrome — pv-account.css · v20261013b (2026-10-12)
   Heart buttons, notification bell + dropdown, sign-in button / avatar,
   and the account page "Your likes" grid. Additive only: never restyles
   existing chrome.
   ========================================================================== */

/* Any element carrying like data becomes the heart's positioning context. */
[data-like-type] { position: relative; }

/* ---- heart overlay (top-right of the thumbnail) ---- */
.pv-heart {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 6;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(10, 10, 10, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.pv-heart svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.pv-heart[aria-pressed="true"] svg { fill: #e0245e; stroke: #e0245e; }
.pv-heart:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ---- account chrome cluster (bell + sign-in/avatar) ---- */
.pv-acct {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex: none;
}
.pvn-actions .pv-acct { margin-left: 6px; }

/* ---- bell ---- */
.pv-bellwrap { position: relative; display: inline-flex; }
.pv-bell {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(128, 128, 128, 0.35);
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.pv-bell svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.pv-bell-badge {
  position: absolute;
  top: 1px;
  right: 1px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius:4px;
  background: #e0245e;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
  pointer-events: none;
}
.pv-belldrop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  max-width: 82vw;
  max-height: 380px;
  overflow: auto;
  background: #fff;
  color: #161616;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  z-index: 80;
  text-align: left;
}
.pv-belldrop-head {
  display: block;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.pv-belldrop-list { display: block; padding: 6px; }
.pv-n {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
}
a.pv-n:hover { background: rgba(0, 0, 0, 0.04); }
.pv-n + .pv-n { border-top: 1px solid rgba(0, 0, 0, 0.05); }
.pv-n-title { display: block; font-weight: 600; font-size: 13.5px; line-height: 1.35; }
.pv-n-body { display: block; font-size: 13px; opacity: 0.75; margin-top: 2px; line-height: 1.4; }
.pv-n-time { display: block; font-size: 11.5px; opacity: 0.55; margin-top: 3px; }
.pv-belldrop-empty {
  display: block;
  padding: 20px 14px;
  font-size: 13.5px;
  opacity: 0.65;
  text-align: center;
}

/* ---- sign-in / avatar ---- */
/* Bible ghost pill (James, 2026-10-12): the black pill didn't fit the design.
   Ink outline on cream, uppercase Bible sans; fills ink on hover. */
.pv-signin {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 18px;
  border-radius:4px;
  background: transparent;
  color: var(--bible-ink, #211910);
  border: 1.5px solid var(--bible-ink, #211910);
  font-family: var(--bible-sans, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.pv-signin:hover { background: var(--bible-ink, #211910); color: var(--bible-bg, #FAF6EE); text-decoration: none; opacity: 1; }
/* Sign-up door (2026-10-15 discoverability fix): the combined ghost
   link was too easy to miss, so new visitors get a filled brick button
   with the words on it, beside the Sign in link. Colors are pinned on
   the class itself so it reads identically in light and dark schemes
   (cream #FAF6EE on brick #C0391B = 5.0:1). */
.pv-signup {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 18px;
  border-radius: 4px;
  background: var(--bible-red, #C0391B);
  color: #FAF6EE;
  border: 1.5px solid var(--bible-red, #C0391B);
  font-family: var(--bible-sans, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.pv-signup:hover { background: #A93218; border-color: #A93218; color: #FAF6EE; text-decoration: none; }
/* Paint pin (2026-10-15, same fix): page-level anchor rules (homepage
   a{color:var(--hp-accent)}, theme blocks) were repainting the button's
   TEXT — measured as low as 1.63:1. The CTA's two paint properties are
   pinned at cluster specificity so no page sheet can wash it out, in
   either color scheme. Literal brick, not the token: theme conversions
   may re-map --bible-red, the door stays #C0391B. */
.pv-acct a.pv-signup { background: #C0391B !important; color: #FAF6EE !important; }
.pv-acct a.pv-signup:hover { background: #A93218 !important; color: #FAF6EE !important; }
@media (max-width: 1200px) {
  .b-topbar__in .pv-signup { padding: 0 10px; }
}
/* Phone header (<=640px): wordmark + bell + the Sign up button carry
   the door; the Sign in text link yields so nothing crowds or clips
   (the button's page serves both new and returning people). */
@media (max-width: 640px) {
  .b-scope .b-m-head .pv-signin { display: none; }
  .b-scope .b-m-head .pv-signup { height: 34px; padding: 0 12px; font-size: 11px; letter-spacing: .08em; }
}
.pv-avatar {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--bible-red, #C0391B);
  color: #fff;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex: none;
}
.pv-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-avatar-init { font-weight: 700; font-size: 15px; }

/* ---- avatar drop-down menu (James, 2026-10-15) ----
   Package A panel: cream ground, ink text, Fraunces name in the head,
   brick-red hover/focus states. The panel pins its own colors through
   the Bible tokens (cream/ink pair) so it can never render light-on-
   light under a dark scheme — the same pinning discipline the bell
   drop uses. (The z-index below is nominal only — the open menu is
   portaled to <body>, see .pv-menu--fixed, because the sticky nav's
   stacking context is capped at z-index 50 and article heroes paint
   above everything inside it.) */
.pv-avatarwrap { position: relative; display: inline-flex; }
button.pv-avatar {
  border: 0; padding: 0; cursor: pointer; font: inherit;
  -webkit-tap-highlight-color: transparent;
}
button.pv-avatar:focus-visible { outline: 2px solid var(--bible-red, #C0391B); outline-offset: 2px; }
.pv-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 248px;
  max-width: 84vw;
  max-height: min(460px, calc(100vh - 90px));
  overflow-y: auto;
  padding: 6px;
  background: var(--bible-bg, #FAF6EE);
  color: var(--bible-ink, #211910);
  border: 1px solid rgba(128, 128, 128, 0.35);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  z-index: 1250;
  text-align: left;
}
.pv-menu[hidden] { display: none; }
/* Open state: the menu is portaled to <body> and fixed-positioned under
   the avatar button by pv-account.js. The sticky nav is a stacking
   context capped at z-index 50 and article heroes paint above it, so
   in-nav positioning can never clear a story hero; as a root-level
   fixed panel at z-index 3000 the menu renders above page content on
   every family. */
.pv-menu--fixed { position: fixed; right: auto; z-index: 3000; }
.pv-menu-head {
  display: block;
  padding: 10px 12px 9px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(128, 128, 128, 0.28);
}
.pv-menu-name {
  display: block;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}
.pv-menu-email {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  opacity: 0.62;
  overflow-wrap: anywhere;
}
.pv-menu-item {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: inherit;
  font-family: var(--bible-sans, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
a.pv-menu-item:hover, button.pv-menu-item:hover,
a.pv-menu-item:focus-visible, button.pv-menu-item:focus-visible {
  background: rgba(192, 57, 27, 0.09);
  color: var(--bible-red, #C0391B);
  text-decoration: none;
}
.pv-menu-item:focus-visible { outline: 2px solid var(--bible-red, #C0391B); outline-offset: -2px; }
.pv-menu-rule {
  display: block;
  height: 1px;
  margin: 5px 8px;
  background: rgba(128, 128, 128, 0.28);
}

/* ---- account page: "Your likes" grid ---- */
.pv-likes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 14px;
}
.pv-like-card { display: block; text-decoration: none; color: inherit; }
.pv-like-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  background: rgba(0, 0, 0, 0.06);
}
.pv-like-card .pv-like-t {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-top: 6px;
  line-height: 1.3;
}
.pv-like-card .pv-like-k {
  display: block;
  font-size: 11.5px;
  opacity: 0.6;
  margin-top: 2px;
  text-transform: capitalize;
}
.pv-like-noimg {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.07);
  font-size: 34px;
  font-weight: 700;
  opacity: 0.55;
}

/* ---- notifications: dismiss, clear all, bunches (2026-10-12) ---- */
.pv-belldrop-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pv-clearall {
  border: 0; background: none; padding: 2px 0; cursor: pointer;
  font: inherit; font-size: 12px; font-weight: 600; color: inherit;
  text-decoration: underline; text-underline-offset: 3px; opacity: 0.7;
  -webkit-tap-highlight-color: transparent;
}
.pv-clearall:hover { opacity: 1; }
.pv-n-row { display: flex; align-items: flex-start; border-radius: 10px; }
.pv-n-row:hover { background: rgba(0, 0, 0, 0.04); }
.pv-n-row + .pv-n-row, .pv-n-group + .pv-n-row,
.pv-n-row + .pv-n-group, .pv-n-group + .pv-n-group {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.pv-n-link { flex: 1 1 auto; min-width: 0; display: block; padding: 10px 2px 10px 12px; text-decoration: none; color: inherit; }
.pv-n-thumb { flex: none; width: 40px; height: 56px; object-fit: cover; border-radius: 6px; margin: 10px 0 10px 10px; background: rgba(0, 0, 0, 0.05); }
.pv-n-thumb + .pv-n-link { padding-left: 8px; }
.pv-n-x {
  flex: none; width: 30px; height: 30px; margin: 5px 5px 0 0;
  border: 0; border-radius: 4px; background: none; cursor: pointer;
  font-size: 16px; line-height: 1; color: inherit; opacity: 0.45; padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.pv-n-x:hover { opacity: 1; background: rgba(0, 0, 0, 0.06); }
.pv-n-gbtn {
  flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px;
  border: 0; background: none; cursor: pointer; text-align: left;
  padding: 10px 2px 10px 12px; font: inherit; color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.pv-n-gmain { flex: 1 1 auto; min-width: 0; }
.pv-n-chev {
  flex: none; width: 8px; height: 8px; margin-right: 4px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg); opacity: 0.55; transition: transform 0.15s ease;
}
.pv-n-gbtn[aria-expanded="true"] .pv-n-chev { transform: rotate(225deg); }
.pv-n-gitems { display: block; border-top: 1px solid rgba(0, 0, 0, 0.05); margin-left: 12px; }
.pv-n-gitems .pv-n-row + .pv-n-row { border-top: 1px solid rgba(0, 0, 0, 0.05); }

/* Homepage sign-up restore 2026-10-13: the wider "Sign in / Sign up" entry
   overflowed the Bible desktop topbar at laptop widths (content 1180px box;
   wordmark+dateline+nav+bell+button = ~1280px). Protect the account entry:
   it never shrinks, the dateline yields, gaps tighten. Desktop bar only. */
.b-topbar__in .pv-acct { flex: none; }
@media (max-width: 1600px) {
  .b-topbar__in .b-dateline { display: none; }
  .b-topbar__in { gap: 22px; }
  .b-topbar__in .b-topnav { gap: 16px; }
}
@media (max-width: 1200px) {
  .b-topbar__in { gap: 16px; }
  .b-topbar__in .b-topnav { gap: 12px; }
  .b-topbar__in .pv-signin { padding: 0 10px; }
}
/* Red stripe — brand staple, every page (2026-10-15 rollout) */
.unsub-wrap{border-top:14px solid #C0391B}

/* ---- anonymous save wall (James, 2026-10-15) ----
   Raised by pv-account.js when a signed-out visitor attempts a 4th
   on-device save. Package A panel: cream ground, ink text, Fraunces
   head, brick-red CTA. Colors are pinned on the card itself (the
   .pv-menu discipline) so it can never render light-on-light under a
   dark scheme. */
.pv-wall {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(16, 12, 8, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.pv-wall-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  box-sizing: border-box;
  background: var(--bible-bg, #FAF6EE);
  color: var(--bible-ink, #211910);
  border: 1px solid rgba(128, 128, 128, 0.35);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  padding: 26px 24px 22px;
  text-align: left;
  font-family: var(--bible-sans, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif);
}
.pv-wall-x {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 4px;
  background: none;
  font-size: 22px;
  line-height: 1;
  color: inherit;
  opacity: 0.55;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.pv-wall-x:hover { opacity: 1; }
.pv-wall-kick {
  margin: 0 0 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bible-red, #C0391B);
}
.pv-wall-h {
  margin: 0 0 8px;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
}
.pv-wall-p { margin: 0 0 18px; font-size: 15px; line-height: 1.45; }
.pv-wall-cta {
  display: block;
  text-align: center;
  padding: 12px 16px;
  border-radius: 4px;
  background: var(--bible-red, #C0391B);
  color: #FAF6EE;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.pv-wall-cta:hover { text-decoration: none; opacity: 0.92; }
.pv-wall-alt {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
