/* Introductions, matches, scheduling, bookings, payment and chat (owned by the dates views). */

/* ------------------------------------------------------------------ Small shared bits */
.stack-xs {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.eyebrow {
  font: 700 12px/1.3 var(--font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 6px 0 0 4px;
}
.inline-icon {
  width: 16px;
  height: 16px;
  vertical-align: -3px;
}
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.center-row {
  justify-content: center;
}
.btn-link.inline-link {
  padding-left: 0;
  min-height: 44px;
}
.badge-row,
.fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.spinner {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  border: 2.5px solid var(--ember);
  border-right-color: transparent;
  animation: spin 0.7s linear infinite;
}

/* ------------------------------------------------------------------ Introductions header */
.intro-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.drop-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--indigo-soft);
  color: var(--indigo);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.drop-chip .icon {
  width: 15px;
  height: 15px;
}
.push-slot:empty {
  display: none;
}

/* ------------------------------------------------------------------ The deck */
.deck-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.deck {
  position: relative;
  display: flex;
  gap: 10px;
  margin: 0 -16px;
  padding: 2px 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.deck::-webkit-scrollbar {
  display: none;
}
.deck:focus-visible {
  outline-offset: -3px;
}
.deck-note:empty {
  display: none;
}

.intro-card {
  position: relative;
  /* The next card peeks in from the right so it's obvious there is more. */
  flex: 0 0 calc(100% - 44px);
  height: clamp(440px, calc(100dvh - var(--appbar-h) - var(--tabbar-h) - 190px - var(--safe-top) - var(--safe-bottom)), 660px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-soft);
  color: #fff;
}
.deck .intro-card:only-child {
  flex-basis: 100%;
}

/* Story photos (also on the full profile) */
.story {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--ink-soft);
}
.story-stage {
  position: absolute;
  inset: 0;
}
.story-photo {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.22s var(--ease);
  background: var(--ink-soft);
}
.story-photo.on {
  opacity: 1;
}
.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--cloud);
}
.story-tap {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 1;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}
.story-tap.prev {
  left: 0;
}
.story-tap.next {
  right: 0;
}
.story-tap:focus-visible {
  outline-offset: -6px;
}
.story-segs {
  position: absolute;
  top: 12px;
  left: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  gap: 4px;
  pointer-events: none;
}
.story-segs span {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: rgb(255 255 255 / 0.4);
  transition: background-color 0.2s var(--ease);
}
.story-segs span.on {
  background: #fff;
}
.story.story-full {
  position: relative;
  inset: auto;
  aspect-ratio: 4 / 5;
  max-height: 72dvh;
  width: 100%;
  border-radius: var(--r-lg);
}

.intro-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(31 26 43 / 0.4) 0%, rgb(31 26 43 / 0) 20%, rgb(31 26 43 / 0) 42%, rgb(31 26 43 / 0.88) 100%);
}
.intro-top {
  position: absolute;
  top: 24px;
  left: 14px;
  right: 6px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}
.glass-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgb(255 255 255 / 0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.glass-chip.saffron {
  background: var(--saffron);
  color: var(--ink);
}
.icon-btn.glass-btn {
  color: #fff;
  background: rgb(31 26 43 / 0.32);
}
.intro-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  max-height: 100%;
  overflow-y: auto;
}
.intro-about-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.intro-about {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.intro-name {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.intro-first {
  font: 600 34px/1.1 var(--font-serif);
  letter-spacing: -0.01em;
}
.intro-age {
  font: 600 24px/1.1 var(--font-serif);
  color: rgb(255 255 255 / 0.85);
}
.intro-verified {
  align-self: center;
  display: inline-grid;
  color: var(--indigo-soft);
}
.intro-place {
  font-size: 15px;
  color: rgb(255 255 255 / 0.85);
}
.intro-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.intro-bio {
  display: block;
  font-size: 15px;
  white-space: pre-line;
}
.intro-bio.clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.intro-more:empty {
  display: none;
}
.intro-note {
  font-size: 14px;
  color: var(--saffron);
}
.intro-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 44px;
  color: #fff;
  font-weight: 700;
}
.intro-profile-link .icon {
  width: 18px;
  height: 18px;
}

.decision-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.decision-row .btn {
  flex: 1;
}
.round-action {
  flex: none;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1.5px solid rgb(255 255 255 / 0.55);
  background: rgb(255 255 255 / 0.16);
  color: #fff;
  cursor: pointer;
  transition: transform 0.15s var(--ease);
}
.round-action:active:not(:disabled) {
  transform: scale(0.88);
}
.round-action:disabled {
  opacity: 0.5;
}
.round-action.loading .icon {
  opacity: 0.3;
}
.status-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: var(--r-md);
  background: rgb(255 255 255 / 0.14);
  animation: pop-in 0.35s var(--spring);
}
.strip-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  background: rgb(255 255 255 / 0.35);
}
.strip-icon.palm {
  background: var(--palm);
}
.strip-icon .icon {
  width: 18px;
  height: 18px;
}
.strip-title {
  font-weight: 700;
}
.strip-body {
  font-size: 13px;
  color: rgb(255 255 255 / 0.85);
}
.match-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 14px 0 18px;
  border-radius: var(--r-pill);
  background: var(--ember);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  animation: pop-in 0.4s var(--spring);
}
.match-strip .icon {
  width: 20px;
  height: 20px;
}
@keyframes pop-in {
  from {
    opacity: 0;
    transform: scale(0.88);
  }
}

/* ------------------------------------------------------------------ The match moment */
.match-burst {
  position: relative;
  align-self: center;
  width: 220px;
  height: 220px;
  display: grid;
  place-items: center;
}
.burst-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--ember);
  opacity: 0;
  animation: burst 1.3s var(--ease) 0.1s forwards;
}
.burst-dot:nth-child(3n + 2) {
  background: var(--saffron);
}
.burst-dot:nth-child(3n) {
  background: var(--indigo);
  width: 8px;
  height: 8px;
}
.burst-dot:nth-child(1) { --a: 0deg; }
.burst-dot:nth-child(2) { --a: 36deg; }
.burst-dot:nth-child(3) { --a: 72deg; }
.burst-dot:nth-child(4) { --a: 108deg; }
.burst-dot:nth-child(5) { --a: 144deg; }
.burst-dot:nth-child(6) { --a: 180deg; }
.burst-dot:nth-child(7) { --a: 216deg; }
.burst-dot:nth-child(8) { --a: 252deg; }
.burst-dot:nth-child(9) { --a: 288deg; }
.burst-dot:nth-child(10) { --a: 324deg; }
@keyframes burst {
  0% {
    opacity: 1;
    transform: rotate(var(--a)) translateY(-40px) scale(0.4);
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(var(--a)) translateY(-104px) scale(1);
  }
}
.match-ring {
  position: relative;
  padding: 4px;
  border: 4px solid var(--ember);
  border-radius: 50%;
  background: var(--paper);
  animation: pop-in 0.6s var(--spring);
}
.avatar.match-avatar {
  width: 104px;
  height: 104px;
}
.match-title {
  font-size: 32px;
  text-align: center;
  color: var(--ember);
}
.match-body {
  max-width: 360px;
  align-self: center;
}

/* ------------------------------------------------------------------ Not ready yet */
.check-head {
  align-items: flex-start;
  gap: 14px;
}
.step-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ember-soft);
  color: var(--ember);
  font-weight: 700;
}
.step-num.pending {
  background: var(--indigo-soft);
  color: var(--indigo);
}
.step-num .icon {
  width: 18px;
  height: 18px;
}
.check-card h3 {
  font-size: 18px;
}

/* ------------------------------------------------------------------ Full profile */
.profile-bio {
  font-size: 17px;
  white-space: pre-line;
}

/* ------------------------------------------------------------------ Dates list */
.card.list-row {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  border-radius: var(--r-md);
}
.list-row .row-title {
  font-weight: 700;
}
.list-row .chev {
  color: var(--muted);
}
.list-row .row-cta {
  flex: none;
  pointer-events: none;
}
.list-row.prompt {
  background: var(--saffron-soft);
  border-color: transparent;
}

/* The date ticket */
.ticket {
  display: block;
  position: relative;
  border-radius: var(--r-lg);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}
.ticket.clickable {
  cursor: pointer;
  transition: transform 0.15s var(--ease);
}
.ticket.clickable:active {
  transform: scale(0.985);
}
.ticket-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 16px;
}
.avatar.ticket-avatar {
  width: 40px;
  height: 40px;
  background: var(--ink-soft);
}
.ticket-with {
  font-weight: 600;
}
.ticket-venue {
  font: 600 28px/1.15 var(--font-serif);
  letter-spacing: -0.01em;
}
.ticket-addr {
  font-size: 14px;
  color: rgb(255 255 255 / 0.72);
}
/* Perforation: a dashed line with half-circle notches cut in the page colour. */
.ticket-perf {
  position: relative;
  height: 20px;
  padding: 0 22px;
  background: linear-gradient(90deg, rgb(255 255 255 / 0.28) 50%, transparent 50%) center / 16px 1.5px repeat-x;
  background-clip: content-box;
}
.ticket-perf::before,
.ticket-perf::after {
  content: "";
  position: absolute;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--shell);
}
.ticket-perf::before {
  left: -10px;
}
.ticket-perf::after {
  right: -10px;
}
.ticket-bottom {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 14px 22px 20px;
}
.ticket-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.6);
}
.ticket-when {
  display: block;
  font: 600 20px/1.25 var(--font-serif);
}
.ticket-in {
  text-align: right;
}
.ticket-count {
  display: block;
  font: 600 20px/1.25 var(--font-serif);
  color: var(--saffron);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ------------------------------------------------------------------ Pick times */
.tier-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.tier-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-height: 72px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease);
}
.tier-card:active {
  transform: scale(0.97);
}
.tier-card[aria-checked="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.tier-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 17px;
}
.tier-title .icon {
  width: 18px;
  height: 18px;
}
.tier-price {
  font-size: 13px;
  opacity: 0.8;
}

.day-strip {
  display: flex;
  gap: 10px;
  margin: 0 -16px;
  padding: 8px 16px 6px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.day-strip::-webkit-scrollbar {
  display: none;
}
.day-tab {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  width: 68px;
  padding: 11px 0;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  scroll-snap-align: start;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease);
}
.day-tab:active {
  transform: scale(0.94);
}
.day-tab[aria-pressed="true"] {
  background: var(--ember);
  border-color: var(--ember);
  color: #fff;
}
.day-wd {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.85;
}
.day-num {
  font: 600 24px/1.15 var(--font-serif);
}
.day-mon {
  font-size: 11px;
  opacity: 0.75;
}
.day-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 11px;
  border: 2px solid var(--shell);
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  animation: pop-in 0.3s var(--spring);
}

.slot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.slot-tile {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 64px;
  padding: 12px 14px 12px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease);
}
.slot-tile:active {
  transform: scale(0.96);
}
.slot-tile[aria-checked="true"] {
  background: var(--ember-soft);
  border-color: var(--ember);
  box-shadow: inset 0 0 0 1px var(--ember);
}
.slot-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.slot-time {
  font: 600 20px/1.2 var(--font-serif);
  white-space: nowrap;
}
.slot-note {
  font-size: 11px;
  color: var(--muted);
}
.slot-check {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ember);
  color: #fff;
  opacity: 0;
  transform: scale(0.4);
  transition: transform 0.3s var(--spring), opacity 0.2s var(--ease);
}
.slot-check .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.6;
}
.slot-tile[aria-checked="true"] .slot-check {
  opacity: 1;
  transform: none;
}

/* Sticky action at the bottom of a screen without tabs. */
.action-bar {
  position: sticky;
  bottom: 0;
  z-index: 10;
  margin: 0 -16px calc(-28px - var(--safe-bottom));
  padding: 12px 16px calc(12px + var(--safe-bottom));
  background: color-mix(in srgb, var(--shell) 94%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-top: 1px solid var(--line);
}

/* ------------------------------------------------------------------ Booking */
.detail-row {
  display: flex;
  gap: 10px;
}
.detail-tile {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--paper);
}
.detail-tile.wide {
  flex: 1.4;
}
.detail-tile .eyebrow {
  margin: 0;
}
.detail-value {
  font-weight: 700;
}
.checking {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--paper);
  font-weight: 600;
}
.policy {
  gap: 0;
}
.policy summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: -6px 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.policy summary::-webkit-details-marker {
  display: none;
}
.policy .chev {
  color: var(--muted);
  transition: transform 0.3s var(--spring);
}
.policy[open] .chev {
  transform: rotate(90deg);
}
.policy[open] .rules {
  margin-top: 14px;
}
.rules {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-soft);
}
.rules li::marker {
  color: var(--ember);
}
.sheet .rules {
  padding: 14px 16px 14px 34px;
  border-radius: var(--r-md);
  background: var(--paper-chip);
}

/* The date-day timeline */
.timeline {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.tl-step {
  display: flex;
  gap: 14px;
}
.tl-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tl-rail::after {
  content: "";
  flex: 1;
  width: 2px;
  margin-top: 4px;
  background: var(--line);
}
.tl-step.last .tl-rail::after {
  display: none;
}
.tl-dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--paper-chip);
  color: var(--muted);
}
.tl-dot .icon {
  width: 18px;
  height: 18px;
}
.tl-step.active .tl-dot {
  background: var(--ember-soft);
  color: var(--ember);
}
.tl-step.done .tl-dot {
  background: var(--palm-soft);
  color: var(--palm);
}
.tl-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-bottom: 18px;
}
.tl-step.last .tl-body {
  padding-bottom: 0;
}
.tl-title {
  padding-top: 6px;
  font-weight: 700;
}
.tl-step.later .tl-title {
  color: var(--muted);
}
.tl-body .btn-link {
  margin-left: -12px;
}
.tl-body .btn-block {
  margin-top: 6px;
}

/* Feedback */
.stars {
  display: flex;
}
.star {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--saffron-ink);
  cursor: pointer;
  transition: transform 0.15s var(--ease);
}
.star:active {
  transform: scale(0.88);
}
.star .icon {
  width: 30px;
  height: 30px;
}
.star.on .icon {
  fill: var(--saffron);
}

.cancel-zone {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 0 4px;
}
.cancel-zone .btn-link {
  margin-left: -12px;
}

/* ------------------------------------------------------------------ Chat */
.chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: calc(100dvh - var(--appbar-h) - var(--safe-top) - 40px - var(--safe-bottom));
}
.chat-list {
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat-empty {
  margin: auto 0;
  padding: 24px;
}
.bubble {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 20px;
  overflow-wrap: anywhere;
  animation: fade-in 0.2s var(--ease);
}
.bubble.mine {
  align-self: flex-end;
  background: var(--ember);
  color: #fff;
  border-bottom-right-radius: 6px;
}
.bubble.theirs {
  align-self: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
}
.bubble-text {
  white-space: pre-wrap;
}
.bubble-time {
  align-self: flex-end;
  font-size: 11px;
  color: var(--muted);
}
.bubble.mine .bubble-time {
  color: rgb(255 255 255 / 0.85);
}
.chat-footer {
  position: sticky;
  bottom: 0;
  z-index: 10;
  margin: 0 -16px calc(-28px - var(--safe-bottom));
  padding: 10px 12px calc(10px + var(--safe-bottom));
  background: color-mix(in srgb, var(--shell) 94%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-top: 1px solid var(--line);
}
.chat-composer {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.textarea.chat-input {
  flex: 1;
  min-height: 48px;
  height: var(--chat-h, 48px);
  max-height: 132px;
  padding: 12px 18px;
  border-radius: 24px;
  line-height: 1.4;
  resize: none;
}
.textarea.chat-input:focus {
  border-color: var(--ember);
}
.chat-send {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--ember);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.15s var(--ease);
}
.chat-send:active:not(:disabled) {
  transform: scale(0.92);
}
.chat-send:disabled {
  background: var(--cloud);
  color: var(--muted);
  cursor: default;
}
.chat-send.loading .icon {
  opacity: 0.35;
}
.chat-count {
  display: block;
  padding: 4px 0 0 18px;
}
.chat-count:empty {
  display: none;
}
.chat-closed {
  margin: 0;
  padding: 6px 8px;
  text-align: center;
}
