.appearance-room { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
.appearance-room [hidden] { display: none !important; }
.appearance-room .appearance-viewer { min-width: 0; }
.appearance-room .appearance-stage { height: 540px; aspect-ratio: auto; background-image: none; background-color: #ff02a8; }
.appearance-room .appearance-stage > img { width: auto; height: 112%; top: 52%; left: 50%; transform: translate(-50%, -50%) scale(var(--appearance-zoom, 1)); transform-origin: 50% 45%; pointer-events: none; user-select: none; }
.appearance-room .appearance-orbit-target { position: absolute; inset: 78px 23% 26px; z-index: 1; cursor: grab; touch-action: pan-y; }
.appearance-room .appearance-orbit-target.is-dragging { cursor: grabbing; }
.appearance-slot-map { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.appearance-slot { position: absolute; width: 88px; transform: translateX(-50%); text-align: center; }
.appearance-slot-head { left: 50%; top: 3px; }
.appearance-slot-back { left: 13%; top: 94px; }
.appearance-slot-neck { left: 87%; top: 94px; }
.appearance-slot-tail { left: 11%; top: 215px; }
.appearance-slot-cuffs { left: 89%; top: 215px; }
.appearance-slot-right_hand { left: 13%; top: 336px; }
.appearance-slot-left_hand { left: 87%; top: 336px; }
.appearance-slot-shoes { left: 25%; top: 450px; }
.appearance-slot-rings { left: 75%; top: 450px; }
.appearance-slot > span { display: block; margin-top: 4px; font-size: 12px; line-height: 1.3; color: #fff; text-shadow: 0 1px 3px #45004c, 0 0 5px #45004c; }
button.appearance-slot-box { display: flex; align-items: center; justify-content: center; pointer-events: auto; width: 62px; height: 62px; min-height: 62px; margin: auto; padding: 7px; border: 2px solid #8be9fa; border-radius: 10px; color: #bfeaff; background: linear-gradient(145deg, #183a69f2, #224e87f5); box-shadow: inset 0 1px 2px #b6effc90, 0 2px 3px #340b6480; }
button.appearance-slot-box:hover { border-color: #fff6a1; }
button.appearance-slot-box[aria-pressed="true"] { border-color: #fff6a1; background: linear-gradient(145deg, #487cb7, #1c467c); box-shadow: 0 0 0 2px #fff2a577; }
button.appearance-slot-box.has-item { background: linear-gradient(145deg, #264e7d, #123c5c); }
.appearance-room .appearance-slot-box img { position: static; width: auto; height: auto; max-width: 100%; max-height: 100%; transform: none; object-fit: contain; }
.appearance-room .appearance-slot-box .appearance-slot-symbol { max-width: 38px; max-height: 38px; }
.appearance-room .appearance-slot-left_hand .appearance-slot-symbol { transform: scaleX(-1); }
.appearance-drag-help { margin-top: .65rem; text-align: center; font-size: .85rem; }
.appearance-room .appearance-controls { margin-top: .5rem; }
.appearance-slot-heading { margin: .9rem 0 .6rem; color: #fff6a1; }
.appearance-slot-empty { margin: .7rem 0; }
.appearance-slot-empty a { color: #fff6a1; }
.appearance-selection-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; margin-top: .8rem; }
.appearance-selection-actions form { margin: 0; }
.appearance-selection-actions button { white-space: normal; }
.appearance-shop-preview { margin: .8rem 0; padding: .7rem; border: 1px solid #bcecff; border-radius: .65rem; background: #113e64; }
.appearance-shop-preview form { margin-top: .65rem; }
.appearance-room .wardrobe-item { min-width: 0; }
.appearance-room .accessory-help { margin-top: .7rem; }
.treasure-offer > .quiet-button { margin-bottom: .5rem; }
@media (max-width: 1200px) { .appearance-room { grid-template-columns: 1fr; } }
@media (max-width: 440px) {
    .appearance-slot { width: 76px; }
    .appearance-slot-back, .appearance-slot-right_hand { left: 15%; }
    .appearance-slot-neck, .appearance-slot-left_hand { left: 85%; }
    .appearance-slot-tail { left: 14%; }
    .appearance-slot-cuffs { left: 86%; }
    button.appearance-slot-box { width: 56px; height: 56px; min-height: 56px; }
    .appearance-slot > span { font-size: 11px; }
}
