/* xprhub.com burn tracker (2026-11-07; redesigned 2026-11-08). The hub's palette and type (hub/page/hub.css), copied
   here so this page stands on its own, in the leaner style of the Trade Tracker (tracker/trades.css). The one loud
   thing is the hero number; the cards under it stay quiet: burned by token, who burns, burns per day, recent burns.
   A token opens a dialog with its totals and who burned it. */
:root {
  --bg: #0d0a17; --panel: #17112a; --panel-2: #120d22; --ink: #f6f4ff; --muted: #a9a0c9; --line: #2e2350;
  --gold: #9b7bff; --purple: #7543e3; --bar: #8f6bff; --bar-on: #c9b8ff; --bad: #ff8f8f;
  --head: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html.modal-open { overflow: hidden; }
body {
  background: radial-gradient(1200px 600px at 85% -10%, rgba(117, 67, 227, .28), transparent 60%), var(--bg);
  color: var(--ink); font: 16px/1.55 var(--text); min-height: 100vh; overflow-x: hidden;
  display: flex; flex-direction: column;
}
[hidden] { display: none !important; }
/* the header and footer are the shared ones in /site.css */
main { width: 100%; max-width: 1040px; margin: 0 auto; padding: 24px 20px 40px; flex: 1; }

.small { font-size: 14px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 13px; }
.amt { font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.usd { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.usd.none { font-style: italic; }
.wait { color: var(--muted); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.link { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--ink); }

.pbtn { font: 600 14px var(--head); color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; cursor: pointer; }
.pbtn:hover:not(:disabled) { border-color: var(--gold); }
.pbtn:disabled { opacity: .4; cursor: default; }
.per { color: var(--muted); font-size: 14px; }
select { font: 500 14px var(--text); color: var(--ink); background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px; margin-left: 8px; }
select:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; }
/* "Show all": buttons that read like links */
.linkbtn { font: 600 14px var(--text); color: var(--gold); background: none; border: 0; padding: 4px 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkbtn:hover { color: var(--ink); }
.pbtn:focus-visible, .linkbtn:focus-visible, .link:focus-visible, .tok-btn:focus-visible, .chart svg:focus-visible, .days summary:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---- the hero: the all-time total in dollars ---- */
.hero { margin: 6px 0 30px; }
.hero h1 { font: 700 16px/1.3 var(--head); color: var(--gold); margin: 0 0 4px; letter-spacing: .01em; }
.hero-num { margin: 0; font: 800 clamp(54px, 12vw, 112px)/1 var(--head); letter-spacing: -.045em; color: #fff; overflow-wrap: anywhere; }
.hero-usd.none { font-size: .42em; letter-spacing: -.02em; color: var(--muted); }
.hero-cap { margin: 10px 0 0; font-size: 18px; color: var(--muted); }
.hero-xpr { margin: 14px 0 0; font-size: 16px; font-weight: 500; }
.hero-xpr:empty { display: none; }
.status { margin: 8px 0 0; font: 500 13px var(--head); color: var(--muted); }
.status.bad { color: var(--bad); }

/* ---- cards ---- */
.card { background: linear-gradient(180deg, #1e1636, var(--panel)); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px 14px; margin: 0 0 20px; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 16px; flex-wrap: wrap; margin-bottom: 10px; }
h2 { font: 700 18px var(--head); margin: 0; letter-spacing: -.01em; }
.hint { margin: 0; color: var(--muted); font-size: 13px; }
.sum { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.more { margin-top: 8px; }

/* ---- the marquee under the hero: the day's latest burns sliding left, quiet (owner 2026-11-08). Two copies of the
   list move one copy's width per loop (--dur from the page, so the speed stays the same); the strip clips them. ---- */
.ticker { margin: -8px 0 22px; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ticker-view { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker var(--dur, 60s) linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-list { display: flex; flex: none; margin: 0; padding: 0; list-style: none; }
.ticker-list li { flex: none; white-space: nowrap; padding: 9px 0; font-size: 13px; color: var(--muted); }
.ticker-list li::after { content: ""; display: inline-block; vertical-align: middle; width: 4px; height: 4px; margin: 0 18px; border-radius: 50%; background: rgba(155, 123, 255, .45); }
.ticker .t-who { color: var(--ink); font-weight: 600; text-decoration: none; }
.ticker .t-amt { color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.ticker a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ticker a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
/* everything fits: no need to move */

/* ---- tables (burned by token, days with burns) ---- */
table.list { width: 100%; border-collapse: collapse; font-size: 14px; }
table.list thead th { font: 600 13px var(--head); color: var(--muted); text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.list .num { text-align: right; }
table.list td { padding: 7px 10px; border-top: 1px solid rgba(46, 35, 80, .7); vertical-align: middle; }
table.list tbody tr:first-child td { border-top: 0; }
table.list td.msg { color: var(--muted); padding: 14px 10px; }

table.toks td.k-amt .amt { font-weight: 600; color: var(--ink); }
table.toks td.k-usd .usd { font-size: 15px; font-weight: 700; color: #fff; }
table.toks td.k-share { color: var(--muted); font-variant-numeric: tabular-nums; width: 5.5em; }
@media (hover: hover) and (min-width: 761px) { table.toks tbody tr:hover td { background: rgba(155, 123, 255, .06); } }
/* the dust: quieter */
table.toks tr.dust td { padding-top: 5px; padding-bottom: 5px; }
table.toks tr.dust .amt, table.toks tr.dust td.k-usd .usd { font-size: 13px; font-weight: 500; color: var(--muted); }
table.toks tr.dust .tok-chip { opacity: .7; }

.tok-btn { display: inline-flex; padding: 0; margin: 0; background: none; border: 0; cursor: pointer; font: inherit; border-radius: 999px; }
.tok-btn:hover .tok-chip { border-color: var(--ink); }
/* token chips, as on the trade and loan trackers */
.tok-chip { display: inline-block; min-width: 62px; text-align: center; padding: 2px 10px; border-radius: 999px; font: 800 12.5px var(--head); letter-spacing: .03em; color: #fff; background: rgba(117, 67, 227, .28); border: 1px solid rgba(155, 123, 255, .55); }
.tok-chip[data-tok="XPR"] { background: rgba(117, 67, 227, .45); border-color: #9b7bff; }
.tok-chip[data-tok="LOAN"] { background: rgba(245, 158, 11, .22); border-color: rgba(245, 158, 11, .7); color: #ffd58a; }
.tok-chip[data-tok="XMD"] { background: rgba(45, 212, 191, .18); border-color: rgba(45, 212, 191, .65); color: #9ff3e6; }
.tok-chip[data-tok="XUSDT"], .tok-chip[data-tok="XUSDC"] { background: rgba(34, 197, 94, .18); border-color: rgba(34, 197, 94, .6); color: #a7f3c2; }
.tok-chip[data-tok="XBTC"] { background: rgba(247, 147, 26, .2); border-color: rgba(247, 147, 26, .7); color: #ffc98a; }
.tok-chip[data-tok="XETH"] { background: rgba(140, 158, 255, .2); border-color: rgba(140, 158, 255, .65); color: #ccd5ff; }

/* ---- who burns ---- */
ol.top { margin: 0; padding: 0; list-style: none; counter-reset: rank; }
ol.top li { counter-increment: rank; display: grid; grid-template-columns: 2em minmax(0, 1fr) auto; grid-template-areas: "rank who val" "rank meta val"; gap: 0 12px; align-items: baseline; padding: 7px 0; border-top: 1px solid rgba(46, 35, 80, .7); }
ol.top li:first-child { border-top: 0; }
ol.top li::before { content: counter(rank) "."; grid-area: rank; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
ol.top .who { grid-area: who; font-weight: 600; overflow-wrap: anywhere; }
ol.top .meta { grid-area: meta; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
ol.top .val { grid-area: val; text-align: right; align-self: center; }
ol.top .val .usd { font-size: 14px; font-weight: 600; color: var(--ink); }

/* ---- burns per day ---- */
.chart { position: relative; min-height: 164px; }
.chart > p { margin: 0; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.chart .bar { fill: var(--bar); }
.chart .bar.tiny { fill-opacity: .45; } /* drawn 2 px tall so the day shows; its value is smaller than that */
.chart .bar.on { fill: var(--bar-on); fill-opacity: 1; }
.chart .base { stroke: var(--line); stroke-width: 1; }
.chart .peak { fill: var(--ink); font: 600 12px var(--text); font-variant-numeric: tabular-nums; }
.chart .axis { fill: var(--muted); font: 500 12px var(--text); }
.tip { position: absolute; z-index: 2; pointer-events: none; display: flex; flex-direction: column; align-items: flex-start; gap: 0;
  padding: 5px 10px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); white-space: nowrap; }
.tip strong { font: 700 14px var(--text); font-variant-numeric: tabular-nums; }
.tip span { font-size: 12px; color: var(--muted); }
.days { margin-top: 10px; }
.days summary { cursor: pointer; color: var(--gold); font: 600 14px var(--text); width: max-content; padding: 4px 0; }
.days summary:hover { color: var(--ink); }
.days[open] summary { margin-bottom: 6px; }
table.daylist { max-width: 420px; }
table.daylist td { padding: 4px 10px; }
table.daylist td .usd { color: var(--ink); }

/* ---- recent burns: one line each on a computer, two on a phone ---- */
ol.recent { margin: 0; padding: 0; list-style: none; font-size: 14px; }
ol.recent li { display: grid; grid-template-columns: 8.6em minmax(0, 1fr) auto 5.2em; gap: 0 14px; align-items: baseline; padding: 6px 0; border-top: 1px solid rgba(46, 35, 80, .7); }
ol.recent li:first-child { border-top: 0; }
ol.recent li.msg { display: block; color: var(--muted); padding: 12px 0; }
ol.recent .when { color: var(--muted); font-size: 13px; white-space: nowrap; }
ol.recent .what { overflow-wrap: anywhere; }
ol.recent .what .link { font-weight: 600; }
ol.recent .val { text-align: right; white-space: nowrap; }
ol.recent .tx { text-align: right; }

/* ---- the dialog ---- */
dialog.modal { padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); color: var(--ink);
  width: min(760px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; }
dialog.modal::backdrop { background: rgba(6, 3, 14, .74); }
.m-box { padding: 0 22px 22px; }
.m-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0 12px; background: var(--panel); border-bottom: 1px solid var(--line); }
.m-head h2 { font-size: 22px; font-weight: 800; }
.m-sub { margin: 12px 0 14px; color: var(--muted); font-size: 14px; }
.m-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin: 0 0 10px; }
.stat { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; min-width: 0; }
.stat dt { color: var(--muted); font-size: 13px; }
.stat dd { margin: 2px 0 0; }
.stat dd .amt, .stat dd .usd { display: block; }
.m-sec { margin-top: 22px; }
.m-sec h3 { font: 700 15px var(--head); color: var(--gold); margin: 0 0 8px; }
.m-sec p { margin: 8px 0 0; }
.m-sec .pbtn { margin-top: 10px; }

ol.burners, ol.mini { margin: 0; padding: 0; list-style: none; }
ol.burners { counter-reset: rank; }
ol.burners li { counter-increment: rank; display: grid; grid-template-columns: 2.2em minmax(0, 1fr) auto; grid-template-areas: "rank who amt" "rank meta usd"; gap: 0 12px; padding: 8px 0; border-top: 1px solid var(--line); }
ol.burners li:first-child { border-top: 0; }
ol.burners li::before { content: counter(rank) "."; grid-area: rank; color: var(--muted); font-variant-numeric: tabular-nums; }
ol.burners .who { grid-area: who; overflow-wrap: anywhere; font-weight: 600; }
ol.burners .amt { grid-area: amt; text-align: right; }
ol.burners .meta { grid-area: meta; color: var(--muted); font-size: 13px; }
ol.burners .usd { grid-area: usd; text-align: right; }
ol.mini li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "when amt" "who tx"; gap: 0 12px; padding: 7px 0; border-top: 1px solid var(--line); }
ol.mini li:first-child { border-top: 0; }
ol.mini .when { grid-area: when; color: var(--muted); font-size: 14px; }
ol.mini .amt { grid-area: amt; text-align: right; }
ol.mini .who { grid-area: who; overflow-wrap: anywhere; }
ol.mini .tx { grid-area: tx; text-align: right; }

/* ---- phones ---- */
@media (max-width: 760px) {
  .card { padding: 14px 14px 10px; }
  /* burned by token: token and worth; amount and share */
  table.toks, table.toks tbody { display: block; }
  table.toks thead { display: none; }
  table.toks tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "tok usd" "amt share"; gap: 2px 12px; align-items: center; padding: 8px 0; border-top: 1px solid rgba(46, 35, 80, .7); }
  table.toks tbody tr:first-child { border-top: 0; }
  table.toks td { display: block; padding: 0; border: 0; min-width: 0; }
  table.toks tr.dust { padding: 6px 0; }
  table.toks tr.dust td { padding: 0; }
  table.toks td.k-tok { grid-area: tok; }
  table.toks td.k-usd { grid-area: usd; }
  table.toks td.k-amt { grid-area: amt; text-align: left; font-size: 13px; }
  table.toks td.k-share { grid-area: share; width: auto; font-size: 13px; }
  table.toks td.msg { grid-column: 1 / -1; padding: 10px 0; }
  /* recent burns: who did what and its worth; when and the transaction */
  ol.recent li { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "what val" "when tx"; gap: 1px 12px; padding: 7px 0; }
  ol.recent .what { grid-area: what; }
  ol.recent .val { grid-area: val; }
  ol.recent .when { grid-area: when; font-size: 12px; }
  ol.recent .tx { grid-area: tx; font-size: 12px; }
}
@media (max-width: 520px) {
  main { padding-left: 16px; padding-right: 16px; padding-top: 18px; }
  .hero { margin-bottom: 24px; }
  .hero-cap { font-size: 16px; }
  .hero-xpr { font-size: 15px; }
  .m-box { padding: 0 16px 18px; }
  .m-head h2 { font-size: 19px; }
  .m-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .m-stats .stat:first-child { grid-column: 1 / -1; }
  .stat { padding: 9px 12px; }
  .stat dd { font-size: 15px; }
  ol.burners li { grid-template-columns: 1.8em minmax(0, 1fr) auto; grid-template-areas: "rank who usd" "rank amt amt" "rank meta meta"; }
  ol.burners .amt { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .wait { animation: none; }
  /* the marquee stands still as one row, scrolled by hand */
  .ticker-track { animation: none; }
  .ticker-view { overflow-x: auto; scrollbar-width: thin; -webkit-mask-image: none; mask-image: none; }
  .ticker-list[aria-hidden="true"] { display: none; }
}
