.match-enhanced .upload-card{width:min(1060px,100%);max-height:90vh;overflow:auto}
.match-enhanced .match-bank-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px}
.match-enhanced .match-bank-folders{display:flex;flex-direction:column;gap:12px;min-width:0;padding:16px;border:1px solid #dbe5f2;border-radius:8px;background:#f2f7ff;color:#17233d}
.match-enhanced .match-bank-folders>b{font-size:16px}
.match-enhanced .match-folder-list{display:flex;flex-direction:column;gap:7px;max-height:42vh;overflow:auto}
.match-enhanced .match-folder-list button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;padding:10px;border:1px solid #dae5f5;border-radius:6px;background:#fff;color:#243653;text-align:left;font:800 13px var(--game-font);cursor:pointer}
.match-enhanced .match-folder-list button span{min-width:0;overflow-wrap:anywhere}
.match-enhanced .match-folder-list button small{flex:none;color:#667085;font-size:11px}
.match-enhanced .match-folder-list button.active{border-color:#2f6df6;background:#eaf1ff;color:#1643a6}
.match-enhanced .match-folder-list button.active small{color:#1643a6}
.match-enhanced .match-bank-folders>button{width:100%;min-height:40px}
.match-enhanced .match-bank-content{min-width:0}
.match-enhanced .match-bank-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:0 0 12px;color:#17233d}
.match-enhanced .match-bank-heading strong{font-size:16px;overflow-wrap:anywhere}
.match-enhanced .match-bank-heading span{flex:none;color:#667085;font-size:12px}
.match-enhanced .upload-actions{margin:12px 0}
.match-enhanced #saveUploadBtn{max-width:100%;white-space:normal;overflow-wrap:anywhere}
@media(max-width:720px){.match-enhanced .upload-card{width:100%;max-height:94vh;padding:19px}.match-enhanced .match-bank-layout{grid-template-columns:minmax(0,1fr)}.match-enhanced .match-bank-folders{padding:12px}.match-enhanced .match-folder-list{max-height:160px}.match-enhanced .match-bank-heading{align-items:flex-start;flex-wrap:wrap}}
