/* Compact purchase sheet; no full-page paywall or forced interruption of drawing. */
#accountButton{border:1px solid var(--gold-line);background:transparent;color:var(--gold-hi);font-family:inherit;font-size:12px;line-height:1.4;padding:10px 14px;border-radius:24px;white-space:nowrap;cursor:pointer;min-height:44px;margin-left:auto}
#trialTeaser{color:var(--gold-hi);font-size:12px;line-height:1.7;border:1px solid var(--gold-line);border-radius:8px;padding:10px 14px;margin:14px 0 0;background:#c9a96c09;cursor:pointer}
#commerceDialog{width:min(580px,calc(100vw - 32px));max-width:none;max-height:88dvh;padding:0;border:1px solid #9b80584d;border-radius:18px;background:#201b26;color:#f3ecdf;box-shadow:0 32px 120px #0008;overflow:auto;overscroll-behavior:contain}
#commerceDialog::backdrop{background:#08060ed1;backdrop-filter:blur(8px)}
.commerce-shell{padding:34px;position:relative;line-height:1.7}.commerce-shell *{box-sizing:border-box}.commerce-close{position:absolute;right:15px;top:10px;width:44px;height:44px;border:0;background:transparent;color:#ccb88f;font-size:26px;cursor:pointer}.commerce-kicker{font:9px/1.6 Georgia;letter-spacing:.15em;color:#baa27c;padding-right:30px}.commerce-shell h2{font-family:Georgia,'Songti SC',serif;font-weight:500;font-size:28px;margin:14px 0 8px}.commerce-lede{font-size:13px;color:#bdb0c3;max-width:390px;margin:0 0 20px}.commerce-demo{border:1px solid #9d875044;border-radius:7px;background:#9d87500a;padding:8px 12px;font-size:11px;color:#d8bf94;margin-bottom:16px}.commerce-tabs{display:flex;align-items:center;gap:18px;border-bottom:1px solid #bca17b22;margin-bottom:20px}.commerce-tabs button{border:0;border-bottom:1px solid transparent;padding:8px 0 12px;background:none;color:#ad9fb7;font-size:12px;min-height:44px;cursor:pointer}.commerce-tabs button[aria-pressed=true]{color:#f1d9a6;border-bottom-color:#c9a96c}.commerce-tabs span{font-size:10px}.commerce-balance{margin-left:auto;color:#b5a7bd}.commerce-balance b{color:#f0d6a0;font-size:16px;font-weight:500}
.commerce-product-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;background:#15121a;border-radius:9px;padding:5px;margin-bottom:16px}.commerce-product-tabs button{min-height:43px;border:0;background:transparent;color:#a99aaf;font-size:12px;border-radius:6px;cursor:pointer}.commerce-product-tabs button[aria-selected=true]{background:#443744;color:#f0dbb1;box-shadow:0 1px 8px #0004}.commerce-offer{background:radial-gradient(ellipse at 90% 0,#c9a96c15,transparent 55%),linear-gradient(135deg,#302632,#27222d);border:1px solid #b696604d;border-radius:10px;padding:22px;margin-bottom:18px}.commerce-offer-top{display:flex;justify-content:space-between;color:#cdb790;font-size:11px;align-items:center}.commerce-stars{font-size:30px}.commerce-offer h3{font-size:20px;font-weight:500;margin:4px 0 10px}.commerce-price{font:36px/1.25 Georgia;color:#efdbb7;letter-spacing:-.02em}.commerce-price small{font:12px/1.5 system-ui;color:#c3b3c6;letter-spacing:0}.commerce-offer ul{padding:0;list-style:none;font-size:12px;line-height:2;color:#ddd1dd;margin:16px 0 10px}.commerce-offer li:before{content:'✓';color:#c8ad7b;margin-right:10px}.commerce-unit{font-size:10px;color:#aa9eb2;margin:0}.commerce-purchase{display:grid;gap:12px;margin-bottom:10px}.commerce-accept,.commerce-analytics{display:flex;align-items:flex-start;gap:8px;font-size:11px;line-height:1.8;color:#bdb0c5;cursor:pointer}.commerce-shell input[type=checkbox]{accent-color:#c9a96c;width:16px;height:16px;margin:2px 0;flex:none}.commerce-shell .btn{width:100%;min-height:48px;border-radius:6px;font-size:13px;text-decoration:none;display:flex;align-items:center;justify-content:center}.commerce-shell button:disabled{opacity:.4;cursor:not-allowed}.commerce-terms{margin:16px 0 20px;border-top:1px solid #c9a96c22;padding-top:12px;font-size:11px;color:#a99ab3}.commerce-terms summary{cursor:pointer;min-height:32px;display:flex;align-items:center;color:#c7b7cc}.commerce-terms summary:after{content:'＋';margin-left:auto}.commerce-terms[open] summary:after{content:'−'}.commerce-terms p{line-height:1.9;overflow-wrap:anywhere}.commerce-terms a{color:#d4bd93}.commerce-analytics{font-size:10px;flex-wrap:wrap;column-gap:6px}.commerce-analytics span{color:#8c7f98}.commerce-order-list{max-height:310px;overflow:auto;overscroll-behavior:contain}.commerce-order{padding:16px 0;border-bottom:1px solid #c9a96c20;display:grid;grid-template-columns:1fr auto;gap:8px;font-size:12px}.commerce-order strong{font-weight:500}.commerce-order small{display:block;font-size:10px;color:#a695b0;margin-top:4px}.commerce-order b{font-weight:400;color:#ebd7ae;display:block;text-align:right}.commerce-order span{font-size:10px;color:#bcadbf}.commerce-order p{font-size:11px;margin:0;color:#cfb589}.commerce-order button,.commerce-subscription button{border:1px solid #c9a96c40;background:transparent;color:#ddc395;border-radius:5px;padding:8px 12px;min-height:40px;width:max-content;font-size:11px;cursor:pointer}.commerce-order>button{justify-self:end;grid-column:2}.commerce-text{border:0;background:none;color:#ccbbd2;min-height:44px;font-size:11px;cursor:pointer;width:100%}.commerce-subscription{font-size:11px;padding:12px 0}.commerce-notice{font-size:12px;border-left:2px solid #c9a96c;padding:8px 12px;background:#c9a96c0a;color:#e0ceb0}.commerce-empty{text-align:center;font-size:12px;color:#a99ab3;padding:36px 10px}.chat-usage{font-size:11px;color:var(--gold-hi);display:flex;gap:12px;align-items:center;margin:8px 0 12px}.chat-usage button{border:0;background:none;color:inherit;text-decoration:underline;cursor:pointer;min-height:36px}
@media(max-width:600px){#accountButton{font-size:10px;padding:8px 10px;margin-left:0}#commerceDialog{width:100%;max-height:94dvh;border-radius:18px 18px 0 0;margin:auto 0 0;animation:commerce-arrive .22s ease-out}.commerce-shell{padding:28px 22px max(22px,env(safe-area-inset-bottom))}.commerce-shell h2{font-size:25px}.commerce-offer{padding:18px}.commerce-tabs{gap:16px}.commerce-purchase{position:sticky;bottom:0;background:#201b26;padding:10px 0 6px;box-shadow:0 -12px 20px #201b26;z-index:1}.commerce-lede{margin-bottom:16px}.commerce-product-tabs{margin-bottom:12px}.commerce-offer{margin-bottom:10px}.commerce-price{font-size:34px}.commerce-shell .btn{min-height:48px}}
@media(max-width:380px){header{gap:6px}#accountButton{font-size:9px;padding:8px}.commerce-shell{padding:26px 17px}.commerce-tabs{gap:13px}.commerce-lede{font-size:12px}}
@keyframes commerce-arrive{from{transform:translateY(24px);opacity:0}to{transform:translateY(0);opacity:1}}
@media(prefers-reduced-motion:reduce){#commerceDialog{animation:none}}
.commerce-shell .btn.primary{background:#d1b581;border:1px solid #d1b581;color:#231b2c;font-weight:500;cursor:pointer;padding:13px 16px}.commerce-shell .btn.primary:focus-visible,.commerce-shell button:focus-visible{outline:2px solid #f4dbac;outline-offset:3px}
.commerce-bills{grid-column:1/-1;color:#b9a8c3;font-size:10px}.commerce-bills summary{cursor:pointer;min-height:36px;display:flex;align-items:center}.commerce-bills p{font-size:10px;margin:4px 0}.commerce-cost{padding:14px 0;border-top:1px solid #eee7eb;margin-top:16px}.commerce-cost h3{font-size:14px;font-weight:500}#purchaseWarning:empty{display:none}#purchaseWarning{font-size:11px;color:#f0c5a9;margin:0}.commerce-offer{animation:offer-arrive .18s ease-out}@keyframes offer-arrive{from{opacity:.65;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.commerce-offer{animation:none}}
.commerce-order>*{min-width:0}.commerce-order-actions{grid-column:1/-1;display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}.commerce-order button,.commerce-bills summary{min-height:44px}.commerce-bill{padding:12px;background:#ffffff04;border-radius:6px;border:1px solid #b69d7520;margin-bottom:8px;overflow-wrap:anywhere}.commerce-bill strong{font-size:11px;display:block}.commerce-bill span{font-size:10px}.commerce-bill button{margin-top:8px}.commerce-bill .commerce-refund-status{color:#e2c99e}.commerce-refund-form{border:1px solid #b696604d;background:#2b2430;border-radius:10px;padding:20px;margin:16px 0}.commerce-refund-form small{color:#c5b2c5;font-size:11px}.commerce-refund-form h3{font-size:22px;font-weight:500;margin:12px 0}.commerce-refund-form p{font-size:12px;color:#c6b7cb;line-height:1.8}.commerce-refund-form .commerce-refund-reminder{border-left:2px solid #d1b581;padding-left:10px;color:#e8cda4}.commerce-refund-form label{font-size:12px;display:block;margin:20px 0 8px}.commerce-refund-form label span{color:#9b8ca8;font-size:10px}.commerce-refund-form textarea{width:100%;resize:vertical;min-height:96px;max-height:200px;background:#201b26;color:#f3ecdf;border:1px solid #9b80584d;border-radius:6px;padding:12px;font:14px/1.7 inherit}.commerce-refund-form textarea:focus-visible{outline:2px solid #d1b581;outline-offset:2px}.commerce-refund-form .commerce-refund-privacy{font-size:10px;color:#a697af;margin-bottom:18px}.commerce-refund-form .btn{margin-top:14px}@media(max-width:600px){.commerce-refund-form{padding:16px}.commerce-refund-form textarea{font-size:16px}.commerce-order-list{max-height:42dvh}}
#identityButton{border:0;background:transparent;color:var(--gold-hi);font:12px/1.4 inherit;padding:9px;min-height:44px;cursor:pointer;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#accountDialog{width:min(460px,calc(100vw - 24px));max-height:90dvh;padding:0;border:1px solid #9b80584d;border-radius:16px;background:#201b26;color:#f3ecdf;overflow:auto}#accountDialog::backdrop{background:#08060ed1;backdrop-filter:blur(8px)}.account-shell{font-size:13px}.account-shell label{display:block;margin:16px 0 8px;color:#cbbbd2;font-size:12px}.account-shell input{display:block;width:100%;min-height:48px;border:1px solid #9b80584d;background:#17131e;color:#eee4f0;border-radius:7px;padding:12px;font:16px/1.5 system-ui;margin-top:7px}.account-hint{font-size:11px;color:#baa9c4;line-height:1.9}.account-profile{border:1px solid #9b80584d;border-radius:10px;padding:18px;margin:20px 0}.account-profile strong{font-size:20px;display:block;font-weight:500}.account-profile span,.account-profile code{display:block;color:#b4a0bf;font-size:11px;margin:6px 0}.account-text,.account-links button{min-height:44px;border:0;background:none;color:#d1b581;cursor:pointer}.account-text{width:100%}.account-links{display:flex;justify-content:space-between;margin-top:10px}.recovery-code{display:block;padding:16px;background:#15111a;border:1px dashed #b69b6d;border-radius:8px;overflow-wrap:anywhere;color:#eed5aa;font:14px/1.8 monospace;margin:16px 0}#accountError{color:#e6b59b;font-size:12px}.commerce-account-card{background:#ffffff04;border:1px solid #b69b6d40;border-radius:8px;padding:10px 14px;margin:0 0 16px;display:grid;grid-template-columns:1fr auto;gap:4px 10px;font-size:11px;align-items:center}.commerce-account-card>span{color:#a896b5}.commerce-account-card strong{font-weight:500;color:#eddbb6;overflow-wrap:anywhere}.commerce-account-card code{grid-column:1/-1;font-size:10px;color:#aa99b5}.commerce-account-card button{grid-column:1/-1;border:0;background:none;color:#d1b581;padding:0;text-align:left;min-height:44px;cursor:pointer}.reading-voice-label{display:block;color:#d3bf9e;font-size:12px;margin:18px 0}.reading-voice-label select{display:block;width:100%;min-height:46px;margin-top:8px;border:1px solid #9b80584d;background:#282030;color:#eadbc3;border-radius:6px;padding:10px;font-size:14px}@media(max-width:600px){#identityButton{font-size:10px;padding:8px 3px;max-width:80px}#accountDialog{width:100%;max-height:94dvh;margin:auto 0 0;border-radius:16px 16px 0 0}.reading-voice-label select{font-size:16px}.commerce-account-card{padding:10px}}
