* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* 基础设置 */
:root {
    font-size: 16px;
}

a ,button{
    text-decoration: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #f5f5f7;
    color: #262626;
    line-height: 1.5;
    /* padding: 1rem; */
    max-height: calc(100vh - 1px);
    /* overflow: hidden; */
}

/* 列表区域 */
.privacy-list {
    background-color: #fff;
}

.privacy-list .list-item:first-child {
    /* 10px */
    margin-top: 0.625rem;

}

.list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0.9375rem 1.25rem 1rem;
    /* 20px */
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9375rem;
    line-height: 1.3125rem;
    color: #262626;
    /* 16px */
    text-decoration: none;
}

.list-item:last-child {
    border-bottom: none;
}

.arrow-right {
    width: 1.75rem;
    /* 12px */
    height: 1.75rem;
    /* 12px */
    background: url(../images/icon_arror_right_gray.png);
    background-size: cover;
}

/* 底部返回按钮 */
/* .bottom-area {
    padding: 1.25rem 1.25rem;
    background-color: #fff;
    position: fixed;
    width: 100vw;
    bottom: 0;
    bottom: env(safe-area-inset-bottom);
    border-top: 1px solid #eee;
} */


.container {
    /* max-width: 26rem; */
    margin: 0 auto;
}

.header {
    margin-bottom: 1.25rem;
    text-align: center;
}

.app-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: #5E5E5F;
    margin-bottom: 0.25rem;
}

.page-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: #262626;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 0.875rem;
    font-weight: 400;
    color: #5E5E5F;
    margin: 0.125rem 0 0.5rem 0;
}

.permission-card {
    background-color: #fff;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s ease;
}

.permission-card>a{
    display: block;
}
/* .permission-card:hover {
    transform: translateY(-0.125rem);
} */

.permission-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 0.5rem;
}

.permission-header:last-child {
    margin-bottom: 0;
}

.permission-title {
    font-size: 1.0625rem;
    font-weight: 500;
    color: #262626;
    padding-right: 0.25rem;
    line-height: 1.5rem;
}

.permission-status {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #5E5E5F;
    /* font-weight: normal; */
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 400;
    flex-shrink: 0;
}

.permission-status::after {
    content: "";
    background: url(../images/icon_arror_right.png);
    background-size: cover;
    width: 1.125rem;
    height: 1.125rem;
}

.permission-desc {
    font-size: 0.875rem;
    color: #737373;
    line-height: 1.25rem;
    width: 100%;
    font-weight: 400;
}

.privacy-link {
    color: #0D4EAA;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: normal;
}

/* .privacy-link:hover {
    text-decoration: underline;
} */

.footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 0.0625rem solid #e0e0e0;
    font-size: 0.75rem;
    color: #888;
}

@media (max-width: 26rem) {
    .container {
        max-width: 100%;
    }

    .permission-card {
        padding: 0.875rem;
    }
}



.body {
    /* padding-bottom: 5rem; */
    /* 80px = 5rem */
    background-color: #f5f5f5;
    /* height: 100vh; */
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain; /* 现代浏览器 */
}

#pdf-container {
    width: 100%;
    padding: 0 0.625rem;
    /* 10px = 0.625rem */
    margin: 0 auto;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
}

/* 关键：Canvas视觉尺寸适配，实际渲染尺寸由JS按DPR设置 */
#pdf-canvas {
    max-width: 100%;
    height: auto !important;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
    /* 2px=0.125rem, 8px=0.5rem */
    /* 禁用浏览器默认的图像平滑（避免模糊） */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
.link_box{
    display: block;
    /* width: 90%; */
    /* margin: 0 auto ; */
    padding-top: 0.625rem;
    padding-left: 5vw;
}

.pdf-link {
    /* 10px = 0.625rem */
    color: #FF9000;
    text-decoration: none;
    font-size: 1rem;
    /* 16px = 1rem */
}

.pdf-link:hover {
    text-decoration: underline;
}

.btn-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    /* height: 3.75rem; */
    /* 60px = 3.75rem */
    background-color: #ffffff;
    border-top: 0.0625rem solid #e0e0e0;
    /* 1px = 0.0625rem */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    /* 20px = 1.25rem */
    z-index: 99;
    bottom: env(safe-area-inset-bottom);
    /* width: -webkit-calc(100% - .6rem);
    width: -moz-calc(100% - .6rem);
    width: calc(100% - .6rem); */
    outline: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}
.return-btn {
    width: 100%;
    /* height: 3.125rem; */
    /* 50px */
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 3rem;
    /* 5px */
    font-size: 1rem;
    /* 16px */
    padding: 0.5rem;
    color: #262626;
    cursor: pointer;
    
}

.return-btn:active {
    background-color: #f5f5f5;
}

.privacy_bar{
    padding: 0.65rem 0.75rem 1rem;
}
.action-btn {
    width: 100%;
    /* height: 2.5rem; */
    /* 40px = 2.5rem */
    line-height: 1.375rem;
    padding: 0.75rem 0;
    background: linear-gradient( 90deg, #FF6C00 100%, #FF9000 0%);
    color: #ffffff;
    border: none;
    border-radius: 5rem;
    /* 4px = 0.25rem */
    font-size: 1rem;
    /* 16px = 1rem */
    cursor: pointer;
    transition: background-color 0.2s;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}

/* .action-btn:hover {
    background-color: #096dd9;
} */

.modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    display: none;
    padding-bottom: env(safe-area-inset-bottom);
    padding-top: env(safe-area-inset-top);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.modal-content {
    width: 90%;
    max-width: 25rem;
    /* 400px = 25rem */
    background-color: #ffffff;
    border-radius: 0.5rem;
    /* 8px = 0.5rem */
    padding: 1.5rem;
    /* 24px = 1.5rem */
}

.modal-title {
    font-size: 1rem;
    /* 18px = 1.125rem */
    font-weight: bold;
    margin-bottom: 1rem;
    /* 16px = 1rem */
    color: #262626;
    text-align: center;
}

.modal-desc {
    font-size: 0.875rem;
    /* 14px = 0.875rem */
    color: #262626;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    /* 24px = 1.5rem */
}

.modal-btn-group {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 0 0.2rem;
    /* 12px = 0.75rem */
}

.modal-btn {
    padding: 0.5rem 1rem;
    /* 8px=0.5rem, 16px=1rem */
    border-radius: 25rem;
    /* 4px = 0.25rem */
    font-size: 0.875rem;
    /* 14px = 0.875rem */
    cursor: pointer;
    border: 0.0625rem solid #e0e0e0;
    /* 1px = 0.0625rem */
    transition: all 0.2s;
    width: 15rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cancel-btn {
    background-color: #ffffff;
    color: #262626;
    font-weight: bold;
}

.cancel-btn:hover {
    background-color: #f5f5f5;
}

.confirm-btn {
    background: linear-gradient( 90deg, #FF6C00 100%, #FF9000 0%);
    color: #ffffff;
    border: none;
}

.confirm-btn:hover {
    /* background-color: #FF6C00; */
}

.pdf-loading {
    text-align: center;
    padding: 2.5rem;
    /* 40px = 2.5rem */
    color: #666;
    font-size: 1rem;
    /* 16px = 1rem */
    width: 100%;
}

@media screen and (orientation: landscape) {
    #pdf-container {
        min-height: 70vh;
    }
}

/* 页面容器 */
.container.about {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    padding: 1.25rem 1rem;
    /* 20px 16px */
    /* background-color: #fff; */
    /* padding-bottom: 5rem; */
    float: left;

}

/* .container.about .content{
} */
/* 段落样式 */
.content p {
    font-size: 1rem;
    /* 16px */
    color: #262626;
    margin-bottom: 1rem;
    /* 16px */
    text-align: justify;
}

/* 重点提示样式 */
.highlight {
    font-weight: 600;
}

/* 政策链接样式 */
.policy-link {
    display: inline-block;
    color: #FF9000;
    text-decoration: none;
    margin-top: 0.5rem;
    /* 8px */
}

.policy-link:hover {
    text-decoration: underline;
}

/* 返回按钮 */
.back-btn {
    display: block;
    width: 90%;
    height: 2.8125rem;
    /* 45px */
    line-height: 2.8125rem;
    text-align: center;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0.3125rem;
    /* 5px */
    font-size: 1rem;
    /* 16px */
    color: #262626;
    text-decoration: none;
    margin: 1.5rem auto 0;
    /* 24px auto 0 */
}

.back-btn:active {
    background-color: #f5f5f5;
}


.download {
    border-radius: 0.5rem;
    /* 8px / 16 = 0.5rem */
    padding: 0.75rem;
    /* 24px / 16 = 1.5rem */
    box-sizing: border-box;
}

.info-card {
    background-color: #fff;
    border-radius: 0.625rem;
    /* 4px / 16 = 0.25rem */
    padding: 0.75rem 1rem;
    /* 12px=0.75rem, 16px=1rem */
    margin-bottom: 1.5rem;
    /* 24px / 16 = 1.5rem */
    display: block;
}

.info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
    /* 4px / 16 = 0.25rem */
}

.info-header h3 {
    font-size: 1.125rem;
    /* 18px / 16 = 1.125rem */
    font-weight: 600;
    margin: 0;
    color: #262626;
}

.info-header .view-btn {
    font-size: 0.875rem;
    /* 14px / 16 = 0.875rem */
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    /* 4px / 16 = 0.25rem */
}

.info-header .view-btn .arrow-right {
    width: 1.25rem;
    height: 1.25rem;
}

.info-desc {
    font-size: 0.875rem;
    /* 14px / 16 = 0.875rem */
    color: #999;
    margin: 0;
}

.label {
    font-size: 0.875rem;
    /* 14px / 16 = 0.875rem */
    color: #5E5E5F;
    margin-bottom: 0.5rem;
    /* 8px / 16 = 0.5rem */
    display: block;
    font-weight: 400;
}

.email-card {
    background-color: #fff;
    border-radius: 0.625rem;
    /* 4px / 16 = 0.25rem */
    padding: 0.75rem 1rem;
    /* 12px=0.75rem, 16px=1rem */
    margin-bottom: 1.5rem;
    /* 24px / 16 = 1.5rem */
}

.email-card h3 {
    font-size: 1.125rem;
    /* 18px / 16 = 1.125rem */
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    /* 4px / 16 = 0.25rem */
}

.email-desc {
    font-size: 0.875rem;
    /* 14px / 16 = 0.875rem */
    color: #999;
    margin: 0 0 0.75rem 0;
    /* 12px / 16 = 0.75rem */
}

.email-input {
    width: 100%;
    padding: 0.625rem 0.75rem;
    /* 10px=0.625rem, 12px=0.75rem */
    border: 0.0625rem solid #ddd;
    /* 1px / 16 = 0.0625rem */
    border-radius: 0.25rem;
    /* 4px / 16 = 0.25rem */
    font-size: 0.875rem;
    /* 14px / 16 = 0.875rem */
    box-sizing: border-box;
}

.email-input::placeholder {
    color: #ccc;
}

.submit-btn {
    width: 100%;
    padding: 0.875rem;
    /* 14px / 16 = 0.875rem */
    background-color: #ff8c00;
    color: #fff;
    border: none;
    border-radius: 1.5rem;
    /* 24px / 16 = 1.5rem */
    font-size: 1rem;
    /* 16px / 16 = 1rem */
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}

/* 邮箱验证相关样式 */
.email-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.email-input.error {
    border-color: #ff4d4f;
    background-color: #fff2f0;
}

.email-input.success {
    border-color: #52c41a;
    background-color: #f6ffed;
}

/* 弹窗中的邮箱高亮样式 */
#emailConfirmText strong {
    word-break: break-all;
}


.submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* 响应式调整 */
@media (max-width: 26rem) {
    .modal-content {
        width: 80%;
        padding: 1rem;
    }
    
    .modal-desc {
        font-size: 0.8125rem;
    }
}
.empty{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60vh;
    display: none;
}
.empty img{
    width: 60vw;
}
.empty span{
    font-size: 0.75rem;
    color: #737373;
    margin-top: 0.25rem;
}
