:root{--p:#1e3a5f;--a:#c9a227;--t:#2b3440;--bg:#f7f9fc;--bd:#d7dee8}
*{box-sizing:border-box}body{margin:0;font:16px/1.6 system-ui,'Segoe UI',sans-serif;color:var(--t);background:#fff}
header{background:var(--p);padding:12px 24px;display:flex;flex-wrap:wrap;gap:12px;align-items:center}
header .logo{color:#fff;font-weight:700;font-size:18px;margin-right:auto;text-decoration:none}
nav a{color:#e8eef5;margin-right:14px;text-decoration:none;font-size:14px}
main{max-width:1140px;margin:0 auto;padding:24px}
section{margin:0 0 48px}.hero{padding:40px 0}
h1{font-size:36px;line-height:1.25;margin:0 0 16px}h2{font-size:28px;margin:0 0 16px}
h3{font-size:20px;margin:0 0 12px}
p{margin:0 0 12px}p.lead{font-size:18px}
.btn-primary,.btn{display:inline-block;background:var(--p);color:#fff;padding:12px 24px;border-radius:8px;text-decoration:none;min-height:44px}
.btn-gold{background:var(--a);color:#16283e}
.sec{background:var(--bg);border:1px solid var(--bd);border-radius:12px;padding:24px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}
.card{background:#fff;border:1px solid var(--bd);border-radius:12px;padding:20px}
.card img{width:100%;height:auto;border-radius:8px}
table{width:100%;border-collapse:collapse;margin:16px 0}
th,td{border:1px solid var(--bd);padding:8px 12px;text-align:left}
th{background:var(--bg);font-weight:600}
footer{background:#16283e;color:#e8eef5;padding:40px 24px;margin-top:40px}
footer a{color:#e8eef5}
img{max-width:100%;height:auto}
.hp{position:absolute;left:-9999px}
.fld{margin:12px 0}
.fld label{display:block;margin-bottom:4px;font-weight:500}
.fld input,.fld textarea,.fld select{width:100%;padding:8px;border:1px solid var(--bd);border-radius:4px}
@media(max-width:767px){h1{font-size:26px}h2{font-size:22px}main{padding:16px}header{flex-direction:column}.grid{grid-template-columns:1fr}}
@media print{header,footer,.float{display:none}main{max-width:100%;padding:0}}


/* ===== 移动端兼容性补丁 ===== */
@media (max-width: 767px) {
  /* P4 字号：强制最小 16px */
  body, p, span, a, li, td, th, label, div, h1, h2, h3, h4, h5, h6,
  nav a, header a, footer a, .nav-links a, .nav a, .menu a,
  .site-header a, .m-hdr a, .main-header a {
    font-size: 16px !important;
  }
  h1 { font-size: 24px !important; }
  h2 { font-size: 20px !important; }
  h3 { font-size: 18px !important; }
  input, select, textarea, button {
    font-size: 16px !important;
  }
  /* P3 触控目标 */
  a, button, input, select, textarea, [role="button"], .btn,
  .nav-toggle, .menu-toggle, .mobile-menu-toggle, .float,
  .chat, .cookie-bar, .back-to-top, .whatsapp-float, .lx-chat,
  .m-chat, .live-chat, .skip-link {
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 10px 16px !important;
  }
  /* P9 浮层：降低 z-index */
  #cookieBanner, .cookie-bar, .m-cookie, #s28CookieBanner,
  .cookie-consent, .cookie-banner {
    z-index: 999 !important;
    max-height: 40vh !important;
    overflow-y: auto !important;
  }
  #lingoFloatLeft, .float-r, .whatsapp-float, .wa-float,
  .back-to-top, .float-chat, .chat-widget {
    z-index: 998 !important;
    width: 48px !important;
    height: 48px !important;
  }
  /* P12 hero 窄列修复 */
  .m-hero, .hero, .hero-premium, .subhero-premium, .page-head {
    display: block !important;
  }
  .m-hero .wrap, .hero .wrap {
    width: 100% !important;
    max-width: 100% !important;
  }
  /* P2 横向溢出 */
  body { overflow-x: hidden !important; }
  img, table, .table-scroll {
    max-width: 100% !important;
  }
}


/* ===== 移动端字号修复（覆盖 polish） ===== */
@media (max-width: 767px) {
  body, body * {
    font-size: 16px !important;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: 16px !important;
  }
  h1 { font-size: 24px !important; }
  h2 { font-size: 20px !important; }
  h3 { font-size: 18px !important; }
}

/* ===== 移动端覆盖自身规则 ===== */
@media (max-width: 767px) {
  nav a { font-size: 16px !important; }
}/* UI-PATCH-20261111-A2A3A6 reduced-motion */
@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
