.mascot-chat-launch{position:absolute;left:28px;bottom:190px;z-index:4;border:1px solid #345b48;border-radius:24px;background:#fff9ee;color:#254b39;padding:10px 16px;min-height:44px;font:700 12px/1.5 "Malgun Gothic",sans-serif;cursor:pointer;box-shadow:0 2px 8px #283d2612}
.mascot-chat{position:absolute;left:28px;bottom:241px;z-index:5;width:min(330px,calc(100vw - 32px));padding:17px 18px;background:#fffaf0;color:#243c2d;border:1px solid #adbca9;border-radius:18px 18px 18px 4px;box-shadow:0 8px 25px #1c35231a;font:14px/1.7 "Malgun Gothic",sans-serif}
.mascot-chat strong{font-size:13px}.mascot-chat p{margin:7px 0 10px}.mascot-chat-actions{display:flex;gap:7px;flex-wrap:wrap}.mascot-chat-actions button,.mascot-chat-actions a{font:700 12px/1.4 "Malgun Gothic",sans-serif;border:1px solid #45634c;border-radius:20px;min-height:44px;padding:10px 13px;color:#294b37;background:#f1f4e9;cursor:pointer;text-decoration:none}.mascot-chat-actions button:last-child{background:transparent;border-color:#aeb8a7;font-weight:400}.mascot-chat [hidden],.mascot-chat[hidden],.mascot-chat-launch[hidden]{display:none}.mascot-chat-launch:focus-visible,.mascot-chat-actions :focus-visible{outline:3px solid #bb693c;outline-offset:3px}
@media(max-width:600px){.mascot-chat-launch{left:16px;bottom:184px}.mascot-chat{left:16px;bottom:236px;font-size:13px;padding:13px 15px;max-height:calc(100dvh - 310px);overflow:auto}}
.mascot-chat-launch{left:auto;right:92px;bottom:174px;max-width:calc(100vw - 112px)}
.mascot-chat{left:auto;right:16px;bottom:228px;max-height:calc(100dvh - 340px);overflow:auto}
.sound-toggle{position:fixed;right:16px;bottom:174px;z-index:4;width:68px;min-height:44px;border:1px solid #345b48;border-radius:24px;background:#fff9ee;color:#254b39;font:700 11px/1.3 'Pretendard Variable',sans-serif;cursor:pointer}
body:has(dialog[open])>.sound-toggle{visibility:hidden}
@media(max-height:500px){.mascot-chat-launch{left:16px;right:auto;bottom:110px}.sound-toggle{left:134px;right:auto;bottom:110px}.mascot-chat{left:16px;right:auto;bottom:164px;width:min(330px,42vw);max-height:calc(100dvh - 265px)}body:has(#book-dialog) .mascot-chat-launch{left:190px}body:has(#book-dialog) .sound-toggle{left:308px}body:has(#book-dialog):has(.mascot-chat:not([hidden])) .room-title{visibility:hidden}body:has(#book-dialog) #status{left:auto;right:16px;transform:none;max-width:42%}}
@media(max-height:500px){.controls .pad{grid-template-columns:repeat(4,44px);grid-template-rows:44px}.controls .pad button{grid-column:auto;grid-row:auto}body:has(#book-dialog) .mascot-chat-launch,body:has(#book-dialog) .sound-toggle{bottom:118px}}
/* 11-14 우님 「째냥이와의 대화는 소리설정 밑으로, 손가락으로 움직일 때 자꾸 거슬려」: 화면에 떠 있는 버튼은 숨기고 「소리 설정」 창 안 버튼으로 연다 */
.mascot-chat-launch{display:none!important}
