:root {
  --bg: #f5f5f7; --surface: #ffffff; --text: #1d1d1f; --muted: #6e6e73; --line: #d2d2d7;
  --blue: #0a84ff; --blue-press: #0071e3; --gray-bubble: #e9e9eb; --gray-text: #1d1d1f;
  --notice: #fff8e6; --notice-line: #f0d999;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #000000; --surface: #1c1c1e; --text: #f5f5f7; --muted: #98989d; --line: #38383a;
    --gray-bubble: #3a3a3c; --gray-text: #f5f5f7; --notice: #2a2414; --notice-line: #5c4b1e; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); max-width: 15ch; margin: 0 auto; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
code { font: 0.9em ui-monospace, "SF Mono", monospace; }
.shell { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; }
.skip-link:focus { left: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }

.site-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.05rem; color: var(--text); text-decoration: none; }
.site-header nav { display: flex; gap: 22px; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.site-header nav a:hover { color: var(--text); }

.hero { text-align: center; padding: 40px 0 28px; }
.thread { display: flex; flex-direction: column; gap: 4px; max-width: 420px; margin: 0 auto 44px; text-align: left; }
.stamp { align-self: center; margin: 0 0 6px; font-size: 0.75rem; color: var(--muted); }
.bubble { margin: 0; padding: 8px 14px; border-radius: 18px; max-width: 78%; width: fit-content; font-size: 1rem; line-height: 1.35;
  opacity: 0; transform: translateY(8px) scale(0.98); animation: bubble-in 300ms var(--ease) forwards; }
.bubble.in { background: var(--gray-bubble); color: var(--gray-text); border-bottom-left-radius: 6px; }
.bubble.out { align-self: flex-end; background: var(--blue); color: #fff; }
.bubble.out.tail { border-bottom-right-radius: 6px; }
.bubble:nth-of-type(2) { animation-delay: 150ms; }
.bubble:nth-of-type(3) { animation-delay: 700ms; }
.bubble:nth-of-type(4) { animation-delay: 1000ms; }
.receipt { align-self: flex-end; margin: 2px 4px 0; font-size: 0.72rem; color: var(--muted); opacity: 0; animation: bubble-in 300ms var(--ease) 1300ms forwards; }
@keyframes bubble-in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bubble, .receipt { animation-duration: 1ms; animation-delay: 0ms !important; transform: none; } }
.lede { max-width: 38em; margin: 20px auto 0; color: var(--muted); font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none;
  color: var(--blue); background: var(--surface); border: 1px solid var(--line); transition: transform 160ms var(--ease), background 160ms; }
.button.primary { background: var(--blue); color: #fff; border-color: transparent; }
@media (hover: hover) and (pointer: fine) { .button.primary:hover { background: var(--blue-press); } }
.button:active { transform: scale(0.97); }
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.release-detail { margin: 12px 0 0; color: var(--muted); font-size: 0.85rem; }
.notice { max-width: 44em; margin: 28px auto 0; padding: 12px 16px; border-radius: 14px; background: var(--notice); border: 1px solid var(--notice-line); font-size: 0.88rem; text-align: left; }

.shot { margin-top: 36px; margin-bottom: 0; text-align: center; }
.shot img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 30px 80px rgb(0 0 0 / 0.22), 0 0 0 1px rgb(0 0 0 / 0.08); }
.shot figcaption { margin-top: 14px; font-size: 0.8rem; color: var(--muted); }

.features { padding: 100px 0 40px; }
.features h2 { text-align: center; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 40px; }
.grid article { background: var(--surface); border-radius: 20px; padding: 24px; }
.grid p { margin: 8px 0 0; color: var(--muted); font-size: 0.97rem; }

.split { max-width: 640px; padding: 60px 0; }
.split ol { padding-left: 1.2em; }
.split li { margin: 8px 0; }
.split p { color: var(--muted); }

.faq { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding: 60px 0; }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } }
.questions details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.questions summary { cursor: pointer; font-weight: 600; list-style: none; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; float: right; color: var(--muted); }
.questions details[open] summary::after { content: "−"; }
.questions p { margin: 10px 0 0; color: var(--muted); }

.closing { text-align: center; padding: 60px 0 90px; }
.closing img { border-radius: 22px; }
.closing h2 { margin: 18px 0 26px; }

.site-footer { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; padding: 28px 0 40px; border-top: 1px solid var(--line); font-size: 0.85rem; }
.site-footer a { color: var(--muted); }
.legal { flex-basis: 100%; margin: 4px 0 0; color: var(--muted); font-size: 0.78rem; }

/* Feature card animations: CSS only; they run while the card is on screen (app.js toggles .on). */
.stage { position: relative; height: 150px; margin: -8px -8px 20px; border-radius: 14px; overflow: hidden;
  background: var(--bg); display: flex; flex-direction: column; justify-content: center; padding: 14px 18px; font-size: 13px; line-height: 1.3; }
.stage, .stage * { animation-play-state: paused !important; }
.stage.on, .stage.on * { animation-play-state: running !important; }
@keyframes show-a { 0%, 6% { opacity: 0; transform: translateY(8px) scale(.96); } 12%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes show-b { 0%, 24% { opacity: 0; transform: translateY(8px) scale(.96); } 30%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes show-c { 0%, 42% { opacity: 0; transform: translateY(8px) scale(.96); } 48%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes show-d { 0%, 60% { opacity: 0; transform: translateY(8px) scale(.96); } 66%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
.a1 { animation: show-a var(--loop, 6s) var(--ease) infinite both; }
.a2 { animation: show-b var(--loop, 6s) var(--ease) infinite both; }
.a3 { animation: show-c var(--loop, 6s) var(--ease) infinite both; }
.a4 { animation: show-d var(--loop, 6s) var(--ease) infinite both; }

/* Messages: bubbles, a tapback, a read receipt. */
.s-chat { gap: 5px; }
.s-chat .m { position: relative; max-width: 70%; padding: 6px 11px; border-radius: 16px; }
.s-chat .in { align-self: flex-start; background: var(--gray-bubble); color: var(--gray-text); border-bottom-left-radius: 5px; margin-top: 8px; }
.s-chat .out { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 5px; }
.s-chat .tap { position: absolute; top: -12px; right: -14px; font-size: 11px; padding: 3px 5px; border-radius: 999px; background: var(--surface);
  box-shadow: 0 0 0 2px var(--bg); animation: tap-pop 6s var(--ease) infinite both; }
@keyframes tap-pop { 0%, 52% { opacity: 0; transform: scale(.2); } 57% { opacity: 1; transform: scale(1.25); } 61%, 90% { opacity: 1; transform: scale(1); } 96%, 100% { opacity: 0; } }
.s-chat .read { align-self: flex-end; font-size: 10.5px; color: var(--muted); }

/* Native and fast: a list scrolling at a steady clip. */
.s-fast { padding: 0; }
.s-fast .rows { display: flex; flex-direction: column; gap: 10px; padding: 12px 18px; animation: rows 3.2s linear infinite; }
.s-fast .rows i { display: block; height: 14px; width: var(--w); border-radius: 7px; background: var(--gray-bubble); }
.s-fast .rows i:nth-child(3n) { align-self: flex-end; background: var(--blue); opacity: .85; }
@keyframes rows { to { transform: translateY(-50%); } }
.s-fast::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--bg), transparent 30%, transparent 70%, var(--bg)); }
.s-fast .fps { position: absolute; z-index: 1; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px;
  border-radius: 999px; background: var(--surface); font: 600 11px/1 ui-monospace, SFMono-Regular, monospace; }
.s-fast .fps b { width: 7px; height: 7px; border-radius: 50%; background: #30d158; animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* Phone stays in charge: QR scan, then encrypted packets to the Mac. */
.s-link { flex-direction: row; align-items: center; justify-content: center; gap: 0; }
.s-link .phone { position: relative; width: 70px; height: 118px; border-radius: 12px; border: 2px solid var(--muted); display: grid; place-items: center; overflow: hidden; }
.s-link .qr { width: 58px; fill: #000; border-radius: 3px; }
.s-link .scan { position: absolute; left: 4px; right: 4px; height: 2px; background: var(--blue); box-shadow: 0 0 8px var(--blue); animation: scan 5s ease-in-out infinite; }
@keyframes scan { 0% { top: 20%; opacity: 0; } 5% { opacity: 1; } 30% { top: 78%; } 40% { top: 20%; opacity: 1; } 45%, 100% { opacity: 0; top: 20%; } }
.s-link .wire { position: relative; width: 96px; height: 2px; margin: 0 6px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 10px); }
.s-link .wire b { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); opacity: 0; animation: packet 5s linear infinite; }
.s-link .wire b:nth-child(2) { animation-delay: .35s; } .s-link .wire b:nth-child(3) { animation-delay: .7s; }
@keyframes packet { 0%, 45% { left: 0; opacity: 0; } 48% { opacity: 1; } 80% { left: calc(100% - 8px); opacity: 1; } 84%, 100% { left: calc(100% - 8px); opacity: 0; } }
.s-link .lock { position: absolute; left: 50%; top: -24px; transform: translateX(-50%); font-size: 15px; animation: show-c 5s var(--ease) infinite both; }
.s-link .mac { width: 92px; height: 60px; border-radius: 6px; border: 2px solid var(--muted); border-bottom-width: 6px; position: relative; padding: 8px; }
.s-link .mac span { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--gray-bubble) 0 32%, transparent 32%); animation: glow 5s var(--ease) infinite; }
@keyframes glow { 0%, 78% { box-shadow: none; } 84%, 94% { box-shadow: inset 0 0 0 2px var(--blue); } 100% { box-shadow: none; } }

/* All your messages: photo, live voice note, document, poll. */
.s-kinds { --loop: 7s; gap: 6px; align-items: flex-start; }
.s-kinds .k { border-radius: 14px; }
.s-kinds .photo { position: absolute; right: 18px; top: 18px; width: 74px; height: 74px; background: linear-gradient(135deg, #ff9f0a, #ff375f 55%, #5e5ce6); }
.s-kinds .voice { display: flex; align-items: center; gap: 3px; height: 30px; padding: 0 12px; background: var(--blue); color: #fff; }
.s-kinds .voice .play { font-size: 10px; margin-right: 4px; }
.s-kinds .voice i { width: 3px; height: 18px; border-radius: 2px; background: #fff; transform: scaleY(var(--h)); animation: wave .9s ease-in-out var(--d) infinite alternate; }
@keyframes wave { to { transform: scaleY(calc(var(--h) * .35)); } }
.s-kinds .doc { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; background: var(--gray-bubble); color: var(--gray-text); }
.s-kinds .pdf { padding: 6px 5px; border-radius: 6px; background: #ff453a; color: #fff; font-size: 9px; font-weight: 700; }
.s-kinds .poll { display: flex; align-items: center; gap: 8px; width: 150px; padding: 6px 12px; background: var(--gray-bubble); color: var(--gray-text); }
.s-kinds .poll b { flex: 1; height: 6px; border-radius: 3px; background: linear-gradient(var(--blue), var(--blue)) no-repeat 0 0 / 0 100%, var(--line);
  animation: fill 7s var(--ease) infinite; }
@keyframes fill { 0%, 66% { background-size: 0 100%, auto; } 80%, 100% { background-size: 70% 100%, auto; } }

/* Notifications: banner slides in, Dock icon bounces and gets a badge. */
.s-notify { justify-content: space-between; padding: 12px; }
.s-notify .banner { align-self: flex-end; display: flex; gap: 9px; align-items: center; width: 190px; padding: 9px 11px; border-radius: 14px;
  background: var(--surface); box-shadow: 0 6px 20px rgb(0 0 0 / .18); animation: banner 5s var(--ease) infinite; }
.s-notify .banner img { width: 26px; height: 26px; }
.s-notify .banner div { display: flex; flex-direction: column; font-size: 12px; }
.s-notify .banner span { color: var(--muted); }
@keyframes banner { 0%, 8% { transform: translateX(120%); opacity: 0; } 16%, 70% { transform: none; opacity: 1; } 80%, 100% { transform: translateX(120%); opacity: 0; } }
.s-notify .dock { align-self: center; display: flex; gap: 8px; padding: 6px 9px; border-radius: 14px; background: var(--surface); }
.s-notify .dock i, .s-notify .dock .app img { display: block; width: 28px; height: 28px; border-radius: 7px; background: var(--gray-bubble); }
.s-notify .dock .app { position: relative; animation: bounce 5s ease-out infinite; }
.s-notify .dock em { position: absolute; top: -5px; right: -6px; min-width: 16px; height: 16px; border-radius: 8px; background: #ff3b30; color: #fff;
  font: 700 10px/16px -apple-system, system-ui, sans-serif; text-align: center; font-style: normal; animation: badge 5s var(--ease) infinite both; }
@keyframes badge { 0%, 18% { opacity: 0; transform: scale(.2); } 23% { opacity: 1; transform: scale(1.3); } 27%, 90% { opacity: 1; transform: scale(1); } 96%, 100% { opacity: 0; } }
@keyframes bounce { 0%, 14%, 34%, 100% { transform: none; } 20% { transform: translateY(-12px); } 27% { transform: translateY(-5px); } }

/* Signed and up to date: download, verify, sealed. */
.s-update { --loop: 6s; align-items: center; }
.s-update .dialog { position: relative; display: flex; gap: 12px; align-items: center; width: 250px; padding: 12px 14px; border-radius: 14px; background: var(--surface); }
.s-update .dialog > img { width: 40px; height: 40px; }
.s-update .txt { flex: 1; display: grid; gap: 3px; font-size: 12px; }
.s-update .t1, .s-update .t2 { grid-area: 2 / 1; color: var(--muted); }
.s-update .t1 { animation: swap-out 6s infinite; } .s-update .t2 { animation: swap-in 6s infinite; }
@keyframes swap-out { 0%, 55% { opacity: 1; } 60%, 100% { opacity: 0; } }
@keyframes swap-in { 0%, 58% { opacity: 0; } 63%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
.s-update .bar { height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; }
.s-update .bar b { display: block; height: 100%; width: 100%; background: var(--blue); transform-origin: left; animation: progress 6s var(--ease) infinite; }
@keyframes progress { 0%, 5% { transform: scaleX(0); } 52%, 92% { transform: scaleX(1); } 97%, 100% { transform: scaleX(0); } }
.s-update .seal { position: absolute; right: -9px; top: -9px; width: 26px; fill: #30d158; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  animation: tap-pop 6s var(--ease) infinite both; }
.s-update .seal path { fill: none; stroke-dasharray: 16; animation: draw 6s ease-out infinite; }
@keyframes draw { 0%, 60% { stroke-dashoffset: 16; } 68%, 100% { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  .stage *, .stage *::before, .stage *::after { animation: none !important; }
  .s-notify .banner, .s-update .seal path { transform: none; stroke-dashoffset: 0; }
  .s-update .t1 { opacity: 0; } .s-update .bar b { transform: none; }
  .s-link .wire b { display: none; } .s-link .scan { top: 50%; }
}

/* Live app replica (always dark, like the screenshot it replaces). */
.demo { --d-bg: #1e1e1e; --d-side: #353537; --d-line: #2c2c2e; --d-gray: #3a3a3c; --d-text: #f5f5f7; --d-muted: #98989d; --d-blue: #0a84ff; --d-select: #3478f6;
  position: relative; display: grid; grid-template-columns: 290px minmax(0, 1fr); height: 620px; border-radius: 14px; overflow: hidden; text-align: left;
  color: var(--d-text); background: var(--d-bg); font-size: 14px; line-height: 1.3; color-scheme: dark;
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.22), 0 0 0 1px rgb(255 255 255 / 0.08); }
.demo noscript img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.d-side { display: flex; flex-direction: column; min-height: 0; background: var(--d-side); border-right: 1px solid #000; }
.d-lights { display: flex; gap: 8px; padding: 16px 16px 14px; }
.d-lights i { width: 12px; height: 12px; border-radius: 50%; background: #5a5a5e; }
.d-search { margin: 0 10px 8px; padding: 6px 10px; border-radius: 7px; background: rgb(255 255 255 / 0.07); color: #6e6e73; font-size: 13px; }
.d-list { list-style: none; margin: 0; padding: 0 8px 8px; overflow-y: auto; scrollbar-width: none; flex: 1; }
.d-row { all: unset; box-sizing: border-box; position: relative; display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px 9px 20px; border-radius: 9px; cursor: default; }
.d-row:focus-visible { outline: 2px solid var(--d-blue); outline-offset: -2px; }
.d-row.is-selected { background: var(--d-select); }
.d-dot { position: absolute; left: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--d-blue); opacity: 0; transform: scale(.4); transition: opacity 200ms, transform 300ms var(--ease); }
.d-row.is-unread .d-dot { opacity: 1; transform: none; }
.d-row.is-selected .d-dot { background: #fff; }
.d-av { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; font-weight: 500; font-size: 16px;
  background: linear-gradient(#a1a1a6, #6e6e73); }
.d-meta { flex: 1; min-width: 0; display: grid; gap: 2px; padding: 2px 0; }
.d-list li + li .d-row::before { content: ""; position: absolute; top: 0; left: 72px; right: 10px; height: 1px; background: rgb(255 255 255 / 0.09); }
.d-list li + li .d-row.is-selected::before, .d-list li:has(.is-selected) + li .d-row::before { display: none; }
.d-top { display: flex; justify-content: space-between; gap: 8px; }
.d-top strong { font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.d-top time, .d-preview { color: var(--d-muted); font-size: 12.5px; }
.d-top time { flex: none; }
.d-preview { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.d-row.is-unread .d-top strong { font-weight: 700; }
.d-row.is-selected .d-top time, .d-row.is-selected .d-preview { color: rgb(255 255 255 / 0.85); }
.d-conv { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.d-head { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; flex: none; border-bottom: 1px solid var(--d-line); }
.d-head .d-av { width: 28px; height: 28px; font-size: 11px; }
.d-thread { flex: 1; overflow-y: auto; scrollbar-width: none; display: flex; flex-direction: column; gap: 2px; padding: 12px 18px 8px; }
.d-stamp { align-self: center; margin-bottom: 8px; color: var(--d-muted); font-size: 11.5px; }
.d-sender { margin: 8px 0 1px 44px; color: var(--d-muted); font-size: 11.5px; }
.d-line { display: flex; align-items: flex-end; gap: 8px; }
.d-line.first { margin-top: 6px; }
.d-sender + .d-line.first { margin-top: 0; }
.d-line.out { justify-content: flex-end; }
.d-line.new { animation: d-in 320ms var(--ease) both; }
@keyframes d-in { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.d-av-sm, .d-av-slot { width: 26px; height: 26px; font-size: 10px; flex: none; }
.d-b { position: relative; max-width: 62%; padding: 7px 12px; border-radius: 18px; background: var(--d-gray); overflow-wrap: anywhere; }
.d-line.out .d-b { background: var(--d-blue); color: #fff; }
.d-line.in .d-b.tail { border-bottom-left-radius: 6px; }
.d-line.out .d-b.tail { border-bottom-right-radius: 6px; }
.d-tap { position: absolute; top: -13px; left: -12px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 12px;
  background: var(--d-gray); box-shadow: 0 0 0 2px var(--d-bg); }
.d-tap.pop { animation: d-pop 420ms var(--ease) both; }
@keyframes d-pop { from { transform: scale(.2); opacity: 0; } 60% { transform: scale(1.25); opacity: 1; } }
.d-receipt { align-self: flex-end; margin: 2px 2px 0; color: var(--d-muted); font-size: 11px; }
.d-typing { display: flex; gap: 4px; padding: 11px 13px; }
.d-typing i { width: 7px; height: 7px; border-radius: 50%; background: #8e8e93; animation: d-dots 1.2s ease-in-out infinite; }
.d-typing i:nth-child(2) { animation-delay: .15s; } .d-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes d-dots { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
.d-composer { display: flex; align-items: center; gap: 10px; padding: 10px 14px 12px; }
.d-plus { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #5a5a5e; color: #aeaeb2; font-size: 18px; line-height: 1; }
.d-field { flex: 1; display: flex; align-items: center; height: 34px; padding: 0 3px 0 13px; border-radius: 17px; border: 1px solid #48484a; }
.d-input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--d-text); font: inherit; caret-color: var(--d-blue); }
.d-input::placeholder { color: #6e6e73; }
.d-send { flex: none; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: var(--d-blue); cursor: pointer;
  opacity: 0; transform: scale(.4); transition: opacity 150ms, transform 250ms var(--ease); }
.d-composer.has-text .d-send { opacity: 1; transform: none; }
.d-send svg { width: 16px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.d-banner { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; gap: 10px; align-items: center; width: 270px; padding: 10px 12px; border-radius: 14px;
  background: rgb(58 58 60 / 0.92); backdrop-filter: blur(20px); box-shadow: 0 10px 30px rgb(0 0 0 / 0.35); transform: translateX(calc(100% + 24px)); pointer-events: none; }
.d-banner.show { animation: d-banner 3.2s var(--ease) both; }
@keyframes d-banner { 0% { transform: translateX(calc(100% + 24px)); } 12%, 82% { transform: none; } 100% { transform: translateX(calc(100% + 24px)); } }
.d-banner .d-av { width: 32px; height: 32px; font-size: 12px; }
.d-banner div { display: grid; min-width: 0; font-size: 12.5px; }
.d-banner span { color: #c7c7cc; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 720px) {
  .demo { grid-template-columns: 76px minmax(0, 1fr); height: 540px; }
  .d-meta, .d-search, .d-list li + li .d-row::before { display: none; }
  .d-lights { gap: 5px; padding-left: 12px; }
  .d-lights i { width: 10px; height: 10px; }
  .d-row { justify-content: center; padding-left: 10px; }
  .d-b { max-width: 80%; }
  .d-banner { width: 210px; }
}
