/* 浏览器限制弹窗样式 */
.browser-restriction-dialog {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInOverlay 0.4s ease-out;
    padding: 20px;
    min-height: 100vh;
}

.browser-restriction-content {
    background: #ffffff;
    border-radius: 32px;
    padding: 0;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: slideUpDialog 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.browser-restriction-header {
    background: linear-gradient(135deg, #ff4757 0%, #ff6348 100%);
    padding: 40px 32px 28px 32px;
    position: relative;
}

.browser-restriction-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.browser-restriction-subtitle {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
}

.browser-restriction-icon-wrapper {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.browser-restriction-header-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-top: 0;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.browser-restriction-header-note strong {
    color: #ffffff;
    font-weight: 600;
}

.browser-restriction-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.browser-restriction-body {
    padding: 40px 32px;
}

.browser-restriction-title {
    font-size: 32px;
    font-weight: 700;
    color: #ff4757;
    margin-bottom: 0;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .browser-restriction-content {
        border-radius: 28px;
        max-width: 420px;
    }

    .browser-restriction-header {
        padding: 36px 28px 28px 28px;
    }

    .browser-restriction-subtitle {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 20px;
    }

    .browser-restriction-icon-wrapper {
        width: 120px;
        height: 120px;
        margin-bottom: 16px;
    }

    .browser-restriction-icon {
        width: 85px;
        height: 85px;
    }

    .browser-restriction-header-note {
        font-size: 13px;
        padding: 14px 18px;
        border-radius: 10px;
    }

    .browser-restriction-body {
        padding: 36px 28px;
    }

    .browser-restriction-title {
        font-size: 28px;
        margin-bottom: 0;
    }
}

/* 小屏幕优化 */
@media (max-width: 480px) {
    .browser-restriction-content {
        border-radius: 24px;
        max-width: 360px;
    }

    .browser-restriction-header {
        padding: 32px 24px 24px 24px;
    }

    .browser-restriction-subtitle {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 18px;
    }

    .browser-restriction-icon-wrapper {
        width: 110px;
        height: 110px;
        margin-bottom: 14px;
    }

    .browser-restriction-icon {
        width: 75px;
        height: 75px;
    }

    .browser-restriction-header-note {
        font-size: 12px;
        padding: 12px 16px;
        border-radius: 10px;
    }

    .browser-restriction-body {
        padding: 32px 24px;
    }

    .browser-restriction-title {
        font-size: 24px;
        margin-bottom: 0;
    }
}