/* Decorate on phones, premium pass: see decor-premium.js */
@media(max-width:760px){
 /* the room sits above the drawer instead of behind it */
 html body.ui2.ui2.ui2.v2-trying[data-mode][data-place=home]:not(.gm-open) #main>.bedroom-scene{transform:none!important;bottom:calc(var(--dp-bar,190px) - 22px)!important}
 html body.v2-trying #sq-dock{visibility:hidden}
 /* the name sign hanging over the room */
 .dp-sign{position:fixed;z-index:79;left:50%;top:calc(var(--sat,0px) + 34px);translate:-50% 0;transform-origin:50% -30px;padding:10px 22px 12px;border-radius:16px;background:linear-gradient(180deg,#e2b07c,#c98a55 55%,#b8784a);border:3px solid #fff3e2;box-shadow:0 4px 0 #8c5a33,0 10px 18px #5a3b2a40,inset 0 2px 0 #ffffff55;pointer-events:none;animation:dp-sign-in .5s cubic-bezier(.3,1.4,.5,1) both}
 .dp-sign.off{display:none}
 .dp-sign b{display:block;font:900 22px/1.1 "Grandstander",ui-rounded,sans-serif;color:#fff;letter-spacing:.3px;white-space:nowrap;text-shadow:0 2px 0 #8c5a33}
 .dp-rope{position:absolute;top:-34px;width:3px;height:37px;border-radius:2px;background:linear-gradient(#d9c2a6,#a88a6a)}
 .dp-rope.l{left:22%}.dp-rope.r{right:22%}
 .dp-rope:after{content:"";position:absolute;left:50%;bottom:-3px;width:9px;height:9px;margin-left:-4.5px;border-radius:50%;background:#f7e6cf;box-shadow:0 1px 0 #8c5a33}
 @keyframes dp-sign-in{from{translate:-50% -90px}}
 html body .v2-try-bar.dp .v2-try-name{display:none!important}
 /* top row: one Rooms | Furniture switch on the left, Undo and ✓ the same size on the right */
 html body .v2-try-bar.dp .v2-dr-top{gap:10px;margin-bottom:10px}
 html body .v2-try-bar.dp .v2-dr-tabs{gap:0;padding:4px;border-radius:20px;background:#efe4f6;box-shadow:inset 0 2px 3px #b493d633}
 html body .v2-try-bar.dp .v2-dr-tabs+.v2-try-name+.v2-dr-undo{margin-left:auto}
 html body .v2-try-bar.dp .v2-dr-tabs button{width:58px;height:46px;border:0;border-radius:16px;background:transparent;box-shadow:none;padding:4px;opacity:.6;transition:background .2s,opacity .2s}
 html body .v2-try-bar.dp .v2-dr-tabs button.on{background:#fff;opacity:1;box-shadow:0 2px 0 #d9cbe5,0 4px 10px #6b4a8a22}
 html body .v2-try-bar.dp :is(.v2-dr-undo,.v2-dr-done){width:54px;height:54px;font-size:28px}
 html body .v2-try-bar.dp .v2-dr-done{box-shadow:0 4px 0 #3e9a6c,0 6px 14px #2e7a5240}
 /* one gold Unlock button in the middle of the top row */
 html body .v2-try-bar.dp .v2-dr-get{position:relative;flex:none;width:auto;height:54px;display:flex;align-items:center;gap:6px;padding:4px 16px 4px 6px;border-radius:28px;border:3px solid #fff;background:linear-gradient(#ffe9a6,#ffcf5c);box-shadow:0 4px 0 #d29a2e,0 8px 16px #8a5a1633;animation:dp-get 2.2s ease-in-out infinite}
 html body .v2-try-bar.dp .v2-dr-get img{width:40px;height:40px}
 html body .v2-try-bar.dp .v2-dr-get i{display:none}
 html body .v2-try-bar.dp .v2-dr-get .dp-unlock{font:900 19px/1 "Grandstander",ui-rounded,sans-serif;color:#7a4a12}
 html body .v2-try-bar.dp .v2-dr-get{margin:0 auto}
 @keyframes dp-get{0%,100%{scale:1}50%{scale:1.05}}
 /* cards: named, snapping, the next one peeks in */
 html body .v2-try-bar.dp .v2-dr-items{scroll-snap-type:x mandatory;scroll-padding:0 30px;padding:6px 30px 10px;margin:0 -12px;gap:12px}
 html body .v2-try-bar.dp :is(.v2-dr-room,.v2-dr-piece){scroll-snap-align:center}
 html body .v2-try-bar.dp .v2-dr-room{width:138px;height:96px;border-radius:18px}
 html body .v2-try-bar.dp .v2-dr-room.on{scale:1.06;border-color:#fff;box-shadow:0 0 0 4px #b48ae0,0 0 22px 6px #d9c2f5,0 5px 0 #9b74c4}
 html body .v2-try-bar.dp .dp-name{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:14px 6px 5px;background:linear-gradient(#0000,#3b2350b3);color:#fff;font:800 12px/1.1 "Grandstander",ui-rounded,sans-serif;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}
 html body .v2-try-bar.dp .v2-dr-piece .dp-name{display:none}
 html body .v2-try-bar.dp .v2-tag{width:24px;height:24px;right:5px;top:5px;border-radius:8px}
 html body .v2-try-bar.dp .v2-tag b{font-size:12px}
}
@media(max-width:760px) and (prefers-reduced-motion:reduce){.dp-sign,html body .v2-try-bar.dp .v2-dr-get{animation:none}}
/* phones: the top row always fits on one line */
@media(max-width:760px){
 html body .v2-try-bar.dp .v2-dr-top{gap:8px;flex-wrap:nowrap}
 html body .v2-try-bar.dp .v2-dr-tabs button{width:48px;height:42px;padding:3px}
 html body .v2-try-bar.dp :is(.v2-dr-undo,.v2-dr-done){width:48px;height:48px;font-size:24px}
 html body .v2-try-bar.dp .v2-dr-undo svg{width:24px;height:24px}
 html body .v2-try-bar.dp .v2-dr-get{height:48px;padding:3px 13px 3px 4px;gap:4px;min-width:0}
 html body .v2-try-bar.dp .v2-dr-get img{width:36px;height:36px}
 html body .v2-try-bar.dp .v2-dr-get .dp-unlock{font-size:17px}
}
@media(max-width:360px){
 html body .v2-try-bar.dp .v2-dr-top{gap:6px}
 html body .v2-try-bar.dp .v2-dr-tabs button{width:42px}
 html body .v2-try-bar.dp .v2-dr-get img{display:none}
 html body .v2-try-bar.dp .v2-dr-get{padding:3px 14px}
 html body .v2-try-bar.dp :is(.v2-dr-undo,.v2-dr-done){width:44px;height:44px}
}
