.costume-select+.select2-container{width:100%!important;min-width:0}
.select2-results__message{display:block!important;font-size:12px;line-height:1.5}
.select2-container .select2-selection--multiple{min-height:43px;height:auto!important;padding:4px 8px;border:1px solid #e0d5c8;border-radius:7px;background:#fff}
.select2-container .select2-search--inline .select2-search__field{max-width:100%;font:inherit;margin-top:5px}
.select2-container .select2-selection--multiple .select2-selection__choice{max-width:100%;white-space:normal;overflow-wrap:anywhere;font-size:12px}
.select2-results__option{font-size:13px;white-space:normal;overflow-wrap:anywhere}
.costume-retry{border:0;background:transparent;color:#b5662c;font-size:12px;text-align:left;margin-top:6px;padding:3px 0}
.admin-page .select2-container .select2-selection--multiple{border-color:#dce3ec;border-radius:6px;min-height:42px}
.admin-page .select2-dropdown{border-color:#dce3ec;border-radius:6px;font-family:inherit}
.admin-page .select2-search__field{min-height:24px}
.admin-page .select2-selection__choice{background:#f2f5fa;border-color:#dce3ec;color:#445975}
.admin-page .select2-container--default .select2-results__option--highlighted[aria-selected]{background:#466990}
/* Keep complete skin names readable in the mobile filter and admin editor. */
.costume-select+.select2-container .select2-selection--multiple .select2-selection__choice{max-width:calc(100% - 8px)!important;align-items:flex-start!important}
.costume-select+.select2-container .select2-selection__choice__display{white-space:normal!important;text-overflow:clip!important;overflow:visible!important;overflow-wrap:anywhere;min-width:0;line-height:1.5}
.costume-select+.select2-container .select2-selection__choice__remove{flex-shrink:0}
.admin-costume-picker{border:1px solid var(--admin-line);border-radius:8px;padding:12px;background:#fff;min-width:0}
.admin-costume-picker [hidden]{display:none!important}
.admin-costume-quick{padding-bottom:12px;border-bottom:1px solid var(--admin-line)}
.admin-costume-quick-input{min-height:74px!important;max-height:180px;resize:vertical;margin:0!important}
.admin-costume-quick-actions{display:flex;align-items:center;gap:12px;margin-top:8px;min-height:30px;font-size:11px;color:var(--admin-muted)}
.admin-costume-run{border:1px solid var(--admin-accent);border-radius:5px;padding:5px 12px;background:var(--admin-accent);color:#fff;font:inherit;font-size:11px}
.admin-costume-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0 9px;color:var(--admin-muted);font-size:11px}
.admin-costume-chips{display:flex;flex-wrap:wrap;gap:6px;max-height:130px;overflow-y:auto;margin:0 0 12px}
.admin-costume-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border:1px solid var(--admin-line);border-radius:5px;background:var(--admin-bg);color:var(--admin-ink);font-size:11px;max-width:100%}
.admin-costume-chip>span{overflow-wrap:anywhere;min-width:0}
.admin-costume-remove{border:0;background:transparent;color:inherit;font-size:18px;line-height:1;padding:2px 4px;flex-shrink:0}
.admin-costume-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:8px}
.admin-costume-toolbar input{flex:1;width:100%;min-width:0;margin:0!important}
.admin-costume-total{white-space:nowrap;color:var(--admin-muted);font-size:11px}
.admin-costume-heroes{max-height:340px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;border:1px solid var(--admin-line);border-radius:6px}
.admin-costume-hero+.admin-costume-hero{border-top:1px solid var(--admin-line)}
.admin-costume-hero-button{display:flex;align-items:center;gap:10px;width:100%;min-height:38px;padding:8px 10px;border:0;background:#fff;text-align:left;color:var(--admin-ink);font:inherit;font-size:12px}
.admin-costume-hero-button:hover,.admin-costume-hero-button[aria-expanded=true]{background:var(--admin-bg)}
.admin-costume-hero-button[data-selected=true] .admin-costume-hero-name{color:var(--admin-accent-dark);font-weight:600}
.admin-costume-hero-count{margin-left:auto;color:var(--admin-muted);font-size:10px;padding:1px 6px;background:var(--admin-bg);border-radius:4px}
.admin-costume-arrow{font-size:21px;line-height:1;color:var(--admin-muted);transform:rotate(0deg)}
.admin-costume-hero-button[aria-expanded=true] .admin-costume-arrow{transform:rotate(90deg)}
.admin-costume-hero-panel{padding:4px 9px 8px 17px;background:#fdfdfe}
.admin-costume-option{display:flex!important;align-items:center;gap:10px;padding:8px!important;margin:0!important;border-radius:4px;font-size:12px!important;font-weight:400!important;cursor:pointer;overflow-wrap:anywhere}
.admin-costume-option:hover,.admin-costume-option:focus-within{background:var(--admin-bg)}
.admin-costume-option:has(input:checked){background:#fff8f2;color:var(--admin-accent-dark)}
.admin-costume-option input{width:16px!important;height:16px!important;min-height:0!important;flex-shrink:0;margin:0!important;accent-color:var(--admin-accent)}
.admin-costume-status,.admin-costume-empty{font-size:11px;color:var(--admin-muted);padding:7px 0}
.admin-costume-status:empty{display:none}
.admin-costume-pending{display:grid;gap:7px;margin-top:9px}
.admin-costume-pending-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) auto;gap:8px;align-items:center;padding:8px;border:1px solid var(--admin-line);border-radius:5px;background:var(--admin-bg)}
.admin-costume-original{font-size:11px;color:var(--admin-ink);overflow-wrap:anywhere}
.admin-costume-pending-row select{height:34px!important;padding:5px 7px!important;font-size:11px!important}
.admin-costume-unmatched{color:var(--admin-muted);font-size:11px}
.admin-costume-picker button:focus-visible,.admin-costume-option:focus-within{outline:2px solid var(--admin-accent);outline-offset:-2px}
@media(max-width:560px){.admin-costume-picker{padding:10px}.admin-costume-heroes{max-height:300px}.admin-costume-chips{max-height:100px}.admin-costume-pending-row{grid-template-columns:minmax(0,1fr) auto}.admin-costume-pending-row>select,.admin-costume-pending-row>.admin-costume-unmatched{grid-row:2;grid-column:1/-1}}
.admin-costume-hero-button[aria-expanded=true]{position:sticky;top:0;z-index:1}
