/* ═══════════════════════════════════════════════════════════
   財經快線 Finance Express — Newsprint Edition (Mobile First)
   米白紙色 × 墨藍 × 暗金 · 港台財經大報風格
   紅色只保留給漲跌數字，不做主色
   ═══════════════════════════════════════════════════════════ */
:root {
  --paper: #f7f5f0;
  /* 報紙紙底（中性米白） */
  --paper2: #efebe3;
  /* 次級紙色 */
  --card: #fffefb;
  --white: #fff;
  --ink: #14181c;
  --ink2: #3b4349;
  --muted: #79808a;
  --line: #e2ddd3;
  --line2: #c7c0b3;
  --brand: #123c5c;
  /* 墨藍（主色） */
  --brand2: #0a2b41;
  --accent: #a67c2e;
  /* 暗金（點綴） */
  --teal: #0d6b73;
  --up: #c0392b;
  /* 紅漲 */
  --down: #0d7a4c;
  /* 綠跌 */
  --serif: "Songti TC", "Noto Serif CJK TC", "Source Han Serif TC", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang TC", "PingFang SC", "Microsoft JhengHei", "Noto Sans CJK TC", "Segoe UI", sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent
}

html {
  -webkit-text-size-adjust: 100%
}

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden
}

img {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit
}

::selection {
  background: rgba(18, 60, 92, .16)
}

.num {
  font-variant-numeric: tabular-nums;
  font-family: var(--mono)
}

.loading {
  padding: 28px 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px
}

.up {
  color: var(--up)
}

.down {
  color: var(--down)
}

/* ── 頂部行情跑馬燈 ──────────────────────── */
.ticker-wrap {
  background: var(--ink);
  overflow: hidden;
  height: 34px;
  position: relative
}

.ticker {
  display: flex;
  width: max-content;
  animation: tick 60s linear infinite
}

.ticker-inner {
  display: flex;
  align-items: center;
  height: 34px
}

@keyframes tick {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

.tk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  font-size: 11.5px;
  white-space: nowrap;
  color: #dfe3e8;
  border-right: 1px solid rgba(255, 255, 255, .12)
}

.tk b {
  font-weight: 600;
  color: #f4f6f8
}

.tk .num {
  font-size: 11.5px
}

.tk .up {
  color: #ef8b7f
}

.tk .down {
  color: #57cd97
}

/* ── 報頭 ──────────────────────────────── */
.masthead {
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  padding: 14px 16px 12px
}

.mh-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background: var(--brand);
  color: #f4f2ec;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 900;
  line-height: 1
}

.logo-text {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 1.5px;
  line-height: 1;
  white-space: nowrap
}

.logo-text em {
  font-style: normal;
  color: var(--brand)
}

.logo-sub {
  display: none
}

.mh-btn {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: 1px solid var(--line2);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink2);
  background: var(--card)
}

.mh-btn:active {
  background: var(--paper2)
}

.mh-rule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 11px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .3px
}

.mh-rule .ed {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink2);
  letter-spacing: 1px
}

.mh-rule .clk {
  font-family: var(--mono);
  color: var(--brand);
  font-weight: 600
}

.mkt-status {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 10.5px
}

.mkt-status .m {
  display: flex;
  align-items: center;
  gap: 4px
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: inline-block;
  background: var(--muted)
}

.dot.open {
  background: var(--down);
  box-shadow: 0 0 5px rgba(13, 122, 76, .55);
  animation: pulse 2s infinite
}

@keyframes pulse {
  50% {
    opacity: .35
  }
}

/* ── 搜索抽屉 ──────────────────────────── */
.search-bar {
  display: none;
  padding: 10px 16px;
  background: var(--paper2);
  border-bottom: 1px solid var(--line)
}

.search-bar.on {
  display: block
}

.search-bar input {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line2);
  border-radius: 3px;
  padding: 10px 12px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  outline: none
}

.search-bar input:focus {
  border-color: var(--brand)
}

/* ── 分類導航 ──────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  box-shadow: 0 1px 6px rgba(20, 24, 28, .06)
}

.nav-inner {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 8px
}

.nav-inner::-webkit-scrollbar {
  display: none
}

.nav-inner a {
  flex-shrink: 0;
  padding: 12px 13px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink2);
  white-space: nowrap;
  position: relative
}

.nav-inner a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 0;
  height: 3px;
  background: transparent
}

.nav-inner a.active {
  color: var(--brand)
}

.nav-inner a.active::after {
  background: var(--brand)
}

main {
  padding: 0 16px 48px;
  max-width: 100%
}

/* ── 頭條 ──────────────────────────────── */
.lead {
  padding: 18px 0 20px;
  border-bottom: 2px solid var(--ink)
}

.lead-img {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--paper2);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  margin-bottom: 14px;
  position: relative
}

.lead-img .flag {
  position: absolute;
  left: 0;
  top: 0;
  background: var(--brand);
  color: #f4f2ec;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 5px 11px
}

.kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 9px
}

.kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--accent)
}

/* 發佈時間右靠，與 kicker 共用一行，省掉一列多餘的資訊行 */
.kicker .k-time {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted)
}

.lead h1 {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.26;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
  margin-bottom: 9px
}

.lead p {
  font-size: 14.5px;
  color: var(--ink2);
  line-height: 1.68;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0
}

/* 報道要點：把正文的分節標題提到頭條區，一眼看完主軸 */
.keys-hd {
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted)
}

/* 中文標籤走無襯線、英文小字走等寬，避免漢字被字距拉散 */
.keys-hd b {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
  color: var(--ink2);
  margin-right: 6px
}

.lead-keys {
  list-style: none;
  margin: 9px 0 0;
  padding: 0;
  display: grid;
  gap: 8px
}

.lead-keys li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  align-items: baseline;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink)
}

.lead-keys b {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent)
}

.lead-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
  flex-wrap: wrap
}

.lead-meta .src {
  color: var(--brand);
  font-weight: 800
}

.lead-meta .sep {
  width: 1px;
  height: 10px;
  background: var(--line2)
}

.btn-read {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  background: var(--ink);
  color: var(--paper);
  font-size: 11.5px;
  font-weight: 800;
  padding: 8px 13px;
  letter-spacing: .5px;
  border-radius: 2px
}

.btn-read:active {
  background: var(--brand)
}

/* ── 區塊標題（第一層級） ──────────────────── */
.section-head {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 26px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink)
}

.section-head h2 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .5px
}

.section-head .en {
  font-size: 9.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: var(--mono)
}

.section-head .side {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
  font-family: var(--mono)
}

/* 開市狀態徽章：收市為灰、交易中為綠並帶呼吸點 */
.sess {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .6px;
  color: var(--muted);
  border: 1px solid var(--line2);
  padding: 1px 5px;
  border-radius: 2px;
  line-height: 1.5
}

.sess.on {
  color: var(--down);
  border-color: var(--down)
}

.sess.on::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--down);
  margin-right: 4px;
  vertical-align: 1px;
  animation: pulse 1.6s ease-in-out infinite
}

/* ── 行情橫滑卡 ─────────────────────────── */
.mkt-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 12px
}

.mkt-tabs::-webkit-scrollbar {
  display: none
}

.mkt-tabs button {
  flex-shrink: 0;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 14px;
  border: 1px solid var(--line2);
  border-radius: 20px;
  color: var(--ink2);
  background: var(--card);
  white-space: nowrap
}

.mkt-tabs button.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink)
}

.mkt-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory
}

.mkt-scroll::-webkit-scrollbar {
  display: none
}

.mkt-card {
  flex-shrink: 0;
  width: 138px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line2);
  padding: 12px 12px 11px;
  scroll-snap-align: start
}

.mkt-card.u {
  border-left-color: var(--up)
}

.mkt-card.d {
  border-left-color: var(--down)
}

.mkt-card .nm {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.mkt-card .cd {
  font-size: 9.5px;
  color: var(--muted);
  font-family: var(--mono);
  margin-top: 2px
}

.mkt-card .cd .cl {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 800;
  color: var(--muted);
  background: var(--paper2);
  border: 1px solid var(--line);
  padding: 0 3px;
  margin-left: 5px;
  border-radius: 2px
}

.mkt-card .pr {
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 700;
  margin-top: 9px;
  letter-spacing: -.5px
}

.mkt-card .ch {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  margin-top: 3px;
  display: flex;
  gap: 6px
}

/* 報價跳動：只在數字真的變了才閃一下底色 */
.mkt-card.tk-u {
  animation: flashU .9s ease-out
}

.mkt-card.tk-d {
  animation: flashD .9s ease-out
}

@keyframes flashU {
  from {
    background: rgba(192, 57, 43, .16)
  }

  to {
    background: var(--card)
  }
}

@keyframes flashD {
  from {
    background: rgba(13, 122, 76, .16)
  }

  to {
    background: var(--card)
  }
}

/* ── 快訊時間線 ─────────────────────────── */
.flash-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand)
}

.flash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line)
}

.flash-head h3 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: .5px
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--up);
  animation: pulse 1.3s infinite
}

.flash-head .more {
  font-size: 10px;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 1px
}

.flash-list {
  max-height: 340px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch
}

.flash-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  position: relative
}

.flash-item:last-child {
  border-bottom: none
}

.flash-item:active {
  background: var(--paper2)
}

.flash-time {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  padding-top: 2px
}

.flash-body {
  padding-left: 12px;
  border-left: 1px solid var(--line2);
  position: relative
}

.flash-body::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line2);
  border: 1.5px solid var(--card)
}

.flash-item.imp .flash-body::before {
  background: var(--accent)
}

.flash-body p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink2)
}

.flash-item.imp .flash-body p {
  color: var(--ink);
  font-weight: 600
}

.flash-tag {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  color: var(--brand);
  border: 1px solid rgba(18, 60, 92, .28);
  background: rgba(18, 60, 92, .05);
  padding: 1px 5px;
  margin-right: 5px;
  vertical-align: 1px
}

/* ── 新聞列表：三級層次 ───────────────────── */
.news-list {
  display: flex;
  flex-direction: column
}

.news-item {
  display: grid;
  grid-template-columns: 1fr 84px;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  color: inherit
}

.news-item:active {
  background: rgba(18, 60, 92, .03)
}

.news-body {
  display: block;
  min-width: 0
}

.news-cat-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
  flex-wrap: wrap
}

.cat-badge {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .8px;
  padding: 2px 7px;
  border-radius: 2px;
  color: #f4f2ec;
  background: var(--ink)
}

.cat-stock {
  background: #1c4f8a
}

.cat-fund {
  background: #4a3f8f
}

.cat-macro {
  background: #123c5c
}

.cat-company {
  background: #0d6b73
}

.cat-global {
  background: #155d3e
}

.cat-crypto {
  background: #8f5c14
}

.cat-forex {
  background: #6b4a7a
}

.cat-bond {
  background: #5a5550
}

.src-name {
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 700
}

.news-time-inline {
  font-size: 10.5px;
  color: var(--muted);
  font-family: var(--mono);
  margin-left: auto
}

.news-title {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 5px
}

.news-sum {
  display: -webkit-box;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.news-foot {
  display: none
}

.news-thumb {
  width: 84px;
  height: 64px;
  object-fit: cover;
  background: var(--paper2);
  border: 1px solid var(--line);
  flex-shrink: 0
}

.news-thumb.gen {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, var(--paper2), #e5dfd4)
}

.news-thumb.gen .glyph {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 900;
  color: var(--line2)
}

/* 一級：主打條目，大圖在上 */
.news-item.lv1 {
  grid-template-columns: 1fr;
  gap: 11px;
  padding: 18px 0 20px
}

.news-item.lv1 .news-thumb {
  order: -1;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9
}

.news-item.lv1 .news-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.36;
  margin-bottom: 7px
}

.news-item.lv1 .news-sum {
  -webkit-line-clamp: 3;
  font-size: 13.5px
}

/* 二級：中號縮圖 */
.news-item.lv2 {
  grid-template-columns: 1fr 108px
}

.news-item.lv2 .news-thumb {
  width: 108px;
  height: 78px
}

.news-item.lv2 .news-title {
  font-size: 18px;
  font-weight: 800
}

.load-more {
  margin-top: 18px;
  text-align: center;
  padding: 13px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  background: var(--card)
}

.load-more:active {
  background: var(--ink);
  color: var(--paper)
}

/* ── 快訊 + 熱門欄 ──────────────────────── */
.rail {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 26px 0 0
}

.side-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  padding: 16px 14px
}

.side-card h3 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .5px;
  margin-bottom: 13px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line)
}

.rank-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  align-items: start
}

.rank-item:last-child {
  border-bottom: none;
  padding-bottom: 0
}

.rank-num {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 900;
  color: var(--line2);
  line-height: 1.3;
  text-align: center
}

/* 前三名視覺加權 */
.rank-item.top .rank-num {
  color: var(--card);
  background: var(--brand);
  font-size: 14px;
  line-height: 22px;
  height: 22px;
  border-radius: 2px;
  margin-top: 2px
}

.rank-item.top h4 {
  font-weight: 800;
  color: var(--ink);
  font-size: 14.5px
}

.rank-item h4 {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink2)
}

.rank-item .r-meta {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 3px
}

/* ── 編輯精選 ──────────────────────────── */
.picks {
  display: flex;
  flex-direction: column
}

.pick-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  color: inherit
}

.pick-card::before {
  content: attr(data-idx);
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 900;
  color: var(--accent);
  line-height: .95;
  letter-spacing: -1px
}

.pick-card:active {
  background: rgba(18, 60, 92, .03)
}

.pick-card .cat-badge {
  margin-bottom: 7px;
  display: inline-block
}

.pick-card h3 {
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.48;
  margin-bottom: 6px
}

.pick-card p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.pick-meta {
  display: flex;
  margin-top: 8px;
  font-size: 10.5px;
  color: var(--muted);
  gap: 10px
}

/* ── 頁腳 ──────────────────────────────── */
footer.site {
  border-top: 2px solid var(--ink);
  background: var(--paper2);
  margin-top: 34px
}

footer.site .inner {
  padding: 22px 16px 28px
}

.f-brand {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 8px
}

.f-brand em {
  font-style: normal;
  color: var(--brand)
}

footer.site p {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.8
}

.f-links {
  display: flex;
  gap: 18px;
  font-size: 12px;
  color: var(--ink2);
  font-weight: 700;
  margin: 14px 0 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line2);
  border-bottom: 1px solid var(--line2)
}

.f-copy {
  font-size: 10px;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: .5px;
  line-height: 1.7
}

/* ── 動畫 ──────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.fade-up {
  animation: fadeUp .35s ease both
}

.news-item.fade-up:nth-child(2) {
  animation-delay: .03s
}

.news-item.fade-up:nth-child(3) {
  animation-delay: .06s
}

.news-item.fade-up:nth-child(4) {
  animation-delay: .09s
}

.news-item.fade-up:nth-child(5) {
  animation-delay: .12s
}

/* ═══ 平板 ≥640px ═══════════════════════ */
@media(min-width:640px) {
  body {
    font-size: 16px
  }

  main {
    padding: 0 24px 60px
  }

  .masthead {
    padding: 18px 24px 14px
  }

  .logo-text {
    font-size: 32px
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 23px
  }

  .lead h1 {
    font-size: 31px
  }

  .lead p {
    font-size: 15.5px
  }

  .lead-keys li {
    font-size: 13.5px
  }

  .news-item {
    grid-template-columns: 1fr 132px;
    gap: 18px;
    padding: 19px 0
  }

  .news-thumb {
    width: 132px;
    height: 92px
  }

  .news-title {
    font-size: 18px
  }

  .news-sum {
    font-size: 13.5px
  }

  .news-item.lv1 {
    grid-template-columns: 1fr
  }

  .news-item.lv1 .news-title {
    font-size: 27px
  }

  .news-item.lv2 {
    grid-template-columns: 1fr 150px
  }

  .news-item.lv2 .news-thumb {
    width: 150px;
    height: 104px
  }

  .news-item.lv2 .news-title {
    font-size: 20px
  }

  .rail {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start
  }

  .rail>* {
    flex: 1;
    min-width: 280px
  }

  .picks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px
  }

  .mkt-card {
    width: 150px
  }
}

/* ═══ 桌面 ≥1000px ═════════════════════ */
@media(min-width:1000px) {

  .ticker-wrap,
  .ticker-inner {
    height: 38px
  }

  .tk {
    padding: 0 20px;
    font-size: 12px
  }

  .masthead {
    padding: 24px 24px 16px
  }

  .mh-top,
  .mh-rule,
  .nav-inner,
  main,
  .search-bar,
  footer.site .inner {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto
  }

  .logo-text {
    font-size: 38px;
    letter-spacing: 2px
  }

  .logo-sub {
    display: block;
    font-size: 9.5px;
    letter-spacing: 3.5px;
    color: var(--muted);
    text-transform: uppercase;
    margin-top: 5px;
    font-family: var(--mono)
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    font-size: 27px
  }

  .mh-btn {
    display: none
  }

  .search-bar {
    display: block;
    background: transparent;
    border: none;
    padding: 0;
    position: absolute;
    right: 24px;
    top: 78px;
    width: 230px
  }

  .nav-inner {
    padding: 0 24px
  }

  .nav-inner a {
    padding: 14px 16px;
    font-size: 14.5px
  }

  main {
    padding: 0 24px 70px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 0 40px;
    align-items: start
  }

  .lead {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 0 32px;
    padding: 26px 0;
    align-items: start
  }

  .lead-img {
    margin-bottom: 0
  }

  .lead-txt {
    display: flex;
    flex-direction: column
  }

  .lead h1 {
    font-size: 36px;
    line-height: 1.24
  }

  .lead p {
    font-size: 16px;
    line-height: 1.76;
    -webkit-line-clamp: 3
  }

  .keys-hd {
    margin-top: 15px
  }

  .section-head h2 {
    font-size: 23px
  }

  #marketSection {
    grid-column: 1/-1
  }

  .mkt-card {
    width: 168px;
    padding: 14px
  }

  .mkt-card .pr {
    font-size: 21px
  }

  #newsSection {
    grid-column: 1;
    grid-row: 3;
    min-width: 0
  }

  .rail {
    grid-column: 2;
    grid-row: 3;
    margin-top: 26px;
    flex-direction: column;
    position: sticky;
    top: 70px
  }

  .rail>* {
    flex: none;
    min-width: 0
  }

  #picksSection {
    grid-column: 1/-1
  }

  .picks {
    grid-template-columns: repeat(3, 1fr);
    gap: 0 26px
  }

  .news-item {
    grid-template-columns: 1fr 172px;
    gap: 22px;
    padding: 22px 0;
    transition: background .12s
  }

  .news-item:hover {
    background: rgba(18, 60, 92, .035)
  }

  .news-item:hover .news-title {
    color: var(--brand)
  }

  .news-thumb {
    width: 172px;
    height: 112px
  }

  .news-title {
    font-size: 19px
  }

  .news-item.lv1 {
    grid-template-columns: 1fr 300px;
    gap: 24px;
    padding: 24px 0
  }

  .news-item.lv1 .news-thumb {
    order: 0;
    width: 300px;
    height: auto;
    aspect-ratio: 4/3
  }

  .news-item.lv1 .news-title {
    font-size: 29px;
    line-height: 1.3
  }

  .news-item.lv2 .news-thumb {
    width: 200px;
    height: 132px
  }

  .news-item.lv2 {
    grid-template-columns: 1fr 200px
  }

  .news-item.lv2 .news-title {
    font-size: 22px
  }

  .news-foot {
    display: flex;
    gap: 14px;
    margin-top: 8px;
    font-size: 11px;
    color: var(--muted)
  }

  .rank-item:hover h4,
  .pick-card:hover h3 {
    color: var(--brand)
  }

  .flash-list {
    max-height: 400px
  }

  .load-more {
    transition: all .15s;
    cursor: pointer
  }

  .load-more:hover {
    background: var(--ink);
    color: var(--paper)
  }

  footer.site .inner {
    padding: 32px 24px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap
  }

  .f-links {
    border: none;
    padding: 0;
    margin: 0
  }

  footer.site p {
    max-width: 520px
  }
}