.announcement-overlay{position:fixed;inset:0;z-index:100500;display:grid;place-items:center;padding:20px;background:rgba(15,23,42,.58);backdrop-filter:blur(8px);animation:announcement-fade .22s ease-out}
.announcement-dialog{width:min(100%,580px);max-height:min(85vh,760px);display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(255,255,255,.78);border-radius:24px;background:linear-gradient(140deg,#fff 0%,#f7faff 70%,#edf8f5 100%);color:#122033;box-shadow:0 28px 80px rgba(2,12,27,.3);animation:announcement-rise .26s ease-out}
.announcement-dialog-header,.announcement-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 24px}
.announcement-dialog-header{border-bottom:1px solid #e1e9f1;color:#2563eb;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.announcement-dialog-header span{display:inline-flex;align-items:center;gap:9px}
.announcement-close{display:grid;place-items:center;width:36px;height:36px;border:1px solid #dbe4ee;border-radius:11px;background:#fff;color:#475569;cursor:pointer}
.announcement-close:hover,.announcement-close:focus-visible{background:#eaf3ff;color:#1d4ed8}
.announcement-dialog h2{margin:0;padding:24px 24px 8px;font-size:clamp(22px,3vw,30px);line-height:1.2;overflow-wrap:anywhere}
.announcement-message{padding:10px 24px 20px;overflow:auto;font-size:15px;line-height:1.7;overflow-wrap:anywhere;white-space:normal}
.announcement-dialog-footer{border-top:1px solid #e1e9f1}
.announcement-dialog-footer small{color:#64748b}
.announcement-popup-choice{display:flex;align-items:center;gap:10px;margin-top:14px;font-size:14px;font-weight:600}
.announcement-popup-choice input{width:18px;height:18px;accent-color:#2563eb}
@keyframes announcement-fade{from{opacity:0}to{opacity:1}}
@keyframes announcement-rise{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:640px){.announcement-overlay{padding:12px}.announcement-dialog{border-radius:18px;max-height:90vh}.announcement-dialog-header,.announcement-dialog-footer{padding:14px 17px}.announcement-dialog h2{padding:20px 17px 5px}.announcement-message{padding:10px 17px 18px}.announcement-dialog-footer{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.announcement-overlay,.announcement-dialog{animation:none}}
