/* Alpha 6.9.0 — viewport completa, mochila acessível, edição em duas etapas */
#a49PetDialog.a684-game>.a49-sheet{display:block!important;position:relative!important;width:100vw!important;height:100dvh!important;min-height:100dvh!important;max-height:100dvh!important;padding:0!important;margin:0!important;background:#090705!important;overflow:hidden!important}
#a49PetDialog.a684-game .a49-pet-art{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-width:100%!important;min-height:100%!important;max-width:100%!important;max-height:100%!important;aspect-ratio:auto!important;display:block!important;margin:0!important;padding:0!important;overflow:hidden!important;border:0!important}
#a49PetDialog.a684-game .a56-room{position:relative!important;display:block!important;width:100%!important;height:100%!important;min-height:100%!important;max-height:100%!important;aspect-ratio:auto!important;overflow:hidden!important}
#a49PetDialog.a684-game .a56-scene{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important}
#a49PetDialog.a684-game #a684Actions{position:absolute!important;bottom:calc(env(safe-area-inset-bottom) + 8px)!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;height:auto!important;min-height:0!important;max-height:none!important;width:min(660px,calc(100% - 28px))!important;display:flex!important;gap:8px!important;flex-wrap:nowrap!important;align-items:center!important;background:transparent!important;padding:0!important;margin:0!important;z-index:80!important;pointer-events:none!important}
#a49PetDialog.a684-game #a684Actions button{pointer-events:auto!important;min-width:0!important;flex:1 1 0!important;min-height:44px!important;padding:10px 8px!important;font-size:clamp(11px,1.8vw,13px)!important;background:#261b13e8!important;backdrop-filter:blur(8px)}
/* O painel de itens usa toda a largura util, sem cortar os botoes internos. */
#a49PetDialog.a684-game #a61DecorTray:not([hidden]){position:fixed!important;top:auto!important;bottom:calc(env(safe-area-inset-bottom) + 65px)!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:min(690px,calc(100vw - 24px))!important;max-height:min(58dvh,360px)!important;min-height:0!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;padding:14px!important;overflow-y:auto!important;overflow-x:hidden!important;z-index:2147483400!important;border-radius:16px!important;background:#1b140ef7!important;box-shadow:0 12px 35px #000b!important;touch-action:pan-y!important}
#a49PetDialog.a684-game #a61DecorTray .a62-inventory{display:flex!important;flex:0 0 auto!important;width:100%!important;min-height:110px!important;overflow-x:auto!important;overflow-y:hidden!important;gap:9px!important;align-items:stretch!important;padding:4px 0 10px!important;scrollbar-width:thin!important;touch-action:pan-x!important}
#a49PetDialog.a684-game #a61DecorTray .a62-inv-card,#a49PetDialog.a684-game #a61DecorTray .a63-item{flex:0 0 110px!important;min-width:110px!important;width:110px!important;min-height:108px!important;height:auto!important;display:flex!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;position:relative!important;z-index:1!important}
#a49PetDialog.a684-game #a61DecorTray .a62-drawer-head,#a49PetDialog.a684-game #a61DecorTray .a62-drawer-foot{flex-shrink:0!important}
#a49PetDialog.a684-game #a61DecorTray .a63-hint{display:none!important}
#a690Placement{position:fixed;z-index:2147483500;bottom:calc(env(safe-area-inset-bottom) + 14px);left:50%;transform:translateX(-50%);display:flex;gap:10px;align-items:center;background:#211810ee;border:1px solid #bf955c;border-radius:14px;padding:8px 10px;color:#f8dbac;box-shadow:0 8px 30px #0009;max-width:calc(100vw - 22px)}
#a690Placement[hidden]{display:none!important}
#a690Placement span{font-size:12px;white-space:nowrap}
#a690Placement button{min-height:42px;min-width:78px;border:1px solid #e7bb7b;border-radius:11px;background:#d6a865;color:#23160b;font-weight:800;padding:9px 15px;cursor:pointer}
body.a690-placing #a49PetDialog.a684-game #a684Actions{display:none!important}
@media(orientation:landscape){#a49PetDialog.a684-game #a61DecorTray:not([hidden]){max-height:min(76dvh,300px)!important}#a49PetDialog.a684-game #a61DecorTray .a62-inventory{min-height:105px!important}}
