/* Klexcord 1.42: scoped collection surfaces; existing game theme remains intact. */
.kc-collection-editor{--col-accent:#70e5df;--col-muted:#a5bacb;--col-surface:#111e2d;color:#eaf4ff}
.kc-col-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}.kc-col-heading h2,.kc-col-heading h3{margin:6px 0;font-size:25px}.kc-col-heading p{font-size:16px;line-height:1.55}.kc-col-eyebrow{letter-spacing:.14em;color:var(--col-accent);font-size:13px;font-weight:700}.kc-col-pill{display:inline-flex;padding:7px 12px;border-radius:10px;background:#23404e;color:#b8f9f0;font-size:14px;white-space:nowrap}.kc-col-pool{padding:20px;border-radius:18px;background:linear-gradient(130deg,#182a3b,#101c2b);margin:22px 0;border:1px solid #354557}.kc-col-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:14px;min-height:130px;border-radius:12px;transition:background .15s}.kc-col-card{position:relative;display:flex;flex-direction:column;gap:9px;padding:13px;border-radius:14px;background:linear-gradient(155deg,#243347,#162434);box-shadow:0 8px 22px #0003;border:1px solid #3b4c60;cursor:grab;min-width:0}.kc-col-card.dragging{opacity:.4}.kc-col-card b{font-size:17px;overflow-wrap:anywhere}.kc-col-card small{font-size:13px;color:#b7cadb}.kc-col-card select{margin-top:auto;max-width:100%;font-size:14px!important;padding:9px!important}.kc-col-picture{height:105px;display:grid;place-items:center;padding:8px;background:radial-gradient(ellipse at center,#50c6dd16,transparent 70%);border-radius:10px}.kc-col-picture img{pointer-events:none;height:100%;width:100%;object-fit:contain;filter:none!important}.kc-col-drop{background:#32d4bb20;outline:2px dashed #68e1cd;outline-offset:4px}.kc-col-create,.kc-col-fields{display:grid;grid-template-columns:2fr 1fr auto;gap:16px;align-items:end;margin:24px 0}.kc-col-create input,.kc-col-fields input{font-size:17px!important}.kc-col-fields{grid-template-columns:2fr 1fr;margin:0 0 18px}.kc-col-create button{min-height:45px}.kc-col-category{margin:20px 0;border-radius:17px;background:#142334;border:1px solid #31495f;overflow:hidden}.kc-col-category-head{display:flex;gap:10px;padding:16px;align-items:center;background:linear-gradient(110deg,#244051,#152737)}.kc-col-category-head button{font-size:17px;min-height:38px}.kc-col-toggle{flex:1;text-align:left;background:transparent!important;border:0!important;color:#f1f9ff!important;font-size:21px!important;font-weight:600;min-width:0;overflow-wrap:anywhere}.kc-col-category-body{padding:20px}.kc-col-category-body[hidden]{display:none!important}.kc-col-category-head .kc-col-delete{color:#ffb9b9!important}.kc-col-add{display:grid;place-items:center;min-height:185px;font-size:42px!important;border:1px dashed #658595!important;border-radius:14px!important;background:#152b38!important;color:#89ede5!important}.kc-col-add:disabled{opacity:.35}.kc-col-save{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;background:#122336f5;border-radius:12px;border:1px solid #456273;z-index:2}.kc-col-note{font-size:15px;line-height:1.6;color:#b8cadd}.kc-col-search{width:230px!important}.kc-col-search input{font-size:16px!important}.kc-col-save span{font-size:15px;color:#acd3d6}
.dy-game .dy-collection-modal{width:min(850px,94vw);background:linear-gradient(150deg,#162837,#0c1723)!important;color:#eef7ff}.dy-collection-help{font-size:17px!important;line-height:1.55;color:#bfd1df}.dy-collection-tabs{display:flex;gap:9px;overflow-x:auto;padding:8px 0 16px;scrollbar-width:thin;scrollbar-color:#537d91 #182a39}.dy-collection-tabs button{white-space:nowrap;flex:0 0 auto;padding:11px 17px!important;background:#213849!important;border:1px solid #4d677a!important;border-radius:10px!important;color:#dcebf7!important;font-size:18px!important;min-height:44px}.dy-collection-tabs button[aria-pressed="true"]{background:#285e68!important;color:#f1ffff!important;box-shadow:inset 0 -3px #84ebe1;border-color:#65c2bf!important}.dy-collection-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(142px,1fr));gap:14px;margin:18px 0}.dy-collection-item{display:flex;flex-direction:column;align-items:center;gap:9px;position:relative;padding:16px 12px;background:linear-gradient(145deg,#273e51,#142435);border-radius:14px;border:1px solid #426072;text-align:center;min-width:0;box-shadow:0 8px 20px #0002}.dy-collection-item .dy-collection-picture{width:100%;height:115px;display:grid;place-items:center}.dy-collection-item img{max-width:100%;max-height:115px;object-fit:contain}.dy-collection-item b{font-size:18px;line-height:1.3;overflow-wrap:anywhere}.dy-collection-item small{color:#90e2c6;font-size:14px}.dy-collection-item.unfound{background:#172330;border-color:#2c3b49}.dy-collection-item.unfound img{filter:grayscale(1);opacity:.28}.dy-collection-item.unfound b,.dy-collection-item.unfound small{color:#8294a5}.dy-collection-check{position:absolute;top:8px;right:10px;color:#a4f5cc;font-size:18px}.dy-collection-summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-top:12px}.dy-collection-summary h3{font-size:23px;margin:0}.dy-collection-summary strong{font-size:22px;color:#90ebe1}.dy-collection-progress{height:7px;border-radius:10px;background:#263c4d;overflow:hidden;margin:16px 0}.dy-collection-progress span{display:block;height:100%;background:linear-gradient(90deg,#48a2dd,#78edc9);border-radius:10px}.dy-collection-reward{display:flex;gap:15px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:18px;border-radius:14px;background:#213a48;border:1px solid #456775}.dy-collection-reward>div{display:flex;flex-direction:column;gap:6px}.dy-collection-reward small{color:#bdd3e2;font-size:15px}.dy-collection-reward button{background:#367769!important;color:#fff!important;border:1px solid #80c7b8!important;font-size:20px!important;min-height:46px;min-width:190px}.dy-collection-reward button:disabled{background:#2b3b48!important;border-color:#4e6070!important;color:#b1c0cc!important;opacity:1!important}.dy-collection-sync{padding:13px;background:#253d50;border-radius:10px;margin-top:16px;font-size:16px;line-height:1.5}.dy-collection-sync button{margin-top:10px}.dy-game [data-collection-message]{font-size:17px;color:#b6f6df;line-height:1.5}
@media(max-width:650px){.kc-col-create,.kc-col-fields{grid-template-columns:1fr}.kc-col-category-head{flex-wrap:wrap;padding:12px}.kc-col-toggle{flex-basis:100%}.kc-col-category-body,.kc-col-pool{padding:12px}.kc-col-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kc-col-save{flex-wrap:wrap}.kc-col-save button{width:100%}.dy-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dy-collection-item{padding:12px 8px}.dy-collection-item .dy-collection-picture{height:90px}.dy-collection-item img{max-height:90px}.dy-collection-reward button{width:100%}.dy-collection-tabs button{font-size:17px!important}.dy-collection-summary h3{font-size:21px}}
.kc-collection-editor button:not(.primary){background:#263d50;border:1px solid #537187;color:#e7f5ff;border-radius:10px;padding:9px 13px;font-family:inherit}.kc-collection-editor button.primary{background:#2f7f7c;color:#fff;border:1px solid #7fcdc2}.kc-collection-editor button:disabled{opacity:.4;cursor:not-allowed}.kc-collection-editor [data-editor-message]{font-size:16px;line-height:1.5;color:#a7e8db}

/* v1.75 admin two-column workshop */
#kc-collection-editor .kc-col-workspace{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(360px,1.15fr);gap:16px;align-items:start}
#kc-collection-editor .kc-col-pool{margin:0;min-width:0;padding:14px;background:#102033;border:1px solid #304f69;border-radius:8px}
#kc-collection-editor .kc-col-pool>.kc-col-heading{display:block}#kc-collection-editor .kc-col-pool h3{font-size:19px;margin:0 0 12px}
#kc-collection-editor .kc-col-search{display:block;max-width:none}#kc-collection-editor .kc-col-search input{width:100%}
#kc-collection-editor .kc-col-level-filter{display:flex;gap:6px;flex-wrap:wrap;padding:10px;margin:12px 0;border:1px solid #365672;border-radius:6px}
#kc-collection-editor .kc-col-level-filter legend{font-size:12px;color:#b6cddd;padding:0 5px}
#kc-collection-editor .kc-col-level-filter label{display:flex;align-items:center;gap:5px;padding:5px 8px;margin:0;font-size:13px;background:#1b334a;border-radius:4px;cursor:pointer}
#kc-collection-editor .kc-col-level-filter input{width:15px;height:15px;margin:0;accent-color:#60c9ec}
#kc-collection-editor .kc-col-level-filter button{padding:4px 9px;font-size:12px}
#kc-collection-editor [data-collection-pool]{max-height:58vh;min-height:180px;overflow:auto;padding:5px;scrollbar-width:thin;scrollbar-color:#487492 #102033}
#kc-collection-editor .kc-col-grid{grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:9px}
#kc-collection-editor .kc-col-card{padding:8px;min-width:0;border-radius:6px}#kc-collection-editor .kc-col-picture{height:70px}#kc-collection-editor .kc-col-picture img{max-height:66px}
#kc-collection-editor .kc-col-card b{font-size:13px}#kc-collection-editor .kc-col-card small{font-size:11px}#kc-collection-editor .kc-col-card select{font-size:12px;padding:5px;width:100%}
#kc-collection-editor .kc-col-right{min-width:0}#kc-collection-editor .kc-col-create{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:8px;margin:0 0 12px;padding:12px;background:#102033;border:1px solid #304f69;border-radius:8px}
#kc-collection-editor .kc-col-create button{grid-column:1/-1}#kc-collection-editor .kc-col-create label{font-size:13px}
#kc-collection-editor [data-admin-categories]{max-height:68vh;overflow:auto;padding-right:5px;scrollbar-width:thin;scrollbar-color:#487492 #102033}
#kc-collection-editor .kc-col-category-head{padding:10px;gap:6px;flex-wrap:wrap}#kc-collection-editor .kc-col-toggle{font-size:16px;min-width:0;overflow-wrap:anywhere}
#kc-collection-editor .kc-col-category-body{padding:12px}#kc-collection-editor .kc-col-fields{grid-template-columns:1fr 1fr;gap:10px}#kc-collection-editor .kc-col-fields>label:last-child{grid-column:1/-1}
#kc-collection-editor .kc-col-save{position:sticky;bottom:0;z-index:3;background:#102033f5;border:1px solid #345570;border-radius:6px;padding:12px;margin-top:14px}
@media(max-width:950px){#kc-collection-editor .kc-col-workspace{grid-template-columns:1fr}#kc-collection-editor [data-collection-pool]{max-height:40vh}#kc-collection-editor [data-admin-categories]{max-height:none}}
