:root{color-scheme:dark;font-family:Inter,Segoe UI,system-ui,sans-serif;line-height:1.5}body,html,#root{margin:0;height:100%;overflow-x:hidden;background:#04070f}.app{min-height:100%;background:radial-gradient(circle at top left,rgba(37,99,235,.08),transparent 55%),radial-gradient(circle at bottom right,rgba(16,185,129,.08),transparent 55%),#050916;color:#f8fafc}.topbar{display:flex;align-items:center;gap:1rem;padding:14px 18px;background:#080d19d9;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,255,255,.04);position:sticky;top:0;z-index:20}.brand{font-weight:700;letter-spacing:.03em;font-size:1.1rem;flex:0 0 auto}.tabs{display:flex;align-items:center;gap:10px;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;flex:1 1 auto;padding-bottom:4px}.tabs::-webkit-scrollbar{display:none}.tabs a{color:#a5b4fc;text-decoration:none;padding:6px 14px;border-radius:999px;flex:0 0 auto;background:#4f46e51f;transition:background .15s ease,transform .15s ease,color .15s ease;white-space:nowrap;font-weight:500}.tabs a:hover{background:#6366f13d}.tabs a.active{background:linear-gradient(135deg,#6366f1,#22d3ee);color:#fff;box-shadow:0 8px 20px #6366f140}.topbar .btn{flex:0 0 auto}main{padding:20px clamp(16px,3vw,36px)}.card{background:#0b1121e0;border:1px solid rgba(120,130,155,.12);border-radius:16px;padding:clamp(16px,3vw,22px);margin-bottom:18px;box-shadow:0 12px 40px #0f172a59;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.card:hover{transform:translateY(-2px);border-color:#818cf833;box-shadow:0 16px 45px #2e366373}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.section-title h2{margin:0;font-size:clamp(1.2rem,3vw,1.4rem);font-weight:600}.section-subtitle{color:#94a3b8;font-size:.9rem;margin:0 0 16px}.btn{background:linear-gradient(135deg,#6366f1,#22d3ee);color:#fff;border:none;padding:10px 16px;border-radius:12px;cursor:pointer;font-weight:600;display:inline-flex;align-items:center;justify-content:center;transition:transform .15s ease,box-shadow .15s ease;box-shadow:0 12px 24px #6366f140}.btn:hover{transform:translateY(-1px);box-shadow:0 14px 28px #6366f159}.btn:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}.btn.secondary{background:#1e293bd9;box-shadow:none}.btn.secondary:hover{background:#374151f2}input,select,textarea{width:100%;padding:11px 12px;border-radius:12px;border:1px solid rgba(148,163,184,.12);background:#060b17d9;color:#e2e8f0;transition:border-color .15s ease,box-shadow .15s ease}input:focus,select:focus,textarea:focus{outline:none;border-color:#6366f1b3;box-shadow:0 0 0 4px #6366f11f}label{display:block;font-size:12px;letter-spacing:.05em;text-transform:uppercase;color:#8b9bb5;margin:14px 0 6px}.grid{display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}@media (max-width: 880px){.grid{grid-template-columns:1fr}}@media (max-width: 640px){.topbar{padding:12px;gap:12px}.tabs{gap:8px}.tabs a{padding:6px 12px}.topbar .btn{padding:8px 12px}}.storage-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.storage-list{border:1px solid rgba(148,163,184,.14);border-radius:14px;padding:16px;background:#0b1121cc;margin-top:12px;transition:border-color .18s ease,background .18s ease,transform .18s ease}.storage-list:hover{transform:translateY(-1px);border-color:#818cf847}.storage-list.unassigned{margin-top:20px}.storage-list.selectable{cursor:pointer;border-color:#2563eb80;border-style:dashed}.storage-list.current{border-color:#34d399a6}.storage-list-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.storage-list-actions{display:flex;gap:8px}.storage-list-subtext{font-size:12px;color:#9ca3af;margin-top:4px}.storage-items{list-style:none;padding:0;margin:14px 0 0;display:flex;flex-direction:column;gap:10px}.storage-item{display:flex;justify-content:space-between;align-items:center;background:#080d19f2;border:1px solid rgba(71,85,105,.18);border-radius:12px;padding:10px 14px;gap:12px}.storage-item.moving{border-color:#f59e0bbf}.storage-item-name{font-weight:600;color:#f8fafc}.storage-item-meta{font-size:12px;color:#a5b4fc;margin-top:4px;text-transform:capitalize}.icon-button{background:#0f172ad9;border:1px solid rgba(148,163,184,.18);color:#e2e8f0;padding:6px 10px;border-radius:10px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .15s ease,transform .15s ease}.icon-button:hover{background:#3b82f640;transform:translateY(-1px)}.storage-dropzone{border:2px dashed rgba(51,65,85,.8);border-radius:14px;padding:14px;text-align:center;color:#a5b4fc;margin:12px 0;cursor:pointer;transition:border-color .18s ease,color .18s ease,background .18s ease}.storage-dropzone:hover{border-color:#60a5fabf;color:#e2e8f0;background:#0f172a73}.storage-dropzone.disabled{opacity:.6}.storage-hint{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#1e293bd9;border-radius:12px;padding:12px 16px;margin-top:12px;color:#e2e8f0}.storage-hint .btn{padding:6px 12px}.status-banner{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:12px;font-size:.9rem;margin:12px 0;border:1px solid rgba(255,255,255,.06)}.status-banner.success{background:#22c55e2e;color:#bbf7d0;border-color:#22c55e59}.status-banner.error{background:#ef444424;color:#fecaca;border-color:#ef444459}.status-banner.info{background:#3b82f624;color:#bfdbfe;border-color:#3b82f659}.form-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.empty-state{padding:18px;background:#1e293bb3;border:1px dashed rgba(148,163,184,.25);border-radius:12px;text-align:center;color:#cbd5f5}table{width:100%;border-collapse:collapse;color:inherit}th{text-align:left;font-size:.75rem;letter-spacing:.1em;text-transform:uppercase;color:#94a3b8;padding:6px 4px;border-bottom:1px solid rgba(148,163,184,.14)}td{padding:8px 4px;border-bottom:1px solid rgba(71,85,105,.18)}tr:last-child td{border-bottom:none}.badge{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;font-size:.75rem;font-weight:600;background:#4f46e52e;color:#c7d2fe}.input-row{display:flex;gap:12px}.input-row>*{flex:1 1 0}.card-section{margin-top:18px;display:flex;flex-direction:column;gap:12px}.card-section h3{margin:0;font-size:1.05rem;font-weight:600;color:#e2e8f0}.input-group{display:flex;flex-direction:column;gap:6px}.muted{color:#94a3b8;font-size:.85rem}.link-button{background:none;border:none;color:#60a5fa;cursor:pointer;font-weight:500;padding:0}.link-button:hover{text-decoration:underline}.analytics-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-bottom:20px}.analytics-summary__tile{background:#0f172abf;border:1px solid rgba(148,163,184,.12);border-radius:14px;padding:14px 16px;box-shadow:none}.analytics-summary__tile span{display:block}.analytics-summary__tile strong{font-size:1.25rem;margin-top:6px}.analytics-layout{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;margin-bottom:18px}.chart-card{background:#080d19c7;border:1px solid rgba(148,163,184,.12);border-radius:16px;padding:18px;box-shadow:none}.chart-card__header{display:flex;flex-direction:column;gap:4px;margin-bottom:14px}.chart-bars{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:12px}.chart-bars__row{display:flex;flex-direction:column;gap:6px}.chart-bars__label{display:flex;justify-content:space-between;align-items:baseline}.chart-bars__track{position:relative;height:36px;border-radius:999px;background:#3b82f61a;overflow:hidden}.chart-bars__fill{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:flex-end;padding-right:14px;font-weight:600;font-size:.85rem;color:#e2e8f0;background:linear-gradient(135deg,#6366f1d9,#38bdf8d9);border-radius:999px;transition:width .45s ease,background .3s ease}.chart-pill-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:12px}.chart-pill{background:#0f172aa6;border:1px solid rgba(148,163,184,.12);border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:6px}.chart-pill__label{font-weight:600;text-transform:capitalize}.chart-pill__value{font-size:.85rem;color:#94a3b8}.chart-pill__meter{position:relative;height:6px;border-radius:999px;background:#3b82f62e;overflow:hidden}.chart-pill__meter span{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:999px;background:linear-gradient(135deg,#818cf8e6,#10b981e6);transition:width .45s ease}.analytics-filters .input-group label{margin:0 0 4px}.item-library-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}.library-category{background:#080d19c7;border:1px solid rgba(148,163,184,.12);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:12px}.library-category--dropping{border-color:#3b82f673;background:#2563eb1f}.library-item--dragging{opacity:.55;border-style:dashed}.library-category__header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.library-category__header h3{margin:0}.library-category__actions{display:flex;gap:6px}.library-item-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}.library-item{background:#0f172aa6;border:1px solid rgba(148,163,184,.12);border-radius:12px;padding:12px 14px;display:flex;justify-content:space-between;align-items:center;gap:12px}.library-item__details{display:flex;flex-direction:column;gap:4px}.library-item__name{font-weight:600;color:#f8fafc}.library-item__meta{font-size:.85rem;color:#a5b4fc}.library-item__actions{display:flex;align-items:center;gap:10px}.library-item__actions select{min-width:140px}.library-item__actions .link-button{font-size:.85rem}.profile-shell{display:flex;flex-direction:column;gap:32px;padding:32px 24px 88px;max-width:1140px;margin:0 auto}.profile-surface{position:relative;border-radius:28px;background:#0f172ae6;border:1px solid rgba(148,163,184,.18);padding:28px;box-shadow:0 24px 65px #0f172a73}.profile-overview{display:flex;flex-direction:column;gap:28px;color:#e2e8f0;background:radial-gradient(circle at top right,rgba(59,130,246,.25),transparent 60%),radial-gradient(circle at bottom left,rgba(14,165,233,.2),transparent 55%),#0f172af2}.profile-overview__header{display:flex;flex-wrap:wrap;gap:24px;align-items:center}.profile-avatar{width:72px;height:72px;border-radius:22px;display:grid;place-items:center;font-size:2rem;font-weight:700;color:#dbeafe;background:#0c4a6eb8;border:1px solid rgba(148,163,184,.35);box-shadow:inset 0 0 18px #0284c740,0 12px 25px #0f172a6b}.profile-eyebrow{font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;color:#bfdbfec7}.profile-title{margin:4px 0;font-size:clamp(1.8rem,1.4rem + 1vw,2.4rem);font-weight:700;color:#f8fafc}.profile-badges{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}.profile-pill{padding:6px 14px;border-radius:999px;font-size:.8rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.profile-pill--viewer{background:#818cf833;border:1px solid rgba(99,102,241,.32);color:#c7d2fe}.profile-pill--moderator{background:#10b9812e;border:1px solid rgba(16,185,129,.32);color:#bbf7d0}.profile-pill--admin{background:#f9731638;border:1px solid rgba(249,115,22,.35);color:#fed7aa}.profile-pill--muted{background:#94a3b82e;border:1px solid rgba(148,163,184,.28);color:#e2e8f0d1}.profile-overview__meta{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start;justify-content:space-between}.profile-metrics{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));flex:1 1 320px}.profile-metric{padding:16px;border-radius:18px;background:#0f172a99;border:1px solid rgba(148,163,184,.18);box-shadow:inset 0 1px #94a3b81a}.profile-metric__label{display:block;font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:#e2e8f099;margin-bottom:6px}.profile-metric__value{font-size:1.2rem;font-weight:600;color:#f1f5f9}.profile-overview__actions{display:flex;flex-wrap:wrap;gap:12px}.profile-panels{display:grid;gap:28px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.profile-panel__header{display:flex;align-items:center;gap:14px;margin-bottom:16px}.profile-panel__icon{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:#3b82f62e;color:#c7d2fe;border:1px solid rgba(59,130,246,.28)}.preference-group{display:flex;flex-direction:column;gap:12px;margin-bottom:22px}.preference-group__label{font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:#e2e8f08c}.preference-choice{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:16px;background:#0f172a8c;border:1px solid rgba(148,163,184,.16);color:#e2e8f0db;transition:transform .2s ease,box-shadow .2s ease,border .2s ease}.preference-choice.is-active{background:#1e40af73;border-color:#6366f18c;box-shadow:0 18px 40px #3b82f633;transform:translateY(-2px)}.setting-row{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;padding:16px 18px;border-radius:18px;background:#0f172a99;border:1px solid rgba(148,163,184,.14)}.setting-switch{position:relative;width:48px;height:26px;border-radius:999px;border:1px solid rgba(148,163,184,.26);background:#0f172ab3;display:inline-flex;align-items:center;padding:2px;cursor:pointer;transition:background .18s ease,border .18s ease}.setting-switch--on{border-color:#6366f1a6;background:#1e3a8a99}.setting-switch--on .setting-switch__thumb{transform:translate(22px);background:#60a5fa}.profile-site-list{list-style:none;display:grid;gap:14px;padding:0;margin:0}.profile-site-list li{padding:14px 16px;border-radius:16px;border:1px solid rgba(148,163,184,.14);background:#0f172a99}.console-shell{display:flex;flex-direction:column;gap:32px;padding:32px 24px 88px;max-width:1240px;margin:0 auto}.console-hero{position:relative;border-radius:32px;padding:32px;background:radial-gradient(circle at top right,rgba(56,189,248,.25),transparent 62%),radial-gradient(circle at bottom left,rgba(129,140,248,.22),transparent 58%),#0f172aeb;border:1px solid rgba(148,163,184,.2);box-shadow:0 40px 90px #0f172a80;overflow:hidden}.console-hero__header{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start;justify-content:space-between}.console-hero__intro{flex:1 1 320px;display:flex;flex-direction:column;gap:10px;color:#e2e8f0}.console-hero__spotlight{display:flex;gap:12px;align-items:center;background:#1e40af59;border:1px solid rgba(59,130,246,.45);padding:14px 18px;border-radius:16px;color:#dbeafe}.console-metrics{margin-top:28px;display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.console-metric{border-radius:18px;padding:18px 20px;background:#0f172aa6;border:1px solid rgba(148,163,184,.2);color:#f8fafc;box-shadow:inset 0 1px #94a3b81f}.console-nav{margin-top:32px;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.console-nav__link{display:flex;align-items:center;gap:14px;padding:16px 18px;border-radius:18px;background:#0f172a94;border:1px solid rgba(148,163,184,.16);text-decoration:none;color:#e2e8f0d9;transition:transform .2s ease,border .2s ease,background .2s ease}.console-nav__link.active{background:linear-gradient(135deg,#0ea5e959,#6366f159);border-color:#38bdf88c;color:#fff;box-shadow:0 22px 45px #0ea5e933}.console-content{display:flex;flex-direction:column;gap:28px}main>.profile-shell:first-child,main>.console-shell:first-child{margin-top:16px}@media (max-width: 840px){.profile-shell,.console-shell{padding:28px 18px 72px}.console-nav{grid-template-columns:1fr}.console-hero{padding:24px}}.moderator-hero{background:radial-gradient(circle at top left,rgba(129,140,248,.28),transparent 58%),radial-gradient(circle at bottom right,rgba(16,185,129,.22),transparent 60%),#0f172aeb}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172ab3;display:flex;align-items:center;justify-content:center;padding:24px;z-index:1000}.modal-card{background:#0f172a;border:1px solid #1f2a3a;border-radius:16px;width:min(420px,100%);max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 35px #0f172a66}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px 0}.modal-header h3{margin:0;font-size:1.1rem}.modal-close{background:transparent;border:none;color:#cbd5e1;font-size:1.5rem;line-height:1;cursor:pointer;padding:4px}.modal-close:hover{color:#f8fafc}.modal-body{padding:20px;overflow-y:auto;color:#e2e8f0;font-size:.95rem}.modal-footer{display:flex;gap:12px;justify-content:flex-end;padding:0 20px 20px}.modal-footer .btn{min-width:100px}
