#poster-library{position:fixed;inset:0;margin:auto;width:min(1080px,94vw);height:min(710px,calc(100dvh - 48px));max-width:96vw;max-height:94dvh;padding:0;color:#ecf4ef;background:#131c20;border:1px solid #37474a;border-radius:16px;box-shadow:0 28px 100px #0009;color-scheme:dark;font:14px/1.5 "Microsoft YaHei UI",sans-serif;overflow:hidden;box-sizing:border-box}
#poster-library[open]{display:flex;flex-direction:column}
#poster-library::backdrop{background:#020909ac;backdrop-filter:blur(4px)}
#poster-library header,#poster-library footer,#poster-library .pl-tools{display:flex;align-items:center;gap:12px;padding:12px 26px;flex:none}
#poster-library header{border-bottom:1px solid #344043;padding-block:19px}
#poster-library h2{margin:2px 0 0;font:700 25px/1.3 inherit;font-size:25px;color:#f0f6f2}
#poster-library .pl-brand{font:11px Georgia,serif;color:#a5bab2;letter-spacing:.14em}
#poster-library .pl-title,#poster-library .pl-tools small,#poster-library [role=status]{margin-right:auto}
#poster-library button,#poster-library input{font:inherit;color:inherit;border:1px solid #435351;border-radius:6px;background:transparent;padding:7px 13px}
#poster-library button{cursor:pointer}#poster-library button:disabled{opacity:.45;cursor:default}
#poster-library button:focus-visible,#poster-library input:focus-visible{outline:2px solid #a8ebcf;outline-offset:2px}
#poster-library [data-add]{background:#adebd4;color:#132821;font-weight:700}
#poster-library [data-close]{font-size:22px;border:0}
#poster-library [type=search]{width:min(170px,35vw)}
#poster-library .pl-tools small,#poster-library footer{color:#acbcb8;font-size:12px}
#poster-library [data-grid]{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px 12px;align-content:start;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:3px 26px 15px;scrollbar-width:thin;scrollbar-color:#435351 transparent}
#poster-library .pl-card{min-width:0;padding:0;text-align:left;border:0;position:relative;align-self:start}
#poster-library .pl-card img{display:block;width:100%;aspect-ratio:2/3;object-fit:cover;background:#1d2a2d;border-radius:5px}
#poster-library .pl-card[aria-pressed=true] img{outline:2px solid #adebd4;outline-offset:-2px}
#poster-library .pl-card[aria-pressed=true]:after{content:'✓';position:absolute;top:6px;right:6px;text-align:center;background:#adebd4;color:#17392b;width:21px;height:21px;border-radius:50%}
#poster-library .pl-caption{display:flex;gap:7px;align-items:baseline;margin-top:7px}#poster-library .pl-caption small{font:11px Consolas,monospace;color:#93a79e}#poster-library .pl-caption b{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#poster-library footer{border-top:1px solid #344043}#poster-library [role=status]{overflow-wrap:anywhere}#poster-library [data-empty]{grid-column:1/-1;text-align:center;color:#a8b9b2;padding:32px}
@media(max-width:760px){#poster-library [data-grid]{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 8px;padding-inline:12px}#poster-library header,#poster-library footer,#poster-library .pl-tools{padding:10px 12px;gap:7px}#poster-library h2{font-size:21px}#poster-library footer button{white-space:nowrap;padding:6px}#poster-library [role=status]{min-width:0}}
