.announcements-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 16px;
}

.announcements-modal {
    background: #17171a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    width: 100%;
    max-width: min(560px, calc(100vw - 32px));
    max-height: 84vh;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.announcements-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.announcements-modal-header h3 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    margin: 0;
}

.announcements-modal-close {
    background: none;
    border: none;
    color: #888;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
}

.announcements-modal-close:hover {
    color: #fff;
}

.announcements-modal-list {
    overflow-y: auto;
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.announcement-card {
    padding-bottom: 22px;
    border-bottom: 2px solid rgba(220, 38, 38, 0.5);
}

.announcement-card:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.announcement-card-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.3;
    margin: 0 0 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-card-new {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    background: #dc2626;
    color: #1a0d06;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 20px;
}

.announcement-card-byline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 0;
}

.announcement-card-author {
    color: #dc2626;
    font-weight: 600;
    font-size: 0.88rem;
}

.announcement-card-author::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #dc2626;
    margin-right: 8px;
    vertical-align: middle;
}

.announcement-card-date {
    color: #dc2626;
    opacity: 0.7;
    font-size: 0.8rem;
}

.announcement-card-date::before {
    content: '\2022';
    margin-right: 8px;
    color: #dc2626;
    opacity: 0.5;
}

.announcement-card-body {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    white-space: pre-wrap;
}

.announcements-load-more {
    display: block;
    width: 100%;
    background: rgba(220, 38, 38, 0.12);
    border: 1px solid rgba(220, 38, 38, 0.4);
    color: #dc2626;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.announcements-load-more:hover {
    background: rgba(220, 38, 38, 0.2);
    border-color: rgba(220, 38, 38, 0.6);
}

.announcements-modal-empty {
    color: #888;
    font-size: 0.85rem;
    text-align: center;
    padding: 24px 0;
}
