/* ==========================================================================
   核心变量与全局美化 (极光青主题)
   ========================================================================== */
:root {
    --primary: #0d9488;        
    --primary-hover: #0f766e;
    --primary-light: #f0fdfa;  
    --accent: #f97316;         
    --bg-body: #f4f7f9;        
    --bg-sidebar: rgba(255, 255, 255, 0.9); 
    --text-main: #334155;
    --text-dark: #0f172a;
    --text-sub: #64748b;
    --radius-main: 24px;       
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px -10px rgba(13, 148, 136, 0.15);
    
    --gold-grad: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
    --cyan-grad: linear-gradient(135deg, #2dd4bf 0%, #0f766e 100%);
}

html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; outline: none; }

/* 滚动条定制 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; border: 2px solid var(--bg-body); }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

body {
    font-family: 'Inter', "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    font-size: 15px; line-height: 1.8; letter-spacing: 0.02em;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 32px 32px; position: relative; overflow-x: hidden;
}

/* 环境背景氛围光 */
body::before, body::after {
    content: ''; position: fixed; filter: blur(150px); z-index: -1; 
    opacity: 0.5; border-radius: 50%; pointer-events: none;
}
body::before { top: -10%; left: -10%; width: 60vw; height: 60vw; background: radial-gradient(circle, #99f6e4, transparent 70%); }
body::after { bottom: -10%; right: -10%; width: 50vw; height: 50vw; background: radial-gradient(circle, #bae6fd, transparent 70%); }

ul, li { list-style: none; }
a { text-decoration: none; color: inherit; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer;}
img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 页面加载动画 */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-up { animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
.delay-1 { animation-delay: 0.1s; } 
.delay-2 { animation-delay: 0.2s; } 
.delay-3 { animation-delay: 0.3s; } 
.delay-4 { animation-delay: 0.4s; }

/* ==========================================================================
   侧边栏固定导航栏
   ========================================================================== */
.g-sidenav {
    position: fixed; left: 24px; top: 24px; bottom: 24px; width: 270px; 
    background: var(--bg-sidebar); border-radius: var(--radius-main); z-index: 1000; display: flex; flex-direction: column;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.04); border: 1px solid rgba(255,255,255,1); 
    backdrop-filter: blur(24px); overflow: hidden;
}
.brand-area { 
    height: 96px; display: flex; align-items: center; padding: 0 24px; 
    border-bottom: 1px dashed rgba(0,0,0,0.06); margin-bottom: 12px; position: relative;
}
.logo-icon {
    width: 44px; height: 44px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
    margin-right: 14px; color: #fff; font-size: 20px; box-shadow: 0 8px 16px rgba(13, 148, 136, 0.25); flex-shrink: 0;
}
.logo-cn { font-size: 22px; font-weight: 900; letter-spacing: 2px; background: linear-gradient(to right, #0f172a, var(--primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.nav-list { padding: 0 16px 20px; flex: 1; overflow-y: auto; scrollbar-width: none; }
.nav-list::-webkit-scrollbar { display: none; }
.nav-title { font-size: 12px; font-weight: 800; color: #94a3b8; padding: 0 12px; margin: 24px 0 12px 0; text-transform: uppercase; letter-spacing: 2px; display: flex; align-items: center; }
.nav-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(0,0,0,0.05), transparent); margin-left: 12px; }
.nav-list li { margin-bottom: 8px; }
.nav-list li a { display: flex; align-items: center; padding: 12px 14px; color: #475569; border-radius: 16px; font-weight: 600; font-size: 15px; letter-spacing: 0.05em; transition: all 0.3s; position: relative; }
.nav-list li a i { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; margin-right: 14px; font-size: 16px; border-radius: 12px; background: rgba(0,0,0,0.03); color: #64748b; transition: all 0.3s; }
.nav-list li.active a { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%); color: #fff; box-shadow: 0 8px 20px -6px rgba(13, 148, 136, 0.5); }
.nav-list li.active a i { background: rgba(255,255,255,0.25); color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.nav-list li:not(.active) a:hover { background: rgba(13, 148, 136, 0.06); color: var(--primary-hover); transform: translateX(6px); }
.nav-list li:not(.active) a:hover i { background: #fff; color: var(--primary); box-shadow: 0 4px 12px rgba(13, 148, 136, 0.12); transform: scale(1.08) rotate(3deg); }

/* 左侧导航悬浮二级子菜单 */
.nav-submenu {
    position: fixed; background: rgba(255, 255, 255, 0.96); border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 15px 40px -5px rgba(13, 148, 136, 0.12); backdrop-filter: blur(24px); border-radius: 20px;
    padding: 24px; z-index: 1001; width: 440px; opacity: 0; visibility: hidden; transform: translateX(-15px);
    transition: all 0.3s; pointer-events: none; max-height: 85vh; overflow-y: auto;
}
.nav-submenu::-webkit-scrollbar { width: 4px; }
.nav-submenu::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.nav-submenu.show { opacity: 1; visibility: visible; transform: translateX(0); pointer-events: auto; }

#submenu-mobile { width: 620px; }
#submenu-mobile .submenu-grid { grid-template-columns: repeat(3, 1fr); }

.submenu-title { font-size: 16px; font-weight: 800; color: var(--text-dark); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px dashed rgba(0,0,0,0.06); display: flex; align-items: center; gap: 10px; }
.submenu-title i { color: var(--primary); font-size: 18px; }
.submenu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 16px; }
.submenu-grid a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; color: var(--text-main); font-size: 13px; font-weight: 700; background: rgba(0,0,0,0.02); border: 1px solid transparent; transition: 0.3s;}
.submenu-grid a i { color: var(--text-sub); width: 18px; text-align: center; transition: 0.3s; }
.submenu-grid a:hover { background: var(--primary-light); color: var(--primary-hover); transform: translateX(4px); border-color: rgba(13, 148, 136, 0.1);}
.submenu-grid a:hover i { color: var(--primary); transform: scale(1.1); }

/* 主体内容网格 */
.main-container { margin-left: 320px; padding: 30px 40px 60px 10px; max-width: 1300px; margin-right: auto; overflow-x: hidden; }

/* ==========================================================================
   顶部 Header 与热搜下拉
   ========================================================================== */
.top-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; position: relative; z-index: 1000; }
.breadcrumb { font-size: 14px; font-weight: 600; color: #64748b; display: flex; align-items: center; gap: 8px;}
.breadcrumb a { color: var(--primary); transition: 0.3s; }
.breadcrumb a:hover { color: var(--primary-hover); text-decoration: underline;}
.breadcrumb i { font-size: 12px; color: #cbd5e1;}

.search-wrapper { position: relative; flex: 1; max-width: 480px; display: flex; align-items: center; margin-left: auto;}
.search-input {
    width: 100%; height: 50px; padding: 0 100px 0 24px; border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 1); background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px); box-shadow: var(--shadow-soft);
    color: var(--text-dark); font-size: 14px; font-weight: 600; transition: all 0.4s ease;
}
.search-input::placeholder { color: #94a3b8; font-weight: 500; }
.search-input:focus {
    background: #ffffff; border-color: var(--primary);
    box-shadow: 0 15px 35px -10px rgba(13, 148, 136, 0.25), 0 0 0 4px rgba(13, 148, 136, 0.1);
}
.search-btn {
    position: absolute; right: 5px; top: 5px; bottom: 5px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #fff; border-radius: 20px; padding: 0 24px; display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 800; cursor: pointer; transition: all 0.3s ease; letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}
.search-btn:hover { background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%); transform: translateY(-1px); box-shadow: 0 6px 15px rgba(13, 148, 136, 0.4); }

.search-dropdown {
    position: absolute; top: calc(100% + 14px); left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.98); border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 25px 50px -10px rgba(13, 148, 136, 0.15); backdrop-filter: blur(24px);
    border-radius: 20px; padding: 24px; z-index: 1001; opacity: 0; visibility: hidden;
    transform: translateY(-10px); transition: all 0.3s; pointer-events: none;
    max-height: 480px; overflow-y: auto;
}
.search-dropdown.show { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.search-dropdown::-webkit-scrollbar { width: 6px; }
.search-dropdown::-webkit-scrollbar-track { background: transparent; }
.search-dropdown::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }

.sd-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px dashed rgba(0,0,0,0.06); position: sticky; top: -24px; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); z-index: 10; padding-top: 24px; margin-top: -24px; }
.sd-title { font-size: 16px; font-weight: 800; color: var(--text-dark); display: flex; align-items: center; gap: 8px; }
.sd-title i { color: #ef4444; font-size: 18px; } 
.sd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.sd-item { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; color: var(--text-main); cursor: pointer; padding: 8px 12px; border-radius: 12px; transition: 0.2s; border: 1px solid transparent;}
.sd-item:hover { background: var(--primary-light); color: var(--primary-hover); transform: translateX(4px); border-color: rgba(13,148,136,0.1);}
.sd-idx { font-size: 15px; font-weight: 900; font-style: italic; color: #94a3b8; width: 22px; text-align: center; }
.sd-item:nth-child(1) .sd-idx { color: #ef4444; } 
.sd-item:nth-child(2) .sd-idx { color: #f97316; } 
.sd-item:nth-child(3) .sd-idx { color: #f59e0b; }
.sd-name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ==========================================================================
   图片放大查看器 (Lightbox Modal)
   ========================================================================== */
.lightbox-modal {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(15px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.lightbox-modal.active { opacity: 1; visibility: visible; }

.lightbox-toolbar {
    position: absolute; top: 20px; right: 30px; z-index: 10000;
    display: flex; gap: 15px; background: rgba(0,0,0,0.6);
    padding: 10px 16px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1);
}
.lightbox-toolbar i {
    color: #fff; font-size: 18px; cursor: pointer; transition: 0.3s;
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    border-radius: 10px; background: rgba(255,255,255,0.1);
}
.lightbox-toolbar i:hover { background: var(--primary); transform: translateY(-2px) scale(1.05); box-shadow: 0 5px 15px rgba(13,148,136,0.4); }

.lightbox-img-wrapper { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.lightbox-img {
    max-width: 90%; max-height: 90vh; border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6); object-fit: contain;
    cursor: grab; user-select: none;
    transform: scale(0.9); transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lightbox-img:active { cursor: grabbing; }
.lightbox-img.no-transition { transition: none !important; }
.lightbox-modal.active .lightbox-img.initial-zoom { transform: scale(1) translate(0px, 0px); }

/* ==========================================================================
   分栏网格与文章详情排版
   ========================================================================== */
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }

.article-main {
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 1); border-radius: var(--radius-main);
    padding: 50px 60px; margin-bottom: 30px;
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.05);
}

.article-header { margin-bottom: 35px; }
.article-title { font-size: 38px; font-weight: 900; color: var(--text-dark); line-height: 1.4; margin-bottom: 20px; letter-spacing: 0.5px; }
.article-meta { display: flex; align-items: center; gap: 20px; font-size: 14px; color: var(--text-sub); padding-bottom: 20px; border-bottom: 1px dashed rgba(0,0,0,0.08); flex-wrap: wrap; }
.meta-item { display: flex; align-items: center; gap: 6px; font-weight: 500; }
.meta-item i { color: var(--primary); font-size: 15px; }

/* 核心优化：防 CLS 布局抖动 */
.hero-img-container {
    width: 100%; aspect-ratio: 16 / 9; background-color: #e2e8f0; border-radius: 16px; margin-bottom: 40px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.article-hero-img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform 0.3s ease; }
.hero-img-container:hover .article-hero-img { transform: translateY(-3px); }

/* 正文 Typography 精细排版 */
.article-content { font-size: 16px; color: #334155; line-height: 2; }
.article-content p { margin-bottom: 24px; text-align: justify; }
.article-content h2 { font-size: 24px; font-weight: 900; color: var(--text-dark); margin: 45px 0 20px 0; display: flex; align-items: center; gap: 12px; }
.article-content h2::before { content: ''; width: 6px; height: 24px; background: var(--primary); border-radius: 4px; }
.article-content h3 { font-size: 20px; font-weight: 800; color: var(--text-dark); margin: 30px 0 15px 0; }
.article-content blockquote {
    background: #f8fafc; border-left: 4px solid var(--primary); padding: 20px 24px; margin: 30px 0; border-radius: 0 12px 12px 0; font-size: 15px; color: #475569; font-weight: 500; font-style: italic;
}

/* 正文插图容器防 CLS */
.content-img-container {
    width: 100%; aspect-ratio: 16 / 9; background-color: #e2e8f0; border-radius: 12px; margin: 30px 0; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}
.article-content .content-img-container img { width: 100%; height: 100%; object-fit: cover; margin: 0; cursor: zoom-in; transition: 0.3s; }
.article-content .content-img-container img:hover { filter: brightness(0.95); }
.article-content strong { color: var(--text-dark); font-weight: 800; }

.image-caption { text-align: center; font-size: 13px; color: #94a3b8; font-weight: 500; margin-top: -15px; margin-bottom: 30px; display: block; }

.article-end { display: flex; align-items: center; justify-content: center; gap: 15px; margin: 50px 0 30px; color: #cbd5e1; font-weight: 800; font-size: 13px; letter-spacing: 2px; }
.article-end .line { flex: 1; height: 1px; background: rgba(0,0,0,0.05); }

.article-tags-bottom { display: flex; gap: 10px; justify-content: center; margin-bottom: 10px; flex-wrap: wrap;}
.article-tags-bottom span {
    background: var(--bg-body); color: var(--text-sub); border: 1px solid rgba(0,0,0,0.05); padding: 8px 18px; border-radius: 20px; font-size: 13px; font-weight: 700; transition: 0.3s; cursor: pointer;
}
.article-tags-bottom span:hover { background: var(--primary-light); color: var(--primary); border-color: rgba(13,148,136,0.2); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(13,148,136,0.1); }

/* ==========================================================================
   右侧门户卡片样式
   ========================================================================== */
.side-card {
    background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(24px); border: 1px solid rgba(255, 255, 255, 1); border-radius: 20px; padding: 24px; margin-bottom: 24px; box-shadow: var(--shadow-soft);
}
.side-card-title { font-size: 16px; font-weight: 900; color: var(--text-dark); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px dashed rgba(0,0,0,0.08); display: flex; align-items: center; gap: 8px;}
.side-card-title i { color: var(--primary); }

/* 作者卡片 */
.author-box { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; margin-bottom: 20px; padding: 20px; background: #f8fafc; border-radius: 16px; border: 1px dashed rgba(0,0,0,0.05); }
.author-info { flex: 1; width: 100%;}
.author-name { font-size: 18px; font-weight: 900; color: var(--text-dark); display: flex; align-items: center; justify-content: center; gap: 6px;}
.author-name i { color: #f59e0b; font-size: 16px; }
.author-desc { font-size: 13px; color: var(--text-sub); font-weight: 500; margin-top: 8px; line-height: 1.6; }
.btn-follow { width: 100%; padding: 12px; background: var(--primary-light); color: var(--primary); border: 1px solid rgba(13,148,136,0.2); border-radius: 12px; font-size: 14px; font-weight: 800; text-align: center; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; gap: 6px;}
.btn-follow:hover { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(13,148,136,0.2);}

/* 推荐阅读列表 */
.trending-list { display: flex; flex-direction: column; gap: 16px;}
.trending-item { display: flex; gap: 12px; text-decoration: none; cursor: pointer; transition: 0.3s;}
.trending-item:hover { transform: translateX(4px); }
.tr-img-wrapper { width: 100px; height: 65px; border-radius: 8px; overflow: hidden; flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.tr-img { width: 100%; height: 100%; object-fit: cover; }
.tr-content { display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;}
.tr-title { font-size: 14px; font-weight: 700; color: var(--text-dark); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: 0.2s;}
.trending-item:hover .tr-title { color: var(--primary); }
.tr-meta { font-size: 12px; color: #94a3b8; font-weight: 500; display: flex; justify-content: space-between;}
.tr-meta i { margin-right: 4px; color: #cbd5e1; }

/* 24h排行榜 */
.rank-list { display: flex; flex-direction: column; gap: 12px;}
.rank-item { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 6px 0; border-bottom: 1px dashed transparent; transition: 0.3s;}
.rank-item:hover { border-bottom-color: rgba(13,148,136,0.2); transform: translateX(4px);}
.rank-idx { font-size: 16px; font-weight: 900; color: #cbd5e1; font-style: italic; width: 20px; text-align: center; flex-shrink: 0;}
.rank-item:nth-child(1) .rank-idx { color: #ef4444; }
.rank-item:nth-child(2) .rank-idx { color: #f97316; }
.rank-item:nth-child(3) .rank-idx { color: #f59e0b; }
.rank-title { font-size: 14px; font-weight: 600; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; transition: 0.2s;}
.rank-item:hover .rank-title { color: var(--primary); }

/* ==========================================================================
   页面底部与返回顶部
   ========================================================================== */
.site-footer {
    background-color: #0f172a; color: #94a3b8; padding: 60px 40px 25px; border-radius: var(--radius-main);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: 1px solid rgba(255,255,255,0.05); position: relative; overflow: hidden; margin-top: 40px;
}
.site-footer::before { content: ''; position: absolute; top:0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--primary), #3b82f6); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin: 0 auto 40px; max-width: 900px; }
.footer-col h4 { color: #f8fafc; font-size: 16px; font-weight: 900; margin-bottom: 25px; position: relative; letter-spacing: 1px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: -10px; width: 30px; height: 3px; background: var(--primary); border-radius: 2px; }
.footer-logo { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 24px; font-weight: 900; margin-bottom: 20px; }
.footer-logo i { color: var(--primary); font-size: 30px; text-shadow: 0 0 15px rgba(13, 148, 136, 0.5);}
.footer-desc { line-height: 1.8; font-size: 14px; margin-bottom: 25px; color: #94a3b8; font-weight: 500; }
.footer-links { display: flex; flex-direction: column; gap: 14px; }
.footer-links a { color: #94a3b8; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.footer-links a::before { content: '›'; color: var(--primary); font-size: 18px; font-weight: bold; opacity: 0; transform: translateX(-5px); transition: 0.3s; }
.footer-links a:hover { color: #fff; } 
.footer-links a:hover::before { opacity: 1; transform: translateX(0); }
.footer-bottom { text-align: center; padding-top: 25px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 13px; font-weight: 500; color: #64748b; }
.footer-bottom span { color: rgba(255,255,255,0.1); margin: 0 10px; }

.back-to-top {
    position: fixed; bottom: 40px; right: 40px; width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover)); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 22px; box-shadow: 0 10px 25px rgba(13, 148, 136, 0.4); cursor: pointer; z-index: 1000; opacity: 0; visibility: hidden;
    transform: translateY(20px); transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 15px 35px rgba(13, 148, 136, 0.6); }

/* ==========================================================================
   响应式断点适配
   ========================================================================== */
@media (max-width: 1200px) { 
    .detail-grid { grid-template-columns: 1fr; }
    .article-main { padding: 30px; }
    .article-title { font-size: 28px; }
}