/* The shop on every page: the cart in the nav, the quiet buttons, the prices, the pass and the yearly, the picks,
   the reserve box with its waitlist, and the cart and thanks pages. */
.nav-cart-n { font-weight: 600; color: var(--accent-deep); }
.btn-quiet { background: var(--card); color: var(--accent-deep); border: 1.5px solid var(--accent); box-shadow: none; }
.btn-quiet:hover { background: #f1edff; color: var(--accent-deep); }
.btn-sm { font-size: .88rem; padding: 9px 16px; border-radius: 10px; }
.btn.is-added { background: #eef8f2; color: var(--angel); border-color: var(--angel); }
.btn-block + .btn-block { margin-top: 10px; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Prices: the later price struck through and small, today's price big. */
[data-price="was"], .pass-price s, .cart-was { color: var(--muted); font-weight: 400; font-size: .85em; margin-right: .2em; }
.book-buy { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: .2em 0 0; }
.book-p strong { font-size: 1.05rem; color: var(--ink); }

/* The pass: what you get on the left, the buy column on the right (stacked when narrow). The new-release tick is
   a one-click add-on inside it; the monthly plan opens only after "No thanks". */
.store-pass { border: 2px solid var(--accent); background: linear-gradient(160deg, #fffdf9 55%, #f3efff);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 28px 40px;
  padding: clamp(1.3em, 3vw, 2.2em); border-radius: 18px; }
.store-pass h2 { margin: 0 0 .25em; font-size: clamp(1.5rem, 3vw, 2rem); }
.pass-sub { margin: 0 0 1.1em; font-size: 1.08rem; color: var(--muted); }
.pass-gets { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: .75em; }
.pass-gets li { position: relative; padding-left: 1.9em; line-height: 1.45; }
.pass-gets li::before { content: "\2713"; position: absolute; left: 0; top: .05em; width: 1.3em; height: 1.3em; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: .8em; font-weight: 700; display: grid; place-items: center; }
.pass-buy { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.3em; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 12px; align-self: start; }
.pass-price { font-size: 1.15rem; margin: 0; text-align: center; }
.pass-price strong { font-family: "Fraunces", Georgia, serif; font-size: 2.4rem; color: var(--accent-deep); }
.pass-per { display: block; color: var(--muted); font-size: .92rem; }
.pass-up { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px dashed var(--gold); border-radius: 12px;
  background: #fffaf0; font-size: .9rem; line-height: 1.45; cursor: pointer; }
.pass-up:has(input:checked) { border-style: solid; background: #fdf3df; }
.pass-up input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent-deep); }
.pass-up b { color: var(--ink); }
.pass-cta, .pass-cart { width: 100%; text-align: center; }
.pass-cta { font-size: 1.08rem; padding-top: 15px; padding-bottom: 15px; }
.pass-buy .guarantee { margin: 0; font-size: .88rem; line-height: 1.5; color: var(--muted); text-align: center; }
@media (max-width: 560px) { .store-pass { padding: 1.1em; } .pass-buy { padding: 1em; } }
.pass-no { align-self: center; background: none; border: 0; padding: 6px 8px; font: inherit; font-size: .88rem; color: var(--muted);
  cursor: pointer; border-radius: 8px; }
.pass-no:hover, .pass-no:focus-visible { color: var(--ink); background: #f4f1ea; }
.store-note { font-size: .88rem; color: var(--muted); }
.pass-plan { padding: 1em 1.1em; border-radius: 12px; background: #f6f3ff; border: 1px solid #ddd5ff; font-size: .95rem; }
.pass-plan p { margin: 0 0 .6em; }
.pass-plan-k { font-weight: 700; color: var(--accent-deep); }
.pass-plan .btn { display: block; width: 100%; text-align: center; margin-top: .4em; }
.shelf-wrap > .store-pass { margin: 2.6em 0; }

/* A title not out yet: the date on top, the reserve button, then the waitlist. */
.buy-when { margin: 0 0 .4em; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .8rem; color: var(--gold); }
.waitlist { margin-top: 1.2em; padding-top: 1em; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.waitlist label { font-size: .92rem; color: var(--muted); }
.waitlist input { padding: .65em .8em; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 16px; }
.waitlist-ok { margin: 0; color: var(--angel); font-weight: 600; font-size: .92rem; }

/* Picks for this person's score: books like the shelf's, each marked under its title. */
.picks { margin: 2.2em 0; }
.picks-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 20px; }
.picks-list .pick { line-height: 1.45; display: flex; flex-direction: column; gap: .35em; }
.pick-a { display: flex; flex-direction: column; gap: .35em; text-decoration: none; color: var(--ink); }
.pick .cover { transition: transform .2s, box-shadow .2s; box-shadow: 0 2px 4px rgba(20, 8, 26, .16), 0 12px 26px -10px rgba(20, 8, 26, .42); }
.pick-a:hover .cover { transform: translateY(-3px); }
.pick .cover-t { font-size: clamp(.9rem, 1.4vw, 1.05rem); }
.pick-t { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: .95rem; line-height: 1.25; margin-top: .45em; }
.picks-list .pick-mark { margin: 0; display: flex; align-items: center; gap: 7px; font-size: .74rem; font-weight: 600; letter-spacing: .05em; color: var(--gold); }
.pick-mark::before { content: ""; width: 14px; height: 1px; background: currentColor; flex: none; }
.picks-list .pick-mark { margin-bottom: .45em; }
.picks-list .picks-why { grid-column: 1 / -1; margin-bottom: -.6em; font-size: .92rem; line-height: 1.45; color: var(--muted); }
.pick-add { margin-top: auto; align-self: flex-start; }

/* The cart page and the thanks page. */
.cart-lines { list-style: none; padding: 0; margin: 1.4em 0; border-top: 1px solid var(--line); }
.cart-line { display: flex; justify-content: space-between; align-items: center; gap: 1em; padding: .9em 0; border-bottom: 1px solid var(--line); }
.cart-line small { display: block; color: var(--muted); font-size: .85rem; }
.cart-x { background: none; border: none; color: var(--muted); cursor: pointer; font-size: .85rem; text-decoration: underline; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.2rem; font-weight: 600; margin: 0 0 1em; }
.cart-saved { color: var(--angel); font-size: .95rem; }
/* Her partner code in the cart (templates/cart.html, js/cart.js). */
.cart-code { border: 2px solid var(--accent-deep); border-radius: 10px; padding: .75em 1em; margin: 0 0 1em; font-size: 1rem; }
.cart-code p { margin: 0 0 .4em; }
.cart-code p:first-child { font-weight: 600; }
.cart-code-rule { color: var(--muted); font-size: .95rem; }
/* The box paints its own light card, so it brings its own ink: in the night locked-chapter dialog it took the dialog's pale
   words and read 1.2:1 (bud 2026-11-27). */
.upsell { margin: 1.8em 0; padding: 1.4em; border-radius: 14px; border: 2px solid var(--gold); background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.upsell h2, .upsell h3 { margin-top: 0; }
.yplan-price { font-size: 1.05rem; } .yplan-price strong { font-size: 1.3em; }   /* the yearly plan's one price line */
.second-offer h2 { margin-top: .6em; }
.second-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .5em; margin: 1em 0 .5em; }
/* The sticky buy bar: hidden until its page turns it on (a title's once its buy box has gone; the membership's from the top). */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(30, 20, 40, .12); visibility: hidden; transform: translateY(110%); transition: transform .25s ease; }
.sticky-buy.on { visibility: visible; transform: none; }
.sticky-t { flex: 1; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-p { white-space: nowrap; }
.sticky-p s { color: var(--muted); margin-right: .2em; }
.sticky-buy .btn { padding: 12px 22px; font-size: 1rem; }
/* The membership as the main offer (partials/membership_offer.html main, partials/membership_sticky.html). */
.membership-main { margin: 1.4em 0 2em; padding: 1.8em 1.6em; border-width: 3px; }
.membership-main h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.2; margin: .3em 0 .5em; }
.membership-main .second-inside { font-size: 1.05rem; line-height: 1.5; padding-left: 1.2em; }
.membership-main .second-inside li { margin-bottom: .45em; }
.membership-main .membership-notice { font-size: 1.15rem; font-weight: 600; margin: 1.2em 0 .2em; }
.membership-main .btn[data-second-yes] { font-size: 1.1rem; padding: 14px 30px; }
.membership-sticky { transition: none; }
.membership-sticky .sticky-t { display: block; white-space: normal; }
.membership-sticky .sticky-fail { flex-basis: 100%; font-size: .85rem; }
body:has(.membership-sticky.on) { padding-bottom: 96px; }
/* A title's cover (also on the store shelf) and the gold kicker line. */
.cover { position: relative; display: block; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: #2b1a33;
  box-shadow: 0 8px 24px rgba(40, 20, 60, .2); transition: transform .2s, box-shadow .2s; }
.cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cover::after { content: ""; position: absolute; inset: 0 0 30% 0; background: linear-gradient(rgba(30, 14, 38, .9), rgba(30, 14, 38, .62) 55%, rgba(30, 14, 38, 0)); }
.cover-w { position: absolute; top: 8%; left: 9%; right: 9%; z-index: 1; display: flex; flex-direction: column; gap: .45em;
  color: #f6ead6; text-align: center; }
.cover-k { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.cover-t { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.3rem); line-height: 1.15;
  text-shadow: 0 1px 8px rgba(20, 8, 26, .6); }
.cover-k { white-space: nowrap; }
.cover { container-type: inline-size; }
@container (max-width: 190px) { .cover-k { font-size: .7rem; letter-spacing: .02em; text-transform: none; } }
.store-banner-k { margin: 0; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; color: var(--gold-ink); }

/* The library strip on the funnel pages: picks, the pitch, a row of covers, the way in. */
.lib-strip { max-width: 1120px; margin: 2.6em auto; padding: 2.4em 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lib-strip > h2, .lib-strip > p, .lib-strip > .picks { max-width: calc(var(--maxw) - 44px); margin-left: auto; margin-right: auto; }
.lib-strip h2 { margin-top: .2em; margin-bottom: .5em; }
.lib-covers { list-style: none; padding: 0; margin: 2em 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px 22px; }
.lib-covers a { display: block; border-radius: 6px; box-shadow: 0 2px 4px rgba(20, 8, 26, .18), 0 14px 30px -10px rgba(20, 8, 26, .45);
  transition: transform .25s ease, box-shadow .25s ease; }
.lib-covers a:hover, .lib-covers a:focus-visible { transform: translateY(-5px) rotate(-.6deg);
  box-shadow: 0 4px 8px rgba(20, 8, 26, .2), 0 24px 40px -12px rgba(20, 8, 26, .55); }
.lib-covers .cover-a { display: none; }
.lib-go { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
/* The covers of the titles a member owns (members page, library page): each opens that title's player. */
.own-covers { list-style: none; padding: 0; margin: 1.2em 0 2em; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 24px 20px; }
.own-covers a { display: block; color: inherit; text-decoration: none; border-radius: 6px; transition: transform .25s ease; }
.own-covers a:hover, .own-covers a:focus-visible { transform: translateY(-4px); }
.own-covers .cover { box-shadow: 0 2px 4px rgba(20, 8, 26, .18), 0 14px 30px -10px rgba(20, 8, 26, .45); }
.own-covers .cover-t { font-size: clamp(.95rem, 1.5vw, 1.15rem); }
.own-meta { display: block; margin-top: .55em; font-size: .88rem; color: var(--muted); text-align: center; }

/* The quiet title card at the end of a report section (js/presell_page.js); the card itself is css/rec.css. */
.presell { margin: 1.6em 0 .6em; color: var(--muted); font-size: .95rem; font-style: normal; }
.presell .rec { margin: .7em 0 .4em; }
.presell-note { display: block; font-size: .8rem; }

@media (max-width: 560px) {
  .picks-list { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
  .lib-go .btn { width: 100%; }
  .lib-covers { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
  .own-covers { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
  .hero { padding-top: 14px; }
  .hero p.lede { font-size: 1.05rem; margin-bottom: 18px; }
}
/* bud 2026-11-23: "+ VAT where applicable" next to every price (partials/vat.html) */
.vat-note { display: block; font: 400 .75rem/1.3 Inter, system-ui, sans-serif; color: var(--muted); letter-spacing: 0; text-transform: none; white-space: normal; }
.sticky-p .vat-note, .book-p .vat-note { font-size: .7rem; }
.offer-price.hidden + .offer-vat { display: none; }
.offer-vat { margin: -12px 0 18px; }
/* The pass credit box (partials/pass_credit.html). */
.pass-credit { border: 2px solid var(--accent-deep); border-radius: 10px; padding: .8rem 1rem; margin: .8rem 0; font-size: 1rem; text-align: left; }
.pass-credit p { margin: 0 0 .5rem; }
.pass-credit-rule { color: var(--muted); }

/* A /go/ visitor on the shared /results/ page sees only the membership (templates/results.html sets html.from-go). */
html.from-go [data-not-go] { display: none !important; }
