@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#171717;--muted:#737373;--line:#e8e6e2;--paper:#f7f6f3;--white:#fff;--accent:#d6ff42;--red:#dc2626;--radius:20px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif}button,input,select,textarea{font:inherit}button,a{transition:transform .18s,background .18s,color .18s}button{cursor:pointer}a{color:inherit;text-decoration:none}.hidden{display:none!important}.topbar{height:78px;padding:0 5vw;background:#fff;display:flex;align-items:center;gap:36px;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:10px;font:800 15px Manrope,sans-serif;letter-spacing:.08em;white-space:nowrap}.brand b{font-weight:800}.brand-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:var(--ink);color:var(--accent);font-size:12px;letter-spacing:0}.topbar nav{display:flex;gap:28px;color:#666;font-size:13px;flex:1}.topbar nav a:hover{color:#111}.header-actions{display:flex;gap:8px;align-items:center}.primary,.secondary,.ghost{border:0;border-radius:12px;padding:12px 17px;font-weight:700;font-size:13px}.primary{background:var(--ink);color:white}.primary:hover{background:#333;transform:translateY(-1px)}.secondary{background:var(--accent);color:var(--ink)}.ghost{background:transparent;border:1px solid var(--line)}.ghost:hover{background:#f4f4f4}.link-button{display:inline-flex;align-items:center;gap:20px}.hero{padding:70px 8vw 75px;min-height:530px;background:#f0efe9;display:grid;grid-template-columns:1fr 1fr;align-items:center;overflow:hidden}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.18em;color:#8a8a80}.hero h1{font:800 clamp(42px,5vw,68px)/1.06 Manrope,sans-serif;letter-spacing:-.055em;margin:18px 0}.hero h1 em{font-style:normal;color:#6c751f}.hero-copy>p,.section-head p,.split-section p{color:var(--muted);line-height:1.7;max-width:470px;font-size:14px}.hero-actions{display:flex;gap:10px;margin-top:27px}.hero-points{display:flex;gap:20px;margin-top:34px;color:#68685f;font-size:11px}.hero-art{height:360px;position:relative;display:grid;place-items:center}.art-orbit{position:absolute;border:1px solid #d4d2c7;border-radius:50%;width:320px;height:320px}.orbit-two{width:250px;height:250px;border-style:dashed}.art-card{z-index:1;width:220px;height:280px;border-radius:20px;background:#25251f;color:white;padding:23px;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 30px 65px #0002;transform:rotate(-5deg)}.art-tag{font-size:9px;letter-spacing:.2em;color:#b7b7a5}.art-box{margin:30px 0 22px;width:100px;height:100px;border-radius:25px;background:var(--accent);color:#25251f;display:grid;place-items:center;font:800 36px Manrope;transform:rotate(5deg)}.art-card strong{font:700 20px Manrope}.art-card small{color:#bdbdb3;margin-top:7px}.float-chip{position:absolute;background:white;padding:12px 15px;border-radius:13px;box-shadow:0 12px 35px #0001;font-weight:700;font-size:12px}.chip-a{top:48px;right:5%}.chip-b{bottom:43px;left:0}.section{padding:70px 8vw}.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px}.section h2,.section-head h2{font:800 clamp(28px,3vw,40px) Manrope,sans-serif;letter-spacing:-.04em;margin:9px 0}.section-head p{margin:0}.filters{display:flex;gap:8px}.filters input,.filters select,.stack input,.stack select,.stack textarea,.modal-card input,.modal-card textarea{border:1px solid var(--line);background:#fff;border-radius:11px;padding:12px 13px;min-width:0;outline:none}.filters input:focus,.stack input:focus,.modal-card input:focus,.modal-card textarea:focus{border-color:#999}.filters input{width:210px}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.product-card{background:white;border:1px solid #eeece8;border-radius:17px;overflow:hidden;min-width:0}.product-image{height:200px;background:#eeede7;display:grid;place-items:center;overflow:hidden;color:#a0a095;font-size:30px}.product-image img{width:100%;height:100%;object-fit:cover}.product-body{padding:16px}.product-category{font-size:10px;color:#888;letter-spacing:.1em;text-transform:uppercase}.product-body h3{font-size:14px;margin:8px 0;line-height:1.4}.product-description{color:#777;font-size:12px;line-height:1.5;min-height:36px}.product-price{font:800 20px Manrope;margin:14px 0 12px}.product-foot{display:flex;align-items:center;justify-content:space-between;gap:8px}.product-foot small{color:#888;font-size:10px}.empty-state{padding:35px;text-align:center;color:#888;background:white;border-radius:16px;grid-column:1/-1}.split-section{display:grid;grid-template-columns:1.2fr .8fr;gap:70px;align-items:center;background:#e9e8e0}.support-card{background:#fff;padding:32px;border-radius:20px;max-width:400px;justify-self:end;width:100%}.support-icon{width:47px;height:47px;background:var(--accent);border-radius:15px;display:grid;place-items:center;font-size:24px}.support-card h3{font:800 22px Manrope}.support-card p{font-size:13px}.support-status{border-top:1px solid var(--line);padding-top:17px;margin-top:22px;font-size:12px;color:#555}.status-dot{display:inline-block;width:7px;height:7px;background:#8cae1d;border-radius:50%;margin-right:7px}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.panel{background:white;border:1px solid var(--line);border-radius:17px;padding:22px;min-width:0}.panel h3{font:800 17px Manrope;margin:0 0 17px}.panel h4{font:700 14px Manrope;margin:25px 0 10px}.profile-details{display:grid;gap:10px;font-size:13px;color:#555}.profile-row{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #f1f0ed;padding-bottom:9px}.profile-row strong{color:#222;text-align:right;overflow-wrap:anywhere}.role-pill{background:#e9efcf;border-radius:99px;padding:8px 12px;font-size:11px;font-weight:800}.stack{display:grid;gap:10px}.stack textarea,.modal-card textarea{min-height:90px;resize:vertical}.notice{padding:14px 16px;border-radius:12px;background:#fff1f1;color:#b91c1c;margin-bottom:18px;font-size:13px}.list-box{font-size:13px;color:#777}.ticket-item,.user-row,.log-row,.chat-line{padding:13px 0;border-bottom:1px solid #efeee9}.ticket-item button,.user-row button,.log-row button{margin-left:6px}.ticket-meta,.muted{color:#888;font-size:11px}.tab-row{display:flex;gap:8px;margin:20px 0}.tab{padding:11px 15px;border:1px solid var(--line);border-radius:11px;background:white;font-size:12px}.tab.active{background:var(--ink);color:white;border-color:var(--ink)}.staff-content{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;font-size:12px}.data-table th,.data-table td{text-align:left;padding:12px 10px;border-bottom:1px solid #efeee9;vertical-align:top}.data-table th{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#888}.small-btn{border:1px solid var(--line);background:#fff;border-radius:8px;padding:7px 9px;font-size:11px;font-weight:700;margin:2px}.small-btn.danger{color:#b91c1c}.small-btn:disabled{opacity:.35;cursor:not-allowed}.chat-messages{height:310px;overflow:auto;background:#f8f7f4;border-radius:13px;padding:14px;margin:18px 0}.message-bubble{max-width:88%;padding:11px 13px;border-radius:13px;background:white;margin:8px 0;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.message-bubble.mine{margin-left:auto;background:#e8efcb}.message-bubble small{display:block;color:#888;font-size:10px;margin-top:5px}.chat-send{display:flex;gap:8px}.chat-send input{flex:1;min-width:0}.chat-send button{min-width:45px}.modal{border:0;border-radius:20px;padding:0;width:min(460px,calc(100vw - 24px));max-height:90vh;box-shadow:0 30px 100px #0004}.modal::backdrop{background:#1119;backdrop-filter:blur(4px)}.modal-card{position:relative;padding:30px;display:flex;flex-direction:column;gap:13px}.modal-card h2{font:800 27px Manrope;letter-spacing:-.04em;margin:0}.modal-card p{color:#777;font-size:13px;line-height:1.6;margin:0}.modal-card label{display:grid;gap:7px;font-size:12px;font-weight:700}.modal-close{position:absolute;right:18px;top:14px;border:0;background:transparent;font-size:27px;color:#777}.wide{width:100%}.text-button{border:0;background:transparent;padding:8px;color:#666;font-size:12px}.form-error{color:#b91c1c!important;background:#fff0f0;padding:10px;border-radius:9px}.chat-modal{padding-top:34px}.chat-modal .chat-messages{height:340px}.toast-area{position:fixed;right:20px;bottom:20px;z-index:20;display:grid;gap:8px;max-width:min(370px,calc(100vw - 40px))}.toast{background:#1c1c1a;color:white;border-radius:12px;padding:13px 16px;font-size:12px;box-shadow:0 8px 25px #0002}.toast.error{background:#b91c1c}.toast.success{background:#365314}.loader{position:fixed;inset:0;background:#171717;color:white;z-index:100;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;transition:opacity .45s}.loader.done{opacity:0;pointer-events:none}.loader-mark{width:65px;height:65px;display:grid;place-items:center;border-radius:20px;background:var(--accent);color:#171717;font:800 23px Manrope;animation:pulse 1.1s infinite alternate}.loader strong{font:800 22px Manrope}.loader small{color:#aaa}.load-track{width:180px;height:4px;border-radius:9px;background:#45453e;overflow:hidden}.load-track i{display:block;width:0;height:100%;background:var(--accent);animation:load 15s linear forwards}@keyframes load{to{width:100%}}@keyframes pulse{to{transform:scale(1.07);box-shadow:0 0 25px #d6ff4255}}footer{padding:27px 8vw;background:#171717;color:white;display:flex;align-items:center;gap:22px}footer>span{color:#aaa;font-size:11px;flex:1}footer small{color:#888;font-size:10px}footer .brand-icon{background:var(--accent);color:#171717}@media(max-width:950px){.topbar{padding:0 4vw;gap:18px}.topbar nav{gap:13px}.header-actions .ghost:first-child{display:none}.hero{padding:55px 6vw;grid-template-columns:1fr 1fr}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.section{padding:55px 6vw}}@media(max-width:700px){.topbar{height:auto;min-height:70px;flex-wrap:wrap;padding:13px 5vw;gap:12px}.topbar nav{order:3;flex-basis:100%;justify-content:space-between}.header-actions{margin-left:auto}.header-actions button{padding:10px 11px}.hero{grid-template-columns:1fr;padding:45px 6vw 25px}.hero-art{height:300px}.hero h1{font-size:45px}.hero-points{flex-direction:column;gap:8px}.section{padding:45px 5vw}.section-head{align-items:flex-start;flex-direction:column}.filters{width:100%}.filters input{flex:1;width:50%}.filters select{max-width:45%}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-image{height:150px}.product-body{padding:12px}.product-price{font-size:17px}.split-section{grid-template-columns:1fr;gap:25px}.support-card{justify-self:stretch;max-width:none}.dashboard-grid{grid-template-columns:1fr}.tab-row{overflow:auto}.tab{white-space:nowrap}.panel{padding:15px}footer{align-items:flex-start;flex-direction:column;gap:12px}.art-orbit{width:260px;height:260px}.orbit-two{width:205px;height:205px}.chip-a{right:0}.chip-b{left:0}}

.notification-badge{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:#dc2626;color:#fff;font-size:10px;font-weight:800;margin-left:4px}

/* ===== TAJIK MAGAZ · DARK PREMIUM REDESIGN ===== */
:root{color-scheme:dark;--ink:#f4f3ff;--muted:#9b9bb5;--line:rgba(170,160,255,.16);--paper:#080811;--white:#11111f;--accent:#a78bfa;--red:#fb7185;--radius:20px;--violet:#8b5cf6;--blue:#38bdf8}
html{background:#080811;scroll-padding-top:95px}
body{background:radial-gradient(ellipse at 15% -10%,rgba(109,40,217,.18),transparent 36%),radial-gradient(ellipse at 90% 18%,rgba(37,99,235,.12),transparent 32%),#080811;color:#f4f3ff;font-family:'DM Sans',sans-serif;min-height:100vh}
::selection{background:#8b5cf6;color:white}
.topbar{height:76px;padding:0 clamp(18px,5vw,76px);background:rgba(9,9,20,.82);border-bottom:1px solid var(--line);backdrop-filter:blur(22px);box-shadow:0 10px 35px #0002}
.brand{color:#f5f3ff;letter-spacing:.12em;font-size:14px}.brand-icon{background:linear-gradient(135deg,#8b5cf6,#2563eb);color:white;border:1px solid #c4b5fd55;box-shadow:0 0 26px #8b5cf655;border-radius:13px}
.topbar nav{color:#a5a5c0}.topbar nav a:hover{color:#c4b5fd}
.primary,.secondary,.ghost{border-radius:12px;padding:12px 17px;font-weight:700;font-size:13px;transition:transform .2s,box-shadow .2s,border-color .2s,background .2s}
.primary{background:linear-gradient(115deg,#7c3aed,#4f46e5 65%,#2563eb);color:#fff;border:1px solid #a78bfa55;box-shadow:0 8px 25px #6d28d944}.primary:hover{background:linear-gradient(115deg,#8b5cf6,#4f46e5);box-shadow:0 10px 32px #7c3aed66;transform:translateY(-2px)}
.secondary{background:rgba(139,92,246,.14);border:1px solid #a78bfa66;color:#d8ccff}.secondary:hover{background:rgba(139,92,246,.24);box-shadow:0 0 24px #8b5cf633}
.ghost{background:rgba(255,255,255,.035);border:1px solid var(--line);color:#d8d7ec}.ghost:hover{background:rgba(139,92,246,.12);border-color:#a78bfa77;color:white}
.hero{position:relative;isolation:isolate;padding:clamp(58px,8vw,112px) clamp(22px,8vw,124px);min-height:570px;background:linear-gradient(115deg,rgba(18,15,38,.97),rgba(11,15,35,.88)),#101020;border-bottom:1px solid var(--line);grid-template-columns:1.05fr .95fr}
.hero:before{content:"";position:absolute;z-index:-1;width:460px;height:460px;border-radius:50%;right:8%;top:5%;background:radial-gradient(circle,#6d28d955 0,rgba(59,130,246,.12) 42%,transparent 70%);filter:blur(16px)}
.hero:after{content:"";position:absolute;inset:0;z-index:-1;opacity:.18;background-image:linear-gradient(rgba(167,139,250,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(167,139,250,.12) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(90deg,black,transparent 80%)}
.eyebrow{color:#a78bfa;font-size:10px;letter-spacing:.22em}.hero h1{color:#fff;font-size:clamp(43px,5.3vw,72px);letter-spacing:-.06em}.hero h1 em{background:linear-gradient(90deg,#c4b5fd,#60a5fa);background-clip:text;-webkit-background-clip:text;color:transparent}.hero-copy>p,.section-head p,.split-section p{color:#a4a3bd}.hero-points{color:#a6a5bf}
.art-orbit{border-color:#a78bfa33;box-shadow:inset 0 0 40px #8b5cf611,0 0 40px #8b5cf611}.orbit-two{border-color:#60a5fa44}.art-card{background:linear-gradient(145deg,#211b3b,#101a35);border:1px solid #c4b5fd66;box-shadow:0 28px 85px #0008,0 0 55px #7c3aed33;transform:rotate(-5deg);backdrop-filter:blur(14px)}.art-tag{color:#c4b5fd}.art-box{background:linear-gradient(135deg,#a78bfa,#3b82f6);color:white;box-shadow:0 0 35px #8b5cf677}.art-card small{color:#aaa8c8}.float-chip{background:rgba(22,20,43,.86);border:1px solid #a78bfa55;color:#e8e2ff;box-shadow:0 12px 40px #0006;backdrop-filter:blur(14px)}
.section{padding:clamp(48px,6vw,82px) clamp(20px,8vw,124px)}.section h2,.section-head h2{color:#f5f3ff}.section-head{margin-bottom:30px}.filters input,.filters select,.stack input,.stack select,.stack textarea,.modal-card input,.modal-card textarea{background:#11111f;border:1px solid #34304d;color:#f3f0ff;border-radius:12px}.filters input::placeholder,.stack input::placeholder,.stack textarea::placeholder,.modal-card input::placeholder,.modal-card textarea::placeholder{color:#77758f}.filters input:focus,.filters select:focus,.stack input:focus,.stack select:focus,.stack textarea:focus,.modal-card input:focus,.modal-card textarea:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px #8b5cf622;outline:none}.filters select option,.stack select option{background:#11111f;color:#fff}
.product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.product-card{background:linear-gradient(160deg,rgba(25,23,44,.96),rgba(15,17,32,.98));border:1px solid rgba(167,139,250,.16);border-radius:19px;box-shadow:0 12px 32px #0003;transition:transform .22s,border-color .22s,box-shadow .22s}.product-card:hover{transform:translateY(-5px);border-color:#8b5cf688;box-shadow:0 18px 42px #0006,0 0 28px #7c3aed1b}.product-image{height:215px;background:radial-gradient(circle at 50% 40%,#31245b,#17172b 65%);color:#a78bfa}.product-image img{transition:transform .35s}.product-card:hover .product-image img{transform:scale(1.045)}.product-body h3{color:#f1efff}.product-category{color:#a78bfa}.product-description{color:#9998b3}.product-price{color:#fff}.product-foot small{color:#9998b3}.empty-state{background:#11111f;border:1px dashed #514477;color:#a5a2bd}
.split-section{background:linear-gradient(120deg,#17132b,#101a32);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.support-card{background:rgba(23,21,43,.86);border:1px solid #a78bfa44;border-radius:22px;box-shadow:0 25px 65px #0005,0 0 35px #7c3aed18;backdrop-filter:blur(18px)}.support-icon{background:linear-gradient(135deg,#8b5cf6,#2563eb);color:#fff}.support-card h3{color:#fff}.support-card p,.support-status{color:#aaa8c5}.support-status{border-color:var(--line)}.status-dot{background:#34d399;box-shadow:0 0 12px #34d39999}
.dashboard-grid{gap:20px}.panel{background:linear-gradient(145deg,rgba(22,21,40,.96),rgba(14,17,32,.98));border:1px solid rgba(167,139,250,.19);border-radius:20px;padding:24px;box-shadow:0 16px 40px #0003}.panel h3,.panel h4{color:#f1efff}.profile-details{color:#aaa8c2}.profile-row{border-color:#ffffff12}.profile-row strong{color:#f3f0ff}.role-pill{background:rgba(139,92,246,.18);border:1px solid #a78bfa55;color:#d8caff}.notice{background:rgba(244,63,94,.12);border:1px solid #fb718555;color:#fda4af}.list-box{color:#aaa8c2}.ticket-item,.user-row,.log-row,.chat-line{border-color:#ffffff14;color:#d8d6eb}.ticket-meta,.muted{color:#8886a4}.tab-row{gap:9px;flex-wrap:wrap}.tab{background:#11111f;border:1px solid #34304d;color:#b8b5d1}.tab:hover{border-color:#8b5cf6;color:white}.tab.active{background:linear-gradient(110deg,#6d28d9,#3730a3);border-color:#8b5cf6;color:white;box-shadow:0 5px 20px #6d28d944}.staff-content{background:linear-gradient(145deg,#151429,#101525);border-color:#a78bfa2e}.data-table{color:#d8d6eb}.data-table th,.data-table td{border-color:#ffffff14}.data-table th{color:#a78bfa}.small-btn{background:#17162b;border-color:#454064;color:#d6d2ef}.small-btn:hover{border-color:#a78bfa}.small-btn.danger{color:#fda4af;border-color:#fb718544;background:#321827}.small-btn:disabled{opacity:.3}
.chat-messages{background:#0b0b17;border:1px solid #ffffff12}.message-bubble{background:#1b1930;color:#e9e6ff;border:1px solid #a78bfa22}.message-bubble.mine{background:#27204b;border-color:#8b5cf655}.message-bubble small{color:#9996b7}.chat-send input{background:#11111f;border:1px solid #34304d;color:white;border-radius:11px;padding:12px}.modal{background:#141326;border:1px solid #a78bfa55;border-radius:22px;box-shadow:0 35px 110px #000b,0 0 55px #7c3aed22}.modal::backdrop{background:#03030bc9;backdrop-filter:blur(9px)}.modal-card{background:linear-gradient(145deg,#19172e,#101525);color:#f4f1ff}.modal-card h2{color:#fff}.modal-card p{color:#aaa8c2}.modal-card label{color:#d8d5ed}.modal-close{color:#aaa6c5}.modal-close:hover{color:white}.text-button{color:#b7a8ed}.text-button:hover{color:#fff}.form-error{color:#fda4af!important;background:#3b1728;border:1px solid #fb718544}.toast{background:#201d38;border:1px solid #a78bfa55;color:#f5f3ff;box-shadow:0 12px 35px #0008}.toast.error{background:#431a2a}.toast.success{background:#12372e;border-color:#34d39966}.loader{background:radial-gradient(ellipse at center,#211744,#090912 65%);color:#fff}.loader-mark{background:linear-gradient(135deg,#8b5cf6,#2563eb);color:#fff;box-shadow:0 0 45px #8b5cf677}.loader small{color:#aaa8c5}.load-track{background:#29253e}.load-track i{background:linear-gradient(90deg,#8b5cf6,#38bdf8)}footer{background:#07070e;border-top:1px solid var(--line);color:#f3f0ff}footer>span,footer small{color:#8886a4}footer .brand-icon{background:linear-gradient(135deg,#8b5cf6,#2563eb);color:white}
.notification-badge{background:#fb7185;color:#fff;box-shadow:0 0 12px #fb718566}
@media(max-width:950px){.hero{padding-left:6vw;padding-right:6vw}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section{padding-left:6vw;padding-right:6vw}}
@media(max-width:640px){.topbar{height:auto;min-height:68px;padding:12px 16px;flex-wrap:wrap;gap:10px}.topbar nav{order:3;width:100%;flex-basis:100%;justify-content:space-between;padding:8px 2px 2px}.header-actions{margin-left:auto}.header-actions button{padding:10px 11px;font-size:11px}.hero{grid-template-columns:1fr;padding:55px 22px 35px;min-height:unset}.hero-art{height:300px;margin-top:16px}.hero h1{font-size:clamp(42px,12vw,60px)}.hero-points{flex-wrap:wrap;gap:10px}.section{padding:48px 18px}.section-head{align-items:stretch;flex-direction:column}.filters{width:100%;flex-direction:column}.filters input{width:100%}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.product-image{height:155px}.product-body{padding:12px}.product-body h3{font-size:13px}.product-price{font-size:17px}.product-foot{align-items:stretch;flex-direction:column}.product-foot button{width:100%}.split-section{gap:25px}.support-card{justify-self:stretch;max-width:none}.dashboard-grid{grid-template-columns:1fr}.panel{padding:17px}.tab-row{overflow:visible}.tab{padding:9px 11px;font-size:11px}footer{padding:24px 18px;flex-wrap:wrap}footer>span{flex-basis:100%;order:3}.modal-card{padding:25px 20px}}

/* Profile studio */
.profile-hero{padding:0;overflow:hidden;margin-bottom:22px}.profile-banner{height:220px;position:relative;background:radial-gradient(ellipse at 18% 15%,#7c3aed99,transparent 38%),radial-gradient(ellipse at 80% 60%,#2563eb88,transparent 42%),linear-gradient(120deg,#17132b,#11182e);background-size:cover;background-position:center;border-bottom:1px solid #a78bfa2c}.profile-banner:after{content:"";position:absolute;inset:0;opacity:.18;background-image:linear-gradient(45deg,transparent 48%,#c4b5fd 49%,transparent 50%);background-size:32px 32px;pointer-events:none}.media-edit{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:rgba(10,10,22,.78);border:1px solid #c4b5fd77;color:#eee9ff;border-radius:11px;padding:9px 13px;font-size:12px;font-weight:700;cursor:pointer;backdrop-filter:blur(12px);position:relative;z-index:2}.media-edit input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;pointer-events:none}.banner-edit{position:absolute;right:20px;top:18px}.profile-identity{display:flex;align-items:center;gap:20px;padding:0 28px 26px;min-height:120px;flex-wrap:wrap}.avatar-wrap{width:112px;height:112px;margin-top:-48px;position:relative;flex:0 0 auto;border-radius:28px;background:linear-gradient(135deg,#8b5cf6,#2563eb);padding:4px;box-shadow:0 12px 34px #0008,0 0 24px #8b5cf644}.avatar-wrap img,.avatar-fallback{width:100%;height:100%;border-radius:24px;object-fit:cover;background:#17142b}.avatar-wrap img{display:none}.avatar-wrap img.visible{display:block}.avatar-fallback{display:grid;place-items:center;color:white;font:800 27px Manrope,sans-serif}.avatar-edit{position:absolute;right:-9px;bottom:-8px;width:34px;height:34px;padding:0;border-radius:50%;font-size:20px}.identity-copy{min-width:180px;flex:1;padding-top:12px}.identity-copy h2{margin:5px 0;font-size:clamp(23px,3vw,32px);letter-spacing:-.04em}.identity-copy p{margin:0;color:#a6a2c1;font-size:13px}.profile-status{font-size:12px;color:#6ee7b7;background:#12352e;border:1px solid #34d39955;border-radius:999px;padding:8px 12px}.profile-status.banned{color:#fda4af;background:#3b1728;border-color:#fb718566}.profile-dashboard{align-items:start}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.panel-heading h3{margin:5px 0 0}.panel-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#8b5cf622;color:#c4b5fd;border:1px solid #a78bfa44}.profile-edit-form{margin-bottom:22px}.profile-edit-form textarea{resize:vertical;min-height:90px}.profile-edit-form .muted{font-size:11px;line-height:1.5}.profile-dashboard .profile-details{border-top:1px solid #ffffff14;padding-top:10px}.profile-dashboard .profile-row{padding:12px 0}.profile-dashboard #change-password{margin-top:18px}
@media(max-width:640px){.profile-banner{height:155px}.profile-identity{padding:0 16px 20px;gap:13px}.avatar-wrap{width:86px;height:86px;margin-top:-34px;border-radius:23px}.avatar-wrap img,.avatar-fallback{border-radius:19px}.identity-copy{padding-top:10px;min-width:140px}.identity-copy h2{font-size:22px}.profile-status{margin-left:99px;margin-top:-8px}.banner-edit{right:12px;top:12px;padding:8px 10px;font-size:11px}}

/* Seller analytics workspace */
.seller-dashboard{margin:14px 0 24px;padding:18px;border:1px solid #8b5cf644;border-radius:18px;background:linear-gradient(145deg,#17142b,#0e1728);}
.seller-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:18px}
.seller-stat{padding:14px;border:1px solid #a78bfa2b;border-radius:13px;background:#0d1020;min-width:0}
.seller-stat small{display:block;color:#9c98b8;font-size:11px;margin-bottom:8px}
.seller-stat strong{display:block;color:#f4f1ff;font-size:clamp(15px,2vw,21px);overflow-wrap:anywhere}
.seller-stat:nth-child(3) strong{color:#6ee7b7}
.seller-forms{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0}
.seller-forms form{padding:14px;border:1px solid #ffffff14;border-radius:14px;background:#101225}
.seller-forms h4{margin:0 0 8px}
.seller-dashboard>.muted{font-size:11px;line-height:1.5}
@media(max-width:640px){.seller-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.seller-forms{grid-template-columns:1fr}.seller-dashboard{padding:12px}}

/* Seller workspace: separate, focused pages */
.seller-workspace{margin-top:22px;padding:18px;border:1px solid #8b5cf644;border-radius:20px;background:linear-gradient(145deg,#121225,#0c1423)}
.seller-workspace-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.seller-workspace-head h3{margin:5px 0}.seller-workspace-head p{margin:0}
.seller-nav{display:flex;gap:8px;overflow-x:auto;padding:4px 2px 14px;margin-bottom:14px;border-bottom:1px solid #ffffff18}
.seller-nav-btn{flex:0 0 auto;border:1px solid #ffffff18;border-radius:12px;background:#111426;color:#bcb9d4;padding:11px 14px;font:inherit;font-size:13px;cursor:pointer;transition:.2s}
.seller-nav-btn:hover,.seller-nav-btn.active{background:linear-gradient(120deg,#6d35c9,#2456a7);border-color:#a78bfa;color:#fff;box-shadow:0 8px 24px #6236b533}
.seller-page{display:none;padding:8px 2px 2px}.seller-page.active{display:block}.seller-page-title{margin:4px 0 18px}.seller-page-title h4{font-size:19px;margin:0 0 6px}.seller-page-title p{margin:0}
.seller-product-form,.seller-entry-form{max-width:680px;padding:18px;border:1px solid #ffffff18;border-radius:16px;background:#0d1020}.seller-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.upload-drop{display:flex;align-items:center;gap:5px;flex-direction:column;padding:24px 16px;border:1px dashed #8b78d9;border-radius:16px;background:#17152a;text-align:center;cursor:pointer}.upload-drop:hover{background:#211b3b;border-color:#b7a4ff}.upload-drop small{color:#9c98b8}.upload-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#7145c933;color:#c4b5fd;font-size:25px}.upload-drop input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.product-upload-preview{display:flex;align-items:center;gap:12px;padding:10px;border:1px solid #ffffff18;border-radius:12px;color:#c9c5df;font-size:12px}.product-upload-preview img{width:72px;height:72px;object-fit:cover;border-radius:9px}.seller-product-row{display:flex;align-items:center;gap:12px;padding:13px;border-bottom:1px solid #ffffff12}.seller-product-thumb{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:#7548d52b;color:#c4b5fd}.seller-product-info{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.seller-product-info small{color:#a8a4bf}.seller-product-status{font-size:11px;color:#6ee7b7;white-space:nowrap}
@media(max-width:600px){.seller-workspace{padding:12px}.seller-form-row{grid-template-columns:1fr}.seller-nav{margin-right:-4px}.seller-nav-btn{padding:10px 12px;font-size:12px}.seller-product-form,.seller-entry-form{padding:13px}}

/* Tajik Magaz branded 10-second running mascot loader */
.loader{background:radial-gradient(ellipse at 50% 42%,#211744 0%,#0b0b18 58%,#07070d 100%);gap:12px;overflow:hidden}
.runner-stage{width:min(520px,94vw);height:150px;position:relative;overflow:hidden;margin-bottom:0}
.runner-scene{display:block;width:100%;height:100%;overflow:visible}
.runner{transform:translate(142px,157px)}



.loader-mark{width:52px;height:52px;border-radius:16px;font-size:19px;animation:pulse 1.1s infinite alternate}
.loader strong{font:800 19px Manrope,sans-serif;letter-spacing:.14em}
.loader small{color:#b9b3d5}
.load-track{width:min(260px,70vw);height:5px;background:#29253e}
.load-track i{background:linear-gradient(90deg,#8b5cf6,#38bdf8);animation:load 10s linear forwards}




@media(prefers-reduced-motion:reduce){.runner-ground{animation:none}.load-track i{animation:none;width:100%}}


/* November 9 update: seller navigation and Developer finance overview */
.seller-profile-open{white-space:nowrap}
.finance-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:18px}
.finance-summary>div{min-width:0;padding:14px;border:1px solid #a78bfa2b;border-radius:13px;background:#0d1020}
.finance-summary small{display:block;color:#9c98b8;font-size:11px;margin-bottom:8px}
.finance-summary strong{color:#f3f0ff;font:800 16px Manrope,sans-serif;overflow-wrap:anywhere}
.finance-table-wrap{width:100%;overflow-x:auto}
.profit-positive{color:#6ee7b7}.profit-negative{color:#fda4af}.finance-note{margin-top:14px;line-height:1.6}
@media(max-width:900px){.finance-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.header-actions{max-width:75%;flex-wrap:wrap;justify-content:flex-end}.header-actions button{font-size:10px;padding:9px 10px}.finance-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-summary>div{padding:11px}.finance-summary strong{font-size:14px}.data-table{min-width:720px}.tab-row{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px}.tab-row .tab{flex:0 0 auto}}

/* Runner loader: articulated joints and natural body bounce */
.runner-ground{fill:none;stroke:#6d5a9c;stroke-opacity:.48;stroke-width:2;stroke-linecap:round;stroke-dasharray:5 10;animation:tm-ground-drift .55s linear infinite}
@keyframes tm-ground-drift{to{stroke-dashoffset:-30}}
@media(prefers-reduced-motion:reduce){.runner-ground{animation:none}}
