.kg-character-backdrop{z-index:2147483000;background:var(--flkrk3b,#0009);color:var(--flkrk30,#ffffffe6);justify-content:center;align-items:center;padding:16px;font-family:InterVariable,Inter,ui-sans-serif,system-ui,sans-serif;display:flex;position:fixed;inset:0}.kg-character-dialog{border:1px solid var(--flkrk3x,#ffffff12);background:var(--flkrk310,#171717);border-radius:16px;flex-direction:column;width:min(888px,100%);max-height:calc(100vh - 32px);display:flex;overflow:hidden}.kg-character-header{border-bottom:1px solid var(--flkrk3x,#ffffff12);justify-content:space-between;align-items:center;padding:20px 24px;font-size:18px;font-weight:600;display:flex}.kg-character-body{gap:16px;min-height:0;padding:24px;display:flex;overflow:auto}.kg-character-grid{background:var(--flkrk312,#262626);border-radius:12px;flex:auto;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));align-content:start;gap:8px;padding:12px;display:grid}.kg-character-tile{background:var(--flkrk315,#ffffff0d);color:var(--flkrk33,#fff9);font:inherit;cursor:pointer;border:2px solid #0000;border-radius:8px;flex-direction:column;align-items:center;gap:4px;padding:8px 4px;font-size:12px;display:flex}.kg-character-tile:hover{color:var(--flkrk30,#ffffffe6)}.kg-character-tile[aria-pressed=true]{border-color:var(--flkrk31x,#6886f2);color:var(--flkrk30,#ffffffe6)}.kg-character-tile img,.kg-character-preview img{image-rendering:pixelated}.kg-character-tile img{width:32px;height:64px}.kg-character-preview{background:var(--flkrk312,#262626);border-radius:12px;flex-direction:column;flex:0 0 280px;justify-content:center;align-items:center;gap:12px;padding:24px;display:flex}.kg-character-preview img{width:96px;height:192px}.kg-character-pill{background:var(--flkrk3b,#0009);color:var(--flkrk319,#fff);white-space:nowrap;border-radius:999px;padding:2px 8px;font-size:13px}.kg-character-empty{color:var(--flkrk33,#fff9);text-align:center;font-size:14px}.kg-character-footer{border-top:1px solid var(--flkrk3x,#ffffff12);justify-content:flex-end;align-items:center;gap:8px;padding:16px 24px;display:flex}.kg-character-error{color:var(--flkrk31r,#eb5252);margin-right:auto;font-size:14px}.kg-character-button{height:36px;font:inherit;cursor:pointer;background:var(--flkrk315,#ffffff0d);color:var(--flkrk30,#ffffffe6);border:0;border-radius:8px;padding:0 16px;font-size:14px;font-weight:500}.kg-character-button[data-kind=primary]{background:var(--flkrk31v,#303fe0);color:var(--flkrk319,#fff)}.kg-character-button:disabled{opacity:.3;cursor:default}@media (max-width:640px){.kg-character-body{flex-direction:column-reverse}.kg-character-preview{flex-basis:auto}}
