/* Call, Text and Video share one layout (the approved design, the same in the iPhone and iPad app):
   1. the sheet's top bar (name, switch icons, History, one ×) — styled with the sheet itself;
   2. the person row (no card: it sits on your Home background): picture, name, one status line, "End-to-end encrypted", + People on the right;
   3. the middle (pictures are rounded rectangles, like the rest of Spossity): messages, their avatar for a call, or their video with your small "You" window;
   4. the buttons, with no panel behind them: the on/off buttons in a row (violet words), then a full-width red End call. */
.sheet-person, .sheet-call {
  --cs-ink: #0b285b; --cs-muted: #52698f; --cs-edge: rgba(11, 40, 91, .1);
  --cs-btn: #eef2ff; --cs-btn-ink: #0b285b; --cs-violet: #7a45f0;
}
html[data-theme="dark"] :is(.sheet-person, .sheet-call) {
  --cs-ink: #fff; --cs-muted: #a9b8d3; --cs-edge: rgba(255, 255, 255, .08);
  --cs-btn: #142c4d; --cs-btn-ink: #fff; --cs-violet: #c3a4ff;
}

/* 2. The person row. */
html:root body.is-logged-in .sheet-person {
  flex: none; display: flex !important; align-items: center; gap: 12px; margin: 0 !important; padding: 12px 16px !important;
  border: 0 !important; border-radius: 0 !important; color: #fff; background: transparent !important; box-shadow: none !important;
}
.sheet-person-avatar { flex: none; width: 44px; height: 56px; }
.sheet-person-picture {
  /* Your profile card's design (web/styles/profile-shell.css, design/tokens.json profileShell): a tall rounded violet
     card, a 4px violet frame, a thin white line just inside the frame, white initials in the middle. */
  --shell-w: 44px;
  position: relative; display: grid; place-items: center; box-sizing: border-box; width: var(--shell-w); aspect-ratio: var(--sp-profile-shell-aspect);
  overflow: hidden; border: max(var(--sp-profile-shell-border), calc(var(--shell-w) * 4 / 48)) solid transparent; border-radius: 28% / 22%;
  color: #fff; font-size: calc(var(--shell-w) * .32); font-weight: 800;
  background: var(--sp-profile-shell-gradient) border-box; box-shadow: var(--sp-profile-shell-shadow) !important;
}
.sheet-person-picture::after {
  content: ""; position: absolute; z-index: 1; inset: 0; border-radius: 24% / 19%; pointer-events: none;
  box-shadow: inset 0 0 0 max(1.5px, calc(var(--shell-w) * 1.5 / 48)) var(--sp-profile-shell-inner) !important;
}
.sheet-person-picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.sheet-person-copy { flex: 1; min-width: 0; display: grid; gap: 2px; }
.sheet-person-copy strong { overflow: hidden; color: var(--cs-ink); font-size: 19px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.sheet-person-copy small { overflow: hidden; color: var(--cs-muted); font-size: 13px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
html:root body.is-logged-in .sheet-person-action {
  flex: none; min-height: 44px; padding: 0 14px !important; border: 1px solid var(--cs-edge) !important; border-radius: 14px !important;
  color: var(--cs-btn-ink) !important; background: var(--cs-btn) !important; box-shadow: none !important;
  font: inherit; font-size: 15px !important; font-weight: 700 !important; white-space: nowrap; cursor: pointer;
}

/* The call or video fills the sheet below the top bar. */
html:root body.is-logged-in .friends-grid:has(> .sheet-call) { position: absolute !important; inset: 0 !important; height: auto !important; max-height: none !important; margin: 0 !important; padding: 0 !important; display: block !important; overflow: hidden; }
.sheet-call { height: 100%; display: flex; flex-direction: column; min-height: 0; color: var(--cs-ink); }
.sheet-call .call-network-notice { margin: 8px 16px 0; }

/* 3. The middle. */
.sheet-stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; overflow: hidden; }
.sheet-stage-avatar {
  /* The same profile card, larger: the frame and white line grow with it. */
  --shell-w: min(40vw, 150px);
  position: relative; box-sizing: border-box; width: var(--shell-w); aspect-ratio: var(--sp-profile-shell-aspect); overflow: hidden;
  border: max(var(--sp-profile-shell-border), calc(var(--shell-w) * 4 / 48)) solid transparent; border-radius: 28% / 22%;
  background: var(--sp-profile-shell-gradient) border-box;
  box-shadow: var(--sp-profile-shell-shadow), 0 0 0 12px rgba(155, 108, 255, .14), 0 0 0 26px rgba(155, 108, 255, .07) !important;
}
.sheet-stage-avatar::after {
  content: ""; position: absolute; z-index: 2; inset: 0; border-radius: 24% / 19%; pointer-events: none;
  box-shadow: inset 0 0 0 max(1.5px, calc(var(--shell-w) * 1.5 / 48)) var(--sp-profile-shell-inner) !important;
}
.sheet-stage-initials { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: calc(var(--shell-w) * .32); font-weight: 800; }
.sheet-stage-avatar .call-avatar-stage { position: relative; display: block; width: 100%; height: 100%; }
.sheet-stage.has-video :is(video[data-remote-call-media], video[data-home-video-preview], video.live-share-screen) {
  position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; background: #020812;
}
.sheet-stage video.live-share-screen { object-fit: contain; }
html:root body.is-logged-in .sheet-stage .sheet-self-video {
  position: absolute !important; z-index: 2; top: auto !important; left: auto !important; right: 12px !important; bottom: 12px !important;
  width: 92px !important; height: 132px !important; object-fit: cover; border: 2px solid rgba(255, 255, 255, .75); border-radius: 16px; background: #1c2333;
}
.sheet-stage .call-video-paused { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; margin: 0; text-align: center; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.sheet-stage .live-share-banner, .sheet-stage .live-share-request { position: absolute; z-index: 2; top: 12px; left: 12px; right: 12px; margin: 0; }

/* 4. The bottom panel. */
.sheet-dock { flex: none; padding: 12px 14px calc(14px + env(safe-area-inset-bottom, 0px)); }
.sheet-toggles { display: flex; flex-wrap: wrap; gap: 10px; }
html:root body.is-logged-in .sheet-toggles > button {
  flex: 1 1 calc(33.333% - 7px); min-width: 0; min-height: 52px; margin: 0; padding: 4px 6px !important;
  border: 1px solid var(--cs-edge) !important; border-radius: 16px !important; color: var(--cs-violet) !important; background: var(--cs-btn) !important; box-shadow: none !important;
  font: inherit; font-size: 15px !important; font-weight: 700 !important; line-height: 1.15; text-align: center; white-space: normal; cursor: pointer;
}
html:root body.is-logged-in .sheet-toggles > button:disabled { opacity: .55; cursor: default; }
html:root body.is-logged-in .sheet-toggles > button.accept-call { color: #fff !important; background: #2167f5 !important; border-color: transparent !important; } /* brand blue (design/tokens.json) */
html:root body.is-logged-in .sheet-end {
  display: block; width: 100% !important; min-height: 52px; margin: 10px 0 0 !important; padding: 0 !important; border: 0 !important; border-radius: 16px !important;
  color: #fff !important; background: #ff4169 !important; box-shadow: none !important; /* danger red (design/tokens.json) */ font: inherit; font-size: 16px !important; font-weight: 800 !important; cursor: pointer;
}
.sheet-toggles > button:focus-visible, .sheet-end:focus-visible, .sheet-person-action:focus-visible { outline: 3px solid #397cff; outline-offset: 2px; }

/* In Text the row runs edge to edge under the top bar, like Call and Video. */
html:root body.is-logged-in .vibe-chat-panel:has(> .sheet-person) { padding-top: 0 !important; padding-inline: 14px !important; }
html:root body.is-logged-in .vibe-chat-panel > .sheet-person { margin: 0 -14px 8px !important; }

/* Only the top bar (Text, Call, Video, History, ×) is a card. Below it the person row, the middle and the buttons sit
   straight on your Home background, the same in Text, Call and Video. */
html:root body.is-logged-in .friends-map .friends-grid > .vibe-chat-panel:has(> .sheet-person) {
  background: transparent !important; border: 0 !important; box-shadow: none !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
/* Words that sit on the picture: white with a soft shadow, so they read on any background, day or night. */
html:root body.is-logged-in .sheet-person-copy :is(strong, small) { color: #fff !important; text-shadow: 0 1px 6px rgba(0, 0, 0, .6) !important; }
/* While Text, Call or Video is open, the Home panel underneath is hidden, so it never peeks out as a lighter card
   below the buttons or around the sheet. */
html:root body.is-logged-in.home-text-open :is(.world-panel, .world-map) { visibility: hidden !important; }

/* Messages you receive: white, with deep violet words (shared/communication-sheet.js COLORS.received, the same violet as
   the day headings and Send) so they read clearly on the white glass, in light and dark. Your own stay blue. */
html:root body.is-logged-in .vibe-message:not(.mine) { color: #7a45f0 !important; background: #fff !important; border-color: transparent !important; }
html:root body.is-logged-in .vibe-message:not(.mine) :is(small, strong, span, time, p) { color: #7a45f0 !important; }
html:root body.is-logged-in .vibe-message:not(.mine) .message-reply-quote { background: rgba(122, 69, 240, .1) !important; border-inline-start-color: #7a45f0 !important; }

/* History — Text, Call and Video (.home-text-history) and Vibe (.vibe-history-panel): no panel of its own; it sits on
   your Home background like the rest of the sheet. Each past chat, call or event keeps its own card (shared-glass.css),
   with the same picture as the person row. Headings on the picture are white with a soft shadow. */
html:root body.is-logged-in .home-text-shell .home-text-history.home-text-history {
  background: var(--home-background-image, none) center / cover no-repeat, #020b18 !important;
  border: 0 !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
html:root body.is-logged-in .friends-map .vibe-history-panel.vibe-history-panel {
  background: transparent !important; border-color: transparent !important; box-shadow: none !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
html:root body.is-logged-in :is(.home-text-history h2, .home-text-history-status, .vibe-history-panel h5, .vibe-history-panel > p) {
  color: #fff !important; text-shadow: 0 1px 6px rgba(0, 0, 0, .6) !important;
}
.home-text-history-item .live-avatar-slot--row > .sheet-person-picture, .home-text-history-item > .sheet-person-picture { --shell-w: 44px; flex: none; height: auto !important; }

/* The heading above each day's messages ("Today", "Yesterday, November 24, 2026", …): violet words straight on the Home
   picture, no card, with a soft white glow so they read on light and dark parts of any background. */
.vibe-day-heading {
  align-self: center; margin: 12px auto 4px; padding: 0 12px; max-width: 92%; text-align: center; background: none;
  color: #7a45f0; font-size: 13px; font-weight: 800; line-height: 1.3; letter-spacing: .01em;
  text-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 4px #fff, 0 0 8px rgba(255, 255, 255, .95), 0 0 14px rgba(255, 255, 255, .8) !important; /* an exception to the shadowless style, like the profile card */
}

/* Message bubbles (shared/communication-sheet.js COLORS.bubble), the same as iPhone and iPad: liquid glass. Your Home
   picture shows through, blurred, under a see-through tint, with a bright hairline edge, a gloss on the top half and a
   light shadow. Rounder corners with a small tail on the sender's side. A new message springs in gently (Reduce
   motion: it simply appears). Blur and shadow are exceptions to the shadowless style, like the profile card. */
html:root body.is-logged-in .home-text-shell .vibe-message-item .vibe-message {
  padding: 10px 14px; border-radius: 20px 20px 20px 6px; font-size: 15px; line-height: 1.4;
  border: 1px solid rgba(255, 255, 255, .7) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .24) 0%, rgba(255, 255, 255, 0) 52%),
    linear-gradient(160deg, rgba(255, 255, 255, .7) 0%, rgba(244, 239, 255, .52) 100%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important; backdrop-filter: blur(20px) saturate(180%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 6px 18px rgba(16, 40, 100, .2) !important;
}
html:root body.is-logged-in .home-text-shell .vibe-message-item .vibe-message.mine {
  border-radius: 20px 20px 6px 20px; border-color: rgba(255, 255, 255, .38) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .24) 0%, rgba(255, 255, 255, 0) 52%),
    linear-gradient(160deg, rgba(72, 138, 255, .72) 0%, rgba(33, 103, 245, .6) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 6px 18px rgba(16, 40, 100, .2) !important;
}
@media (prefers-reduced-transparency: reduce) {
  html:root body.is-logged-in .home-text-shell .vibe-message-item .vibe-message { background: #fff !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  html:root body.is-logged-in .home-text-shell .vibe-message-item .vibe-message.mine { background: #2167f5 !important; }
}
.home-text-shell .vibe-message-item .vibe-message small { font-size: 12px; letter-spacing: .01em; }
.home-text-shell .vibe-message-item:last-of-type .vibe-message { animation: sp-bubble-in .42s var(--sp-ease-snappy) both; }
@keyframes sp-bubble-in { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .home-text-shell .vibe-message-item:last-of-type .vibe-message { animation: none; } }
/* A message you just sent glides up from the message box instead (flySentMessage in index.html). */
.home-text-shell .vibe-message-item .vibe-message.is-flying { animation: none !important; }

/* The older-messages notice inside the chat: white with violet words, like a message you receive, so it reads on any
   Home picture. */
html:root body.is-logged-in .home-text-shell .vibe-history-lock {
  color: #7a45f0 !important; background: #fff !important; border-color: transparent !important;
  box-shadow: 0 6px 18px rgba(16, 40, 100, .22) !important;
}
html:root body.is-logged-in .home-text-shell .vibe-history-lock :is(p, button, small, strong, span) { color: #7a45f0 !important; }

/* The whole chat is liquid glass, like the bubbles (shared/communication-sheet.js COLORS.glass): History, × (white glass
   in the light theme), + People, History cards and the message box are dark glass, the older-messages notice is white glass. The picture shows
   through, blurred, with a bright hairline edge and a gloss on the top half. Reduce Transparency: solid. */
html:root body.is-logged-in .home-text-shell :is(.home-text-history-toggle, .home-text-close, .home-text-history-item),
html:root body.is-logged-in :is(.sheet-person-action, .vibe-chat-back.sheet-person-action),
html:root body.is-logged-in .home-text-shell .vibe-chat-form textarea {
  color: #fff !important; border: 1px solid rgba(255, 255, 255, .3) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, 0) 55%), rgba(14, 32, 60, .46) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important; backdrop-filter: blur(20px) saturate(180%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 18px rgba(16, 40, 100, .2) !important;
}
/* Light theme: History and × sit on the light top bar, so they are white glass with their own ink. */
html:root:not([data-theme="dark"]) body.is-logged-in .home-text-shell :is(.home-text-history-toggle, .home-text-close) {
  color: inherit !important; border-color: rgba(255, 255, 255, .7) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .24) 0%, rgba(255, 255, 255, 0) 52%), linear-gradient(160deg, rgba(255, 255, 255, .7) 0%, rgba(244, 239, 255, .52) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 6px 18px rgba(16, 40, 100, .14) !important;
}
/* History (Text, Call and Video): each past chat or call is a dark glass card with white words. */
html:root body.is-logged-in .home-text-shell .home-text-history-item :is(strong, small, span:not(.home-text-history-unread)) { color: #fff !important; }
html:root body.is-logged-in .home-text-shell .home-text-history-item small { color: rgba(255, 255, 255, .8) !important; }
html:root body.is-logged-in .home-text-shell .home-text-history-item:is(:hover, :focus-visible) { border-color: rgba(255, 255, 255, .7) !important; }
html:root body.is-logged-in .home-text-shell .vibe-chat-form textarea::placeholder { color: rgba(255, 255, 255, .78); }
html:root body.is-logged-in .home-text-shell .vibe-chat-form textarea:focus { border-color: rgba(255, 255, 255, .6) !important; outline: none; }
/* Send: a violet glass paper plane pointing up on a glass square (below), the same size as the +
   (shared/communication-sheet.js SEND: colour fade, white edge, shine). */
html:root body.is-logged-in .home-text-shell .vibe-chat-form button[type=submit] { color: #7a45f0 !important; font-weight: 800; }
html:root body.is-logged-in .home-text-shell .vibe-chat-form button[type=submit] svg { width: 26px; height: 26px; }
html:root body.is-logged-in .home-text-shell .vibe-chat-form button[type=submit]:disabled { opacity: .6; }
html:root body.is-logged-in .home-text-shell .vibe-history-lock {
  border: 1px solid rgba(255, 255, 255, .7) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .24) 0%, rgba(255, 255, 255, 0) 52%), linear-gradient(160deg, rgba(255, 255, 255, .74) 0%, rgba(244, 239, 255, .58) 100%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important; backdrop-filter: blur(20px) saturate(180%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 6px 18px rgba(16, 40, 100, .2) !important;
}
/* Call and Video: Mute, Speaker, Camera and the rest are white glass with violet words; Accept is blue glass; End call
   and Decline are danger-red glass (shared/communication-sheet.js COLORS.glass), the same as iPhone and iPad. */
html:root body.is-logged-in .sheet-toggles > button {
  color: #7a45f0 !important; border: 1px solid rgba(255, 255, 255, .7) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .24) 0%, rgba(255, 255, 255, 0) 52%), linear-gradient(160deg, rgba(255, 255, 255, .7) 0%, rgba(244, 239, 255, .52) 100%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important; backdrop-filter: blur(20px) saturate(180%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 6px 18px rgba(16, 40, 100, .2) !important;
}
html:root body.is-logged-in .sheet-toggles > button.accept-call {
  color: #fff !important; border-color: rgba(255, 255, 255, .38) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .24) 0%, rgba(255, 255, 255, 0) 52%), linear-gradient(160deg, rgba(72, 138, 255, .82) 0%, rgba(33, 103, 245, .72) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 6px 18px rgba(16, 40, 100, .22) !important;
}
html:root body.is-logged-in .sheet-end {
  border: 1px solid rgba(255, 255, 255, .4) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .24) 0%, rgba(255, 255, 255, 0) 52%), linear-gradient(160deg, rgba(255, 65, 105, .84) 0%, rgba(230, 40, 85, .74) 100%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important; backdrop-filter: blur(20px) saturate(180%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 6px 18px rgba(120, 20, 50, .25) !important;
}
/* "Switch to a voice call?" and the other small questions (spossityConfirm in index.html): a dark glass card; Cancel or
   Decline is white glass with violet words, Go ahead or Accept is blue glass, a risky choice is red glass. */
html:root body.is-logged-in .communication-switch-card:not(.avatar-welcome) {
  color: #fff !important; border: 1px solid rgba(255, 255, 255, .3) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 45%), rgba(14, 32, 60, .62) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important; backdrop-filter: blur(24px) saturate(180%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 24px 60px rgba(4, 12, 29, .45) !important;
}
html:root body.is-logged-in .communication-switch-card:not(.avatar-welcome) button {
  color: #7a45f0 !important; border: 1px solid rgba(255, 255, 255, .7) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .24) 0%, rgba(255, 255, 255, 0) 52%), linear-gradient(160deg, rgba(255, 255, 255, .78) 0%, rgba(244, 239, 255, .6) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 6px 18px rgba(4, 12, 29, .25) !important;
}
html:root body.is-logged-in .communication-switch-card:not(.avatar-welcome) button[data-go] {
  color: #fff !important; border-color: rgba(255, 255, 255, .38) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .24) 0%, rgba(255, 255, 255, 0) 52%), linear-gradient(160deg, rgba(72, 138, 255, .86) 0%, rgba(33, 103, 245, .78) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 6px 18px rgba(4, 12, 29, .25) !important;
}
html:root body.is-logged-in .communication-switch-card:not(.avatar-welcome) button.is-danger {
  background: linear-gradient(180deg, rgba(255, 255, 255, .24) 0%, rgba(255, 255, 255, 0) 52%), linear-gradient(160deg, rgba(229, 56, 59, .88) 0%, rgba(205, 40, 45, .8) 100%) !important;
}
/* Squares and rectangles: the card r24, its buttons r12. The card is dark glass in both modes, so the "keep / cancel"
   choice is dark glass with white words too, never a white button on it. */
html:root body.is-logged-in .communication-switch-card:not(.avatar-welcome) { border-radius: 24px !important; }
html:root body.is-logged-in .communication-switch-card:not(.avatar-welcome) button { border-radius: 12px !important; }
html:root body.is-logged-in .communication-switch-card:not(.avatar-welcome) button:not([data-go]) {
  color: #fff !important; border-color: rgba(255, 255, 255, .28) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 55%), rgba(255, 255, 255, .06) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 6px 18px rgba(4, 12, 29, .25) !important;
}
/* Glass squares: every sign in the chat sits on a rounded square of real liquid glass, like the Home card — the Text,
   Call, Video and Live share switches in the top bar, the + and the Send arrow (shared/communication-sheet.js
   COLORS.glass.clear). Squares and rectangles, never circles. */
html:root body.is-logged-in .communication-modes button,
html:root body.is-logged-in .home-text-shell .vibe-chat-form .message-media-icon,
html:root body.is-logged-in .home-text-shell .vibe-chat-form button[type=submit] {
  width: 44px !important; min-width: 44px !important; height: 44px !important; min-height: 44px !important; padding: 0 !important;
  border-radius: 12px !important; border: 1px solid rgba(255, 255, 255, .6) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .34) 0%, rgba(255, 255, 255, .06) 55%), rgba(255, 255, 255, .16) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important; backdrop-filter: blur(16px) saturate(180%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), 0 4px 12px rgba(16, 40, 100, .25) !important;
}
html:root body.is-logged-in .communication-modes { gap: 6px; display: inline-flex; }
html:root body.is-logged-in .communication-modes button svg { width: 22px; height: 22px; }
html:root body.is-logged-in .home-text-shell .vibe-chat-form :is(.message-media-icon, button[type=submit]) { align-self: end; }
@media (prefers-reduced-transparency: reduce) {
  html:root body.is-logged-in .home-text-shell :is(.home-text-history-toggle, .home-text-close, .home-text-history-item, .vibe-chat-form textarea, .vibe-history-lock), html:root body.is-logged-in :is(.sheet-person-action, .sheet-toggles > button, .sheet-end) { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  html:root body.is-logged-in .sheet-toggles > button { background: #fff !important; }
  html:root body.is-logged-in .sheet-toggles > button.accept-call { background: #2167f5 !important; }
  html:root body.is-logged-in .sheet-end { background: #ff4169 !important; }
  html:root body.is-logged-in .home-text-shell :is(.home-text-history-toggle, .home-text-close, .home-text-history-item, .vibe-chat-form textarea), html:root body.is-logged-in .sheet-person-action { background: #142c4d !important; }
  html:root body.is-logged-in .home-text-shell .vibe-history-lock { background: #fff !important; }
  html:root body.is-logged-in :is(.communication-modes button, .home-text-shell .vibe-chat-form .message-media-icon, .home-text-shell .vibe-chat-form button[type=submit]) { background: #d9dcef !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  html:root body.is-logged-in .communication-switch-card:not(.avatar-welcome) { background: #142c4d !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}
