/* 首页弹窗公告 — 屏幕居中遮罩 */
body.site-announce-lock {
    overflow: hidden !important;
}

.site-announce {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
    margin: 0;
}

.site-announce.site-announce--open {
    display: flex !important;
}

.site-announce__overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.site-announce__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 36rem;
    max-height: min(90vh, 720px);
    padding: 1.5rem 1.5rem 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

.site-announce__close {
    position: absolute;
    top: 0.625rem;
    right: 0.625rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 0.25rem;
    z-index: 2;
}

.site-announce__close:hover {
    color: #475569;
    background: #f1f5f9;
}

.site-announce__head {
    flex-shrink: 0;
    margin-bottom: 0.75rem;
    padding-right: 1.75rem;
}

.site-announce__badge {
    display: inline-block;
    margin-bottom: 0.375rem;
    padding: 0.125rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #1668e3;
    background: #eff6ff;
    border-radius: 0.25rem;
}

.site-announce__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin: 0;
}

.site-announce__body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    font-size: 0.875rem;
    line-height: 1.75;
    color: #475569;
    padding-right: 0.25rem;
}

.site-announce__lead {
    margin: 0 0 0.875rem;
    font-weight: 500;
    color: #334155;
}

.site-announce__section {
    margin-bottom: 0.875rem;
}

.site-announce__section:last-child {
    margin-bottom: 0;
}

.site-announce__section h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.375rem;
}

.site-announce__section p,
.site-announce__section li {
    font-size: 0.875rem;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}

.site-announce__section ul {
    margin: 0;
    padding-left: 1.125rem;
    list-style: disc;
}

.site-announce__section li {
    margin-bottom: 0.375rem;
}

.site-announce__section li:last-child {
    margin-bottom: 0;
}

.site-announce__section a {
    color: #1668e3;
    text-decoration: underline;
    word-break: break-all;
}

.site-announce__section a:hover {
    color: #1d4ed8;
}

.site-announce__qr-wrap {
    flex-shrink: 0;
    text-align: center;
    padding: 0.875rem 0 0.25rem;
    border-top: 1px solid #e2e8f0;
    margin-top: 0.75rem;
}

.site-announce__qr {
    display: block;
    width: 7rem;
    height: 7rem;
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 0.375rem;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.site-announce__qr-caption {
    margin: 0.375rem 0 0;
    font-size: 0.75rem;
    color: #64748b;
}

.site-announce__btn {
    flex-shrink: 0;
    width: 100%;
    margin-top: 0.875rem;
}
