/* 主题变量定义 - 合并后合并的变量集 */
:root {
    /* 默认亮色主题变量 */
    --bg-color: #ffffff00;
    --text-color: #333333;
    --heading-color: #1a1a1a;
    --container-bg: #ffffff00;
    --container-shadow: 0 4px 6px rgba(0,0,0,0.05);
    --table-header-bg: #3498db;
    --table-header-text: #fff;
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --hover-bg: #f9fafb;
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --tab-bg: #eaf5ff;
    --into-bg: #f8f9fa;
    --accent-color: #10b981;
    --card-shadow: 0 2px 4px rgba(0,0,0,0.06);
    
    /* 基础字体大小变量 - 使用rem单位便于响应式缩放 */
    --base-font-size: 18px;
    --small-font-size: 0.875rem; /* 15.75px */
    --medium-font-size: 1rem; /* 18px */
    --large-font-size: 1.125rem; /* 20.25px */
    --x-large-font-size: 1.25rem; /* 22.5px */
    --xx-large-font-size: 1.5rem; /* 27px */
    --xxx-large-font-size: 1.75rem; /* 31.5px */
}

/* 暗黑主题变量 */
.dark-theme {
    --bg-color: #000000;
    --text-color: #e5e7eb;
    --heading-color: #ffffff;
    --container-bg: #1118274d;
    --container-shadow: 0 4px 6px rgba(0,0,0,0.1);
    --table-header-bg: #1e3a8a;
    --table-header-text: #ffffff;
    --border-color: #ffffff2b;
    --border-light: #ffffff2b;
    --hover-bg: #374151;
    --primary-color: #0091ff;
    --primary-hover: #3b82f6;
    --tab-bg: #282828;
    --into-bg: #181818;
    --accent-color: #34d399;
    --card-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* 亮色主题变量 */
.light-theme {
    --bg-color: #ffffff00;
    --text-color: #333333;
    --heading-color: #1a1a1a;
    --container-bg: #ffffff00;
    --container-shadow: 0 4px 6px rgba(0,0,0,0.05);
    --table-header-bg: #3498db;
    --table-header-text: #fff;
    --border-color: #0000001c;
    --border-light: #0000001c;
    --hover-bg: #f9fafb;
    --primary-color: #009eff;
    --primary-hover: #2563eb;
    --tab-bg: #eaf5ff;
    --into-bg: #f8f9fa;
    --accent-color: #10b981;
    --card-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

/* 基础样式重置 - 统一所有选择器 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", Arial, sans-serif;
}

/* 应用主题变量 */
html {
    font-size: var(--base-font-size);
    transition: background-color 0.3s ease;
    scroll-behavior: smooth; /* 平滑滚动 */
}

body {
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: var(--medium-font-size);
    padding: 0;
    margin: 0;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px;
    border-radius: 12px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.table-container {
    max-width: 1200px;
    overflow-x: auto;
    background-color: var(--container-bg);
    border-radius: 8px;
    margin: 20px auto 30px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* 标题样式 */
h1 {
    text-align: center;
    color: var(--heading-color);
    margin-bottom: 30px;
    font-size: var(--xxx-large-font-size);
    font-weight: 700;
    padding-bottom: 15px;
    transition: color 0.3s ease;
}

.title {
    font-size: var(--xx-large-font-size);
    color: var(--heading-color);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}
@media (max-width: 768px) {
    .title {
        display: none;
    }
}
h2 {
    color: var(--text-color);
    font-size: var(--x-large-font-size);
    margin: 35px 0 20px;
    font-weight: 700;
}

h2:not(.system-title) {
    border-left: 4px solid #3498db;
    padding-left: 10px;
}

h3 {
    margin: 25px 0 12px;
    font-size: var(--large-font-size);
    /* border-left: 4px solid #3498db;
    padding-left: 10px; */
}

h4 {
    font-size: var(--medium-font-size);
}


.system-title {
    font-size: var(--large-font-size);
    color: var(--heading-color);
    margin-bottom: 15px;
    padding-bottom: 8px;
    font-weight: 600;
    text-align: center;
}
.list-title {
    font-size: var(--large-font-size);
    color: var(--heading-color);
    margin-bottom: 15px;
    padding-bottom: 8px;
    font-weight: 600;
    /* text-align: center; */
}
/* 介绍文本样式 */
.intro {
    color: var(--text-color);
    margin-bottom: 40px;
    padding: 20px 25px;
    background-color: var(--into-bg);
    border-radius: 8px;
    font-size: var(--medium-font-size);
    box-shadow: var(--card-shadow);
}

/* 第三方项目项样式 */
.third-party-item {
    background-color: var(--container-bg);
    padding: 25px;
    margin-bottom: 24px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.third-party-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.dark-theme .third-party-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.third-party-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.third-party-item:hover::before {
    transform: scaleX(1);
}

.item-title {
    font-weight: 700;
    font-size: var(--large-font-size);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
    color: var(--heading-color);
}

/* 信息行样式 */
.info-row {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px 20px;
}

.info-label {
    color: var(--text-color);
    width: 140px;
    flex-shrink: 0;
    font-weight: 600;
    font-size: var(--medium-font-size);
    margin-right: 0;
}

.info-content {
    color: var(--text-color);
    flex: 1;
    min-width: 0; 
    word-break: break-word;
    font-size: var(--medium-font-size);
    overflow: hidden;
    max-width: 100%;
    line-height: 1.6;
}

/* 链接样式 */
a {
    color: var(--primary-color);
    text-decoration: none;
    max-width: calc(100% - 5px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
    transition: all 0.2s ease;
    font-weight: 500;
    position: relative;
    box-sizing: border-box;
    display: inline-block;
    font-size: var(--medium-font-size);
}

a:hover {
    color: var(--primary-hover);
}

a:active {
    transform: translateY(0);
}

a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

a:hover::after {
    width: 100%;
}

/* TRUSTe链接样式 - 禁用下划线并优化图标大小 */
.truste-link {
    position: relative;
    display: inline-block;
    padding-top: 20px;
    text-decoration: none !important;
}

.truste-link::after {
    display: none !important;
}

.truste-link img {
    border: none !important;
    max-width: 200px;
    height: auto;
}

/* 手机端优化TRUSTe图标大小 */
@media (max-width: 768px) {
    .truste-link img {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .truste-link img {
        max-width: 120px;
    }
}

.dark-theme a:hover {
    color: var(--primary-hover);
    border-bottom-color: var(--primary-hover);
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: var(--medium-font-size);
    table-layout: fixed;
    min-width: 800px;
    color: var(--text-color);
    margin-bottom: 25px;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid var(--border-light);
    transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

th {
    background-color: var(--table-header-bg);
    color: var(--table-header-text);
    font-weight: 600;
    font-size: var(--medium-font-size);
    transition: background-color 0.3s ease, color 0.3s ease;
}

tbody {
    transition: background-color 0.3s ease;
}

tbody tr {
    background-color: var(--container-bg);
    transition: background-color 0.3s ease;
}

tr:hover {
    background-color: var(--hover-bg);
    transition: background-color 0.3s ease;
}

/* 暂时移除交替行背景色，避免rowspan导致的背景色不一致问题 */
/* tbody tr:nth-child(even) {
    background-color: var(--hover-bg);
} */

/* 白色背景行 */
tr.bg-white {
    background-color: var(--container-bg);
}

tr.bg-white:hover {
    background-color: var(--hover-bg);
}

/* 4列表格宽度设置 */
th:first-child, td:first-child {
    width: 18%;
    min-width: 80px;
}

th:nth-child(2), td:nth-child(2) {
    width: 28%;
    min-width: 100px;
}

th:nth-child(3), td:nth-child(3) {
    width: 32%;
    min-width: 120px;
}

/* 第四列（存储期限）宽度设置 */
th:nth-child(4), td:nth-child(4) {
    width: 22%;
    min-width: 90px;
}

/* 表格容器与滚动条 */
.table-wrap,
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.table-wrap::-webkit-scrollbar,
.table-wrapper::-webkit-scrollbar {
    height: 6px;
}

.table-wrap::-webkit-scrollbar-track,
.table-wrapper::-webkit-scrollbar-track {
    background: var(--border-light);
    border-radius: 3px;
}

.table-wrap::-webkit-scrollbar-thumb,
.table-wrapper::-webkit-scrollbar-thumb {
    background: var(--text-color);
    opacity: 0.5;
    border-radius: 3px;
}

.table-wrap::-webkit-scrollbar-thumb:hover,
.table-wrapper::-webkit-scrollbar-thumb:hover {
    opacity: 0.7;
}

/* 段落与列表样式 */
p {
    margin-bottom: 15px;
    font-size: var(--medium-font-size);
}

ul, ol {
    margin: 15px 0 15px 25px;
    font-size: var(--medium-font-size);
}
.table-wrapper td{
    font-size: var(--medium-font-size);
}
.table-wrap td{
    font-size: var(--medium-font-size);
}

li {
    margin-bottom: 8px;
    font-size: var(--medium-font-size);
}

/* 自定义有序列表样式 */
ol {
    list-style-type: none;
    counter-reset: item;
    margin: 0 0 15px 0;
    padding-left: 0;
}

ol > li {
    counter-increment: item;
    margin-bottom: 12px;
    position: relative;
    padding-left: 38px;
}
ol > li::before {
    content: "(" counter(item) ")";
    position: absolute;
    left: 0;
    font-weight: 500;
    width: 100%;
    display: inline-block;
    text-align: left;
    box-sizing: border-box;
}

ol > ol {
    list-style-type: none;
    counter-reset: subitem;
    padding-left: 10px;
    margin: 10px 0;
}

ol > ol > li {
    counter-increment: subitem;
    margin-bottom: 10px;
    position: relative;
    padding-left: 35px;
}

ol > ol > li::before {
    position: absolute;
    left: 0;
    font-weight: 500;
    display: inline-block;
    box-sizing: border-box;
}
ol > ol > li:nth-child(-n+9)::before {
    width: 100%;
    content: "①";
}
ol > ol > li:nth-child(1)::before { content: "①"; }
ol > ol > li:nth-child(2)::before { content: "②"; }
ol > ol > li:nth-child(3)::before { content: "③"; }
ol > ol > li:nth-child(4)::before { content: "④"; }
ol > ol > li:nth-child(5)::before { content: "⑤"; }
ol > ol > li:nth-child(6)::before { content: "⑥"; }
ol > ol > li:nth-child(7)::before { content: "⑦"; }
ol > ol > li:nth-child(8)::before { content: "⑧"; }
ol > ol > li:nth-child(9)::before { content: "⑨"; }

ol > ol > li:nth-child(n+10)::before {
    width: 40px;
}
ol > ol > li:nth-child(10)::before { content: "⑩"; }
ol > ol > li:nth-child(11)::before { content: "⑪"; }
ol > ol > li:nth-child(12)::before { content: "⑫"; }
ol > ol > li:nth-child(13)::before { content: "⑬"; }
ol > ol > li:nth-child(14)::before { content: "⑭"; }
ol > ol > li:nth-child(15)::before { content: "⑮"; }
ol > ol > li:nth-child(16)::before { content: "⑯"; }
ol > ol > li:nth-child(17)::before { content: "⑰"; }
ol > ol > li:nth-child(18)::before { content: "⑱"; }
ol > ol > li:nth-child(19)::before { content: "⑲"; }
ol > ol > li:nth-child(20)::before { content: "⑳"; }

ol > ol > ol {
    list-style-type: none;
    counter-reset: subsubitem;
    padding-left: 0;
    margin: 10px 0;
}

ol > ol > ol > li {
    counter-increment: subsubitem;
    margin-bottom: 10px;
    position: relative;
    padding-left: 50px;
}

ol > ol > ol > li::before {
    content: counter(subsubitem) ")";
    position: absolute;
    left: 0;
    font-weight: 500;
    width: 100%;
    display: inline-block;
    text-align: right;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    ol > li {
        padding-left: 40px;
    }
    
    ol > li::before {
        width: 100%;
        font-size: 0.95em;
    }
    
    ol > ol > li {
        padding-left: 35px;
    }
    
    /* 平板端区分单/双位数宽度 */
    ol > ol > li:nth-child(-n+9)::before {
        width: 100%;
        font-size: 0.95em;
    }
    ol > ol > li:nth-child(n+10)::before {
        width: 100%;
        font-size: 0.95em;
    }
    
    ol > ol > ol > li {
        padding-left: 35px;
    }
    
    ol > ol > ol > li::before {
        width: 100%;
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    ol > li {
        padding-left: 30px;
    }
    
    ol > li::before {
        width: 100%;
        font-size: 0.95em;
    }
    
    ol > ol > li {
        padding-left: 30px;
    }
    
    ol > ol > li:nth-child(-n+9)::before {
        width: 100%;
        font-size: 0.95em;
    }
    ol > ol > li:nth-child(n+10)::before {
        width: 100%;
        font-size: 0.95em;
    }
    
    ol > ol > ol > li {
        padding-left: 30px;
    }
    
    ol > ol > ol > li::before {
        width: 100%;
        font-size: 0.95em;
    }
}


/* 系统区块样式 */
.system-section {
    margin-bottom: 40px;
}

/* 政策日期样式 */
.policy-date {
    margin-bottom: 40px;
    font-size: var(--small-font-size);
    margin-top: 20px;
}
.version-header {
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.version-header h1 {
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.version-left,
.version-right {
    display: flex;
    align-items: center;
}
.version-left {
    margin-right: auto;
}
.version-right {
    margin-left: auto;
}
.version-tittle {
    text-align: center;
    margin-bottom: 3rem;
}
/* 重点内容样式 */
.highlight {
    font-weight: 600;
    color: #2196F3;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    border: none;
}

.back-to-top:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* 响应式设计 - 基础屏幕 */
@media (max-width: 768px) {
    :root {
        --base-font-size: 16px;
    }
    
    body {
        padding: 0;
    }
    
    .container, .table-container {
        padding: 20px;
        margin-top: 2px;
        margin-bottom: 2px;
        border-radius: 8px;
    }
    
    h1 {
        font-size: var(--xx-large-font-size);
        margin-bottom: 30px;
        padding-bottom: 10px;
    }
    
    h2 {
        font-size: var(--x-large-font-size);
        margin: 40px 0 20px;
    }
    
    .title {
        font-size: var(--xx-large-font-size);
    }
    
    .system-title {
        font-size: var(--large-font-size);
    }
    
    .info-label {
        width: 120px;
    }
    
    .third-party-item {
        padding: 20px;
        margin-bottom: 20px;
        border-radius: 8px;
    }
    
    .third-party-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    
    .intro {
        padding: 15px 20px;
        margin-bottom: 30px;
        border-radius: 6px;
    }
    
    table {
        table-layout: fixed;
        word-wrap: break-word;
        width: auto;
        min-width: 100%;
    }
    
    th, td {
        padding: 10px 8px;
        white-space: normal;
        vertical-align: top;
    }
    
    a:hover {
        transform: none;
    }
    
    .back-to-top {
        width: 30px;
        height: 30px;
        bottom: 25px;
        right: 25px;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    :root {
        --base-font-size: 15px;
    }
    
    body {
        padding: 1px;
    }
    
    .container {
        padding: 15px;
    }
    .table-container {
        padding: 2px 2px;
    }
    h1 {
        font-size: var(--xx-large-font-size);
        margin-bottom: 25px;
    }
    
    h2 {
        font-size: var(--x-large-font-size);
        margin: 35px 0 15px;
    }
    
    .title {
        font-size: var(--xx-large-font-size);
        margin-bottom: 25px;
    }
    
    .info-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .info-label {
        width: 100%;
        margin-bottom: 0;
        font-weight: 700;
    }
    
    .third-party-item {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .intro {
        padding: 12px 15px;
        margin-bottom: 25px;
    }
    
    th, td {
        padding: 8px 10px;
    }
    
    .back-to-top {
        width: 30px;
        height: 30px;
        bottom: 20px;
        right: 10px;
    }
    
    .back-to-top svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 360px) {
    h1 {
        font-size: var(--x-large-font-size);
    }
    
    h2 {
        font-size: var(--large-font-size);
    }
    
    .item-title {
        font-size: var(--medium-font-size);
    }
}

/* 高分辨率屏幕适配 - 按比例增加基础字体大小 */
/* 中控屏 - 非全屏 (1886px) */
@media (width: 1886px) {
    :root {
        --base-font-size: 18px;
    }
    
    .container {
        max-width: 100%;
        padding: 15px;
    }
    .table-container {
        max-width: 100%;
        padding: 5px;
    }
}

/* 中控屏/副驾屏/后排屏 - 全屏 (2880px) */
@media (width: 2880px) {
    :root {
        --base-font-size: 20px;
    }
    
    .container {
        max-width: 100%;
        padding: 15px;
    }
    .table-container {
        max-width: 100%;
        padding: 5px;
    }
}

/* 后排屏 - 非全屏 (3036px) */
@media (width: 3036px) {
    :root {
        --base-font-size: 21px;
    }
    
    .container {
        max-width: 100%;
        padding: 15px;
    }
    .table-container {
        max-width: 100%;
        padding: 5px;
    }
}

/* 带鱼屏 - 非沉浸 (2671dp) */
@media (width: 2671px) {
    :root {
        --base-font-size: 19px;
    }
    
    .container {
        max-width: 100%;
        padding: 15px;
    }
    .table-container {
        max-width: 100%;
        padding: 5px;
    }
}

/* 带鱼屏 - 半屏沉浸 (3608dp) */
@media (width: 3608px) {
    :root {
        --base-font-size: 22px;
    }
    
    .container {
        max-width: 100%;
        padding: 15px;
    }
    .table-container {
        max-width: 100%;
        padding: 5px;
    }
    
    .back-to-top {
        width: 60px;
        height: 60px;
        bottom: 40px;
        right: 40px;
    }
    
    .back-to-top svg {
        width: 32px;
        height: 32px;
    }
}

/* 带鱼屏 - 全屏沉浸 (6296dp) */
@media (width: 6296px) {
    :root {
        --base-font-size: 26px;
    }
    
    .container {
        max-width: 100%;
        padding: 15px;
    }
    .table-container {
        max-width: 100%;
        padding: 5px;
    }
    
    .back-to-top {
        width: 60px;
        height: 60px;
        bottom: 40px;
        right: 40px;
    }
    
    .back-to-top svg {
        width: 32px;
        height: 32px;
    }
}

/* 带鱼屏副驾应用 - 一体屏模式半屏沉浸 (2688dp) */
@media (width: 2688px) {
    :root {
        --base-font-size: 20px;
    }
    
    .container {
        max-width: 100%;
        padding: 15px;
    }
    .table-container {
        max-width: 100%;
        padding: 5px;
    }
}

/* 带鱼屏副驾应用 - 分屏模式半屏沉浸 (2678dp) */
@media (width: 2678px) {
    :root {
        --base-font-size: 19px;
    }
    
    .container {
        max-width: 100%;
        padding: 15px;
    }
    .table-container {
        max-width: 100%;
        padding: 5px;
    }
}

/* 响应式设计 - 4列表格适配 */
@media (max-width: 768px) {
    .table-wrapper table:has(th:nth-child(4)) {
        min-width: 100%;
    }
    
    .table-wrapper table:has(th:nth-child(4)) th,
    .table-wrapper table:has(th:nth-child(4)) td {
        padding: 10px 8px;
        white-space: normal;
        vertical-align: top;
    }
}

@media (max-width: 480px) {
    .table-wrapper table:has(th:nth-child(4)) th,
    .table-wrapper table:has(th:nth-child(4)) td {
        padding: 8px 10px;
    }
}

/* 6列表格适配样式 - 仅适用于privacy-policy.html中的特定表格 */
.table-wrapper table:has(th:nth-child(6)) {
    min-width: 1000px;
}

.table-wrapper table:has(th:nth-child(6)) th:first-child,
.table-wrapper table:has(th:nth-child(6)) td:first-child {
    width: 15%;
    min-width: 120px;
}

.table-wrapper table:has(th:nth-child(6)) th:nth-child(2),
.table-wrapper table:has(th:nth-child(6)) td:nth-child(2) {
    width: 15%;
    min-width: 100px;
}

.table-wrapper table:has(th:nth-child(6)) th:nth-child(3),
.table-wrapper table:has(th:nth-child(6)) td:nth-child(3) {
    width: 20%;
    min-width: 150px;
}

.table-wrapper table:has(th:nth-child(6)) th:nth-child(4),
.table-wrapper table:has(th:nth-child(6)) td:nth-child(4) {
    width: 20%;
    min-width: 150px;
}

.table-wrapper table:has(th:nth-child(6)) th:nth-child(5),
.table-wrapper table:has(th:nth-child(6)) td:nth-child(5) {
    width: 15%;
    min-width: 120px;
}

.table-wrapper table:has(th:nth-child(6)) th:nth-child(6),
.table-wrapper table:has(th:nth-child(6)) td:nth-child(6) {
    width: 15%;
    min-width: 120px;
}

/* 响应式设计 - 6列表格适配 */
@media (max-width: 768px) {
    .table-wrapper table:has(th:nth-child(6)) {
        min-width: 100%;
    }
    
    .table-wrapper table:has(th:nth-child(6)) th,
    .table-wrapper table:has(th:nth-child(6)) td {
        padding: 10px 8px;
        white-space: normal;
        vertical-align: top;
    }
}

@media (max-width: 480px) {
    .table-wrapper table:has(th:nth-child(6)) th,
    .table-wrapper table:has(th:nth-child(6)) td {
        padding: 8px 10px;
    }
}

/* 3列表格适配样式 - 仅适用于privacy-policy.html中的特定表格 */
.table-wrapper table:has(th:nth-child(3)):not(:has(th:nth-child(4))) {
    min-width: 600px;
}

.table-wrapper table:has(th:nth-child(3)):not(:has(th:nth-child(4))) th:first-child,
.table-wrapper table:has(th:nth-child(3)):not(:has(th:nth-child(4))) td:first-child {
    width: 20%;
    min-width: 80px;
}

.table-wrapper table:has(th:nth-child(3)):not(:has(th:nth-child(4))) th:nth-child(2),
.table-wrapper table:has(th:nth-child(3)):not(:has(th:nth-child(4))) td:nth-child(2) {
    width: 30%;
    min-width: 100px;
}

.table-wrapper table:has(th:nth-child(3)):not(:has(th:nth-child(4))) th:nth-child(3),
.table-wrapper table:has(th:nth-child(3)):not(:has(th:nth-child(4))) td:nth-child(3) {
    width: 50%;
    min-width: 120px;
}

/* 响应式设计 - 3列表格适配 */
@media (max-width: 768px) {
    .table-wrapper table:has(th:nth-child(3)):not(:has(th:nth-child(4))) {
        min-width: 100%;
    }
    
    .table-wrapper table:has(th:nth-child(3)):not(:has(th:nth-child(4))) th,
    .table-wrapper table:has(th:nth-child(3)):not(:has(th:nth-child(4))) td {
        padding: 10px 8px;
        white-space: normal;
        vertical-align: top;
    }
}



@media (max-width: 480px) {
    .table-wrapper table:has(th:nth-child(3)):not(:has(th:nth-child(4))) th,
    .table-wrapper table:has(th:nth-child(3)):not(:has(th:nth-child(4))) td {
        padding: 8px 10px;
    }
}

/* 基于视口宽度的动态字体大小适配 - 参考参考.html的思路 */
@media (min-width: 1200px) and (min-resolution: 192dpi), 
       (min-width: 1200px) and (min-resolution: 2dppx) {
    :root {
        --base-font-size: 22px;
    }
}

@media (min-width: 1600px) and (min-resolution: 192dpi), 
       (min-width: 1600px) and (min-resolution: 2dppx) {
    :root {
        --base-font-size: 24px;
    }
}

@media (min-width: 2000px) and (min-resolution: 192dpi), 
       (min-width: 2000px) and (min-resolution: 2dppx) {
    :root {
        --base-font-size: 26px;
    }
}

/* 车载设备特定适配 - 参考参考.html的URL参数适配思路 */
@media (min-width: 1200px) and (max-width: 3000px) {
    :root {
        --base-font-size: 20px;
    }
}

@media (min-width: 3000px) {
    :root {
        --base-font-size: 24px;
    }
    
    body {
        line-height: 1.8;
    }
    
    h1 {
        font-size: var(--xxx-large-font-size);
        margin-bottom: 40px;
    }
    
    h2 {
        font-size: var(--x-large-font-size);
        margin: 40px 0 25px;
    }
    
    p, ul, ol, li {
        font-size: var(--medium-font-size);
        margin-bottom: 12px;
    }
    
    .table-wrapper td, .table-wrap td {
        font-size: var(--medium-font-size);
        padding: 15px;
    }
}