/* View-once: frosted blurred card with twinkling star sparkles + "Viewed" state */
:root{--vo-stars-a:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 0C12.8 7 17 11.2 24 12 17 12.8 12.8 17 12 24 11.2 17 7 12.8 0 12 7 11.2 11.2 7 12 0Z'/%3E%3C/svg%3E") 10% 22%/12px 12px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 0C12.8 7 17 11.2 24 12 17 12.8 12.8 17 12 24 11.2 17 7 12.8 0 12 7 11.2 11.2 7 12 0Z'/%3E%3C/svg%3E") 32% 70%/16px 16px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 0C12.8 7 17 11.2 24 12 17 12.8 12.8 17 12 24 11.2 17 7 12.8 0 12 7 11.2 11.2 7 12 0Z'/%3E%3C/svg%3E") 52% 18%/18px 18px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 0C12.8 7 17 11.2 24 12 17 12.8 12.8 17 12 24 11.2 17 7 12.8 0 12 7 11.2 11.2 7 12 0Z'/%3E%3C/svg%3E") 68% 64%/10px 10px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 0C12.8 7 17 11.2 24 12 17 12.8 12.8 17 12 24 11.2 17 7 12.8 0 12 7 11.2 11.2 7 12 0Z'/%3E%3C/svg%3E") 82% 28%/20px 20px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 0C12.8 7 17 11.2 24 12 17 12.8 12.8 17 12 24 11.2 17 7 12.8 0 12 7 11.2 11.2 7 12 0Z'/%3E%3C/svg%3E") 94% 72%/9px 9px no-repeat;--vo-stars-b:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 0C12.8 7 17 11.2 24 12 17 12.8 12.8 17 12 24 11.2 17 7 12.8 0 12 7 11.2 11.2 7 12 0Z'/%3E%3C/svg%3E") 4% 70%/8px 8px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 0C12.8 7 17 11.2 24 12 17 12.8 12.8 17 12 24 11.2 17 7 12.8 0 12 7 11.2 11.2 7 12 0Z'/%3E%3C/svg%3E") 22% 30%/10px 10px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 0C12.8 7 17 11.2 24 12 17 12.8 12.8 17 12 24 11.2 17 7 12.8 0 12 7 11.2 11.2 7 12 0Z'/%3E%3C/svg%3E") 42% 62%/12px 12px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 0C12.8 7 17 11.2 24 12 17 12.8 12.8 17 12 24 11.2 17 7 12.8 0 12 7 11.2 11.2 7 12 0Z'/%3E%3C/svg%3E") 60% 30%/9px 9px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 0C12.8 7 17 11.2 24 12 17 12.8 12.8 17 12 24 11.2 17 7 12.8 0 12 7 11.2 11.2 7 12 0Z'/%3E%3C/svg%3E") 76% 74%/14px 14px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 0C12.8 7 17 11.2 24 12 17 12.8 12.8 17 12 24 11.2 17 7 12.8 0 12 7 11.2 11.2 7 12 0Z'/%3E%3C/svg%3E") 90% 26%/11px 11px no-repeat}
.conversation-row:has(.vo-card){padding:14px 14px;border-bottom:0;border-radius:22px;background:rgba(128,128,128,.14);margin:0 0 10px}
.vo-card{position:relative;display:block;width:100%;height:46px;margin-top:2px;border-radius:14px;overflow:hidden;isolation:isolate;
  background:radial-gradient(ellipse 45% 70% at 18% 55%,rgba(150,150,150,.5),transparent 70%),radial-gradient(ellipse 40% 70% at 55% 50%,rgba(150,150,150,.45),transparent 70%),radial-gradient(ellipse 35% 70% at 88% 55%,rgba(150,150,150,.42),transparent 70%);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.vo-blur{position:absolute;inset:0;color:transparent;font-size:0;filter:blur(8px);user-select:none;pointer-events:none;background:linear-gradient(90deg,rgba(255,255,255,.12),rgba(255,255,255,.04),rgba(255,255,255,.12))}
.vo-glitter,.vo-card::after,.view-once-message:not(.opened):not(.consumed)::after{position:absolute;inset:0;z-index:2;pointer-events:none;border-radius:inherit;filter:drop-shadow(0 0 4px rgba(255,255,255,.95)) drop-shadow(0 0 8px rgba(255,255,255,.55))}
.vo-glitter{background:var(--vo-stars-a);animation:vo-twinkle 2.4s ease-in-out infinite}
.vo-card::after{content:"";background:var(--vo-stars-b);animation:vo-twinkle 2.4s ease-in-out 1.2s infinite}
.view-once-message:not(.opened):not(.consumed){position:relative;overflow:hidden}
.view-once-message:not(.opened):not(.consumed)::after{content:"";background:var(--vo-stars-b);opacity:.7;animation:vo-twinkle 2.4s ease-in-out infinite}
.view-once-message.consumed{align-items:center}
.view-once-message.consumed .view-once-message-icon{font-size:15px}
@keyframes vo-twinkle{0%,100%{opacity:.15;transform:scale(.92)}50%{opacity:1;transform:scale(1.04)}}
@media (prefers-reduced-motion:reduce){.vo-glitter,.vo-card::after,.view-once-message:not(.opened):not(.consumed)::after{animation:none;opacity:.8}}
:root[data-theme="light"] .conversation-row:has(.vo-card){background:rgba(0,0,0,.05)}
:root[data-theme="light"] .vo-card{background:radial-gradient(ellipse 45% 70% at 18% 55%,rgba(120,120,120,.28),transparent 70%),radial-gradient(ellipse 40% 70% at 55% 50%,rgba(120,120,120,.24),transparent 70%),radial-gradient(ellipse 35% 70% at 88% 55%,rgba(120,120,120,.22),transparent 70%)}
:root[data-theme="light"] .vo-glitter,:root[data-theme="light"] .vo-card::after{filter:drop-shadow(0 0 4px rgba(255,255,255,1)) drop-shadow(0 0 7px rgba(255,236,200,.8))}
:root[data-theme="light"] .view-once-message:not(.opened):not(.consumed)::after{filter:invert(1) drop-shadow(0 0 3px rgba(0,0,0,.4))}
