/* ============================================================
   US Market Digest · 亮色商务资讯主题
   白底浅灰 · 深蓝主色 · 红涨绿跌 · 自适应响应式
   类名兼容 list/page-head/news-card/card 等，供附属页复用
   ============================================================ */

/* ── 主题变量 ── */
:root{
  --canvas:#F5F6F8;          /* 页面背景浅灰 */
  --panel:#FFFFFF;           /* 卡片白 */
  --panel-2:#F8F9FB;         /* 次级浅色面板 */
  --line:#E5E8EE;            /* 边框 */
  --line-2:#D5DAE3;          /* 强边框 */
  --ink:#17212E;             /* 主文字深蓝黑 */
  --ink-2:#3D4A5C;           /* 次级文字 */
  --muted:#7A8798;           /* 弱化文字 */
  --brand:#0F3A8C;           /* 深蓝主色 */
  --brand-2:#1F56C8;         /* 亮蓝 */
  --brand-bg:#EAF1FC;        /* 蓝浅底 */
  --up:#E02424;              /* 涨-红 */
  --down:#0E9F5E;            /* 跌-绿 */
  --badge-up-bg:#FDEBEB;
  --badge-down-bg:#E7F7EF;
  --header-bg:#0F3A8C;
  --header-ink:#FFFFFF;
  --shadow:0 1px 2px rgba(23,33,46,.05),0 6px 20px -8px rgba(23,33,46,.10);
  --shadow-lg:0 12px 32px -12px rgba(23,33,46,.18);
  --gut:clamp(16px,2.6vw,40px);
  --ease:cubic-bezier(.22,.61,.36,1);
  --r-sm:6px;
  --r-md:10px;
  --r-lg:16px;
  --font-b:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Roboto,Helvetica,Arial,sans-serif;
  --font-m:"SF Mono",SFMono-Regular,ui-monospace,Menlo,Consolas,"Courier New",monospace;
}

/* ── 基础重置 ── */
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background:var(--canvas);color:var(--ink);
  font-family:var(--font-b);font-size:15px;line-height:1.6;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
ul,ol{list-style:none}
.wrap{padding-inline:var(--gut)}
.container{max-width:1200px;margin-inline:auto}

.num{font-family:var(--font-m);font-variant-numeric:tabular-nums}
.up{color:var(--up)}
.down{color:var(--down)}

/* ============================================================
   顶部导航
   ============================================================ */
.site-top{
  background:var(--header-bg);color:var(--header-ink);
  position:sticky;top:0;z-index:200;
  box-shadow:0 1px 0 rgba(255,255,255,.08) inset;
}
.topbar-inner{display:flex;align-items:center;gap:28px;height:64px;padding-inline:var(--gut);max-width:1200px;margin-inline:auto}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:19px;letter-spacing:-.01em;color:#fff;flex-shrink:0}
.brand-mark{width:30px;height:30px;background:#fff;color:var(--brand);border-radius:7px;
  display:grid;place-items:center;font-weight:800;font-size:16px}
.brand small{display:block;font-size:11px;font-weight:500;opacity:.75;letter-spacing:.04em;line-height:1.1}

.nav-links{display:flex;gap:4px;flex-wrap:wrap}
.nav-links a{display:inline-flex;align-items:center;height:34px;padding:0 14px;border-radius:var(--r-sm);
  color:rgba(255,255,255,.82);font-size:15px;transition:all .18s}
.nav-links a:hover{color:#fff;background:rgba(255,255,255,.12)}
.nav-links a.on{color:#fff;background:var(--brand-2);font-weight:600}

.nav-right{margin-left:auto;display:flex;align-items:center;gap:12px}
.search-box{display:flex;align-items:center;gap:8px;height:36px;padding:0 14px;
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);
  border-radius:var(--r-md);color:rgba(255,255,255,.6);font-size:13px;min-width:200px;transition:background .2s}
.search-box:focus-within{background:rgba(255,255,255,.2)}
.search-box input{background:transparent;border:0;outline:0;color:#fff;font:inherit;width:100%}
.search-box input::placeholder{color:rgba(255,255,255,.55)}

.btn{display:inline-flex;align-items:center;justify-content:center;height:38px;padding:0 20px;
  background:var(--brand);color:#fff;border-radius:var(--r-md);
  font-weight:600;font-size:14px;transition:transform .18s,box-shadow .18s;white-space:nowrap}
.btn:hover{background:var(--brand-2);box-shadow:0 6px 18px -6px rgba(31,86,200,.5)}
.btn-sm{height:32px;padding:0 14px;font-size:13px}
.btn-ghost{display:inline-flex;align-items:center;justify-content:center;height:38px;padding:0 20px;
  border:1px solid var(--line-2);border-radius:var(--r-md);font-size:14px;color:var(--ink);
  background:#fff;transition:border-color .2s}
.btn-ghost:hover{border-color:var(--brand-2);color:var(--brand-2)}

.menu-toggle{display:none;background:none;border:0;cursor:pointer;color:#fff;font-size:24px;padding:4px 8px;line-height:1}
.nav-close{display:none}

/* 登录/会员 */
.nav-user{position:relative;cursor:pointer;display:flex;align-items:center;gap:8px;color:#fff}
.nav-user-avatar{width:32px;height:32px;border-radius:50%;background:var(--brand-2);object-fit:cover}
.nav-user-menu{position:absolute;right:0;top:44px;background:var(--panel);border:1px solid var(--line);
  border-radius:var(--r-md);min-width:170px;padding:6px 0;display:none;box-shadow:var(--shadow-lg);z-index:300}
.nav-user:hover .nav-user-menu{display:block}
.nav-user-menu a{display:block;padding:9px 16px;font-size:13px;color:var(--ink-2)}
.nav-user-menu a:hover{color:var(--brand-2);background:var(--panel-2)}

/* ============================================================
   首页 Hero 焦点
   ============================================================ */
.hero-wrap{background:linear-gradient(180deg,#EAF1FC 0%,var(--canvas) 100%)}
.hero{display:grid;grid-template-columns:1.6fr 1fr;gap:24px;padding:32px var(--gut);max-width:1200px;margin-inline:auto}

.hero-lead{position:relative;border-radius:var(--r-lg);overflow:hidden;background:var(--panel);
  box-shadow:var(--shadow-lg);display:block;min-height:380px}
.hero-lead img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.hero-lead::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(15,58,140,.92) 0%,rgba(15,58,140,.35) 45%,transparent 75%)}
.hero-lead-body{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:flex-end;
  min-height:380px;padding:30px;color:#fff;gap:12px}
.hero-lead-body .kicker{display:inline-flex;align-self:flex-start;align-items:center;gap:6px;
  background:rgba(255,255,255,.2);backdrop-filter:blur(4px);border:1px solid rgba(255,255,255,.3);
  color:#fff;font-size:11px;padding:4px 12px;border-radius:var(--r-sm);letter-spacing:.06em;font-weight:600}
.hero-lead-body h2{font-size:clamp(22px,2.6vw,30px);line-height:1.25;font-weight:700;letter-spacing:-.01em}
.hero-lead-body .lead-desc{font-size:14px;color:rgba(255,255,255,.85);max-width:54ch;display:-webkit-box;
  -webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hero-lead-body .lead-meta{font-size:12px;color:rgba(255,255,255,.7);display:flex;gap:14px;align-items:center}

.hero-side{display:flex;flex-direction:column;gap:14px}
.hero-item{display:flex;gap:14px;align-items:center;background:var(--panel);border:1px solid var(--line);
  border-radius:var(--r-md);padding:12px;box-shadow:var(--shadow);transition:transform .2s,border-color .2s}
.hero-item:hover{transform:translateY(-2px);border-color:var(--brand-2)}
.hero-item .idx-num{width:30px;height:30px;border-radius:var(--r-sm);background:var(--brand-bg);color:var(--brand);
  display:grid;place-items:center;font-weight:700;font-family:var(--font-m);font-size:13px;flex-shrink:0}
.hero-item .hi-title{font-size:14px;font-weight:600;line-height:1.35;display:-webkit-box;
  -webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;flex:1}
.hero-item .hi-meta{font-family:var(--font-m);font-size:11px;color:var(--muted);margin-top:2px;flex-shrink:0}

/* ============================================================
   通用 section 标题
   ============================================================ */
.section{padding:36px 0 8px;max-width:1200px;margin-inline:auto}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;
  flex-wrap:wrap;padding:0 var(--gut) 16px}
.section-head h2{font-size:20px;font-weight:700;letter-spacing:-.01em;display:flex;align-items:center;gap:10px}
.section-head h2::before{content:"";width:5px;height:20px;background:var(--brand-2);border-radius:3px}
.section-head .more{font-size:13px;color:var(--brand-2);font-weight:600}
.section-head .more:hover{text-decoration:underline}

/* ============================================================
   首页：资讯网格（左侧列表 + 右侧信息流）
   ============================================================ */
.home-layout{display:grid;grid-template-columns:1fr 320px;gap:28px;
  padding:8px var(--gut) 56px;max-width:1200px;margin-inline:auto;align-items:start}

/* 纵向主列表 */
.news-list{display:flex;flex-direction:column}
.news-item{display:grid;grid-template-columns:150px 1fr auto;gap:18px;padding:20px 0;
  border-bottom:1px solid var(--line);align-items:center}
/* 无缩略图时：正文占满内容列、标签列靠右，避免正文被塞进 150px 缩略图列而错乱 */
.news-item:not(.has-thumb){grid-template-columns:1fr auto}
.news-item > div:not(.cats){min-width:0}
.news-thumb-sm{width:150px;height:100px;border-radius:var(--r-md);overflow:hidden;
  background:var(--panel-2);flex-shrink:0}
.news-thumb-sm img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.news-item:hover .news-thumb-sm img{transform:scale(1.05)}
.news-item h3{font-size:17px;font-weight:600;line-height:1.4;margin-bottom:8px;transition:color .2s}
.news-item:hover h3{color:var(--brand-2)}
.news-item .summary{color:var(--muted);font-size:13.5px;line-height:1.6;margin-bottom:10px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.news-item .meta{font-family:var(--font-m);font-size:12px;color:var(--muted);display:flex;gap:14px;align-items:center}
.news-item .cats{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.news-item .cat{font-size:11px;color:var(--brand-2);border:1px solid rgba(31,86,200,.25);
  padding:2px 9px;border-radius:999px;white-space:nowrap;background:var(--brand-bg)}
.news-item .views{display:flex;align-items:center;gap:5px}

/* ============================================================
   侧边栏
   ============================================================ */
.side{display:flex;flex-direction:column;gap:20px;position:sticky;top:80px}
.card{background:var(--panel);border:1px solid var(--line);border-radius:var(--r-md);
  box-shadow:var(--shadow);overflow:hidden}
.card-head{padding:14px 18px;border-bottom:1px solid var(--line);display:flex;
  justify-content:space-between;align-items:center}
.card-head h4{font-size:14px;font-weight:700;color:var(--ink);display:flex;align-items:center;gap:8px}
.card-head h4::before{content:"";width:4px;height:16px;background:var(--brand-2);border-radius:2px}
.card-head .more{font-size:12px;color:var(--brand-2)}

.rank-item{display:grid;grid-template-columns:26px 1fr;gap:12px;padding:12px 18px;
  border-bottom:1px solid var(--line);font-size:13.5px;line-height:1.4;transition:background .2s}
.rank-item:last-child{border-bottom:0}
.rank-num{font-family:var(--font-m);font-weight:700;color:var(--brand-2);font-size:15px}
.rank-item:nth-child(-n+3) .rank-num{color:#E02424}
.rank-item a{color:var(--ink-2)}
.rank-item:hover{background:var(--panel-2)}
.rank-item:hover a{color:var(--brand-2)}

/* 标签云 */
.tags-grid{display:flex;flex-wrap:wrap;gap:10px;padding:18px}
.tag-big{height:auto;padding:7px 14px;font-size:13px;border-radius:var(--r-sm);
  color:var(--ink-2);background:var(--panel-2);border:1px solid var(--line-2);
  transition:all .2s;display:inline-flex;align-items:center}
.tag-big:hover{border-color:var(--brand-2);color:var(--brand-2);background:var(--brand-bg);transform:translateY(-1px)}
.side .tag-big{background:#fff}

/* ============================================================
   列表页 / 搜索页
   ============================================================ */
.page-head{background:var(--panel);border-bottom:1px solid var(--line);padding:34px 0}
.page-head-inner{max-width:1200px;margin-inline:auto;padding-inline:var(--gut)}
.crumb{font-family:var(--font-m);font-size:12px;color:var(--muted);margin-bottom:14px}
.crumb a:hover{color:var(--brand-2)}
.crumb .sep{margin:0 8px;opacity:.5}
.page-head h1{font-size:clamp(26px,3.2vw,36px);font-weight:700;letter-spacing:-.01em}
.page-head p{color:var(--muted);margin-top:8px;font-size:14.5px}

.list-layout{display:grid;grid-template-columns:1fr 320px;gap:28px;
  padding:28px var(--gut) 56px;max-width:1200px;margin-inline:auto;align-items:start}
.news-card{display:grid;grid-template-columns:210px 1fr;gap:20px;padding:22px 0;
  border-bottom:1px solid var(--line)}
.news-thumb{width:210px;height:135px;border-radius:var(--r-md);overflow:hidden;background:var(--panel-2);position:relative}
.news-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.news-card:hover .news-thumb img{transform:scale(1.04)}
.news-thumb .cat-badge{position:absolute;top:10px;left:10px;background:var(--brand);color:#fff;
  font-size:11px;padding:3px 10px;border-radius:999px;font-weight:600;z-index:1}
.news-body h3{font-size:18px;font-weight:600;line-height:1.4;margin-bottom:8px;transition:color .2s}
.news-card:hover .news-body h3{color:var(--brand-2)}
.news-body .summary{color:var(--muted);font-size:14px;line-height:1.6;margin-bottom:12px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.news-meta{display:flex;gap:16px;font-family:var(--font-m);font-size:12px;color:var(--muted);align-items:center;flex-wrap:wrap}
.news-meta .dot{width:3px;height:3px;border-radius:50%;background:var(--line-2)}

/* 分页 */
.pagination{display:flex;justify-content:center;padding:36px 0 8px;flex-wrap:wrap}
.pagination ul{list-style:none;margin:0;padding:0;display:flex;gap:8px;flex-wrap:wrap}
.pagination li{list-style:none;margin:0;padding:0;display:inline-flex}
.pagination a,.pagination span{
  display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;
  padding:0 12px;border:1px solid var(--line-2);border-radius:var(--r-sm);
  font-size:14px;color:var(--ink-2);background:#fff;text-decoration:none}
.pagination a:hover{color:var(--brand-2);border-color:var(--brand-2)}
.pagination .current,.pagination span.current,.pg.on{
  background:var(--brand);color:#fff;border-color:var(--brand);font-weight:600}
.pagination .disabled,.pagination span.disabled{opacity:.4;pointer-events:none}

/* ============================================================
   文章详情页
   ============================================================ */
.article-layout{display:grid;grid-template-columns:1fr 320px;gap:28px;
  max-width:1200px;margin-inline:auto;padding:28px var(--gut) 56px;align-items:start}
.article{background:var(--panel);border:1px solid var(--line);border-radius:var(--r-lg);
  box-shadow:var(--shadow);padding:clamp(20px,4vw,44px)}
.article .crumb{margin-bottom:22px}
.article h1{font-size:clamp(24px,3.2vw,36px);font-weight:700;line-height:1.25;letter-spacing:-.01em;margin-bottom:18px}
.article-meta{display:flex;align-items:center;gap:14px;padding-bottom:20px;
  border-bottom:1px solid var(--line);margin-bottom:28px;font-size:13px;color:var(--muted);flex-wrap:wrap}
.avatar{width:38px;height:38px;border-radius:50%;background:var(--brand);color:#fff;
  display:grid;place-items:center;font-weight:700;font-size:15px;flex-shrink:0}
.article-meta .author{color:var(--ink);font-weight:600}
.article-meta .dot{width:3px;height:3px;border-radius:50%;background:var(--line-2)}

/* 正文 */
.article-body p{margin-bottom:20px;font-size:16.5px;line-height:2.2;color:var(--ink-2)}
.article-body strong{color:var(--ink);font-weight:600}
.article-body blockquote{border-left:4px solid var(--brand-2);padding:14px 22px;
  margin:24px 0;background:var(--brand-bg);border-radius:0 var(--r-md) var(--r-md) 0;
  color:var(--ink-2);font-size:15px}
.article-body h2{font-size:24px;font-weight:700;margin:36px 0 16px;color:var(--ink);letter-spacing:-.01em}
.article-body h3{font-size:19px;font-weight:600;margin:28px 0 12px;color:var(--ink)}
.article-body img{border-radius:var(--r-md);margin:22px auto;max-width:100%;box-shadow:var(--shadow)}
.article-body ul,.article-body ol{margin:0 0 22px 26px;line-height:1.9;color:var(--ink-2)}
.article-body ul{list-style:disc}
.article-body ol{list-style:decimal}
.article-body a{color:var(--brand-2);text-decoration:underline;text-underline-offset:2px}
.article-body a:hover{color:var(--brand)}

/* 文章标签 */
.article-tags{display:flex;gap:8px;flex-wrap:wrap;margin:28px 0 4px;padding-top:24px;border-top:1px solid var(--line)}
.article-tags .tag{display:inline-flex;align-items:center;height:30px;padding:0 14px;border:1px solid var(--line-2);
  border-radius:999px;font-size:13px;color:var(--ink-2);transition:all .2s;background:#fff}
.article-tags .tag:hover{border-color:var(--brand-2);color:var(--brand-2);background:var(--brand-bg)}

/* 分享栏 */
.share-bar{display:flex;gap:10px;align-items:center;padding:20px 0;border-top:1px solid var(--line);margin-top:12px}
.share-btn{width:40px;height:40px;border:1px solid var(--line-2);border-radius:50%;
  display:grid;place-items:center;font-size:15px;cursor:pointer;transition:all .2s;color:var(--ink-2)}
.share-btn:hover{border-color:var(--brand-2);color:var(--brand-2);background:var(--brand-bg)}

/* 上一篇/下一篇 */
.pager{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:34px}
.pager a{padding:18px 20px;border:1px solid var(--line);border-radius:var(--r-md);
  font-size:13.5px;color:var(--muted);transition:all .2s;display:block;background:var(--panel-2)}
.pager a:hover{border-color:var(--brand-2);color:var(--ink);background:#fff}
.pager .dir{font-family:var(--font-m);font-size:11px;color:var(--brand-2);display:block;margin-bottom:6px}
.pager .pt{color:var(--ink);font-weight:600;line-height:1.4;display:-webkit-box;
  -webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pager .next{text-align:right}

/* 作者卡 */
.author-card{padding:22px;text-align:center}
.author-card .avatar{width:56px;height:56px;margin:0 auto 12px;font-size:22px}
.author-card h4{font-size:15px;margin-bottom:4px}
.author-card p{font-size:12.5px;color:var(--muted);line-height:1.6}

/* ============================================================
   CTA 横幅
   ============================================================ */
.cta-wrap{background:var(--brand);color:#fff}
.cta{max-width:1200px;margin-inline:auto;padding:46px var(--gut);text-align:center;
  display:flex;flex-direction:column;align-items:center;gap:14px}
.cta h2{font-size:clamp(22px,3vw,30px);font-weight:700;letter-spacing:-.01em}
.cta p{color:rgba(255,255,255,.8);max-width:56ch}
.cta .btn{background:#fff;color:var(--brand)}
.cta .btn:hover{box-shadow:0 8px 24px -8px rgba(0,0,0,.35)}

/* ============================================================
   Footer
   ============================================================ */
footer{background:#12233F;color:rgba(255,255,255,.72);margin-top:0;padding:38px 0 26px;border-top:4px solid var(--brand-2)}
.footer-grid{max-width:1200px;margin-inline:auto;padding:0 var(--gut);
  display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:32px;align-items:start}
.footer-brand{color:#fff;font-weight:700;font-size:18px;display:flex;align-items:center;gap:10px;margin-bottom:12px}
.footer-brand .brand-mark{background:#fff;color:var(--brand)}
.footer-desc{font-size:13px;color:rgba(255,255,255,.6);line-height:1.7;max-width:40ch}
.footer-col h5{color:#fff;font-size:14px;margin-bottom:14px;font-weight:600}
.footer-col a{display:block;font-size:13px;color:rgba(255,255,255,.66);padding:5px 0;transition:color .2s}
.footer-col a:hover{color:#fff}
.footer-bottom{max-width:1200px;margin-inline:auto;padding:22px var(--gut) 0;
  border-top:1px solid rgba(255,255,255,.12);margin-top:30px;
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;font-size:12px}
.footer-bottom a{color:rgba(255,255,255,.66)}
.footer-bottom a:hover{color:#fff}

/* ============================================================
   返回顶部
   ============================================================ */
.scroll-top{position:fixed;right:24px;bottom:24px;width:42px;height:42px;
  background:var(--brand);border:none;border-radius:50%;display:grid;place-items:center;
  cursor:pointer;color:#fff;z-index:40;opacity:0;visibility:hidden;transition:all .3s;
  font-size:18px;box-shadow:var(--shadow-lg)}
.scroll-top.show{opacity:1;visibility:visible}
.scroll-top:hover{background:var(--brand-2)}

/* ============================================================
   入场动效
   ============================================================ */
.rv{opacity:0;transform:translateY(18px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.rv.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){
  *{animation:none!important;transition-duration:.01ms!important}
  .rv{opacity:1;transform:none}
}

/* ============================================================
   响应式
   ============================================================ */
@media(max-width:1100px){
  .menu-toggle{display:block}
  .nav-links{position:fixed;top:0;right:-300px;width:300px;height:100vh;
    background:var(--panel);border-left:1px solid var(--line);z-index:300;
    flex-direction:column;padding:76px 22px 24px;gap:2px;transition:right .25s ease;box-shadow:var(--shadow-lg)}
  .nav-links.open{right:0}
  .nav-links a{display:block;padding:13px 12px;border-bottom:1px solid var(--line);
    font-size:15px;color:var(--ink-2);height:auto;border-radius:var(--r-sm)}
  .nav-links a.on{color:#fff}
  .nav-close{display:block;position:absolute;top:16px;right:18px;font-size:26px;line-height:1;color:var(--ink)}
  .search-box{display:none}
  .hero{grid-template-columns:1fr}
  .home-layout{grid-template-columns:1fr}
  .list-layout{grid-template-columns:1fr}
  .article-layout{grid-template-columns:1fr;gap:24px;padding:15px 0;}
  .side{position:static!important}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:700px){
  .topbar-inner{height:56px}
  .hero{grid-template-columns:1fr;padding:16px var(--gut)}
  .hero-lead-body{min-height:320px;padding:22px}
  .news-item{grid-template-columns:1fr;gap:12px}
  .news-item:not(.has-thumb){grid-template-columns:1fr}
  .news-item .cats{justify-content:flex-start}
  .news-thumb-sm{width:100%;height:180px}
  .news-card{grid-template-columns:1fr}
  .news-thumb{width:100%;height:190px}
  .pager{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .nav{gap:16px}
}

/* ============================================================
   实时行情模块（前端 dowpulse.js 动态刷新）
   data-index / data-symbol / data-crypto 由 api_quote.php 回填
   ============================================================ */

/* ── 顶部行情纸带 ── */
.ticker{
  background:#fff;border-bottom:1px solid var(--line);
  overflow:hidden;height:38px;display:flex;align-items:center;
  font-family:var(--font-m);font-size:12.5px;position:relative;
}
.ticker-track{display:flex;gap:40px;white-space:nowrap;animation:tick 70s linear infinite;
  padding-left:var(--gut)}
.ticker:hover .ticker-track{animation-play-state:paused}
.tk{display:inline-flex;align-items:center;gap:9px;padding:0 4px}
.tk .sym{color:var(--muted);letter-spacing:.03em;font-weight:600}
.tk .px{color:var(--ink);font-weight:600}
.tk .ch{font-weight:600;padding:1px 6px;border-radius:4px;background:var(--badge-up-bg);color:var(--up)}
.tk .ch.down{background:var(--badge-down-bg);color:var(--down)}
@keyframes tick{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ── 行情板块容器 ── */
.quote-section{padding:8px 0;max-width:1200px;margin-inline:auto}
.quote-section .section-head{padding-bottom:16px}

/* ── 行情面板：一体化终端风格 ── */
.quote-wrap{max-width:1200px;margin-inline:auto}
.quote-panel{
  max-width:calc(1200px - 2 * var(--gut));
  margin:8px auto 0;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  box-shadow:var(--shadow);
  overflow:hidden;
}

/* 三大指数概览条 */
.idx-bar{
  display:flex;align-items:stretch;
  background:linear-gradient(135deg,#0F3A8C 0%,#1F56C8 100%);
  color:#fff;
}
.idx-item{
  flex:1;
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;
  padding:22px 26px;
  min-width:0;
}
.idx-divider{width:1px;background:rgba(255,255,255,.15)}
.idx-info{display:flex;flex-direction:column;gap:3px;min-width:0}
.idx-name{font-size:13px;color:rgba(255,255,255,.75);font-weight:500;display:flex;align-items:baseline;gap:6px}
.idx-code{font-family:var(--font-m);font-size:10px;opacity:.6;font-weight:400}
.idx-px{font-family:var(--font-m);font-size:26px;font-weight:700;letter-spacing:-.02em;line-height:1.15}
.idx-chg{font-family:var(--font-m);font-size:12px;font-weight:600}
.idx-chg.up{color:#FFB3B3}
.idx-chg.down{color:#9FE8C4}
.idx-spark{width:90px;height:36px;flex-shrink:0;opacity:.9}
.idx-spark svg{width:100%;height:100%;display:block}

/* 热门个股列表 */
.stk-list-head{
  display:grid;
  grid-template-columns:1.3fr 1fr .8fr 1fr;
  gap:16px;
  padding:11px 26px;
  font-size:11px;
  color:var(--muted);
  letter-spacing:.05em;
  text-transform:uppercase;
  font-weight:600;
  border-bottom:1px solid var(--line);
  background:var(--panel-2);
}
.stk-list{display:flex;flex-direction:column}
.stk-row{
  display:grid;
  grid-template-columns:1.3fr 1fr .8fr 1fr;
  gap:16px;
  padding:13px 26px;
  align-items:center;
  border-bottom:1px solid var(--line);
  transition:background .15s;
}
.stk-row:last-child{border-bottom:0}
.stk-row:hover{background:var(--panel-2)}
.col-name{display:flex;align-items:baseline;gap:10px;min-width:0}
.sym{font-family:var(--font-m);font-weight:700;font-size:14px;color:var(--ink);letter-spacing:.02em}
.name{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.col-price{font-family:var(--font-m);font-size:15px;font-weight:600;color:var(--ink)}
.col-chg{display:flex;justify-content:flex-start}
.chg-badge{
  font-family:var(--font-m);
  font-size:12px;
  font-weight:700;
  padding:3px 10px;
  border-radius:999px;
  min-width:64px;
  text-align:center;
}
.chg-badge.up{background:var(--badge-up-bg);color:var(--up)}
.chg-badge.down{background:var(--badge-down-bg);color:var(--down)}
.col-spark{height:28px;display:flex;align-items:center}
.col-spark svg{width:100%;height:100%}
.stk-more{
  padding:12px 26px;
  border-top:1px solid var(--line);
  background:var(--panel-2);
  text-align:center;
  font-size:13px;
  font-weight:600;
}
.stk-more a{color:var(--brand-2);transition:color .2s}
.stk-more a:hover{color:var(--brand)}

/* ── 侧边栏实时行情 ── */
.side-quote{padding:6px 0}
.sq-row{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;
  padding:11px 18px;border-bottom:1px solid var(--line)}
.sq-row:last-child{border-bottom:0}
.sq-name{font-family:var(--font-m);font-weight:700;font-size:13px;color:var(--ink)}
.sq-sub{font-size:11px;color:var(--muted);margin-top:1px}
.sq-px{font-family:var(--font-m);font-size:14px;font-weight:700;color:var(--ink);text-align:right}
.sq-pct{font-family:var(--font-m);font-size:12px;font-weight:600;text-align:right}
.sq-pct.up{color:var(--up)}
.sq-pct.down{color:var(--down)}

/* ── 行情响应式 ── */
@media(max-width:1100px){
  .idx-bar{flex-direction:column}
  .idx-divider{width:auto;height:1px;background:rgba(255,255,255,.15)}
  .idx-item{padding:16px 20px}
  .stk-list-head{grid-template-columns:1fr .8fr .6fr .8fr;gap:10px;padding:10px 16px}
  .stk-row{grid-template-columns:1fr .8fr .6fr .8fr;gap:10px;padding:11px 16px}
  .col-spark{display:none}
  .stk-list-head .col-spark{display:none}
}
@media(max-width:700px){
  .quote-panel{margin:8px 12px 0;border-radius:var(--r-md)}
  .idx-item{padding:14px 16px;gap:10px}
  .idx-px{font-size:20px}
  .idx-spark{width:60px;height:28px}
  .stk-list-head{grid-template-columns:1fr .6fr .6fr}
  .stk-row{grid-template-columns:1fr .6fr .6fr}
  .col-price{display:none}
  .stk-list-head .col-price{display:none}
  .name{display:none}
  .ticker{height:34px;font-size:11.5px}
}
