@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap");

:root {
  color-scheme: dark;
  --page: #030712;
  --panel: rgba(11, 18, 34, .76);
  --panel-strong: rgba(15, 23, 42, .92);
  --panel-soft: rgba(255, 255, 255, .045);
  --line: rgba(210, 225, 255, .11);
  --line-bright: rgba(142, 178, 255, .23);
  --text: #edf2ff;
  --muted: #8995ad;
  --accent: #1d4ed8;
  --accent-light: #78a6ff;
  --incoming: rgba(255, 255, 255, .065);
  --outgoing: linear-gradient(135deg, #2457d9, #3c70ee);
  --shadow: 0 24px 80px rgba(0, 0, 0, .35);
  font-family: -apple-system, BlinkMacSystemFont, "DM Sans", "SF Pro Display", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  color: var(--text);
  background: var(--page);
  transition: background .35s ease, color .35s ease;
}
button, input, textarea, select { color: inherit; font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 2px; }
.ambient { position: fixed; z-index: -1; width: 50vw; height: 50vw; border-radius: 50%; filter: blur(110px); opacity: .17; pointer-events: none; animation: drift 18s ease-in-out infinite alternate; }
.ambient-one { top: -24vw; left: -8vw; background: radial-gradient(circle at 35% 35%, var(--accent-light), var(--accent) 65%, transparent); }
.ambient-two { right: -22vw; bottom: -32vw; background: radial-gradient(circle at 35% 35%, #8d62df, #6131bd 65%, transparent); animation-delay: -7s; }
.app-shell { min-height: 100vh; padding: 24px; display: grid; place-items: center; }
.glass-panel { background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.035); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.welcome { width: min(100%, 480px); padding: 44px; border-radius: 28px; animation: rise .7s cubic-bezier(.2,.8,.2,1) both; transition: transform .25s ease; }
.welcome:hover { transform: perspective(1100px) rotateX(.4deg) rotateY(-.4deg) translateY(-2px); }
.brand-lockup { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: white; border-radius: 13px; background: linear-gradient(145deg, var(--accent-light), var(--accent)); box-shadow: 0 6px 24px color-mix(in srgb, var(--accent) 40%, transparent); }
.brand-mark svg { width: 20px; height: 20px; stroke-width: 1.8; }
.brand-word { font: 400 26px "Share Tech Mono", monospace; letter-spacing: -.08em; }
.eyebrow { margin: 32px 0 12px; color: var(--accent-light); font: 12px "Share Tech Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
.welcome-title { margin: 0; font-size: clamp(34px, 8vw, 47px); line-height: 1.1; letter-spacing: -.055em; }
.welcome-title span { color: var(--accent-light); }
.welcome-copy { max-width: 350px; margin: 18px 0 30px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.welcome-form { display: grid; gap: 10px; }
.welcome-form label, .field-label { color: var(--muted); font-size: 12px; font-weight: 600; }
.auth-toggle { justify-self: center; font-size: 11px; }
.auth-message { margin: 4px 0 0; color: var(--accent-light); font-size: 11px; line-height: 1.5; }
.auth-message.error { color: #ff929d; }
.welcome-form input, .settings-field input, .contact-field input, .gif-search input { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-soft); outline: none; }
.settings-select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: var(--panel-strong); font-size: 12px; }
.settings-select option { color: var(--text); background: var(--panel-strong); }
.welcome-form input:focus, .settings-field input:focus, .contact-field input:focus, .gif-search input:focus { border-color: var(--accent-light); }
.primary-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 65%, #6495ff)); font-weight: 600; transition: transform .18s ease, filter .18s ease; }
.primary-button:hover { transform: translateY(-1px); filter: brightness(1.1); }
.primary-button svg { width: 17px; }
.security-note { display: flex; align-items: center; gap: 8px; margin: 20px 0 0; color: var(--muted); font-size: 11px; }
.security-note svg { width: 14px; color: #69d5a3; }
.workspace { width: min(1480px, 100%); height: min(900px, calc(100vh - 48px)); min-height: 460px; display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 14px; animation: rise .45s ease both; }
.hidden { display: none !important; }
.sidebar, .chat-panel { min-height: 0; overflow: hidden; border-radius: 23px; }
.sidebar { display: flex; flex-direction: column; padding: 18px 14px 12px; }
.sidebar-header, .header-actions, .chat-header, .chat-header-actions { display: flex; align-items: center; }
.sidebar-header { justify-content: space-between; padding: 0 4px 17px; }
.compact .brand-mark { width: 32px; height: 32px; border-radius: 11px; }
.compact .brand-mark svg { width: 17px; }
.compact .brand-word { font-size: 22px; }
.header-actions { gap: 4px; }
.icon-button { width: 36px; height: 36px; display: inline-grid; flex: 0 0 auto; place-items: center; border: 1px solid transparent; border-radius: 11px; color: var(--muted); background: transparent; transition: color .18s, background .18s, border-color .18s, transform .18s; }
.icon-button svg { width: 17px; height: 17px; stroke-width: 1.8; }
.icon-button:hover { color: var(--text); background: var(--panel-soft); border-color: var(--line); transform: translateY(-1px); }
.icon-button.subtle { width: 30px; }
.profile-strip { display: flex; align-items: center; gap: 10px; padding: 11px 9px; margin-bottom: 13px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.025); }
.avatar { width: 39px; height: 39px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; color: white; background: linear-gradient(145deg, #7f9ff2, #4b5ca0); font: 18px "Share Tech Mono", monospace; text-transform: lowercase; }
.self-avatar { background: linear-gradient(145deg, #20a886, #136b65); }
.profile-copy, .chat-heading-copy { min-width: 0; display: flex; flex: 1; flex-direction: column; gap: 3px; }
.profile-copy > span:first-child { overflow: hidden; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.online-label { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 10px; }
.online-dot { width: 6px; height: 6px; border-radius: 50%; background: #43d69e; box-shadow: 0 0 9px #43d69e80; }
.search-box { height: 40px; display: flex; align-items: center; gap: 9px; padding: 0 10px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); background: rgba(0,0,0,.12); }
.search-box svg { width: 15px; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 12px; }
.search-box kbd { padding: 3px 5px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 9px; white-space: nowrap; }
.section-heading { display: flex; align-items: center; justify-content: space-between; padding: 23px 7px 9px; color: var(--muted); font: 11px "Share Tech Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.count-pill { padding: 2px 7px; border-radius: 20px; color: var(--accent-light); background: color-mix(in srgb, var(--accent) 18%, transparent); font-size: 10px; }
.conversation-list { min-height: 0; flex: 1; overflow: auto; scrollbar-width: thin; scrollbar-color: var(--line-bright) transparent; }
.conversation { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 9px; border: 1px solid transparent; border-radius: 14px; text-align: left; background: transparent; transition: background .2s, border-color .2s; }
.conversation:hover { transform: translateY(-1px) scale(1.006); background: var(--panel-soft); }
.conversation.active { border-color: var(--line); background: color-mix(in srgb, var(--accent) 13%, transparent); }
.conversation .avatar { width: 40px; height: 40px; border-radius: 14px; font-size: 16px; }
.conversation-copy { min-width: 0; flex: 1; }
.conversation-top, .conversation-bottom { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.conversation-title { overflow: hidden; color: var(--text); font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.conversation-time, .conversation-preview { color: var(--muted); font-size: 10px; }
.conversation-preview { display: block; overflow: hidden; margin-top: 4px; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 6px 2px; color: var(--muted); font-size: 10px; }
.sidebar-footer > span { display: flex; align-items: center; gap: 5px; }
.sidebar-footer svg { width: 12px; }
.text-button { padding: 4px; border: 0; color: var(--accent-light); background: transparent; font-size: 10px; }
.chat-panel { position: relative; display: flex; flex-direction: column; }
.chat-header { min-height: 72px; gap: 11px; padding: 0 21px; border-bottom: 1px solid var(--line); }
.chat-header .avatar { width: 38px; height: 38px; }
.chat-heading-copy h2 { overflow: hidden; margin: 0; font: 400 17px "Share Tech Mono", monospace; text-overflow: ellipsis; text-transform: lowercase; }
.chat-heading-copy > span { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.chat-header-actions { gap: 5px; }
.messages { min-height: 0; flex: 1; overflow-y: auto; padding: 25px clamp(16px, 5vw, 70px) 20px; scrollbar-width: thin; scrollbar-color: var(--line-bright) transparent; }
.day-divider { display: flex; align-items: center; gap: 10px; margin: 3px 0 24px; color: var(--muted); font: 10px "Share Tech Mono", monospace; text-transform: lowercase; }
.day-divider::before, .day-divider::after { height: 1px; flex: 1; content: ""; background: var(--line); }
.message-row { position: relative; display: flex; align-items: flex-end; gap: 9px; margin: 0 0 16px; animation: message-in .26s ease both; }
.message-row.outgoing { justify-content: flex-end; }
.message-avatar { width: 27px; height: 27px; flex: 0 0 auto; border-radius: 10px; font-size: 12px; }
.message-body { max-width: min(74%, 560px); min-width: 0; }
.message-meta { display: flex; align-items: center; gap: 7px; margin: 0 0 5px 3px; color: var(--muted); font-size: 10px; }
.outgoing .message-meta { justify-content: flex-end; margin-right: 3px; }
.message-bubble { overflow-wrap: anywhere; padding: 11px 14px; border: 1px solid var(--line); border-radius: 5px 17px 17px 17px; color: var(--text); background: var(--incoming); font-size: 13px; line-height: 1.55; }
.outgoing .message-bubble { border-color: color-mix(in srgb, var(--accent) 50%, transparent); border-radius: 17px 5px 17px 17px; color: white; background: var(--outgoing); }
.message-bubble p { margin: 0 0 8px; }
.message-bubble p:last-child { margin-bottom: 0; }
.message-bubble a { color: var(--accent-light); text-decoration: underline; text-underline-offset: 2px; }
.outgoing .message-bubble a { color: #e1eaff; }
.message-bubble code { padding: 2px 5px; border-radius: 5px; background: rgba(0,0,0,.2); font: 11px "Share Tech Mono", monospace; }
.message-bubble pre { overflow: auto; padding: 10px; border-radius: 9px; background: rgba(0,0,0,.22); }
.message-bubble pre code { padding: 0; background: transparent; }
.message-bubble .link-preview { display: block; margin-top: 9px; padding: 9px 11px; border-left: 2px solid var(--accent-light); border-radius: 3px 9px 9px 3px; color: var(--muted); background: rgba(0,0,0,.14); font-size: 10px; text-decoration: none; }
.message-bubble .link-preview strong, .message-bubble .link-preview span { display: block; }
.message-bubble .link-preview strong { margin-bottom: 3px; color: var(--text); font-size: 11px; }
.message-image { max-width: min(300px, 100%); max-height: 260px; display: block; border-radius: 11px; object-fit: cover; }
.edited-label { color: var(--muted); font-size: 9px; }
.message-actions { display: flex; justify-content: flex-end; gap: 3px; margin: 4px 0 0; opacity: 0; transition: opacity .15s; }
.message-row:hover .message-actions, .message-row:focus-within .message-actions { opacity: 1; }
.message-action { width: 25px; height: 24px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: var(--panel-strong); }
.message-action svg { width: 12px; }
.reaction-pill { margin: 3px 4px 0 0; padding: 3px 7px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: var(--panel-soft); font-size: 11px; }
.typing-indicator { min-height: 25px; display: flex; align-items: center; gap: 4px; padding: 0 24px 10px; color: var(--muted); font-size: 10px; }
.typing-indicator > span { width: 4px; height: 4px; border-radius: 50%; background: var(--accent-light); animation: blink 1s ease infinite; }
.typing-indicator > span:nth-child(2) { animation-delay: .15s; }
.typing-indicator > span:nth-child(3) { animation-delay: .3s; }
.typing-indicator small { margin-left: 4px; font-size: 10px; }
.composer { position: relative; display: flex; align-items: flex-end; gap: 8px; margin: 0 20px; padding: 9px; border: 1px solid var(--line-bright); border-radius: 17px; background: rgba(0,0,0,.17); box-shadow: 0 8px 35px rgba(0,0,0,.13); transition: border .2s, box-shadow .2s; }
.composer:focus-within { border-color: color-mix(in srgb, var(--accent-light) 55%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 10%, transparent); }
.composer-tools { display: flex; gap: 1px; }
.composer-tools .icon-button { width: 31px; height: 34px; }
.gif-button { font: 10px "Share Tech Mono", monospace; }
.composer textarea { min-height: 34px; max-height: 120px; flex: 1; resize: none; padding: 8px 4px; border: 0; outline: 0; background: transparent; font-size: 12px; line-height: 1.4; }
.composer textarea::placeholder { color: var(--muted); }
.send-button { width: 34px; height: 34px; display: grid; flex: 0 0 auto; place-items: center; border: 0; border-radius: 11px; color: #fff; background: var(--accent); transition: transform .18s, filter .18s; }
.send-button:hover { transform: scale(1.05); filter: brightness(1.15); }
.send-button svg { width: 18px; }
.composer-footnote { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 8px 0 13px; color: var(--muted); font-size: 9px; }
.composer-footnote svg { width: 11px; }
.attachment-preview { position: absolute; bottom: calc(100% + 5px); left: 0; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-strong); }
.attachment-preview img { width: 62px; height: 48px; display: block; border-radius: 5px; object-fit: cover; }
.attachment-preview button { position: absolute; top: -7px; right: -7px; width: 19px; height: 19px; border: 0; border-radius: 50%; color: white; background: #d1495b; }
.mobile-back { display: none; }
.privacy-veil { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; padding: 20px; background: #030712; }
.veil-content { max-width: 380px; text-align: center; }
.veil-content > svg { width: 29px; height: 29px; color: var(--accent-light); }
.veil-content h2 { margin: 16px 0 8px; font: 24px "Share Tech Mono", monospace; }
.veil-content p { margin: 0 0 20px; color: #8995ad; font-size: 13px; line-height: 1.6; }
.veil-content .primary-button { padding: 0 18px; }
.modal-backdrop { position: fixed; z-index: 15; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(0,0,0,.58); backdrop-filter: blur(12px); animation: fade .2s ease both; }
.modal { width: min(100%, 470px); max-height: min(720px, 90vh); overflow: auto; padding: 23px; border: 1px solid var(--line-bright); border-radius: 21px; background: var(--panel-strong); box-shadow: var(--shadow); animation: rise .25s ease both; }
.modal.wide { width: min(100%, 620px); }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; }
.modal-header h2 { margin: 0; font: 18px "Share Tech Mono", monospace; text-transform: lowercase; }
.modal-close { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: transparent; }
.modal-close svg { width: 15px; }
.modal-copy { color: var(--muted); font-size: 12px; line-height: 1.6; }
.settings-field, .contact-field, .gif-search { display: grid; gap: 7px; margin: 14px 0; }
.settings-field label, .contact-field label, .gif-search label { color: var(--muted); font-size: 11px; }
.settings-field input, .contact-field input, .gif-search input { font-size: 12px; }
.settings-avatar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.settings-avatar-row .avatar { width: 52px; height: 52px; }
.settings-avatar-row button { padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: var(--panel-soft); font-size: 11px; }
.theme-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin-top: 9px; }
.theme-option { display: flex; align-items: center; gap: 9px; padding: 9px; border: 1px solid var(--line); border-radius: 10px; text-align: left; background: var(--panel-soft); font-size: 11px; }
.theme-option.selected { border-color: var(--accent-light); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent-light) 30%, transparent); }
.theme-swatch { width: 19px; height: 19px; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.25); border-radius: 7px; }
.modal-footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.secondary-button { min-height: 38px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); background: var(--panel-soft); font-size: 11px; }
.modal-footer .primary-button { min-height: 38px; padding: 0 14px; font-size: 11px; }
.theme-label { display: block; margin-top: 18px; color: var(--muted); font-size: 11px; }
.notice-box { display: flex; gap: 9px; padding: 11px; border: 1px solid color-mix(in srgb, #e6ad49 35%, transparent); border-radius: 11px; color: #e5c982; background: rgba(230,173,73,.07); font-size: 11px; line-height: 1.5; }
.notice-box svg { width: 15px; flex: 0 0 auto; }
.gif-results { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; margin-top: 14px; }
.gif-card { min-height: 90px; display: grid; place-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; text-align: center; color: var(--muted); background: var(--panel-soft); font-size: 11px; }
.gif-card button { padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: var(--panel); font-size: 10px; }
.toast { position: fixed; z-index: 30; right: 20px; bottom: 20px; max-width: min(400px, calc(100vw - 40px)); padding: 11px 14px; border: 1px solid var(--line-bright); border-radius: 12px; color: var(--text); background: var(--panel-strong); box-shadow: var(--shadow); font-size: 12px; animation: rise .2s ease both; }
.toast.error { border-color: rgba(240,92,108,.4); }
.markdown-empty { color: var(--muted); }

[data-theme="crimson"] { --page:#0a0002; --panel:rgba(27,8,13,.78); --panel-strong:rgba(31,10,15,.96); --accent:#dc2626; --accent-light:#fb7185; --outgoing:linear-gradient(135deg,#bd1e31,#e34446); }
[data-theme="blurple"] { --page:#090a16; --panel:rgba(17,19,37,.78); --panel-strong:rgba(22,24,46,.96); --accent:#5865f2; --accent-light:#a5aaff; --outgoing:linear-gradient(135deg,#5058db,#7776f6); }
[data-theme="fern"] { --page:#020d06; --panel:rgba(9,25,16,.78); --panel-strong:rgba(11,30,20,.96); --accent:#16a34a; --accent-light:#77dda0; --outgoing:linear-gradient(135deg,#15803d,#22a660); }
[data-theme="sunny-side"] { color-scheme:light; --page:#fefce8; --panel:rgba(255,255,248,.82); --panel-strong:rgba(255,255,249,.97); --panel-soft:rgba(24,24,27,.045); --line:rgba(74,61,25,.13); --line-bright:rgba(140,109,24,.25); --text:#252318; --muted:#77715d; --accent:#ca8a04; --accent-light:#a56a00; --incoming:rgba(36,31,16,.055); --outgoing:linear-gradient(135deg,#be8005,#d69c13); --shadow:0 24px 80px rgba(72,58,14,.13); }
[data-theme="sunny-side"] .notice-box { border-color:rgba(154,111,0,.3); color:#66470c; background:rgba(202,138,4,.08); }
[data-theme="minimal-dark"] { --page:#000; --panel:rgba(13,13,13,.86); --panel-strong:rgba(20,20,20,.98); --accent:#fff; --accent-light:#fff; --outgoing:linear-gradient(135deg,#363636,#515151); }
[data-theme="minimal-dark"] .brand-mark { color:#111; background:linear-gradient(145deg,#fff,#b7b7b7); }
[data-theme="minimal-light"] { color-scheme:light; --page:#fff; --panel:rgba(250,250,250,.86); --panel-strong:rgba(255,255,255,.98); --panel-soft:rgba(0,0,0,.035); --line:rgba(0,0,0,.1); --line-bright:rgba(0,0,0,.2); --text:#111; --muted:#737373; --accent:#000; --accent-light:#333; --incoming:rgba(0,0,0,.045); --outgoing:linear-gradient(135deg,#262626,#444); --shadow:0 24px 80px rgba(0,0,0,.12); }
[data-theme="minimal-light"] .brand-mark { color:#fff; background:linear-gradient(145deg,#444,#000); }

@keyframes drift { to { transform: translate(8vw, 7vh) scale(1.12); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes message-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes blink { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 760px) {
  .app-shell { padding: 10px; }
  .workspace { position: relative; height: calc(100vh - 20px); min-height: 0; display: block; }
  .sidebar, .chat-panel { position: absolute; inset: 0; border-radius: 19px; }
  .sidebar { z-index: 2; transition: transform .25s ease; }
  .chat-panel { z-index: 1; }
  .workspace.chat-open .sidebar { transform: translateX(-103%); }
  .workspace.chat-open .chat-panel { z-index: 3; }
  .mobile-back { display: inline-grid; margin-left: -10px; }
  .chat-header { min-height: 65px; gap: 8px; padding: 0 12px; }
  .chat-header-actions { gap: 1px; }
  .chat-header-actions > .icon-button { width: 31px; }
  .chat-heading-copy h2 { font-size: 15px; }
  .chat-heading-copy > span { max-width: 140px; font-size: 9px; }
  .messages { padding: 18px 13px 14px; }
  .message-body { max-width: 84%; }
  .composer { gap: 3px; margin: 0 9px; padding: 7px 6px; }
  .composer-tools .icon-button { width: 28px; }
  .composer textarea { font-size: 12px; }
  .composer-footnote { margin-bottom: 9px; }
  .message-actions { opacity: 1; }
}
@media (max-width: 430px) {
  .welcome { padding: 32px 25px; }
  .chat-header-actions > #search-messages { display: none; }
  .chat-heading-copy > span { max-width: 115px; }
  .composer-tools .icon-button { width: 25px; }
  .composer-tools { gap: 0; }
  .theme-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
