.messages-body {
  --messages-border: rgba(255, 255, 255, 0.08);
  --messages-panel: linear-gradient(180deg, rgba(15, 17, 24, 0.96), rgba(8, 10, 16, 0.96));
  --messages-panel-soft: linear-gradient(180deg, rgba(20, 22, 31, 0.88), rgba(10, 12, 18, 0.88));
  --messages-purple: #8f4fff;
  --messages-purple-strong: #bf5cff;
  --messages-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
  height: 100vh;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(113, 67, 255, 0.12), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(163, 78, 255, 0.1), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(84, 39, 200, 0.12), transparent 34%),
    linear-gradient(180deg, #05070b 0%, #06080d 100%);
  overflow: hidden;
}

.messages-body::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 34%, transparent 100%);
  opacity: 0.32;
}

.messages-shell {
  width: min(100%, 1720px);
  height: 100vh;
  min-height: 100vh;
  margin: 0 auto;
  padding: 10px;
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  gap: 12px;
}

.messages-sidebar,
.messages-topbar,
.message-hub,
.info-card,
.sidebar-promo {
  border: 1px solid var(--messages-border);
  background: var(--messages-panel);
  box-shadow: var(--messages-shadow);
}

.messages-sidebar {
  position: sticky;
  top: 14px;
  align-self: start;
  height: calc(100vh - 28px);
  padding: 14px 12px 12px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.messages-brand {
  padding: 6px 8px 8px;
  gap: 12px;
  font-size: 0.96rem;
  letter-spacing: -0.03em;
}

.messages-brand .brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}

.messages-brand .brand-mark::before {
  display: none;
}

.messages-brand .brand-mark svg {
  width: 22px;
  height: 22px;
  stroke: #a45dff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  filter: drop-shadow(0 0 12px rgba(143, 79, 255, 0.35));
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-links a {
  min-height: 37px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.86rem;
  font-weight: 600;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.sidebar-links a:hover,
.sidebar-links a.active {
  color: #fff;
  border-color: rgba(143, 79, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(143, 79, 255, 0.16), rgba(143, 79, 255, 0.08)),
    rgba(255, 255, 255, 0.03);
}

.sidebar-links a:hover {
  transform: translateX(2px);
}

.sidebar-icon,
.sidebar-icon svg,
.icon-button svg,
.thread-search-icon svg,
.settings-row-icon svg,
.info-inline-icon svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sidebar-icon svg,
.icon-button svg,
.thread-search-icon svg,
.settings-row-icon svg,
.info-inline-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.sidebar-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--messages-purple), var(--messages-purple-strong));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
}

.sidebar-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.sidebar-links-secondary {
  margin-bottom: auto;
}

.sidebar-actions {
  display: grid;
  gap: 8px;
}

.sidebar-cta {
  width: 100%;
  min-height: 36px;
  border-radius: 8px;
  font-size: 0.82rem;
}

.sidebar-cta::before {
  content: "+";
  font-size: 1.1rem;
  line-height: 1;
}

.sidebar-cta-secondary::before {
  display: none;
}

.sidebar-promo {
  position: relative;
  min-height: 106px;
  padding: 12px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 88% 18%, rgba(143, 79, 255, 0.28), transparent 30%),
    linear-gradient(180deg, rgba(31, 21, 45, 0.98), rgba(15, 14, 22, 0.98));
  overflow: hidden;
}

.sidebar-promo-copy h2 {
  font: 800 0.9rem/1.1 "Manrope", sans-serif;
}

.sidebar-promo-copy p {
  max-width: 11rem;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  line-height: 1.34;
}

.sidebar-promo-link {
  display: inline-flex;
  margin-top: 8px;
  color: #cf9bff;
  font-size: 0.8rem;
  font-weight: 800;
}

.sidebar-promo-visual {
  position: absolute;
  right: -12px;
  bottom: 0;
  width: 84px;
  height: 100px;
  background: url("/assets/hero-model.png") center bottom / contain no-repeat;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.36));
}

.messages-main {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.messages-topbar {
  min-height: 60px;
  padding: 10px 12px;
  border-radius: 12px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.messages-topbar .mobile-app-topbar {
  display: none;
}

.messages-search {
  width: min(100%, 520px);
  justify-self: start;
}

.messages-search input {
  min-height: 40px;
  border-radius: 8px;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(4, 6, 10, 0.86);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.86rem;
}

.messages-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.messages-topbar-actions .button {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 0.82rem;
}

.icon-button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--messages-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.82);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.messages-layout {
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 272px;
  gap: 12px;
}

.message-hub {
  min-width: 0;
  min-height: 0;
  height: 100%;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  overflow: hidden;
}

.thread-list-panel {
  min-width: 0;
  padding: 18px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  background:
    radial-gradient(circle at 28% 0%, rgba(143, 79, 255, 0.11), transparent 34%),
    var(--messages-panel-soft);
}

.panel-title-row,
.thread-search-shell,
.thread-tabs {
  margin-left: 18px;
  margin-right: 18px;
}

.panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-title-row h2,
.info-card-title {
  font: 800 0.92rem/1.1 "Manrope", sans-serif;
  letter-spacing: -0.03em;
}

.compose-button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(143, 79, 255, 0.36);
  border-radius: 10px;
  background: rgba(143, 79, 255, 0.08);
  color: #b971ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.compose-button svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.thread-search-shell {
  margin-top: 16px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.4);
}

.thread-search-shell input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
}

.thread-tabs {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding-bottom: 10px;
}

.thread-tab {
  border: 0;
  padding: 0 2px 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.86rem;
  font-weight: 700;
  position: relative;
}

.thread-tab.active {
  color: #d09eff;
}

.thread-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--messages-purple), var(--messages-purple-strong));
}

.thread-list {
  min-height: 0;
  max-height: none;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.thread-stream::-webkit-scrollbar {
  width: 8px;
}

.thread-stream::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.thread-card {
  width: 100%;
  padding: 14px 18px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: transparent;
  color: inherit;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  text-align: left;
  cursor: pointer;
}

.thread-card.is-active {
  background:
    linear-gradient(180deg, rgba(143, 79, 255, 0.14), rgba(143, 79, 255, 0.06)),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(143, 79, 255, 0.18);
}

.thread-avatar,
.profile-highlight-avatar {
  border-radius: 50%;
  background:
    radial-gradient(circle at 62% 18%, rgba(255, 255, 255, 0.18), transparent 18%),
    linear-gradient(135deg, rgba(124, 77, 255, 0.26), rgba(212, 75, 255, 0.18));
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.thread-avatar {
  width: 50px;
  height: 50px;
}

.thread-avatar-large {
  width: 46px;
  height: 46px;
}

.thread-card-copy,
.profile-highlight-copy {
  min-width: 0;
}

.thread-card-name,
.thread-name-row {
  display: flex;
  align-items: center;
  gap: 7px;
}

.thread-card-name strong,
.thread-name-row strong {
  font-size: 0.9rem;
  font-weight: 800;
}

.thread-snippet {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  line-height: 1.35;
}

.thread-card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.76rem;
}

.thread-unread {
  min-width: 22px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--messages-purple), var(--messages-purple-strong));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
}

.verified-badge {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--messages-purple), var(--messages-purple-strong));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.verified-badge::before {
  content: "";
  width: 5px;
  height: 3px;
  border-left: 1.6px solid #fff;
  border-bottom: 1.6px solid #fff;
  transform: rotate(-45deg) translate(0, -1px);
}

.thread-panel {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  background: linear-gradient(180deg, rgba(13, 15, 22, 0.94), rgba(8, 10, 16, 0.98));
}

.thread-header {
  min-height: 76px;
  padding: 16px 18px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.thread-header-profile,
.thread-status-row,
.thread-header-actions,
.settings-row-copy,
.info-inline {
  display: flex;
  align-items: center;
}

.thread-header-profile {
  gap: 12px;
}

.thread-status-row {
  gap: 8px;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3fe28c;
  box-shadow: 0 0 0 4px rgba(63, 226, 140, 0.14);
}

.status-dot.is-offline {
  background: rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.thread-header-actions {
  gap: 8px;
}

.thread-day-divider {
  position: relative;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.78rem;
}

.thread-day-divider::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
}

.thread-day-divider span {
  position: relative;
  z-index: 1;
  padding: 0 12px;
  background: #0b0d14;
}

.thread-stream {
  min-height: 0;
  padding: 16px 18px 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.message-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.message-row.is-me {
  justify-content: flex-end;
}

.message-row.is-me .thread-avatar {
  display: none;
}

.message-bubble-stack {
  max-width: min(70%, 380px);
}

.message-bubble {
  display: inline-block;
  padding: 13px 15px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(28, 32, 43, 0.96), rgba(21, 24, 34, 0.98));
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.88rem;
  line-height: 1.38;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.message-row.is-me .message-bubble {
  background: linear-gradient(135deg, rgba(143, 79, 255, 0.94), rgba(191, 92, 255, 0.88));
  border-bottom-right-radius: 8px;
}

.message-row.is-them .message-bubble {
  border-bottom-left-radius: 8px;
}

.message-time {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.76rem;
}

.message-row.is-me .message-time {
  text-align: right;
}

.message-row.is-me .message-time::after {
  content: "  \2713";
  color: #d29aff;
  font-weight: 700;
}

.locked-card {
  width: min(236px, 100%);
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.12), transparent 28%),
    radial-gradient(circle at 70% 18%, rgba(191, 92, 255, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(41, 33, 53, 0.96), rgba(17, 15, 24, 0.98));
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
}

.locked-card-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  display: grid;
  place-items: center;
}

.locked-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.locked-card strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
}

.locked-card span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

.locked-card .button {
  min-width: 142px;
  min-height: 36px;
  margin-top: 14px;
  border-radius: 10px;
  font-size: 0.8rem;
}

.thread-composer {
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
}

.composer-attach,
.composer-send {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.composer-send {
  background: linear-gradient(135deg, var(--messages-purple), var(--messages-purple-strong));
  color: #fff;
  border-color: transparent;
}

.composer-attach svg,
.composer-send svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.thread-composer input {
  min-width: 0;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  font-size: 0.88rem;
}

.messages-info-rail {
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(0, 1.2fr) minmax(0, 0.72fr) minmax(0, 0.82fr);
  gap: 10px;
}

.info-card {
  min-height: 0;
  border-radius: 16px;
  padding: 16px;
  overflow: hidden;
}

.profile-highlight {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.profile-highlight-avatar {
  width: 78px;
  height: 78px;
  margin: 0 auto 10px;
}

.thread-name-row-large {
  justify-content: center;
}

.profile-handle {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  font-weight: 600;
}

.profile-highlight .thread-status-row {
  justify-content: center;
}

.profile-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-metrics strong,
.profile-metrics span {
  display: block;
}

.profile-metrics strong {
  font-size: 0.96rem;
  font-weight: 800;
}

.profile-metrics span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
}

.profile-button {
  width: 100%;
  min-height: 36px;
  margin-top: 14px;
  border-radius: 10px;
  font-size: 0.8rem;
}

.info-copy {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.info-inline {
  gap: 8px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.settings-row {
  width: 100%;
  padding: 0;
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font-size: 0.82rem;
}

.settings-row-copy {
  gap: 10px;
}

.settings-row-icon {
  color: rgba(255, 255, 255, 0.74);
}

.settings-row-value {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.settings-row-danger {
  color: #ff5b71;
}

.settings-row-danger .settings-row-icon {
  color: inherit;
}

.thread-empty {
  padding: 24px 18px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.84rem;
}

@media (max-width: 1380px) {
  .messages-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .messages-info-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .messages-body {
    height: auto;
    overflow: auto;
  }

  .messages-shell {
    height: auto;
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .messages-sidebar {
    display: none;
  }

  .messages-topbar {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 980px) {
  .message-hub {
    grid-template-columns: 1fr;
  }

  .thread-list-panel {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .thread-list {
    min-height: 0;
    max-height: 360px;
  }

  .messages-info-rail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .messages-body {
    height: auto;
    padding-bottom: 86px;
    overflow: auto;
  }

  .messages-shell {
    height: auto;
    min-height: auto;
    padding: 0 0 18px;
    gap: 0;
  }

  .messages-topbar {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    grid-template-columns: 1fr;
  }

  .messages-topbar .mobile-app-topbar {
    display: flex;
    padding: calc(env(safe-area-inset-top, 0px) + 10px) 10px 10px;
  }

  .messages-search,
  .messages-topbar-actions {
    display: none;
  }

  .messages-main {
    padding: 0 8px;
  }

  .message-hub,
  .info-card {
    border-radius: 18px;
  }

  .message-hub {
    overflow: visible;
  }

  .thread-list-panel {
    padding-top: 18px;
  }

  .thread-list {
    max-height: 320px;
  }

  .thread-panel {
    min-height: 620px;
  }

  .thread-header,
  .thread-stream,
  .thread-composer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .thread-day-divider::before {
    left: 14px;
    right: 14px;
  }

  .message-bubble-stack {
    max-width: 84%;
  }

  .profile-metrics {
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .messages-main {
    padding: 0 6px;
  }

  .panel-title-row,
  .thread-search-shell,
  .thread-tabs {
    margin-left: 14px;
    margin-right: 14px;
  }

  .thread-card {
    padding-left: 14px;
    padding-right: 14px;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .thread-avatar {
    width: 48px;
    height: 48px;
  }

  .thread-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .thread-header-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .thread-composer {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 8px;
  }

  .composer-attach,
  .composer-send {
    width: 42px;
    height: 42px;
  }

  .profile-highlight-avatar {
    width: 94px;
    height: 94px;
  }

  .profile-metrics {
    grid-template-columns: 1fr;
  }
}
