.page{max-width:960px;padding:34px 30px 60px}
h1{margin:0 0 2px}
.sub{color:#8b93a7;line-height:1.5;font-size:14px;margin:0 0 18px}
.tabs{display:flex;gap:6px;border-bottom:1px solid #262c38;margin-bottom:18px}
.tab{background:none;border:0;color:#8b93a7;font-size:14px;font-weight:600;padding:10px 14px;cursor:pointer;border-bottom:2px solid transparent;font-family:inherit}
.tab:hover{color:#e6e9ef}
.tab.on{color:#fff;border-bottom-color:#ff4d6d}
.panel{display:none}.panel.on{display:block}
.uploadzone{border:1.5px dashed #333a48;border-radius:14px;padding:30px;text-align:center;color:#8b93a7;cursor:pointer;transition:border-color .15s,background .15s}
.uploadzone:hover,.uploadzone.drag{border-color:#ff4d6d;background:#1c141a}
.uploadzone b{color:#e6e9ef}
.uploadzone .hint{font-size:12.5px;margin-top:6px}
.searchbar{display:flex;align-items:center;gap:8px;background:#1c212b;border:1px solid #262c38;border-radius:10px;padding:9px 13px;margin-bottom:14px}
.searchbar input{flex:1;background:none;border:0;outline:0;color:#e6e9ef;font-size:14px;font-family:inherit}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-top:14px}
.mcard{background:#161a22;border:1px solid #262c38;border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:8px}
.mcard .thumb{width:100%;aspect-ratio:16/10;border-radius:8px;background:#0f1218;object-fit:cover;display:block}
.mcard .nm{font-size:13px;color:#e6e9ef;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mcard .meta{font-size:11.5px;color:#8b93a7}
.mcard .row{display:flex;gap:6px}
.mcard button{flex:1;background:#1c212b;border:1px solid #333a48;color:#e6e9ef;border-radius:8px;padding:7px;font-size:12.5px;cursor:pointer;font-family:inherit}
.mcard button:hover{border-color:#ff4d6d}
.mcard button.del{flex:0 0 auto;color:#8b93a7}.mcard button.del:hover{color:#ff5d6c;border-color:#ff5d6c}
.soundcard{flex-direction:row;align-items:center}
.soundcard .play{flex:0 0 auto;width:34px;height:34px;border-radius:50%;background:#333a48;color:#fff;border:0;cursor:pointer}
.soundcard .play:hover{background:#ff4d6d;color:#14060a}
.soundcard .nm{flex:1}
.empty{color:#8b93a7;font-size:14px;text-align:center;padding:30px 0}
.note{background:#161a22;border:1px solid #262c38;border-radius:12px;padding:16px 18px;font-size:13.5px;color:#c7cdda;line-height:1.5;margin-top:8px}
.note a{color:#ff4d6d}

.lcp-lightbox{position:fixed;inset:0;background:rgba(0,0,0,.85);display:none;align-items:center;justify-content:center;z-index:3000;cursor:zoom-out;padding:30px}
.lcp-lightbox.open{display:flex}
.lcp-lightbox img,.lcp-lightbox video{max-width:90vw;max-height:88vh;border-radius:12px;box-shadow:0 20px 60px rgba(0,0,0,.6)}
.mcard .thumb{cursor:zoom-in}
