:root{--primary: #ffc338;--admin-ink: #172033;--admin-muted: #7b8494;--admin-line: #e7e9ed;--admin-bg: #f5f6f8;--admin-yellow: #ffc338;--admin-navy: #151d2c;--admin-navy-hover: #293244;--ok: #21a568;--warn: #e49a20;--err: #ee5930}*{box-sizing:border-box}html,body{margin:0;padding:0}body{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--admin-ink);background:var(--admin-bg)}a{color:inherit}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #e5a900;outline-offset:2px}.nico-logo{display:flex;flex-direction:column;align-items:center;justify-content:center;color:#111;-webkit-user-select:none;user-select:none}.nico-logo-line{width:46px;height:46px;display:grid;place-items:center;border:2px solid #ff8b65;border-radius:48% 52% 46% 54%;color:#ff7650;font-size:24px;font-weight:800;transform:rotate(-5deg)}.nico-logo strong{margin-top:5px;font-size:13px;letter-spacing:.18em}.nico-logo small{color:#8ea2a7;font-size:6px;letter-spacing:.34em}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:min(400px,100%);padding:34px;border:1px solid var(--admin-line);border-radius:19px;background:#fff;box-shadow:0 24px 70px #0001}.login-card h1{margin:18px 0 4px;font-size:22px;font-weight:800}.login-card p{margin:0 0 22px;color:var(--admin-muted);font-size:13px}.login-hint{margin-top:16px;padding:10px 12px;border-radius:10px;background:#fafafb;border:1px solid var(--admin-line);color:var(--admin-muted);font-size:11px;line-height:1.6}.admin-shell{display:grid;grid-template-columns:238px 1fr;min-height:100vh}.admin-sidebar{position:sticky;top:0;height:100vh;padding:25px 18px 20px;background:var(--admin-navy);color:#fff;display:flex;flex-direction:column;gap:6px}.admin-brand{display:flex;align-items:center;gap:11px;margin-bottom:22px;padding:0 6px}.admin-brand>span{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,#ffd25f,#f2ae16);color:#171d28;font-size:22px;font-weight:900}.admin-brand b{font-size:14px;font-weight:800;line-height:1.15}.admin-brand small{display:block;color:#8b93a3;font-size:10px;letter-spacing:.12em;text-transform:uppercase}.admin-nav{display:flex;flex-direction:column;gap:4px}.admin-nav button{width:100%;min-height:47px;display:flex;align-items:center;gap:11px;padding:0 14px;border:0;border-radius:11px;background:transparent;color:#c7ccd6;font-size:13px;font-weight:600;text-align:left}.admin-nav button:hover{background:#1e2636;color:#fff}.admin-nav button.active{background:var(--admin-navy-hover);color:#fff}.admin-nav .nav-ico{font-size:17px}.sidebar-spacer{flex:1}.sidebar-foot{padding:0 6px;color:#6b7385;font-size:10px}.logout-btn{width:100%;min-height:42px;border:1px solid #2b3546;border-radius:11px;background:transparent;color:#c7ccd6;font-size:12px;font-weight:600}.logout-btn:hover{background:#1e2636;color:#fff}.admin-workspace{display:flex;flex-direction:column;min-width:0}.admin-topbar{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 34px;background:#fff;border-bottom:1px solid var(--admin-line)}.admin-topbar h2{margin:0;font-size:16px;font-weight:700}.topbar-user{display:flex;align-items:center;gap:10px;color:var(--admin-muted);font-size:12px}.topbar-user .avatar{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#eef0f3;color:var(--admin-ink);font-weight:800;font-size:13px}.admin-page{max-width:1260px;width:100%;margin:0 auto;padding:34px 34px 70px}.page-title{margin:0 0 4px;font-size:28px;font-weight:800}.page-sub{margin:0 0 24px;color:var(--admin-muted);font-size:13px}.admin-panel{border:1px solid var(--admin-line);border-radius:16px;background:#fff;margin-bottom:18px;overflow:hidden}.panel-heading{min-height:64px;padding:16px 21px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #eff0f2}.panel-heading h3{margin:0;font-size:15px;font-weight:700}.panel-heading .sub{color:var(--admin-muted);font-size:12px;font-weight:400}.panel-body{padding:18px 21px}.panel-body.flush{padding:0}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin-bottom:18px}.stat-card{padding:18px;border:1px solid var(--admin-line);border-radius:16px;background:#fff}.stat-card .label{color:var(--admin-muted);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.stat-card .value{margin-top:8px;font-size:26px;font-weight:800}.stat-card .value.gold{color:#b6870b}.admin-table{width:100%;border-collapse:collapse}.admin-table th{height:43px;padding:0 21px;color:#949ba6;background:#fafafb;font-size:9px;font-weight:800;letter-spacing:.08em;text-align:left;text-transform:uppercase}.admin-table td{padding:13px 21px;border-top:1px solid #eceef1;color:#525b69;font-size:12px;vertical-align:middle}.admin-table tr:hover td{background:#fcfcfd}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.empty{padding:26px 21px;color:var(--admin-muted);font-size:13px}.order-status{display:inline-flex;min-width:92px;justify-content:center;padding:6px 9px;border-radius:999px;font-size:9px;font-weight:850;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.order-status.green,.order-status.PAID,.order-status.SALE_OPEN{background:#e8f8ef;color:#258650}.order-status.yellow,.order-status.RUNNING,.order-status.PENDING{background:#fff3cf;color:#a57400}.order-status.blue,.order-status.BOARDING,.order-status.PROCESSING{background:#eaf3ff;color:#3977bf}.order-status.red,.order-status.EXPIRED,.order-status.REFUNDED{background:#fff0ed;color:#c34b35}.order-status.neutral{background:#eff1f4;color:#68717f}.device-status{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;font-size:10px;font-weight:800}.device-status.ok{background:#e9f8ef;color:#2c985b}.device-status.down{background:#fdecec;color:#d2473f}.btn{min-height:42px;padding:0 18px;display:inline-flex;align-items:center;gap:8px;border:0;border-radius:10px;font-size:12px;font-weight:800}.btn-primary{background:var(--admin-yellow);color:#27210f;box-shadow:0 7px 18px #f0b72a29}.btn-primary:hover{background:#f5b81f}.btn-ghost{background:#fbfbfc;color:#2c3545;border:1px solid #d7dae0}.btn-ghost:hover{background:#f2f3f5}.btn-dark{background:#1f2937;color:#fff}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-sm{min-height:34px;padding:0 12px;font-size:11px;border-radius:8px}.form-grid{display:grid;gap:14px}.form-grid.cols-2{grid-template-columns:1fr 1fr}.form-grid.cols-3{grid-template-columns:repeat(3,1fr)}.field label{display:block;margin-bottom:5px;color:#586170;font-size:10px;font-weight:750;letter-spacing:.04em;text-transform:uppercase}.field input,.field select{width:100%;min-height:42px;padding:10px 12px;border:1px solid #dce0e5;border-radius:9px;outline:0;background:#fff;color:#273143;font:inherit;font-weight:500}.field input:focus,.field select:focus{border-color:#e3ab23;box-shadow:0 0 0 3px #ffc33820}.row{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}.toast-stack{position:fixed;z-index:70;right:25px;bottom:25px;display:flex;flex-direction:column;gap:10px}.toast{padding:13px 17px;border-radius:11px;background:#1c2738;color:#fff;font-size:12px;font-weight:700;box-shadow:0 12px 35px #0004;max-width:360px}.toast.err{background:#b5301c}.toast.ok{background:#1c7a45}.token-box{margin-top:12px;padding:12px 14px;border-radius:10px;border:1px dashed #d7b64e;background:#fffdf3;color:#5a4a12;font-size:12px;word-break:break-all}.store-shell{min-height:100vh;background:#faf8f3}.store-topbar{height:78px;display:flex;align-items:center;gap:14px;padding:0 22px;background:#fff;border-bottom:1px solid #eee}.store-topbar img{height:42px}.store-topbar .op-name{font-size:17px;font-weight:800}.store-topbar .op-tag{color:#59606a;font-size:12px}.store-main{max-width:1000px;margin:0 auto;padding:22px 18px 60px}.store-banner{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-radius:14px;background:#fff;border:1px solid #eee;margin-bottom:18px}.countdown{font-size:30px;font-weight:850;color:#111;letter-spacing:-.02em}.countdown-label{color:#59606a;font-size:12px}.store-section{background:#fff;border:1px solid #eee;border-radius:14px;padding:20px;margin-bottom:18px}.store-section h3{margin:0 0 4px;font-size:18px;font-weight:700}.store-section .muted{color:#59606a;font-size:13px;margin:0 0 14px}.previews{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.thumb{position:relative;aspect-ratio:4 / 3;border-radius:10px;overflow:hidden;border:2px solid #eee;cursor:pointer;background:#000}.thumb.selected{border-color:#d2a42e}.thumb img,.thumb video{width:100%;height:100%;object-fit:cover;display:block}.watermark{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:15px;letter-spacing:3px;color:#ffffffb3;text-shadow:0 1px 4px rgba(0,0,0,.8);background:repeating-linear-gradient(-45deg,#0000000a 0,#0000000a 22px,#ffffff12 22px,#ffffff12 44px);pointer-events:none}.thumb .check{position:absolute;top:6px;right:6px;width:24px;height:24px;border-radius:50%;background:var(--primary);color:#23210f;display:grid;place-items:center;font-weight:800}.price-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.price-card{padding:16px;border:1px solid #e1e4e9;border-radius:12px;background:#fafbfc;display:flex;flex-direction:column;gap:8px}.price-card .price{font-size:24px;font-weight:850;letter-spacing:-.02em}.price-card .plabel{color:#59606a;font-size:13px}.primary-action{min-height:46px;border:0;border-radius:6px;background:var(--primary);color:#23210f;font-weight:800;font-size:14px}.primary-action:disabled{opacity:.5;cursor:not-allowed}.secondary-button{min-height:44px;padding:0 18px;border:0;border-radius:6px;background:#1f2937;color:#fff;font-weight:700}.dl-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.buy-summary{border:1px solid var(--primary);border-radius:12px;padding:16px;background:#fffdf5;margin-bottom:14px}.buy-summary-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.bs-count{font-size:16px;font-weight:800}.bs-sub{color:#59606a;font-size:13px;margin-top:2px}.bs-total{font-size:26px;font-weight:850;letter-spacing:-.02em;white-space:nowrap}.upsell{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:12px;padding:12px 14px;border-radius:10px;background:#fff6da;border:1px dashed #e3ab23;color:#5a4a12}.upsell>svg{color:#d39a12;flex:none}.upsell-text{flex:1;min-width:160px}.upsell-text b{font-size:14px}.upsell-sub{font-size:12px;margin-top:2px;color:#7a6a2e}.upsell .secondary-button{margin-left:auto;white-space:nowrap}.btn-ico{display:inline-flex;align-items:center;gap:7px}.inline-ico{display:inline-flex;align-items:center;gap:4px;vertical-align:middle}.h3-ico{display:flex;align-items:center;gap:8px}.maint-splash{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9998;background:#0f141c}.maint-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 30%,#1c2636,#0d1119 70%);color:#eef1f6;text-align:center}.maint-box{max-width:460px}.maint-box>svg{color:var(--admin-yellow);margin-bottom:14px}.maint-box h1{font-size:30px;font-weight:850;margin:0 0 10px}.maint-box p{color:#b6bdc9;font-size:15px;line-height:1.6;margin:0 0 22px}.maint-links{display:flex;gap:10px;justify-content:center;color:#6b7484;font-size:13px}.maint-links a{color:#c7ccd6;text-decoration:underline}.legal-shell{min-height:100vh;background:#faf8f3;color:#172033}.legal-topbar{height:78px;display:flex;align-items:center;padding:0 22px;background:#fff;border-bottom:1px solid #eee}.legal-home{text-decoration:none}.legal-page{max-width:760px;margin:0 auto;padding:28px 20px 80px}.legal-page h1{font-size:30px;font-weight:850;margin:6px 0 2px}.legal-page h2{font-size:17px;font-weight:800;margin:26px 0 6px}.legal-page p,.legal-page li{font-size:14px;line-height:1.7;color:#333b47}.legal-page ul{padding-left:20px}.legal-page a{color:#b6870b}.legal-page .muted{color:#7b8494;font-size:13px}.legal-footer{display:flex;gap:10px;justify-content:center;align-items:center;padding:26px 16px 40px;color:#9aa0ab;font-size:13px}.legal-footer a{color:#59606a;text-decoration:none}.legal-footer a:hover{text-decoration:underline}.cookie-banner{position:fixed;z-index:200;left:16px;right:16px;bottom:16px;max-width:720px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding:16px 18px;border:1px solid var(--admin-line);border-radius:14px;background:#fff;box-shadow:0 18px 50px #0003}.cookie-text{flex:1;min-width:240px}.cookie-text b{font-size:14px}.cookie-text p{margin:4px 0 0;color:#59606a;font-size:12px;line-height:1.5}.cookie-text a{color:#b6870b}.cookie-actions{display:flex;gap:8px;margin-left:auto}.cookie-btn{min-height:40px;padding:0 16px;border-radius:9px;font-size:13px;font-weight:700;border:1px solid var(--admin-line)}.cookie-btn.ghost{background:#fbfbfc;color:#2c3545}.cookie-btn.accept{background:var(--admin-yellow);color:#27210f;border-color:var(--admin-yellow)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;place-items:center;padding:16px;background:#0006;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.payment-modal{width:min(460px,100%);position:relative;padding:34px;border-radius:6px;background:#fff;text-align:center;box-shadow:0 30px 80px #0005}.payment-modal .eyebrow{color:#b6870b;font-size:11px;font-weight:850;letter-spacing:.14em;text-transform:uppercase}.payment-modal h2{margin:6px 0 4px;font-size:36px;letter-spacing:-.04em}.payment-modal .pkg{color:#59606a;font-size:14px}.payment-modal .modal-close{position:absolute;top:14px;right:14px;width:34px;height:34px;border:0;border-radius:50%;background:#f1f2f5;font-size:18px}.consent{display:flex;gap:10px;align-items:flex-start;margin:22px 0 18px;padding:12px;border:1px solid #e1e4e9;border-radius:10px;text-align:left;font-size:12px;color:#444;line-height:1.5}.consent input{margin-top:2px;width:18px;height:18px}.notice{padding:10px 14px;border-radius:10px;border:1px solid #eee;background:#fff;margin-bottom:14px;font-size:13px}.notice.ok{border-color:#23a35f;color:#1c7a45;background:#eefaf1}.notice.err{border-color:#ee5930;color:#b5301c;background:#fdefe9}@media (max-width: 840px){.admin-shell{grid-template-columns:1fr}.admin-sidebar{position:static;height:auto;flex-direction:row;flex-wrap:wrap;align-items:center}.admin-nav{flex-direction:row;flex-wrap:wrap}.sidebar-spacer{display:none}.form-grid.cols-2,.form-grid.cols-3{grid-template-columns:1fr}}
