:root {
  --page-bg: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #f1f5fd;
  --primary: #2457d6;
  --primary-hover: #1945b2;
  --accent: #87a7ff;
  --text: #121a2b;
  --muted: #677187;
  --line: #d4dbea;
  --dark: #111a31;
  --text-light: #121a2b;
  --text-dark: #111a31;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  background: var(--page-bg);
  color: var(--text);
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.site-header { min-height: 78px; }
.hero { padding: 72px 0 88px; }
section { padding: 82px 0; }
.btn, .ghost-btn, .text-link, .link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn:hover { background: var(--primary-hover); border-color: var(--primary-hover); transform: translateY(-1px); }
.ghost-btn, .text-link { background: transparent; border-color: var(--line); color: var(--text); }
.link-btn { background: rgba(255,255,255,.08); color: var(--text-light); border-color: rgba(255,255,255,.14); }
.card, .panel, .module, .surface {
  background: var(--surface);
  border: 1px solid var(--line);
}
.soft { background: var(--surface-2); }
.section-title { font-size: 18px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.lead { font-size: 18px; line-height: 1.8; color: var(--muted); }
.hero h1 {
  margin: 0;
  font-size: clamp(44px, 5.6vw, 76px);
  line-height: 1.02;
  max-width: unset;
  letter-spacing: 0;
}
.hero p { margin-top: 14px; }
.logo-img { width: min(180px, 100%); height: auto; object-fit: contain; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.contain img { object-fit: contain; background: #fff; }
.footer-logo { width: min(180px, 100%); height: auto; object-fit: contain; }
.site-footer { padding: 32px 0 48px; border-top: 1px solid var(--line); background: var(--surface); }
.site-footer a { display: inline-block; margin: 4px 12px 4px 0; }

@media (max-width: 900px) {
  .container { width: min(100% - 28px, 1160px); }
  section { padding: 60px 0; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 20px, 1160px); }
  .btn, .ghost-btn, .text-link, .link-btn { width: 100%; }
  .hero h1 { font-size: clamp(36px, 11vw, 48px); }
}


img{filter:none;opacity:1}
img[src$="hhpoker-logo.png"]{background:#101820;padding:7px 13px;border-radius:6px;box-sizing:content-box}
.skip-link,.skip{position:absolute;left:-9999px;top:auto;z-index:999}
.skip-link:focus,.skip:focus{left:16px;top:16px;background:#fff;padding:10px}
.logo-img,.footer-logo{max-width:180px;height:auto;object-fit:contain;opacity:1;display:block}
button,.btn,.header-btn,.ghost-btn{min-height:48px;padding:12px 22px;font-weight:700}

/* page 14 rescue layout */
.header-row{display:flex;align-items:center;gap:18px;padding:16px 0;flex-wrap:wrap}
.header-brand{display:flex;align-items:center;min-width:0}
.header-brand img{width:min(160px,100%);height:48px;object-fit:contain}
.header-nav{display:flex;flex-wrap:wrap;gap:18px;margin-left:auto;color:var(--muted)}
.header-nav a{display:inline-flex;min-height:44px;align-items:center;font-weight:700}
.header-cta{margin-left:auto}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:32px;align-items:center}
.hero-copy,.hero-grid figure,.grid-3 article,.step-grid article,.faq-item,.footer-grid > div{min-width:0}
.hero-grid figure img{width:100%;height:auto;object-fit:cover;border:1px solid var(--line);background:#fff}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0 0}
.hero-actions .ghost-btn{border-color:var(--line)}
.grid-3{gap:18px}
.grid-3 article{padding:22px;border:1px solid var(--line);background:var(--surface)}
.grid-3 article img{width:100%;height:auto;object-fit:cover;margin-bottom:16px}
.step-grid{gap:18px}
.step-grid article{padding:22px;border:1px solid var(--line);background:var(--surface)}
.faq-item button{box-sizing:border-box;min-width:0;width:100%}
.footer-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:24px;align-items:start}
.footer-grid h2{font-size:20px;margin:0 0 12px}
.footer-grid .footer-logo{width:min(180px,100%);height:auto;object-fit:contain}
.footer-grid p{margin:12px 0 0;color:var(--muted)}
.site-footer{background:#fff;border-top:1px solid var(--line)}
.site-footer a{display:inline-block;margin:4px 12px 4px 0}
@media (max-width:900px){
  .hero-grid,.grid-3,.step-grid,.footer-grid{grid-template-columns:1fr}
  .header-nav,.header-cta{margin-left:0}
}
@media (max-width:640px){
  .header-brand img{width:min(150px,100%);height:40px}
  .hero h1{font-size:clamp(36px,11vw,48px)}
  .btn,.ghost-btn{width:100%}
  .header-nav{gap:12px}
}
