/* =========================================================
   大魔神官网 · 公共样式（暗黑金色传奇风）
   ========================================================= */
:root {
  --bg: #0a0705;
  --bg2: #120c08;
  --bg3: #1a120b;
  --panel: rgba(28, 19, 12, 0.88);
  --line: #4a3520;
  --line2: #7a5a32;
  --gold: #e8b75a;
  --gold2: #ffe3a3;
  --gold3: #b9862f;
  --red: #c8281c;
  --red2: #ff5a3c;
  --text: #eadcc4;
  --muted: #a08d72;
  --green: #4fc36b;
  --header-h: 72px;
  --radius: 6px;
  --maxw: 1200px;
  --font-title: "STKaiti", "KaiTi", "楷体", "Songti SC", "STSong", serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* 全局暗纹：细噪点 + 四周暗角，让大面积纯色底不显得「平」 */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(200,40,28,.08), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .85 0 0 0 0 .6 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: rgba(232,183,90,.35); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a0705; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #7a5a32, #4a3520); border-radius: 5px; border: 2px solid #0a0705; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #e8b75a, #7a5a32); }
html { scrollbar-color: #5a4226 #0a0705; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }
canvas.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }

/* ---------- 文字与按钮 ---------- */
.gold-text {
  background: linear-gradient(180deg, #fff6d6 0%, var(--gold2) 30%, var(--gold) 60%, var(--gold3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 28px; font-size: 15px; font-weight: 600; letter-spacing: 1px;
  border-radius: 3px; transition: all .25s; white-space: nowrap; position: relative;
}
.btn-gold {
  color: #2a1606;
  background: linear-gradient(180deg, #ffe7a8 0%, #e8b75a 45%, #b07a26 100%);
  box-shadow: 0 0 0 1px #6b4512, 0 4px 16px rgba(232, 183, 90, .25), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-gold:hover { filter: brightness(1.12); box-shadow: 0 0 0 1px #6b4512, 0 4px 24px rgba(232, 183, 90, .5); transform: translateY(-1px); }
.btn-red {
  color: #fff4e0;
  background: linear-gradient(180deg, #ff6a45 0%, #c8281c 55%, #80140c 100%);
  box-shadow: 0 0 0 1px #4a0a05, 0 4px 16px rgba(200, 40, 28, .35), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn-red:hover { filter: brightness(1.15); transform: translateY(-1px); }
.btn-line { color: var(--gold2); border: 1px solid var(--line2); background: rgba(232,183,90,.06); }
.btn-line:hover { border-color: var(--gold); background: rgba(232,183,90,.15); }
.btn-sm { padding: 6px 16px; font-size: 13px; }
.btn-lg { padding: 15px 46px; font-size: 18px; letter-spacing: 3px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; filter: grayscale(.6); }
/* 扫光 */
.btn-gold, .btn-red { overflow: hidden; }
.btn-gold::after, .btn-red::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); transition: left .6s ease; pointer-events: none;
}
.btn-gold:hover::after, .btn-red:hover::after { left: 120%; }
.btn-gold:disabled::after, .btn-red:disabled::after { display: none; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--header-h); z-index: 100;
  background: linear-gradient(180deg, rgba(10,7,5,.95), rgba(10,7,5,.75));
  border-bottom: 1px solid rgba(232,183,90,.18);
  backdrop-filter: blur(6px);
  transition: background .3s;
}
.site-header.scrolled { background: rgba(10,7,5,.97); box-shadow: 0 4px 24px rgba(0,0,0,.6); }
.scroll-progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--red), var(--gold), var(--gold2)); box-shadow: 0 0 8px rgba(232,183,90,.6);
}
.site-header .container { max-width: 1400px; height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #ff8a4a, #b31d10 60%, #4a0804);
  box-shadow: 0 0 0 2px var(--gold3), 0 0 18px rgba(255,90,60,.5);
  font-family: var(--font-title); font-size: 24px; color: #ffe7b0; font-weight: 700;
}
.logo-text { font-family: var(--font-title); font-size: 30px; font-weight: 900; letter-spacing: 4px; line-height: 1; }
.logo-text small { display: block; font-size: 10px; letter-spacing: 3px; color: var(--muted); font-family: Arial, sans-serif; margin-top: 4px; -webkit-text-fill-color: var(--muted); }
/* 后台上传的 LOGO 图片：完整 LOGO（含文字）限制高度和最大宽度；方形图标与网站名称并排 */
.logo-img { display: block; height: 52px; width: auto; max-width: 240px; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(0,0,0,.6)); }
.logo-img.logo-img-icon { width: 44px; height: 44px; max-width: none; border-radius: 6px; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  padding: 8px 12px; font-size: 15px; color: #d9c8aa; position: relative; transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); transition: all .25s; transform: translateX(-50%);
}
.nav a:hover, .nav a.active { color: var(--gold2); }
.nav a:hover::after, .nav a.active::after { width: 70%; }
.header-cta { flex-shrink: 0; }
.menu-toggle { display: none; width: 40px; height: 40px; margin-left: auto; position: relative; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  content: ""; position: absolute; left: 9px; right: 9px; height: 2px; background: var(--gold); transition: .3s;
}
.menu-toggle::before { top: 12px; } .menu-toggle span { top: 19px; } .menu-toggle::after { top: 26px; }
.menu-open .menu-toggle::before { top: 19px; transform: rotate(45deg); }
.menu-open .menu-toggle::after { top: 19px; transform: rotate(-45deg); }
.menu-open .menu-toggle span { opacity: 0; }

/* ---------- 区块标题 ---------- */
.section { padding: 100px 0; position: relative; }
.section-alt { background:
  radial-gradient(ellipse at top, rgba(200,40,28,.12), transparent 60%),
  linear-gradient(180deg, var(--bg2), var(--bg)); }
.section-alt::before, .section-alt::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(232,183,90,.35), transparent);
}
.section-alt::before { top: 0; } .section-alt::after { bottom: 0; }
.section-head { text-align: center; margin-bottom: 54px; position: relative; isolation: isolate; }
.section-head::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 520px; max-width: 90%; height: 140px; transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(232,183,90,.12), transparent 70%); pointer-events: none; z-index: -1;
}
.section-head h2 {
  font-family: var(--font-title); font-size: 46px; font-weight: 900; letter-spacing: 8px;
  display: inline-flex; align-items: center; gap: 24px;
  filter: drop-shadow(0 2px 0 #2a1205) drop-shadow(0 0 18px rgba(232,140,60,.35));
}
.section-head h2::before, .section-head h2::after {
  content: ""; width: 110px; height: 14px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath d='M7 0l7 7-7 7-7-7z' fill='%23e8b75a'/%3E%3Cpath d='M7 4l3 3-3 3-3-3z' fill='%23fff3c8'/%3E%3C/svg%3E") right center / 14px 14px no-repeat,
    linear-gradient(90deg, transparent, var(--gold3)) left center / calc(100% - 16px) 1px no-repeat;
}
.section-head h2::after { transform: scaleX(-1); }
.section-head p { color: var(--muted); letter-spacing: 8px; font-size: 13px; text-transform: uppercase; margin-top: 8px; display: flex; justify-content: center; align-items: center; gap: 12px; }
.section-head p::before, .section-head p::after { content: ""; width: 6px; height: 6px; background: var(--red); transform: rotate(45deg); box-shadow: 0 0 6px var(--red2); }

/* ---------- 面板 ---------- */
.panel {
  background: linear-gradient(180deg, rgba(36,24,14,.92), rgba(20,13,8,.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  box-shadow: inset 0 0 40px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,220,160,.08), 0 10px 30px rgba(0,0,0,.45);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.panel::before, .panel::after {
  content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--gold3); pointer-events: none; z-index: 3;
  transition: width .35s, height .35s, border-color .35s;
}
.panel::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.panel::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.panel:hover { border-color: var(--line2); }
.panel:hover::before, .panel:hover::after { width: 34px; height: 34px; border-color: var(--gold); }

/* ---------- 占位图（替代正式素材） ---------- */
.ph {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: rgba(255, 235, 200, .55); font-size: 14px; letter-spacing: 2px;
  background-color: #1a0f08;
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px);
}
.ph::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(0,0,0,.0), rgba(0,0,0,.55) 80%);
}
.ph > span { position: relative; z-index: 1; padding: 6px 14px; border: 1px dashed rgba(255,235,200,.25); border-radius: 3px; background: rgba(0,0,0,.25); }
.ph-0 { background-image: radial-gradient(ellipse at 30% 70%, #ff6a2a 0%, #8a1c0c 35%, #2a0a05 75%); }
.ph-1 { background-image: radial-gradient(ellipse at 70% 30%, #9a5cff 0%, #3c1470 40%, #10061f 80%); }
.ph-2 { background-image: radial-gradient(ellipse at 50% 40%, #5ec8ff 0%, #134a8a 40%, #050f22 80%); }
.ph-3 { background-image: radial-gradient(ellipse at 40% 60%, #6ee08a 0%, #1a6034 40%, #04140a 80%); }
.ph-4 { background-image: radial-gradient(ellipse at 60% 50%, #ffd36a 0%, #8a5a12 40%, #1f1204 80%); }
.ph-5 { background-image: radial-gradient(ellipse at 50% 80%, #ff3a5a 0%, #6a0c22 40%, #1a0308 80%); }
.media-img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 标签页 ---------- */
.tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.tab {
  padding: 8px 26px; border: 1px solid var(--line); color: var(--muted); font-size: 15px;
  background: linear-gradient(180deg, rgba(40,26,14,.8), rgba(20,13,8,.8)); transition: all .2s;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%);
}
.tab:hover { color: var(--gold2); }
.tab.active { color: #2a1606; background: linear-gradient(180deg, #ffe7a8, #e8b75a 50%, #b07a26); border-color: var(--gold); font-weight: 600; }

/* ---------- 徽标 ---------- */
.badge { display: inline-block; padding: 2px 10px; font-size: 12px; border-radius: 2px; line-height: 1.6; white-space: nowrap; }
.badge-hot { background: linear-gradient(90deg, #ff5a3c, #c8281c); color: #fff; animation: hotPulse 1.6s infinite; }
.badge-new { background: rgba(232,183,90,.15); color: var(--gold2); border: 1px solid var(--gold3); }
.badge-open { background: rgba(79,195,107,.12); color: var(--green); border: 1px solid rgba(79,195,107,.5); }
.badge-wait { background: rgba(94,200,255,.1); color: #7fd2ff; border: 1px solid rgba(94,200,255,.45); }
.badge-gray { background: rgba(255,255,255,.06); color: var(--muted); border: 1px solid var(--line); }
@keyframes hotPulse { 50% { box-shadow: 0 0 12px rgba(255,90,60,.8); } }

/* ---------- 弹窗 & 提示 ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.78);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: fadeIn .2s;
}
.modal {
  width: 100%; max-width: 480px; max-height: 90vh; overflow: auto;
  background: linear-gradient(180deg, #23170d, #120c07); border: 1px solid var(--line2);
  border-radius: var(--radius); box-shadow: 0 0 60px rgba(232,183,90,.15); position: relative;
  animation: popIn .25s;
}
.modal-lg { max-width: 960px; }
.modal-head { padding: 16px 22px; border-bottom: 1px solid var(--line); font-family: var(--font-title); font-size: 22px; color: var(--gold2); letter-spacing: 2px; }
.modal-body { padding: 22px; }
.modal-close { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; font-size: 24px; color: var(--muted); line-height: 1; z-index: 2; }
.modal-close:hover { color: var(--gold2); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: scale(.94) translateY(10px); } }
.toast {
  position: fixed; top: 90px; left: 50%; transform: translateX(-50%); z-index: 2000;
  padding: 12px 26px; background: rgba(20,13,8,.96); border: 1px solid var(--gold3); color: var(--gold2);
  border-radius: 4px; box-shadow: 0 8px 30px rgba(0,0,0,.6); animation: popIn .25s; max-width: 90vw; text-align: center;
}
.toast.error { border-color: var(--red); color: #ffb3a3; }

.input {
  width: 100%; padding: 11px 14px; background: rgba(0,0,0,.45); border: 1px solid var(--line);
  color: var(--text); border-radius: 3px; font-size: 15px; outline: none; transition: border-color .2s;
}
.input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,183,90,.12); }

/* ---------- 侧边悬浮栏 ---------- */
.side-float { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 90; display: flex; flex-direction: column; gap: 6px; }
.side-float a, .side-float button {
  width: 64px; padding: 10px 0 8px; display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: rgba(20,13,8,.92); border: 1px solid var(--line2); color: var(--gold2); font-size: 12px; border-radius: 4px; transition: .2s;
}
.side-float a:hover, .side-float button:hover { background: linear-gradient(180deg, #e8b75a, #a06a1e); color: #2a1606; }
.side-float svg { width: 22px; height: 22px; }
.side-float .to-top { opacity: 0; pointer-events: none; }
.side-float .to-top.show { opacity: 1; pointer-events: auto; }

/* ---------- 子页面头图 ---------- */
.page-banner {
  height: 340px; margin-top: var(--header-h); position: relative; display: flex; align-items: center; justify-content: center; text-align: center;
  background:
    linear-gradient(180deg, rgba(10,7,5,.55) 0%, rgba(10,7,5,.35) 45%, var(--bg) 100%),
    radial-gradient(ellipse at 50% 100%, rgba(200,40,28,.35), transparent 60%),
    url(/img/hero-1.jpg) center 40% / cover no-repeat,
    #1c0f08;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,.6) 100%);
}
.page-banner::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); box-shadow: 0 0 12px rgba(232,183,90,.6);
}
.page-banner > div { position: relative; z-index: 3; animation: up .9s cubic-bezier(.2,.8,.2,1) both; }
.page-banner h1 {
  font-family: var(--font-title); font-size: 60px; letter-spacing: 14px; position: relative;
  filter: drop-shadow(0 3px 0 #2a1205) drop-shadow(0 0 24px rgba(255,120,40,.45));
}
.page-banner p { color: #d9c8aa; letter-spacing: 8px; position: relative; margin-top: 8px; text-shadow: 0 2px 6px #000; }
@keyframes up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.breadcrumb { padding: 18px 0; color: var(--muted); font-size: 13px; }
.breadcrumb a:hover { color: var(--gold2); }

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative; padding: 50px 0 34px; color: var(--muted); font-size: 13px; text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(200,40,28,.12), transparent 60%), #060403;
  border-top: 1px solid var(--line);
}
.site-footer::before {
  content: ""; position: absolute; top: -1px; left: 50%; width: 60%; height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-logo { justify-content: center; margin-bottom: 22px; }
.footer-links { display: flex; gap: 6px 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; font-size: 14px; }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: var(--gold2); }
.footer-divider { display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; max-width: 420px; }
.footer-divider::before, .footer-divider::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line2)); }
.footer-divider::after { transform: scaleX(-1); }
.footer-divider i { width: 8px; height: 8px; margin: 0 12px; background: var(--gold3); transform: rotate(45deg); }
.footer-notice { max-width: 760px; margin: 0 auto 14px; line-height: 1.9; opacity: .8; }

/* ---------- 分页 ---------- */
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.pager button { min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--line); background: rgba(20,13,8,.8); color: var(--muted); border-radius: 3px; }
.pager button:hover:not(:disabled) { border-color: var(--gold); color: var(--gold2); }
.pager button.active { background: var(--gold); color: #2a1606; border-color: var(--gold); font-weight: 700; }
.pager button:disabled { opacity: .4; cursor: default; }

.empty { text-align: center; color: var(--muted); padding: 60px 0; }

/* ---------- 动画进入 ---------- */
.reveal { opacity: 0; transform: translateY(36px); }
.reveal.in { opacity: 1; transform: none; animation: revealUp .8s cubic-bezier(.2,.8,.2,1) backwards; }
@keyframes revealUp { from { opacity: 0; transform: translateY(36px); } }
/* 同一网格内的卡片依次进入（只延迟进入动画，不影响悬停效果） */
.reveal.in:nth-child(2) { animation-delay: .08s; }
.reveal.in:nth-child(3) { animation-delay: .16s; }
.reveal.in:nth-child(4) { animation-delay: .24s; }
.reveal.in:nth-child(5) { animation-delay: .32s; }
.reveal.in:nth-child(6) { animation-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
  .nav a { padding: 8px 8px; font-size: 14px; }
}
@media (max-width: 1024px) {
  /* 注意：页头不能有 backdrop-filter / transform / filter，否则里面 position: fixed 的菜单会以页头为参照，高度变成 0，点开看不到 */
  .site-header { backdrop-filter: none; background: rgba(10,7,5,.96); }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  /* 下拉式菜单：从页头下方向下展开，高度随内容，超出屏幕时可滚动 */
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; max-height: calc(100vh - var(--header-h)); flex-direction: column; gap: 0;
    background: rgba(10,7,5,.98); padding: 4px 20px 0; overflow: auto; overscroll-behavior: contain;
    border-bottom: 1px solid var(--line2); box-shadow: 0 18px 40px rgba(0,0,0,.7);
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .32s ease, visibility 0s linear .32s;
  }
  .menu-open .nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .32s ease; }
  /* 菜单下方的半透明遮罩（层级低于页头），点击遮罩收起菜单 */
  .menu-open::after { content: ""; position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 99; background: rgba(0,0,0,.55); }
  .nav a { padding: 14px 10px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a::after { display: none; }
}
@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 30px; letter-spacing: 4px; gap: 12px; }
  .section-head h2::before, .section-head h2::after { width: 40px; }
  .logo-mark { width: 36px; height: 36px; font-size: 19px; }
  .logo-text { font-size: 24px; }
  .logo-img { height: 40px; max-width: 170px; }
  .logo-img.logo-img-icon { width: 36px; height: 36px; }
  .page-banner { height: 220px; }
  .page-banner h1 { font-size: 38px; letter-spacing: 6px; }
  /* 手机端：右侧悬浮栏移到右下角并缩小，5 个按钮全部显示 */
  .side-float { right: 6px; top: auto; bottom: 14px; transform: none; gap: 5px; }
  .side-float a, .side-float button { width: 46px; font-size: 11px; padding: 6px 0 4px; }
  .side-float svg { width: 18px; height: 18px; }
  /* 手机端下拉菜单：导航链接排成三列按钮，面板更紧凑 */
  .nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 16px 16px; }
  .nav a { padding: 11px 0; text-align: center; font-size: 14px; border: 1px solid var(--line); border-radius: 4px; background: rgba(255,255,255,.02); }
  .nav a.active { border-color: var(--gold3); color: var(--gold2); background: rgba(232,183,90,.08); }
  .tab { padding: 7px 18px; font-size: 14px; }
}
