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

:root {
    --primary-color: #42b983;
    --text-color: #213547;
    --text-color-light: #64748b;
    --border-color: #e2e8f0;
    --bg-color: #ffffff;
    --bg-secondary: #f8fafc;
    --sidebar-bg: #ffffff;
    --hover-bg: #f1f5f9;
    --active-color: #42b983;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    -webkit-tap-highlight-color: rgba(66, 185, 131, 0.15);
    position: relative;
}

#app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 速通鹿文字水印（铺满整页、从右往左斜向） */
.watermark-layer {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(10, 1fr);
    transform: rotate(-35deg);
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.watermark-text {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: rgba(66, 185, 131, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    filter: blur(1px);
    white-space: nowrap;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif;
}

/* 顶部导航栏 */
.navbar {
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    padding-top: calc(0.75rem + env(safe-area-inset-top, 0));
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 264px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    text-decoration: none;
}

.nav-logo-img {
    height: 2rem;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-item {
    list-style: none;
}

.nav-link {
    color: var(--text-color-light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    -webkit-tap-highlight-color: transparent;
}

.nav-link:hover {
    color: var(--text-color);
    background-color: var(--hover-bg);
}

.nav-link.active {
    color: var(--active-color);
    background-color: rgba(66, 185, 131, 0.1);
}

/* 汉堡菜单（移动端） */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 12px;
    margin: -12px;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 左侧章节导航栏 */
.sidebar {
    width: 240px;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    position: fixed;
    left: 264px;
    top: 60px;
    height: calc(100vh - 60px);
    overflow-y: auto;
    z-index: 999;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-header h2 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sidebar-nav {
    padding: 0.5rem 0;
}

.nav-list {
    list-style: none;
}

.nav-item {
    margin: 0;
}

.sidebar .nav-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    color: var(--text-color-light);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    border-radius: 0;
    font-size: 0.875rem;
}

.sidebar .nav-link:hover {
    color: var(--text-color);
    background-color: var(--hover-bg);
}

.sidebar .nav-link.active {
    color: var(--active-color);
    background-color: rgba(66, 185, 131, 0.1);
    font-weight: 500;
}

.sidebar .nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--active-color);
}

.nav-text {
    flex: 1;
}


/* 主内容包装器 */
.main-wrapper {
    flex: 1;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 60px);
}

.main-wrapper.with-sidebar {
    margin-left: 504px; /* 264px留白 + 240px侧边栏 */
    margin-right: 264px; /* 右侧留白 */
}

.main-wrapper:not(.with-sidebar) {
    margin-left: 264px;
    margin-right: 264px;
}

/* 主内容区域 */
.main-content {
    flex: 1;
    padding: 2rem 24px;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

/* 欢迎区域 */
.welcome-section {
    background: var(--bg-color);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
}

.welcome-section h2 {
    color: var(--text-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.welcome-section > p {
    font-size: 1.125rem;
    color: var(--text-color-light);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.quick-access {
    margin-top: 3rem;
}

.quick-access h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.quick-link-card {
    background: var(--bg-secondary);
    padding: 2rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
    display: block;
}

.quick-link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--active-color);
}

.quick-link-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.quick-link-card p {
    color: var(--text-color-light);
    font-size: 0.95rem;
}

/* 内容区域 */
.content-section {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 2rem 2.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* 章节容器（核心功能等带侧栏页面） */
.section-container {
    scroll-margin-top: 100px;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.section-container:last-child {
    border-bottom: none;
}

/* 常见功能导航（卡片网格） */
.common-features-nav-block .feature-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.feature-nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-color);
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    min-height: 90px;
}

.feature-nav-card:hover {
    background: var(--hover-bg);
    border-color: var(--active-color);
    transform: translateY(-2px);
}

.feature-nav-icon {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.feature-nav-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.section-container h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--active-color);
}

.section-container p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.section-container .image-container {
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.section-container .image-container img {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.section-container h2 {
    color: var(--text-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

/* 章节引言（首段说明） */
.section-intro {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-color);
    margin-bottom: 1.25rem;
    padding: 1rem 1.25rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border-left: 4px solid var(--active-color);
}

/* 步骤列表（主步骤 1. 2. 3.） */
.section-container .step-list {
    list-style: none;
    padding-left: 0;
    margin: 1.25rem 0;
    counter-reset: step;
}

.section-container .step-list > li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.85;
    color: var(--text-color);
    counter-increment: step;
}

.section-container .step-list > li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    width: 1.75rem;
    height: 1.75rem;
    line-height: 1.75rem;
    text-align: center;
    background: var(--active-color);
    color: white;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 600;
}

/* 子步骤列表 (1) (2) (3) */
.section-container .step-sublist {
    list-style: none;
    padding-left: 1.5rem;
    margin: 0.5rem 0 1rem;
}

.section-container .step-sublist li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.8;
    color: var(--text-color-light);
    font-size: 0.95rem;
}

.section-container .step-sublist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 5px;
    height: 5px;
    background: var(--active-color);
    border-radius: 50%;
}

/* 步骤列表内的小标题 */
.section-container .step-list + p strong {
    color: var(--text-color);
    font-size: 0.98rem;
}

.section-container p + .step-sublist {
    margin-top: 0.25rem;
}

/* 图注引用（如图 5.x） */
.fig-ref {
    font-size: 0.9rem;
    color: var(--text-color-light);
    font-style: italic;
    margin-top: 0.5rem;
}

.section-container p + .image-container {
    margin-top: 1rem;
}

.section-content {
    margin-top: 1.5rem;
}

.section-content > p {
    font-size: 1rem;
    color: var(--text-color-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* 页面简介段落 */
.page-desc {
    font-size: 1.05rem;
    color: var(--text-color-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* 操作前提示框（重要说明） */
.note-box {
    background: #fff8e6;
    border-left: 4px solid #e6a800;
    padding: 1rem 1.5rem;
    margin: 1rem 0 2rem;
    border-radius: 4px;
    font-size: 0.95rem;
    color: #5c4a00;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.note-box strong {
    color: #5c4a00;
}

/* 功能卡片内的小标题 */
.feature-card .intro {
    font-size: 1rem;
    color: var(--text-color-light);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

/* 有序步骤列表 */
.steps-list {
    list-style: none;
    padding-left: 0;
    counter-reset: step;
}

.steps-list li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.75;
    counter-increment: step;
}

.steps-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    width: 1.75rem;
    height: 1.75rem;
    line-height: 1.75rem;
    text-align: center;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 600;
}

/* 章节卡片 */
.section-card {
    scroll-margin-top: 100px;
}

/* 内容段落样式 */
.content-paragraph {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* 重要文字高亮 */
.highlight-text {
    color: var(--primary-color);
    font-weight: 600;
    background-color: rgba(66, 185, 131, 0.1);
    padding: 0.15em 0.4em;
    border-radius: 4px;
}

/* 数据采集页面重点文本 */
.important-link {
    color: #0f766e;
    font-weight: 600;
    text-decoration: underline;
    word-break: break-all;
}

.important-link:hover {
    color: #115e59;
}

.important-warning {
    color: #b91c1c;
    font-weight: 700;
}

.important-path {
    color: #1d4ed8;
    font-weight: 700;
    background-color: rgba(29, 78, 216, 0.1);
    padding: 0.1em 0.35em;
    border-radius: 4px;
}

/* 重要内容绿色高亮 */
.important-content {
    color: #047857;
    font-weight: 600;
    background-color: rgba(5, 150, 105, 0.12);
    padding: 0.2em 0.5em;
    border-radius: 4px;
    border-left: 3px solid #059669;
}

/* 图片容器样式 */
/* 重点内容绿色标记 */
.text-highlight {
    color: #15803d;
    font-weight: 600;
    background: rgba(34, 197, 94, 0.2);
    padding: 0.2em 0.35em;
    border-radius: 3px;
    border-left: 3px solid #16a34a;
}

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

.image-container .image-item {
    display: inline-block;
    margin: 0 0.5rem 1rem;
    vertical-align: top;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.image-caption {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-color-light);
    font-weight: 500;
}

/* 步骤说明样式 */
.step-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.step-content {
    color: var(--text-color-light);
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 提示框样式 */
.info-box {
    background: rgba(66, 185, 131, 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

/* FAQ常见问题样式 */
.faq-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.faq-question::before {
    content: '❓';
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.faq-answer {
    color: var(--text-color-light);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.faq-answer:last-child {
    margin-bottom: 0;
}

.faq-list {
    list-style: none;
    padding-left: 0;
    margin-top: 0.75rem;
}

.faq-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color-light);
    line-height: 1.8;
}

.faq-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.faq-example {
    background: rgba(66, 185, 131, 0.05);
    padding: 1rem;
    border-radius: 6px;
    margin-top: 0.75rem;
    border-left: 3px solid var(--primary-color);
}

.faq-example strong {
    color: var(--text-color);
    display: block;
    margin-bottom: 0.5rem;
}

/* FAQ 解决方案区块 */
.faq-solution {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    background: rgba(66, 185, 131, 0.06);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.faq-solution strong {
    color: var(--text-color);
    font-size: 0.95rem;
}

.faq-solution-list {
    list-style: none;
    padding-left: 0;
    margin: 0.75rem 0 0;
}

.faq-solution-list li {
    position: relative;
    padding: 0.4rem 0 0.4rem 1.25rem;
    color: var(--text-color-light);
    line-height: 1.75;
}

.faq-solution-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
}

/* FAQ 页面概述卡片 */
.faq-page-intro .section-content {
    padding-bottom: 0.5rem;
}

.faq-page-intro .info-box {
    margin-bottom: 0;
}

/* 常见问题页多区块间距 */
.content-section .section-container .section-card + .section-card {
    margin-top: 2.5rem;
}

/* 功能卡片网格 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--active-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-color-light);
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

/* 功能列表样式 */
.feature-list {
    list-style: none;
    margin-top: 1rem;
    padding-left: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color-light);
    line-height: 1.6;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--active-color);
    font-weight: bold;
}

/* 页脚 */
.footer {
    background-color: var(--bg-secondary);
    color: var(--text-color-light);
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 264px;
}

/* 移动端遮罩层 */
.mobile-overlay {
    display: none;
    position: fixed;
    top: calc(60px + env(safe-area-inset-top, 0));
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

/* 侧边栏切换按钮（移动端） */
.sidebar-toggle-btn {
    display: none;
    position: fixed;
    bottom: calc(2rem + env(safe-area-inset-bottom, 0));
    left: calc(2rem + env(safe-area-inset-left, 0));
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    border-radius: 50%;
    background: var(--active-color);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(66, 185, 131, 0.4);
    z-index: 997;
    transition: transform 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.sidebar-toggle-btn:hover {
    transform: scale(1.1);
}

/* 响应式设计 - 平板及以下使用移动端布局 */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 1rem;
    }

    /* 显示汉堡菜单，顶部导航改为下拉 */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: calc(60px + env(safe-area-inset-top, 0));
        flex-direction: column;
        background-color: var(--bg-color);
        width: 100%;
        max-height: calc(100vh - 60px - env(safe-area-inset-top, 0));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0));
        z-index: 999;
        gap: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 1rem;
        min-height: 44px;
    }

    /* 侧边栏默认隐藏，通过按钮滑出 */
    .sidebar {
        left: 0;
        transform: translateX(-100%);
        top: calc(60px + env(safe-area-inset-top, 0));
        height: calc(100vh - 60px - env(safe-area-inset-top, 0));
    }

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

    .main-wrapper.with-sidebar,
    .main-wrapper:not(.with-sidebar) {
        margin-left: 0;
        margin-right: 0;
    }

    .footer-container {
        padding: 0 1rem;
    }

    .mobile-overlay {
        display: block;
    }

    .sidebar-toggle-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
    }

    .main-content {
        padding: 1.5rem 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .content-section {
        padding: 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .section-container h2 {
        font-size: 1.75rem;
    }

    .welcome-section {
        padding: 2rem 1rem;
    }

    .welcome-section h2 {
        font-size: 2rem;
    }

    .welcome-section > p {
        font-size: 1rem;
    }

    .quick-links {
        grid-template-columns: 1fr;
    }

    .quick-link-card {
        padding: 1.5rem;
    }

    .sidebar {
        width: min(280px, 85vw);
        max-width: 280px;
    }

    .step-item {
        padding: 1rem;
    }

    .note-box,
    .info-box {
        padding: 1rem;
    }
}

/* 小屏手机优化 (480px 及以下) */
@media (max-width: 480px) {
    .nav-logo h1 {
        font-size: 1.1rem;
    }

    .nav-logo-img {
        height: 1.5rem;
    }

    .main-content {
        padding: 1rem 0.75rem;
    }

    .section-container h2 {
        font-size: 1.5rem;
    }

    .welcome-section h2 {
        font-size: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.25rem;
    }

    .step-title {
        font-size: 1rem;
    }

    .sidebar-toggle-btn {
        bottom: calc(1.5rem + env(safe-area-inset-bottom, 0));
        left: calc(1.5rem + env(safe-area-inset-left, 0));
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 选中区域样式 */
::selection {
    background-color: rgba(66, 185, 131, 0.2);
    color: var(--text-color);
}

/* 滚动条样式 */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

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

.sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--text-color-light);
}
