.asset-library { display:grid; grid-template-columns:230px minmax(0,1fr); gap:12px; margin:48px 8px 8px; min-height:calc(100dvh - 108px); }
.asset-library aside { border-radius:12px; background:#131416; padding:8px; }
.asset-library aside a { display:flex; align-items:center; height:36px; gap:8px; color:white; font-size:14px; line-height:20px; font-weight:500; padding:0 6px; border-radius:12px; margin-bottom:2px; }
.asset-library aside a:hover,.asset-library aside a[aria-current] { background:#ffffff0d; }
.asset-library aside i { display:grid; place-items:center; width:24px; height:24px; background:linear-gradient(145deg,#343536,#212224); border:1px solid #ffffff1c; box-shadow:inset 0 0 3px #ffffff21; border-radius:7px; }
.asset-library aside svg { width:14px; height:14px; fill:none; stroke:#eee; stroke-width:1.5; stroke-linejoin:round; stroke-linecap:round; }
.asset-library aside small { margin-left:auto; font:400 11px/18px Arial,sans-serif; min-width:18px; text-align:center; background:#ffffff09; color:#aaa; border-radius:6px; }
.asset-library h3 { margin:16px 0 2px; height:28px; padding:4px 6px; font-size:12px; font-weight:400; color:#828282; }
.asset-content { background:#131416; border-radius:12px; padding:16px 8px; display:flex; flex-direction:column; }
.asset-content h1,.mobile-library h1 { transform:none; text-shadow:none; color:#fafafa; }
.asset-content h1 { font:600 20px/24px Arial,sans-serif; margin:4px 0; letter-spacing:-.4px; }
.empty { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; text-align:center; }
.empty h2,.empty p { margin:0; }
.empty h2 { font-size:24px; }
.empty p { color:#999; }
.empty a,.mobile-library button { padding:9px 14px; background:#252627; border:1px solid #3a3b3c; border-radius:10px; color:white; }
.mobile-library { display:none; }
@media(max-width:720px) {
 .asset-library { display:none; }
 .mobile-library { display:flex; flex-direction:column; align-items:center; padding:0 16px; text-align:center; }
 .mobile-library img { width:min(90vw,420px); margin-top:14dvh; height:32dvh; object-fit:contain; }
 .mobile-library h1 { margin:3dvh 0 16px; font:700 28px/36px Arial,sans-serif; letter-spacing:-1px; }
 .mobile-library p { margin:0 auto 24px; max-width:358px; color:#999; font:400 16px/24px Arial,sans-serif; }
 .mobile-library button { height:40px; padding:0 10px; background:transparent; }
}
.asset-library aside svg{stroke-width:1.3}.asset-library aside a:nth-child(2) path,.asset-library aside a:nth-child(3) path,.asset-library aside a:nth-child(5) path{fill:#eee}.asset-library aside small{margin-right:3px;font-size:10px}.asset-library aside{box-shadow:inset 0 0 0 1px #ffffff05}.asset-library aside h3{padding-top:6px}.mobile-library h1{transform:scaleX(.94);font-weight:650}.mobile-library p{color:#929292;font-weight:400}.mobile-library button{border:2px solid #292b2c}
.asset-content [hidden]{display:none}.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:12px}.media-grid article{background:#212224;border-radius:12px;padding:8px}.media-grid img,.media-grid video{width:100%;height:160px;object-fit:contain;background:#171719;border-radius:8px}.media-grid h3{height:auto;padding:0;color:white;font-size:14px;overflow-wrap:anywhere}.media-grid article div{display:flex;gap:4px;flex-wrap:wrap}.media-grid button,.media-grid a{font-size:12px;color:#ddd;background:#303133;padding:5px 8px;border-radius:6px}
.media-grid audio{width:100%;min-width:0}
.asset-stack{position:relative;width:min(360px,90%);height:200px;margin:8px auto}.asset-stack>div{position:absolute;left:22%;top:0;width:56%;height:140px;background:#242528;border:1px solid #393a3d;box-shadow:0 5px 15px #0004;border-radius:10px;padding:10px;overflow:hidden;text-align:left}.asset-stack strong{font-size:12px;color:#bbb}.asset-stack img{width:100%;height:85px;margin-top:10px;border-radius:5px;object-fit:cover}.asset-stack>div:nth-child(2){left:4%;top:42px;transform:rotate(-8deg)}.asset-stack>div:nth-child(3){left:43%;top:50px;transform:rotate(-3deg)}.empty a.empty-create{background:#f8f8f8;color:#171719;border-color:transparent;font-weight:600}
.guest-library-guide[hidden]{display:none}
@media(min-width:721px){
 .asset-library.guest-empty{display:grid;grid-template-columns:1fr;margin:8px;min-height:calc(100svh - 68px)}
 .asset-library.guest-empty>aside,.asset-library.guest-empty>.asset-content{display:none}
 .guest-library-guide{display:flex;align-items:center;justify-content:center;flex-direction:column;background:#131416;border:1px solid #232527;border-radius:14px;padding:18px;text-align:center}
 .guest-library-guide h2{font:600 18px/24px Arial;color:#aaa;margin:0}
 .guest-library-guide>p{font-size:13px;line-height:16px;max-width:368px;color:#898a8d;margin:8px 0 28px}
 .guide-cards{position:relative;width:370px;height:208px;color:#a3a3a4}
 .guide-cards article{position:absolute;overflow:hidden;text-align:left;width:199px;height:155px;background:#232426;border:1px solid #303134;border-radius:12px;padding:12px;box-shadow:0 8px 24px #07070866}
 .guide-cards article:first-child{left:10px;top:40px;transform:rotate(-8deg)}
 .guide-cards article:nth-child(2){left:102px;top:2px;transform:rotate(3deg)}
 .guide-cards article:nth-child(3){right:8px;top:43px;transform:rotate(-3deg)}
 .guide-cards strong{font-size:12px}.guide-cards p{margin:4px 0 8px;font-size:11px;color:#95969a}
 .guide-cards img{width:100%;height:85px;object-fit:cover;border-radius:8px}
 .folder-chips,.mention-row{display:flex;gap:6px;flex-wrap:wrap}.folder-chips span,.mention-row span{padding:3px 5px;background:#36363b;border-radius:4px;font-size:10px}
 .mention-row{height:67px;align-items:end;border-radius:6px;background:url('/character-portraits.webp') center 20%/cover}
 .guest-library-guide>button{height:32px;margin-top:28px;padding:0 16px;border-radius:9px;background:#f7f7f7;color:#121314;font-weight:600}
}
@media(max-width:720px){
 .mobile-library .library-illustration{width:min(100%,420px);aspect-ratio:358/270;margin-top:14dvh;display:flex;flex-direction:column;padding:12px;background:linear-gradient(140deg,#27282a,#171819);border-radius:12px;text-align:left;overflow:hidden}
 .illustration-header{padding:6px 8px;font-size:10px;background:#101112;font-weight:600}
 .illustration-body{display:grid;grid-template-columns:22% 1fr;gap:5px;flex:1;min-height:0;padding:5px;background:#101112}
 .illustration-nav{background:#191a1c;padding:7px;color:#aaa;font-size:7px;line-height:2.2}
 .illustration-tiles{display:grid;grid-template:repeat(2,minmax(0,1fr))/repeat(2,minmax(0,1fr));gap:5px}
 .mobile-library .illustration-tiles img{width:100%;height:100%;margin:0;object-fit:cover;border-radius:4px}
 .mobile-library h1{margin:24px 0 16px}
}

@media(min-width:721px){.member-empty .guest-library-guide{padding-top:30px;border:0;min-height:calc(100svh - 160px);background:transparent}}
.project-library-controls{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:14px 4px}.project-library-controls input,.project-library-controls button{background:#252628;border:0;border-radius:8px;padding:8px 11px;color:#eee}.project-library-controls button{margin:2px}.project-library-controls button[aria-selected=true]{background:#eee;color:#141516}.project-examples{width:100%;max-width:1180px;min-width:0;display:flex;justify-content:center;align-items:center;gap:16px;height:200px;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 15%,#000 85%,transparent)}.project-examples>div{flex:0 0 242px;background:#1b1c1e;color:#999;border-radius:14px;padding:6px;opacity:.63}.project-examples>div:not(:nth-child(3)){transform:scale(.95);opacity:.4}.project-example-thumbs{height:138px;display:grid;grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr;gap:5px}.project-example-thumbs img{width:100%;height:100%;min-height:0;object-fit:cover;border-radius:8px;filter:grayscale(.8) brightness(.32)}.project-example-thumbs img:first-child{grid-row:span 2}.project-examples small{display:block;padding:8px;text-align:left}.library-project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,240px));gap:12px;padding:12px 4px}.library-project-grid a{padding:22px 15px;background:#252628;border-radius:10px}.asset-content .empty:has(.project-examples) h2{font-size:18px;color:#bbb}.asset-content .empty[hidden],.project-examples[hidden],.library-project-grid[hidden]{display:none}

#project-category-results{display:flex;flex-direction:column;flex:1;min-width:0}

.trash-tools{display:flex;gap:12px;align-items:center;margin:8px 0}.trash-tools button{background:#242426;color:#eee;border:1px solid #424246;border-radius:7px;padding:7px 12px}.trash-tools button:disabled{opacity:.45}
