html, body { background-color: #F9FAFC; }
:root {
    --primary: #165DFF; --primary-light: #E8F3FF; --dark: #1D2129; --gray: #4E5969;
    --light-gray: #C9CDD4; --bg-color: #F9FAFC; --white: #FFFFFF; --border: #E5E6EB;
    --tag-bg: #E8F3FF; --tag-color: #165DFF; --date-color: #969BA5;
}
body { background-color: var(--bg-color); color: var(--dark); line-height: 1.6; }
.container { width: 1280px; max-width: 100%; margin: 70px auto 0; padding: 20px; }
.pc-full-ad { width: 100%; margin-bottom: 20px; border-radius: 8px; overflow: hidden; }
.pc-full-ad img { width: 100%; height: auto; display: block; }
.m-top-ad { display: none; width: 100%; padding: 12px 8px; margin-bottom: 4px; }
.m-top-ad img { width: 100%; height: auto; border-radius: 12px; display: block; overflow: hidden; }
body.show .main-layout { position: relative; }
body.show .left-content { margin-right: 344px; background: #fff; padding: 24px; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.05); border: 1px solid var(--border); }
body.show .right-sidebar { position: absolute; right: 0; top: 0; width: 320px; display: flex; flex-direction: column; gap: 20px; background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.05); border: 1px solid var(--border); }
.breadcrumb { font-size: 14px; color: var(--gray); margin-bottom: 24px; }
.breadcrumb a { color: var(--gray); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 8px; color: var(--light-gray); }
.article-title { font-size: 28px; font-weight: 600; line-height: 1.4; margin-bottom: 15px; color: var(--dark); }
.article-info { font-size: 14px; color: var(--date-color); padding-bottom: 15px; margin-bottom: 20px; border-bottom: 1px dashed var(--border); }
.article-info span { margin-right: 15px; }
.article-desc { background: #F7F8FA; padding: 16px; border-radius: 6px; font-size: 15px; color: var(--gray); margin-bottom: 25px; }
.article-content { font-size: 16px; line-height: 1.8; color: var(--dark); }
.article-content p { margin-bottom: 20px; }
.article-content img { width: 100%; border-radius: 6px; margin: 20px 0; }
.article-tags { margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--border); }
.article-tags h4 { font-size: 16px; margin-bottom: 12px; }
.article-tags .tag { display: inline-block; padding: 5px 12px; background: var(--tag-bg); color: var(--tag-color); font-size: 13px; border-radius: 4px; margin-right: 8px; margin-bottom: 10px; text-decoration: none; }
.article-tags .tag:hover { background: var(--primary); color: #fff; }
.prev-next { margin-top: 15px; padding: 10px 0; display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.prev-next a { flex: 1; color: var(--gray); text-decoration: none; font-size: 14px; line-height: 1.4; }
.prev-next a:hover { color: var(--primary); }
.article-bottom-ad { margin-top: 8px; border: none !important; padding: 0; }
.article-bottom-ad img { width: 100%; height: 100px; object-fit: cover; border-radius: 8px; display: block; }
.related-section { margin-top: 16px; margin-right: 344px; background: #fff; padding: 16px; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.05); border: 1px solid var(--border); }
.related-tabs .tab-header { display: inline-flex; gap: 24px; border-bottom: 2px solid var(--border); margin-bottom: 8px; padding-left: 12px; }
.related-tabs .tab-item { padding: 6px 0; font-size: 15px; font-weight: 500; cursor: pointer; color: var(--gray); border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.3s; }
.related-tabs .tab-item.active, .related-tabs .tab-item:hover { color: var(--primary); border-bottom-color: var(--primary); }
.related-tabs .tab-content { display: none; margin-top: 0; padding-left: 12px; }
.related-tabs .tab-content.active { display: block; padding: 12px; }
.related-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 16px; padding-left: 0; margin-left: 0; }
.related-list li { padding: 0; }
.related-list a { color: var(--gray); text-decoration: none; font-size: 15px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card { padding: 0; box-shadow: none; border: none; }
.search-box { position: relative; }
.search-input { width: 100%; height: 44px; padding: 0 44px 0 16px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; outline: none; }
.search-input:focus { border-color: var(--primary); }
.search-btn { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #86909C; cursor: pointer; font-size: 16px; line-height: 1; }
.ad-item { border: 1px solid var(--border); padding: 15px; border-radius: 6px; background: #fff; }
.ad-item img { width: 100%; height: auto; display: block; border-radius: 4px; }
.tab-container { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; }
.tab-header { display: flex; background: var(--white); position: relative; border-bottom: 2px solid var(--border); }
.tab-item { flex: 1; padding: 14px; text-align: center; border: none; background: none; font-size: 15px; font-weight: 500; cursor: pointer; color: var(--gray); border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.3s; }
.tab-item:hover, .tab-item.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { padding: 16px; display: none; }
.tab-content.active { display: block; }
.tab-list li { list-style: none; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.tab-list li:last-child { border-bottom: none; }
.tab-list a { color: var(--dark); text-decoration: none; font-size: 14px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tab-list a:hover { color: var(--primary); }
@media (max-width: 768px) {
    .m-top-ad { display: block; }
    .pc-full-ad { display: none; }
    .container { width: 100%; padding: 8px; }
    .main-layout { display: block; }
    .left-content { margin-right: 0; padding: 16px; }
    .right-sidebar { display: none !important; }
    .article-title { font-size: 22px; }
    .prev-next { flex-direction: column; align-items: flex-start; gap: 12px; }
    .related-list { grid-template-columns: 1fr; }
    .related-section { width: 100%; margin-right: 0; padding: 16px; margin-top: 8px; }
    .related-tabs .tab-header { margin-bottom: 8px; padding-left: 8px; }
    .related-tabs .tab-content { padding-left: 8px; }
    .related-list a, .tab-list a { width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
