/* ============================================================
   画廊站 · 大厂范视觉改版（覆盖层）
   纯白底 / 深色文字 / 1px 描边 / 无发光渐变 / 无阴影动效
   落地方式：上传本文件到 /www/gallery/assets/，在每个页面
   </head> 前加一行 <link rel="stylesheet" href="assets/restyle.css">
   不改 HTML 结构、不改文案、不改数据。
   ============================================================ */

:root {
  --hp-ink: #111827; --hp-ink2: #4B5563; --hp-txt3: #6B7280;
  --hp-line: #E5E7EB; --hp-line2: #E5E7EB;
  --hp-blue: #111827; --hp-cyan: #111827; --hp-violet: #111827; --hp-amber: #111827;
  --hp-wrap: 1200px;
  --zd-blue: #111827; --zd-blue-bg: #F9FAFB;
  --zd-green: #111827; --zd-green-bg: #F9FAFB;
  --zd-purple: #111827; --zd-purple-bg: #F9FAFB;
  --zd-amber: #111827; --zd-amber-bg: #F9FAFB;
  --zd-text: #111827; --zd-text-2: #4B5563; --zd-text-3: #6B7280;
  --zd-line: #E5E7EB;
  --zd-r-lg: 4px; --zd-r-md: 4px; --zd-r-sm: 4px;
  --zd-sh: none; --zd-sh-hi: none;
  --blue: #111827; --blue-dark: #111827; --blue-soft: #F9FAFB;
  --bg: #FFFFFF; --bg-soft: #F9FAFB; --bg-soft2: #F9FAFB;
  --line: #E5E7EB; --line-strong: #D1D5DB;
  --ink: #111827; --ink-2: #374151; --muted: #6B7280;
  --radius: 4px; --radius-sm: 4px; --maxw: 1200px;
}

/* 1. 底子：全站纯白，去动效、去阴影、去渐变 */
html, body { background: #FFFFFF !important; color: #111827 !important; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif !important; }
*, *::before, *::after {
  box-shadow: none !important; text-shadow: none !important;
  animation: none !important; transition: none !important;
  filter: none !important;
}
.zd-hero, .trust-bar, .zd-sec, .zd-sec.soft, .hp-stats-wrap, .hp-shows, .hp-wall,
.mkpay, .mkip, .zd-foot, .ypnav, .hp-shows-in, .hp-wall-in, .mkpay-in, .mkip-in {
  background: #FFFFFF !important; background-image: none !important;
  backdrop-filter: none !important;
}

/* 2. 去掉发光光晕、装饰色块、点阵、世界地图底纹、渐变竖条 */
.hp-glow, .hp-deco, .hp-deco span, .hp-spot, .hero-map,
.zd-hero::before, .zd-hero::after, .mkpay::before, .mkip::before, .hp-shows::before {
  display: none !important; opacity: 0 !important;
}
.zd-sechead h2::before { width: 2px !important; background: #111827 !important; border-radius: 0 !important; }

/* 3. 入场动画终态兜底：即使 JS 不跑，内容也全部可见 */
html.fx-on .fx-r,
html.fx-on .hp-shows .wrap > *,
html.fx-on .page-head .wrap > *,
html.fx-on .zd-hero .wrap > *,
html.fx-on section.zd-sec > .wrap > *,
html.fx-on .footer > .wrap > * { opacity: 1 !important; transform: none !important; }
.hp-rise { opacity: 1 !important; transform: none !important; }

/* 4. 排版：栏宽、内边距、标题与正文字号 */
.wrap { max-width: 1200px !important; padding: 0 24px !important; }
.zd-hero { padding: 72px 0 48px !important; text-align: center !important; }
.zd-hero h1 {
  font-size: clamp(28px, 3.2vw, 40px) !important; line-height: 1.25 !important;
  font-weight: 600 !important; letter-spacing: -0.02em !important; color: #111827 !important;
}
.zd-hero h1 .brand, .zd-hero h1 .hp-num { color: #111827 !important; font-weight: 600 !important; }
.zd-hero .sub { font-size: 17px !important; line-height: 1.6 !important; font-weight: 500 !important; color: #374151 !important; }
.zd-hero .desc { font-size: 14px !important; line-height: 1.7 !important; color: #4B5563 !important; max-width: 68ch !important; }
.zd-sechead h2, .hp-shows-head b, .hp-wall-head b, .mkpay-head h2, .mkip-head h2, .col-head h3 {
  color: #111827 !important; font-weight: 600 !important;
}
.zd-sechead p, .hp-shows-head span, .hp-wall-head span, .mkpay-head p, .mkip-head p {
  color: #6B7280 !important; font-size: 13px !important;
}

/* 5. 按钮：实底深墨 / 白底 1px 描边，无渐变无投影 */
.btn-zd, .btn, .mk-btn, .tb-cta, .hp-shows-more {
  border-radius: 4px !important; font-weight: 500 !important;
  background-image: none !important; box-shadow: none !important;
}
.btn-zd.primary, .btn-zd.primary.lg, .btn.primary, .mk-btn.green, .mk-btn.purple, .tb-cta {
  background: #111827 !important; color: #FFFFFF !important; border: 1px solid #111827 !important;
}
.btn-zd.lg:not(.primary), .btn-zd.ghost, .mk-btn.gline, .mk-btn.pline, .hp-shows-more {
  background: #FFFFFF !important; color: #111827 !important; border: 1px solid #D1D5DB !important;
}

/* 6. 标签 / 徽标 / 行业墙：统一白底 + 1px 描边 */
.tag, .tag-blue, .tag-green, .tag-purple, .tag-amber,
.mkpay-tag, .mkip-tag, .hp-wall-list a, .mkip-tags span, .hero-cap span {
  background: #FFFFFF !important; background-image: none !important;
  color: #374151 !important; border: 1px solid #E5E7EB !important;
  border-radius: 3px !important; box-shadow: none !important;
}
.hero-cap i, .hero-cap .g i, .hero-cap .p i { background: #111827 !important; }
.hero-cap, .hp-wall-head i, .hp-shows-head i { color: #6B7280 !important; }

/* 7. 卡片与分区：1px 描边、4px 圆角、无阴影、无悬浮上抬 */
.way, .hp-show, .hp-tile, .mkpay-card, .mkip-card, .col, .svc-panel, .tb-item, .hp-stat {
  background: #FFFFFF !important; background-image: none !important;
  border: 1px solid #E5E7EB !important; border-radius: 4px !important;
  box-shadow: none !important;
}
.way:hover, .hp-tile:hover, .svc-card:hover, .hp-show:hover { transform: none !important; box-shadow: none !important; }
.trust-bar, .hp-stats-wrap, .hp-shows, .hp-wall, .mkpay, .mkip, .zd-sec, .zd-foot {
  border-top: 1px solid #E5E7EB !important;
}
.way-art svg { filter: grayscale(1) !important; opacity: 0.8 !important; }

/* 8. 数字与强调文字：单色深墨 */
.hp-stat .v, .hp-stat .v em, .trust-bar b, .hp-wall-head i, .hp-shows-head i,
.mkpay-foot b, .mkip-foot b, .mkpay-name, .mkip-name, .way-name, .col-list .t {
  color: #111827 !important;
}
.mkpay-area, .mkip-desc, .way-desc, .hp-show-meta em, .tb-item span, .hp-stat .s, .zd-foot, .icp, .cr {
  color: #6B7280 !important;
}
.mkpay-name span, .mkip-name span, .hp-show-meta em, .hp-show-meta i { color: #6B7280 !important; }

/* 9. 导航与页脚 */
.ypnav { border-bottom: 1px solid #E5E7EB !important; position: sticky !important; }
.logo, .logo em, .nav-menu a, .links a { color: #111827 !important; }
.links a.on { color: #111827 !important; border-bottom: 2px solid #111827 !important; }
.fr a, .col-head a { color: #4B5563 !important; }

/* 10. 客服浮窗：深色方形、1px 描边、无发光 */
.svc-fab {
  width: 44px !important; height: 44px !important; border-radius: 4px !important;
  background: #111827 !important; background-image: none !important;
  border: 1px solid #111827 !important;
}
.svc-num, .svc-copy { color: #FFFFFF !important; }
.svc-copy { background: #111827 !important; }
.svc-panel { border: 1px solid #E5E7EB !important; border-radius: 4px !important; }

/* 11. 收口：原站硬编码的品牌色与渐变文字 */
.zd-hero .btn-zd.primary.lg, .zd-hero .btn-zd.primary.lg:hover {
  background: #111827 !important; background-image: none !important;
  border: 1px solid #111827 !important; color: #FFFFFF !important;
}
.zd-hero h1 .brand, .zd-hero h1 .hp-num {
  background: none !important;
  -webkit-background-clip: border-box !important; background-clip: border-box !important;
  -webkit-text-fill-color: #111827 !important; color: #111827 !important;
  font-weight: 600 !important;
}
.hp-num, .hp-stat .v, .hp-stat .v em, .trust-bar b, .trust-bar b em {
  color: #111827 !important; font-weight: 600 !important;
}
.mkpay-head h1 em, .mkpay-head h2 em, .mkip-head h1 em, .mkip-head h2 em,
.mkpay-foot b, .mkip-foot b { color: #111827 !important; }
.mk-btn.green, .mk-btn.purple, .mk-btn.green:hover, .mk-btn.purple:hover {
  background: #111827 !important; border: 1px solid #111827 !important; color: #FFFFFF !important;
}
.mk-btn.gline:hover, .mk-btn.pline:hover { border-color: #D1D5DB !important; color: #111827 !important; }
.mkpay-card:hover, .mkip-card:hover { border-color: #E5E7EB !important; }
.mkip-ico, .mk-svc-ic, .mk-step-no {
  background: #F9FAFB !important; color: #111827 !important;
  border: 1px solid #E5E7EB !important; border-radius: 4px !important;
}
