/* /charts/ hub (1.2.0): "Live Precious Metals Prices" in the homepage design (cartify DESIGN.md tokens, Satoshi body,
   Georgia headings, teal for actions, ink for selections and prices, gold only as a material accent). */
.bth{--ink:var(--bt-ink,#182B2B);--muted:#56645F;--paper:var(--bt-paper,#F1F5F3);--line:var(--bt-line,#DCE5E0);--primary:var(--bt-primary,#185C53);--gold:var(--bt-gold,#A87B30);--pos:var(--bt-success,#216445);--neg:var(--bt-danger,#A5333D);
 /* variables the shared chart styles in spot.css read */
 --accent:var(--bt-ink,#182B2B);--card:#fff;--border:var(--bt-line,#DCE5E0);--radius:12px;
 color:var(--ink);font-family:var(--bt-font-body,Satoshi,Arial,sans-serif);font-size:16px;line-height:1.55}
.bth *,.bth *::before,.bth *::after{box-sizing:border-box}
.bth a{color:var(--primary)}
.bth [hidden]{display:none!important}
.bth .is-pos{color:var(--pos)}
.bth .is-neg{color:var(--neg)}

/* Hero */
.bth-hero{display:flex;flex-direction:column;gap:8px;padding:30px 40px 30px;background:var(--paper)}
.bth-crumbs{margin:0;font-size:13px;color:var(--muted)}
.bth-crumbs a{color:var(--muted)}
.bth-kicker{display:flex;align-items:center;gap:10px;margin:8px 0 0;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.bth-kicker::before{content:"";width:28px;height:2px;background:var(--gold)}
.bth-title{margin:0;font-family:var(--bt-font-display,Georgia,'Times New Roman',serif);font-size:clamp(34px,3.6vw,50px);font-weight:400;line-height:1.08;letter-spacing:-.03em;color:var(--ink);text-wrap:balance}
.bth-sub{margin:2px 0 0;max-width:680px;font-size:18px;line-height:1.5;color:var(--muted)}
.bth-prose{margin:8px 0 0;max-width:900px;font-size:15px;line-height:1.6}
.bth-prose:empty{display:none}
.bth-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;margin:6px 0 0;font-size:13px;color:var(--muted)}
.bth-live{display:inline-flex;align-items:center;gap:6px;font-weight:700;color:var(--pos)}
.bth-live::before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}
.bth-live.is-delayed{color:var(--muted)}

/* Metal cards */
.bth-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:24px}
.bth-card{display:flex;flex-direction:column;gap:8px;min-width:0;padding:18px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink)!important;text-decoration:none;transition:border-color .16s}
.bth-card:hover{border-color:var(--primary)}
.bth-card__top{display:flex;align-items:center;gap:10px}
.bth-card__name{font-size:17px;font-weight:700}
.bth-card__sym{margin-left:auto;font-size:13px;color:var(--muted)}
.bth-card__price{font-size:26px;font-weight:700;line-height:1.15;font-variant-numeric:tabular-nums}
.bth-card__unit{font-size:14px;font-weight:500;color:var(--muted)}
.bth-card__side{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);vertical-align:middle}
.bth-chg{align-self:flex-start;padding:2px 10px;border-radius:999px;background:var(--paper);font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
.bth-chg.is-pos{background:#E6F2EB}
.bth-chg.is-neg{background:#F8E9EA}
.bth-spark{display:block;width:100%;height:70px;overflow:visible}
.bth-spark__line{fill:none;stroke:var(--ink);stroke-width:1.6;vector-effect:non-scaling-stroke;stroke-linejoin:round}
.bth-spark__area{stroke:none;fill-opacity:.25}
.bth-spark--gold .bth-spark__area{fill:#C9A23F}
.bth-spark--silver .bth-spark__area{fill:#B9C2C4;fill-opacity:.35}
.bth-spark--platinum .bth-spark__area{fill:#C9D0D2;fill-opacity:.4}
.bth-spark--palladium .bth-spark__area{fill:#9AA4A7;fill-opacity:.35}
.bth-card__range{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.bth-card__link{font-size:14px;font-weight:700;color:var(--primary)}
.bth-swatch{display:inline-block;flex:0 0 auto;width:20px;height:20px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(24,43,43,.2);vertical-align:middle}
.bth-swatch--gold{background:#C9A23F}.bth-swatch--silver{background:#B9C2C4}.bth-swatch--platinum{background:#DDE2E4}.bth-swatch--palladium{background:#9AA4A7}

/* Sections */
.bth-sec{margin-top:56px}
.bth-h2{margin:0 0 16px;font-family:var(--bt-font-display,Georgia,'Times New Roman',serif);font-size:clamp(26px,2.4vw,32px);font-weight:400;line-height:1.15;letter-spacing:-.02em;color:var(--ink)}
.bth-h3{margin:0;font-family:inherit;font-size:17px;font-weight:700;color:var(--ink)}
.bth-lede{margin:-6px 0 18px;max-width:760px;font-size:16px;color:var(--muted)}
.bth-note{margin:10px 0 0;max-width:900px;font-size:13px;line-height:1.55;color:var(--muted)}

/* Big chart */
.bth-chart{margin-top:56px}
.bth-chart__head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;margin-bottom:14px}
.bth-chart__head .bth-h2{margin:0}
.bth-tabs{display:inline-flex;flex-wrap:wrap;gap:4px;padding:4px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}
.bth-tab{min-height:40px;padding:0 16px;border:0;border-radius:9px;background:transparent;color:var(--muted);font:inherit;font-size:15px;font-weight:700;cursor:pointer;transition:background-color .16s,color .16s}
.bth-tab:hover{color:var(--ink)}
.bth-tab[aria-pressed=true]{background:var(--ink);color:#fff}
.bth-chart__card{padding:18px!important;border-radius:16px!important}
.bth .btllc-spot__range{min-height:36px;border-radius:8px}
.bth .btllc-spot__export{min-height:36px}

/* Tables */
.bth-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:#fff}
.bth-scroll:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.bth-table{width:100%;min-width:640px;margin:0;border-collapse:collapse;font-size:15px}
.bth-table th,.bth-table td{padding:13px 16px;border:0;border-bottom:1px solid #EEF2F0;text-align:left;vertical-align:middle;white-space:nowrap}
.bth-table thead th{background:var(--paper);font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.bth-table tbody tr:last-child th,.bth-table tbody tr:last-child td{border-bottom:0}
.bth-table tbody th{font-weight:700}
.bth-table tbody th a{display:inline-flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none}
.bth-table tbody th a:hover{color:var(--primary);text-decoration:underline}
.bth-num{text-align:right!important;font-variant-numeric:tabular-nums}
.bth-table thead th:not(:first-child){text-align:right}
.bth-strong{font-weight:700}
.bth-table--perf td{line-height:1.3}
.bth-pct{display:block;font-weight:700}
.bth-then{display:block;font-size:12px;color:var(--muted)}

/* Gold/silver ratio */
.bth-ratio{display:flex;flex-wrap:wrap;align-items:flex-start;gap:24px 40px}
.bth-ratio__text{flex:1 1 320px;min-width:0}
.bth-ratio__now{margin:0 0 12px;font-size:46px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}
.bth-ratio__unit{font-size:15px;font-weight:500;color:var(--muted)}
.bth-facts{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;font-size:15px}
.bth-facts li{padding-top:8px;border-top:1px solid var(--line)}
.bth-ratio__fig{flex:2 1 480px;min-width:0;margin:0;padding:18px 18px 12px;border:1px solid var(--line);border-radius:16px;background:#fff}
.bth-rchart{position:relative;height:260px;margin:0 0 26px 34px}
.bth-rchart svg{display:block;width:100%;height:100%;overflow:visible}
.bth-rchart__grid{stroke:#EEF2F0;stroke-width:1;vector-effect:non-scaling-stroke}
.bth-rchart__area{fill:var(--gold);fill-opacity:.12;stroke:none}
.bth-rchart__line{fill:none;stroke:var(--ink);stroke-width:1.4;vector-effect:non-scaling-stroke;stroke-linejoin:round}
.bth-rchart__avg{stroke:var(--gold);stroke-width:1.5;stroke-dasharray:6 5;vector-effect:non-scaling-stroke}
.bth-rchart__y{position:absolute;left:-34px;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.bth-rchart__x{position:absolute;bottom:-22px;transform:translateX(-50%);font-size:12px;color:var(--muted)}

/* Dealer data */
.bth-dealer__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.bth-dealer__card{display:flex;flex-direction:column;gap:12px;padding:18px;border:1px solid var(--line);border-radius:12px;background:#fff}
.bth-dealer__name{display:flex;align-items:center;gap:10px;margin:0;font-size:17px;font-weight:700}
.bth-dealer__row{display:flex;flex-direction:column;gap:1px;margin:0;padding-top:10px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}
.bth-dealer__row strong{font-size:18px;color:var(--ink);font-variant-numeric:tabular-nums}
.bth-dealer__sub{font-size:12px}
.bth-dealer__links{display:flex;flex-wrap:wrap;gap:6px 16px;margin:auto 0 0;font-size:14px;font-weight:700}

/* Notes + Journal */
.bth-two{display:flex;flex-wrap:wrap;align-items:flex-start;gap:24px}
.bth-notes{flex:1 1 420px;min-width:0;display:flex;flex-direction:column;gap:12px;padding:22px;border-radius:16px;background:var(--paper)}
.bth-notes ul{display:flex;flex-direction:column;gap:12px;margin:0;padding:0;list-style:none}
.bth-notes li{display:flex;flex-direction:column;gap:2px;padding-top:12px;border-top:1px solid var(--line);font-size:15px}
.bth-notes__tag{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
/* Notes link to the page behind each number (2026-10-21). */
.bth-notes__link{display:flex;flex-direction:column;gap:2px;color:var(--ink)!important;text-decoration:none}
.bth-notes__link .bth-notes__text::after{content:" \2192";color:var(--primary);font-weight:700}
.bth-notes__link:hover .bth-notes__text{text-decoration:underline;text-underline-offset:3px}

/* Premiums, deals, news and what we pay + learn tools (2026-10-21) */
.bth-more__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.bth-more__card{display:flex;flex-direction:column;gap:10px;min-width:0;padding:18px;border:1px solid var(--line);border-radius:12px;background:#fff}
.bth-more__card p{margin:0;font-size:14px;line-height:1.55;color:var(--muted)}
.bth .bth-more__name{margin:0;font-family:inherit;font-size:17px;font-weight:700;line-height:1.3}
.bth-more__name a{color:var(--ink)!important;text-decoration:none}
.bth-more__name a:hover{color:var(--primary)!important;text-decoration:underline;text-underline-offset:3px}
.bth-more__brief a{display:block;font-family:var(--bt-font-display,Georgia,serif);font-size:17px;line-height:1.3;color:var(--ink)!important;text-decoration:none}
.bth-more__brief a:hover{text-decoration:underline;text-underline-offset:3px}
.bth-more__brief span{display:block;margin-top:4px;font-size:12px}
.bth-more__mood a{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;color:var(--ink)!important;text-decoration:none;font-size:14px}
.bth-more__mood strong{font-size:18px;font-variant-numeric:tabular-nums}
.bth-more__mood span{padding:1px 9px;border-radius:999px;background:var(--paper);font-size:12px;font-weight:700}
.bth-more__card .bth-more__links{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:auto;padding-top:4px;font-size:14px;font-weight:700}
.bth-tools{display:flex;flex-direction:column;gap:10px;margin-top:20px;padding:18px 20px;border-radius:12px;background:var(--paper)}
.bth-tools__list{display:flex;flex-wrap:wrap;gap:8px}
.bth-tools__list a{display:inline-flex;align-items:center;min-height:40px;padding:6px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink)!important;font-size:14px;font-weight:600;text-decoration:none}
.bth-tools__list a:hover{border-color:var(--primary);color:var(--primary)!important}
.bth-tools .bth-note{margin:0}
.bth-journal{flex:1 1 420px;min-width:0;display:flex;flex-direction:column;gap:14px;padding:22px;border:1px solid var(--line);border-radius:16px;background:#fff}
.bth-journal__head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.bth-journal__head a{font-size:14px;font-weight:600}
.bth-journal ul{display:flex;flex-direction:column;gap:14px;margin:0;padding:0;list-style:none}
.bth-journal li a{display:flex;align-items:flex-start;gap:12px;color:var(--ink);text-decoration:none}
.bth-journal li a:hover .bth-journal__title{text-decoration:underline;text-underline-offset:3px}
.bth-journal__img{flex:0 0 112px;width:112px;height:63px;overflow:hidden;border-radius:6px;background:var(--paper)}
.bth-journal__img img{display:block;width:100%;height:100%;object-fit:cover}
.bth-journal__text{min-width:0;display:flex;flex-direction:column;gap:2px}
.bth-journal__meta{font-size:12px;color:var(--muted)}
.bth-journal__title{font-size:15px;font-weight:700;line-height:1.35}

/* How these prices work */
.bth-method__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0}
.bth-method__grid div{padding:18px;border:1px solid var(--line);border-radius:12px;background:#fff}
.bth-method__grid dt{margin:0 0 6px;font-size:16px;font-weight:700}
.bth-method__grid dd{margin:0;font-size:15px;line-height:1.55;color:var(--ink)}

/* Who publishes these prices */
.bth-about{display:flex;flex-direction:column;gap:10px;margin-top:56px;padding:30px 32px;border-radius:16px;background:var(--ink);color:#DCE5E0}
.bth-about p{margin:0;max-width:760px;font-size:15px;line-height:1.6}
.bth-about__kicker{font-size:11px!important;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#E4CE9B}
.bth-about__title{margin:0;font-family:var(--bt-font-display,Georgia,serif);font-size:28px;font-weight:400;line-height:1.2;color:#fff}
.bth-about__facts{display:flex;flex-direction:column;gap:6px;margin:4px 0 0;padding:0 0 0 18px;font-size:14px}
.bth-about__links{display:flex;flex-wrap:wrap;gap:6px 22px;padding-top:6px}
.bth-about__links a{color:#fff!important;font-weight:700;text-decoration:underline;text-underline-offset:3px}

/* FAQ */
.bth-faq{display:flex;flex-direction:column;gap:12px}
.bth-faq .bth-h2{margin-bottom:6px}
.bth-faq__item{padding:16px 18px;border:1px solid var(--line);border-radius:12px;background:#fff}
.bth-faq__item summary{font-size:16px;font-weight:700;cursor:pointer}
.bth-faq__item p{margin:10px 0 0;max-width:72ch;font-size:15px;line-height:1.6}

/* Links and fine print */
.bth-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:40px}
.bth-links a{display:inline-flex;align-items:center;min-height:40px;padding:6px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink)!important;font-size:14px;font-weight:600;text-decoration:none}
.bth-links a:hover{border-color:var(--primary);color:var(--primary)!important}
.bth-disclaimer{margin:20px 0 0;padding:14px 16px;border-radius:10px;background:var(--paper);font-size:13px;color:var(--muted)}

@media (max-width:1100px){
 .bth-cards,.bth-dealer__grid,.bth-more__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .bth-method__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:767px){
 .bth-hero{padding:22px 16px}
 .bth-sub{font-size:16px}
 .bth-meta{gap:4px 12px;font-size:12px}
 .bth-cards{gap:10px;margin-top:16px}
 .bth-card{padding:12px;gap:6px}
 .bth-card__name{font-size:15px}
 .bth-card__price{font-size:19px}
 .bth-card__unit{display:none}
 .bth-card__side{font-size:10px}
 .bth-chg{font-size:12px;padding:1px 8px}
 .bth-spark{height:44px}
 .bth-card__range{flex-direction:column;gap:0;font-size:11px}
 .bth-card__link{font-size:13px}
 .bth-sec,.bth-chart,.bth-about{margin-top:40px}
 .bth-chart__head{flex-direction:column;align-items:flex-start}
 .bth-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%}
 .bth-tab{padding:0 6px;font-size:14px}
 .bth-chart__card{padding:12px!important}
 .bth-ratio__now{font-size:38px}
 .bth-ratio__fig{padding:14px 12px 10px}
 .bth-rchart{height:200px}
 .bth-dealer__grid,.bth-method__grid,.bth-more__grid{grid-template-columns:minmax(0,1fr)}
 .bth-tools{padding:16px}
 .bth-about{padding:22px 18px}
 .bth-about__title{font-size:24px}
 .bth-notes,.bth-journal{padding:18px}
}
@media (prefers-reduced-motion:reduce){
 .bth *{transition:none!important}
}
