.custom-badge-dialog{width:min(450px,calc(100vw - 30px));max-height:calc(100svh - 40px);overflow:auto;background:#111;color:#eee;border:1px solid #ffffff12;border-radius:20px;padding:18px;box-shadow:0 24px 90px #0009;font:inherit}.custom-badge-dialog::backdrop{background:#000b}.custom-badge-dialog form{display:grid;gap:14px}.custom-badge-dialog header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.custom-badge-dialog h2{font-size:16px;margin:0}.custom-badge-dialog header button{background:none;border:0;font-size:24px;color:#aaa;cursor:pointer}.custom-badge-dialog label{display:grid;gap:8px;font-size:14px}.custom-badge-dialog input:not([type=file]){width:100%;min-width:0;background:#080808;color:#eee;border:1px solid transparent;border-radius:15px;padding:14px;font:inherit;outline:0}.custom-badge-dialog input:focus{border-color:#765134}.custom-badge-image{position:relative;height:125px;border:1px solid #ffffff12;border-radius:12px;overflow:hidden}.custom-badge-image>[data-pick]{width:100%;height:100%;border:0;background:none;color:#888;font:inherit;font-size:13px;cursor:pointer;padding:0}.custom-badge-image img{width:100%;height:100%;object-fit:cover}.custom-badge-image>[data-remove]{position:absolute;top:8px;right:8px;border:0;border-radius:9px;background:#271b1be8;color:#f55;width:32px;height:32px;font-size:22px;cursor:pointer}.custom-badge-preview{display:flex;align-items:center;justify-content:center;gap:12px;background:#191919;border:1px solid #ffffff08;border-radius:18px;padding:18px;min-width:0}.custom-badge-preview>strong{font-size:18px}.custom-badge-pill{display:inline-flex;align-items:center;border:1px solid #ffffff10;border-radius:20px;padding:5px 9px;background:#262626}.custom-badge-pill img{width:23px;height:23px;object-fit:contain;filter:none!important}.custom-badge-dialog footer{display:flex;gap:10px;margin-top:14px}.custom-badge-dialog footer button{flex:1;min-height:42px;border:1px solid #744219;border-radius:22px;background:#332113;color:#eee;cursor:pointer;font:inherit;font-size:13px}.custom-badge-dialog footer button+button{background:#191919;border-color:#252525}.custom-badge-error{color:#f7a69d;font-size:13px;margin:0}.custom-badge-dialog [hidden]{display:none!important}.custom-badge-dialog :disabled{opacity:.55;cursor:wait}.custom-badge-dialog button:focus-visible{outline:2px solid #ba7945;outline-offset:3px}
