:root {
 --post-text: #2a2a2a;
 --post-text-secondary: #555;
 --post-text-muted: #888;
 --post-bg: #F5F0E8;
 --post-card-bg: #fff;
 --post-card-border: #e8e8e8;
}
body.dark-mode {
 --post-text: rgba(245,240,232,0.95);
 --post-text-secondary: rgba(245,240,232,0.7);
 --post-text-muted: rgba(245,240,232,0.5);
 --post-bg: #0a0a0a;
 --post-card-bg: rgba(255,255,255,0.04);
 --post-card-border: rgba(201,168,76,0.1);
}
.article-skeleton {
 animation: skeleton-pulse 1.5s ease-in-out infinite;
}
.skeleton-title { height: 32px; background: rgba(201,168,76,0.08); border-radius: 8px; margin-bottom: 12px; width: 70%; }
.skeleton-meta { height: 16px; background: rgba(201,168,76,0.05); border-radius: 6px; margin-bottom: 24px; width: 40%; }
.skeleton-line { height: 14px; background: rgba(255,255,255,0.04); border-radius: 4px; margin-bottom: 10px; }
.skeleton-line:nth-child(odd) { width: 100%; }
.skeleton-line:nth-child(even) { width: 85%; }
.skeleton-image { height: 300px; background: rgba(201,168,76,0.06); border-radius: 12px; margin-bottom: 24px; }
@keyframes skeleton-pulse {
 0%, 100% { opacity: 1; }
 50% { opacity: 0.4; }
}
body.light-mode .article-body,
body.light-mode .article-content { color: #2a2a2a; }
body.light-mode .sidebar-section { background: #f8f8f8; border-color: #e5e5e5; }
body.light-mode .related-card { background: #fff; border-color: #e8e8e8; }
body.light-mode .related-card-title a { color: #1a1a1a; }
body.light-mode .comment-item { background: #f9f9f9; border-color: #e5e5e5; }
body.light-mode .footer { background: #1a1a1a; } 
#postThemeToggle {
 position: fixed;
 bottom: 80px;
 right: 20px;
 width: 44px;
 height: 44px;
 border-radius: 50%;
 background: rgba(201,168,76,0.15);
 border: 1px solid rgba(201,168,76,0.3);
 color: #c9a84c;
 font-size: 18px;
 cursor: pointer;
 z-index: 1000;
 display: flex;
 align-items: center;
 justify-content: center;
 transition: all 0.3s;
 backdrop-filter: blur(8px);
}
#postThemeToggle:hover { background: rgba(201,168,76,0.3); transform: scale(1.1); }
@media (max-width: 768px) {
 .article-body, .article-content { font-size: 15px !important; line-height: 1.8 !important; padding: 0 16px !important; }
 .article-body img, .article-content img { border-radius: 8px !important; }
 .article-body h2, .article-content h2 { font-size: 22px !important; }
 .article-body h3, .article-content h3 { font-size: 18px !important; }
 .article-body blockquote, .article-content blockquote { margin: 16px 0 !important; padding: 12px 16px !important; }
 .sidebar { display: none !important; } 
 .related-grid { grid-template-columns: 1fr !important; }
 .article-nav-inner { flex-direction: column !important; }
 .hero-post, [class*="hero"] { min-height: 200px !important; }
 .reactions-bar { flex-wrap: wrap !important; justify-content: center !important; }
 .floating-share { display: none !important; } 
}
@media (max-width: 480px) {
 .article-body, .article-content { font-size: 14px !important; padding: 0 12px !important; }
 .hero-post h1, [class*="hero"] h1 { font-size: 24px !important; }
 .container { padding: 0 12px !important; }
}
@media print {
 body { background: #fff !important; color: #000 !important; }
 nav, .navbar, .crypto-ticker, .events-ticker,
 .sidebar, .floating-share, #postThemeToggle, #backToTop, #backToTopPro,
 .reactions-bar, .comment-section, .related-section,
 .article-nav, footer, .cookie-banner, .search-overlay,
 .font-controls, .tts-controls, [onclick] { display: none !important; }
 .article-body, .article-content {
 max-width: 100% !important;
 font-size: 12pt !important;
 line-height: 1.6 !important;
 color: #000 !important;
 }
 .article-body img, .article-content img {
 max-width: 100% !important;
 page-break-inside: avoid;
 }
 .article-body h2, .article-content h2 { font-size: 16pt !important; page-break-after: avoid; }
 .article-body h3, .article-content h3 { font-size: 14pt !important; page-break-after: avoid; }
 a { color: #000 !important; text-decoration: underline !important; }
 a[href]:after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
 @page { margin: 2cm; }
}
html { scroll-behavior: smooth; }
.article-body img, .article-content img {
 max-width: 100%;
 height: auto;
 border-radius: 8px;
 margin: 16px 0;
 cursor: zoom-in;
}
.article-body table, .article-content table {
 width: 100%;
 border-collapse: collapse;
 margin: 16px 0;
 font-size: 14px;
}
.article-body th, .article-content th {
 background: rgba(201,168,76,0.1);
 padding: 10px 14px;
 text-align: left;
 font-weight: 600;
 border-bottom: 2px solid rgba(201,168,76,0.2);
}
.article-body td, .article-content td {
 padding: 8px 14px;
 border-bottom: 1px solid rgba(255,255,255,0.06);
}
.article-body pre, .article-content pre {
 background: #1e1e2e;
 color: #cdd6f4;
 padding: 16px;
 border-radius: 8px;
 overflow-x: auto;
 font-size: 13px;
 position: relative;
}
.article-body blockquote, .article-content blockquote {
 border-left: 4px solid #c9a84c;
 margin: 20px 0;
 padding: 16px 24px;
 background: rgba(201,168,76,0.05);
 border-radius: 0 8px 8px 0;
 font-style: italic;
}
.article-hero {
 position: relative;
 overflow: hidden;
}
.article-hero .hero-bg {
 transition: transform 8s ease;
}
.article-hero:hover .hero-bg {
 transform: scale(1.03);
}
.article-cover {
 max-width: 900px;
 margin: -40px auto 32px;
 position: relative;
 z-index: 5;
 border-radius: 16px;
 overflow: hidden;
 box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.article-cover img {
 width: 100%;
 height: auto;
 max-height: 500px;
 object-fit: cover;
 display: block;
 transition: transform 0.5s;
}
.article-cover:hover img {
 transform: scale(1.02);
}
.article-body, .article-content {
 font-size: 16px;
 line-height: 1.85;
 color: var(--post-text, #2a2a2a);
 letter-spacing: 0.01em;
}
.article-body h2, .article-content h2 {
 font-family: 'Cormorant Garamond', serif;
 font-size: 26px;
 color: var(--post-text, #2a2a2a);
 margin: 40px 0 16px;
 padding-bottom: 12px;
 border-bottom: 1px solid rgba(201,168,76,0.15);
 letter-spacing: -0.02em;
}
.article-body h3, .article-content h3 {
 font-family: 'Cormorant Garamond', serif;
 font-size: 20px;
 color: var(--post-text, #2a2a2a);
 margin: 32px 0 12px;
}
.article-body p, .article-content p {
 margin-bottom: 20px;
}
.article-body strong, .article-content strong {
 color: var(--post-text, #2a2a2a);
 font-weight: 600;
}
.article-body em, .article-content em {
 color: rgba(201,168,76,0.8);
}
.article-body ul, .article-content ul,
.article-body ol, .article-content ol {
 padding-left: 24px;
 margin: 16px 0;
}
.article-body li, .article-content li {
 margin-bottom: 8px;
 line-height: 1.7;
}
.article-body a, .article-content a {
 color: #c9a84c;
 text-decoration: none;
 border-bottom: 1px solid rgba(201,168,76,0.2);
 transition: all 0.2s;
}
.article-body a:hover, .article-content a:hover {
 color: #e0c96e;
 border-bottom-color: #c9a84c;
}
.related-grid {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
 gap: 20px;
}
.related-card {
 background: rgba(255,255,255,0.03);
 border: 1px solid rgba(201,168,76,0.08);
 border-radius: 14px;
 overflow: hidden;
 transition: all 0.3s;
}
.related-card:hover {
 border-color: rgba(201,168,76,0.25);
 transform: translateY(-4px);
 box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}
.related-card-img {
 width: 100%;
 height: 180px;
 object-fit: cover;
 transition: transform 0.5s;
}
.related-card:hover .related-card-img {
 transform: scale(1.05);
}
.related-card-body {
 padding: 18px;
}
.related-card-category {
 display: inline-block;
 font-size: 10px;
 font-weight: 600;
 text-transform: uppercase;
 letter-spacing: 1px;
 color: #c9a84c;
 background: rgba(201,168,76,0.1);
 padding: 3px 10px;
 border-radius: 20px;
 margin-bottom: 10px;
}
.related-card-title {
 font-family: 'Cormorant Garamond', serif;
 font-size: 16px;
 line-height: 1.4;
 margin-bottom: 8px;
}
.related-card-title a {
 color: var(--post-text, #2a2a2a);
 text-decoration: none;
 transition: color 0.2s;
}
.related-card-title a:hover {
 color: #c9a84c;
}
.related-card-excerpt {
 font-size: 13px;
 color: var(--post-text-muted, #888);
 line-height: 1.6;
 display: -webkit-box;
 -webkit-line-clamp: 2;
 -webkit-box-orient: vertical;
 overflow: hidden;
 margin-bottom: 12px;
}
.related-card-meta {
 display: flex;
 justify-content: space-between;
 align-items: center;
 font-size: 12px;
 color: var(--post-text-muted, #aaa);
 padding-top: 12px;
 border-top: 1px solid rgba(255,255,255,0.04);
}
.related-card-link {
 color: #c9a84c;
 text-decoration: none;
 font-weight: 500;
 font-size: 12px;
 transition: color 0.2s;
}
.related-card-link:hover {
 color: #e0c96e;
}
.project-related-section {
 position: relative;
 min-height: 300px;
 display: flex;
 align-items: center;
 overflow: hidden;
 margin-top: 32px;
 border-radius: 16px;
}
.font-controls, .tts-btn {
 background: rgba(255,255,255,0.04);
 border: 1px solid rgba(255,255,255,0.08);
 border-radius: 8px;
 padding: 6px 12px;
 color: var(--post-text-muted, #888);
 font-size: 12px;
 cursor: pointer;
 transition: all 0.2s;
}
.font-controls:hover, .tts-btn:hover {
 background: rgba(255,255,255,0.08);
 border-color: rgba(201,168,76,0.2);
 color: #c9a84c;
}
.related-header {
 text-align: center;
 margin-bottom: 32px;
}
.related-header h2 {
 font-family: 'Cormorant Garamond', serif;
 font-size: 28px;
 color: var(--post-text, #2a2a2a);
 margin-bottom: 8px;
}
.related-line {
 width: 60px;
 height: 3px;
 background: linear-gradient(90deg, #8B1A1A, #c9a84c);
 margin: 0 auto;
 border-radius: 2px;
}
@media (max-width: 768px) {
 .related-grid { grid-template-columns: 1fr !important; }
 .related-card-img { height: 160px; }
 .article-cover { margin-top: -20px; border-radius: 12px; }
 .article-body h2, .article-content h2 { font-size: 22px; }
}
/* ═══════════════════════════════════════
 MAGAZINE THEME — Tạp chí Style v3.0
 Tối giản, tập trung nội dung
═══════════════════════════════════════ */
.article-hero {
 min-height: 50vh;
 display: flex;
 align-items: flex-end;
 padding-bottom: 48px;
}
.article-hero-content {
 max-width: 800px;
 margin: 0 auto;
 text-align: center;
 padding: 0 24px;
}
.article-hero-title {
 font-family: 'Cormorant Garamond', serif;
 font-size: clamp(28px, 5vw, 48px);
 font-weight: 700;
 line-height: 1.15;
 letter-spacing: -0.03em;
 color: #fff;
 text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.article-category-badge {
 display: inline-block;
 font-size: 10px;
 letter-spacing: 3px;
 text-transform: uppercase;
 color: #c9a84c;
 border: 1px solid rgba(201,168,76,0.4);
 padding: 4px 14px;
 border-radius: 20px;
 margin-bottom: 16px;
}
.article-meta {
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 12px;
 margin-top: 20px;
 font-size: 13px;
 color: var(--post-text-muted, #888);
}
.article-meta-sep {
 width: 4px;
 height: 4px;
 border-radius: 50%;
 background: rgba(255,255,255,0.25);
}
.article-layout {
 max-width: 760px;
 margin: 0 auto;
 padding: 24px 24px;
}
.article-sidebar { display: none !important; } 
#articleTags .tag-item {
 display: inline-block;
 padding: 4px 12px;
 background: rgba(201,168,76,0.06);
 border: 1px solid rgba(201,168,76,0.12);
 border-radius: 20px;
 font-size: 11px;
 color: rgba(201,168,76,0.7);
 text-decoration: none;
 transition: all 0.2s;
}
#articleTags .tag-item:hover {
 background: rgba(201,168,76,0.12);
 color: #c9a84c;
}
@media (max-width: 960px) {
 .article-layout {
 padding: 24px 16px;
 }
}
.article-content, .article-body {
 max-width: 680px;
 margin-left: auto;
 margin-right: auto;
 font-size: 18px;
 line-height: 1.85;
 color: #2a2a2a;
 font-family: Georgia, 'Cormorant Garamond', 'Noto Serif', serif;
 text-align: justify;
 -webkit-hyphens: auto;
 hyphens: auto;
 word-spacing: 0.02em;
 letter-spacing: 0.005em;
 font-feature-settings: 'kern' 1, 'liga' 1, 'onum' 1;
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
}
body.dark-mode .article-content,
body.dark-mode .article-body,
body:not(.light-mode) .article-content[data-theme="dark"],
body:not(.light-mode) .article-body[data-theme="dark"] {
 color: var(--post-text, #2a2a2a);
}
.article-content h2, .article-body h2 {
 font-family: 'Cormorant Garamond', serif;
 font-size: 24px;
 color: var(--post-text, #2a2a2a);
 margin: 28px 0 12px;
 padding-bottom: 10px;
 border-bottom: 1.5px solid rgba(201,168,76,0.12);
 letter-spacing: -0.02em;
 line-height: 1.3;
 text-align: left;
 font-weight: 700;
}
.article-content h3, .article-body h3 {
 font-family: 'Cormorant Garamond', serif;
 font-size: 20px;
 color: var(--post-text, #2a2a2a);
 margin: 24px 0 10px;
 letter-spacing: -0.01em;
 line-height: 1.35;
 text-align: left;
 font-weight: 600;
}
.article-content blockquote, .article-body blockquote {
 margin: 24px -20px;
 padding: 20px 28px;
 border-left: 4px solid #8B1A1A;
 background: rgba(139,26,26,0.05);
 border-radius: 0 10px 10px 0;
 font-size: 17px;
 font-style: italic;
 color: var(--post-text-secondary, #555);
 line-height: 1.7;
 position: relative;
 text-align: left;
}
.article-content blockquote::before, .article-body blockquote::before {
 content: '\201C';
 position: absolute;
 top: -10px;
 left: 18px;
 font-family: 'Cormorant Garamond', serif;
 font-size: 72px;
 color: rgba(139,26,26,0.2);
 line-height: 1;
}
.article-content img, .article-body img {
 max-width: calc(100% + 40px);
 margin-left: -20px;
 margin-right: -20px;
 width: calc(100% + 40px);
 height: auto;
 border-radius: 8px;
 margin-top: 20px;
 margin-bottom: 8px;
 box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.article-content figcaption,
.article-body figcaption,
.article-content img + em,
.article-body img + em {
 display: block;
 text-align: center;
 font-size: 13px;
 color: var(--post-text-muted, #888);
 font-style: italic;
 margin-top: 8px;
 margin-bottom: 32px;
 line-height: 1.5;
}
.article-sidebar {
 position: sticky;
 top: 80px;
 align-self: start;
}
.sidebar-section {
 background: rgba(255,255,255,0.02);
 border: 1px solid rgba(255,255,255,0.05);
 border-radius: 12px;
 padding: 16px;
 margin-bottom: 16px;
}
.sidebar-title {
 font-size: 11px;
 font-weight: 700;
 letter-spacing: 1.5px;
 text-transform: uppercase;
 color: rgba(201,168,76,0.7);
 margin-bottom: 12px;
 padding-bottom: 8px;
 border-bottom: 1px solid rgba(255,255,255,0.04);
}
.share-row {
 display: flex;
 gap: 8px;
}
.share-btn {
 width: 36px;
 height: 36px;
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 14px;
 text-decoration: none;
 transition: all 0.2s;
 border: 1px solid rgba(255,255,255,0.06);
 background: rgba(255,255,255,0.03);
 color: var(--post-text-secondary, #555);
 cursor: pointer;
}
.share-btn:hover {
 transform: translateY(-2px);
 border-color: rgba(201,168,76,0.3);
 color: #c9a84c;
}
.share-btn.fb { background: rgba(24,119,242,0.1); color: #1877F2; }
.share-btn.fb:hover { background: rgba(24,119,242,0.2); }
.share-btn.li { background: rgba(10,102,194,0.1); color: #0A66C2; }
.share-btn.li:hover { background: rgba(10,102,194,0.2); }
.share-btn.tw { background: rgba(29,161,242,0.1); color: #1DA1F2; }
.share-btn.tw:hover { background: rgba(29,161,242,0.2); }
.related-section {
 padding: 48px 0;
 border-top: 1px solid rgba(201,168,76,0.08);
 margin-top: 32px;
}
.font-controls {
 display: inline-flex;
 align-items: center;
 gap: 4px;
 background: rgba(255,255,255,0.03);
 border: 1px solid rgba(255,255,255,0.06);
 border-radius: 8px;
 padding: 4px 8px;
}
.font-controls button {
 background: none;
 border: none;
 color: var(--post-text-muted, #888);
 cursor: pointer;
 font-size: 13px;
 padding: 2px 6px;
 border-radius: 4px;
 transition: all 0.15s;
}
.font-controls button:hover {
 background: rgba(201,168,76,0.1);
 color: #c9a84c;
}
.tts-btn {
 display: inline-flex;
 align-items: center;
 gap: 6px;
 background: rgba(255,255,255,0.03);
 border: 1px solid rgba(255,255,255,0.06);
 border-radius: 8px;
 padding: 6px 12px;
 color: var(--post-text-muted, #888);
 font-size: 12px;
 cursor: pointer;
 transition: all 0.15s;
}
.tts-btn:hover {
 background: rgba(201,168,76,0.08);
 border-color: rgba(201,168,76,0.2);
 color: #c9a84c;
}
.back-link {
 display: inline-flex;
 align-items: center;
 gap: 6px;
 color: rgba(201,168,76,0.6);
 text-decoration: none;
 font-size: 13px;
 padding: 8px 0;
 transition: color 0.2s;
}
.back-link:hover { color: #c9a84c; }
.reactions-bar {
 display: flex;
 gap: 8px;
 justify-content: center;
 padding: 16px 0;
 margin: 8px 0;
}
.reaction-btn {
 padding: 6px 14px;
 border-radius: 20px;
 background: rgba(255,255,255,0.03);
 border: 1px solid rgba(255,255,255,0.06);
 color: var(--post-text-secondary, #555);
 font-size: 14px;
 cursor: pointer;
 transition: all 0.2s;
 display: flex;
 align-items: center;
 gap: 6px;
}
.reaction-btn:hover, .reaction-btn.active {
 background: rgba(201,168,76,0.1);
 border-color: rgba(201,168,76,0.3);
 transform: scale(1.05);
}
.comment-section {
 max-width: 720px;
 margin: 0 auto;
 padding: 32px 24px;
}
@media (max-width: 768px) {
 .floating-share { display: none !important; }
 .article-hero { min-height: 40vh; }
 .article-hero-title { font-size: 26px !important; }
 .article-content, .article-body {
 font-size: 16px;
 line-height: 1.8;
 text-align: left;
 -webkit-hyphens: none;
 hyphens: none;
 max-width: 100%;
 }
 .article-content img, .article-body img {
 max-width: 100%;
 margin-left: 0;
 margin-right: 0;
 width: 100%;
 border-radius: 8px;
 }
 .article-content blockquote, .article-body blockquote {
 margin-left: 0;
 margin-right: 0;
 padding: 20px 20px;
 font-size: 16px;
 }
 
 .article-sidebar { position: relative; top: auto; }
}
.article-content > p:first-of-type,
.article-body > p:first-of-type {
 font-size: 1.05em;
 color: var(--post-text, #2a2a2a);
 line-height: 1.8;
 margin-bottom: 20px;
}
.article-content p, .article-body p {
 margin-bottom: 14px;
 orphans: 3;
 widows: 3;
}
.article-content hr, .article-body hr {
 border: none;
 text-align: center;
 margin: 32px auto;
 max-width: 120px;
 height: 1px;
 background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
}
.article-content hr::before, .article-body hr::before {
 content: '◆';
 display: block;
 color: rgba(201,168,76,0.3);
 font-size: 10px;
 letter-spacing: 8px;
 margin-top: -6px;
}
.article-content ul li::marker,
.article-body ul li::marker {
 color: #c9a84c;
}
.article-content ol li::marker,
.article-body ol li::marker {
 color: #c9a84c;
 font-weight: 600;
}
.article-content code:not(pre code),
.article-body code:not(pre code) {
 background: rgba(201,168,76,0.08);
 padding: 2px 6px;
 border-radius: 4px;
 font-size: 0.9em;
 color: #c9a84c;
 border: 1px solid rgba(201,168,76,0.12);
}
.article-cover {
 position: relative;
 margin: -30px auto 32px;
 max-width: 800px;
 border-radius: 16px;
 overflow: hidden;
 box-shadow: 0 8px 40px rgba(0,0,0,0.25);
}
.reaction-btn.active {
 background: rgba(201,168,76,0.15) !important;
 border-color: rgba(201,168,76,0.4) !important;
 color: #c9a84c !important;
 transform: scale(1.05);
}
.comment-form input,
.comment-form textarea {
 background: rgba(255,255,255,0.03);
 border: 1px solid rgba(255,255,255,0.08);
 border-radius: 10px;
 padding: 12px 16px;
 color: var(--post-text, #2a2a2a);
 font-size: 14px;
 width: 100%;
 box-sizing: border-box;
 outline: none;
 transition: border-color 0.2s;
 margin-bottom: 10px;
}
.comment-form input:focus,
.comment-form textarea:focus {
 border-color: rgba(201,168,76,0.4);
}
.comment-form textarea {
 min-height: 100px;
 resize: vertical;
 font-family: inherit;
}
.comment-submit-btn {
 background: linear-gradient(135deg, #8B1A1A, #6B1010);
 color: #fff;
 border: none;
 padding: 10px 24px;
 border-radius: 10px;
 font-weight: 600;
 font-size: 13px;
 cursor: pointer;
 transition: all 0.2s;
}
.comment-submit-btn:hover {
 opacity: 0.9;
 transform: translateY(-1px);
}
.related-section {
 animation: fadeInUp 0.5s ease;
}
@keyframes fadeInUp {
 from { opacity: 0; transform: translateY(20px); }
 to { opacity: 1; transform: translateY(0); }
}
.tts-btn.active {
 background: rgba(74,222,128,0.12) !important;
 border-color: rgba(74,222,128,0.3) !important;
 color: #4ade80 !important;
}
.tts-btn.active svg {
 animation: pulse 1.5s ease infinite;
}
@keyframes pulse {
 0%, 100% { opacity: 1; }
 50% { opacity: 0.5; }
}
.article-nav {
 max-width: 760px;
 margin: 0 auto;
 padding: 24px;
}
.article-nav-inner {
 display: flex;
 gap: 16px;
}
.article-nav-link {
 flex: 1;
 padding: 16px;
 background: rgba(255,255,255,0.02);
 border: 1px solid rgba(255,255,255,0.05);
 border-radius: 12px;
 text-decoration: none;
 transition: all 0.2s;
}
.article-nav-link:hover {
 border-color: rgba(201,168,76,0.2);
 background: rgba(201,168,76,0.04);
}
.article-nav-label {
 font-size: 11px;
 color: rgba(201,168,76,0.6);
 display: block;
 margin-bottom: 4px;
}
.article-nav-title {
 font-size: 13px;
 color: var(--post-text, #2a2a2a);
 font-weight: 500;
 display: block;
 line-height: 1.4;
}
.cookie-banner {
 backdrop-filter: blur(12px);
}
#backToTopPro {
 transition: all 0.3s;
}
#backToTopPro:hover {
 transform: scale(1.1);
}
@media (max-width: 480px) {
 .article-content > p:first-of-type,
 .article-body > p:first-of-type {
 font-size: 1.05em;
 }
 .article-nav {
 padding: 16px 12px;
 }
 .article-nav-inner {
 flex-direction: column;
 }
 .comment-section {
 padding: 20px 12px;
 }
 .reactions-bar {
 gap: 6px;
 }
 .reaction-btn {
 padding: 5px 10px;
 font-size: 13px;
 }
 .related-header h2 {
 font-size: 22px;
 }
}
.article-toc {
 background: rgba(201,168,76,0.06);
 border: 1px solid rgba(201,168,76,0.15);
 border-radius: 12px;
 padding: 20px 24px;
 margin: 32px 0;
 font-family: 'Inter', sans-serif;
}
.toc-header {
 display: flex;
 align-items: center;
 gap: 8px;
 cursor: pointer;
 user-select: none;
 font-size: 15px;
 font-weight: 600;
 color: var(--post-text, #2a2a2a);
}
.toc-icon { font-size: 18px; }
.toc-toggle {
 margin-left: auto;
 transition: transform 0.3s;
 color: var(--post-text-muted, #888);
}
.article-toc.collapsed .toc-toggle { transform: rotate(-90deg); }
.article-toc.collapsed .toc-list { display: none; }
.toc-list {
 list-style: none;
 padding: 0;
 margin: 14px 0 0;
 counter-reset: toc;
}
.toc-item {
 counter-increment: toc;
 margin: 0;
 padding: 0;
 line-height: 1.5;
}
.toc-item a {
 display: block;
 padding: 6px 12px;
 color: var(--post-text-secondary, #555);
 text-decoration: none;
 font-size: 14px;
 border-radius: 6px;
 border-left: 3px solid transparent;
 transition: all 0.2s;
}
.toc-item a::before {
 content: counter(toc) ". ";
 color: #C9A84C;
 font-weight: 600;
}
.toc-item a:hover {
 background: rgba(201,168,76,0.08);
 color: #8B1A1A;
}
.toc-item a.active {
 border-left-color: #C9A84C;
 background: rgba(201,168,76,0.1);
 color: #8B1A1A;
 font-weight: 500;
}
.toc-sub a {
 padding-left: 28px;
 font-size: 13px;
}
.toc-sub a::before {
 content: "— ";
 color: #C9A84C;
 font-weight: 400;
}
@media (max-width: 768px) {
 .article-toc { padding: 16px; margin: 24px 0; }
 .toc-item a { font-size: 13px; padding: 5px 10px; }
}
body.dark-mode .article-toc {
 background: rgba(201,168,76,0.04);
 border-color: rgba(201,168,76,0.12);
}
body.dark-mode .toc-item a { color: #bbb; }
body.dark-mode .toc-item a:hover,
body.dark-mode .toc-item a.active { color: #F5F0E8; }
