.appearance-editor{display:grid;grid-template-columns:minmax(170px,1fr) minmax(180px,1fr);gap:18px;text-align:left}.appearance-editor figure{margin:0;min-width:0}.appearance-editor canvas{width:100%;height:340px;display:block;touch-action:none;border-radius:8px;background:#182221}.appearance-editor figcaption{font-size:12px;text-align:center;opacity:.7}.appearance-editor label{display:block;margin:10px 0}.appearance-editor select{display:block;width:100%;margin-top:5px}.appearance-colour{display:flex;gap:8px;align-items:center}.appearance-colour input[type=color]{padding:2px;width:42px;height:34px;flex:none}.cosmetics-dialog{color:#e5dcc8;background:#192320;border:1px solid #70644e;border-radius:8px;width:min(740px,94vw);max-height:92vh;overflow:auto;padding:20px}.cosmetics-dialog::backdrop{background:#0008}.cosmetics-dialog header{display:flex;align-items:center;justify-content:space-between}.cosmetics-dialog select{padding:8px;background:#28312c;color:inherit;border:1px solid #70644e}.title-screen:has(#character-create:not([hidden])){width:min(780px,96vw)}@media(max-width:540px){.appearance-editor{grid-template-columns:1fr}.appearance-editor canvas{height:260px}}

@media(min-width:541px){.appearance-editor>div{max-height:480px;overflow:auto;padding-right:8px}.appearance-editor figure{position:sticky;top:0;align-self:start}}
