/* /premiums/by-mint/ — By mint: view styles (wave H1, owner #62). Loaded only on this page, after hub.css,
   premium-charts.css and premiums.css. Everything is scoped under .bpt--mint and reuses the shared tokens (--ink, --muted,
   --line, --paper, --primary, --gold; chart --bpc-*) and chart classes. No red; teal only for "we lowered our premium";
   the heat map is the shared single gold ramp. Phones: controls ≥ 44 px, the heat map becomes a per-maker list, chip rows
   swipe sideways inside themselves (never the page). */

/* ---------------------------------------------------------------- shared bits */
.bpt--mint .bmint-sec .bth-h2 { margin-bottom: 12px; }
.bpt--mint .bmint-note { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.bpt--mint .bmint-ctrl { display: flex; flex-direction: column; gap: 8px; margin: 0 0 14px; }
.bpt--mint .bmint-ctrl .bpc-chips { margin: 0; }
.bpt--mint .bmint-btn, .bpt--mint .bmint-reset { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); font: 700 14px/1 var(--bt-font-body, Satoshi, Arial, sans-serif); cursor: pointer; transition: background-color .16s, color .16s; }
.bpt--mint .bmint-btn:hover, .bpt--mint .bmint-reset:hover { background: var(--ink); color: #fff; }
.bpt--mint .bmint-btn:focus-visible, .bpt--mint .bmint-reset:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------------------------------------------------------------- 1. mint ladder */
.bpt--mint .bmint-lad { padding: 18px 20px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.bpt--mint .bmint-lad__title { margin: 0 0 12px; }
.bpt--mint .bmint-lad__fig .bpc-dots__rows { gap: 2px; }
.bpt--mint .bmint-lad__row { min-height: 44px; margin: 0 -8px; padding: 4px 8px; border-radius: 8px; transition: background-color .16s; }
.bpt--mint .bmint-lad__row:hover, .bpt--mint .bmint-lad__row.is-open { background: #F7FAF8; }
.bpt--mint .bmint-lad__row .bpc-dots__track { cursor: pointer; }
.bpt--mint .bmint-lad__row .bpc-dots__track .bpc-dot { width: 14px; height: 14px; margin: -7px 0 0 -7px; }
.bpt--mint .bmint-lad__row .bpc-tick { top: 3px; bottom: 3px; width: 3px; margin-left: -1.5px; opacity: .3; }
.bpt--mint .bmint-lad__row.is-generic .bpc-dots__label > a, .bpt--mint .bmint-lad__row.is-generic .bpc-dots__label > span:first-child { font-style: italic; }
.bpt--mint .bmint-lad__mark { width: 8px; height: 8px; margin: 0 0 2px 7px; cursor: default; }
.bpt--mint .bmint-lad__btn { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; min-width: 76px; min-height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font: 700 14.5px/1 var(--bt-font-body, Satoshi, Arial, sans-serif); font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color .16s, background-color .16s; }
.bpt--mint .bmint-lad__btn::after { content: ""; width: 7px; height: 7px; margin-top: -3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; opacity: .45; transform: rotate(45deg); transition: transform .16s; }
.bpt--mint .bmint-lad__btn:hover { border-color: var(--primary); }
.bpt--mint .bmint-lad__btn[aria-expanded="true"] { border-color: var(--ink); background: var(--paper); }
.bpt--mint .bmint-lad__btn[aria-expanded="true"]::after { margin-top: 3px; transform: rotate(225deg); }
.bpt--mint .bmint-lad__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.bpt--mint .bmint-lad__detail { grid-column: 1 / -1; margin: 4px 0 6px; padding: 12px 14px; border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; background: var(--paper); font-size: 14.5px; line-height: 1.5; }
.bpt--mint .bmint-lad__detail p { margin: 0 0 6px; }
.bpt--mint .bmint-lad__detail p:last-child { margin-bottom: 0; }
.bpt--mint .bmint-lad__detail a { font-weight: 650; }
.bpt--mint .bmint-lad__detail .bpt-lowered { margin-top: 4px; }
.bpt--mint .bmint-lad__detail .bpt-tag { margin: 2px 0 6px; }
.bpt--mint .bmint-lad__more a { display: inline-flex; align-items: center; min-height: 32px; }

/* ---------------------------------------------------------------- 2. heat map */
.bpt--mint .bmint-heat { margin: 0; }
.bpt--mint .bmint-heat + .bmint-heat { margin-top: 24px; }
.bpt--mint .bmint-heat__cap { margin: 0 0 10px; }
.bpt--mint .bmint-heat__nojs { margin: 0; font-size: 14px; color: var(--muted); } /* J1: the grid is built from the table rows */
.bpt--mint .bmint-heat__table { width: auto; min-width: 100%; font-size: 13.5px; }
.bpt--mint .bmint-heat__table thead .bmint-heat__groups th { padding: 8px 6px 2px; border-bottom: 2px solid var(--line); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; }
.bpt--mint .bmint-heat__table thead tr:last-child th { padding: 4px 2px; }
.bpt--mint .bmint-heat__table thead .bmint-heat__corner { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; vertical-align: bottom; }
.bpt--mint .bmint-heat__table th:first-child { position: sticky; left: 0; z-index: 1; background: #fff; }
.bpt--mint .bmint-heat__table tbody th { min-width: 150px; padding: 4px 12px 4px 4px; font-size: 14px; line-height: 1.25; }
.bpt--mint .bmint-heat__table tbody tr.is-generic th { font-style: italic; }
.bpt--mint .bmint-heat__sort { justify-content: center; width: 100%; min-height: 36px; padding: 0 4px; border-radius: 6px; font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.bpt--mint .bmint-heat__sort:hover { background: var(--paper); color: var(--ink); }
.bpt--mint .bmint-heat__table th[aria-sort] .bmint-heat__sort { color: var(--ink); }
.bpt--mint .bmint-heat__th { display: inline-block; white-space: nowrap; font-size: 12px; font-weight: 700; color: var(--muted); }
.bpt--mint .bmint-heat__table .bpc-heat__cell { min-width: 58px; padding: 9px 4px; font-size: 13.5px; outline-offset: 1px; }
.bpt--mint .bmint-heat__table .bpc-heat__cell.is-low { outline: 2px solid var(--ink); box-shadow: inset 0 0 0 1px #fff; }
.bpt--mint .bmint-heat__table .bpc-heat__cell:focus { outline: 3px solid var(--gold); outline-offset: 1px; }
.bpt--mint .bmint-heat__table .bpc-heat__cell:focus:not(:focus-visible) { outline: 2px solid var(--ink); }
.bpt--mint .bmint-heat__table td:empty { background: transparent; }
.bpt--mint .bmint-heat__legend { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 28px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.bpt--mint .bmint-heat__ramp { position: relative; display: block; width: 220px; height: 30px; }
.bpt--mint .bmint-heat__ramp i { position: absolute; left: 0; right: 0; top: 0; height: 9px; border-radius: 999px; background: linear-gradient(90deg, var(--bpc-heat-lo), var(--bpc-heat-hi)); background: linear-gradient(in oklab 90deg, var(--bpc-heat-lo), var(--bpc-heat-hi)); box-shadow: inset 0 0 0 1px rgba(24, 43, 43, .08); }
.bpt--mint .bmint-heat__ramp span { position: absolute; top: 13px; transform: translateX(-50%); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bpt--mint .bmint-heat__ramp span:nth-of-type(1) { transform: none; }
.bpt--mint .bmint-heat__ramp span:nth-of-type(3) { transform: translateX(-100%); }
.bpt--mint .bmint-heat__key { display: inline-flex; align-items: center; gap: 8px; min-height: 22px; }
.bpt--mint .bmint-heat__key b { width: 16px; height: 12px; border-radius: 3px; background: var(--bpc-heat-lo); outline: 2px solid var(--ink); outline-offset: 1px; }
/* Phone list (shown instead of the grid under 720 px) */
.bpt--mint .bmint-heatlist { display: none; margin: 0; padding: 0; list-style: none; }
.bpt--mint .bmint-heatlist__row { padding: 10px 0; border-top: 1px solid #EEF2F0; }
.bpt--mint .bmint-heatlist__row:first-child { border-top: 0; }
.bpt--mint .bmint-heatlist__name { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 700; }
.bpt--mint .bmint-heatlist__name a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.bpt--mint .bmint-heatlist__cells { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.bpt--mint .bmint-hl { display: inline-flex; align-items: baseline; gap: 7px; padding: 6px 10px; border-radius: 8px; color: var(--ink); font-size: 13px; background: var(--bpc-heat-lo); background: color-mix(in oklab, var(--bpc-heat-lo), var(--bpc-heat-hi) calc(var(--t, 0) * 100%)); }
.bpt--mint .bmint-hl b { font-weight: 700; font-variant-numeric: tabular-nums; }
.bpt--mint .bmint-hl.is-dark { color: #fff; }
.bpt--mint .bmint-hl.is-low { outline: 2px solid var(--ink); outline-offset: 1px; }

/* ---------------------------------------------------------------- 3. long tables: filters and sorting */
.bpt--mint .bmint-tables { margin-top: 56px; }
.bpt--mint .bmint-filters { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.bpt--mint .bmint-filters__h { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bpt--mint .bmint-filters .bpc-chips { margin: 0; }
.bpt--mint .bmint-filters .bpc-chips__label { min-width: 46px; }
.bpt--mint .bmint-filters__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-top: 4px; }
.bpt--mint .bmint-sortsel { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.bpt--mint .bmint-sortsel select { min-height: 40px; padding: 0 34px 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font: 600 14px/1 var(--bt-font-body, Satoshi, Arial, sans-serif); letter-spacing: 0; text-transform: none; cursor: pointer; }
.bpt--mint .bmint-sortsel select:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.bpt--mint .bmint-filters__status { margin: 0; font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bpt--mint .bmint-filters__note { margin: 0; font-size: 12.5px; color: var(--muted); }
.bpt--mint .bmint-empty { margin: 24px 0 0; padding: 18px; border: 1px dashed var(--line); border-radius: 12px; text-align: center; color: var(--muted); }
.bpt--mint .bmint-empty .bmint-reset { margin-left: 10px; }
.bpt--mint .bmint-tables > .bpt-group:first-of-type { margin-top: 40px; }
.bpt--mint .bmint-table thead th .bpc-sort { min-height: 36px; letter-spacing: inherit; text-transform: inherit; }
.bpt--mint .bmint-table thead th[aria-sort] .bpc-sort { color: var(--ink); }

/* ---------------------------------------------------------------- 4. mint and refiner cards */
.bpt--mint .bmint-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .bpt--mint .bmint-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .bpt--mint .bmint-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bpt--mint .bmint-cards.is-collapsed [data-bmint-later] { display: none; }
.bpt--mint .bmint-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.bpt--mint .bmint-card__head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.bpt--mint .bmint-card__logo { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 84px; height: 56px; padding: 6px; border: 1px solid #EEF2F0; border-radius: 10px; background: #fff; overflow: hidden; }
.bpt--mint .bmint-card__logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.bpt--mint .bmint-card__logo--text { border-color: transparent; background: var(--paper); color: var(--ink); font-family: var(--bt-font-display, Georgia, 'Times New Roman', serif); font-size: 22px; letter-spacing: .02em; }
.bpt--mint .bmint-card__id { min-width: 0; }
.bpt--mint .bmint-card__name { margin: 0; font-family: var(--bt-font-display, Georgia, 'Times New Roman', serif); font-size: 21px; font-weight: 400; line-height: 1.2; letter-spacing: -.01em; }
.bpt--mint .bmint-card__name a { color: var(--ink) !important; text-decoration: none; }
.bpt--mint .bmint-card__name a:hover { color: var(--primary) !important; text-decoration: underline; text-underline-offset: 3px; }
.bpt--mint .bmint-card__meta { margin: 3px 0 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
.bpt--mint .bmint-card__metals { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bpt--mint .bmint-card__metals > li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 9px 11px; border-radius: 10px; background: var(--paper); font-size: 14px; line-height: 1.45; }
.bpt--mint .bmint-card__metal { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.bpt--mint .bmint-card__n { font-size: 12.5px; color: var(--muted); }
.bpt--mint .bmint-card__low { flex: 1 1 100%; }
.bpt--mint .bmint-card__low b { font-variant-numeric: tabular-nums; }
.bpt--mint .bmint-card__low a { font-weight: 600; }
.bpt--mint .bmint-card .bpt-chart__label { margin: 2px 0 -6px; }
.bpt--mint .bmint-card__foot { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: auto 0 0; padding-top: 2px; }
.bpt--mint .bmint-card__foot a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 700; }
.bpt--mint .bmint-card.is-generic .bmint-card__name { font-style: italic; }
.bpt--mint .bmint-cards__more { margin: 18px 0 0; text-align: center; }

/* ---------------------------------------------------------------- phones */
@media (max-width: 719px) {
	.bpt--mint .bpc-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.bpt--mint .bpc-chips::-webkit-scrollbar { display: none; }
	.bpt--mint .bpc-chip { flex: 0 0 auto; }
	.bpt--mint .bpc-chips__label { flex: 0 0 auto; }
	.bpt--mint .bmint-lad { padding: 14px 12px 12px; }
	.bpt--mint .bmint-lad__row { margin: 0 -6px; padding: 6px; }
	.bpt--mint .bmint-lad__row .bpc-dots__track { height: 32px; }
	.bpt--mint .bmint-lad__btn { min-height: 44px; min-width: 84px; }
	.bpt--mint .bmint-lad__more a, .bpt--mint .bmint-lad__detail p > a { display: inline-flex; align-items: center; min-height: 44px; }
	.bpt--mint .bmint-heat__scroll { display: none; }
	.bpt--mint .bmint-heatlist { display: block; padding: 4px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
	.bpt--mint .bmint-heatlist__name a { display: inline-flex; align-items: center; min-height: 44px; }
	.bpt--mint .bmint-heat__ramp { width: 200px; }
	.bpt--mint .bmint-filters { padding: 14px 12px; }
	.bpt--mint .bmint-sortsel { flex: 1 1 100%; }
	.bpt--mint .bmint-sortsel select { flex: 1 1 auto; min-height: 44px; min-width: 0; }
	.bpt--mint .bmint-btn, .bpt--mint .bmint-reset { min-height: 44px; }
	.bpt--mint .bmint-table tbody th a, .bpt--mint .bmint-table .bpt-c-low > a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
	.bpt--mint .bmint-card { padding: 16px; }
	.bpt--mint .bmint-card__logo { width: 72px; height: 48px; }
	.bpt--mint .bmint-card__name a, .bpt--mint .bmint-card__low a { display: inline-flex; align-items: center; min-height: 44px; }
	.bpt--mint .bmint-card__foot a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
	.bpt--mint .bmint-lad__row, .bpt--mint .bmint-lad__btn, .bpt--mint .bmint-lad__btn::after, .bpt--mint .bmint-btn, .bpt--mint .bmint-reset { transition: none; }
}
@media (forced-colors: active) {
	.bpt--mint .bmint-hl, .bpt--mint .bmint-heat__table .bpc-heat__cell { forced-color-adjust: none; }
	.bpt--mint .bmint-lad__btn { border-color: ButtonText; }
}

/* R3: no-JS note in place of the ladder (view-mint.js draws every ladder from the table rows). */
.bpt--mint .bmint-lad__nojs { margin: 8px 0 0; font-size: 14px; color: var(--muted, #56645F); }

