.room-studio-modal { width: min(880px,calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; overflow-x: hidden; padding: 22px; text-align: left; }
.room-studio-modal > * { min-width: 0; }
.room-studio-header { display: grid; grid-template-columns: minmax(0,1fr) 44px; column-gap: 12px; align-items: start; }
.room-studio-modal .room-studio-header h2 { font-size: clamp(24px,5vw,32px); margin: 8px 0; line-height: 1.25; }
.room-studio-header p { font-size: 14px; margin: 6px 0 12px; line-height: 1.5; }
.room-close { position: sticky; top: 0; z-index: 3; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #f4d7dc; font-size: 28px; }
.room-balance { grid-column: 1/-1; display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 14px; background: white; border-radius: 15px; border: 1px solid #e9d0d1; margin: 2px 0 12px; font-size: 14px; }
.room-balance b { font-size: 20px; }
.room-preview { padding: 8px; border: 2px solid #e7bdc9; border-radius: 24px; background: #fffdfa; overflow: hidden; }
.room-canvas { width: 100%; max-height: 370px; height: auto; object-fit: contain; display: block; border-radius: 16px; background: #f8e6dd; }
.room-play-button { display: block; min-height: 44px; padding: 9px 18px; border: 0; border-radius: 14px; background: #f0648c; color: white; box-shadow: 0 4px 0 #c6426b; margin: 10px auto; font-size: 16px; }
.room-reaction { margin: 12px 8px 6px; min-height: 28px; font-size: 16px; line-height: 1.6; text-align: center; color: #765264; overflow-wrap: anywhere; }
.room-furniture-shop { margin-top: 24px; }
.room-furniture-shop h3 { font-size: 22px; margin: 8px 0; }
.room-shop-explainer,.room-fair-note { font-size: 14px; line-height: 1.6; margin: 7px 0; }
.room-fair-note { color: #7a6a75; }
.room-furniture-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-top: 16px; }
.room-furniture-card { min-width: 0; padding: 14px 12px; border: 1px solid #e9cdd7; border-radius: 20px; background: #fffdfa; display: flex; flex-direction: column; gap: 6px; }
.room-furniture-icon { font-size: 30px; }
.room-furniture-card h4 { margin: 4px 0; line-height: 1.35; font-size: 17px; overflow-wrap: anywhere; }
.room-furniture-copy { font-size: 14px; line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
.room-included-product { margin-top: auto; padding-top: 10px; }
.room-included-product small { display: block; font-size: 12px; color: #8b747c; }
.room-included-product span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.room-price { font-size: 14px; line-height: 1.5; min-height: 24px; margin: 5px 0; }
.room-item-action { border: 2px solid #d8bac8; border-radius: 12px; min-height: 44px; padding: 8px; background: #fcebf1; font-size: 14px; white-space: normal; overflow-wrap: anywhere; }
.room-item-action[aria-pressed=true] { background: #dff3e8; border-color: #85ad99; }
.room-item-action:disabled,.room-purchase-confirm button:disabled { opacity: .55; cursor: default; }
.room-purchase-confirm { padding: 16px; border: 2px solid #efc16b; border-radius: 18px; background: #fff1c7; margin-bottom: 16px; }
.room-purchase-confirm[hidden] { display: none; }
.room-purchase-confirm h3 { font-size: 20px; margin: 0 0 10px; }
.room-purchase-confirm > b { font-size: 18px; }
.room-confirm-amount { display: block; font-size: 22px; margin-top: 8px; }
.room-purchase-confirm p { font-size: 14px; line-height: 1.6; }
.room-confirm-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.room-confirm-actions button { min-height: 44px; padding: 10px 16px; font-size: 15px; white-space: normal; }
.room-save-note { color: #786575; background: #f0eaf4; border-radius: 14px; padding: 12px; font-size: 12px; line-height: 1.7; margin: 16px 0 0; }
.room-action-status { font-size: 15px; line-height: 1.6; color: #9b3b63; overflow-wrap: anywhere; }
@keyframes room-cat-wiggle { 0%,100% { transform: rotate(0); } 30% { transform: rotate(-1deg); } 70% { transform: rotate(1deg); } }
.room-cat-bounce { animation: room-cat-wiggle .45s ease-in-out; }
@media(max-width:660px) { .room-studio-modal { padding: 18px 14px; } .room-furniture-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; } .room-furniture-card { padding: 12px 10px; } }
@media(max-height:480px) and (orientation:landscape) {
  .room-studio-modal { padding: 14px 18px; }
  .room-studio-header h2 { font-size: 23px; margin: 4px 0; }
  .room-studio-header p,.room-studio-header .eyebrow { display: none; }
  .room-balance { padding: 5px 12px; margin-bottom: 8px; }
  .room-canvas { max-height: 145px; }
  .room-preview { padding: 4px; }
  .room-play-button { margin: 6px auto; }
  .room-reaction { font-size: 14px; margin: 6px; }
}
@media(prefers-reduced-motion:reduce) { .room-cat-bounce { animation: none; } }
