/* Chat takes the header space while open; footer navigation stays in its grid row. */
body.game-shell.chat-full289 #game-header,body.game-shell.chat-full289 #game-top-brand{display:none!important}
body.game-shell.chat-full289 .phone{grid-template-rows:minmax(0,1fr) auto!important}
body.game-shell.chat-full289 #game-content{grid-row:1!important}
body.game-shell.chat-full289 #game-footer{grid-row:2!important}
body #chat-panel.chat79 .chat-composer{grid-template-columns:32px 32px minmax(0,1fr) 34px 34px!important;gap:4px!important}
body #chat-panel.chat79 .chat-composer>.kg-round{width:32px!important;height:36px!important;min-width:32px!important;min-height:36px!important}
body #chat-panel.chat79 .chat-composer>.send-button,body #chat-panel.chat79 #chat-stickers289{width:34px!important;min-width:34px!important}
body #chat-panel.chat79 #chat-stickers289[aria-expanded=true]{filter:brightness(1.08)}
body #chat-panel.chat79 #chat-stickers289 .chat-sticker-open294{width:34px!important;height:34px!important;object-fit:contain;pointer-events:none}
body #chat-panel.chat79 .chat-welcome289{margin:12px auto 14px;padding:8px 3px;width:100%;max-width:420px;text-align:center;font-style:italic;color:#49301d;box-sizing:border-box}
body #chat-panel.chat79 .chat-welcome289:before,body #chat-panel.chat79 .chat-welcome289:after{content:"";display:block;width:76%;height:1px;margin:auto;background:linear-gradient(90deg,transparent,#aa813d 20%,#aa813d 80%,transparent)}
body #chat-panel.chat79 .chat-welcome289 p{margin:10px 0;font:italic 16px/1.5 var(--kg-font,Georgia,serif);overflow-wrap:anywhere}
body #chat-panel.chat79 [data-chat-welcome289]{display:inline!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:none!important;color:#6b291d!important;font:inherit!important;font-weight:bold!important;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
body #chat-panel.chat79 .chat-sticker289{display:block;width:96px;height:96px;object-fit:contain;margin:3px 0 1px;background:none;border:0}
body #chat-panel.chat79 .message-main>p:empty{display:none}
body #chat-panel.chat79 #chat-sticker-tray289{flex:0 1 auto;min-height:0;max-height:min(46dvh,336px);overflow:auto;border-top:1px solid #b18b50;padding:3px 3px 0;scrollbar-width:thin}
body #chat-panel.chat79 #chat-sticker-tray289[hidden]{display:none!important}
body #chat-panel.chat79 #chat-sticker-tray289>header{display:flex;align-items:center;gap:8px;min-height:30px;margin:0 0 2px;color:#3b2819}
body #chat-panel.chat79 #chat-sticker-tray289>header>strong{font-size:16px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body #chat-panel.chat79 #chat-sticker-menu294{position:relative;flex:none;margin-left:auto;z-index:3;color:#805c29}
body #chat-panel.chat79 #chat-sticker-pack-toggle294{display:flex;align-items:center;justify-content:center;gap:4px;box-sizing:border-box;width:70px;min-width:70px;height:30px;min-height:30px;max-height:30px;padding:3px 6px;list-style:none;cursor:pointer;border:1px solid #ad864da6;border-radius:6px;background:transparent;box-shadow:none;color:inherit}
body #chat-panel.chat79 #chat-sticker-pack-toggle294::-webkit-details-marker{display:none}
body #chat-panel.chat79 #chat-sticker-pack-toggle294>svg{display:block;width:46px;height:22px;flex:none}
body #chat-panel.chat79 #chat-sticker-pack-toggle294>.chat-sticker-chevron294{width:9px;height:7px}
body #chat-panel.chat79 #chat-sticker-menu294[open]>summary,body #chat-panel.chat79 #chat-sticker-pack-toggle294:hover{background:#a77a2916;border-color:#946b32}
body #chat-panel.chat79 #chat-sticker-pack-toggle294:focus-visible{outline:2px solid #93662b;outline-offset:2px}
body #chat-panel.chat79 .chat-sticker-list294{position:absolute;top:calc(100% + 4px);right:0;min-width:160px;max-width:220px;max-height:160px;overflow:auto;padding:3px;background:#eedfc3;border:1px solid #ab8448;border-radius:6px;box-shadow:0 3px 10px #3b281933;box-sizing:border-box}
body #chat-panel.chat79 .chat-sticker-list294>button{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:38px;width:100%;min-width:0;padding:6px 9px;color:#422e1c;background:none;border:0;border-radius:3px;box-shadow:none;font:15px/1.25 var(--kg-font,Georgia,serif);text-align:left;cursor:pointer}
body #chat-panel.chat79 .chat-sticker-list294>button:hover,body #chat-panel.chat79 .chat-sticker-list294>button:focus-visible{background:#9e6d291c;outline:1px solid #ad864d88}
body #chat-panel.chat79 .chat-sticker-check294{color:#8c6125;font-size:18px;flex:none}
body #chat-panel.chat79 #chat-stickers-close289{border:0;background:none;box-shadow:none;min-width:32px;min-height:32px;padding:0;color:#51371e;font-size:25px;line-height:30px}
body #chat-panel.chat79 .chat-sticker-grid289{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px 4px;padding:0 0 3px}
body #chat-panel.chat79 [data-chat-sticker289]{display:flex;align-items:center;justify-content:center;border:0!important;background:none!important;box-shadow:none!important;min-width:0;min-height:54px;height:54px;padding:0;border-radius:6px;cursor:pointer}
body #chat-panel.chat79 [data-chat-sticker289]:hover,body #chat-panel.chat79 [data-chat-sticker289]:focus-visible{outline:1px solid #b18b50;background:#b68b3c15!important}
body #chat-panel.chat79 .chat-sticker-choice289{display:block;width:54px;height:54px;object-fit:contain}
@media(max-height:550px){body #chat-panel.chat79 #chat-sticker-tray289{max-height:42dvh}}
body #chat-panel.chat79 .chat-event292{margin:10px auto;padding:5px 3px}
body #chat-panel.chat79 .chat-event292 p{margin:8px 0}
body #chat-panel.chat79 .chat-event-settings292{margin:14px 0;padding:10px 0 0;border:0;border-top:1px solid #b18b5066;background:none;box-shadow:none}
body #chat-panel.chat79 .chat-event-settings292 h3{margin:0 0 6px;font-size:18px}
body #chat-panel.chat79 .chat-event-settings292 p{margin:0 0 8px;font-size:14px;line-height:1.4;color:#715336}
body #chat-panel.chat79 .chat-event-settings292 .chat-check{gap:8px;margin:0;padding:6px 0;font-size:15px;line-height:1.4;min-width:0}

.f210-sticker-art295{display:grid;place-items:center;width:150px;max-width:100%;height:136px;margin:auto}
.f210-sticker-art295 img{display:block;width:136px;height:136px;max-width:100%;object-fit:contain}
