
.ldb-wrap{border:1px solid #e5e7eb;border-radius:12px;padding:16px;background:#fff;max-width:1200px;margin:0 auto}
.ldb-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}
.ldb-title h3{margin:0}
.ldb-search{display:flex;gap:8px;align-items:center;margin:12px 0;flex-wrap:wrap}
.ldb-search input{flex:1 1 420px;padding:10px;border:1px solid #cbd5e1;border-radius:10px}
.btn{padding:8px 12px;border:1px solid #cbd5e1;border-radius:8px;background:#111827;color:#fff;cursor:pointer;font-weight:700;font-size:12px}
.btn-danger{background:#b91c1c;border-color:#991b1b}
.ldb-results{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;margin:12px 0}
.card{border:1px solid #e5e7eb;border-radius:10px;padding:10px;background:#f8fafc;display:flex;flex-direction:column;gap:8px}
.card img{width:100%;height:auto;border-radius:6px;display:block}
.card .name{font-weight:700}
.card .meta{font-size:12px;color:#475569}
.card .actions{display:flex;gap:8px;margin-top:4px}
.ldb-deck-head{display:flex;justify-content:space-between;align-items:center;margin-top:8px;margin-bottom:8px;gap:8px;flex-wrap:wrap}
.ldb-deck-count{margin-bottom:6px}
.ldb-table{width:100%;border-collapse:separate;border-spacing:0}
.ldb-table th,.ldb-table td{padding:8px 10px;border-bottom:1px solid #e5e7eb;vertical-align:middle}
.ldb-table td.img{width:56px}
.ldb-thumb{width:48px;height:auto;border-radius:6px;display:block}
.ldb-table input[type=number]{width:60px;padding:6px;border:1px solid #cbd5e1;border-radius:8px}
.warn{color:#b45309}
.err{color:#b91c1c}
.note{color:#475569;margin:6px 0 10px}
