.announcement-popup { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 24px; background: rgba(17, 24, 39, .28); }
.announcement-popup-card { width: min(520px, 100%); max-height: min(620px, calc(100vh - 48px)); overflow: auto; border: 1px solid #e5e7eb; border-radius: 16px; background: #fff; box-shadow: 0 24px 70px rgba(15, 23, 42, .2); }
.announcement-popup-card header { padding: 24px 26px 0; }
.announcement-popup-card h2 { margin: 0; color: #111827; font-size: 21px; line-height: 1.4; }
.announcement-popup-content { padding: 18px 26px 8px; color: #374151; font-size: 15px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.announcement-popup-content a { color: #6d5bd0; text-decoration: underline; }
.announcement-popup-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 20px 26px 24px; }
.announcement-popup-actions button { min-height: 38px; border-radius: 9px; padding: 0 16px; font: inherit; cursor: pointer; }
.announcement-popup-primary { border: 1px solid #6d5bd0; background: #6d5bd0; color: #fff; }
.announcement-popup-secondary { border: 1px solid #d1d5db; background: #fff; color: #374151; }
@media (max-width: 480px) { .announcement-popup { padding: 14px; align-items: end; } .announcement-popup-card { max-height: min(72vh, 620px); border-radius: 14px; } .announcement-popup-card header { padding: 20px 20px 0; } .announcement-popup-content { padding: 14px 20px 6px; } .announcement-popup-actions { padding: 18px 20px 20px; } .announcement-popup-actions button { flex: 1; padding: 0 10px; } }
