/* Decorate with the magic wand (Mac, 2026-10-18): see tryBar() in v2-lab.js. Replaces the Decorate card (iPad) and the
   paintbrush (phones) and the bottom drawer. */
html body.ui2.ui2.ui2.ui2 #main .room-tools [data-action="displays"],html body.ui2.ui2.ui2.ui2 #main .room-tools [data-room-shop],html body.ui2.ui2.ui2.ui2 #main .page-heading [data-action="roomedit"],html body .room-tools [data-action="displays"],html body .page-heading [data-action="roomedit"]{display:none!important}

/* the wand button */
.dw-wand{position:fixed;z-index:40;left:calc(var(--sal,0px) + 24px);bottom:calc(var(--sab,0px) + 24px);width:92px;height:92px;padding:0;border-radius:50%;border:5px solid #fff;
 background:radial-gradient(circle at 50% 30%,#fff,#f3e9ff);box-shadow:0 10px 22px #5b3a7a40,inset 0 -6px 0 #e3d3f3;display:grid;place-items:center;cursor:pointer;-webkit-tap-highlight-color:transparent}
.dw-wand img{width:62px;height:62px;pointer-events:none;animation:dw-wiggle 3.2s ease-in-out infinite}
.dw-wand .dw-ring{position:absolute;inset:-10px;border-radius:50%;border:4px solid #fff;pointer-events:none;animation:dw-ring 2.2s ease-out infinite}
.dw-wand:active{scale:.92}
.dw-wand[hidden]{display:none}
@media(min-width:700px) and (orientation:portrait){.dw-wand{left:16px;bottom:calc(var(--sab,0px) + 124px);width:80px;height:80px}.dw-wand img{width:54px;height:54px}}
@media(max-width:699px){.dw-wand{left:12px;bottom:auto;top:calc(var(--sat,0px) + 76px);width:60px;height:60px;border-width:4px}.dw-wand img{width:42px;height:42px}.dw-wand .dw-ring{inset:-7px;border-width:3px}}
@keyframes dw-ring{from{scale:.85;opacity:.9}to{scale:1.3;opacity:0}}
@keyframes dw-wiggle{0%,70%,100%{rotate:0deg}78%{rotate:-14deg}86%{rotate:10deg}93%{rotate:-4deg}}

/* decorating: the room stays put (no drawer), a layer of glowing spots sits over it */
html body .v2-try-bar.dw{position:fixed!important;inset:0!important;z-index:80!important;pointer-events:none!important;background:none!important;box-shadow:none!important;border:0!important;padding:0!important;margin:0!important;border-radius:0!important;height:auto!important;max-height:none!important;transform:none!important;translate:none!important;scale:none!important;rotate:none!important;filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;animation:none!important;width:auto!important;opacity:1!important;visibility:visible!important}
html body .v2-try-bar.dw>*{pointer-events:auto}
@media(max-width:760px){html body.ui2.ui2.ui2.ui2.v2-trying[data-mode][data-place=home]:not(.gm-open) #main>.bedroom-scene{bottom:var(--room-bottom,0px)!important}}
/* keep the glow and the + inside the screen when the picture is wider than it (phones) */
html body.v2-trying[data-place=home] .room-collection{opacity:0!important;pointer-events:none!important}
.dw-glow{position:fixed;border-radius:28px;border:0;padding:0;margin:0;background:#ffffff1f;outline:4px dashed #ffffffe6;outline-offset:4px;box-shadow:0 0 26px 6px #fff8;cursor:pointer;animation:dw-glow 2.4s ease-in-out infinite;-webkit-tap-highlight-color:transparent}
.dw-glow.rug{border-radius:50%;pointer-events:none!important}
.dw-glow.on{outline-color:#c89cff;outline-style:solid;background:#c89cff26;animation:none}
@keyframes dw-glow{50%{outline-color:#ffffff66;box-shadow:0 0 12px 2px #fff5}}
.dw-spot{position:fixed;display:grid;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;border-radius:50%;border:5px solid #fff;padding:0;background:radial-gradient(circle at 50% 30%,#fff,#f3e9ff);box-shadow:0 0 0 8px #b98cf055,0 10px 20px #5b3a7a40;cursor:pointer;-webkit-tap-highlight-color:transparent}
.dw-glow .dw-spot{position:absolute;left:50%;top:50%;pointer-events:none}
.dw-spot img{width:52px;height:52px}
.dw-spot b{font:900 46px/1 "Grandstander",ui-rounded,sans-serif;color:#8a5cc8;margin-top:-4px}
.dw-spot::after{content:'';position:absolute;inset:-16px;border-radius:50%;border:4px solid #fff;animation:dw-ring 1.9s ease-out infinite;pointer-events:none}
.dw-spot.on,.dw-glow.on .dw-spot{box-shadow:0 0 0 8px #b98cf0,0 10px 20px #5b3a7a40}
.dw-spot.on::after,.dw-glow.on .dw-spot::after{animation:none;opacity:0}
@media(max-width:699px){.dw-spot{width:60px;height:60px;margin:-30px 0 0 -30px;border-width:4px}.dw-spot img{width:40px;height:40px}.dw-spot b{font-size:36px}}

/* the choices bubble */
.dw-pop{position:fixed;left:var(--ax);top:var(--ay);display:flex;gap:12px;padding:14px;border-radius:30px;background:#fff;box-shadow:0 18px 44px #3a244a40;max-width:calc(100vw - 28px);overflow-x:auto;scrollbar-width:none;animation:dw-pop .28s cubic-bezier(.3,1.4,.5,1) both}
.dw-pop::-webkit-scrollbar{display:none}
.dw-pop.furn{translate:0 -100%}
@keyframes dw-pop{from{opacity:0;scale:.85}}
.dw-pop:not(.sheet){overflow:visible}
.dw-pop:not(.sheet)::after{content:'';position:absolute;left:var(--tail,50%);margin-left:-18px;border:18px solid transparent}
.dw-pop.walls:not(.sheet)::after{top:-30px;border-bottom-color:#fff;border-top:0}
.dw-pop.furn:not(.sheet)::after{bottom:-30px;border-top-color:#fff;border-bottom:0}
.dw-card{position:relative;flex:none;padding:0;border:0;border-radius:20px;background:#f7f1fb;box-shadow:inset 0 -5px 0 #e9def3;cursor:pointer;transition:translate .2s,box-shadow .2s;-webkit-tap-highlight-color:transparent}
.dw-card.room{width:150px;height:108px;overflow:hidden}
.dw-card.room .v2-room-preview{position:absolute;inset:5px;border-radius:15px;width:auto;height:auto;margin:0}
.dw-card.piece{width:104px;height:104px;display:grid;place-items:center}
.dw-card.piece .v2-furn{width:84px;height:84px}
.dw-card.on{translate:0 -6px;box-shadow:0 0 0 5px #b98cf0,0 12px 22px #8a5cc855}
.dw-card:active{scale:.94}
.dw-card .v2-tag{right:6px;top:6px}
.dw-card.locked .v2-furn{opacity:.75}
.dw-get{flex:none;width:108px;height:108px;border-radius:24px;border:4px solid #fff;background:linear-gradient(#ffe9a6,#ffcf5c);box-shadow:0 5px 0 #d6a43a,0 10px 18px #a0700040;display:grid;place-items:center;cursor:pointer;animation:dw-get 1.4s ease-in-out infinite}
.dw-get img{width:70px;height:70px}
@keyframes dw-get{50%{scale:1.06}}
/* phones: the bubble is a sheet along the bottom, above Undo / ✓ */
.dw-pop.sheet{left:10px;right:10px;top:auto;bottom:calc(var(--sab,0px) + 92px);translate:none;border-radius:26px;padding:12px;gap:10px}
.dw-pop.sheet .dw-card.room{width:124px;height:90px}
.dw-pop.sheet .dw-card.piece{width:88px;height:88px}.dw-pop.sheet .dw-card.piece .v2-furn{width:70px;height:70px}
.dw-pop.sheet .dw-get{width:90px;height:90px}.dw-pop.sheet .dw-get img{width:58px;height:58px}

/* Undo and ✓ in the corner */
.dw-ctl{position:fixed;right:calc(var(--sar,0px) + 22px);bottom:calc(var(--sab,0px) + 22px);display:flex;align-items:center;gap:14px}
.dw-undo,.dw-done{display:grid;place-items:center;border-radius:50%;border:5px solid #fff;padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
.dw-undo{width:64px;height:64px;background:#fff;box-shadow:0 8px 18px #3a244a30}
.dw-undo svg{width:30px;height:30px;fill:none;stroke:#7a5a9a;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.dw-undo:disabled{opacity:0;pointer-events:none}
.dw-done{width:92px;height:92px;background:radial-gradient(circle at 50% 30%,#7fe0ad,#3fa874);box-shadow:0 6px 0 #2f8a5c,0 12px 24px #2f7a5450;color:#fff;font:900 46px/1 ui-rounded,sans-serif}
.dw-done:active,.dw-undo:active{scale:.92}
@media(max-width:699px){.dw-ctl{right:14px;bottom:calc(var(--sab,0px) + 14px);gap:10px}.dw-undo{width:54px;height:54px;border-width:4px}.dw-done{width:68px;height:68px;font-size:34px;border-width:4px}}
@media(prefers-reduced-motion:reduce){.dw-wand img,.dw-wand .dw-ring,.dw-glow,.dw-spot::after,.dw-pop,.dw-get{animation:none!important}}
