:root{font-family:Inter,'Segoe UI','Microsoft YaHei',system-ui,sans-serif;color:#18263b;background:#f6f8fb;font-synthesis:none;--navy:#15233f;--blue:#4266ef;--line:#e7ebf2;--muted:#8792a4}*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a5b6ff;outline-offset:2px}.hidden{display:none!important}a{text-decoration:none;color:inherit}.muted{color:#8a96a9}.toast{position:fixed;z-index:20;top:24px;right:24px;background:#18263b;color:white;padding:13px 18px;border-radius:9px;box-shadow:0 12px 28px #17243c25;opacity:0;transform:translateY(-8px);transition:.2s;pointer-events:none;max-width:min(440px,90vw)}.toast.show{opacity:1;transform:translateY(0)}.brand{display:flex;align-items:center;gap:11px;font-size:12px;font-weight:800;letter-spacing:1.15px;color:#1c2b43}.brand small{display:block;color:#9aa6b6;font-size:8px;letter-spacing:1.8px;margin-top:3px}.brand-mark{background:#4568ee;color:#fff;display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:11px;font-size:19px;font-weight:800;letter-spacing:-2px;position:relative}.brand-mark span{font-size:9px;position:absolute;right:5px;top:5px;letter-spacing:0;color:#c6d3ff}.brand-light{color:white}.brand-light small{color:#90a2cb}.auth-view{display:grid;grid-template-columns:minmax(350px,44%) 1fr;min-height:100vh;background:white}.auth-hero{padding:44px 56px;background:radial-gradient(circle at 78% 35%,#344983 0,transparent 36%),linear-gradient(145deg,#1a2b50,#101c37 72%);color:#fff;display:flex;flex-direction:column;overflow:hidden;position:relative}.auth-hero:after{content:'';position:absolute;border:1px solid #ffffff12;width:460px;height:460px;border-radius:50%;right:-170px;top:22%;box-shadow:0 0 0 65px #ffffff05,0 0 0 130px #ffffff04}.auth-hero-content{margin:auto 0;max-width:520px;position:relative;z-index:1}.eyebrow,.mini-label{font-size:10px;letter-spacing:1.7px;font-weight:800;color:#5875e9}.eyebrow.light{color:#a5b5e7}.auth-hero h1{font-size:clamp(37px,4vw,60px);line-height:1.3;letter-spacing:1px;margin:25px 0}.accent{color:#829aff}.auth-hero p{color:#aab7d2;line-height:1.9;max-width:350px}.hero-line{width:42px;height:3px;background:#718af4;margin:45px 0 22px}.hero-foot{font-size:12px;color:#b1bfd7}.pulse{display:inline-block;width:7px;height:7px;border-radius:50%;background:#54c9a0;box-shadow:0 0 0 4px #54c9a01c;margin-right:9px}.auth-bottom{font-size:9px;letter-spacing:1.3px;color:#7183a8;display:flex;justify-content:space-between}.auth-panel{display:flex;align-items:center;justify-content:center;padding:56px 30px}.auth-form-wrap{width:100%;max-width:400px}.auth-form-wrap h2{font-size:31px;margin:14px 0 9px;letter-spacing:-1px}.auth-form-wrap>.muted{margin:0 0 35px}.mobile-brand{display:none}.auth-tabs{display:flex;border-bottom:1px solid var(--line);gap:28px;margin-bottom:28px}.auth-tabs button{border:0;background:none;padding:0 2px 14px;color:#929eaf;font-weight:600;position:relative}.auth-tabs button.active{color:#273750}.auth-tabs button.active:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:#496bf0}label{display:flex;flex-direction:column;gap:9px;font-size:12px;font-weight:650;color:#42516a;margin-bottom:20px}input,select{width:100%;height:44px;border:1px solid #e2e7f0;border-radius:7px;background:white;padding:0 13px;color:#26364c;outline:none}input::placeholder{color:#b3bdca}input:focus,select:focus{border-color:#7691f7;box-shadow:0 0 0 3px #e8edff}.field-hint{font-size:12px;color:#8b96a7;line-height:1.7;margin:-7px 0 20px}.button{border:0;border-radius:7px;padding:11px 16px;font-size:12px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:39px}.button.primary{background:#4a6cec;color:white}.button.primary:hover{background:#3859db}.button.wide{width:100%;height:46px;justify-content:space-between}.button.outline{background:white;color:#42536e;border:1px solid #e1e7f0}.button.outline:hover{background:#f6f8ff}.button.light{background:white;color:#344fd0;padding:11px 15px}.button.small{padding:8px 11px;min-height:32px}.auth-note{font-size:11px;color:#a0abba;line-height:1.8;margin-top:28px}.app{min-height:100vh;display:grid;grid-template-columns:235px minmax(0,1fr)}.sidebar{background:#fff;border-right:1px solid var(--line);padding:30px 18px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.sidebar .brand{padding:0 9px}.nav-label{font-size:10px;letter-spacing:1px;color:#b0baca;font-weight:700;margin:51px 12px 13px}.admin-label{margin:30px 12px 12px}.navigation{display:grid;gap:4px}.nav-item{width:100%;height:43px;display:flex;align-items:center;gap:13px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:#8793a5;text-align:left;font-size:13px;font-weight:600}.nav-item:hover{background:#f7f9fd;color:#5265b9}.nav-item.active{background:#eef2ff;color:#4566e5}.nav-icon{width:17px;text-align:center;font-size:16px}.nav-arrow{margin-left:auto;font-size:17px;opacity:0}.nav-item.active .nav-arrow{opacity:1}.side-bottom{margin-top:auto}.side-status{background:#f6f9fc;padding:13px;border-radius:8px;font-size:11px;color:#8794a5}.side-user{display:flex;align-items:center;gap:10px;margin-top:19px;padding:0 2px}.avatar,.top-avatar{width:34px;height:34px;border-radius:10px;background:#ecf0ff;color:#4b67d8;display:flex;align-items:center;justify-content:center;font-weight:750}.side-user strong,.side-user small{display:block}.side-user strong{font-size:12px}.side-user small{font-size:10px;color:#a5afbd;margin-top:4px}.side-user button{border:0;background:none;color:#a7b2c1;margin-left:auto;font-size:17px}.main-area{min-width:0}.topbar{height:68px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 44px;font-size:12px;font-weight:650;color:#52627a}.top-muted{color:#a8b1be}.top-sep{padding:0 12px;color:#d8dce5}.top-right{display:flex;align-items:center;gap:9px;font-size:11px;color:#8995a6}.top-dot{width:6px;height:6px;border-radius:50%;background:#5bc6a0}.top-avatar{width:31px;height:31px;margin-left:15px}.content{padding:38px 44px 30px;max-width:1550px;margin:0 auto}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:27px}.page-head h1{font-size:27px;letter-spacing:-1px;margin:9px 0 7px;color:#1b2a41}.page-head p{font-size:12px;margin:0}.overview-banner{min-height:182px;border-radius:12px;background:linear-gradient(112deg,#304daa,#526ee9 70%,#6986ef);padding:27px 32px;color:white;position:relative;overflow:hidden;box-shadow:0 12px 22px #4165dc1a}.banner-kicker{font-size:10px;letter-spacing:.7px;color:#d2dcff}.banner-kicker .pulse{background:#84e0bd}.overview-banner h2{font-size:22px;margin:15px 0 8px}.overview-banner p{color:#dce4ff;font-size:12px;margin:0 0 20px}.banner-art{position:absolute;right:10%;top:-30px;width:260px;height:260px;display:grid;place-items:center}.banner-art span{color:#dce4ff;font-size:68px;text-shadow:0 6px 30px #ffffff55}.orbit{position:absolute;border:1px solid #ffffff3a;border-radius:50%;width:190px;height:190px;transform:rotate(-28deg) scaleX(1.45)}.orbit-two{transform:rotate(36deg) scaleX(1.45);border-color:#ffffff22}.banner-art i{position:absolute;width:11px;height:11px;border-radius:50%;background:#d5e0ff;right:38px;top:65px;box-shadow:0 0 16px white}.section-title{display:flex;justify-content:space-between;align-items:center;margin:31px 0 15px}.section-title h2{font-size:15px;margin:0 0 6px}.section-title p,.panel-top p{font-size:11px;color:#a0aaba;margin:0}.badge{font-size:10px;color:#7190a5;background:#edf4f7;padding:6px 9px;border-radius:6px}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.stat-card,.panel{background:#fff;border:1px solid #e9edf4;border-radius:10px;box-shadow:0 2px 8px #233e6610}.stat-card{padding:20px 22px;min-height:120px}.stat-label{font-size:11px;color:#98a3b2;display:flex;justify-content:space-between}.stat-label span{font-size:16px;color:#9baef4}.stat-card strong{display:block;font-size:25px;letter-spacing:-.6px;margin:11px 0 4px}.stat-card small{font-size:9px;letter-spacing:.6px;color:#aab5c4}.cards-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:16px;margin-top:16px}.panel{padding:23px}.panel-top{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.panel-top h3{font-size:14px;margin:0 0 7px}.icon-box{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;color:#7d96f4;background:#f1f4ff;font-size:15px}.quota-percent{font-size:29px;font-weight:750;margin:24px 0 15px}.quota-percent small{font-size:11px;font-weight:400;color:#9ba7b6}.progress{height:7px;border-radius:4px;background:#edf0f6;overflow:hidden}.progress div{height:100%;width:0;background:#5b78ee;border-radius:4px;transition:width .3s}.quota-legend{display:flex;justify-content:space-between;margin-top:15px;color:#a2adba;font-size:10px}.quota-legend b{font-weight:600;color:#65748b;margin-left:5px}.quota-legend i{display:inline-block;width:6px;height:6px;background:#5b78ee;border-radius:50%;margin-right:5px}.connect-row{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#9aa5b5;margin-top:21px}.connect-row code,.connect-row b{color:#50617a;font-size:11px;font-weight:600;text-align:right}.text-link{border:0;padding:0;background:none;color:#5573e9;font-size:11px;font-weight:700;margin-top:23px}.text-link span{margin-left:6px}.footer{padding:34px 0 0;display:flex;justify-content:space-between;color:#b3bdcb;font-size:10px;gap:15px}.footer span:first-child{letter-spacing:1px}.table-panel{padding-bottom:8px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:650px;margin-top:24px;text-align:left;font-size:11px}th{padding:13px;color:#9aa6b5;background:#f8fafe;font-weight:600}td{padding:15px 13px;border-bottom:1px solid #f0f2f6;color:#586982}tr:last-child td{border-bottom:0}.empty{text-align:center;color:#9ca9ba;padding:55px 10px}.status-pill{border-radius:5px;padding:5px 7px;background:#e9f8f2;color:#289d74;font-size:10px}.status-pill.warning{background:#fff5e9;color:#bb8a35}.status-pill.danger{background:#fff0ef;color:#c86662}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.key-row{display:flex;justify-content:space-between;align-items:center;background:#f7f9fc;border:1px solid #eaf0f6;border-radius:7px;padding:9px 11px;margin-top:22px}.key-row code{color:#71809a}.notice{font-size:11px;color:#a0aaba;line-height:1.7}.new-key{padding:13px;background:#eff4ff;border:1px solid #dce5ff;border-radius:8px;display:grid;gap:10px;font-size:11px;color:#5065ac;margin-top:15px}.new-key code{word-break:break-all;color:#24375c;font-size:12px}.new-key button{justify-self:start}.endpoint{display:grid;grid-template-columns:80px 1fr auto;align-items:center;gap:8px;border-bottom:1px solid #f0f2f6;padding:15px 0;font-size:10px;color:#9ca8b7}.endpoint code{font-size:11px;word-break:break-all;color:#53647a}.copy-url{border:0;background:none;color:#5875e9;font-size:11px}.form-stack{display:flex;flex-direction:column;align-items:flex-start;margin-top:22px}.form-stack label{width:100%}.form-stack .form-stack{width:100%;margin:0}.settings-panel{max-width:700px}.admin-table input{width:135px;height:34px}.admin-table select{width:100px;height:34px}.admin-table button{white-space:nowrap}.user-name{font-weight:650;color:#354760}.user-name small{display:block;color:#9eabb9;font-size:10px;margin-top:4px}@media(max-width:950px){.content{padding:30px 25px}.topbar{padding:0 25px}.app{grid-template-columns:195px minmax(0,1fr)}.sidebar{padding:25px 12px 16px}.account-grid,.cards-grid{grid-template-columns:1fr}.banner-art{right:3%}}@media(max-width:680px){.auth-view{display:block}.auth-hero{display:none}.auth-panel{min-height:100vh}.mobile-brand{display:flex;align-items:center;gap:10px;font-weight:750;margin-bottom:55px}.app{display:block}.sidebar{position:relative;height:auto;border-right:0;border-bottom:1px solid var(--line);padding:14px 16px}.sidebar .brand{padding:0}.sidebar .nav-label,.side-bottom{display:none}.navigation{display:flex;gap:4px;overflow:auto;margin-top:15px}.admin-only{display:contents}.nav-item{width:auto;white-space:nowrap;height:37px;padding:0 11px}.nav-arrow{display:none}.topbar{height:53px;padding:0 18px}.top-right{font-size:0}.content{padding:28px 18px}.page-head{align-items:flex-start}.page-head h1{font-size:24px}.overview-banner{padding:23px;min-height:175px}.banner-art{right:-95px;opacity:.5}.overview-banner>div:first-child{position:relative;z-index:1}.stats-grid{grid-template-columns:1fr;gap:10px}.stat-card{min-height:auto}.stat-card strong{font-size:22px}.footer{flex-direction:column}.endpoint{grid-template-columns:70px 1fr auto}}
.code-row{display:flex;align-items:flex-end;gap:10px;width:100%;margin-bottom:20px}.code-row label{flex:1;min-width:0;margin:0}.code-row .button{height:44px;white-space:nowrap}.side-user>span:nth-child(2){min-width:0;overflow:hidden}.side-user strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.top-logout{border:1px solid #e1e7f0;border-radius:7px;background:#fff;color:#52627a;padding:8px 11px;font-size:11px;font-weight:650;white-space:nowrap}.top-logout:hover{background:#f6f8ff;color:#4566e5}.top-logout:disabled{opacity:.6;cursor:wait}
.shop-link{display:inline-block;color:#5573e9;font-size:12px;font-weight:650;margin-top:8px}.shop-button{margin-top:16px}.redemption-table{margin-top:16px}#new-codes{width:100%;resize:vertical;border:1px solid #dce5ff;border-radius:6px;background:#fff;padding:10px;color:#24375c;font:12px/1.6 ui-monospace,Consolas,monospace}button:disabled{opacity:.6;cursor:wait}
