/*
Author: 代码号原创内容
Author: 抄袭扒站违法请勿尝试
*/
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, sans-serif;
    background-color: #f8f9fa; 
    color: #333; 
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; transition: all 0.3s ease; }
ul, li { list-style: none; }

#header {
    background: linear-gradient(135deg, #ff8a00 0%, #e52e71 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
    height: 60px;
}

.navbox {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 15px;
    position: relative;
}

.logo a {
    color: white;
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 10px;
}

#starlist {
    display: flex;
    height: 100%;
    margin: 0;
    padding: 0;
}

#starlist > li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

#starlist > li > a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 18px;
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    position: relative;
    transition: all 0.3s;
}

#starlist > li > a:hover, 
#starlist > li > a.selected {
    color: #fff;
    background: rgba(255,255,255,0.15);
}

#starlist li.menu > a:after {
    content: '▼';
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s;
}

#starlist li.menu:hover > a:after {
    transform: rotate(180deg);
}

#starlist li.menu .sub {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 150px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 0 0 5px 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

#starlist li.menu:hover .sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#starlist li.menu .sub li a {
    display: block;
    padding: 5px 5px;
    color: #555;
    font-size: 14px;
    transition: all 0.2s;
}

#starlist li.menu .sub li a:hover {
    background: #f5f5f5;
    color: #ff6b00;
    padding-left: 20px;
}

#mnavh {
    display: none;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.mobile-nav-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background: white;
    z-index: 1001;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-nav-container.active {
    right: 0;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

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

.mobile-nav-header {
    padding: 15px;
    background: linear-gradient(135deg, #ff8a00 0%, #e52e71 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav-list {
    padding: 0;
    margin: 0;
}

.mobile-nav-list > li {
    border-bottom: 1px solid #eee;
}

.mobile-nav-list > li > a {
    display: flex;
    padding: 5px 20px;
    color: #333;
    font-size: 15px;
    align-items: center;
}

.mobile-submenu-toggle {
    margin-left: auto;
    transition: transform 0.3s;
}

.mobile-submenu-toggle.active {
    transform: rotate(180deg);
}

.mobile-submenu {
    display: none;
    background: #f9f9f9;
}

.mobile-submenu.active {
    display: block;
}

.mobile-submenu li a {
    display: block;
    padding: 10px 20px 10px 35px;
    color: #666;
    font-size: 14px;
}

.mobile-submenu li a:hover {
    background: #f0f0f0;
    color: #ff6b00;
}

@media (max-width: 768px) {
    #starlist {
        display: none;
    }
    
    #mnavh {
        display: flex;
    }
    
    .logo a {
        font-size: 18px;
    }
}

@media (min-width: 769px) {
    .mobile-nav-container,
    .mobile-nav-overlay {
        display: none !important;
    }
}

.banner {
    height: 300px;
    background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 50%, #fffc5d 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
    transform: rotate(30deg);
}
.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 20px;
    max-width: 900px;
}
.banner-content h1 {
    font-size: 32px;
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.banner-content p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.search-banner {
	max-width: none;
    width: 800px;
    max-width: 90%;
    margin: 0 auto;
    position: relative;
}
.search-form {
    display: flex;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}
.search-form .input_text {
    flex: 1;
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    outline: none;
}
.template-select {
    width: 140px;
    border: none;
    border-left: 1px solid #eee;
    padding: 0 15px;
    background: white;
    appearance: none;
    outline: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 40px;
}
.input_submit {
    background: #667eea;
    color: white;
    border: none;
    padding: 0 25px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}
.input_submit:hover {
    background: #5a67d8;
}

@media (max-width: 768px) {
    .search-form {
flex-direction: column;
border-radius: 10px;
overflow: visible;
    }
    
    .search-form .input_text {
border-radius: 10px 10px 0 0;
padding: 15px;
border-bottom: 1px solid #eee;
    }
    
    .search-form .template-select {
width: 100%;
border-left: none;
border-top: none;
padding: 12px 15px;
border-radius: 0;
background-position: right 15px center;
border-bottom: 1px solid #eee;
    }
    
    .search-form .input_submit {
border-radius: 0 0 10px 10px;
padding: 12px;
    }
}

.main-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
}

.left-sidebar {
    width: 250px;
    position: sticky;
    top: 10px;
    align-self: flex-start;
    margin-right: 10px;
}
.sidebar-menu {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}
.sidebar-menu h3 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 20px;
    margin: 0;
    font-size: 18px;
    position: relative;
}
.sidebar-menu h3  a{
    color: white;
}
.sidebar-menu h3:after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s;
}
.menu-list {
    padding: 10px 0;
}
.menu-list li a {
    display: block;
    padding: 10px 20px 10px 30px;
    color: #555;
    border-left: 3px solid transparent;
    position: relative;
}
.menu-list li a:hover {
    background: #f8f9ff;
    color: #667eea;
    border-left-color: #667eea;
}
.menu-list li a:before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #ddd;
    border-radius: 50%;
}
.menu-list li a:hover:before {
    background: #667eea;
}

.main-content {
    flex: 1;
    min-width: 300px;
}

.breadcrumb {
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    font-size: 14px;
}
.breadcrumb a {
    color: #667eea;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb span {
    color: #999;
    margin: 0 8px;
}

.category-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 20px;
    margin-bottom: 25px;
}
.category-section h2 {
    font-size: 20px;
    color: #333;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    position: relative;
}
.category-section h2:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.subcategory-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.subcategory-item {
    background: #f8f9ff;
    border-radius: 6px;
    padding: 15px;
    transition: all 0.3s;
    border: 1px solid #eee;
}
.subcategory-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}
.subcategory-item h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #444;
}
.subcategory-item h3 a {
    color: inherit;
}
.subcategory-item h3 a:hover {
    color: #667eea;
}
.subcategory-item p {
    font-size: 13px;
    color: #777;
    line-height: 1.4;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.right-sidebar {
    width: 250px;
    margin-left: 10px;
}
.widget {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 20px;
    margin-bottom: 25px;
}
.widget h3 {
    font-size: 18px;
    color: #333;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    position: relative;
}
.widget h3:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.widget-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}
.widget-list li:last-child {
    border-bottom: none;
}
.widget-list li a {
    color: #555;
    display: block;
    font-size: 14px;
    transition: all 0.2s;
    padding-left: 15px;
    position: relative;
}
.widget-list li a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #ddd;
    border-radius: 50%;
    transition: all 0.2s;
}
.widget-list li a:hover {
    color: #667eea;
    padding-left: 18px;
}
.widget-list li a:hover:before {
    background: #667eea;
    width: 8px;
    height: 8px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
}
.tag-cloud a {
    display: inline-block;
    padding: 1px 2px;
    background: #f3f4ff;
    color: #667eea;
    border-radius: 20px;
    font-size: 13px;
}
.tag-cloud a:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 40px 0 20px;
    margin-top: 50px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.footer-declaration {
    margin-bottom: 20px;
}
.footer-declaration p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
}
.footer-declaration p b {
    color: #fff;
}
.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
}
.copyright a {
    color: #3498db;
}
.copyright a:hover {
    text-decoration: underline;
}

.fixed-buttons {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;
}
.fixed-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #667eea;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}
.fixed-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.fixed-btn.wechat:hover .wechat-qrcode {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -10px);
}
.wechat-qrcode {
    position: absolute;
    bottom: 100%;
    transform: translateX(-50%);
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    margin-bottom: 15px;
    width: 180px;
}
.wechat-qrcode img {
    display: block;
    width: 100%;
}
.wechat-qrcode:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .main-container {
flex-direction: column;
    }
    .left-sidebar, .right-sidebar {
width: 100%;
margin: 0 0 30px 0;
position: static;
    }
    .subcategory-grid {
grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #header {
height: auto;
min-height: 60px;
    }
    .navbox {
flex-direction: row;
padding: 10px 15px;
    }
    #starlist {
display: none;
    }
    #mnavh {
display: flex;
    }
    .banner {
height: 300px;
    }
    .search-banner {
width: 300px;
max-width: none;
    }
    .subcategory-grid {
grid-template-columns: 1fr;
    }
    .fixed-buttons {
right: 15px;
bottom: 15px;
    }
    
    .left-sidebar {
display: none;
    }
}

@media (max-width: 480px) {
    .banner-content h1 {
font-size: 24px;
    }
    .banner-content p {
font-size: 14px;
    }
    .breadcrumb {
padding: 10px 15px;
font-size: 13px;
    }
    .category-section {
padding: 15px;
    }
    .widget {
padding: 15px;
    }
}
@media (min-width: 769px) {
    #mnavh {
display: none !important;
    }
}
:root {
    --primary-color: #FF7F00;
    --secondary-color: #FF5500;
}
.lanmu-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 8px;
    padding: 30px;
    color: white;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.lanmu-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    transform: rotate(25deg);
}

.lanmu-banner h2 {
    font-size: 28px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.lanmu-banner p {
    opacity: 0.9;
    position: relative;
    z-index: 1;
    max-width: 100%;
}
.container { 
    display: flex; 
    max-width: 100%; 
    margin: 0 auto; 
    padding: 15px; 
    gap: 15px; 
}
.nyleft-sidebar { 
    width: 250px; 
    background: #fff; 
    border-radius: 5px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 5px;
    max-height: calc(100vh - 10px);
    overflow-y: auto;
}
.nyleft-sidebar h3 { 
    background: #ff6b00; 
    color: #fff; 
    padding: 12px 15px; 
    margin: 0; 
    font-size: 16px; 
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.article-list { padding: 10px; }
.article-list li { margin-bottom: 8px; border-bottom: 1px dashed #eee; padding-bottom: 8px; }
.article-list li:last-child { border-bottom: none; }
.article-list a { 
    display: block; 
    padding: 5px; 
    font-size: 14px; 
    border-left: 3px solid transparent;
	color: #333;
}
.article-list a.active, .article-list a:hover { 
    border-left-color: #ff6b00; 
    background: #fff8f0; 
    color: #ff6b00;
}
.article-list a.active, .article-list a:hover { 
    border-left-color: #ff6b00; 
    background: #fff8f0; 
    color: #ff6b00;
}
.nymain-content { 
    flex: 1; 
    background: #fff; 
    border-radius: 5px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 20px;
	overflow: hidden;
}
.nyright-sidebar { 
    width: 250px; 
    position: sticky;
    top: 5px;
    align-self: flex-start;
}
.sidebar-block {
    position: relative;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.sidebar-block h3 {
    background: #ff6b00;
    color: #fff;
    padding: 12px 15px;
    margin: 0;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
}

.sidebar-block h3:hover {
    background: #e65c00;
}

.sidebar-block h3::after {
    content: "›";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%) rotate(0);
    transition: transform 0.3s;
}

.sidebar-block.active h3::after {
    transform: translateY(-50%) rotate(90deg);
}

.sub-categories {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.sidebar-block.active .sub-categories {
    max-height: 100%;
}
.category-menu:hover .sub-categories { display: block; }
.sub-categories a { 
    display: block; 
    padding: 8px 10px; 
    border-bottom: 1px solid #eee; 
    font-size: 14px;
	color: #333;
}
.sub-categories a:last-child { border-bottom: none; }
.sub-categories a:hover { background: #fff8f0; color: #ff6b00; }

.sidebar-list { padding: 10px; }
.sidebar-list li { 
    margin-bottom: 10px; 
    padding-bottom: 10px; 
    border-bottom: 1px dashed #eee;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a { font-size: 14px; color: #333;}
.sidebar-list a:hover { color: #ff6b00; }
.category-menu { position: relative; }
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 10px;
  padding: 10px;
}
.tags-cloud .tag {
  display: inline-block;
  background: #f0f0f0;
  color: #666;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  text-decoration: none;
  transition: var(--transition);
}
body.dark-mode .tag {
  background: #3d3d3d;
  color: #ccc;
}
.tag:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}
.article-nav { 
    display: flex; 
    justify-content: space-between; 
    margin: 20px 0; 
    padding: 10px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.article-nav a { 
    color: #333;
}
.article-nav span { font-size: 14px; }
.nyarticle-meta { 
    display: flex; 
    align-items: center; 
    font-size: 12px; 
    color: #999; 
    margin-bottom: 15px;
}
.article-header { margin-bottom: 20px; }
.article-header h1 { 
    font-size: 24px; 
    margin-bottom: 15px; 
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6b00;
}
.avatar { 
    width: 30px; 
    height: 30px; 
    border-radius: 50%; 
    margin-right: 10px; 
    background: #eee; 
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: #ff6b00;
    font-size: 12px;
}
.nyarticle-meta span { margin-right: 15px; }
.article-content { 
    font-size: 15px; 
    line-height: 1.8;
    margin-bottom: 30px;
}
.article-content a { color: #ff6b00; text-decoration: underline; }
.article-content table { 
    width: 100%; 
    border-collapse: collapse; 
    margin: 15px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.article-content table th, 
.article-content table td { 
    padding: 1px 1px; 
    border: 1px solid #ddd; 
    text-align: left;
}
.article-content table th { 
    background: #fff8f0; 
    font-weight: bold;
}
.article-content table tr:nth-child(even) { background: #f9f9f9; }
.article-content table tr:hover { background: #fff3e6; }

.article-tags { 
    margin: 20px 0; 
    padding: 15px; 
    background: #f9f9f9; 
    border-radius: 5px;
    font-size: 14px;
}
.article-tags b { margin-right: 10px; color: #666; }
.article-content > blockquote {
    margin: 5px 0;
    padding: 1px 2px;
    border-left: 4px solid #ff0000;
    background-color: #fff8f0;
    color: #333;
    font-style: italic;
    line-height: 1.6;
	font-size: 13px;
  }
.article-content td code,
.article-content p > code,
.article-content ul li p code {
  font-weight: 900;
  background: linear-gradient(to right, #ffffff, #ff6b00);
  padding: 0.2em 0.4em;
  border-radius: 3px;
  box-shadow: 
    0 1px 1px rgba(0,0,0,0.1),
    inset 0 -1px 2px rgba(0,0,0,0.05);
  text-shadow: 0 0.5px 0 rgba(255,255,255,0.8);
  display: inline-block;
  line-height: 1;
  position: relative;
  z-index: 1;
}
.article-content td code:hover,
.article-content p > code:hover,
.article-content ul li p code:hover {
  background: linear-gradient(to right, #e0e0e0, #d5d5d5);
  transform: translateY(-1px);
}
.article-content tr > td > a {
    color: #f70000;
}
.article-content > ol {
    counter-reset: item;
    list-style: none;
    padding-left: 1.5em;
    margin: 1em 0;
}
.article-content > ol > li {
    position: relative;
    counter-increment: item;
    margin-bottom: 0.1em;
    padding-left: 2em;
}
.article-content > ol > li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    color: #ff6b00;
    font-weight: bold;
}
.article-list a:has(strong) {
    background: #ff6b00;
    color: white;
}
.article-list > li .toggle-icon {
    transition: transform 0.2s;
	float: right;
	display: inline-block;
	padding: 0px 20px;
	background: #28a745;
    border-radius: 4px;
}
.article-content > .code-toolbar{
	font-size: 13px;
}
@media (max-width: 1024px) {
    .container { flex-direction: column; }
    .nyleft-sidebar, .nyright-sidebar { 
        width: 100%; 
        position: static; 
        margin-bottom: 20px;
    }
    .article-nav { flex-direction: column; gap: 10px; }
    .article-nav span { width: 100%; text-align: center; }
	.nyleft-sidebar { max-height: calc(50vh - 100px); }
}

@media (max-width: 768px) {
    .nav-menu.active { display: flex; }
    .nav-menu > li > a { height: auto; line-height: 40px; }
    .sub-menu { 
        position: static; 
        width: 100%; 
        box-shadow: none;
        display: none;
    }
    .nav-menu li:hover .sub-menu { display: none; }
    .nav-menu li.active .sub-menu { display: block; }
    .mobile-menu-btn { 
        display: block; 
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 24px;
        background: none;
        border: none;
        cursor: pointer;
    }
    .header { position: relative; }
    .search-btn { position: absolute; top: 15px; right: 50px; }
    
    .article-content table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
.article-content > h3 {
    display: block;
    background-color: #f8f8f8;
    margin: 0 -1px 0;
    padding: 0 15px;
    border-left: 3px solid #f70000;
    color: #333;
    font-size: 15px;
    word-break: break-all;
    font-weight: 700;
    line-height: 42px;
}
.article-content > h4 {
    display: block;
    background-color: #f8f8f8;
    margin: 0 -1px 0;
    padding: 0 15px;
    border-left: 3px solid #0095ff;
    color: #333;
    font-size: 15px;
    word-break: break-all;
    font-weight: 700;
    line-height: 30px;
}