* { 
margin: 0; 
padding: 0; 
box-sizing: border-box; 
font-family: "JetBrains Mono", system-ui, -apple-system, sans-serif; 
} :root { 
--primary: #165DFF; 
--primary-light: #3b82f6; 
--primary-glow: rgba(22, 93, 255, 0.3); 
--bg: #0a0e27; 
--card: #111827; 
--border: #1e3a8a; 
--text1: #f0f4f8; 
--text2: #94a3b8; 
--radius: 8px; 
--shadow: 0 0 0 1px var(--border), 0 4px 20px rgba(0,0,0,0.3); 
--shadow-hover: 0 0 0 1px var(--primary), 0 0 20px var(--primary-glow); 
} [data-theme="light"] { 
--bg: #f0f4f8; 
--card: #ffffff; 
--border: #cbd5e1; 
--text1: #1e293b; 
--text2: #475569; 
--shadow: 0 0 0 1px var(--border), 0 4px 10px rgba(0,0,0,0.05); 
--shadow-hover: 0 0 0 1px var(--primary), 0 0 15px var(--primary-glow); 
} 
body { 
background: var(--bg); 
color: var(--text1); 
line-height: 1.7; 
transition: background .3s, color .3s; 
} 
a { 
color: var(--primary-light); 
text-decoration: none; 
transition: .3s; 
} 
a:hover { 
color: var(--primary); 
text-shadow: 0 0 10px var(--primary-glow); 
} 
.container { 
max-width: 1280px; 
margin: 0 auto; 
padding: 0 20px; 
} .site-header { 
background: rgba(17, 24, 39, 0.8); 
backdrop-filter: blur(10px); 
border-bottom: 1px solid var(--border); 
position: sticky; 
top: 0; 
z-index: 999; 
padding: 12px 0; 
} 
[data-theme="light"] .site-header { 
background: rgba(255,255,255,0.8); 
} 
.header-inner { 
display: flex; 
justify-content: space-between; 
align-items: center; 
} 
.site-title { 
font-size: 20px; 
font-weight: 700; 
background: linear-gradient(135deg, var(--primary), #0ea5e9); 
-webkit-background-clip: text; 
-webkit-text-fill-color: transparent; 
} 
.nav-menu { 
display: flex; 
gap: 30px; 
list-style: none; 
} 
.nav-menu a { 
color: var(--text1); 
font-weight: 500; 
} 
.nav-menu a:hover { 
color: var(--primary-light); 
} 
.theme-toggle { 
width: 36px; 
height: 36px; 
background: var(--card); 
border: 1px solid var(--border); 
border-radius: 50%; 
color: var(--primary); 
cursor: pointer; 
display: flex; 
align-items: center; 
justify-content: center; 
transition: .3s; 
} 
.theme-toggle:hover { 
box-shadow: var(--shadow-hover); 
} .breadcrumb { 
background: var(--card); 
border: 1px solid var(--border); 
border-radius: var(--radius); 
padding: 10px 18px; 
font-size: 13px; 
color: var(--text2); 
margin: 20px 0; 
box-shadow: var(--shadow); 
} .post-grid { 
display: grid; 
grid-template-columns: repeat(2, 1fr); 
gap: 20px; 
margin-bottom: 30px; 
} 
.post-card { 
background: var(--card); 
border: 1px solid var(--border); 
border-radius: var(--radius); 
padding: 25px; 
box-shadow: var(--shadow); 
transition: .3s; 
} 
.post-card:hover { 
transform: translateY(-3px); 
box-shadow: var(--shadow-hover); 
} 
.post-thumb img { 
width: 100%; 
height: 180px; 
object-fit: cover; 
border-radius: var(--radius); 
margin-bottom: 15px; 
} 
.post-title { 
font-size: 19px; 
line-height: 1.5; 
margin-bottom: 10px; 
} 
.post-title a { 
color: var(--text1); 
} 
.post-meta { 
font-size: 12px; 
color: var(--text2); 
display: flex; 
gap: 18px; 
margin-bottom: 12px; 
} 
.post-tag { 
display: inline-block; 
padding: 2px 8px; 
background: var(--primary); 
color: #fff; 
font-size: 11px; 
border-radius: 4px; 
margin-bottom: 8px; 
} 
.post-excerpt { 
font-size: 14px; 
color: var(--text2); 
} .pagination { 
display: flex; 
gap: 8px; 
justify-content: center; 
margin: 30px 0; 
} 
.page-numbers { 
padding: 8px 16px; 
background: var(--card); 
border: 1px solid var(--border); 
border-radius: var(--radius); 
color: var(--text1); 
box-shadow: var(--shadow); 
} 
.page-numbers.current { 
background: var(--primary); 
color: #fff; 
border-color: var(--primary); 
} .guess-like { 
margin: 40px 0; 
} 
.guess-like h3 { 
font-size: 20px; 
margin-bottom: 20px; 
color: var(--primary); 
} 
.guess-grid { 
display: grid; 
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
gap: 15px; 
} 
.guess-item { 
background: var(--card); 
border: 1px solid var(--border); 
border-radius: var(--radius); 
padding: 15px; 
font-size: 14px; 
box-shadow: var(--shadow); 
transition: .3s; 
} 
.guess-item:hover { 
box-shadow: var(--shadow-hover); 
} .single-layout { 
display: grid; 
grid-template-columns: 1fr 280px; 
gap: 30px; 
margin: 20px 0; 
} 
.single-content { 
background: var(--card); 
border: 1px solid var(--border); 
border-radius: var(--radius); 
padding: 35px; 
box-shadow: var(--shadow); 
} 
.single-content h1 { 
font-size: 26px; 
margin-bottom: 15px; 
line-height: 1.4; 
background: linear-gradient(135deg, var(--primary), #0ea5e9); 
-webkit-background-clip: text; 
-webkit-text-fill-color: transparent; 
} 
.single-meta { 
font-size: 13px; 
color: var(--text2); 
padding-bottom: 15px; 
border-bottom: 1px solid var(--border); 
margin-bottom: 25px; 
} 
.content-body p { 
margin-bottom: 15px; 
} 
.content-body img { 
max-width: 100%; 
border-radius: var(--radius); 
margin: 15px 0; 
} 
.content-body h2, .content-body h3 { 
margin: 25px 0 10px; 
color: var(--primary); 
} 
.content-body pre { 
background: var(--bg); 
border: 1px solid var(--border); 
border-radius: var(--radius); 
padding: 15px; 
overflow-x: auto; 
margin: 15px 0; 
color: var(--text2); 
font-size: 13px; 
} .toc-wrap { 
position: sticky; 
top: 80px; 
height: fit-content; 
background: var(--card); 
border: 1px solid var(--border); 
border-radius: var(--radius); 
padding: 20px; 
box-shadow: var(--shadow); 
} 
.toc-wrap h3 { 
font-size: 16px; 
margin-bottom: 15px; 
color: var(--primary); 
} 
.toc-list { 
list-style: none; 
font-size: 13px; 
max-height: 600px; 
overflow-y: auto; 
} 
.toc-list li { 
margin-bottom: 8px; 
padding-left: 10px; 
border-left: 2px solid var(--border); 
} 
.toc-list li.active { 
border-left-color: var(--primary); 
} 
.toc-list li.active a { 
color: var(--primary); 
font-weight: 500; 
} .related-posts { 
margin: 30px 0; 
} 
.related-posts h3 { 
font-size: 18px; 
margin-bottom: 20px; 
color: var(--primary); 
} 
.related-timeline { 
list-style: none; 
border-left: 2px solid var(--primary); 
padding-left: 20px; 
} 
.related-timeline li { 
margin-bottom: 20px; 
position: relative; 
padding: 15px; 
background: var(--card); 
border: 1px solid var(--border); 
border-radius: var(--radius); 
} 
.related-timeline li::before { 
content: ''; 
position: absolute; 
left: -27px; 
top: 20px; 
width: 12px; 
height: 12px; 
background: var(--primary); 
border-radius: 50%; 
box-shadow: 0 0 10px var(--primary); 
} 
.related-title { 
font-size: 15px; 
margin-bottom: 5px; 
} 
.related-date { 
font-size: 12px; 
color: var(--text2); 
} .post-nav { 
display: grid; 
grid-template-columns: 1fr 1fr; 
gap: 20px; 
margin: 20px 0; 
} 
.nav-item { 
background: var(--card); 
border: 1px solid var(--border); 
border-radius: var(--radius); 
padding: 20px; 
box-shadow: var(--shadow); 
font-size: 14px; 
} 
.nav-item:last-child { 
text-align: right; 
} .sidebar-widget { 
background: var(--card); 
border: 1px solid var(--border); 
border-radius: var(--radius); 
padding: 20px; 
margin-bottom: 20px; 
box-shadow: var(--shadow); 
} 
.widget-title { 
font-size: 16px; 
margin-bottom: 15px; 
padding-bottom: 8px; 
border-bottom: 1px solid var(--border); 
color: var(--primary); 
} 
.widget-list { 
list-style: none; 
font-size: 14px; 
} 
.widget-list li { 
padding: 7px 0; 
border-bottom: 1px dashed var(--border); 
} 
.search-form input { 
width: 100%; 
padding: 10px 15px; 
border: 1px solid var(--border); 
border-radius: var(--radius); 
background: var(--bg); 
color: var(--text1); 
} .site-footer { 
background: var(--card); 
border-top: 1px solid var(--border); 
padding: 25px 0; 
text-align: center; 
font-size: 14px; 
color: var(--text2); 
margin-top: 50px; 
box-shadow: var(--shadow); 
} @media (max-width: 768px) { 
.post-grid { 
grid-template-columns: 1fr; 
} 
.single-layout { 
grid-template-columns: 1fr; 
} 
.toc-wrap { 
order: -1; 
position: relative; 
top: 0; 
} 
.single-content { 
padding: 20px; 
} 
.nav-menu { 
gap: 15px; 
font-size: 14px; 
} 
.guess-grid { 
grid-template-columns: repeat(2, 1fr); 
} 
.post-nav { 
grid-template-columns: 1fr; 
} 
}