/* 广告页首次弹窗公告 */
.ad-notice.is-hidden {
    display: none !important;
}

.ad-notice {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.ad-notice.is-open {
    opacity: 1;
    visibility: visible;
}

.ad-notice__mask {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .55);
}

.ad-notice__panel {
    position: relative;
    width: 100%;
    max-width: 360px;
    max-height: calc(100vh - 32px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border-radius: 20px;
    padding: 22px 18px 18px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .22);
    transform: translateY(12px) scale(.98);
    transition: transform .25s ease;
}

.ad-notice.is-open .ad-notice__panel {
    transform: translateY(0) scale(1);
}

.ad-notice__badge {
    display: inline-block;
    margin: 0 auto 10px;
    padding: 4px 14px;
    border-radius: 999px;
    background: #fff7ed;
    color: #c08422;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
}

.ad-notice__head {
    text-align: center;
    margin-bottom: 14px;
}

.ad-notice__title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.35;
    color: #111827;
}

.ad-notice__intro {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.65;
    white-space: pre-wrap;
    word-break: break-word;
}

.ad-notice__list {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.ad-notice__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.ad-notice__item:last-child {
    margin-bottom: 0;
}

.ad-notice__label {
    flex: 0 0 auto;
    min-width: 72px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #374151;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.ad-notice__desc {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding-top: 4px;
    color: #374151;
    font-size: 13px;
    line-height: 1.5;
}

.ad-notice__check {
    flex: 0 0 auto;
    color: #16a34a;
    font-weight: 700;
    line-height: 1.4;
}

.ad-notice__tip {
    margin: 0 0 16px;
    padding: 10px 12px;
    border-radius: 12px;
    border-left: 3px solid #f59e0b;
    background: #fffbeb;
    color: #92400e;
    font-size: 12px;
    line-height: 1.6;
}

.ad-notice__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #f1a92e 0%, #c08422 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: 0 8px 20px rgba(192, 132, 34, .28);
    cursor: pointer;
}

.ad-notice__btn:active {
    transform: scale(.98);
}

.ad-notice__btn-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .85);
}

.ad-notice__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.ad-notice__close:active {
    background: #e5e7eb;
}
