/* Load after appearance settings so light shop surfaces always have readable text. */
body.shop-page{background:#f4f4f4;color:#353535;--ink:#353535!important;--muted:#666!important}
.shop-page .member-main{max-width:680px;margin:8px auto 40px}
.shop-page .member-header{max-width:1000px;padding:16px 24px}
.shop-page .member-header .brand-name,.shop-page .member-header .brand-name small{color:#432b22}
.shop-page .shop-account-bar{display:flex;justify-content:space-between;gap:12px;margin-bottom:18px}
.shop-page .login-grid{display:block;padding:24px 0}.shop-page .login-panel{margin:auto}
.shop-page .member-panel,.shop-page .member-panel h2,.shop-page .member-field,.shop-page .member-field input{color:#353535;-webkit-text-fill-color:#353535}
.shop-page .muted,.shop-page .login-footnote{color:#68605b}
.shop-shell{overflow:hidden;border-radius:32px;background:#f6f6f6;box-shadow:0 14px 60px #49260812}
.shop-hero{position:relative;text-align:center;padding:40px 24px 68px;background:radial-gradient(ellipse at 50% 0,#ffc37e,transparent 57%),linear-gradient(145deg,#ff870a,#ff7600);color:white}
.shop-hero .shop-brand{display:inline-flex;margin:0 auto 24px}.shop-hero .brand-custom{flex-direction:column;gap:8px}.shop-hero .brand-name{font-size:32px;color:white}.shop-hero .brand-name small{display:none}.shop-hero .brand-logo{height:80px;max-width:180px}.shop-hero .brand-icon{width:72px;height:72px;background:#ffffff25;box-shadow:none;color:white;border-radius:24px}
.shop-hero h1{font-size:24px;line-height:1.9;color:white;margin:0 0 10px}.shop-hero p{font-size:16px;line-height:2.2;color:white}.shop-spark{display:block;font-size:24px;color:#ffdc9f;margin-top:14px}
.shop-checkout{position:relative;padding:0 30px 24px;margin-top:-36px}.shop-options{border:0;padding:0;margin:0;display:grid;gap:18px;min-width:0}
.shop-option{position:relative;display:flex;align-items:center;gap:14px;min-height:96px;padding:22px 24px;background:white;border:2px solid transparent;border-radius:28px;cursor:pointer;color:#353535;transition:border-color .15s,background .15s}
.shop-option:has(input:checked){border-color:#ff7a00;background:#fff2e5}.shop-option:has(input:focus-visible){outline:3px solid #6337a4;outline-offset:4px}.shop-option input{position:absolute;width:1px;height:1px;opacity:0}.shop-radio{width:26px;height:26px;flex-shrink:0;border:3px solid #d5d5d5;border-radius:50%;display:grid;place-items:center}.shop-option input:checked+.shop-radio{border-color:#ff7a00}.shop-option input:checked+.shop-radio:after{content:'';width:14px;height:14px;border-radius:50%;background:#ff7a00}
.shop-duration{font-size:16px}.shop-amount{margin-right:auto;font-size:25px;font-weight:900;color:#e56500;white-space:nowrap;font-variant-numeric:tabular-nums}.shop-amount small{font-size:14px}.shop-badge{position:absolute;top:-15px;right:50%;transform:translateX(50%);padding:4px 12px;border-radius:20px;background:#ffd347;color:#533900;font-size:11px;font-weight:700;white-space:nowrap}
.shop-benefits{padding:26px 6px 18px}.shop-benefits h2{font-size:21px;color:#353535;margin-bottom:20px}.shop-benefits ul{list-style:none;padding:0;margin:0;display:grid;gap:17px}.shop-benefits li{display:flex;align-items:flex-start;gap:10px;font-size:16px;line-height:1.9;color:#555}.shop-benefits .icon{width:21px;height:25px;color:#ff7a00;flex-shrink:0}
body.account-panel.shop-page .btn-primary{background:#ff7a00!important;color:#fff!important;-webkit-text-fill-color:#fff;box-shadow:none!important}body.account-panel.shop-page .btn-primary:hover{background:#e76800!important}
.shop-purchase{padding-top:12px}.shop-purchase .btn{min-height:60px;border-radius:22px;font-size:21px;font-weight:800}.shop-assurance{display:flex;align-items:center;justify-content:center;gap:6px;color:#6c625a;font-size:12px;margin:15px 0 8px}.shop-assurance .icon{width:15px;height:18px}.shop-caption{text-align:center;font-size:11px;color:#b94d00}.shop-page .member-footer{color:#74675f}.active-membership{text-align:center}.active-membership .btn{margin-top:20px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:640px){body.shop-page{background:#f6f6f6}.shop-page .member-main{padding:0;margin:0 auto 24px}.shop-page .member-header{padding:12px 16px}.shop-page .shop-account-bar{padding:0 16px;margin:8px 0 16px}.shop-shell{border-radius:28px;box-shadow:none}.shop-hero{padding:30px 18px 60px}.shop-hero h1{font-size:21px}.shop-hero p{font-size:14px}.shop-checkout{padding:0 24px 24px}.shop-option{min-height:90px;padding:20px 18px;gap:12px;border-radius:26px}.shop-duration{font-size:14px}.shop-amount{font-size:23px}.shop-amount small{font-size:12px}.shop-benefits h2{font-size:19px}.shop-benefits li{font-size:14px}.shop-page .login-grid{padding:16px}.shop-page .active-membership{margin:16px}}
@media(max-width:360px){.shop-checkout{padding-inline:16px}.shop-option{padding-inline:12px;gap:8px}.shop-amount{font-size:20px}.shop-duration{font-size:13px}}

/* Override the game shell only on the subscription screen. */
html body.account-panel.shop-page{padding:0!important;min-height:0;color:#353535}
html.phone-app-shell body.account-panel.shop-page>.member-header{flex:0 0 auto;min-height:52px;padding:8px 16px}
html.phone-app-shell body.account-panel.shop-page>.member-main{box-sizing:border-box;flex:1 1 0;min-height:0;width:100%;max-width:none;margin:0;padding:12px max(12px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.shop-page .shop-shell,.shop-page .shop-account-bar{max-width:640px;margin-inline:auto}
.shop-page>.member-footer{display:none}
.shop-page .shop-option{box-sizing:border-box;min-width:0}
.shop-page .shop-duration{min-width:0}
.shop-page .shop-purchase{background:#f6f6f6;padding-bottom:max(12px,env(safe-area-inset-bottom))}
@media(max-width:420px){.shop-page .shop-checkout{padding-inline:14px}.shop-page .shop-option{padding-inline:12px;gap:8px}.shop-page .shop-amount{font-size:20px}.shop-page .shop-hero h1{font-size:20px}}


/* Persistent checkout respects the iPhone home indicator. */
body.shop-page{padding-bottom:calc(142px + env(safe-area-inset-bottom))}
body.shop-page .member-main{width:min(100%,680px);max-width:680px;padding:0 18px 32px;margin:12px auto}
body.shop-page .member-header{background:#f6f6f6;color:#432b22}
body.shop-page .member-header .brand-name{color:#432b22!important}
.shop-purchase{position:fixed;z-index:60;bottom:0;left:0;right:0;width:100%;padding:12px max(20px,calc((100vw - 580px)/2)) calc(10px + env(safe-area-inset-bottom));background:#fffffff5;border-top:1px solid #e9ded5;box-shadow:0 -8px 30px #432b2210;backdrop-filter:blur(14px)}
.shop-purchase .shop-caption{display:none}.shop-purchase .shop-assurance{margin:7px 0 0}.shop-purchase .form-feedback{margin:5px 0 0}.shop-options{scroll-margin-top:24px}
.shop-scroll-hint{text-align:center;color:#6c625a;font-size:12px;padding:16px 0 0}
.account-family-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:24px auto;max-width:920px}.account-family-links>a{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #eee1d6;border-radius:22px;padding:22px;color:#432b22!important}.account-family-links strong{display:block;font-size:16px;color:#432b22!important}.account-family-links small{display:block;font-size:11px;line-height:2;color:#786b62!important;margin-top:5px}.account-family-symbol{display:flex;padding:12px;border-radius:15px;background:#fff0e2;color:#ef740b}.account-family-links>a>.icon{margin-right:auto;flex-shrink:0}@media(max-width:640px){.account-family-links{grid-template-columns:1fr;margin:20px 8px}.account-family-links>a{padding:18px}.account-family-links strong{font-size:14px}}
@media(max-width:640px){body.shop-page .member-main{padding:0 12px 24px}.shop-checkout{padding-inline:18px}.shop-hero{padding-top:26px}.shop-hero .shop-brand{margin-bottom:12px}.shop-hero .brand-name{font-size:28px}}
