@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');
:root{--bg:#0b0e14;--panel:#121722;--panel2:#171e2b;--line:#252e3d;--text:#edf0f7;--muted:#8994a7;--purple:#8b70f5;--purple2:#6d55dc;--green:#48c99a}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px 'DM Sans',sans-serif}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh}.sidebar{width:245px;position:fixed;inset:0 auto 0 0;background:#0e131c;border-right:1px solid var(--line);padding:28px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;font:800 17px Manrope,sans-serif;letter-spacing:1px;margin:0 0 55px 5px}.brand-icon{width:35px;height:35px;display:grid;place-items:center;background:linear-gradient(135deg,#9b82ff,#6549d7);border-radius:10px;color:white;font-size:23px}.side-label{font-size:10px;letter-spacing:1.5px;color:#69758a;font-weight:700;margin:0 0 12px 9px}.nav{display:flex;gap:13px;align-items:center;padding:12px 13px;border-radius:9px;color:#a6b0c0;margin-bottom:7px}.nav.active,.nav:hover{background:#211d39;color:#c3b7ff}.sidebar .side-label:nth-of-type(2){margin-top:35px}.sidebar-bottom{margin-top:auto;color:#8c98aa;font-size:12px;padding:12px 5px}.online-dot{display:inline-block;width:7px;height:7px;background:#42ce9b;border-radius:50%;margin-right:8px}.main{margin-left:245px;padding:34px clamp(20px,4vw,58px);max-width:1600px}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}.topbar h1{font:700 29px Manrope;margin:7px 0 0}.muted{color:var(--muted)}.small{font-size:11px}.avatar{width:39px;height:39px;border-radius:50%;display:grid;place-items:center;background:#282342;color:#c7baff;font-weight:700;border:1px solid #4b407b}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:22px}.stat-card{background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:20px;display:flex;align-items:center;gap:15px}.stat-icon{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;font-size:21px}.purple{background:#282144;color:#ad9cff}.blue{background:#192b43;color:#79b9ff}.green{background:#18362f;color:#6cdbb1}.stat-card span{display:block;color:var(--muted);font-size:12px;margin-bottom:5px}.stat-card strong{font:700 22px Manrope}.stat-card .status-text{font-size:18px;color:#62d6a9}.panel{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:23px;margin-bottom:22px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.section-heading h2{font:700 17px Manrope;margin:0 0 5px}.section-heading p{margin:0;color:var(--muted);font-size:12px}.pill{font-size:9px;letter-spacing:1px;color:#b7aaff;background:#282243;border:1px solid #44386f;padding:7px 10px;border-radius:30px}.dropzone{min-height:190px;border:1px dashed #4b456b;border-radius:12px;background:linear-gradient(145deg,#19182a,#151b27);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;cursor:pointer;transition:.2s}.dropzone:hover,.dropzone.drag{border-color:#9b84ff;background:#201d36}.dropzone input{display:none}.upload-symbol{width:42px;height:42px;display:grid;place-items:center;background:#302753;color:#b9aaff;border-radius:12px;font-size:27px}.dropzone strong{font-size:14px}.dropzone .muted{font-size:12px}.formats{font-size:10px;color:#777f91;letter-spacing:1px;margin-top:5px}.upload-actions{display:flex;justify-content:space-between;align-items:center;margin-top:16px}.btn{border:0;border-radius:8px;padding:11px 17px;font:600 12px 'DM Sans';cursor:pointer}.primary{background:linear-gradient(135deg,#967cf9,#7156df);color:#fff;box-shadow:0 5px 18px #7256df33}.primary:hover{filter:brightness(1.1)}.selected-files{font-size:12px;color:#b9b0f6;margin-top:10px}.search{background:#0e131c;border:1px solid var(--line);border-radius:8px;padding:10px 12px;color:var(--text);outline:none;width:220px;font:12px 'DM Sans'}.search:focus,input:focus{border-color:#8670e8}.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.image-card{min-width:0;background:#0e131c;border:1px solid var(--line);border-radius:11px;overflow:hidden}.thumb{display:block;height:160px;background:#1b2230;overflow:hidden}.thumb img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.thumb:hover img{transform:scale(1.04)}.image-info{padding:12px 12px 8px}.image-info strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.image-info span{display:block;color:var(--muted);font-size:10px;margin-top:5px}.url-row{display:flex;padding:0 12px 10px;gap:5px}.url-row input{min-width:0;width:100%;background:#171e2b;border:1px solid #293346;border-radius:6px;padding:7px;color:#9ca8bb;font-size:9px}.copy-btn{border:1px solid #574a91;background:#292342;color:#c7baff;border-radius:6px;font-size:10px;padding:0 9px;cursor:pointer}.card-actions{display:flex;gap:12px;padding:9px 12px;border-top:1px solid var(--line);align-items:center}.text-btn{border:0;background:none;color:#9eacbf;font:500 10px 'DM Sans';padding:0;cursor:pointer}.text-btn:hover{color:#c5b7ff}.text-btn.danger{color:#e78b91}.card-actions form{margin-left:auto}.empty{text-align:center;padding:42px 10px;color:var(--muted)}.empty-icon{font-size:34px;color:#7867c2;margin-bottom:10px}.empty strong{display:block;color:#d9ddeb}.empty p{font-size:12px}.hidden{display:none!important}footer{text-align:center;color:#586477;font-size:10px;padding:12px}footer span{color:#9a83f8}.toast{padding:11px 14px;background:#1b2432;border:1px solid #36445b;border-radius:8px;margin-bottom:16px;color:#dbe4f5;font-size:12px}.toast.success{border-color:#245a4c;color:#8de0bd}.copy-toast{position:fixed;bottom:25px;right:25px;background:#27213f;color:#e4dcff;padding:12px 17px;border:1px solid #55468b;border-radius:9px;opacity:0;transform:translateY(8px);transition:.2s;pointer-events:none}.copy-toast.show{opacity:1;transform:translateY(0)}.auth-body{min-height:100vh;display:grid;place-items:center;padding:20px;background:radial-gradient(ellipse at 50% 0,#211b3d 0,transparent 48%),var(--bg)}.auth-card{width:min(100%,410px);background:#121722;border:1px solid #2a3344;border-radius:16px;padding:34px;box-shadow:0 25px 90px #0007}.auth-card .brand{margin:0 0 36px}.auth-card h1{font:700 25px Manrope;margin:0 0 8px}.auth-card p{color:var(--muted);font-size:12px;line-height:1.6;margin:0 0 24px}.auth-card label{display:block;font-size:11px;color:#b7c0d0;margin:15px 0 8px}.auth-card input{width:100%;padding:12px;background:#0b1018;border:1px solid #303b4e;border-radius:8px;color:white;outline:none}.auth-card .btn{margin-top:22px}.full{width:100%}.auth-foot{border-top:1px solid var(--line);margin-top:23px;padding-top:17px;color:#6f7b8f;font-size:10px;text-align:center}.alert,.notice{padding:11px;background:#382128;color:#f1aab1;border:1px solid #68404a;border-radius:8px;font-size:12px;margin-bottom:15px}.notice{background:#1d302d;color:#a4e4c9;border-color:#315b4c}
@media(max-width:1050px){.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.sidebar{position:static;width:auto;height:auto;padding:14px 17px;display:block;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{margin:0}.sidebar .side-label,.sidebar .nav,.sidebar-bottom{display:none}.main{margin:0;padding:23px 15px}.topbar h1{font-size:24px}.stats{grid-template-columns:1fr 1fr;gap:9px}.stat-card{padding:13px;gap:9px}.stat-card strong{font-size:18px}.stat-icon{width:34px;height:34px}.panel{padding:16px}.gallery{grid-template-columns:1fr 1fr;gap:9px}.thumb{height:120px}.image-info{padding:9px 9px 6px}.url-row{padding:0 9px 8px}.card-actions{gap:7px;padding:8px 9px}.text-btn{font-size:9px}.search{width:145px}.section-heading{align-items:flex-start}.pill{display:none}}
@media(max-width:390px){.gallery{grid-template-columns:1fr}.thumb{height:180px}.stats{grid-template-columns:1fr}.section-heading{flex-direction:column}.search{width:100%}}
