/* /venues/ and /venues/<coin>/ */
.vn-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px 16px; }
.vn-head > .data-asof { grid-column: 1 / -1; justify-self: start; margin: 0; }
.vn-eyebrow { margin: 0 0 6px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .01em; text-transform: none; color: var(--mint); }
.vn-view { display: inline-flex; flex: none; padding: 3px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); margin-top: 4px; }
.vn-view button { font: inherit; font-size: 13px; font-weight: 600; min-height: 36px; min-width: 76px; padding: 0 14px; border: 0; border-radius: 7px; background: none; color: var(--text-dim); cursor: pointer; }
.vn-view button:hover { color: var(--text); }
.vn-view button[aria-pressed="true"] { background: var(--surface-2); color: var(--paper, #ecf5ef); box-shadow: inset 0 0 0 1px var(--border-strong); }
.vn-view button:focus-visible { outline: 2px solid var(--mint); outline-offset: 1px; }

body.v-simple .d-only { display: none !important; }
body.v-detail .s-only { display: none !important; }

.vn-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: 10px; }
.vn-tbl { font-variant-numeric: tabular-nums; }
.vn-tbl thead th { white-space: nowrap; }
.vn-tbl tbody td { white-space: nowrap; }
.vn-tbl tbody tr:last-child td { border-bottom: 0; }
.vn-tbl td.num, .vn-tbl th.num { text-align: right; }
.vn-tbl td.wrap { white-space: normal; min-width: 170px; max-width: 240px; font-size: 12px; }
.vn-tbl td.state { color: var(--text-dim); }
.vn-tbl .vn-name { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; }
.vn-tbl .vn-name a { color: inherit; text-decoration: none; }
.vn-tbl .vn-name a:hover { color: var(--mint); }
.vn-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.vn-sub { color: var(--text-dim); font-size: 11.5px; }
.vn-tbl td.gain { color: var(--gain); }
.vn-tbl td.loss { color: var(--loss); }
.vn-tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 5px; border: 1px solid var(--border-strong); color: var(--text-mid); }
.vn-tag.ok { color: var(--mint); border-color: rgba(157, 245, 207, .3); }
.vn-tag.view { color: var(--text-dim); }
.vn-tag.pend { color: var(--amber); border-color: rgba(227, 173, 82, .3); }
.vn-flags { color: var(--text-dim); font-size: 11px; }
.vn-note, .vn-lead { font-size: 12px; color: var(--text-dim); line-height: 1.6; margin: 10px 0 0; max-width: 820px; }
.vn-note a { color: var(--mint); }
.vn-lead { margin: 0 0 12px; color: var(--text-mid); font-size: 13px; }
.vn-how { margin: 0; padding-left: 18px; color: var(--text-mid); font-size: 13px; line-height: 1.7; max-width: 860px; }
.vn-how li + li { margin-top: 6px; }
.vn-coins { display: flex; flex-wrap: wrap; gap: 8px; }
.vn-coins a { font-size: 12.5px; font-weight: 600; color: var(--text-mid); text-decoration: none; padding: 7px 12px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface); }
.vn-coins a:hover { color: var(--mint); border-color: var(--border-strong); }
.vn-coins a small { color: var(--text-dim); font-weight: 500; margin-left: 4px; }
.vn-back { display: inline-block; margin-bottom: 6px; font-size: 12.5px; color: var(--text-mid); text-decoration: none; }
.vn-back:hover { color: var(--mint); }
.vn-chart { position: relative; height: 300px; padding: 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.vn-legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 10px; font-size: 12px; color: var(--text-mid); }
.vn-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.vn-trademark { display: block; margin-top: 6px; }

.m-only, .m-inl { display: none; }
@media (max-width: 720px) {
  .m-hide { display: none; }
  .m-only { display: block; margin-top: 3px; line-height: 1.45; }
  .m-inl { display: inline; }
  .vn-tbl thead th { font-size: var(--fs-xs); letter-spacing: .04em; }
  .vn-tag { font-size: var(--fs-xs); padding: 2px 5px; }
  .vn-head { grid-template-columns: minmax(0, 1fr); }
  .vn-view { margin-top: 0; justify-self: start; }
  .vn-tbl thead th, .vn-tbl tbody td { padding: 10px 7px; font-size: 12.5px; }
  .vn-chart { height: 240px; padding: 8px; }
}

.vn-disclaimer { margin: 0 0 22px; padding: 10px 14px; border: 1px solid rgba(227, 173, 82, .28); border-left: 3px solid var(--amber); border-radius: 8px; background: var(--surface); color: var(--text); font-size: 13.5px; font-weight: 600; line-height: 1.5; }
.vn-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: 0 0 12px; }
.vn-cost { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--text-mid); }
.vn-cost > span { margin-right: 6px; }
.vn-cost button { font: inherit; font-size: 12.5px; font-weight: 600; min-height: 32px; padding: 0 11px; border: 1px solid var(--border-strong); border-radius: 7px; background: none; color: var(--text-dim); cursor: pointer; }
.vn-cost button:hover { color: var(--text); }
.vn-cost button[aria-pressed="true"] { background: var(--surface-2); color: var(--paper, #ecf5ef); }
.vn-cost button:focus-visible { outline: 2px solid var(--mint); outline-offset: 1px; }
.vn-empty { margin: 0 0 12px; padding: 9px 13px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface); color: var(--text); font-size: 13px; font-weight: 600; }
.vn-empty[hidden] { display: none; }
.vn-filter { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12.5px; color: var(--text-mid); cursor: pointer; min-height: 32px; }
.vn-filter[hidden] { display: none; }
.vn-filter input { width: 16px; height: 16px; accent-color: var(--mint); margin: 0; flex: none; }
.vn-tbl tbody tr.vn-dim td { opacity: .45; }
.vn-tbl tbody tr.vn-dim:hover td { opacity: .8; }

/* /venues/<venue>/: site tones; the venue's brand color (--vp-brand, docs/venues-2026-09-29/BRAND.md)
   only as an accent: top stripe, logo chip ring, chart line, tab underline, crypto share in the mix bar. */
.vn-ext { color: var(--text-dim); font-weight: 500; font-size: 12px; text-decoration: none; }
.vn-ext:hover { color: var(--mint); }
.vn-tag.unv { color: var(--amber); border-color: rgba(227, 173, 82, .3); }
.vn-tag.cls { color: var(--text-mid); }
.vp-head { position: relative; padding-top: 18px; }
.vp-head::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 2px; background: var(--vp-brand); }
.vp-id { display: flex; align-items: center; gap: 14px; margin: 6px 0 4px; }
.vp-id h1 { margin: 0; }
.vp-logo { flex: none; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--surface); border: 1px solid var(--border-strong); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--vp-brand) 45%, transparent); }
.vp-logo img { width: 30px; height: 30px; object-fit: contain; display: block; }
.vp[data-venue="extended"] .vp-logo img { width: 46px; height: 46px; } /* the kit's logomark sits in a 200px box with 60px margins */
.vp[data-venue="hyperliquid"] .vp-logo img { width: 36px; height: 36px; }
.vp-chain { margin: 4px 0 0; font-size: 13px; color: var(--text-mid); }
.vp-chain b { color: var(--text); font-weight: 600; }
.vp-chain a { color: var(--mint); text-decoration: none; }
.vp-chain a:hover { text-decoration: underline; }
.vp-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 28px; }
.vp-card { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 14px 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.vp-card > span { font-size: var(--fs-sm); color: var(--text-mid); }
.vp-card b { font-size: var(--fs-2xl); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: var(--text); font-variant-numeric: tabular-nums; }
.vp-card small { font-size: var(--fs-xs); color: var(--text-dim); }
.vp-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; }
.vp-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.vp-facts > div { padding: 12px 14px; border-bottom: 1px solid var(--border); min-width: 0; }
.vp-facts > div:nth-child(odd) { border-right: 1px solid var(--border); }
.vp-facts > div:nth-last-child(-n+2) { border-bottom: 0; }
.vp-facts dt { font-size: 11.5px; color: var(--text-dim); margin-bottom: 4px; }
.vp-facts dd { margin: 0; font-size: 13.5px; color: var(--text); line-height: 1.5; overflow-wrap: anywhere; }
.vp-facts dd a { color: var(--mint); text-decoration: none; }
.vp-mixbox { padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.vp-mixbox h3 { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--text); }
.vp-bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--surface-2); margin-bottom: 8px; }
.vp-bar span { display: block; height: 100%; }
.vp-mixt thead th, .vp-mixt tbody td { padding: 7px 6px; font-size: 12.5px; }
.vp-tabs { display: flex; gap: 18px; margin: 0 0 10px; border-bottom: 1px solid var(--border); }
.vp-tabs button { font: inherit; font-size: 13px; font-weight: 600; padding: 8px 2px; min-height: 36px; border: 0; background: none; color: var(--text-dim); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.vp-tabs button:hover { color: var(--text); }
.vp-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--vp-brand); }
.vp-tabs button:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
@media (max-width: 900px) {
  .vp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vp-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .vp-facts { grid-template-columns: minmax(0, 1fr); }
  .vp-facts > div:nth-child(odd) { border-right: 0; }
  .vp-facts > div:nth-last-child(2) { border-bottom: 1px solid var(--border); }
  .vp-card b { font-size: 20px; }
  .vp-logo { width: 42px; height: 42px; }
}

/* standard asset line on /venues/<coin>/ (asset_map) */
.vn-asset { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 2px 0 6px; font-size: 13px; color: var(--text-mid); min-height: 22px; }
/* asset logos (lib/asset-logos.mjs: Hyperliquid icon or first-letter badge) */
.vn-logo { width: 16px; height: 16px; border-radius: 50%; flex: none; object-fit: contain; vertical-align: -3px; }
.vn-asset .vn-logo { width: 20px; height: 20px; vertical-align: middle; }
.vn-coins a .vn-logo { margin-right: 6px; }
.vn-coins a .vn-tag { margin-left: 6px; font-size: var(--fs-xs); padding: 1px 5px; }
/* "Trade on X" referral button (lib/venues.mjs REFERRAL_LINKS; hidden when the link is empty) */
.vn-trade-wrap { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-left: 8px; vertical-align: middle; }
p.vn-trade-wrap { display: flex; margin: 10px 0 0; }
.vn-trade { display: inline-block; padding: 3px 9px; border: 1px solid var(--border-strong); border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--mint); text-decoration: none; white-space: nowrap; }
.vn-trade:hover { border-color: var(--mint); }
.vn-ref { font-size: var(--fs-xs); color: var(--text-dim); text-decoration: none; white-space: nowrap; }
.vn-ref:hover { color: var(--text-mid); text-decoration: underline; }

/* /venues/fees/ calculator */
.fe-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 20px; margin: 0 0 24px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.fe-field { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .01em; text-transform: none; color: var(--text-dim); }
.fe-field > span:first-child { line-height: 1.2; }
.fe-money { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--bg, transparent); }
.fe-money b { color: var(--text-dim); font-weight: 600; }
.fe-money input { width: 150px; border: 0; outline: 0; background: none; color: var(--text); font: inherit; font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }
.fe-money:focus-within { border-color: var(--mint); }
.fe-money input.fe-bad { color: var(--loss); }
.fe-seg { text-transform: none; letter-spacing: 0; }
.fe-hint { flex-basis: 100%; margin: 0; font-size: 12px; color: var(--text-dim); line-height: 1.5; }
.fe-field select { min-height: 36px; padding: 0 10px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; font-size: 13px; letter-spacing: 0; text-transform: none; max-width: 100%; }
.fe-disc { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 24px; }
.fe-field[hidden] { display: none; }
.fe-basis { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 100%; }
.fe-basis .fe-seg { flex-wrap: wrap; }
.fe-basis select:disabled { opacity: .5; }
.fe-refs { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; border: 0; }
.fe-refs legend { padding: 0; margin-bottom: 6px; font-size: 11px; font-weight: 700; letter-spacing: .01em; text-transform: none; color: var(--text-dim); }
.fe-tbl tbody tr.fe-best td { background: rgba(157, 245, 207, .05); }
.fe-tbl tbody tr.fe-best td:first-child { box-shadow: inset 3px 0 0 var(--mint); }
.fe-tbl td.fe-bestcell { color: var(--mint); font-weight: 600; }
.fe-est { display: inline-block; font-size: var(--fs-xs); font-weight: 600; color: var(--text-dim); border: 1px dashed var(--border-strong); border-radius: 4px; padding: 0 4px; line-height: 1.5; cursor: help; }
.fe-chart { position: relative; padding: 10px 8px 4px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.fe-chart svg { display: block; max-width: 100%; }
.fe-grid { stroke: var(--border); stroke-width: 1; }
.fe-ax { fill: var(--text-dim); font-size: 11px; }
.fe-lbl { fill: var(--text-mid); font-size: 11.5px; }
.fe-cross { stroke: var(--text-dim); stroke-width: 1; stroke-dasharray: 3 3; }
.fe-tip { position: absolute; z-index: 2; width: 200px; padding: 8px 10px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface-2); color: var(--text); font-size: 12px; line-height: 1.6; pointer-events: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.fe-tip[hidden] { display: none; }
.fe-tip div { display: flex; align-items: center; gap: 6px; }
.fe-tip .num { margin-left: auto; font-variant-numeric: tabular-nums; }
.fe-share { display: flex; align-items: flex-end; margin-left: auto; }
.fe-copy { min-height: 36px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface-2); color: var(--text); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.fe-copy:hover, .fe-copy:focus-visible { border-color: var(--mint); color: var(--mint); }
.fe-scope { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 10px 0 0; padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); font-size: 12.5px; line-height: 1.5; color: var(--text-mid); }
.fe-scope b { color: var(--text); font-weight: 600; }
.fe-ver { margin-left: auto; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.fe-pilot a { color: var(--mint); }
.fe-det { margin: 0 0 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); padding: 0 14px; }
.fe-det summary { cursor: pointer; padding: 12px 0; font-size: 13.5px; list-style-position: inside; }
.fe-det summary a, .vn-tbl td a { color: var(--mint); }
.fe-det[open] { padding-bottom: 12px; }
.fe-det .vn-scroll { margin: 0 0 10px; }
.vn-feelink { color: var(--mint); font-size: 12.5px; text-decoration: none; }
.vn-feelink:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .fe-form { padding: 12px; gap: 12px 14px; }
  .fe-money input { width: 120px; }
  .fe-disc { gap: 12px; }
}

/* venue logomarks (Swan.venueMark, swan.css .vmark): legend line swatch and the phone pair */
.vn-leg { display: inline-flex; align-items: center; gap: 8px; }
.vn-line { width: 14px; height: 3px; border-radius: 2px; flex: none; }
.vn-pair { flex-direction: column; gap: 4px; margin-top: 6px; font-size: 12px; color: var(--text-mid); font-weight: 500; }
.vn-pair-leg { display: inline-flex; align-items: center; gap: 6px; }
.vn-pair-dir { min-width: 34px; color: var(--text-dim); font-size: 11px; }
@media (max-width: 720px) { .vn-pair.m-only { display: flex; } }

/* /venues/ compare board (Kai 2026-10-01): one framed table that still reads when cropped alone:
   title with the asset, snapshot time, sources line and the site mark inside the frame. */
.vb-section { margin-top: 4px; }
.vb-assets { display: inline-flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.vb-assets button { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 13.5px; font-weight: 600; min-height: 38px; padding: 0 14px 0 10px; border: 1px solid var(--border-strong); border-radius: 9px; background: var(--surface); color: var(--text-mid); cursor: pointer; }
.vb-assets button img { width: 18px; height: 18px; border-radius: 50%; display: block; }
.vb-assets button:hover { color: var(--text); }
.vb-assets button[aria-pressed="true"] { color: var(--paper, #ecf5ef); border-color: var(--mint); background: var(--surface-2); }
.vb-assets button:focus-visible { outline: 2px solid var(--mint); outline-offset: 1px; }
.vb { margin: 0; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); overflow: hidden; }
.vb.vb-wait .vb-tbl tbody { opacity: .35; }
.vb-cap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 14px 16px 12px; border-bottom: 1px solid var(--border); }
.vb-title { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--paper, #ecf5ef); }
.vb-time { font-size: 12px; color: var(--text-mid); font-variant-numeric: tabular-nums; }
.vb-scroll { border: 0; border-radius: 0; }
.vb-tbl thead th { vertical-align: bottom; }
.vb-th-sub { display: block; font-size: var(--fs-xs); font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--text-dim); }
.vb-tbl tbody td { vertical-align: top; }
.vb-tbl td:first-child .vb-badge { margin-left: 0; }
.vb-val { display: inline-flex; align-items: center; gap: 10px; justify-content: flex-end; }
.vb-val b { font-weight: 600; color: var(--text); min-width: 54px; text-align: right; }
.vb-bar { display: inline-block; width: 56px; height: 6px; border-radius: 3px; background: var(--surface-2, #12211a); overflow: hidden; flex: none; }
.vb-bar i { display: block; height: 100%; border-radius: 3px; background: var(--mint-deep); }
.vb-sub { display: block; margin-top: 3px; font-size: 11px; color: var(--text-dim); font-weight: 500; white-space: nowrap; }
.vb-badge { display: table; margin: 4px 0 0 auto; padding: 1px 6px; border-radius: 4px; border: 1px solid rgba(157, 245, 207, .35); color: var(--mint); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .02em; vertical-align: 1px; white-space: nowrap; }
.vb-tbl .pos { color: var(--text); }
.vb-tbl .neg { color: var(--rose); }
.vb-dim { color: var(--text-dim); }
.vb-tbl .m-only { display: none; }
.vb-chain { color: var(--text-mid); }
.vb-nodata td { color: var(--text-dim); }
.vb-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 10px 16px; border-top: 1px solid var(--border); font-size: 11.5px; line-height: 1.5; color: var(--text-dim); }
.vb-src { max-width: 860px; }
.vb-mark { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text-mid); white-space: nowrap; }
.vb-mark img { opacity: .8; }
.vb-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 12px 0 0; font-size: 13px; }
.vb-links a { color: var(--mint); text-decoration: none; }
.vb-links a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .vb-cap { padding: 12px 12px 10px; }
  .vb-title { font-size: 15px; }
  .vb-foot { padding: 9px 12px; font-size: 11px; }
  .vb-val { flex-direction: column; align-items: flex-end; gap: 4px; }
  .vb-val b { min-width: 0; }
  .vb-bar { width: 44px; height: 4px; }
  .vb-assets button { min-height: 40px; padding: 0 12px 0 9px; }
  .vb-tbl thead th, .vb-tbl tbody td { padding: 10px 4px; }
  .vb-tbl .vmark { gap: 6px; }
  .vb-tbl .vmark-i { width: 18px; height: 18px; }
  .vb-tbl thead th { letter-spacing: .02em; }
  .vb-tbl .m-only { display: block; }
  .vb-tbl thead th:first-child, .vb-tbl tbody td:first-child { padding-left: 10px; }
  .vb-tbl thead th:last-child, .vb-tbl tbody td:last-child { padding-right: 10px; }
  .vb-tbl .vmark-n { font-size: 13px; }
  td:first-child .vb-badge { margin-left: 0; }
}
@media (max-width: 380px) {
  .vb-tbl thead th, .vb-tbl tbody td { font-size: 11.5px; padding: 9px 3px; }
  .vb-tbl .vmark-n { font-size: 12px; }
  .vb-tbl thead th { font-size: var(--fs-xs); }
  .vb-sub { font-size: var(--fs-xs); }
}
/* venue figures older than the board's snapshot (api/venues/summary age_h, Kai 2026-10-01) */
.vb-ago { display: block; margin-top: 3px; font-size: var(--fs-xs); font-weight: 600; color: var(--amber, #e3ad52); white-space: nowrap; }
.vb-rfq { color: var(--text-muted, var(--text-dim)); }
.vb-lowvol { color: var(--amber, #e3ad52); font-weight: 600; white-space: nowrap; }
/* /venues/points/ (2026-10-01) */
.pt-warn { font-size: 13px; color: var(--text-mid); line-height: 1.55; margin: 0 0 6px; max-width: 820px; }
.pt-warn b { color: var(--text); }
.pt-warn + .vn-scroll { margin-top: 12px; }
.pt-sub { display: block; font-size: 11.5px; color: var(--text-dim); line-height: 1.45; margin-top: 2px; }
.pt-line { display: block; white-space: nowrap; }
.pt-tbl td.wrap { min-width: 120px; }
.pt-tbl td.wrap { max-width: 220px; }
.pt-tbl .pt-sub a { color: var(--mint); }

/* Today in one line (Kai 2026-10-02): home #hvRead, /venues/ #vbRead. Empty = hidden. */
/* "Today" read (D2 2026-10-02): up to three facts side by side, the fact at --fs-lg, its detail on its own line */
.vn-read { display: block; margin: 12px 0 0; padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); font-size: var(--fs-lg); line-height: 1.45; color: var(--text); }
.vn-read:empty { display: none; }
.vn-read b { font-weight: 650; }
.vn-read .vn-sub { display: block; margin: 3px 0 0; font-size: var(--fs-sm); line-height: 1.45; }
.vn-read-h { display: block; margin-bottom: 6px; font-size: var(--fs-sm); font-weight: 700; color: var(--mint); }
.vn-read-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: start; gap: 10px 32px; }
.vn-read-c { min-width: 0; overflow-wrap: anywhere; }
#vbRead { margin: 0 0 12px; }
.hv-view { margin: 0 0 0 4px; align-self: center; }
@media (max-width: 720px) {
  .hv-view { display: none; }
  .vn-read { padding: 12px 14px; font-size: var(--fs-base); }
  .vn-read-row { grid-template-columns: 1fr; }
}
.vn-fday { white-space: nowrap; }

/* fee calculator: "Open {venue} →" under the cheapest row's name (Kai 2026-10-02) */
.fe-open { display: block; margin-top: 6px; }
.vn-open-head { display: flex; margin: 10px 0 0; }
.xp-opens { display: flex; flex-wrap: wrap; gap: 8px 12px; }
/* "Coming soon" venues (venues.config.json planned): one quiet line under the venue tables */
.vn-soon { font-size: 12.5px; color: var(--text-dim); margin: 10px 0 0; line-height: 1.6; }
.vn-soon a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line, rgba(255,255,255,.2)); text-underline-offset: 3px; }
.vn-soon-tag { display: inline-block; font-size: 11px; font-weight: 600; color: var(--mint); border: 1px solid currentColor; border-radius: var(--radius-ctl, 6px); padding: 0 6px; margin-right: 4px; line-height: 18px; }
/* D3 venue page: closing "Open {venue}" block */
.vp-open { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: var(--space-12); padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); }
.vp-open:empty { display: none; }
.vp-open p { margin: 0; font-size: var(--fs-base); color: var(--text-mid); max-width: 60ch; }
.vp-open p b { color: var(--text); font-weight: 600; }
/* C4 coin funding comparison: view chips, toggle legend, summary table */
.vn-fmode { margin: 0 0 8px; }
.vn-legend button.vn-leg { font: inherit; background: none; border: 0; padding: 4px 6px; margin: 0; border-radius: var(--radius-ctl); cursor: pointer; color: inherit; }
.vn-legend button.vn-leg:hover { background: var(--surface-2); }
.vn-legend button.vn-leg[aria-pressed="false"] { opacity: .4; }
.vn-fsum { margin-top: 12px; background: var(--surface); }
.vn-fsum td.num.loss { color: var(--loss); }
.vn-fsum td.num.gain { color: var(--gain); }
