/* 飞书风格 - Cursor续杯工具样式表 */

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

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --bg-color: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --hover-bg: #f1f5f9;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --sidebar-width: 280px;
    --topbar-height: 64px;
}

body.dark-mode {
    --bg-color: #0f172a;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --border-color: #334155;
    --card-bg: #1e293b;
    --hover-bg: #334155;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

/* 布局容器 */
.container {
    display: flex;
    min-height: 100vh;
}

/* 侧边导航栏 */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--card-bg);
    border-right: 1px solid var(--border-color);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
    z-index: 100;
}

.logo {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
    height: 72px;
    box-sizing: border-box;
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(37, 99, 235, 0.02) 100%);
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 24px;
    letter-spacing: -0.025em;
}

/* 导航菜单 */
.nav-menu {
    padding: 0 16px;
    padding-bottom: 20px;
}

.nav-section {
    margin-bottom: 32px;
}

.nav-section-title {
    font-size: 11px;
    color: var(--text-tertiary);
    padding: 12px 16px 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    margin-bottom: 4px;
}

.nav-item {
    display: block;
    padding: 12px 16px;
    margin: 2px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    position: relative;
}

.nav-item:hover {
    background-color: var(--hover-bg);
    color: var(--text-primary);
    transform: translateX(2px);
}

.nav-item.active {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    transform: translateX(4px);
}


body.dark-mode .nav-item.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.4);
}

/* 主内容区 */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    background-color: var(--bg-color);
}

/* 顶部栏 */
.topbar {
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    height: 72px;
    box-sizing: border-box;
    backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.9);
}

body.dark-mode .topbar {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(37, 99, 235, 0.02) 100%);
}

/* 移动端菜单按钮 - 默认隐藏 */
.mobile-menu-btn {
    display: none;
}

/* 移动端返回按钮 - 默认隐藏 */
.mobile-back-btn {
    display: none;
}

.mobile-overlay {
    display: none;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-separator {
    color: var(--text-tertiary);
    font-weight: 400;
}

.topbar-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.theme-switch {
    display: flex;
    gap: 8px;
    background-color: var(--hover-bg);
    border-radius: 8px;
    padding: 6px;
}

.theme-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.theme-btn:hover {
    color: var(--text-primary);
    border-color: var(--primary-color);
    background-color: var(--hover-bg);
}

.theme-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

/* 内容区域 */
.content-area {
    padding: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-header {
    margin-bottom: 24px;
}

.page-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.page-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 卡片 */
.card {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 28px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}


.card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.card-body {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 步骤列表 */
.steps {
    display: grid;
    gap: 16px;
}

.step-item {
    background-color: var(--hover-bg);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.step-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color), #1e5dff);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.step-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step-description {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.7;
    font-weight: 400;
    margin-top: 8px;
}

body.dark-mode .step-description {
    color: var(--text-primary);
}

/* 信息框 */
.info-box {
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    font-size: 14px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.info-box:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.info-box.primary {
    background-color: #e0f2f7;
    color: var(--text-primary);
}

body.dark-mode .info-box.primary {
    background-color: rgba(37, 99, 235, 0.15);
}

.info-box.warning {
    background-color: #fff8e1;
    color: var(--text-primary);
}

body.dark-mode .info-box.warning {
    background-color: rgba(245, 158, 11, 0.15);
}

.info-box.success {
    background-color: #e8f5e8;
    color: var(--text-primary);
}

body.dark-mode .info-box.success {
    background-color: rgba(16, 185, 129, 0.15);
}

.info-box.danger {
    background-color: #fef2f2;
    color: var(--text-primary);
}

body.dark-mode .info-box.danger {
    background-color: rgba(239, 68, 68, 0.15);
}

/* FAQ手风琴 */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-question {
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
    user-select: none;
}

.faq-question:hover {
    background-color: var(--hover-bg);
}

.faq-icon {
    color: var(--text-tertiary);
    transition: transform 0.3s;
    font-size: 12px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 20px 16px 20px;
}

/* FAQ链接列表 */
.faq-link-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-link-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background-color: var(--hover-bg);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.faq-link-item:hover {
    background-color: #e8f3ff;
    border-color: var(--primary-color);
    transform: translateX(4px);
}

body.dark-mode .faq-link-item:hover {
    background-color: rgba(51, 112, 255, 0.1);
}

.faq-link-title {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

.faq-link-arrow {
    color: var(--text-tertiary);
    font-size: 18px;
    transition: transform 0.2s;
}

.faq-link-item:hover .faq-link-arrow {
    color: var(--primary-color);
    transform: translateX(4px);
}

/* 网格布局 */
.grid {
    display: grid;
    gap: 16px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* 特性卡片 */
.feature-card {
    background-color: var(--hover-bg);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s;
}

.feature-card:hover {
    background-color: #e8f3ff;
}

body.dark-mode .feature-card:hover {
    background-color: rgba(51, 112, 255, 0.1);
}

.feature-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 列表 */
ul, ol {
    padding-left: 0;
    margin: 12px 0;
}

li {
    margin: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* 删除li的标点符号 */
li {
    list-style: none;
}


/* 标签 */
.tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 8px;
    margin-bottom: 8px;
}

.tag.primary {
    background-color: #e8f3ff;
    color: var(--primary-color);
}

.tag.success {
    background-color: #e8ffea;
    color: var(--success-color);
}

.tag.warning {
    background-color: #fff7e6;
    color: var(--warning-color);
}

body.dark-mode .tag.primary {
    background-color: rgba(51, 112, 255, 0.2);
}

body.dark-mode .tag.success {
    background-color: rgba(0, 180, 42, 0.2);
}

body.dark-mode .tag.warning {
    background-color: rgba(255, 125, 0, 0.2);
}

/* 按钮 */
.btn {
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background-color: #1f2937;
    color: white;
}

.btn-primary:hover {
    background-color: #111827;
}

.btn-secondary {
    background-color: #374151;
    color: white;
}

.btn-secondary:hover {
    background-color: #1f2937;
}

.btn-success {
    background-color: #059669;
    color: white;
}

.btn-success:hover {
    background-color: #047857;
}

/* 下载按钮样式 */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: #1f2937;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 8px 8px 8px 0;
    text-decoration: none;
    line-height: 1.5;
}

.download-btn:hover {
    background-color: #111827;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    color: white;
}


.download-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* 深色模式下的下载按钮样式 */
body.dark-mode .download-btn {
    background-color: white !important;
    color: #1f2937 !important;
}

body.dark-mode .download-btn:hover {
    background-color: #f3f4f6 !important;
    color: #111827 !important;
}

/* 深色模式下的客服弹窗样式 */
body.dark-mode .modal-overlay {
    background-color: rgba(0, 0, 0, 0.8);
}

body.dark-mode .modal-content {
    background-color: #1f2937;
    border: 1px solid #374151;
}

body.dark-mode .modal-header {
    border-bottom-color: #374151;
}

body.dark-mode .modal-header h3 {
    color: white;
}

body.dark-mode .modal-close {
    color: #9ca3af;
}

body.dark-mode .modal-close:hover {
    background-color: #374151;
    color: white;
}

/* 深色模式下的QQ ID和复制按钮样式 */
body.dark-mode .qq-id {
    color: white !important;
    background-color: #374151 !important;
    border-color: #4b5563 !important;
}

body.dark-mode .copy-btn {
    background-color: white !important;
    color: #1f2937 !important;
}

body.dark-mode .copy-btn:hover {
    background-color: #f3f4f6 !important;
    color: #111827 !important;
}

/* 浅色模式下的QQ ID和复制按钮样式 */
body:not(.dark-mode) .qq-id {
    color: #1f2937 !important;
    background-color: #f3f4f6 !important;
    border-color: #d1d5db !important;
}

body:not(.dark-mode) .copy-btn {
    background-color: #1f2937 !important;
    color: white !important;
}

body:not(.dark-mode) .copy-btn:hover {
    background-color: #111827 !important;
    color: white !important;
}

/* 浅色模式下的下载按钮样式 */
body:not(.dark-mode) .download-btn {
    background-color: #4caf50 !important;
    color: white !important;
}

body:not(.dark-mode) .download-btn:hover {
    background-color: #45a049 !important;
    color: white !important;
}

/* 页脚 */
.footer {
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 24px;
    text-align: center;
    color: var(--text-tertiary);
    font-size: 13px;
    margin-top: 40px;
}

/* 分割线 */
.divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 24px 0;
}

/* 代码 */
code {
    background-color: var(--hover-bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    color: #e11d48;
    border: 1px solid rgba(225, 29, 72, 0.2);
}

/* 深色模式下的代码样式 */
[data-theme="dark"] code {
    background-color: rgba(225, 29, 72, 0.1);
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.3);
}

strong {
    font-weight: 600;
    color: var(--text-primary);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .container {
        flex-direction: row;
    }

    .sidebar {
        width: 200px;
        flex-shrink: 0;
    }
    
    .main-content {
        margin-left: 200px;
        flex: 1;
    }
    
    .content-area {
        padding: 20px;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: row;
    }

    .sidebar {
        display: none;
    }

    .main-content {
        margin-left: 0;
        flex: 1;
        width: 100%;
    }

    .content-area {
        padding: 16px;
    }

    .topbar {
        padding: 12px 16px;
        flex-direction: row;
        gap: 8px;
        height: 56px;
        min-height: 56px;
        align-items: center;
    }

    .topbar .breadcrumb {
        margin-left: 0;
        flex: 1;
    }

    /* 移动端菜单按钮 */
    .mobile-menu-btn {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        background: var(--hover-bg);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        cursor: pointer;
        padding: 0;
        gap: 4px;
        margin-right: 12px;
        flex-shrink: 0;
        transition: all 0.2s ease;
    }
    
    .mobile-menu-btn:hover {
        background: var(--primary-color);
        border-color: var(--primary-color);
    }
    
    .mobile-menu-btn:hover span {
        background-color: white;
    }

    /* 移动端返回按钮 */
    .mobile-back-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        height: 40px;
        padding: 0 16px;
        background-color: #374151;
        color: white;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-right: 12px;
        font-size: 14px;
        font-weight: 500;
        flex-shrink: 0;
        text-decoration: none;
    }

    .mobile-back-btn:hover {
        background-color: #1f2937;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

    .mobile-overlay {
        display: block !important;
    }

    .mobile-menu-btn span {
        width: 20px;
        height: 2px;
        background-color: var(--text-primary);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* 移动端侧边栏覆盖层 */
    .sidebar.mobile-open {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        height: calc(100vh - env(safe-area-inset-bottom));
        padding-bottom: 40px;
        z-index: 9999;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.mobile-open.show {
        transform: translateX(0);
    }

    /* 移动端导航菜单底部间距 */
    .sidebar.mobile-open .nav-menu {
        padding-bottom: 60px;
    }

    /* 移动端遮罩层 */
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-overlay.show {
        opacity: 1;
        visibility: visible;
    }

    .breadcrumb {
        font-size: 13px;
        flex-wrap: wrap;
        margin-left: 0;
    }

    .theme-switch {
        align-self: flex-end;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 24px;
    }

    .card {
        padding: 16px;
        margin-bottom: 12px;
    }

    .card-header {
        margin-bottom: 16px;
        padding-bottom: 12px;
    }

    .card-title {
        font-size: 16px;
    }

    .step-item {
        padding: 16px;
        flex-direction: column;
        gap: 12px;
    }

    .step-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
        align-self: flex-start;
    }

    .step-title {
        font-size: 15px;
    }

    .step-description {
        font-size: 13px;
    }

    .info-box {
        padding: 12px;
        font-size: 13px;
    }

    .faq-link-item {
        padding: 12px 16px;
    }

    .faq-link-title {
        font-size: 14px;
    }

    .feature-card {
        padding: 16px;
    }

    .feature-title {
        font-size: 15px;
    }

    .feature-description {
        font-size: 13px;
    }

    /* 移动端导航优化 */
    .nav-menu {
        padding: 0 8px;
    }

    .nav-item {
        padding: 10px 8px;
        font-size: 15px;
    }

    .nav-section-title {
        padding: 6px 8px;
        font-size: 11px;
    }

    .logo {
        padding: 12px 16px;
        margin-bottom: 16px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .logo-text {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        flex-direction: row;
    }

    .sidebar {
        display: none;
    }

    .main-content {
        margin-left: 0;
        flex: 1;
        width: 100%;
    }

    .content-area {
        padding: 12px;
    }

    .page-title {
        font-size: 20px;
    }

    .page-description {
        font-size: 13px;
    }

    .card {
        padding: 12px;
        border-radius: 6px;
    }

    .card-header {
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .card-title {
        font-size: 15px;
    }

    .card-body {
        font-size: 13px;
    }

    .step-item {
        padding: 12px;
        border-radius: 6px;
    }

    .step-number {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .step-title {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .step-description {
        font-size: 12px;
    }

    .info-box {
        padding: 10px;
        font-size: 12px;
        border-radius: 6px;
    }

    .faq-link-item {
        padding: 10px 12px;
        border-radius: 6px;
    }

    .faq-link-title {
        font-size: 13px;
    }

    .feature-card {
        padding: 12px;
        border-radius: 6px;
    }

    .feature-title {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .feature-description {
        font-size: 12px;
    }

    .topbar {
        padding: 10px 12px;
        gap: 6px;
        align-items: center;
    }

    .topbar .breadcrumb {
        margin-left: 0;
        flex: 1;
    }

    .breadcrumb {
        font-size: 12px;
    }

    .theme-btn {
        padding: 4px 8px;
        font-size: 12px;
    }

    /* 移动端按钮优化 */
    .btn {
        padding: 6px 12px;
        font-size: 13px;
    }

    /* 移动端图片优化 */
    img {
        max-width: 100%;
        height: auto;
        border-radius: 6px;
    }

    /* 移动端列表优化 */
    ul, ol {
        padding-left: 20px;
    }

    li {
        font-size: 13px;
        margin: 6px 0;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-tertiary);
}

/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.4s ease;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: var(--hover-bg);
    font-weight: 600;
    color: var(--text-primary);
}

td {
    color: var(--text-secondary);
}

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

/* 弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
}

.modal-close:hover {
    background-color: var(--hover-bg);
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
}

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

.service-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 16px;
    background-color: var(--hover-bg);
    border-radius: 8px;
    flex-wrap: wrap;
}

.service-item strong {
    font-size: 16px;
    color: var(--text-primary);
}

.qq-id {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    background-color: var(--card-bg);
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.copy-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.service-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.modal-footer {
    padding: 16px 24px 24px;
    text-align: center;
}

.modal-footer .btn-primary {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
}

/* 移动端弹窗优化 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-width: none;
        margin: 20px;
    }
    
    .modal-header {
        padding: 16px 20px 12px;
    }
    
    .modal-header h3 {
        font-size: 16px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .service-item {
        flex-direction: column;
        gap: 8px;
        padding: 12px;
    }
    
    .service-item strong {
        font-size: 14px;
    }
    
    .qq-id {
        font-size: 16px;
        padding: 6px 10px;
    }
    
    .copy-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .service-desc {
        font-size: 13px;
    }
    
    .modal-footer {
        padding: 12px 20px 20px;
    }
    
    .modal-footer .btn-primary {
        padding: 10px 20px;
        font-size: 14px;
    }
}

