@import './member-shop.css?v=20261111s';
@font-face{font-family:Nova;src:url('./assets/fonts/nova-heading.woff2') format('woff2');font-display:swap}
:root{color-scheme:dark;--bg:#080b12;--surface:#111722;--surface2:#171f2d;--text:#edf1f9;--muted:#a4afc2;--line:#283245;--accent:#b8cefa;--warning:#ebc78f;--danger:#ffb9ba;--success:#a4d9c1;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;background:var(--bg);color:var(--text);font-size:15px;line-height:1.65}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 10% 2%,#1b2d4c55,transparent 45%),radial-gradient(ellipse at 92% 35%,#30264c33,transparent 40%),var(--bg);min-height:100vh}button,input,select{font:inherit}a{color:var(--accent);text-underline-offset:4px}button,a,input,select,summary{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button:disabled{opacity:.48;cursor:not-allowed}button{cursor:pointer}.wrap{max-width:1160px;margin:auto;padding-left:32px;padding-right:32px}.skip{position:fixed;left:15px;top:-100px;z-index:100;background:var(--surface);padding:15px}.skip:focus{top:10px}.account-header{min-height:108px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{text-decoration:none;display:flex;align-items:center;gap:20px;color:var(--muted)}.brand img{width:137px;height:50px;object-fit:contain}.brand span{font-size:12px;border-left:1px solid var(--line);padding-left:20px}.account-header nav{display:flex;gap:26px;font-size:13px}.account-header nav a{text-decoration:none;color:var(--muted)}.account-header nav a:hover{color:var(--text)}main{min-height:calc(100vh - 240px)}.eyebrow{color:var(--accent);font-size:11px;letter-spacing:2.7px;font-weight:600;margin:0 0 15px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(28px,3.8vw,43px);line-height:1.3;font-weight:600;letter-spacing:-1px;margin-bottom:18px}h2{font-size:22px;line-height:1.4;font-weight:600;margin-bottom:14px}h3{font-size:16px;font-weight:600;margin-bottom:10px}.intro{color:var(--muted);max-width:540px;font-size:15px;line-height:1.9}.access-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,460px);gap:70px;align-items:start;padding:45px 0 40px}.access-copy{padding-top:25px}.access-planet{width:200px;height:145px;object-fit:contain;opacity:.88;margin:15px 0 0 -15px}.steps{padding:0;list-style:none;display:grid;gap:22px;margin-top:30px}.steps li{display:flex;gap:15px;align-items:flex-start}.steps b{font-size:12px;display:grid;place-items:center;flex:none;width:29px;height:29px;border:1px solid #3c4a64;border-radius:50%;color:var(--accent)}.steps strong{font-size:14px;font-weight:500}.steps p{font-size:12px;color:var(--muted);margin:4px 0 0}.card,.loading-card{border:1px solid var(--line);background:linear-gradient(150deg,#151d2aef,#0e141ef5);border-radius:24px;padding:32px;box-shadow:0 16px 55px #0002;min-width:0}.loading-card{margin-top:40px;text-align:center;color:var(--muted)}.form-title{font-size:25px;margin-bottom:8px}.form-description{font-size:13px;color:var(--muted);margin-bottom:24px}.field{display:grid;gap:8px;margin-bottom:18px}.field>span,.field>label{font-size:13px;color:#d4dceb;font-weight:500}.field small,.hint{font-size:12px;color:var(--muted);line-height:1.7}.field input,.field select,select{width:100%;min-height:48px;padding:10px 13px;background:#080e18;border:1px solid #344156;border-radius:10px;color:var(--text);font-size:16px;min-width:0}input:disabled,select:disabled{opacity:.65}input::placeholder{color:#6f7d94}.inline-field{display:flex;gap:10px;align-items:stretch}.inline-field input{flex:1;min-width:0}.inline-field button{flex:none}.btn{display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:8px;padding:10px 17px;border:1px solid #405272;border-radius:11px;background:#1a263b;color:var(--text);text-decoration:none;font-size:13px;font-weight:500}.btn:hover:not(:disabled){background:#243552}.btn-primary{background:linear-gradient(130deg,#d2def8,#a8c0ed);color:#101b30;border-color:#c0d0f1}.btn-primary:hover:not(:disabled){background:#e1e9fa}.btn-full{width:100%;margin-top:12px;min-height:49px;font-size:15px}.btn-link{border:0;background:transparent;color:var(--accent);padding:3px 0;text-decoration:underline;text-underline-offset:4px;font-size:13px}.actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:20px}.check{display:flex;align-items:flex-start;gap:10px;font-size:12px;color:var(--muted);line-height:1.8;margin:20px 0}.check input{width:18px;height:18px;accent-color:#b4cafa;flex:none;margin:2px 0 0}.message{border:1px solid #6d5438;background:#3a2b1c55;color:var(--warning);border-radius:12px;padding:13px 16px;margin:12px 0 22px;overflow-wrap:anywhere;font-size:13px}.message:empty{display:none}.message[data-kind="success"]{border-color:#3b6356;background:#17382b55;color:var(--success)}.message[data-kind="error"]{border-color:#744347;background:#3a1b2355;color:var(--danger)}.form-footer{color:var(--muted);text-align:center;font-size:13px;margin:24px 0 0}.form-links{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin:15px 0}.dashboard-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-top:35px}.dashboard-heading h1{font-size:31px;margin-bottom:8px}.dashboard-heading p{color:var(--muted);font-size:13px;margin-bottom:0}.account-tabs{display:flex;gap:8px;margin:30px 0 25px;border-bottom:1px solid var(--line);padding-bottom:12px;flex-wrap:wrap}.account-tabs a{padding:9px 18px;border-radius:10px;color:var(--muted);font-size:14px;text-decoration:none}.account-tabs a[aria-current="page"]{background:#22314a;color:var(--text)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px}.status-pill{font-size:12px;color:var(--accent);border:1px solid #3c506e;border-radius:20px;padding:4px 11px;display:inline-block;margin-bottom:18px}.panel-note{color:var(--muted);font-size:13px;line-height:1.9}.notice{border-left:2px solid #786240;padding:12px 16px;background:#30271755;color:var(--warning);font-size:13px;line-height:1.9;margin:20px 0}.api-key{display:block;word-break:break-all;white-space:pre-wrap;padding:16px;border:1px solid var(--line);border-radius:12px;background:#090f1a;font-size:14px;color:#dae4f8;user-select:all;margin:10px 0}.secret-box{padding:18px;border:1px solid #4a6d5b;background:#10271e66;border-radius:14px;margin-top:20px}.secret-box code{display:block;word-break:break-all;white-space:pre-wrap;user-select:all;margin:12px 0}.confirmation{margin-top:22px;padding:20px;border:1px solid #84644a;background:#31231566;border-radius:14px}.balance{font-size:43px;letter-spacing:-1.6px;margin:8px 0}.balance small{font-size:16px;letter-spacing:0;color:var(--muted);margin-right:8px}.side-card{align-self:start;padding:25px}.side-card ol{padding-left:20px;color:var(--muted);font-size:13px;line-height:2.1}.side-card p{color:var(--muted);font-size:12px}.side-card a{font-size:13px}.records{margin-top:25px}.record-list{list-style:none;margin:0;padding:0}.record-list li{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding:16px 0;min-width:0}.record-list strong{font-size:13px;overflow-wrap:anywhere}.record-list small{display:block;color:var(--muted);font-size:12px}.record-list .btn{padding:8px 11px;min-height:40px;white-space:nowrap}.record-money{font-size:16px;white-space:nowrap}.result-row{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin:12px 0;overflow-wrap:anywhere}.result-row span:first-child{color:var(--muted)}.policy{max-width:800px;margin:35px auto}.policy-content{white-space:pre-wrap;font-size:14px;color:#c7d0df;line-height:1.95;overflow-wrap:anywhere}.captcha{border:1px solid var(--line);border-radius:12px;padding:14px;margin-bottom:20px}.captcha p{font-size:12px;color:var(--muted);margin-bottom:10px}.captcha img{display:block;max-width:100%;height:65px;object-fit:contain;background:#fff;border-radius:6px;margin-bottom:12px}.account-footer{display:flex;justify-content:space-between;gap:20px;padding-top:40px;padding-bottom:35px;color:#79879e;font-size:12px}.account-footer div{display:flex;gap:20px;flex-wrap:wrap}.account-footer a{color:#9aa8bd;text-decoration:none}.security-note{font-size:12px;color:var(--muted);margin-top:20px}.empty{color:var(--muted);font-size:13px;padding:16px 0}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}[hidden]{display:none!important}
@media(max-width:850px){.access-layout{gap:35px;grid-template-columns:minmax(0,1fr) minmax(0,420px)}.dashboard-grid{grid-template-columns:minmax(0,1fr)}.side-card{display:none}.brand span{display:none}}
@media(max-width:650px){.wrap{padding-left:20px;padding-right:20px}.account-header{min-height:83px;gap:10px}.brand img{width:112px;height:43px}.account-header nav{gap:15px;font-size:12px}.access-layout{display:flex;flex-direction:column;gap:23px;padding-top:18px}.access-copy{padding-top:0}.access-copy h1{font-size:28px;margin-bottom:11px}.access-copy .intro{font-size:13px;margin-bottom:0}.access-copy .steps,.access-planet{display:none}.card{width:100%;padding:24px 21px;border-radius:20px}.form-title{font-size:24px}.field input,.field select,select{font-size:16px}.dashboard-heading{padding-top:20px;align-items:flex-start}.dashboard-heading h1{font-size:25px}.dashboard-heading>.btn{padding:9px 12px;font-size:12px;flex:none}.account-tabs{margin-top:23px;gap:4px}.account-tabs a{padding:8px 12px;font-size:13px}.account-footer{font-size:11px;flex-direction:column;gap:10px;padding-top:35px}.account-footer div{gap:16px}.record-list li{gap:10px}.record-list strong{font-size:12px}.notice{font-size:12px;padding:11px 12px}.inline-field button{padding:10px 12px;font-size:12px}.balance{font-size:37px}.policy{margin-top:20px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
html[data-theme="light"] body[data-account-view="auth"]{color-scheme:light;--bg:#f6f7f9;--surface:#fff;--surface2:#edf1f8;--text:#243149;--muted:#68758b;--line:#d6deeb;--accent:#516b99;--warning:#8d682f;--danger:#a63d4c;--success:#37735b;color:var(--text)}
body[data-account-view="auth"]{background:radial-gradient(ellipse at 12% 5%,#26396355,transparent 46%),radial-gradient(ellipse at 90% 85%,#42325238,transparent 42%),var(--bg)}
body[data-account-view="auth"] main{min-height:100vh;max-width:none;padding:32px 20px;display:flex;align-items:center;justify-content:center}
body[data-account-view="auth"] #account-root{width:100%;max-width:440px}
body[data-account-view="auth"] .message{margin:0 0 16px}
.auth-layout{width:100%}.auth-card{padding:27px 32px 23px;border-radius:24px;background:linear-gradient(150deg,#161f30f5,#0d131ff5);box-shadow:0 22px 80px #0003}
.auth-brand{display:flex;justify-content:center;width:fit-content;margin:0 auto 18px}.auth-brand img{display:block;width:124px;height:45px;object-fit:contain}
.auth-card .form-title{text-align:center;font-size:25px;letter-spacing:.03em;font-weight:600;margin:0 0 7px;line-height:1.4}.auth-card .form-description{text-align:center;margin:0 0 25px;font-size:12px;color:var(--muted)}
.auth-card .field{gap:7px;margin-bottom:15px}.auth-card .field>label,.auth-card .field>span{color:var(--text);font-size:12px;font-weight:500}.auth-card .hint{margin:-7px 0 17px;font-size:11px;line-height:1.65}.auth-card .field small{font-size:11px;line-height:1.65;color:var(--muted)}
.input-shell{position:relative;display:flex;align-items:center;min-width:0}.input-shell>svg{position:absolute;left:13px;width:17px;height:17px;pointer-events:none;color:var(--muted)}
.auth-card .input-shell input{padding-left:40px}.auth-card input,.auth-card select{min-height:45px;border:1px solid var(--line);background:#0a111e;color:var(--text);border-radius:10px;font-size:14px}.auth-card input::placeholder{color:#6f7d94}.auth-card .input-shell input[data-password-input]{padding-right:45px}
.password-toggle{position:absolute;right:5px;top:3px;bottom:3px;width:37px;display:grid;place-items:center;color:var(--muted);background:transparent;border:0;border-radius:7px;padding:0}.password-toggle svg{width:19px;height:19px}.password-toggle:hover,.password-toggle[aria-pressed="true"]{color:var(--accent);background:#829ec212}
.email-field{display:grid;grid-template-columns:minmax(0,1fr) 125px;gap:8px}.email-field select{padding:9px 7px;width:100%;font-size:13px;min-width:0}
.password-rules{list-style:none;display:flex;flex-wrap:wrap;gap:6px 13px;padding:0;margin:-5px 0 5px;color:var(--muted);font-size:11px;line-height:1.7}.password-rules li{display:flex;align-items:center;gap:5px}.password-rules li::before{content:"";width:5px;height:5px;flex:none;border:1px solid currentColor;border-radius:50%}.password-rules li[data-satisfied="true"]{color:var(--success)}.password-rules li[data-satisfied="true"]::before{background:currentColor}.auth-card .password-limit{font-size:10px;margin:0 0 17px}
.auth-card .captcha{padding:12px;margin:4px 0 17px;background:#849bc008}.auth-card .captcha p{margin-bottom:9px;line-height:1.7}.auth-card .captcha p:only-child{margin-bottom:0}
.auth-card .inline-field{gap:8px}.auth-card .inline-field button{padding:9px 12px;white-space:nowrap}.auth-card .check{font-size:11px;gap:8px;margin:17px 0 10px}.auth-card .check input{min-height:0;width:16px;height:16px;margin-top:3px}.auth-card .btn-full{margin-top:8px;min-height:45px;font-size:14px;letter-spacing:.06em}.auth-card .panel-note{font-size:12px;padding:10px 12px;border:1px solid var(--line);border-radius:9px}
.auth-links{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:21px 0 0;font-size:12px;color:var(--muted)}.auth-links a{text-decoration:none}.auth-back{display:block;width:fit-content;margin:21px auto 0;color:var(--muted);font-size:11px;text-decoration:none}.auth-back:hover{color:var(--accent)}
.auth-card .password-limit[data-satisfied="false"]{color:var(--danger)}.auth-card input[aria-invalid="true"]{border-color:var(--danger)}
html[data-theme="light"] body[data-account-view="auth"]{background:radial-gradient(ellipse at 8% 2%,#d6e2f080,transparent 50%),radial-gradient(ellipse at 92% 92%,#e7def275,transparent 44%),var(--bg)}html[data-theme="light"] .auth-card{background:linear-gradient(150deg,#fffffff5,#f5f7fbf5);box-shadow:0 22px 70px #293a6510}html[data-theme="light"] .auth-card input,html[data-theme="light"] .auth-card select{background:#fff;border-color:#cfd8e8}html[data-theme="light"] .auth-card input::placeholder{color:#8c98aa}html[data-theme="light"] .auth-card .btn:not(.btn-primary){background:#eaf0fa;border-color:#cbd7eb;color:var(--text)}html[data-theme="light"] .auth-card .btn-primary{background:linear-gradient(130deg,#5b77a8,#526b9b);color:#fff;border-color:#536f9f}
@media(max-width:480px){body[data-account-view="auth"] main{padding:20px 14px;align-items:flex-start}.auth-card{padding:24px 22px 21px;border-radius:21px}.auth-brand{margin-bottom:16px}.auth-brand img{width:114px;height:42px}.auth-card .form-title{font-size:24px}.auth-card .form-description{margin-bottom:23px}.auth-card input,.auth-card select{font-size:16px}.email-field{grid-template-columns:minmax(0,1fr) 132px;gap:7px}.email-field select{font-size:16px}.auth-card .input-shell input{padding-left:36px}.input-shell>svg{left:11px;width:16px;height:16px}.auth-card .hint,.auth-card .field small,.password-rules,.auth-card .password-limit{font-size:12px}.auth-card .inline-field button{padding:9px 10px;font-size:12px}.auth-links{font-size:12px}.auth-links a{font-weight:600;text-decoration:underline;text-underline-offset:3px;padding:3px 0}.auth-card .check{font-size:12px}}
@media(max-width:350px){body[data-account-view="auth"] main{padding:14px 10px}.auth-card{padding:23px 17px 20px}.email-field{grid-template-columns:minmax(0,1fr) 132px}.auth-card .inline-field button{padding:9px 8px;font-size:12px}}

/* Reuse the storefront's complete planet and crisp text lockup. */
.auth-brand{display:block;width:134px;height:114px;margin:0 auto 18px;text-decoration:none}
.auth-brand .space-brand{display:flex;flex-direction:column;align-items:center;width:100%;height:100%;color:var(--text)}
.auth-brand .space-brand__planet{display:block;width:128px;height:96px;object-fit:contain;margin:0 auto -16px;flex:none}
.auth-brand .space-brand__lockup{display:flex;flex-direction:column;align-items:center;gap:4px;line-height:1}
.auth-brand .space-brand__title{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:24px;font-weight:650;letter-spacing:.16em;padding-left:.16em;color:var(--text)}
.auth-brand .space-brand__subtitle{font-size:8px;font-weight:600;letter-spacing:.12em;color:var(--muted);white-space:nowrap}
.auth-brand .space-brand__subtitle i{font-style:normal;opacity:.65}
.auth-brand .space-brand__legacy{display:none}
.email-domain-select{position:relative;min-width:0}
.auth-card .email-domain-select select{appearance:none;-webkit-appearance:none;padding-right:32px;padding-left:11px}
.email-select-chevron{position:absolute;right:11px;top:50%;transform:translateY(-50%);width:16px;height:16px;pointer-events:none;color:var(--muted)}
.auth-card .password-limit[hidden]{display:none}
.auth-links{justify-content:center;flex-wrap:wrap;gap:16px;margin-top:16px}
.auth-links>span{display:flex;align-items:center;gap:8px;min-width:0}
.auth-card a.auth-nav-button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 15px;border:1px solid var(--line);border-radius:10px;background:#819cc00d;color:var(--accent);font-size:12px;font-weight:600;line-height:1.4;text-decoration:none}
.auth-card a.auth-back{display:flex;width:fit-content;min-width:0;min-height:34px;margin:14px auto 0;padding:6px 12px;font-size:11px;font-weight:500;border-radius:8px}
.auth-card a.auth-nav-button:is(:hover,:focus-visible){border-color:#8da9d0;background:#819cc01c;color:var(--text)}
.auth-card .captcha{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px 10px;padding:10px 4px}
.auth-card .captcha .captcha-heading{font-size:12px;font-weight:600;color:var(--text);margin:0;white-space:nowrap}
.auth-card .captcha [data-captcha-status]{margin:0;text-align:right;font-size:11px;line-height:1.5;overflow-wrap:anywhere;min-width:0}
.auth-card .captcha [data-captcha-widget]{grid-column:1/-1;min-width:0}
@media(max-width:480px){
 .auth-brand{width:128px;height:108px;margin-bottom:16px}
 .auth-brand .space-brand__planet{width:122px;height:91.5px}
 .auth-brand .space-brand__title{font-size:23px}
 .auth-card a.auth-nav-button{padding:7px 13px}
 .auth-card a.auth-back{padding:6px 12px}
}

/* Member pages share the store's quiet cosmic palette; auth keeps its own compact card. */
#account-main:focus{outline:none}
body[data-account-view="dashboard"]{--member-card:linear-gradient(145deg,#151e2ced,#0e1520f5);--member-input:#0a111c;background:radial-gradient(ellipse at 7% 0,#20345c44,transparent 48%),radial-gradient(ellipse at 96% 70%,#3a28572b,transparent 46%),var(--bg)}
body[data-account-view="dashboard"] .wrap{max-width:1220px;padding-inline:28px}
body[data-account-view="dashboard"] main{padding-bottom:12px}
body[data-account-view="dashboard"] .account-header{min-height:104px;border-bottom:1px solid var(--line);margin-bottom:30px}
body:is([data-account-view="dashboard"],[data-account-view="policy"]) .brand{gap:20px;flex:none}
body:is([data-account-view="dashboard"],[data-account-view="policy"]) .brand span{border:0;padding:0}
body:is([data-account-view="dashboard"],[data-account-view="policy"]) .brand .space-brand{display:flex;align-items:center;gap:2px;height:64px;color:var(--text)}
body:is([data-account-view="dashboard"],[data-account-view="policy"]) .brand .space-brand__planet{width:78px;height:59px;object-fit:contain;flex:none}
body:is([data-account-view="dashboard"],[data-account-view="policy"]) .brand .space-brand__lockup{display:flex;flex-direction:column;gap:5px;line-height:1}
body:is([data-account-view="dashboard"],[data-account-view="policy"]) .brand .space-brand__title{display:block;font-size:22px;letter-spacing:.14em;font-weight:650;color:var(--text)}
body:is([data-account-view="dashboard"],[data-account-view="policy"]) .brand .space-brand__subtitle{display:block;font-size:8px;letter-spacing:.08em;color:var(--muted)}
body:is([data-account-view="dashboard"],[data-account-view="policy"]) .brand .space-brand__subtitle i{font-style:normal;opacity:.6}
body:is([data-account-view="dashboard"],[data-account-view="policy"]) .brand .space-brand__legacy{display:none}
body:is([data-account-view="dashboard"],[data-account-view="policy"]) .brand .account-brand-label{padding-left:20px;border-left:1px solid var(--line);font-size:13px;color:var(--muted);white-space:nowrap}
body[data-account-view="dashboard"] .account-header nav{gap:10px;align-items:center}
body[data-account-view="dashboard"] .account-header nav a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;border-radius:10px;font-size:13px}
body[data-account-view="dashboard"] .account-header nav a:is(:hover,:focus-visible){background:#88a9ec10;color:var(--text)}
body[data-account-view="dashboard"] .account-header nav a[href="./integration.html"]{display:none}
body[data-account-view="dashboard"] .dashboard-heading{padding:4px 0 0;gap:24px;align-items:center}
body[data-account-view="dashboard"] .dashboard-heading>div{min-width:0}
body[data-account-view="dashboard"] .dashboard-heading .eyebrow{font-size:12px;letter-spacing:.12em;margin:0 0 8px}
body[data-account-view="dashboard"] .dashboard-heading h1{font-size:30px;line-height:1.4;letter-spacing:0;margin:0 0 8px;overflow-wrap:anywhere}
body[data-account-view="dashboard"] .dashboard-heading p:last-child{font-size:14px;line-height:1.7}
body[data-account-view="dashboard"] .btn{min-height:44px;border-radius:10px;padding:10px 15px;font-size:13px;line-height:1.6;font-weight:500;white-space:normal;text-align:center;background:#a6bce514;border-color:#8ba9d34d;flex:none}
body[data-account-view="dashboard"] .btn-primary{background:linear-gradient(130deg,#d2def8,#a8c0ed);border-color:#c0d0f1;color:#101b30}
body[data-account-view="dashboard"] .btn:is(:hover,:focus-visible):not(:disabled){background:#91b0e62b;border-color:#92aeda}
body[data-account-view="dashboard"] .btn-primary:is(:hover,:focus-visible):not(:disabled){background:#e1e9fa}
body[data-account-view="dashboard"] .btn-link{display:inline-flex;align-items:center;min-height:40px;padding:6px 2px;font-size:13px}
body[data-account-view="dashboard"] .account-navigation{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:27px 0 24px;padding-bottom:14px;border-bottom:1px solid var(--line)}
body[data-account-view="dashboard"] .account-tabs{margin:0;padding:0;border:0;gap:6px;flex-wrap:nowrap;min-width:0}
body[data-account-view="dashboard"] .account-tabs a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;font-size:14px;line-height:1.5;white-space:nowrap}
body[data-account-view="dashboard"] .account-tabs a[aria-current="page"]{background:#7e9fd326;color:var(--text);box-shadow:inset 0 0 0 1px #87a6d33d}
body[data-account-view="dashboard"] .account-tools{display:flex;align-items:center;gap:16px;flex:none}
body[data-account-view="dashboard"] .account-tools>a{font-size:13px;color:var(--muted);text-decoration:none;white-space:nowrap}
body[data-account-view="dashboard"] .dashboard-grid{grid-template-columns:minmax(0,1fr) 280px;gap:22px;align-items:start}
body[data-account-view="dashboard"] .dashboard-main{min-width:0;display:grid;gap:20px}
body[data-account-view="dashboard"] .card{padding:27px;border-radius:20px;background:var(--member-card);box-shadow:0 8px 30px #00000012;border-color:var(--line)}
body[data-account-view="dashboard"] .card h2{font-size:21px;line-height:1.5;margin:0 0 14px}
body[data-account-view="dashboard"] .card h3{font-size:16px;line-height:1.5;margin:0 0 14px}
body[data-account-view="dashboard"] :is(.hint,.panel-note,.security-note){font-size:13px;color:var(--muted);line-height:1.85;overflow-wrap:anywhere}
body[data-account-view="dashboard"] .notice{border:1px solid #b8904847;border-left:3px solid #b890488c;border-radius:10px;background:#a67b3010;font-size:13px;line-height:1.85;margin:18px 0;padding:12px 14px}
body[data-account-view="dashboard"] .notice p{margin:8px 0}
body[data-account-view="dashboard"] .status-pill{font-size:12px;line-height:1.6;padding:5px 12px;margin-bottom:18px;color:var(--success);border-color:#8bceb745;background:#7bbd9a0a}
body[data-account-view="dashboard"] .wallet-summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px;padding-bottom:23px;margin-bottom:23px;border-bottom:1px solid var(--line)}
body[data-account-view="dashboard"] .wallet-summary .eyebrow{margin:0 0 7px;letter-spacing:.1em}
body[data-account-view="dashboard"] .wallet-summary h2{margin-bottom:5px;font-size:20px}
body[data-account-view="dashboard"] .wallet-summary .hint{margin:0}
body[data-account-view="dashboard"] .balance{font-size:clamp(32px,3.2vw,43px);line-height:1.3;letter-spacing:-1px;font-variant-numeric:tabular-nums;margin:0;max-width:100%;overflow-wrap:anywhere}
body[data-account-view="dashboard"] .balance small{font-size:12px;letter-spacing:.04em;margin-right:8px}
body[data-account-view="dashboard"] .field{gap:8px;margin-bottom:18px}
body[data-account-view="dashboard"] .field>span{font-size:13px;color:var(--text);line-height:1.6}
body[data-account-view="dashboard"] :is(input:not([type="checkbox"]),select){min-height:46px;padding:10px 13px;font-size:16px;background:var(--member-input);border-color:var(--line);border-radius:10px;color:var(--text)}
body[data-account-view="dashboard"] .inline-field{gap:10px}
body[data-account-view="dashboard"] .inline-field .btn{padding-inline:14px;white-space:nowrap}
body[data-account-view="dashboard"] .check{font-size:12px;line-height:1.9;color:var(--muted);gap:10px;margin:18px 0}
body[data-account-view="dashboard"] .check input{flex:none;width:18px;height:18px;margin-top:3px}
body[data-account-view="dashboard"] #account-recharge>[data-submit]{width:100%;margin-top:0;min-height:46px;font-size:14px}
body[data-account-view="dashboard"] .wallet-records{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;min-width:0}
body[data-account-view="dashboard"] .records{margin-top:0;min-width:0}
body[data-account-view="dashboard"] .empty{font-size:13px;line-height:1.8;margin:0;padding:22px 0;color:var(--muted)}
body[data-account-view="dashboard"] .record-list li{align-items:flex-start;flex-wrap:wrap;gap:12px;padding:17px 0}
body[data-account-view="dashboard"] .record-list li>div{min-width:0;flex:1 1 150px}
body[data-account-view="dashboard"] .record-list strong{font-size:13px;line-height:1.7}
body[data-account-view="dashboard"] .record-list small{font-size:12px;line-height:1.8;margin-top:5px}
body[data-account-view="dashboard"] .record-money{display:block;font-size:16px;font-variant-numeric:tabular-nums;margin-top:8px}
body[data-account-view="dashboard"] .record-list .btn{min-height:40px;padding:8px 12px;font-size:12px;max-width:100%;white-space:normal}
body[data-account-view="dashboard"] .side-card{display:block;padding:24px;position:static}
body[data-account-view="dashboard"] .side-card .eyebrow{font-size:11px;letter-spacing:.12em;margin-bottom:12px}
body[data-account-view="dashboard"] .side-card ol{font-size:13px;line-height:1.9;padding-left:19px;margin:0 0 18px}
body[data-account-view="dashboard"] .side-card li+li{margin-top:8px}
body[data-account-view="dashboard"] .side-card p:not(.eyebrow){font-size:13px;line-height:1.85;margin:14px 0 0;overflow-wrap:anywhere}
body[data-account-view="dashboard"] .side-card>.btn{width:100%}
body[data-account-view="dashboard"] .member-support{border-top:1px solid var(--line);padding-top:20px;margin-top:22px;display:grid;gap:10px}
body[data-account-view="dashboard"] .member-support h3{font-size:14px;margin:0 0 2px}
body[data-account-view="dashboard"] .member-support .btn{width:100%;font-size:12px;overflow-wrap:anywhere}
body[data-account-view="dashboard"] .api-key{font-size:13px;line-height:1.9;padding:14px 15px;border-color:var(--line);background:var(--member-input);color:var(--text);border-radius:10px;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-all}
body[data-account-view="dashboard"] :is(.confirmation,.secret-box){padding:20px;border-radius:12px;overflow-wrap:anywhere}
body[data-account-view="dashboard"] .secret-box code{font-size:13px;line-height:1.9}
body[data-account-view="dashboard"] .actions{gap:10px;align-items:stretch}
body[data-account-view="dashboard"] .account-footer{font-size:12px;line-height:1.8;padding-top:28px;padding-bottom:28px;gap:16px}
html[data-theme="light"] body[data-account-view="dashboard"]{color-scheme:light;--bg:#f6f7fb;--surface:#fff;--surface2:#edf1f8;--text:#243149;--muted:#64748a;--line:#d8e0ec;--accent:#456795;--warning:#8d682f;--danger:#a63d4c;--success:#37735b;--member-card:linear-gradient(145deg,#fff,#f9fbff);--member-input:#fff;color:var(--text)}
html[data-theme="light"] body[data-account-view="dashboard"] .btn-primary{background:linear-gradient(130deg,#5b77a8,#526b9b);border-color:#536f9f;color:#fff}
html[data-theme="light"] body[data-account-view="dashboard"] .btn-primary:is(:hover,:focus-visible):not(:disabled){background:#46638f}
@media(max-width:1050px){body[data-account-view="dashboard"] .dashboard-grid{grid-template-columns:minmax(0,1fr)}body[data-account-view="dashboard"] .side-card{max-width:none}body[data-account-view="dashboard"] .member-support{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-account-view="dashboard"] .member-support h3{grid-column:1/-1}body[data-account-view="dashboard"] .side-card>.btn{width:fit-content}}
@media(max-width:650px){
 body[data-account-view="dashboard"] .wrap{padding-inline:18px}
 body[data-account-view="dashboard"] .account-header{min-height:86px;margin-bottom:22px;gap:12px}
 body:is([data-account-view="dashboard"],[data-account-view="policy"]) .brand{gap:0}
 body:is([data-account-view="dashboard"],[data-account-view="policy"]) .brand .space-brand{height:58px}
 body:is([data-account-view="dashboard"],[data-account-view="policy"]) .brand .space-brand__planet{width:64px;height:48px}
 body:is([data-account-view="dashboard"],[data-account-view="policy"]) .brand .space-brand__title{font-size:19px}
 body:is([data-account-view="dashboard"],[data-account-view="policy"]) .brand .account-brand-label{display:none}
 body[data-account-view="dashboard"] .account-header nav{gap:2px}
 body[data-account-view="dashboard"] .account-header nav a{padding:8px;font-size:12px}
 body[data-account-view="dashboard"] .account-header nav a[href="./integration.html"]{display:none}
 body[data-account-view="dashboard"] .dashboard-heading{gap:15px;align-items:flex-start}
 body[data-account-view="dashboard"] .dashboard-heading h1{font-size:23px}
 body[data-account-view="dashboard"] .dashboard-heading p:last-child{font-size:13px}
 body[data-account-view="dashboard"] .dashboard-heading>.btn{font-size:12px;padding:8px 11px;min-height:40px}
 body[data-account-view="dashboard"] .account-navigation{display:grid;gap:12px;margin:22px 0 18px;padding-bottom:14px}
 body[data-account-view="dashboard"] .account-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 body[data-account-view="dashboard"] .account-tabs a{padding:10px 5px;font-size:13px}
 body[data-account-view="dashboard"] .account-tools{justify-content:flex-end;gap:18px}
 body[data-account-view="dashboard"] .account-tools .btn{min-height:38px;font-size:12px;padding:7px 12px}
 body[data-account-view="dashboard"] .card{padding:21px;border-radius:17px}
 body[data-account-view="dashboard"] .card h2{font-size:20px}
 body[data-account-view="dashboard"] .dashboard-main,body[data-account-view="dashboard"] .dashboard-grid{gap:18px}
 body[data-account-view="dashboard"] .wallet-summary{padding-bottom:19px;margin-bottom:19px;gap:16px}
 body[data-account-view="dashboard"] .balance{font-size:35px}
 body[data-account-view="dashboard"] .wallet-records{grid-template-columns:minmax(0,1fr);gap:18px}
 body[data-account-view="dashboard"] .notice{font-size:12px;padding:11px 12px}
 body[data-account-view="dashboard"] .inline-field{flex-wrap:wrap;gap:8px}
 body[data-account-view="dashboard"] .inline-field input{flex:1 1 120px}
 body[data-account-view="dashboard"] .inline-field .btn{padding-inline:11px;font-size:12px}
 body[data-account-view="dashboard"] .actions>.btn{flex:1 1 120px}
 body[data-account-view="dashboard"] :is(.confirmation,.secret-box){padding:15px}
 body[data-account-view="dashboard"] .account-footer{gap:8px;padding-top:24px}
}
@media(max-width:350px){body[data-account-view="dashboard"] .wrap{padding-inline:12px}body[data-account-view="dashboard"] .card{padding:18px}body[data-account-view="dashboard"] .balance{font-size:31px}body[data-account-view="dashboard"] .member-support{grid-template-columns:minmax(0,1fr)}}

/* Preserve the tested member-center proportions, using the NOVA palette. */
body[data-account-view="dashboard"] .wrap{max-width:1440px}
body[data-account-view="dashboard"] .account-header{min-height:94px;margin-bottom:24px}
.member-shell{display:grid;grid-template-columns:222px minmax(0,1fr);gap:24px;align-items:start}
body[data-account-view="dashboard"] .member-sidebar{padding:20px 14px;position:sticky;top:22px}
.member-identity{display:flex;align-items:center;gap:11px;padding:0 4px 20px;border-bottom:1px solid var(--line);margin-bottom:14px;min-width:0}
.member-avatar{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;flex:none;background:linear-gradient(145deg,#88a6d044,#597aaa22);border:1px solid #9cb6df44;font-size:20px;font-weight:600;color:var(--accent)}
.member-identity>div{min-width:0}.member-identity strong{display:block;max-width:145px;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-identity div>span{display:block;color:var(--muted);font-size:12px;margin-top:3px}
body[data-account-view="dashboard"] .member-nav.account-tabs{display:grid;grid-template-columns:minmax(0,1fr);gap:3px;margin:0;padding:0;border:0}
.member-nav>p{margin:13px 11px 5px;font-size:11px;letter-spacing:.08em;color:var(--muted)}
body[data-account-view="dashboard"] .member-nav a{justify-content:flex-start;min-height:42px;padding:9px 14px;font-size:13px;border-radius:10px}
body[data-account-view="dashboard"] .member-nav a:is(:hover,:focus-visible){background:#7e9fd315;color:var(--text)}
body[data-account-view="dashboard"] .member-nav a[aria-current="page"]{background:#7e9fd326;box-shadow:inset 0 0 0 1px #87a6d33d;color:var(--text);font-weight:600}
body[data-account-view="dashboard"] .member-back{width:100%;margin-top:19px;min-height:40px;font-size:12px}
.member-contact{display:grid;gap:3px;margin:14px 8px 0}.member-contact a{font-size:11px!important;min-height:30px!important;color:var(--muted)}
.member-content,.member-route-body{min-width:0}.member-route-body{display:grid;gap:20px}
body[data-account-view="dashboard"] .member-page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:21px 25px;margin-bottom:22px;min-height:104px}
.member-page-heading .eyebrow{font-size:10px;letter-spacing:.12em;margin:0 0 6px}.member-page-heading h1{font-size:25px;letter-spacing:0;margin:0;line-height:1.45}
.member-page-actions{display:flex;align-items:center;gap:9px;flex:none}.member-page-actions .btn{font-size:12px!important;min-height:40px!important;padding:8px 12px!important}
.member-mobile-menu{display:none}
.member-quick-links{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 0}
.member-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body[data-account-view="dashboard"] .member-stat{display:flex;flex-direction:column;gap:12px;text-decoration:none;color:var(--text);padding:23px}
.member-stat>span{font-size:12px;color:var(--muted)}.member-stat strong{font-size:22px;font-weight:600;line-height:1.5}.member-stat small{font-size:11px;font-weight:400;color:var(--muted)}
.member-info{display:grid;gap:0;margin:0}.member-info>div{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:15px 0;font-size:13px}.member-info dt{flex:none;color:var(--muted)}.member-info dd{margin:0;text-align:right;overflow-wrap:anywhere;min-width:0}.member-info>div:last-child{border-bottom:0}
body[data-account-view="dashboard"] .wallet-summary{padding-bottom:19px;margin-bottom:20px}.wallet-recharge>h3{margin-bottom:20px!important}
body[data-account-view="dashboard"] .recharge-amount-input{position:relative;display:flex;align-items:center}
.recharge-amount-input>span{position:absolute;left:15px;top:50%;transform:translateY(-50%);font-size:22px;color:var(--muted);pointer-events:none}
body[data-account-view="dashboard"] .recharge-amount-input input{padding:11px 15px 11px 40px;min-height:58px;font-size:24px;font-variant-numeric:tabular-nums}
.recharge-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:-4px 0 24px}
.recharge-presets button{min-height:41px;border:1px solid var(--line);border-radius:9px;background:#88a9ec08;color:var(--muted);padding:8px;font-size:13px;font-variant-numeric:tabular-nums}
.recharge-presets button[aria-pressed="true"]{background:#88a9ec20;border-color:#829fc9;color:var(--text)}
.recharge-presets button:hover:not(:disabled){border-color:#829fc9;color:var(--text)}
.recharge-method-field{border:0;margin:0;padding:0;min-width:0}.recharge-method-field legend{padding:0;margin-bottom:10px;font-size:13px;color:var(--text)}
.recharge-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;min-width:0}
.recharge-method{position:relative;min-width:0;cursor:pointer}
body[data-account-view="dashboard"] .recharge-method>input{position:absolute;opacity:0;width:1px;height:1px;min-height:0;padding:0;margin:0;border:0;clip-path:inset(50%)}
.recharge-method-card{display:flex;align-items:center;gap:11px;min-height:76px;padding:14px 16px;border:1px solid var(--line);border-radius:11px;background:var(--member-input);min-width:0}
.recharge-method-card>img{display:block;width:28px;height:28px;object-fit:contain;flex:none}.recharge-method-card>span:nth-last-child(2){min-width:0;flex:1}
.recharge-method-card strong{display:block;font-size:14px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}.recharge-method-card small{display:block;font-size:11px;color:var(--muted);line-height:1.6;margin-top:4px}
.recharge-method-symbol{display:grid;place-items:center;width:28px;height:28px;flex:none;color:var(--accent);border:1px solid var(--line);border-radius:8px;font-size:15px}
.recharge-method-check{display:grid;place-items:center;flex:none;width:18px;height:18px;border:1px solid var(--line);border-radius:50%;font-size:11px;color:transparent}
.recharge-method>input:checked+.recharge-method-card{border-color:#8aa9d4;background:#7e9fd317;box-shadow:inset 0 0 0 1px #8aa9d430}
.recharge-method>input:checked+.recharge-method-card .recharge-method-check{color:var(--bg);background:var(--accent);border-color:var(--accent)}
.recharge-method>input:focus-visible+.recharge-method-card{outline:2px solid var(--accent);outline-offset:3px}
.recharge-method>input:disabled+.recharge-method-card{opacity:.65;cursor:default}
.recharge-method-placeholder{grid-column:1/-1;min-height:76px;border:1px dashed var(--line);border-radius:11px;padding:15px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px;font-size:12px;color:var(--muted);text-align:center}
.recharge-spinner{width:15px;height:15px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:recharge-spin .8s linear infinite}
@keyframes recharge-spin{to{transform:rotate(360deg)}}
[data-recharge-status]{font-size:12px;color:var(--muted);line-height:1.75;min-height:21px;margin:11px 0 17px}[data-recharge-status][data-kind="error"]{color:var(--danger)}
body[data-account-view="dashboard"] .recharge-platform-note{font-size:11px;line-height:1.8;color:var(--muted);margin:13px 0 0}
.recharge-result-card,.recharge-recovery{border:1px solid var(--line);border-radius:12px;padding:20px;background:#7e9fd30a;overflow-wrap:anywhere}
.recharge-result-card>p,.recharge-recovery>p,.recharge-recovery details{font-size:13px;color:var(--muted);line-height:1.85}.recharge-result-card>.btn{width:100%;margin-top:10px}.recharge-result-card>.btn-link{margin-top:10px;width:100%;justify-content:center}.recharge-recovery summary{padding-top:16px;font-size:12px;cursor:pointer}
.member-security-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start;min-width:0}
.member-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.member-panel-heading h2{margin:0!important}.member-panel-heading .btn{min-height:34px!important;padding:6px 11px!important;font-size:11px!important}
#member-settings-panel{display:grid;gap:20px;min-width:0}#member-settings-panel>.actions{margin:0;justify-content:flex-end}
#member-profile,#member-email{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 20px}
#member-profile .field,#member-email .field{margin:0}#member-profile>.btn,#member-email>.hint,#member-email>.btn{grid-column:1/-1;justify-self:start}
#member-email>.field:first-child{grid-column:1;grid-row:1}#member-email>.field:has([name="new_email"]){grid-column:2;grid-row:1}
.member-code-row{display:flex;align-items:flex-end;gap:8px;min-width:0}.member-code-row>.field{flex:1;min-width:0}.member-code-row>.btn{min-height:46px!important;padding-inline:11px!important;font-size:12px!important;white-space:nowrap}
#member-password>.btn{margin-top:4px}#member-settings-panel [data-settings-totp] form{margin-top:24px;border-top:1px solid var(--line);padding-top:20px}#member-settings-panel [data-settings-totp] form>h3{font-size:14px}
.member-login-records .record-list li>div{display:grid;grid-template-columns:100px minmax(160px,1fr) minmax(0,1.2fr);align-items:baseline;gap:12px}.member-login-records .record-list small{margin-top:0!important;overflow-wrap:anywhere}
.member-login-records .record-list small:last-child{font-size:11px!important}
@media(max-width:1100px){.member-shell{grid-template-columns:200px minmax(0,1fr);gap:20px}.member-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.member-overview-grid>:last-child{grid-column:1/-1}.member-security-grid{grid-template-columns:minmax(0,1fr)}#member-email{grid-template-columns:minmax(0,1fr)}#member-email>.field:first-child,#member-email>.field:has([name="new_email"]){grid-column:auto;grid-row:auto}.member-login-records .record-list li>div{grid-template-columns:100px minmax(0,1fr)}.member-login-records .record-list small:last-child{grid-column:1/-1}}
@media(max-width:850px){
 .member-shell{grid-template-columns:minmax(0,1fr);gap:0}
 body[data-account-view="dashboard"] .member-sidebar{display:none}
 .member-mobile-menu{display:block;border:1px solid var(--line);border-radius:12px;background:var(--member-card);margin:0 0 20px}
 .member-mobile-menu>summary{display:flex;align-items:center;gap:14px;list-style:none;cursor:pointer;min-height:48px;padding:12px 16px;font-size:13px;color:var(--muted)}
 .member-mobile-menu>summary::-webkit-details-marker{display:none}.member-mobile-menu>summary strong{margin-left:auto;font-size:13px;color:var(--text);font-weight:500}.member-mobile-menu>summary svg{width:17px;height:17px;flex:none;transition:transform .15s}.member-mobile-menu[open]>summary svg{transform:rotate(180deg)}
 body[data-account-view="dashboard"] .member-mobile-menu .member-nav{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 12px 14px;gap:5px}
 .member-mobile-menu .member-nav>p{grid-column:1/-1;margin:12px 10px 3px}.member-mobile-menu .member-nav a{min-height:44px!important}
 #member-email{grid-template-columns:repeat(2,minmax(0,1fr))}#member-email>.field:first-child{grid-column:1;grid-row:1}#member-email>.field:has([name="new_email"]){grid-column:2;grid-row:1}
}
@media(max-width:650px){
 body[data-account-view="dashboard"] .account-header{margin-bottom:18px;min-height:82px}
 body[data-account-view="dashboard"] .member-page-heading{padding:18px 20px;min-height:94px;margin-bottom:16px}
 .member-page-heading h1{font-size:23px}.member-page-actions .btn{padding:7px 10px!important;min-height:38px!important;font-size:11px!important}.member-page-actions .btn:first-child{display:none}
 .member-route-body,#member-settings-panel{gap:18px}.member-overview-grid{gap:14px}.member-stat strong{font-size:20px}
 body[data-account-view="dashboard"] .member-stat{padding:20px}.member-info>div{gap:14px;font-size:12px}
 .recharge-methods{grid-template-columns:minmax(0,1fr)}.recharge-method-card{min-height:68px;padding:12px 14px}.recharge-presets{gap:8px;margin-bottom:22px}.recharge-presets button{min-height:42px;font-size:12px}
 body[data-account-view="dashboard"] .recharge-amount-input input{min-height:55px;font-size:23px}
 .recharge-result-card,.recharge-recovery{padding:16px}
 #member-profile,#member-email{grid-template-columns:minmax(0,1fr);gap:17px}#member-email>.field:first-child,#member-email>.field:has([name="new_email"]){grid-column:auto;grid-row:auto}
 #member-profile>.btn,#member-email>.btn,#member-password>.btn{width:100%;min-height:46px}
 .member-login-records .record-list li>div{grid-template-columns:minmax(0,1fr);gap:5px}.member-login-records .record-list small:last-child{grid-column:auto}
}
@media(prefers-reduced-motion:reduce){.recharge-spinner{animation:none}.member-mobile-menu>summary svg{transition:none}}

/* Validation belongs beside the field, with a second cue at the submit action. */
.auth-card .registration-field-error{color:var(--danger);font-size:12px;font-weight:600;line-height:1.7;margin:4px 0 16px;overflow-wrap:anywhere;scroll-margin-block:24px}
.auth-card .registration-feedback{padding:10px 12px;margin:12px 0 8px;border:1px solid color-mix(in srgb,var(--danger) 55%,transparent);border-radius:9px;background:color-mix(in srgb,var(--danger) 8%,transparent);color:var(--danger);font-size:12px;line-height:1.7;font-weight:600;overflow-wrap:anywhere}
.auth-card form[data-registration-attempted="true"] .password-rules li[data-satisfied="false"]{color:var(--danger);font-weight:600}
.auth-card form input[aria-invalid="true"],.auth-card form select[aria-invalid="true"]{border-color:var(--danger)!important;box-shadow:0 0 0 1px color-mix(in srgb,var(--danger) 28%,transparent)}
.auth-card .check input[aria-invalid="true"]{outline:2px solid var(--danger);outline-offset:2px}
.auth-card form [aria-invalid="true"]:focus-visible{outline:2px solid var(--danger);outline-offset:3px}

/* Keep first paint in the saved theme; do not expose the temporary connection card. */
html.account-booting #account-root{visibility:hidden}
.auth-footer{margin-top:16px;text-align:center;border-top:1px solid var(--line);padding-top:12px}
.auth-switch{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;margin:0;font-size:13px;line-height:1.6;color:var(--muted)}
.auth-switch a{display:inline-flex;align-items:center;min-height:32px;padding:4px 3px;color:var(--accent);font-weight:600;text-decoration:none}
.auth-utility{display:flex;align-items:center;justify-content:center;gap:12px;font-size:12px;color:var(--muted)}
.auth-card .auth-utility a,.auth-card a.auth-back{display:inline-flex;align-items:center;justify-content:center;min-height:32px;margin:0;padding:4px 2px;border:0;border-radius:0;background:transparent;color:var(--muted);font-size:12px;font-weight:400;text-decoration:none}
.auth-switch a:is(:hover,:focus-visible),.auth-utility a:is(:hover,:focus-visible){color:var(--text);text-decoration:underline;text-underline-offset:4px}
.auth-footer .form-footer{margin:0}
.auth-card .auth-topbar{display:flex;align-items:center;justify-content:flex-start;margin:-10px 0 2px;min-height:32px}
.auth-card .auth-topbar a.auth-back{display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:32px;margin:0;padding:4px 9px;border:1px solid var(--line);border-radius:8px;background:transparent;color:var(--muted);font-size:12px;line-height:1.5;text-decoration:none}
.auth-card .auth-topbar a.auth-back:is(:hover,:focus-visible){color:var(--text);border-color:var(--accent)}
.auth-footer-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--muted)}
.auth-footer-row .auth-switch{font-size:12px;gap:7px;justify-content:flex-start}
.auth-footer-row .auth-switch:only-child{width:100%;justify-content:space-between}
.auth-footer-row a{min-height:32px;display:inline-flex;align-items:center;padding:4px 2px;font-size:12px;text-decoration:none}
.auth-footer-row .auth-recover{color:var(--muted);margin-left:auto}
.auth-footer-row a:is(:hover,:focus-visible){color:var(--text);text-decoration:underline;text-underline-offset:4px}
.auth-card .captcha{padding:0;border:0;background:transparent;gap:8px 10px}
.auth-card .captcha[data-captcha-size="flexible"] [data-captcha-widget]{min-height:65px}
.auth-card .captcha[data-captcha-size="compact"] [data-captcha-widget]{min-height:140px;display:flex;justify-content:center}
.auth-card .captcha[data-captcha-phase="image"] [data-captcha-widget]{display:block;min-height:0}
.auth-card .captcha-retry{grid-column:1/-1;justify-self:end;background:transparent;border:0;padding:4px 0;font:inherit;font-size:12px;color:var(--accent);text-decoration:underline;text-underline-offset:3px}
@media(max-width:480px){.auth-footer{margin-top:14px;padding-top:10px}.auth-card .captcha{padding:0}.auth-switch{font-size:13px}}

/* Member overview: retain the familiar account structure in the NOVA palette. */
body[data-account-view="dashboard"] .member-welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:27px 28px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 100% 0,#7699cd22,transparent 62%),var(--member-card)}
.member-welcome-main{display:flex;align-items:center;gap:18px;min-width:0}.member-welcome-main>div{min-width:0}.member-welcome-main>.member-avatar{width:58px;height:58px;border-radius:18px;font-size:27px}.member-welcome .eyebrow{font-size:10px;letter-spacing:.13em;margin-bottom:5px}.member-welcome h2{font-size:23px!important;overflow-wrap:anywhere;margin:0 0 6px!important;line-height:1.5}.member-welcome .panel-note{margin:0;font-size:12px}.member-welcome>.btn{flex:none}
.member-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;min-width:0}.member-shortcuts>a{display:flex;align-items:center;gap:11px;padding:17px 15px;border:1px solid var(--line);border-radius:13px;text-decoration:none;color:var(--text);background:var(--member-card);min-width:0;min-height:88px}.member-shortcuts>a:is(:hover,:focus-visible){border-color:var(--accent);background:#88a9ec12}.member-shortcut-icon{display:grid;place-items:center;width:34px;height:37px;border-radius:10px;background:#88a9ec13;color:var(--accent);flex:none}.member-shortcut-icon svg{width:19px;height:19px}.member-shortcuts>a>span:nth-child(2){min-width:0}.member-shortcuts strong{display:block;font-size:13px;font-weight:600}.member-shortcuts small{display:block;font-size:10px;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.member-shortcut-arrow{font-size:15px;margin-left:auto;color:var(--muted)}
.member-overview-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.member-overview-grid>.member-stat:last-child{grid-column:auto}body[data-account-view="dashboard"] .member-stat{padding:22px 20px;gap:10px;min-height:145px}.member-stat strong{font-size:22px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;line-height:1.4}.member-stat>span:last-child{font-size:10px}.member-stat small{font-size:10px}.member-stat b[data-member-order-total]{font-weight:500}.member-panel-heading>div{min-width:0}.member-panel-heading .eyebrow{font-size:10px;letter-spacing:.13em;margin:0 0 4px}.member-panel-heading>.btn-link{flex:none;font-size:12px;text-decoration:none;min-height:36px;display:flex;align-items:center}.member-panel-heading h2{font-size:19px!important}
.member-info.member-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px}.member-info.member-profile-grid>div{justify-content:flex-start;padding:15px 0;gap:17px;font-size:12px;border-bottom:1px solid var(--line)}.member-profile-grid dt{width:72px}.member-profile-grid dd{text-align:left;line-height:1.8}.member-info.member-profile-grid>div:nth-last-child(-n+2){border-bottom:0}
.member-order-scope{font-size:11px;line-height:1.8;margin-bottom:20px}.member-order-table-wrap{width:100%;min-width:0}.member-order-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:11px;line-height:1.7;text-align:left}.member-order-table th{font-size:10px;font-weight:500;color:var(--muted);background:#88a9ec08;padding:11px 7px;border-block:1px solid var(--line)}.member-order-table td{padding:17px 7px;border-bottom:1px solid var(--line);vertical-align:middle;overflow-wrap:anywhere}.member-order-table th:nth-child(1){width:19%}.member-order-table th:nth-child(2){width:16%}.member-order-table th:nth-child(3){width:22%}.member-order-table th:nth-child(4){width:6%}.member-order-table th:nth-child(5){width:13%}.member-order-table th:nth-child(6){width:11%}.member-order-table th:nth-child(7){width:13%}.member-order-number{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;font-weight:500}.member-order-title{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;font-weight:500}.member-order-amount{font-size:11px;font-variant-numeric:tabular-nums;font-weight:500}.member-order-table time{font-size:10px;color:var(--muted)}
body[data-account-view="dashboard"] .member-order-table .btn{font-size:10px;min-height:36px;padding:6px 9px;border-radius:8px;white-space:nowrap}.member-order-status{display:inline-block;border:1px solid var(--line);border-radius:7px;padding:3px 6px;font-size:10px;color:var(--muted);white-space:nowrap}.member-order-status[data-tone="success"]{color:var(--success);border-color:#7bba9b44;background:#7bba9b0a}.member-order-status[data-tone="pending"],.member-order-status[data-tone="warning"]{color:var(--warning);border-color:#caac7544;background:#caac750a}.member-order-empty{display:flex;flex-direction:column;align-items:center;text-align:center;min-height:220px;justify-content:center;padding:24px 16px;border-block:1px solid var(--line)}.member-order-empty>span{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:13px;color:var(--accent);background:#88a9ec08;font-size:24px;margin-bottom:14px}.member-order-empty h3{font-size:13px;margin:0 0 6px}.member-order-empty p{font-size:11px;color:var(--muted);margin-bottom:18px}.member-order-empty .btn{font-size:11px!important}
.member-order-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}.member-order-footer>.btn{padding:6px 0!important;border:0!important;background:transparent!important;color:var(--muted)!important;min-height:36px!important;font-size:11px!important;text-decoration:underline;text-underline-offset:4px}.member-order-footer>.btn-link{font-size:11px;min-height:36px}.member-order-pagination{display:flex;align-items:center;justify-content:center;gap:17px;padding:22px 0 0}.member-order-pagination .btn{font-size:11px!important;min-height:38px!important;padding:6px 13px!important}.member-order-pagination .hint{text-align:center;font-variant-numeric:tabular-nums}.member-order-back{margin:0 0 20px}.member-recent-orders>.records,#member-orders-panel>.records{margin-top:0}.member-recent-orders pre,#member-orders-panel pre{padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--member-input);font-size:12px;line-height:1.9}
.member-api-label{font-size:11px;border:1px solid var(--line);border-radius:7px;padding:3px 9px;color:var(--accent);flex:none}.member-api-docs{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 20px;border:1px solid #88a9ec38;border-radius:12px;background:#88a9ec0a;margin:22px 0}.member-api-docs>div{min-width:0}.member-api-docs strong{font-size:13px;font-weight:600}.member-api-docs p{font-size:11px;color:var(--muted);line-height:1.8;margin:5px 0 0}.member-api-docs>.btn{flex:none;font-size:11px!important;min-height:38px!important;padding:7px 12px!important}.member-api-status{display:flex;align-items:flex-start;gap:13px;padding:22px;border:1px dashed var(--line);border-radius:12px;margin-bottom:22px;background:#88a9ec04}.member-api-status-icon{display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--line);border-radius:50%;flex:none;font-size:17px;color:var(--accent)}.member-api-status h3{font-size:14px;margin:2px 0 6px}.member-api-status p{font-size:12px;color:var(--muted);line-height:1.9;margin:0;overflow-wrap:anywhere}.member-api-status[data-status="approved"] .member-api-status-icon{color:var(--success);border-color:#7bba9b55}.member-api-status:is([data-status="pending_review"],[data-status="rejected"]) .member-api-status-icon{color:var(--warning);border-color:#caac7555}.member-api-fields{display:grid;gap:16px}.member-api-field{border:1px solid var(--line);border-radius:12px;padding:20px;min-width:0}.member-api-field h3{font-size:12px;font-weight:500;margin-bottom:12px}.member-api-field h3 small{font-size:10px;color:var(--muted);font-weight:400;margin-left:6px}.member-api-field .hint{font-size:11px;margin:10px 0 0;line-height:1.9}.member-key-row{display:flex;align-items:center;gap:12px;min-width:0}.member-key-row>.api-key{flex:1;min-width:0;margin:0;font-size:12px;padding:12px 14px!important}.member-key-row>.btn{flex:none;font-size:11px!important;min-height:42px!important;padding:8px 13px!important}.member-api-field>.member-app-id{width:fit-content;min-width:100px;font-size:12px;margin:0;padding:10px 14px!important}.member-api-toggle{display:flex;align-items:center;justify-content:space-between;gap:22px}.member-api-toggle h3{margin:0}.member-api-toggle .btn{flex:none;font-size:11px!important;min-height:42px!important}.member-api-toggle [aria-checked="true"]{border-color:#7bba9b66!important;color:var(--success)!important}
@media(max-width:1200px){.member-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.member-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.member-overview-grid>.member-stat:last-child{grid-column:auto}}
@media(min-width:851px) and (max-width:1100px),(max-width:700px){
 .member-order-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.member-order-table,.member-order-table tbody{display:block}.member-order-table tbody{display:grid;gap:14px}.member-order-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:15px;border:1px solid var(--line);border-radius:12px;background:#88a9ec04;gap:12px 14px;min-width:0}.member-order-table td{display:flex;flex-direction:column;gap:5px;border:0;padding:0;min-width:0;font-size:12px}.member-order-table td::before{content:attr(data-label);font-size:10px;color:var(--muted)}.member-order-table td:nth-child(1),.member-order-table td:nth-child(3){grid-column:1/-1}.member-order-table td:nth-child(2){grid-column:1/-1}.member-order-table td:nth-child(6){grid-column:2;grid-row:4;align-items:flex-end}.member-order-table td:nth-child(5){grid-column:1;grid-row:5}.member-order-table td:nth-child(7){grid-column:2;grid-row:5;align-items:flex-end;justify-content:flex-end}.member-order-table td:nth-child(7)::before{display:none}.member-order-number{font-size:12px}.member-order-title{font-size:12px;-webkit-line-clamp:3}.member-order-amount{font-size:14px}.member-order-status{font-size:11px;align-self:flex-start}.member-order-table td:nth-child(6) .member-order-status{align-self:flex-end}body[data-account-view="dashboard"] .member-order-table .btn{font-size:11px;min-height:40px;padding:8px 12px}
}
@media(max-width:650px){
 body[data-account-view="dashboard"] .member-welcome{padding:22px;flex-wrap:wrap;gap:18px}.member-welcome-main{gap:13px}.member-welcome-main>.member-avatar{width:46px;height:46px;border-radius:14px;font-size:22px}.member-welcome .eyebrow{font-size:9px;letter-spacing:.08em}.member-welcome h2{font-size:21px!important}.member-welcome .panel-note{font-size:11px}.member-welcome>.btn{margin-left:59px;min-height:40px!important;font-size:11px!important}.member-shortcuts{gap:11px}.member-shortcuts>a{padding:14px 12px;gap:9px;min-height:82px}.member-shortcut-icon{width:29px;height:34px}.member-shortcuts strong{font-size:12px}.member-shortcuts small{font-size:10px}.member-shortcut-arrow{display:none}.member-overview-grid{gap:11px}body[data-account-view="dashboard"] .member-stat{padding:19px 17px;min-height:132px;gap:10px}.member-stat strong{font-size:20px}.member-stat>span{font-size:11px}.member-panel-heading h2{font-size:18px!important}.member-panel-heading>.btn-link{font-size:11px}.member-info.member-profile-grid{grid-template-columns:minmax(0,1fr)}.member-info.member-profile-grid>div{gap:15px;padding:13px 0}.member-info.member-profile-grid>div:nth-last-child(2){border-bottom:1px solid var(--line)}.member-profile-grid dt{width:70px}.member-order-scope{font-size:10px;margin-bottom:17px}.member-order-footer{flex-wrap:wrap;gap:0 12px;margin-top:13px}.member-order-pagination{gap:10px}.member-order-pagination .hint{font-size:10px}.member-api-docs{align-items:flex-start;flex-direction:column;gap:12px;padding:17px;margin-block:19px}.member-api-docs>.btn{width:100%;min-height:40px!important}.member-api-status{padding:17px;gap:11px;margin-bottom:19px}.member-api-status h3{font-size:13px}.member-api-status p{font-size:11px}.member-api-field{padding:17px}.member-key-row{align-items:stretch;flex-direction:column;gap:10px}.member-key-row>.btn{align-self:flex-start;min-height:42px!important}.member-api-toggle{align-items:flex-start;flex-direction:column;gap:14px}.member-api-toggle .btn{align-self:flex-end}.member-api-field>.hint{font-size:10px}.member-api-label{font-size:10px}
}
@media(max-width:350px){.member-shortcuts>a{padding:12px 10px;gap:7px}.member-shortcut-icon{width:25px;height:30px}.member-shortcuts strong{font-size:11px}.member-shortcuts small{font-size:9px}body[data-account-view="dashboard"] .member-stat{padding:17px 14px}.member-stat strong{font-size:19px}}

/* Offer an explicit new challenge after a failure or an extended wait. */
.auth-card .captcha-retry{justify-self:stretch;min-height:44px;padding:10px 15px;border:1px solid var(--line);border-radius:10px;background:#829ec218;color:var(--text);font-size:13px;font-weight:500;text-decoration:none}
.auth-card .captcha-retry:is(:hover,:focus-visible){border-color:var(--accent);background:#829ec22a}.auth-card .captcha [data-captcha-help]{grid-column:1/-1;min-width:0;font-size:11px;color:var(--muted)}.auth-card .captcha [data-captcha-help]>summary{cursor:pointer;padding:4px 0;min-height:28px}.auth-card .captcha [data-captcha-help] p{font-size:11px;line-height:1.8;margin:4px 0 0}.auth-card .captcha:is([data-captcha-phase="error"],[data-captcha-phase="timeout"],[data-captcha-phase="expired"]) [data-captcha-widget]{display:none}.auth-card .captcha[data-captcha-phase="error"] [data-captcha-status]{color:var(--warning)}
html[data-theme="light"] .auth-card .captcha-retry{background:#eaf0fa;border-color:#cbd7eb;color:var(--text)}
