/* Shared controls, with colours inherited from each album. Loaded after skins. */
.store-theme .compact-purchase{width:min(480px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}
.store-theme .compact-purchase .dialog-topbar{padding:8px 16px}
.store-theme .compact-purchase .close{width:44px;height:44px}
.store-theme .compact-purchase .dialog-content{padding:18px 22px 20px}
.store-theme .compact-purchase h2{font-size:26px;line-height:1.18;letter-spacing:-.5px;margin:0 0 7px}
.compact-purchase #checkout-description{font-size:13px;line-height:1.5;color:var(--muted);margin:0 0 12px}
.compact-purchase .checkout-overview{display:flex;align-items:flex-start;gap:16px;border-block:1px solid var(--line);margin-bottom:16px}
.compact-purchase #checkout-track-details{flex:1;min-width:0;border:0;margin:0;padding:0}
.compact-purchase #checkout-track-summary{display:list-item;list-style:disclosure-closed inside;min-height:44px;padding:12px 0;font-size:13px;line-height:20px;color:var(--text)}
.compact-purchase #checkout-track-details[open]>summary{list-style-type:disclosure-open}
.compact-purchase #checkout-tracks{max-height:144px;overflow-y:auto;overscroll-behavior:contain;margin:0 0 12px;padding-left:20px;font-size:13px;line-height:1.6}
.compact-purchase #checkout-price{flex:none;font-size:23px;line-height:44px;white-space:nowrap}
.store-theme .compact-purchase .consent{display:flex;align-items:flex-start;gap:12px;padding:12px;margin:0 0 12px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--text);font-size:13px;line-height:1.5;cursor:pointer}
.compact-purchase .consent input{flex:none;width:23px;height:23px;margin:1px 0 0;accent-color:var(--buy)}
.compact-purchase .consent span{min-width:0}
.compact-purchase .consent:has(input:checked){border-color:var(--accent)}
.compact-purchase .consent:has([aria-invalid="true"]){border:2px solid var(--accent);padding:11px}
.compact-purchase .consent-help{margin:0 0 12px;font-size:13px;line-height:1.5;color:var(--text);font-weight:600}
.compact-purchase .consent-help[hidden]{display:none}
.store-theme .compact-purchase #checkout-submit{width:100%;min-height:54px;justify-content:center;font-size:16px;font-weight:700}
.compact-purchase .micro{margin:10px 0 0;font-size:12px;line-height:1.5;text-align:center;color:var(--muted)}
.compact-purchase #checkout-error:empty{display:none}
.compact-purchase #checkout-error{margin:12px 0 0}
.store-theme .compact-purchase .album-upgrade-choice{min-height:44px;margin-bottom:12px;font-size:13px;padding:10px 12px}
.compact-purchase input:focus-visible,.compact-purchase summary:focus-visible,.compact-purchase button:focus-visible,.store-theme #hero-listen:focus-visible{outline:3px solid var(--accent);outline-offset:3px}

@media(max-width:760px){
  /* The large play action is above the price and purchase controls. */
  .store-theme .product-hero .product-preview,.store-theme .apz-hero .product-preview{grid-row:2}
  .store-theme .product-hero:not(.album-discovery) .product-price,.store-theme .apz-hero:not(.album-discovery) .product-price{grid-row:3}
  .store-theme .apz-hero:not(.album-discovery) .apz-lead{grid-column:1/-1;grid-row:6}
  .store-theme .album-page .product-preview-main{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:12px;border:2px solid var(--accent);border-radius:10px}
  .store-theme .album-page #hero-listen{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:58px;padding:14px 18px;gap:14px;font-size:19px;font-weight:700;line-height:1.3;background:var(--buy);color:var(--buy-text);border-radius:6px;box-shadow:0 4px 12px #0002}
  .store-theme .album-page #hero-listen:hover{background:var(--buy);filter:brightness(1.06)}
  .store-theme #hero-listen [data-listen-icon]{display:grid;place-items:center;width:30px;height:30px;border:1px solid currentColor;border-radius:50%;font-size:15px;flex:none}
  .store-theme .album-page .preview-copy,.store-theme .album-page .product-preview-copy{min-width:0;padding:0 2px}
  .store-theme .album-page .preview-copy>span,.store-theme .album-page .product-preview-copy strong{display:block;white-space:normal;font-size:14px;line-height:1.35;overflow-wrap:anywhere}
  .store-theme .album-page .preview-copy small,.store-theme .album-page .product-preview-copy>span{font-size:12px;line-height:1.4;margin:4px 0}
  .store-theme .compact-purchase .dialog-content{padding:16px}
  .store-theme .compact-purchase .consent{font-size:13px}
}
@media(max-width:360px){
  .store-theme .compact-purchase h2{font-size:23px}
  .store-theme .compact-purchase .dialog-content{padding:14px}
}
