/* 대화 본문에만 적용해 입력창·닉네임·시간·메뉴의 크기는 유지한다. */
.chat-room .cont .msg-span,
.chat-room .cont .gsm-send-text,
.gsm-chat-search .gsm-search-results p,
.gsm-font-preview {
  font-size: var(--gsm-chat-font-size, 14px);
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: normal;
}
.chat-room .cont .msg-span {box-sizing:border-box;max-width:100%}
.chat-room .cont .msg-span a,
.chat-room .cont .msg-span mark {font-size:inherit;line-height:inherit;overflow-wrap:inherit}
.chat-room .cont > ul > li .text,
.chat-room .cont > ul > li div.text {max-width:min(220px, 100%)}
.gsm-font-control {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;color:#353c46;font-family:inherit;font-size:14px;line-height:1.5}
.gsm-font-label {font-family:inherit;font-size:14px;line-height:1.5;white-space:nowrap}
.gsm-font-stepper {display:inline-grid;grid-template-columns:44px 48px 44px;align-items:center;flex-shrink:0;border:1px solid #d8dde2;border-radius:8px;background:#fff}
.gsm-font-control .gsm-font-stepper > button {display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:6px;color:#353c46;background:transparent;font-family:inherit;font-size:22px;line-height:1;cursor:pointer}
.gsm-font-control .gsm-font-stepper > button:hover:not(:disabled) {background:#edf5f3;color:#087269}
.gsm-font-control .gsm-font-stepper > button:focus-visible,
.gsm-chat-settings-toggle:focus-visible {outline:2px solid #087d75;outline-offset:2px}
.gsm-font-control .gsm-font-stepper > button:disabled {color:#a7afaf;cursor:default}
.gsm-font-stepper output {display:block;color:#353c46;text-align:center;font-family:inherit;font-size:14px;line-height:1.5;font-variant-numeric:tabular-nums;white-space:nowrap}
.gsm-font-save-error {flex-basis:100%;color:#a7272e;font-size:12px;line-height:1.5}
.gsm-font-save-error[hidden] {display:none}
#header.gsm-chat-preferences-header {z-index:30}
.chat-set.gsm-chat-preferences-menu > ul,
.gsm-chat-settings > ul {box-sizing:border-box;width:288px;max-width:calc(100vw - 24px)}
.gsm-chat-preferences-menu > ul > li.gsm-font-menu-row {padding:12px}
#header .chat-set.gsm-chat-preferences-menu > button {width:44px;height:44px;min-width:44px;min-height:44px;padding:0}
.gsm-chat-heading > strong {flex:1}
.gsm-chat-settings {position:relative;align-self:center}
.gsm-chat-settings-toggle {display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:6px;background:transparent;color:#23282d;cursor:pointer}
.gsm-chat-settings > ul {display:none;position:absolute;right:0;top:100%;z-index:20;margin:4px 0 0;padding:0;list-style:none;border:1px solid #d8dde2;border-radius:8px;background:#fff}
.gsm-chat-settings.active > ul {display:block}
.mypage-menu .gsm-font-setting {padding:8px 0}
.mypage-menu .gsm-font-preview {margin:12px 0 8px;padding:12px 16px;border-radius:10px;background:#f3f5f6;color:#1e2229}
