:root {--bg:#f8f9fc;--paper:#fff;--ink:#24263b;--muted:#85889a;--line:#e9eaf0;--primary:#7462d3;--pale:#f0edfc;--danger:#d65368;--green:#2a9d7b;--shadow:0 14px 55px rgba(42,39,81,.065);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; color:var(--ink); background:var(--bg);-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #c7bcff;outline-offset:2px}
.app-shell{min-height:100vh;display:grid;grid-template-columns:246px minmax(0,1fr)}.sidebar{background:var(--paper);border-right:1px solid var(--line);position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:27px 16px 19px}.brand{display:flex;align-items:center;gap:12px;padding:4px 10px 29px;font-size:16px;font-weight:760;letter-spacing:-.6px}.brand-icon{background:#7462d3;color:#fff;display:grid;place-items:center;width:39px;height:39px;border-radius:12px}.side-label{color:#adb0bd;font-weight:750;text-transform:uppercase;letter-spacing:1.1px;font-size:10px;padding:16px 14px 10px}.nav-link{border:0;width:100%;display:flex;align-items:center;gap:13px;padding:12px 14px;border-radius:12px;text-align:left;color:#696c80;background:transparent;font-size:13px;font-weight:650;margin:2px 0}.nav-link:hover{background:#f8f7fc}.nav-link.active{color:var(--primary);background:var(--pale)}.nav-link svg{width:19px;height:19px;stroke-width:1.8}.side-bottom{margin-top:auto}.mini-project{margin:12px 8px;padding:13px;background:#f7f6fc;border:1px solid #eae8f6;border-radius:13px;display:flex;gap:10px;align-items:center;font-size:12px}.tinydot{width:9px;height:9px;border-radius:50%;background:#b5a5f2}.side-footer{font-size:11px;color:#b2b4c3;padding:11px 16px}.main{min-width:0}.topbar{height:83px;padding:0 45px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.75);display:flex;justify-content:space-between;align-items:center;gap:12px}.breadcrumbs{display:flex;align-items:center;gap:12px;font-size:13px;color:#aaaebe}.breadcrumbs strong{color:#38374e;font-weight:700}.top-actions{display:flex;align-items:center;gap:12px}.workspace{max-width:1460px;padding:35px 45px 70px;margin:auto}.heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:30px}.heading h1{font-size:29px;line-height:1.24;letter-spacing:-1.2px;margin:0 0 8px;font-weight:780}.heading p{color:var(--muted);font-size:13px;line-height:1.6;margin:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;white-space:nowrap;font-size:12px;font-weight:740;border-radius:10px;padding:11px 15px;min-height:39px;transition:.16s}.btn svg{width:16px;height:16px}.btn.primary{background:var(--primary);color:white;box-shadow:0 5px 12px #7462d328}.btn.primary:hover{background:#6350c8}.btn.secondary{background:#fff;border-color:#e4e5ec;color:#52566c}.btn.secondary:hover{background:#f9f9fd}.btn.ghost{background:transparent;color:#7e8092}.btn.ghost:hover{background:#f1f0f8}.btn.danger{background:#fff3f5;color:var(--danger)}.btn:disabled{opacity:.45;cursor:default}.btn.sm{min-height:32px;padding:7px 10px}.btn.icon-only{width:37px;padding:0}.btn.tall{min-height:45px;padding:12px 18px}
.hero{background:linear-gradient(115deg,#3a315b,#6451a1 70%,#8168c4);border-radius:20px;color:white;padding:32px 37px;display:flex;justify-content:space-between;align-items:center;min-height:172px;margin-bottom:32px;overflow:hidden;position:relative}.hero:after{content:'';position:absolute;width:290px;height:290px;border:1px solid #ffffff2b;border-radius:50%;right:-30px;top:-120px;box-shadow:0 0 0 45px #ffffff09,0 0 0 95px #ffffff07}.hero h2{font-size:25px;letter-spacing:-.8px;margin:0 0 8px;position:relative;z-index:1}.hero p{color:#eee8ff;font-size:13px;line-height:1.6;max-width:450px;position:relative;z-index:1}.hero .btn{background:white;color:#54458b;position:relative;z-index:2}.section-head{display:flex;align-items:center;justify-content:space-between;margin:28px 0 16px;gap:12px}.section-head h2{font-size:16px;letter-spacing:-.5px;margin:0}.section-head .hint{font-size:12px;color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}.project-card,.entry-card,.scene-card{background:white;border:1px solid var(--line);border-radius:17px;padding:17px;text-align:left;min-width:0;display:block;transition:.15s;position:relative}.project-card:hover,.entry-card:hover,.scene-card:hover{border-color:#cfc5fa;transform:translateY(-2px);box-shadow:var(--shadow)}.project-cover{height:116px;border-radius:12px;background:linear-gradient(125deg,#eee9fd,#d6dafa);display:flex;align-items:center;justify-content:center;color:#8b7cd2;position:relative;margin-bottom:15px}.project-cover .project-symbol{width:42px;height:42px;opacity:.65}.project-cover .ornament{position:absolute;width:65px;height:65px;border:1px solid #ffffff88;border-radius:50%;right:20px;top:10px}.card-title{font-size:14px;font-weight:760;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-sub{color:var(--muted);font-size:12px;margin-top:6px}.entry-cover{height:152px;background:#f3f2f9;border-radius:12px;display:flex;align-items:center;justify-content:center;overflow:hidden;margin-bottom:13px;color:#af9de6;position:relative}.entry-cover img{width:100%;height:100%;object-fit:cover}.entry-cover>svg{width:45px;height:45px;stroke-width:1.3}.kind-pill{position:absolute;top:10px;left:10px;padding:6px 9px;border-radius:7px;background:#ffffffed;color:#68588f;font-size:10px;font-weight:740}.entry-card .card-sub{font-size:11px}.card-footer{display:flex;justify-content:space-between;align-items:center;margin-top:13px;color:#a2a4b4;font-size:11px}.empty{border:1px dashed #dcdde9;background:#fff;border-radius:18px;text-align:center;padding:60px 22px;display:flex;align-items:center;flex-direction:column;gap:10px}.empty-icon{height:58px;width:58px;border-radius:18px;background:#f1eefc;color:#8c78dd;display:grid;place-items:center;margin-bottom:3px}.empty-icon svg{width:26px;height:26px}.empty h3{margin:0;font-size:16px;letter-spacing:-.35px}.empty p{max-width:340px;color:var(--muted);font-size:12px;line-height:1.65;margin:0 0 8px}.filter-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:22px}.searchbox{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:11px;background:white;height:42px;padding:0 13px;flex:1;min-width:190px}.searchbox svg{width:17px;height:17px;color:#a0a1b2}.searchbox input{border:0;outline:0;width:100%;font-size:12px;min-width:0;color:var(--ink)}.tabs{display:flex;gap:4px;padding:4px;border:1px solid var(--line);background:white;border-radius:11px;flex-wrap:wrap}.tabs button{border:0;background:none;color:#89899c;padding:8px 10px;border-radius:8px;font-size:12px;font-weight:700}.tabs button.active{background:#f0edfb;color:var(--primary)}
.back{background:none;border:0;display:inline-flex;align-items:center;gap:6px;color:#7d7e90;font-weight:680;font-size:12px;margin-bottom:20px;padding:0}.back svg{width:15px;height:15px}.detail-head{display:flex;align-items:center;gap:20px;margin-bottom:28px}.detail-avatar{width:84px;height:84px;flex:none;border-radius:17px;background:#ede9fa;color:#9181cb;display:grid;place-items:center;overflow:hidden}.detail-avatar img{width:100%;height:100%;object-fit:cover}.detail-avatar svg{width:36px;height:36px}.detail-head .heading{margin:0;flex:1}.details-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);align-items:start;gap:22px}.panel{background:white;border:1px solid var(--line);border-radius:16px;padding:22px}.panel h3{margin:0 0 17px;font-size:15px;letter-spacing:-.3px}.panel p{color:var(--muted);font-size:12px;line-height:1.6}.block-title{font-weight:760;font-size:12px;margin:23px 0 12px;display:flex;align-items:center;justify-content:space-between}.block-title:first-child{margin-top:0}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:10px}.photo-card{border:1px solid var(--line);border-radius:11px;overflow:hidden;background:white;position:relative}.photo-card img{width:100%;height:122px;object-fit:cover;display:block;cursor:pointer}.photo-card .photo-info{padding:10px}.photo-card .photo-info strong{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-card .photo-info small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.photo-card button{position:absolute;top:6px;right:6px;border:0;background:#fffffff2;width:29px;height:29px;border-radius:8px;display:grid;place-items:center;color:#65647c}.dropzone{border:1.5px dashed #d6cfeb;background:#fcfbff;border-radius:12px;padding:23px 15px;text-align:center;color:#8c7dc4;cursor:pointer;transition:.14s}.dropzone:hover,.dropzone.drag{background:#eee9ff;border-color:#9581df}.dropzone strong{display:block;color:#574c8a;font-size:12px;margin:8px 0 3px}.dropzone small{color:#a1a0b5;font-size:11px}.form-row{display:flex;flex-direction:column;gap:7px;margin:14px 0}.form-row label{font-size:11px;font-weight:770;color:#66677f}.input,.textarea,.select{width:100%;border:1px solid #e5e6ed;border-radius:10px;background:white;padding:11px 12px;min-height:40px;outline:0;color:var(--ink);font-size:13px}.textarea{min-height:90px;resize:vertical;line-height:1.55}.input:focus,.textarea:focus,.select:focus{border-color:#a99aec;box-shadow:0 0 0 3px #f0ecff}.help{font-size:11px;color:#9a9cab;margin:3px 0}.alias-preview{background:#f6f3ff;color:#7562c6;border-radius:8px;padding:6px 10px;display:inline-flex;align-items:center;font-size:12px;font-weight:750}.tag-pill{display:inline-flex;border-radius:7px;background:#f2f3f7;padding:6px 9px;font-size:11px;color:#777a8a;margin:4px 4px 0 0}.rule-box{border:1px solid #eae9f2;border-radius:10px;padding:13px;margin-top:10px}.rule-box label{font-size:11px;font-weight:740;color:#777787}.rule-box p{margin:6px 0}.divider{border:0;border-top:1px solid var(--line);margin:22px 0}.side-hint{font-size:11px;line-height:1.6;color:#a4a4b4}.scene-list{display:grid;gap:10px}.scene-list label{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid var(--line);border-radius:10px;font-size:12px;cursor:pointer}.scene-list input{accent-color:var(--primary)}
.modal-wrap{position:fixed;inset:0;background:rgba(25,22,47,.38);z-index:100;display:grid;place-items:center;padding:20px;backdrop-filter:blur(3px)}.modal{background:white;max-width:520px;width:100%;border-radius:20px;box-shadow:0 30px 120px #17122e3d;max-height:calc(100vh - 45px);overflow:auto}.modal.wide{max-width:700px}.modal-head{padding:24px 26px 14px;display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.modal-head h2{font-size:19px;margin:0;letter-spacing:-.5px}.modal-head p{font-size:12px;color:var(--muted);margin:7px 0 0;line-height:1.5}.modal-body{padding:0 26px 18px}.modal-footer{display:flex;justify-content:flex-end;gap:9px;padding:16px 26px 24px;border-top:1px solid var(--line)}.close-btn{border:0;background:#f5f5f9;color:#7e8090;border-radius:9px;width:30px;height:30px;display:grid;place-items:center}.close-btn svg{width:16px;height:16px}.stack{display:grid;gap:16px}.stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:25px}.stat{background:white;border:1px solid var(--line);border-radius:15px;padding:18px 20px}.stat strong{font-size:24px;letter-spacing:-.8px;display:block}.stat span{font-size:11px;color:var(--muted)}.plugin-hero{display:flex;gap:20px;align-items:center;background:white;border:1px solid var(--line);padding:25px;border-radius:17px;margin-bottom:22px}.plugin-logo{width:72px;height:72px;flex:none;border-radius:20px;background:linear-gradient(140deg,#6e5ac9,#9b8bef);display:grid;place-items:center;color:white}.plugin-logo svg{width:36px;height:36px}.plugin-hero h2{font-size:19px;margin:0 0 5px}.plugin-hero p{color:var(--muted);font-size:12px;line-height:1.6;margin:0}.step-list{display:flex;flex-direction:column;gap:13px}.step{display:flex;gap:15px;align-items:flex-start}.step-num{width:28px;height:28px;flex:none;background:#f0edfc;color:#7766c4;border-radius:9px;display:grid;place-items:center;font-size:12px;font-weight:800}.step strong{font-size:13px}.step p{font-size:12px;margin:4px 0;color:var(--muted);line-height:1.55}.key-field{display:flex;gap:8px;background:#f8f7fd;border:1px solid #e9e4fa;padding:8px;border-radius:10px;align-items:center;min-width:0}.key-field code{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.notice{border-radius:11px;padding:13px 15px;background:#f7f5ff;border:1px solid #ece8ff;color:#66579d;font-size:12px;line-height:1.6}.notice.warn{background:#fffaf0;border-color:#faedca;color:#916e2b}.list-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.list-item:last-child{border:0}.list-item strong{font-size:12px}.list-item span{display:block;color:var(--muted);font-size:11px;margin-top:4px}.progress{background:#f3f1fb;border-radius:100px;height:7px;overflow:hidden}.progress>div{height:100%;background:var(--primary);transition:width .2s}.result-area{background:#1f2134;color:#e8e8f1;border-radius:14px;padding:20px;font-size:12px;line-height:1.7;white-space:pre-wrap;word-break:break-word;max-height:330px;overflow:auto}.result-area strong{color:white}.auth-layout{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 15% 10%,#ede8ff,transparent 40%),var(--bg)}.auth-card{width:100%;max-width:415px;background:white;border:1px solid var(--line);border-radius:21px;padding:33px;box-shadow:var(--shadow)}.auth-logo{width:51px;height:51px;background:#7462d3;color:white;border-radius:15px;display:grid;place-items:center;margin-bottom:25px}.auth-card h1{font-size:24px;letter-spacing:-.75px;margin:0 0 7px}.auth-card p{font-size:12px;line-height:1.6;color:var(--muted);margin:0 0 24px}.auth-card .btn{width:100%;margin-top:16px}#toast{position:fixed;bottom:25px;right:25px;z-index:200;pointer-events:none}.toast-item{background:#33324a;color:white;box-shadow:0 10px 32px #10102835;border-radius:11px;padding:14px 17px;max-width:400px;font-size:12px;line-height:1.5;margin-top:8px}.toast-item.error{background:#aa4559}.boot{height:100vh;display:flex;align-items:center;justify-content:center;gap:14px;color:#77748e;font-size:13px}.spinner{width:19px;height:19px;border:2px solid #ddd8f3;border-top-color:#7966d2;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.mobilebar{display:none}
@media(max-width:1050px){.app-shell{grid-template-columns:70px 1fr}.sidebar{padding:21px 10px}.brand span:last-child,.nav-link span,.side-label,.mini-project,.side-footer{display:none}.brand{padding:5px 5px 29px}.nav-link{justify-content:center;padding:13px}.main .topbar{padding:0 25px}.workspace{padding:30px 25px}.details-grid{grid-template-columns:1fr}.hero{padding:25px}}
@media(max-width:650px){.app-shell{display:block;padding-bottom:68px}.sidebar{display:none}.mobilebar{display:flex;position:fixed;z-index:60;bottom:0;left:0;right:0;height:66px;background:white;border-top:1px solid var(--line);align-items:center;justify-content:space-around;padding:5px}.mobilebar button{border:0;background:none;color:#9899aa;display:flex;align-items:center;flex-direction:column;gap:3px;min-width:53px;font-size:9px;font-weight:700}.mobilebar button.active{color:var(--primary)}.mobilebar svg{width:20px;height:20px}.topbar{height:66px!important;padding:0 18px!important}.topbar .top-actions .btn{font-size:0;min-width:38px}.topbar .top-actions .btn svg{width:17px}.workspace{padding:25px 17px 40px}.heading h1{font-size:24px}.heading{align-items:center;margin-bottom:21px}.heading .btn{padding:9px;min-height:38px}.heading .btn span{display:none}.hero{padding:25px 23px;display:block;margin-bottom:20px}.hero h2{font-size:22px}.hero .btn{margin-top:8px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.project-card,.entry-card{padding:10px;border-radius:13px}.project-cover{height:110px}.entry-cover{height:123px}.card-title{font-size:12px}.card-sub{font-size:10px}.stat-row{gap:8px}.stat{padding:13px}.stat strong{font-size:19px}.filter-row{display:grid}.tabs{overflow-x:auto;flex-wrap:nowrap}.tabs button{white-space:nowrap}.detail-head{gap:11px}.detail-avatar{width:62px;height:62px}.detail-head .heading h1{font-size:20px}.detail-head .heading{flex-wrap:wrap}.panel{padding:16px}.plugin-hero{padding:16px;gap:12px}.plugin-logo{width:55px;height:55px;border-radius:15px}.plugin-hero h2{font-size:15px}.modal-wrap{align-items:end;padding:0}.modal{max-width:none;border-radius:20px 20px 0 0;max-height:92dvh}.modal-head{padding:20px}.modal-body{padding:0 20px 17px}.modal-footer{padding:14px 20px 20px}}

.project-symbol svg{width:45px;height:45px}
