/* Native Storefront Card & Pill Styling for GoodHao SEO Supplement Blocks */
.goodhao-keyword-links {
  box-sizing: border-box;
  width: min(100%, 80rem);
  margin: 2rem auto 2.5rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
  color: #0f172a;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow-wrap: anywhere;
}
.goodhao-keyword-links :is(nav, section) {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem 1.45rem;
  margin-block: 0 1rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}
.goodhao-keyword-links h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.85rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.goodhao-keyword-links h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 15px;
  border-radius: 99px;
  background: #2563eb;
}
.goodhao-keyword-links ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.goodhao-keyword-links nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.goodhao-keyword-links nav ul li a,
.goodhao-keyword-links nav ul li span {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.88rem;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
}
.goodhao-keyword-links nav ul li a:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
  transform: translateY(-1px);
}
.goodhao-keyword-links ol {
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: ghstep;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 0.75rem;
}
.goodhao-keyword-links ol li {
  counter-increment: ghstep;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.84rem;
  line-height: 1.6;
  color: #475569;
}
.goodhao-keyword-links ol li::before {
  content: "0" counter(ghstep);
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.73rem;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  padding: 1px 6px;
  margin-right: 6px;
}
.goodhao-keyword-links ol li strong {
  color: #0f172a;
}
.goodhao-keyword-links section ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 0.55rem 0.85rem;
}
.goodhao-keyword-links section ul li {
  margin: 0;
}
.goodhao-keyword-links section ul li a {
  display: block;
  padding: 0.58rem 0.85rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.goodhao-keyword-links section ul li a:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}
.goodhao-keyword-links details {
  margin-top: 0.7rem;
}
.goodhao-keyword-links details summary {
  cursor: pointer;
  padding: 0.4rem 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #2563eb;
}
.goodhao-keyword-links section > div {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.88rem 1.05rem;
  margin-top: 0.6rem;
}
.goodhao-keyword-links h3 {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 650;
  color: #0f172a;
}
.goodhao-keyword-links section > div p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.65;
  color: #475569;
}
.goodhao-keyword-quick {
  margin-block: 0.5rem 1rem;
}
.goodhao-keyword-quick a {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.78rem;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}
html.dark .goodhao-keyword-links {
  color: #f1f5f9;
}
html.dark .goodhao-keyword-links :is(nav, section) {
  background: #111827;
  border-color: #1f2937;
}
html.dark .goodhao-keyword-links h2,
html.dark .goodhao-keyword-links h3,
html.dark .goodhao-keyword-links ol li strong {
  color: #f8fafc;
}
html.dark .goodhao-keyword-links nav ul li a,
html.dark .goodhao-keyword-links nav ul li span,
html.dark .goodhao-keyword-links ol li,
html.dark .goodhao-keyword-links section ul li a,
html.dark .goodhao-keyword-links section > div {
  background: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}
html.dark .goodhao-keyword-links nav ul li a:hover,
html.dark .goodhao-keyword-links section ul li a:hover {
  background: rgba(37, 99, 235, 0.2);
  border-color: #60a5fa;
  color: #93c5fd;
}
html.dark .goodhao-keyword-links section > div p {
  color: #94a3b8;
}
/* Footer Contact Capsule Buttons (Live Chat + Telegram @waiweiknBot) */

.gh-footer-contact-pills {

  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap: 0.625rem;

  margin-top: 0.25rem;

}

.gh-footer-contact-pill {

  appearance: none;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 0.48rem;

  height: 2.6rem;

  padding: 0 1.1rem;

  border-radius: 9999px;

  background: #ffffff;

  border: 1px solid #e2e8f0;

  color: #0f172a;

  font-size: 0.875rem;

  font-weight: 500;

  line-height: 1;

  white-space: nowrap;

  text-decoration: none;

  cursor: pointer;

  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);

  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;

  font-family: inherit;

}

.gh-footer-contact-pill:hover {

  background: #f8fafc;

  border-color: #cbd5e1;

  color: #2563eb;

  transform: translateY(-1px);

}

.gh-footer-contact-pill:focus-visible {

  outline: 2px solid #2563eb;

  outline-offset: 2px;

}

.gh-footer-contact-pill svg {

  width: 1rem;

  height: 1rem;

  flex-shrink: 0;

}

.gh-footer-contact-pill .gh-tg-icon {

  color: #2563eb;

}

html.dark .gh-footer-contact-pill {

  background: rgba(255, 255, 255, 0.05);

  border-color: rgba(255, 255, 255, 0.12);

  color: #f8fafc;

  box-shadow: none;

}

html.dark .gh-footer-contact-pill:hover {

  background: rgba(255, 255, 255, 0.1);

  border-color: rgba(96, 165, 250, 0.45);

  color: #93c5fd;

}

html.dark .gh-footer-contact-pill .gh-tg-icon {

  color: #60a5fa;

}

/* GoodHao online chat v6: hide 3-min videoWaiting + Telegram-blue city pill + refined input clarity */
.gh-city-showcase-pill {
  display: inline-flex !important;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 0.38rem;
  margin: 0.25rem 0 0.1rem 0;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: #229ed9 !important;
  color: #ffffff !important;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.15;
  text-decoration: none !important;
  vertical-align: middle;
  box-shadow: 0 3px 10px rgba(34, 158, 217, 0.28);
  transition: background-color 0.16s ease, transform 0.15s ease, box-shadow 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}
.gh-city-showcase-pill:hover {
  background: #168ac1 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34, 158, 217, 0.36);
}
.gh-city-showcase-pill:active { transform: translateY(0); }
.gh-city-showcase-pill .gh-pill-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: currentColor;
}
.gh-city-showcase-pill .gh-pill-arrow {
  font-size: 12px;
  opacity: 0.92;
}
.gh-chat-inline-link {
  color: #1682c4 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}
.gh-usdt-copy-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 5px 0 2px 0;
  padding: 5px 12px;
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: #0d9488;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25);
}
.gh-usdt-copy-pill:hover { background: #0f766e; }
.support-composer .support-input {
  border: 1.5px solid #cbd5e1 !important;
  background-color: #f4f6f9 !important;
  color: #1e293b !important;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05) !important;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}
.support-composer .support-input::placeholder {
  color: #64748b !important;
  opacity: 1 !important;
}
.support-composer .support-input:focus {
  border-color: #229ed9 !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(34, 158, 217, 0.15) !important;
}
html.dark .support-composer .support-input {
  border-color: rgba(148, 163, 184, 0.45) !important;
  background-color: rgba(30, 41, 59, 0.72) !important;
  color: #f1f5f9 !important;
}
html.dark .support-composer .support-input::placeholder {
  color: #94a3b8 !important;
}
.gh-typing-status {
  display: none;
  margin: 0;
  font-size: 10px;
  line-height: 1.25;
  color: #0284c7;
  font-weight: 500;
}
html.dark .gh-typing-status {
  color: #38bdf8;
}
header.support-header.gh-agent-typing p[role="status"] {
  display: none !important;
}
header.support-header.gh-agent-typing .gh-typing-status {
  display: block !important;
  animation: ghTypingPulse 1.35s ease-in-out infinite;
}
@keyframes ghTypingPulse {
  0%, 100% { opacity: 0.96; }
  50% { opacity: 0.5; }
}
