
/* Embedded Cozy Room: load the EXISTING scene, furniture layer, avatars, and carousel.
   This mode is opt-in only; room.html by itself is unchanged. */
html.olu162-embedded-room, html.olu162-embedded-room body {
  background:#21152a !important; margin:0!important; overflow-x:hidden!important;
}
html.olu162-embedded-room body .cw-container {max-width:1200px!important;padding:0!important;margin:0!important;}
html.olu162-embedded-room body .cw-container > :not(#cwStage):not(#starEggRevealOverlay) {display:none!important;}
html.olu162-embedded-room body .cw-container #cwStage {margin:0!important;width:100%!important;max-width:unset!important;padding:0!important;border:0!important;border-radius:12px!important;box-shadow:none!important;}
html.olu162-embedded-room body #cwStage > #art-cozy-frame {display:none!important;}
html.olu162-embedded-room body #cwStage .v672-build-marker{display:none!important;}
html.olu162-embedded-room body > nav,
html.olu162-embedded-room body > div:not(.cw-container):not(.cw-modal):not(.cw-toast),
html.olu162-embedded-room body .olu-tabs,
html.olu162-embedded-room body [data-olu-nav-fallback],
html.olu162-embedded-room body .olu-floating-stars-v160,
html.olu162-embedded-room body .olu160-hud,
html.olu162-embedded-room body #olu160StarsDock,
html.olu162-embedded-room body #olu161Treasury {display:none!important;}
html.olu162-embedded-room body .v50-carousel-panel{position:relative!important; padding:12px 8px 16px!important;max-width:100%!important;margin:0!important;border-radius:0!important;background:linear-gradient(180deg,#291b31,#1d1729)!important;}
html.olu162-embedded-room body .v50-carousel-head h2{font-size:clamp(18px,2.5vw,29px)!important;}
html.olu162-embedded-room body .v92-unlock-help{font-size:13px!important;}
html.olu162-embedded-room body #cwStage .magic-scene {max-width:100%!important;}
@media(max-width:600px){
 html.olu162-embedded-room body #cwStage{border-radius:0!important;}
 html.olu162-embedded-room body .v50-carousel-panel{padding:12px 7px 24px!important;}
}

/* V165: furniture-only shared room on feature pages. No clothing menus or room navigation. */
html.olu162-embedded-room body #cwStage {
 display:block!important;width:100%!important;margin:0 auto!important;padding:0!important;
 background:linear-gradient(160deg,#281c35,#1f182b)!important;
}
html.olu162-embedded-room body #cwStage #cwScene {display:none!important;}
html.olu162-embedded-room body #cwStage #magicScene {
 display:block!important;position:relative!important;max-width:100%!important;
 width:min(100%,470px)!important;height:auto!important;aspect-ratio:1!important;
 margin:0 auto!important;border-radius:0!important;
}
html.olu162-embedded-room body #cwStage .v50-carousel-panel {
 margin:0!important;padding:8px 9px 9px!important;border:0!important;
 box-shadow:none!important;border-radius:0!important;
 background:linear-gradient(180deg,#302139,#21182d)!important;
}
html.olu162-embedded-room body #cwStage .v50-carousel-head {min-height:31px!important;margin-bottom:3px!important}
html.olu162-embedded-room body #cwStage .v50-carousel-head h2 {font:600 18px/1.15 Georgia,serif!important;color:#fce6c1!important;}
html.olu162-embedded-room body #cwStage .v92-unlock-help {font:11px/1.3 system-ui!important;margin:0 0 6px!important;padding:0!important;}
html.olu162-embedded-room body #cwStage #v50Carousel {display:flex!important;gap:7px!important;padding:3px 2px 7px!important;scroll-snap-type:x mandatory;}
html.olu162-embedded-room body #cwStage #v50Carousel .v54-reward {
 flex:0 0 142px!important;min-height:83px!important;display:grid!important;
 grid-template-columns:42px 1fr!important;grid-template-rows:42px auto!important;
 padding:5px!important;gap:4px!important;border-radius:11px!important;
}
html.olu162-embedded-room body #cwStage #v50Carousel .v52-reward-art {grid-column:1;grid-row:1;width:42px!important;height:42px!important;}
html.olu162-embedded-room body #cwStage #v50Carousel .v52-reward-name {grid-column:2;grid-row:1;font-size:11px!important;min-height:0!important;}
html.olu162-embedded-room body #cwStage #v50Carousel .v52-reward-bottom {grid-column:1/-1;padding:0!important;gap:3px!important;flex-wrap:nowrap!important;}
html.olu162-embedded-room body #cwStage #v50Carousel .v52-reward-state {font-size:10px!important;padding:3px!important;}
html.olu162-embedded-room body #cwStage #v50Carousel .v52-reward-cost {font-size:11px!important;}
html.olu162-embedded-room body #cwStage #v50Carousel .v54-reward[data-item="garden_door"] {display:none!important;}
html.olu162-embedded-room body #cwStage #v52Whisper {font-size:11px!important;min-height:0!important;margin:2px 0!important;}
html.olu162-embedded-room body #cwStage .v50-arrows button {min-height:36px!important;width:36px!important;padding:0!important;}
/* Interactive egg and avatars remain; doors and navigation stay in the real room. */
html.olu162-embedded-room body #cwStage #magicScene .v37-inroom-garden-door,
html.olu162-embedded-room body #cwStage #magicScene .magic-hotspot:not([data-magic-avatar]),
html.olu162-embedded-room body #cwStage #magicScene a[href] {pointer-events:none!important;}
html.olu162-embedded-room body #starEggRevealOverlay:not([hidden]) {display:flex!important;z-index:500!important;}
html.olu162-embedded-room body #starEggRevealOverlay[hidden] {display:none!important;}
html.olu162-embedded-room body #olu165EggNotice {
 position:absolute;z-index:200;left:50%;bottom:19%;transform:translateX(-50%);
 max-width:88%;padding:7px 12px;background:#26172fe8;border:1px solid #f3cd90;
 border-radius:20px;color:#fff0d0;font:600 11px/1.3 system-ui;text-align:center;
 pointer-events:none;box-shadow:0 5px 18px #1007199c;
}
@media(max-width:600px){
 html.olu162-embedded-room body #cwStage #magicScene {width:min(100%,360px)!important;}
 html.olu162-embedded-room body #cwStage .v50-carousel-panel {padding:6px 7px 10px!important;}
 html.olu162-embedded-room body #cwStage .v50-carousel-head h2 {font-size:16px!important;}
}

/* V167: No inner vertical navigation/scroll rail for the room preview.
   Movie Night remains the ONLY page-level vertical scroller; the furniture rail
   still swipes horizontally and the full standalone Cozy Room is untouched. */
html.olu162-embedded-room,
html.olu162-embedded-room body {
  overflow-y:hidden!important;
  overflow-x:hidden!important;
  min-height:0!important;
  height:auto!important;
  scrollbar-width:none!important;
}
/* Tabs are hidden in the embedded room, so their layout reservation must be too. */
html.olu162-embedded-room body.olu-has-tabs {padding-bottom:0!important;}
html.olu162-embedded-room::-webkit-scrollbar,
html.olu162-embedded-room body::-webkit-scrollbar {display:none!important;width:0!important;}
/* Defensive guard even if an old cached chat script injects its own launcher. */
html.olu162-embedded-room body .olu-chat-launcher,
html.olu162-embedded-room body .olu-chat-panel,
html.olu162-embedded-room body.olu-has-tabs .olu-chat-launcher:not([hidden]) {display:none!important;}
