/* ==========================================================================
   链星球 ChainPlanet v5 — Odaily 式极简黑白主题
   ========================================================================== */

:root {
    /* === 基础色 === */
    --ink: #09090b;
    --ink-2: #3f3f46;
    --ink-3: #52525b;
    --muted: #a1a1aa;
    --muted-2: #71717a;
    --muted-3: #d4d4d8;
    --line: #f4f4f5;
    --line-2: #e4e4e7;
    --bg: #fafafa;
    --card: #fff;
    
    /* === 主色调：靛蓝-紫 科技风 === */
    --accent: #6366f1;
    --accent-2: #8b5cf6;
    --accent-3: #a78bfa;
    --accent-bg: #f5f3ff;
    --accent-bg-2: #ede9fe;
    --accent-hover: #4f46e5;
    --accent-glow: rgba(99, 102, 241, 0.15);
    
    /* === 语义色：涨跌 === */
    --up: #10b981;
    --up-bg: #ecfdf5;
    --up-text: #059669;
    --down: #ef4444;
    --down-bg: #fef2f2;
    --down-text: #dc2626;
    
    /* === 辅助色：科技感 === */
    --teal: #14b8a6;
    --teal-bg: #f0fdfa;
    --teal-text: #0d9488;
    --amber: #f59e0b;
    --amber-bg: #fffbeb;
    --amber-text: #d97706;
    --cyan: #06b6d4;
    --cyan-bg: #ecfeff;
    
    /* === 标签/小元素 === */
    --tag-bg: #f4f4f5;
    --tag-text: #52525b;
    --hot-bg: #fef3c7;
    --hot-text: #b45309;
    --new-bg: #dbeafe;
    --new-text: #1d4ed8;
    
    /* === 圆角/阴影 === */
    --radius: 12px;
    --radius-sm: 8px;
    --radius-xs: 5px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-accent: 0 4px 16px rgba(99, 102, 241, 0.2);
    
    /* === 字体 === */
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {box-sizing: border-box;}
html {-webkit-text-size-adjust: 100%; scroll-behavior: smooth;}
body {margin: 0; font-family: var(--font); font-size: 16px; color: var(--ink); background: var(--card); line-height: 2; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;}
img {max-width: 100%; height: auto; border: 0; vertical-align: middle;}
a {color: inherit; text-decoration: none;}
a:hover {color: var(--ink);}
ul, ol {margin: 0; padding: 0; list-style: none;}
h1, h2, h3, h4, h5, p, figure {margin: 0;}
button {font-family: inherit; cursor: pointer;}
input {font-family: inherit;}
::selection {background: rgba(9, 9, 11, .12);}

/* ---------- 顶部行情条（固定顶部） ---------- */
.cp-ticker {position: sticky; top: 0; z-index: 100; background: var(--ink); color: #fff; font-size: 12.5px; overflow: hidden;}
.cp-ticker__in {max-width: 1440px; margin: 0 auto; display: flex; align-items: center; gap: 28px; padding: 7px 20px; overflow-x: auto; scrollbar-width: none;}
.cp-ticker__in::-webkit-scrollbar {display: none;}
.cp-ticker__item {display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;}
.cp-ticker__item b {font-weight: 700; color: var(--muted);}
.cp-ticker__item em {font-style: normal; font-weight: 600; color: #fff;}
.cp-ticker__item i {font-style: normal; font-size: 11.5px; font-weight: 600;}
.cp-ticker__item .cp-up {color: var(--up); font-weight: 700;}
.cp-ticker__item .cp-down {color: var(--down); font-weight: 700;}

/* ---------- 整体布局：三栏（左侧导航 | 中间内容 | 右侧热榜） ---------- */
.cp-layout {display: flex; min-height: 100vh; max-width: 1440px; margin: 0 auto;}
.cp-content {flex: 1; min-width: 0; display: flex; flex-direction: column;}

/* 中间内容区（头条+主内容） */
.cp-mid {flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 0 20px; margin-left: 16px; border-right: 1px solid var(--line-2);}

/* 页面内容区 */
.cp-page {padding: 10px 0 10px;}

/* ---------- 左侧边栏 ---------- */
.cp-sidebar {width: 210px; flex-shrink: 0; padding: 18px 14px 24px; position: sticky; top: 34px; height: calc(100vh - 34px); overflow-y: auto; background: var(--card); scrollbar-width: thin;}
.cp-sidebar::-webkit-scrollbar {width: 4px;}
.cp-sidebar::-webkit-scrollbar-thumb {background: var(--muted-3); border-radius: 4px;}
.cp-sidebar .cp-logo {display: flex; align-items: center; gap: 10px; padding: 4px 8px 20px;}
.cp-logo__mark {width: 34px; height: 34px; flex-shrink: 0;}
.cp-logo__mark svg {width: 100%; height: 100%; display: block;}
.cp-logo__txt {display: inline-flex; flex-direction: column; line-height: 1.1;}
.cp-logo__txt b {font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: .3px;}
.cp-logo__txt em {font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--muted); letter-spacing: .06em; margin-top: 2px;}
.cp-side-nav {margin-top: 4px;}
.cp-side-nav ul {display: flex; flex-direction: column; gap: 2px;}
.cp-side-nav li {border-radius: 10px;}
.cp-side-nav a {display: flex; align-items: center; gap: 12px; padding: 11px 12px; font-size: 15px; font-weight: 500; color: var(--ink-2); border-radius: 10px; transition: all .14s;}
.cp-side-nav a svg {width: 20px; height: 20px; flex-shrink: 0; color: var(--muted-2);}
.cp-side-nav a:hover {background: var(--tag-bg); color: var(--ink);}
.cp-side-nav a:hover svg {color: var(--ink);}
.cp-side-nav li.cp-on > a {background: var(--accent-bg); color: var(--accent); font-weight: 700;}
.cp-side-nav li.cp-on > a svg {color: var(--accent);}
.cp-sidebar__foot {margin-top: 24px; padding: 14px 12px; border-top: 1px solid var(--line);}
.cp-sidebar__tag {display: block; font-size: 11.5px; color: var(--muted); line-height: 1.6; letter-spacing: .3px;}

/* ---------- 移动端顶部条（汉堡 + 品牌） ---------- */
.cp-mtop {display: none; align-items: center; gap: 12px; padding: 0 16px; height: 50px; background: var(--card); border-bottom: 1px solid var(--line-2);}
.cp-mtop__brand {font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: .3px;}
.cp-burger {display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 36px; border: 0; background: transparent; cursor: pointer; padding: 6px; border-radius: 6px;}
/* .cp-burger:hover {background: var(--tag-bg);} */
.cp-burger span {display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .2s;}
.cp-burger.is-open span:nth-child(1) {transform: translateY(7px) rotate(45deg);}
.cp-burger.is-open span:nth-child(2) {opacity: 0;}
.cp-burger.is-open span:nth-child(3) {transform: translateY(-7px) rotate(-45deg);}

/* ---------- 顶栏（已移除搜索栏） ---------- */

/* ---------- 卡片：扁平无边框 ---------- */
.cp-card {background: var(--card); border: 0; padding: 0;}
.cp-card + .cp-card {margin-top: 0; padding-top: 24px; border-top: 1px solid var(--line);}
.cp-hdline {display: flex; align-items: center; gap: 10px; padding: 0 0 14px;}
.cp-hdline h2 {display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; letter-spacing: .3px; color: var(--ink);}
.cp-hdicon {width: 20px; height: 20px; flex-shrink: 0; color: var(--accent);}
.cp-hdline h2::before {display: none;}
.cp-hdline .cp-more {margin-left: auto; color: var(--muted); font-weight: 500; font-size: 13px; white-space: nowrap;}
.cp-hdline .cp-more:hover {color: var(--accent);}
.cp-live {color: var(--accent); font-weight: 800;}
.cp-live::before {content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 6px; vertical-align: middle; animation: cp-pulse 1.5s infinite; box-shadow: 0 0 0 2px var(--accent-glow);}
@keyframes cp-pulse {0%,100%{opacity:1} 50%{opacity:.4}}

/* ---------- 头条双图卡 ---------- */
.cp-hero {margin-bottom: 28px;}
.cp-hero__slider {display: grid; grid-template-columns: 1fr 1fr; gap: 14px;}
.cp-hero-card {position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--line); transition: transform .2s, box-shadow .2s;}
.cp-hero-card:hover {transform: translateY(-2px); box-shadow: var(--shadow-lg);}
.cp-hero-card img {width: 100%; height: 100%; object-fit: cover; display: block;}
.cp-hero-card__overlay {position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 55%, transparent 100%);}
.cp-hero-card__tag {display: inline-block; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 4px; margin-bottom: 10px; letter-spacing: .5px; box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);}
.cp-hero-card__overlay h2 {font-size: 19px; line-height: 1.4; font-weight: 800; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 2px rgba(0,0,0,.2);}
.cp-hero__dots {display: flex; justify-content: center; gap: 7px; margin-top: 14px;}
.cp-hero__dots i {width: 22px; height: 4px; border-radius: 3px; background: var(--muted-3); display: block; cursor: pointer; transition: all .2s;}
.cp-hero__dots i.cp-on {background: var(--accent); width: 32px;}

/* ---------- 主内容栅格 ---------- */
.cp-main {display: flex; flex-direction: column; gap: 0;}
.cp-col {flex: 1; min-width: 0;}

/* ---------- 文章卡片 ---------- */
.cp-post {display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); transition: background .15s;}
.cp-post:last-child {border-bottom: 0;}
.cp-post__media {flex-shrink: 0; width: 180px; border-radius: var(--radius-sm); overflow: hidden; background: var(--line); align-self: flex-start; transition: transform .2s, box-shadow .2s;}
.cp-post__media:hover {transform: scale(1.02); box-shadow: var(--shadow);}
.cp-post__media img {width: 180px; height: 112px; object-fit: cover; display: block; transition: transform .3s;}
.cp-post__media:hover img {transform: scale(1.05);}
.cp-post__main {min-width: 0; flex: 1;}
.cp-post h3 {font-size: 17px; font-weight: 700; line-height: 1.45; margin-bottom: 6px;}
.cp-post h3 a {display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .15s;}
.cp-post h3 a:hover {color: var(--accent);}
.cp-post__desc {font-size: 13.5px; color: var(--muted-2); margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.6;}
.cp-meta {display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted);}
.cp-meta time {color: var(--muted);}
.cp-meta .cp-cat {display: inline-block; padding: 2px 8px; background: var(--accent-bg); color: var(--accent); font-weight: 600; border-radius: 4px; font-size: 11px;}
.cp-meta .cp-cat:hover {background: var(--accent); color: #fff;}
.cms-content img {width: 80%; margin: 10px auto; display: block; text-align: center; height: auto; border: 0; }
/* ---------- 快讯（Odaily 式：时间内联标题前） ---------- */
.cp-flash {padding-left: 0;}
.cp-flash li {display: block; padding: 11px 0; border-bottom: 1px solid var(--line); transition: background .12s;}
.cp-flash li:last-child {border-bottom: 0;}
.cp-flash li:hover {background: var(--accent-bg); margin: 0 -8px; padding-left: 8px; padding-right: 8px; border-radius: var(--radius-xs);}
.cp-flash__item {display: flex; align-items: baseline; gap: 12px;}
.cp-flash__item time {font-size: 12.5px; color: var(--accent); font-weight: 600; white-space: nowrap; flex-shrink: 0; background: var(--accent-bg); padding: 1px 6px; border-radius: 3px;}
.cp-flash__item a {font-size: 14.5px; color: var(--ink-2); line-height: 1.7; flex: 1;}
.cp-flash__item a:hover {color: var(--accent); text-decoration: none;}

/* ---------- 纯文字行 ---------- */
.cp-line {display: flex; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line);}
.cp-line:last-child {border-bottom: 0;}
.cp-line a {flex: 1; min-width: 0; font-size: 14.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;}
.cp-line a:hover {color: var(--accent); text-decoration: underline;}
.cp-line time {font-size: 12px; color: var(--muted); flex-shrink: 0;}

/* ---------- 侧栏热榜 ---------- */
.cp-rank {list-style: none;}
.cp-rank li {display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); transition: transform .15s;}
.cp-rank li:last-child {border-bottom: 0;}
.cp-rank li:hover {transform: translateX(4px);}
.cp-rank-no {font-family: Georgia, serif; font-size: 15px; font-weight: 700; width: 28px; text-align: center; color: var(--muted); flex-shrink: 0;}
.cp-rank li:nth-child(-n+3) .cp-rank-no {background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-size: 22px; font-weight: 800;}
.cp-rank li:nth-child(1) .cp-rank-no::after {content: "🔥"; -webkit-text-fill-color: initial; font-size: 14px; margin-left: 2px;}
.cp-rank li:nth-child(2) .cp-rank-no::after {content: "🥈"; -webkit-text-fill-color: initial; font-size: 14px; margin-left: 2px;}
.cp-rank li:nth-child(3) .cp-rank-no::after {content: "🥉"; -webkit-text-fill-color: initial; font-size: 14px; margin-left: 2px;}
.cp-rank a {flex: 1; font-size: 13.5px; line-height: 1.5; font-weight: 500; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .15s;}
.cp-rank a:hover {color: var(--accent);}

/* ---------- 栏目 chip ---------- */
.cp-chip-list {display: flex; flex-wrap: wrap; gap: 8px;}
.cp-chip-list a {padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: var(--ink-2); background: var(--card); transition: all .2s; font-weight: 500;}
.cp-chip-list a:hover {color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; box-shadow: 0 2px 8px var(--accent-glow); transform: translateY(-1px);}

/* ---------- 底部页脚 ---------- */
.cp-ft {background: var(--card); border-top: 1px solid var(--line-2);}
.cp-ft__in {max-width: 1440px; margin: 0 auto; padding: 34px 24px 24px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 28px;}
.cp-ft__brand .cp-logo {display: flex; align-items: center; gap: 10px;}
.cp-ft__brand .cp-logo__txt em {color: var(--muted);}
.cp-ft__brand p {color: var(--muted-2); font-size: 13px; margin-top: 12px; max-width: 340px; line-height: 1.7;}
.cp-ft h4 {font-size: 14px; font-weight: 700; margin-bottom: 14px; color: var(--ink);}
.cp-ft__links li {margin-bottom: 8px;}
.cp-ft__links a {color: var(--muted-2); font-size: 13.5px;}
.cp-ft__links a:hover {color: var(--accent);}
.cp-ft__bar {border-top: 1px solid var(--line);}
.cp-ft__bar .cp-wrap {max-width: 1440px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; padding: 16px 24px; font-size: 12.5px; color: var(--muted);}
.cp-ft__bar a {color: var(--muted);}
.cp-ft__bar a:hover {color: var(--ink);}

/* ---------- 栏目页头 ---------- */
.cp-cathead {background: var(--card); border: 0; padding: 8px 0 18px; margin-bottom: 20px;}
.cp-cathead h1 {font-size: 28px; font-weight: 800; color: var(--ink);}
.cp-cathead p {color: var(--muted-2); margin-top: 6px;}
.cp-crumb {display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 0 0 16px; flex-wrap: wrap;}
.cp-crumb a {color: var(--muted-2);}
.cp-crumb a:hover {color: var(--ink);}
.cp-crumb .sep {color: var(--muted-3);}

/* ---------- 详情页 ---------- */
.cp-show h1 {font-size: 28px; line-height: 1.4; font-weight: 800; color: var(--ink); margin-bottom: 0;}
.cp-show__meta {display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 13px; padding: 16px 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px;}
.cp-show__meta .cp-author {color: var(--ink); font-weight: 700;}
.cp-toolbar {margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; flex-wrap: wrap;}
.cp-toolbar .cp-tag {display: inline-block; padding: 5px 13px; border-radius: 999px; background: var(--tag-bg); color: var(--ink-3); font-size: 12.5px; font-weight: 500;}
.cp-toolbar .cp-tag:hover {background: var(--line-2); color: var(--ink);}
.cp-pn {display: flex; flex-direction: column; gap: 0; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line);}
.cp-pn > div {display: flex; align-items: flex-start; gap: 12px; padding: 10px 0;}
.cp-pn > div:first-child {border-bottom: 1px solid var(--line);}
.cp-pn > div:last-child {padding-bottom: 0;}
.cp-pn a {flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px;}
.cp-pn a b {font-size: 12px; color: var(--muted); font-weight: 500;}
.cp-pn a span {font-size: 14px; color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.cp-pn a:hover span {text-decoration: underline;}
.cp-pn .cp-none {color: var(--muted); font-size: 13px; padding: 10px 0;}

/* ---------- 标签页 ---------- */
.cp-tag-list {display: flex; flex-wrap: wrap; gap: 10px; padding: 4px 0 20px;}
.cp-tag-list a {display: inline-block; padding: 7px 18px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13.5px; color: var(--ink-2); background: var(--card); transition: all .15s;}
.cp-tag-list a:hover {color: #fff; background: var(--ink); border-color: var(--ink);}
.cp-tag-list a .num {color: var(--muted); font-size: 12px; margin-left: 4px;}
.cp-tag-list a:hover .num {color: rgba(255,255,255,.7);}

/* ---------- 搜索页 ---------- */
.cp-search-bar {display: flex; gap: 10px; margin-bottom: 20px;}
.cp-search-bar input {flex: 1; height: 40px; border: 1px solid var(--line-2); border-radius: 8px; padding: 0 14px; font-size: 14px; outline: 0; color: var(--ink); background: var(--card);}
.cp-search-bar input:focus {border-color: var(--ink);}
.cp-search-bar button {height: 40px; padding: 0 20px; border: 0; border-radius: 8px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer;}

/* ---------- 分页 ---------- */
.xrpagination {text-align: center; padding: 26px 0 6px;}
.xrpagination a, .xrpagination span {display: inline-block; min-width: 34px; height: 34px; line-height: 32px; padding: 0 11px; border: 1px solid var(--line-2); border-radius: 8px; margin: 0 3px 6px; font-size: 13.5px; color: var(--ink-2); background: var(--card);}
.xrpagination .active, .xrpagination .current {background: var(--ink); border-color: var(--ink); color: #fff;}
.xrpagination a:hover {border-color: var(--ink); color: var(--ink);}

/* ---------- 返回顶部 ---------- */
.cp-top {position: fixed; right: 24px; bottom: 28px; width: 44px; height: 44px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--card); color: var(--ink-2); opacity: 0; visibility: hidden; transition: all .25s; z-index: 40; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);}
.cp-top:hover {background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-color: transparent; box-shadow: var(--shadow-accent); transform: translateY(-2px);}

/* ---------- 右侧固定栏 ---------- */
.cp-side {width: 280px; flex-shrink: 0; padding: 18px 14px 24px;}
.cp-side-sticky {position: sticky; top: 48px;}
.cp-side-note {font-size: 12px; color: var(--muted-2); line-height: 1.6; margin-top: 14px; padding: 12px; background: var(--bg); border-radius: var(--radius-sm);}
.cp-side-note strong {color: var(--ink-2);}
.cp-top.cp-show {opacity: 1; visibility: visible;}
.cp-top:hover {background: var(--ink); color: #fff; border-color: var(--ink);}

/* ---------- 移动端响应式 ---------- */
@media (max-width: 1060px) {
    .cp-layout {max-width: 100%;}
    .cp-ticker {position: fixed; top: 0; left: 0; right: 0; z-index: 100;}
    .cp-content {padding-top: 34px;}
    .cp-ticker__in {gap: 20px; padding: 7px 14px;}
    .cp-mtop {position: fixed; top: 34px; left: 0; right: 0; z-index: 90; display: flex; background: linear-gradient(135deg, var(--ink) 0%, #27272a 100%);}
    .cp-mtop__brand {color: #fff;}
    .cp-burger span {background: #fff;}
    .cp-sidebar {position: fixed; left: -260px; top: 84px; z-index: 95; width: 240px; height: calc(100vh - 84px); transition: left .25s ease; box-shadow: 4px 0 24px rgba(0,0,0,.12);}
    .cp-sidebar.cp-open {left: 0;}
    .cp-mid {padding: 0 16px; margin-left: 0; border: none; max-width: 100%;}
    .cp-page {padding: 10px;}
    .cp-side {display: none;}
    .cp-side-sticky {position: static;}
}

@media (max-width: 720px) {
    .cp-content {background: var(--bg);}
    .cp-mid {max-width: 720px; margin: 0 auto; padding: 0 14px;}
    .cp-page {padding: 10px;}
    .cp-hero__slider {grid-template-columns: 1fr;}
    .cp-hero-card__overlay h2 {font-size: 17px;}
    .cp-post {flex-direction: column; gap: 10px;}
    .cp-post__media {width: 100%;}
    .cp-post__media img {width: 100%; height: auto;}
    .cp-post h3 {font-size: 15.5px;}
    .cp-ft__in {grid-template-columns: 1fr; gap: 22px; padding: 24px 14px 18px;}
    .cp-ft__bar .cp-wrap {padding: 14px; flex-direction: column; align-items: flex-start;}
    .cp-show h1 {font-size: 22px;}
}

/* ---------- 侧边栏遮罩 ---------- */
.cp-sidebar-mask {display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 85;}
.cp-sidebar-mask.cp-show {display: block;}

/* ---------- 404/提示页 ---------- */
.cp-auth {min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg);}
.cp-auth__card {background: var(--card); border-radius: 16px; padding: 40px 36px; text-align: center; max-width: 400px; width: 100%;}
.cp-auth__code {font-size: 56px; font-weight: 800; color: var(--ink); font-family: Georgia, serif; margin-bottom: 12px;}
.cp-auth__title {font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 10px;}
.cp-auth__msg {font-size: 14px; color: var(--muted-2); margin-bottom: 24px; line-height: 1.6;}
.cp-auth__btn {display: inline-block; padding: 10px 28px; background: var(--ink); color: #fff; border-radius: 8px; font-size: 14px; font-weight: 600;}
.cp-auth__btn:hover {opacity: .85; color: #fff;}
