:root {
    --primary-color: #4f46e5;
    --primary-light: #a5a6f6;
    --primary-dark: #3730a3;
    --success-color: #10b981;
    --success-dark: #059669;
    --error-color: #ef4444;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--gray-100);
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.logo i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 0.75rem;
}

h1 {
    color: var(--gray-800);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.025em;
}

p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.small {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    transition: all 0.2s ease;
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card h2 {
    color: var(--gray-800);
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.card h2 i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.upload-area {
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background-color: var(--gray-100);
}

.upload-area:hover,
.upload-area.drag-over {
    border-color: var(--primary-color);
    background-color: rgba(79, 70, 229, 0.05);
}

.upload-area.error {
    border-color: var(--error-color);
    background-color: rgba(239, 68, 68, 0.05);
}

.upload-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.upload-icon i {
    font-size: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-200);
    color: var(--gray-700);
    border: none;
    border-radius: var(--radius-md);
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.btn i {
    margin-right: 0.5rem;
}

.btn:hover {
    filter: brightness(0.95);
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-success {
    background-color: var(--success-color);
    color: white;
}

.btn-success:hover {
    background-color: var(--success-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--gray-600);
    border: 1px solid var(--gray-300);
}

.btn-outline:hover {
    background-color: var(--gray-100);
    border-color: var(--gray-400);
}

.btn:disabled {
    background-color: var(--gray-300);
    color: var(--gray-500);
    cursor: not-allowed;
    transform: none;
}

.option-label {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.option-group {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.hidden {
    display: none;
}

.error-message {
    color: var(--error-color);
    margin-top: 0.75rem;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    background-color: rgba(239, 68, 68, 0.1);
}

.preview-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.single-preview {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 1.5rem auto;
}

.preview-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: transform 0.2s;
}

.preview-image:hover {
    transform: scale(1.02);
}

.result-container {
    text-align: center;
    margin: 1.5rem 0;
}

.result-image {
    max-width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.loading {
    text-align: center;
    margin: 2rem 0;
}

.spinner {
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    border: 0.25rem solid rgba(79, 70, 229, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

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

.mt-4 {
    margin-top: 1rem;
}

.progress-container {
    width: 100%;
    background-color: var(--gray-200);
    border-radius: 9999px;
    height: 0.5rem;
    overflow: hidden;
    margin-top: 0.75rem;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 9999px;
    transition: width 0.3s;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin: 1.25rem 0;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 0.5rem;
    width: 1.125rem;
    height: 1.125rem;
    border-radius: var(--radius-sm);
    accent-color: var(--primary-color);
}

.tabs {
    display: flex;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 2rem;
}

.tab {
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 添加水平居中 */
    color: var(--gray-600);
    font-weight: 500;
    transition: all 0.2s;
    height: 3rem;
    /* 固定高度确保一致性 */
}

.tab i {
    margin-right: 0.5rem;
    font-size: 1.125rem;
    display: flex;
    /* 确保图标也能正确居中 */
    align-items: center;
}

.tab.active {
    border-bottom: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.tab:hover:not(.active) {
    color: var(--gray-800);
    border-bottom-color: var(--gray-300);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.range-container {
    margin: 1.25rem 0;
}

.range-container label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
}

.range-container input[type="range"] {
    width: 100%;
    height: 0.5rem;
    background-color: var(--gray-200);
    border-radius: 9999px;
    appearance: none;
    outline: none;
}

.range-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: var(--shadow-sm);
}

.range-value {
    margin-top: 0.5rem;
    text-align: right;
    color: var(--primary-color);
    font-weight: 600;
}

.option-container {
    margin: 1.25rem 0;
}

.option-container label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--gray-700);
}

.radio-group {
    display: flex;
    gap: 1.25rem;
    margin-top: 0.75rem;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0;
}

.radio-label input[type="radio"] {
    margin-right: 0.5rem;
    width: 1.125rem;
    height: 1.125rem;
    accent-color: var(--primary-color);
}

.recommend-tag {
    font-size: 0.75rem;
    background-color: var(--success-color);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    margin-left: 0.5rem;
    font-weight: normal;
}

.options-panel {
    background-color: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.action-buttons {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.split-images-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.split-image-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    background-color: white;
    display: flex;
    flex-direction: column;
}

.split-image-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.split-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: var(--gray-300);
}

.split-image-info {
    padding: 0.75rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-600);
    border-top: 1px solid var(--gray-200);
}

.split-image-card .btn {
    margin: 0 0.75rem 0.75rem;
}

.download-all-btn {
    margin-top: 1.5rem;
    width: 100%;
    justify-content: center;
}

.result-summary {
    text-align: center;
    background-color: var(--gray-100);
    padding: 0.75rem;
    border-radius: var(--radius-md);
    margin: 1rem 0;
    font-size: 1.125rem;
}

.result-summary span {
    color: var(--primary-color);
    font-weight: 600;
}

.watermark {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
    color: var(--gray-500);
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* 为安卓设备添加的样式 */
.android-notice {
    display: none;
    background-color: #fffde7;
    border: 1px solid #ffd600;
    border-radius: 6px;
    padding: 10px;
    margin-top: 10px;
    color: #5d4037;
    font-size: 0.9rem;
    text-align: center;
}

.android-device .android-notice {
    display: block;
}

.android-device .upload-area {
    border: 2px dashed #4caf50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.2);
}

.android-device .btn-primary {
    background-color: #4caf50;
}

/* 为华为设备添加的特定样式 */
.huawei-notice {
    display: none;
    background-color: #ebf5ff;
    border: 1px solid #1e88e5;
    border-radius: 6px;
    padding: 12px;
    margin-top: 10px;
    color: #0d47a1;
    font-size: 0.9rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.huawei-device .huawei-notice {
    display: block;
}

.huawei-device .android-notice {
    display: none;
}

.huawei-device .upload-area {
    border: 2px dashed #1e88e5;
    box-shadow: 0 0 8px rgba(30, 136, 229, 0.3);
    background-color: #f5f9ff;
}

.huawei-device .btn-primary {
    background-color: #1e88e5;
    font-weight: 600;
}

.huawei-device .upload-icon {
    color: #1e88e5;
}

/* 历史记录相关样式 */
.history-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.history-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    background-color: white;
    cursor: pointer;
}

.history-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.history-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.history-info {
    padding: 0.75rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    border-top: 1px solid var(--gray-200);
}

.history-date {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.history-type {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.empty-history {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-400);
}

.empty-history i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* 弹窗样式 */
.modal {
    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: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: white;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform 0.3s;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.modal-header h3 {
    margin: 0;
    color: var(--gray-800);
    display: flex;
    align-items: center;
}

.modal-header h3 i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--gray-500);
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover {
    color: var(--error-color);
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.image-preview {
    text-align: center;
    margin-bottom: 1.5rem;
}

.image-preview img {
    max-width: 100%;
    max-height: 50vh;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.image-info {
    background-color: var(--gray-100);
    padding: 1rem;
    border-radius: var(--radius-md);
}

.image-info p {
    margin-bottom: 0.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: flex-end;
}

/* 适配移动设备的弹窗样式 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 80vh;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .modal-footer {
        padding: 0.75rem 1rem;
    }
}

/* 重新设计的页脚样式 */
.footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
    color: var(--gray-600);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo i {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-700);
}

.footer-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: var(--gray-100);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.footer-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.footer-item i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.footer-copyright p {
    margin: 0;
}

/* 华为设备特殊适配 */
.huawei-device .footer-item:hover {
    background-color: #e3f2fd;
    color: #1e88e5;
}

.huawei-device .footer-item i,
.huawei-device .footer-logo i {
    color: #1e88e5;
}

/* 安卓设备适配 */
.android-device .footer-item:hover {
    background-color: #e8f5e9;
    color: #4caf50;
}

.android-device .footer-item i,
.android-device .footer-logo i {
    color: #4caf50;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer {
        margin-top: 3rem;
        padding-top: 1.5rem;
    }

    .footer-info {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 赞赏入口样式 */
.donate-container {
    margin: 2rem 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.donate-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ff9500;
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.75rem 1.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(255, 149, 0, 0.2);
}

.donate-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 149, 0, 0.3);
    background-color: #ff8500;
}

.donate-button:active {
    transform: translateY(-1px);
}

.donate-button i {
    margin-right: 0.5rem;
    font-size: 1.25rem;
}

.donate-text {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--gray-500);
    text-align: center;
}

/* 华为设备特殊适配 */
.huawei-device .donate-button {
    background-color: #1e88e5;
    box-shadow: 0 4px 6px rgba(30, 136, 229, 0.2);
}

.huawei-device .donate-button:hover {
    background-color: #1976d2;
    box-shadow: 0 6px 12px rgba(30, 136, 229, 0.3);
}

/* 安卓设备适配 */
.android-device .donate-button {
    background-color: #4caf50;
    box-shadow: 0 4px 6px rgba(76, 175, 80, 0.2);
}

.android-device .donate-button:hover {
    background-color: #43a047;
    box-shadow: 0 6px 12px rgba(76, 175, 80, 0.3);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .donate-text {
        font-size: 0.8rem;
        max-width: 80%;
    }
}

/* 添加以下样式来优化小屏幕下的标签显示 */
@media (max-width: 480px) {
    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .tab {
        padding: 0.75rem 0.5rem;
        margin-right: 0;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 2.75rem;
        /* 小屏幕时稍微减小高度 */
        justify-content: center;
    }

    .tab i {
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    /* 确保图标和文字在一行显示并居中 */
    .tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
    }
}

/* 针对超小屏幕的优化 */
@media (max-width: 360px) {
    .tab {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
    }

    .tab i {
        margin-right: 0.2rem;
        font-size: 0.9rem;
    }
}

/* 华为设备特殊适配 */
.huawei-device .modal-content {
    border: 1px solid #1e88e5;
}

.huawei-device .close-btn:hover {
    color: #1e88e5;
}

/* 滚动条美化 */
.history-container::-webkit-scrollbar {
    width: 8px;
}

.history-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.history-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 响应式调整 */