/* =====================================================
   墨西哥华人网 — 主样式表 v2
   100% 对齐 style4-premium.html 设计稿
   ===================================================== */

/* ── Design Tokens ───────────────────────────────── */
:root {
  /* Colors */
  --ink:        #0a0a0f;
  --ink-2:      #3d3d4e;
  --ink-3:      #8b8b9e;
  --ink-4:      #b8b8c8;
  --line:       #ebebf0;
  --line-soft:  #f4f4f8;
  --canvas:     #fafafa;
  --white:      #ffffff;

  /* Accent */
  --red:        #d42b1e;
  --red-hover:  #bb2419;
  --red-tint:   #fff5f4;
  --red-light:  #fde8e6;

  /* Status */
  --high:  #dc2626;
  --mid:   #ea580c;
  --low:   #16a34a;

  /* Type scale */
  --text-xs:   11px;
  --text-sm:   13px;
  --text-base: 15px;
  --text-md:   17px;
  --text-lg:   20px;
  --text-xl:   24px;
  --text-2xl:  30px;

  /* Radius */
  --r:    12px;
  --r-sm:  8px;
  --r-xs:  5px;

  /* Shadows */
  --elev-1: 0 1px 2px rgba(10,10,15,.04), 0 2px 8px rgba(10,10,15,.04);
  --elev-2: 0 2px 8px rgba(10,10,15,.06), 0 8px 24px rgba(10,10,15,.06);
  --elev-3: 0 4px 16px rgba(10,10,15,.08), 0 16px 48px rgba(10,10,15,.08);

  --font: 'Inter', 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --container: 1260px;
  --gutter: 32px;
  --transition: .15s ease;
}

/* ── Reset ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* overflow-x: clip 彻底禁止横向滚动（hidden 在移动端仍可被内容撑开拖动，
   导致左右边距不对称）；clip 不支持的旧浏览器回退到 hidden */
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ── 防溢出兜底（修复移动端左右边距不对称的根源）──
   固定宽度的图片/iframe/广告代码不允许超出容器 */
img, iframe, embed, object, video { max-width: 100%; }
.mxh-ad img, .mxh-ad iframe, .mxh-ad ins { max-width: 100% !important; }
.mxh-ad img { height: auto; }
/* grid/flex 子项默认 min-width:auto 会被长内容撑宽，统一收缩 */
.editorial-layout > *, .page-layout > *, .nf-magazine > * { min-width: 0; }
.sidebar { min-width: 0; }

a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; }

/* ── Container ───────────────────────────────────── */
.mw, .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Utility Buttons ─────────────────────────────── */
.btn-line {
  padding: 7px 17px; border-radius: var(--r-sm);
  font-size: var(--text-sm); font-weight: 500;
  color: var(--ink-2); border: 1px solid var(--line);
  background: transparent; transition: all var(--transition);
}
.btn-line:hover { border-color: var(--ink-3); color: var(--ink); }

.btn-solid {
  padding: 7px 19px; border-radius: var(--r-sm);
  font-size: var(--text-sm); font-weight: 600;
  background: var(--ink); color: #fff; border: none;
  transition: all var(--transition); letter-spacing: -.1px;
}
.btn-solid:hover { background: var(--ink-2); }

.btn-red {
  padding: 7px 19px; border-radius: var(--r-sm);
  font-size: var(--text-sm); font-weight: 600;
  background: var(--red); color: #fff;
  transition: all var(--transition);
}
.btn-red:hover { background: var(--red-hover); }

/* ── Blink animation ─────────────────────────────── */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .25; }
}
@keyframes spin { to { transform: rotate(360deg); } }

.blink-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
  animation: blink 1.8s ease-in-out infinite;
  display: inline-block;
}
.spinner {
  display: inline-block; width: 18px; height: 18px;
  border: 2px solid var(--line); border-top-color: var(--red);
  border-radius: 50%; animation: spin .7s linear infinite;
}

/* ── Announcement Bar ────────────────────────────── */
.announcement-bar {
  background: var(--ink);
  color: rgba(255,255,255,.5);
  font-size: var(--text-xs);
  letter-spacing: .3px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.announcement-bar .container {
  display: flex; align-items: center; justify-content: space-between;
}
.announcement-text { flex: 1; }
.announcement-links { display: flex; gap: 20px; }
.announcement-links a { color: rgba(255,255,255,.4); transition: color var(--transition); }
.announcement-links a:hover { color: rgba(255,255,255,.8); }
.announcement-alert { color: rgba(255,255,255,.6) !important; }

/* ── Site Header ─────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 500;
}
.header-inner {
  display: flex; align-items: center;
  height: 62px; gap: 32px;
}

/* Logo */
.site-logo-link { display: flex; align-items: center; gap: 11px; flex-shrink: 0; margin-right: 8px; }
.logo-emblem {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: 900;
  letter-spacing: -1px;
  box-shadow: 0 2px 8px rgba(212,43,30,.3);
  flex-shrink: 0;
}
.site-logo-link img { width: auto; height: 40px; object-fit: contain; }
.site-logo-text { display: flex; flex-direction: column; gap: 0; }
.logo-main { font-size: 16px; font-weight: 800; letter-spacing: -.4px; color: var(--ink); line-height: 1.2; }
.logo-sub  { font-size: 10px; color: var(--ink-4); letter-spacing: .8px; text-transform: uppercase; font-weight: 500; }

/* Primary Nav */
.nav-primary { flex: 1; }
.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-menu .menu-item > a {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 13px; border-radius: var(--r-sm);
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  transition: all var(--transition); white-space: nowrap;
  position: relative;
}
.nav-menu .menu-item > a:hover { color: var(--ink); background: var(--line-soft); }
.nav-menu .current-menu-item > a { color: var(--ink); font-weight: 600; }
.nav-menu .current-menu-item > a::after {
  content: '';
  position: absolute; bottom: -15px;
  left: 13px; right: 13px;
  height: 2px; background: var(--red); border-radius: 1px;
}
/* 安全预警菜单项 */
.nav-menu .menu-item.menu-alert > a { color: var(--red); font-weight: 600; }

/* Header Tools */
.header-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: auto; }
.header-search-btn {
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm); color: var(--ink-3); transition: all var(--transition);
}
.header-search-btn:hover { background: var(--line-soft); color: var(--ink); }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; padding: 8px; border-radius: var(--r-sm); }
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.mobile-menu-btn:hover { background: var(--line-soft); }

/* Search Panel */
.header-search-panel {
  border-top: 1px solid var(--line); background: var(--white);
  padding: 14px 0; box-shadow: var(--elev-2);
}
.header-search-panel form { display: flex; gap: 10px; }
.header-search-panel input {
  flex: 1; padding: 9px 16px; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); font-size: var(--text-sm); outline: none;
  transition: border-color var(--transition);
}
.header-search-panel input:focus { border-color: var(--ink); }
.header-search-panel button {
  background: var(--ink); color: #fff; padding: 9px 22px;
  border-radius: var(--r-sm); font-weight: 600; font-size: var(--text-sm);
  transition: background var(--transition);
}
.header-search-panel button:hover { background: var(--red); }

/* ═══════════ Mobile Drawer（v1.4.9 重做，3 种风格）═══════════ */
.mobile-drawer {
  position: fixed; top: 0; right: 0;
  width: min(320px, 85vw); height: 100vh; height: 100dvh;
  background: var(--white); z-index: 9999;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--elev-3);
  display: flex; flex-direction: column;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer-inner {
  display: flex; flex-direction: column;
  height: 100%; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* 头部：logo + 关闭按钮 */
.mobile-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.drawer-logo { display: flex; align-items: center; gap: 10px; min-width: 0; }
.drawer-emblem {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 900; flex-shrink: 0;
}
.drawer-site-name {
  font-size: 15px; font-weight: 800; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mobile-drawer-close {
  width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm); color: var(--ink-3);
  transition: all var(--transition);
}
.mobile-drawer-close:hover { background: var(--line-soft); color: var(--ink); }

/* 菜单列表：强制纵向（修复回退菜单 .nav-menu 横排的 bug） */
.mobile-nav-menu { flex: 1; padding: 8px 18px; }
.mobile-nav-menu ul { display: block !important; }
.mobile-nav-menu ul li { display: block; }
.mobile-nav-menu ul .menu-item > a,
.mobile-nav-menu ul li > a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 6px; border-radius: 0;
  font-size: 15px; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
  transition: color var(--transition);
}
.mobile-nav-menu ul li:last-child > a { border-bottom: none; }
.mobile-nav-menu ul li > a:active,
.mobile-nav-menu ul li > a:hover { color: var(--red); background: none; }
.mm-icon { font-size: 17px; flex-shrink: 0; width: 22px; text-align: center; }
/* 菜单项右侧箭头 */
.mobile-nav-menu ul li > a::after {
  content: '›'; margin-left: auto;
  color: var(--ink-4); font-size: 17px; font-weight: 400;
}
/* 子菜单缩进（depth 1 默认不输出，自定义菜单兜底） */
.mobile-nav-menu .sub-menu { padding-left: 32px; }

/* 底部登录区 */
.mobile-auth {
  display: flex; gap: 10px;
  padding: 16px 18px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}
.mobile-auth a { flex: 1; text-align: center; }

.mobile-overlay {
  position: fixed; inset: 0; background: rgba(10,10,15,.45);
  z-index: 9998; opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.mobile-overlay.show { opacity: 1; pointer-events: auto; }

/* ── 风格 1：brand 品牌风（默认）──────────────── */
.drawer-brand .mobile-drawer-head {
  background: linear-gradient(135deg, var(--red) 0%, #a81f15 100%);
  border-bottom: none; padding: 20px 18px;
}
.drawer-brand .drawer-emblem { background: rgba(255,255,255,.18); }
.drawer-brand .drawer-site-name { color: #fff; }
.drawer-brand .mobile-drawer-close { color: rgba(255,255,255,.8); }
.drawer-brand .mobile-drawer-close:hover { background: rgba(255,255,255,.12); color: #fff; }
.drawer-brand .mobile-nav-menu ul li > a:hover,
.drawer-brand .mobile-nav-menu ul li > a:active { color: var(--red); }
.drawer-brand .mobile-auth .btn-solid { background: var(--red); }
.drawer-brand .mobile-auth .btn-solid:hover { background: var(--red-hover); }

/* ── 风格 2：simple 简洁风 ────────────────────── */
.drawer-simple .mobile-drawer-head { border-bottom: 1px solid var(--line); }
.drawer-simple .drawer-emblem { display: none; }
.drawer-simple .mm-icon { display: none; }
.drawer-simple .mobile-nav-menu ul li > a::after { content: none; }

/* ── 风格 3：fullscreen 全屏风 ────────────────── */
.drawer-fullscreen { width: 100vw; }
.drawer-fullscreen .mobile-drawer-head { border-bottom: none; }
.drawer-fullscreen .mobile-nav-menu {
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.drawer-fullscreen .mobile-nav-menu ul { width: 100%; max-width: 360px; }
.drawer-fullscreen .mobile-nav-menu ul li > a {
  justify-content: center; gap: 10px;
  font-size: 20px; font-weight: 700;
  padding: 16px 0; border-bottom: none;
}
.drawer-fullscreen .mobile-nav-menu ul li > a::after { content: none; }
.drawer-fullscreen .mm-icon { font-size: 20px; }
.drawer-fullscreen .mobile-auth {
  border-top: none; justify-content: center;
  padding-bottom: calc(32px + env(safe-area-inset-bottom));
}
.drawer-fullscreen .mobile-auth a { max-width: 160px; }

/* ═══════════ 汇率 & 天气条（v1.5.1 通栏版）═══════════
   整条白色通栏，卡片均分宽度——无论 1/2/3 张卡都自动铺满，
   不会出现右侧空一截 */
.module-utility { padding: 14px 0 0; }
.mxh-utility {
  display: flex; align-items: stretch;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-sm); box-shadow: var(--elev-1);
  overflow: hidden;
}
.mxh-ucard {
  flex: 1; min-width: 0;
  display: flex; align-items: center; justify-content: center; gap: 11px;
  padding: 13px 16px;
}
.mxh-ucard + .mxh-ucard { border-left: 1px solid var(--line-soft); }
.ub-ic { font-size: 21px; flex-shrink: 0; }
.ub-body { min-width: 0; }
.ub-body b {
  display: block; font-size: 14.5px; font-weight: 800;
  letter-spacing: -.2px; line-height: 1.3; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ub-body b i { font-style: normal; font-size: 11px; color: var(--ink3); font-weight: 600; }
.ub-sub small { font-size: 11px; color: var(--ink3); }
.ub-up   { font-size: 11px; color: var(--low);  font-weight: 600; }
.ub-down { font-size: 11px; color: var(--red);  font-weight: 600; }

/* ═══════════ 快捷功能宫格（v1.5.0 模块）═══════════ */
.module-quick-grid { padding: 14px 0 0; }
.mxh-qgrid {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 16px 8px;
  box-shadow: var(--elev-1);
}
.qg-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 8px 2px; border-radius: 10px; transition: background var(--transition);
}
.qg-item:hover, .qg-item:active { background: var(--line-soft); }
.qg-ic {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 23px; transition: transform .15s ease;
}
.qg-item:hover .qg-ic { transform: scale(1.06); }
.qg-c1 { background: linear-gradient(135deg, #fde8e6, #fcd1cd); }
.qg-c2 { background: linear-gradient(135deg, #e0ecff, #c9dcff); }
.qg-c3 { background: linear-gradient(135deg, #dcfce7, #bbf2d0); }
.qg-c4 { background: linear-gradient(135deg, #fef3c7, #fde6a0); }
.qg-c5 { background: linear-gradient(135deg, #f3e8ff, #e5d0fb); }
.qg-c6 { background: linear-gradient(135deg, #ffe9d8, #ffd7b8); }
.qg-c7 { background: linear-gradient(135deg, #e0f7fa, #c2eef4); }
.qg-c8 { background: linear-gradient(135deg, #f1f5f9, #e0e7ef); }
.qg-label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }

/* ── Alert Strip ─────────────────────────────────── */
.module-alert-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.alert-strip-inner {
  display: flex; align-items: center; gap: 16px;
  overflow: hidden;
}
.as-label {
  display: flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: var(--r-xs);
  background: var(--red-light); color: var(--red);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: .5px;
  white-space: nowrap; flex-shrink: 0;
}
.as-divider { width: 1px; height: 16px; background: var(--line); flex-shrink: 0; }
.as-text { font-size: var(--text-sm); color: var(--ink-2); flex: 1; line-height: 1.4; }
.as-text strong { color: var(--ink); font-weight: 600; }
.as-chips { display: flex; gap: 6px; flex-shrink: 0; }
.as-chip {
  display: flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 50px;
  font-size: var(--text-xs); font-weight: 700; white-space: nowrap;
}
.as-chip.h { background: #fef2f2; color: var(--high); }
.as-chip.m { background: #fff7ed; color: var(--mid); }
.as-chip.l { background: #f0fdf4; color: var(--low); }
.as-chip-n { font-size: 15px; font-weight: 900; line-height: 1; }
.as-cta {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 14px; border-radius: var(--r-xs);
  font-size: var(--text-sm); font-weight: 600;
  color: var(--red); border: 1px solid var(--red-light);
  background: var(--red-tint); transition: all var(--transition);
  white-space: nowrap; flex-shrink: 0;
}
.as-cta:hover { background: var(--red-light); }

/* Alert ticker (fallback when no structured data) */
.alert-ticker-wrap { flex: 1; overflow: hidden; }
.alert-ticker { display: flex; gap: 32px; white-space: nowrap; animation: ticker 28s linear infinite; }
.alert-ticker:hover { animation-play-state: paused; }
.alert-tick { font-size: var(--text-sm); color: var(--ink-2); }
.alert-tick strong { font-weight: 600; color: var(--red); margin-right: 4px; }
.alert-tick em { font-style: normal; margin-left: 6px; color: var(--ink-4); font-size: var(--text-xs); }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── City Tabs ───────────────────────────────────── */
.module-city-tabs {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.city-tabs-inner {
  display: flex; align-items: center; gap: 2px;
  overflow-x: auto;
}
.city-tabs-inner::-webkit-scrollbar { display: none; }
.ctab {
  padding: 12px 16px; font-size: var(--text-sm); font-weight: 500;
  color: var(--ink-3); white-space: nowrap;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: all var(--transition); cursor: pointer;
}
.ctab:hover { color: var(--ink-2); }
.ctab.hot { color: var(--ink-2); font-weight: 600; }
.ctab.hot::before {
  content: '';
  display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--red); margin-right: 6px;
  vertical-align: middle; margin-bottom: 1px;
}
.ctab.active { color: var(--red); border-bottom-color: var(--red); font-weight: 600; }
.ctab-divider { width: 1px; height: 14px; background: var(--line); margin: 0 6px; flex-shrink: 0; align-self: center; }
.ctab-all { color: var(--ink-4); font-size: var(--text-xs); letter-spacing: .3px; }

/* City news panel */
.city-news-panel { }
.city-loading { padding: 20px; text-align: center; color: var(--ink-3); font-size: var(--text-sm); }

/* ── Section Label (.sl) ─────────────────────────── */
.sl {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.sl-left { display: flex; align-items: center; gap: 9px; }
.sl-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.sl-dot.amber { background: #b45309; }
.sl-name { font-size: var(--text-sm); font-weight: 700; letter-spacing: .4px; color: var(--ink); text-transform: uppercase; }
.sl-count { font-size: var(--text-xs); color: var(--ink-4); font-weight: 500; margin-left: 4px; }
.sl-more { font-size: var(--text-sm); color: var(--ink-3); font-weight: 500; transition: color var(--transition); }
.sl-more:hover { color: var(--red); }

/* ── Editorial Grid ──────────────────────────────── */
.module-editorial { padding: 32px 0; }
.editorial-layout { display: grid; grid-template-columns: 1fr 316px; gap: 40px; }

.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 32px;
}

.ed-card {
  background: var(--white);
  transition: background var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.ed-card:hover { background: var(--line-soft); }

.ed-card.big { grid-row: 1 / 3; }
.ed-card.big .ed-img { height: 280px; }
.ed-card.big .ed-body { padding: 22px 24px 24px; flex: 1; }
.ed-card.big .ed-title { font-size: var(--text-xl); font-weight: 800; line-height: 1.35; letter-spacing: -.3px; }

.ed-card.small .ed-img { height: 160px; }
.ed-card.small .ed-body { padding: 16px 18px 18px; flex: 1; }
.ed-card.small .ed-title { font-size: var(--text-base); font-weight: 700; line-height: 1.4; }

.ed-img { position: relative; overflow: hidden; flex-shrink: 0; }
.ed-img img { transition: transform .5s cubic-bezier(.25,.46,.45,.94); width: 100%; height: 100%; object-fit: cover; }
.ed-card:hover .ed-img img { transform: scale(1.04); }

.ed-tag {
  position: absolute; top: 12px; left: 12px;
  font-size: 10px; font-weight: 800; letter-spacing: .8px;
  padding: 3px 8px; border-radius: 4px;
  text-transform: uppercase; z-index: 2;
}
.ed-tag.red   { background: var(--red);    color: #fff; }
.ed-tag.blue  { background: #1d4ed8;       color: #fff; }
.ed-tag.green { background: #15803d;       color: #fff; }
.ed-tag.amber { background: #b45309;       color: #fff; }
.ed-tag.slate { background: #334155;       color: #fff; }

.ed-body { display: flex; flex-direction: column; }
.ed-kicker { font-size: var(--text-xs); font-weight: 700; color: var(--red); letter-spacing: .6px; text-transform: uppercase; margin-bottom: 7px; }
.ed-title { color: var(--ink); display: block; }
.ed-title:hover, .ed-card:hover .ed-title { color: var(--red); }
.ed-excerpt { font-size: var(--text-sm); color: var(--ink-3); margin-top: 8px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ed-meta { margin-top: auto; padding-top: 12px; font-size: var(--text-xs); color: var(--ink-4); display: flex; align-items: center; gap: 8px; }
.ed-meta-sep { width: 2px; height: 2px; border-radius: 50%; background: var(--ink-4); }

/* ── News Feed ───────────────────────────────────── */
.news-feed {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 32px;
}
.nf-head {
  padding: 14px 20px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.nf-head-title { font-size: var(--text-sm); font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--ink); }
.nf-head-more { font-size: var(--text-sm); color: var(--ink-3); font-weight: 500; transition: color var(--transition); }
.nf-head-more:hover { color: var(--red); }

.nf-item {
  display: flex; gap: 16px; padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
  align-items: flex-start;
  transition: background var(--transition); cursor: pointer;
}
.nf-item:last-child { border-bottom: none; }
.nf-item:hover { background: var(--line-soft); }

.nf-idx {
  font-size: 11px; font-weight: 800; color: var(--ink-4);
  width: 20px; padding-top: 2px; flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.nf-item:nth-child(2) .nf-idx { color: var(--red); }

.nf-thumb {
  width: 84px; height: 58px;
  border-radius: var(--r-xs); overflow: hidden;
  background: var(--line-soft); flex-shrink: 0;
}
.nf-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nf-body { flex: 1; min-width: 0; }
.nf-tag { font-size: var(--text-xs); font-weight: 700; color: var(--ink-3); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 4px; }
.nf-title-text { font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--ink); display: block; }
.nf-item:hover .nf-title-text { color: var(--red); }
.nf-date { font-size: var(--text-xs); color: var(--ink-4); margin-top: 5px; }

/* ── Tourism Strip ───────────────────────────────── */
.module-tourism { padding: 0 0 32px; }

.tour-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.t-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: all .2s cubic-bezier(.25,.46,.45,.94);
  cursor: pointer;
}
.t-card:hover { box-shadow: var(--elev-3); transform: translateY(-4px); border-color: transparent; }
.t-img { height: 172px; position: relative; overflow: hidden; background: var(--line-soft); }
.t-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.25,.46,.45,.94); }
.t-card:hover .t-img img { transform: scale(1.06); }
.t-img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 38px; background: linear-gradient(135deg, #e8eef7, #d4deed);
}
/* v1.5.3：渐变压暗，名称/位置直接显示在图上 */
.t-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,10,18,.82) 0%, rgba(8,10,18,.28) 50%, rgba(8,10,18,.02) 100%);
}
.t-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 5px; flex-wrap: wrap; z-index: 2; }
.t-badge {
  font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 50px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  background: rgba(255,255,255,.9); color: var(--ink);
}
.t-head { position: absolute; left: 13px; right: 13px; bottom: 12px; z-index: 2; }
.t-name {
  font-size: 15.5px; font-weight: 800; color: #fff; letter-spacing: -.2px;
  line-height: 1.35; text-shadow: 0 1px 10px rgba(0,0,0,.35);
}
.t-place { font-size: 11.5px; color: rgba(255,255,255,.82); margin-top: 3px; }
.t-body { padding: 12px 14px 13px; }
.t-intro {
  font-size: 12.5px; color: var(--ink-3); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 40px;
}
.t-detail {
  margin-top: 10px; display: flex; align-items: center; justify-content: space-between;
  padding-top: 10px; border-top: 1px solid var(--line-soft);
}
.t-rate  { font-size: 12.5px; font-weight: 800; color: #f59e0b; }
.t-price { font-size: 12px; font-weight: 600; color: var(--low); }
.t-arrow { font-size: 12px; font-weight: 600; color: var(--ink-4); transition: color var(--transition); }
.t-card:hover .t-arrow { color: var(--red); }

/* ── Classifieds Module ──────────────────────────── */
.module-classifieds { padding: 0 0 32px; }
.classifieds-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.classified-card { background: var(--white); border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; transition: box-shadow var(--transition); }
.classified-card:hover { box-shadow: var(--elev-2); }
.classified-img { height: 120px; overflow: hidden; }
.classified-img img { width: 100%; height: 100%; object-fit: cover; }
.classified-body { padding: 12px; }
.classified-cat { font-size: var(--text-xs); font-weight: 700; letter-spacing: .08em; color: var(--red); display: block; margin-bottom: 4px; text-transform: uppercase; }
.classified-title { font-size: var(--text-sm); font-weight: 600; line-height: 1.3; margin-bottom: 6px; }
.classified-title a:hover { color: var(--red); }
.classified-price { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.classified-meta { display: flex; gap: 8px; font-size: var(--text-xs); color: var(--ink-4); }
.classified-type { background: var(--line-soft); padding: 1px 6px; border-radius: 3px; }

/* ── Sidebar ─────────────────────────────────────── */
.sidebar {
  display: flex; flex-direction: column; gap: 24px;
  position: sticky; top: 62px; align-self: start;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.panel-head {
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.ph-left { display: flex; align-items: center; gap: 8px; }
.ph-icon { font-size: 15px; }
.ph-title { font-size: var(--text-sm); font-weight: 700; color: var(--ink); letter-spacing: .2px; }
.ph-badge { font-size: var(--text-xs); font-weight: 700; color: var(--ink-4); }
.ph-live { display: flex; align-items: center; gap: 5px; }
.ph-live-label { font-size: 11px; color: var(--ink-4); font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.ph-more { font-size: var(--text-sm); color: var(--ink-3); font-weight: 500; transition: color var(--transition); }
.ph-more:hover { color: var(--red); }
.panel-footer { padding: 12px 18px; border-top: 1px solid var(--line); }
.panel-footer a { font-size: var(--text-sm); font-weight: 600; color: var(--red); display: flex; align-items: center; justify-content: center; gap: 4px; padding: 7px 0; }
.panel-footer a:hover { text-decoration: underline; }

/* Risk bar */
.risk-bar { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.rb-cell { padding: 14px 8px; text-align: center; border-right: 1px solid var(--line); }
.rb-cell:last-child { border-right: none; }
.rb-n { font-size: 26px; font-weight: 900; line-height: 1; letter-spacing: -1px; }
.rb-n.h { color: var(--high); }
.rb-n.m { color: var(--mid); }
.rb-n.l { color: var(--low); }
.rb-label { font-size: 10px; font-weight: 600; color: var(--ink-4); text-transform: uppercase; letter-spacing: .5px; margin-top: 3px; }

/* Risk list */
.risk-list { }
.rl-item {
  display: flex; gap: 11px; padding: 12px 18px;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer; transition: background var(--transition);
}
.rl-item:last-child { border-bottom: none; }
.rl-item:hover { background: var(--line-soft); }
.rl-pill {
  font-size: 10px; font-weight: 800; letter-spacing: .4px;
  padding: 2px 7px; border-radius: 4px;
  flex-shrink: 0; margin-top: 1px; text-transform: uppercase;
}
.rl-pill.h { background: #fef2f2; color: var(--high); }
.rl-pill.m { background: #fff7ed; color: var(--mid); }
.rl-pill.l { background: #f0fdf4; color: var(--low); }
.rl-body { flex: 1; min-width: 0; }
.rl-city { font-size: var(--text-sm); font-weight: 600; color: var(--ink); }
.rl-desc { font-size: 12px; color: var(--ink-3); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rl-date { font-size: var(--text-xs); color: var(--ink-4); margin-top: 2px; }
.no-alerts { padding: 20px 18px; font-size: var(--text-sm); color: var(--ink-3); }

/* Business panel */
.biz-filters {
  display: flex; gap: 6px; padding: 12px 18px;
  border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.bf {
  font-size: 12px; font-weight: 500; padding: 4px 12px;
  border-radius: 50px; border: 1px solid var(--line);
  color: var(--ink-3); background: var(--white);
  cursor: pointer; transition: all var(--transition);
}
.bf:hover { border-color: var(--ink-3); color: var(--ink-2); }
.bf.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.biz-list { }
.bl-item {
  display: flex; gap: 12px; padding: 12px 18px;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer; transition: background var(--transition); align-items: center;
}
.bl-item:last-child { border-bottom: none; }
.bl-item:hover { background: var(--line-soft); }
.bl-av {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--line-soft); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0; overflow: hidden;
}
.bl-av img { width: 100%; height: 100%; object-fit: cover; }
.bl-name { font-size: var(--text-sm); font-weight: 600; color: var(--ink); line-height: 1.3; }
.bl-sub  { font-size: 11px; color: var(--ink-4); margin-top: 1px; }

/* Guide panel */
.guide-list { }
.gl-item {
  display: flex; gap: 12px; padding: 12px 18px;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer; transition: background var(--transition); align-items: flex-start;
}
.gl-item:last-child { border-bottom: none; }
.gl-item:hover { background: var(--line-soft); }
.gl-n {
  font-size: 11px; font-weight: 800; color: var(--ink-4);
  width: 18px; padding-top: 2px; flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.gl-item:nth-child(1) .gl-n,
.gl-item:nth-child(2) .gl-n,
.gl-item:nth-child(3) .gl-n { color: var(--red); }
.gl-text { font-size: var(--text-sm); font-weight: 500; color: var(--ink-2); line-height: 1.45; }
.gl-item:hover .gl-text { color: var(--ink); }

/* ── Page Layout (inner pages) ───────────────────── */
.page-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding: 40px 0; }
.page-main { min-width: 0; }

/* ── Archive ─────────────────────────────────────── */
.archive-header { padding: 32px 0 24px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.archive-title { font-size: var(--text-2xl); font-weight: 800; letter-spacing: -.03em; }
.archive-desc { color: var(--ink-3); margin-top: 8px; font-size: var(--text-sm); }
.archive-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.archive-item { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.archive-thumb { width: 180px; flex-shrink: 0; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 16/9; }
.archive-thumb img { width: 100%; height: 100%; object-fit: cover; }
.archive-body { flex: 1; min-width: 0; }
.archive-item-title { font-size: var(--text-base); font-weight: 700; line-height: 1.35; margin-bottom: 8px; }
.archive-item-title a:hover { color: var(--red); }
.archive-excerpt { font-size: var(--text-sm); color: var(--ink-3); line-height: 1.5; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; gap: 12px; font-size: var(--text-xs); color: var(--ink-4); align-items: center; flex-wrap: wrap; }
.post-type-badge { background: var(--line-soft); padding: 2px 8px; border-radius: 20px; font-size: var(--text-xs); font-weight: 600; }
.post-cat-badge { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 10px; font-weight: 700; letter-spacing: .06em; margin-bottom: 10px; text-transform: uppercase; }
.cat-red   { background: var(--red);    color: #fff; }
.cat-green { background: #15803d;       color: #fff; }
.cat-blue  { background: #1d4ed8;       color: #fff; }
.cat-amber { background: #b45309;       color: #fff; }
.cat-slate { background: #334155;       color: #fff; }

/* ── Single Post ─────────────────────────────────── */
.post-header { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.post-title { font-size: var(--text-2xl); font-weight: 800; line-height: 1.2; letter-spacing: -.03em; margin-bottom: 16px; }
.post-featured-img { margin-bottom: 28px; border-radius: var(--r); overflow: hidden; max-height: 480px; }
.post-featured-img img { width: 100%; max-height: 480px; object-fit: cover; }
.img-caption { font-size: var(--text-xs); color: var(--ink-3); padding: 8px 0; text-align: center; }
.post-content { font-size: var(--text-base); line-height: 1.8; color: var(--ink); }
.post-content h2 { font-size: var(--text-lg); font-weight: 700; margin: 28px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.post-content h3 { font-size: var(--text-md); font-weight: 700; margin: 24px 0 10px; }
.post-content p  { margin-bottom: 16px; }
.post-content img { border-radius: var(--r-sm); margin: 16px 0; }
.post-content a  { color: var(--red); text-decoration: underline; }
.post-content blockquote { border-left: 3px solid var(--red); padding: 12px 20px; margin: 20px 0; background: var(--line-soft); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink-2); font-style: italic; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.post-tag { padding: 4px 12px; background: var(--line-soft); border-radius: 20px; font-size: var(--text-xs); color: var(--ink-2); transition: all var(--transition); font-weight: 500; }
.post-tag:hover { background: var(--red-light); color: var(--red); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-nav-prev, .post-nav-next { display: flex; flex-direction: column; gap: 4px; }
.post-nav-next { text-align: right; }
.post-nav-label { font-size: var(--text-xs); color: var(--ink-3); font-weight: 600; }
.post-nav a { font-size: var(--text-sm); font-weight: 600; color: var(--ink); }
.post-nav a:hover { color: var(--red); }

/* Breadcrumb */
.breadcrumb { font-size: var(--text-xs); color: var(--ink-4); display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-bottom: 16px; }
.breadcrumb a { color: var(--ink-4); }
.breadcrumb a:hover { color: var(--red); }
.bc-sep { color: var(--line); }

/* ── Business Page ───────────────────────────────── */
.biz-filter-bar { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.biz-filter-bar input,
.biz-filter-bar select {
  padding: 9px 14px; border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: var(--text-sm); flex: 1; min-width: 0; outline: none;
  transition: border-color var(--transition);
}
.biz-filter-bar input:focus,
.biz-filter-bar select:focus { border-color: var(--ink); }
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.biz-card { background: var(--white); border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; transition: all var(--transition); }
.biz-card:hover { box-shadow: var(--elev-2); transform: translateY(-3px); border-color: transparent; }
.biz-card-img-link { display: block; height: 160px; overflow: hidden; }
.biz-card-img-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.biz-card:hover .biz-card-img-link img { transform: scale(1.04); }
.biz-card-placeholder { height: 160px; background: var(--line-soft); display: flex; align-items: center; justify-content: center; color: var(--ink-4); font-size: var(--text-sm); }
.biz-card-body { padding: 14px; }
.biz-cat-badge { font-size: var(--text-xs); font-weight: 700; letter-spacing: .08em; color: var(--red); display: block; margin-bottom: 4px; text-transform: uppercase; }
.biz-card-title { font-size: var(--text-sm); font-weight: 700; margin-bottom: 8px; }
.biz-card-title a:hover { color: var(--red); }
.biz-city, .biz-address, .biz-hours { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.biz-phone a { font-size: var(--text-sm); color: var(--red); font-weight: 600; }

/* ── Tour Grid (template) ────────────────────────── */
.tour-city-filter { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; overflow-x: auto; }
.filter-chip { padding: 5px 14px; border-radius: 50px; font-size: var(--text-xs); font-weight: 500; color: var(--ink-3); border: 1px solid var(--line); transition: all var(--transition); white-space: nowrap; }
.filter-chip:hover { border-color: var(--ink-3); color: var(--ink-2); }
.filter-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.tour-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ── Classifieds page ────────────────────────────── */
.cl-top-bar { display: flex; gap: 12px; margin-bottom: 20px; align-items: center; flex-wrap: wrap; }
.cl-search { display: flex; gap: 8px; flex: 1; }
.cl-search input { flex: 1; padding: 9px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: var(--text-sm); outline: none; }
.cl-search input:focus { border-color: var(--ink); }
.cl-cat-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.cl-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.cl-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.cl-thumb { width: 120px; flex-shrink: 0; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4/3; }
.cl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cl-body { flex: 1; min-width: 0; }
.cl-meta-top { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; font-size: var(--text-xs); }
.cl-cat { font-weight: 700; color: var(--red); letter-spacing: .06em; text-transform: uppercase; }
.cl-type { background: var(--line-soft); padding: 1px 8px; border-radius: 20px; color: var(--ink-4); }
.cl-date { color: var(--ink-4); margin-left: auto; }
.cl-title { font-size: var(--text-base); font-weight: 600; margin-bottom: 6px; }
.cl-title a:hover { color: var(--red); }
.cl-excerpt { font-size: var(--text-sm); color: var(--ink-3); margin-bottom: 8px; }
.cl-price { font-size: var(--text-base); color: var(--red); font-weight: 700; }

/* ── 搜索页（v1.5.5 重设计）─────────────────────── */
.search-page { padding: 30px 0 48px; }
.search-header { max-width: 620px; margin: 4px auto 32px; text-align: center; }
.search-kicker {
  font-size: 11px; font-weight: 800; letter-spacing: 3px;
  color: var(--ink-4); margin-bottom: 14px;
}
/* 胶囊搜索栏：图标 + 输入框 + 内嵌红色按钮 */
.search-hero {
  display: flex; align-items: center; gap: 9px;
  background: var(--white);
  border: 1.5px solid var(--line); border-radius: 50px;
  padding: 5px 5px 5px 18px;
  box-shadow: var(--elev-1);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-hero:focus-within { border-color: var(--ink); box-shadow: var(--elev-2); }
.search-hero svg { color: var(--ink-4); flex-shrink: 0; }
.search-hero input {
  flex: 1; min-width: 0; border: none; outline: none; background: none;
  font-size: 15px; color: var(--ink); padding: 8px 0;
}
.search-hero button {
  flex-shrink: 0; background: var(--red); color: #fff;
  font-size: 14px; font-weight: 700;
  padding: 9px 26px; border-radius: 50px;
  transition: background var(--transition);
}
.search-hero button:hover { background: var(--red-hover); }
.search-summary { margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.search-summary b  { color: var(--ink); font-weight: 800; }
.search-summary em { font-style: normal; color: var(--red); font-weight: 700; }

/* 空关键词：热门搜索引导 */
.search-empty { text-align: center; padding: 4px 0 36px; }
.search-empty-tip { font-size: 13px; color: var(--ink-3); margin-bottom: 16px; }
.search-hot {
  display: flex; flex-wrap: wrap; gap: 9px; justify-content: center;
  max-width: 560px; margin: 0 auto;
}
.search-hot-chip {
  padding: 7px 17px; border-radius: 50px;
  background: var(--white); border: 1px solid var(--line);
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  transition: all var(--transition);
}
.search-hot-chip:hover {
  border-color: var(--red); color: var(--red); background: var(--red-tint);
}

/* 板块「查看更多」（v1.5.6）：跳转到对应频道页继续筛选 */
.sr-section-more {
  font-size: 13px; font-weight: 600; color: var(--red);
  white-space: nowrap; transition: opacity var(--transition);
}
.sr-section-more:hover { opacity: .75; }

/* ── Search ──────────────────────────────────────── */
.search-form-inline { display: flex; gap: 10px; margin-bottom: 28px; }
.search-form-inline input { flex: 1; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: var(--text-sm); outline: none; }
.search-form-inline input:focus { border-color: var(--ink); }
.search-form-inline button { background: var(--ink); color: #fff; padding: 10px 24px; border-radius: var(--r-sm); font-weight: 600; font-size: var(--text-sm); transition: background var(--transition); }
.search-form-inline button:hover { background: var(--red); }
.no-results { color: var(--ink-3); padding: 32px 0; }
.no-results-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 40px; text-align: center; }
.no-results-box p { color: var(--ink-3); margin-bottom: 8px; }

/* ── 404 ─────────────────────────────────────────── */
.error-404-box { text-align: center; padding: 80px 0; }
.error-404-num { font-size: 7rem; font-weight: 900; color: var(--line); line-height: 1; }
.error-404-title { font-size: var(--text-xl); font-weight: 700; margin-bottom: 12px; }
.error-404-desc { color: var(--ink-3); margin-bottom: 28px; }
.error-404-actions { margin-bottom: 40px; }
.error-404-search { max-width: 480px; margin: 0 auto; }
.error-404-search p { margin-bottom: 12px; color: var(--ink-3); font-size: var(--text-sm); }

/* ── Pagination ──────────────────────────────────── */
.pagination, nav.pagination { display: flex; justify-content: center; gap: 4px; margin: 32px 0; flex-wrap: wrap; }
.pagination a, .pagination span,
nav.pagination a, nav.pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: var(--text-sm); font-weight: 500; color: var(--ink-2);
  transition: all var(--transition);
}
.pagination a:hover, nav.pagination a:hover { border-color: var(--ink-2); color: var(--ink); }
.pagination .current, nav.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── Footer ──────────────────────────────────────── */
.site-footer { background: var(--ink); margin-top: 80px; }
.footer-body {
  max-width: var(--container); margin: 0 auto;
  padding: 52px var(--gutter) 40px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
}
.fb-brand { margin-bottom: 14px; }
.fb-name { font-size: var(--text-md); font-weight: 900; color: #fff; letter-spacing: -.4px; }
.fb-en { font-size: 11px; color: rgba(255,255,255,.3); letter-spacing: 1px; text-transform: uppercase; margin-top: 2px; }
.fb-desc { font-size: var(--text-sm); color: rgba(255,255,255,.35); line-height: 1.75; margin-top: 12px; }
.fb-pill {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  padding: 6px 14px; border-radius: 50px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  font-size: 11px; color: rgba(255,255,255,.35); letter-spacing: .3px;
}
.fc-head { font-size: 10px; font-weight: 700; color: rgba(255,255,255,.25); letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 16px; }
.footer-menu, .fc-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-menu a, .fc-links a { font-size: var(--text-sm); color: rgba(255,255,255,.4); transition: color var(--transition); }
.footer-menu a:hover, .fc-links a:hover { color: rgba(255,255,255,.8); }
.footer-contact { font-size: var(--text-sm); color: rgba(255,255,255,.4); line-height: 1.75; }
.footer-contact a { color: rgba(255,255,255,.4); }
.footer-contact a:hover { color: rgba(255,255,255,.8); }
.footer-bar { border-top: 1px solid rgba(255,255,255,.05); }
.footer-bar-inner {
  max-width: var(--container); margin: 0 auto; padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.footer-bar-copy { font-size: 12px; color: rgba(255,255,255,.2); }
.footer-bar-links { display: flex; gap: 20px; }
.footer-bar-links a { font-size: 12px; color: rgba(255,255,255,.2); transition: color var(--transition); }
.footer-bar-links a:hover { color: rgba(255,255,255,.5); }

/* ── Admin Module Page ───────────────────────────── */
.mxh-admin-wrap { max-width: 720px; }
.mxh-admin-wrap h1 { margin-bottom: 8px; }
.mxh-admin-wrap .description { color: #666; margin-bottom: 20px; font-size: 13px; }
.mxh-sortable { margin: 16px 0; }
.mxh-module-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; background: #fff;
  border: 1.5px solid #ddd; border-radius: 6px;
  margin-bottom: 6px; cursor: grab;
  user-select: none; transition: box-shadow .15s, opacity .2s;
}
.mxh-module-row:hover { box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.mxh-module-row.mxh-inactive { opacity: .45; }
.mxh-drag-handle { color: #bbb; font-size: 18px; cursor: grab; }
.mxh-module-label { flex: 1; font-size: 14px; font-weight: 500; }
.mxh-status-text { font-size: 12px; color: #888; min-width: 28px; }
.mxh-toggle { position: relative; display: inline-block; width: 40px; height: 22px; flex-shrink: 0; }
.mxh-toggle input { display: none; }
.mxh-toggle-slider { position: absolute; cursor: pointer; inset: 0; background: #ccc; border-radius: 22px; transition: .25s; }
.mxh-toggle-slider::before { content: ''; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .25s; }
.mxh-toggle input:checked + .mxh-toggle-slider { background: var(--red); }
.mxh-toggle input:checked + .mxh-toggle-slider::before { transform: translateX(18px); }
.mxh-save-wrap { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.mxh-save-status { font-size: 13px; font-weight: 600; color: #16a34a; }
.mxh-save-status.error { color: #dc2626; }

/* ── Ad Slots ────────────────────────────────────── */
.mxh-ad {
  line-height: 0; /* 消除广告图片下方间距 */
}
/* 导航下横幅 */
.mxh-ad-header_below {
  display: flex; align-items: center; justify-content: center;
  padding: 12px 0; background: var(--white);
  border-bottom: 1px solid var(--line);
}
/* 头版新闻下横幅 */
.mxh-ad-editorial_after {
  display: flex; align-items: center; justify-content: center;
  padding: 12px 0 0;
}
/* 侧边栏广告 */
.mxh-ad-sidebar_top,
.mxh-ad-sidebar_mid {
  display: flex; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; background: var(--white); min-height: 1px;
}
/* 内容流广告 */
.mxh-ad-content_mid {
  display: flex; justify-content: center;
  padding: 8px 20px;
  background: var(--line-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
/* 页脚上方 */
.mxh-ad-footer_above {
  display: flex; align-items: center; justify-content: center;
  padding: 16px var(--gutter);
  background: var(--white);
  border-top: 1px solid var(--line);
}
/* 手机悬浮 */
.mxh-ad-mobile_sticky {
  display: none; /* 默认隐藏，仅移动端通过 responsive.css 显示 */
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 800;
  justify-content: center; background: var(--white);
  border-top: 1px solid var(--line);
  padding: 4px 0;
  box-shadow: 0 -2px 12px rgba(10,10,15,.08);
}

/* ── Image Placeholders ──────────────────────────── */
.ed-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
}
.nf-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--line-soft) 0%, var(--line) 100%);
  border-radius: var(--r-xs);
}

/* ── Footer Contact ──────────────────────────────── */
.footer-contact p { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
.fc-icon { flex-shrink: 0; opacity: .5; }
.fc-address { color: rgba(255,255,255,.2) !important; font-size: 11px !important; margin-top: 8px !important; }
.btn-logout {
  font-size: var(--text-sm); color: var(--ink-3); font-weight: 500;
  padding: 7px 12px; border-radius: var(--r-sm);
  border: 1px solid var(--line); transition: all var(--transition);
  white-space: nowrap;
}
.btn-logout:hover { color: var(--red); border-color: var(--red-light); }

/* ── Auth Pages (Login / Register) ──────────────── */
.auth-page {
  min-height: calc(100vh - 200px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px var(--gutter);
  background: var(--line-soft);
}
.auth-card {
  width: 100%; max-width: 440px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 40px;
  box-shadow: var(--elev-2);
}
.auth-logo {
  display: flex; justify-content: center;
  margin-bottom: 28px;
}
.auth-logo .site-logo-link { gap: 12px; }
.auth-title {
  font-size: var(--text-xl); font-weight: 800; text-align: center;
  letter-spacing: -.02em; color: var(--ink); margin-bottom: 6px;
}
.auth-sub {
  font-size: var(--text-sm); color: var(--ink-3); text-align: center;
  margin-bottom: 28px;
}
.auth-error {
  background: #fef2f2; border: 1px solid #fecaca;
  border-radius: var(--r-sm); padding: 10px 14px;
  font-size: var(--text-sm); color: #b91c1c; margin-bottom: 20px;
}
.auth-success {
  background: #f0fdf4; border: 1px solid #bbf7d0;
  border-radius: var(--r-sm); padding: 10px 14px;
  font-size: var(--text-sm); color: #166534; margin-bottom: 20px;
}
.auth-form { display: flex; flex-direction: column; gap: 18px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field label {
  font-size: var(--text-sm); font-weight: 600; color: var(--ink-2);
}
.auth-req { color: var(--red); }
.auth-field input {
  padding: 10px 14px; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); font-size: var(--text-base);
  outline: none; transition: border-color var(--transition);
  color: var(--ink); background: var(--white);
  font-family: var(--font);
}
.auth-field input:focus { border-color: var(--ink); }
.auth-pw-wrap { position: relative; }
.auth-pw-wrap input { width: 100%; padding-right: 44px; }
.auth-pw-toggle {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  color: var(--ink-4); padding: 4px; border-radius: 4px;
  transition: color var(--transition);
}
.auth-pw-toggle:hover { color: var(--ink); }
.auth-pw-strength {
  font-size: var(--text-xs); font-weight: 600; min-height: 16px; margin-top: 3px;
}
.auth-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: -4px;
}
.auth-check {
  display: flex; align-items: center; gap: 7px;
  font-size: var(--text-sm); color: var(--ink-2); cursor: pointer;
}
.auth-check input { accent-color: var(--red); width: 15px; height: 15px; }
.auth-forgot { font-size: var(--text-sm); color: var(--ink-3); transition: color var(--transition); }
.auth-forgot:hover { color: var(--red); }
.auth-submit {
  width: 100%; padding: 12px;
  background: var(--red); color: #fff;
  border-radius: var(--r-sm); font-size: var(--text-base);
  font-weight: 700; letter-spacing: .02em;
  transition: background var(--transition);
  margin-top: 4px;
}
.auth-submit:hover { background: var(--red-hover); }
.auth-foot {
  text-align: center; margin-top: 22px;
  font-size: var(--text-sm); color: var(--ink-3);
}
.auth-foot a { color: var(--red); font-weight: 600; }
.auth-foot a:hover { text-decoration: underline; }

/* ═══════════════ 评论区 v1.4.2 ═══════════════ */
.comments-area { margin-top: 40px; padding-top: 32px; border-top: 2px solid #f1f3f4; }
.comments-title {
  font-size: var(--text-xl); font-weight: 700; margin: 0 0 20px;
  color: #111;
}
.comments-count { color: var(--red); }

/* 评论列表 */
.comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.comment-list .children { list-style: none; padding-left: 52px; margin: 0; }
.comment-item { padding: 20px 0; border-bottom: 1px solid #f1f3f4; }
.comment-item:last-child { border-bottom: none; }

.comment-body {}
.comment-meta {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px;
}
.comment-avatar img { border-radius: 50%; width: 48px; height: 48px; display: block; }
.comment-info { flex: 1; }
.comment-author { font-weight: 700; font-size: var(--text-sm); color: #111; display: block; }
.comment-author a { color: inherit; text-decoration: none; }
.comment-date { font-size: 12px; color: #9ca3af; }
.comment-reply { margin-top: 4px; }
.comment-reply-link {
  font-size: 12px; color: var(--red); text-decoration: none; font-weight: 600;
}
.comment-reply-link:hover { text-decoration: underline; }
.comment-content { font-size: var(--text-sm); color: #374151; line-height: 1.7; padding-left: 60px; }
.comment-content p { margin: 0 0 8px; }
.comment-awaiting { color: #9ca3af; font-size: 13px; padding-left: 60px; }

/* 评论表单 */
.comment-respond { margin-top: 32px; }
.comment-reply-title { font-size: var(--text-lg); font-weight: 700; margin: 0 0 20px; }
.comment-form { display: grid; gap: 14px; }
.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid #e5e7eb; border-radius: 8px;
  font-size: var(--text-sm); font-family: inherit;
  background: #fafafa; transition: border-color .15s;
  box-sizing: border-box;
}
.comment-form-comment textarea:focus,
.comment-form-author input:focus,
.comment-form-email input:focus {
  outline: none; border-color: var(--red); background: #fff;
}
.comment-form-comment textarea { min-height: 110px; resize: vertical; }
.comment-form-author,
.comment-form-email { display: inline-block; width: calc(50% - 7px); }
.comment-form-author { margin-right: 14px; }
.comment-form p { margin: 0; }
.submit-btn {
  display: inline-block; padding: 10px 28px;
  background: var(--red); color: #fff; border: none;
  border-radius: 8px; font-weight: 700; font-size: var(--text-sm);
  cursor: pointer; transition: background .15s;
}
.submit-btn:hover { background: #b91c1c; }
.logged-in-as { font-size: 13px; color: #6b7280; }
.no-comments { color: #9ca3af; text-align: center; padding: 20px 0; }

/* ═══════════════ 头版左列内嵌最新资讯 v1.4.3 ═══════════════ */
.editorial-main { min-width: 0; }

.ed-newsfeed {
  margin-top: 24px;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  overflow: hidden;
}
.ed-newsfeed-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: #fafafa;
  border-bottom: 1px solid #e8eaed;
}
.ed-newsfeed-hd .nf-head-title {
  font-size: 15px; font-weight: 700; color: #111;
  padding-left: 10px;
  border-left: 3px solid var(--red);
}
.ed-newsfeed-hd .nf-head-more {
  font-size: 13px; color: var(--red); text-decoration: none; font-weight: 600;
}
.ed-newsfeed-hd .nf-head-more:hover { text-decoration: underline; }

/* ── 资讯分类 Tab（v1.5.1，后台「主题选项 → 首页内容」配置）── */
.nf-tabs {
  display: flex; gap: 2px; flex: 1; min-width: 0;
  overflow-x: auto; scrollbar-width: none;
}
.nf-tabs::-webkit-scrollbar { display: none; }
.nf-tab {
  padding: 5px 12px; font-size: 14px; font-weight: 600;
  color: var(--ink-3); position: relative; white-space: nowrap;
  transition: color var(--transition);
}
.nf-tab:hover { color: var(--ink-2); }
.nf-tab.on { color: var(--ink); font-weight: 800; }
.nf-tab.on::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: -13px;
  height: 3px; background: var(--red); border-radius: 3px 3px 0 0;
}
.nf-loading { padding: 28px; text-align: center; color: var(--ink-3); font-size: 13px; }

/* 内嵌新闻列表复用 .nf-list 和 .nf-item 样式，但去掉外边框 */
.ed-newsfeed .nf-list { padding: 4px 0; }
.ed-newsfeed .nf-item {
  padding: 10px 16px;
  border-bottom: 1px solid #f3f4f6;
}
.ed-newsfeed .nf-item:last-child { border-bottom: none; }

/* 加载更多按钮 */
.nf-load-more-wrap {
  text-align: center;
  padding: 12px;
  border-top: 1px solid #f3f4f6;
  background: #fafafa;
}
.nf-load-more-btn {
  background: none; border: 1.5px solid #e5e7eb; border-radius: 6px;
  padding: 8px 24px; font-size: 13px; color: #374151; cursor: pointer;
  font-weight: 600; transition: all .15s;
}
.nf-load-more-btn:hover { border-color: var(--red); color: var(--red); }
.nf-load-more-btn[disabled] { opacity: .5; cursor: default; }
