/*
Theme Name: 鼓狮新闻快讯 (sóng. 泰语潮流快讯版)
Theme URI: https://www.gushiio.com/
Author: 鼓狮
Description: 专为泰国年轻读者打造的纯文字极速财经与加密快讯主题，集成实时全屏行情跑马灯、重要/热点双引擎头条、10维市场数据看板与AI代币关联。
Version: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
*/
/* ============================================================
   1. CSS 变量系统 (sóng. Light & Dark Mode + 全兼容变量系统)
   ============================================================ */
:root {
  --red: #a62a1a;
  --red-bright: #d4432c;
  --red-deep: #7c1e12;
  --red-soft: #f6e9e6;
  --red-tint: rgba(166, 42, 26, .08);
  --red-line: rgba(166, 42, 26, .18);
  --bg: #f7f4f2;
  --surface: #ffffff;
  --surface-2: #fbf8f7;
  --surface-3: #f1f5f9;
  --ink: #1c1513;
  --ink-2: #514541;
  --ink-3: #8d807b;
  --line: #ece4e0;
  --line-2: #f3ece9;
  --shadow: 0 8px 30px rgba(60, 25, 18, .055);
  --shadow-lg: 0 18px 50px rgba(60, 25, 18, .12);
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 16px;
  --r-sm: 11px;
  --pill: 999px;
  --grad: linear-gradient(135deg, #a62a1a 0%, #c03421 48%, #8f2114 100%);
  --grad-bright: linear-gradient(120deg, #d4432c 0%, #a62a1a 100%);
  --font: "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --num: "Space Grotesk", "JetBrains Mono", "Noto Sans Thai", monospace, sans-serif;
  
  /* 兼容旧组件变量映射 */
  --theme-color: var(--red);
  --theme-color-darker: var(--red-deep);
  --text-color: var(--ink);
  --text-color-light: var(--ink-3);
  --bg-color: var(--bg);
  --card-bg-color: var(--surface);
  --border-color: var(--line);
  --shadow-soft: var(--shadow);
  --shadow-medium: var(--shadow-lg);
  --border-radius: var(--r-lg);
}
/* 兼容所有可能触发的暗黑模式选择器 */
[data-theme="dark"],
html.dark,
html[data-theme="dark"],
body.dark-mode,
body.dark,
body.dark-theme {
  --red: #e0563f;
  --red-bright: #f2704f;
  --red-deep: #b83825;
  --red-soft: #33201c;
  --red-tint: rgba(224, 86, 63, .11);
  --red-line: rgba(224, 86, 63, .26);
  --bg: #100e0d;
  --surface: #1b1817;
  --surface-2: #221e1c;
  --surface-3: #2a2422;
  --ink: #f6efec;
  --ink-2: #c4b6b0;
  --ink-3: #8d807a;
  --line: #332c29;
  --line-2: #2a2422;
  --shadow: 0 8px 30px rgba(0, 0, 0, .28);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, .45);
  --grad: linear-gradient(135deg, #8f2114 0%, #b83825 50%, #6f180e 100%);
  --grad-bright: linear-gradient(120deg, #d4432c 0%, #9c2516 100%);
  background-color: #100e0d !important;
  color: #f6efec !important;
}
[data-theme="dark"] body,
html.dark body,
html[data-theme="dark"] body,
body.dark-mode,
body.dark,
body.dark-theme {
  background-color: var(--bg) !important;
  color: var(--ink) !important;
}
/* ============================================================
   2. 基础全局重置
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background .3s ease, color .3s ease;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color .2s ease; }
img { max-width: 100%; height: auto; display: block; }
button, input { font-family: inherit; }
button { cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--red); color: #fff; }
.wrap, .container { max-width: 1320px; margin: 0 auto; padding: 0 28px; }
.num { font-family: var(--num); font-variant-numeric: tabular-nums; }
/* 强制隐藏多余的 ✕ 关闭按钮 */
.mobile-nav-close, #mobileNavClose {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  pointer-events: none !important;
}
/* ============================================================
   3. Crypto Live 全屏滚动报价栏
   ============================================================ */
.ticker {
  background: var(--grad);
  color: #fff;
  width: 100%;
  max-width: 100vw;
  height: 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 60;
}
.ticker-label {
  flex: 0 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  background: rgba(0, 0, 0, .22);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 4px 0 12px rgba(0, 0, 0, .12);
}
.ticker-label .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, .7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .65); }
  70% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
.ticker-view {
  overflow: hidden;
  flex: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 55s linear infinite;
  will-change: transform;
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.q-track .q-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 24px;
  opacity: 1;
  font-size: 12px;
  border-right: 1px solid rgba(255, 255, 255, .16);
  height: 40px;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  transition: background .2s ease;
  cursor: pointer;
}
.q-track .q-item:hover {
  background: rgba(255, 255, 255, .14);
}
.q-track .q-item > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  line-height: 1;
  vertical-align: middle;
}
.q-track .q-sym {
  font-family: var(--num);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  margin-right: 0;
  opacity: 1;
}
.q-track .q-price {
  font-family: var(--num);
  font-style: normal;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
  padding: 0 5px;
  border-radius: 6px;
  transition: background .45s ease;
}
.q-track .q-price.flash {
  background: rgba(255, 255, 255, .26);
}
.q-track .q-chg {
  font-family: var(--num);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .01em;
  border-radius: var(--pill);
  padding: 0 8px;
  height: 19px !important;
  white-space: nowrap;
}
.q-track .q-chg.up {
  background: #fff;
  color: var(--red);
}
[data-theme="dark"] .q-track .q-chg.up,
html.dark .q-track .q-chg.up,
body.dark-mode .q-track .q-chg.up {
  color: #a62a1a;
}
.q-track .q-chg.down {
  background: rgba(0, 0, 0, .24);
  color: #c4efd6;
}
/* ============================================================
   4. 顶部导航栏 (Sticky Header + 二级菜单 + 右侧操作区)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, border-color .3s ease;
  overflow: visible !important;
}
.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
  overflow: visible !important;
}
/* 双模式 LOGO 自适应支持 (页头与页脚全站通用) */
.brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand img.custom-logo,
.site-logo,
.footer-logo {
  max-height: 42px;
  width: auto;
  border-radius: 8px;
  display: block;
  object-fit: contain;
  transition: opacity .2s ease;
}
.footer-brand .site-logo,
.footer-brand .footer-logo {
  max-height: 40px;
  margin-bottom: 12px;
}
.site-logo.logo-dark,
.footer-logo.logo-dark { display: none !important; }
.site-logo.logo-light,
.footer-logo.logo-light { display: block !important; }
[data-theme="dark"] .site-logo.logo-light,
[data-theme="dark"] .footer-logo.logo-light,
html.dark .site-logo.logo-light,
html.dark .footer-logo.logo-light,
body.dark-mode .site-logo.logo-light,
body.dark-mode .footer-logo.logo-light,
body.dark .site-logo.logo-light,
body.dark .footer-logo.logo-light,
body.dark-theme .site-logo.logo-light,
body.dark-theme .footer-logo.logo-light { display: none !important; }
[data-theme="dark"] .site-logo.logo-dark,
[data-theme="dark"] .footer-logo.logo-dark,
html.dark .site-logo.logo-dark,
html.dark .footer-logo.logo-dark,
body.dark-mode .site-logo.logo-dark,
body.dark-mode .footer-logo.logo-dark,
body.dark .site-logo.logo-dark,
body.dark .footer-logo.logo-dark,
body.dark-theme .site-logo.logo-dark,
body.dark-theme .footer-logo.logo-dark { display: block !important; }
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--num);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(166, 42, 26, .28);
  transform: rotate(-6deg);
  transition: transform .3s ease;
}
.brand:hover .brand-mark {
  transform: rotate(0deg) scale(1.05);
}
.brand-name {
  font-family: var(--num);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -.05em;
  line-height: 1;
  color: var(--ink);
}
.brand-name em {
  font-style: normal;
  color: var(--red);
}
.brand-sub {
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 700;
  margin-top: 4px;
}
/* 导航容器与二级下拉菜单 */
.main-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  overflow: visible !important;
}
.main-nav ul.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: visible !important;
}
.main-nav ul.nav-links > li {
  position: relative;
  flex: 0 0 auto;
  list-style: none;
}
.nav-link,
.main-nav ul.nav-links > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: var(--pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  transition: all .2s ease;
  position: relative;
  text-decoration: none;
}
.nav-link:hover,
.main-nav ul.nav-links > li:hover > a {
  color: var(--red);
  background: var(--red-tint);
}
.nav-link.active,
.main-nav ul.nav-links > li.current-menu-item > a,
.main-nav ul.nav-links > li.current-menu-ancestor > a {
  color: #fff;
  background: var(--red);
}
[data-theme="dark"] .nav-link.active,
[data-theme="dark"] .main-nav ul.nav-links > li.current-menu-item > a,
html.dark .main-nav ul.nav-links > li.current-menu-item > a,
body.dark-mode .main-nav ul.nav-links > li.current-menu-item > a {
  color: #fff;
  background: var(--red-deep);
}
.main-nav .caret-icon {
  width: 9px;
  height: 9px;
  fill: currentColor;
  margin-left: 2px;
  transition: transform .25s ease;
}
.main-nav .menu-item-has-children:hover > a .caret-icon {
  transform: rotate(180deg);
}
.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 14px 35px -5px rgba(0, 0, 0, 0.12), 0 8px 12px -6px rgba(0, 0, 0, 0.08);
  padding: 8px 6px;
  list-style: none;
  margin: 8px 0 0 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .22s cubic-bezier(0.16, 1, 0.3, 1), transform .22s cubic-bezier(0.16, 1, 0.3, 1), visibility .22s;
  z-index: 10000;
}
.main-nav .sub-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}
.main-nav .menu-item-has-children:hover > .sub-menu,
.main-nav .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.main-nav .sub-menu li {
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}
.main-nav .sub-menu a,
.main-nav .sub-menu .sub-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--r-sm);
  transition: all .16s ease;
  white-space: nowrap;
  text-decoration: none;
}
.main-nav .sub-menu a:hover,
.main-nav .sub-menu li.current-menu-item > a {
  background: var(--red-tint);
  color: var(--red);
  padding-left: 18px;
}
[data-theme="dark"] .main-nav .sub-menu,
html.dark .main-nav .sub-menu,
body.dark-mode .main-nav .sub-menu {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.52);
}
[data-theme="dark"] .main-nav .sub-menu a,
html.dark .main-nav .sub-menu a,
body.dark-mode .main-nav .sub-menu a {
  color: var(--ink);
}
[data-theme="dark"] .main-nav .sub-menu a:hover,
html.dark .main-nav .sub-menu a:hover,
body.dark-mode .main-nav .sub-menu a:hover {
  background: var(--red-tint);
  color: var(--red-bright);
}
/* ============================================================
   5. 顶部操作区 (搜索、多语言切换、暗夜切换、画板)
   ============================================================ */
.header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 100;
}
.search-wrap {
  position: relative;
  flex: 0 0 auto;
}
.search-box {
  width: 210px;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 0 14px;
  transition: .25s ease;
}
.search-box:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 4px var(--red-tint);
  background: var(--surface);
}
.search-box svg {
  flex: 0 0 auto;
  color: var(--ink-3);
}
.search-box input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  min-width: 0;
  font-size: 12.5px;
  color: var(--ink);
}
.search-box input::placeholder { color: var(--ink-3); }
.search-clear {
  display: none;
  font-size: 16px;
  color: var(--ink-3);
  line-height: 1;
  padding: 2px;
}
.search-clear.show { display: block; }
.search-clear:hover { color: var(--red); }
kbd {
  font-family: var(--num);
  font-size: 9px;
  color: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 5px;
  line-height: 1;
}
/* --- 多语言切换按钮（高度统一为 38px，全支持日间与暗黑模式） --- */
.lang-selector-wrap {
  position: relative;
  display: inline-block;
  z-index: 1000;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  box-sizing: border-box;
  padding: 0 14px;
  border-radius: var(--pill);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
  transition: all 0.22s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  background: var(--surface-2);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
}
.lang-btn:hover {
  background: var(--surface-3);
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(166, 42, 26, .12);
}
.lang-btn .lang-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--red);
}
.lang-btn .lang-arrow {
  width: 11px;
  height: 11px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 2px;
  color: var(--ink-3);
}
.lang-selector-wrap.open .lang-btn .lang-arrow {
  transform: rotate(180deg);
}
/* 暗夜模式多语言切换按钮 */
[data-theme="dark"] .lang-btn,
html.dark .lang-btn,
html[data-theme="dark"] .lang-btn,
body.dark-mode .lang-btn,
body.dark .lang-btn,
body.dark-theme .lang-btn {
  background: var(--surface-2);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}
[data-theme="dark"] .lang-btn:hover,
html.dark .lang-btn:hover,
body.dark-mode .lang-btn:hover,
body.dark .lang-btn:hover {
  background: var(--surface-3);
  border-color: var(--red);
  color: var(--red-bright);
}
/* 语言下拉菜单（日间/暗黑模式自适应） */
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.lang-selector-wrap.open .lang-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.lang-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2) !important;
  text-decoration: none !important;
  border-radius: var(--r-sm);
  transition: background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}
.lang-item:hover {
  background: var(--red-tint);
  color: var(--red) !important;
}
.lang-item.active {
  background: var(--red) !important;
  color: #ffffff !important;
  font-weight: 700;
}
[data-theme="dark"] .lang-item.active,
html.dark .lang-item.active,
body.dark-mode .lang-item.active,
body.dark .lang-item.active {
  background: var(--red-deep) !important;
  color: #ffffff !important;
}
.lang-item .check-icon {
  width: 15px;
  height: 15px;
  display: none;
  flex-shrink: 0;
}
.lang-item.active .check-icon {
  display: inline-block;
}
/* --- 旁边按钮改回圆形 (38px × 38px, 正圆形) --- */
.theme-toggle,
.header-icon-btn {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border-radius: 50% !important;
  border: 1px solid var(--line);
  background: var(--surface-2);
  display: grid;
  place-items: center;
  color: var(--ink-2);
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
  padding: 0;
  cursor: pointer !important;
  z-index: 105;
  pointer-events: auto !important;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}
.theme-toggle:hover,
.header-icon-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--surface-3);
  transform: scale(1.06);
}
.theme-toggle svg,
.header-icon-btn svg {
  width: 18px;
  height: 18px;
  pointer-events: none;
}
/* 暗夜模式双图标互斥显示控制 */
.theme-toggle .i-sun { display: none !important; }
.theme-toggle .i-moon { display: block !important; }
[data-theme="dark"] .theme-toggle .i-sun,
html.dark .theme-toggle .i-sun,
html[data-theme="dark"] .theme-toggle .i-sun,
body.dark-mode .theme-toggle .i-sun,
body.dark .theme-toggle .i-sun,
body.dark-theme .theme-toggle .i-sun { 
  display: block !important; 
}
[data-theme="dark"] .theme-toggle .i-moon,
html.dark .theme-toggle .i-moon,
html[data-theme="dark"] .theme-toggle .i-moon,
body.dark-mode .theme-toggle .i-moon,
body.dark .theme-toggle .i-moon,
body.dark-theme .theme-toggle .i-moon { 
  display: none !important; 
}
.search-trigger {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface-2);
  place-items: center;
  color: var(--ink-2);
}
.search-trigger:hover { border-color: var(--red); color: var(--red); }
.search-trigger svg { width: 17px; height: 17px; }

/* --- 移动端汉堡菜单按钮（默认隐藏，小屏显示） --- */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink-2);
  cursor: pointer;
  padding: 0;
  transition: all .25s ease;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 106;
  flex: 0 0 auto;
}
.mobile-menu-toggle:hover {
  color: var(--red);
  border-color: var(--red);
  background: var(--surface-3);
}
.mobile-menu-toggle svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}
.mobile-menu-toggle .i-close { display: none; }
.site-header.nav-open .mobile-menu-toggle .i-menu { display: none; }
.site-header.nav-open .mobile-menu-toggle .i-close { display: block; }
[data-theme="dark"] .mobile-menu-toggle {
  background: var(--surface-2);
  border-color: var(--line);
}
/* ============================================================
   6. Google 翻译极速平滑适配 (彻底抑制顶部工具条与页面下移)
   ============================================================ */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
.goog-te-banner-frame-skiptranslate {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
}
html {
  height: 100% !important;
}
body {
  top: 0px !important;
  position: static !important;
  min-height: 100% !important;
}
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
  visibility: hidden !important;
}
.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
#google_translate_element {
  display: none !important;
}
font {
  background-color: transparent !important;
  box-shadow: none !important;
}
/* 专有名词免翻译标签 */
.notranslate {
  translate: no;
}
/* ============================================================
   7. Hero 区域：重要文章 + 热点文章
   ============================================================ */
.hero { padding: 34px 0 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 20px;
}
.hero-main {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px 44px 34px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.hero-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--red-line) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .5;
  -webkit-mask-image: linear-gradient(115deg, #000 0%, transparent 62%);
  mask-image: linear-gradient(115deg, #000 0%, transparent 62%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.feat-eyebrow {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--pill);
  background: var(--red);
  color: #fff;
  padding: 7px 14px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(166, 42, 26, .22);
}
[data-theme="dark"] .feat-eyebrow,
html.dark .feat-eyebrow,
body.dark-mode .feat-eyebrow { background: var(--red-deep); }
.feat-eyebrow .star { font-size: 13px; line-height: 1; }
.feat-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--red);
}
.feat-kicker .ln {
  width: 22px;
  height: 2px;
  border-radius: var(--pill);
  background: var(--red);
}
.feat-title {
  font-size: clamp(24px, 2.6vw, 35px);
  line-height: 1.28;
  letter-spacing: -.03em;
  font-weight: 800;
  margin: 12px 0 12px;
}
.feat-title a:hover { color: var(--red); }
.feat-desc {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.8;
  max-width: 580px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feat-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 10.5px;
  color: var(--ink-3);
  font-weight: 600;
}
.feat-meta .pill {
  border-radius: var(--pill);
  background: var(--red-tint);
  border: 1px solid var(--red-line);
  color: var(--red);
  padding: 4px 10px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.feat-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: var(--pill);
  padding: 11px 20px;
  font-size: 12.5px;
  font-weight: 700;
  transition: .25s ease;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 20px rgba(166, 42, 26, .22);
}
[data-theme="dark"] .btn-primary,
html.dark .btn-primary,
body.dark-mode .btn-primary {
  background: var(--red-deep);
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(166, 42, 26, .32);
  color: #fff;
}
.btn .arw {
  font-family: var(--num);
  font-size: 15px;
  line-height: 1;
}
.feat-list {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
}
.feat-list h4 {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.feat-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line-2);
  transition: .22s ease;
}
.feat-row:last-child { border-bottom: 0; }
.feat-row:hover { transform: translateX(3px); }
.feat-row time {
  font-family: var(--num);
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  min-width: 42px;
}
.feat-row a {
  flex: 1;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feat-row a:hover { color: var(--red); }
.feat-row .arw {
  font-family: var(--num);
  font-size: 13px;
  color: var(--ink-3);
}
/* 右侧红色热点面板 */
.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: 34px 34px 30px;
  background: var(--grad);
  color: #fff;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 44px rgba(124, 30, 18, .24);
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero-panel::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  right: -130px;
  top: -150px;
  background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 70%);
  pointer-events: none;
}
.hero-panel .panel-watermark {
  position: absolute;
  top: -34px;
  right: 4px;
  font-family: var(--num);
  font-size: 150px;
  font-weight: 700;
  letter-spacing: -.08em;
  color: rgba(255, 255, 255, .06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.hot-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.hot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .92;
}
.hot-top .badge2 {
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: var(--pill);
  padding: 5px 11px;
  font-family: var(--num);
  letter-spacing: .06em;
  background: rgba(255, 255, 255, .1);
}
.hot-main {
  margin-top: auto;
  padding-top: 24px;
}
.hot-num {
  font-family: var(--num);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  opacity: .72;
}
.hot-title {
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -.025em;
  margin: 10px 0 12px;
}
.hot-title a { color: #fff; }
.hot-title a:hover {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .55);
  text-underline-offset: 5px;
}
.hot-desc {
  font-size: 12.5px;
  line-height: 1.75;
  opacity: .88;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hot-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 15px;
  font-size: 10px;
  font-weight: 600;
  opacity: .88;
}
.hot-meta .chipw {
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: var(--pill);
  padding: 4px 10px;
}
.hot-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
}
.hot-cta span { transition: transform .22s ease; }
.hot-cta:hover span { transform: translateX(5px); }
.hot-more {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .24);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hot-line {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  opacity: .9;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  transition: .2s ease;
  color: #fff;
}
.hot-line:last-child { border-bottom: 0; padding-bottom: 0; }
.hot-line:hover { opacity: 1; transform: translateX(3px); color: #fff; }
.hot-line .n {
  font-family: var(--num);
  font-size: 10px;
  font-weight: 700;
  opacity: .65;
  min-width: 18px;
  letter-spacing: .04em;
}
.hot-line .t {
  flex: 1;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hot-line .arw {
  font-family: var(--num);
  opacity: .65;
  font-size: 12px;
}
/* ============================================================
   8. 市场数据看板 (市场数据 10 宫格)
   ============================================================ */
.market {
  padding: 38px 0 6px;
  scroll-margin-top: 90px;
}
#feed { scroll-margin-top: 90px; }
.market-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.market-head .eyebrow-mini {
  display: block;
  font-family: var(--num);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.market-head h2 {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.2;
}
.market-head h2::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 25px;
  border-radius: var(--pill);
  background: var(--red);
}
.market-head .sub {
  font-size: 11.5px;
  color: var(--ink-3);
  margin-top: 7px;
}
.market-head .live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--red-line);
  background: var(--surface);
  color: var(--ink-2);
  border-radius: var(--pill);
  padding: 8px 14px;
  font-size: 10.5px;
  font-weight: 600;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.market-head .live-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse-red 1.8s infinite;
}
@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 var(--red-line); }
  70% { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.market-shell {
  position: relative;
  border-radius: var(--r-xl);
}
.market-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  position: relative;
  z-index: 1;
}
.mcard {
  min-width: 0;
  min-height: 172px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 16px 16px;
  box-shadow: var(--shadow);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
  text-decoration: none;
  color: inherit;
}
.mcard::before {
  content: "";
  position: absolute;
  right: 13px;
  top: 13px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--red-tint);
  opacity: 0;
  transform: scale(.4);
  transition: .28s ease;
}
.mcard:hover,
.mcard.selected {
  transform: translateY(-6px);
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red-line) inset, 0 18px 38px rgba(166, 42, 26, .16);
}
.mcard:hover::before,
.mcard.selected::before {
  opacity: 1;
  transform: scale(1);
}
.mcard:hover .k,
.mcard.selected .k { color: var(--red); }
.mcard:active { transform: translateY(-2px) scale(.995); }
.mcard .k {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
  line-height: 1.4;
  letter-spacing: .01em;
}
.mbody {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 0;
}
.mcard .v {
  font-family: var(--num);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.1;
  color: var(--ink);
  white-space: nowrap;
}
.mcard .v small {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink-3);
  margin-left: 3px;
}
.mcard .v.neg,
.mcard .v.negative-flow { color: #d4432c; }
.mcard .v.pos,
.mcard .v.positive-flow { color: #2f9e6f; }
.mcard .v.gold { color: #d99b25; }
.mcard .v.warm { color: #e07a2c; }
.mcard .d {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-3);
  line-height: 1.4;
  margin-top: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.mcard .d.neg, .mcard .d.red, .fg-extreme-fear, .fg-fear { color: #d4432c !important; }
.mcard .d.warm, .fg-neutral { color: #e07a2c !important; }
.mcard .d.pos, .mcard .d.green, .fg-greed, .fg-extreme-greed { color: #2f9e6f !important; }
/* 恐惧贪婪半圆仪表盘 */
.gauge {
  position: relative;
  width: 132px;
  height: 70px;
  margin: 2px auto -4px;
}
.gauge-arc {
  position: absolute;
  inset: 0;
  border-radius: 132px 132px 0 0;
  background: conic-gradient(from 270deg at 50% 100%, #cf3b28 0deg, #e0703a 42deg, #e6ad3c 90deg, #a8bf5a 134deg, #2f9e6f 180deg, transparent 180deg);
  filter: drop-shadow(0 0 5px rgba(166, 42, 26, .2));
}
.gauge-ticks {
  position: absolute;
  inset: 0;
  border-radius: 132px 132px 0 0;
  background: repeating-conic-gradient(from 270deg at 50% 100%, var(--surface) 0deg 1.4deg, transparent 1.4deg 18deg);
  opacity: .68;
}
.gauge-hole {
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 0;
  height: 57px;
  border-radius: 106px 106px 0 0;
  background: var(--surface);
}
.gauge-pin {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 3px;
  height: 52px;
  border-radius: var(--pill);
  background: linear-gradient(180deg, var(--red), var(--ink));
  transform-origin: 50% 100%;
  transform: translateX(-50%) rotate(0deg);
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
  z-index: 2;
}
.gauge-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--surface);
  transform: translateX(-50%);
}
.gauge-pin::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--red);
  transform: translateX(-50%);
}
.gauge-val {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  text-align: center;
  font-family: var(--num);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  z-index: 4;
}
/* 市值占比堆叠条 */
.mini-legend {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  max-width: 185px;
  text-align: left;
}
.mini-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  color: var(--ink-2);
  font-weight: 500;
}
.mini-legend i {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  flex: 0 0 auto;
}
.mini-legend b {
  margin-left: auto;
  font-family: var(--num);
  font-weight: 700;
  color: var(--ink);
}
.stack-bar {
  display: flex;
  width: 100%;
  max-width: 190px;
  height: 8px;
  border-radius: var(--pill);
  overflow: hidden;
  background: var(--line-2);
}
.stack-bar i {
  display: block;
  height: 100%;
  transition: width .5s ease;
}
/* 山寨季进度条 */
.scale-bar {
  position: relative;
  width: 100%;
  max-width: 190px;
  height: 9px;
  border-radius: var(--pill);
  background: linear-gradient(90deg, #e8963c 0%, #d4432c 32%, #a62a1a 50%, #e0a83c 72%, #2f9e6f 100%);
}
.scale-bar i {
  position: absolute;
  top: 50%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--ink);
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
  transition: left .5s ease;
}
.scale-ends {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 190px;
  font-size: 9px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: .02em;
}
/* 涨跌榜图标与名称 */
.coin-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  color: var(--ink);
  font-family: var(--num);
  font-weight: 700;
  font-size: 14px;
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.coin-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.rank-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  max-width: 100%;
}
.rank-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
}
.market-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 0 4px;
  font-size: 10px;
  color: var(--ink-3);
  flex-wrap: wrap;
}
.market-foot .fleft {
  display: flex;
  align-items: center;
  gap: 8px;
}
.market-foot .fdot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.market-foot b {
  color: var(--ink-2);
  font-weight: 700;
}
/* ============================================================
   9. 主内容网格：时间轴快讯 + 右侧边栏
   ============================================================ */
.content { padding: 36px 0 70px; }
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
  align-items: start;
}
.feed-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.feed-title h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
}
.feed-title p {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 5px;
}
.feed-title .redbar {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 8px;
  vertical-align: middle;
}
.filter-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.chip {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  border-radius: var(--pill);
  padding: 7px 13px;
  font-size: 11px;
  font-weight: 600;
  transition: .2s ease;
  white-space: nowrap;
}
.chip:hover {
  border-color: var(--red-line);
  color: var(--red);
}
.chip.active, .chip.on {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
[data-theme="dark"] .chip.active,
[data-theme="dark"] .chip.on,
html.dark .chip.active,
html.dark .chip.on,
body.dark-mode .chip.active,
body.dark-mode .chip.on {
  background: var(--red-deep);
  border-color: var(--red-deep);
}
.result-note {
  font-size: 11.5px;
  color: var(--ink-3);
  margin-bottom: 14px;
  display: none;
}
.result-note.show { display: block; }
.result-note b { color: var(--red); }
/* 日期分组与时间轴条目 */
.day { margin-bottom: 32px; }
.day-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.day-date {
  flex: 0 0 auto;
  background: var(--ink);
  color: var(--surface);
  border-radius: var(--r-sm);
  padding: 9px 13px;
  text-align: center;
  line-height: 1.1;
}
.day-date b {
  display: block;
  font-family: var(--num);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.04em;
}
.day-date span {
  font-size: 8.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .7;
  font-weight: 700;
}
.day-meta { flex: 1; min-width: 0; }
.day-meta b { display: block; font-size: 13px; font-weight: 700; }
.day-meta span { font-size: 11px; color: var(--ink-3); }
.day-count {
  flex: 0 0 auto;
  font-family: var(--num);
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  background: var(--red-tint);
  border: 1px solid var(--red-line);
  border-radius: var(--pill);
  padding: 5px 12px;
}
.timeline { position: relative; }
.tl-item {
  display: grid;
  grid-template-columns: 62px 26px minmax(0, 1fr);
  gap: 0;
  position: relative;
  padding-bottom: 14px;
  transition: opacity .25s ease;
}
.tl-item.hide, .tl-item.hidden { display: none; }
.tl-time {
  align-self: start;
  position: relative;
  margin-top: 9px;
  padding: 9px 4px 8px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .26s ease, border-color .26s ease, box-shadow .26s ease;
}
.tl-time::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  width: 18px;
  height: 3px;
  border-radius: 0 0 var(--pill) var(--pill);
  background: var(--red-line);
  transform: translateX(-50%);
  transition: .26s ease;
}
.tl-time b {
  display: block;
  font-family: var(--num);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.03em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.tl-time small {
  display: block;
  font-size: 8px;
  color: var(--ink-3);
  font-weight: 700;
  letter-spacing: .06em;
  margin-top: 3px;
}
.tl-item:hover .tl-time,
.tl-item:focus-within .tl-time {
  border-color: var(--red);
  box-shadow: 0 8px 20px rgba(166, 42, 26, .14);
  transform: translateY(-2px);
}
.tl-item:hover .tl-time::before,
.tl-item:focus-within .tl-time::before {
  background: var(--red);
  width: 26px;
}
.tl-item:hover .tl-time b,
.tl-item:focus-within .tl-time b { color: var(--red); }
.tl-item.hot .tl-time {
  border-color: var(--red-line);
  background: var(--red-tint);
}
.tl-item.hot .tl-time::before { background: var(--red); }
.tl-item.hot .tl-time b { color: var(--red); }
.tl-rail {
  position: relative;
  display: flex;
  justify-content: center;
}
.tl-rail::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: -14px;
  width: 1px;
  background: var(--line);
}
.tl-item:last-child .tl-rail::before { bottom: 24px; }
.tl-node {
  position: absolute;
  top: 20px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--red-line);
  z-index: 1;
  transition: .25s ease;
}
.tl-item:hover .tl-node,
.tl-item:focus-within .tl-node {
  background: var(--red);
  border-color: var(--red);
  transform: scale(1.35);
  box-shadow: 0 0 0 5px var(--red-tint);
}
.tl-item.hot .tl-node {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 0 4px var(--red-tint);
}
.tl-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 22px 16px;
  transition: .26s ease;
  position: relative;
  overflow: hidden;
}
.tl-card::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-tint), transparent 70%);
  opacity: 0;
  transform: translate(28%, -28%);
  pointer-events: none;
  transition: .3s ease;
}
.tl-item:hover .tl-card,
.tl-item:focus-within .tl-card {
  transform: translateY(-3px);
  border-color: var(--red);
  box-shadow: 0 16px 36px rgba(166, 42, 26, .13);
}
.tl-item:hover .tl-card::after,
.tl-item:focus-within .tl-card::after { opacity: 1; }
.tl-card.selected, .tl-card.is-selected {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red-line) inset, 0 14px 32px rgba(166, 42, 26, .13);
}
.tl-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 9px;
}
.tag {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  border-radius: var(--pill);
  padding: 4px 10px;
  background: var(--red-tint);
  color: var(--red);
  border: 1px solid var(--red-line);
}
.tag.hot {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.tag.imp {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}
[data-theme="dark"] .tag.hot,
html.dark .tag.hot,
body.dark-mode .tag.hot {
  background: var(--red-deep);
  border-color: var(--red-deep);
}
.tag.alt {
  background: var(--surface-2);
  color: var(--ink-3);
  border-color: var(--line);
}
.tl-src {
  font-size: 10.5px;
  color: var(--ink-3);
  font-weight: 500;
}
.tl-new {
  margin-left: auto;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 5px;
}
.tl-new::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse-red 1.8s infinite;
}
.tl-card h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -.015em;
  margin-bottom: 7px;
}
.tl-card h3 a:hover { color: var(--red); }
.tl-card p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tl-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.tl-kw {
  font-size: 10px;
  color: var(--ink-3);
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  padding: 3px 9px;
  transition: .2s ease;
}
.tl-kw:hover {
  border-color: var(--red);
  color: var(--red);
}
.tl-more {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.tl-more span { transition: transform .2s ease; }
.tl-item:hover .tl-more span { transform: translateX(4px); }
/* 加密货币胶囊卡片 */
.crypto-tag-list {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.crypto-tag-card {
  display: inline-flex;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 5px 8px 5px 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none !important;
  transition: all .25s ease;
  white-space: nowrap;
  line-height: 1.2;
}
.crypto-tag-card:hover {
  transform: translateY(-2px);
  border-color: var(--red);
  box-shadow: 0 6px 16px rgba(166, 42, 26, .12);
}
.crypto-symbol {
  font-family: var(--num);
  font-weight: 800;
  margin-right: 7px;
  color: var(--ink);
}
.crypto-price {
  margin-right: 8px;
  font-family: var(--num);
  font-weight: 600;
  color: var(--ink-2);
}
.crypto-change {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: var(--pill);
  font-weight: 700;
  font-family: var(--num);
  line-height: 1;
}
.crypto-up {
  background-color: #2f9e6f;
  color: #fff;
}
.crypto-down {
  background-color: #d4432c;
  color: #fff;
}
/* 空状态与分页导航 */
.empty {
  display: none;
  text-align: center;
  padding: 60px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
}
.empty.show { display: block; }
.empty b {
  display: block;
  font-family: var(--num);
  font-size: 40px;
  color: var(--red-line);
  margin-bottom: 8px;
}
.empty span { font-size: 13px; color: var(--ink-3); }
.navigation.pagination {
  margin-top: 28px;
  text-align: center;
}
.navigation.pagination .nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--num);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  transition: .22s ease;
}
.navigation.pagination .page-numbers:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-tint);
}
.navigation.pagination .page-numbers.current {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
/* ============================================================
   10. 侧边栏 (Sidebar: 今日推荐 & 热门阅读)
   ============================================================ */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: 92px;
}
.reco-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow);
}
.reco-eyebrow,
.pop-eyebrow {
  font-family: var(--num);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
}
.reco-head,
.pop-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 5px;
}
.reco-head h2,
.pop-head h2 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.reco-head .n,
.pop-head .n {
  font-family: var(--num);
  font-size: 10px;
  color: var(--ink-3);
}
.reco-sub,
.pop-sub {
  font-size: 10.5px;
  color: var(--ink-3);
  margin: 6px 0 10px;
}
.reco-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line-2);
  transition: .22s ease;
}
.reco-item:hover { transform: translateX(3px); }
.reco-n {
  font-family: var(--num);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1.1;
  min-width: 26px;
  color: var(--red-line);
}
.reco-item:nth-child(-n+3) .reco-n { color: var(--red); }
.reco-body { flex: 1; min-width: 0; }
.reco-body a {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  display: block;
}
.reco-body a:hover { color: var(--red); }
.reco-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--ink-3);
}
.reco-meta .cat {
  color: var(--red);
  background: var(--red-tint);
  border-radius: var(--pill);
  padding: 2px 8px;
}
.reco-meta .arw {
  margin-left: auto;
  font-family: var(--num);
  font-size: 13px;
  color: var(--red);
}
.reco-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line-2);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--red);
}
/* ============================================================
   11. 文章详情页 (single.php) 与 分类归档页 (archive.php)
   ============================================================ */
/* 说明：旧版 .archive-header / .single-post-content 等已废弃，
   归档页与文章页样式统一由本文件第 14、15 节的新卡片组件维护。 */
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-2);
}
.entry-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.entry-meta .meta-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.entry-meta .meta-badge {
  color: #fff;
  padding: 3px 11px;
  font-size: 10px;
  font-weight: 800;
  border-radius: var(--pill);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.entry-meta .meta-badge.important { background: var(--ink); color: var(--surface); }
.entry-meta .meta-badge.hot { background: var(--red); }
.entry-content {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink);
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin: 1.6em 0 .8em;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
.entry-content p { margin-bottom: 1.25em; }
.entry-content ul,
.entry-content ol {
  margin: 0 0 1.4em 1.4em;
  padding-left: 1em;
}
.entry-content blockquote {
  margin: 1.5em 0;
  padding: 16px 22px;
  border-left: 4px solid var(--red);
  background: var(--surface-2);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--ink-2);
  font-weight: 500;
}
.entry-content img {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  margin: 1.8em auto;
}
.post-tags {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.tags-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-3);
}
.post-tags a {
  display: inline-block;
  background: var(--surface-2);
  color: var(--ink-2);
  padding: 5px 12px;
  border-radius: var(--pill);
  font-size: 11px;
  font-weight: 600;
  border: 1px solid var(--line);
  transition: .2s ease;
}
.post-tags a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.post-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px dashed var(--line);
}
.action-btn {
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 11px 22px;
  border-radius: var(--pill);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: .25s ease;
}
.action-btn:hover {
  transform: translateY(-2px);
  border-color: var(--red);
  color: var(--red);
  box-shadow: var(--shadow);
}
.action-btn.active,
.action-btn:disabled {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.action-btn svg { width: 16px; height: 16px; }
.latest-news-section { margin-top: 38px; }
.latest-news-section .widget-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.latest-news-section .widget-title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}
/* 友情链接与幻灯片兼容 */
.homepage-banner-container {
  margin-bottom: 26px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.links-section {
  margin-top: 36px;
  padding: 26px;
  background: var(--surface);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.links-section .widget-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 16px;
}
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}
.link-card {
  background: var(--surface-2);
  padding: 10px 14px;
  border-radius: var(--pill);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  border: 1px solid var(--line);
  transition: .22s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.link-card:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-2px);
}
/* ============================================================
   12. 底部 (Footer)
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 44px 0 26px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 30px;
}
.footer-brand .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 12px;
  color: var(--ink-3);
  max-width: 310px;
  margin-top: 10px;
  line-height: 1.8;
}
.footer-col h4,
.footer-col h5 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
  padding: 5px 0;
  transition: .2s ease;
}
.footer-col a:hover {
  color: var(--red);
  transform: translateX(3px);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
  font-size: 11px;
  color: var(--ink-3);
}
/* 滚动渐显动画 */
.rv {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}
.rv.in {
  opacity: 1;
  transform: none;
}
/* ============================================================
/* ============================================================
   13. Google 翻译顶栏彻底清除（补充规则，统一由本文件维护）
   ============================================================ */
iframe[class*="VIpgJd"],
iframe[id*=":1.container"],
iframe[id*=":2.container"],
.VIpgJd-ZVi9od-aHe6Kc-OWJJc,
.VIpgJd-ZVi9od-ORHb-O2Ttx,
.VIpgJd-ZVi9od-aHe6Kc-jTIsbd,
.VIpgJd-yL221b-W2I12d,
.VIpgJd-yL221b-r2o22e,
body > .skiptranslate,
body > iframe.skiptranslate,
body > iframe[src*="translate.google"],
body > div[class*="skiptranslate"] > iframe {
  display: none !important;
  visibility: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  z-index: -99999 !important;
}
html { top: 0 !important; margin-top: 0 !important; }
body { margin-top: 0 !important; }

/* ============================================================
   14. 文章详情页 · 精美卡片框（包裹标题区 + 内容区）
   ============================================================ */
.post-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--red);
  background: var(--red-tint);
  border: 1px solid var(--red-line);
  border-radius: var(--pill);
  padding: 8px 16px;
  transition: .22s ease;
}
.back-link:hover {
  background: var(--red);
  color: #fff;
  transform: translateX(-3px);
}
.post-id-label {
  font-family: var(--num);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--ink-3);
}
.single-post-article { position: relative; }
.article-card-inner {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 0 0 6px;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.article-card-inner:hover { box-shadow: 0 26px 64px rgba(60, 25, 18, .16); }
.article-card-inner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--grad-bright);
  z-index: 3;
}
.article-card-inner::after {
  content: "";
  position: absolute;
  right: -100px; top: -130px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-tint), transparent 68%);
  pointer-events: none;
}
.article-card-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(var(--red-line) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .3;
  -webkit-mask-image: linear-gradient(115deg, #000 0%, transparent 52%);
  mask-image: linear-gradient(115deg, #000 0%, transparent 52%);
}
.article-head {
  position: relative;
  z-index: 1;
  padding: 38px 44px 24px;
}
.article-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}
.article-tags-row .tag { font-size: 10px; padding: 5px 12px; }
.article-head .entry-title {
  font-size: clamp(25px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.035em;
  color: var(--ink);
  margin: 0 0 18px;
  text-wrap: balance;
}
.article-head .entry-title::after {
  content: "";
  display: block;
  width: 64px; height: 4px;
  border-radius: var(--pill);
  background: var(--grad-bright);
  margin-top: 18px;
}
.article-card-inner .entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 600;
}
.article-card-inner .entry-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 6px 13px;
}
.article-card-inner .entry-meta .views-count {
  color: var(--red);
  background: var(--red-tint);
  border-color: var(--red-line);
}
.article-divider {
  position: relative;
  height: 1px;
  margin: 0 44px;
  background: linear-gradient(90deg, transparent, var(--red-line) 18%, var(--line) 62%, transparent);
}
.article-divider::after {
  content: "◆";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-size: 9px;
  color: var(--red);
  background: var(--surface);
  padding: 0 9px;
}
.article-body {
  position: relative;
  z-index: 1;
  padding: 16px 44px 36px;
}
.article-body .entry-content { font-size: 15.5px; line-height: 1.9; }
.article-body .entry-content > p:first-of-type { font-size: 16px; color: var(--ink-2); }
.article-crypto-tags { margin-top: 26px; }
.article-body .tags-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
}
.article-body .tags-links .tags-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.article-body .tags-links a {
  display: inline-block;
  background: var(--surface-2);
  color: var(--ink-2);
  padding: 5px 12px;
  border-radius: var(--pill);
  font-size: 11px;
  font-weight: 600;
  border: 1px solid var(--line);
  transition: .2s ease;
}
.article-body .tags-links a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.article-body .post-actions { margin-top: 26px; padding-top: 22px; }

/* ============================================================
   15. 分类 / 标签归档页 · Hero 标题卡片（100% 泰语界面）
   ============================================================ */
.archive-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--grad);
  color: #fff;
  padding: 32px 38px 30px;
  margin-bottom: 26px;
  box-shadow: 0 20px 46px rgba(124, 30, 18, .22);
}
.archive-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 88%);
  mask-image: linear-gradient(180deg, #000, transparent 88%);
}
.archive-hero::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  right: -110px; top: -150px;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%);
  pointer-events: none;
}
.archive-hero-inner { position: relative; z-index: 2; }
.archive-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.archive-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .95;
}
.archive-kicker::before {
  content: "";
  width: 22px; height: 2px;
  border-radius: var(--pill);
  background: rgba(255,255,255,.8);
}
.archive-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255,255,255,.38);
  background: rgba(255,255,255,.12);
  border-radius: var(--pill);
  padding: 6px 12px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.archive-live i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.8s infinite;
}
.archive-hero-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.04em;
  margin: 20px 0 10px;
  text-wrap: balance;
}
.archive-hero-desc {
  font-size: 13.5px;
  line-height: 1.75;
  opacity: .9;
  max-width: 640px;
}
.archive-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}
.archive-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--pill);
  padding: 7px 14px;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}
.archive-stat b { font-family: var(--num); font-size: 14px; }
.archive-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.24);
}
.archive-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,.32);
  background: rgba(255,255,255,.1);
  color: #fff;
  border-radius: var(--pill);
  padding: 6px 13px;
  font-size: 11px;
  font-weight: 600;
  transition: .22s ease;
  white-space: nowrap;
}
.archive-chip:hover { background: #fff; color: var(--red); transform: translateY(-2px); }
.archive-chip.is-current { background: #fff; color: var(--red); border-color: #fff; font-weight: 800; }
.archive-hero-art {
  position: absolute;
  right: 6px; bottom: -52px;
  font-family: var(--num);
  font-size: 200px;
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: 1;
  color: rgba(255,255,255,.07);
  pointer-events: none;
  user-select: none;
}
/* ============================================================
   16. 移动端右侧滑出抽屉菜单 (Off-canvas Drawer)
   ============================================================ */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: rgba(20, 12, 9, .55);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s;
}
.mobile-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 1401;
  width: min(370px, 90vw);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 60px rgba(30, 12, 6, .24);
  transform: translateX(102%);
  visibility: hidden;
  transition: transform .42s cubic-bezier(.16, 1, .3, 1), visibility .42s;
}
body.drawer-open { overflow: hidden; }
body.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
body.drawer-open .mobile-drawer { transform: none; visibility: visible; }
/* --- 抽屉头部（渐变品牌区） --- */
.drawer-hero {
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  padding: 22px 22px 20px;
  background: var(--grad);
  color: #fff;
}
.drawer-hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(120deg, #000, transparent 78%);
  mask-image: linear-gradient(120deg, #000, transparent 78%);
}
.drawer-hero::after {
  content: "";
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  right: -70px; top: -90px;
  background: radial-gradient(circle, rgba(255,255,255,.2), transparent 70%);
  pointer-events: none;
}
.drawer-hero-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-hero-eyebrow {
  font-family: var(--num);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .9;
}
.drawer-hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.6);
  animation: pulse 1.8s infinite;
}
.drawer-hero-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.drawer-hero-mark {
  width: 42px; height: 42px;
  border-radius: 14px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.34);
  display: grid;
  place-items: center;
  font-family: var(--num);
  font-size: 24px;
  font-weight: 700;
  transform: rotate(-6deg);
  backdrop-filter: blur(4px);
}
.drawer-hero-brand strong {
  display: block;
  font-family: var(--num);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1;
}
.drawer-hero-brand strong em { font-style: normal; opacity: .7; }
.drawer-hero-brand small {
  display: block;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .82;
  margin-top: 5px;
}
.drawer-hero-sub {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  font-size: 11.5px;
  opacity: .88;
}
/* --- 抽屉滚动区 --- */
.drawer-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 18px 18px;
}
.drawer-section {
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
}
.drawer-section:last-child { border-bottom: 0; }
.drawer-section-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}
.drawer-section-icon {
  width: 27px; height: 27px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--red-tint);
  color: var(--red);
  flex: 0 0 auto;
}
.drawer-section-icon svg { width: 15px; height: 15px; }
.drawer-section-head h2 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
}
.drawer-section-tag {
  margin-left: auto;
  font-family: var(--num);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--ink-3);
}
/* 抽屉搜索 */
.drawer-search-form {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 48px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0 7px 0 14px;
  transition: .25s ease;
}
.drawer-search-form:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 4px var(--red-tint);
  background: var(--surface);
}
.drawer-search-form > svg { width: 17px; height: 17px; color: var(--ink-3); flex: 0 0 auto; }
.drawer-search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}
.drawer-search-form input::placeholder { color: var(--ink-3); }
.drawer-search-form button {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  flex: 0 0 auto;
  transition: .2s ease;
}
.drawer-search-form button:hover { transform: scale(1.08); background: var(--red-deep); }
/* 抽屉栏目导航 */
.drawer-nav ul { list-style: none; margin: 0; padding: 0; counter-reset: dNav; }
.drawer-nav li { list-style: none; margin: 0; padding: 0; }
.drawer-nav > ul > li { counter-increment: dNav; }
.drawer-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  transition: .2s ease;
  text-decoration: none;
}
.drawer-nav > ul > li > a::before {
  content: counter(dNav, decimal-leading-zero);
  font-family: var(--num);
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-3);
  min-width: 20px;
}
.drawer-nav a:hover { background: var(--red-tint); color: var(--red); }
.drawer-nav > ul > li.current-menu-item > a,
.drawer-nav > ul > li > a.nav-link.active {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 18px rgba(166, 42, 26, .22);
}
.drawer-nav > ul > li.current-menu-item > a::before,
.drawer-nav > ul > li > a.nav-link.active::before { color: rgba(255,255,255,.75); }
.drawer-nav .caret-icon { width: 9px; height: 9px; fill: currentColor; margin-left: auto; opacity: .7; }
.drawer-nav .sub-menu {
  padding-left: 14px;
  margin: 2px 0 6px 10px;
  border-left: 1px dashed var(--red-line);
  counter-reset: none;
}
.drawer-nav .sub-menu li { counter-increment: none; }
.drawer-nav .sub-menu a {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-3);
  min-height: 38px;
  padding: 7px 10px;
}
.drawer-nav .sub-menu a::before { content: "↳"; font-family: var(--num); color: var(--red); min-width: 16px; }
.drawer-nav .sub-menu a:hover { background: var(--red-tint); color: var(--red); }
/* 抽屉语言网格 */
.drawer-lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.drawer-lang-item.lang-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--ink-2) !important;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none !important;
  transition: .2s ease;
}
.drawer-lang-flag { font-size: 15px; line-height: 1; flex: 0 0 auto; }
.drawer-lang-item.lang-item:hover {
  border-color: var(--red);
  background: var(--red-tint);
  color: var(--red) !important;
}
.drawer-lang-item.lang-item.active {
  background: var(--grad) !important;
  border-color: transparent;
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(166, 42, 26, .2);
}
.drawer-lang-item .check-icon { margin-left: auto; width: 14px; height: 14px; }
/* 抽屉工具按钮 */
.drawer-tools { display: flex; flex-direction: column; gap: 10px; }
.drawer-tool-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-2);
  text-align: left;
  transition: .25s ease;
  -webkit-tap-highlight-color: transparent;
}
.drawer-tool-btn:hover {
  border-color: var(--red);
  background: var(--red-tint);
  transform: translateX(3px);
}
.drawer-tool-icon {
  width: 38px; height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  flex: 0 0 auto;
}
.drawer-tool-icon svg { width: 18px; height: 18px; }
.drawer-tool-icon .i-sun { display: none; }
[data-theme="dark"] .drawer-tool-icon .i-sun { display: block; }
[data-theme="dark"] .drawer-tool-icon .i-moon { display: none; }
.drawer-tool-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.drawer-tool-text b { font-size: 13px; font-weight: 700; color: var(--ink); }
.drawer-tool-text small { font-size: 10.5px; color: var(--ink-3); }
.drawer-tool-switch {
  width: 38px; height: 22px;
  border-radius: var(--pill);
  background: var(--line);
  position: relative;
  flex: 0 0 auto;
  transition: .3s ease;
}
.drawer-tool-switch i {
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
[data-theme="dark"] .drawer-tool-switch { background: var(--red); }
[data-theme="dark"] .drawer-tool-switch i { transform: translateX(16px); }
.drawer-tool-arrow { font-family: var(--num); font-size: 16px; color: var(--red); flex: 0 0 auto; }
.drawer-foot {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 10px;
  color: var(--ink-3);
}
.drawer-foot-live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--num); font-weight: 700; }
.drawer-foot-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: pulse-red 1.8s infinite; }

/* ============================================================
   17. 响应式适配（PC / 平板 / 手机）— 全站唯一断点定义
   ============================================================ */
/* 桌面：抽屉不参与渲染 */
@media (min-width: 1025px) {
  .drawer-backdrop, .mobile-drawer { display: none !important; }
}
/* ---- 窄屏桌面 (≤ 1180px) ---- */
@media (max-width: 1180px) {
  .market-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .search-box { width: 170px; }
  .nav-link, .main-nav ul.nav-links > li > a { padding: 8px 11px; font-size: 12.5px; }
  .lang-btn { padding: 0 11px; font-size: 12px; }
  .header-actions { gap: 8px; }
  .article-head { padding: 32px 32px 22px; }
  .article-body { padding: 14px 32px 30px; }
  .article-divider { margin: 0 32px; }
}
/* ---- 平板 + 手机 (≤ 1024px)：顶部功能全部收进右侧抽屉 ---- */
@media (max-width: 1024px) {
  .header-inner { height: 66px; padding: 0 18px; gap: 14px; }
  .brand { margin-right: auto; }
  /* 顶部桌面导航与操作区隐藏 */
  .main-nav { display: none !important; }
  .header-actions > .search-wrap,
  .header-actions > .lang-selector-wrap,
  .header-actions > .theme-toggle,
  .header-actions > .header-icon-btn { display: none !important; }
  .mobile-menu-toggle { display: inline-flex !important; }
  /* 内容栅格：侧边栏下移为两列 */
  .content-grid { grid-template-columns: 1fr; }
  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 18px;
    margin-top: 28px;
  }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { min-height: 300px; }
  .market-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 22px; }
  .archive-hero { padding: 28px 28px 26px; }
  .archive-hero-art { font-size: 150px; }
}
/* ---- 手机 (≤ 768px) ---- */
@media (max-width: 768px) {
  .header-inner { height: 62px; padding: 0 14px; gap: 10px; }
  .wrap, .container { padding: 0 16px; }
  .content { padding: 28px 0 54px; }
  /* Hero 单列 */
  .hero { padding: 24px 0 0; }
  .hero-grid { display: block !important; }
  .hero-main { margin-bottom: 18px; padding: 26px 22px 24px; }
  .feat-title { font-size: 22px; }
  .hero-panel { padding: 24px 22px; min-height: 0; }
  .hot-title { font-size: 20px; }
  /* 市场数据 2 列 */
  .market { padding: 28px 0 6px; }
  .market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .market .mcard { min-height: 150px; padding: 15px 11px 13px; }
  .market .mcard .v { font-size: 22px; }
  .market .gauge { transform: scale(.86); transform-origin: center bottom; }
  .market-head .live-pill { display: none; }
  .market-head h2 { font-size: 21px; }
  /* 筛选与标题 */
  .feed-head { flex-direction: column; align-items: stretch; gap: 12px; }
  .feed-title h2 { font-size: 22px; }
  .filter-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .filter-chips::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; flex-shrink: 0; min-height: 38px; }
  /* 时间线简化 */
  .tl-item { grid-template-columns: 16px minmax(0, 1fr); }
  .tl-time, .tl-rail { display: none; }
  .tl-card { grid-column: 1 / -1; margin-left: 0; padding: 16px; }
  .tl-card h3 { font-size: 15px; }
  .tl-top, .tl-foot { flex-wrap: wrap; gap: 6px; }
  .tl-more { width: 100%; text-align: left; margin-top: 4px; }
  .day-head { flex-wrap: wrap; gap: 8px; }
  .day-count { margin-left: 0; }
  /* 侧边栏单列 */
  .sidebar { grid-template-columns: 1fr; }
  /* 文章卡片 */
  .article-head { padding: 28px 22px 20px; }
  .article-body { padding: 12px 22px 26px; }
  .article-divider { margin: 0 22px; }
  .article-head .entry-title { font-size: 25px; }
  .article-body .entry-content { font-size: 14.5px; }
  /* 归档 Hero */
  .archive-hero { padding: 24px 22px 22px; border-radius: var(--r-lg); }
  .archive-hero-title { font-size: 30px; }
  .archive-hero-art { font-size: 110px; bottom: -30px; }
  /* 页脚 */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 8px; }
  .footer-col ul li a { display: inline-flex; min-height: 36px; align-items: center; }
  .footer-bottom p { font-size: 12.5px; line-height: 1.6; }
  /* 触屏最小点击区域 */
  .nav-link, .main-nav ul.nav-links > li > a,
  .sub-menu li a, .lang-item, .chip,
  .drawer-nav a, .drawer-lang-item, .drawer-tool-btn { min-height: 44px; }
}
/* ---- 小屏手机 (≤ 480px) ---- */
@media (max-width: 480px) {
  .brand .brand-name { font-size: 17px; }
  .brand .brand-mark { width: 30px; height: 30px; font-size: 15px; }
  .site-logo { max-height: 32px; }
  .mobile-menu-toggle { width: 36px; height: 36px; min-width: 36px; min-height: 36px; }
  .mobile-menu-toggle svg { width: 19px; height: 19px; }
  .market-grid { grid-template-columns: 1fr !important; }
  .market .mcard { min-height: 130px; }
  .market .mcard .v { font-size: 19px; }
  .market .mcard .k { font-size: 10px; }
  .market .gauge { transform: scale(.78); }
  .feat-title { font-size: 21px; }
  .hot-title { font-size: 18px; }
  .feed-title h2 { font-size: 19px; }
  .tl-card { padding: 13px !important; }
  .tl-card h3 { font-size: 14px; }
  .crypto-tag-card { font-size: 11px !important; padding: 5px 8px !important; }
  .article-head { padding: 24px 18px 18px; }
  .article-body { padding: 10px 18px 22px; }
  .article-divider { margin: 0 18px; }
  .article-head .entry-title { font-size: 22px; }
  .archive-hero { padding: 22px 18px 20px; }
  .archive-hero-title { font-size: 26px; }
  .archive-hero-desc { font-size: 12.5px; }
  .archive-hero-art { display: none; }
  .post-actions { flex-wrap: wrap; justify-content: center; }
  .action-btn { padding: 10px 16px; font-size: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-col { margin-bottom: 18px; }
  .footer-col a { display: inline-flex; min-height: 36px; align-items: center; }
  .footer-bottom p { font-size: 11.5px; line-height: 1.6; }
  .drawer-lang-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
}
/* ---- 极小屏 (≤ 380px) ---- */
@media (max-width: 380px) {
  .brand-sub { display: none; }
  .drawer-lang-grid { grid-template-columns: 1fr; }
  .archive-hero-stats { gap: 6px; }
}


/* ============================================================
   Thai typography tuning (泰文排版微调)
   泰文字形带有上下附加符号（声调/元音），需更大行高避免裁切
   ============================================================ */
h1, h2, h3, h4, .feat-title, .hot-title, .entry-title, .tl-card h3, .brand-name {
  line-height: 1.5;
}
.tl-card p, .feat-desc, .hot-desc, .reco-sub, .pop-sub {
  line-height: 1.8;
}
