.player-appearance-editor fieldset { min-width: 0; }
.player-appearance-editor input[type="file"], .player-appearance-editor select { max-width: 100%; }
.player-appearance-preview { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.player-appearance-preview > figure, .player-appearance-preview > button { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0; max-width: 100%; }
.player-appearance-preview > button[aria-pressed="true"] { outline: 3px solid var(--accent, #805318); outline-offset: 2px; }
.player-appearance-editor canvas.player-appearance-cell { display: block; box-sizing: content-box; flex: none; border: 0; padding: 0; max-width: none; image-rendering: pixelated; background: repeating-conic-gradient(#e6dfcf 0% 25%, #f9f5ec 0% 50%) 0 0 / 16px 16px; }
.player-appearance-editor canvas.player-appearance-cell[data-size="32"] { width: 96px; height: 96px; }
.player-appearance-editor canvas.player-appearance-cell[data-size="48"] { width: 192px; height: 192px; }
.player-appearance-preview-note { flex-basis: 100%; }
.player-appearance-cell[data-state="error"] { outline: 2px solid #a32722; }
.player-appearance-source { max-width: 100%; overflow-x: auto; }
.player-appearance-source table { width: max-content; border-collapse: collapse; }
.player-appearance-source th, .player-appearance-source td { padding: 6px; }
.player-appearance-source figure, .player-appearance-derived figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.player-appearance-derived { display: flex; flex-wrap: wrap; gap: 12px; max-width: 100%; }
.player-appearance-derived > p { flex-basis: 100%; }
