* { box-sizing: border-box; }
html, body { margin: 0; }
:root { color-scheme: light only; background: white; }
[hidden] { display: none !important; }
button { font-family: inherit; }
body.v-b { overflow-x: hidden; -webkit-font-smoothing: antialiased; background: white; }
.is-ios body.v-b { color: black; font: 400 17px/1.3 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif; }
.is-android body.v-b { color: #1b1b1f; font: 400 16px/1.35 Roboto, "Helvetica Neue", Arial, sans-serif; }
#scr-v { display: flex; flex-direction: column; max-width: 560px; margin-inline: auto; min-height: 100vh; min-height: 100dvh; }
#scr-v .row, #scr-v .chips { scroll-margin: 96px 0 16px; }
.hdr-ios, .hdr-android { display: none; position: sticky; top: 0; z-index: 5; }
.is-ios .hdr-ios { display: block; padding: 6px 0 7px; text-align: center; background: rgb(249 249 249 / .94); border-bottom: .5px solid #d1d1d6; backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.hdr-ios .chev { position: absolute; left: 10px; top: calc(50% - 13px); width: 12px; height: 22px; color: #007aff; }
.hdr-ios .av { width: 50px; height: 50px; margin: 0 auto 2px; border-radius: 50%; color: white; background: #c7c7cc; font: 400 20px/50px -apple-system, sans-serif; letter-spacing: .5px; }
.hdr-ios .nm { color: black; font-size: 11px; line-height: 1.2; }
.hdr-ios .nm i { display: inline-block; margin-left: 3px; color: #8e8e93; font-style: normal; }
.is-android .hdr-android { display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; background: white; }
.hdr-android .back { flex: none; width: 24px; height: 24px; color: #444746; }
.hdr-android .av { flex: none; width: 34px; height: 34px; border-radius: 50%; color: white; background: #7b8794; text-align: center; font: 500 14px/34px Roboto, sans-serif; letter-spacing: .3px; }
.hdr-android .nm { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #1b1b1f; font: 500 17px/1.2 Roboto, sans-serif; }
.hdr-android .dots { flex: none; width: 20px; height: 20px; color: #444746; }
.thread { display: flex; flex: none; flex-direction: column; justify-content: flex-start; padding: 12px 12px 6px; }
.tstamp { margin: 6px 0 14px; text-align: center; }
.is-ios .tstamp { color: #8e8e93; font-size: 11px; }
.is-ios .tstamp b { color: inherit; font-weight: 600; }
.is-android .tstamp { color: #444746; font: 400 12px/1.4 Roboto, sans-serif; }
.row { display: flex; margin-bottom: 2px; }
.bub { position: relative; max-width: 76%; padding: 8px 13px; overflow-wrap: break-word; }
.is-ios .bub { margin-left: 2px; border-radius: 18px; background: #e9e9eb; color: black; font-size: 17px; line-height: 1.29; }
.is-ios .tail .bub::before { content: ""; position: absolute; z-index: 0; left: -7px; bottom: 0; width: 20px; height: 20px; border-bottom-right-radius: 16px; background: #e9e9eb; }
.is-ios .tail .bub::after { content: ""; position: absolute; z-index: 1; left: -11px; bottom: 0; width: 12px; height: 20px; border-bottom-right-radius: 11px; background: white; }
.is-ios .bub span { position: relative; z-index: 2; }
.is-android .bub { border-radius: 20px; color: #1b1b1f; background: #e3e8ef; font-size: 16px; line-height: 1.35; }
.is-android :is(.run-mid, .run-last) .bub { border-top-left-radius: 4px; }
.is-android :is(.run-first, .run-mid) .bub { border-bottom-left-radius: 4px; }
.typing { display: flex; align-items: center; gap: 4px; }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: #90909a; animation: sms87-dot 1.3s infinite; }
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }
.is-android .typing i { width: 7px; height: 7px; background: #5f6368; }
@keyframes sms87-dot { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 4px 12px 58px; }
.chips:empty { display: none; }
.chip.go { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 100%; min-height: 58px; padding: 15px 20px; border: 0; border-radius: 14px; cursor: pointer; color: white; font: inherit; font-size: 19px; font-weight: 700; letter-spacing: .01em; animation: sms87-glow 1.6s ease-out infinite; }
.is-ios .chip.go { background: #007aff; --glow: 0, 122, 255; box-shadow: 0 4px 0 #0059bb; }
.is-ios .chip.go:active { background: #0062cc; }
.is-android .chip.go { background: #0b57d0; --glow: 11, 87, 208; box-shadow: 0 4px 0 #083f97; font: 500 18px/1.2 Roboto, "Helvetica Neue", Arial, sans-serif; }
.is-android .chip.go:active { background: #0a4cb5; }
.chip.go .tk { flex: none; width: 24px; height: 16px; }
.chip.go .arr { margin-top: -3px; font-style: normal; font-size: 26px; line-height: 1; animation: sms87-arrow 1.6s ease-in-out infinite; }
.chip.go .hand { position: absolute; right: 16%; top: 62%; width: 46px; height: 46px; pointer-events: none; filter: drop-shadow(0 2px 3px rgb(0 0 0 / .28)); animation: sms87-hand 1.6s ease-in-out infinite; }
@keyframes sms87-glow { 0% { box-shadow: 0 4px 0 rgb(0 0 0 / .25), 0 0 0 0 rgba(var(--glow), .55); } 70%, 100% { box-shadow: 0 4px 0 rgb(0 0 0 / .25), 0 0 0 14px rgba(var(--glow), 0); } }
@keyframes sms87-arrow { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@keyframes sms87-hand { 0%, 100% { transform: translate(10px, 26px) rotate(-8deg); opacity: 0; } 18% { opacity: 1; } 40% { transform: rotate(-8deg); } 48% { transform: translateY(2px) rotate(-8deg) scale(.88); } 60% { transform: rotate(-8deg); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .typing i, .chip.go, .chip.go .arr, .chip.go .hand { animation: none; } }
