/* The Rest · interface styles. Values come from the UI design canvas. */
:root {
  --bg: #F5F5F3;
  --ink: #242424;
  --red: #D93E37;
  --body: #4F4D48;
  --muted: #6B6862;
  --line: #D6D3CC;
  --line-soft: #E1DED7;
  --fill: #E9E7E2;
  --fill-photo: #E4E1DA;
  --surface: #FFFFFF;
  --danger: #B3261E;
  --danger-line: #E3B4B0;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: #ECEAE5;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* one phone-width column, full height */
.app {
  position: relative;
  width: 100%;
  max-width: 430px;
  height: 100dvh;
  margin: 0 auto;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: env(safe-area-inset-top, 0px);
}

/* top bar */
.top { height: 56px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 16px 0 8px; }
.top.brand { padding: 0 20px; justify-content: flex-start; gap: 10px; font-weight: 700; font-size: 19px; }
.icon-btn { width: 44px; height: 44px; border: 0; background: none; display: grid; place-items: center; border-radius: 12px; cursor: pointer; padding: 0; }
.dots { display: flex; align-items: flex-end; gap: 3px; }
.dots i { display: block; border-radius: 50%; width: 8px; height: 8px; background: var(--red); }
.dots i:first-child { width: 16px; height: 16px; background: var(--ink); }

/* scrolling content + pinned replies */
.scroll { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 20px; padding: 16px 20px 24px; scrollbar-width: none; }
.scroll::-webkit-scrollbar { display: none; }
.grow { flex: 1 1 0; min-height: 0; }
.foot { flex: none; display: flex; flex-direction: column; gap: 10px; padding: 12px 20px calc(24px + env(safe-area-inset-bottom, 0px)); background: var(--bg); }
.foot.edge { border-top: 1px solid var(--fill-photo); }
.foot.two { display: grid; grid-template-columns: 1fr 1fr; }

/* a scrollbar that is always visible when there is more to read */
.bar { position: absolute; right: 6px; width: 6px; border-radius: 3px; background: var(--line); pointer-events: none; }
.bar i { position: absolute; left: 0; top: 0; width: 6px; border-radius: 3px; background: var(--ink); }

/* the app asks… */
.ask { display: flex; flex-direction: column; gap: 10px; }
.ask .who { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); line-height: 16px; }
.ask h1 { margin: 0; font-size: 28px; line-height: 35px; font-weight: 700; letter-spacing: -0.4px; text-wrap: balance; }
.ask.small h1 { font-size: 20px; line-height: 28px; letter-spacing: -0.2px; }
.ask p, p.body { margin: 0; font-size: 16px; line-height: 24px; color: var(--body); }
p.note { margin: 0; font-size: 14px; line-height: 20px; color: #5C5A55; }
p.error { margin: 0; font-size: 14px; line-height: 20px; color: var(--danger); font-weight: 600; }

/* …and the person replies */
.btn { display: block; width: 100%; min-height: 52px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); font-size: 16px; font-weight: 600; line-height: 21px; padding: 14px 18px; text-align: left; cursor: pointer; }
.btn.primary { background: var(--ink); border-color: var(--ink); color: var(--bg); text-align: center; }
.btn.quiet { min-height: 44px; padding: 10px; border-color: transparent; background: none; color: var(--body); text-align: center; }
.btn.danger { color: var(--danger); border-color: var(--danger-line); text-align: center; }
.btn.on { border-color: var(--ink); box-shadow: inset 0 0 0 0.5px var(--ink); }
.btn:disabled { opacity: 0.4; cursor: default; }
.btn:focus-visible, .chip:focus-visible, .icon-btn:focus-visible, .seg button:focus-visible, .drop:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); border-radius: 22px; min-height: 44px; padding: 9px 14px; background: var(--surface); font-size: 14px; font-weight: 600; line-height: 22px; text-align: left; cursor: pointer; }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* answer fields */
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label, .field > .label { font-size: 16px; font-weight: 700; line-height: 22px; }
.input, .area { width: 100%; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); padding: 0 16px; font-size: 17px; font-weight: 600; }
.input { height: 54px; }
.area { padding: 14px 16px; min-height: 94px; line-height: 23px; resize: none; font-weight: 500; }
.input::placeholder, .area::placeholder { color: #8A8780; font-weight: 500; opacity: 1; }
.input:focus, .area:focus { outline: none; border-color: var(--ink); }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23242424' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.hint { font-size: 12px; line-height: 17px; color: var(--muted); }

/* six-digit code */
.otp { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.otp span { height: 62px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); display: grid; place-items: center; font-size: 24px; font-weight: 700; }
.otp span.now { border-color: var(--ink); }
.otp input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; }

/* invite screens */
.photo { background: var(--fill-photo); border-radius: 18px; display: flex; align-items: flex-end; padding: 14px; color: #55534E; font-size: 12px; line-height: 17px; flex: none; overflow: hidden; }
.photo.hero { flex: 0 1 252px; min-height: 150px; } /* gives up height before the screen has to scroll */
.photo img { width: 100%; height: 100%; object-fit: cover; }
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.steps li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; font-size: 16px; line-height: 24px; }
.steps li b { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-size: 13px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--fill); border-radius: 12px; padding: 4px; gap: 4px; }
.seg button { border: 0; background: none; border-radius: 9px; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--body); cursor: pointer; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(36, 36, 36, 0.08); }
.howto { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 23px; }

/* the rest: entry */
.drop { width: 100%; min-height: 168px; border-radius: 18px; border: 1.5px dashed #B9B6AF; background: var(--fill); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 16px; cursor: pointer; text-align: center; overflow: hidden; }
.drop b { font-size: 15px; font-weight: 600; }
.drop small { font-size: 12px; line-height: 17px; color: var(--muted); }
.drop.has { padding: 0; border-style: solid; border-color: var(--line); aspect-ratio: 1; min-height: 0; }
.drop.has img { width: 100%; height: 100%; object-fit: cover; display: block; }
.entry { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; background: var(--surface); border: 1.5px solid var(--line-soft); border-radius: 16px; padding: 10px; }
.entry .thumb { width: 56px; height: 56px; border-radius: 10px; background: var(--fill-photo); object-fit: cover; display: block; }
button.entry { width: 100%; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.entry .txt { display: block; min-width: 0; }
.entry b { display: block; font-size: 14px; line-height: 19px; font-weight: 600; }
.entry small { display: block; font-size: 12px; line-height: 17px; color: var(--muted); }

.busy { opacity: 0.55; pointer-events: none; }
.dev { font-size: 12px; line-height: 17px; color: var(--muted); border: 1.5px dashed #B9B6AF; border-radius: 12px; padding: 10px 12px; }

/* cards */
.card { background: var(--surface); border-radius: 22px; padding: 14px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 1px 2px rgba(36, 36, 36, 0.06), 0 8px 24px rgba(36, 36, 36, 0.06); }
.card .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card .meta b { font-size: 18px; line-height: 24px; }
.card .meta span { font-size: 13px; color: var(--muted); flex: none; }
.card .pic { position: relative; aspect-ratio: 1; width: 100%; border-radius: 18px; background: var(--fill-photo); overflow: hidden; display: flex; align-items: flex-end; padding: 14px; color: #55534E; font-size: 12px; line-height: 17px; }
.card .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card .pic .turn { position: absolute; top: 0; bottom: 0; width: 50%; border: 0; background: none; cursor: pointer; padding: 0; }
.card .pic .turn.prev { left: 0; }
.card .pic .turn.next { right: 0; }
.card .cap { margin: 0; font-size: 19px; line-height: 26px; font-weight: 600; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 600; color: #3A3935; }
.tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: none; display: block; }
.pager { display: flex; gap: 6px; justify-content: center; }
.pager i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); display: block; }
.pager i.on { background: var(--ink); }
.lock { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: #EDEBE6; border-radius: 14px; padding: 12px 14px; font-size: 14px; line-height: 20px; font-weight: 600; color: #3A3935; text-align: left; min-height: 44px; cursor: pointer; }
.lock.still { padding: 16px; font-size: 15px; color: var(--body); cursor: default; }
.lock svg { flex: none; }
.layer { background: var(--surface); border: 1.5px solid var(--line-soft); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.layer small { font-size: 12px; line-height: 17px; color: var(--muted); }
.layer b { font-size: 16px; line-height: 23px; font-weight: 600; }
.foot-q { margin: 0; text-align: center; font-size: 16px; line-height: 22px; font-weight: 700; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pair .btn { text-align: center; padding-inline: 10px; }

/* face check */
.oval-box { height: 220px; flex: none; border-radius: 18px; background: #EDEBE6; display: grid; place-items: center; }
.oval { width: 120px; height: 160px; border-radius: 50%; border: 3px dashed #8A877F; }
.cam { flex: 1; min-height: 0; display: flex; flex-direction: column; background: var(--ink); }
.cam .view { flex: 1; min-height: 0; position: relative; overflow: hidden; display: grid; place-items: center; }
.cam video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.cam .oval { position: relative; width: 190px; height: 250px; border-color: var(--bg); }
.cam .icon-btn { position: absolute; top: 8px; left: 8px; color: var(--bg); z-index: 1; }
.cam .badge { position: absolute; top: 14px; left: 60px; max-width: calc(100% - 76px); font-size: 12px; line-height: 16px; font-weight: 600; color: var(--bg); background: rgba(0, 0, 0, 0.45); padding: 8px 12px; border-radius: 16px; z-index: 1; }
.cam .sheet { flex: none; background: var(--bg); border-radius: 24px 24px 0 0; padding: 24px 20px calc(28px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 10px; }
.cam .sheet .q { margin: 0; font-size: 22px; line-height: 29px; font-weight: 700; }
.btn.dev { min-height: 44px; padding: 8px; background: none; border: 1.5px dashed #B9B6AF; color: var(--muted); font-size: 12px; text-align: center; }

/* inbox */
.thread { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; width: 100%; background: var(--surface); border: 1.5px solid var(--line-soft); border-radius: 16px; padding: 10px; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.thread .thumb { width: 56px; height: 56px; border-radius: 10px; background: var(--fill-photo); object-fit: cover; display: block; }
.thread .txt { min-width: 0; display: block; }
.thread b { display: block; font-size: 16px; line-height: 22px; font-weight: 700; }
.thread small { display: block; font-size: 13px; line-height: 19px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* chat */
.chathead { height: 64px; flex: none; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: 0 8px; border-bottom: 1px solid var(--fill-photo); background: var(--bg); }
.chathead .who { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.chathead .who b { font-size: 16px; line-height: 22px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chathead .who span { font-size: 12px; line-height: 16px; color: var(--muted); }
.chat { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; scrollbar-width: none; }
.chat::-webkit-scrollbar { display: none; }
.pinned { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 6px; flex: none; }
.pinned div { background: var(--surface); border: 1.5px solid var(--line-soft); border-radius: 12px; padding: 8px 10px; font-size: 12px; line-height: 16px; color: #5C5A55; min-width: 0; }
.pinned b { display: block; color: var(--ink); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pinned span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.msg { max-width: 80%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 21px; white-space: pre-wrap; overflow-wrap: anywhere; flex: none; }
.msg.them { align-self: flex-start; background: var(--surface); border: 1.5px solid var(--line-soft); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 6px; }
.msg.held { align-self: flex-end; background: var(--surface); color: var(--body); border: 1.5px dashed #B9B6AF; border-bottom-right-radius: 6px; }
.msg.held small { display: block; margin-top: 6px; font-size: 12px; line-height: 17px; color: var(--muted); }
.msg.gone { align-self: flex-start; background: none; color: var(--muted); border: 1.5px dashed #B9B6AF; border-bottom-left-radius: 6px; }
.msg.gone.me { align-self: flex-end; border-bottom-left-radius: 18px; border-bottom-right-radius: 6px; }
.msg.photo { padding: 6px; width: 62%; display: flex; flex-direction: column; gap: 6px; }
.msg.photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; display: block; background: #3A3A38; }
.msg.photo.them img { background: var(--fill-photo); }
.msg.photo .undo { border: 0; background: none; color: var(--bg); font-size: 12px; font-weight: 600; text-decoration: underline; align-self: flex-end; cursor: pointer; padding: 4px; min-height: 32px; }
.sent { align-self: flex-end; font-size: 11px; line-height: 14px; color: var(--muted); margin-top: -4px; flex: none; }
.sys { align-self: center; max-width: 94%; background: #EDEBE6; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; text-align: center; font-size: 13px; line-height: 19px; color: var(--body); flex: none; }
.sys b { color: var(--ink); }
.sys .btn { min-height: 44px; padding: 10px 14px; font-size: 14px; }
.notice { align-self: stretch; background: var(--surface); border: 1.5px solid var(--line-soft); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 20px; color: #3A3935; flex: none; }
.notice > b { font-size: 16px; line-height: 22px; color: var(--ink); }
.composer { flex: none; display: flex; gap: 8px; align-items: center; padding: 10px 12px calc(22px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--fill-photo); background: var(--bg); }
.composer input[type="text"] { flex: 1; min-width: 0; height: 48px; border-radius: 24px; border: 1.5px solid var(--line); background: var(--surface); padding: 0 16px; font-size: 15px; text-overflow: ellipsis; }
.composer input[type="text"]:focus { outline: none; border-color: var(--ink); }
.round { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; flex: none; padding: 0; }
.round.go { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.round:disabled { opacity: 0.4; cursor: default; }
.idframe { height: 190px; flex: none; border-radius: 18px; border: 2px dashed #8A877F; background: #EDEBE6; display: grid; place-items: center; font-size: 14px; font-weight: 600; color: var(--body); overflow: hidden; }
.idframe.has { border-style: solid; border-color: var(--line); }
.idframe img { width: 100%; height: 100%; object-fit: cover; display: block; }
.composer-err { padding: 6px 16px 0; }
.msg.held .btn { margin-top: 8px; min-height: 44px; padding: 10px 14px; font-size: 14px; text-align: center; }

/* endings, help, settings */
.sheet-up { flex: none; background: var(--bg); border-radius: 24px 24px 0 0; padding: 22px 20px calc(28px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 16px; box-shadow: 0 -8px 30px rgba(36, 36, 36, 0.14); }
.sheet-up .ask h1 { font-size: 21px; line-height: 28px; }
.dim { flex: 1; min-height: 0; background: rgba(36, 36, 36, 0.06); }
.stack { display: flex; flex-direction: column; gap: 10px; }
.quote { margin: 0; background: var(--surface); border-radius: 18px; padding: 20px; font-size: 20px; line-height: 28px; font-weight: 600; box-shadow: 0 1px 2px rgba(36, 36, 36, 0.06); overflow-wrap: anywhere; }
.quote small { display: block; margin-top: 10px; font-size: 13px; line-height: 19px; font-weight: 500; color: var(--muted); }
.help-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--surface); border: 1.5px solid var(--line-soft); border-radius: 16px; padding: 14px 16px; }
.help-row.later { background: #EDEBE6; border-color: #EDEBE6; }
.help-row b { display: block; font-size: 17px; line-height: 24px; }
.help-row span { font-size: 13px; line-height: 19px; color: var(--muted); }
.call { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border-radius: 12px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 15px; text-decoration: none; flex: none; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; line-height: 21px; font-weight: 600; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--ink); flex: none; margin: 0; }
.msg.them { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }

/* the logo, wherever the app speaks or works */
.dots.on-dark i:first-child { background: var(--bg); }
.dots.tiny { gap: 2px; }
.dots.tiny i { width: 5px; height: 5px; }
.dots.tiny i:first-child { width: 10px; height: 10px; }
.ask .who { display: flex; align-items: flex-end; gap: 7px; font-size: 13px; font-weight: 700; letter-spacing: 0; color: var(--ink); line-height: 10px; }
@keyframes rest-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes rest-step { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
/* a button that is working shows the logo instead of its label */
.btn.busy { position: relative; color: transparent !important; opacity: 1; pointer-events: none; --big: var(--ink); }
.btn.primary.busy { --big: var(--bg); }
.btn.busy::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: 0 0 0 4px; border-radius: 50%; background: var(--red); box-shadow: -17px -4px 0 4px var(--big), 12px 0 0 0 var(--red); animation: rest-pulse 0.9s ease-in-out infinite; }
/* in a conversation, a note from the app carries the logo, like a sender's mark */
.chat .sys::before, .chat .notice::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: -13px -3px 0 3px var(--ink), 9px 0 0 0 var(--red); margin: 6px 0 4px 16px; flex: none; }
.chat .sys::before { align-self: center; margin-left: 13px; }
.round.go:disabled { opacity: 1; }
.round.go:disabled .dots i { animation: rest-step 0.6s ease-in-out infinite; }
.round.go:disabled .dots i:nth-child(2) { animation-delay: 0.12s; }
.round.go:disabled .dots i:nth-child(3) { animation-delay: 0.24s; }
/* while the app starts */
.splash { flex: 1; display: grid; place-items: center; }
.splash .lockup { display: flex; align-items: flex-end; gap: 14px; font-size: 34px; line-height: 28px; font-weight: 700; letter-spacing: -0.5px; }
.splash .dots { gap: 5px; animation: rest-pulse 1.4s ease-in-out infinite; }
.splash .dots i { width: 14px; height: 14px; }
.splash .dots i:first-child { width: 28px; height: 28px; }

/* review page, privacy page */
.media { border-radius: 14px; overflow: hidden; background: var(--fill-photo); min-height: 60px; display: grid; place-items: center; }
.media video, .media img { width: 100%; max-height: 420px; object-fit: contain; display: block; background: #000; }
.quote.small { font-size: 15px; line-height: 22px; font-weight: 500; padding: 12px 14px; border: 1.5px solid var(--line-soft); box-shadow: none; }
.legal h2 { margin: 28px 0 6px; font-size: 18px; line-height: 25px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { margin: 0 0 8px; font-size: 15px; line-height: 23px; color: var(--body); }
.legal ul { margin: 0; padding-left: 20px; }
/* review page: what publishing from the content sheet would change */
.change { display: flex; flex-direction: column; gap: 2px; padding-top: 10px; border-top: 1px solid var(--line-soft); overflow-wrap: anywhere; }
.change del { color: var(--muted); }
.change ins { text-decoration: none; color: var(--ink); font-weight: 600; }
.link { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--ink); text-decoration: underline; cursor: pointer; }
.consent { text-align: center; font-size: 12px; line-height: 18px; }
.msg.typing { padding: 14px 16px 12px; }
.msg.typing .dots i { animation: rest-step 0.6s ease-in-out infinite; }
.msg.typing .dots i:nth-child(2) { animation-delay: 0.12s; }
.msg.typing .dots i:nth-child(3) { animation-delay: 0.24s; }
