*{box-sizing:border-box}html,body{margin:0;min-height:100%;color:#e7e4ef;font:14px/1.6 -apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif;background:#0a0a1a}body{min-height:100dvh}@keyframes stars{from{opacity:.25}to{opacity:.85}}header,main,dialog{position:relative}header{height:64px;padding:0 40px;background:#100c1dcc;border-bottom:1px solid #ffffff12;display:flex;align-items:center;justify-content:space-between}header b{font-size:22px}a{color:#c7a2ff;text-decoration:none}button,input,select{font:inherit}button,a,input,select{outline-offset:3px}button{cursor:pointer;border:1px solid #39334f;background:transparent;color:inherit;border-radius:10px;min-height:44px;padding:0 18px;white-space:nowrap}button:disabled{opacity:.4;cursor:default}.primary{background:linear-gradient(100deg,#a14fff,#ff65b0);color:white;font-weight:600;border:0;width:100%}h1,h2,p{margin:0}h1{font-size:22px;line-height:1.5}h2{font-size:18px}small,.muted{color:#928ba9;font-size:13px}.panel{background:#14121f;border:1px solid #2c2942;border-radius:12px;padding:20px}input,select{height:44px;background:#13111e;border:1px solid #39334f;border-radius:10px;color:#e7e4ef;padding:0 12px;min-width:0;width:100%}input:focus,select:focus{border-color:#a14fff}input[aria-invalid=true]{border-color:#f09c99}label{color:#928ba9;font-size:13px}input[type=checkbox]{width:14px;height:14px;accent-color:#a14fff;flex:none;margin:0 8px 0 0}.row{display:flex;gap:10px;align-items:center}.field{margin-bottom:14px}.field label{display:block;margin-bottom:4px}.prefix{color:#928ba9;position:absolute;left:12px;border-right:1px solid #39334f;padding-right:10px}.phone-row{position:relative}.phone-row input{padding-left:56px}.msg{color:#f09c99;font-size:12px;margin:6px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.msg:empty{display:none}.ok{color:#bfb0dd}.check{display:flex;align-items:center;font-size:12px;margin:8px 0;white-space:nowrap}.check span{overflow:hidden;text-overflow:ellipsis}.toast{position:fixed;z-index:100;top:16px;left:50%;transform:translateX(-50%);background:#272134;border:1px solid #54476a;border-radius:10px;padding:10px 18px;white-space:nowrap}.danger{color:#f09c99}dialog{border:1px solid #ffffff1f;background:#1C1C26;color:#e7e4ef;border-radius:18px;padding:24px;width:min(480px,calc(100% - 32px));max-height:90dvh;overflow:auto}dialog::backdrop{background:rgba(0,0,0,.6)}[hidden]{display:none!important}.dialog-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.dialog-title button{padding:0;border:0;color:#928ba9}.dialog-actions{display:flex;gap:10px;margin-top:16px}.dialog-actions>*{flex:1}.ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.region-row{display:flex;gap:6px}.region-row select{padding:0 4px}.skeleton{height:68px;border-radius:10px;margin:10px 0;background:linear-gradient(90deg,#211d30,#312b40,#211d30);background-size:200% 100%;animation:shimmer 1.6s infinite}@keyframes shimmer{to{background-position:200% 0}}@media(prefers-reduced-motion:reduce){.skeleton{animation:none}}@media(max-width:767px){header{height:56px;padding:0 16px}h2{font-size:16px}.address-editor[open]{position:fixed;bottom:0;top:auto;margin:0;width:100%;max-width:none;border-radius:18px 18px 0 0;padding:16px 16px 24px}.address-editor:before{content:'';display:block;width:36px;height:4px;background:#39334f;border-radius:3px;margin:4px auto 16px}}
.panel{min-width:0}.panel .danger{color:#f09c99}h1,h2,button,a{white-space:nowrap}.stat strong{line-height:1.4}.account-content{grid-template-columns:minmax(0,1fr)}



.star-field{position:fixed;inset:0;pointer-events:none;z-index:0}.star-point{position:absolute;width:3px;height:3px;border-radius:50%;background:#fff;animation:stars 3s ease-in-out infinite alternate}@media(prefers-reduced-motion:reduce){.star-point{animation:none;opacity:.5}}
h1{font-weight:600}input:focus,select:focus{outline:none;box-shadow:0 0 0 2px #a14fff22}:focus-visible{outline:2px solid #c7a2ff;outline-offset:3px}

/* Official homepage atmosphere, shared by every account shell. */

html.shell-soft,html.shell-soft body{background:#0a0a1a}
html.shell-soft body{isolation:isolate}
.shell-soft .hero-bg{
 position:fixed;inset:0;width:100%;height:100%;z-index:-2;pointer-events:none;
 background:
 radial-gradient(ellipse at 20% 50%, rgba(192, 132, 252, 0.15) 0%, transparent 50%),
 radial-gradient(ellipse at 80% 30%, rgba(96, 165, 250, 0.1) 0%, transparent 50%),
 radial-gradient(ellipse at 50% 80%, rgba(255, 107, 157, 0.08) 0%, transparent 50%);
}
.shell-soft .hero-particles{position:fixed;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}
.shell-soft .hero-particle{position:absolute;width:3px;height:3px;border-radius:50%;background:#C084FC;opacity:0;animation:sparkle 4s infinite}
@keyframes sparkle{0%,100%{opacity:0;transform:scale(0)}50%{opacity:0.6;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.shell-soft .hero-particle{animation:none}}

.address-limit{display:block;margin-top:8px;text-align:right}.address-add:disabled{color:#928ba9}#address-back{display:inline-block;margin-bottom:10px}
