:root{color-scheme:dark;font:15px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#eee;background:#080808}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}button:disabled{opacity:.45;cursor:wait}[hidden]{display:none!important}.store-shell{max-width:1080px;margin:auto;padding:0 40px}.store-header{height:100px;display:flex;align-items:center;justify-content:space-between;gap:20px}.studio{font-size:23px;font-weight:500;letter-spacing:-.8px}.studio span{font-size:12px;color:#777;margin-left:9px;letter-spacing:0}#identity{display:flex;gap:20px;align-items:center}#email{font-size:11px;color:#999;overflow-wrap:anywhere}.text-button{font-size:11px;background:none;color:#bcbcbc;border:0;padding:9px 0;white-space:nowrap}.header-login{border:1px solid #363636;color:#eee;background:transparent;border-radius:9px;padding:9px 20px;font-size:12px}.header-login:hover{border-color:#777}.purchase-layout{min-height:calc(100svh - 180px);padding:45px 0 75px}.purchase-story{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;border-bottom:1px solid #242424;padding-bottom:31px;margin-bottom:34px}.eyebrow{font-size:9px;letter-spacing:1.8px;color:#727272;margin:0 0 12px}h1{font-size:40px;letter-spacing:-2px;line-height:1.15;font-weight:500;margin:0}.collection-description{font-size:13px;color:#888;margin:13px 0 0}.collection-count{font-size:11px;color:#686868;padding-bottom:4px;white-space:nowrap}.app-catalogue{display:grid;grid-template-columns:repeat(auto-fill,204px);gap:22px;align-items:start}.product-card{width:204px;height:226px;border:1px solid #272727;border-radius:12px;background:transparent;overflow:hidden;display:flex;flex-direction:column;transition:border-color .2s}.product-card:hover{border-color:#484848}.product-heading{height:127px;display:grid;place-items:center;flex-shrink:0}.product-heading img{width:66px;height:66px;object-fit:contain;border-radius:16px;filter:grayscale(1)}.app-card-info{padding:14px;border-top:1px solid #202020;flex:1}.product-card h2{font-size:14px;font-weight:550;letter-spacing:-.3px;line-height:1.3;margin:0 0 15px}.product-description,#purchase-price,#owned-download{display:none!important}.purchase-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}.price-row{margin:0}#purchase-description{font-size:9px;line-height:1.4;color:#777;display:block;max-width:68px}#account{flex-shrink:0}.primary{display:flex;align-items:center;justify-content:center;gap:4px;border:0;background:#eaeae7;color:#111;border-radius:6px;padding:6px 9px;font-size:10px;min-height:29px;white-space:nowrap}.primary span{color:#555}.primary:hover{background:white}.purchase-message{grid-column:1;font-size:11px;line-height:1.8;color:#aaa;margin:0}.purchase-message:empty{display:none}footer{padding:24px 0 30px;border-top:1px solid #242424;display:flex;justify-content:space-between;font-size:10px;color:#777}button:focus-visible,a:focus-visible{outline:2px solid white;outline-offset:4px}#payment-dialog{width:min(380px,calc(100% - 32px));padding:26px;border:1px solid #333;border-radius:24px;background:#141414;color:#eee;box-shadow:0 25px 90px #0009}#payment-dialog::backdrop{background:#000b;backdrop-filter:blur(8px)}.payment-title-row{display:flex;align-items:center;justify-content:space-between;gap:15px}.payment-title-row h2{margin:0;font-size:24px;font-weight:500;letter-spacing:-1px}.payment-title-row button{border:0;border-radius:50%;width:29px;height:29px;background:#262626;color:#aaa;font-size:20px}.payment-price{font-size:11px;color:#999;margin:10px 0 24px}.payment-option{display:flex;justify-content:space-between;align-items:center;width:100%;background:#e9e8e3;color:#111;border:0;border-radius:12px;padding:15px;font-size:13px;margin-top:11px}.payment-option+button{background:#252525;color:#eee;border:1px solid #353535}.payment-provider{font-size:10px;color:#777;text-align:center;margin:22px 0 0}@media(max-width:760px){.store-shell{padding:0 24px}.store-header{height:80px}#identity{gap:12px}#email{max-width:145px;font-size:9px}.header-login{padding:8px 17px}.purchase-layout{padding:28px 0 50px;min-height:calc(100svh - 160px)}.purchase-story{padding-bottom:25px;margin-bottom:26px}.purchase-story h1{font-size:37px;letter-spacing:-1.5px}.collection-description{font-size:12px}}

/* Fluid phone layout, including narrow screens and larger text settings. */
@media(max-width:600px){
 .landing,.store-shell{padding-left:clamp(16px,5vw,25px);padding-right:clamp(16px,5vw,25px)}
 .collection-title h1,.purchase-story h1{font-size:clamp(28px,8.8vw,38px);letter-spacing:-1.4px;overflow-wrap:anywhere}
 .collection-title,.purchase-story{gap:12px;align-items:center}.collection-title>span,.collection-count{flex-shrink:0}
 .home-catalogue{display:grid;grid-template-columns:minmax(0,204px);justify-content:start;gap:18px}
 .app-catalogue{grid-template-columns:repeat(auto-fill,minmax(min(100%,180px),204px));justify-content:start;gap:20px}
 .home-app,.product-card{width:100%;height:auto;min-height:226px;max-width:204px}
 .home-catalogue>.browser-link{text-align:left;width:100%;min-height:40px;line-height:1.5}
 .home-app .app-card-bottom .download-button,.product-card .primary{min-height:36px;font-size:11px;padding:8px 10px}
 .home-app h2,.product-card h2{font-size:15px}
 .home-app .app-card-bottom p,#purchase-description{font-size:10px}
 .app-card-info{padding:14px;min-height:104px}
 .simple-footer{flex-wrap:wrap;justify-content:space-between;row-gap:14px;font-size:11px}
 .simple-footer a,.simple-footer button,.header-login,.text-button{min-height:40px;display:inline-flex;align-items:center}
 #identity{min-width:0;max-width:65%;gap:10px}#email{max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}#logout{flex-shrink:0}
 .store-header>.studio{flex-shrink:0;font-size:21px}.store-header .studio span{margin-left:5px;font-size:10px}
 dialog{max-height:calc(100dvh - 32px);overflow-y:auto}
}
@media(max-width:600px) and (orientation:landscape){.collection-main,.purchase-layout{min-height:0}.topbar,.store-header{height:68px}}

/* Slightly smaller phone cards; desktop cards retain their original size. */
@media(max-width:600px){.home-catalogue{grid-template-columns:minmax(0,180px)}.app-catalogue{grid-template-columns:repeat(auto-fill,minmax(min(100%,168px),180px))}.home-app,.product-card{max-width:180px;min-height:0}.app-artwork,.product-heading{height:110px}.home-app .app-artwork img,.product-heading img{width:60px;height:60px}.app-card-info{padding:12px;min-height:95px}.home-app h2,.product-card h2{font-size:14px;margin-bottom:10px}.app-card-bottom,.purchase-bottom{gap:6px}.home-app .app-card-bottom .download-button,.product-card .primary{padding:8px;min-height:36px}}

/* Ownership is a quiet status above one clear action. */
.product-card.is-owned{height:auto;min-height:226px}
.is-owned .purchase-bottom{display:flex;flex-direction:column;align-items:stretch;gap:12px}
.is-owned #purchase-description{max-width:none;color:#a9b7a7;font-size:10px;display:flex;align-items:center;gap:6px}
.is-owned #purchase-description:before{content:"";width:5px;height:5px;border-radius:50%;background:#a9b7a7}
.is-owned #account{width:100%}
.is-owned #open-app{width:100%;min-height:36px;border-radius:7px;font-size:11px}
@media(max-width:600px){.product-card.is-owned{min-height:0}}

.plan-options{display:grid;gap:10px;margin-top:24px}.plan-option{display:flex;justify-content:space-between;align-items:center;text-align:left;padding:15px;border-radius:12px;background:transparent;border:1px solid #333;color:#eee;gap:15px;font-size:13px}.plan-option[aria-pressed="true"]{border-color:#ddd;background:#20201e}.plan-option small{display:block;font-size:10px;color:#92928c;font-weight:400;margin-top:4px}.plan-option strong{text-align:right;font-size:18px;font-weight:500;white-space:nowrap}.payment-price{line-height:1.7}#subscription-info{grid-column:1;font-size:11px;color:#999;max-width:230px}#subscription-detail{margin:0}.is-subscribed .purchase-bottom{flex-direction:column;align-items:stretch;gap:10px}.is-subscribed #account{display:grid;gap:8px}.is-subscribed .primary{width:100%}.is-subscribed #claim{background:transparent;border:1px solid #393939;color:#bbb}.is-subscribed #purchase-description{max-width:none}

.payment-option[hidden]+.payment-option{background:#e9e8e3;color:#111;border:0}

/* Plans and subscription management belong to the product, not the studio. */
.product-plans{border:0;background:none;color:#96968f;padding:10px 0 0;font-size:10px;text-align:left;min-height:32px;width:100%}.product-plans:hover{color:#eee}.plan-product{display:flex;gap:12px;align-items:center}.plan-product img{border-radius:9px;object-fit:contain;filter:grayscale(1)}.plan-product h2{font-size:22px}.plan-product p{font-size:11px;color:#888;margin:3px 0 0}.product-card #subscription-info{padding:0 14px 12px;margin:0;max-width:100%}.product-card.is-owned{height:auto}.product-card #subscription-detail{font-size:10px;line-height:1.6}.product-card #cancel-subscription{font-size:10px;padding-bottom:0}

.is-owned .price-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.product-plans{width:auto;padding:0;min-height:24px;text-align:right}.is-owned .purchase-bottom{gap:10px}
