:root {
  --bg: #07090d;
  --surface: #0f1622;
  --surface-soft: #0b111a;
  --line: rgba(255, 255, 255, .1);
  --text: #f5f7fb;
  --muted: #aab5c4;
  --accent: #f4c654;
  color-scheme: dark;
  font-family: "Sarabun", "Noto Sans Thai", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--text); background: radial-gradient(circle at 82% 0, rgba(244,198,84,.07), transparent 32rem), var(--bg); line-height: 1.65; }
a { color: inherit; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.container { width: min(calc(100% - 48px), 1380px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 14px; color: #111; background: #fff; border-radius: 8px; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { position: relative; z-index: 50; border-bottom: 1px solid var(--line); background: #080b10; }
.header-inner { position: relative; display: flex; min-height: 66px; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; text-decoration: none; white-space: nowrap; }
.brand small { display: block; color: var(--muted); font-size: .62rem; letter-spacing: .1em; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(244,198,84,.35); border-radius: 50%; background: rgba(244,198,84,.08); }
.top-nav { display: flex; min-width: 0; flex: 1 1 auto; flex-flow: row wrap; align-items: center; justify-content: flex-end; column-gap: clamp(8px, 1vw, 18px); row-gap: 0; }
.top-nav a { padding: 8px 9px; color: #cad2de; border-radius: 8px; font-size: .84rem; text-decoration: none; white-space: nowrap; }
.top-nav a:hover, .top-nav a[aria-current="page"] { color: #fff; background: rgba(244,198,84,.12); }
.mobile-menu-toggle { display: none; width: 42px; height: 42px; margin-left: auto; padding: 0; color: #fff; border: 1px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 20px; height: 2px; margin: auto; content: ""; background: currentColor; }
.menu-lines::before { transform: translateY(-6px); }
.menu-lines::after { transform: translateY(4px); }
.home-hero { padding: 22px 0 18px; }
.hero-title { max-width: 980px; }
.home-gold-price-panel { margin-top: clamp(18px, 2.2vw, 24px); }
.home-page .daily-market-pulse-section { padding-top: 12px !important; padding-bottom: 24px !important; }
.home-hero-summary-band { padding: 4px 0 28px; border-bottom: 1px solid var(--line); }
.home-hero-summary-layout { display: grid; grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr); align-items: start; gap: 42px; }
.home-hero-summary-layout > * { min-width: 0; }
.home-hero-summary-band .hero-lead { max-width: 1060px; margin: 0; }
.home-page #gold-live-board { padding-top: 24px !important; }
.eyebrow { margin: 0 0 9px; color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1 { max-width: 980px; margin: 0; overflow-wrap: anywhere; font-size: clamp(1.5rem, 2.5vw, 2.2rem); font-weight: 700; line-height: 1.25; color: #cad5e2; }
.hero-lead { max-width: 820px; margin: 17px 0 0; color: #c3ccd9; font-size: clamp(.98rem, 1.6vw, 1.16rem); }
.update-panel { display: grid; gap: 4px; padding: 18px; color: var(--muted); border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.035); font-size: .82rem; }
.update-panel strong { color: #fff; font-size: 1rem; }
.update-panel small { color: #9daabc; }
.section { padding: 48px 0; }
.section-heading { max-width: 900px; margin-bottom: 25px; }
.compact-heading { margin-bottom: 20px; }
.section-heading h2, .faq-list > h2 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.65rem); line-height: 1.22; letter-spacing: -.035em; }
.section-heading p:not(.eyebrow) { margin: 10px 0 0; color: var(--muted); }
.home-gold-news-section { padding: 34px 0 44px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 8% 0, rgba(244,198,84,.1), transparent 27rem), rgba(255,255,255,.012); }
.home-gold-news-heading { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 24px; margin-bottom: 22px; }
.home-gold-news-heading .section-heading { margin-bottom: 0; }
.home-gold-news-all { display: inline-flex; min-height: 44px; padding: 10px 15px; align-items: center; justify-content: center; color: #ffe097; border: 1px solid rgba(244,198,84,.34); border-radius: 10px; background: rgba(244,198,84,.07); font-size: .9rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.home-gold-news-all:hover { color: #181104; background: #f4c654; }
.home-gold-news-all:focus-visible, .home-gold-news-read:focus-visible, .home-gold-news-card h3 a:focus-visible { outline: 3px solid rgba(255,224,151,.72); outline-offset: 4px; border-radius: 4px; }
.home-gold-news-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.home-gold-news-card { position: relative; display: flex; min-width: 0; flex-direction: column; padding: 21px; overflow: hidden; border: 1px solid rgba(244,198,84,.2); border-radius: 18px; background: linear-gradient(145deg, rgba(244,198,84,.075), rgba(255,255,255,.025) 52%, rgba(7,9,13,.72)); box-shadow: 0 18px 44px rgba(0,0,0,.12); }
.home-gold-news-card::before { position: absolute; inset: 0 auto 0 0; width: 3px; content: ""; background: linear-gradient(180deg,#ffe39a,#bd7512); }
.home-gold-news-card:hover { border-color: rgba(244,198,84,.42); }
.home-gold-news-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: #e9c76d; font-size: .85rem; font-weight: 750; }
.home-gold-news-change { flex: 0 0 auto; padding: 4px 9px; color: #cdd5df; border-radius: 999px; background: rgba(255,255,255,.065); font-size: .8rem; }
.home-gold-news-change.is-up { color: #8ee8bf; background: rgba(119,213,170,.12); }
.home-gold-news-change.is-down { color: #ffaaaa; background: rgba(255,156,156,.12); }
.home-gold-news-card h3 { margin: 13px 0 9px; font-size: clamp(1.08rem,1.6vw,1.28rem); line-height: 1.48; }
.home-gold-news-card h3 a { color: #fff; text-decoration: none; }
.home-gold-news-card h3 a:hover { color: #ffe097; text-decoration: underline; text-underline-offset: .2em; }
.home-gold-news-card p { margin: 0; color: #aeb9c8; font-size: .94rem; }
.home-gold-news-read { align-self: flex-start; margin-top: auto; padding-top: 16px; color: #ffe097; font-size: .9rem; font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.home-gold-news-read:hover { color: #fff; }
.summary-section { padding-top: 38px; background: rgba(255,255,255,.015); }
.price-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: rgba(10,15,23,.9); scrollbar-width: thin; }
.price-table-wrap:focus-visible { outline: 3px solid rgba(244,198,84,.5); outline-offset: 3px; }
.price-summary-table { width: 100%; min-width: 980px; border-collapse: collapse; }
.price-summary-table th, .price-summary-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-summary-table thead th { color: #d8e0eb; background: rgba(255,255,255,.045); font-size: .77rem; letter-spacing: .03em; }
.price-summary-table tbody th { width: 160px; color: #fff; }
.price-summary-table tbody td { color: #b8c3d2; font-size: .84rem; }
.price-summary-table tbody tr:last-child > * { border-bottom: 0; }
.price-summary-table a { color: #ffe097; font-weight: 750; text-decoration: none; text-underline-offset: .2em; transition: color .15s ease; }
.price-summary-table a:hover, .price-summary-table a:focus-visible { color: #fff; text-decoration: underline; }
.price-summary-table strong { color: #fff; font-size: .94rem; }
.crypto-section { border-block: 1px solid var(--line); background: radial-gradient(circle at 95% 0, rgba(111,166,245,.12), transparent 34rem), #0a1019; }
.crypto-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.crypto-heading-row .section-heading { margin-bottom: 22px; }
.crypto-refresh { margin-bottom: 22px; padding: 9px 14px; color: #e8f1ff; border: 1px solid rgba(125,173,239,.4); border-radius: 9px; background: rgba(125,173,239,.1); font: inherit; font-size: .85rem; font-weight: 700; white-space: nowrap; cursor: pointer; }
.crypto-refresh:hover { background: rgba(125,173,239,.2); }
.crypto-refresh:focus-visible { outline: 3px solid #7dacef; outline-offset: 3px; }
.crypto-refresh:disabled { cursor: wait; opacity: .6; }
.crypto-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.crypto-card { min-width: 0; padding: 20px; border: 1px solid rgba(125,173,239,.2); border-radius: 16px; background: rgba(255,255,255,.035); }
.crypto-card-head { display: flex; align-items: center; gap: 11px; }
.crypto-coin-mark { display: grid; flex: 0 0 38px; height: 38px; place-items: center; color: #d9e9ff; border-radius: 50%; background: rgba(125,173,239,.16); font-size: 1.25rem; font-weight: 800; }
.crypto-card h3 { margin: 0; color: #fff; font-size: 1rem; line-height: 1.25; }
.crypto-card-head div > span { color: #9baec5; font-size: .75rem; font-weight: 700; }
.crypto-price { display: block; margin-top: 17px; color: #fff; font-size: clamp(1.45rem, 2.3vw, 2.1rem); line-height: 1.2; overflow-wrap: anywhere; }
.crypto-change { display: inline-block; margin-top: 9px; color: var(--muted); font-size: .82rem; font-weight: 700; }
.crypto-change.is-positive { color: #77d5aa; }
.crypto-change.is-negative { color: #ff9c9c; }
.crypto-bottom { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 18px; }
.crypto-status, .crypto-source { margin: 0; color: var(--muted); font-size: .82rem; }
.crypto-status.is-error { color: #ff9c9c; }
.crypto-status.is-stale { color: #f3ce82; }
.crypto-bottom > a, .crypto-source a { color: #b6d8ff; font-weight: 700; text-underline-offset: .2em; }
.crypto-source { margin-top: 8px; }
.price-hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.price-hub-card { --card-accent: var(--accent); position: relative; display: flex; min-height: 190px; flex-direction: column; padding: 21px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); transition: transform .18s ease, border-color .18s ease; }
.price-hub-card::before { position: absolute; inset: 0 auto 0 0; width: 3px; content: ""; background: var(--card-accent); }
.price-hub-card:hover { border-color: var(--card-accent); transform: translateY(-2px); }
.card-kicker { color: var(--card-accent); font-size: .76rem; font-weight: 800; letter-spacing: .06em; }
.price-hub-card h3 { margin: 7px 0 9px; font-size: 1.25rem; }
.category-tile-copy { margin: 0; color: var(--muted); font-size: .88rem; }
.card-link { margin-top: auto; padding-top: 14px; color: #fff; font-size: .88rem; font-weight: 750; text-decoration: none; }
.card-link:hover { color: var(--card-accent); text-decoration: underline; text-underline-offset: .22em; }
.card-link:focus-visible { outline: 3px solid var(--card-accent); outline-offset: 4px; border-radius: 3px; }
.card-gold { --card-accent: #f4c654; }
.card-oil { --card-accent: #55d6be; }
.card-stocks { --card-accent: #38bdf8; }
.card-pawn { --card-accent: #eab676; }
.card-rubber { --card-accent: #a7dc77; }
.card-crypto { --card-accent: #8fb8f8; }
.card-lpg { --card-accent: #84cc6a; }
.card-ngv { --card-accent: #70d6cb; }
.card-commodity { --card-accent: #f39a63; }
.movement-section { padding-top: 10px; }
.movement-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.movement-grid article { display: flex; min-height: 190px; flex-direction: column; gap: 9px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.movement-grid span { color: var(--accent); font-size: .78rem; font-weight: 800; }
.movement-grid strong { color: #fff; font-size: 1.08rem; line-height: 1.45; }
.movement-grid small { color: var(--muted); }
.movement-grid a { margin-top: auto; color: #fff; font-weight: 700; text-underline-offset: .2em; }
.shortcut-section { border-block: 1px solid var(--line); background: rgba(255,255,255,.018); }
.link-cluster-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.link-cluster-grid section { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-soft); }
.link-cluster-grid h3 { margin: 0 0 6px; color: #fff; font-size: 1rem; }
.link-cluster-grid a { color: #c8d2df; font-size: .88rem; text-decoration: none; }
.link-cluster-grid a::after { content: " →"; color: var(--accent); }
.link-cluster-grid a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.source-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.source-grid article { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.source-grid h3 { margin: 0 0 8px; font-size: 1.08rem; }
.source-grid p { margin: 0 0 16px; color: #bac5d3; font-size: .88rem; }
.source-grid a { color: #ffe09a; font-size: .86rem; font-weight: 700; text-underline-offset: .2em; }
.faq-list { max-width: 980px; margin-top: 42px; }
.faq-list > h2 { margin-bottom: 18px; font-size: clamp(1.45rem, 2.6vw, 2.1rem); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 16px 0; color: #fff; font-weight: 750; cursor: pointer; }
.faq-list p { margin: -4px 0 17px; color: var(--muted); }
.site-footer { margin-top: 28px; color: #aeb8c6; }
.site-footer .footer-standard-main { display: grid; grid-template-columns: minmax(250px,.8fr) minmax(0,1.2fr); align-items: end; gap: 70px; padding: 42px 0; border-top: 1px solid var(--line); }
.site-footer .footer-standard-brand { min-width: 0; }
.site-footer .footer-standard-brand .brand { display: inline-flex; }
.site-footer .footer-standard-brand .brand-name { display: block; font-size: 1rem; line-height: 1.25; }
.site-footer .footer-standard-brand > p { max-width: 650px; margin: 16px 0 0; color: #9ca8b8; font-size: 11px; line-height: 1.7; }
.site-footer .footer-standard-meta { display: flex; min-width: 0; flex-direction: column; align-items: flex-end; gap: 14px; }
.site-footer .footer-standard-disclaimer { max-width: 760px; margin: 0; color: #aeb8c6; font-size: 11px; line-height: 1.7; text-align: right; }
.site-footer .footer-standard-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px 18px; margin: 0; padding: 0; }
.site-footer .footer-standard-links a { color: #dce3eb; font-size: 11px; line-height: 1.55; text-decoration: none; }
.site-footer .footer-standard-links a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
.site-footer .footer-standard-bottom { display: flex; justify-content: space-between; gap: 18px; padding: 18px 0 25px; color: #778496; border-top: 1px solid var(--line); font-size: 10px; }
.site-footer .footer-standard-bottom p { margin: 0; line-height: 1.6; }
/* Keep the homepage navigation layout and breakpoints aligned with /gold/. */
@media (min-width: 761px) {
  .site-header { position: relative; top: auto; right: auto; left: auto; width: auto; min-height: 72px; background: rgba(7,9,13,.8); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); pointer-events: auto; }
  .site-header .header-inner { display: flex; width: min(calc(100% - 48px),1760px); max-width: none; min-height: 76px; margin-inline: auto; padding-block: 10px; align-items: center; gap: 28px; }
  .site-header .brand { display: inline-flex; flex: 0 0 auto; gap: 10px; font-size: 1rem; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; white-space: nowrap; }
  .site-header .brand small { display: block; margin-top: 1px; color: var(--muted); font-size: .67rem; font-weight: 600; line-height: 1.2; letter-spacing: .08em; }
  .site-header .mobile-menu-toggle { display: none; }
  .site-header .top-nav, .site-header.is-open .top-nav { position: static; top: auto; right: auto; left: auto; display: flex; width: auto; max-height: none; padding: 0; flex: 1 1 auto; flex-flow: row wrap; align-items: center; justify-content: flex-end; column-gap: clamp(8px,1vw,18px); row-gap: 0; overflow: visible; background: transparent; border: 0; border-radius: 0; box-shadow: none; backdrop-filter: none; }
  .site-header .top-nav a { display: inline-flex; width: auto; min-height: 0; padding: 6px 0; flex: 0 0 auto; color: #cfd7e3; background: transparent; border-radius: 0; white-space: nowrap; }
}
@media (max-width: 1120px) {
  .link-cluster-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 1180px) {
  .home-hero-summary-layout { grid-template-columns: 1fr; gap: 22px; }
  .update-panel { max-width: 620px; }
  .price-hub-grid, .source-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .crypto-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .movement-grid { grid-template-columns: 1fr; }
  .movement-grid article { min-height: 0; }
  .site-footer .footer-standard-main { grid-template-columns: 1fr; gap: 30px; }
  .site-footer .footer-standard-meta { align-items: flex-start; }
  .site-footer .footer-standard-disclaimer { text-align: left; }
  .site-footer .footer-standard-links { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .site-header { position: fixed; z-index: 100; top: 8px; top: max(8px, env(safe-area-inset-top)); right: auto; left: 0; display: block; width: 100%; min-height: 52px; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; pointer-events: none; }
  .site-header .header-inner { display: flex; width: min(calc(100% - 28px),1380px); max-width: none; min-height: 52px; margin-inline: auto; padding: 0; align-items: center; justify-content: flex-end; gap: 0; }
  .site-header .brand { display: none; }
  .site-header .mobile-menu-toggle { position: relative; display: block; width: 52px; height: 52px; margin: 0; padding: 0; color: #fff; background: rgba(8,11,16,.92); border: 1px solid rgba(245,196,81,.34); border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,.32); backdrop-filter: blur(16px); font-size: 0; pointer-events: auto; }
  .site-header .mobile-menu-toggle:focus-visible { outline: 3px solid rgba(255,226,154,.58); outline-offset: 3px; }
  .site-header .menu-lines { position: relative; display: block; width: 24px; height: 2px; margin: auto; background: currentColor; border-radius: 2px; }
  .site-header .menu-lines::before, .site-header .menu-lines::after { position: absolute; left: 0; display: block; width: 24px; height: 2px; content: ""; background: currentColor; border-radius: 2px; }
  .site-header .menu-lines::before { top: -7px; transform: none; }
  .site-header .menu-lines::after { top: 7px; transform: none; }
  .site-header .top-nav { position: absolute; z-index: 101; top: calc(100% + 8px); right: 14px; left: 14px; display: none; width: auto; max-height: calc(100vh - 84px); max-height: calc(100dvh - 84px); padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start; gap: 2px; overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; scrollbar-gutter: stable; color: #fff; background: rgba(8,11,16,.98); border: 1px solid rgba(245,196,81,.24); border-radius: 14px; box-shadow: 0 18px 45px rgba(0,0,0,.48); pointer-events: auto; }
  .site-header.is-open .top-nav { display: flex; }
  .site-header .top-nav a { display: flex; width: 100%; min-height: 44px; padding: 11px 12px; flex: 0 0 auto; align-items: center; color: #e8edf4; background: transparent; border-radius: 10px; font-size: .88rem; line-height: 1.35; }
  .site-header .top-nav a:hover, .site-header .top-nav a:focus-visible, .site-header .top-nav a[aria-current="page"]:hover, .site-header .top-nav a[aria-current="page"]:focus-visible { color: #241700; background: linear-gradient(135deg,#ffe594,#e9a616); outline: none; }
  .site-header .top-nav a[aria-current="page"] { color: #ffe09a; background: rgba(245,196,81,.1); }
  .home-hero { padding-top: 18px; }
  .home-hero .eyebrow { max-width: calc(100% - 66px); }
  h1,
  .hero-title h1,
  #home-main-heading {
    font-size: 1rem !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
  }
  .home-gold-news-heading { grid-template-columns: 1fr; align-items: start; gap: 16px; }
  .home-gold-news-all { justify-self: start; white-space: normal; }
}
@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px),1380px); }
  .home-hero { padding: 14px 0 16px; padding-top: max(14px, env(safe-area-inset-top)); }
  .home-gold-price-panel { margin-top: 16px; }
  .home-page .daily-market-pulse-section { padding-top: 10px !important; padding-bottom: 20px !important; }
  .home-page .daily-market-pulse-card { padding: 1.15rem !important; }
  .home-hero-summary-band { padding: 0 0 24px; }
  .home-gold-news-section { padding: 30px 0 34px; }
  .home-gold-news-grid { grid-template-columns: 1fr; gap: 12px; }
  .home-gold-news-card { padding: 18px; }
  .home-gold-news-meta { align-items: flex-start; }
  .home-page #gold-live-board { padding-top: 20px !important; }
  .section { padding: 38px 0; }
  .summary-section { padding-top: 30px; }
  .price-table-wrap { overflow: visible; border: 0; background: transparent; }
  .price-summary-table { min-width: 0; border-collapse: separate; }
  .price-summary-table thead { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; border: 0; }
  .price-summary-table thead tr, .price-summary-table thead th { display: block; width: 1px; min-width: 0; max-width: 1px; padding: 0; border: 0; }
  .price-summary-table tbody { display: grid; gap: 12px; }
  .price-summary-table tbody tr { display: block; padding: 13px 15px; border: 1px solid var(--line); border-radius: 14px; background: rgba(10,15,23,.9); }
  .price-summary-table tbody th { display: block; width: auto; padding: 0 0 10px; border-bottom: 1px solid var(--line); }
  .price-summary-table tbody td { display: grid; grid-template-columns: minmax(95px, 34%) minmax(0,1fr); gap: 10px; padding: 8px 0 0; border: 0; }
  .price-summary-table tbody td::before { content: attr(data-label); color: #d8e0eb; font-size: .74rem; font-weight: 700; }
  .price-hub-grid, .source-grid, .link-cluster-grid { grid-template-columns: 1fr; }
  .crypto-heading-row, .crypto-bottom { align-items: flex-start; flex-direction: column; }
  .crypto-heading-row { gap: 0; }
  .crypto-refresh { margin-bottom: 20px; }
  .crypto-grid { grid-template-columns: 1fr; gap: 12px; }
  .crypto-bottom { gap: 8px; }
  .price-hub-card { min-height: 0; }
  .site-footer .footer-standard-main { padding: 32px 0 24px; }
  .site-footer .footer-standard-bottom { flex-direction: column; }
}
/* Gold-First Price Intelligence Board Styling */
.gold-board-section { padding: 36px 0 28px; background: linear-gradient(180deg, rgba(244,198,84,.06) 0%, transparent 100%); border-bottom: 1px solid var(--line); }
.gold-board-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.gold-badge { display: inline-block; padding: 4px 10px; background: rgba(244,198,84,.15); color: #f4c654; border: 1px solid rgba(244,198,84,.3); border-radius: 6px; font-size: .75rem; font-weight: 750; margin-bottom: 6px; letter-spacing: .04em; }
.gold-board-header h2 { margin: 0; font-size: clamp(1.75rem, 3.2vw, 2.45rem); color: #fff; letter-spacing: -.03em; }
.gold-meta-text { margin: 6px 0 0; color: #aab5c4; font-size: .88rem; }
.gold-change-pill { display: flex; flex-direction: column; align-items: flex-end; padding: 8px 16px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.gold-change-pill.is-up { background: rgba(119,213,170,.12); border-color: rgba(119,213,170,.35); color: #77d5aa; }
.gold-change-pill.is-down { background: rgba(255,156,156,.12); border-color: rgba(255,156,156,.35); color: #ff9c9c; }
.gold-change-pill.is-even { color: #d8e0eb; }
.pill-label { font-size: .72rem; color: #8e9cae; font-weight: 700; text-transform: uppercase; }
.pill-value { font-size: 1.25rem; font-weight: 800; }

.gold-main-cards-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 22px; }
.gold-rate-card { padding: 22px 24px; border-radius: 18px; border: 1px solid rgba(244,198,84,.25); background: linear-gradient(135deg, rgba(244,198,84,.08) 0%, rgba(15,22,34,.95) 100%); }
.gold-rate-card.is-ornament { border-color: rgba(234,182,118,.25); background: linear-gradient(135deg, rgba(234,182,118,.08) 0%, rgba(15,22,34,.95) 100%); }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
.card-head h3 { margin: 0; font-size: 1.25rem; color: #fff; font-weight: 800; }
.sub-tag { font-size: .74rem; color: #8e9cae; background: rgba(255,255,255,.06); padding: 3px 8px; border-radius: 4px; }
.card-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.val-box { padding: 12px 14px; border-radius: 12px; background: rgba(0,0,0,.25); }
.val-box.is-sell { border-left: 3px solid #f4c654; }
.val-box.is-buy { border-left: 3px solid #77d5aa; }
.val-lbl { display: block; font-size: .78rem; color: #9daabc; margin-bottom: 4px; }
.val-num { font-size: clamp(1.4rem, 2.4vw, 1.95rem); color: #fff; font-weight: 850; letter-spacing: -.02em; }
.val-num small { font-size: .82rem; font-weight: 500; color: #cad2de; }

.gold-weight-quick-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: rgba(10,15,23,.85); margin-bottom: 20px; }
.gold-weight-quick-table { width: 100%; border-collapse: collapse; min-width: 600px; text-align: left; }
.gold-weight-quick-table th, .gold-weight-quick-table td { padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: .88rem; }
.gold-weight-quick-table thead th { background: rgba(255,255,255,.04); color: #d8e0eb; font-size: .78rem; font-weight: 750; }
.gold-weight-quick-table tbody tr:last-child > * { border-bottom: 0; }
.gold-weight-quick-table tbody th a { color: #ffe097; font-weight: 750; text-decoration: none; }
.gold-weight-quick-table tbody th a:hover { text-decoration: underline; }
.gold-weight-quick-table strong { color: #fff; font-weight: 800; }

.gold-quick-links-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.gold-quick-links-bar a { padding: 8px 14px; border-radius: 99px; background: rgba(255,255,255,.045); border: 1px solid var(--line); color: #d8e0eb; font-size: .82rem; font-weight: 700; text-decoration: none; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.gold-quick-links-bar a:hover { background: rgba(244,198,84,.14); border-color: rgba(244,198,84,.4); color: #fff; }

@media (max-width: 768px) {
  .gold-main-cards-grid { grid-template-columns: 1fr; }
  .gold-board-header { flex-direction: column; align-items: flex-start; }
  .gold-change-pill { align-self: flex-start; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}


    /* Homepage gold-price summary mirrors the primary price board on /gold/. */
    .gold-macro-pills { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
    .gold-macro-pill { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); padding: 5px 12px; border-radius: 8px; font-size: .84rem; display: inline-flex; align-items: center; gap: 6px; }
    .gold-dominant-header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
    .home-gold-price-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, rgba(20,28,40,.86), rgba(12,17,25,.9)); box-shadow: 0 22px 70px rgba(0,0,0,.28); }
    .home-gold-price-panel .price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .home-gold-price-panel .price-card { min-width: 0; min-height: 186px; padding: 24px; background: rgba(14,20,29,.78); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .home-gold-price-panel .price-card:nth-child(4n) { border-right: 0; }
    .home-gold-price-panel .price-card .label { display: block; color: var(--muted); font-size: .9rem; font-weight: 750; }
    .home-gold-price-panel .price-card .value { display: block; margin: 10px 0 4px; color: #ffe18b; font-size: clamp(2.35rem,4.4vw,3.5rem); font-weight: 950; line-height: 1.05; letter-spacing: -.04em; overflow-wrap: anywhere; text-shadow: 0 0 26px rgba(245,196,81,.12); }
    .home-gold-price-panel .price-card .unit { display: block; color: #7f8b9b; font-size: .84rem; }
    .home-gold-price-panel .price-change { display: inline-flex; max-width: 100%; margin-top: 12px; padding: 4px 9px; color: #ffe097; background: rgba(245,196,81,.08); border: 1px solid rgba(245,196,81,.16); border-radius: 999px; font-size: .77rem; font-weight: 850; line-height: 1.35; overflow-wrap: anywhere; }
    .home-gold-price-panel .change-positive { color: #8ff0b4; background: rgba(88,214,141,.09); border-color: rgba(88,214,141,.25); }
    .home-gold-price-panel .change-negative { color: #ffaaaa; background: rgba(255,125,125,.09); border-color: rgba(255,125,125,.25); }
    .home-gold-price-panel .change-neutral { color: #d1d8e2; background: rgba(255,255,255,.05); border-color: var(--line); }
    .home-gold-price-panel .gold-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; gap: 0; background: rgba(7,10,15,.42); border-top: 1px solid var(--line); }
    .home-gold-price-panel .gold-summary-card { min-width: 0; min-height: 186px; padding: 24px; background: rgba(14,20,29,.72); border-right: 1px solid var(--line); }
    .home-gold-price-panel .gold-summary-card:last-child { border-right: 0; }
    .home-gold-price-panel .gold-summary-card span,
    .home-gold-price-panel .gold-summary-card small { display: block; color: var(--muted); }
    .home-gold-price-panel .gold-summary-card span { font-size: .82rem; }
    .home-gold-price-panel .gold-summary-card strong { display: block; margin: 4px 0; color: #ffe18b; font-size: clamp(1.95rem,3.6vw,2.75rem); line-height: 1.12; overflow-wrap: anywhere; }
    .home-gold-price-panel .gold-summary-card small { font-size: .76rem; }
    @media (max-width: 960px) {
      .home-gold-price-panel .price-grid,
      .home-gold-price-panel .gold-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .home-gold-price-panel .price-card:nth-child(2n),
      .home-gold-price-panel .gold-summary-card:nth-child(2n) { border-right: 0; }
      .home-gold-price-panel .gold-summary-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    }
    @media (min-width: 641px) {
      .home-gold-price-panel .price-card { min-height: 168px; padding: 16px 20px 18px; }
      .home-gold-price-panel .price-card .label,
      .home-gold-price-panel .price-card .unit { line-height: 1.4; }
      .home-gold-price-panel .price-card .value { margin: 8px 0 2px; }
      .home-gold-price-panel .price-card .price-change { margin-top: 8px; }
    }
    @media (min-width: 961px) {
      .home-gold-price-panel .gold-summary-card { min-height: 0; padding: 16px 20px 18px; }
      .home-gold-price-panel .gold-summary-card span,
      .home-gold-price-panel .gold-summary-card small { line-height: 1.4; }
      .home-gold-price-panel .gold-summary-card strong { margin: 4px 0 2px; }
    }
    @media (max-width: 640px) {
      .home-gold-price-panel .price-card { min-height: 0; padding: 8px; }
      .home-gold-price-panel .price-card:nth-child(odd) { border-right: 1px solid var(--line); }
      .home-gold-price-panel .price-card .label { font-size: .72rem; line-height: 1.2; }
      .home-gold-price-panel .price-card .value { margin: 3px 0 1px; font-size: clamp(1.4rem,7.5vw,2.1rem); }
      .home-gold-price-panel .price-card .unit { font-size: .65rem; line-height: 1.25; }
      .home-gold-price-panel .price-card .price-change { margin-top: 4px; padding: 2px 5px; border-radius: 8px; font-size: .62rem; line-height: 1.25; }
      .home-gold-price-panel .gold-summary-card { min-height: 0; padding: 9px 8px; }
      .home-gold-price-panel .gold-summary-card span { font-size: .72rem; line-height: 1.2; }
      .home-gold-price-panel .gold-summary-card strong { margin: 2px 0; font-size: clamp(1.3rem,6.8vw,1.85rem); }
      .home-gold-price-panel .gold-summary-card small { font-size: .65rem; line-height: 1.25; }
    }
    .breadcrumb-nav { margin-bottom: 14px; }
    .breadcrumb-list { display: flex; align-items: center; gap: 8px; list-style: none; padding: 0; margin: 0; font-size: .82rem; color: #94a3b8; }
    .breadcrumb-list a { color: #cbd5e1; text-decoration: none; }
    .breadcrumb-list a:hover { color: #f4c654; text-decoration: underline; }
    .longtail-cluster-bar { background: rgba(244,198,84,.04); border: 1px solid rgba(244,198,84,.15); border-radius: 16px; padding: 18px 20px; margin: 26px 0; }
    .longtail-cluster-title { font-size: .95rem; font-weight: 750; color: #f4c654; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
    .longtail-tags { display: flex; flex-wrap: wrap; gap: 8px; }
    .longtail-tags a { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); padding: 7px 13px; border-radius: 999px; font-size: .84rem; color: #e2e8f0; text-decoration: none; transition: all .15s; }
    .longtail-tags a:hover { background: rgba(244,198,84,.18); border-color: #f4c654; color: #fff; transform: translateY(-1px); }
    .home-weight-share { margin: 36px 0 28px; }
    .home-weight-share .social-share-bar { margin: 0; }
    .home-weight-heading { margin-top: 0; }
    .weight-table-wrap { overflow-x: auto; background: rgba(15,22,34,.75); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; margin: 24px 0; }
    .weight-table { width: 100%; min-width: 780px; border-collapse: collapse; }
    .weight-table th, .weight-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.07); font-size: .88rem; }
    .weight-table thead th { background: rgba(255,255,255,.04); color: #f4c654; font-weight: 700; }
    .weight-table tbody tr:hover { background: rgba(255,255,255,.025); }
    .weight-table a { color: #f4c654; font-weight: 700; text-decoration: none; }
    .weight-table a:hover { text-decoration: underline; }
    .weight-table caption, .price-summary-table caption { padding: 12px 16px; text-align: left; font-size: .84rem; font-weight: 700; color: #94a3b8; background: rgba(255,255,255,.02); border-bottom: 1px solid rgba(255,255,255,.08); }
    .companies-preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 20px 0; }
    .cp-card { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 14px; text-align: center; transition: border-color .15s ease, transform .15s ease; }
    .cp-card:hover { border-color: rgba(244,198,84,.35); transform: translateY(-2px); }
    .cp-card strong { display: block; color: #fff; font-size: .95rem; margin-bottom: 8px; }
    .cp-card strong a { color: #fff; text-decoration: none; transition: color .15s ease; }
    .cp-card strong a:hover, .cp-card strong a:focus-visible { color: #f4c654; text-decoration: underline; text-underline-offset: .2em; }
    .cp-card .cp-row { display: flex; justify-content: space-between; font-size: .8rem; color: #94a3b8; }
    .cp-card .cp-row span:last-child { color: #facc15; font-weight: 700; }
    .years-strip { display: flex; gap: 8px; overflow-x: auto; padding: 6px 0 12px; scrollbar-width: thin; }
    .years-strip a { flex: 0 0 auto; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); padding: 6px 12px; border-radius: 8px; font-size: .8rem; color: #cbd5e1; text-decoration: none; }
    .years-strip a:hover { border-color: #f4c654; color: #fff; }
    .purity-pills { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 18px 0; }
    .purity-item { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); border-radius: 10px; padding: 10px 14px; }
    .purity-item span { display: block; font-size: .76rem; color: #94a3b8; }
    .purity-item strong { font-size: .98rem; color: #fff; }
    .interactive-calc-box { background: linear-gradient(145deg, #131d2c, #0c121c); border: 1px solid rgba(244,198,84,.3); border-radius: 18px; padding: 24px; margin: 28px 0; }
    .calc-inputs { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 14px; }
    .calc-input-group label { display: block; font-size: .82rem; color: #cbd5e1; margin-bottom: 6px; }
    .calc-input-group input, .calc-input-group select { width: 100%; padding: 10px 14px; background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.15); border-radius: 8px; color: #fff; font-size: .95rem; }
    .calc-result-box { margin-top: 18px; padding: 16px; background: rgba(244,198,84,.08); border-radius: 12px; border: 1px solid rgba(244,198,84,.25); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
    .calc-result-box strong { font-size: 1.4rem; color: #facc15; }
    .eeat-guide-box { background: linear-gradient(145deg, rgba(17,24,39,.95), rgba(11,17,26,.95)); border: 1px solid rgba(255,255,255,.09); border-radius: 20px; padding: 28px 32px; margin: 28px 0; }
    .eeat-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    @media (max-width: 860px) { .eeat-guide-grid { grid-template-columns: 1fr; } .eeat-guide-box { padding: 20px; } }
    .eeat-card { background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.07); border-radius: 14px; padding: 20px; }
    .eeat-card h3 { margin: 0 0 10px; font-size: 1.12rem; color: #f4c654; display: flex; align-items: center; gap: 8px; }
    .eeat-card p { margin: 0 0 10px; font-size: .88rem; color: #cbd5e1; line-height: 1.7; }
    .eeat-card ul { margin: 0; padding-left: 20px; font-size: .86rem; color: #94a3b8; line-height: 1.65; }
    .eeat-card code { background: rgba(244,198,84,.15); color: #fde047; padding: 2px 6px; border-radius: 4px; font-size: .84rem; font-family: ui-monospace, monospace; }

    @media (max-width: 640px) {
      .home-weight-share { margin: 28px 0 22px; }
      .home-weight-share .social-share-bar { align-items: flex-start; padding: 14px; }
      .home-weight-share .share-label { flex: 0 0 100%; }
      .home-weight-share .share-buttons-group { width: 100%; }
    }

/* Gold news share row: placed between page content and the standard footer. */
.news-index-wrap {
  padding: 40px 0 36px;
}

.news-share-section {
  margin-bottom: clamp(32px, 4vw, 48px);
}

.news-share-section .social-share-bar {
  display: flex;
  width: 100%;
  margin: 0;
  padding: clamp(14px, 2vw, 18px) clamp(14px, 2.4vw, 22px);
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  background: rgba(12, 18, 27, .72);
}

.news-share-section .share-label {
  color: #9aa8b8;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
}

.news-share-section .share-buttons-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
}

.news-share-section .share-btn {
  display: inline-flex;
  height: 30px;
  padding: 0 11px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(13, 19, 28, .75);
  color: #c9d5e3;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease, color .2s ease;
  user-select: none;
  -webkit-user-select: none;
}

.news-share-section .share-btn svg {
  flex-shrink: 0;
  transition: transform .2s ease;
}

.news-share-section .share-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .28);
}

.news-share-section .share-btn:hover svg {
  transform: scale(1.08);
}

.news-share-section .share-btn:focus-visible {
  outline: 3px solid rgba(255, 224, 151, .72);
  outline-offset: 3px;
}

.news-share-section .share-btn-fb:hover {
  color: #fff;
  border-color: rgba(24, 119, 242, .6);
  background: rgba(24, 119, 242, .14);
}

.news-share-section .share-btn-msg:hover {
  color: #fff;
  border-color: rgba(0, 132, 255, .6);
  background: rgba(0, 132, 255, .14);
}

.news-share-section .share-btn-x:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .1);
}

.news-share-section .share-btn-line:hover {
  color: #fff;
  border-color: rgba(6, 199, 85, .6);
  background: rgba(6, 199, 85, .14);
}

.news-share-section .share-btn-copy:hover {
  color: #fff;
  border-color: rgba(255, 159, 82, .6);
  background: rgba(255, 159, 82, .14);
}

.news-share-section .share-btn-copy.is-copied {
  color: #38ef7d;
  border-color: rgba(6, 199, 85, .8);
  background: rgba(6, 199, 85, .2);
}

.news-share-section .share-btn-copy.is-copied svg {
  color: #38ef7d;
}

@media (max-width: 640px) {
  .news-index-wrap {
    padding-bottom: 28px;
  }

  .news-article-wrap {
    padding-bottom: 36px;
  }

  .news-share-section {
    margin-bottom: 32px;
  }

  .news-share-section .social-share-bar {
    align-items: flex-start;
    padding: 14px;
  }

  .news-share-section .share-label {
    flex: 0 0 100%;
  }

  .news-share-section .share-buttons-group {
    width: 100%;
  }
}
