.story-owned-chapters[hidden]{display:none!important}
.story-owned-chapters{width:100%;margin:24px 0;padding:20px;border:1px solid #c8d9cf;border-radius:18px;background:#edf6ef;color:#15332a;box-sizing:border-box}
.story-owned-chapters strong{display:block;font-size:18px}
.story-owned-chapters p{font-size:14px;line-height:1.5;margin:10px 0}
.story-owned-chapters a{display:block;width:fit-content;max-width:100%;min-height:44px;padding:12px 0;color:#07583e;font-size:16px;font-weight:700;box-sizing:border-box}
.story-owned-chapters a:focus-visible{outline:2px solid #07583e;outline-offset:3px}
/* Public offer. Kept separate from the free chapter launch button. */
.story-purchase-offer[hidden],.story-sale-secondary[hidden]{display:none!important}
.story-purchase-offer{display:flex;flex-direction:column;gap:10px;margin:18px 0 24px;padding:20px;border:1px solid #a8c8b2;border-radius:19px;background:#f4f8ee;color:#173c2a;box-shadow:0 7px 24px #163a2411;max-width:100%;box-sizing:border-box}
.story-sale-kicker{font-size:10px;line-height:1.4;font-weight:900;letter-spacing:1.6px;color:#32715b}
.story-sale-title{font-size:clamp(20px,4.2vw,26px);line-height:1.2;letter-spacing:-.35px;color:#173c2a}
.story-sale-description{margin:0;color:#36584b;font-size:15px;line-height:1.55}
.story-sale-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.story-purchase-offer .story-sale-action{display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:50px;padding:12px 18px;border-radius:12px;background:#ffcf38;color:#15332a;font-weight:900;font-size:15px;text-decoration:none;box-shadow:0 2px 0 #d2ac31}
.story-purchase-offer .story-sale-secondary{padding:12px;font-weight:800;color:#07583e;min-height:44px;text-decoration:underline}
.story-purchase-offer .story-sale-action:focus-visible,.story-purchase-offer .story-sale-secondary:focus-visible{outline:3px solid #117a55;outline-offset:3px}
.story-purchase-offer .story-sale-disclosure{font-size:12px;line-height:1.55;color:#63796c;margin:2px 0 0}
.story-purchase-offer.is-owned{background:#e5f4e7;border-color:#8fc4a6}
@media(max-width:480px){.story-purchase-offer{padding:16px;border-radius:16px}.story-sale-actions{display:block}.story-purchase-offer .story-sale-action{width:100%}.story-purchase-offer .story-sale-secondary{display:block;text-align:center}}

/* The details view shows the pack offer before the two free Chapter 1 routes. */
#loveDetails .story-purchase-offer{margin:14px 0 20px}
