/* Billy product skin — opt-in via body.billy-product. The tenant runtime remains generic for every other brand. */
body.billy-product {
  --b-space-xs: 8px; --b-space-sm: 12px; --b-space-md: 16px; --b-space-lg: 24px; --b-space-xl: 32px;
  --b-bg: #07050d; --b-panel: #0d0917; --b-panel2: #120d22;
  --b-line: #2b2142; --b-line2: #443462;
  --b-primary: #8b5cf6; --b-primary2: #a855f7; --b-primary3: #c084fc;
  --b-text: #faf7ff; --b-muted: #b9adc9; --b-muted2: #837694;
  --b-nav: rgba(7,5,13,.86); --b-nav-border: rgba(255,255,255,.065); --b-band: rgba(4,3,8,.62);
  --b-card-start: rgba(255,255,255,.048); --b-card-end: rgba(255,255,255,.016);
  --b-subtle: rgba(255,255,255,.035); --b-selected: #171029; --b-selected-strong: #211638;
  --b-green: #4ade80; --b-red: #fb7185; --b-shadow: 0 34px 110px rgba(0,0,0,.6);
  --b-gradient-bg: radial-gradient(ellipse 80% 50% at 50% -10%,rgba(139,92,246,.18),transparent),#07050d;
  --bg: var(--b-bg); --panel: var(--b-panel); --panel2: var(--b-panel2); --line: var(--b-line);
  --txt: var(--b-text); --dim: var(--b-muted2); --accent: var(--b-primary); --up: var(--b-green); --down: var(--b-red);
  color-scheme: dark;
  background: var(--b-gradient-bg);
  color: var(--b-text);
  font-family: "DM Sans", "Avenir Next", ui-sans-serif, sans-serif;
  font-variant-numeric: tabular-nums;
}
body.billy-product[data-theme="billy-light"] {
  --b-bg: #f8f5ff; --b-panel: #fff; --b-panel2: #f2ecff;
  --b-line: #ded4f0; --b-line2: #c8b6e4;
  --b-primary: #7c3aed; --b-primary2: #9333ea; --b-primary3: #6d28d9;
  --b-text: #1a102a; --b-muted: #675a78; --b-muted2: #6f617f;
  --b-nav: rgba(255,255,255,.9); --b-nav-border: rgba(124,58,237,.14); --b-band: rgba(255,255,255,.66);
  --b-card-start: rgba(255,255,255,.96); --b-card-end: rgba(246,241,255,.92);
  --b-subtle: rgba(124,58,237,.07); --b-selected: #f2ecff; --b-selected-strong: #e9dfff;
  --b-green: #08784b; --b-red: #b92843; --b-shadow: 0 34px 100px rgba(41,24,72,.12);
  --b-gradient-bg: radial-gradient(ellipse 80% 50% at 50% -10%,rgba(124,58,237,.11),transparent),#f8f5ff;
  color-scheme: light;
}
body.billy-product[data-theme="billy-light"] .billy-order-submit { color: #fff; }

body.billy-product *, body.billy-product *::before, body.billy-product *::after { box-sizing: border-box; }
body.billy-product button, body.billy-product input, body.billy-product select { font: inherit; }
body.billy-product button:focus-visible, body.billy-product input:focus-visible, body.billy-product select:focus-visible,
body.billy-product a:focus-visible, body.billy-product [tabindex]:focus-visible {
  outline: 2px solid var(--b-primary3); outline-offset: 2px;
}
body.billy-product ::selection { background: color-mix(in srgb,var(--b-primary) 38%,transparent); color: var(--b-text); }

.billy-product .app { background: var(--b-gradient-bg); }
.billy-product .top {
  min-height: 66px; height: 66px; padding: 0 38px; gap: 18px; background: var(--b-nav);
  -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px);
  border-bottom: 1px solid var(--b-nav-border); box-shadow: none; z-index: 30;
}
.billy-product .brand { height: 40px; min-width: 151px; max-width: 151px; flex: 0 0 151px; overflow: visible; color: var(--b-text); letter-spacing: -.03em; }
.billy-product .brand svg { height: 36px; max-width: 150px; }
.billy-brand-lockup { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.billy-logo-mark {
  width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px;
  background: linear-gradient(135deg,var(--b-primary),var(--b-primary2)); color: #fff; font: 900 15px/1 "DM Sans", sans-serif;
  box-shadow: 0 0 36px color-mix(in srgb,var(--b-primary) 38%,transparent);
}
.billy-logo-word { color: var(--b-text); font: 800 17px/1 "DM Sans", sans-serif; letter-spacing: -.5px; }

.billy-product .sections { gap: 2px; max-width: none; overflow: visible; padding: 3px; }
.billy-product .top .sections button {
  min-height: 38px; padding: 9px 13px; border: 0; border-radius: 10px; background: transparent;
  color: var(--b-muted); font-size: 13px; font-weight: 600; letter-spacing: -.01em;
  transition: color .16s ease, background-color .16s ease;
}
.billy-product .top .sections button:hover { color: var(--b-text); background: var(--b-subtle); }
.billy-product .top .sections button.on {
  color: var(--b-text); border: 0; background: var(--b-subtle); box-shadow: none;
}
.billy-product .top > :is(.demo,.ghosttop,.presence,.me) { display: none !important; }
.billy-product .top .sp { min-width: 12px; }
.billy-product .top button#login {
  min-height: 40px; padding: 11px 20px; border: 0; border-radius: 999px;
  background: linear-gradient(135deg,var(--b-primary),var(--b-primary2)); color: #fff; font-size: 14px; font-weight: 700;
  box-shadow: 0 18px 50px color-mix(in srgb,var(--b-primary) 24%,transparent);
}
.billy-product .top button#login:hover { filter: brightness(1.08); }
.billy-product .top .billy-theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 34px; padding: 8px 12px;
  border: 1px solid var(--b-line2); border-radius: 999px; background: var(--b-subtle); color: var(--b-text);
  box-shadow: none; cursor: pointer;
}
.billy-product .top .billy-theme-toggle:hover { border-color: var(--b-primary); background: var(--b-subtle); }
.billy-theme-icon { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: color-mix(in srgb,var(--b-primary) 18%,transparent); color: var(--b-primary3); font-size: 12px; line-height: 1; }
.billy-product .top button.ghosttop {
  width: 38px; padding: 0; overflow: hidden; color: transparent; background: var(--b-panel); border-color: var(--b-line);
}
.billy-product .top button.ghosttop::first-letter { color: var(--b-muted); }
.billy-product .top button.ghosttop:hover { border-color: var(--b-line2); }
.billy-product .top .me { color: var(--b-muted); }
.billy-product .presence .av { border-color: var(--b-bg); }

.billy-product footer {
  padding: 7px 18px; background: var(--b-bg); border-color: var(--b-line); color: var(--b-muted2);
  font-size: 10.5px;
}
.billy-product footer b { color: var(--b-muted); }
.billy-product .stage { background: var(--b-bg); }
.billy-product .stage[hidden], .billy-marketbar[hidden], .billy-product-main[hidden] { display: none !important; }

.billy-marketbar {
  flex: 0 0 62px; min-height: 62px; display: flex; align-items: stretch; gap: 0; padding: 0 10px;
  background: var(--b-band); border-bottom: 1px solid var(--b-line); color: var(--b-text);
}
.billy-pair {
  width: 210px; display: flex; align-items: center; gap: 9px; padding: 0 10px; border: 0; background: transparent;
  color: var(--b-text); text-align: left; cursor: pointer;
}
.billy-pair:hover { background: var(--b-panel2); }
.billy-pair > span { display: flex; flex-direction: column; gap: 2px; }
.billy-pair b { font: 700 13px/1 "DM Mono", ui-monospace, monospace; }
.billy-pair small { color: var(--b-muted2); font-size: 10px; }
.billy-pair svg { width: 18px; margin-left: auto; fill: none; stroke: var(--b-muted2); stroke-width: 1.5; }
.billy-quote-main { min-width: 145px; display: flex; flex-direction: column; justify-content: center; padding: 0 16px; border-left: 1px solid var(--b-line); }
.billy-quote-main strong { font: 700 16px/1.1 "DM Mono", ui-monospace, monospace; }
.billy-quote-main span { margin-top: 4px; font: 600 10px/1 "DM Mono", ui-monospace, monospace; }
.billy-marketbar dl { display: flex; align-self: stretch; margin: 0; }
.billy-marketbar dl > div { min-width: 122px; display: flex; flex-direction: column; justify-content: center; padding: 0 15px; border-left: 1px solid var(--b-line); }
.billy-marketbar dt { margin-bottom: 4px; color: var(--b-muted2); font-size: 10px; }
.billy-marketbar dd { margin: 0; color: var(--b-muted); font: 500 11px/1 "DM Mono", ui-monospace, monospace; }
.billy-live-dot { display: flex; align-items: center; gap: 7px; margin-left: auto; padding: 0 14px; color: var(--b-muted2); font-size: 10px; }
.billy-live-dot i { width: 6px; height: 6px; border-radius: 50%; background: var(--b-green); box-shadow: 0 0 0 4px color-mix(in srgb,var(--b-green) 9%,transparent); }

.billy-product-main { flex: 1 1 0; min-height: 0; overflow: auto; background: var(--b-gradient-bg); color: var(--b-text); scrollbar-color: var(--b-line) transparent; }
.billy-product-main.exchange-view { overflow: hidden; background: var(--b-bg); }
.billy-page { width: min(1220px, calc(100% - 48px)); margin: 0 auto; padding: clamp(34px,5vw,74px) 0 80px; }
.billy-eyebrow { display: block; margin-bottom: 13px; color: var(--b-primary3); font: 700 10px/1 "DM Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.billy-page h1 { margin: 0; color: var(--b-text); font-size: clamp(35px,4.2vw,58px); line-height: .99; letter-spacing: -.055em; font-weight: 730; }
.billy-page p { color: var(--b-muted); line-height: 1.6; }
.billy-page-head { display: flex; align-items: end; justify-content: space-between; gap: 34px; }
.billy-page-head > div:first-child p { max-width: 570px; margin: 20px 0 0; font-size: 15px; }
.billy-page-tabs { display: flex; align-items: center; gap: var(--b-space-lg); padding: 0; border: 0; background: transparent; }
.billy-page-tabs button, .billy-segmented button {
  position: relative; border: 0; background: transparent; color: var(--b-muted2); cursor: pointer; font-weight: 700;
}
.billy-page-tabs button { min-height: 44px; padding: 0 2px; font-size: 12px; }
.billy-page-tabs button::after, .billy-segmented button::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--b-primary); opacity: 0; transform: scaleX(.4); transition: transform .18s ease-out,opacity .18s ease-out; }
.billy-page-tabs button.on, .billy-segmented button.on { color: var(--b-text); }
.billy-page-tabs button.on::after, .billy-segmented button.on::after { opacity: 1; transform: scaleX(1); }

.billy-buy-page { padding-top: clamp(24px,2.4vw,32px); }
.billy-buy-page h1 { font-size: clamp(38px,3.7vw,53px); }
.billy-buy-grid { display: grid; grid-template-columns: minmax(0,1fr) 430px; gap: clamp(46px,8vw,112px); align-items: start; }
.billy-buy-left .billy-page-head { display: block; }
.billy-buy-context { margin-top: 46px; padding-top: 8px; }
.billy-buy-rail { min-width: 0; }
.billy-buy-rail > .billy-page-tabs { justify-content: flex-start; margin-bottom: 8px; }
.billy-context-title { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--b-line); }
.billy-context-title > span { color: var(--b-muted); font-weight: 700; }
.billy-context-title button { border: 0; background: transparent; color: var(--b-primary3); cursor: pointer; font-size: 12px; }
.billy-hot-list { display: flex; flex-direction: column; }
.billy-hot-list button {
  display: grid; grid-template-columns: minmax(120px,1fr) 140px 72px; align-items: center; min-height: 64px; padding: 0;
  border: 0; border-bottom: 1px solid var(--b-line); background: transparent; color: var(--b-text); cursor: pointer; text-align: left;
}
.billy-hot-list button:hover { background: linear-gradient(90deg,transparent,var(--b-panel)); }
.billy-hot-list button > span { display: flex; align-items: center; gap: 10px; }
.billy-hot-list strong { text-align: right; font: 600 12px/1 "DM Mono", ui-monospace, monospace; }
.billy-hot-list small { text-align: right; font: 600 11px/1 "DM Mono", ui-monospace, monospace; }
.billy-trust-copy { display: grid; grid-template-columns: 1px 1fr; gap: 17px; margin-top: 35px; }
.billy-trust-rule { display: block; background: linear-gradient(var(--b-primary),transparent); }
.billy-trust-copy p { max-width: 460px; margin: 0; color: var(--b-muted2); font-size: 12px; }

.billy-buy-card {
  position: relative; isolation: isolate; margin-top: 0; padding: 20px; border: 0; border-radius: 24px;
  background: color-mix(in srgb,var(--b-panel) 94%,var(--b-primary) 6%); box-shadow: 0 24px 72px rgba(0,0,0,.28);
}
.billy-buy-modebar { display: flex; align-items: center; justify-content: space-between; gap: var(--b-space-md); margin-bottom: var(--b-space-md); }
.billy-buy-modebar > div { display: flex; flex-direction: column; gap: 4px; }
.billy-buy-modebar strong { font-size: 13px; }
.billy-buy-modebar small { color: var(--b-muted2); font-size: 10px; }
.billy-segmented { display: flex; align-items: center; gap: var(--b-space-lg); padding: 0; margin: 0; background: transparent; }
.billy-segmented button { min-height: 40px; padding: 0 2px; font-size: 12px; }
.billy-quote-live { display: flex; align-items: center; gap: 7px; color: var(--b-muted2); font: 650 10px/1 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.billy-quote-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--b-green); box-shadow: 0 0 0 4px color-mix(in srgb,var(--b-green) 9%,transparent); }
.billy-quote-live.preview i { background: var(--b-primary3); box-shadow: 0 0 0 4px color-mix(in srgb,var(--b-primary) 12%,transparent); }
.billy-converter { overflow: hidden; border: 1px solid var(--b-line); border-radius: 18px; background: var(--b-panel2); transition: border-color .16s ease,box-shadow .16s ease; }
.billy-converter:focus-within { border-color: color-mix(in srgb,var(--b-primary) 68%,var(--b-line)); box-shadow: 0 0 0 3px color-mix(in srgb,var(--b-primary) 8%,transparent); }
.billy-amount-field { padding: 17px 18px 14px; border: 1px solid var(--b-line); border-radius: 15px; background: var(--b-panel2); transition: border-color .16s ease; }
.billy-buy-card > .billy-amount-field:focus-within { border-color: var(--b-primary); }
.billy-converter .billy-amount-field { padding: 18px 20px 16px; border: 0; border-radius: 0; background: transparent; }
.billy-converter .billy-amount-field.receive { border-top: 1px solid var(--b-line); }
.billy-amount-field label { display: block; margin-bottom: var(--b-space-xs); color: var(--b-muted2); font-size: 11px; font-weight: 650; }
.billy-amount-field > div { display: flex; align-items: center; gap: 12px; }
.billy-amount-field input, .billy-amount-field output { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--b-text); font: 650 27px/1.15 "DM Sans", "Avenir Next", sans-serif; letter-spacing: -.035em; }
.billy-amount-field input { width: 100%; }
.billy-amount-field button { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 11px; background: var(--b-selected); color: var(--b-text); cursor: pointer; font-size: 12px; font-weight: 750; }
.billy-amount-field button:hover { background: var(--b-selected-strong); }
.billy-amount-field button svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.billy-amount-field small { display: block; min-height: 16px; margin-top: var(--b-space-xs); color: var(--b-muted2); font-size: 11px; }
.billy-amount-field small.error { color: var(--b-red); }
.billy-converter-flow { position: relative; z-index: 2; display: grid; place-items: center; width: 28px; height: 28px; margin: -14px auto; border: 4px solid var(--b-panel2); border-radius: 50%; background: var(--b-selected-strong); color: var(--b-primary3); font-size: 12px; }
.billy-select-control { position: relative; display: inline-flex; align-items: center; gap: 7px; min-width: 72px; min-height: 44px; padding: 0 32px 0 11px; border-radius: 11px; background: var(--b-selected); color: var(--b-text); }
.billy-select-control select { position: relative; z-index: 1; max-width: 164px; min-height: 44px; padding: 0; border: 0; outline: 0; appearance: none; background: transparent; color: inherit; cursor: pointer; font-size: 12px; font-weight: 750; }
.billy-select-control option { background: var(--b-panel); color: var(--b-text); }
.billy-select-control > svg { position: absolute; z-index: 0; right: 9px; width: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; pointer-events: none; }
.billy-asset-select { min-width: 112px; padding-left: 9px; }
.billy-asset-select select { width: 56px; text-overflow: ellipsis; }
.billy-methods { display: flex; flex-direction: column; gap: var(--b-space-xs); margin: var(--b-space-lg) 0 0; padding: 0; border: 0; }
.billy-methods legend { margin-bottom: var(--b-space-xs); color: var(--b-muted2); font-size: 9px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.billy-methods > button { display: grid; grid-template-columns: 32px 1fr 16px; align-items: center; gap: var(--b-space-sm); width: 100%; padding: 11px 12px; border: 1px solid transparent; border-radius: 14px; background: var(--b-subtle); color: var(--b-muted); cursor: pointer; text-align: left; }
.billy-methods > button:hover { background: var(--b-panel2); }
.billy-methods > button.on { border-color: transparent; background: var(--b-selected); color: var(--b-text); }
.billy-methods > button > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; }
.billy-methods b { font-size: 12px; }.billy-methods small { color: var(--b-muted2); font-size: 10px; }
.billy-methods i { width: 8px; height: 8px; justify-self: center; border: 1px solid var(--b-line2); border-radius: 50%; }
.billy-methods button.on i { border: 2px solid var(--b-panel); background: var(--b-primary); box-shadow: 0 0 0 1px var(--b-primary); }
.billy-methods button.compact svg { width: 17px; fill: none; stroke: var(--b-muted2); stroke-width: 1.5; }
.billy-method-symbol { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--b-selected-strong); color: var(--b-primary3); font-size: 11px; font-weight: 850; }
.billy-quote-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--b-space-sm); margin: var(--b-space-md) 0 var(--b-space-sm); padding-top: var(--b-space-md); border-top: 1px solid var(--b-line); }
.billy-quote-summary > div { display: flex; min-width: 0; flex-direction: column; gap: 6px; color: var(--b-muted2); font-size: 9px; }
.billy-quote-summary b { color: var(--b-muted); font: 550 10px/1 "DM Mono", ui-monospace, monospace; }
.billy-quote-summary .total { margin: 0; padding: 0; border: 0; color: var(--b-muted); }
.billy-quote-summary .total b { color: var(--b-text); }
.billy-primary-action, .billy-secondary-action {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; border-radius: 14px; cursor: pointer; font-weight: 800;
}
.billy-primary-action { border: 1px solid var(--b-primary); background: var(--b-primary); color: #fff; box-shadow: 0 14px 32px color-mix(in srgb,var(--b-primary) 18%,transparent); }
.billy-primary-action:hover { background: var(--b-primary2); border-color: var(--b-primary2); }
.billy-primary-action:disabled { cursor: not-allowed; opacity: .42; }
.billy-secondary-action { margin-top: 8px; border: 1px solid var(--b-line2); background: transparent; color: var(--b-muted); }
.billy-form-note { min-height: 32px; margin: var(--b-space-sm) 4px 0; color: var(--b-muted2); font-size: 10.5px; line-height: 1.5; text-align: center; }
.billy-form-note.notice { color: var(--b-primary3); }

.billy-markets-page { padding-top: 55px; }
.billy-markets-head { display: flex; align-items: end; justify-content: space-between; gap: 38px; }
.billy-markets-head h1 { font-size: clamp(38px,5vw,66px); }
.billy-markets-head p { max-width: 560px; margin: 17px 0 0; }
.billy-search { width: min(340px,32vw); display: flex; align-items: center; gap: 9px; padding: 0 13px; border: 1px solid var(--b-line); border-radius: 12px; background: var(--b-panel); color: var(--b-muted2); }
.billy-search:focus-within { border-color: var(--b-primary); }
.billy-search svg { width: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; }
.billy-search input { min-width: 0; flex: 1; height: 48px; border: 0; outline: 0; background: transparent; color: var(--b-text); }
.billy-search input::placeholder { color: var(--b-muted2); }
.billy-search kbd { color: var(--b-muted2); font: 500 10px/1 "DM Mono", ui-monospace, monospace; }

.billy-overview { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; margin: 43px 0 36px; border-top: 1px solid var(--b-line); border-bottom: 1px solid var(--b-line); }
.billy-overview-card { min-width: 0; padding: 16px; border: 0; border-left: 1px solid var(--b-line); border-radius: 0; background: transparent; }
.billy-overview-card:first-child { border-left: 0; }
.billy-overview-card > div { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.billy-overview-card h2 { margin: 0; font-size: 11px; color: var(--b-muted); }
.billy-overview-card > div span { color: var(--b-green); font: 600 8px/1 "DM Mono", ui-monospace, monospace; text-transform: uppercase; }
.billy-overview-card button { display: grid; grid-template-columns: 22px 38px 1fr auto; align-items: center; gap: 6px; width: 100%; min-height: 37px; padding: 0; border: 0; background: transparent; color: var(--b-text); cursor: pointer; text-align: left; }
.billy-overview-card button:hover { color: var(--b-primary3); }
.billy-overview-card button span { text-align: right; color: var(--b-muted); font: 500 10px/1 "DM Mono", ui-monospace, monospace; }
.billy-overview-card button small { text-align: right; font: 600 9px/1 "DM Mono", ui-monospace, monospace; }
.billy-skeleton { height: 158px; border: 1px solid var(--b-line); border-radius: 14px; background: linear-gradient(100deg,var(--b-panel) 25%,var(--b-selected) 40%,var(--b-panel) 55%); background-size: 240% 100%; animation: billyShimmer 1.4s linear infinite; }
@keyframes billyShimmer { to { background-position-x: -240%; } }

.billy-market-tools { display: flex; align-items: center; gap: 20px; padding-bottom: 11px; border-bottom: 1px solid var(--b-line); }
.billy-category-rail { display: flex; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.billy-category-rail::-webkit-scrollbar { display: none; }
.billy-category-rail button { flex: 0 0 auto; min-height: 44px; padding: 0 13px; border: 0; border-radius: 9px; background: transparent; color: var(--b-muted2); cursor: pointer; font-size: 11px; }
.billy-category-rail button:hover { color: var(--b-muted); }
.billy-category-rail button.on { background: var(--b-selected-strong); color: var(--b-text); }
.billy-market-count { margin-left: auto; color: var(--b-muted2); font: 500 10px/1 "DM Mono", ui-monospace, monospace; white-space: nowrap; }
.billy-market-table { width: 100%; }
.billy-market-row { display: grid; grid-template-columns: minmax(210px,1.4fr) 1fr .8fr 1fr 90px; align-items: center; min-height: 61px; border-bottom: 1px solid var(--b-line); color: var(--b-muted); cursor: pointer; text-decoration: none; }
.billy-market-row:hover:not(.header) { background: linear-gradient(90deg,color-mix(in srgb,var(--b-panel2) 72%,transparent),color-mix(in srgb,var(--b-panel2) 20%,transparent)); }
.billy-market-row.header { min-height: 43px; cursor: default; color: var(--b-muted2); }
.billy-market-row.header button, .billy-market-row.header > span { min-height: 44px; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.billy-market-row.header button:not(:first-child), .billy-market-row.header span { text-align: right; }
.billy-market-row > div:first-child { display: flex; align-items: center; gap: 11px; }
.billy-market-row > div:first-child > span { display: flex; flex-direction: column; gap: 3px; }
.billy-market-row b { color: var(--b-text); font-size: 12px; }
.billy-market-row small { color: var(--b-muted2); font-size: 10px; }
.billy-market-row > strong, .billy-market-row > span { text-align: right; font: 550 11px/1 "DM Mono", ui-monospace, monospace; }
.billy-market-open { justify-self: end; padding: 7px 9px; border: 1px solid var(--b-line2); border-radius: 9px; color: var(--b-primary3); font-size: 10px; }
.billy-market-row:hover .billy-market-open { background: var(--b-selected-strong); }
.billy-load-more { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 52px; margin-top: 16px; border: 1px solid var(--b-line); border-radius: 12px; background: transparent; color: var(--b-text); cursor: pointer; font-weight: 700; }
.billy-load-more:hover { background: var(--b-subtle); }
.billy-load-more span { color: var(--b-muted2); font-size: 10px; font-weight: 600; }
.billy-market-warning, .billy-empty { margin-top: 24px; padding: 34px; border: 1px solid var(--b-line); border-radius: 14px; background: var(--b-panel); color: var(--b-muted); text-align: center; }
.billy-empty span { display: block; color: var(--b-primary); font-size: 24px; }.billy-empty b { display: block; margin-top: 10px; }.billy-empty p { margin: 5px 0 0; }

.billy-coin { display: grid; place-items: center; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--coin,var(--b-primary)); color: var(--b-bg); object-fit: cover; font-weight: 850; }
.billy-coin.sm { width: 21px; height: 21px; font-size: 9px; }.billy-coin.xs { width: 18px; height: 18px; font-size: 8px; }.billy-coin.lg { width: 54px; height: 54px; font-size: 19px; }
.up { color: var(--b-green) !important; }.down { color: var(--b-red) !important; }

.billy-detail-page { padding-top: 38px; }
.billy-back { margin-bottom: 28px; padding: 0; border: 0; background: transparent; color: var(--b-muted); cursor: pointer; }
.billy-back:hover { color: var(--b-text); }
.billy-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 29px; border-bottom: 1px solid var(--b-line); }
.billy-detail-head > div { display: flex; align-items: center; gap: 15px; }
.billy-detail-head h1 { font-size: clamp(32px,4vw,50px); }.billy-detail-head h1 small { color: var(--b-muted2); font-size: .45em; letter-spacing: 0; }
.billy-detail-head p { margin: 6px 0 0; color: var(--b-muted2); font-size: 11px; }
.billy-detail-head > div:last-child { flex-direction: column; align-items: end; gap: 6px; }
.billy-detail-head > div:last-child strong { font: 700 clamp(25px,3vw,38px)/1 "DM Mono", ui-monospace, monospace; }
.billy-detail-head > div:last-child span { font: 650 12px/1 "DM Mono", ui-monospace, monospace; }
.billy-detail-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 18px; margin-top: 18px; }
.billy-detail-primary, .billy-detail-ticket { border: 1px solid var(--b-line); border-radius: 16px; background: var(--b-panel); }
.billy-detail-primary { padding: 25px; }
.billy-range-head, .billy-range-values { display: flex; align-items: center; justify-content: space-between; }
.billy-range-head { color: var(--b-muted2); font-size: 10px; }.billy-range-head b { color: var(--b-muted2); font: 500 9px/1 "DM Mono", ui-monospace, monospace; }
.billy-range { position: relative; height: 5px; margin: 27px 0 9px; border-radius: 999px; background: var(--b-selected-strong); }
.billy-range i { position: absolute; top: 50%; left: var(--range); width: 10px; height: 10px; transform: translate(-50%,-50%); border: 2px solid var(--b-panel); border-radius: 50%; background: var(--b-primary); box-shadow: 0 0 0 1px var(--b-primary3); }
.billy-range-values { color: var(--b-muted2); font: 500 9px/1 "DM Mono", ui-monospace, monospace; }.billy-range-values strong { color: var(--b-text); }
.billy-stat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; margin-top: 34px; background: var(--b-line); }
.billy-stat-grid div { display: flex; flex-direction: column; gap: 9px; padding: 18px; background: var(--b-panel); }
.billy-stat-grid span { color: var(--b-muted2); font-size: 10px; }.billy-stat-grid b { font: 600 14px/1 "DM Mono", ui-monospace, monospace; }
.billy-detail-ticket { align-self: start; padding: 23px; }.billy-detail-ticket h2 { margin: 0 0 10px; font: 700 24px/1 "DM Mono", ui-monospace, monospace; }.billy-detail-ticket p { margin: 0 0 23px; font-size: 12px; }

/* Billy-native exchange. Product behavior follows a familiar market workflow, but no Deck/Dock UI is mounted. */
.billy-exchange {
  width: 100%; height: 100%; min-height: 0; display: grid;
  grid-template-columns: minmax(420px,1fr) 278px 326px; grid-template-rows: minmax(330px,1fr) 190px;
  gap: 8px; padding: 8px; background: var(--b-bg);
}
.billy-exchange-mobile-tabs { display: none; }
.billy-chart-panel, .billy-book-panel, .billy-ticket-panel, .billy-orders-panel {
  min-width: 0; min-height: 0; overflow: hidden; border: 1px solid var(--b-line); border-radius: 13px; background: var(--b-panel);
}
.billy-chart-panel { display: grid; grid-template-rows: 58px minmax(0,1fr); }
.billy-exchange-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 15px; border-bottom: 1px solid var(--b-line); background: var(--b-panel); }
.billy-exchange-market { min-width: 0; display: grid; grid-template-columns: 30px auto auto auto; align-items: center; gap: 10px; }
.billy-exchange-market > span { display: flex; flex-direction: column; gap: 3px; }
.billy-exchange-market b { font: 700 12px/1 "DM Mono", ui-monospace, monospace; }
.billy-exchange-market small { color: var(--b-muted2); font-size: 9px; }
.billy-exchange-market > strong { margin-left: 10px; font: 650 15px/1 "DM Mono", ui-monospace, monospace; }
.billy-exchange-market > em { font: 650 10px/1 "DM Mono", ui-monospace, monospace; font-style: normal; }
.billy-timeframes { display: flex; align-items: center; gap: 2px; }
.billy-timeframes button { min-width: 44px; height: 40px; padding: 0 7px; border: 0; border-radius: 8px; background: transparent; color: var(--b-muted2); cursor: pointer; font: 600 10px/1 "DM Mono", ui-monospace, monospace; }
.billy-timeframes button:hover { color: var(--b-text); background: var(--b-subtle); }
.billy-timeframes button.on { color: var(--b-primary3); background: var(--b-selected-strong); }
.billy-exchange-chart { display: block; width: 100%; height: 100%; min-height: 0; border: 0; background: var(--b-panel); }

.billy-panel-head { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 14px; border-bottom: 1px solid var(--b-line); }
.billy-panel-head > div { display: flex; flex-direction: column; gap: 4px; }
.billy-panel-head span { color: var(--b-muted2); font: 600 9px/1 "DM Mono", ui-monospace, monospace; letter-spacing: .09em; text-transform: uppercase; }
.billy-panel-head h2 { margin: 0; font-size: 14px; line-height: 1; letter-spacing: -.02em; }
.billy-data-source { display: inline-flex; align-items: center; gap: 6px; }
.billy-data-source::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--b-muted2); }
.billy-data-source.live::before { background: var(--b-green); box-shadow: 0 0 0 4px color-mix(in srgb,var(--b-green) 10%,transparent); }

.billy-book-panel { display: flex; flex-direction: column; }
.billy-book-controls { min-height: 44px; display: grid; grid-template-columns: 1fr 1fr 64px; align-items: center; gap: 5px; padding: 0 10px; border-bottom: 1px solid var(--b-line); color: var(--b-muted2); font-size: 9px; }
.billy-book-controls span:nth-child(2) { text-align: right; }
.billy-book-controls select { width: 64px; height: 36px; padding: 0 6px; border: 1px solid var(--b-line); border-radius: 7px; outline: 0; background: var(--b-panel2); color: var(--b-muted); font: 600 10px/1 "DM Mono", ui-monospace, monospace; }
.billy-book-rows { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 4px 0 6px; }
.billy-book-side { flex: 1; min-height: 0; display: grid; grid-template-rows: repeat(9,minmax(16px,1fr)); overflow: hidden; }
.billy-book-row { position: relative; min-height: 16px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 0 11px; font: 500 9px/1 "DM Mono", ui-monospace, monospace; }
.billy-book-row i { position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: var(--depth); opacity: .11; }
.billy-book-row.ask i { background: var(--b-red); }.billy-book-row.bid i { background: var(--b-green); }
.billy-book-row span { position: relative; z-index: 1; }
.billy-book-row span:last-child { text-align: right; color: var(--b-muted); }
.billy-book-row.ask span:first-of-type { color: var(--b-red); }.billy-book-row.bid span:first-of-type { color: var(--b-green); }
.billy-book-mid { min-height: 38px; display: flex; align-items: center; justify-content: space-between; padding: 0 11px; border-top: 1px solid var(--b-line); border-bottom: 1px solid var(--b-line); background: var(--b-panel2); }
.billy-book-mid strong { color: var(--b-text); font: 650 11px/1 "DM Mono", ui-monospace, monospace; }
.billy-book-mid span { color: var(--b-muted2); font-size: 8px; }
.billy-panel-loading { margin: auto; color: var(--b-muted2); font-size: 10px; }

.billy-ticket-panel { grid-column: 3; grid-row: 1 / 3; overflow: auto; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--b-line) transparent; }
.billy-ticket-head { position: sticky; z-index: 2; top: 0; background: var(--b-panel); }
.billy-ticket-badge { padding: 5px 7px; border: 1px solid var(--b-line2); border-radius: 7px; color: var(--b-primary3) !important; background: var(--b-selected); }
.billy-order-side { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: 13px 13px 0; padding: 4px; border-radius: 10px; background: var(--b-bg); }
.billy-order-side button { min-height: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--b-muted2); cursor: pointer; font-weight: 750; }
.billy-order-side button.on.buy { color: var(--b-green); background: color-mix(in srgb,var(--b-green) 11%,transparent); }
.billy-order-side button.on.sell { color: var(--b-red); background: color-mix(in srgb,var(--b-red) 11%,transparent); }
.billy-available { display: flex; align-items: center; justify-content: space-between; padding: 15px 14px 10px; color: var(--b-muted2); font-size: 9px; }
.billy-available b { color: var(--b-muted); font: 550 10px/1 "DM Mono", ui-monospace, monospace; }
.billy-order-field { display: block; margin: 0 13px; padding: 12px; border: 1px solid var(--b-line); border-radius: 11px; background: var(--b-panel2); }
.billy-order-field:focus-within { border-color: var(--b-primary); }
.billy-order-field > span { display: block; margin-bottom: 6px; color: var(--b-muted2); font-size: 9px; }
.billy-order-field > div { display: flex; align-items: center; gap: 8px; }
.billy-order-field input { min-width: 0; width: 100%; min-height: 34px; border: 0; outline: 0; background: transparent; color: var(--b-text); font: 650 22px/1.2 "DM Mono", ui-monospace, monospace; }
.billy-order-field b { color: var(--b-muted); font: 650 10px/1 "DM Mono", ui-monospace, monospace; }
.billy-order-presets { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; padding: 7px 13px 0; }
.billy-order-presets button { min-height: 44px; border: 1px solid var(--b-line); border-radius: 8px; background: transparent; color: var(--b-muted2); cursor: pointer; font: 600 10px/1 "DM Mono", ui-monospace, monospace; }
.billy-order-presets button:hover, .billy-order-presets button.on { border-color: var(--b-line2); background: var(--b-selected); color: var(--b-text); }
.billy-order-summary { margin: 13px; padding: 11px 0; border-top: 1px solid var(--b-line); border-bottom: 1px solid var(--b-line); }
.billy-order-summary div { display: flex; align-items: center; justify-content: space-between; min-height: 25px; }
.billy-order-summary dt { color: var(--b-muted2); font-size: 9px; }.billy-order-summary dd { margin: 0; color: var(--b-muted); font: 500 9px/1 "DM Mono", ui-monospace, monospace; }
.billy-order-submit { display: block; width: calc(100% - 26px); min-height: 44px; margin: 0 13px; border: 0; border-radius: 11px; color: #07100c; cursor: pointer; font-weight: 800; }
.billy-order-submit.buy { background: var(--b-green); }.billy-order-submit.sell { background: var(--b-red); color: #18070c; }
.billy-order-submit:hover { filter: brightness(1.06); }.billy-order-submit:disabled { cursor: wait; opacity: .6; }
.billy-order-status { min-height: 34px; margin: 10px 18px 0; color: var(--b-muted2); font-size: 10px; line-height: 1.5; text-align: center; }

.billy-orders-panel { grid-column: 1 / 3; display: grid; grid-template-rows: 44px minmax(0,1fr); }
.billy-orders-tabs { display: flex; align-items: stretch; gap: 22px; padding: 0 14px; border-bottom: 1px solid var(--b-line); }
.billy-orders-tabs button { position: relative; min-height: 44px; border: 0; background: transparent; color: var(--b-muted2); cursor: pointer; font-size: 10px; font-weight: 650; }
.billy-orders-tabs button.on { color: var(--b-text); }.billy-orders-tabs button.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--b-primary); }
.billy-orders-body { min-height: 0; overflow: auto; }
.billy-orders-empty { height: 100%; min-height: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: var(--b-muted2); text-align: center; }
.billy-orders-empty b { color: var(--b-muted); font-size: 11px; }.billy-orders-empty span { font-size: 9px; }
.billy-position-table { min-width: 670px; }
.billy-position-row { min-height: 39px; display: grid; grid-template-columns: 1.1fr .7fr .9fr .9fr .8fr 62px; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid var(--b-line); color: var(--b-muted); font: 500 9.5px/1 "DM Mono", ui-monospace, monospace; }
.billy-position-row.head { min-height: 31px; color: var(--b-muted2); font: 600 8px/1 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .06em; }
.billy-position-row b { color: var(--b-text); }.billy-position-row button { justify-self: end; padding: 5px 9px; border: 1px solid var(--b-line2); border-radius: 7px; background: transparent; color: var(--b-muted); cursor: pointer; font-size: 8.5px; }
.billy-position-row button:hover { color: var(--b-text); background: var(--b-selected); }

.billy-mobile-nav { display: none; }

@media (max-width: 1100px) {
  .billy-exchange { grid-template-columns: minmax(430px,1fr) 300px; grid-template-rows: minmax(360px,1fr) 280px 190px; overflow: auto; }
  .billy-chart-panel { grid-column: 1; grid-row: 1; }
  .billy-book-panel { grid-column: 1; grid-row: 2; }
  .billy-ticket-panel { grid-column: 2; grid-row: 1 / 3; }
  .billy-orders-panel { grid-column: 1 / 3; grid-row: 3; }
}

@media (max-width: 980px) {
  .billy-buy-grid { grid-template-columns: minmax(0,1fr) 390px; gap: 38px; }
  .billy-overview { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .billy-marketbar dl > div:nth-child(3), .billy-marketbar dl > div:nth-child(4) { display: none; }
  .billy-product .top .ghosttop, .billy-product .presence { display: none !important; }
}

@media (max-width: 760px) {
  .billy-product .app { height: 100dvh; padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .billy-product .top { min-height: 60px; height: 60px; padding: 0 18px; gap: 9px; overflow: visible; }
  .billy-product .brand { height: 39px; min-width: 149px; max-width: 149px; flex-basis: 149px; }.billy-product .brand svg { height: 31px; }
  .billy-brand-lockup { gap: 9px; }
  .billy-logo-mark { width: 32px; height: 32px; border-radius: 12px; font-size: 15px; }
  .billy-logo-word { font-size: 17px; }
  .billy-product .sections { display: none; }.billy-product .top .demo { display: none !important; }
  .billy-product .top .sp { flex: 1; }.billy-product .top .me { display: none !important; }
  .billy-product .top button#login { min-height: 44px; padding: 9px 14px; font-size: 12px; }
  .billy-product .top .billy-theme-toggle { min-width: 44px; min-height: 44px; padding: 7px 10px; }
  .billy-product footer { display: none; }
  .billy-mobile-nav {
    position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3,1fr);
    min-height: calc(66px + env(safe-area-inset-bottom)); padding: 6px 8px env(safe-area-inset-bottom);
    border-top: 1px solid var(--b-line); background: var(--b-nav);
  }
  .billy-mobile-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 0; border-radius: 10px; background: transparent; color: var(--b-muted2); font-size: 9.5px; font-weight: 700; }
  .billy-mobile-nav button.on { color: var(--b-primary3); background: var(--b-selected); }.billy-mobile-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.55; }
  .billy-page { width: calc(100% - 32px); padding: 28px 0 42px; }
  .billy-page-head, .billy-markets-head { align-items: start; flex-direction: column; gap: 25px; }
  .billy-page h1 { font-size: 37px; line-height: 1.02; }.billy-page p { font-size: 13px; }
  .billy-page-head > div:first-child > .billy-eyebrow, .billy-buy-context { display: none; }
  .billy-page-head > div:first-child p { margin-top: 13px; }
  .billy-buy-page { padding-top: 18px; }
  .billy-buy-left { display: none; }
  .billy-buy-rail > .billy-page-tabs { margin-bottom: var(--b-space-lg); }
  .billy-buy-page .billy-page-head { gap: 0; }
  .billy-buy-page .billy-page-head > div:first-child { display: none; }
  .billy-page-tabs { width: 100%; gap: 0; border-bottom: 1px solid var(--b-line); }
  .billy-page-tabs button { flex: 1; min-width: 0; min-height: 46px; padding: 0 var(--b-space-xs); }
  .billy-page-tabs button::after { height: 2px; }
  .billy-buy-grid { display: block; margin-top: var(--b-space-lg); }
  .billy-buy-card { width: 100%; margin-top: 0; padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .billy-buy-modebar { margin-bottom: var(--b-space-md); }
  .billy-segmented { gap: var(--b-space-lg); }
  .billy-segmented button { min-height: 44px; }
  .billy-quote-live { font-size: 9px; }
  .billy-converter { border-radius: 16px; }
  .billy-converter .billy-amount-field { padding: 18px 16px 15px; }
  .billy-amount-field input, .billy-amount-field output { font-size: 24px; }
  .billy-select-control, .billy-select-control select { min-height: 44px; }
  .billy-methods { margin-top: 20px; }
  .billy-quote-summary { margin-top: 20px; padding-top: 20px; }
  .billy-primary-action { min-height: 52px; }
  .billy-markets-page { padding-top: 30px; }.billy-markets-head h1 { font-size: 40px; }.billy-markets-head p { margin-top: 11px; }
  .billy-search { width: 100%; }
  .billy-overview { display: none; }.billy-market-tools { margin-top: 30px; padding-bottom: 9px; }.billy-market-count { display: none; }
  .billy-market-row { grid-template-columns: minmax(110px,1.25fr) minmax(105px,1fr) .9fr; min-height: 59px; }
  .billy-market-row.header { min-height: 44px; }.billy-market-row.header > :nth-child(3), .billy-market-row.header > :nth-child(5) { display: none; }
  .billy-market-row.header > :nth-child(4) { display: block; }
  .billy-market-row > :nth-child(3), .billy-market-row > :nth-child(5) { display: none; }
  .billy-market-row > :nth-child(2)::after { content: attr(data-change); display: block; margin-top: 4px; }
  .billy-market-row > .up-after::after { color: var(--b-green); }.billy-market-row > .down-after::after { color: var(--b-red); }
  .billy-market-row > strong { font-size: 10.5px; }.billy-market-row > span:nth-child(4) { display: block; font-size: 10px; }
  .billy-market-row small { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .billy-detail-head { align-items: start; flex-direction: column; }.billy-detail-head > div:last-child { align-items: start; }
  .billy-detail-grid { display: block; }.billy-detail-ticket { margin-top: 12px; }.billy-stat-grid { grid-template-columns: 1fr; }
  .billy-marketbar { flex: 0 0 72px; min-height: 72px; padding: 0 6px; }
  .billy-pair { width: 135px; padding: 0 7px; }.billy-pair small, .billy-pair svg { display: none; }
  .billy-quote-main { min-width: 122px; padding: 0 10px; }.billy-quote-main strong { font-size: 13px; }
  .billy-marketbar dl { margin-left: auto; }.billy-marketbar dl > div { min-width: 91px; padding: 0 8px; }.billy-marketbar dl > div:nth-child(n+2) { display: none; }
  .billy-live-dot { display: none; }
  .billy-product .tradepanel, .billy-product #followbar { top: 134px; }
  .billy-product-main.exchange-view { overflow: auto; }
  .billy-exchange { height: auto; min-height: 100%; display: block; overflow: visible; padding: 6px; }
  .billy-exchange-mobile-tabs {
    position: sticky; z-index: 12; top: 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 4px;
    margin-bottom: 6px; padding: 5px; border: 1px solid var(--b-line); border-radius: 12px; background: var(--b-nav);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  }
  .billy-exchange-mobile-tabs button { min-width: 0; min-height: 44px; border: 0; border-radius: 9px; background: transparent; color: var(--b-muted2); font-size: 10px; font-weight: 750; }
  .billy-exchange-mobile-tabs button.on { background: var(--b-selected-strong); color: var(--b-text); }
  .billy-exchange[data-mobile-panel="chart"] > :is(.billy-ticket-panel,.billy-book-panel,.billy-orders-panel),
  .billy-exchange[data-mobile-panel="trade"] > :is(.billy-chart-panel,.billy-book-panel,.billy-orders-panel),
  .billy-exchange[data-mobile-panel="book"] > :is(.billy-chart-panel,.billy-ticket-panel,.billy-orders-panel),
  .billy-exchange[data-mobile-panel="activity"] > :is(.billy-chart-panel,.billy-ticket-panel,.billy-book-panel) { display: none; }
  .billy-chart-panel { min-height: 520px; }.billy-exchange-toolbar { padding: 0 10px; }
  .billy-exchange-market { grid-template-columns: 30px auto auto; }.billy-exchange-market > em { display: none; }.billy-exchange-market > strong { margin-left: 0; font-size: 12px; }
  .billy-timeframes { max-width: 176px; overflow-x: auto; scrollbar-width: none; }.billy-timeframes button { min-width: 44px; height: 44px; }
  .billy-ticket-panel { width: 100%; min-height: 510px; overflow: visible; }
  .billy-ticket-head { position: static; }.billy-book-panel { width: 100%; min-height: 500px; }
  .billy-orders-panel { width: 100%; min-height: 360px; }
}

@media (prefers-reduced-motion: reduce) {
  .billy-product *, .billy-product *::before, .billy-product *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
