
/* 居中文字样式 */
.ratio-text {
    text-align: center;
    color: #FF7D00; /* 橙色 */
    font-size: 16px;
    margin: 30px 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ratio-text:hover {
    color: #E66A00; /* hover加深橙色 */
}

/* 弹窗遮罩层 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* 弹窗内容 */
.modal-content {
    background: #FFFFFF;
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* 弹窗标题 */
.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #1D2129;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #E5E6EB;
}

/* 弹窗内容 */
.modal-body {
    font-size: 14px;
    color: #4E5969;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* 关闭按钮 */
.modal-close {
    display: block;
    margin-left: auto;
    padding: 8px 16px;
    background: #165DFF;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.modal-close:hover {
    background: #0E42D2;
}
