/* ============================================================
   传奇私服发布网 · 传奇游戏查询站  公共样式
   设计语言：暗金 + 玛法大陆氛围 + 现代信息流排版
   ============================================================ */

:root {
  --bg: #0d0b14;
  --bg-2: #13101f;
  --panel: #1a1626;
  --panel-2: #221c33;
  --line: #2e2744;
  --gold: #f5c542;
  --gold-2: #d4a017;
  --gold-soft: rgba(245, 197, 66, .14);
  --red: #e5493c;
  --green: #33b98a;
  --blue: #4a9cf5;
  --text: #e9e4f5;
  --text-2: #b6adcd;
  --text-3: #8a829e;
  --radius: 14px;
  --radius-s: 9px;
  --shadow: 0 10px 40px rgba(0, 0, 0, .45);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 12% -8%, rgba(245, 197, 66, .10), transparent 60%),
    radial-gradient(1000px 500px at 88% 4%, rgba(229, 73, 60, .08), transparent 60%),
    linear-gradient(180deg, #100c1a 0%, #0d0b14 40%, #0b0912 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .18s, background .18s; }
a:hover, a:focus { color: #ffe08a; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- 通用组件 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .75em 1.6em; border-radius: 30px; border: 1px solid transparent;
  font-size: .95rem; font-weight: 600; cursor: pointer; transition: .22s;
  text-decoration: none; line-height: 1; white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #1a1100; box-shadow: 0 6px 20px rgba(245, 197, 66, .28); }
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-2px); color: #1a1100; }
.btn-ghost { background: rgba(255, 255, 255, .05); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: .6em 1.2em; font-size: .88rem; }
.btn-sign { background: linear-gradient(135deg, #ff8a3d, #e5493c); color: #fff; box-shadow: 0 6px 18px rgba(229, 73, 60, .35); width: 100%; }
.btn-sign:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn-sign:disabled, .btn-sign.done { background: linear-gradient(135deg, #3a3450, #2c2740); color: var(--text-3); box-shadow: none; cursor: default; transform: none; }

.section-title {
  font-size: 1.42rem; margin: 0; display: flex; align-items: center; gap: .55em;
  letter-spacing: .5px; color: #fff; font-weight: 700;
}
.section-title .st-icon { font-size: 1.25em; }

.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 1em; margin-bottom: 1.2em; flex-wrap: wrap; }
.more-link { color: var(--gold); font-size: .92rem; font-weight: 600; white-space: nowrap; }
.more-link:hover { color: #ffe08a; }

/* ---------- 顶部通知条 ---------- */
.topbar { background: linear-gradient(90deg, rgba(245,197,66,.14), rgba(229,73,60,.10)); border-bottom: 1px solid rgba(245,197,66,.22); }
.topbar-inner {
  max-width: var(--max); margin: 0 auto; padding: .45em 1.2em;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5em;
  font-size: .8rem; color: #e8ddb6; flex-wrap: wrap;
}
.topbar-msg { display: flex; align-items: center; gap: .5em; }
.topbar-date { color: var(--gold); font-weight: 600; white-space: nowrap; }

/* ---------- 头部 ---------- */
.site-header { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(14px); background: rgba(13, 11, 20, .86); border-bottom: 1px solid var(--line); }
.header-inner { max-width: var(--max); margin: 0 auto; padding: .8em 1.2em; display: flex; align-items: center; gap: 2em; }
.brand { display: flex; align-items: center; gap: .8em; flex-shrink: 0; }
.brand:hover { opacity: .92; }
.brand-logo { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(245,197,66,.10); border: 1px solid rgba(245,197,66,.3); }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-title { font-size: 1.28rem; font-weight: 800; color: #fff; letter-spacing: .5px; }
.brand-sub { font-size: .74rem; color: var(--text-3); }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 1.4em; }
.main-nav ul { display: flex; gap: .4em; list-style: none; margin: 0; padding: 0; }
.main-nav li a {
  display: block; padding: .55em 1em; border-radius: 22px; color: var(--text-2);
  font-size: .95rem; font-weight: 500;
}
.main-nav li a:hover { color: var(--gold); background: var(--gold-soft); }
.main-nav li.active a { color: #1a1100; background: linear-gradient(135deg, var(--gold), var(--gold-2)); font-weight: 700; }

.nav-search { display: flex; align-items: center; background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 22px; padding: .2em .2em .2em .9em; }
.nav-search input { background: transparent; border: 0; outline: 0; color: var(--text); width: 150px; font-size: .88rem; }
.nav-search input::placeholder { color: var(--text-3); }
.nav-search button { background: var(--gold-soft); border: 0; border-radius: 20px; width: 32px; height: 32px; cursor: pointer; color: var(--gold); }

.nav-toggle { display: none; background: transparent; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: .4em; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; transition: .25s; }

/* ---------- 滚动公告 ---------- */
.announce {
  max-width: var(--max); margin: 1.4em auto 0; padding: 0 1.2em;
  display: flex; align-items: center; gap: 0; background: linear-gradient(90deg, rgba(229,73,60,.16), rgba(245,197,66,.10));
  border: 1px solid rgba(245,197,66,.25); border-radius: 12px; overflow: hidden;
}
.announce-label {
  flex-shrink: 0; padding: .65em 1.1em; background: linear-gradient(135deg, var(--red), #b5362c);
  color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: 1px; white-space: nowrap;
}
.announce-track-wrap { flex: 1; overflow: hidden; position: relative; }
.announce-track-wrap::before, .announce-track-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 36px; z-index: 2; pointer-events: none;
}
.announce-track-wrap::before { left: 0; background: linear-gradient(90deg, rgba(20,15,30,1), transparent); }
.announce-track-wrap::after { right: 0; background: linear-gradient(-90deg, rgba(20,15,30,1), transparent); }
.announce-track { list-style: none; margin: 0; padding: .75em 1.4em; display: flex; gap: 3.5em; white-space: nowrap; will-change: transform; }
.announce-track li { display: inline-flex; align-items: center; gap: .7em; }
.announce-track time { color: var(--gold); font-weight: 700; font-size: .86rem; flex-shrink: 0; }
.announce-track a { color: var(--text); font-size: .92rem; }
.announce-track a:hover { color: var(--gold); }
.announce-controls { flex-shrink: 0; padding: 0 .8em; }
.announce-controls button { background: transparent; border: 0; color: var(--gold); cursor: pointer; font-size: 1rem; }

/* ---------- 布局容器 ---------- */
.container { max-width: var(--max); margin: 0 auto; padding: 1.8em 1.2em 3em; display: flex; flex-direction: column; gap: 2.6em; }

/* ---------- Hero ---------- */
.hero {
  position: relative; display: grid; grid-template-columns: 1.5fr .9fr; gap: 1.8em;
  background: linear-gradient(160deg, rgba(34,28,51,.95), rgba(20,16,32,.95));
  border: 1px solid var(--line); border-radius: 20px; padding: 2.4em; overflow: hidden; box-shadow: var(--shadow);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.glow-1 { width: 340px; height: 340px; background: rgba(245,197,66,.35); top: -120px; right: -80px; }
.glow-2 { width: 280px; height: 280px; background: rgba(229,73,60,.28); bottom: -100px; left: -60px; }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(245,197,66,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(245,197,66,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(circle at 50% 40%, #000, transparent 85%); }
.float-icons { position: absolute; inset: 0; }
.float-icons span { position: absolute; font-size: 1.6rem; opacity: .16; animation: float 7s ease-in-out infinite; }
.float-icons span:nth-child(1) { top: 14%; left: 8%; animation-delay: 0s; }
.float-icons span:nth-child(2) { top: 62%; left: 18%; animation-delay: 1.2s; }
.float-icons span:nth-child(3) { top: 30%; right: 30%; animation-delay: 2.4s; }
.float-icons span:nth-child(4) { top: 74%; right: 14%; animation-delay: 3.6s; }
.float-icons span:nth-child(5) { top: 46%; left: 44%; animation-delay: 4.8s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.hero-text { position: relative; z-index: 2; }
.eyebrow { display: inline-block; font-size: .78rem; letter-spacing: 2px; color: var(--gold); background: var(--gold-soft); padding: .35em .9em; border-radius: 20px; border: 1px solid rgba(245,197,66,.3); }
.hero-text h1 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); margin: .5em 0 .35em; line-height: 1.25; color: #fff; font-weight: 800; }
.hero-text h1::after { content: ''; display: block; width: 80px; height: 4px; margin-top: .45em; background: linear-gradient(90deg, var(--gold), transparent); border-radius: 2px; }
.hero-sub { color: var(--text-2); font-size: 1.02rem; margin: .6em 0 1.4em; max-width: 36em; }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9em; margin: 1.6em 0; }
.stat { background: rgba(0,0,0,.28); border: 1px solid var(--line); border-radius: 12px; padding: 1em .6em; text-align: center; }
.stat b { display: block; font-size: 1.7rem; color: var(--gold); font-weight: 800; line-height: 1.1; }
.stat span { font-size: .78rem; color: var(--text-3); }

.hero-actions { display: flex; gap: 1em; flex-wrap: wrap; }

/* 签到 + 订阅卡 */
.side-card { position: relative; z-index: 2; background: linear-gradient(165deg, rgba(42,34,62,.96), rgba(20,16,32,.96)); border: 1px solid rgba(245,197,66,.28); border-radius: 18px; padding: 1.6em; display: flex; flex-direction: column; gap: 1.2em; box-shadow: inset 0 0 40px rgba(245,197,66,.06); }
.side-card-head { display: flex; align-items: center; gap: .6em; }
.side-card-fire { font-size: 1.5rem; animation: flame 1.4s ease-in-out infinite; }
@keyframes flame { 0%,100% { transform: scale(1) rotate(-3deg); } 50% { transform: scale(1.18) rotate(4deg); } }
.side-card-head h2 { font-size: 1.12rem; margin: 0; color: #fff; }

.signin-box { display: flex; align-items: center; justify-content: space-between; gap: 1em; background: rgba(0,0,0,.3); border: 1px solid var(--line); border-radius: 12px; padding: 1em; flex-wrap: wrap; }
.signin-info { display: flex; flex-direction: column; }
.signin-day { font-size: 1.05rem; color: var(--gold); font-weight: 700; }
.signin-day b { font-size: 1.4em; }
.signin-desc { font-size: .8rem; color: var(--text-3); margin-top: .25em; }

.spark-box { background: rgba(0,0,0,.25); border: 1px solid var(--line); border-radius: 12px; padding: .9em 1em; }
.spark-label { font-size: .86rem; color: var(--text-2); }
.spark-label b { color: #ff8a3d; font-size: 1.2em; }
.spark-bar { height: 8px; background: rgba(255,255,255,.08); border-radius: 6px; overflow: hidden; margin: .5em 0; }
.spark-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ff8a3d, #e5493c, var(--gold)); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.spark-level { font-size: .78rem; color: var(--text-3); }

.reward-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: .5em; }
.reward-row li { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 10px; padding: .6em .3em; text-align: center; transition: .2s; }
.reward-row li span { display: block; font-size: .76rem; color: var(--text-3); }
.reward-row li em { display: block; font-style: normal; font-size: .74rem; color: var(--text-2); margin-top: .2em; }
.reward-row li.done { background: var(--gold-soft); border-color: rgba(245,197,66,.5); }
.reward-row li.done span { color: var(--gold); font-weight: 700; }
.reward-row li.done em { color: #ffe9a8; }

.subscribe-box { display: flex; gap: .5em; }
.subscribe-box input { flex: 1; min-width: 0; background: rgba(0,0,0,.3); border: 1px solid var(--line); border-radius: 24px; padding: .65em 1.1em; color: var(--text); font-size: .9rem; }
.subscribe-box input:focus { border-color: var(--gold); outline: 0; }
.sub-tip { margin: 0; font-size: .78rem; color: var(--text-3); }
.sub-tip.ok { color: var(--green); }
.sub-tip.error { color: var(--red); }

/* ---------- 标签云 ---------- */
.quick-filter { background: rgba(26,22,38,.7); border: 1px solid var(--line); border-radius: 16px; padding: 1.6em; }
.tag-cloud { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .65em; }
.tag { display: inline-block; padding: .5em 1.05em; border-radius: 22px; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--text-2); font-size: .88rem; transition: .2s; }
.tag:hover { background: var(--gold-soft); border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.tag-hot { color: #ffd0cf; border-color: rgba(229,73,60,.5); background: rgba(229,73,60,.12); }
.tag-new { color: #b8f0dc; border-color: rgba(51,185,138,.5); background: rgba(51,185,138,.12); }

/* ---------- 开服表 ---------- */
.today-list { background: rgba(26,22,38,.7); border: 1px solid var(--line); border-radius: 16px; padding: 1.6em; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; border: 1px solid var(--line); }
.server-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 720px; }
.server-table caption { caption-side: top; text-align: left; padding: .6em .8em; color: var(--text-3); font-size: .82rem; background: rgba(0,0,0,.25); }
.server-table th, .server-table td { padding: .85em .9em; text-align: left; border-bottom: 1px solid var(--line); }
.server-table thead th { background: linear-gradient(180deg, rgba(245,197,66,.16), rgba(245,197,66,.05)); color: var(--gold); font-size: .86rem; font-weight: 700; white-space: nowrap; }
.server-table tbody tr { transition: background .18s; }
.server-table tbody tr:hover { background: rgba(245,197,66,.07); }
.server-table tbody tr:nth-child(even) { background: rgba(255,255,255,.02); }
.server-table tbody tr:nth-child(even):hover { background: rgba(245,197,66,.07); }
.server-table a { color: var(--gold); font-weight: 600; }
.badge { display: inline-block; padding: .25em .75em; border-radius: 20px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.badge.on { background: rgba(51,185,138,.16); color: #5fd7ab; border: 1px solid rgba(51,185,138,.4); }
.badge.wait { background: rgba(74,156,245,.14); color: #7dc0ff; border: 1px solid rgba(74,156,245,.4); }
.hot { color: var(--gold); letter-spacing: 1px; white-space: nowrap; }
.table-note { margin: 1em 0 0; font-size: .8rem; color: var(--text-3); }

/* ---------- 资讯 ---------- */
.news-section { display: flex; flex-direction: column; gap: 1.4em; }
.featured-news { display: grid; grid-template-columns: 320px 1fr; gap: 0; background: linear-gradient(160deg, rgba(34,28,51,.85), rgba(20,16,32,.9)); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.fn-img { position: relative; background: linear-gradient(150deg, #2a2040, #1a1428); display: grid; place-items: center; min-height: 200px; }
.fn-bg { font-size: 6rem; opacity: .18; }
.fn-tag { position: absolute; top: 1em; left: 1em; background: var(--red); color: #fff; font-size: .74rem; font-weight: 700; padding: .3em .8em; border-radius: 16px; }
.fn-body { padding: 1.7em; }
.fn-body h3 { margin: 0 0 .6em; font-size: 1.42rem; line-height: 1.4; }
.fn-body h3 a { color: #fff; }
.fn-body h3 a:hover { color: var(--gold); }
.meta { display: flex; flex-wrap: wrap; gap: .4em 1.2em; font-size: .8rem; color: var(--text-3); margin-bottom: 1em; }
.meta a { color: var(--gold); }
.fn-body p { margin: .5em 0; color: var(--text-2); }
.tag-line { display: flex; flex-wrap: wrap; gap: .5em; margin-top: 1.1em; }
.tag-line a { font-size: .78rem; padding: .3em .75em; border-radius: 16px; background: var(--gold-soft); color: #f5d97e; border: 1px solid rgba(245,197,66,.3); }
.tag-line a:hover { background: var(--gold); color: #1a1100; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em; }
.news-card { background: rgba(26,22,38,.7); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: .25s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-5px); border-color: rgba(245,197,66,.45); box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.nc-thumb { background: linear-gradient(150deg, #262038, #191424); height: 92px; display: grid; place-items: center; font-size: 2.4rem; border-bottom: 1px solid var(--line); }
.nc-body { padding: 1.1em; display: flex; flex-direction: column; gap: .55em; flex: 1; }
.nc-body h4 { margin: 0; font-size: 1.02rem; line-height: 1.5; }
.nc-body h4 a { color: #fff; }
.nc-body h4 a:hover { color: var(--gold); }
.nc-body time { font-size: .78rem; color: var(--gold-2); font-weight: 600; }
.nc-body p { margin: 0; font-size: .88rem; color: var(--text-2); line-height: 1.65; }

/* ---------- 双栏 ---------- */
.dual { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6em; }
.guide-box, .community-box { background: rgba(26,22,38,.7); border: 1px solid var(--line); border-radius: 16px; padding: 1.6em; }
.link-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.link-list li { display: flex; align-items: center; gap: .8em; padding: .75em .4em; border-bottom: 1px dashed var(--line); }
.link-list li:last-child { border-bottom: 0; }
.link-list a { flex: 1; color: var(--text); font-size: .95rem; }
.link-list a:hover { color: var(--gold); }
.link-list time { font-size: .78rem; color: var(--text-3); white-space: nowrap; flex-shrink: 0; }
.ll-idx { font-size: .8rem; color: var(--gold-2); font-weight: 700; width: 24px; flex-shrink: 0; }
.ll-badge { font-size: .72rem; font-weight: 700; padding: .2em .55em; border-radius: 6px; flex-shrink: 0; }
.ll-badge.hot { background: rgba(229,73,60,.18); color: #ff8a7f; }
.ll-badge.new { background: rgba(51,185,138,.18); color: #5fd7ab; }
.ll-badge { background: rgba(74,156,245,.16); color: #7dc0ff; }

/* ---------- 趋势卡片 ---------- */
.trend-section { display: flex; flex-direction: column; gap: 1.4em; }
.trend-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2em; }
.trend-card { background: rgba(26,22,38,.7); border: 1px solid var(--line); border-radius: 14px; padding: 1.5em; transition: .25s; }
.trend-card:hover { border-color: rgba(245,197,66,.45); transform: translateY(-4px); }
.tc-num { font-size: 2.2rem; font-weight: 800; color: var(--gold); line-height: 1.1; }
.tc-num span { font-size: 1rem; color: var(--text-3); margin-left: .25em; }
.trend-card h4 { margin: .5em 0 .5em; color: #fff; font-size: 1.02rem; }
.trend-card p { margin: 0 0 .8em; font-size: .86rem; color: var(--text-2); line-height: 1.7; }
.trend-card a { font-size: .84rem; font-weight: 600; }

/* ---------- 信任 ---------- */
.trust-section { display: flex; flex-direction: column; gap: 1.4em; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2em; }
.trust-card { background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 14px; padding: 1.5em; }
.tc-ico { font-size: 2rem; display: block; margin-bottom: .5em; }
.trust-card h4 { margin: 0 0 .5em; color: #fff; }
.trust-card p { margin: 0; font-size: .87rem; color: var(--text-2); line-height: 1.7; }

/* ---------- 面包屑 / 站点地图 ---------- */
.breadcrumb { font-size: .86rem; color: var(--text-2); background: rgba(0,0,0,.22); border: 1px solid var(--line); border-radius: 10px; padding: .8em 1.1em; }
.breadcrumb a { color: var(--gold); }
.breadcrumb .sep { color: var(--text-3); margin: 0 .25em; }

.sitemap { background: rgba(26,22,38,.6); border: 1px solid var(--line); border-radius: 16px; padding: 1.6em; }
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em; margin-top: 1.1em; }
.sitemap-grid h4 { margin: 0 0 .35em; font-size: 1rem; }
.sitemap-grid h4 a { color: var(--gold); }
.sitemap-grid p { margin: 0; font-size: .85rem; color: var(--text-2); }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(15,12,24,.95), rgba(8,6,15,.98)); margin-top: 2em; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 2.6em 1.2em 1.6em; display: grid; grid-template-columns: 2fr 1fr 1.4fr 1.2fr; gap: 2em; }
.foot-brand { display: flex; align-items: center; gap: .8em; }
.foot-brand b { display: block; color: #fff; font-size: 1.1rem; }
.foot-brand small { color: var(--gold-2); font-size: .8rem; }
.foot-desc { font-size: .86rem; color: var(--text-2); margin: 1em 0 0; max-width: 30em; }
.foot-col h4 { color: #fff; margin: 0 0 1em; font-size: 1rem; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: .55em; font-size: .9rem; }
.foot-col a { color: var(--text-2); }
.foot-col a:hover { color: var(--gold); }
.foot-tags { display: flex; flex-wrap: wrap; gap: .5em; }
.foot-tags a { font-size: .8rem; padding: .35em .8em; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--text-2); }
.foot-tags a:hover { border-color: var(--gold); color: var(--gold); }
.foot-bottom { max-width: var(--max); margin: 0 auto; padding: 1.4em 1.2em 2em; border-top: 1px solid var(--line); font-size: .8rem; color: var(--text-3); }
.foot-bottom p { margin: .35em 0; }
.foot-keywords { color: var(--gold-2); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .featured-news { grid-template-columns: 240px 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .trend-grid, .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .header-inner { gap: 1em; flex-wrap: wrap; }
  .main-nav { width: 100%; margin-left: 0; }
  .nav-search { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding: 1.8em; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .featured-news { grid-template-columns: 1fr; }
  .fn-img { min-height: 150px; }
  .dual, .trend-grid, .trust-grid, .sitemap-grid { grid-template-columns: 1fr; }
  .reward-row { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .container { padding: 1.2em 1em 2.4em; gap: 2em; }
  .nav-toggle { display: flex; margin-left: auto; }
  .main-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: .6em; padding-top: .6em; }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; }
  .main-nav li a { padding: .8em 1em; border-radius: 10px; }
  .nav-search { width: 100%; }
  .nav-search input { flex: 1; }
  .announce { flex-wrap: wrap; border-radius: 10px; }
  .announce-label { width: 100%; text-align: center; }
  .news-grid { grid-template-columns: 1fr; }
  .side-card { padding: 1.3em; }
  .signin-box { flex-direction: column; align-items: stretch; }
  .section-title { font-size: 1.2rem; }
}
@media print {
  .site-header, .announce, .side-card, .foot-bottom, .topbar { display: none; }
  body { background: #fff; color: #000; }
}
