* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8fafc;
    color: #334155;
    line-height: 1.6;
}

/* 容器 */
.container {
    max-width: 80%;
    margin: 0 auto;
    padding: 20px;
}

/* 头部 - 简洁设计 */
.header {
    background: white;
    height: 80px;
    color: #1e293b;
    padding: 24px 32px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.header h1 {
    font-size: 22px;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    flex: 1;
    max-width: 600px;
    margin: 0 auto;
}

/* 重新设计的按钮样式 */
.auth-buttons {
    display: flex;
    gap: 12px;
    width: 20%;
}

.auth-buttons button {
    padding: 12px 20px;
    flex: 1;
    border-radius: 10px;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    letter-spacing: 0.3px;
}

.auth-buttons button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.auth-buttons button:hover::before {
    left: 100%;
}

.btn-outline-primary {
    background-color: transparent;
    color: #8b5cf6;
    border: 2px solid #8b5cf6;
    position: relative;
}

.btn-outline-primary:hover {
    background-color: #8b5cf6;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.4);
}

.btn-primary {
    background-color: transparent;
    color: #8b5cf6;
    border: 2px solid #8b5cf6;
    position: relative;
}

.btn-primary:hover {
    background-color: #8b5cf6;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.4);
}

/* 我的账户按钮样式 */
.btn-my-account {
    background-color: transparent;
    color: #10b981;
    border: 2px solid #10b981;
    position: relative;
}

.btn-my-account:hover {
    background-color: #10b981;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
}

/* 媒体展示区域 - 简洁设计 */
.media-section {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    height: 200px;
    justify-content: center;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* 轮播图容器 */
.carousel-container {
    flex: 5;
    max-width: 80%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel img.active {
    opacity: 1;
}

/* 四宫格容器 */
.quadrant-container {
    flex: 5;
    max-width: 300px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quadrant-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.quadrant {
    display: flex;
    height: 100%;
}

.quadrant img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 表格区域 - 简洁设计 */
.table-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.table-section h2 {
    color: #1e293b;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
}

/* PC端隐藏表格内的按钮行 */
.table-buttons-header {
    display: none;
}

.table-wrapper {
    overflow-x: auto;
    margin-bottom: 20px;
}

#accountTable {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

#accountTable th,
#accountTable td {
    padding: 12px 8px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    position: relative;
}

#accountTable th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #475569;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: help;
}

/* 表格行背景色 - 五种颜色循环 */
#accountTable tbody tr {
    transition: all 0.3s ease;
}

#accountTable tbody tr:nth-child(5n+1) {
    background-color: #f0f9ff; /* 浅蓝色 */
}

#accountTable tbody tr:nth-child(5n+2) {
    background-color: #f7fee7; /* 浅绿色 */
}

#accountTable tbody tr:nth-child(5n+3) {
    background-color: #fefce8; /* 浅黄色 */
}

#accountTable tbody tr:nth-child(5n+4) {
    background-color: #fef2f2; /* 浅红色 */
}

#accountTable tbody tr:nth-child(5n) {
    background-color: #faf5ff; /* 浅紫色 */
}

#accountTable tbody tr:hover {
    background-color: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1;
    position: relative;
}

/* 特殊列宽度设置 - 表格标题 */
#accountTable th:nth-child(1) { /* 编号 */
    max-width: 50px;
}

#accountTable th:nth-child(2) { /* 收号时间 */
    max-width: 90px;
}

#accountTable th:nth-child(3) { /* QQ */
    max-width: 90px;
}

#accountTable th:nth-child(4) { /* 区服 */
    max-width: 80px;
}

#accountTable th:nth-child(5) { /* 省份 */
    max-width: 70px;
}

#accountTable th:nth-child(6) { /* 本人人脸 */
    max-width: 60px;
}

#accountTable th:nth-child(7), /* 哈弗币价格 */
#accountTable th:nth-child(8), /* AW+头甲价格 */
#accountTable th:nth-child(10), /* 比例 */
#accountTable th:nth-child(11), /* 六头数量 */
#accountTable th:nth-child(12) { /* 六甲数量 */
    max-width: 60px;
}

#accountTable th:nth-child(9) { /* 哈弗币资产 */
    max-width: 70px;
}

#accountTable th:nth-child(13) { /* AWM子弹数量 */
    max-width: 80px;
}

#accountTable th:nth-child(14) { /* 刀皮 */
    max-width: 70px;
}

#accountTable th:nth-child(15), /* 体力等级 */
#accountTable th:nth-child(16), /* 负重等级 */
#accountTable th:nth-child(17) { /* 保险格 */
    max-width: 60px;
}

#accountTable th:nth-child(18) { /* 皮肤 */
    max-width: 100px;
}

#accountTable th:nth-child(19) { /* 备注 */
    max-width: 120px;
}

/* 特殊列宽度设置 - 表格数据 */
#accountTable td:nth-child(1) { /* 编号 */
    max-width: 50px;
}

#accountTable td:nth-child(2) { /* 收号时间 */
    max-width: 90px;
}

#accountTable td:nth-child(3) { /* QQ */
    max-width: 90px;
}

#accountTable td:nth-child(4) { /* 区服 */
    max-width: 80px;
}

#accountTable td:nth-child(5) { /* 省份 */
    max-width: 70px;
}

#accountTable td:nth-child(6) { /* 本人人脸 */
    max-width: 60px;
}

#accountTable td:nth-child(7), /* 哈弗币价格 */
#accountTable td:nth-child(8), /* AW+头甲价格 */
#accountTable td:nth-child(10), /* 比例 */
#accountTable td:nth-child(11), /* 六头数量 */
#accountTable td:nth-child(12) { /* 六甲数量 */
    max-width: 60px;
}

#accountTable td:nth-child(9) { /* 哈弗币资产 */
    max-width: 70px;
}

#accountTable td:nth-child(13) { /* AWM子弹数量 */
    max-width: 80px;
}

#accountTable td:nth-child(14) { /* 刀皮 */
    max-width: 70px;
}

#accountTable td:nth-child(15), /* 体力等级 */
#accountTable td:nth-child(16), /* 负重等级 */
#accountTable td:nth-child(17) { /* 保险格 */
    max-width: 60px;
}

#accountTable td:nth-child(18) { /* 皮肤 */
    max-width: 100px;
}

#accountTable td:nth-child(19) { /* 备注 */
    max-width: 120px;
}

/* 分页控件 - 简洁设计 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.pagination button {
    padding: 8px 16px;
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    font-weight: 500;
}

.pagination button:hover:not(:disabled) {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#pageInfo {
    font-size: 14px;
    color: #64748b;
}

#pageSizeSelect {
    padding: 8px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    color: #334155;
}

/* 工具提示 - 简洁设计 */
.tooltip {
    position: absolute;
    background-color: #1e293b;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.4;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    max-width: 300px;
    word-wrap: break-word;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tooltip.show {
    opacity: 1;
    transform: translateY(-2px);
}

/* 重要提示弹窗 */
#importantModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
}

.modal-content {
    background: white;
    margin: 10% auto;
    padding: 32px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.modal-title {
    color: #1e293b;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.modal-body {
    min-height: 200px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow-y: auto;
    max-height: 400px;
    margin-bottom: 20px;
}

.confirm-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
    display: block;
    margin: 0 auto;
}

.confirm-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
}

/* 登录注册弹窗 - 简洁设计 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
}

.modal.show {
    display: block;
}

.modal-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 440px;
}

.modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
}

.modal-title {
    margin: 0;
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
}

.btn-close {
    background: none;
    border: none;
    color: #64748b;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-weight: 300;
    line-height: 1;
}

.btn-close::before {
    content: "×";
    display: block;
    font-size: 28px;
    line-height: 1;
}

.btn-close:hover {
    color: #1e293b;
    background: #e2e8f0;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    text-align: center;
}

/* 表单样式 */
.mb-3 {
    margin-bottom: 16px;
}

.form-label {
    color: #374151;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: #374151;
    font-size: 14px;
    transition: all 0.2s;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-text {
    color: #6b7280;
    font-size: 12px;
    margin-top: 4px;
}

/* 验证码容器 */
.row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.col-8 {
    flex: 8;
}

.col-4 {
    flex: 4;
}

.col-6 {
    flex: 6;
}

.captcha-container {
    display: flex;
    align-items: center;
    height: 40px;
}

#loginCaptchaImg,
#registerImageCaptchaImg {
    height: 100%;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    object-fit: cover;
}

#loginCaptchaImg:hover,
#registerImageCaptchaImg:hover {
    border-color: #3b82f6;
}

/* 按钮样式 */
.btn-primary {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    font-size: 14px;
}

.btn-primary:hover {
    background: #2563eb;
}

.btn-success {
    background: #10b981;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    font-size: 14px;
}

.btn-success:hover {
    background: #059669;
}

.btn-outline-primary {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    font-size: 14px;
    width: 100%;
}

.btn-outline-primary:hover {
    background: #3b82f6;
    color: white;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.w-100 {
    width: 100%;
}

.text-center {
    text-align: center;
}

/* 复选框样式 */
.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-check-input {
    border: 2px solid #d1d5db;
    margin-right: 8px;
}

.form-check-input:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.form-check-label {
    color: #374151;
    font-size: 14px;
    cursor: pointer;
}

.form-check-label a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.form-check-label a:hover {
    text-decoration: underline;
}

.modal-footer small a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.modal-footer small a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .media-section {
        flex-direction: row;  /* 改为水平排列 */
        height: 180px;
        gap: 10px;
    }

    .carousel-container {
        height: 180px;
        flex: 1;
        max-width: 50%;
    }

    .quadrant-container {
        height: 180px;
        flex: 1;
        max-width: 50%;
    }

    .header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .auth-buttons {
        margin-top: 12px;
    }

    .table-wrapper {
        font-size: 12px;
    }

    #accountTable th,
    #accountTable td {
        padding: 8px 4px;
    }

    .row {
        flex-direction: column;
        gap: 8px;
    }

    .col-8,
    .col-4,
    .col-6 {
        flex: 100%;
    }
}

/* 增强的移动端响应式设计 */
@media (max-width: 768px) {
    /* 基础布局优化 */
    .container {
        padding: 10px;
        max-width: 100%;
    }

    body {
        font-size: 14px;
        line-height: 1.4;
    }

    /* 表格优化 - 手机端只显示关键列 */
    /* 显示：编号(1)、哈弗币价格(7)、AW+头甲价格(8)、哈弗币资产(M)(9)、比例(10) */
    #accountTable th:nth-child(1),
    #accountTable td:nth-child(1),
    #accountTable th:nth-child(7),
    #accountTable td:nth-child(7),
    #accountTable th:nth-child(8),
    #accountTable td:nth-child(8),
    #accountTable th:nth-child(9),
    #accountTable td:nth-child(9),
    #accountTable th:nth-child(10),
    #accountTable td:nth-child(10) {
        display: table-cell;
    }

    #accountTable th:not(:nth-child(1)):not(:nth-child(7)):not(:nth-child(8)):not(:nth-child(9)):not(:nth-child(10)),
    #accountTable td:not(:nth-child(1)):not(:nth-child(7)):not(:nth-child(8)):not(:nth-child(9)):not(:nth-child(10)) {
        display: none;
    }

    /* 表格列宽度优化 */
    #accountTable th,
    #accountTable td {
        padding: 6px 3px;
        min-width: 50px;
        max-width: 100px;
        word-break: break-word;
        font-size: 12px;
    }

    /* 调整特定列的宽度 */
    #accountTable th:nth-child(1),
    #accountTable td:nth-child(1) {
        min-width: 40px;
        max-width: 60px;
    }

    #accountTable th:nth-child(7),
    #accountTable td:nth-child(7),
    #accountTable th:nth-child(8),
    #accountTable td:nth-child(8) {
        min-width: 70px;
        max-width: 90px;
    }

    /* 添加详情查看按钮 */
    .mobile-detail-btn {
        display: inline-block;
        background-color: #8b5cf6;
        color: white;
        border: none;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        cursor: pointer;
        margin-top: 4px;
    }

    .mobile-detail-btn:hover {
        background-color: #7c3aed;
    }

    /* 媒体区域进一步优化 */
    .media-section {
        gap: 15px;
        margin-bottom: 20px;
    }

    .carousel-container,
    .quadrant-container {
        height: 180px;
        border-radius: 8px;
    }

    /* 头部优化 - 完全隐藏头部，按钮移到表格内 */
    .header {
        display: none;  /* 完全隐藏头部，包括标题和按钮 */
    }

    /* 表格区域优化 - 移除box样式，最大化空间 */
    .table-section {
        background: transparent;
        border-radius: 0;
        padding: 0;
        margin: 0;
        box-shadow: none;
        border: none;
    }

    .table-section h2 {
        display: none;  /* 隐藏"账号信息列表"标题 */
    }

    /* 表格容器优化 - 移除边框和背景 */
    .table-wrapper {
        border-radius: 0;
        border: none;
        background: transparent;
        margin-bottom: 10px;
    }

    /* 表格内的按钮容器 - 默认隐藏，移动端显示 */
    .table-buttons-header {
        display: none;
    }

    .table-buttons-row {
        display: table-row;
        background: #f8fafc;
    }

    .table-buttons-cell {
        display: table-cell;
        padding: 8px 4px;
        text-align: center;
        border-bottom: 1px solid #e2e8f0;
    }

    .table-buttons-container {
        display: flex;
        gap: 6px;
        justify-content: center;
    }

    /* 表格内按钮样式 */
    .table-btn {
        padding: 6px 10px;
        font-size: 12px;
        min-height: 32px;
        border-radius: 6px;
        flex: 1;
        max-width: 80px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .table-btn-primary {
        background-color: #8b5cf6;
        color: white;
        border: none;
    }

    .table-btn-primary:active {
        background-color: #7c3aed;
        transform: scale(0.98);
    }

    .table-btn-outline {
        background-color: transparent;
        color: #8b5cf6;
        border: 1px solid #8b5cf6;
    }

    .table-btn-outline:active {
        background-color: #f3f4f6;
        transform: scale(0.98);
    }

    .table-btn-my {
        background-color: #10b981;
        color: white;
        border: none;
    }

    .table-btn-my:active {
        background-color: #0da271;
        transform: scale(0.98);
    }

    /* 移动端显示按钮行 */
    .table-buttons-header {
        display: table-header-group;
    }

    .btn {
        min-height: 36px;
        padding: 8px 16px;
        font-size: 14px;
    }

    /* 分页控件优化 - 缩小并放在底部一行 */
    .pagination {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 8px 10px;
        border-top: 1px solid #e2e8f0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 6px;
        z-index: 100;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }

    .pagination button {
        flex: 1;
        min-height: 32px;
        padding: 4px 8px;
        font-size: 12px;
        border-radius: 4px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        color: #64748b;
    }

    .pagination button:hover:not(:disabled) {
        background: #8b5cf6;
        color: white;
        border-color: #8b5cf6;
        transform: none;
    }

    #pageInfo {
        font-size: 11px;
        color: #64748b;
        white-space: nowrap;
        padding: 0 6px;
    }

    #pageSizeSelect {
        flex: 1;
        min-height: 32px;
        padding: 4px 8px;
        font-size: 12px;
        border-radius: 4px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        color: #64748b;
        max-width: 100px;
    }

    /* 为分页控件留出底部空间 */
    .container {
        padding-bottom: 60px;
    }

    /* 模态框优化 */
    .modal-content {
        width: 90%;
        max-width: 400px;
        margin: 10% auto;
        padding: 15px;
    }

    .modal-title {
        font-size: 1.2rem;
    }
}

/* 超小屏幕优化 (手机竖屏) */
@media (max-width: 480px) {
    body {
        font-size: 14px; /* 增大基础字体大小 */
        line-height: 1.5;
    }

    .header h1 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .btn {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 18px;
        font-size: 15px;
        border-radius: 8px;
    }

    #accountTable th,
    #accountTable td {
        padding: 10px 6px;
        font-size: 13px; /* 增大表格字体 */
        min-height: 44px;
        vertical-align: middle;
    }

    .table-section h2 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .carousel-container,
    .quadrant-container {
        height: 160px;
        border-radius: 10px;
    }

    /* 确保所有交互元素可点击区域足够大 */
    a, button, input, select {
        min-height: 44px;
        min-width: 44px;
    }

    /* 分页控件优化 - 与768px保持一致，固定在底部 */
    .pagination {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 8px 10px;
        border-top: 1px solid #e2e8f0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 6px;
        z-index: 100;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }

    .pagination button {
        flex: 1;
        min-height: 32px;
        padding: 4px 8px;
        font-size: 12px;
        border-radius: 4px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        color: #64748b;
    }

    .pagination button:hover:not(:disabled) {
        background: #8b5cf6;
        color: white;
        border-color: #8b5cf6;
        transform: none;
    }

    #pageInfo {
        font-size: 11px;
        color: #64748b;
        white-space: nowrap;
        padding: 0 6px;
    }

    #pageSizeSelect {
        flex: 1;
        min-height: 32px;
        padding: 4px 8px;
        font-size: 12px;
        border-radius: 4px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        color: #64748b;
        max-width: 100px;
    }

    /* 为分页控件留出底部空间 */
    .container {
        padding-bottom: 60px;
    }

    /* 表格容器优化 */
    .table-wrapper {
        border-radius: 10px;
        overflow: hidden;
        border: 1px solid #e5e7eb;
    }

    /* 触摸优化 - 移除hover效果，增强active效果 */
    .btn:hover {
        transform: none;
        opacity: 1;
    }

    .btn:active {
        transform: scale(0.96);
        opacity: 0.9;
        transition: transform 0.1s, opacity 0.1s;
    }

    /* 改善文字可读性 */
    h1, h2, h3, h4 {
        line-height: 1.3;
    }

    /* 改善段落和列表 */
    p, li {
        line-height: 1.6;
    }

    /* 改善表单元素 */
    input, select, textarea {
        font-size: 16px; /* 防止iOS自动缩放 */
        padding: 12px;
        border-radius: 8px;
    }

    /* 改善链接 */
    a {
        padding: 4px 0;
        display: inline-block;
    }
}

/* 平板优化 */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 90%;
    }

    #accountTable th,
    #accountTable td {
        padding: 8px 6px;
        font-size: 13px;
    }

    .media-section {
        height: 300px;
    }

    .carousel-container {
        height: 280px;
    }

    .quadrant-container {
        height: 280px;
    }
}

/* 移动端详情模态框样式 */
.mobile-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.mobile-detail-content {
    background-color: white;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: mobileDetailSlideIn 0.3s ease-out;
}

@keyframes mobileDetailSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #f8fafc;
    border-radius: 12px 12px 0 0;
    position: sticky;
    top: 0;
    z-index: 1;
}

.mobile-detail-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #1f2937;
}

.mobile-detail-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #6b7280;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.mobile-detail-close:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.mobile-detail-body {
    padding: 20px;
}

.detail-section {
    margin-bottom: 24px;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section h4 {
    margin: 0 0 12px 0;
    font-size: 1rem;
    color: #374151;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 2px solid #8b5cf6;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    padding: 10px;
    background-color: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.detail-label {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 4px;
    font-weight: 500;
}

.detail-value {
    font-size: 0.95rem;
    color: #1f2937;
    font-weight: 500;
    word-break: break-word;
}

.calculation-info {
    background-color: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 12px;
    font-size: 0.9rem;
    color: #0369a1;
    line-height: 1.5;
    margin-top: 8px;
}

/* 超小屏幕详情优化 */
@media (max-width: 480px) {
    .mobile-detail-content {
        max-height: 90vh;
        padding: 0;
    }

    .mobile-detail-header {
        padding: 12px 16px;
    }

    .mobile-detail-header h3 {
        font-size: 1.1rem;
    }

    .mobile-detail-body {
        padding: 16px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .detail-item {
        padding: 8px;
    }

    .detail-label {
        font-size: 0.8rem;
    }

    .detail-value {
        font-size: 0.9rem;
    }

    .detail-section h4 {
        font-size: 0.95rem;
    }
}

/* 修复媒体区域在超小屏幕的布局问题 */
@media (max-width: 480px) {
    .media-section {
        flex-direction: row;  /* 改为水平排列 */
        gap: 8px;
        margin-bottom: 15px;
        height: 140px;
    }

    .carousel-container,
    .quadrant-container {
        height: 140px;
        border-radius: 6px;
        flex: 1;
        max-width: 50%;
    }

    .carousel-container {
        order: 1;
    }

    .quadrant-container {
        order: 2;
    }

    /* 在超小屏幕也隐藏标题 */
    .header h1 {
        display: none;
    }

    .header {
        padding: 10px;
        margin-bottom: 10px;
    }
}

/* 触摸优化 */
@media (hover: none) and (pointer: coarse) {
    /* 触摸设备样式 */
    .btn,
    .mobile-detail-btn,
    .pagination button,
    .modal button {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 20px;
    }

    /* 移除hover效果，使用active状态 */
    .btn:hover,
    .mobile-detail-btn:hover {
        transform: none;
    }

    .btn:active,
    .mobile-detail-btn:active {
        transform: scale(0.97);
        opacity: 0.9;
    }

    /* 表格行触摸反馈 */
    #accountTable tbody tr:active {
        background-color: #f3f4f6;
    }

    /* 输入框优化 */
    input, select, textarea {
        font-size: 16px; /* 防止iOS缩放 */
    }
}

/* 防止iOS橡皮筋效果干扰 */
body {
    overscroll-behavior-y: contain;
}

/* 移动端表格额外列样式 */
.mobile-detail-cell {
    text-align: center;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .mobile-detail-cell {
        display: table-cell !important;
    }
}

/* 触摸设备工具提示样式 */
.touch-tooltip {
    background-color: rgba(0, 0, 0, 0.85) !important;
    color: white !important;
    padding: 15px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    text-align: center !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
    border: none !important;
    max-width: 90vw !important;
    word-break: break-word !important;
    animation: tooltipFadeIn 0.2s ease-out !important;
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 改善移动端滚动体验 */
@media (max-width: 768px) {
    .table-wrapper {
        -webkit-overflow-scrolling: touch;
        overflow-x: auto;
    }

    body {
        overflow-x: hidden;
    }
}

/* 防止长按选择文本（移动端） */
@media (max-width: 768px) {
    .btn, .mobile-detail-btn {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
}

/* 账号状态样式 */
.status-listed {
    display: inline-block;
    padding: 4px 8px;
    background-color: #d1fae5;
    color: #065f46;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-delisted {
    display: inline-block;
    padding: 4px 8px;
    background-color: #fee2e2;
    color: #991b1b;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-pending {
    background-color: #fef3c7;
    color: #92400e;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

.status-rejected {
    background-color: #fecaca;
    color: #7f1d1d;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

/* 改善移动端输入体验 */
@media (max-width: 768px) {
    input, select, textarea {
        -webkit-appearance: none;
        appearance: none;
        border-radius: 8px;
    }

    select {
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 16px;
        padding-right: 40px;
    }
}

/* 置灰按钮样式 - 颜色变浅而不是完全灰色 */
.btn:disabled,
button:disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
    filter: grayscale(0.3) !important;
}

.btn:disabled:hover,
button:disabled:hover {
    opacity: 0.4 !important;
    transform: none !important;
    box-shadow: none !important;
    filter: grayscale(0.3) !important;
}

/* 特殊按钮的置灰样式 */
.btn-warning:disabled {
    background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
    opacity: 0.4 !important;
    filter: grayscale(0.3) !important;
}

.btn-success:disabled {
    background: linear-gradient(135deg, #34d399, #10b981) !important;
    opacity: 0.4 !important;
    filter: grayscale(0.3) !important;
}

.btn-info:disabled {
    background: linear-gradient(135deg, #60a5fa, #3b82f6) !important;
    opacity: 0.4 !important;
    filter: grayscale(0.3) !important;
}

.btn-primary:disabled {
    background: linear-gradient(135deg, #60a5fa, #3b82f6) !important;
    opacity: 0.4 !important;
    filter: grayscale(0.3) !important;
}

/* 确保置灰按钮在所有设备上都一致 */
@media (hover: none) and (pointer: coarse) {
    .btn:disabled,
    button:disabled {
        opacity: 0.4 !important;
        filter: grayscale(0.3) !important;
        transform: none !important;
    }
}
