.pe-tools,.pe-tabs,.pe-selected{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.pe-tools{margin-top:10px}.pe-tools>span{font-size:12px;color:#73809a}.pe-selected{margin-top:8px}.pe-chip{display:flex;align-items:center;gap:7px;border:1px solid #cad4ff;background:#f2f5ff;border-radius:9px;padding:5px 8px;color:#3043ad;cursor:pointer}.pe-chip img{width:30px;height:30px;object-fit:cover;border-radius:5px}.pe-suggest{max-height:330px;overflow:auto;border:1px solid #dce2f0;border-radius:12px;background:white;padding:8px;box-shadow:0 10px 30px #15274a18}.pe-option{display:flex;gap:10px;width:100%;align-items:center;text-align:left;background:white;border:0;border-radius:8px;padding:8px;cursor:pointer}.pe-option.is-active,.pe-option:hover{background:#edf2ff}.pe-option img{width:44px;height:44px;object-fit:cover;border-radius:7px}.pe-option span{display:grid;gap:3px}.pe-option small,.pe-card small{color:#73809a}.pe-dialog{width:min(840px,calc(100vw - 24px));max-height:90vh;border:1px solid #dce2f0;border-radius:16px;padding:0;color:#15233a}.pe-dialog::backdrop{background:#18243b80}.pe-dialog-content{padding:22px;display:grid;gap:14px}.pe-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.pe-head h2{margin:0;font-size:22px}.pe-form{display:grid;gap:9px}.pe-form p,.pe-suggest p{font-size:13px;line-height:1.5}.pe-preview{width:100%;max-height:260px;object-fit:contain;background:#f6f8fc;border-radius:10px}.pe-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:14px}.pe-card{display:grid;gap:8px;border:1px solid #dce2f0;border-radius:12px;padding:12px;align-content:start;min-width:0}.pe-card>img{width:100%;height:145px;object-fit:cover;border-radius:8px}.pe-card p{font-size:12px;color:#73809a;max-height:65px;overflow:auto;overflow-wrap:anywhere;margin:0}.pe-card strong,.pe-card small{overflow-wrap:anywhere}.pe-error{color:#c33131;font-size:13px;margin:0}.pe-dialog [hidden],.pe-suggest[hidden]{display:none}@media(max-width:500px){.pe-dialog-content{padding:15px}.pe-grid{grid-template-columns:1fr 1fr}.pe-card>img{height:105px}.pe-card{padding:8px}.pe-tools>span{width:100%}}
.pe-chip video{width:30px;height:30px;object-fit:cover;border-radius:5px;pointer-events:none}.pe-option video{width:44px;height:44px;object-fit:cover;border-radius:7px;pointer-events:none}.pe-card>video{width:100%;height:145px;object-fit:contain;background:#17212e;border-radius:8px}@media(max-width:500px){.pe-card>video{height:105px}}
.pe-shelf{margin-top:12px;border:1px solid #dce2f0;border-radius:12px;background:#f8faff;padding:12px;display:grid;gap:10px}.pe-shelf-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pe-shelf-head>strong{font-size:13px}.pe-shelf-head>button{margin-left:auto}.pe-shelf-hint{margin:0;font-size:12px;line-height:1.5;color:#73809a}.pe-shelf-search{font-size:13px;min-height:34px}.pe-shelf-tabs{gap:5px}.pe-shelf-tabs .chip{font-size:11px;padding:5px 9px}.pe-shelf-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(115px,1fr));gap:8px;max-height:275px;overflow-y:auto;padding:3px}.pe-shelf-card{display:grid;gap:5px;text-align:left;align-content:start;min-width:0;background:white;border:1px solid #dce2f0;border-radius:9px;padding:7px;cursor:pointer;color:#15233a}.pe-shelf-card:hover,.pe-shelf-card:focus-visible{border-color:#8098ff;outline:2px solid #cad4ff}.pe-shelf-card.is-selected{border-color:#8098ff;background:#edf2ff}.pe-shelf-card>img,.pe-shelf-card>video{width:100%;height:74px;object-fit:cover;border-radius:5px;background:#17212e;pointer-events:none}.pe-shelf-card strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pe-shelf-card small{font-size:10px;color:#73809a}.pe-shelf-empty{grid-column:1/-1;font-size:12px;line-height:1.6;color:#73809a;margin:5px}.pe-shelf-more{grid-column:1/-1}@media(max-width:500px){.pe-shelf{padding:9px}.pe-shelf-head>button{margin-left:0}.pe-shelf-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:245px}}
.pe-selected:empty{display:none}.pe-shelf-search{height:32px;min-height:32px;padding:6px 10px}.pe-shelf-head>button+button{margin-left:0}
