/* 3D Telegram Stars star (shared by storefront + order page). The canvas is drawn by static/m/star3d.js
   (WebGL, real extruded mesh); the flat SVG star shows until the first frame or without WebGL.
   Sparkles twinkle around it. No inline styles (strict CSP). */
.star3d { position: relative; display: block; width: 100%; height: 100%; filter: drop-shadow(0 6px 12px rgba(255, 150, 0, .28)); }
.star3d[data-tone="premium"] { filter: drop-shadow(0 6px 12px rgba(120, 90, 255, .3)); }
.star3d .s3-flat { position: absolute; inset: 12%; width: 76%; height: 76%; display: block; user-select: none; -webkit-user-drag: none; pointer-events: none; transition: opacity .3s; }
.star3d.is-gl .s3-flat { opacity: 0; }
.star3d .s3-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .4s ease-out; }
.star3d.is-gl .s3-gl { opacity: 1; }
.s3-sp { position: absolute; display: block; user-select: none; pointer-events: none; animation: s3tw 2.6s ease-in-out infinite; }
.s3-sp1 { width: 17%; height: 17%; right: 2%; top: 4%; }
.s3-sp2 { width: 10%; height: 10%; left: 6%; top: 18%; animation-delay: -1.3s; }
.s3-sp3 { width: 6%; height: 6%; right: 9%; bottom: 14%; animation-delay: -.6s; }
@keyframes s3tw { 0%, 100% { transform: scale(.55) rotate(0deg); opacity: .55; } 50% { transform: scale(1) rotate(45deg); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .s3-sp { animation: none; } }
