/* Unified page-level styles for app/index module */

/* Global theme rhythm */
body {
    background:
        radial-gradient(1200px 600px at 100% -10%, rgba(255, 87, 34, 0.06), transparent 60%),
        radial-gradient(900px 500px at -10% 30%, rgba(30, 159, 255, 0.05), transparent 60%),
        var(--aura-bg);
}

.aura-main-container .layui-container {
    animation: pageFadeIn .28s ease-out both;
}

.aura-page-hero {
    border-radius: var(--aura-radius-lg);
    border: 1px solid var(--aura-border);
    box-shadow: var(--aura-shadow-soft);
}

.topic-page-header.aura-page-hero,
.links-header.aura-page-hero {
    margin-bottom: 32px;
}

.aura-btn-primary {
    background: linear-gradient(135deg, #ff6a3d 0%, var(--aura-primary) 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(255, 87, 34, 0.2);
}

.aura-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(255, 87, 34, 0.24);
}

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    z-index: 2000;
    background: linear-gradient(90deg, #ff6a3d 0%, var(--aura-primary) 100%);
    transition: width .12s linear;
}

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

.topic-page-header,
.links-header,
.hero-section {
    position: relative;
    overflow: hidden;
}

.topic-page-header::after,
.links-header::after {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 87, 34, 0.06);
    filter: blur(4px);
    pointer-events: none;
}

.article-detail-content-wrap p,
.doc-card p {
    margin: 0 0 1em;
}

.article-detail-content-wrap h2,
.article-detail-content-wrap h3 {
    margin: 1.3em 0 0.6em;
    color: #1f2937;
}

.article-detail-content-wrap blockquote {
    margin: 1.2em 0;
    padding: 12px 16px;
    border-left: 4px solid var(--aura-primary);
    border-radius: 0 8px 8px 0;
    background: rgba(255, 87, 34, 0.05);
    color: #4b5563;
}

.article-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.2em 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    animation: fadeIn 0.8s ease-in-out;
}

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

/* News detail: code block */
.article-detail-content pre {
    display: block !important;
    position: relative;
    margin: 16px 0;
    padding: 14px 16px;
    overflow-x: auto;
    background: #f8fafc;
    color: #334155;
    border-radius: 8px;
    line-height: 1.6;
    white-space: pre;
    border: 1px solid #e2e8f0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.article-detail-content pre code {
    display: block;
    color: inherit;
    background: transparent;
    padding: 0;
    font-family: Consolas, "Courier New", monospace;
    font-size: 14px;
}

.article-detail-content :not(pre) > code {
    padding: 2px 6px;
    border-radius: 4px;
    background: #f3f4f6;
    color: #111827;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.92em;
}

.article-detail-content pre code.hljs {
    background: transparent;
    padding: 0;
}

.article-detail-content .code-copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    color: #4b5563;
    font-size: 12px;
    line-height: 1;
    padding: 6px 8px;
    cursor: pointer;
    transition: all .2s ease;
}

.article-detail-content .code-copy-btn:hover {
    background: #f3f4f6;
    color: #111827;
}

.article-detail-content .code-copy-btn.copied {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
}

/* News topics */
.topic-page-header { text-align: center; padding: 80px 0 60px; background: linear-gradient(180deg, rgba(255,87,34,0.02) 0%, transparent 100%); }
.topic-grid { margin-bottom: 60px; }
.topic-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--aura-border); transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); height: 100%; display: flex; flex-direction: column; }
.topic-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--aura-primary); }
.topic-cover-wrap { height: 200px; overflow: hidden; position: relative; }
.topic-cover { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.topic-card:hover .topic-cover { transform: scale(1.1); }
.topic-badge { position: absolute; top: 15px; left: 15px; background: rgba(0,0,0,0.5); backdrop-filter: blur(10px); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.topic-body { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.topic-title { font-size: 20px; font-weight: 800; color: #1a1a1a; margin-bottom: 12px; transition: 0.3s; }
.topic-card:hover .topic-title { color: var(--aura-primary); }
.topic-desc { font-size: 14px; color: #777; line-height: 1.6; margin-bottom: 20px; flex: 1; }
.topic-footer { border-top: 1px solid #f5f5f5; padding-top: 15px; display: flex; justify-content: space-between; align-items: center; color: #999; font-size: 12px; }

/* About page */
.aura-about-container { max-width: 900px; margin: 0 auto; }
.hero-section { text-align: center; padding: 80px 0 60px; background: radial-gradient(circle at top right, rgba(255,87,34,0.05) 0%, transparent 40%); border-radius: 20px; margin-bottom: 40px; }
.hero-avatar { width: 140px; height: 140px; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 15px 35px rgba(0,0,0,0.1); margin-bottom: 30px; object-fit: cover; }
.tech-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.tech-badge { padding: 8px 20px; background: #fff; border: 1px solid var(--aura-border); border-radius: 30px; font-size: 13px; color: #555; display: flex; align-items: center; gap: 8px; transition: 0.3s; }
.tech-badge:hover { transform: translateY(-3px); border-color: var(--aura-primary); color: var(--aura-primary); box-shadow: 0 5px 15px rgba(255,87,34,0.1); }
.content-card { background: #fff; border-radius: 16px; padding: 60px; border: 1px solid var(--aura-border); margin-bottom: 30px; line-height: 2; font-size: 16px; color: #444; }
.section-title { font-size: 24px; font-weight: 800; color: #1a1a1a; margin: 40px 0 20px; display: flex; align-items: center; gap: 12px; }
.section-title::before { content: ''; width: 4px; height: 24px; background: var(--aura-primary); border-radius: 2px; }
.social-links { display: flex; justify-content: center; gap: 30px; margin-top: 60px; }
.social-btn { width: 50px; height: 50px; border-radius: 50%; background: #f8f9fa; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #555; transition: 0.3s; }
.social-btn:hover { background: var(--aura-primary); color: #fff; transform: scale(1.1); box-shadow: 0 10px 20px rgba(255,87,34,0.2); }
.about-wechat-popup { padding: 40px; text-align: center; }
.about-wechat-icon { font-size: 160px; color: var(--aura-primary); }
.about-wechat-text { margin-top: 15px; color: #666; }

/* Disclaimer page */
.disclaimer-container { max-width: 800px; margin: 60px auto; }
.doc-card { background: #fff; padding: 60px; border-radius: 16px; border: 1px solid var(--aura-border); line-height: 1.8; color: #555; }
.doc-title { font-size: 32px; font-weight: 800; color: #1a1a1a; margin-bottom: 20px; font-family: 'Outfit'; }
.doc-meta { font-size: 14px; color: #999; margin-bottom: 50px; border-bottom: 1px solid #f1f1f1; padding-bottom: 20px; }
.doc-section { margin-bottom: 40px; }
.doc-section h2 { font-size: 20px; font-weight: 700; color: #333; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.doc-section h2::before { content: ''; width: 4px; height: 18px; background: var(--aura-primary); border-radius: 2px; }

/* Links page */
.links-header { text-align: center; padding: 60px 0 40px; }
.link-card { display: flex; align-items: center; padding: 25px; border-radius: 12px; background: #fff; border: 1px solid var(--aura-border); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); height: 100%; position: relative; overflow: hidden; }
.link-card:hover { transform: translateY(-5px); border-color: var(--aura-primary); box-shadow: 0 15px 30px rgba(255,87,34,0.1); }
.link-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--aura-primary); opacity: 0; transition: 0.3s; }
.link-card:hover::before { opacity: 1; }
.link-avatar { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; margin-right: 20px; flex-shrink: 0; background: #f8f9fa; border: 1px solid #eee; }
.link-info { flex: 1; min-width: 0; }
.link-name { font-weight: 700; font-size: 17px; color: #333; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: 0.2s; }
.link-desc { font-size: 13px; color: #888; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.apply-section { margin-top: 60px; background: #fbfbfc; border-radius: 16px; padding: 50px; border: 1px dashed #d1d5db; }

/* Layui unified enhancement layer */
.layui-card {
    border-radius: 12px !important;
}

.layui-card .layui-card-body {
    padding: 16px 20px;
}

.layui-form .layui-input,
.layui-form .layui-textarea {
    border-radius: 8px;
    border-color: #e5e7eb;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.layui-form .layui-input:focus,
.layui-form .layui-textarea:focus {
    border-color: var(--aura-primary) !important;
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.12);
}

/* Home carousel */
.aura-carousel-item {
    position: relative;
    width: 100%;
    height: 100%;
}

.aura-carousel-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aura-carousel-overlay {
    position: absolute;
    inset: 0;
}

/* News list */
.news-list-item:hover {
    background: #fcfcfc;
}


.aura-list-link:hover {
    background: rgba(255, 87, 34, 0.05);
    color: var(--aura-primary);
}

/* News detail */
.aura-like-trigger:hover {
    color: var(--aura-primary);
}

.article-tag-badge:hover {
    background: var(--aura-primary) !important;
    color: #fff !important;
}

.aura-prevnext-card:hover {
    border-color: var(--aura-primary) !important;
    background: #fff7f5;
}

.aura-hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
}

.comment-textarea:focus {
    background: #fff;
}

.aura-icon-circle-btn:hover {
    background: var(--aura-primary);
    color: #fff;
}

@media (max-width: 768px) {
    .content-card,
    .doc-card,
    .apply-section {
        padding: 24px;
    }
}

/* Semantic classes - batch 1 (index/news list/detail) */
.home-carousel {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.home-carousel-overlay {
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 10%;
    cursor: pointer;
}

.home-carousel-content { color: #fff; max-width: 600px; }
.home-carousel-title { font-size: 36px; margin: 15px 0; font-weight: 700; }
.home-carousel-desc { font-size: 16px; opacity: 0.9; }

.article-filter-bar {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid var(--aura-border);
}

.article-filter-indicator {
    width: 4px;
    height: 18px;
    background: var(--aura-primary);
    border-radius: 2px;
}

.article-sort-nav { margin-left: 15px; }
.article-tags {
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tag-pill {
    display: inline-block;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 预定义多套柔和配色方案 */
.tag-pill:nth-child(6n+1) { background: rgba(30, 159, 255, 0.08); color: #1e9fff; }
.tag-pill:nth-child(6n+2) { background: rgba(0, 150, 136, 0.08); color: #009688; }
.tag-pill:nth-child(6n+3) { background: rgba(255, 87, 34, 0.08); color: #ff5722; }
.tag-pill:nth-child(6n+4) { background: rgba(124, 58, 237, 0.08); color: #7c3aed; }
.tag-pill:nth-child(6n+5) { background: rgba(236, 72, 153, 0.08); color: #ec4899; }
.tag-pill:nth-child(6n+6) { background: rgba(245, 158, 11, 0.08); color: #f59e0b; }

.tag-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.08);
    opacity: 0.9;
}

/* 悬浮时根据自身颜色加深（可选，这里保持通用白色文字背景更统一） */
.tag-pill:nth-child(6n+1):hover { background: #1e9fff; color: #fff; }
.tag-pill:nth-child(6n+2):hover { background: #009688; color: #fff; }
.tag-pill:nth-child(6n+3):hover { background: #ff5722; color: #fff; }
.tag-pill:nth-child(6n+4):hover { background: #7c3aed; color: #fff; }
.tag-pill:nth-child(6n+5):hover { background: #ec4899; color: #fff; }
.tag-pill:nth-child(6n+6):hover { background: #f59e0b; color: #fff; }

.article-title-link { color: inherit; }
.list-pagination { padding: 20px 0 30px 0; }
.search-card-body { padding: 15px; }

.home-topic-section { margin-top: 40px; }
.home-topic-card { padding: 25px; }
.home-topic-grid { margin-top: 10px; }
.popular-card-link { display: block; color: inherit; }
.popular-card-type { font-size: 11px; color: #888; }
.popular-card-desc { font-size: 12px; color: #999; }

.series-header-card {
    padding: 50px;
    border-radius: 12px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #fff 0%, #f9fafb 100%);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--aura-border);
}

.series-header-content { position: relative; z-index: 1; }
.series-header-subtitle { font-size: 13px; color: #999; margin-left: 8px; text-transform: uppercase; letter-spacing: 1px; }
.series-header-title { font-size: 36px; font-weight: 800; margin: 15px 0; color: #1a1a1a; }
.series-header-desc { font-size: 16px; color: #666; max-width: 700px; line-height: 1.6; }
.series-header-meta { margin-top: 25px; display: flex; align-items: center; gap: 20px; font-size: 14px; color: #888; }
.series-header-meta-icon { vertical-align: middle; margin-right: 4px; }
.series-header-decoration { position: absolute; right: -40px; bottom: -40px; font-size: 240px; color: rgba(0,0,0,0.02); transform: rotate(-15deg); }

.news-list-card { border-radius: 12px; padding: 10px 0; }
.news-list-empty { padding: 100px 0; text-align: center; color: #999; }
.news-list-empty-icon { font-size: 64px; opacity: 0.2; display: block; margin-bottom: 20px; }
.news-list-pagination { padding: 40px 0; }

.news-side-card { border-radius: 12px; margin-bottom: 30px; }
.news-side-title { font-weight: 700; border-bottom: none; padding-top: 15px; }
.news-side-links { display: flex; flex-direction: column; gap: 15px; }
.news-side-link-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 15px; background: #f8f9fa; border-radius: 8px; color: #555; transition: 0.3s; }
.news-side-link-icon { font-size: 12px; }

.news-author-card { border-radius: 12px; }
.news-author-card-body { padding: 30px; text-align: center; }
.news-author-avatar { width: 80px; height: 80px; border-radius: 50%; margin-bottom: 15px; border: 3px solid #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.news-author-name { font-weight: 700; font-size: 18px; color: #333; }
.news-author-desc { font-size: 12px; color: #999; margin-top: 8px; }
.news-author-action { margin-top: 20px; display: flex; justify-content: center; gap: 15px; }
.news-author-btn { border-radius: 20px; padding: 0 20px; }

.article-detail-card { padding: 50px; border-radius: 12px; margin-bottom: 30px; border: 1px solid var(--aura-border); }
.article-detail-breadcrumb { margin-bottom: 30px; visibility: visible; }
.article-detail-title { font-size: 34px; font-weight: 800; margin-bottom: 30px; line-height: 1.4; color: #1a1a1a; }
.article-detail-meta { margin-bottom: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; color: #888; font-size: 14px; padding-bottom: 30px; border-bottom: 1px solid var(--aura-border); }
.article-detail-meta-item { display: flex; align-items: center; gap: 6px; }
.article-detail-meta-icon { font-size: 18px; }
.article-detail-content-wrap { line-height: 1.8; font-size: 16px; color: #333; }
.article-detail-footer { margin-top: 60px; padding-top: 30px; border-top: 1px dashed #eee; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.article-detail-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.article-tag-badge { padding: 6px 15px; font-size: 12px; border-radius: 4px; transition: 0.3s; }
.article-detail-actions { display: flex; gap: 15px; }
.article-reward-btn { border-radius: 20px; transition: 0.3s; padding: 0 25px; }
.article-reward-icon { font-size: 18px; vertical-align: middle; margin-right: 5px; }

/* ==========================================================================
   PC Desktop Footer Redesign (3-Column Layout)
   ========================================================================== */
.aura-footer-pc {
    background: #ffffff !important;
    border-top: 1px solid var(--aura-border);
    padding: 60px 0 30px !important;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.aura-footer-pc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--aura-primary), transparent);
    opacity: 0.3;
}

.aura-footer-pc .footer-brand-col {
    padding-right: 40px !important;
}

.aura-footer-pc .footer-logo { 
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px; 
    font-weight: 800; 
    color: #1a1a1a; 
    margin-bottom: 20px; 
    font-family: 'Outfit', sans-serif;
    text-decoration: none;
    transition: 0.3s;
}

.aura-footer-pc .footer-logo:hover {
    color: var(--aura-primary);
}

.aura-footer-pc .footer-logo-icon { 
    font-size: 28px; 
    color: var(--aura-primary);
}

.aura-footer-pc .footer-desc { 
    color: #666; 
    font-size: 14px; 
    line-height: 1.8; 
    margin-bottom: 25px;
}

.aura-footer-pc .footer-social-links {
    display: flex;
    gap: 15px;
}

.aura-footer-pc .social-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #555;
    font-size: 20px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--aura-border);
}

.aura-footer-pc .social-icon-btn:hover {
    background: var(--aura-primary);
    color: #ffffff;
    border-color: var(--aura-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(255, 87, 34, 0.2);
}

.aura-footer-pc .footer-title { 
    color: #1a1a1a; 
    margin-bottom: 25px; 
    font-weight: 700; 
    font-size: 16px; 
    position: relative;
    padding-bottom: 12px;
}

.aura-footer-pc .footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 3px;
    background: var(--aura-primary);
    border-radius: 2px;
}

.aura-footer-pc .footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aura-footer-pc .footer-link-list li {
    margin-bottom: 14px;
}

.aura-footer-pc .footer-link-list a { 
    color: #666; 
    font-size: 14px; 
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}

.aura-footer-pc .footer-link-list a:hover { 
    color: var(--aura-primary); 
    transform: translateX(4px); 
}

.aura-footer-pc .footer-bottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #aaa;
}

.aura-footer-pc .footer-powered a {
    color: #888;
    font-weight: 600;
    transition: 0.2s;
}

.aura-footer-pc .footer-powered a:hover {
    color: var(--aura-primary);
}

/* ==========================================================================
   Minimal Footer Redesign (Mobile specific)
   ========================================================================== */
.aura-footer-minimal {
    position: relative;
    background: #ffffff;
    border-top: 1px solid rgba(0,0,0,0.04);
    padding: 70px 0 30px;
    margin-top: 80px;
}

/* Subtle gradient top border line */
.aura-footer-minimal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--aura-primary), transparent);
    opacity: 0.15;
}

.footer-minimal-brand {
    text-align: center;
    margin-bottom: 40px;
}

.footer-minimal-brand .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 26px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-minimal-brand .footer-logo i {
    color: var(--aura-primary);
    font-size: 32px;
}

.footer-minimal-brand .footer-logo:hover {
    color: var(--aura-primary);
}

.footer-slogan {
    color: #888;
    font-size: 15px;
    margin: 15px 0 25px;
    letter-spacing: 1px;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-socials .social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #555;
    font-size: 22px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.05);
}

.footer-socials .social-btn:hover {
    background: var(--aura-primary);
    color: #fff;
    border-color: var(--aura-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 87, 34, 0.2);
}

/* Centralized Nav Pill Grid */
.footer-minimal-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px 30px;
    margin-bottom: 50px;
}

.footer-minimal-nav a {
    color: #666;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
    position: relative;
    padding: 5px 0;
}

.footer-minimal-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--aura-primary);
    transition: width 0.3s;
    border-radius: 2px;
}

.footer-minimal-nav a:hover {
    color: var(--aura-primary);
}

.footer-minimal-nav a:hover::after {
    width: 100%;
}

/* Minimal Copyright */
.footer-minimal-bottom {
    text-align: center;
    border-top: 1px dashed rgba(0,0,0,0.06);
    padding-top: 30px;
    color: #aaa;
    font-size: 13px;
    line-height: 2;
}

.footer-minimal-bottom .powered a {
    color: #888;
    font-weight: 600;
}

.footer-minimal-bottom .powered a:hover {
    color: var(--aura-primary);
}

/* Mobile Adjustments for Minimal Footer */
@media screen and (max-width: 768px) {
    .aura-footer-pc {
        display: none !important;
    }
    
    .aura-footer-mobile {
        display: block !important;
    }
    
    .aura-footer-minimal {
        padding: 50px 20px 20px;
        margin-top: 40px;
    }
    
    .footer-minimal-brand .footer-logo {
        font-size: 22px;
    }
    
    .footer-minimal-brand .footer-logo i {
        font-size: 26px;
    }
    
    .footer-slogan {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .footer-socials .social-btn {
        width: 38px;
        height: 38px;
        font-size: 18px;
        gap: 10px;
    }
    
    .footer-minimal-nav {
        gap: 12px 20px;
        margin-bottom: 35px;
    }
    
    .footer-minimal-nav a {
        font-size: 14px;
    }
    
    .footer-minimal-bottom {
        padding-top: 20px;
        font-size: 12px;
    }
}

@media screen and (min-width: 769px) {
    .aura-footer-pc {
        display: block !important;
    }
    
    .aura-footer-mobile {
        display: none !important;
    }
}

.article-prevnext-row { margin-bottom: 30px; }
.article-prevnext-card { display: block; padding: 25px; border-radius: 12px; transition: 0.3s; color: #555; border: 1px solid var(--aura-border); }
.article-prevnext-right { text-align: right; }
.article-prevnext-label { font-size: 12px; color: #999; margin-bottom: 8px; }
.article-prevnext-title { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #333; }
.article-prevnext-disabled { color: #ccc; border: 1px solid #f5f5f5; cursor: not-allowed; }

.article-recommend-title { margin: 40px 0 20px; font-weight: 700; font-size: 20px; display: flex; align-items: center; gap: 10px; }
.article-recommend-title-icon { color: var(--aura-primary); }
.article-recommend-row { margin-bottom: 40px; }
.article-recommend-card { display: block; border-radius: 10px; overflow: hidden; transition: 0.3s; border: 1px solid var(--aura-border); }
.article-recommend-cover-wrap { height: 150px; }
.article-recommend-cover { width: 100%; height: 100%; object-fit: cover; }
.article-recommend-body { padding: 15px; }
.article-recommend-item-title { font-weight: 700; font-size: 16px; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #333; }
.article-recommend-meta { font-size: 12px; color: #999; }

.article-comment-card { padding: 40px; border-radius: 12px; border: 1px solid var(--aura-border); }
.article-comment-title { font-weight: 700; font-size: 20px; margin-bottom: 30px; display: flex; align-items: center; gap: 10px; }
.article-comment-title-icon { color: var(--aura-primary); }
.article-comment-fields-row { margin-bottom: 20px; }
.comment-input { border-radius: 8px; }
.article-comment-submit-wrap { text-align: right; }
.article-comment-submit-btn { background-color: var(--aura-primary); border-radius: 20px; padding: 0 40px; box-shadow: 0 10px 20px rgba(255,87,34,0.15); }
.article-comment-list { margin-top: 50px; }
.article-comment-empty { text-align: center; color: #999; padding: 30px 0; }
.article-comment-empty-icon { font-size: 48px; opacity: 0.1; display: block; margin-bottom: 10px; }
.article-comment-item { display: flex; gap: 15px; padding-bottom: 30px; border-bottom: 1px solid #f1f1f1; margin-bottom: 30px; }
.article-comment-avatar { width: 44px; height: 44px; border-radius: 50%; }
.article-comment-main { flex: 1; }
.article-comment-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 8px; }
.article-comment-user { font-weight: 700; font-size: 15px; color: #333; }
.article-comment-time { color: #999; font-size: 12px; }
.article-comment-text { color: #555; font-size: 14px; line-height: 1.6; background: #f8f9fa; padding: 15px; border-radius: 8px; border-top-left-radius: 0; }
.article-comment-closed { text-align: center; color: #999; padding: 20px 0; font-style: italic; }

.article-author-card { border-radius: 12px; margin-bottom: 30px; border: 1px solid var(--aura-border); }
.article-author-body { padding: 40px; text-align: center; background: linear-gradient(180deg, rgba(255,87,34,0.02) 0%, #fff 100%); }
.article-author-avatar { width: 100px; height: 100px; border-radius: 50%; margin-bottom: 20px; border: 4px solid #fff; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.article-author-name { font-weight: 800; font-size: 20px; color: #1a1a1a; }
.article-author-role { font-size: 13px; color: var(--aura-primary); margin: 8px 0 15px; }
.article-author-desc { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 25px; }
.article-author-actions { display: flex; justify-content: center; gap: 20px; }
.article-author-icon-btn { width: 40px; height: 40px; border-radius: 50%; background: #f8f9fa; display: flex; align-items: center; justify-content: center; color: #555; transition: 0.3s; }
.article-author-icon { font-size: 20px; }

.article-hot-card { border-radius: 12px; border: 1px solid var(--aura-border); }
.article-hot-title { font-weight: 700; border-bottom: none; padding-top: 15px; }
.article-hot-item { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; transition: 0.3s; }
.article-hot-thumb-wrap { width: 60px; height: 60px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.article-hot-thumb { width: 100%; height: 100%; object-fit: cover; }
.article-hot-main { flex: 1; min-width: 0; }
.article-hot-item-title { font-size: 14px; font-weight: 600; color: #333; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.4; }
.article-hot-item-meta { font-size: 12px; color: #999; margin-top: 5px; }
.article-hot-item-title {
    line-height: 1.5;
    max-height: 42px;
    overflow-wrap: anywhere;
}

.article-toc-wrap {
    position: relative;
}

.article-detail-layout .layui-col-md4 {
    position: relative;
    align-self: flex-start;
}

.article-toc-card {
    position: sticky;
    top: 86px;
    border-radius: 12px;
    background: #fff;
    z-index: 3;
}

.article-toc-card.is-following {
    position: absolute !important;
    top: 86px !important;
    left: 0 !important;
    width: 100% !important;
}

.article-toc-card.toc-empty {
    display: none;
}

.article-toc-title {
    font-weight: 700;
}

.article-toc-list {
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: calc(100vh - 170px);
    overflow: auto;
    padding-right: 4px;
}

.article-toc-list .toc-item + .toc-item {
    margin-top: 8px;
}

.article-toc-list .toc-item a {
    display: block;
    color: #6b7280;
    line-height: 1.5;
    font-size: 13px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.article-toc-list .toc-item a:hover,
.article-toc-list .toc-item a.active {
    color: var(--aura-primary);
}

.article-toc-list .toc-item-h3 a {
    padding-left: 12px;
    font-size: 12px;
}

.article-toc-list .toc-item-h4 a {
    padding-left: 20px;
    font-size: 12px;
    opacity: 0.92;
}

.article-toc-list .toc-item-h5 a {
    padding-left: 28px;
    font-size: 12px;
    opacity: 0.88;
}

.article-toc-list .toc-item-h6 a {
    padding-left: 36px;
    font-size: 12px;
    opacity: 0.84;
}

.article-toc-list .toc-item-empty {
    color: #9ca3af;
    font-size: 12px;
}

.aura-like-trigger.liked {
    color: var(--aura-primary);
    pointer-events: none;
}

/* Semantic classes - batch 2 (topics/about/disclaimer/links/sitemap) */
.topic-page-title { font-size: 40px; font-weight: 800; color: #1a1a1a; margin-bottom: 15px; font-family: 'Outfit'; }
.topic-page-desc { color: #666; font-size: 17px; max-width: 600px; margin: 0 auto; }
.topic-footer-icon { vertical-align: middle; margin-right: 4px; }
.topic-readmore { color: var(--aura-primary); font-weight: 600; }
.topic-empty { text-align: center; padding: 100px 0; color: #999; width: 100%; }
.topic-empty-icon { font-size: 64px; opacity: 0.1; display: block; margin-bottom: 20px; }

.about-hero-title { font-size: 42px; font-weight: 800; color: #1a1a1a; font-family: 'Outfit'; }
.about-hero-subtitle { font-size: 18px; color: var(--aura-primary); font-weight: 600; margin-top: 10px; }
.about-intro { margin-bottom: 25px; font-size: 18px; font-weight: 500; color: #333; }
.about-vision-list { list-style: disc; margin-left: 20px; margin-top: 15px; color: #666; }
.about-quote { background: linear-gradient(90deg, #f8f9fa 0%, #fff 100%); border-left: 4px solid var(--aura-primary); padding: 30px; margin: 40px 0; border-radius: 0 12px 12px 0; font-style: italic; font-family: 'Inter'; color: #333; }
.about-tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
.about-tech-item { padding: 20px; background: #fbfbfc; border-radius: 10px; border: 1px solid #f1f1f1; }
.about-tech-title { font-weight: 700; color: var(--aura-primary); margin-bottom: 10px; }
.about-tech-desc { font-size: 14px; color: #888; }

.doc-footer { margin-top: 60px; padding-top: 30px; border-top: 1px dashed #eee; text-align: center; }
.doc-footer-note { font-size: 13px; color: #bbb; }
.doc-back-home { display: inline-block; margin-top: 20px; color: var(--aura-primary); font-weight: 600; }

.links-page-title { font-size: 36px; font-weight: 800; color: #1a1a1a; margin-bottom: 15px; font-family: 'Outfit'; }
.links-page-desc { color: #666; font-size: 16px; max-width: 600px; margin: 0 auto; line-height: 1.6; }
.link-avatar-fallback { background: var(--aura-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 24px; }
.links-apply-title { font-size: 22px; font-weight: 800; margin-bottom: 25px; color: #1a1a1a; }
.links-apply-desc { color: #666; font-size: 14px; margin-bottom: 30px; line-height: 2; }
.links-site-card { background: rgba(255,87,34,0.03); border: 1px solid rgba(255,87,34,0.1); padding: 25px; border-radius: 12px; font-family: 'Inter', sans-serif; }
.links-site-row { margin-bottom: 10px; display: flex; gap: 10px; }
.links-site-label { color: #999; width: 60px; }
.links-site-value { font-weight: 600; color: #333; }
.links-site-url { color: var(--aura-primary); word-break: break-all; }
.links-site-desc { color: #666; }
.links-form-card { border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); padding: 40px; margin-top: -10px; }
.links-form-title { font-weight: 700; margin-bottom: 25px; }
.links-form-input { border-radius: 8px; }
.links-form-submit { background: var(--aura-primary); border-radius: 8px; width: 100%; height: 45px; font-weight: 600; }

.sitemap-card { padding: 40px; border-radius: 12px; margin-bottom: 30px; }
.sitemap-title { font-size: 28px; font-weight: 700; color: #333; margin-bottom: 20px; }
.sitemap-desc { color: #777; font-size: 15px; margin-bottom: 40px; }
.sitemap-section-title { font-weight: 700; font-size: 18px; margin-bottom: 20px; color: var(--aura-primary); }
.sitemap-section-icon { margin-right: 8px; }
.sitemap-timeline-title { font-weight: 600; }
.sitemap-sub-list { padding-left: 20px; margin-top: 10px; }
.sitemap-sub-link { color: #555; text-decoration: underline; }
.sitemap-page-list-wrap { background: #f9fafb; border-radius: 8px; padding: 20px; }
.sitemap-page-list { line-height: 2.5; font-size: 15px; }
.sitemap-page-link { color: #555; font-weight: 500; }
.sitemap-page-link-icon { margin-right: 5px; color: #999; }
.sitemap-logo-wrap { margin-top: 40px; text-align: center; }
.sitemap-logo { opacity: 0.1; width: 60%; mix-blend-mode: multiply; }

@media (max-width: 768px) {
    .topic-page-header.aura-page-hero,
    .links-header.aura-page-hero {
        margin-bottom: 20px;
    }

    /* About Us - Mobile Layout Replacements */
    .aura-about-container {
        padding: 0 15px !important;
    }
    
    .hero-section.aura-page-hero {
        margin-top: 65px;
        padding: 0 20px 30px !important;
        overflow: visible !important; /* Critical: Prevent avatar from clipping */
        background: #ffffff;
        box-shadow: 0 4px 15px rgba(0,0,0,0.03);
        border: none;
        height: auto !important;
        min-height: auto !important;
        display: block !important;
        text-align: center !important;
    }

    .hero-section .hero-avatar {
        width: 110px;
        height: 110px;
        margin-top: -55px; /* Create the overlap effect */
        border-width: 4px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.08);
        margin-bottom: 20px;
        display: inline-block;
    }

    .hero-section .about-hero-title {
        font-size: 26px !important;
        margin-bottom: 8px;
    }

    .hero-section .about-hero-subtitle {
        font-size: 13px !important;
    }
    
    .hero-section .tech-badges {
        margin-top: 25px;
        gap: 8px;
    }

    .hero-section .tech-badge {
        padding: 6px 14px;
        font-size: 12px;
    }

    .content-card {
        padding: 30px 20px !important; /* Reduce 60px padding to 30px/20px */
        border-radius: 12px;
        margin-bottom: 20px;
        border: none;
        box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    }

    .content-card .social-links {
        margin-top: 35px !important;
        padding-top: 30px;
        border-top: 1px dashed rgba(0,0,0,0.06);
        gap: 15px !important;
    }
    
    .social-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .section-title {
        font-size: 20px !important;
        margin: 30px 0 15px !important;
    }

    .about-tech-grid { grid-template-columns: 1fr; }
    
    /* Other specific mobile overrides */
    .links-form-card { margin-top: 0; }
    .article-toc-card {
        position: static;
    }
    .article-toc-list {
        max-height: none;
        overflow: visible;
    }
}

/* ==========================================================================
   2026-03-22 新增 / 优化的页面专属样式
   ========================================================================== */

/* ----------------------------------
   专题列表页 (Topics/Series) Premium PC Design
   ---------------------------------- */
.aura-page-hero {
    position: relative;
    padding: 100px 20px 80px;
    border-radius: 20px;
    margin-bottom: 60px;
    overflow: hidden;
    background: #fdfdfd;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: inset 0 0 100px rgba(0,0,0,0.01);
}

.hero-mesh-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Create a gorgeous soft mesh mesh gradient */
    background-image: 
        radial-gradient(at 0% 0%, rgba(255, 87, 34, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(30, 159, 255, 0.03) 0px, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin: 0 auto;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    font-size: 13px;
    border-radius: 30px;
    font-weight: 700;
    color: var(--aura-primary);
    background: rgba(255, 87, 34, 0.08); /* Primary color low opacity */
    letter-spacing: 1px;
}

.topic-page-title.display-title {
    font-size: 44px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 25px 0 20px;
    letter-spacing: -1.5px;
    line-height: 1.2;
}

.topic-page-desc.text-muted {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 35px;
}

.hero-stats {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.hero-stats .divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ccc;
}
.topic-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.topic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.08); /* Minimalist hover border change, neutral not strictly primary */
}

/* Add an internal glow effect */
.topic-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
    border-radius: 24px;
    pointer-events: none;
}

.topic-cover-wrap {
    height: 240px;
    position: relative;
    overflow: hidden;
    margin: 10px 10px 0; /* floating isolated cover */
    border-radius: 16px; 
}

.topic-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.topic-card:hover .topic-cover { 
    transform: scale(1.08);
}

.topic-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.topic-glass-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.topic-body {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.topic-title {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
    transition: color 0.3s;
}

.topic-card:hover .topic-title { 
    color: var(--aura-primary); 
}

.topic-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
    flex: 1;
}

.topic-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.04);
}

.topic-footer-tag {
    font-size: 12px;
    font-weight: 600;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 6px;
}

.topic-readmore {
    font-size: 13px;
    font-weight: 700;
    color: var(--aura-primary);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

.topic-readmore i {
    transition: transform 0.3s;
}

.topic-card:hover .topic-readmore i {
    transform: translateX(4px);
}
.topic-empty-state {
    text-align: center;
    padding: 100px 0;
    background: #fff;
    border-radius: 20px;
    border: 2px dashed #eee;
}
.topic-empty-icon {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 20px;
}
.topic-empty-state p {
    color: #999;
    margin-bottom: 25px;
}

/* ----------------------------------
   专题/分类归档详情页 (Series/Category)
   ---------------------------------- */
.series-hero-card {
    position: relative;
    padding: 0 60px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--aura-border, #eee);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    height: 400px;
}
.series-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    z-index: 0;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.series-hero-card:hover .series-hero-bg { transform: scale(1.03); }
.series-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}
.series-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 650px;
    margin: 0;
}
.series-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #ff5722;
    font-weight: 700;
    margin-bottom: 25px;
    background: rgba(255, 87, 34, 0.1);
    padding: 6px 14px;
    border-radius: 30px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}
.series-hero-card.has-bg-cover .series-hero-badge {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255,255,255,0.2);
}
.series-hero-badge .layui-badge-dot { background-color: #ff5722 !important; }
.series-hero-card.has-bg-cover .series-hero-badge .layui-badge-dot { background-color: #fff !important; }
.series-hero-title {
    font-size: 46px;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -1px;
}
.series-hero-card.has-bg-cover .series-hero-title {
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.series-hero-desc {
    font-size: 17px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 35px;
}
.series-hero-card.has-bg-cover .series-hero-desc { color: rgba(255, 255, 255, 0.85); }
.series-hero-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: #f4f6f8;
    border-radius: 12px;
    font-size: 14px;
    color: #555;
    font-weight: 600;
    transition: all 0.3s;
}
.series-hero-card.has-bg-cover .meta-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.meta-tag:hover {
    background: #ebeef2;
    color: #1a1a1a;
}
.series-hero-card.has-bg-cover .meta-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.meta-tag i.meta-icon {
    font-size: 18px;
    color: var(--aura-primary, #ff5722);
}
.series-hero-card.has-bg-cover .meta-tag i.meta-icon { color: #fff; }

/* ----------------------------------
   文章详情页 (Detail)
   ---------------------------------- */
#article-toc-wrap {
    position: sticky;
    top: 86px;
    z-index: 10;
}
#article-toc-list {
    max-height: calc(100vh - 180px);
    overflow-y: auto;
}
.toc-empty {
    display: none !important;
}

/* ----------------------------------
   响应式调整 (Mobile)
   ---------------------------------- */
@media screen and (max-width: 768px) {
    .series-hero-card {
        padding: 0 25px;
        height: 300px;
        justify-content: center;
        text-align: center;
    }
    .series-hero-overlay {
        background: rgba(0, 0, 0, 0.6);
    }
    .series-hero-title {
        font-size: 34px;
    }
    .series-hero-meta {
        justify-content: center;
    }
}

/* ----------------------------------
   侧边栏小组件 (Sidebar Widgets)
   ---------------------------------- */
.news-side-recommend { display: flex; flex-direction: column; gap: 15px; }
.recommend-item { display: flex; gap: 12px; align-items: center; transition: all 0.3s; padding: 5px; border-radius: 8px; }
.recommend-item:hover { background: #f8f9fa; }
.recommend-cover { width: 70px; height: 50px; flex-shrink: 0; border-radius: 6px; overflow: hidden; }
.recommend-cover img { width: 100%; height: 100%; object-fit: cover; }
.recommend-info { flex: 1; min-width: 0; }
.recommend-title { font-size: 14px; color: #333; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; transition: color 0.3s; }
.recommend-item:hover .recommend-title { color: var(--aura-primary); }
.recommend-meta { font-size: 12px; color: #999; display: flex; align-items: center; gap: 5px; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-item { display: inline-block; padding: 4px 12px; background: #f4f6f8; border-radius: 15px; font-size: 13px; color: #666; transition: all 0.3s; border: 1px solid transparent; }
.tag-item:hover { background: var(--aura-primary); color: #fff; border-color: var(--aura-primary); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(255,87,34,0.2); }

/* ==========================================================================
   Article Detail Page Header & Meta Styling
   ========================================================================== */
.article-detail-card {
    padding: 40px 50px;
    border-radius: 20px;
    border: none;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    margin-bottom: 25px;
}

.article-detail-breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
}

.article-detail-breadcrumb a {
    color: #6c757d !important;
}

.article-detail-breadcrumb cite {
    color: var(--aura-primary) !important;
    font-weight: 600;
}

.article-detail-title {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.35;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

/* Cleaned up abandoned meta class replaced by default .article-meta */

/* Custom sizing for the detail page meta block */
.detail-page-meta {
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 14.5px !important; /* PC text size */
    gap: 20px;
}
.detail-page-meta span i {
    font-size: 16px !important;
    margin-right: 6px !important;
}

/* Mobile Adjustments for Detail Layout */
@media screen and (max-width: 768px) {
    .article-detail-card {
        padding: 25px 20px;
        border-radius: 12px;
    }
    
    .article-detail-title {
        font-size: 26px;
        margin-bottom: 15px;
    }
    
    .detail-page-meta {
        font-size: 13px !important; /* Mobile text size */
        gap: 12px 15px !important;    /* Tighter gap on mobile */
        padding-bottom: 20px !important;
        margin-bottom: 20px !important;
    }
    
    .detail-page-meta span i {
        font-size: 14px !important;
        margin-right: 4px !important;
    }
    
    .aura-breadcrumb-sep {
        margin: 0 8px !important;
        color: #ddd !important;
    }
}

/* ==========================================================================
   Aura Premium Typography (Rich Text Formatting for Articles)
   ========================================================================== */
.aura-typography {
    font-size: 16px;
    line-height: 1.85;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    word-wrap: break-word;
    word-break: break-word;
}

.aura-typography p {
    margin: 0 0 20px;
}

.aura-typography h1, 
.aura-typography h2, 
.aura-typography h3, 
.aura-typography h4, 
.aura-typography h5, 
.aura-typography h6 {
    color: #1a1a1a;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.aura-typography h1 { font-size: 28px; }
.aura-typography h2 { 
    font-size: 24px; 
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}
.aura-typography h3 { font-size: 20px; }
.aura-typography h4 { font-size: 18px; }

/* Links */
.aura-typography a {
    color: var(--aura-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.aura-typography a:hover {
    border-bottom-color: var(--aura-primary);
}

/* Base bolding */
.aura-typography b, .aura-typography strong {
    font-weight: 700;
    color: #111;
}

/* Blockquotes */
.aura-typography blockquote {
    margin: 30px 0;
    padding: 20px 25px;
    border-left: 4px solid var(--aura-primary);
    background: #f8f9fa;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #555;
    position: relative;
}

.aura-typography blockquote p:last-child {
    margin-bottom: 0;
}

/* Lists */
.aura-typography ul, 
.aura-typography ol {
    margin: 0 0 25px 25px;
    padding: 0;
}

.aura-typography ul li, 
.aura-typography ol li {
    margin-bottom: 8px;
}

.aura-typography ul {
    list-style-type: disc;
}

.aura-typography ol {
    list-style-type: decimal;
}

.aura-typography li > ul, 
.aura-typography li > ol {
    margin-top: 8px;
    margin-bottom: 0;
}

/* Responsive Images & Media */
.aura-typography img,
.aura-typography video,
.aura-typography iframe {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* Inline Code */
.aura-typography code {
    padding: 3px 6px;
    background: #f1f3f5;
    color: #e83e8c;
    border-radius: 6px;
    font-size: 0.9em;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}

/* Pre block formatting overrides */
.aura-typography pre {
    background: #1e1e1e;
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
    overflow-x: auto;
}

.aura-typography pre code {
    background: transparent;
    color: #d4d4d4;
    padding: 0;
    border-radius: 0;
    font-size: 14px;
    white-space: pre-wrap; 
}

/* Tables */
.aura-typography table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 0 1px #eee;
}

.aura-typography table th,
.aura-typography table td {
    padding: 15px;
    border: 1px solid #eee;
    text-align: left;
}

.aura-typography table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.aura-typography table tr:nth-child(even) {
    background: #fcfcfc;
}

/* Horizontal Rule */
.aura-typography hr {
    margin: 40px 0;
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #e0e0e0, transparent);
}

/* Task lists (Github style) */
.aura-typography .task-list-item {
    list-style-type: none;
    margin-left: -20px;
}

.aura-typography .task-list-item input[type="checkbox"] {
    margin-right: 8px;
    margin-top: 5px;
    vertical-align: top;
}

/* Mobile typography adjustments */
@media screen and (max-width: 768px) {
    .aura-typography {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .aura-typography h1 { font-size: 24px; }
    .aura-typography h2 { font-size: 21px; }
    .aura-typography h3 { font-size: 18px; }
    
    .aura-typography blockquote {
        padding: 15px 20px;
        margin: 20px 0;
    }
    
    .aura-typography table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
