/* hopium brand layer on top of vendored Tabler 1.5.0 */
.hp-logo { font-weight: 800; letter-spacing: -.02em; font-size: 1.15rem; text-decoration: none; color: inherit; }
.hp-logo span { color: var(--tblr-red); }
/* numbers in table columns align; standalone big numbers keep proportional figures */
.hp-num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.hp-hero { font-size: 3.5rem; font-weight: 600; line-height: 1.05; letter-spacing: -.02em; }
.hp-tile-value { font-size: 1.6rem; font-weight: 600; line-height: 1.2; white-space: nowrap; } /* keep "−$52K" on one line */
/* graveyard card: the verdict badge keeps its width, the name wraps; three figures fit a phone */
.hp-gy-head > div { min-width: 0; overflow-wrap: anywhere; } .hp-gy-head .badge { flex-shrink: 0; }
@media (max-width: 575.98px) { .hp-gy-figs { column-gap: 1.25rem !important; } .hp-gy-figs .hp-tile-value { font-size: 1.25rem; } }
.hp-trend { font-size: .75rem; color: var(--tblr-secondary); display: flex; flex-wrap: wrap; gap: .1rem .75rem; }
.hp-trend > span { white-space: nowrap; }
td.hp-trend { display: table-cell; } td.hp-trend > span { display: inline-block; margin-right: .6rem; }
.hp-meta ul { list-style: disc; }

/* charts — roles, not raw hex in markup. Series #3987e5 validated >= 3:1 on the #1f2937 card surface. */
.hp-chart { --surface-1: #1f2937; --series-1: #3987e5; --ref: #6b7280; --grid: #374151; position: relative; }
.hp-chart-svg { width: 100%; height: auto; display: block; overflow: visible; }
.hp-chart .hp-grid { stroke: var(--grid); stroke-width: 1; }
.hp-chart .hp-ref { stroke: var(--ref); stroke-width: 1.5; }
.hp-chart .hp-gap { stroke: var(--series-1); stroke-width: 1; opacity: .45; }
.hp-chart .hp-line { fill: none; stroke: var(--series-1); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.hp-chart .hp-dot { fill: var(--series-1); stroke: var(--surface-1); stroke-width: 2; transition: r .1s; }
.hp-chart .hp-dot.is-thin { fill: var(--surface-1); stroke: var(--series-1); }
.hp-chart .hp-hit { fill: transparent; cursor: pointer; }
.hp-chart .hp-pt { outline: none; }
.hp-chart .hp-pt.is-hot .hp-dot, .hp-chart .hp-pt:focus-visible .hp-dot { r: 6; }
.hp-chart .hp-tick, .hp-chart .hp-label { fill: var(--tblr-secondary); font-size: 12px; font-variant-numeric: tabular-nums; }
.hp-chart .hp-axis { fill: var(--tblr-secondary); font-size: 12px; }
.hp-tip { position: absolute; transform: translate(-50%, calc(-100% - 10px)); pointer-events: none; z-index: 5;
  background: #111827; border: 1px solid var(--grid); border-radius: 6px; padding: .35rem .55rem; white-space: nowrap; }
.hp-tip-v { font-weight: 600; color: var(--tblr-body-color); display: flex; align-items: center; gap: .4rem; }
.hp-tip-key { width: 12px; height: 2px; background: var(--series-1); border-radius: 1px; }
.hp-tip-l { font-size: .75rem; color: var(--tblr-secondary); }
/* keep chart text readable on phones: scroll the diagram rather than shrink it (table view also available) */
.hp-chart-scroll { overflow-x: auto; }
.hp-chart-scroll .hp-chart { min-width: 560px; }

/* navbar: logo left, links right; on phones the links get their own row and scroll sideways */
.hp-navbar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.hp-nav { margin-left: auto; }
@media (max-width: 767.98px) {
  .hp-nav { margin-left: 0; width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .hp-nav .btn { white-space: nowrap; flex-shrink: 0; }
}

/* home + live feed */
.hp-search { max-width: 36rem; }
.hp-search .form-control { font-family: var(--tblr-font-monospace); }
.hp-bet-usd { font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.hp-bet-market { color: var(--tblr-body-color); overflow-wrap: anywhere; }
.hp-bet-who { font-size: .8125rem; color: var(--tblr-secondary); }
.hp-bet-who a { color: var(--tblr-body-color); }
.hp-live-dot { display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--tblr-green); margin-right: .35rem; }
.hp-live-dot.is-stale { background: var(--tblr-orange); }
.hp-addr { font-family: var(--tblr-font-monospace); font-size: .8125rem; overflow-wrap: anywhere; }
.hp-bet-market a { color: inherit; text-decoration: none; }
.hp-bet-market a:hover { text-decoration: underline; }
