/* Room-only finishing layer. No changes to placement geometry, inventory or touch targets. */
body.ui2{--rp-control:#f6f0e5ee;--rp-line:#87739340;--rp-ink:#615273;--rp-shadow:#2b213526}
body.ui2:is(.night-time,.rn-night,.calm-mode,[data-daylight=night]){--rp-control:#303952ed;--rp-line:#b9bdd63d;--rp-ink:#f0e7f6;--rp-shadow:#080d244d}
html:root body.ui2.ui2.ui2[data-place=home] :is(.rpano-arrow,.room-controls>button){background:var(--rp-control)!important;color:var(--rp-ink)!important;border:1px solid var(--rp-line)!important;box-shadow:inset 0 1px 0 #ffffff12,0 4px 12px var(--rp-shadow)!important;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
html:root body.ui2.ui2.ui2[data-place=home] .rpano-arrow{width:46px;height:46px;opacity:.72}
html:root body.ui2.ui2.ui2[data-place=home] .rpano-arrow[hidden]{opacity:0}
html:root body.ui2.ui2.ui2[data-place=home] .rpano-arrow:hover{opacity:1}
html:root body.ui2.ui2.ui2[data-place=home] .rpano-arrow svg{stroke:var(--rp-ink);width:21px;height:21px;stroke-width:2.4}
html:root body.ui2.ui2.ui2[data-place=home] .room-controls>.rc-toggle{width:46px;min-height:46px;padding:8px}
html:root body.ui2.ui2.ui2[data-place=home] .room-controls>.rc-toggle img{width:27px;height:27px}
html:root body.ui2.ui2.ui2[data-place=home] .rpano-dots{padding:5px 10px;gap:8px;border:1px solid var(--rp-line);background:var(--rp-control);box-shadow:0 3px 10px var(--rp-shadow);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
html:root body.ui2.ui2.ui2[data-place=home] .rpano-dots i{width:23px;height:23px;opacity:.35}
html:root body.ui2.ui2.ui2[data-place=home] .rpano-dots i.on{opacity:1;transform:scale(1.08)}
/* Scene action is now in the selected display's contents menu. */
html:root body.ui2.ui2.ui2[data-place=home] .bedroom-scene .sb-pair-play{display:none!important}
.room-pair-action{background:#e9ddea!important;color:#634d77!important;min-height:44px}
/* Physical grounding: the shelf art catches warm light; its floor shadow stays behind the toys. */
html:root body.ui2.ui2.ui2[data-place=home] .room-display.theme-rainbow{isolation:isolate}
html:root body.ui2.ui2.ui2[data-place=home] .room-display.theme-rainbow:before{content:"";position:absolute;z-index:-1;left:13%;right:8%;bottom:4%;height:7%;border-radius:50%;background:#39271c66;filter:blur(7px);transform:translate(4px,5px);pointer-events:none}
html:root body.ui2.ui2.ui2[data-place=home] .room-display.theme-rainbow>.world-art{opacity:1}
html:root body.ui2.ui2.ui2[data-place=home]:is(.night-time,.rn-night,.calm-mode,[data-daylight=night]) .room-display.theme-rainbow>.world-art{opacity:.85}
html:root body.ui2.ui2.ui2[data-place=home] .room-display.theme-rainbow:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(100deg,#25355812,transparent 52%,#ffd7a41a);mask:url(./assets/expansion-web/14-room-decor/shelf.webp) center/100% 100% no-repeat;-webkit-mask:url(./assets/expansion-web/14-room-decor/shelf.webp) center/100% 100% no-repeat;mix-blend-mode:soft-light;z-index:2}
/* Calm top tray: icon art provides the color; remove stacked bright rings and glow. */
html:root body.ui2.ui2.ui2.has-goal-bar .topbar>.tb-tray::after{opacity:.3;border-width:1px}
html:root body.ui2.ui2.ui2.has-goal-bar .topbar>.tb-tray::before{animation:none!important;opacity:.2}
html:root body.ui2.ui2.ui2.has-goal-bar .ui2-bar.ui2-bar>:is(.tb-today,.calm-mode-x,.sq-top-collection,.calm-moon,.ui2-goal,.ui2-coins){border:1px solid var(--rp-line)!important;box-shadow:inset 0 1px 0 #fff2,0 2px 4px var(--rp-shadow)!important;background:var(--rp-control)!important;color:var(--rp-ink)!important}
html:root body.ui2.ui2.ui2.has-goal-bar .ui2-bar.ui2-bar>.ui2-me{box-shadow:0 0 0 1px #bfaa72,0 2px 5px var(--rp-shadow)!important;border:1px solid var(--rp-line)!important}
html:root body.ui2.ui2.ui2.has-goal-bar .ui2-bar>.ui2-coins::after{color:var(--rp-ink)!important;-webkit-text-stroke:0!important;text-shadow:none!important}
html:root body.ui2.ui2.ui2.has-goal-bar .ui2-bar .ui2-goal-toy{animation:none!important}
/* Stable toy silhouettes and a quieter label, keeping the paged rail's measured footing. */
html:root body.ui2.ui2.ui2[data-place=home] #sq-dock .sq-dock-rail>button>.toy{width:88%!important;height:88%!important;object-fit:contain;filter:drop-shadow(0 2px 2px #2b1b2838)!important}
html:root body.ui2.ui2.ui2[data-place=home] #sq-dock .sp-plate{font-size:10px;font-weight:600;padding:1px 8px;border-radius:7px;background:var(--rp-control);color:var(--rp-ink);box-shadow:none}
html:root body.ui2.ui2.ui2[data-place=home] #sq-dock .sp-arrow{width:44px;height:44px;top:calc(var(--shelf-contact,76px) - 53px);background:radial-gradient(circle,var(--rp-control) 0 45%,transparent 48%);box-shadow:none}
html:root body.ui2.ui2.ui2[data-place=home] #sq-dock .sp-arrow.l{left:-5px}html:root body.ui2.ui2.ui2[data-place=home] #sq-dock .sp-arrow.r{right:-5px}
html:root body.ui2.ui2.ui2[data-place=home] #sq-dock .sp-arrow svg{width:14px;height:14px;stroke:var(--rp-ink);stroke-width:2.5}
html:root body.ui2.ui2.ui2[data-place=home]:is(.night-time,.rn-night,.calm-mode,[data-daylight=night]) #sq-dock:before{filter:brightness(.76) saturate(.77) drop-shadow(0 4px 3px #080d2455)}

/* Shared menu system across every screen that uses the top and bottom trays. */
html:root body.ui2.ui2.ui2 nav.bottom-nav.nd.nd::after{opacity:.3!important;border-width:1px!important}
html:root body.ui2.ui2.ui2 :is(.topbar>.tb-tray,nav.bottom-nav.nd.nd){box-shadow:inset 0 1px 0 #ffffff29,0 3px 0 #322a4426,0 8px 18px #21193233!important}
html:root body.ui2.ui2.ui2 nav.bottom-nav.nd.nd>button.active .nav-toy{filter:drop-shadow(0 5px 4px #19132b33)!important}
html:root body.ui2.ui2.ui2 nav.bottom-nav.nd.nd>button[data-view]>span:not(.nav-toy){box-shadow:none!important}
html:root body.ui2.ui2.ui2.has-goal-bar .ui2-bar .bl-roll{color:var(--rp-ink)!important;-webkit-text-stroke:0!important}

/* Street/Map belongs to the same night menu family. */
html:root body.ui2.ui2.ui2:is(.night-time,.rn-night,.calm-mode,[data-daylight=night]) .tp-switch{background:linear-gradient(#41476b,#222640)!important;box-shadow:inset 0 1px 0 #aab6d133,0 4px 9px #080d2455!important;border-color:#aab6d133!important}
html:root body.ui2.ui2.ui2:is(.night-time,.rn-night,.calm-mode,[data-daylight=night]) .tp-switch::after{border-color:#aab6d13d!important;border-width:1px!important}
html:root body.ui2.ui2.ui2:is(.night-time,.rn-night,.calm-mode,[data-daylight=night]) .tp-bead{background:linear-gradient(#617296,#404d71)!important;box-shadow:inset 0 1px 0 #d7dfff33,0 2px 4px #080d2466!important;border-color:#b4bfdb55!important}
html:root body.ui2.ui2.ui2:is(.night-time,.rn-night,.calm-mode,[data-daylight=night]) .tp-switch button.on{box-shadow:inset 0 0 0 1px #cad4ee55!important}
