/* Product covers in smoked glass. V3 fonts and palette, existing original cutouts. */
body.shop-page{background:#000;--shop-surface:#0d0d10;--shop-ink:#f1edf5;--shop-muted:#b8b0c2;--shop-accent:#c9bbd9;--shop-line:#e5ddef26;--shop-radius:16px;color-scheme:dark}
.shop-page .app-heading{padding-bottom:16px}
.shop-page .shop-intro{margin:0 0 32px;color:var(--shop-muted);font:16px/1.7 var(--font-body);max-width:45ch}
.shop-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;align-items:stretch;margin:0 0 64px}
.shop-product{position:relative;isolation:isolate;display:flex;flex-direction:column;overflow:hidden;padding:32px 36px;border-radius:var(--shop-radius);border:1px solid var(--shop-line);background:linear-gradient(140deg,#ffffff08,transparent 50%),#0d0d10b3;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:inset 0 1px 0 #ffffff1f;transition:border-color .25s}
.shop-product::before{content:"";pointer-events:none;position:absolute;inset:0 0 auto;height:1px;background:linear-gradient(90deg,transparent,#eee4ff66 20%,#eee4ff14 70%,transparent)}
.shop-product-lead{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:16px;align-content:start}
.shop-product-heading{position:relative;z-index:1;grid-column:1;grid-row:1}
.shop-format{color:var(--shop-muted);font:12px/1.6 var(--font-body);margin:0 0 12px}
.shop-product h2{color:var(--shop-ink);font:400 38px/1.12 var(--font-heading);letter-spacing:-.02em;margin:0;text-wrap:balance}
.shop-product h2 em{font-weight:400;color:var(--shop-accent)}
.shop-object{grid-column:2;grid-row:1/3;align-self:center;height:140px;width:100%;display:flex;align-items:center;justify-content:center;position:relative;margin:0;pointer-events:none}
.shop-object img{display:block;object-fit:contain;height:164px;width:164px;max-width:none}
.shop-object-crystal img{width:176px;height:176px;transform:rotate(-12deg);mix-blend-mode:screen}
.shop-object-oracle img{filter:brightness(1.6)}
.shop-product-description{flex:1;position:relative;z-index:1}
.shop-product .shop-product-summary{grid-column:1;grid-row:2;font:16px/1.75 var(--font-body);color:var(--shop-muted);max-width:38ch;margin:0}
.shop-packs{margin:24px 0 0}
.shop-packs>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;border-top:1px solid var(--shop-line);padding:12px 0}
.shop-packs>div:last-child{border-bottom:1px solid var(--shop-line)}
.shop-packs dt{font:16px/1.6 var(--font-body);color:var(--shop-muted)}
.shop-packs dd{margin:0;font:400 24px/1 var(--font-heading);font-variant-numeric:tabular-nums;color:var(--shop-ink);white-space:nowrap}
.shop-packs dd span{font:13px/1 var(--font-body);color:var(--shop-muted)}
.shop-product-bottom{margin-top:28px}
.shop-start{display:inline-flex;justify-content:space-between;align-items:center;gap:28px;min-height:48px;padding:12px 20px;border-radius:999px;border:1px solid #e5ddef55;color:var(--shop-ink);background:#ffffff05;font:500 14px/1.5 var(--font-body);text-decoration:none;box-shadow:inset 0 1px 0 #ffffff12;transition:background .2s,border-color .2s}
.shop-start:visited{color:var(--shop-accent)}
.shop-start:hover{background:#ffffff0d;border-color:#e5ddef99}
.shop-start:active{background:#ffffff14}
.shop-start span{font-size:18px;line-height:1}
.shop-product .shop-availability{font:16px/1.6 var(--font-body);color:var(--shop-muted);margin:16px 0 0;max-width:34ch}
.shop-details{margin-top:24px}
.shop-details summary{display:flex;justify-content:space-between;align-items:center;min-height:44px;border-top:1px solid var(--shop-line);border-bottom:1px solid var(--shop-line);font:14px/1.6 var(--font-body);color:var(--shop-ink);list-style:none;cursor:pointer}
.shop-details summary::-webkit-details-marker{display:none}
.shop-details summary::after{content:'+';font-size:20px;color:var(--shop-accent)}
.shop-details[open] summary::after{content:'−'}
.shop-details ol{margin:16px 0;padding-left:20px;font:14px/1.8 var(--font-body);color:var(--shop-muted)}
.shop-details li+li{margin-top:8px}
.shop-product-astro .shop-details summary,.shop-product-astro .shop-details ol,.shop-product-astro .shop-start{font-size:16px}
.shop-product-oracle .shop-start{font-size:16px}
.shop-start:focus-visible,.shop-details summary:focus-visible{outline:2px solid var(--shop-accent);outline-offset:5px}
@media(hover:hover){.shop-product:hover{border-color:#e5ddef42}}
@media(max-width:1000px){.shop-catalog{gap:24px}.shop-product{padding:28px}.shop-product h2{font-size:36px}}
@media(max-width:760px){.shop-catalog{grid-template-columns:minmax(0,1fr);gap:24px}.shop-product{padding:24px}.shop-product-lead{grid-template-columns:minmax(0,1fr) 88px;gap:16px 8px}.shop-product-heading{align-self:end}.shop-product h2{font-size:32px}.shop-format{margin-bottom:8px}.shop-object{grid-row:1;align-self:end;height:72px}.shop-object img{width:104px;height:104px}.shop-object-crystal img{width:116px;height:116px}.shop-product .shop-product-summary{grid-column:1/-1;max-width:none}.shop-product-bottom{margin-top:24px}.shop-page .shop-intro{margin-bottom:24px}.shop-product .shop-availability{max-width:none}.shop-packs>div{padding:14px 0}}
@media(max-width:360px){.shop-product{padding:20px}.shop-product-lead{grid-template-columns:minmax(0,1fr) 64px}.shop-product h2{font-size:30px}.shop-object img{width:88px;height:88px}.shop-object-crystal img{width:100px;height:100px}.shop-format{font-size:12px}}
@media(prefers-reduced-motion:reduce){.shop-product,.shop-start{transition:none}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.shop-product{background:var(--shop-surface)}}
/* Pack selection stays in the product card; the recap uses the same V3 type and glass. */
.shop-pack-choice{padding:0;border:0;min-width:0}
.shop-pack-choice legend{font:14px/1.5 var(--font-body);color:var(--shop-muted);margin-bottom:12px}
.shop-pack-option{display:flex;align-items:center;gap:12px;border-top:1px solid var(--shop-line);padding:14px 8px;min-height:52px;cursor:pointer;font:16px/1.5 var(--font-body)}
.shop-pack-option:last-child{border-bottom:1px solid var(--shop-line)}
.shop-pack-option:has(input:checked){background:#c9bbd90d;color:var(--shop-ink);box-shadow:inset 2px 0 var(--shop-accent)}
.shop-pack-option input{margin:0;width:18px;height:18px;accent-color:var(--shop-accent);flex-shrink:0}
.shop-pack-price{margin-left:auto;white-space:nowrap;font:24px/1.2 var(--font-heading)}
.shop-pack-price small{font:13px/1 var(--font-body)}
.shop-pack-dialog{box-sizing:border-box;width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:36px;border:1px solid var(--shop-line);border-radius:16px;background:linear-gradient(140deg,#ffffff08,transparent 70%),#0d0d10;color:var(--shop-ink);box-shadow:0 24px 80px #0009}
.shop-pack-dialog::backdrop{background:#000b;backdrop-filter:blur(8px)}
.shop-pack-dialog h2{font:400 38px/1.12 var(--font-heading);letter-spacing:-.02em;margin:0 0 16px}
.shop-pack-dialog p{font:16px/1.65 var(--font-body);color:var(--shop-muted)}
.shop-pack-dialog .shop-format{font-size:12px;margin:0 32px 12px 0}
.pack-close{position:absolute;right:12px;top:12px;width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:var(--shop-muted);font:28px/1 var(--font-body);cursor:pointer}
.pack-recap-lines{margin:24px 0}
.pack-recap-lines>div{display:flex;gap:16px;justify-content:space-between;padding:14px 0;border-top:1px solid var(--shop-line);font:16px/1.5 var(--font-body)}
.pack-recap-lines>div:last-child{border-bottom:1px solid var(--shop-line)}
.pack-recap-lines dt{color:var(--shop-muted)}
.pack-recap-lines dd{margin:0;white-space:nowrap}
.pack-account{min-height:92px}
.pack-account p{margin:0 0 8px}
#pack-account-email{color:var(--shop-ink);overflow-wrap:anywhere}
.pack-account-link,.pack-edit{display:inline-flex;align-items:center;min-height:44px;border:0;background:transparent;color:var(--shop-accent);text-decoration:underline;text-underline-offset:4px;font:14px/1.5 var(--font-body);padding:0;cursor:pointer}
.pack-account [hidden]{display:none}
.shop-pack-dialog .pack-opening-note{font-size:14px;margin:12px 0 16px}
.pack-pay{width:100%;justify-content:center}
.pack-pay:disabled{opacity:.6;cursor:not-allowed}
.shop-pack-dialog [hidden],.shop-wallet[hidden]{display:none!important}
.pack-test-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px}
.pack-test-actions .shop-start{justify-content:center}
#pack-feedback:empty{display:none}
#pack-feedback{color:var(--shop-ink);line-height:1.65;margin:20px 0}
.shop-wallet{margin:0 0 28px;padding:16px 0;border-bottom:1px solid var(--shop-line);font:14px/1.65 var(--font-body);color:var(--shop-muted)}
.shop-wallet summary{cursor:pointer;color:var(--shop-ink);min-height:32px}
.shop-wallet h3{font:20px/1.3 var(--font-heading);color:var(--shop-ink);margin:20px 0 8px}
.shop-wallet ul{padding-left:20px}
.shop-wallet li{margin:8px 0}
.pack-edit{display:flex;margin:8px auto 0}
.pack-close:hover{background:#ffffff0a}
.shop-pack-option input:focus-visible,.pack-close:focus-visible,.pack-account-link:focus-visible,.pack-edit:focus-visible{outline:2px solid var(--shop-accent);outline-offset:4px}
@media(max-width:480px){.shop-pack-dialog{padding:28px 24px}.shop-pack-dialog h2{font-size:32px}.shop-pack-option{padding-left:6px;padding-right:6px}.pack-recap-lines>div{font-size:15px}}
.shop-reading-topics{list-style:none;padding:0;margin:24px 0 0;font:15px/1.6 var(--font-body);color:var(--shop-muted)}
.shop-reading-topics li{padding:10px 0;border-top:1px solid var(--shop-line)}
.shop-reading-topics li:last-child{border-bottom:1px solid var(--shop-line)}
.shop-product-reading .shop-start{font-size:16px}
.shop-reading-dialog{width:min(660px,calc(100vw - 32px));padding:40px}
.shop-reading-dialog h2{max-width:16ch;padding-right:16px}
.shop-reading-dialog h2 em{font-weight:400;color:var(--shop-accent)}
.shop-reading-dialog h3{font:500 14px/1.5 var(--font-body);color:var(--shop-accent);margin:28px 0 14px}
.shop-chapters{list-style:none;padding:0;margin:0;counter-reset:chapter}
.shop-chapters li{position:relative;padding:20px 0 20px 38px;border-top:1px solid var(--shop-line);counter-increment:chapter}
.shop-chapters li::before{content:counter(chapter,decimal-leading-zero);position:absolute;left:0;top:22px;font:12px/1.5 var(--font-body);color:var(--shop-muted)}
.shop-chapters h4{font:400 24px/1.2 var(--font-heading);color:var(--shop-ink);margin:0 0 8px}
.shop-reading-dialog .shop-chapters p{font-size:15px;margin:0}
.shop-reading-delivery{border-top:1px solid var(--shop-line)}
.shop-reading-delivery p{font-size:15px}
.shop-reading-dialog .shop-reading-availability{color:var(--shop-accent);font-size:14px;margin-top:28px}
.shop-reading-dialog .shop-reading-note{font-size:14px}
.shop-reading-close{margin-top:8px}
.shop-reading-close:focus-visible{outline:2px solid var(--shop-accent);outline-offset:4px}
@media(max-width:480px){.shop-reading-dialog{padding:32px 24px}.shop-reading-dialog h2{padding-right:20px}.shop-chapters li{padding-left:30px}.shop-chapters h4{font-size:23px}}

/* Six-product catalog: keep the detail in each reading, with a compact glass cover. */
body.shop-page{--shop-surface:#101012;--shop-ink:#f0edf2;--shop-muted:#bdb9c2;--shop-line:#ffffff21}
.shop-page .app-heading{padding-bottom:12px}
.shop-page .shop-intro{margin-bottom:24px;max-width:50ch}
.shop-catalog{gap:24px}
.shop-product{padding:28px;background:linear-gradient(125deg,#ffffff05,transparent 65%),#0d0d10b3;box-shadow:inset 0 1px 0 #ffffff0d;min-width:0}
.shop-product::before{display:none}
.shop-product-lead{grid-template-columns:minmax(0,1fr) 92px;gap:14px 16px;align-items:center}
.shop-product h2,.shop-pack-dialog h2{font-size:36px}
.shop-product-heading{min-width:0}
.shop-format{margin-bottom:8px;line-height:1.5}
.shop-object{height:130px}
.shop-object img,.shop-object-crystal img{width:100%;max-width:100%;height:130px;transform:none}
.shop-product .shop-product-summary{line-height:1.65;max-width:40ch}
.shop-product-description{flex:initial;min-width:0}
.shop-product-bottom{margin-top:auto;padding-top:20px}
.shop-product .shop-start{font-size:16px}
.shop-start{min-height:44px;padding:10px 18px;justify-content:center;gap:0;border-color:#ffffff40;box-shadow:inset 0 1px 0 #ffffff0a;cursor:pointer}
.shop-start:visited{color:var(--shop-ink)}
.shop-product .shop-availability{font:12px/1.5 var(--font-body);margin:8px 0 0;max-width:none}
.shop-details{margin-top:12px}
.shop-details summary{border:0;gap:16px;font-size:16px}
.shop-details summary::after{color:var(--shop-muted)}
.shop-details ol{font:16px/1.65 var(--font-body);margin:8px 0}
.shop-packs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:18px}
.shop-pack-choice legend{font-size:12px;margin-bottom:8px}
.shop-pack-option{position:relative;flex-direction:column;justify-content:center;gap:9px;min-width:0;min-height:110px;padding:12px 6px;border:1px solid var(--shop-line);border-radius:10px;color:var(--shop-muted)}
.shop-pack-option:has(input:checked){background:#ffffff07;border-color:#bdb3c9;box-shadow:none;color:var(--shop-ink)}
.shop-pack-option input{position:absolute;right:6px;top:6px;width:14px;height:14px}
.shop-pack-quantity{display:flex;flex-direction:column;align-items:center;gap:3px}
.shop-pack-quantity strong{font:400 28px/1 var(--font-heading);color:var(--shop-ink)}
.shop-pack-quantity>span{font:12px/1.2 var(--font-body)}
.shop-pack-price{margin-left:0;font-size:20px;color:var(--shop-ink);font-variant-numeric:tabular-nums}
.shop-pack-price small{font-size:12px}
.shop-pack-option:has(input:focus-visible){outline:2px solid var(--shop-accent);outline-offset:3px}
.shop-pack-dialog{background:var(--shop-surface)}
.shop-reading-dialog h3,.pack-account-link,.pack-edit{color:var(--shop-ink)}
.shop-reading-dialog .shop-chapters p,.shop-reading-delivery p{font-size:16px}
.shop-reading-dialog .shop-reading-availability{color:var(--shop-ink)}
@media(max-width:1000px){.shop-product{padding:24px}.shop-product-lead{grid-template-columns:minmax(0,1fr) 76px;gap:12px}.shop-product h2,.shop-pack-dialog h2{font-size:32px}}
@media(max-width:760px){
  .shop-catalog{gap:20px;margin-bottom:48px}
  .shop-product{padding:20px}
  .shop-product-lead{grid-template-columns:minmax(0,1fr) 64px;gap:12px}
  .shop-object{grid-row:1;height:66px}
  .shop-object img,.shop-object-crystal img{height:80px;max-width:100%}
  .shop-product .shop-product-summary{grid-column:1/-1;max-width:none;line-height:1.55}
  .shop-product-bottom{margin-top:auto;padding-top:16px}
  .shop-details{margin-top:6px}
  .shop-page .shop-intro{margin-bottom:20px}
  .shop-format{margin-bottom:6px}
  .shop-packs{margin-top:14px}
  .shop-pack-option{min-height:98px;padding:10px 4px;gap:7px}
}
@media(max-width:360px){.shop-product{padding:18px}.shop-product-lead{grid-template-columns:minmax(0,1fr) 54px;gap:10px}.shop-product h2,.shop-pack-dialog h2{font-size:30px}.shop-pack-dialog{padding-left:20px;padding-right:20px}}
.shop-choice-dialog .shop-packs{margin-top:24px}
.shop-choice-dialog .shop-pack-choice legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.pack-choice-action{margin-top:24px}
.pack-choice-action .shop-start{width:100%;font-size:16px}
.shop-choice-dialog .pack-opening-note{margin-bottom:0}

/* Relationship entry: make the next action and availability clear before the outline. */
#reading-lien .lien-promise{margin:0 0 8px;color:var(--shop-ink)}
#reading-lien .lien-format{font-size:14px;margin:0 0 20px}
.lien-entry .lien-primary{width:100%;background:#e4dbee;color:#211b29;border-color:#e4dbee;font-size:16px;min-height:48px}
.lien-entry .lien-primary:visited{color:#211b29}
.lien-entry .lien-primary:hover{background:#f0e9f7;border-color:#f0e9f7}
#reading-lien .lien-entry p{font-size:13px;line-height:1.5;margin:10px 0 0}
#reading-lien .lien-purchase-status{font-size:14px;line-height:1.55;margin:20px 0 0}
.lien-purchase-status strong{display:block;font-weight:500;color:var(--shop-ink);margin-bottom:4px}
.lien-steps{list-style:none;padding:0;margin:0;counter-reset:lien-step}
.lien-steps li{position:relative;padding:0 0 18px 32px;counter-increment:lien-step}
.lien-steps li::before{content:counter(lien-step);position:absolute;left:0;top:0;color:var(--shop-accent);font:20px/1.3 var(--font-heading)}
.lien-steps strong,.lien-steps span{display:block;font:14px/1.6 var(--font-body)}
.lien-steps strong{font-weight:500;color:var(--shop-ink);margin-bottom:3px}
.lien-steps span{color:var(--shop-muted)}
.lien-contents summary{cursor:pointer;font:500 14px/1.6 var(--font-body);min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0;border-top:1px solid var(--shop-line);list-style:none}
.lien-contents summary::-webkit-details-marker{display:none}
.lien-contents summary::after{content:'+';font-size:20px;color:var(--shop-accent)}
.lien-contents[open] summary::after{content:'−'}
.lien-contents summary:focus-visible{outline:2px solid var(--shop-accent);outline-offset:4px}
