.hero-scenes {
  container-type: size;
}

.hero-room-decor {
  --room-image-width: max(100cqw, 150cqh);
  --room-image-height: max(100cqh, calc(100cqw / 1.5));
  position: absolute;
  z-index: 2;
  left: calc((100% - var(--room-image-width)) * .655);
  top: var(--motion-inside-y, calc((100% - var(--room-image-height)) * .572));
  width: var(--room-image-width);
  height: var(--room-image-height);
  pointer-events: none;
}

/* Interactive decor item reset & hover cue */
.hero-room-item {
  position: absolute;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: #fff6e2;
  appearance: none;
  pointer-events: none;
  cursor: zoom-in;
  outline-offset: 6px;
  transition: transform .36s cubic-bezier(.22, .75, .22, 1), filter .36s ease;
}

.hero[data-view="inside"] .hero-room-item {
  pointer-events: auto;
}

.hero-room-item:focus-visible {
  outline: 2px solid #f7dc9e;
  outline-offset: 6px;
  border-radius: 8px;
}

.hero-room-hit {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.hero-room-hit:focus-visible {
  outline: 2px solid #f7dc9e;
  outline-offset: 4px;
  border-radius: 10px;
}

.decor-hint {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 6;
  transform: translate(-50%, 6px);
  padding: 4px 11px;
  border: 1px solid #f5ddb166;
  border-radius: 999px;
  background: #101d17e8;
  box-shadow: 0 6px 18px #070e0b7a;
  color: #f8e8c8;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.35;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .26s ease, transform .26s cubic-bezier(.22, .75, .22, 1);
}

.hero-room-item:hover .decor-hint,
.hero-room-item:focus-visible .decor-hint {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Floating hover pill action bar for vase (查看鲜花 + 浇水) & plush (查看玩偶 + 互动) */
.decor-toolbar {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 2px);
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 10px;
  transform: translate(-50%, 6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease, transform .24s cubic-bezier(.22, .75, .22, 1);
}

.hero-room-item:hover .decor-toolbar,
.hero-room-item:focus-within .decor-toolbar {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.decor-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 30px;
  padding: 4px 11px;
  border: 1px solid rgba(245, 221, 177, .46);
  border-radius: 999px;
  background: rgba(16, 29, 23, .92);
  box-shadow: 0 6px 18px rgba(7, 14, 11, .52);
  color: #f8e8c8;
  font-size: .78rem;
  font-weight: 550;
  letter-spacing: .06em;
  line-height: 1.3;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .18s ease;
}

.decor-pill:hover {
  background: rgba(30, 52, 40, .96);
  border-color: #f4d69c;
  transform: translateY(-1px);
}

.decor-pill-water {
  background: rgba(22, 54, 62, .94);
  border-color: rgba(154, 226, 245, .58);
  color: #dff7ff;
}

.decor-pill-water:hover {
  background: rgba(30, 76, 88, .98);
  border-color: #a6e6f8;
}

.decor-pill-water svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  flex-shrink: 0;
}

.decor-pill-accent {
  background: rgba(74, 52, 24, .94);
  border-color: rgba(244, 210, 140, .62);
  color: #fff2cf;
}

.decor-pill-accent:hover {
  background: rgba(102, 72, 32, .98);
  border-color: #fce2a6;
}

/* ==========================================================================
   1. Plush Doll (Stitch) — Skins, Grounded Lighting & Expressive Actions
   ========================================================================== */
.hero-room-plush {
  --plush-image: url('./plush-classic.webp');
  --plush-key-angle: 112deg;
  --plush-dark: #4f5860;
  --plush-mid: #aeb2ad;
  --plush-lit: #e8e6dc;
  --plush-core: rgba(24, 28, 36, .34);
  --plush-base-ao: rgba(20, 12, 6, .76);
  --plush-rim-right: rgba(235, 245, 255, .40);
  --plush-rim-left: rgba(240, 232, 212, .22);
  --plush-bounce: rgba(186, 154, 114, .22);
  --plush-bounce-pos: 74% 82%;
  --plush-filter: brightness(.84) contrast(1.06) saturate(.74) sepia(.10);
  --plush-contact: rgba(18, 10, 4, .88);
  --plush-cast: rgba(24, 14, 6, .52);
  --plush-cast-x: 34%;
  --plush-cast-left: -24%;
  --plush-cast-right: 4%;
  --plush-cast-rot: -4deg;

  left: 36.6%;
  bottom: 24.4%;
  width: 7.4%;
  aspect-ratio: 440 / 454;
  transform: translateX(-50%);
}

.hero-room-plush:hover,
.hero-room-plush:focus-within {
  transform: translateX(-50%) scale(1.04);
}

.hero-room-plush .decor-shadow {
  position: absolute;
  left: var(--plush-cast-left);
  right: var(--plush-cast-right);
  bottom: -4.8%;
  height: 18%;
  pointer-events: none;
  transform: rotate(var(--plush-cast-rot));
  background:
    radial-gradient(ellipse 17% 28% at 39% 68%, var(--plush-contact) 0%, transparent 94%),
    radial-gradient(ellipse 17% 28% at 72% 68%, var(--plush-contact) 0%, transparent 94%),
    radial-gradient(ellipse 28% 36% at 55% 63%, var(--plush-contact) 0%, transparent 96%),
    radial-gradient(ellipse 52% 48% at var(--plush-cast-x) 58%, var(--plush-cast) 0%, transparent 96%);
  filter: blur(1.2px);
  transform-origin: 50% 60%;
}

.hero-room-plush .decor-body {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 54% at 88% 24%, var(--plush-rim-right) 0%, transparent 66%),
    radial-gradient(ellipse 30% 42% at 10% 34%, var(--plush-rim-left) 0%, transparent 64%),
    radial-gradient(ellipse 56% 48% at var(--plush-bounce-pos), var(--plush-bounce) 0%, transparent 72%),
    radial-gradient(ellipse 46% 46% at 44% 58%, var(--plush-core) 0%, transparent 76%),
    linear-gradient(0deg, var(--plush-base-ao) 0%, rgba(255, 255, 255, 0) 24%),
    linear-gradient(var(--plush-key-angle), var(--plush-dark) 0%, var(--plush-mid) 54%, var(--plush-lit) 100%),
    var(--plush-image) center bottom / contain no-repeat;
  background-blend-mode: screen, screen, soft-light, multiply, multiply, multiply, normal;
  -webkit-mask: var(--plush-image) center bottom / contain no-repeat;
  mask: var(--plush-image) center bottom / contain no-repeat;
  filter: var(--plush-filter);
  transform-origin: 50% 92%;
  animation: plush-breathe 5.2s ease-in-out infinite;
  transition: filter .36s ease;
}

.hero-room-plush:hover .decor-body,
.hero-room-plush:focus-within .decor-body {
  filter: var(--plush-filter) brightness(1.08);
}

/* Plush expressive actions (in scene + lightbox) */
.hero-room-plush[data-acting="wave"] .decor-body,
.decor-showcase-art[data-acting="wave"] img {
  animation: plush-wave 1.55s cubic-bezier(.28, .82, .32, 1) both;
}
.hero-room-plush[data-acting="wave"] .decor-shadow {
  animation: plush-shadow-hop 1.55s ease both;
}

.hero-room-plush[data-acting="sip"] .decor-body,
.decor-showcase-art[data-acting="sip"] img {
  animation: plush-sip 1.85s ease-in-out both;
}

.hero-room-plush[data-acting="pose"] .decor-body,
.decor-showcase-art[data-acting="pose"] img {
  animation: plush-pose 1.65s cubic-bezier(.24, .82, .26, 1) both;
}
.hero-room-plush[data-acting="pose"] .decor-shadow {
  animation: plush-shadow-hop 1.65s ease both;
}

/* Floating playful sparkles around Stitch during an action */
.plush-fx {
  position: absolute;
  inset: -26% -18% 40%;
  z-index: 6;
  pointer-events: none;
}

.plush-fx i {
  position: absolute;
  width: clamp(6px, .62cqw, 11px);
  height: clamp(6px, .62cqw, 11px);
  border-radius: 50%;
  background: radial-gradient(circle, #fff8d6 0%, rgba(242, 206, 126, .88) 46%, transparent 76%);
  opacity: 0;
}

.plush-fx i:nth-child(1) { left: 16%; top: 44%; }
.plush-fx i:nth-child(2) { left: 52%; top: 12%; }
.plush-fx i:nth-child(3) { left: 82%; top: 38%; }

.hero-room-plush[data-acting] .plush-fx i {
  animation: plush-sparkle 1.35s ease-out both;
}
.hero-room-plush[data-acting] .plush-fx i:nth-child(2) { animation-delay: .18s; }
.hero-room-plush[data-acting] .plush-fx i:nth-child(3) { animation-delay: .32s; }

@keyframes plush-breathe {
  0%, 100% { transform: scale(1, 1) rotate(0deg); }
  50% { transform: scale(1.012, 1.02) rotate(.6deg); }
}

@keyframes plush-wave {
  0% { transform: scale(1, 1) translateY(0) rotate(0deg); }
  12% { transform: scale(1.07, .91) translateY(2%) rotate(0deg); }
  30% { transform: scale(.96, 1.07) translateY(-14%) rotate(-8deg); }
  48% { transform: scale(1.03, .97) translateY(-4%) rotate(9deg); }
  66% { transform: scale(.98, 1.04) translateY(-10%) rotate(-7deg); }
  84% { transform: scale(1.04, .95) translateY(1%) rotate(3deg); }
  100% { transform: scale(1, 1) translateY(0) rotate(0deg); }
}

@keyframes plush-sip {
  0% { transform: rotate(0deg) scale(1); }
  20% { transform: rotate(-6deg) translateY(-2%) scale(1.02, .99); }
  42% { transform: rotate(5deg) translateY(1%) scale(1.03, .97); }
  64% { transform: rotate(-5deg) translateY(-2%) scale(1.02, 1.01); }
  82% { transform: rotate(3deg) translateY(0) scale(1.01, .99); }
  100% { transform: rotate(0deg) scale(1); }
}

@keyframes plush-pose {
  0% { transform: scale(1) rotate(0deg); }
  14% { transform: scale(1.08, .90) translateY(3%); }
  36% { transform: scale(1.02, 1.06) translateY(-16%) rotate(11deg); }
  58% { transform: scale(1.05, .98) translateY(-6%) rotate(-9deg); }
  76% { transform: scale(1.04, 1.02) translateY(0) rotate(4deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@keyframes plush-shadow-hop {
  0%, 100% { transform: rotate(var(--plush-cast-rot)) scale(1); opacity: 1; }
  34%, 64% { transform: rotate(var(--plush-cast-rot)) scale(.78); opacity: .62; }
}

@keyframes plush-sparkle {
  0% { opacity: 0; transform: translateY(8px) scale(.3); }
  35% { opacity: 1; transform: translateY(-6px) scale(1.3); }
  100% { opacity: 0; transform: translateY(-20px) scale(.4); }
}

/* ==========================================================================
   2. Framed Oil Painting — Hanging on the aged wooden pillar
   ========================================================================== */
.hero-room-painting {
  --paint-frame-top: #745134;
  --paint-frame-right: #8c6340;
  --paint-frame-bottom: #311d0f;
  --paint-frame-left: #2b190d;
  --paint-frame-fillet: #8d7042;
  --paint-shadow: -3px 6px 11px rgba(14, 7, 2, .72), -1px 2px 3px rgba(10, 5, 1, .84);
  --paint-canvas-filter: brightness(.78) contrast(1.07) saturate(.86) sepia(.06);
  --paint-rake-light: rgba(236, 245, 255, .24);
  --paint-rake-shadow: rgba(16, 11, 7, .54);
  --paint-warm-bounce: rgba(220, 178, 122, .12);
  --paint-warm-pos: 92% 48%;
  --paint-cord: rgba(46, 33, 21, .92);

  left: 31.1%;
  top: 22.8%;
  width: 6.5%;
  aspect-ratio: 1199 / 1312;
  transform: perspective(55cqw) rotateY(-10deg) rotate(-1.2deg);
  transform-origin: 48% 6%;
}

.hero-room-painting:hover,
.hero-room-painting:focus-visible {
  transform: perspective(55cqw) rotateY(-8deg) rotate(-1deg) scale(1.045);
}

.hero-room-painting .decor-hint {
  bottom: calc(100% + 14px);
}

.hero-room-painting .decor-hanger {
  position: absolute;
  top: -12%;
  left: 16%;
  width: 68%;
  height: 15%;
  pointer-events: none;
}

.hero-room-painting .decor-hanger::before {
  content: '';
  position: absolute;
  inset: 14% 0 0;
  background:
    linear-gradient(to bottom right, transparent 47.5%, var(--paint-cord) 48.8%, var(--paint-cord) 51.2%, transparent 52.5%) left top / 50.5% 100% no-repeat,
    linear-gradient(to bottom left, transparent 47.5%, var(--paint-cord) 48.8%, var(--paint-cord) 51.2%, transparent 52.5%) right top / 50.5% 100% no-repeat;
  filter: drop-shadow(-1px 2px 1px rgba(12, 6, 2, .55));
}

.hero-room-painting .decor-hanger::after {
  content: '';
  position: absolute;
  top: 4%;
  left: 50%;
  width: clamp(3px, .34cqw, 6px);
  height: clamp(3px, .34cqw, 6px);
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 65% 35%, #b9935c, #49331e 55%, #1c1108 100%);
  box-shadow: -1px 2px 2px rgba(10, 5, 2, .72);
}

.hero-room-painting .decor-frame {
  position: absolute;
  inset: 0;
  display: block;
  padding: clamp(3px, .34cqw, 7px);
  border-radius: 2px;
  pointer-events: none;
  background:
    linear-gradient(110deg, var(--paint-frame-left) 0%, var(--paint-frame-bottom) 38%, var(--paint-frame-top) 76%, var(--paint-frame-right) 100%);
  border-top: 1px solid var(--paint-frame-top);
  border-right: 1px solid var(--paint-frame-right);
  border-bottom: 1px solid var(--paint-frame-bottom);
  border-left: 1px solid var(--paint-frame-left);
  box-shadow:
    var(--paint-shadow),
    inset 0 1px 0 rgba(255, 232, 194, .18),
    inset 1px 0 0 rgba(20, 10, 4, .45);
}

.hero-room-painting .decor-canvas {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 1px;
  background: center / 100% 100% no-repeat url('./teahouse-flower-painting.jpg');
  box-shadow:
    0 0 0 1px var(--paint-frame-fillet),
    inset 2px 3px 6px rgba(14, 7, 2, .68),
    inset -1px -2px 4px rgba(18, 10, 4, .38);
  filter: var(--paint-canvas-filter);
  transition: filter .36s ease;
}

.hero-room-painting:hover .decor-canvas,
.hero-room-painting:focus-visible .decor-canvas {
  filter: var(--paint-canvas-filter) brightness(1.1);
}

.hero-room-painting .decor-light {
  position: absolute;
  inset: clamp(3px, .34cqw, 7px);
  border-radius: 1px;
  pointer-events: none;
  background:
    radial-gradient(ellipse 64% 72% at var(--paint-warm-pos), var(--paint-warm-bounce) 0%, transparent 72%),
    linear-gradient(96deg, var(--paint-rake-shadow) 0%, rgba(20, 14, 9, .18) 56%, transparent 82%, var(--paint-rake-light) 100%);
  mix-blend-mode: normal;
}

/* ==========================================================================
   3. Time-of-Day Lighting Calibration (Morning / Noon / Afternoon / Night)
   ========================================================================== */
.hero-scene-inside:has(> img:last-of-type[src$="-morning.webp"]) .hero-room-plush {
  --plush-key-angle: 114deg;
  --plush-dark: #54606d;
  --plush-mid: #a7adb0;
  --plush-lit: #e8dac9;
  --plush-core: rgba(24, 30, 42, .34);
  --plush-base-ao: rgba(18, 13, 9, .78);
  --plush-rim-right: rgba(255, 228, 192, .48);
  --plush-rim-left: rgba(220, 230, 242, .26);
  --plush-bounce: rgba(228, 192, 152, .24);
  --plush-filter: brightness(.84) contrast(1.06) saturate(.74) sepia(.08);
  --plush-contact: rgba(16, 11, 7, .86);
  --plush-cast: rgba(22, 16, 12, .48);
}

.hero-scene-inside:has(> img:last-of-type[src$="-morning.webp"]) .hero-room-painting {
  --paint-frame-top: #6d523d;
  --paint-frame-right: #87664c;
  --paint-frame-bottom: #281910;
  --paint-frame-left: #22160f;
  --paint-frame-fillet: #8a704d;
  --paint-canvas-filter: brightness(.80) contrast(1.06) saturate(.84) sepia(.06);
  --paint-rake-light: rgba(255, 232, 202, .28);
  --paint-rake-shadow: rgba(14, 14, 20, .48);
  --paint-warm-bounce: rgba(245, 208, 168, .18);
}

.hero-scene-inside:has(> img:last-of-type[src$="-noon.webp"]) .hero-room-plush {
  --plush-key-angle: 110deg;
  --plush-dark: #525d66;
  --plush-mid: #b2b7b4;
  --plush-lit: #f0f1eb;
  --plush-core: rgba(20, 26, 33, .30);
  --plush-base-ao: rgba(18, 11, 5, .76);
  --plush-rim-right: rgba(235, 247, 255, .52);
  --plush-rim-left: rgba(236, 243, 248, .28);
  --plush-bounce: rgba(202, 168, 124, .24);
  --plush-filter: brightness(.88) contrast(1.07) saturate(.75) sepia(.06);
  --plush-contact: rgba(16, 9, 4, .88);
  --plush-cast: rgba(22, 13, 6, .54);
}

.hero-scene-inside:has(> img:last-of-type[src$="-noon.webp"]) .hero-room-painting {
  --paint-frame-top: #7c593c;
  --paint-frame-right: #9b714b;
  --paint-frame-bottom: #2e1d0f;
  --paint-frame-left: #26180d;
  --paint-frame-fillet: #997b4c;
  --paint-canvas-filter: brightness(.85) contrast(1.07) saturate(.88) sepia(.04);
  --paint-rake-light: rgba(238, 248, 255, .32);
  --paint-rake-shadow: rgba(14, 12, 9, .46);
  --paint-warm-bounce: rgba(226, 204, 166, .14);
}

.hero-scene-inside:has(> img:last-of-type[src$="-afternoon.webp"]) .hero-room-plush {
  --plush-key-angle: 102deg;
  --plush-dark: #523e31;
  --plush-mid: #b5997e;
  --plush-lit: #fad096;
  --plush-core: rgba(34, 18, 9, .36);
  --plush-base-ao: rgba(26, 10, 3, .82);
  --plush-rim-right: rgba(255, 196, 114, .72);
  --plush-rim-left: rgba(255, 182, 100, .30);
  --plush-bounce: rgba(255, 168, 74, .48);
  --plush-bounce-pos: 66% 86%;
  --plush-filter: brightness(.88) contrast(1.10) saturate(.84) sepia(.20);
  --plush-contact: rgba(26, 9, 2, .92);
  --plush-cast: rgba(42, 16, 4, .62);
  --plush-cast-x: 28%;
  --plush-cast-left: -30%;
}

.hero-scene-inside:has(> img:last-of-type[src$="-afternoon.webp"]) .hero-room-painting {
  --paint-frame-top: #9d632c;
  --paint-frame-right: #d9873a;
  --paint-frame-bottom: #331708;
  --paint-frame-left: #2a1408;
  --paint-frame-fillet: #c28e48;
  --paint-shadow: -4px 7px 12px rgba(24, 9, 2, .78), -1px 2px 3px rgba(18, 6, 1, .88);
  --paint-canvas-filter: brightness(.84) contrast(1.09) saturate(.95) sepia(.16);
  --paint-rake-light: rgba(255, 188, 92, .56);
  --paint-rake-shadow: rgba(26, 11, 4, .50);
  --paint-warm-bounce: rgba(255, 168, 68, .38);
  --paint-warm-pos: 96% 44%;
}

.hero-scene-inside:has(> img:last-of-type[src$="-night.webp"]) .hero-room-plush {
  --plush-key-angle: 96deg;
  --plush-dark: #3c4252;
  --plush-mid: #827062;
  --plush-lit: #e8a862;
  --plush-core: rgba(14, 16, 26, .34);
  --plush-base-ao: rgba(10, 5, 2, .86);
  --plush-rim-right: rgba(255, 180, 88, .72);
  --plush-rim-left: rgba(240, 174, 96, .28);
  --plush-bounce: rgba(255, 162, 68, .54);
  --plush-bounce-pos: 86% 68%;
  --plush-filter: brightness(.78) contrast(1.10) saturate(.80) sepia(.16);
  --plush-contact: rgba(8, 4, 1, .92);
  --plush-cast: rgba(14, 7, 3, .60);
  --plush-cast-x: 26%;
  --plush-cast-left: -30%;
  --plush-cast-right: 6%;
}

.hero-scene-inside:has(> img:last-of-type[src$="-night.webp"]) .hero-room-painting {
  --paint-frame-top: #5e3d23;
  --paint-frame-right: #88562d;
  --paint-frame-bottom: #1b0f07;
  --paint-frame-left: #1d1209;
  --paint-frame-fillet: #805f37;
  --paint-shadow: -3px 5px 10px rgba(6, 3, 1, .84), -1px 2px 3px rgba(4, 2, 1, .90);
  --paint-canvas-filter: brightness(.62) contrast(1.10) saturate(.82) sepia(.18);
  --paint-rake-light: rgba(255, 178, 92, .30);
  --paint-rake-shadow: rgba(8, 9, 15, .52);
  --paint-warm-bounce: rgba(255, 168, 76, .32);
  --paint-warm-pos: 88% 82%;
}

/* ==========================================================================
   4. Click-to-Enlarge Decor Lightbox Modal (.decor-showcase)
   ========================================================================== */
dialog:has(.decor-showcase) {
  width: min(880px, calc(100% - 24px));
  border-color: #d8ccb8;
  background: #faf6ee;
  overflow: hidden;
}

dialog:has(.decor-showcase)::backdrop {
  background: rgba(13, 24, 19, .78);
  backdrop-filter: blur(4px);
}

dialog:has(.decor-showcase) .modal-inner {
  padding: 0;
}

dialog:has(.decor-showcase) .close-button {
  background: rgba(250, 246, 238, .9);
  border: 1px solid rgba(185, 168, 138, .45);
  z-index: 3;
}

dialog:has(.decor-showcase) .close-button:hover {
  background: #ede6d8;
}

.decor-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  min-height: 450px;
  background: #faf6ee;
}

.decor-showcase-stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 36px 28px 54px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 42%, #fffdf8 0%, #f1e9da 62%, #e2d5be 100%);
  border-right: 1px solid #e6dccb;
}

.decor-showcase[data-decor="painting"] .decor-showcase-stage {
  background: radial-gradient(ellipse at 50% 38%, #2e241b 0%, #1d1610 68%, #140f0b 100%);
}

.decor-showcase-art {
  position: relative;
  display: grid;
  place-items: center;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  transition: transform .42s cubic-bezier(.22, .78, .22, 1);
  transform-origin: center center;
}

.decor-showcase-art[data-zoomed="true"] {
  transform: scale(1.62);
  cursor: zoom-out;
}

.decor-showcase-art img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 400px);
  max-height: min(58vh, 430px);
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: 50% 90%;
}

.decor-showcase[data-decor="painting"] .decor-showcase-art img {
  padding: 12px;
  border-radius: 3px;
  background: linear-gradient(135deg, #6e4a2b, #3a2212 52%, #59391f);
  border: 1px solid #9c7448;
  box-shadow:
    0 20px 44px rgba(0, 0, 0, .62),
    inset 0 0 0 2px #c8a265,
    inset 0 0 12px rgba(15, 8, 2, .55);
}

.decor-showcase[data-decor="plush"] .decor-showcase-stage {
  padding-top: 52px;
}

.decor-showcase[data-decor="plush"] .decor-showcase-art img,
.decor-showcase[data-decor="vase"] .decor-showcase-art img {
  filter: drop-shadow(0 18px 22px rgba(45, 29, 14, .28));
}

.decor-showcase[data-decor="plush"] .decor-showcase-art img {
  max-height: min(46vh, 340px);
}

.decor-showcase[data-decor="vase"][data-condition="thirsty"] .decor-showcase-art img {
  filter: saturate(.76) brightness(.94) drop-shadow(0 18px 22px rgba(45, 29, 14, .28));
}

.decor-showcase-zoom {
  position: absolute;
  bottom: 14px;
  right: 16px;
  z-index: 2;
  min-height: 34px;
  padding: 5px 13px;
  border: 1px solid rgba(135, 114, 82, .45);
  border-radius: 999px;
  background: rgba(250, 246, 238, .92);
  color: #3a2e20;
  font-size: .8rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(20, 14, 8, .12);
}

.decor-showcase-zoom:hover {
  background: #fffcf4;
}

.decor-showcase[data-decor="painting"] .decor-showcase-zoom {
  background: rgba(22, 18, 14, .82);
  border-color: rgba(226, 193, 134, .42);
  color: #f4e6c9;
}

.decor-showcase-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 36px 32px 28px;
  animation: arc-detail-in .42s ease-out both;
}

.decor-showcase-copy h2 {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.2;
}

.decor-showcase-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.decor-showcase-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 650;
  background: #e6ecd9;
  color: #295232;
}

.decor-showcase-badge[data-condition="thirsty"] {
  background: #f3e4c3;
  color: #70491b;
}

.decor-showcase-badge[data-condition="wilted"] {
  background: #ece5da;
  color: #635848;
}

.decor-showcase-desc {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.78;
}

.decor-showcase-tip {
  margin: 2px 0 0;
  color: #857863;
  font-size: .82rem;
}

.decor-showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.plush-pose-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.plush-pose-btn {
  min-height: 34px;
  padding: 4px 12px;
  border: 1px solid #d5c7af;
  border-radius: 999px;
  background: #f8f2e6;
  color: #4d3e28;
  font-size: .82rem;
  font-weight: 600;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.plush-pose-btn:hover {
  background: #efe4cf;
  border-color: #b7955c;
}

.plush-pose-btn[aria-pressed="true"] {
  background: var(--pine);
  border-color: var(--pine);
  color: #faf3e4;
}

.decor-showcase-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #e6dece;
}

.decor-switch-btn {
  min-height: 36px;
  padding: 5px 13px;
  border: 1px solid #d5cab7;
  border-radius: 999px;
  background: #f5efe3;
  color: #4f4637;
  font-size: .84rem;
  font-weight: 550;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.decor-switch-btn:hover {
  background: #eae1cf;
}

.decor-switch-btn[aria-pressed="true"] {
  background: var(--pine);
  border-color: var(--pine);
  color: #faf3e4;
}

/* ==========================================================================
   5. Owner Dashboard: Plush Wardrobe & Action Panel (#owner-plush)
   ========================================================================== */
.plush-pose-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 18px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--paper);
}

.plush-pose-panel strong {
  font-size: .95rem;
  color: var(--ink);
}

.plush-pose-panel small {
  display: block;
  color: var(--muted);
  font-size: .82rem;
}

.plush-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 16px;
}

.plush-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.plush-card[data-active="true"] {
  border-color: #849f77;
  box-shadow: 0 8px 24px rgba(32, 62, 40, .10);
}

.plush-card[data-rarity="legendary"] {
  border-color: #d6ba80;
}

.plush-card-photo {
  position: relative;
  height: 196px;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 50% 45%, #fffef9, #e8e1d2);
}

.plush-card-photo img {
  display: block;
  width: 78%;
  height: 168px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(36, 24, 12, .20));
  transition: transform .35s ease;
}

.plush-card[data-unlocked="false"] .plush-card-photo img {
  filter: saturate(.76) brightness(.90) drop-shadow(0 10px 14px rgba(36, 24, 12, .16));
}

.plush-card:hover .plush-card-photo img {
  transform: scale(1.04);
}

@media (max-width: 720px) {
  .decor-showcase {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .decor-showcase-stage {
    padding: 34px 20px 50px;
    border-right: 0;
    border-bottom: 1px solid #e6dccb;
  }

  .decor-showcase-art img {
    max-height: 44vh;
  }

  .decor-showcase-copy {
    padding: 22px 20px 22px;
  }

  .decor-showcase-switcher {
    padding-top: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-room-item,
  .decor-hint,
  .decor-toolbar,
  .decor-showcase-art {
    transition: none;
  }
  .hero-room-plush .decor-body,
  .hero-room-plush .decor-shadow,
  .hero-room-plush .plush-fx i {
    animation: none !important;
  }
}
