:root{--bg:#07070a;--panel:#141419;--panel2:#1a1a21;--line:#34343e;--muted:#a4a4b0;--purple:#7c3cff;--green:#a6f000;--white:#f8f8fb;--danger:#ff6d82}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 15% 10%,rgba(101,39,190,.16),transparent 28%),var(--bg);color:var(--white);font-family:Inter,Arial,Helvetica,sans-serif}a{color:inherit}.container{width:min(1320px,92vw);margin:auto}.site-header{min-height:74px;display:flex;align-items:center;padding:0 4vw;gap:22px;border-bottom:1px solid #292931;background:#08080b;position:sticky;top:0;z-index:50}.brand{display:flex;align-items:center;gap:8px;color:#fff;text-decoration:none;font-style:italic;font-weight:950;font-size:25px}.brand span span{color:var(--green)}.brand-bolt{color:#9451ff;font-size:35px}.header-promotion{font-size:14px}.header-promotion span{color:var(--green)}.nav-links{margin-left:auto;display:flex;align-items:center;gap:8px}.nav-links a,.nav-links button{border:1px solid #3a3a45;background:#18181e;color:#fff;border-radius:9px;padding:10px 13px;text-decoration:none;cursor:pointer;font-weight:800}.nav-links .primary{background:var(--green);color:#111;border-color:var(--green)}.page-head{padding:45px 0 25px}.page-head h1{font-size:42px;margin:5px 0}.page-head p,.muted{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:.13em;color:#ab75ff;font-size:10px;font-weight:900}.panel{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:22px}.auth-page{min-height:calc(100vh - 74px);display:grid;place-items:center;padding:35px}.auth-card{width:min(560px,94vw);background:linear-gradient(145deg,#1a1722,#0f0f14);border:1px solid #44375c;border-radius:20px;padding:32px;box-shadow:0 35px 100px rgba(0,0,0,.55)}.auth-card h1{font-size:38px;margin:8px 0}.auth-card>p{color:#b7b2bf}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-group{display:grid;gap:7px;margin:13px 0}.form-group label{font-weight:800;font-size:13px}.input,select,textarea{width:100%;border:1px solid #3b3b47;border-radius:10px;background:#0d0d12;color:#fff;padding:13px 14px;font-size:15px}.input:focus,select:focus,textarea:focus{outline:none;border-color:#8b4bff;box-shadow:0 0 0 2px rgba(139,75,255,.14)}.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:9px;padding:12px 15px;font-weight:900;text-decoration:none;border:1px solid #44444f;background:#202027;color:#fff;cursor:pointer}.btn.lime,.btn.primary{background:linear-gradient(90deg,#b7ff1d,#85e600);color:#111;border:0}.btn.danger{background:#35151e;border-color:#6e2e3e;color:#ffb0bc}.btn.full{width:100%}.alert{display:none;margin:13px 0;padding:11px 13px;border:1px solid #8d4052;border-radius:9px;background:#32171f;color:#ffc0ca;font-size:12px}.alert.show{display:block}.form-footer{text-align:center;margin-top:17px;color:#aaa3b5}.form-footer a{color:#baff25;font-weight:800}.tabs{display:flex;gap:8px;margin-bottom:18px}.tab{border:1px solid #3b3b45;background:#17171d;color:#fff;border-radius:9px;padding:11px 14px;cursor:pointer;font-weight:800}.tab.active{background:#7434e5;border-color:#8f52ff}.orders-list{display:grid;gap:15px}.order-card{background:#15151a;border:1px solid #34343d;border-radius:16px;padding:20px;display:grid;grid-template-columns:1fr auto;gap:20px}.order-card h3{margin:0 0 5px}.order-meta{display:flex;flex-wrap:wrap;gap:8px;color:#aaa4b5;font-size:11px}.order-items{margin:13px 0;color:#ddd8e6}.order-actions{display:flex;gap:8px;flex-wrap:wrap;align-content:flex-start}.status{display:inline-flex;padding:5px 8px;border-radius:20px;background:#27212f;color:#d6c6eb;font-size:9px;font-weight:900;text-transform:uppercase}.status.paid{background:#15331b;color:#a8ff8c}.status.pending{background:#392d13;color:#ffda7d}.empty{padding:45px;text-align:center;color:#9991a3;background:#131318;border:1px dashed #3a3a43;border-radius:14px}.admin-title{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:35px 0 22px}.admin-title h1{font-size:38px;margin:5px 0}.admin-tabs{display:flex;gap:8px;flex-wrap:wrap}.summary-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:18px}.summary-card{background:#16161c;border:1px solid #33333d;border-radius:13px;padding:17px}.summary-card span{color:#a59fac;font-size:10px;text-transform:uppercase}.summary-card strong{display:block;font-size:27px;margin-top:5px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.panel-head h2{margin:0}.toolbar{display:flex;gap:8px;flex-wrap:wrap}.toolbar input,.toolbar select{width:auto;min-width:190px}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;min-width:850px}.table th,.table td{text-align:left;padding:12px;border-bottom:1px solid #303038;font-size:11px}.table th{color:#9e96ab;text-transform:uppercase}.sprite-admin-grid{display:grid;grid-template-columns:330px 1fr;gap:18px}.sprite-list{display:grid;gap:8px}.sprite-row{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;background:#19191f;border:1px solid #34343e;border-radius:11px;padding:10px}.sprite-thumb{width:38px;height:38px;border-radius:8px;object-fit:contain;background:#261b42}.sprite-placeholder{display:grid;place-items:center;width:38px;height:38px;border-radius:8px;background:#261b42}.image-preview{width:90px;height:90px;border:1px solid #3d3d47;border-radius:12px;display:grid;place-items:center;overflow:hidden;background:#0e0e13}.image-preview img{width:100%;height:100%;object-fit:contain}.chat-layout{display:grid;grid-template-columns:330px 1fr;min-height:600px;border:1px solid #34343e;border-radius:15px;overflow:hidden}.chat-sidebar{background:#111117;border-right:1px solid #34343e}.chat-tools{padding:12px;display:grid;gap:8px;border-bottom:1px solid #34343e}.chat-list{max-height:560px;overflow:auto}.chat-list-item{padding:13px;border-bottom:1px solid #2d2d35;cursor:pointer}.chat-list-item:hover,.chat-list-item.active{background:#24202d}.chat-list-item.unread{border-left:3px solid var(--green)}.chat-list-item strong{display:block}.chat-list-item small,.chat-list-item p{color:#9d96a8;font-size:10px}.chat-workspace{display:grid;grid-template-rows:auto auto 1fr auto;min-width:0}.chat-placeholder{display:grid;place-items:center;color:#8e8799;min-height:300px}.chat-header,.chat-order,.chat-compose{padding:13px;border-bottom:1px solid #34343e}.chat-order{font-size:10px;color:#aaa3b5}.chat-messages{padding:16px;overflow:auto;max-height:430px}.chat-message{max-width:75%;padding:10px 12px;border-radius:13px;margin:7px 0;font-size:12px}.chat-message.customer{background:#2b2137}.chat-message.admin{background:#6f31d5;margin-left:auto}.chat-message small{display:block;color:#b8afc3;font-size:8px;margin-top:4px}.chat-compose{display:grid;grid-template-columns:1fr auto;gap:8px;border-top:1px solid #34343e;border-bottom:0}.legal-footer{margin-top:45px;border-top:1px solid #292932;padding:25px 4vw;color:#92909b;font-size:9px;line-height:1.6}.legal-footer strong{color:#fff}.badge{display:inline-grid;place-items:center;min-width:20px;height:20px;border-radius:20px;background:var(--green);color:#111;font-size:9px}.payment-result{max-width:660px;margin:60px auto}.payment-result h1{font-size:38px}.payment-details>div{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #33333d}.payment-details strong{text-align:right}.payment-amount{font-size:34px;color:var(--green)}@media(max-width:1000px){.header-promotion{display:none}.summary-grid{grid-template-columns:repeat(2,1fr)}.sprite-admin-grid,.chat-layout{grid-template-columns:1fr}.chat-sidebar{border-right:0;border-bottom:1px solid #34343e}.form-grid{grid-template-columns:1fr}}@media(max-width:650px){.site-header{padding:10px 14px;flex-wrap:wrap}.brand{font-size:20px}.nav-links{width:100%;justify-content:flex-end}.summary-grid{grid-template-columns:1fr 1fr}.order-card{grid-template-columns:1fr}.admin-title{display:block}.admin-tabs{margin-top:12px}.auth-page{padding:18px}.auth-card{padding:22px}}

/* Waiting for Pro secure delivery room */
.delivery-body{min-height:100vh;background:radial-gradient(circle at 70% 5%,rgba(112,46,214,.22),transparent 28%),radial-gradient(circle at 8% 85%,rgba(158,242,15,.08),transparent 30%),#09090d}.delivery-header-label{display:flex;align-items:center;gap:8px;color:#c8c1d2;font-size:11px;letter-spacing:.04em}.delivery-header-label i{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 14px rgba(168,242,0,.7)}.delivery-page{width:min(1180px,94vw);margin:0 auto;padding:38px 0 70px}.delivery-shell{border:1px solid #332a41;border-radius:24px;overflow:hidden;background:linear-gradient(145deg,rgba(24,20,31,.98),rgba(12,11,16,.98));box-shadow:0 35px 110px rgba(0,0,0,.55)}.delivery-hero{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding:27px 30px;background:linear-gradient(120deg,#241837,#17121f 55%,#192214);border-bottom:1px solid #3b304b}.delivery-hero h1{margin:5px 0 4px;font-size:36px;letter-spacing:-.035em}.delivery-hero p{margin:0;color:#aea6ba;font-size:13px}.delivery-pro-avatar{position:relative;width:66px;height:66px;border-radius:19px;display:grid;place-items:center;background:linear-gradient(145deg,#6f32dc,#3a196e);box-shadow:0 16px 40px rgba(92,40,174,.35);font-weight:950;font-size:14px;letter-spacing:.05em}.delivery-pro-avatar>i{position:absolute;right:-4px;bottom:-4px;width:18px;height:18px;border:4px solid #1c1526;border-radius:50%;background:#77717e}.delivery-pro-avatar.connected>i{background:var(--green);box-shadow:0 0 15px rgba(168,242,0,.75)}.delivery-pro-avatar.completed>i{background:#58d18c}.delivery-pro-avatar.failed>i{background:#ff5570}.delivery-live-state{display:flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid #473b58;border-radius:20px;color:#b9b1c4;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.delivery-live-state i{width:8px;height:8px;border-radius:50%;background:#8b8491;animation:deliveryBlink 1.4s infinite}.delivery-live-state.waiting i{background:#ffd34d}.delivery-live-state.connected{border-color:rgba(168,242,0,.38);color:#caff71}.delivery-live-state.connected i{background:var(--green);box-shadow:0 0 12px rgba(168,242,0,.75)}.delivery-live-state.completed i{background:#58d18c}.delivery-live-state.failed i{background:#ff5570}.delivery-warning{margin:20px 24px 0;padding:14px 17px;border:1px solid rgba(255,196,61,.38);border-radius:13px;background:rgba(255,188,41,.075);display:flex;align-items:center;gap:10px;color:#d9c790;font-size:11px}.delivery-warning strong{color:#ffd763;white-space:nowrap}.delivery-grid{display:grid;grid-template-columns:330px minmax(0,1fr);gap:22px;padding:24px}.delivery-summary{display:grid;align-content:start;gap:16px}.delivery-steps{display:grid;gap:8px}.delivery-step{display:grid;grid-template-columns:34px 1fr;align-items:center;gap:11px;padding:12px;border:1px solid #30283b;border-radius:13px;background:#111016;opacity:.62}.delivery-step b{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#292330;color:#a99fb4;font-size:11px}.delivery-step strong,.delivery-step span{display:block}.delivery-step strong{font-size:11px}.delivery-step span{margin-top:3px;color:#91899b;font-size:9px}.delivery-step.active{opacity:1;border-color:#7143bd;background:rgba(110,53,199,.09)}.delivery-step.active b{background:#7134d8;color:#fff;box-shadow:0 0 18px rgba(113,52,216,.38)}.delivery-step.done{opacity:1;border-color:rgba(168,242,0,.23)}.delivery-step.done b{font-size:0;background:#243718;color:#baff62}.delivery-step.done b::after{content:'✓';font-size:13px}.delivery-order-card{padding:17px;border:1px solid #332c3e;border-radius:15px;background:#111016}.delivery-card-label{margin-bottom:10px;color:#9d93a8;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.12em}.delivery-order-card dl{margin:0}.delivery-order-card dl>div{display:grid;grid-template-columns:80px 1fr;gap:10px;padding:9px 0;border-bottom:1px solid #29242f}.delivery-order-card dl>div:last-child{border-bottom:0}.delivery-order-card dt{color:#8f8799;font-size:10px}.delivery-order-card dd{margin:0;text-align:right;color:#f2edf6;font-size:10px;font-weight:800;word-break:break-word}.delivery-order-card .delivery-total{color:var(--green);font-size:20px}.delivery-orders-link{width:100%}.delivery-chat-panel{min-height:590px;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;border:1px solid #3b3049;border-radius:17px;overflow:hidden;background:#0f0e14}.delivery-chat-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 18px;border-bottom:1px solid #302838;background:#17131d}.delivery-chat-head strong{display:block;font-size:13px}.delivery-chat-head #deliveryChatStatus{display:flex;align-items:center;gap:6px;margin-top:4px;color:#9e95a9;font-size:9px}.delivery-chat-head #deliveryChatStatus i{width:7px;height:7px;border-radius:50%;background:#7d7582}.delivery-chat-head #deliveryChatStatus.connected{color:#b9fa68}.delivery-chat-head #deliveryChatStatus.connected i{background:var(--green);box-shadow:0 0 9px rgba(168,242,0,.65)}.delivery-chat-head #deliveryChatStatus.completed{color:#7be0aa}.delivery-chat-head #deliveryChatStatus.completed i{background:#58d18c}.delivery-chat-head #deliveryChatStatus.failed{color:#ff8195}.delivery-chat-head #deliveryChatStatus.failed i{background:#ff5570}.delivery-encrypted{color:#827a8d;font-size:9px}.delivery-chat-content{position:relative;min-height:0;overflow:hidden;background:radial-gradient(circle at center,rgba(103,52,178,.08),transparent 42%)}.delivery-waiting{height:100%;min-height:430px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px}.delivery-waiting h2{margin:27px 0 9px;font-size:24px}.delivery-waiting p{max-width:500px;margin:0;color:#9d95a7;font-size:12px;line-height:1.7}.delivery-radar{position:relative;width:112px;height:112px;display:grid;place-items:center;border-radius:50%;background:#231934;color:#fff;font-size:13px;font-weight:950;z-index:1}.delivery-radar>i{position:absolute;inset:0;border:1px solid rgba(151,88,255,.55);border-radius:50%;animation:deliveryRadar 2.7s infinite}.delivery-radar>i:nth-of-type(2){animation-delay:.9s}.delivery-radar>i:nth-of-type(3){animation-delay:1.8s}.delivery-dots{display:flex;gap:7px;margin-top:25px}.delivery-dots i{width:7px;height:7px;border-radius:50%;background:#8248db;animation:deliveryDots 1.2s infinite}.delivery-dots i:nth-child(2){animation-delay:.18s}.delivery-dots i:nth-child(3){animation-delay:.36s}.delivery-messages{height:100%;max-height:480px;overflow:auto;padding:20px;scrollbar-width:thin;scrollbar-color:#51465f transparent}.delivery-message{max-width:78%;margin:10px 0;padding:12px 14px;border-radius:15px;word-break:break-word}.delivery-message.pro{margin-right:auto;border-bottom-left-radius:4px;background:#282130}.delivery-message.customer{margin-left:auto;border-bottom-right-radius:4px;background:linear-gradient(135deg,#7035d4,#5728a7)}.delivery-message-author{margin-bottom:5px;color:#b9ef73;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.delivery-message.customer .delivery-message-author{color:#e3d6ff}.delivery-message p{margin:0;color:#f4eff7;font-size:12px;line-height:1.55;white-space:pre-wrap}.delivery-message time{display:block;margin-top:6px;color:#978e9f;font-size:8px}.delivery-empty-message{padding:40px;text-align:center;color:#8d8497;font-size:11px}.delivery-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:12px;border-top:1px solid #302838;background:#15121a}.delivery-compose textarea{min-height:46px;max-height:120px;resize:vertical;background:#0e0c12}.delivery-compose button{min-width:82px;border:0;border-radius:10px;background:linear-gradient(90deg,#baff25,#87e70b);color:#111;font-weight:950;cursor:pointer}.delivery-compose button:disabled{opacity:.55}.delivery-chat-foot{display:flex;justify-content:space-between;gap:12px;padding:8px 13px;border-top:1px solid #28222f;color:#746d7d;font-size:8px}.delivery-alert{margin:0 24px 24px}@keyframes deliveryRadar{0%{transform:scale(.72);opacity:.8}100%{transform:scale(1.65);opacity:0}}@keyframes deliveryDots{0%,80%,100%{transform:translateY(0);opacity:.4}40%{transform:translateY(-6px);opacity:1}}@keyframes deliveryBlink{0%,100%{opacity:.35}50%{opacity:1}}@media(max-width:900px){.delivery-header-label{display:none}.delivery-grid{grid-template-columns:1fr}.delivery-summary{grid-template-columns:1fr 1fr}.delivery-steps{grid-column:1/-1}.delivery-orders-link{align-self:end}.delivery-chat-panel{min-height:550px}}@media(max-width:650px){.delivery-page{width:100%;padding:0}.delivery-shell{border-radius:0;border-left:0;border-right:0}.delivery-hero{grid-template-columns:auto 1fr;padding:20px 16px}.delivery-live-state{grid-column:1/-1;justify-self:start}.delivery-hero h1{font-size:27px}.delivery-pro-avatar{width:54px;height:54px;border-radius:15px}.delivery-warning{margin:14px 14px 0;display:block;line-height:1.55}.delivery-warning strong,.delivery-warning span{display:block}.delivery-grid{padding:14px}.delivery-summary{grid-template-columns:1fr}.delivery-chat-panel{min-height:570px}.delivery-waiting{padding:25px 18px}.delivery-chat-foot{display:block}.delivery-chat-foot span{display:block;margin:2px 0}}


/* Delivery-room visibility fix: author display rules must never override the HTML hidden state. */
.delivery-waiting[hidden],
.delivery-messages[hidden],
.delivery-compose[hidden] {
  display: none !important;
}
