/* Keep every panel within the portrait game, including narrow phones. */
body{overflow-x:hidden}body>main,.game-layout,.playarea,.canvas-wrap,.scene-top,.d-home-toolbar{min-width:0;max-width:100%;box-sizing:border-box}#low-stock-alert.stock-alert{width:calc(100% - 20px);max-width:calc(100% - 20px);box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;flex-shrink:0}#family-calendar{width:calc(100% - 20px);max-width:calc(100% - 20px);box-sizing:border-box}.toast{max-width:min(480px,calc(100vw - 32px))!important;box-sizing:border-box;white-space:normal}.modal .dialog{box-sizing:border-box;max-width:100%;overflow-x:hidden}#lc-launch{box-sizing:border-box;min-width:0;gap:8px}#lc-launch>span{flex:none}#lc-launch small{min-width:0;text-align:right;overflow-wrap:anywhere}.lc-shell,.lc-box,.lc-content,.lc-chatlog{min-width:0;box-sizing:border-box}.lc-chat-form{flex-wrap:wrap}.lc-chat-form input{width:0;min-width:110px}.lc-player .lc-person{overflow:hidden}.lc-tabs button{min-width:0;overflow-wrap:anywhere}.lc-world canvas,.lc-play,#p55-storage{max-width:100%;box-sizing:border-box}
#whatsapp-popup.l-chat-popup{top:12px!important;bottom:auto!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:min(510px,calc(100vw - 24px))!important;max-height:calc(100dvh - 24px);overflow:auto;box-sizing:border-box;z-index:90;animation:p55Notice .3s ease-out}#whatsapp-popup .wa-top{position:relative}#whatsapp-popup .wa-body{max-height:none}#whatsapp-popup .l-chat-back{font-size:23px}.p55-drying{display:grid;grid-template-columns:1fr 1fr;gap:12px}.p55-drying button{text-align:left;padding:15px;border-radius:18px;background:#e7efe0;border:2px solid #a1b899;color:#3c6c50}.p55-drying b{display:block;margin:10px 0}.p55-drying small{font-size:11px;line-height:1.5}.p55-drying svg{width:100%;height:auto;display:block}.p55-storage-view{padding:0!important}.p55-storage-view h1{font-size:23px!important}.p55-storage-view canvas{width:100%;height:auto;display:block;touch-action:none;border-radius:18px;border:2px solid #a9b9a0;background:#dbecd9}.p55-storage-note{font-size:13px;line-height:1.5;background:#edf0d9;padding:10px;border-radius:12px}.p55-chip{display:inline-block;background:#e8d7ac;color:#6c593c;padding:7px 10px;border-radius:9px;font-size:11px}.p55-react{border:0!important;background:#fff8e4!important;color:#72584c!important;border-radius:10px!important;font-size:10px!important;padding:4px 7px!important;margin-top:5px!important;min-height:0!important;box-shadow:none!important}.p55-react[aria-pressed=true]{background:#f5c4d3!important;color:#9b3e63!important}.p55-stickers{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:10px 0}.p55-stickers button{border-radius:13px!important;border:1px solid #e4c8ab!important;background:#fff7e5!important;padding:6px!important;min-width:0}.p55-stickers svg{display:block;width:100%;height:58px}.p55-stickers small{font-size:9px}.p55-chat-tools{display:flex;gap:8px;margin-top:8px}.p55-chat-tools button{font-size:11px;padding:7px 12px;border:1px solid #d5c4a4;border-radius:10px;background:#ffeed0;color:#876645}.p55-sticker-message{display:block;width:130px;max-width:100%;height:110px;animation:p55Sticker 1.7s ease-in-out infinite alternate}.lc-chatlog{background:linear-gradient(135deg,#f4f1e6,#e8f1eb);border-radius:14px;padding:10px;height:250px}.lc-bubble{box-shadow:0 2px 5px #586b7812}.lc-box:has(#lc-chatlog){border:2px solid #a3bcb4;background:#fff9ec}.lc-box:has(#lc-chatlog) h2{color:#2a7569!important}.p55-court-tip{font-size:11px;color:#5f7c74}.p55-door-button{margin:8px 0;background:#577a98!important;color:#fff!important}.p55-recipe-strip{font-size:12px;background:#fff4d8;border:1px solid #d1ba92;padding:9px;border-radius:10px}@keyframes p55Notice{from{opacity:0;translate:0 -20px}to{opacity:1;translate:0 0}}@keyframes p55Sticker{to{transform:translateY(-4px) rotate(3deg)}}@media(prefers-reduced-motion:reduce){.p55-sticker-message,#whatsapp-popup.l-chat-popup{animation:none}}@media(max-width:380px){.p55-drying{grid-template-columns:1fr}.scene-top{letter-spacing:0;font-size:8px}.scene-top #vs-map{font-size:9px;padding:4px}.wallet{gap:5px;padding:6px}.wallet b{font-size:15px}.clock strong{font-size:21px}.statusbar{gap:5px!important;padding:9px!important}.lc-tabs button{font-size:10px;padding:9px 3px}.p55-stickers{grid-template-columns:repeat(2,1fr)}}
