/* Motion: the trading screen. Loaded after app.css and laid over it.

   The trade view opens on the trading screen itself: the markets as a thin strip, one row for the market on screen
   (its drop down, the price, its numbers in a line), the chart at once, a narrow column of Motion's own beside it
   (the band with the price inside it, how full each side is, the latest trades), the order at the right, and the
   trader's positions and trades as tabs under the chart. On a small screen the same order of things, with the order
   as a sheet and Long, Short and Close in the bar at the foot.

   Colours, type and the slanted buttons are the site's own (base.css). */

/* a trading screen uses a wide window */
body.view-trade .wrap { max-width: 1760px; }

/* ---- the markets: a strip of chips, one tap away */
.lanes, .lanes[data-n] { display: flex; flex-wrap: nowrap; gap: 8px; min-height: 0; margin-top: 4px; padding: 12px 0 2px; overflow-x: auto; scrollbar-width: none; }
.lanes::-webkit-scrollbar { display: none; }
.lane { display: flex; align-items: center; gap: 9px; flex: none; padding: 5px 14px 5px 6px; min-height: 42px; border-radius: 999px; }
.lane img { width: 28px; height: 28px; }
.lane-rank, .lane-handle, .lane-spark, .lane .tug, .lane .tug-legend { display: none; }
.lane-name { font-size: 14px; }
.lane-price { font-size: 20px; padding-top: 0; text-align: left; }
.lane-chg { font-size: 12px; }
.lane-new { top: -10px; left: 12px; font-size: 11.5px; }
.all-mk { margin-top: 8px; }

/* ---- the screen */
.main { grid-template-columns: minmax(0, 1fr) 204px 336px; grid-template-areas: "head head head" "chart mid ticket" "under under ticket"; gap: 12px; margin-top: 10px; }
.mk-head { grid-area: head; }
.chart-card { grid-area: chart; position: relative; min-width: 0; }
.mid { grid-area: mid; }
.main > .ticket { grid-area: ticket; }
.under { grid-area: under; min-width: 0; }

/* one row: the market, the price, the numbers */
.mk-head { padding: 2px 2px 0; gap: 10px 24px; flex-wrap: nowrap; align-items: center; }
.mk-head img { width: 42px; height: 42px; }
.mk-pick { gap: 12px; }
.mk-name { font-size: 19px; }
.mk-price { margin-left: 0; text-align: left; display: flex; align-items: baseline; gap: 12px; flex: none; }
.mk-price .big { font-size: 40px; line-height: 1; }
.mk-price .big small { font-size: 16px; }
.mk-price .chg { margin-top: 0; white-space: nowrap; }
.stats, .stats[data-n="6"] { display: flex; flex: 1 1 auto; flex-wrap: wrap; justify-content: flex-end; gap: 6px 28px; min-width: 0; min-height: 0; margin: 0; border: 0; }
html.bigtext .stats { flex-basis: 100%; justify-content: flex-start; }
.stats .stat { flex: none; padding: 0; border: 0; }
.stat-k { font-size: 11px; white-space: nowrap; }
.stat-v { font-size: 13.5px; white-space: nowrap; }
.stat-pct { display: inline; margin-left: 4px; }
.stat .meter { width: 96px; margin-top: 8px; }

/* the chart's bar: candle length, kind of chart, indicators, the trader's own trades, two drawing tools, the map */
.chart-bar { flex-wrap: nowrap; justify-content: flex-start; gap: 6px; padding: 8px 12px 0; overflow-x: auto; scrollbar-width: none; }
.chart-bar::-webkit-scrollbar { display: none; }
.chart-bar > * { flex: none; }
.chart-bar .ivs { flex: none; }
.chart-bar .iv { flex: none; min-width: 38px; padding: 0 8px; }
.tool-gap { flex: 1 1 8px; min-width: 2px; }
.tool-type { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); background: var(--panel-3); border-radius: 8px; }
.tool-type .chev { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: -3px 0 0; display: inline-block; }
.tool-ico { min-width: 36px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; }
.tool-toggle[aria-pressed="true"], .tool-ico[aria-pressed="true"], #ind-btn.on { color: var(--ink); background: var(--panel-3); }
.tool-ico[aria-pressed="true"] { color: #12110e; background: var(--ink); }
.tool-help { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; width: 30px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; text-decoration: none; font-weight: 600; }
#chart { height: clamp(400px, calc(100vh - 372px), 720px); }
#chart.tooling { cursor: copy; }
/* The veil behind the order sheet lies over the whole of a small screen, unseen, while the sheet is shut. As a button
   it carried `touch-action: manipulation`, and Chromium reads that off the top layer for every touch on the page: it
   then tells the page about touches without letting the page take one for itself, so a finger on the chart's price
   scale scrolled the page as well. With `auto` the veil says nothing about touches and each part of the page decides. */
.scrim { touch-action: auto; }
#chart.on-y { cursor: ns-resize; }                              /* over the prices: a drag stretches or squeezes them */
#chart.on-x { cursor: ew-resize; }                              /* over the time marks: a drag widens or narrows the candles */
/* Auto, at the foot of the price scale: lit while the chart fits the prices and follows the newest candle by itself,
   plain once the trader has moved either; a tap gives both back. The button is tall enough for a finger, what shows is small. */
.auto-btn { position: absolute; right: 0; bottom: 0; z-index: 3; display: flex; align-items: flex-end; justify-content: center; width: 62px; height: 40px; padding: 0 0 3px; background: none; border: 0; }
.auto-btn span { display: block; padding: 2px 5px; background: #0a0908; border: 1px solid var(--line-strong); border-radius: 5px; color: var(--ink); font-size: 11px; font-weight: 600; line-height: 1.25; letter-spacing: 0.07em; text-transform: uppercase; white-space: nowrap; }
.auto-btn:hover span { border-color: var(--ink); }
.auto-btn[aria-pressed="true"] span { background: var(--ink); border-color: var(--ink); color: #12110e; }
.lg-vals { display: flex; flex-wrap: wrap; gap: 0 10px; }
.lg-vals span { white-space: nowrap; }

/* the menus under the bar */
.menu { position: absolute; z-index: 25; display: grid; gap: 2px; min-width: 196px; max-width: calc(100% - 16px); padding: 6px; background: #0f0e0c; border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6); }
.menu-item, .ind-on { display: flex; align-items: center; min-height: 40px; padding: 0 12px; background: none; border: 0; border-radius: 6px; color: var(--ink-dim); font-size: 14px; text-align: left; white-space: nowrap; }
.menu-item:hover, .ind-on:hover { color: var(--ink); background: var(--panel-2); }
.menu-item[aria-checked="true"], .ind-on[aria-pressed="true"] { color: var(--ink); background: var(--panel-3); }
.ind-row { display: flex; align-items: center; gap: 6px; }
.ind-on { flex: 1 1 auto; }
.ind-on::before, .menu-switch::before { content: ""; flex: none; width: 9px; height: 16px; margin-right: 10px; background: var(--line-strong); transform: skewX(-24deg); }
.ind-on[aria-pressed="true"]::before, .menu-switch[aria-checked="true"]::before { background: var(--flag); }
/* the Wicks switch, under the kinds of chart: for candles and hollow candles */
.menu-switch { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 6px 6px; }
.menu-switch[aria-checked="true"] { background: none; }
.menu-switch[aria-checked="true"]:hover { background: var(--panel-2); }
.menu-switch:disabled { opacity: 0.38; cursor: default; }
.menu-switch:disabled:hover { color: var(--ink-dim); background: none; }
.ind-set { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-faint); white-space: nowrap; }
.ind-set input { width: 52px; height: 40px; padding: 0 4px; background: var(--panel-3); border: 1px solid var(--line); border-radius: 6px; color: var(--ink); font-family: var(--mono); font-size: 16px; text-align: center; }
.ind-set input:disabled { opacity: 0.4; }

/* the position, as one tag on its line: a tap opens Close. The button is tall enough for a finger; what shows is small */
.pos-tag { position: absolute; left: 4px; z-index: 3; display: flex; align-items: center; height: 40px; padding: 0 4px; margin-top: -20px; background: none; border: 0; }
.pos-tag-in { display: block; padding: 2px 9px 3px; border-radius: 4px; transform: skewX(-10deg); background: var(--long); color: #06240f; font-family: var(--display); font-style: italic; font-weight: 700; font-size: 15px; line-height: 1.2; letter-spacing: 0.03em; text-transform: uppercase; white-space: pre; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45); }
.pos-tag.short .pos-tag-in { background: var(--short); color: #2b0704; }
.pos-tag.wait .pos-tag-in { opacity: 0.62; }
.pos-tag:disabled { cursor: default; }

/* one line under the chart, when there is something to say */
.near { display: block; padding: 6px 12px 12px; }
.near div { padding: 8px 12px; }

/* ---- the column of Motion's own */
.mid { display: none; padding: 12px 12px 8px; overflow: hidden; }
.mid-k { margin: 14px 0 7px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); }
.mid-k:first-child { margin-top: 0; }
.mid-band { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: 11.5px; color: var(--ink-dim); }
.mid-track { position: relative; display: block; height: 6px; background: var(--panel-3); border-radius: 3px; }
.mid-track i { position: absolute; top: -5px; width: 3px; height: 16px; margin-left: -1.5px; background: var(--ink); border-radius: 1px; }
.mid-track b { position: absolute; top: -2px; width: 7px; height: 10px; margin-left: -3.5px; background: var(--long); transform: skewX(-18deg); }
.mid-track b.short { background: var(--short); }
.ms { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 8px; align-items: center; margin-top: 7px; font-size: 12.5px; color: var(--ink-dim); }
.ms .meter { margin-top: 0; }
.ms b { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--ink); }
.mf { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; min-height: 27px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; }
.mf:first-child { border-top: 0; }
.mf .tag { justify-self: start; font-size: 12.5px; padding: 0 5px 1px; }
.mf span:nth-child(2) { color: var(--ink-dim); }

/* ---- under the chart: positions and trades, as tabs */
.utabs { display: flex; gap: 2px; padding: 4px 10px 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.utabs::-webkit-scrollbar { display: none; }
.utab { flex: none; min-height: 42px; padding: 6px 10px 6px; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--ink-faint); font-family: var(--display); font-style: italic; font-weight: 600; font-size: 18px; text-transform: uppercase; letter-spacing: 0.03em; white-space: nowrap; }
.utab:hover { color: var(--ink-dim); }
.utab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.utab small { margin-left: 8px; font-family: var(--body); font-style: normal; font-weight: 500; font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--ink-faint); }
.utab small:empty { display: none; }
.upanel .feed { max-height: none; }
.upanel .empty { padding-top: 20px; padding-bottom: 22px; }

/* ---- the order */
.acct { margin-top: 12px; padding-top: 10px; gap: 5px; }
.acct div { font-size: 13px; }
.soon { margin-top: 10px; font-size: 12.5px; color: var(--ink-faint); }
.warn-link { display: inline-flex; margin-left: 4px; font-weight: 500; color: var(--ink-dim); min-height: 0; }
.tb-btn.close { background: var(--ink); color: #12110e; }

/* the headline, now under the trading screen */
.thesis { padding-top: 46px; }

/* ---- a wide desk (1180 px and up): three columns, and every card ends on a line it shares.
   The chart sets the height of its row. The column of Motion's own is as tall as the chart, to the pixel, and its
   list of trades is the part that gives: it shows as many whole rows as fit, the newest on top, never half a row and
   never a scroll bar; with few trades the rows stand at the top and the card still reaches the line. Under the chart
   the card of positions and trades takes the height that is left beside the order, so its foot and the order's foot
   are one line; when a wallet has more positions than fit, they scroll inside it and the page keeps its length. It is
   never lower than 204 px: where the order is too short for that, the order's card reaches down to the same line.
   None of these is a number of pixels chosen for one screen: the rows of the grid work it out at every width. */
@media (min-width: 1180px) {
  .main { grid-template-rows: auto auto minmax(204px, 1fr); }
  .mk-head { padding-left: 0; padding-right: 0; }             /* the market's row keeps the cards' own two edges */
  .mid { display: flex; flex-direction: column; align-self: stretch; height: 0; min-height: 100%; }
  .mid > * { flex: none; }
  .mid > #feed-side { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; flex-wrap: wrap; align-content: flex-start; overflow: hidden; }
  /* (a row that does not fit whole goes to a second column, which is out of sight: so the last row seen is whole) */
  #feed-side .mf { flex: none; width: 100%; height: 27px; }
  .main > .ticket { position: static; align-self: stretch; }
  .under { display: flex; flex-direction: column; align-self: stretch; height: 0; min-height: 100%; overflow: hidden; }
  .under > .utabs { flex: none; }
  .under > .upanel { flex: 1 1 0; min-height: 0; overflow: auto; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
}
/* On a narrower desk the positions stand beside the order in less room: the table's cells sit closer, and the row's
   two buttons keep to the card's right edge, in sight, should a row still be wider than the card. */
@media (min-width: 1180px) and (max-width: 1399px) {
  #pos-body table { font-size: 13px; }
  #pos-body th, #pos-body td { padding-left: 5px; padding-right: 5px; }
  #pos-body th:first-child, #pos-body td:first-child { padding-left: 14px; }
  #pos-body th:last-child, #pos-body td:last-child { padding-right: 14px; }
  #pos-body td.who { font-size: 14px; }
  #pos-body td.act { position: sticky; right: 0; background: var(--panel); }
  #pos-body td.act .close-btn { padding: 4px 9px; }
}
@media (min-width: 900px) and (max-width: 1179px) {
  .main { grid-template-columns: minmax(0, 1fr) 332px; grid-template-areas: "head head" "chart ticket" "under under"; }
  .main > .ticket { position: static; }
  .stats, .stats[data-n="6"] { gap: 6px 18px; }
  .stat .meter { width: 70px; }
}
@media (min-width: 900px) and (max-width: 1399px) {
  .stats .stat-vol { display: none; }                         /* traded, 24 hours: the first to give way on a narrower desk (it is in the list of markets) */
}
@media (min-width: 900px) and (max-width: 1699px) {
  .tool-map .wide { display: none; }
  .chart-bar .iv { min-width: 34px; padding: 0 6px; }
  .chart-bar .tool { padding: 0 8px; }
  .tool-ico { min-width: 32px; }
}
@media (min-width: 900px) and (max-width: 1079px) {
  .mk-head { flex-wrap: wrap; }
  .stats, .stats[data-n="6"] { flex-basis: 100%; justify-content: flex-start; }
}

/* ---- phones and tablets: one column, the order as a sheet */
@media (max-width: 899px) {
  .main { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "chart" "under"; gap: 10px; }
  .main > .ticket { grid-area: auto; }
  .mk-head { flex-wrap: wrap; gap: 8px 14px; padding: 0 2px; }
  .mk-pick { flex: 1 1 0; }
  .mk-price { margin-left: auto; flex-direction: column; align-items: flex-end; gap: 2px; }
  .mk-price .big { font-size: 34px; }
  .mk-price .chg .dim { display: none; }                      /* the number of the change; over what time is in the list of markets */
  /* the market's numbers: one line that slides sideways, how full the two sides are first */
  .stats, .stats[data-n="6"], html.bigtext .stats { flex: 0 0 100%; flex-wrap: nowrap; justify-content: flex-start; gap: 6px 20px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .stats::-webkit-scrollbar { display: none; }
  .stats .stat-side { order: -1; }
  .stat-v { font-size: 13px; }
  .stat .meter { width: 92px; margin-top: 7px; }
  #chart { height: 340px; }
  .chart-bar { padding: 8px 10px 0; }
  .tool-help { width: 40px; min-width: 40px; }
  .warn-link { min-height: 40px; margin-left: 0; display: flex; }
  /* the bar at the foot: with a position, the position stands where the market's name stood, and Close beside Long and Short */
  .tradebar.held { grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 6px; }
  .tradebar.held .tb-btn { min-width: 0; padding: 0 12px; font-size: 20px; }
  .tradebar.held .tb-name { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: 0.03em; }
  .tradebar.held .tb-price { font-size: 12.5px; }
}
@media (max-width: 599px) {
  .lanes, .lanes[data-n] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; overflow: visible; }
  .lane { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 7px; padding: 5px 8px 5px 5px; border-radius: 12px; min-height: 44px; }
  .lane img { grid-row: 1 / span 2; width: 26px; height: 26px; }
  .lane-who { grid-column: 2; grid-row: 1; }
  .lane-name { font-size: 12.5px; }
  .lane-price { grid-column: 2; grid-row: 2; font-size: 16px; line-height: 1.05; }
  .lane-chg { display: none; }
  .lane-new { left: 6px; }
  .mk-head img { width: 36px; height: 36px; }
  .mk-name { font-size: 17px; }
  .mk-price .big { font-size: 30px; }
  #chart { height: 320px; }
  .utab { font-size: 16.5px; padding-left: 8px; padding-right: 8px; }
  #feed-who { display: none; }
}
@media (max-width: 419px) {
  .tradebar.held .tb-info img { display: none; }
  .tradebar.held .tb-btn { padding: 0 9px; font-size: 18px; }
  .pos-tag-in { font-size: 14px; }
}
@media (max-width: 339px) {
  .tradebar.held { gap: 5px; }
  .tradebar.held .tb-btn { padding: 0 7px; font-size: 16.5px; }
  .tradebar.held .tb-name { font-size: 15px; }
  .tradebar.held .tb-price { font-size: 11.5px; }
  .utab { font-size: 15px; padding-left: 6px; padding-right: 6px; }
}
/* a finger, on any width: the links and small buttons of the screen are 40 px tall */
@media (pointer: coarse) {
  .warn-link { display: flex; min-height: 40px; margin-left: 0; }
  .tool-help { width: 40px; min-width: 40px; }
}
@media (max-height: 480px) and (orientation: landscape) and (max-width: 899px) {
  #chart { height: 230px; }
  .tradebar.held { grid-template-columns: 1fr 1fr 1fr; }
}

/* ==== the feel of a live market (24 November). Motion here carries one piece of news each time and nothing else, on
   one curve; under "reduce motion" none of it moves (base.css switches every animation and transition off) and the
   news is still there in colour and in words. ==== */
:root { --ease: cubic-bezier(0.2, 0.8, 0.2, 1); }

/* numbers keep their width while they change (the two prices set in the display face keep its own figures: fixed
   width figures would change the look of the headline price and push the market's row onto a second line) */
.lane-chg, .stat-v, .stat-pct, .tb-price, .sheet-price, .mf, #pos-body td, #mine-body td, #feed td, .sum dd, .acct dd, .ms b, .bal b, #size-out, #margin-hint { font-variant-numeric: tabular-nums; }

/* (a price that has just changed takes the colour of the move for a moment: app.js, flash) */
/* a trade that has just arrived in the list */
@keyframes arrive { from { background: rgba(245, 241, 232, 0.1); } }
.mf.new, #feed tr.new td { animation: arrive 0.9s ease-out; }


/* the order button: the last five seconds to approve are marked, quietly; a fill rests on the button for a moment */
.go.late { box-shadow: inset 0 0 0 3px var(--flag); }
.go.filled, .go.filled:disabled { background: var(--ink); color: #12110e; transition: background 0.2s var(--ease); }
.why { margin-left: 6px; font-size: 12px; color: var(--ink-faint); white-space: nowrap; }

/* ---- until the first numbers arrive: shapes where they will stand, so nothing is blank and nothing jumps */
@keyframes wait { from { opacity: 0.45; } to { opacity: 1; } }
html.loading .mk-price .big, html.loading .mk-name, html.loading .mk-handle, html.loading .tb-name, html.loading .tb-price { color: transparent; }
html.loading .mk-price .big small { visibility: hidden; }
html.loading .mk-price .big, html.loading .mk-name, html.loading .tb-name, html.loading .tb-price, html.loading .stats::before, html.loading .lanes::before, html.loading #pos-body::before {
  background: var(--panel-3); border-radius: 6px; animation: wait 0.9s ease-in-out infinite alternate;
}
html.loading .mk-price .big { min-width: 148px; min-height: 36px; }
html.loading .mk-name { min-width: 92px; min-height: 20px; }
html.loading .tb-name { min-width: 80px; min-height: 16px; }
html.loading .tb-price { min-width: 96px; min-height: 13px; margin-top: 4px; }
html.loading .lanes::before { content: ""; flex: none; width: min(360px, 100%); height: 42px; border-radius: 999px; }
html.loading .stats::before { content: ""; flex: none; width: min(520px, 100%); height: 34px; }
html.loading #pos-body::before { content: ""; display: block; height: 20px; margin: 20px 22px 22px; width: min(320px, 70%); }
html.loading .mk-head img, html.loading .tb-info img { visibility: hidden; }
html.loading .stats, html.loading .stats[data-n] { min-height: 34px; }

/* ---- the opening hour. The last minute before Ansem opens, and the first minutes of the live page, are the one
   moment this page stages: the yellow strip counts, a line runs out along its foot, and when the page comes up live a
   light passes over the strip and Ansem's chip, once. Nothing here covers a button or waits for anything. */
.strip { position: relative; }
.strip-run { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: #1a1503; pointer-events: none; transition: width 1s linear; }
@keyframes beat { 50% { transform: scale(1.08); } }
html.opening.last-ten #strip-clock { animation: beat 1s var(--ease) infinite; }
@keyframes pass { from { transform: translateX(-110%); } to { transform: translateX(110%); } }
html.just-live .strip::after, html.opened .strip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 70%); transform: translateX(-110%); animation: pass 1.4s var(--ease) 0.15s 1; pointer-events: none; }
@keyframes ring { from { box-shadow: 0 0 0 0 rgba(242, 194, 48, 0.7); } to { box-shadow: 0 0 0 14px rgba(242, 194, 48, 0); } }
html.just-live .lane[aria-pressed="true"], html.opened .lane[data-id="ansem"] { animation: ring 1.2s ease-out 0.3s 2; }
@keyframes land { from { opacity: 0; transform: translateY(6px); } }
html.just-live .mk-price .big { animation: land 0.5s var(--ease) 0.2s both; }

/* ---- the chart: its line of numbers has a quiet backing of the chart's own colour, so no line runs through its text */
.lg-bar span, .lg-vals span { background: rgba(22, 21, 18, 0.86); box-shadow: 0 0 0 2px rgba(22, 21, 18, 0.86); }
.lg-bar, .lg-vals { row-gap: 1px; }

/* the chart's bar slides sideways on a small screen: its far edge fades, to say there is more */
@media (max-width: 899px) {
  .chart-card::after { content: ""; position: absolute; top: 8px; right: 1px; width: 26px; height: 42px; border-radius: 0 var(--r) 0 0; background: linear-gradient(90deg, rgba(22, 21, 18, 0), var(--panel) 85%); pointer-events: none; }
  .chart-card.bar-end::after { display: none; }
}
