dialog:has(.story-details),dialog:has(.membership-checkout){max-width:1040px;background:#101116;border:1px solid #ffffff20;box-shadow:0 30px 100px #0009}
.story-details{grid-template-columns:minmax(200px,.75fr) minmax(0,1.35fr);gap:40px;padding:44px;background:radial-gradient(ellipse at 0 0,#ff315a13,transparent 60%),#101116}
.details-cover{border:1px solid #ffffff18;border-radius:18px;max-height:520px;object-fit:cover}
.details-brand{display:inline-flex;align-items:center;gap:9px;font-size:12px;font-weight:700;letter-spacing:.5px;color:#e4e2e9}
.details-brand img{width:28px;height:28px;border-radius:8px}
.details-copy h2{font-size:clamp(24px,2.8vw,34px);letter-spacing:-.6px;line-height:1.4;margin:16px 0}
.details-facts{gap:8px;margin-bottom:24px}.details-facts span{border-radius:30px;padding:6px 12px;background:#ffffff07}
.synopsis-section h3{font-size:12px;color:#eee;margin:0 0 8px;font-weight:600}
.story-synopsis{margin:0;color:#b6b5c0;font-size:14px;line-height:1.9;max-height:210px;scrollbar-width:thin}
.synopsis-section:empty{display:none}
.details-actions{gap:10px;margin:24px 0 0;align-items:center}
.details-actions .primary{box-shadow:0 8px 25px #ff315a20;padding:15px 25px}
.details-actions .secondary{padding:13px 18px;font-size:12px}
.details-actions .story-permalink{background:none;border:none;color:#a9a7b4;padding-left:0;flex-basis:100%;min-height:40px;text-decoration:underline;text-underline-offset:4px}
.details-access{margin:10px 0 0;border:0;padding:10px 0 0;font-size:12px;color:#d3bdc5}
.membership-checkout{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);background:#101116}
.checkout-story{padding:40px 30px;background:radial-gradient(ellipse at top left,#ff315a18,transparent 70%),#14151c;border-right:1px solid #ffffff0d;overflow:hidden}
.package-brandmarks{display:flex;gap:8px;margin-bottom:24px}.package-brandmarks img{width:38px;height:38px;border-radius:11px;border:1px solid #ffffff20;object-fit:cover}
.checkout-story h2{font-size:34px;line-height:1.35;letter-spacing:-.8px;margin:16px 0}
.checkout-story>p{font-size:13px;color:#b4aebc;line-height:1.8}
.checkout-story .membership-posters{margin-top:28px;gap:10px}.checkout-story .membership-posters img{border-radius:10px}
.package-benefits{display:grid;gap:12px;border-top:1px solid #ffffff12;margin-top:28px;padding-top:24px;font-size:12px;color:#c7c5ce}
.checkout-context{display:grid;grid-template-columns:72px 1fr;gap:15px;align-items:center}.checkout-context .story-cover{width:72px;height:108px;float:none;margin:0;border-radius:10px}.checkout-context h2{font-size:26px;margin:9px 0}.checkout-context h3{font-size:13px;line-height:1.6;margin:0;color:#c9c4d1}.checkout-context .eyebrow{font-size:9px}
.checkout-options{padding:40px 34px}.checkout-options>h2{margin:10px 0 8px;font-size:30px;letter-spacing:-.6px}
.checkout-options .duration-label{font-size:13px;color:#aaa6b5;margin:0 0 20px}
.checkout-options .duration-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.checkout-options .duration,.checkout-options .duration:last-child{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;padding:15px 17px;min-height:110px;border:1px solid #ffffff17;border-radius:14px;background:#191b23;text-align:left}
.checkout-options .duration.active{padding:14px 16px;border:2px solid #ff416b;background:linear-gradient(135deg,#ff315a18,#ff315a06)}
.checkout-options .duration>span{font-size:12px;color:#c6c2cd}.checkout-options .duration strong{font-size:27px;line-height:1.3}.checkout-options .duration small{font-size:10px;color:#9993a5}.checkout-options .duration.active small{color:#ffb6c7}
.annual-saving{font-size:11px;color:#b0e6c6;background:#1b3b2d55;padding:10px;border-radius:8px}
.checkout-options .expiry-list{margin:18px 0 0;padding:0;background:none;border:0}.checkout-options .expiry-list p{margin:8px 0;gap:3px}.checkout-options .expiry-list strong{font-size:11px}.checkout-options .expiry-list span{font-size:11px;line-height:1.6}
.purchase-submit{margin-top:18px}.purchase-submit .summary-line{border-top:1px solid #ffffff18;padding:17px 0 14px}.purchase-submit .summary-line span{font-size:12px;color:#c2bac9}.purchase-submit .summary-line strong{font-size:30px}.purchase-submit .confirm-membership{width:100%;min-height:50px;margin:0}.purchase-submit .demo-disclaimer{text-align:center;font-size:10px;margin:9px 0;color:#a49aaa}
.checkout-options .upgrade-link{margin:10px 0;font-size:12px;min-height:44px;width:100%;border:1px solid #ffffff17;border-radius:12px;background:#ffffff04}
.package-conditions{font-size:11px;color:#a49aaf;margin-top:12px}.package-conditions summary{cursor:pointer;min-height:36px;padding:8px 0}.package-conditions p{line-height:1.8;margin:4px 0}
.package-page-grid .panel{border-radius:20px;background:linear-gradient(145deg,#1b1b24,#101116);padding:26px;border:1px solid #ffffff18}.package-page-grid .panel>p{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #ffffff0c;margin:0}.package-page-grid .panel>.primary{display:block;text-align:center;margin-top:22px;border-radius:30px}.package-page-grid .package-brandmarks{margin-bottom:16px}
.document-page .public-story{background:radial-gradient(ellipse at top left,#ff315a10,transparent),#111218;padding:30px;border:1px solid #ffffff18;border-radius:22px;gap:32px}.document-page .public-story>img{border-radius:15px}.document-page .public-story p{line-height:1.9;color:#b8b2c2}.document-page .public-story .primary{border-radius:30px;display:inline-block}
@media(max-width:760px){
 dialog:has(.story-details),dialog:has(.membership-checkout){width:calc(100vw - 20px);border-radius:20px;max-height:94dvh}
 .story-details{display:block;padding:26px 22px;background:radial-gradient(ellipse at top,#ff315a16,transparent 45%),#101116}
 .details-cover{display:block;width:140px;max-height:210px;margin:0 auto 22px;box-shadow:0 15px 45px #0008}
 .details-copy h2{font-size:23px;line-height:1.45;margin:14px 0}.details-facts{margin-bottom:20px}.details-facts span{font-size:10px}
 .story-synopsis{font-size:13px;max-height:none;overflow:visible;line-height:1.9}.details-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:22px}.details-actions .primary,.details-actions .secondary{width:100%;text-align:center;min-height:46px}.details-actions .story-permalink{min-height:40px;padding:8px}.details-access{text-align:center;font-size:11px;padding-top:2px}
 .membership-checkout{display:block}.checkout-story{padding:25px 22px 20px;border-right:0;border-bottom:1px solid #ffffff12}.checkout-story .package-brandmarks{margin-bottom:14px}.package-brandmarks img{width:30px;height:30px;border-radius:8px}.checkout-story>h2{font-size:25px;margin:10px 0}.checkout-story>h2 br{display:none}.checkout-story>p{margin-bottom:0;font-size:12px}.checkout-story .membership-posters,.package-benefits{display:none}.checkout-context h2{font-size:24px}
 .checkout-options{padding:24px 22px}.checkout-options>h2{font-size:26px}.checkout-options .duration,.checkout-options .duration:last-child{min-height:100px;padding:13px}.checkout-options .duration.active{padding:12px}.checkout-options .duration strong{font-size:25px}.purchase-submit{position:sticky;bottom:0;background:#101116;padding-bottom:4px;z-index:3;box-shadow:0 -10px 20px #101116cc}.purchase-submit .summary-line{padding-top:12px}.document-page .public-story{padding:20px;display:block}.document-page .public-story>img{width:150px;display:block;margin:0 auto 24px}
}

.plan-story-previews{display:flex;gap:8px;margin:16px 0}.plan-story-previews a{flex:1;min-width:0}.plan-story-previews img{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:10px}.plan-period{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:12px;border:1px solid #ffffff20;border-radius:10px;margin:8px 0;text-decoration:none;color:inherit}.plan-period:hover,.plan-period:focus-visible{border-color:#ff365d;background:#ff365d12}.document-page .package-page-grid .panel{min-width:0}
