/* =====================================================================
   链观 - 区块链新闻资讯网站 主样式
   设计风格：简约白（Clean Light）
   ===================================================================== */

/* ---------- CSS Variables ---------- */
:root {
    /* 主色调 */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f5;
    --bg-elevated: #ffffff;
    --bg-card: #ffffff;

    /* 品牌色 */
    --gold: #d99800;
    --gold-light: #f0b90b;
    --gold-dim: rgba(217, 152, 0, 0.10);
    --cyan: #0078d4;
    --cyan-dim: rgba(0, 120, 212, 0.10);

    /* 行情色 */
    --up: #0ecb81;
    --down: #f6465d;

    /* 文字 */
    --text-primary: #1a1a2e;
    --text-secondary: #495057;
    --text-tertiary: #6c757d;
    --text-muted: #adb5bd;

    /* 边框 */
    --border: rgba(0, 0, 0, 0.08);
    --border-strong: rgba(0, 0, 0, 0.15);
    --border-gold: rgba(217, 152, 0, 0.35);

    /* 渐变 */
    --gradient-gold: linear-gradient(135deg, #f0b90b 0%, #ff8c00 100%);
    --gradient-cyan: linear-gradient(135deg, #0099ff 0%, #0078d4 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    --gradient-hero: radial-gradient(ellipse at top, rgba(217, 152, 0, 0.06) 0%, transparent 60%), radial-gradient(ellipse at bottom right, rgba(0, 120, 212, 0.04) 0%, transparent 60%);

    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.14);
    --shadow-gold: 0 8px 32px rgba(217, 152, 0, 0.20);
    --shadow-cyan: 0 8px 32px rgba(0, 120, 212, 0.20);

    /* 圆角 */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* 间距 */
    --container-max: 1280px;
    --header-h: 72px;
    --ticker-h: 40px;

    /* 字体 */
    --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

    /* 过渡 */
    --t-fast: 0.15s ease;
    --t-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --t-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    background-image:
        radial-gradient(circle at 20% 0%, rgba(217, 152, 0, 0.04) 0%, transparent 35%),
        radial-gradient(circle at 80% 100%, rgba(0, 120, 212, 0.03) 0%, transparent 40%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}
p { margin: 0 0 1rem; }
a { color: var(--cyan); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
code, pre { font-family: var(--font-mono); }

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--gold);
    color: var(--bg-primary);
    padding: 8px 16px;
    z-index: 9999;
    font-weight: 700;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    height: var(--header-h);
    gap: 24px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gold);
    flex-shrink: 0;
}
.logo:hover { color: var(--gold-light); }
.logo-mark {
    display: inline-flex;
    filter: drop-shadow(0 0 12px rgba(240, 185, 11, 0.4));
    transition: transform var(--t-base);
}
.logo:hover .logo-mark { transform: rotate(120deg) scale(1.05); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 1px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.logo-slogan {
    font-size: 11px;
    color: var(--text-tertiary);
    letter-spacing: 1px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}
.nav-item {
    position: relative;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--t-base);
}
.nav-item:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.04);
}
.nav-item.active {
    color: var(--gold);
}
.nav-item.active::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 4px;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 4px 4px 16px;
    width: 240px;
    transition: all var(--t-base);
}
.search-box:focus-within {
    border-color: var(--border-gold);
    box-shadow: 0 0 0 3px var(--gold-dim);
    width: 280px;
}
.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 14px;
    height: 32px;
}
.search-box input::placeholder { color: var(--text-tertiary); }
.search-box button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--gradient-gold);
    color: var(--bg-primary);
    border-radius: 50%;
    transition: transform var(--t-fast);
}
.search-box button:hover { transform: scale(1.08); }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 8px 6px;
    border-radius: var(--radius-sm);
}
.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--t-base);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay { display: none; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    font-size: 13px;
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; color: var(--text-tertiary); }
.breadcrumbs li:not(:last-child)::after { content: '/'; color: var(--text-muted); }
.breadcrumbs a { color: var(--text-secondary); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs li:last-child { color: var(--text-primary); }

/* ---------- Main Layout ---------- */
.main-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    padding-top: 32px;
    padding-bottom: 48px;
    min-height: calc(100vh - var(--header-h) - 300px);
}
.main-content { min-width: 0; }
.sidebar { min-width: 0; }

/* ---------- Section Title ---------- */
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.section-title h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
}
.section-title h2::before {
    content: '';
    width: 4px;
    height: 22px;
    background: var(--gradient-gold);
    border-radius: 2px;
}
.section-title .more {
    font-size: 13px;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: 4px;
}
.section-title .more:hover { color: var(--gold); }

/* ---------- Hero (首页焦点) ---------- */
.hero-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
}
.hero-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
    background: var(--bg-secondary);
    box-shadow: var(--shadow-md);
}
.hero-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: transform var(--t-slow);
}
.hero-main:hover img { transform: scale(1.04); }
.hero-main::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 1;
}
.hero-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 24px;
    z-index: 2;
}
.hero-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gradient-gold);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.hero-title {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 8px;
}
.hero-title a { color: #ffffff; }
.hero-title a:hover { color: var(--gold-light); }
.hero-summary {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hero-side-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--t-base);
    backdrop-filter: blur(8px);
}
.hero-side-item:hover {
    border-color: var(--border-gold);
    transform: translateX(4px);
    background: var(--bg-tertiary);
}
.hero-side-item .thumb {
    flex-shrink: 0;
    width: 96px;
    height: 72px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-tertiary);
}
.hero-side-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-side-item .info { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.hero-side-item .title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}
.hero-side-item:hover .title { color: var(--gold); }
.hero-side-item .meta { font-size: 12px; color: var(--text-tertiary); }

/* ---------- Article List ---------- */
.article-list { display: flex; flex-direction: column; gap: 4px; }
.article-card {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 20px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--t-base);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}
.article-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--gradient-gold);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--t-base);
}
.article-card:hover {
    border-color: var(--border-gold);
    background: var(--bg-tertiary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.article-card:hover::before { transform: scaleY(1); }
.article-card .cover {
    width: 100%;
    height: 160px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-tertiary);
}
.article-card .cover img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow);
}
.article-card:hover .cover img { transform: scale(1.08); }
.article-card .body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.article-card .category-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 2px 10px;
    background: var(--cyan-dim);
    color: var(--cyan);
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 8px;
    border: 1px solid rgba(0, 212, 255, 0.25);
}
.article-card .title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card:hover .title { color: var(--gold); }
.article-card .title em { color: var(--gold); font-style: normal; font-weight: 700; background: var(--gold-dim); padding: 0 3px; border-radius: 2px; }
.article-card .summary {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}
.article-card .meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    font-size: 12px;
    color: var(--text-tertiary);
}
.article-card .meta .source { color: var(--cyan); }
.article-card .meta .original-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--gold);
    font-weight: 600;
}
.article-card .meta .views::before { content: '👁 '; opacity: 0.6; }

/* ---------- Home Category Section ---------- */
.category-section { margin-bottom: 40px; }
.category-section .article-card { grid-template-columns: 160px 1fr; padding: 16px; }
.category-section .article-card .cover { height: 110px; }
.category-section .article-card .title { font-size: 16px; -webkit-line-clamp: 2; }

/* ---------- Sidebar ---------- */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    backdrop-filter: blur(8px);
}
.widget-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.widget-title .title-bar {
    width: 3px;
    height: 16px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.hot-list { display: flex; flex-direction: column; gap: 12px; }
.hot-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 4px 0;
}
.hot-rank {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    color: var(--text-tertiary);
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    font-family: var(--font-mono);
}
.hot-rank.rank-1 { background: var(--gradient-gold); color: var(--bg-primary); }
.hot-rank.rank-2 { background: linear-gradient(135deg, #c0c0c0, #888); color: var(--bg-primary); }
.hot-rank.rank-3 { background: linear-gradient(135deg, #cd7f32, #8b4513); color: white; }
.hot-link {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    transition: color var(--t-fast);
}
.hot-link:hover { color: var(--gold); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-item {
    padding: 4px 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 13px;
    border-radius: 999px;
    transition: all var(--t-base);
}
.tag-item:hover {
    background: var(--gold-dim);
    border-color: var(--border-gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.follow-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; }
.subscribe-form { display: flex; gap: 8px; }
.subscribe-form input {
    flex: 1;
    padding: 8px 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 13px;
}
.subscribe-form input:focus { outline: none; border-color: var(--border-gold); }
.subscribe-form button {
    padding: 8px 16px;
    background: var(--gradient-gold);
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 13px;
    border-radius: var(--radius-sm);
    transition: transform var(--t-fast);
}
.subscribe-form button:hover { transform: scale(1.04); }

.link-list { display: flex; flex-direction: column; gap: 8px; }
.link-list a {
    color: var(--text-secondary);
    font-size: 13px;
    transition: color var(--t-fast);
    padding: 4px 0;
}
.link-list a:hover { color: var(--gold); }

/* ---------- Article Detail ---------- */
.article-detail {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(8px);
}
.article-detail .breadcrumb-tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--cyan-dim);
    color: var(--cyan);
    border: 1px solid rgba(0, 212, 255, 0.3);
    font-size: 12px;
    font-weight: 600;
    border-radius: 999px;
    margin-bottom: 16px;
}
.article-detail h1 {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 16px;
    color: var(--text-primary);
}
.article-detail .article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    margin-bottom: 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-tertiary);
}
.article-detail .article-meta .author { color: var(--gold); font-weight: 600; }
.article-detail .article-meta .source { color: var(--cyan); }
.article-detail .article-cover {
    margin: 0 0 28px;
    border-radius: var(--radius-md);
    overflow: hidden;
    max-height: 440px;
}
.article-detail .article-cover img { width: 100%; object-fit: cover; }
.article-detail .article-content { font-size: 16px; line-height: 1.85; color: var(--text-primary); }
.article-detail .article-content p { margin: 0 0 1.2em; color: #343a40; }
.article-detail .article-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 1.8em 0 0.8em;
    padding-left: 14px;
    border-left: 4px solid var(--gold);
    color: var(--text-primary);
}
.article-detail .article-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 1.5em 0 0.6em;
    color: var(--text-primary);
}
.article-detail .article-content ul,
.article-detail .article-content ol {
    margin: 0 0 1.2em;
    padding-left: 24px;
}
.article-detail .article-content ul li,
.article-detail .article-content ol li {
    margin-bottom: 0.5em;
    color: #343a40;
    list-style: disc;
}
.article-detail .article-content ol li { list-style: decimal; }
.article-detail .article-content blockquote {
    margin: 1.5em 0;
    padding: 16px 20px;
    background: var(--gold-dim);
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: #8a6500;
    font-size: 15px;
    font-style: italic;
}
.article-detail .article-content img {
    margin: 1.5em auto;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}
.article-detail .article-content code {
    background: var(--bg-tertiary);
    color: var(--cyan);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}
.article-detail .article-content a {
    color: var(--cyan);
    text-decoration: underline;
    text-decoration-color: rgba(0, 212, 255, 0.3);
    text-underline-offset: 3px;
}
.article-detail .article-content a:hover { color: var(--gold); }

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.article-tags .tag-label {
    color: var(--text-tertiary);
    font-size: 13px;
    align-self: center;
    margin-right: 8px;
}
.article-tags .tag-item { font-size: 13px; }

.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.article-nav a {
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--t-base);
}
.article-nav a:hover {
    border-color: var(--border-gold);
    background: var(--bg-elevated);
}
.article-nav .nav-label { font-size: 12px; color: var(--text-tertiary); margin-bottom: 4px; }
.article-nav .nav-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-nav a:hover .nav-title { color: var(--gold); }
.article-nav .nav-next { text-align: right; }

.related-list {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.related-list h3 {
    font-size: 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.related-list h3::before {
    content: '';
    width: 4px;
    height: 18px;
    background: var(--gradient-gold);
    border-radius: 2px;
}
.related-list ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.related-list li a {
    display: block;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
    transition: all var(--t-base);
}
.related-list li a:hover {
    color: var(--gold);
    border-color: var(--border-gold);
    transform: translateX(4px);
}

/* ---------- Category Info (栏目页标题区) ---------- */
.category-info {
    padding: 20px 24px;
    margin-bottom: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
}
.category-info h1 {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 6px;
    color: var(--text-primary);
}
.category-info .desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 8px;
}
.category-info .category-stat {
    font-size: 12px;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
}

/* 侧栏空状态 */
.widget-empty {
    margin: 0;
    padding: 16px 0;
    color: var(--text-tertiary);
    font-size: 13px;
    text-align: center;
}

/* ---------- Platform List ---------- */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.platform-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--t-base);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}
.platform-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.platform-card .rank-badge {
    position: absolute;
    top: 16px; right: 16px;
    padding: 4px 10px;
    background: var(--gradient-gold);
    color: var(--bg-primary);
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    font-family: var(--font-mono);
}
.platform-card .platform-logo {
    width: 64px; height: 64px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-tertiary);
    margin-bottom: 16px;
    border: 1px solid var(--border-strong);
}
.platform-card .platform-logo img { width: 100%; height: 100%; object-fit: cover; }
.platform-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}
.platform-card .country { font-size: 12px; color: var(--text-tertiary); margin-bottom: 16px; }
.platform-card .score-bar { margin-bottom: 12px; }
.platform-card .score-bar .label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}
.platform-card .score-bar .label .value {
    color: var(--gold);
    font-weight: 700;
    font-family: var(--font-mono);
}
.platform-card .score-bar .bar {
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
}
.platform-card .score-bar .bar-fill {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 3px;
    transition: width 0.6s ease;
}
.platform-card .score-total {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.platform-card .score-total .total {
    font-size: 28px;
    font-weight: 900;
    color: var(--gold);
    font-family: var(--font-mono);
}
.platform-card .score-total .label { font-size: 12px; color: var(--text-tertiary); }
.platform-card .platform-link {
    display: block;
    text-align: center;
    margin-top: 16px;
    padding: 10px;
    background: var(--bg-tertiary);
    color: var(--cyan);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: all var(--t-base);
}
.platform-card .platform-link:hover {
    background: var(--gradient-gold);
    color: var(--bg-primary);
    border-color: var(--gold);
}

/* ---------- Platform Detail ---------- */
.platform-detail {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(8px);
}
.platform-detail .platform-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.platform-detail .platform-logo { width: 96px; height: 96px; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-strong); flex-shrink: 0; }
.platform-detail h1 { font-size: 32px; font-weight: 900; margin-bottom: 8px; }
.platform-detail .meta-line { display: flex; gap: 20px; color: var(--text-tertiary); font-size: 14px; }
.platform-detail .meta-line .score-total {
    color: var(--gold);
    font-weight: 700;
    font-family: var(--font-mono);
    font-size: 18px;
}
.platform-detail .scores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.platform-detail .score-card {
    background: var(--bg-tertiary);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    text-align: center;
}
.platform-detail .score-card .score-value {
    font-size: 32px;
    font-weight: 900;
    color: var(--gold);
    font-family: var(--font-mono);
    margin-bottom: 4px;
}
.platform-detail .score-card .score-label { font-size: 13px; color: var(--text-secondary); }
.platform-detail .info-section { margin-bottom: 24px; }
.platform-detail .info-section h2 {
    font-size: 18px;
    margin-bottom: 12px;
    padding-left: 12px;
    border-left: 4px solid var(--gold);
}
.platform-detail .info-section p { color: #343a40; line-height: 1.8; }
.platform-detail .info-section ul { padding-left: 24px; }
.platform-detail .info-section li { list-style: disc; margin-bottom: 6px; color: #343a40; }
.platform-detail .risk-warning {
    padding: 16px 20px;
    background: rgba(246, 70, 93, 0.06);
    border-left: 4px solid var(--down);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: #c92a3f;
    font-size: 14px;
}

/* ---------- Wiki ---------- */
.wiki-detail {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(8px);
}
.wiki-detail .term-tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--cyan-dim);
    color: var(--cyan);
    border: 1px solid rgba(0, 212, 255, 0.3);
    font-size: 12px;
    font-weight: 600;
    border-radius: 999px;
    margin-bottom: 16px;
}
.wiki-detail h1 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 12px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.wiki-detail .aliases {
    color: var(--text-tertiary);
    font-size: 14px;
    margin-bottom: 20px;
    font-family: var(--font-mono);
}
.wiki-detail .definition {
    padding: 20px 24px;
    background: var(--gold-dim);
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 28px;
    color: #8a6500;
}
.wiki-detail .wiki-content { font-size: 16px; line-height: 1.85; color: #343a40; }
.wiki-detail .wiki-content h2 {
    font-size: 22px;
    color: var(--text-primary);
    margin: 1.8em 0 0.8em;
    padding-left: 14px;
    border-left: 4px solid var(--cyan);
}
.wiki-detail .wiki-content ul { padding-left: 24px; }
.wiki-detail .wiki-content li { list-style: disc; margin-bottom: 6px; }
.wiki-related {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.wiki-related h3 {
    font-size: 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.wiki-related h3::before { content: ''; width: 4px; height: 18px; background: var(--gradient-cyan); border-radius: 2px; }
.wiki-related .related-items { display: flex; flex-wrap: wrap; gap: 10px; }
.wiki-related .related-items a {
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all var(--t-base);
}
.wiki-related .related-items a:hover {
    background: var(--cyan-dim);
    border-color: var(--cyan);
    color: var(--cyan);
    transform: translateY(-2px);
}

/* ---------- Pagination ---------- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 32px;
    padding: 24px 0;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--t-base);
}
.pagination a:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-gold);
    color: var(--gold);
    transform: translateY(-2px);
}
.pagination .current {
    background: var(--gradient-gold);
    border-color: var(--gold);
    color: var(--bg-primary);
    font-weight: 700;
}
.pagination .ellipsis { background: transparent; border-color: transparent; color: var(--text-tertiary); }
.pagination .page-prev, .pagination .page-next { padding: 0 20px; }

/* ---------- Search Page ---------- */
.search-header {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    margin-bottom: 24px;
}
.search-header h1 {
    font-size: 22px;
    margin-bottom: 12px;
}
.search-header .search-keyword {
    color: var(--gold);
    font-weight: 900;
}
.search-result-list { display: flex; flex-direction: column; gap: 12px; }
.search-result {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--t-base);
}
.search-result:hover { border-color: var(--border-gold); transform: translateX(4px); }
.search-result .title { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.search-result .title a { color: var(--text-primary); }
.search-result .title a:hover { color: var(--gold); }
.search-result .summary { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }
.search-result .summary em { color: var(--gold); font-style: normal; font-weight: 600; background: var(--gold-dim); padding: 0 4px; border-radius: 2px; }
.search-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-tertiary);
}
.search-empty .empty-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.4; }

/* ---------- Footer ---------- */
.site-footer {
    background: linear-gradient(to bottom, var(--bg-secondary), #e9ecef);
    border-top: 1px solid var(--border);
    padding: 48px 0 24px;
    margin-top: 48px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}
.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    margin-bottom: 12px;
}
.footer-brand .footer-logo span {
    font-size: 22px;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.footer-slogan { color: var(--text-secondary); font-size: 14px; margin-bottom: 8px; }
.footer-contact { font-size: 13px; color: var(--text-tertiary); }
.footer-contact a { color: var(--cyan); }
.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--gold); }

.footer-risk {
    padding: 16px 20px;
    background: rgba(246, 70, 93, 0.05);
    border: 1px solid rgba(246, 70, 93, 0.2);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}
.footer-risk strong { color: var(--down); }

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--text-tertiary);
}
.footer-bottom a { color: var(--text-tertiary); }
.footer-bottom a:hover { color: var(--gold); }
.footer-tech { font-family: var(--font-mono); font-size: 12px; opacity: 0.7; }

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    right: 32px;
    bottom: 32px;
    width: 48px;
    height: 48px;
    background: var(--gradient-gold);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--t-base);
    z-index: 99;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px) scale(1.08); }

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.6s ease-out both; }
.fade-in-up:nth-child(1) { animation-delay: 0.05s; }
.fade-in-up:nth-child(2) { animation-delay: 0.1s; }
.fade-in-up:nth-child(3) { animation-delay: 0.15s; }
.fade-in-up:nth-child(4) { animation-delay: 0.2s; }
.fade-in-up:nth-child(5) { animation-delay: 0.25s; }
.fade-in-up:nth-child(6) { animation-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .main-container { grid-template-columns: 1fr 280px; gap: 24px; }
    .article-card { grid-template-columns: 200px 1fr; }
    .hero-section { grid-template-columns: 1fr; }
    .hero-side { flex-direction: row; overflow-x: auto; padding-bottom: 8px; }
    .hero-side-item { min-width: 320px; }
}

@media (max-width: 991px) {
    .main-container { grid-template-columns: 1fr; }
    .sidebar { order: 2; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .main-content { order: 1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .platform-detail .scores-grid { grid-template-columns: repeat(2, 1fr); }
    .article-detail, .wiki-detail, .platform-detail { padding: 28px; }
}

@media (max-width: 767px) {
    :root { --header-h: 60px; }
    .container { padding: 0 16px; }
    .header-inner { gap: 12px; height: var(--header-h); }

    /* 重置 backdrop-filter，否则它会成为 position:fixed 子元素的包含块，
       导致移动端导航面板被限制在头部高度内无法完整展示。
       同时提高 z-index 确保头部（含菜单按钮）在导航面板之上 */
    .site-header {
        background: #ffffff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        z-index: 250;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        background: var(--bg-elevated);
        border-left: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        padding: 76px 16px 24px;
        gap: 4px;
        transform: translateX(100%);
        transition: transform var(--t-base);
        z-index: 200;
        max-height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    }
    .main-nav.open { transform: translateX(0); }
    .nav-item { padding: 14px 16px; font-size: 16px; border-radius: var(--radius-sm); }
    .nav-item.active::after { display: none; }
    .nav-item.active { background: var(--gold-dim); }

    .search-box { display: none; }
    .menu-toggle {
        display: flex;
        margin-left: auto;
        z-index: 201;
        position: relative;
        background: var(--bg-tertiary);
        border-radius: var(--radius-sm);
    }
    .menu-toggle span { background: var(--text-primary); }

    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all var(--t-base);
        z-index: 150;
    }
    .nav-overlay.visible { opacity: 1; visibility: visible; }

    .logo-slogan { display: none; }
    .logo-name { font-size: 18px; }

    .main-container { padding-top: 20px; gap: 20px; }
    .sidebar { grid-template-columns: 1fr; }
    .section-title h2 { font-size: 18px; }

    .article-card { grid-template-columns: 1fr; padding: 16px; }
    .article-card .cover { height: 180px; }
    .article-card .title { font-size: 17px; }

    .hero-main { height: 220px; }
    .hero-title { font-size: 20px; }
    .hero-summary { -webkit-line-clamp: 2; font-size: 13px; }

    .category-info { padding: 16px 18px; }
    .category-info h1 { font-size: 22px; }
    .category-info .desc { font-size: 13px; }

    .article-detail, .wiki-detail, .platform-detail { padding: 20px; }
    .article-detail h1 { font-size: 24px; }
    .wiki-detail h1 { font-size: 28px; }
    .article-detail .article-content, .wiki-detail .wiki-content { font-size: 15px; }
    .article-detail .article-content h2 { font-size: 19px; }

    .article-nav { grid-template-columns: 1fr; }
    .article-nav .nav-next { text-align: left; }
    .related-list ul { grid-template-columns: 1fr; }

    .platform-detail .scores-grid { grid-template-columns: repeat(2, 1fr); }
    .platform-detail .platform-header { flex-direction: column; align-items: flex-start; gap: 16px; text-align: left; }
    .platform-detail .platform-logo { width: 72px; height: 72px; }

    .platform-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }

    .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }

    .pagination a, .pagination span { min-width: 36px; height: 36px; font-size: 13px; }
    .pagination .page-prev, .pagination .page-next { padding: 0 14px; }
}

@media (max-width: 480px) {
    .ticker-item { padding: 0 14px; font-size: 12px; }
    .logo-mark svg { width: 30px; height: 30px; }
    .article-card .cover { height: 160px; }
    .hero-side-item { min-width: 280px; }
    .hero-side-item .thumb { width: 80px; height: 60px; }
}

/* ---------- Ad Inline（文章详情页标题下方内嵌广告） ---------- */
.ad-inline {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0 24px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--t-base);
    position: relative;
    overflow: hidden;
}
.ad-inline:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}
.ad-inline img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-md);
    flex-shrink: 0;
    background: var(--bg-tertiary);
}
.ad-inline-text {
    flex: 1;
    min-width: 0;
}
.ad-inline-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 4px;
}
.ad-inline-desc {
    font-size: 13px;
    color: var(--text-tertiary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ad-inline-label {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 11px;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    padding: 2px 8px;
    border-radius: 3px;
    pointer-events: none;
}

/* ---------- Ad Float PC（PC端底部悬浮广告） ---------- */
.ad-float-pc {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 180;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    padding-right: 36px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    transition: all var(--t-base);
    max-width: 420px;
}
.ad-float-pc:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.ad-float-pc img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--radius-md);
    flex-shrink: 0;
    background: var(--bg-tertiary);
}
.ad-float-pc .ad-float-text {
    flex: 1;
    min-width: 0;
}
.ad-float-pc .ad-float-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ad-float-pc .ad-float-desc {
    font-size: 12px;
    color: var(--text-tertiary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ad-float-pc .ad-float-cta {
    flex-shrink: 0;
    padding: 8px 18px;
    background: var(--gradient-gold);
    color: var(--bg-primary);
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}
.ad-float-close {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-tertiary);
    cursor: pointer;
    line-height: 1;
    transition: all var(--t-fast);
}
.ad-float-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* ---------- Ad Float Mobile（移动端底部悬浮广告） ---------- */
.ad-float-mobile {
    display: none;
}

/* 移动端：隐藏PC悬浮广告，显示移动端悬浮广告 */
@media (max-width: 767px) {
    .ad-float-pc { display: none; }
    .ad-float-mobile {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 180;
        align-items: center;
        gap: 10px;
        padding: 10px 16px;
        padding-right: 34px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom));
        background: var(--bg-elevated);
        border-top: 1px solid var(--border-strong);
        box-shadow: 0 -4px 16px rgba(0,0,0,0.10);
        text-decoration: none;
    }
    .ad-float-mobile img {
        width: 52px;
        height: 52px;
        object-fit: cover;
        border-radius: var(--radius-sm);
        flex-shrink: 0;
        background: var(--bg-tertiary);
    }
    .ad-float-mobile .ad-float-text {
        flex: 1;
        min-width: 0;
    }
    .ad-float-mobile .ad-float-title {
        font-size: 13px;
        font-weight: 700;
        color: var(--text-primary);
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .ad-float-mobile .ad-float-desc {
        font-size: 11px;
        color: var(--text-tertiary);
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .ad-float-mobile .ad-float-cta {
        flex-shrink: 0;
        padding: 7px 14px;
        background: var(--gradient-gold);
        color: var(--bg-primary);
        font-size: 12px;
        font-weight: 700;
        border-radius: var(--radius-sm);
        white-space: nowrap;
    }
    .ad-float-mobile .ad-float-close {
        top: -8px;
        right: -8px;
    }

    /* 移动端内嵌广告适配 */
    .ad-inline { padding: 12px 14px; gap: 12px; }
    .ad-inline img { width: 80px; height: 80px; }
    .ad-inline-title { font-size: 14px; }
    .ad-inline-desc { font-size: 12px; }
}

/* ---------- Print ---------- */
@media print {
    .ticker-bar, .site-header, .sidebar, .site-footer, .back-to-top, .breadcrumbs { display: none; }
    body { background: white; color: black; }
    .article-detail { border: none; padding: 0; }
}
