.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.74);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.modal-overlay.hidden {
    display: none;
}

.modal-box {
    width: min(540px, 100%);
    background: #101826;
    border: 1px solid rgba(74, 169, 255, 0.26);
    border-radius: 16px;
    padding: 26px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.36);
}

.modal-box h2 {
    color: #7de6df;
    font-size: 1.1rem;
    margin: 0 0 14px;
}

.modal-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-box li {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
    line-height: 1.65;
    padding-left: 1.2em;
    text-indent: -1.2em;
    margin-bottom: 10px;
}

.modal-box li::before {
    content: '\00b7\00a0';
}

.modal-box li .notice-title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    text-indent: 0;
    line-height: 1.4;
}

.modal-box li .notice-desc {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.64);
    text-indent: 0;
    line-height: 1.55;
    margin-top: 1px;
}

.modal-agree-btn {
    display: block;
    width: 100%;
    margin-top: 18px;
    padding: 13px;
    background: #7de6df;
    color: #061018;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}