/* Shared account and payment presentation; no behavioral or pricing rules. */
.account-shell{background:radial-gradient(ellipse at 18% 0%,#4b31574d,transparent 42rem),radial-gradient(ellipse at 100% 80%,#30213e55,transparent 48rem),#160f20;color:#f5eddf}
.account-shell main{max-width:64rem;padding:1.4rem max(1.1rem,env(safe-area-inset-left)) 5rem}
.account-shell header{padding-bottom:1.4rem;gap:1rem}.account-shell .brand{font-size:1.25rem;letter-spacing:.025em}.account-shell header select{font-size:.9375rem;min-height:3rem;padding:.6rem .9rem}
.account-shell h1{font-size:clamp(2.4rem,6vw,3.7rem);letter-spacing:-.025em;margin:2rem 0 1rem}.account-shell h2{font-size:clamp(1.5rem,4vw,2rem);line-height:1.25}.account-shell .eyebrow{font-size:.8125rem;letter-spacing:.16em;color:#dfbd83}
.account-shell section,.account-shell .panel{background:linear-gradient(135deg,#36253f88,#24192e99);border:1px solid #dfbd832e;border-radius:1.35rem;padding:clamp(1.15rem,4vw,2rem);box-shadow:0 16px 45px #08040d22}
.account-shell button,.ui-button{box-sizing:border-box;display:inline-flex;justify-content:center;align-items:center;gap:.5rem;min-height:3.25rem;padding:.8rem 1.2rem;border:1px solid #dfbd8366;border-radius:.85rem;background:#251a2e66;color:#eed9b7;font:600 1rem/1.4 system-ui,sans-serif;text-decoration:none;text-align:center;cursor:pointer;vertical-align:middle;white-space:normal;max-width:100%;margin:.4rem .45rem .4rem 0;box-shadow:inset 0 1px 0 #ffffff04}
.account-shell button:hover:not(:disabled),.ui-button:hover{background:#dfbd8312;border-color:#dfbd83a0}.account-shell button:disabled,.ui-button[aria-disabled=true]{opacity:.5;cursor:default}.account-shell :is(button,a,input,select,textarea,summary):focus-visible,.ui-button:focus-visible{outline:2px solid #dfbd83;outline-offset:4px}
.account-shell .primary,.ui-button.primary,.account-shell :is(#buy10,#buy22,#confirm,#lookup,#refund-confirm,#request-admin-save,#send-request){background:linear-gradient(112deg,#efd4a5,#d4aa6d);border-color:#eccb94;color:#24172b;box-shadow:0 5px 18px #d6ad6920;font-weight:650}
.account-shell .primary:hover,.ui-button.primary:hover{background:linear-gradient(112deg,#f5dfb9,#e1b97b);color:#24172b}
.account-shell .action-row,.ui-actions{display:flex;flex-wrap:wrap;align-items:stretch;gap:.75rem;margin-block:1.5rem}.account-shell .action-row>*,.ui-actions>*{margin:0}.account-shell .back-link{min-height:2.75rem;color:#c6b5cd;font-size:.9375rem;text-decoration:none}.account-shell .back-link:hover{color:#efd4a5;text-decoration:underline;text-underline-offset:.3em}
.account-shell .stats{gap:1rem;margin-block:1.6rem}.account-shell .stats>div{border-color:#dfbd8326;border-radius:1rem;background:#130d1b55;padding:1.2rem}.account-shell .stats strong{font-size:clamp(1.7rem,5vw,2.3rem);color:#f0d5a8;line-height:1.3}.account-shell .stats span{display:block;margin-top:.6rem;color:#c5b8cc;font-size:.9375rem;line-height:1.5}
.account-shell #packages>div{padding:1.6rem;display:flex;flex-direction:column;align-items:stretch;background:linear-gradient(135deg,#4a325655,#1d1427)}.account-shell #packages strong{font-size:2.25rem}.account-shell #packages p{color:#d8c9de}.account-shell #packages button{width:100%;margin:.5rem 0 0}
.account-shell .notice{font-size:.9375rem;line-height:1.65;background:#dfbd8307;border-left:2px solid #dfbd8366;border-radius:0 .7rem .7rem 0;padding:.8rem 1rem;color:#cfbfd4}.account-shell details{margin-top:1rem}.account-shell summary{cursor:pointer;color:#dfbd83;min-height:2.75rem;align-content:center}.account-shell .fine-print{border-top:1px solid #dfbd8326;margin-top:1.75rem;padding-top:.7rem;color:#bfb0c7;font-size:.9375rem}.account-shell .fine-print p{line-height:1.7}
.account-shell :is(#status,#state,#page-state,#form-state,#refund-status,#request-admin-state):empty{display:none}.account-shell :is(#status,#form-state,#refund-status,#request-admin-state):not(:empty){padding:1rem 1.15rem;margin-block:1.25rem;border:1px solid #dfbd833d;border-radius:.85rem;background:#dfbd8307;line-height:1.7;color:#f0d5a8}
.account-shell #orders,.account-shell #requests-list{display:grid;gap:1rem}.account-shell #orders>li,.account-shell .support-card{border:1px solid #dfbd832b;border-radius:1rem;background:#17101f55;padding:1.25rem;margin:0;overflow-wrap:anywhere}.account-shell #orders>li>strong{font:1.45rem/1.35 Georgia,serif;color:#efd4a5}.account-shell #orders p{line-height:1.6}.account-shell .record-reference{font-size:.875rem;color:#ad9ab7}.account-shell .support-card strong{font-weight:550;color:#efd4a5}.account-shell .support-card p{font-size:.9375rem;color:#bfaec9}.account-shell #request-admin-panel{border-top:1px solid #dfbd8330;margin-top:1.5rem;padding-top:1rem}.account-shell #request-admin-copy{background:#170f20;border:1px solid #dfbd8329;padding:1.15rem;border-radius:.85rem}
.account-shell .purchase-card{background:linear-gradient(135deg,#38263f80,#23192d);border-color:#dfbd8336;padding:clamp(1.2rem,4vw,1.8rem);box-shadow:0 12px 35px #08040d20}.account-shell .purchase-top h2{font-size:1.8rem}.account-shell .purchase-top p{font-size:.9375rem;color:#c2afcb}.account-shell .numbers{border-top:1px solid #dfbd8324;border-bottom:1px solid #dfbd8324;padding-block:1rem;gap:3rem}.account-shell .numbers strong{font-size:2.25rem;color:#f0d5a8}.account-shell .purchase-card .badge{font-size:.8125rem;background:#dfbd8308;padding:.35rem .8rem}.account-shell .request-card{background:#160f2066;border-color:#dfbd8328}.account-shell .request-copy{font-size:.9375rem;line-height:1.75;color:#d9cbe0}.account-shell #other-payments{margin-top:1.75rem;border-top:1px solid #dfbd8328;padding-top:.8rem}.account-shell .refund-note{font-size:.9375rem;color:#dfbd83}.account-shell .account-nav{gap:.5rem}.account-shell .account-nav .ui-button{font-size:.9375rem;min-height:2.75rem;padding:.6rem 1rem}
.ui-actions{margin-block:1.5rem}.ui-button{color:#eed9b7!important}.ui-button.primary{color:#24172b!important}#credits-balance{font:clamp(1.5rem,5vw,2.2rem)/1.3 Georgia,serif;color:#efd4a5;background:#dfbd8308;border:1px solid #dfbd832d;padding:1rem 1.25rem;border-radius:1rem}#credits-page>h1{font-size:clamp(2.2rem,7vw,3.4rem)}#credits-page .ui-actions{display:grid;grid-template-columns:1fr 1fr}#credits-page .primary{grid-column:1/-1}#credits-info,#credits-included{line-height:1.8}
body[data-credit-state=available] #credits-reading,body[data-credit-state=empty] #credits-checkout,body[data-credit-state=empty] #welcome-credits,body[data-credit-state=empty] #buy-credits{background:linear-gradient(112deg,#efd4a5,#d4aa6d);color:#24172b!important;border-color:#eccb94;font-weight:650}
body[data-credit-state=available] #credits-checkout,body[data-credit-state=empty] #welcome-new,body[data-credit-state=empty] #free-draw{background:#251a2e66;color:#eed9b7!important;border:1px solid #dfbd8366;box-shadow:none}
.welcome-actions{grid-template-columns:repeat(2,minmax(0,1fr))}#welcome-new{order:0;grid-column:1/-1}#welcome-saved{order:1}#welcome-credits{order:2}body[data-credit-state=empty] #welcome-credits{order:0;grid-column:1/-1;min-height:3.5rem}body[data-credit-state=empty] #welcome-new{order:1;grid-column:auto}body[data-credit-state=empty] #welcome-saved{order:2}body[data-credit-state=empty] #buy-credits{font-size:1rem}
@media(min-width:850px){.account-shell .payment-stats{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:540px){.account-shell main{padding-top:1rem;padding-bottom:3rem}.account-shell h1{margin-top:1.5rem}.account-shell .brand{font-size:1.05rem}.account-shell .brand img{width:2.35rem;height:2.35rem}.account-shell .action-row,.ui-actions{flex-direction:column}.account-shell button,.account-shell .ui-button,.ui-actions>.ui-button{width:100%;margin:.4rem 0}.account-shell .action-row>*,.ui-actions>*{margin:0}.account-shell #packages{grid-template-columns:1fr}.account-shell .stats{gap:.65rem}.account-shell .stats>div{padding:1rem}.account-shell .account-nav .ui-button{width:auto;flex:1;font-size:.875rem;padding:.6rem .75rem}.account-shell .purchase-top{gap:.75rem}.account-shell .numbers{gap:2.5rem}#credits-page .ui-actions{grid-template-columns:1fr}#credits-page .primary{grid-column:auto}.account-shell .actions{gap:.5rem}.account-shell .actions button{margin:0}}

#app-options{max-width:45rem;margin:2rem auto 0;padding:1rem 1.2rem;color:#c5b8cc;text-align:center}#app-options>a,#app-options summary{color:#dfbd83;font-size:.9375rem;text-underline-offset:.25em}#app-options details{margin-top:1rem}#app-options summary{cursor:pointer;min-height:2.75rem;align-content:center}.install-content{text-align:left;margin-top:.7rem;padding:1.4rem;border:1px solid #dfbd8333;border-radius:1rem;background:#23192e}.install-content>img{display:block;margin:auto;border-radius:1rem}.install-content p{font-size:.9375rem;line-height:1.75}.install-content .notice{border-left:2px solid #dfbd8366;padding-left:1rem}#install-status:empty{display:none}body:not([data-boot="ready"])>#app-options{display:none}@media(display-mode:standalone){body{overscroll-behavior-y:none}}

.footer-information{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem 1.4rem}.footer-information a{display:inline-flex;align-items:center;min-height:2.75rem;color:#dfbd83;font-size:.9375rem;text-underline-offset:.25em}.purchase-information-links{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;margin-block:1rem}.purchase-information-links a{min-height:2.75rem}
#withdrawals-list{display:grid;gap:1rem}#withdrawals-list .support-card{margin-top:1rem}#withdrawals-list textarea{font:inherit;box-sizing:border-box;width:100%;min-height:7rem;padding:1rem;border:1px solid #dfbd8333;border-radius:.8rem;background:#160f20;color:#f5eddf}#withdrawals-list p{overflow-wrap:anywhere}#receipt-copy{white-space:pre-line}#withdrawals-status:empty{display:none}
