.yh-banners{font-size:13px}.yh-banners h3{margin:0}.banner-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.banner-head p{margin:6px 0;color:#aeb9c7}.banner-table{overflow:auto}.banner-table table{border-collapse:collapse;width:100%;min-width:760px}.banner-table th,.banner-table td{border:1px solid #63718966;padding:9px;text-align:left;vertical-align:top}.banner-table th{background:#253146}.banner-table td p{margin:4px 0 9px;max-width:300px;white-space:pre-wrap;overflow-wrap:anywhere}.yh-banners input:not([type=checkbox]),.yh-banners textarea,.yh-banners select{box-sizing:border-box;width:100%;padding:8px;border:1px solid #65748b;border-radius:6px;background:#0d1929;color:#edf0f4;font:inherit}.banner-table input{max-width:90px;display:block}.yh-banners .btn{margin:3px 3px 3px 0;padding:6px 10px;font-size:12px;cursor:pointer}.banner-thumb{width:140px;height:56px;object-fit:cover;border-radius:6px;background:#1e2935}.banner-switch{border:1px solid #a65d68;background:#40232c;color:#ffa5ad;border-radius:18px;padding:6px 12px;cursor:pointer;white-space:nowrap}.banner-switch.on{border-color:#5aa788;background:#153d31;color:#87edb4}.banner-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.banner-options{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:10px 0}.banner-options>label{max-width:220px}.banner-fields label{display:grid;gap:5px}.banner-editor-image{max-width:100%;max-height:130px;object-fit:contain;margin-top:8px}.banner-preview-card{position:relative;border:1px solid #bca16a;border-radius:10px;padding:15px;overflow:hidden;background:#152129;min-height:102px}.banner-preview-card>img{width:100%;max-height:180px;object-fit:cover;opacity:.6}.banner-preview-card p{white-space:pre-wrap}.local-dialog:has(.yh-banners){width:900px}.banner-dialog{width:100%;max-width:900px}#bannerProblem{color:#f0c999}@media(max-width:600px){.banner-fields{grid-template-columns:1fr}.banner-options{gap:8px}.banner-head{align-items:flex-start}.banner-head p{font-size:11px}}

.yh-banners .btn-primary{background:#d9b568;color:#181b22;border:1px solid #efd699;border-radius:6px}.yh-banners .btn-ghost{background:#202a39;color:#edf0f4;border:1px solid #65748b;border-radius:6px}.modal-card:has(.banner-dialog){width:min(900px,100%)}
.banner-image-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}.banner-image-slots>section{border:1px solid #63718966;border-radius:8px;padding:10px;min-width:0}.banner-image-slots input[type=file]{font-size:11px}.banner-image-slots .banner-editor-image{height:76px;width:100%;object-fit:contain}.banner-list-image{display:inline-flex;flex-direction:column;gap:3px;margin:0 8px 8px 0}.banner-list-image .banner-thumb{width:85px;height:36px}.yh-banners .banner-member-preview{position:relative;width:min(350px,100%);aspect-ratio:3.6/1;height:auto;box-sizing:border-box;margin:12px 0;border:1px solid #ead4a8b3;border-radius:12px;overflow:hidden;background:linear-gradient(115deg,#59411a,#101617 70%);color:#f8e3b6;display:flex;align-items:center;padding:12px}.yh-banners .banner-member-preview>img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain;opacity:1;margin:0;border-radius:0}.banner-preview-shade{position:absolute;inset:0;background:linear-gradient(90deg,#080c10e8,#080c1080)}.banner-member-preview>div{position:relative;z-index:1;min-width:0}.banner-member-preview b{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.banner-member-preview p{font-size:11px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:4px 0 0;color:#d8d1bc}@media(max-width:600px){.banner-image-slots{grid-template-columns:1fr}}
