/* full-toc.css - 完整目录页面专属样式 */
/* 所有类名添加 toc- 前缀以避免冲突 */

/* =================== 页面头部居中样式 =================== */
.toc-page-header {
    text-align: center;
    padding: 60px 20px 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin-left: 320px;
}

.toc-page-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ff7e5f, #feb47b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(255, 126, 95, 0.3);
    text-align: center;
}

.toc-page-subtitle {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.9;
    text-align: center;
}

/* =================== 粒子效果样式 =================== */
.toc-particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* 容器z-index调整 */
.toc-container {
    position: relative;
    z-index: 2;
}

/* 原有目录导航z-index调整 */
.toc-nav {
    z-index: 100;
}

/* 目录内容样式 */
.toc-section {
    padding: 0 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* 目录导航 - 固定定位 */
.toc-nav {
    position: fixed;
    top: 120px;
    left: 20px;
    width: 280px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 100;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    opacity: 0;
    transform: translateY(20px);
    animation: toc-fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

.toc-section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #feb47b;
    position: relative;
    padding-bottom: 10px;
}

.toc-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #ff7e5f, #feb47b);
}

.toc-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toc-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border-left: 3px solid transparent;
    text-decoration: none;
    color: white;
}

.toc-item:hover {
    background: rgba(255, 126, 95, 0.15);
    border-left-color: #ff7e5f;
    transform: translateX(5px);
}

.toc-item.active {
    background: rgba(255, 126, 95, 0.2);
    border-left-color: #ff7e5f;
}

.toc-number {
    font-size: 1rem;
    color: #feb47b;
    margin-right: 15px;
    min-width: 40px;
    font-weight: bold;
}

.toc-name {
    font-size: 1.1rem;
    font-weight: bold;
    flex: 1;
}

/* 目录内容区域 */
.toc-content {
    margin-left: 320px;
    padding-right: 20px;
}

/* 章节区域 */
.toc-chapter-section {
    margin-bottom: 80px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: toc-fadeInUp 0.8s ease forwards;
}

.toc-chapter-section:nth-child(1) { animation-delay: 0.4s; }
.toc-chapter-section:nth-child(2) { animation-delay: 0.5s; }
.toc-chapter-section:nth-child(3) { animation-delay: 0.6s; }
.toc-chapter-section:nth-child(4) { animation-delay: 0.7s; }
.toc-chapter-section:nth-child(5) { animation-delay: 0.8s; }
.toc-chapter-section:nth-child(6) { animation-delay: 0.9s; }

.toc-chapter-header {
    margin-bottom: 40px;
    text-align: center;
}

.toc-chapter-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.toc-chapter-subtitle {
    font-size: 1.3rem;
    opacity: 0.8;
    text-align: center;
}

.toc-chapter-intro {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 40px;
    font-style: italic;
    padding: 20px;
    background: rgba(255, 126, 95, 0.1);
    border-radius: 8px;
    border-left: 4px solid #ff7e5f;
    text-align: center;
}

/* 站点网格布局 */
.toc-stations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.toc-station-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    text-decoration: none;
    color: white;
    display: block;
}

.toc-station-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.toc-station-number {
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-family: monospace;
}

.toc-station-name {
    font-size: 1.1rem;
    font-weight: bold;
}

/* =================== 站点详细信息提示框 =================== */
.toc-station-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 40, 0.95);
    border-radius: 8px;
    padding: 15px;
    width: 240px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.toc-station-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: rgba(20, 20, 40, 0.95) transparent transparent transparent;
}

.toc-station-item:hover .toc-station-tooltip {
    opacity: 1;
    visibility: visible;
}

.toc-tooltip-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 12px;
    color: #f2e8c9;
    text-align: center;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 工具提示图片样式 */
.toc-tooltip-image {
    width: 100%;
    margin-bottom: 12px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toc-tooltip-image img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.toc-station-item:hover .toc-tooltip-image img {
    transform: scale(1.05);
}

.toc-tooltip-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
}

.toc-tooltip-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.toc-tooltip-label {
    color: rgba(255, 255, 255, 0.7);
}

.toc-tooltip-value {
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toc-tooltip-description {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    text-align: justify;
}

/* 保护等级徽章 */
.toc-station-badge {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 8px;
    right: 8px;
}

/* 等级徽章悬停提示 */
.toc-station-badge::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1001;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.toc-station-badge:hover::after {
    opacity: 1;
    visibility: visible;
}

/* =================== 哈尔滨枢纽的保护等级徽章 =================== */
.toc-badge-no-protection { background: #8b8b8b; }
.toc-badge-city-level { background: #f2e8c9; }
.toc-badge-province-level { background: #d4af37; }
.toc-badge-national-level { background: #c62828; }
.toc-badge-special { background: #ff0000; }

/* =================== 车站等级徽章颜色 =================== */
.toc-badge-first-level { background: #e53935; }
.toc-badge-second-level { background: #f57c00; }
.toc-badge-third-level { background: #fbc02d; }
.toc-badge-fourth-level { background: #7cb342; }
.toc-badge-fifth-level { background: #388e3c; }
.toc-badge-meeting-level { background: #039be5; }
.toc-badge-signal-level { background: #5e35b1; }

/* 线路描述 */
.toc-line-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 126, 95, 0.05);
    border-radius: 8px;
    border-left: 4px solid #ff7e5f;
    text-align: justify;
}

/* 统计信息 */
.toc-stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.toc-stat-item {
    text-align: center;
    padding: 20px;
    flex: 1;
    min-width: 150px;
}

.toc-stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.toc-stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* =================== 新增：统一的车站等级说明图例 =================== */
.toc-unified-legend-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 40px 0;
    padding: 25px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: center;
}

.toc-unified-legend-title {
    width: 100%;
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #f2e8c9;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.toc-unified-legend-title i {
    font-size: 1.5rem;
    color: #ff7e5f;
}

.toc-unified-legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    flex: 1;
    min-width: 180px;
    max-width: 200px;
    position: relative;
    cursor: help;
    transition: all 0.3s ease;
}

.toc-unified-legend-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.toc-unified-legend-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.toc-unified-legend-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* =================== 车站等级标准悬停提示框 =================== */
.toc-level-standard-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 40, 0.98);
    border-radius: 8px;
    padding: 20px;
    width: 320px;
    max-width: 90vw;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.toc-unified-legend-item:hover .toc-level-standard-tooltip {
    opacity: 1;
    visibility: visible;
}

.toc-level-standard-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: rgba(20, 20, 40, 0.98) transparent transparent transparent;
}

.toc-level-standard-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 12px;
    color: #feb47b;
    text-align: center;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.toc-level-standard-content {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    text-align: justify;
}

/* =================== 火车车厢基础样式 =================== */
.toc-train-carriage-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    min-height: 330px;
}

.toc-train-carriage {
    width: 900px;
    height: 390px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.toc-train-carriage:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

/* =================== 滨绥铁路25B型车 =================== */
.toc-binsui-train {
    background: linear-gradient(135deg,
        rgba(0, 70, 28, 1) 0%,
        rgba(0, 85, 34, 0.9) 25%,
        rgba(0, 100, 40, 0.8) 50%,
        rgba(0, 85, 34, 0.9) 75%,
        rgba(0, 70, 28, 1) 100%
    );
    position: relative;
}

/* 25B车窗容器 */
.toc-binsui-train .toc-windows-container {
    position: absolute;
    top: 65px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 60px;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 180px;
    z-index: 5;
}

/* 25B车窗样式 */
.toc-binsui-train .toc-train-window {
    width: 190px;
    height: 180px;
    background: rgba(0, 10, 20, 0.8);
    border-radius: 20px;
    border: 3px solid rgba(210, 215, 220, 0.6);
    box-shadow: 
        inset 0 0 18px rgba(0, 0, 0, 0.9),
        0 5px 18px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.18) inset;
    position: relative;
    box-sizing: border-box;
}

.toc-binsui-train .toc-train-window::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 14px;
    right: 35px;
    bottom: 14px;
    background: linear-gradient(
        125deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.02) 45%,
        rgba(255, 255, 255, 0) 100%
    );
    border-radius: 16px;
    pointer-events: none;
}

/* 滨绥铁路车窗棂 */
.toc-binsui-train .toc-train-window::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right,
        rgba(180, 180, 180, 0.9) 0%,
        rgba(200, 200, 200, 1) 50%,
        rgba(180, 180, 180, 0.9) 100%
    );
    box-shadow: 
        0 0 5px rgba(0, 0, 0, 0.5),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    transform: translateY(-50%);
}

/* 滨绥铁路：黄色顶部腰带 */
.toc-binsui-train::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 14px;
    background: linear-gradient(to right,
        rgba(255, 240, 120, 0.9) 0%,
        rgba(255, 240, 120, 1) 20%,
        rgba(255, 255, 150, 1) 50%,
        rgba(255, 240, 120, 1) 80%,
        rgba(255, 240, 120, 0.9) 100%
    );
    border-top: 1px solid rgba(255, 255, 200, 0.5);
    border-bottom: 1px solid rgba(255, 255, 200, 0.5);
    z-index: 2;
    top: 45px;
    left: 0;
    box-shadow: 
        0 2px 10px rgba(255, 240, 120, 0.4),
        inset 0 1px 3px rgba(255, 255, 255, 0.3),
        inset 0 -1px 3px rgba(0, 0, 0, 0.3);
}

/* 滨绥铁路黄色底部腰带 - 距离车窗下沿20px */
.toc-binsui-train::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 20px;
    background: linear-gradient(to right,
        rgba(255, 240, 120, 0.9) 0%,
        rgba(255, 240, 120, 1) 20%,
        rgba(255, 255, 150, 1) 50%,
        rgba(255, 240, 120, 1) 80%,
        rgba(255, 240, 120, 0.9) 100%
    );
    border-top: 1px solid rgba(255, 255, 200, 0.5);
    border-bottom: 1px solid rgba(255, 255, 200, 0.5);
    z-index: 2;
    top: 265px; /* 65px + 180px + 20px = 265px */
    left: 0;
    box-shadow: 
        0 2px 10px rgba(255, 240, 120, 0.4),
        inset 0 1px 3px rgba(255, 255, 255, 0.3),
        inset 0 -1px 3px rgba(0, 0, 0, 0.3);
}

/* =================== 滨洲铁路25G型车 =================== */
.toc-binzhou-train {
    background: linear-gradient(to bottom,
        rgba(240, 240, 240, 0.95) 0%,
        rgba(230, 230, 230, 0.9) 30px,
        rgba(220, 220, 220, 0.85) 50px,
        rgba(210, 210, 210, 0.8) 270px,
        rgba(200, 200, 200, 0.75) 100%
    );
    position: relative;
    box-shadow: 
        inset 0 0 40px rgba(255, 255, 255, 0.2),
        0 10px 30px rgba(0, 0, 0, 0.5);
}

/* 25G车窗容器 */
.toc-binzhou-train .toc-windows-container {
    position: absolute;
    top: 65px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 60px;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 185px;
    z-index: 5;
}

/* 25G车窗样式 */
.toc-binzhou-train .toc-train-window {
    width: 195px;
    height: 185px;
    background: rgba(0, 12, 25, 0.82);
    border-radius: 20px;
    border: 3px solid rgba(215, 220, 225, 0.6);
    box-shadow: 
        inset 0 0 19px rgba(0, 0, 0, 0.9),
        0 5px 18px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.19) inset;
    position: relative;
    box-sizing: border-box;
}

.toc-binzhou-train .toc-train-window::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 14px;
    right: 38px;
    bottom: 14px;
    background: linear-gradient(
        125deg,
        rgba(255, 255, 255, 0.13) 0%,
        rgba(255, 255, 255, 0.03) 45%,
        rgba(255, 255, 255, 0) 100%
    );
    border-radius: 16px;
    pointer-events: none;
}

/* 红色区域 */
.toc-binzhou-train::before {
    content: '';
    position: absolute;
    top: 54px;
    left: 0;
    width: 100%;
    height: 206px;
    background: linear-gradient(135deg,
        rgba(215, 0, 0, 0.85) 0%,
        rgba(235, 20, 20, 0.8) 25%,
        rgba(255, 40, 40, 0.75) 50%,
        rgba(235, 20, 20, 0.8) 75%,
        rgba(215, 0, 0, 0.85) 100%
    );
    z-index: 2;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

/* 黄色腰带条纹线 - 距离车窗下沿20px */
.toc-binzhou-train .toc-yellow-belt {
    position: absolute;
    width: 100%;
    height: 20px;
    background: linear-gradient(to right,
        rgba(255, 240, 120, 0.95) 0%,
        rgba(255, 240, 120, 1) 20%,
        rgba(255, 255, 150, 1) 50%,
        rgba(255, 240, 120, 1) 80%,
        rgba(255, 240, 120, 0.95) 100%
    );
    border-top: 1px solid rgba(255, 255, 200, 0.8);
    border-bottom: 1px solid rgba(255, 255, 200, 0.6);
    z-index: 3;
    top: 270px; /* 65px + 185px + 20px = 270px */
    left: 0;
    box-shadow: 
        0 3px 12px rgba(255, 240, 120, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
}

/* =================== 哈大铁路25K型车 =================== */
.toc-hada-train {
    background: linear-gradient(to bottom,
        rgba(245, 245, 245, 0.95) 0%,
        rgba(235, 235, 235, 0.9) 30px,
        rgba(225, 225, 225, 0.85) 50px,
        rgba(215, 215, 215, 0.8) 270px,
        rgba(205, 205, 205, 0.75) 100%
    );
    position: relative;
    box-shadow: 
        inset 0 0 40px rgba(255, 255, 255, 0.2),
        0 10px 30px rgba(0, 0, 0, 0.5);
}

/* 25K车窗容器 */
.toc-hada-train .toc-windows-container {
    position: absolute;
    top: 65px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 60px;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 190px;
    z-index: 5;
}

/* 25K车窗样式 */
.toc-hada-train .toc-train-window {
    width: 200px;
    height: 190px;
    background: rgba(0, 15, 30, 0.85);
    border-radius: 30px;
    border: 3px solid rgba(220, 225, 230, 0.6);
    box-shadow: 
        inset 0 0 20px rgba(0, 0, 0, 0.9),
        0 6px 20px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    position: relative;
    box-sizing: border-box;
}

.toc-hada-train .toc-train-window::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 40px;
    bottom: 15px;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.03) 40%,
        rgba(255, 255, 255, 0) 100%
    );
    border-radius: 24px;
    pointer-events: none;
}

/* 蓝色区域 */
.toc-hada-train::before {
    content: '';
    position: absolute;
    top: 54px;
    left: 0;
    width: 100%;
    height: 211px;
    background: linear-gradient(135deg,
        rgba(0, 45, 90, 0.85) 0%,
        rgba(20, 65, 110, 0.8) 25%,
        rgba(40, 85, 130, 0.75) 50%,
        rgba(20, 65, 110, 0.8) 75%,
        rgba(0, 45, 90, 0.85) 100%
    );
    z-index: 2;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

/* 红色腰带条纹线 - 距离车窗下沿20px */
.toc-hada-train .toc-red-belt {
    position: absolute;
    width: 100%;
    height: 20px;
    background: linear-gradient(to right,
        rgba(215, 0, 0, 0.95) 0%,
        rgba(215, 0, 0, 1) 20%,
        rgba(235, 40, 40, 1) 50%,
        rgba(215, 0, 0, 1) 80%,
        rgba(215, 0, 0, 0.95) 100%
    );
    border-top: 1px solid rgba(255, 100, 100, 0.8);
    border-bottom: 1px solid rgba(255, 100, 100, 0.6);
    z-index: 3;
    top: 275px; /* 65px + 190px + 20px = 275px */
    left: 0;
    box-shadow: 
        0 3px 12px rgba(215, 0, 0, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
}

/* =================== 方向牌样式 =================== */
.toc-destination-board {
    position: absolute;
    width: 200px;
    height: 40px;
    border-radius: 6px;
    z-index: 4;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.5),
        inset 0 1px 3px rgba(255, 255, 255, 0.3),
        inset 0 -1px 3px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    color: transparent;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    transition: all 0.3s ease;
}

.toc-destination-board:hover {
    transform: translateX(-50%) scale(1.05);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.7),
        inset 0 1px 4px rgba(255, 255, 255, 0.4),
        inset 0 -1px 4px rgba(0, 0, 0, 0.4);
}

.toc-destination-board img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.5s ease;
}

.toc-destination-board:hover img {
    transform: scale(1.05);
}

.toc-destination-board::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.2) 25%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.2) 75%,
        rgba(255, 255, 255, 0.1) 100%
    );
    border-radius: 8px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toc-destination-board:hover::before {
    opacity: 0.5;
}

/* 各线路方向牌图片及位置 - 与腰带中心对齐 */
/* 腰带中心位置 = 腰带top + 腰带高度/2 */
/* 方向牌top = 腰带中心 - 方向牌高度/2 */

/* 滨绥铁路：腰带中心 = 265px + 10px = 275px，方向牌top = 275px - 20px = 255px */
.toc-binsui-train .toc-destination-board {
    background-image: url('../images/s1.jpg');
    top: 255px;
}

/* 滨洲铁路：腰带中心 = 270px + 10px = 280px，方向牌top = 280px - 20px = 260px */
.toc-binzhou-train .toc-destination-board {
    background-image: url('../images/s2.jpg');
    top: 260px;
}

/* 哈大铁路：腰带中心 = 275px + 10px = 285px，方向牌top = 285px - 20px = 265px */
.toc-hada-train .toc-destination-board {
    background-image: url('../images/s3.jpg');
    top: 265px;
}

/* =================== 车厢内简介文字样式 =================== */
.toc-train-intro-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 700px;
    color: #000000;
    text-align: center;
    font-size: 1rem;
    line-height: 1.4;
    z-index: 4;
    padding: 0 15px;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

/* 各线路简介文字位置调整 */
.toc-binsui-train .toc-train-intro-text {
    top: 305px; /* 方向牌top255px + 方向牌高40px + 间距10px = 305px */
}

.toc-binzhou-train .toc-train-intro-text {
    top: 310px; /* 方向牌top260px + 方向牌高40px + 间距10px = 310px */
}

.toc-hada-train .toc-train-intro-text {
    top: 315px; /* 方向牌top265px + 方向牌高40px + 间距10px = 315px */
}

/* =================== 线路特定配色 =================== */

/* 中心枢纽哈尔滨 - 米黄色 (#f2e8c9) */
.toc-harbin .toc-chapter-title {
    color: #f2e8c9;
}

.toc-harbin .toc-chapter-intro {
    background: rgba(242, 232, 201, 0.15);
    border-left-color: #f2e8c9;
    color: #f2e8c9;
}

.toc-harbin .toc-line-description {
    background: rgba(242, 232, 201, 0.08);
    border-left-color: #f2e8c9;
}

.toc-harbin .toc-stat-value {
    color: #f2e8c9;
}

.toc-harbin .toc-station-item:hover {
    background: rgba(242, 232, 201, 0.12);
    border-color: rgba(242, 232, 201, 0.3);
}

.toc-harbin .toc-station-number {
    color: #f2e8c9;
}

/* 滨绥铁路 - 东部线 (#377a4d) */
.toc-binsui .toc-chapter-title {
    color: #377a4d;
}

.toc-binsui .toc-chapter-intro {
    background: rgba(55, 122, 77, 0.1);
    border-left-color: #377a4d;
    color: #377a4d;
}

.toc-binsui .toc-line-description {
    background: rgba(55, 122, 77, 0.05);
    border-left-color: #377a4d;
}

.toc-binsui .toc-stat-value {
    color: #377a4d;
}

.toc-binsui .toc-station-item:hover {
    background: rgba(55, 122, 77, 0.1);
    border-color: rgba(55, 122, 77, 0.3);
}

.toc-binsui .toc-station-number {
    color: #377a4d;
}

/* 滨洲铁路 - 西部线 (#a24f49) */
.toc-binzhou .toc-chapter-title {
    color: #a24f49;
}

.toc-binzhou .toc-chapter-intro {
    background: rgba(162, 79, 73, 0.1);
    border-left-color: #a24f49;
    color: #a24f49;
}

.toc-binzhou .toc-line-description {
    background: rgba(162, 79, 73, 0.05);
    border-left-color: #a24f49;
}

.toc-binzhou .toc-stat-value {
    color: #a24f49;
}

.toc-binzhou .toc-station-item:hover {
    background: rgba(162, 79, 73, 0.1);
    border-color: rgba(162, 79, 73, 0.3);
}

.toc-binzhou .toc-station-number {
    color: #a24f49;
}

/* 哈大铁路 - 南部线 (#4f76da) */
.toc-hada .toc-chapter-title {
    color: #4f76da;
}

.toc-hada .toc-chapter-intro {
    background: rgba(79, 118, 218, 0.1);
    border-left-color: #4f76da;
    color: #4f76da;
}

.toc-hada .toc-line-description {
    background: rgba(79, 118, 218, 0.05);
    border-left-color: #4f76da;
}

.toc-hada .toc-stat-value {
    color: #4f76da;
}

.toc-hada .toc-station-item:hover {
    background: rgba(79, 118, 218, 0.1);
    border-color: rgba(79, 118, 218, 0.3);
}

.toc-hada .toc-station-number {
    color: #4f76da;
}

/* 目录导航中的线路特定颜色 */
a.toc-item[href="#harbin"]:hover,
a.toc-item[href="#harbin"].active {
    background: rgba(242, 232, 201, 0.15);
    border-left-color: #f2e8c9;
}

a.toc-item[href="#binsui"]:hover,
a.toc-item[href="#binsui"].active {
    background: rgba(55, 122, 77, 0.15);
    border-left-color: #377a4d;
}

a.toc-item[href="#binzhou"]:hover,
a.toc-item[href="#binzhou"].active {
    background: rgba(162, 79, 73, 0.15);
    border-left-color: #a24f49;
}

a.toc-item[href="#hada"]:hover,
a.toc-item[href="#hada"].active {
    background: rgba(79, 118, 218, 0.15);
    border-left-color: #4f76da;
}

/* 页脚 - 与首页保持一致 */
.toc-footer {
    padding: 30px 40px;
    background: rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
    margin-left: 320px;
}

.toc-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.toc-copyright {
    font-size: 1rem;
    opacity: 0.7;
}

.toc-footer-links {
    display: flex;
    gap: 25px;
}

.toc-footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.toc-footer-links a:hover {
    color: #feb47b;
}

.toc-contact {
    font-size: 0.9rem;
    opacity: 0.6;
}

/* =================== 快速回到顶部按钮 =================== */
.toc-backToTop {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 126, 95, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 126, 95, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.toc-backToTop:hover {
    background: rgba(255, 126, 95, 1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 126, 95, 0.6);
}

.toc-backToTop.show {
    opacity: 1;
    visibility: visible;
}

/* =================== 移动端优化：响应式设计 =================== */

/* 992px以下：大手机和手机端隐藏目录导航 */
@media (max-width: 992px) {
    .toc-nav {
        display: none;
    }
    
    .toc-content {
        margin-left: 0;
        padding-right: 0;
    }
    
    .toc-page-header {
        margin-left: 0;
    }
    
    .toc-footer {
        margin-left: 0;
    }
}

/* 1200px以上：大桌面 */
@media (min-width: 1201px) {
    .toc-train-carriage {
        width: 900px;
        height: 410px;
    }
    
    .toc-binsui-train .toc-windows-container {
        top: 65px;
        height: 180px;
        gap: 60px;
    }
    
    .toc-binsui-train .toc-train-window {
        width: 190px;
        height: 180px;
    }
    
    .toc-binzhou-train .toc-windows-container {
        top: 65px;
        height: 185px;
        gap: 60px;
    }
    
    .toc-binzhou-train .toc-train-window {
        width: 195px;
        height: 185px;
    }
    
    .toc-hada-train .toc-windows-container {
        top: 65px;
        height: 190px;
        gap: 60px;
    }
    
    .toc-hada-train .toc-train-window {
        width: 200px;
        height: 190px;
    }
    
    /* 大桌面腰带位置调整 - 距离车窗下沿20px */
    .toc-binsui-train::after {
        top: 265px;
    }
    
    .toc-binzhou-train .toc-yellow-belt {
        top: 270px;
    }
    
    .toc-hada-train .toc-red-belt {
        top: 275px;
    }
    
    /* 大桌面方向牌位置调整 - 与腰带中心对齐 */
    .toc-binsui-train .toc-destination-board {
        top: 255px;
    }
    
    .toc-binzhou-train .toc-destination-board {
        top: 260px;
    }
    
    .toc-hada-train .toc-destination-board {
        top: 265px;
    }
    
    /* 大桌面简介文字位置调整 */
    .toc-binsui-train .toc-train-intro-text {
        top: 305px;
    }
    
    .toc-binzhou-train .toc-train-intro-text {
        top: 310px;
    }
    
    .toc-hada-train .toc-train-intro-text {
        top: 315px;
    }
}

/* 992px-1200px：小桌面 */
@media (max-width: 1200px) and (min-width: 993px) {
    .toc-nav {
        width: 240px;
    }
    
    .toc-content {
        margin-left: 280px;
    }
    
    .toc-page-header {
        margin-left: 280px;
    }
    
    .toc-footer {
        margin-left: 280px;
    }
    
    .toc-train-carriage {
        width: 800px;
        height: 370px;
    }
    
    .toc-binsui-train .toc-windows-container {
        top: 60px;
        height: 162px;
        gap: 50px;
    }
    
    .toc-binsui-train .toc-train-window {
        width: 171px;
        height: 162px;
    }
    
    .toc-binzhou-train .toc-windows-container {
        top: 60px;
        height: 166px;
        gap: 50px;
    }
    
    .toc-binzhou-train .toc-train-window {
        width: 175px;
        height: 166px;
    }
    
    .toc-hada-train .toc-windows-container {
        top: 60px;
        height: 171px;
        gap: 50px;
    }
    
    .toc-hada-train .toc-train-window {
        width: 180px;
        height: 171px;
    }
    
    .toc-binsui-train::before {
        top: 50px;
        height: 12px;
    }
    
    /* 小桌面腰带位置 - 距离车窗下沿20px */
    .toc-binsui-train::after {
        top: 242px; /* 60px + 162px + 20px = 242px */
        height: 18px;
    }
    
    .toc-binzhou-train::before,
    .toc-hada-train::before {
        top: 50px;
        height: 170px;
    }
    
    .toc-binzhou-train .toc-yellow-belt,
    .toc-hada-train .toc-red-belt {
        top: 246px; /* 60px + 166px + 20px = 246px */
        height: 18px;
    }
    
    /* 小桌面方向牌位置调整 - 与腰带中心对齐 */
    .toc-binsui-train .toc-destination-board {
        top: 233px; /* 腰带中心 = 242px + 9px = 251px，方向牌半高18px，251px - 18px = 233px */
        width: 180px;
        height: 36px;
    }
    
    .toc-binzhou-train .toc-destination-board {
        top: 237px; /* 腰带中心 = 246px + 9px = 255px，255px - 18px = 237px */
        width: 180px;
        height: 36px;
    }
    
    .toc-hada-train .toc-destination-board {
        top: 242px; /* 腰带中心 = 251px + 9px = 260px，260px - 18px = 242px */
        width: 180px;
        height: 36px;
    }
    
    /* 小桌面简介文字位置调整 */
    .toc-binsui-train .toc-train-intro-text {
        top: 279px; /* 233px + 36px + 10px = 279px */
        font-size: 0.95rem;
        max-width: 650px;
    }
    
    .toc-binzhou-train .toc-train-intro-text {
        top: 283px; /* 237px + 36px + 10px = 283px */
        font-size: 0.95rem;
        max-width: 650px;
    }
    
    .toc-hada-train .toc-train-intro-text {
        top: 288px; /* 242px + 36px + 10px = 288px */
        font-size: 0.95rem;
        max-width: 650px;
    }
    
    .toc-backToTop {
        left: 25px;
        bottom: 25px;
    }
}

/* 768px-992px：平板横屏 */
@media (max-width: 992px) and (min-width: 769px) {
    .toc-stations-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    
    .toc-train-carriage-container {
        padding: 20px;
        min-height: 310px;
    }
    
    .toc-train-carriage {
        width: 700px;
        height: 310px;
    }
    
    .toc-binsui-train .toc-windows-container {
        top: 55px;
        height: 140px;
        gap: 40px;
    }
    
    .toc-binsui-train .toc-train-window {
        width: 147px;
        height: 140px;
    }
    
    .toc-binzhou-train .toc-windows-container {
        top: 55px;
        height: 143px;
        gap: 40px;
    }
    
    .toc-binzhou-train .toc-train-window {
        width: 150px;
        height: 143px;
    }
    
    .toc-hada-train .toc-windows-container {
        top: 55px;
        height: 147px;
        gap: 40px;
    }
    
    .toc-hada-train .toc-train-window {
        width: 154px;
        height: 147px;
    }
    
    .toc-binsui-train::before {
        top: 45px;
        height: 10px;
    }
    
    /* 平板横屏腰带位置 - 距离车窗下沿20px */
    .toc-binsui-train::after {
        top: 215px; /* 55px + 140px + 20px = 215px */
        height: 16px;
    }
    
    .toc-binzhou-train::before,
    .toc-hada-train::before {
        top: 45px;
        height: 140px;
    }
    
    .toc-binzhou-train .toc-yellow-belt,
    .toc-hada-train .toc-red-belt {
        top: 218px; /* 55px + 143px + 20px = 218px */
        height: 16px;
    }
    
    /* 平板横屏方向牌位置调整 - 与腰带中心对齐 */
    .toc-binsui-train .toc-destination-board {
        top: 207px; /* 腰带中心 = 215px + 8px = 223px，方向牌半高16px，223px - 16px = 207px */
        width: 160px;
        height: 32px;
    }
    
    .toc-binzhou-train .toc-destination-board {
        top: 210px; /* 腰带中心 = 218px + 8px = 226px，226px - 16px = 210px */
        width: 160px;
        height: 32px;
    }
    
    .toc-hada-train .toc-destination-board {
        top: 215px; /* 腰带中心 = 222px + 8px = 230px，230px - 16px = 214px（此处有1px误差） */
        width: 160px;
        height: 32px;
    }
    
    /* 平板横屏简介文字位置调整 */
    .toc-binsui-train .toc-train-intro-text {
        top: 249px; /* 207px + 32px + 10px = 249px */
        font-size: 0.9rem;
        max-width: 600px;
        padding: 0 10px;
    }
    
    .toc-binzhou-train .toc-train-intro-text {
        top: 252px; /* 210px + 32px + 10px = 252px */
        font-size: 0.9rem;
        max-width: 600px;
        padding: 0 10px;
    }
    
    .toc-hada-train .toc-train-intro-text {
        top: 257px; /* 215px + 32px + 10px = 257px */
        font-size: 0.9rem;
        max-width: 600px;
        padding: 0 10px;
    }
    
    .toc-page-title {
        font-size: 2.2rem;
    }
    
    .toc-page-subtitle {
        font-size: 1.1rem;
    }
    
    .toc-unified-legend-item {
        min-width: 150px;
    }
    
    .toc-backToTop {
        left: 20px;
        bottom: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* 576px-768px：平板竖屏 */
@media (max-width: 768px) and (min-width: 577px) {
    .toc-stations-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .toc-chapter-section {
        padding: 30px 20px;
    }
    
    .toc-chapter-title {
        font-size: 2rem;
    }
    
    .toc-footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .toc-train-carriage-container {
        padding: 15px;
        min-height: 270px;
    }
    
    .toc-train-carriage {
        width: 550px;
        height: 250px;
    }
    
    .toc-binsui-train .toc-windows-container {
        top: 45px;
        height: 110px;
        gap: 30px;
    }
    
    .toc-binsui-train .toc-train-window {
        width: 115px;
        height: 110px;
    }
    
    .toc-binzhou-train .toc-windows-container {
        top: 45px;
        height: 112px;
        gap: 30px;
    }
    
    .toc-binzhou-train .toc-train-window {
        width: 117px;
        height: 112px;
    }
    
    .toc-hada-train .toc-windows-container {
        top: 45px;
        height: 115px;
        gap: 30px;
    }
    
    .toc-hada-train .toc-train-window {
        width: 120px;
        height: 115px;
    }
    
    .toc-binsui-train::before {
        top: 40px;
        height: 8px;
    }
    
    /* 平板竖屏腰带位置 - 距离车窗下沿20px */
    .toc-binsui-train::after {
        top: 175px; /* 45px + 110px + 20px = 175px */
        height: 14px;
    }
    
    .toc-binzhou-train::before,
    .toc-hada-train::before {
        top: 40px;
        height: 110px;
    }
    
    .toc-binzhou-train .toc-yellow-belt,
    .toc-hada-train .toc-red-belt {
        top: 177px; /* 45px + 112px + 20px = 177px */
        height: 14px;
    }
    
    /* 平板竖屏方向牌位置调整 - 与腰带中心对齐 */
    .toc-binsui-train .toc-destination-board {
        top: 168px; /* 腰带中心 = 175px + 7px = 182px，方向牌半高13px，182px - 13px = 169px */
        width: 130px;
        height: 26px;
    }
    
    .toc-binzhou-train .toc-destination-board {
        top: 170px; /* 腰带中心 = 177px + 7px = 184px，184px - 13px = 171px */
        width: 130px;
        height: 26px;
    }
    
    .toc-hada-train .toc-destination-board {
        top: 173px; /* 腰带中心 = 180px + 7px = 187px，187px - 13px = 174px */
        width: 130px;
        height: 26px;
    }
    
    /* 平板竖屏简介文字位置调整 */
    .toc-binsui-train .toc-train-intro-text {
        top: 204px; /* 168px + 26px + 10px = 204px */
        font-size: 0.8rem;
        max-width: 500px;
        line-height: 1.3;
        padding: 0 8px;
    }
    
    .toc-binzhou-train .toc-train-intro-text {
        top: 206px; /* 170px + 26px + 10px = 206px */
        font-size: 0.8rem;
        max-width: 500px;
        line-height: 1.3;
        padding: 0 8px;
    }
    
    .toc-hada-train .toc-train-intro-text {
        top: 209px; /* 173px + 26px + 10px = 209px */
        font-size: 0.8rem;
        max-width: 500px;
        line-height: 1.3;
        padding: 0 8px;
    }
    
    .toc-page-title {
        font-size: 1.8rem;
    }
    
    .toc-page-subtitle {
        font-size: 1rem;
    }
    
    .toc-unified-legend-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .toc-unified-legend-item {
        min-width: 100%;
    }
    
    .toc-level-standard-tooltip {
        width: 240px;
        padding: 15px;
    }
    
    .toc-backToTop {
        left: 15px;
        bottom: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* 480px-576px：大手机 */
@media (max-width: 576px) and (min-width: 481px) {
    .toc-stations-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .toc-station-item {
        padding: 12px;
    }
    
    .toc-station-name {
        font-size: 1rem;
    }
    
    .toc-train-carriage-container {
        padding: 10px;
        min-height: 230px;
    }
    
    .toc-train-carriage {
        width: 450px;
        height: 210px;
    }
    
    .toc-binsui-train .toc-windows-container {
        top: 40px;
        height: 90px;
        gap: 25px;
    }
    
    .toc-binsui-train .toc-train-window {
        width: 95px;
        height: 90px;
    }
    
    .toc-binzhou-train .toc-windows-container {
        top: 40px;
        height: 92px;
        gap: 25px;
    }
    
    .toc-binzhou-train .toc-train-window {
        width: 97px;
        height: 92px;
    }
    
    .toc-hada-train .toc-windows-container {
        top: 40px;
        height: 95px;
        gap: 25px;
    }
    
    .toc-hada-train .toc-train-window {
        width: 99px;
        height: 95px;
    }
    
    .toc-binsui-train::before {
        top: 35px;
        height: 6px;
    }
    
    /* 大手机腰带位置 - 距离车窗下沿20px */
    .toc-binsui-train::after {
        top: 150px; /* 40px + 90px + 20px = 150px */
        height: 12px;
    }
    
    .toc-binzhou-train::before,
    .toc-hada-train::before {
        top: 35px;
        height: 90px;
    }
    
    .toc-binzhou-train .toc-yellow-belt,
    .toc-hada-train .toc-red-belt {
        top: 152px; /* 40px + 92px + 20px = 152px */
        height: 12px;
    }
    
    /* 大手机方向牌位置调整 - 与腰带中心对齐 */
    .toc-binsui-train .toc-destination-board {
        top: 144px; /* 腰带中心 = 150px + 6px = 156px，方向牌半高11px，156px - 11px = 145px */
        width: 110px;
        height: 22px;
    }
    
    .toc-binzhou-train .toc-destination-board {
        top: 146px; /* 腰带中心 = 152px + 6px = 158px，158px - 11px = 147px */
        width: 110px;
        height: 22px;
    }
    
    .toc-hada-train .toc-destination-board {
        top: 149px; /* 腰带中心 = 155px + 6px = 161px，161px - 11px = 150px */
        width: 110px;
        height: 22px;
    }
    
    /* 大手机简介文字位置调整 */
    .toc-binsui-train .toc-train-intro-text {
        top: 176px; /* 144px + 22px + 10px = 176px */
        font-size: 0.75rem;
        max-width: 400px;
        line-height: 1.2;
        padding: 0 5px;
    }
    
    .toc-binzhou-train .toc-train-intro-text {
        top: 178px; /* 146px + 22px + 10px = 178px */
        font-size: 0.75rem;
        max-width: 400px;
        line-height: 1.2;
        padding: 0 5px;
    }
    
    .toc-hada-train .toc-train-intro-text {
        top: 181px; /* 149px + 22px + 10px = 181px */
        font-size: 0.75rem;
        max-width: 400px;
        line-height: 1.2;
        padding: 0 5px;
    }
    
    .toc-page-title {
        font-size: 1.6rem;
    }
    
    .toc-page-subtitle {
        font-size: 0.9rem;
    }
    
    .toc-chapter-title {
        font-size: 1.8rem;
    }
    
    .toc-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .toc-number {
        margin-right: 0;
    }
    
    .toc-level-standard-tooltip {
        width: 200px;
        padding: 12px;
        font-size: 0.85rem;
    }
    
    .toc-backToTop {
        left: 10px;
        bottom: 10px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* 480px以下：小手机 */
@media (max-width: 480px) {
    .toc-stations-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 8px;
    }
    
    .toc-station-item {
        padding: 10px;
    }
    
    .toc-station-name {
        font-size: 0.9rem;
    }
    
    .toc-train-carriage-container {
        padding: 8px;
        min-height: 200px;
    }
    
    .toc-train-carriage {
        width: 100%;
        max-width: 350px;
        height: 180px;
    }
    
    .toc-binsui-train .toc-windows-container {
        top: 35px;
        height: 70px;
        gap: 20px;
    }
    
    .toc-binsui-train .toc-train-window {
        width: 74px;
        height: 70px;
    }
    
    .toc-binzhou-train .toc-windows-container {
        top: 35px;
        height: 72px;
        gap: 20px;
    }
    
    .toc-binzhou-train .toc-train-window {
        width: 76px;
        height: 72px;
    }
    
    .toc-hada-train .toc-windows-container {
        top: 35px;
        height: 74px;
        gap: 20px;
    }
    
    .toc-hada-train .toc-train-window {
        width: 78px;
        height: 74px;
    }
    
    .toc-binsui-train::before {
        top: 30px;
        height: 5px;
    }
    
    /* 小手机腰带位置 - 距离车窗下沿20px */
    .toc-binsui-train::after {
        top: 125px; /* 35px + 70px + 20px = 125px */
        height: 10px;
    }
    
    .toc-binzhou-train::before,
    .toc-hada-train::before {
        top: 30px;
        height: 75px;
    }
    
    .toc-binzhou-train .toc-yellow-belt,
    .toc-hada-train .toc-red-belt {
        top: 127px; /* 35px + 72px + 20px = 127px */
        height: 10px;
    }
    
    /* 小手机方向牌位置调整 - 与腰带中心对齐 */
    .toc-binsui-train .toc-destination-board {
        top: 120px; /* 腰带中心 = 125px + 5px = 130px，方向牌半高9px，130px - 9px = 121px */
        width: 90px;
        height: 18px;
    }
    
    .toc-binzhou-train .toc-destination-board {
        top: 122px; /* 腰带中心 = 127px + 5px = 132px，132px - 9px = 123px */
        width: 90px;
        height: 18px;
    }
    
    .toc-hada-train .toc-destination-board {
        top: 124px; /* 腰带中心 = 129px + 5px = 134px，134px - 9px = 125px */
        width: 90px;
        height: 18px;
    }
    
    /* 小手机简介文字位置调整 */
    .toc-binsui-train .toc-train-intro-text {
        top: 148px; /* 120px + 18px + 10px = 148px */
        font-size: 0.7rem;
        max-width: 300px;
        line-height: 1.1;
        padding: 0 3px;
    }
    
    .toc-binzhou-train .toc-train-intro-text {
        top: 150px; /* 122px + 18px + 10px = 150px */
        font-size: 0.7rem;
        max-width: 300px;
        line-height: 1.1;
        padding: 0 3px;
    }
    
    .toc-hada-train .toc-train-intro-text {
        top: 152px; /* 124px + 18px + 10px = 152px */
        font-size: 0.7rem;
        max-width: 300px;
        line-height: 1.1;
        padding: 0 3px;
    }
    
    .toc-page-title {
        font-size: 1.4rem;
    }
    
    .toc-page-subtitle {
        font-size: 0.85rem;
    }
    
    .toc-chapter-title {
        font-size: 1.6rem;
    }
    
    .toc-chapter-intro {
        font-size: 1rem;
        padding: 15px;
    }
    
    .toc-station-tooltip {
        display: none;
    }
    
    .toc-level-standard-tooltip {
        width: 180px;
        padding: 10px;
        font-size: 0.8rem;
    }
    
    .toc-backToTop {
        left: 8px;
        bottom: 8px;
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

/* 图片加载样式 */
.toc-image-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: toc-loading 1.5s infinite;
}

@keyframes toc-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 图片错误处理样式 */
.toc-image-error {
    position: relative;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
}

.toc-image-error::before {
    content: '图片加载失败';
    font-size: 12px;
    text-align: center;
}

.toc-image-error::after {
    content: '🖼️';
    font-size: 24px;
    margin-top: 10px;
}

/* 动画效果 */
@keyframes toc-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 引用样式 */
.toc-quote {
    border-left: 4px solid #ff7e5f;
    padding: 20px 30px;
    margin: 40px 0;
    background: rgba(255, 126, 95, 0.1);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 1.2rem;
}

.toc-quote-author {
    text-align: right;
    margin-top: 15px;
    color: #feb47b;
    font-weight: bold;
}