:root {
    --primary-color: #8B4513;
    --primary-light: #A0522D;
    --accent-color: #D2691E;
    --neutral-light: #F8F8F8;
    --neutral-medium: #E8E8E8;
    --neutral-dark: #333333;
    --neutral-gray: #666666;
    --text-color: #333333;
    --border-color: #E0E0E0;
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-size: 16px;
    font-family: "Microsoft Yahei", "PingFang SC", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
    background-color: white;
    color: var(--text-color);
    line-height: 1.6;
}

.fl { float: left; }
.fr { float: right; }
.clearfix:after { display: block; content: ""; clear: both }
.hide { display: none; }

.wrap {
    margin: 0 auto;
    max-width: 800px;
    box-sizing: border-box;
}

.header { 
    padding: 0; 
    background-color: white;
    border-bottom: 1px solid var(--border-color);
}

.header >.t-content { 
    padding-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.header h1 {
    margin: 0;
    padding: 0.5em 0;
    font-size: 16pt;
    color: var(--primary-color);
    font-weight: normal;
    border-bottom: solid 2px var(--primary-color);
    line-height: 40px;
}

.header h1 a {
    color: inherit;
    text-decoration: none;
    font-size: 22pt;
    font-weight: bold;
    line-height: 1em;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    line-height: 40px;
}

.header h1 a span { 
    color: var(--primary-light); 
}

.header h1 a:link, .header h1 a:visited { color: inherit; }

.top {
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    color: var(--neutral-gray);
    background-color: var(--neutral-light);
    box-sizing: border-box;
    border-bottom: 1px solid var(--border-color);
}

.top a, .top a:link, .top a:visited {
    color: inherit;
    text-decoration: none;
}

.top a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.top ul, .top ul li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.top ul li { float: left; }
.top .t-right { position: relative; right: 3px; }
.top .t-right ul { float: left; margin-right: 7px; }
.top .t-right ul:first-child li { margin-left: 6px; }

.top .t-right ul:first-child a {
    display: block;
    margin-top: 5px;
    margin-bottom: 5px;
    border: solid 1px var(--border-color);
    border-radius: 4px;
    line-height: 28px;
    background-color: white;
    transition: all 0.2s;
}

.top .t-right ul:first-child a,
.top .t-right ul:first-child a:link,
.top .t-right ul:first-child a:visited { color: inherit; }

.top .t-right ul:first-child a.t-active,
.top .t-right ul:first-child a.t-active:visited {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.top .t-right ul:first-child a:hover { 
    text-decoration: none; 
    border-color: var(--primary-color);
}

.top .t-left ul li a,
.top .t-left ul li span,
.top .t-right ul li a,
.top .t-right ul li span {
    padding: 0 10px;
    display: inline-block;
}

.top .t-left ul li::before {
    display: inline-block;
    content: '|';
    color: #CCCCCC;
}

.top .t-left ul li:first-child::before,
.top .t-right ul li:first-child::before { display: none; }

.top .t-basic.t-has-login li:first-child { color: var(--primary-color); }
.top .t-content { text-align: center; }

#main { 
    padding:10px; 
    background-color: white;
}

#main >.t-content { 
    padding: 20px; 
    padding-top: 15px; 
}

.news-ticker {
    margin: 1.2em 0;
    padding: 12px 15px;
    background-color: var(--neutral-light);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.news-ticker-header {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 40px;
    background: linear-gradient(135deg, #7a3c10, #8f4e23);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    z-index: 2;
    border-radius: 6px 0 0 6px;
    line-height: 1.1;
    padding: 0;
}

.news-ticker-content {
    margin-left: 50px;
    height: 24px;
    overflow: hidden;
    position: relative;
}

.news-list {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.news-item {
    height: 24px;
    line-height: 24px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s;
    display: block;
    padding: 0 5px;
    border-radius: 3px;
}

.news-item a:hover {
    color: var(--primary-color);
    background-color: rgba(139, 69, 19, 0.05);
}

.t-top {
    margin: 1.2em 0 1.5em;
    padding: 1em 1.2em;
    text-align: left;
    border: solid 1px var(--border-color);
    border-radius: 6px;
    background-color: var(--neutral-light);
    position: relative;
    overflow: hidden;
}

.t-top-recommend {
    position: absolute;
    top: 5px;
    right: -35px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 8px 25px;
    font-size: 12px;
    font-weight: bold;
    transform: rotate(45deg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 20px;
    line-height: 1;
}

.t-top ul { display: inline-block; margin: 0; padding: 0; }
.t-top li { display: inline-block; margin: 0; padding: 0; }
.t-top a { font-size: 1rem; }

.t-top a, .t-top a:link, .t-top a:visited {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s;
}

.t-top a:hover { 
    color: var(--primary-color); 
    text-decoration: underline; 
}

.t-top:after { display: block; content: ''; clear: both; }
.t-top ul { display: block; }
.t-top li { 
    float: left; 
    width: 20%; 
    margin: 0.1em 0; 
    text-align: center; 
}

.t-top a { 
    line-height: 1.5em; 
    display: block; 
    padding: 5px 8px;
    border-radius: 4px;
}

.t-top a:hover {
    background-color: rgba(139, 69, 19, 0.05);
}

.main-nav {
    margin: 1.2em 0 1.5em;
    padding: 1em 1.2em;
    text-align: center;
    border: solid 1px var(--border-color);
    border-radius: 6px;
    background-color: white;
}

.main-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav li {
    margin: 0;
    padding: 0;
}

.main-nav a {
    display: block;
    padding: 8px 12px;
    margin: 4px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 14px;
    border: 1px solid transparent;
}

.main-nav a:hover {
    color: var(--primary-color);
    background-color: rgba(139, 69, 19, 0.05);
    border-color: var(--primary-color);
}

.main-nav a.active {
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(139, 69, 19, 0.2);
}

.t-block .t-header h3 {
    margin: 0;
    padding-left: 10px;
    line-height: 1.2em;
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
    border-left: solid 3px var(--primary-color);
}

.t-block .t-header {
    padding: 15px 0.5em;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 10px;
}

.t-list-block .t-header h3 { float: left; }

.t-block .t-header >a {
    float: right;
    line-height: 1em;
    margin-left: 10px;
    margin-right: 5px;
    text-decoration: none;
    color: var(--neutral-gray);
    transition: all 0.2s;
}

.t-block .t-header >a:hover { 
    color: var(--primary-color); 
}

.t-list-block {
    margin-bottom: 25px;
    background: white;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.t-list-block.t-category ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    min-height: 60px;
    clear: both;
}

.t-list-block .t-category { 
    border-bottom: dashed 1px var(--border-color); 
}

.t-list-block .t-content .t-category:last-child ul { border-bottom: 0; }

.t-list-block.t-category ul li {
    float: left;
    min-height: 60px;
    padding: 8px 10px;
    line-height: 42px;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
    transition: all 0.2s;
    width: 20%;
    border-right: 1px dashed var(--border-color);
    border-bottom: 1px dashed var(--border-color);
    overflow: hidden;
}

@media (min-width: 769px) {
    .t-list-block.t-category ul li:nth-child(5n) {
        border-right: none;
    }
    
    /*.t-list-block.t-category ul li:nth-last-child(-n+5) {
        border-bottom: none;
    }*/
}

.t-list-block ul li a, .t-list-block ul li span {
    display: inline-block;
    padding: 0 0.5em;
    text-decoration: none;
    color: var(--text-color);
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    transition: all 0.2s;
    border-radius: 4px;
}

.t-list-block ul li a img {
    margin-right: 6px;
    max-width: 18px;
    max-height: 18px;
    vertical-align: middle;
}

.t-list-block ul li a.t-is-walled,
.t-list-block ul li a.t-is-mainting,
.t-list-block ul li a.t-is-building,
.t-list-block ul li a.t-experience-level-1 {
    color: var(--neutral-gray);
    filter: grayscale(100%);
}

.t-list-block ul li a.t-is-walled img,
.t-list-block ul li a.t-experience-level-1 img { display: none; }

.t-list-block ul li a.t-is-walled::after,
.t-list-block ul li a.t-is-mainting::after { 
    content: '!'; 
    color: #CC0000;
    font-weight: bold;
}

.t-list-block ul li a:hover {
    color: var(--primary-color);
    background-color: rgba(139, 69, 19, 0.05);
}

.t-list-block .t-category ul li:first-child {
    color: var(--primary-color);
    border-right: 1px dashed var(--border-color);
    font-weight: bold;
}

.t-list-block .t-category ul li:first-child span { color: inherit; }

.latest-articles {
    margin: 40px 0;
}

.latest-articles h3 {
    padding-left: 10px;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    border-left: solid 3px var(--primary-color);
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.article-item {
    padding: 15px 18px;
    background: var(--neutral-light);
    border-radius: 6px;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.article-item:hover {
    background: white;
    box-shadow: 0 2px 8px var(--shadow-light);
    border-left: 3px solid var(--primary-color);
}

.article-title {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-color);
}

.article-title a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s;
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-meta {
    font-size: 13px;
    color: var(--neutral-gray);
}

.footer {
    position: relative;
    background-color: var(--neutral-light);
    padding: 15px;
    text-align: center;
}

.footer .copyright {
    color: var(--neutral-gray);
    font-size: 14px;
}

.footer .copyright a, .footer .copyright a:link, .footer .copyright a:visited {
    color: inherit;
    text-decoration: none;
}

.footer .copyright a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer .declare {
    margin: 5px 0;
    color: var(--neutral-gray);
    font-size: 13px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.language-switcher {
    display: flex;
    margin-left: 15px;
    margin-top: 5px;
}

.language-switcher button {
    padding: 4px 8px;
    margin-left: 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: white;
    color: var(--neutral-gray);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.language-switcher button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.language-switcher button.active {
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-color: var(--primary-color);
}

.layer-msg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px 25px;
    border-radius: 6px;
    z-index: 10000;
    font-size: 14px;
    max-width: 300px;
    text-align: center;
}

.more-menu {
    position: relative;
    display: inline-block;
}

.more-menu-btn {
    cursor: pointer;
    padding: 0 10px;
    display: inline-block;
    transition: all 0.2s;
}

.more-menu-btn:hover {
    color: var(--primary-color);
}

.menu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: 0 4px 12px var(--shadow-medium);
    z-index: 1000;
    display: none;
    overflow: hidden;
    width: auto;
    min-width: 0;
    padding: 5px 0;
}

.menu-dropdown.show {
    display: block;
    margin-top: 2px;
}

.menu-item {
    display: block;
    padding: 8px 15px;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s;
    font-size: 14px;
    white-space: nowrap;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background-color: rgba(139, 69, 19, 0.05);
    color: var(--primary-color);
}

.site-detail {
    margin: 1.2em 0;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

.site-logo {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background-color: var(--neutral-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.site-logo img {
    max-width: 100%;
    max-height: 100%;
}

.site-info {
    flex: 1;
}

.site-name {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.site-region {
    font-size: 14px;
    color: var(--neutral-gray);
    margin-bottom: 5px;
}

.site-region a {
    color: var(--primary-color);
    text-decoration: none;
}

.site-region a:hover {
    text-decoration: underline;
}

.site-url {
    font-size: 14px;
    color: var(--neutral-gray);
}

.site-url a {
    color: var(--primary-color);
    text-decoration: none;
}

.site-url a:hover {
    text-decoration: underline;
}

.site-description {
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 25px;
    padding: 15px;
    background-color: var(--neutral-light);
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
}

/* 面包屑导航样式 */
.breadcrumb {
    margin: 1.2em 0;
    padding: 5px;
    background-color: var(--neutral-light);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    color: var(--neutral-gray);
    line-height: 1.5;
    padding-left: 15px;
}

.breadcrumb a {
    color: var(--neutral-gray);
    text-decoration: none;
    transition: all 0.2s;
    padding: 2px;
    border-radius: 3px;
    display: inline-block;
}

.breadcrumb a:hover {
    color: var(--primary-color);
    background-color: rgba(139, 69, 19, 0.05);
    text-decoration: none;
}

.breadcrumb a:link, 
.breadcrumb a:visited {
    color: var(--neutral-gray);
}

.breadcrumb span.Nav-title,
.breadcrumb span:last-child {
    color: var(--primary-color);
    font-weight: 500;
}

/* 面包屑分隔符 */
.breadcrumb a + a::before,
.breadcrumb a + span::before {
    content: ">";
    margin: 0 8px;
    color: var(--neutral-gray);
    font-size: 12px;
    opacity: 0.6;
}

/* 移动端标题处理 */
.breadcrumb .mobile-title {
    display: none;
}

.article-detail {
    margin: 20px 0;
    background: white;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    padding: 25px;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.article-detail-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.article-detail-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0 0 15px;
    line-height: 1.4;
}

.article-detail-meta {
    display: flex;
    align-items: center;
    color: var(--neutral-gray);
    font-size: 14px;
}

.article-detail-meta span {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.article-detail-meta span i {
    margin-right: 5px;
    font-style: normal;
}

.article-detail-content {
    line-height: 1.8;
    font-size: 16px;
    color: var(--text-color);
}

.article-detail-content h2 {
    font-size: 20px;
    color: var(--primary-color);
    margin: 25px 0 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.article-detail-content h3 {
    font-size: 18px;
    color: var(--primary-light);
    margin: 20px 0 12px;
}

.article-detail-content blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    background-color: var(--neutral-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    font-style: italic;
}

.article-detail-content ul, .article-detail-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.article-detail-content li {
    margin-bottom: 8px;
}

.article-detail-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.article-detail-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.article-detail-nav a {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background-color: var(--neutral-light);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
    max-width: 45%;
}

.article-detail-nav a:hover {
    background-color: var(--primary-color);
    color: white;
}

.article-detail-nav-prev::before {
    content: "←";
    margin-right: 5px;
}

.article-detail-nav-next::after {
    content: "→";
    margin-left: 5px;
}
/* 排序筛选器样式 */
.fjdh-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.fjdh-filter-container {
    display: flex;
    align-items: center;
}

.filter-content {
    display: flex;
    align-items: center;
    background-color: var(--neutral-light);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 8px 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.filter-label {
    font-size: 14px;
    color: var(--neutral-gray);
    margin-right: 10px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.filter-label i {
    margin-right: 5px;
    font-size: 12px;
}

.select-wrapper {
    position: relative;
    display: inline-block;
}

.filter-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 6px 30px 6px 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
    color: var(--text-color);
    cursor: pointer;
    min-width: 120px;
    transition: all 0.2s;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(139, 69, 19, 0.1);
}

.select-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--neutral-gray);
    font-size: 12px;
    transition: transform 0.3s;
}
.fjdh-list h3 {
    margin: 0px;
    padding-left: 10px;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    border-left: solid 3px var(--primary-color);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.video-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow-light);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--shadow-medium);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    background-color: var(--neutral-light);
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
    height: 38px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    opacity: 0.8;
    transition: all 0.3s;
}

.video-item:hover .video-play-icon {
    opacity: 1;
    background: rgba(139, 69, 19, 0.9);
}

.video-info {
    padding: 15px;
}

.video-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.video-title a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s;
}

.video-title a:hover {
    color: var(--primary-color);
}

.video-detail {
    margin: 20px 0;
    background: white;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    padding: 25px;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.video-detail-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.video-detail-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0 0 15px;
    line-height: 1.4;
}

.video-detail-meta {
    display: flex;
    align-items: center;
    color: var(--neutral-gray);
    font-size: 14px;
}

.video-detail-meta span {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.video-detail-meta span i {
    margin-right: 5px;
    font-style: normal;
}

.video-detail-content {
    line-height: 1.8;
    font-size: 16px;
    color: var(--text-color);
}

.video-detail-content p {
    margin-bottom: 1.2em;
    text-align: justify;
}
.video-detail-content img {
    width: 100%;
    max-width: 100%;
}

.video-detail-tags span {
    color: var(--neutral-gray);
    margin-right: 10px;
}

.video-detail-tags a {
    display: inline-block;
    padding: 4px 10px;
    margin-right: 8px;
    margin-bottom: 8px;
    background-color: var(--neutral-light);
    color: var(--neutral-gray);
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.2s;
}

.video-detail-tags a:hover {
    background-color: var(--primary-color);
    color: white;
}

.video-detail-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.video-detail-nav a {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background-color: var(--neutral-light);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
    max-width: 45%;
}

.video-detail-nav a:hover {
    background-color: var(--primary-color);
    color: white;
}

.video-detail-nav-prev::before {
    content: "←";
    margin-right: 5px;
}

.video-detail-nav-next::after {
    content: "→";
    margin-left: 5px;
}

.video-player-container {
    margin: 25px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #000;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-container video,
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.audio-list {
    margin: 25px 0;
    background: white;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.audio-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background-color: #ffffff;
    transition: all 0.3s ease;
    position: relative;
}

.audio-item:hover {
    background-color: var(--neutral-light);
}

.audio-item.playing {
    background-color: rgba(139, 69, 19, 0.05);
}

.audio-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    margin-right: 18px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.audio-info {
    overflow: hidden;
    min-width: 0;
    flex: 1;
}

.audio-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.audio-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s;
}

.audio-title a:hover {
    color: var(--primary-color);
}

.audio-meta {
    font-size: 14px;
    color: var(--neutral-gray);
    display: flex;
    gap: 15px;
}

.audio-controls {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.progress-container {
    height: 5px;
    background-color: var(--neutral-medium);
    border-radius: 3px;
    width: 200px;
    margin: 0 20px;
    overflow: hidden;
    display: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.progress-container:hover {
    background-color: var(--border-color);
    transform: scaleY(1.3);
}

.audio-item.playing .progress-container {
    display: block;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    width: 0%;
    transition: width 0.2s ease;
    border-radius: 3px;
}

.play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 14px rgba(139, 69, 19, 0.4);
}

.play-btn:active {
    transform: scale(0.96);
}

.play-btn .play-icon {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 0 9px 14px;
    border-color: transparent transparent transparent white;
    margin-left: 3px;
}

.play-btn .pause-icon {
    display: none;
    width: 16px;
    height: 16px;
    position: relative;
}

.play-btn .pause-icon::before,
.play-btn .pause-icon::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 16px;
    background-color: white;
    border-radius: 2px;
}

.play-btn .pause-icon::before {
    left: 2px;
}

.play-btn .pause-icon::after {
    right: 2px;
}

.audio-item.playing .play-btn .play-icon {
    display: none;
}

.audio-item.playing .play-btn .pause-icon {
    display: block;
}

.time-display {
    font-size: 14px;
    color: var(--primary-color);
    display: none;
    width: 90px;
    text-align: center;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
}

.audio-item.playing .time-display {
    display: block;
}

.audio-detail {
    margin: 20px 0;
    background: white;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    padding: 25px;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.audio-detail-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.audio-detail-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0 0 15px;
    line-height: 1.4;
    text-align: center;
}

.audio-detail-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-gray);
    font-size: 14px;
    flex-wrap: wrap;
}

.audio-detail-meta span {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.audio-detail-meta span i {
    margin-right: 5px;
    font-style: normal;
}

.audio-player {
    background: var(--neutral-light);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.audio-player::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}
/* 进度条专用样式 - 避免冲突 */
.audio-progress-wrapper {
    flex-grow: 1;
    margin-left: 25px;
    min-width: 200px;
}

.audio-progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: #777;
    font-family: Arial, sans-serif;
}

.audio-progress-track {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    overflow: visible;
    width: 100%;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.audio-progress-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 4px;
    width: 0%;
    transition: width 0.1s ease;
    position: relative;
    min-width: 0%;
    max-width: 100%;
}

.audio-progress-fill::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(50%, -50%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
}
.player-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.control-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.play-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.15);
}

.play-btn:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    transform: scale(1.05);
}

.secondary-btn {
    background: none;
    border: none;
    color: var(--neutral-gray);
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.secondary-btn:hover {
    color: var(--primary-color);
    background: rgba(139, 69, 19, 0.05);
}

.play-mode-btn {
    position: relative;
}

.play-mode-btn.active {
    color: var(--primary-color);
}

.mode-tooltip {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.play-mode-btn:hover .mode-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: -30px;
}

.progress-container {
    flex-grow: 1;
    margin-left: 25px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--neutral-gray);
}

.progress-bar-container {
    height: 8px;
    background: var(--neutral-medium);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 4px;
    width: 0%;
    transition: width 0.2s ease;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateX(50%);
}

.volume-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 20px;
    gap: 12px;
}

.volume-btn {
    background: none;
    border: none;
    color: var(--neutral-gray);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.volume-btn:hover {
    color: var(--primary-color);
}

.volume-slider-container {
    width: 120px;
    height: 6px;
    background: var(--neutral-medium);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.volume-level {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 3px;
    width: 80%;
    transition: width 0.2s ease;
}

.volume-slider-container:hover .volume-level {
    background: var(--primary-color);
}

.lyrics-container {
    display: none;
    margin: 25px 0;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.lyrics-container.active {
    display: block;
}

.lyrics-header {
    background: var(--neutral-light);
    padding: 12px 20px;
    font-weight: bold;
    border-bottom: 1px solid var(--border-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.lyrics-wrapper {
    height: 320px;
    overflow-y: auto;
    padding: 20px;
    text-align: center;
    background: white;
    line-height: 1.8;
    scroll-behavior: smooth;
}

.lyrics-line {
    padding: 10px 0;
    font-size: 17px;
    color: var(--neutral-gray);
    transition: all 0.3s ease;
    min-height: 28px;
}

.lyrics-line.active {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 19px;
    transform: scale(1.05);
}

.loading-indicator {
    text-align: center;
    padding: 20px;
    color: var(--neutral-gray);
}

.loading-indicator i {
    margin-right: 10px;
    color: var(--primary-color);
}

.related-title {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: solid 3px var(--primary-color);
}

.weibo-form {
    margin: 25px 0;
    background: white;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    padding: 25px;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    transition: all 0.2s;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(139, 69, 19, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.2);
}

.submit-btn:disabled {
    background: var(--neutral-gray);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.error-message {
    display: block;
    margin-top: 5px;
    font-size: 12px;
}

.image-upload-options {
    margin-bottom: 15px;
}

.upload-tabs {
    display: flex;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    padding: 8px 15px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: var(--neutral-gray);
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: bold;
}

.tab-content {
    padding: 10px 0;
}

#image-url {
    width: 70%;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.url-validate-btn {
    padding: 8px 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 10px;
}

.url-validate-btn:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
}

.url-input-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.file-upload {
    display: inline-block;
    padding: 10px 15px;
    background: var(--neutral-light);
    border: 1px dashed var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.file-upload:hover {
    background: var(--neutral-medium);
    border-color: var(--primary-color);
}

#preview {
    margin-top: 10px;
}

.weibo-image {
    max-width: 100%;
    max-height: 300px;
    border-radius: 4px;
    margin-top: 10px;
}

.loading-placeholder {
    padding: 10px;
    background: var(--neutral-light);
    border-radius: 4px;
    text-align: center;
    color: var(--neutral-gray);
}

.weibo-list {
    margin: 25px 0;
}

.weibo-item {
    background: white;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.weibo-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.weibo-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--neutral-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    overflow: hidden;
}

.weibo-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.truncate-text {
    display: inline-block;
    max-width: 1em;
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;
    color: var(--primary-color);
}

.weibo-author {
    flex: 1;
    font-weight: bold;
    color: var(--text-color);
}

.weibo-author a {
    color: inherit;
    text-decoration: none;
}

.weibo-author a:hover {
    color: var(--primary-color);
}

.weibo-time {
    color: var(--neutral-gray);
    font-size: 14px;
}

.weibo-content {
    margin-bottom: 15px;
    line-height: 1.6;
}

.weibo-image-container {
    margin-bottom: 15px;
}

.weibo-actions {
    display: flex;
    gap: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.weibo-action {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    color: var(--neutral-gray);
    transition: all 0.2s;
}

.weibo-action:hover {
    color: var(--primary-color);
}

.weibo-action i {
    font-size: 14px;
}

.like-count {
    margin-left: 2px;
}

#toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1000;
}

#share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.share-modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 320px;
    text-align: center;
}

.share-modal-content h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

.share-modal-content p {
    margin-bottom: 15px;
    word-break: break-all;
    color: var(--neutral-gray);
}

.share-modal-buttons {
    display: flex;
    justify-content: space-around;
}

.share-modal-buttons button {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-btn {
    background: var(--primary-color);
    color: white;
}

.copy-btn:hover {
    background: var(--primary-light);
}

.close-btn {
    background: var(--neutral-gray);
    color: white;
}

.close-btn:hover {
    background: var(--neutral-dark);
}

.full-width-panel {
    margin: 25px 0;
    background: white;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.panel-header {
    padding: 15px 20px;
    background: var(--neutral-light);
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: var(--primary-color);
    transition: all 0.2s;
}

.panel-header:hover {
    background: var(--neutral-medium);
}

.panel-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.panel-content.expanded {
    padding: 20px;
    max-height: 1000px;
}

.url-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.url-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.url-form button {
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    white-space: nowrap;
    min-width: 80px;
    box-sizing: border-box;
}

.url-form button:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
}

.url-form button:disabled {
    background: var(--neutral-gray);
    cursor: not-allowed;
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

.shared-links h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 20px;
}

.links-grid {
    display: grid;
    grid-template-columns: 40px 1fr 60px 10px;
    gap: 15px;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.links-header {
    background: var(--neutral-light);
    font-weight: bold;
    border-radius: 4px 4px 0 0;
}

.links-item {
    transition: background-color 0.2s;
}

.links-item:hover {
    background-color: var(--neutral-light);
}

.ico-img, .avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    object-fit: cover;
}

.avatar-img {
    border-radius: 50%;
}

.username a, .link-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
}

.username a:hover, .link-title a:hover {
    color: var(--primary-color);
}

.link-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.time {
    color: var(--neutral-gray);
    font-size: 14px;
}
/* 基础布局样式 */
.article-footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid #f0f0f0;
  margin-top: 30px;
}

/* 标签样式 */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.article-tags a {
  display: inline-block;
  padding: 6px 12px;
  background: #f8f9fa;
  color: #495057;
  text-decoration: none;
  border-radius: 16px;
  font-size: 14px;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.article-tags a:hover {
  background: #e9ecef;
  color: #212529;
  transform: translateY(-1px);
}

/* 操作按钮区域 */
.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  justify-content: center;
}

/* 操作按钮样式 */
.action-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px; 
  padding: 10px 16px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.action-btn:hover {
  background: #f8f9fa;
  border-color: #dee2e6;
  color: #495057;
  transform: translateY(-1px);
}

.action-btn:active {
  transform: translateY(0);
}

/* 字体大小按钮激活状态 */
.action-btn.font-active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* 点赞按钮特殊样式 */
#likeBtn {
  position: relative;
}

/* 点赞计数 - 显示在按钮左上方 */
.like-count-badge {
  position: absolute;
  top: -6px;
  left: -6px;
  background: var(--primary-color);
  color: white;
  border-radius: 10px;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: all 0.3s ease;
  transform: scale(0.8);
}

.like-count-badge.show {
  opacity: 1;
  transform: scale(1);
}

/* 工具提示 */
.action-btn .tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.action-btn:hover .tooltip {
  opacity: 1;
  visibility: visible;
  bottom: calc(100% + 8px);
}

/* 字体指示器样式 */
.font-indicator {
  font-weight: bold;
  font-size: 14px;
  min-width: 16px;
  text-align: center;
}

/* 文章内容容器 - 防止布局抖动 */
.article-content-container {
  /* min-height: 60vh; 设置最小高度防止剧烈跳动 */
  transition: all 0.3s ease; /* 平滑过渡 */
}

/* 分享弹窗相关样式确保最高层级 */
.popup-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999 !important;
}

.share-popup {
  display: none;
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 10000 !important;
  max-width: 90vw;
  width: 400px;
  max-height: 80vh;
  overflow-y: auto;
}

.share-popup h3 {
  margin: 0 0 20px 0;
  font-size: 18px;
  color: #212529;
  text-align: center;
  font-weight: 600;
}

/* 分享平台网格 */
.share-platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.share-platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.share-platform:hover {
  background: #e9ecef;
  transform: translateY(-2px);
}

.share-platform i {
  font-size: 24px;
  margin-bottom: 4px;
}

.share-platform .name {
  font-size: 12px;
  color: #495057;
}

/* 平台特定颜色 */
.share-platform.wechat i { color: #07c160; }
.share-platform.weibo i { color: #e6162d; }
.share-platform.qq i { color: #12b7f5; }
.share-platform.qzone i { color: #f7b500; }
.share-platform.tieba i { color: #2d64b3; }
.share-platform.email i { color: #ea4335; }
.share-platform.whatsapp i { color: #25d366; }
.share-platform.facebook i { color: #1877f2; }
.share-platform.twitter i { color: #1da1f2; }
.share-platform.link i { color: #6c757d; }

/* 微信模态框 - 提高 z-index */
.wechat-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10001 !important;
  align-items: center;
  justify-content: center;
}

.wechat-modal-content {
  background: white;
  border-radius: 12px;
  padding: 24px;
  max-width: 90vw;
  width: 320px;
  text-align: center;
  /* 确保在视口内 */
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.wechat-modal-header {
  margin-bottom: 20px;
}

.wechat-modal-title {
  margin: 0 0 8px 0;
  font-size: 18px;
  color: #212529;
  font-weight: 600;
}

.wechat-modal-subtitle {
  margin: 0;
  font-size: 14px;
  color: #6c757d;
}

.wechat-qrcode {
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 20px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wechat-qrcode img {
  max-width: 100%;
  height: auto;
}

.wechat-close-btn {
  padding: 10px 24px;
  background: #6c757d;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 14px;
}

.wechat-close-btn:hover {
  background: #5a6268;
}

/* 点赞状态样式 */
.liked {
  background: #fff5f5 !important;
  border-color: #ff6b6b !important;
  color: #ff6b6b !important;
}

.favorited {
  background: #fff9db !important;
  border-color: #ffd43b !important;
  color: #f08c00 !important;
}

/* 模态框打开时的body样式 */
body.modal-open {
  overflow: hidden;
}

/* 动画效果 */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  to { 
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.share-popup {
  animation: slideUp 0.3s ease;
}

.popup-backdrop,
.wechat-modal {
  animation: fadeIn 0.3s ease;
}
span.result-highlight {
    color: #8B4513;
}
@media (max-width: 768px) {
    .t-top li {
        width: 33.33%;
    }
    
    .main-nav ul {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
    }
    
    .main-nav a {
        padding: 6px 8px;
        margin: 2px;
        font-size: 13px;
        text-align: center;
    }
    
    .t-list-block.t-category ul li {
        width: 33.33% !important;
        padding: 10px 5px;
        min-height: 50px;
        line-height: 30px;
    }
    
    .t-list-block .t-category ul li:first-child {
        width: 33.33% !important;
    }
    
    .t-list-block ul li a, .t-list-block ul li span {
        font-size: 14px;
        padding: 0 5px;
    }
    
    .t-top a {
        font-size: 14px;
        margin: 3px 0.2em;
    }
    

.menu-dropdown.show {
    display: block;
    margin-left: 13px;
    margin-top: 3px;
}
    .language-switcher {
        margin-left: 10px;
        margin-top: 6px;
    }
    
    .language-switcher button {
        margin-left: 6px;
    }
    
    .header h1 a {
        height: 35px;
        line-height: 35px;
        font-size: 20pt;
    }
        .breadcrumb {
        padding: 10px 15px;
        font-size: 13px;
        margin: 1em 0;
    }
    
    .breadcrumb a + a::before,
    .breadcrumb a + span::before {
        margin: 0 6px;
    }
    
    /* 移动端显示"正文"，隐藏长标题 */
    .breadcrumb .pc-title {
        display: none;
    }
    
    .breadcrumb .mobile-title {
        display: inline;
    }
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .menu-dropdown {
        left: -10px;
    }
    
    .news-ticker {
        padding: 10px 12px;
    }
    
    .news-ticker-header {
        width: 35px;
        font-size: 12px;
    }
    
    .news-ticker-content {
        margin-left: 45px;
    }
    
    .t-top-recommend {
        font-size: 11px;
        padding: 6px 20px;
        right: -28px;
        width: 55px;
        height: 18px;
        top: 6px;
    }
    
    .site-header {
        flex-direction: column;
        text-align: center;
    }
    
    .site-logo {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .site-info {
        width: 100%;
    }
    
    .article-detail {
        padding: 15px;
    }
    
    .article-detail-title {
        font-size: 20px;
    }
    .article-detail-meta span {
        margin-bottom: 5px;
    }
    
    .article-detail-content {
        font-size: 16px;
    }
    
    .article-detail-nav a {
        max-width: 100%;
        margin-bottom: 10px;
    }
    
    .article-detail-nav {
        flex-direction: column;
    }
    
    .audio-item {
        padding: 14px;
    }

    .audio-thumbnail {
        width: 50px;
        height: 50px;
        margin-right: 14px;
    }

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

    .progress-container {
        width: 120px;
        margin: 0 12px;
    }

    .time-display {
        width: 70px;
        font-size: 13px;
    }

    .play-btn {
        width: 40px;
        height: 40px;
    }

    .audio-item.playing .progress-container {
        display: none;
    }
    
    .audio-item.playing .time-display {
        display: none;
    }
    
    .audio-detail {
        padding: 15px;
    }
    
    .audio-detail-title {
        font-size: 20px;
    }
    
    .audio-detail-meta span {
        margin-bottom: 5px;
    }
    
    .player-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .control-buttons {
        justify-content: center;
        margin-bottom: 20px;
    }

    .progress-container {
        margin-left: 0;
    }

    .play-btn {
        width: 38px;
        height: 38px;
        font-size: 24px;
    }

    .secondary-btn {
        font-size: 20px;
    }

    .lyrics-wrapper {
        height: 250px;
        padding: 15px;
    }

    .lyrics-line {
        font-size: 16px;
    }

    .lyrics-line.active {
        font-size: 18px;
    }
    
    .download, .related-audios {
        padding: 15px;
    }
    
    .weibo-form {
        padding: 15px;
    }
    
    .url-input-group {
        flex-direction: column;
    }
    
    #image-url {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .url-validate-btn {
        width: 100%;
        margin-left: 0;
        padding: 10px;
    }
    
    .upload-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        padding: 10px;
        font-size: 14px;
    }
    
    .weibo-item {
        padding: 15px;
    }
    
    .weibo-actions {
        gap: 15px;
    }
    
    .url-form {
        flex-direction: column;
    }
    
    .url-form button {
        width: 100%;
        margin-top: 10px;
    }
    
    .links-grid {
        grid-template-columns: 40px 1fr 65px 5px;
        gap: 10px;
        padding: 10px;
        font-size: 14px;
    }
    
    .ico-img, .avatar-img {
        width: 24px;
        height: 24px;
    }    
  #fontSizeBtn,
#downloadBtn {
  display: none !important;
}
  .article-footer {
    padding: 16px 0;
    margin-top: 20px;
    gap: 16px;
  }
  .article-tags {
    gap: 8px;
  }
  
  .article-tags a {
    padding: 5px 10px;
    font-size: 13px;
  }
  
  .article-actions {
    gap: 12px;
    justify-content: space-between;
  }
  
  .action-btn {
    padding: 8px 12px;
    font-size: 13px;
    flex: 1;
    min-width: 0;
    justify-content: center;
  }
  
  .font-indicator {
    font-size: 13px;
    min-width: 14px;
  }
  
.share-popup {
    width: 95vw;
    padding: 20px;
    /* 移动端确保居中 */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-height: calc(100vh - 40px);
    /* 重要：默认隐藏 */
    display: none;
    position: fixed;
    z-index: 10002;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 添加显示状态的类 */
.share-popup.show {
    display: block;
}

.popup-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
}

.popup-backdrop.show {
    display: block;
}

.share-platforms {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    display: grid;
}

.share-platform {
    padding: 12px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}

.share-platform i {
    font-size: 20px;
    margin-bottom: 5px;
}

.share-platform .name {
    font-size: 11px;
}

/* 防止页面滚动 */
body.modal-open {
    overflow: hidden;
}
  .wechat-modal-content {
    padding: 20px;
  }
}
}

@media (max-width: 480px) {
    .t-top li {
        width: 33.33%;
    }
    
    .main-nav ul {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .main-nav a {
        padding: 5px 6px;
        font-size: 12px;
    }
    
    .t-list-block.t-category ul li {
        width: 50% !important;
    }
    
    .t-list-block .t-category ul li:first-child {
        width: 50% !important;
    }
    
    .language-switcher {
        margin-left: 8px;
        margin-top: 7px;
    }
    
    .language-switcher button {
        padding: 4px 8px;
        margin-left: 4px;
        font-size: 12px;
    }
    
    .header h1 a {
        height: 30px;
        line-height: 30px;
        font-size: 18pt;
    }
        .breadcrumb {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .breadcrumb a + a::before,
    .breadcrumb a + span::before {
        margin: 0 4px;
    }
    .news-ticker {
        padding: 8px 10px;
    }
    
    .news-ticker-header {
        width: 30px;
        font-size: 12px;
    }
    
    .news-ticker-content {
        margin-left: 40px;
    }
    
    .t-top-recommend {
        font-size: 10px;
        padding: 5px 18px;
        right: -26px;
        width: 50px;
        height: 16px;
        top: 5px;
    }
    
    .links-grid {
        grid-template-columns: 25px 50px 1fr 60px 10px;
        gap: 8px;
        font-size: 12px;
    }
    
    .ico-img, .avatar-img {
        width: 20px;
        height: 20px;
    }   
  
  #fontSizeBtn,
#downloadBtn {
  display: none !important;
}
  .article-actions {
    gap: 8px;
  }
  .action-btn {
    padding: 8px;
    gap: 4px;
  }
  .action-btn i {
    font-size: 14px;
  }
  
  .like-count-badge {
    font-size: 9px;
    padding: 1px 3px;
    min-width: 16px;
  }
  
  .font-indicator {
    font-size: 12px;
    min-width: 12px;
  }
  
  .share-platforms {
    grid-template-columns: repeat(2, 1fr);
  }
}