#game-shell .mg-appearance { width: min(610px,calc(100% - 20px)); box-sizing: border-box; }
.mg-appearance-layout { display: grid; grid-template-columns: 155px minmax(0,1fr); gap: 18px; }
.mg-appearance-preview {
    display: grid; align-content: center; justify-items: center;
    min-height: 215px; border: 1px solid #615044; border-radius: 12px; background: #23201e;
}
.mg-appearance-preview canvas { display: block; width: 130px; height: auto; image-rendering: pixelated; }
.mg-appearance-choices fieldset { min-width: 0; padding: 0; margin: 0 0 10px; border: 0; }
.mg-appearance-choices legend { margin: 0 0 5px; padding: 0; color: #f7f2ea; font-size: 13px; font-weight: 750; }
.mg-appearance-choices fieldset > div { display: grid; gap: 4px; grid-auto-columns: minmax(0,1fr); grid-auto-flow: column; }
#game-shell .mg-appearance-choices button {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 4px; min-height: 40px; padding: 5px 3px; border: 1px solid #715a4d;
    border-radius: 6px; color: #f7f2ea; background: #241e21; cursor: pointer;
    font-family: inherit; font-size: 11px; font-weight: 700; line-height: 1.15;
}
#game-shell .mg-appearance-choices button[aria-pressed="true"] { border-color: #edbbd4; background: #4d3446; }
#game-shell .mg-appearance-choices button:focus-visible { outline: 2px solid #f2afd6; outline-offset: 1px; }
.mg-appearance-color { display: block; width: 23px; height: 23px; border: 1px solid #e2c6b7; border-radius: 50%; }
#game-shell .mg-appearance-guardar {
    width: 100%; min-height: 44px; margin-top: 12px; border: 0; border-radius: 7px;
    background: #ebbbd3; color: #1c1419; font-weight: 800; cursor: pointer;
}
.mg-appearance footer p { font-size: 13px; margin: 7px 0 0; }
.mg-appearance footer p:empty { display: none; }
@media (max-width: 500px) {
    .mg-appearance-layout { grid-template-columns: minmax(0,1fr); gap: 9px; }
    .mg-appearance-preview { min-height: 136px; }
    .mg-appearance-preview canvas { width: 94px; }
}
