.publication-mode{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.publication-mode .pl2{padding:10px 16px}.collection-editor{display:grid;grid-template-columns:minmax(260px,360px) minmax(0,1fr);gap:24px;align-items:start}.collection-members{min-width:0}.collection-members h3{margin-top:0}.collection-members .tb{margin:16px 0}.collection-members select{min-width:0}.collection-list{margin-top:28px;border-top:1px solid var(--line);padding-top:20px}.collection-list details{border-bottom:1px solid var(--line);padding:14px 0}.collection-list summary{cursor:pointer;display:flex;align-items:center;gap:12px}.collection-list summary img{width:44px;height:66px;object-fit:cover;border-radius:6px}.collection-list summary span{flex:1;min-width:0;overflow-wrap:anywhere}.collection-list .xa2{margin:16px 0}.member-row{display:grid;grid-template-columns:28px 42px minmax(0,1fr) 70px auto;gap:10px;align-items:center;border-bottom:1px solid var(--line);padding:12px 0}.member-row img{width:42px;height:63px;object-fit:cover;border-radius:6px}.member-row b{display:block;overflow-wrap:anywhere}.member-row small{color:var(--muted)}.member-row input{width:100%;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:6px;padding:8px}.member-row.dragging{opacity:.45}.member-row .xa2{gap:4px}.member-row .mini{min-width:32px;min-height:36px;padding:5px}.drag-handle{cursor:grab;color:var(--muted)}.collection-save{margin:18px 0}.collection-page{background:var(--bg);min-height:100vh;padding-bottom:70px}.collection-cover{position:relative;min-height:min(560px,78vh);display:flex;align-items:flex-end;overflow:hidden;padding-top:28px;padding-bottom:44px;align-items:stretch}.collection-cover>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.collection-cover>img{object-position:center 22%}.collection-cover:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,var(--bg) 0%,rgba(11,21,48,.55) 45%,rgba(11,21,48,.25) 100%),linear-gradient(90deg,var(--bg) 0%,rgba(11,21,48,.6) 45%,transparent 100%)}.collection-cover .wrap{position:relative;z-index:1;width:100%;display:flex;flex-direction:column}.collection-cover .wrap>.meta{margin-top:auto}.collection-cover h1{font-size:3rem;line-height:1.1;letter-spacing:0;max-width:25ch;overflow-wrap:anywhere;margin:16px 0}.collection-cover p{max-width:64ch;color:var(--text);white-space:pre-line}.collection-top{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:42px}.collection-logo{display:inline-flex;padding:4px;border-radius:10px;flex:0 0 auto}.collection-top img{width:160px;height:auto;display:block}.collection-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.collection-actions .ghost{white-space:nowrap}.volume-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:24px 18px;margin-top:20px}.volume-card{min-width:0}.volume-card .volume-art{position:relative;aspect-ratio:2/3;overflow:hidden;background:var(--s1);border-radius:8px;border:1px solid var(--line)}.volume-art img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.volume-card:hover img{transform:scale(1.035)}.volume-art .bd{position:absolute;top:10px;left:10px;background:var(--bg);color:var(--text)}.volume-card h3{font-size:1rem;margin:12px 0 6px;overflow-wrap:anywhere}.volume-card p{color:var(--muted);font-size:.85rem;margin:0 0 12px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.volume-card .btn2{padding:9px 16px;font-size:.85rem}.collection-empty{padding:36px 0;color:var(--muted)}
@media(max-width:1024px){.collection-editor{grid-template-columns:1fr}.collection-editor .fm{position:static}.member-row{grid-template-columns:24px 42px minmax(0,1fr) 64px}.member-row .xa2{grid-column:3/5}.collection-cover h1{font-size:2.3rem}}
@media(max-width:600px){.volume-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.collection-cover{min-height:420px;padding-top:24px}.collection-cover h1{font-size:2rem}.collection-top img{width:120px}.publication-mode .pl2{flex:1}.collection-members .tb{flex-direction:column}.collection-members .fi{width:100%}.member-row b{font-size:.85rem}.volume-card .btn2{width:100%}}
@media(prefers-reduced-motion:reduce){.volume-art img{transition:none}}
#main.collection-view{max-width:none;padding:0}#main.collection-view>#rows{width:100%}.collection-page>.wrap{max-width:1240px}
@media(max-width:600px){.collection-top{margin-bottom:28px}.collection-actions{width:100%;justify-content:stretch}.collection-actions .ghost{flex:1;justify-content:center;text-align:center;padding-left:10px;padding-right:10px}}
