#hgcp-root {
  --cp-bg: #0d1410;
  --cp-card: #141e18;
  --cp-text: #f4efe6;
  --cp-muted: #b0c0b5;
  --cp-gold: #dfb152;
  --cp-gold-hi: #ecc36c;
  --cp-gold-ink: #0b110e;
  --cp-border: rgba(223, 177, 82, 0.24);

  border-radius: 18px;
  border: 1px solid var(--cp-border);
  background:
    radial-gradient(ellipse 75% 340px at 50% 0%, rgba(223, 177, 82, 0.12), rgba(45, 125, 82, 0.08) 52%, transparent 78%),
    var(--cp-bg);
  color: var(--cp-text);
  padding: 26px 24px 30px;
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.5);
}

.hgcp-builder {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: end;
  margin-bottom: 16px;
}

.hgcp-duo-box {
  background: var(--cp-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hgcp-lbl {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cp-gold);
}

.hgcp-select, .hgcp-input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #0f1713;
  color: var(--cp-text);
  font: inherit;
  font-size: 14px;
}

.hgcp-swap-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 14px; border-radius: 10px;
  border: 1px solid rgba(223, 177, 82, 0.34); background: rgba(223, 177, 82, 0.1);
  color: var(--cp-gold); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
  margin-bottom: 14px;
}
.hgcp-swap-btn:hover { background: rgba(223, 177, 82, 0.22); color: #f6d589; }

.hgcp-ctl-row {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); margin-bottom: 24px;
}

.hgcp-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px;
  border-radius: 10px; border: 1px solid var(--cp-gold); background: var(--cp-gold); color: var(--cp-gold-ink);
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.hgcp-cta:hover { background: var(--cp-gold-hi); color: var(--cp-gold-ink); }

.hgcp-out-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px;
  border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04); color: var(--cp-text);
  font: inherit; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.hgcp-out-btn:hover { border-color: var(--cp-gold); background: rgba(255, 255, 255, 0.08); color: var(--cp-text); }

.hgcp-poster { max-width: 640px; margin-inline: auto; text-align: center; }
.hgcp-tier-eyebrow {
  font-family: var(--font-mono, monospace); font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--cp-gold); margin-bottom: 8px;
}
.hgcp-duo-head {
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(26px, 4.4vw, 38px); font-weight: 700; line-height: 1.15;
  color: var(--cp-text); margin-bottom: 8px;
}
.hgcp-tier-sub { font-size: 15px; color: var(--cp-muted); margin: 0 auto 24px; max-width: 50ch; }

.hgcp-metrics {
  display: grid; grid-template-columns: 1fr 1fr; max-width: 440px; margin: 0 auto 26px;
  padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.hgcp-mcell:first-child { border-right: 1px solid rgba(255, 255, 255, 0.12); }
.hgcp-mnum {
  font-family: var(--font-display, Georgia, serif); font-size: clamp(28px, 4.6vw, 38px);
  font-weight: 700; color: var(--cp-gold); margin-bottom: 4px;
}
.hgcp-mlbl {
  font-family: var(--font-mono, monospace); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--cp-muted);
}

.hgcp-bars { max-width: 480px; margin: 0 auto 24px; display: flex; flex-direction: column; gap: 11px; text-align: left; }
.hgcp-brow { display: grid; grid-template-columns: 88px 1fr 44px; align-items: center; gap: 12px; }
.hgcp-bname { font-size: 13px; font-weight: 600; color: var(--cp-muted); }
.hgcp-btrack { height: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.hgcp-bfill { height: 100%; border-radius: 999px; background: var(--cp-gold); transition: width 0.5s ease; }
.hgcp-bpct { font-family: var(--font-mono, monospace); font-size: 12px; font-weight: 600; text-align: right; }

.hgcp-roles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12); border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 18px;
}
.hgcp-rk {
  font-family: var(--font-mono, monospace); font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--cp-muted); margin-bottom: 4px;
}
.hgcp-rv { font-size: 14px; font-weight: 700; color: var(--cp-gold); }
.hgcp-forecast { font-size: 15px; line-height: 1.66; max-width: 56ch; margin: 0 auto 22px; }
.hgcp-share-msg { font-size: 13px; font-weight: 600; color: var(--cp-gold); min-height: 18px; margin-top: 10px; }

@media (max-width: 720px) {
  .hgcp-builder { grid-template-columns: 1fr; }
  .hgcp-swap-btn { margin-bottom: 0; width: 100%; }
  .hgcp-roles { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 640px) {
  #hgcp-root { padding: 20px 16px 24px; }
  .hgcp-ctl-row { flex-direction: column; align-items: stretch; }
  .hgcp-cta, .hgcp-out-btn { width: 100%; }
}