dialog.chat32-dialog{position:fixed!important;inset:0!important;margin:auto!important;width:min(420px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;height:fit-content!important;max-height:82dvh!important;overflow:auto!important;overscroll-behavior:contain;background:#fff8ed!important;background-image:none!important;color:#382b21!important;border:1px solid #ba9559!important;border-radius:20px!important;padding:16px!important;box-shadow:0 20px 80px #0007!important;z-index:2147483647!important;box-sizing:border-box}
dialog.chat32-dialog:not([open]){display:none!important}
dialog.chat32-dialog::backdrop{background:#17120f99!important;backdrop-filter:blur(3px)}
.chat32-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #d9c39c}
.chat32-head strong{font-size:17px}.chat32-dialog button{border:1px solid #ddc9a6!important;background:#fffdf8!important;color:#382b21!important;border-radius:12px!important;padding:10px!important;cursor:pointer;font-family:inherit;line-height:1.5;box-shadow:none!important;min-height:44px}
.chat32-close{width:44px!important;font-size:22px!important}.chat32-quick{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:16px 0}.chat32-emoji{font-size:26px!important;padding:5px!important}.chat32-more{font-size:22px!important}
.chat32-action{display:block;width:100%;text-align:left;margin-top:8px;font-size:15px!important}.chat32-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;padding-top:12px}.chat32-grid .chat32-emoji{min-width:0}
.chat32-hint,.chat32-status{font-size:13px;line-height:1.7}.chat32-everyone{font-weight:bold}.chat32-mention,.member-mention{background:#f4e2b7;color:#755021;border-radius:4px;padding:1px 4px}
.chat32-compose-mention{min-height:36px!important;width:44px!important;margin:5px 0!important;border-radius:10px!important}
.chat32-message-menu{margin-left:auto;min-height:32px!important;min-width:36px;cursor:pointer}
.tea-guide[hidden]{display:none!important}#teaGuideToggle32{width:100%;margin:14px 0}
.chat-reaction-line{display:flex;gap:5px;flex-wrap:wrap}.chat-message,.member-message{-webkit-touch-callout:none}

html:root body .chat-reaction-line .chat-react-open{position:relative!important;width:auto!important;height:auto!important;min-width:44px!important;min-height:34px!important;padding:4px 8px!important;overflow:visible!important;clip-path:none!important;white-space:nowrap!important;font-size:18px!important;pointer-events:auto!important}

/* Message actions are opened by long press; the emoji expansion button remains inside the dialog. */
html:root body .chat-reaction-line .chat-react-open{display:none!important}

/* Suppress native iOS selection/callout on messages while preserving pan scrolling. */
html:root body .chat36-press-surface,
html:root body .chat36-press-surface * {
 -webkit-user-select:none!important;user-select:none!important;
 -webkit-touch-callout:none!important;
}
html:root body .chat36-press-surface input,
html:root body .chat36-press-surface textarea,
html:root body .chat36-press-surface [contenteditable]:not([contenteditable="false"]) {
 -webkit-user-select:text!important;user-select:text!important;-webkit-touch-callout:default!important;
}
