/* Restored from the retained pre-correction stylesheet. Visual reference:
   local screenshots twoyo-chat-verfeinert.png and twoyo-apple-emojis-reaktionen.png
   (2026-10-08). This local web design differs intentionally from SwiftUI. */
html:not(.desktop) .chat-page .chat-nav { padding-inline: 16px; padding-bottom: 12px; gap: 12px; border-bottom: 0.5px solid rgba(255, 255, 255, 0.08); }
html:not(.desktop) .chat-page .chat-title { justify-self: start; gap: 10px; }
html:not(.desktop) .chat-page .online-text { color: rgb(163, 163, 168); }
html:not(.desktop) .chat-scroll { padding: 16px 16px 20px; }
html:not(.desktop) .chat-page .day-chip { padding: 12px 0px 16px; }
html:not(.desktop) .chat-page .day-chip span { background: none; color: rgb(142, 142, 147); font-weight: 500; }
html:not(.desktop) .chat-page .msg.starts { margin-top: 16px; }
html:not(.desktop) .chat-page .msg-col { max-width: min(290px, 100% - 38px); gap: 5px; }
html:not(.desktop) .chat-page .msg.mine .msg-col { max-width: min(290px, 85%); }
html:not(.desktop) .chat-page .msg-name { padding-left: 13px; color: rgb(163, 163, 168); font-size: var(--type-caption); font-weight: 500; }
html:not(.desktop) .chat-page .dm-bubble { padding: 11px 14px 9px; border-radius: 20px; background: rgb(34, 34, 36); }
html:not(.desktop) .chat-page .msg.mine .dm-bubble { background: rgb(245, 245, 247); color: rgb(17, 17, 17); }
html:not(.desktop) .chat-page .dm-line { row-gap: 3px; }
html:not(.desktop) .chat-page .dm-bubble .meta { color: rgb(153, 153, 159); font-size: var(--type-caption2); }
html:not(.desktop) .chat-page .msg.mine .dm-bubble .meta { color: rgb(115, 115, 120); }
html:not(.desktop) .chat-page .chat-input { padding: 12px 16px calc(var(--bottom) + 12px); border-top: 0.5px solid rgba(255, 255, 255, 0.07); }
html:not(.desktop) .chat-page .input-row { align-items: center; gap: 10px; }
html:not(.desktop) .chat-page .photo-pick { background: rgb(28, 28, 30); border: 0.5px solid rgba(255, 255, 255, 0.07); }
html:not(.desktop) .chat-page .dm-compose { display: flex; align-items: center; flex: 1 1 0%; min-width: 0px; gap: 4px; padding: 5px; border: 1px solid rgb(56, 56, 58); background: rgb(28, 28, 30); border-radius: 26px; }
html:not(.desktop) .chat-page .dm-field { height: 36px; padding: 0px 8px; background: transparent; }
html:not(.desktop) .chat-page .dm-field::placeholder { color: rgb(142, 142, 147); }
html:not(.desktop) .chat-page .dm-compose:focus-within { border-color: rgb(99, 99, 102); }
html:not(.desktop) .chat-page .dm-compose .send { width: 34px; height: 34px; font-size: 20px; }
html:not(.desktop) .chat-page .dm-compose .send:disabled { opacity: 1; background: rgb(56, 56, 58); color: rgb(142, 142, 147); }

/* Keep the in-call draft above Safari's keyboard, including viewport panning. */
html:not(.desktop):not(.framed) .call .composer {
  bottom: var(--call-keyboard-inset, 0px);
}
html:not(.desktop):not(.framed) .call .composer.keyboard-open {
  padding-bottom: 8px;
}
html:not(.desktop):not(.framed) .call .composer .chat-feed {
  max-height: min(calc(var(--app-h) * .38), max(64px, calc(var(--call-visible-height, 100dvh) - 112px)));
}
html:not(.desktop):not(.framed) .call .composer-row input {
  color: #fff; caret-color: #fff; background: #292b2eeF;
  -webkit-text-fill-color: #fff;
}
