[data-trial-qr] [hidden] { display: none !important; }
.trial-qr-card { display: grid; justify-items: center; gap: 10px; width: min(220px, 100%); margin: 0 auto; }
.trial-qr-frame { display: grid; place-items: center; width: 100%; aspect-ratio: 1; padding: 10px; border: 1px solid #e2edf5; border-radius: 8px; background: #fff; }
.trial-qr-frame img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.trial-qr-status { color: #6c7885; font-size: 13px; line-height: 1.7; }
[data-trial-qr][data-state="loading"] .trial-qr-status::before { content: ''; display: block; width: 22px; height: 22px; margin: 0 auto 12px; border: 2px solid #d9ecfc; border-top-color: #0088fa; border-radius: 50%; animation: trial-qr-spin .8s linear infinite; }
.trial-qr-retry { padding: 4px 8px; border: 0; border-radius: 4px; background: transparent; color: #0088fa; font: inherit; font-size: 12px; cursor: pointer; }
.trial-qr-retry:hover { background: #edf7ff; }
.trial-qr-retry:focus-visible { outline: 2px solid #0088fa; outline-offset: 2px; }
@keyframes trial-qr-spin { to { transform: rotate(360deg); } }
@media(prefers-reduced-motion: reduce) { [data-trial-qr][data-state="loading"] .trial-qr-status::before { animation: none; } }
