/* Keep furniture accessible above the decoration sheet, with no full-screen overflow. */
#w-sims .wbody,#w-room .wbody{min-width:0;overscroll-behavior:contain}
#w-sims #smbody .sm-room.garden{width:100%!important;max-width:780px!important;aspect-ratio:16/11!important;min-height:260px;height:auto!important;max-height:none!important}
#w-sims .sm-room.garden .sm-house{width:61%;left:17%;height:69%;bottom:29%}
#w-sims .sm-room.garden .sm-grass{height:35%}
#w-sims .sm-slot.chosen748{outline:3px solid #ffd84f;border-color:#fff;box-shadow:0 0 0 3px #a75083}
#w-sims .sm-slot.edit{touch-action:manipulation;min-width:24px;min-height:24px;user-select:none;-webkit-user-select:none}
#w-sims .sm-acts .sm-abtn select{max-width:100%;min-height:34px}
#w-sims .sm-acts .sm-abtn button,#w-sims .sm-pal button{min-height:34px}
#w-sims .sm-acts.open:has(#smMove748),#w-sims .sm-acts.open:has(.sm-gshop){position:relative!important;bottom:auto!important;max-height:none!important;margin:10px 0!important;overflow:visible!important;animation:none!important;border-radius:10px!important}
#w-sims .sm-room.editing{scroll-margin-top:8px;user-select:none;-webkit-user-select:none}
#w-sims .sm-room.editing .sm-obj,#w-sims .sm-room.editing .sm-deco2{touch-action:none}
#w-sims .drv-note748{background:#fff7e9;color:#674831;border:1px solid #dec9a6;border-radius:8px;padding:10px;font-size:13px;line-height:1.4;margin:8px 0;min-height:38px}
#w-angrycats .cat-controls746{gap:6px;display:flex;flex-wrap:wrap}#w-angrycats .cat-controls746 button{min-height:44px}#w-angrycats #catpower748:not(:disabled){background:#ffda74;color:#674218;font-weight:bold;box-shadow:0 0 0 2px #e9a63b}#w-angrycats .cat-help748{padding:8px;border:1px solid #e7cfbf;border-radius:8px;background:#fffaf5}#w-angrycats .cat-help748 small{margin-top:5px}#w-angrycats .cat-nav747 input{min-width:20px;min-height:20px}#w-angrycats canvas{touch-action:none;cursor:crosshair}
#w-paperdoll .pd748-modes{display:flex;gap:5px;flex-wrap:wrap;margin:6px 0}#w-paperdoll .pd748-modes button[aria-pressed=true]{background:#e87fbb;color:#fff;border-color:#b64b92}#pd748-challenge:not([hidden]){display:flex;align-items:center;gap:12px;background:#fff5e8;border:2px dashed #dca6bf;border-radius:12px;padding:8px;margin:6px 0;color:#82486d}#pd748-challenge svg{display:block;flex:none;width:78px;height:117px;border:2px solid #e7b8ce;border-radius:6px}#pd748-challenge p{margin:5px 0;font-size:12px}#w-paperdoll .pd44-left>svg{background:#fff3fa}#w-paperdoll .pd44-item{border:1px solid #fff4fc}#w-paperdoll .pd44-item:hover{background:#f9e4f6}#w-paperdoll .pd44-item[aria-pressed=true]{background:#ffe1ee;border:2px solid #dc619b}
@media(max-width:820px){#w-sims #smbody .sm-room.garden{aspect-ratio:4/3!important;min-height:250px}#w-sims .sm-room.garden .sm-house{height:63%;bottom:32%}#w-sims .sm-slot.edit{min-width:32px;min-height:32px}#w-sims .sm-acts.open:has(#smMove748),#w-sims .sm-acts.open:has(.sm-gshop){max-height:none!important}#w-angrycats .cat-controls746 label{flex:1 1 42%;font-size:12px}#w-angrycats .cat-controls746 label:first-child{flex:1 1 100%}#w-angrycats .cat-controls746 input[type=range]{min-height:36px}#w-angrycats .cat-controls746 button{flex:1 1 42%;font-size:12px}#w-paperdoll .pd748-modes button{min-height:36px;font-size:11px}}

#w-sims .sm-acts.open:has(#smMove748),#w-sims .sm-acts.open:has(.sm-gshop){max-height:38dvh!important;overflow:auto!important;overscroll-behavior:contain}#w-sims .sm-gshop,#w-sims .dk-art{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:7px;padding-bottom:7px}#w-sims .sm-gshop .sm-item,#w-sims .dk-art .sm-item{flex:0 0 100px;min-width:0}
