/* 全局样式重置 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Microsoft YaHei", 微软雅黑, sans-serif;
        }

        body {
            background-color: #f8f9fa;
            color: #333;
            padding-bottom: 50px;
        }

        /* 侧边栏样式 */
        .sidebar {
            position: fixed;
            left: 0;
            top: 0;
            width: 220px;
            height: 100vh;
            background: linear-gradient(180deg, #2196f3 0%, #64b5f6 100%);
            color: white;
            padding: 20px 0;
            z-index: 1000;
            box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
            overflow-y: auto;
            transition: transform 0.3s ease;
        }

        .sidebar-logo {
            text-align: center;
            padding: 20px 10px;
            margin-bottom: 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            
        }

        .sidebar-logo h2 {
            font-size: 1.5rem;
            margin-bottom: 5px;
            color: white;
        }

        .sidebar-logo p {
            font-size: 0.9rem;
            opacity: 0.9;
            color: #e3f2fd;
        }

        .sidebar-nav {
            list-style: none;
            padding: 0 15px;
        }

        .sidebar-nav li {
            margin-bottom: 8px;
        }
        
        /*为第二个span设置样式*/
        .sidebar-nav li span:nth-child(2){
            display: inline-block;
            margin-left: 10px;
        }
        

        .sidebar-nav a {
            display: flex;
            align-items: center;
            padding: 12px 15px;
            color: white;
            text-decoration: none;
            border-radius: 8px;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.1);
            margin-bottom: 5px;
        }

        .sidebar-nav a:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateX(5px);
        }

        .sidebar-nav a.active {
            background: rgba(255, 255, 255, 0.25);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            border-left: 4px solid white;
        }

        .sidebar-nav i {
            margin-right: 10px;
            font-size: 1.1rem;
            min-width: 24px;
            text-align: center;
        }

        .sidebar-nav span {
            font-size: 0.95rem;
        }

        /* 主要内容区域 - 添加左边距以适应侧边栏 */
        .main-content {
            margin-left: 220px;
            padding: 20px;
            transition: margin-left 0.3s ease;
        }

        /* 移动端遮罩层 */
        .sidebar-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .sidebar-overlay.active {
            display: block;
            opacity: 1;
        }

        /* 头部样式 */
        .header {
            display: block;
            background-image:url("../images/logo-big-index.webp") no-repeat;
            background: linear-gradient(120deg, #64b5f6, #2196f3);
            
            color: white;
            text-align: center;
            padding: 20px 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            border-radius: 10px;
            margin-bottom: 30px;
        }

        .header h1 {
            font-size: 2rem;
            margin-bottom: 10px;
        }

        .header p {
            font-size: 1rem;
            opacity: 0.9;
        }

        /* 容器样式 */
        .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        /* 标签栏样式 */
        .tab-nav {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin: 20px 0;
            background: white;
            padding: 15px;
            border-radius: 10px;
            box-shadow: 0 2px 15px rgba(0,0,0,0.05);
        }

        .tab-nav button {
            flex: 1;
            min-width: 100px;
            padding: 12px 15px;
            border: none;
            border-radius: 8px;
            background: #e3f2fd;
            color: #1976d2;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .tab-nav button.active {
            background: #2196f3;
            color: white;
            box-shadow: 0 3px 10px rgba(33, 150, 243, 0.3);
        }

        .tab-nav button:hover:not(.active) {
            background: #bbdefb;
            transform: translateY(-2px);
        }

        /* 拼音内容区域 */
        .pinyin-content {
            display: none;
            background: white;
            border-radius: 10px;
            padding: 25px;
            box-shadow: 0 2px 15px rgba(0,0,0,0.05);
            margin-top: 20px;
        }

        .pinyin-content.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }

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

        .pinyin-content h2 {
            color: #2196f3;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid #e3f2fd;
            font-size: 1.5rem;
        }

        /* 拼音格子容器 
        .pinyin-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
            gap: 20px;
        }
		*/
		/* 拼音格子容器 - PC端一行8个，手机端一行4个 */
        .pinyin-grid {
            display: grid;
            grid-template-columns: repeat(8, 1fr);
            gap: 15px;
        }
		
		
		
		

        /* 拼音卡片样式 */
        .pinyin-card {
            display: flex;
			position: relative;
            flex-direction: column;
            align-items: center;
            padding: 15px 10px;
            border-radius: 10px;
            background: linear-gradient(145deg, #f5f9ff, #e8f4ff);
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
        }
		


        .pinyin-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(33, 150, 243, 0.15);
            border-color: #2196f3;
            background: linear-gradient(145deg, #e8f4ff, #d4e9ff);
        }
		


        .pinyin-card.active-play {
            background: linear-gradient(145deg, #e3f2fd, #bbdefb);
            border-color: #2196f3;
            animation: pulse 1.5s infinite;
        }

        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(33, 150, 243, 0.4); }
            70% { box-shadow: 0 0 0 15px rgba(33, 150, 243, 0); }
            100% { box-shadow: 0 0 0 0 rgba(33, 150, 243, 0); }
        }

        /* 四线格样式 */
        .four-line-grid {
            width: 90px;
            height: 70px;
            position: relative;
            margin-bottom: 15px;
            background: white;
            border: 1px solid #e0e0e0;
            border-radius: 6px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        }

        .four-line-grid .line {
            position: absolute;
            left: 0;
            right: 0;
            height: 1.5px;
            background: #555;
        }

        .four-line-grid .line1 { top: 0; }
        .four-line-grid .line2 { top: 23px; }
        .four-line-grid .line3 { top: 46px; }
        .four-line-grid .line4 { bottom: 0; }

        .four-line-grid .pinyin-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 2.2rem;
            font-weight: bold;
            color: #2196f3;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
        }


		.pinyin-name {
		    display: inline-block;
		    padding-left: 20px;
		    width: 100%;
		    height: 20px;
            font-size: 0.9rem;
            color: #666;
            text-align: center;
            background-image: url('../images/xlaba.webp');
            background-position: 15px;
            background-size: 20px auto;
            background-repeat: no-repeat;
            
        }
		
		
		/* 声调标记 */
        .tone-mark {
            position: absolute;
            top: 5px;
            right: 5px;
            background: #ff9800;
            color: white;
            width: 40px;
            height: 18px;
            border-radius: 10%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.6rem;
            font-weight: bold;
        }

        .tone1 { background: #f44336; } /* 第一声 - 红色 */
        .tone2 { background: #ff9800; } /* 第二声 - 橙色 */
        .tone3 { background: #4caf50; } /* 第三声 - 绿色 */
        .tone4 { background: #2196f3; } /* 第四声 - 蓝色 */

        /* 加载提示 */
        .loading {
            display: none;
            text-align: center;
            color: #666;
            padding: 15px;
            font-size: 1rem;
            background: #f8f9fa;
            border-radius: 8px;
            margin: 20px 0;
            border: 1px solid #e0e0e0;
        }

        /* 移动端菜单切换按钮 */
        .menu-toggle {
            display: none;
            position: fixed;
            top: 15px;
            left: 15px;
            z-index: 1001;
            background: #2196f3;
            color: white;
            border: none;
            border-radius: 5px;
            padding: 10px;
            cursor: pointer;
            font-size: 1.2rem;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }
		
		
.col {
	position: relative;
	width: 100%;
	padding-right: 0;
	padding-left: 0;
	flex-basis: 0;
	flex-grow: 1;
	max-width: 100%;
}

.card {
	padding: 0 20px;
	margin-bottom: 15px
}
.pb-4 {
	padding-bottom: 30px!important
}
h2.mt-4 {
	margin-top: 30px!important;
	border-bottom:0;
}

.content-header .title,.content-header h1 {
	text-align: center;
	font-weight: 600;
	padding-top: 15px;
	color: var(--body-color);
	margin-bottom: 0!important
}

.content-header .title+.summary,.content-header h1+.summary {
	padding: 5px 0 15px!important;
	margin: 0!important;
	color: var(--body-info-color)
}

.content-header .title+.summary+.description,.content-header h1+.summary+.description {
	margin-top: 15px!important
}

.content-header .summary {
	font-size: .875rem;
	text-align: center;
	border-bottom: 1px solid var(--border-color)
}

.content-header .summary:before {
	content: "（"
}

.content-header .summary:after {
	content: "）"
}

.content-header .description {
	font-size: .95rem;
	color: var(--body-info-color);
	margin-bottom: 0;
	
	line-height:30px;
}
.mt-4 {
	margin-top: 30px!important
}

.mb-4 {
	margin-bottom: 30px!important
}


.callout {
	padding: 20px;
	margin: 0 0 20px 0;
	border: 1px solid #e7edf6;
	border-left-width: 5px;
	border-left-color: #2196f3;
	border-radius:8px;
}	
.callout-danger {
	border-left-color: #2196f3
}		
.font-15 {
	font-size: 15px;
	line-height:30px;
}		
.abc-fayin-container {
	display: flex;
	flex-wrap: wrap;
	padding-bottom: 1rem;
	padding-top: 1rem;
	border-bottom: 1px dashed #ebd187
}	
.abc-item {
	--line-color: #FFC5AA;
	position: relative;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	margin-bottom: .75rem
}		
		
html[data-theme=dark] .abc-item {
	--line-color: #444
}

.abc-item:hover {
	color: red
}

.abc-item .line {
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	border-top: 2px solid #64b5f6;
	border-bottom: 2px solid #64b5f6;
	border-left: 1px solid #64b5f6;
	border-right: 1px solid #64b5f6;
	height: 42px;
	width: 100%
}

.abc-item .line>span {
	overflow: hidden;
	width: 100%
}

.abc-item .line>span:nth-child(1),.abc-item .line>span:nth-child(2) {
	border-bottom: 1px dotted #64b5f6;
	height: 12px
}

.abc-item .line>span:last-child {
	border-bottom: none;
	height: 11px
}

.abc-item .letter {
	position: relative;
	z-index: 100;
	font-size: 24px;
	line-height: 36px;
	height: 42px;
	font-family: "Pinyin",Tahoma,"Helvetica Neue",Helvetica,Arial,sans-serif;
	display: block;
	text-align: center;
	letter-spacing: -1px
}




.abc-fayin-container {
	display: flex;
	flex-wrap: wrap;
	padding-bottom: 1rem;
	padding-top: 1rem;
	border-bottom: 2px solid #e3f2fd;
	margin-bottom:15px;
}

.abc-fayin-container dl {
	display: flex;
	align-items: flex-start;
	width: 50%;
	padding: 1rem;
	border: 1px solid #e7edf6;
	margin: -1px 0 0 -1px
}

.abc-fayin-container dl dt {
	width: 80px;
	font-weight: lighter;
	margin: 0;
	flex-shrink: 0
}

.abc-fayin-container dl dd {
	margin: 0;
	padding-left: 1rem;
	flex-grow: 1;
	line-height:25px;
	font-size:16px;
}

.abc-fayin-container:first-child {
	padding-top: 0
}

.abc-fayin-container:last-child {
	padding-bottom: 0;
	border-bottom: none
}		
		
h3 {
    display: block;
    font-size: 1.17em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}
dl, ol {
    margin-top: 0;
    margin-bottom: 0;
}
.card {
    padding: 0 20px;
    margin-bottom: 15px;
}		
		

        /* 响应式适配 */
        @media (max-width: 992px) {
            .sidebar {
                width: 180px;
            }
            
            .main-content {
                margin-left: 180px;
            }
            
            .pinyin-grid {
                grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
                gap: 15px;
            }
            
            .four-line-grid {
                width: 80px;
                height: 60px;
            }
        }

        @media (max-width: 768px) {
			
			.pinyin-grid {
                grid-template-columns: repeat(4, 1fr);
            }
			
            .sidebar {
                transform: translateX(-100%);
                width: 250px;
            }
            
            .sidebar.open {
                transform: translateX(0);
            }
            
            .main-content {
                margin-left: 0;
            }
            
            .menu-toggle {
                display: block;
            }
            
            .tab-nav button {
                /*min-width: 80px;*/
                padding: 10px 8px;
                font-size: 0.9rem;
            }
            
            .header h1 {
                font-size: 1.8rem;
            }
        }

        @media (max-width: 480px) {
            .pinyin-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .pinyin-content {
                padding: 15px;
            }
            
            .header {
                padding: 15px 0;
            }
            
            .header h1 {
                font-size: 1.6rem;
            }
            
            .header p {
                font-size: 0.9rem;
            }
			
			
			.content-header .description {
				background-color: var(--body-secondary-bg-color);
				border: 1px solid var(--border-color);
				padding: 10px;
				border-radius: 5px
			}
			.abc-fayin-container dl{
				width:100%;
			}
        }