/* ── Announcement modal ─────────────────────────────────────────── */

.announcement-modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.announcement-modal__content {
  position: relative;
  width: min(88vw, 480px);
  max-height: min(85vh, 560px);
  display: flex;
  flex-direction: column;
  background: var(--wing-glass-dense);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.announcement-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--wing-subtle);
}

.announcement-modal__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.announcement-modal__close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
}

.announcement-modal__close:hover {
  color: var(--text);
}

.announcement-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
}

.announcement-modal__section {
  margin-bottom: 16px;
}

.announcement-modal__section:last-child {
  margin-bottom: 0;
}

.announcement-modal__section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.announcement-modal__section-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.announcement-modal__date {
  font-size: 10px;
  color: var(--muted);
}

.announcement-modal__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.announcement-modal__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 10px;
  background: var(--wing-card-alpha);
  border: 1px solid var(--wing-subtle);
  border-radius: 8px;
}

.announcement-modal__icon {
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1.2;
}

.announcement-modal__item-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.announcement-modal__item-desc {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.announcement-modal__footer {
  display: flex;
  justify-content: center;
  padding: 12px 16px;
  border-top: 1px solid var(--wing-subtle);
}
