:root{color-scheme:dark;--bg:#0d1015;--surface:#14181f;--elevated:#191e27;--line:#272d38;--text:#f1f3f7;--muted:#929ba9;--red:#ff5164;--green:#85d7ae;--amber:#e4b774;--sidebar:234px;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:14px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}button{color:inherit}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}.skip{position:fixed;top:-90px;left:20px;padding:12px;background:var(--red);z-index:20}.skip:focus{top:10px}.admin-shell{display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);min-height:100vh}.sidebar{background:#10131a;border-right:1px solid var(--line);position:fixed;width:var(--sidebar);inset:0 auto 0 0;display:flex;flex-direction:column;padding:26px 17px 16px;z-index:5}.brand{display:flex;align-items:center;gap:10px;padding:0 9px 34px}.brand strong{font-size:25px;letter-spacing:-1px}.brand strong span{color:#c5ccd8}.brand-tag{font-size:9px;letter-spacing:.12em;color:var(--red);padding:3px 5px;border:1px solid #65313c;border-radius:4px;margin-left:auto}.nav-label{font-size:10px;letter-spacing:.12em;font-weight:700;color:#667184;padding:0 15px;margin:0 0 10px}nav{overflow:auto;scrollbar-width:thin}nav a{display:flex;align-items:center;gap:11px;padding:10px 13px;margin-bottom:4px;border-radius:7px;color:#a6afbd;font-size:12px;font-weight:550}nav a svg{width:17px;height:17px}nav a:hover{background:#1b202b;color:white}nav a.active{background:#352029;color:#ff8593}nav a .nav-badge{margin-left:auto;font-size:9px;color:#697486;border:1px solid #303845;border-radius:4px;padding:1px 4px}.nav-divider{height:1px;background:var(--line);margin:14px 12px}.sidebar-footer{margin-top:auto;padding-top:20px}.visit-shop{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);padding:8px 14px 20px}.staff-card{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:17px 7px 0}.staff-avatar{width:33px;height:33px;display:grid;place-items:center;background:#322329;color:#ff9aa6;border:1px solid #50323c;border-radius:9px;font-weight:700}.staff-card>div{min-width:0;flex:1}.staff-card strong,.staff-card span:not(.staff-avatar){display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.staff-card>div>span{color:var(--muted);font-size:10px;margin-top:2px}#admin-lock{background:none;border:0;font-size:23px;color:var(--muted)}.workspace{grid-column:2;min-width:0}.topbar{height:72px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;background:#0f1218}.breadcrumbs{display:flex;align-items:center;gap:14px;font-size:11px;color:var(--muted)}.breadcrumbs strong{font-weight:550;color:var(--text)}.crumb-separator{color:#434d5c}.topbar-actions{display:flex;align-items:center;gap:20px}.secure-pill{display:flex;align-items:center;gap:6px;font-size:10px;color:#a0b6a8}.secure-pill i{width:5px;height:5px;background:var(--green);border-radius:50%}.notification-button{position:relative;padding:6px;border:0;background:none;color:#aab4c5}.notification-button span{position:absolute;right:0;top:0;font-size:9px;color:white;background:#ca3f52;border-radius:50%;min-width:14px;padding:0 3px}#mobile-menu{display:none;border:0;background:none;font-size:21px}.preview-banner{background:#282013;border-bottom:1px solid #51402a;color:#d7bf94;padding:9px 36px;display:flex;justify-content:space-between;gap:12px;font-size:10px}.preview-banner strong{letter-spacing:.05em}.preview-banner label{display:flex;gap:8px;align-items:center;white-space:nowrap}.preview-banner select{padding:3px 7px;background:#201b13;color:#f1dab0;border:1px solid #635034;border-radius:4px;font-size:10px}main{padding:32px 36px;max-width:1800px;margin:auto;min-height:calc(100vh - 132px)}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading h1{font-size:26px;letter-spacing:-.8px;line-height:1.2;margin:0 0 8px;font-weight:650}.page-heading p{color:var(--muted);font-size:11px;margin:0;max-width:680px}.page-heading-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.primary,.secondary,.subtle{border-radius:7px;padding:9px 13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:11px;font-weight:600;border:1px solid var(--line)}.primary{background:var(--red);border-color:var(--red);color:#150d10}.primary:hover{background:#ff7281}.secondary{background:#171c25;color:#d9dfe8}.secondary:hover{border-color:#454f62}.subtle{background:none;color:var(--muted)}.subtle:hover{color:white}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:23px}.stat-card{background:var(--surface);border:1px solid var(--line);border-radius:11px;padding:19px;min-height:137px}.stat-card.featured{background:linear-gradient(125deg,#2d2028,#171922);border-color:#50303e}.stat-top{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:10px}.stat-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:7px;background:#232a35;color:#b2bdcd}.featured .stat-icon{background:#542633;color:#ff9dab}.stat-value{display:block;font-size:29px;letter-spacing:-1px;line-height:1.2;margin:15px 0 5px;font-weight:650}.stat-caption{font-size:9px;color:#6f7b8e}.analytics-layout{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(220px,1fr);gap:20px;margin-bottom:23px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:11px;overflow:hidden}.panel-header{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:19px 21px;border-bottom:1px solid var(--line)}.panel-header h2{font-size:12px;font-weight:600;margin:0}.panel-header>span,.panel-header>a{font-size:10px;color:var(--muted)}.panel-body{padding:20px}.chart-legend{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:8px;margin:0 0 15px}.chart-legend i{height:7px;width:7px;background:var(--red);border-radius:2px}.revenue-chart{display:block;width:100%;height:184px;stroke:none}.revenue-chart text{fill:#737f91;font-size:10px;font-family:inherit}.chart-caption{font-size:9px;color:#6e7a8b;padding-top:8px}.order-status-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:11px}.order-status-row:first-child{padding-top:0}.order-status-row:last-child{border:0}.order-status-row strong{font-size:17px}.small-dot{width:7px;height:7px;display:inline-block;border-radius:50%;background:#8d98aa;margin-right:8px}.small-dot.green{background:var(--green)}.small-dot.amber{background:var(--amber)}.small-dot.red{background:var(--red)}.split-panels{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(220px,1fr);gap:20px;margin-bottom:22px}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:11px}.data-table th{font-size:9px;font-weight:500;text-align:left;color:#8490a2;background:#13171e;padding:12px 17px;letter-spacing:.02em}.data-table td{border-top:1px solid var(--line);padding:14px 17px}.data-table tbody tr:hover{background:#191f29}.data-table td strong{font-weight:600}.data-table .subline{display:block;color:#788598;font-size:9px;margin-top:3px}.data-table a{color:#dce2ec}.data-table a:hover{color:var(--red)}.pill{display:inline-flex;align-items:center;gap:5px;font-size:9px;padding:4px 7px;border-radius:5px;background:#242b37;color:#a9b4c5;border:1px solid #343e4d}.pill.green{background:#172b24;color:#96dcb8;border-color:#294339}.pill.amber{background:#2c271c;color:#dec085;border-color:#4e432c}.pill.red{background:#34212a;color:#ffa1ae;border-color:#52303d}.registration{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.registration:last-child{border:0}.avatar{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;color:#b3becf;background:#252e3b;font-size:11px;font-weight:600}.registration strong{font-size:11px}.registration span:not(.avatar){display:block;color:#798597;font-size:9px}.registration a{margin-left:auto;color:#798597;font-size:15px}.alert-list{display:grid;gap:10px}.system-alert{padding:13px 16px;border:1px solid var(--line);border-radius:8px;display:flex;gap:10px;align-items:flex-start;font-size:11px;background:#131820}.system-alert strong{display:block;font-size:11px;margin-bottom:3px}.system-alert p{font-size:10px;color:var(--muted);margin:0}.system-alert.warning{border-color:#4f4030}.system-alert .alert-symbol{color:#d3b681;font-size:15px}.section-label{font-size:11px;color:#9aa6b8;margin:24px 0 10px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:15px 18px;border-bottom:1px solid var(--line)}.toolbar form{display:flex;align-items:center;gap:10px;flex:1}.toolbar input{max-width:350px;width:100%;padding:8px 12px;border:1px solid var(--line);border-radius:7px;background:#0e131b;font-size:11px}.toolbar select{border:1px solid var(--line);border-radius:7px;background:#0e131b;padding:8px;font-size:11px;color:var(--muted)}.row-actions{display:flex;gap:6px}.row-actions button{background:#202733;border:1px solid #354052;border-radius:5px;padding:4px 8px;color:#bfcbdb;font-size:10px}.pagination{display:flex;align-items:center;justify-content:space-between;padding:16px 19px;border-top:1px solid var(--line);color:var(--muted);font-size:10px}.pagination>div{display:flex;gap:7px}.empty{padding:55px 20px;text-align:center;color:var(--muted)}.empty h2{font-size:17px;color:var(--text);margin:0 0 8px}.empty p{max-width:530px;margin:0 auto;font-size:12px}.empty-symbol{display:grid;place-items:center;margin:0 auto 15px;border:1px solid var(--line);background:#1a202a;border-radius:12px;width:49px;height:49px;color:#8995a8;font-size:23px}.notice{background:#1d232d;color:#aeb9ca;border:1px solid #344050;border-radius:8px;padding:14px 17px;font-size:11px;margin-bottom:22px}.notice.warning{background:#282219;border-color:#4e412c;color:#d8bd89}.notice p{margin:4px 0 0;font-size:10px;line-height:1.7}.loading{padding:65px 25px;text-align:center;color:var(--muted);font-size:12px}.loading:before{content:'';display:block;border:2px solid var(--line);border-top-color:var(--red);width:24px;height:24px;border-radius:50%;margin:0 auto 12px;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.admin-footer{padding:17px 36px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:9px;color:#636f81}.auth-screen{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at top,#40212b50,transparent 65%),var(--bg);padding:24px}.auth-card{width:100%;max-width:440px;background:#131720;border:1px solid #34303c;border-radius:18px;padding:38px}.auth-card>img{display:block;margin:0 0 24px}.overline{font-size:10px;letter-spacing:.15em;color:var(--red);font-weight:650;margin:0 0 10px}.auth-card h1{font-size:30px;letter-spacing:-1px;margin:0 0 9px}.auth-card p{color:var(--muted);font-size:12px}.auth-card form{margin-top:22px}.auth-card .primary{width:100%;margin-top:12px}.auth-card .secondary{margin-top:15px}.auth-note{font-size:10px!important;line-height:1.8}.setup-key,.secret-value{font:12px ui-monospace,Consolas,monospace;word-break:break-all;background:#0d1118;padding:14px;border:1px solid var(--line);border-radius:7px;color:#e9cbd2}.recovery-codes{white-space:pre-wrap;font-size:11px;line-height:1.9;background:#0c1017;padding:15px;border-radius:7px}dialog{background:#151b24;color:var(--text);border:1px solid #3a4352;border-radius:13px;padding:24px;width:min(640px,calc(100% - 32px));max-height:calc(100vh - 50px);overflow:auto}dialog::backdrop{background:#05080cc9;backdrop-filter:blur(3px)}.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:20px}.dialog-header h2{margin:0;font-size:20px;letter-spacing:-.5px}.dialog-header p{margin:6px 0 0;font-size:11px;color:var(--muted)}.icon-button{background:none;color:#96a4b8;border:0;font-size:25px;line-height:1}label{display:block;font-size:11px;color:#b6c0cf;margin-bottom:16px}label>input,label>select,label>textarea{display:block;width:100%;margin-top:7px;padding:10px 11px;border:1px solid #343e4e;border-radius:7px;background:#0c1119;color:var(--text);font-size:12px}textarea{min-height:90px;resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.form-grid .full{grid-column:1/-1}.checkbox-label{display:flex;align-items:center;gap:9px}.checkbox-label input{display:inline-block;width:auto;margin:0}.form-footer{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:19px;margin-top:8px}.field-help{font-size:10px;color:var(--muted);margin:-8px 0 18px}.message-list{display:grid;gap:12px;margin:15px 0 24px}.ticket-message{padding:14px 17px;border-radius:8px;background:#101720;border:1px solid #2c3543}.ticket-message.staff{border-color:#53313d;background:#261c24}.ticket-message header{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-bottom:8px}.ticket-message p{margin:0;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:22px}.detail-grid>div{padding:15px;background:#10151e;border:1px solid var(--line);border-radius:8px}.detail-grid span{display:block;color:var(--muted);font-size:10px;margin-bottom:6px}.detail-grid strong{display:block;font-size:13px;overflow-wrap:anywhere}.settings-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:20px}.setting-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.setting-line p{font-size:10px;color:var(--muted);margin:4px 0 0}.setting-line strong{font-size:12px}.setting-line input{accent-color:var(--red);width:16px;height:16px}.provider-row{display:flex;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px}.provider-row:last-child{border:0}.toast{position:fixed;bottom:24px;right:24px;background:#232d3b;border:1px solid #465570;color:#f0f4fa;border-radius:9px;padding:13px 18px;max-width:min(450px,calc(100vw - 40px));font-size:12px;z-index:30;box-shadow:0 12px 40px #0006}.audit-details{font-size:10px;color:var(--muted);max-width:300px;white-space:normal}.audit-details pre{white-space:pre-wrap;word-break:break-word;font-size:10px}.money-positive{color:var(--green)}.money-negative{color:#d0d7e3}.mono{font-family:ui-monospace,Consolas,monospace;font-size:10px}.auth-error{color:#ffadb7!important}.permission-matrix{font-size:11px;line-height:2;color:var(--muted)}.permission-matrix strong{color:var(--text)}
@media(min-width:1600px){main{padding:40px 52px}.topbar{padding:0 52px}.stat-card{padding:24px}.stat-value{font-size:34px}}@media(max-width:1150px){:root{--sidebar:210px}main{padding:25px}.topbar{padding:0 25px}.stats-grid{gap:12px}.stat-card{padding:16px}.stat-value{font-size:25px}.analytics-layout{grid-template-columns:1.6fr 1fr}.split-panels{grid-template-columns:1.5fr 1fr}.preview-banner{padding:9px 25px}}@media(max-width:900px){.stats-grid{grid-template-columns:repeat(2,1fr)}.analytics-layout,.split-panels,.settings-grid{grid-template-columns:1fr}.secure-pill{display:none}.page-heading{flex-wrap:wrap}.sidebar{padding-left:12px;padding-right:12px}.preview-banner{flex-wrap:wrap}.data-table{font-size:10px}}@media(max-width:680px){.admin-shell{display:block}.workspace{display:block}.sidebar{transform:translateX(-100%);transition:transform .18s;width:234px;box-shadow:10px 0 35px #0006}.sidebar.open{transform:translateX(0)}#mobile-menu{display:block}.topbar{height:62px;padding:0 19px}.topbar-actions{gap:8px}main{padding:25px 18px}.preview-banner{padding:10px 18px;font-size:9px}.preview-banner label{margin:0}.stats-grid{gap:10px}.stat-card{padding:15px;min-height:125px}.stat-value{font-size:25px}.stat-top{font-size:9px}.stat-caption{font-size:9px}.stat-icon{width:25px;height:25px}.page-heading h1{font-size:25px}.panel-header{padding:16px}.data-table th,.data-table td{padding:11px 14px}.toolbar{flex-wrap:wrap}.toolbar form{flex-wrap:wrap}.toolbar input{max-width:none}.analytics-layout,.split-panels{gap:16px}.form-grid,.detail-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.admin-footer{padding:16px 19px}.auth-card{padding:29px}.dialog-header h2{font-size:19px}dialog{padding:20px}.revenue-chart{height:170px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.manual-topup-summary .full{grid-column:1/-1}.manual-topup-summary .mono{font-family:ui-monospace,Consolas,monospace;font-size:11px}.manual-topup-confirm{align-items:flex-start;line-height:1.7}.manual-topup-confirm input{margin-top:4px;flex-shrink:0;accent-color:var(--red)}.manual-topup-error{padding:11px 14px;margin:0 0 16px;border:1px solid #633344;border-radius:7px;background:#34212a;color:#ffa1ae;font-size:11px;overflow-wrap:anywhere}
.discord-identity{display:inline-block;white-space:normal;min-width:150px;max-width:270px;vertical-align:top}.discord-identity>strong{display:block;overflow-wrap:anywhere;font:inherit;font-weight:600}.discord-identity>.subline{display:block;margin-top:3px;color:var(--muted);font-size:10px;white-space:nowrap}.detail-grid .discord-identity>strong{font-size:13px}.detail-grid .discord-identity>.subline{margin-bottom:0}.discord-name-hint{overflow-wrap:anywhere}.ticket-message header .discord-identity{margin-top:4px}.ticket-message header>span{white-space:nowrap;margin-left:12px}
.registration .discord-identity{min-width:0}.registration .discord-identity>strong{font-size:11px;color:var(--text)}.detail-grid .discord-identity{min-width:0;max-width:100%}.ticket-message header{flex-wrap:wrap;gap:8px}.ticket-message header>span{margin-left:auto}
