/* receipts.css -- PLACEHOLDER skin for read receipts (t1561u). agy replaces this in r40b/r41.
   Rules kept: Apple-like, restrained, no green, no rigid boxes, motion = transform/opacity only, no "+" buttons. */
.rcpt-slot { display: flex; align-items: center; justify-content: flex-end; gap: 6px; min-height: 16px; margin-top: 1px;
  cursor: pointer; -webkit-tap-highlight-color: transparent; outline: none; }
.rcpt-slot:empty { cursor: default; }
.rcpt-slot:focus-visible { outline: 2px solid var(--accent, #6b7cff); outline-offset: 2px; border-radius: 8px; }
.rcpt-avs { display: inline-flex; flex-direction: row-reverse; align-items: center; }
.rcpt-av { width: 14px; height: 14px; margin-left: -4px; border-radius: 50%; overflow: hidden; display: inline-block;
  box-shadow: 0 0 0 1.5px var(--bg-base, #fff); }
.rcpt-av .avatar { width: 14px !important; height: 14px !important; }
.rcpt-av:last-child { margin-left: 0; }
.rcpt-more { margin-right: 5px; font-size: 10.5px; line-height: 14px; color: var(--text-muted, #8e8e93); font-variant-numeric: tabular-nums; }
.rcpt-all, .rcpt-dm { font-size: 11px; line-height: 14px; color: var(--text-muted, #8e8e93); letter-spacing: .01em; }
.rcpt-dm[data-state="read"] { color: var(--text-secondary, #636366); }
.rcpt-bump .rcpt-avs { animation: rcpt-pop .32s cubic-bezier(.22, 1, .36, 1); }
@keyframes rcpt-pop { from { opacity: .3; transform: translate3d(0, 3px, 0) scale(.9); } to { opacity: 1; transform: none; } }

.rcpt-backdrop { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0); transition: background .18s ease; }
.rcpt-backdrop.is-in { background: rgba(0, 0, 0, .12); }
.rcpt-sheet { width: min(360px, calc(100vw - 32px)); max-height: min(70vh, 560px); overflow: auto; padding: 14px 18px 18px;
  border-radius: 20px; background: color-mix(in srgb, var(--bg-surface, #fff) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(24px); backdrop-filter: saturate(1.6) blur(24px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .18); opacity: 0; transform: translate3d(0, 10px, 0) scale(.97);
  transition: opacity .18s ease, transform .22s cubic-bezier(.22, 1, .36, 1); will-change: transform, opacity; }
.rcpt-backdrop.is-in .rcpt-sheet { opacity: 1; transform: none; }
.rcpt-grab { display: none; width: 36px; height: 4px; border-radius: 2px; margin: 0 auto 10px; background: var(--text-muted, #c7c7cc); opacity: .5; }
.rcpt-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.rcpt-title { font-weight: 650; font-size: 15px; color: var(--text-primary, #111); }
.rcpt-sub { font-size: 12px; color: var(--text-muted, #8e8e93); font-variant-numeric: tabular-nums; }
.rcpt-sec-h { margin: 12px 0 4px; font-size: 12px; font-weight: 600; color: var(--text-secondary, #636366); }
.rcpt-sec-n { color: var(--text-muted, #8e8e93); font-weight: 500; margin-left: 2px; }
.rcpt-list { list-style: none; margin: 0; padding: 0; }
.rcpt-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.rcpt-row[data-kind="undelivered"] .rcpt-row-name { color: var(--text-muted, #8e8e93); }
.rcpt-row-av { width: 28px; height: 28px; flex: none; }
.rcpt-row-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--text-primary, #111); }
.rcpt-row-time { font-size: 12px; color: var(--text-muted, #8e8e93); font-variant-numeric: tabular-nums; }
.rcpt-empty { margin: 14px 0; text-align: center; font-size: 13px; color: var(--text-muted, #8e8e93); }
[data-msg-row] { -webkit-touch-callout: none; }
@media (max-width: 640px) {
  .rcpt-backdrop { align-items: flex-end; }
  .rcpt-sheet { width: 100%; max-height: 72vh; border-radius: 20px 20px 0 0; padding-bottom: calc(18px + env(safe-area-inset-bottom)); transform: translate3d(0, 24px, 0); }
  .rcpt-grab { display: block; }
}
@media (prefers-reduced-motion: reduce) { .rcpt-sheet, .rcpt-backdrop { transition: none; } .rcpt-bump .rcpt-avs { animation: none; } }
