:root {
    --hcg-blue: #1659c7;
    --hcg-blue-dark: #0a397f;
    --hcg-navy: #0b1f3a;
    --hcg-ink: #12223a;
    --hcg-muted: #4d5d70;
    --hcg-line: #d8e0ea;
    --hcg-soft: #f3f7fb;
    --hcg-white: #ffffff;
    --hcg-gold: #e4a900;
    --hcg-gold-dark: #8b6100;
    --hcg-silver: #77869a;
    --hcg-green: #0b7a50;
    --hcg-red: #bb2d3b;
    --hcg-radius: 20px;
    --hcg-shadow: 0 14px 40px rgba(15, 36, 67, .09);
}

.hc-gold-page .td-page-title,
.hc-gold-page .td-post-title,
.hc-gold-page .td-crumb-container,
.hc-gold-page .td_block_wrap.tdb-breadcrumbs { display: none !important; }

.hc-gold-page .td-main-content-wrap,
.hc-gold-page .tdc-content-wrap,
.hc-gold-page .td-pb-row,
.hc-gold-page .td-pb-span12,
.hc-gold-page .wpb_wrapper { overflow: visible !important; }

/* Give this interactive tool the full content row and remove the theme sidebar. */
.hc-gold-page .td-container.tdc-content-wrap { width: min(1240px, calc(100% - 32px)) !important; max-width: 1240px !important; }
.hc-gold-page .td-container.tdc-content-wrap > .td-pb-row { width: 100% !important; margin-right: 0 !important; margin-left: 0 !important; }
.hc-gold-page .td-pb-span8.td-main-content { width: 100% !important; max-width: none !important; padding-right: 0 !important; padding-left: 0 !important; float: none !important; }
.hc-gold-page .td-ss-main-content,
.hc-gold-page .td-page-content { width: 100% !important; max-width: none !important; }
.hc-gold-page .td-pb-span4.td-main-sidebar { display: none !important; }

.hcg-breakout {
    position: relative;
    left: auto;
    width: 100%;
    max-width: none !important;
    margin: 24px 0 50px;
    transform: none;
    color: var(--hcg-ink);
    font-family: Inter, "Segoe UI", Roboto, Arial, "Noto Sans Devanagari", sans-serif;
    font-size: 17px;
    line-height: 1.55;
}

.hcg-app, .hcg-app * { box-sizing: border-box; }
.hcg-app { width: 100%; margin: 0 auto; }
.hcg-app button, .hcg-app input, .hcg-app select { font: inherit; }
.hcg-app button, .hcg-app a { -webkit-tap-highlight-color: transparent; }
.hcg-app button { touch-action: manipulation; }
.hcg-app button:focus-visible, .hcg-app a:focus-visible, .hcg-app input:focus-visible, .hcg-app select:focus-visible, .hcg-app summary:focus-visible { outline: 3px solid #69a3ff; outline-offset: 3px; }
.hcg-app svg { display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hcg-app [hidden] { display: none !important; }

.hcg-hero {
    overflow: hidden;
    position: relative;
    min-height: 0;
    padding: 20px 28px 0;
    border-radius: 22px;
    background:
        radial-gradient(circle at 90% 10%, rgba(250, 190, 42, .20), transparent 30%),
        radial-gradient(circle at 8% 100%, rgba(51, 132, 255, .25), transparent 34%),
        linear-gradient(125deg, #071b35 0%, #0e3b77 58%, #155bc5 100%);
    color: #fff;
    box-shadow: 0 18px 46px rgba(8, 36, 76, .22);
}

.hcg-hero::after {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    right: 5%;
    bottom: -155px;
    border: 38px solid rgba(255, 255, 255, .05);
    border-radius: 50%;
    pointer-events: none;
}

.hcg-hero-topline, .hcg-market-strip, .hcg-section-heading, .hcg-tools-heading, .hcg-profile-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.hcg-hero-topline { position: relative; z-index: 3; }
.hcg-brand { display: flex; align-items: center; gap: 9px; color: #fff !important; text-decoration: none !important; font-weight: 800; font-size: 19px; letter-spacing: -.3px; }
.hcg-brand > span:last-child > span, .hcg-page-footer strong span { color: #63a3ff; }
.hcg-brand small { margin-left: 6px; color: #eef6ff !important; font-size: 13px; letter-spacing: 1.5px; }
.hcg-brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border: 2px solid rgba(255,255,255,.72); border-radius: 11px; background: rgba(255,255,255,.12); color: #fff !important; font-size: 14px; letter-spacing: .4px; }
.hcg-hero-actions { display: flex; align-items: center; gap: 10px; }
.hcg-language { display: flex; padding: 4px; border: 1px solid rgba(255,255,255,.30); border-radius: 12px; background: rgba(4,22,45,.32); }
.hcg-language button { min-width: 52px; min-height: 38px; padding: 6px 12px; border: 0; border-radius: 9px; background: transparent; color: #e8f2ff; cursor: pointer; font-size: 15px; font-weight: 800; }
.hcg-language button.is-active { background: #fff; color: var(--hcg-blue-dark); }
.hcg-icon-button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.30); border-radius: 12px; background: rgba(4,22,45,.32); color: #fff; cursor: pointer; }
.hcg-icon-button:hover { background: rgba(255,255,255,.16); }
.hcg-icon-button svg { width: 23px; height: 23px; }

.hcg-hero-copy { position: relative; z-index: 2; max-width: 880px; padding: 22px 0 20px; color: #fff !important; }
.hcg-kicker, .hcg-eyebrow { display: block; margin: 0 0 7px; color: #2b67bb; font-size: 14px; font-weight: 850; letter-spacing: 1.5px; line-height: 1.3; }
.hcg-kicker { color: #ffda70 !important; }
.hcg-hero h1 { margin: 0 !important; color: #fff !important; font-family: inherit !important; font-size: clamp(30px, 3vw, 42px) !important; font-weight: 850 !important; letter-spacing: -1.1px !important; line-height: 1.08 !important; text-align: left !important; }
.hcg-app .hcg-hero-copy p { max-width: 880px; margin: 10px 0 0 !important; color: #fff !important; font-size: 17px !important; line-height: 1.45 !important; }

.hcg-market-strip { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); position: relative; z-index: 3; min-height: 64px; margin: 0 -28px; padding: 9px 28px; background: rgba(3, 20, 41, .58); border-top: 1px solid rgba(255,255,255,.13); }
.hcg-status { display: flex; align-items: center; gap: 10px; min-width: 260px; }
.hcg-status strong { color: #fff !important; font-size: 16px; }
.hcg-status-dot { width: 11px; height: 11px; flex: 0 0 11px; border: 2px solid #d5e4fb; border-top-color: transparent; border-radius: 50%; animation: hcg-spin .8s linear infinite; }
.hcg-status.is-live .hcg-status-dot, .hcg-status.is-cached .hcg-status-dot, .hcg-status.is-manual .hcg-status-dot { border: 0; background: #35d58b; animation: none; box-shadow: 0 0 0 5px rgba(53,213,139,.13); }
.hcg-status.is-cached .hcg-status-dot { background: #ffce54; box-shadow: 0 0 0 5px rgba(255,206,84,.15); }
.hcg-date-block { display: flex; flex-direction: column; align-items: center; line-height: 1.35; }
.hcg-date-block span { color: #dceaff !important; font-size: 14px; }
.hcg-date-block strong { color: #fff !important; font-size: 17px; }
.hcg-refresh { display: flex; align-items: center; justify-content: center; justify-self: end; gap: 8px; min-height: 46px; padding: 10px 17px; border: 1px solid rgba(255,255,255,.28); border-radius: 12px; background: #fff; color: var(--hcg-blue-dark); cursor: pointer; font-weight: 800; }
.hcg-refresh:hover { background: #edf5ff; }
.hcg-refresh:disabled { cursor: wait; opacity: .9; }
.hcg-refresh.is-refreshed { background: #e8fff4; color: #086b47; }
.hcg-refresh svg { width: 19px; height: 19px; }
.hcg-refresh.is-loading svg { animation: hcg-spin .8s linear infinite; }
@keyframes hcg-spin { to { transform: rotate(360deg); } }

.hcg-section, .hcg-tools, .hcg-profile-panel {
    margin-top: 24px;
    padding: 30px;
    border: 1px solid var(--hcg-line);
    border-radius: var(--hcg-radius);
    background: #fff;
    box-shadow: var(--hcg-shadow);
}
.hcg-section-heading { align-items: flex-end; margin-bottom: 22px; }
.hcg-section-heading h2, .hcg-tools-heading h2, .hcg-profile-heading h2 { margin: 0 !important; color: var(--hcg-navy) !important; font-family: inherit !important; font-size: clamp(27px, 3vw, 35px) !important; font-weight: 830 !important; letter-spacing: -.75px !important; line-height: 1.17 !important; }
.hcg-section-heading p, .hcg-profile-heading p { margin: 6px 0 0; color: var(--hcg-muted); font-size: 17px; }

.hcg-unit-toggle { display: inline-flex; flex: 0 0 auto; padding: 4px; border: 1px solid var(--hcg-line); border-radius: 12px; background: #eef3f8; }
.hcg-unit-toggle button { min-height: 42px; padding: 8px 15px; border: 0; border-radius: 9px; background: transparent; color: #46586e; cursor: pointer; font-size: 15px; font-weight: 800; }
.hcg-unit-toggle button.is-active { background: #fff; color: var(--hcg-blue-dark); box-shadow: 0 3px 10px rgba(17,49,89,.10); }

.hcg-rate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hcg-rate-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; min-height: 152px; padding: 24px; border: 1px solid; border-radius: 18px; }
.hcg-gold-card { border-color: #ead18a; background: linear-gradient(135deg, #fffdf6, #fff8df); }
.hcg-silver-card { border-color: #cfd8e2; background: linear-gradient(135deg, #fcfdff, #eef3f7); }
.hcg-metal-icon { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; box-shadow: inset 0 0 0 7px rgba(255,255,255,.35); }
.hcg-metal-icon span { font-size: 19px; font-weight: 900; }
.hcg-metal-gold { background: linear-gradient(145deg, #ffe38c, #d99b00); color: #4d3400; }
.hcg-metal-silver { background: linear-gradient(145deg, #e8edf2, #98a7b7); color: #273545; }
.hcg-rate-main { min-width: 0; }
.hcg-rate-label { display: block; margin-bottom: 5px; color: #4b5a6a; font-size: 16px; font-weight: 750; }
.hcg-price { display: block; color: var(--hcg-navy); font-size: clamp(28px, 3.2vw, 41px); font-weight: 900; letter-spacing: -.9px; line-height: 1.12; white-space: nowrap; }
.hcg-price-unit { display: block; margin-top: 4px; color: #607084; font-size: 15px; }
.hcg-change { align-self: start; min-width: 104px; padding: 8px 10px; border-radius: 9px; background: rgba(26,55,86,.07); color: #4a5b6e; font-size: 15px; font-weight: 800; text-align: center; }
.hcg-change.is-up { background: #e5f7ef; color: #08764b; }
.hcg-change.is-down { background: #fdecee; color: #b12738; }

.hcg-quick-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hcg-button { display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 17px !important; border: 1px solid transparent !important; border-radius: 11px !important; cursor: pointer; font-size: 16px !important; font-weight: 800 !important; line-height: 1.2 !important; text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.hcg-button:hover { transform: translateY(-1px); }
.hcg-button svg { width: 19px; height: 19px; }
.hcg-button-primary { background: var(--hcg-blue) !important; color: #fff !important; box-shadow: 0 7px 17px rgba(22,89,199,.20); }
.hcg-button-primary:hover { background: #104ba9 !important; }
.hcg-button-secondary { border-color: #cbd6e3 !important; background: #fff !important; color: #173354 !important; }
.hcg-button-secondary:hover { background: #f0f5fb !important; }
.hcg-button-quiet { background: transparent !important; color: var(--hcg-blue) !important; }

.hcg-alert { display: flex; gap: 9px; margin-top: 20px; padding: 15px 18px; border: 1px solid; border-radius: 13px; font-size: 16px; }
.hcg-alert strong { flex: 0 0 auto; }
.hcg-alert-error { border-color: #ebabb3; background: #fff1f2; color: #812433; }
.hcg-alert-warning { border-color: #efd28a; background: #fff9e8; color: #705300; }

.hcg-table-wrap { overflow-x: auto; border: 1px solid var(--hcg-line); border-radius: 14px; }
.hcg-rate-table { width: 100%; min-width: 700px; border: 0 !important; border-collapse: collapse !important; margin: 0 !important; font-size: 17px; }
.hcg-rate-table th, .hcg-rate-table td { padding: 17px 18px !important; border: 0 !important; border-bottom: 1px solid var(--hcg-line) !important; color: var(--hcg-ink); text-align: right; }
.hcg-rate-table thead th { background: #eef4fa; color: #34485e; font-size: 15px; font-weight: 850; }
.hcg-rate-table tr:last-child th, .hcg-rate-table tr:last-child td { border-bottom: 0 !important; }
.hcg-rate-table th:first-child { text-align: left; }
.hcg-rate-table tbody th { font-weight: 850; }
.hcg-table-dot { display: inline-block; width: 12px; height: 12px; margin-right: 9px; border-radius: 50%; }
.hcg-table-gold { background: #e8ad00; }
.hcg-table-silver { background: #93a2b3; }
.hcg-unit-note, .hcg-disclaimer { margin: 12px 0 0; color: var(--hcg-muted); font-size: 15px; }

.hcg-calculator { border-color: #bcd1ee; background: linear-gradient(145deg, #fff, #f6faff); }
.hcg-calculator-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 22px; align-items: stretch; }
.hcg-calc-form { padding: 22px; border: 1px solid #d3deea; border-radius: 16px; background: #fff; }
.hcg-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.hcg-field-grid label { display: block; margin: 0; color: #263c56; font-size: 16px; font-weight: 800; }
.hcg-field-grid label > span { display: block; margin-bottom: 7px; }
.hcg-field-grid input, .hcg-field-grid select { width: 100% !important; height: 50px !important; margin: 0 !important; padding: 8px 13px !important; border: 1px solid #b9c8d8 !important; border-radius: 10px !important; background: #fff !important; color: var(--hcg-navy) !important; font-size: 17px !important; line-height: 1.2 !important; box-shadow: none !important; }
.hcg-field-grid input:focus, .hcg-field-grid select:focus { border-color: var(--hcg-blue) !important; box-shadow: 0 0 0 3px rgba(22,89,199,.11) !important; }
.hcg-calc-result { display: flex; flex-direction: column; justify-content: center; padding: 24px; border-radius: 16px; background: var(--hcg-navy); color: #fff; }
.hcg-calc-result > span { color: #dceaff !important; font-size: 16px; font-weight: 700; }
.hcg-calc-result > strong { display: block; margin: 5px 0 18px; color: #fff; font-size: clamp(31px, 4vw, 44px); letter-spacing: -1px; line-height: 1.15; }
.hcg-calc-result dl { margin: 0; }
.hcg-calc-result dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.13); }
.hcg-calc-result dt { color: #dceaff !important; font-size: 15px; }
.hcg-calc-result dd { margin: 0; color: #fff !important; font-size: 16px; font-weight: 800; }
.hcg-result-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.hcg-calc-result .hcg-button-primary { background: #fff !important; color: var(--hcg-blue-dark) !important; box-shadow: none; }
.hcg-calc-result .hcg-button-quiet { color: #d9e9ff !important; }
.hcg-login-note { margin: 12px 0 0; color: #fff !important; font-size: 15px; }
.hcg-login-note a { color: #fff !important; text-decoration: underline !important; }

.hcg-history-controls { display: flex; align-items: center; gap: 9px; }
.hcg-chart-summary { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 14px; border: 1px solid var(--hcg-line); border-radius: 13px; background: #f7faff; }
.hcg-chart-summary div { padding: 13px 17px; border-right: 1px solid var(--hcg-line); }
.hcg-chart-summary div:last-child { border-right: 0; }
.hcg-chart-summary span { display: block; color: var(--hcg-muted); font-size: 14px; }
.hcg-chart-summary strong { color: var(--hcg-navy); font-size: 19px; }
.hcg-chart { position: relative; height: 340px; padding: 12px 14px 38px; border: 1px solid var(--hcg-line); border-radius: 15px; background: linear-gradient(#fff, #f7faff); }
.hcg-chart svg { width: 100%; height: 100%; overflow: visible; }
.hcg-chart-grid line { stroke: #dfe7f0; stroke-width: 1; vector-effect: non-scaling-stroke; }
.hcg-chart-line { stroke: var(--hcg-gold); stroke-width: 4; vector-effect: non-scaling-stroke; fill: none; }
.hcg-chart-area { fill: rgba(228,169,0,.12); stroke: none; }
.hcg-chart.is-silver .hcg-chart-line { stroke: #778ba0; }
.hcg-chart.is-silver .hcg-chart-area { fill: rgba(119,139,160,.14); }
.hcg-chart-point { fill: #fff; stroke: var(--hcg-gold); stroke-width: 3; vector-effect: non-scaling-stroke; cursor: pointer; }
.hcg-chart.is-silver .hcg-chart-point { stroke: #778ba0; }
.hcg-chart-labels { position: absolute; left: 18px; right: 18px; bottom: 9px; display: flex; justify-content: space-between; color: #586b80; font-size: 14px; }
.hcg-chart-tooltip { position: absolute; z-index: 4; min-width: 150px; padding: 9px 11px; border-radius: 9px; background: #0b1f3a; color: #fff !important; font-size: 14px; font-weight: 750; pointer-events: none; box-shadow: 0 8px 20px rgba(7,26,50,.23); transform: translate(-50%, -115%); }
.hcg-chart-empty { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; padding: 20px; color: var(--hcg-muted); font-size: 17px; text-align: center; }

.hcg-signin-panel { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px; border: 1px dashed #aec3dc; border-radius: 14px; background: #f5f9fd; }
.hcg-signin-panel div { display: flex; flex-direction: column; }
.hcg-signin-panel strong { color: var(--hcg-navy); font-size: 18px; }
.hcg-signin-panel span { color: var(--hcg-muted); font-size: 16px; }

.hcg-saved-list { display: grid; gap: 10px; }
.hcg-saved-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid var(--hcg-line); border-radius: 12px; background: #fff; }
.hcg-saved-item div { display: flex; min-width: 0; flex-direction: column; }
.hcg-saved-item strong { overflow: hidden; color: var(--hcg-navy); font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.hcg-saved-item span { color: var(--hcg-muted); font-size: 14px; }
.hcg-saved-item > b { color: #13375f; font-size: 17px; }
.hcg-delete-save { min-height: 42px; padding: 7px 12px; border: 1px solid #e6b5bc; border-radius: 9px; background: #fff5f6; color: #a12535; cursor: pointer; font-size: 15px; font-weight: 800; }
.hcg-empty-saves { display: flex; flex-direction: column; align-items: center; padding: 25px; border: 1px dashed #b7c7d9; border-radius: 13px; background: #f8fbfe; text-align: center; }
.hcg-empty-saves strong { color: var(--hcg-navy); font-size: 18px; }
.hcg-empty-saves span { color: var(--hcg-muted); font-size: 16px; }

.hcg-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hcg-info-grid article { padding: 21px; border: 1px solid var(--hcg-line); border-radius: 15px; background: #f9fbfd; }
.hcg-info-grid article > span { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 12px; border-radius: 10px; background: #deebfb; color: #1954a6; font-size: 14px; font-weight: 900; }
.hcg-info-grid h3 { margin: 0 0 7px !important; color: var(--hcg-navy) !important; font-family: inherit !important; font-size: 20px !important; line-height: 1.25 !important; }
.hcg-info-grid p { margin: 0; color: var(--hcg-muted); font-size: 16px; }
.hcg-faq { margin-top: 18px; border-top: 1px solid var(--hcg-line); }
.hcg-faq details { border-bottom: 1px solid var(--hcg-line); }
.hcg-faq summary { display: flex; align-items: center; justify-content: space-between; min-height: 58px; padding: 12px 2px; color: var(--hcg-navy); cursor: pointer; font-size: 17px; font-weight: 800; list-style: none; }
.hcg-faq summary::-webkit-details-marker { display: none; }
.hcg-faq summary svg { width: 20px; height: 20px; transition: transform .2s ease; }
.hcg-faq details[open] summary svg { transform: rotate(180deg); }
.hcg-faq details p { margin: -2px 0 16px; color: var(--hcg-muted); font-size: 16px; }

.hcg-tools { background: #f4f8fc; }
.hcg-tools-heading { margin-bottom: 18px; }
.hcg-tools-heading > a { color: var(--hcg-blue) !important; font-size: 16px; font-weight: 800; text-decoration: none !important; }
.hcg-tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hcg-tools-grid > a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-height: 82px; padding: 14px; border: 1px solid var(--hcg-line); border-radius: 14px; background: #fff; color: var(--hcg-ink) !important; text-decoration: none !important; box-shadow: 0 4px 13px rgba(18,46,80,.04); transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.hcg-tools-grid > a:hover { transform: translateY(-2px); border-color: #9db9da; box-shadow: 0 9px 20px rgba(18,46,80,.08); }
.hcg-tools-grid a > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.hcg-tools-grid strong { color: var(--hcg-navy); font-size: 16px; }
.hcg-tools-grid small { color: var(--hcg-muted); font-size: 14px; }
.hcg-tools-grid b { color: #7590ae; font-size: 26px; }
.hcg-tool-icon { display: grid !important; place-items: center; width: 46px; height: 46px; border-radius: 12px; font-size: 16px; font-weight: 900; }
.hcg-tool-blue { background: #e5f1ff; color: #1762b3; }
.hcg-tool-purple { background: #f0e9ff; color: #7142b8; }
.hcg-tool-green { background: #e3f7ee; color: #09764d; }
.hcg-tool-red { background: #fee8e9; color: #b32f3c; }
.hcg-tool-navy { background: #e5edf7; color: #173f70; }
.hcg-tool-orange { background: #fff0df; color: #a95806; }

.hcg-ad { overflow: hidden; min-height: 110px; margin-top: 24px; padding: 10px; border: 1px solid #dbe2e9; border-radius: 14px; background: #fafcfe; text-align: center; }
.hcg-ad > span { display: block; margin-bottom: 5px; color: #687789; font-size: 14px; }
.hcg-ad ins { display: block; min-height: 78px; }

.hcg-page-footer { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 28px 12px 5px; color: var(--hcg-muted); font-size: 15px; }
.hcg-page-footer strong { color: var(--hcg-navy); font-size: 17px; }
.hcg-toast { position: fixed; z-index: 999999; right: 24px; bottom: 24px; max-width: min(390px, calc(100vw - 32px)); padding: 13px 17px; border-radius: 11px; background: #102a4b; color: #fff !important; font-size: 16px; font-weight: 750; box-shadow: 0 12px 30px rgba(5,25,50,.25); }

.hcg-profile-panel { width: min(1120px, calc(100% - 24px)); margin: 24px auto; font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif; color: var(--hcg-ink); font-size: 17px; }
.hcg-profile-heading { align-items: flex-end; margin-bottom: 20px; }

.hcg-app:fullscreen { overflow-y: auto; max-width: none; padding: 22px; background: #edf3f8; }
.hcg-app:fullscreen .hcg-hero { margin-top: 0; }

@media (max-width: 900px) {
    .hc-gold-page .td-container.tdc-content-wrap { width: calc(100% - 24px) !important; }
    .hcg-breakout { width: 100%; }
    .hcg-rate-card { grid-template-columns: auto 1fr; }
    .hcg-change { grid-column: 2; justify-self: start; }
    .hcg-calculator-grid { grid-template-columns: 1fr; }
    .hcg-tools-grid { grid-template-columns: repeat(2, 1fr); }
    .hcg-info-grid { grid-template-columns: 1fr; }
    .hcg-history .hcg-section-heading { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
    .hc-gold-page .td-container.tdc-content-wrap { width: calc(100% - 16px) !important; }
    .hcg-breakout { width: 100%; margin-top: 8px; }
    .hcg-hero { min-height: 0; padding: 18px 18px 0; border-radius: 18px; }
    .hcg-brand { font-size: 19px; }
    .hcg-brand-mark { width: 38px; height: 38px; }
    .hcg-brand small { display: none; }
    .hcg-icon-button { width: 44px; height: 44px; }
    .hcg-language button { min-width: 45px; min-height: 36px; padding: 5px 8px; }
    .hcg-hero-copy { padding: 20px 0 18px; }
    .hcg-hero h1 { font-size: clamp(28px, 8vw, 36px) !important; letter-spacing: -.7px !important; }
    .hcg-app .hcg-hero-copy p { font-size: 16px !important; }
    .hcg-market-strip { display: flex; align-items: stretch; flex-wrap: wrap; margin: 0 -18px; padding: 14px 18px; }
    .hcg-status { flex: 1 1 calc(100% - 120px); min-width: 0; }
    .hcg-date-block { align-items: flex-end; }
    .hcg-refresh { flex: 1 1 100%; }
    .hcg-section, .hcg-tools { margin-top: 14px; padding: 20px 16px; border-radius: 16px; }
    .hcg-section-heading, .hcg-tools-heading, .hcg-profile-heading { align-items: flex-start; flex-direction: column; }
    .hcg-section-heading h2, .hcg-tools-heading h2, .hcg-profile-heading h2 { font-size: 28px !important; }
    .hcg-rate-grid { grid-template-columns: 1fr; gap: 11px; }
    .hcg-rate-card { min-height: 133px; padding: 18px 15px; gap: 13px; }
    .hcg-metal-icon { width: 56px; height: 56px; }
    .hcg-price { font-size: 29px; }
    .hcg-quick-actions { display: grid; grid-template-columns: repeat(2, 1fr); }
    .hcg-button { width: 100%; }
    .hcg-field-grid { grid-template-columns: 1fr; gap: 14px; }
    .hcg-calc-form, .hcg-calc-result { padding: 18px 15px; }
    .hcg-history-controls { width: 100%; align-items: stretch; flex-direction: column; }
    .hcg-history-controls .hcg-unit-toggle { display: grid; grid-template-columns: repeat(2, 1fr); }
    .hcg-chart-summary { grid-template-columns: 1fr; }
    .hcg-chart-summary div { border-right: 0; border-bottom: 1px solid var(--hcg-line); }
    .hcg-chart-summary div:last-child { border-bottom: 0; }
    .hcg-chart { height: 285px; padding-left: 6px; padding-right: 6px; }
    .hcg-signin-panel { align-items: stretch; flex-direction: column; }
    .hcg-saved-item { grid-template-columns: 1fr auto; }
    .hcg-saved-item > b { grid-column: 1; }
    .hcg-delete-save { grid-column: 2; grid-row: 1 / span 2; }
    .hcg-tools-grid { grid-template-columns: 1fr; }
    .hcg-page-footer { flex-direction: column; gap: 2px; text-align: center; }
    .hcg-toast { right: 8px; bottom: 8px; }
}

@media (max-width: 400px) {
    .hcg-hero-topline { gap: 8px; }
    .hcg-brand > span:last-child { font-size: 17px; }
    .hcg-language button { min-width: 39px; font-size: 14px; }
    .hcg-icon-button { display: none; }
    .hcg-price { font-size: 26px; }
    .hcg-quick-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .hcg-app *, .hcg-app *::before, .hcg-app *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
    body * { visibility: hidden !important; }
    .hcg-app, .hcg-app * { visibility: visible !important; }
    .hcg-breakout { position: absolute; left: 0; top: 0; width: 100%; margin: 0; transform: none; }
    .hcg-hero { min-height: 0; padding: 20px; color: #111; background: #fff !important; box-shadow: none; border: 1px solid #aaa; }
    .hcg-hero *, .hcg-hero h1, .hcg-app .hcg-hero-copy p, .hcg-kicker, .hcg-status strong, .hcg-date-block span, .hcg-date-block strong { color: #111 !important; }
    .hcg-market-strip { margin: 15px 0 0; padding: 10px 0 0; background: #fff; border-top: 1px solid #aaa; }
    .hcg-hero-actions, .hcg-refresh, .hcg-quick-actions, .hcg-result-actions, .hcg-tools, .hcg-ad, .hcg-page-footer, .hcg-saved-page, .hcg-faq { display: none !important; }
    .hcg-section { break-inside: avoid; box-shadow: none; }
}
