:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#e9edf7;background:#090b10;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:#090b10;color:#e9edf7}button,input,textarea,select{font:inherit}.shell{display:grid;grid-template-columns:250px 1fr;min-height:100vh}aside{position:sticky;top:0;height:100vh;background:#0d1017;border-right:1px solid #222735;padding:24px 16px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;margin:0 8px 30px}.brand.big{margin:0 0 28px}.brandmark{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#8b5cf6,#22d3ee);font-weight:900}.brand strong{display:block;letter-spacing:.14em}.brand small{display:block;color:#747d92;font-size:10px;letter-spacing:.14em;margin-top:3px}nav{display:grid;gap:5px}nav button,.logout{border:0;background:transparent;color:#9ba4b8;text-align:left;padding:11px 13px;border-radius:9px;cursor:pointer}nav button:hover,nav button.active{background:#171b25;color:#fff}.side-bottom{margin-top:auto;border-top:1px solid #222735;padding-top:16px}.admin span,.admin small{display:block}.admin small{color:#747d92;margin-top:3px}.logout{padding-left:0;color:#ef8d8d}main{min-width:0}.page{padding:38px;max-width:1500px;margin:auto}.page-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:28px}.page-head h1{font-size:30px;margin:0}.page-head p{color:#8993a8;margin:7px 0 0}.card,.table-card{background:#10141d;border:1px solid #242a38;border-radius:14px;padding:20px}.card h3{margin:0 0 18px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:18px}.stat strong{font-size:34px;display:block}.stat span{color:#7d879b;text-transform:capitalize}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.cards-list{display:grid;gap:12px;margin-top:18px}.field{display:grid;gap:7px;margin-bottom:14px}.field>span{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#7f899e}input,textarea,select{width:100%;background:#0b0e14;border:1px solid #2b3242;color:#edf1fa;border-radius:9px;padding:11px 12px;outline:none}textarea{resize:vertical;min-height:90px}input:focus,textarea:focus,select:focus{border-color:#7c66ff}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.form-grid .field:has(textarea),.form-grid .actions{grid-column:1/-1}.form-grid.compact{grid-template-columns:1fr 1fr}.btn{border:0;border-radius:9px;padding:10px 15px;cursor:pointer;background:#7357f5;color:#fff;font-weight:650}.btn.ghost{background:#1a2030;color:#c8d0df}.btn.danger{background:#9f3344}.btn:disabled{opacity:.5;cursor:not-allowed}.actions{display:flex;gap:10px;align-items:center;margin-top:8px}.table-card{padding:0;overflow:auto;margin-top:18px}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:14px 16px;border-bottom:1px solid #222837}th{font-size:11px;text-transform:uppercase;color:#768095;letter-spacing:.08em}td small{display:block;color:#707a8f;margin-top:3px}.badge{display:inline-flex;border:1px solid #353d50;border-radius:999px;padding:4px 8px;color:#aeb7ca;font-size:12px}.flow{font-weight:700;color:#c7c0ff}.flow b{color:#596174;margin:0 8px}.notice,.error{padding:13px 15px;border-radius:10px;margin-top:16px}.notice{background:#121a27;border:1px solid #26354d;color:#9eb0cb}.error{background:#29131a;border:1px solid #5a2635;color:#f0a5b7}.row-between{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.row-between p{margin:5px 0;color:#8892a7}.empty{color:#6f798e;padding:20px;text-align:center}.json,.pre{white-space:pre-wrap;overflow:auto;background:#090c12;border:1px solid #202635;border-radius:9px;padding:12px;color:#b9c6df;font-size:12px;max-height:420px}.login-wrap,.center{min-height:100vh;display:grid;place-items:center}.login-card{width:min(430px,calc(100vw - 32px));background:#10141d;border:1px solid #262c3a;border-radius:18px;padding:32px}.login-card h1{margin:0}.login-card>p{color:#7f899d;margin-bottom:24px}.login-card .btn{width:100%;margin-top:5px}.hint{display:block;color:#626c80;margin-top:16px;text-align:center}.modal-back{position:fixed;top:0;right:0;bottom:0;left:0;background:#000a;display:grid;place-items:center;padding:20px;z-index:5}.modal{width:min(760px,100%);max-height:90vh;overflow:auto;background:#10141d;border:1px solid #303749;border-radius:16px;padding:24px}details{margin-top:12px}summary{cursor:pointer;color:#a9b2c4}@media(max-width:900px){.shell{grid-template-columns:1fr}aside{position:relative;height:auto}.stats,.grid2,.form-grid{grid-template-columns:1fr}.form-grid .field:has(textarea),.form-grid .actions{grid-column:auto}.page{padding:22px}nav{grid-template-columns:repeat(2,1fr)}}.error-page{max-width:620px;margin:70px auto;background:#10141d;border:1px solid #402a35;border-radius:16px;padding:28px}.error-page h1{margin-top:0}.error-page p{color:#d7a5b0}.artist-grid{display:grid;grid-template-columns:repeat(7,minmax(120px,1fr));gap:12px;margin-bottom:18px}.artist-tile{padding:0;overflow:hidden;border-radius:14px;border:1px solid #342654;background:#11101d;color:#fff;text-align:left;cursor:pointer}.artist-tile img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block}.artist-tile div{padding:12px}.artist-tile strong,.artist-tile span,.artist-tile small{display:block}.artist-tile span{font-size:12px;color:#b9afd0;margin-top:3px}.artist-tile small{font-size:11px;color:#776d8f;margin-top:4px}.avatar-sm{width:48px;height:48px;border-radius:12px;object-fit:cover}.collectible-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px;margin-bottom:18px}.collectible{background:#100d1d;border:1px solid #30264a;border-radius:14px;overflow:hidden}.collectible img,.card-placeholder{width:100%;aspect-ratio:5/7;object-fit:cover;background:#181226;display:block}.collectible>div:last-child{padding:11px;display:grid;gap:3px}.collectible b{font-size:11px;color:#b69cff}.collectible strong{font-size:13px}.collectible span{font-size:11px;color:#81778f}.collectible.ssr{border-color:#b98a38;box-shadow:0 0 18px #b98a3826}.collectible.sr{border-color:#9a56c8}.collectible.r{border-color:#58459d}@media(max-width:1100px){.artist-grid{grid-template-columns:repeat(4,1fr)}}@media(max-width:700px){.artist-grid{grid-template-columns:repeat(2,1fr)}}.studio-page{padding:38px;max-width:1500px;margin:auto}.studio-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.studio-eyebrow{font-size:11px;letter-spacing:.17em;color:#ad8cff;font-weight:800}.studio-heading h1{font-size:34px;margin:7px 0}.studio-heading p,.studio-help{color:#929ab0;margin:0}.studio-count{font-size:14px;vertical-align:middle;border:1px solid #413354;border-radius:99px;padding:4px 10px;color:#bca8e6}.studio-primary{background:linear-gradient(120deg,#8452e9,#b367e9);color:#fff;border:0;border-radius:10px;padding:12px 19px;font-weight:750;cursor:pointer}.studio-secondary{background:#202331;color:#d6d6e2;border:1px solid #373a4c;border-radius:10px;padding:11px 17px;cursor:pointer}.studio-toolbar{display:flex;align-items:center;gap:12px;background:#11131e;border:1px solid #28283b;border-radius:14px;padding:15px;margin-bottom:16px}.studio-toolbar input{flex:1;min-width:180px}.studio-toolbar select{width:175px}.studio-toolbar span{color:#8c92a6;font-size:13px;white-space:nowrap}.studio-table-wrap{border:1px solid #29263c;border-radius:15px;background:#11121d;overflow-x:auto}.studio-table{min-width:740px}.studio-table th{background:#171625}.studio-table td{color:#c9c7d5}.studio-table tr:hover td{background:#191626}.studio-artist{display:flex;align-items:center;gap:12px}.studio-artist strong,.studio-artist small{display:block}.studio-thumb{height:48px;width:48px;border-radius:10px;background:#342348;display:grid;place-items:center;font-weight:800;overflow:hidden}.studio-thumb img{width:100%;height:100%;object-fit:cover}.studio-status{display:inline-block;padding:5px 10px;border-radius:20px;background:#2d2530;color:#d0a5b7;font-size:12px}.studio-status.active{background:#18382f;color:#85dfb7}.studio-edit{background:transparent;border:1px solid #594677;border-radius:8px;padding:8px 12px;color:#c5a9ff;cursor:pointer}.studio-empty{padding:40px;text-align:center;color:#9692a9}.studio-success,.studio-error{padding:12px 15px;border-radius:10px;margin-bottom:16px;background:#15352b;color:#a8efcc}.studio-error{background:#3c202c;color:#ffc1cf}.studio-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#05040bc7;display:flex;justify-content:flex-end}.studio-drawer{width:min(720px,100%);height:100%;background:#11111d;border-left:1px solid #4a3568;display:flex;flex-direction:column;box-shadow:-15px 0 80px #0008}.studio-drawer-head,.studio-drawer-foot{padding:22px 28px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #302b42}.studio-drawer-head h2{margin:7px 0 0}.studio-close{border:0;background:#252235;color:#fff;border-radius:9px;font-size:24px;width:36px;height:36px;cursor:pointer}.studio-drawer form{display:flex;flex-direction:column;min-height:0;flex:1}.studio-drawer-body{padding:0 28px 30px;overflow-y:auto;flex:1}.studio-drawer-body h3{font-size:14px;margin:28px 0 16px;padding-bottom:10px;border-bottom:1px solid #312b41;color:#d9c8ff}.studio-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.studio-drawer label{display:block;color:#bdb5ce;font-size:12px;font-weight:650}.studio-drawer label input,.studio-drawer label textarea{margin-top:8px}.studio-full{margin-bottom:15px}.studio-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.studio-media{border:1px solid #30283f;border-radius:12px;padding:10px;min-width:0}.studio-media-preview{height:125px;background:#201a2d;border-radius:8px;display:grid;place-items:center;color:#82758f;font-size:12px;overflow:hidden;margin-bottom:12px}.studio-media-preview img{height:100%;width:100%;object-fit:cover}.studio-media input{font-size:11px;padding:8px}.studio-upload{margin-top:10px;display:block;text-align:center;border:1px dashed #7756a0;border-radius:8px;padding:10px;cursor:pointer;color:#c5a5ff!important}.studio-upload input{display:none}.studio-toggle{display:flex!important;align-items:center;gap:10px}.studio-toggle input{width:auto!important;margin:0!important}.studio-drawer-foot{border-top:1px solid #302b42;border-bottom:0;justify-content:flex-end;gap:10px;background:#171523}@media(max-width:800px){.studio-page{padding:20px}.studio-heading{align-items:flex-start}.studio-toolbar{flex-wrap:wrap}.studio-toolbar input{flex-basis:100%}.studio-form-grid,.studio-media-grid{grid-template-columns:1fr}.studio-media-preview{height:160px}}.studio-overlay{align-items:center;justify-content:center;padding:24px;box-sizing:border-box;overflow:auto}.studio-drawer.studio-modal{width:min(980px,100%);height:min(850px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);border:1px solid #65468c;border-radius:18px;box-shadow:0 30px 110px #000b;overflow:hidden}.studio-modal .studio-drawer-head{flex-shrink:0;background:#171324}.studio-modal .studio-drawer-foot{flex-shrink:0}.studio-modal .studio-drawer-body{min-height:0;overscroll-behavior:contain}.studio-field-label{color:#bdb5ce;font-size:12px;font-weight:650;margin-bottom:8px}.studio-rich-editor{border:1px solid #38314b;border-radius:12px;overflow:hidden;background:#0e101a}.studio-rich-toolbar{display:flex;flex-wrap:wrap;gap:5px;align-items:center;padding:9px;border-bottom:1px solid #373048;background:#191629}.studio-rich-toolbar button,.studio-rich-toolbar select{width:auto;min-width:33px;padding:7px 9px;border-radius:7px;background:#29233a;border:1px solid #483b60;color:#e5dcf3;cursor:pointer;font-size:12px}.studio-rich-toolbar button:hover,.studio-rich-toolbar .is-active{background:#654091}.studio-rich-toolbar select{min-width:115px}.studio-rich-content{min-height:185px;max-height:360px;overflow-y:auto;padding:16px;color:#f0edf8;line-height:1.65;outline:none;white-space:pre-wrap;overflow-wrap:anywhere}.studio-rich-content:focus{box-shadow:inset 0 0 0 1px #9b65db}.studio-rich-content h2,.studio-rich-content h3{margin:12px 0 8px;padding:0;border:0;color:#f0dfff}.studio-rich-content a{color:#c09aff;text-decoration:underline}.studio-rich-content ul,.studio-rich-content ol{padding-left:25px}.studio-rich-hint{padding:8px 12px;font-size:11px;color:#a49ab7;border-top:1px solid #30283f}@media(max-width:600px){.studio-overlay{padding:8px}.studio-drawer.studio-modal{height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:12px}.studio-modal .studio-drawer-head,.studio-modal .studio-drawer-foot{padding:15px}.studio-modal .studio-drawer-body{padding:0 15px 20px}}
