/* The Trade page's look (2026-11 restyle, Kalshi / Robinhood direction). Linked LAST on human.html, after every other
   stylesheet, so it reads as one layer over the page's structural CSS (human.css, updown.css, tradekit.css, blotter.css).
   One focal point: the asset and its big price, the chart as the hero, a ticket on the right (below on a phone).
   Pure black, white ink, readable grey, green/red only for direction and P&L, pill actions filled only, Inter with
   tabular numbers in three sizes (the 52px price, 20px titles, 14-15px body). Nothing animates on data.
   The chart's own drawing reads --chart-look below (lwchart.js: one line in the window's direction). */
:root { --chart-look: clean; --tk-card: #09090a; --tk-fill: #101012; --tk-fill2: #161619; --tk-line: rgba(255, 255, 255, 0.08); }
html, body { background: #000; }
body { font-size: 15px; }
h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }

/* ---------- the market strip: one pill per market with a coloured icon; the selected one filled ---------- */
.mkts { gap: 6px; min-height: 64px; padding: 12px 28px; background: #000; border-bottom: 1px solid var(--tk-line); }
html:not(.one-mkt) .mkts[hidden] { height: 65px; }
.mk { display: grid; grid-template-columns: 28px auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; min-width: 0; max-width: 240px; min-height: 44px; padding: 6px 14px 6px 8px; border-radius: 999px; }
@media (hover: hover) { .mk:hover { background: var(--tk-fill); } }
.mk.on { background: var(--tk-fill2); box-shadow: none; }
.mk .mki { grid-row: 1 / span 3; grid-column: 1; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #2a2a30; color: #fff; font-size: 13px; font-weight: 700; line-height: 1; }
.mk .mn { grid-column: 2; font-size: 14px; line-height: 18px; font-weight: 600; color: #fff; }
.mk.on .mn { color: #fff; }
.mk .mp { grid-column: 2; font-size: 13px; line-height: 17px; font-weight: 400; color: var(--ob-ink-2); gap: 5px; }
.mk .mc { font-size: 13px; font-weight: 400; }
.mk .mx { grid-column: 2; font-size: 12px; }
.mkar { background: var(--tk-fill2); box-shadow: none; }

/* asset colours: the strip icon and the price block's coin (data-m, set by human.js) */
:is(.mk[data-m="BTC"] .mki, .coin[data-m="BTC"]) { background: #f7931a; }
:is(.mk[data-m="XAU"] .mki, .coin[data-m="XAU"]) { background: #c9a227; }
:is(.mk[data-m="WTI"] .mki, .coin[data-m="WTI"], .mk[data-m="BRENT"] .mki, .coin[data-m="BRENT"]) { background: #3b3b42; }
:is(.mk[data-m="PJM"] .mki, .coin[data-m="PJM"]) { background: #e0a100; }
:is(.mk[data-m="H100"] .mki, .coin[data-m="H100"]) { background: #1fae6a; }
:is(.mk[data-m="EURUSD"] .mki, .coin[data-m="EURUSD"], .mk[data-m="GBPUSD"] .mki, .coin[data-m="GBPUSD"], .mk[data-m="AUDUSD"] .mki, .coin[data-m="AUDUSD"], .mk[data-m="USDJPY"] .mki, .coin[data-m="USDJPY"], .mk[data-m="USDCNH"] .mki, .coin[data-m="USDCNH"], .mk[data-m="DXY"] .mki, .coin[data-m="DXY"]) { background: #2b5cd6; }
:is(.mk[data-m="ETH"] .mki, .coin[data-m="ETH"]) { background: #627eea; }
:is(.mk[data-m="SOL"] .mki, .coin[data-m="SOL"]) { background: #9945ff; }
:is(.mk[data-m="XRP"] .mki, .coin[data-m="XRP"]) { background: #23292f; }
:is(.mk[data-m="BNB"] .mki, .coin[data-m="BNB"]) { background: #f0b90b; color: #000; }
:is(.mk[data-m="DOGE"] .mki, .coin[data-m="DOGE"]) { background: #c2a633; }
:is(.mk[data-m="HYPE"] .mki, .coin[data-m="HYPE"]) { background: #3ccfb4; color: #000; }
:is(.mk[data-m="LINK"] .mki, .coin[data-m="LINK"]) { background: #2a5ada; }
:is(.mk[data-m="AVAX"] .mki, .coin[data-m="AVAX"]) { background: #e84142; }
:is(.mk[data-m="SUI"] .mki, .coin[data-m="SUI"]) { background: #4da2ff; }
:is(.mk[data-m="ADA"] .mki, .coin[data-m="ADA"]) { background: #0033ad; }
:is(.mk[data-m="NVDA"] .mki, .coin[data-m="NVDA"]) { background: #76b900; color: #000; }
:is(.mk[data-m="TSLA"] .mki, .coin[data-m="TSLA"]) { background: #cc0000; }
:is(.mk[data-m="AAPL"] .mki, .coin[data-m="AAPL"]) { background: #555; }
:is(.mk[data-m="MSFT"] .mki, .coin[data-m="MSFT"]) { background: #00a4ef; }
:is(.mk[data-m="AMZN"] .mki, .coin[data-m="AMZN"]) { background: #ff9900; color: #000; }
:is(.mk[data-m="GOOGL"] .mki, .coin[data-m="GOOGL"]) { background: #4285f4; }
:is(.mk[data-m="META"] .mki, .coin[data-m="META"]) { background: #0866ff; }
:is(.mk[data-m="AMD"] .mki, .coin[data-m="AMD"]) { background: #1f1f1f; }
:is(.mk[data-m="TSM"] .mki, .coin[data-m="TSM"]) { background: #c4161c; }
:is(.mk[data-m="PLTR"] .mki, .coin[data-m="PLTR"]) { background: #2b2b2b; }
:is(.mk[data-m="COIN"] .mki, .coin[data-m="COIN"]) { background: #0052ff; }
:is(.mk[data-m="MSTR"] .mki, .coin[data-m="MSTR"]) { background: #d9232e; }
:is(.mk[data-m="HOOD"] .mki, .coin[data-m="HOOD"]) { background: #ccff00; color: #000; }
:is(.mk[data-m="JPM"] .mki, .coin[data-m="JPM"]) { background: #6b5a45; }
:is(.mk[data-m="US500"] .mki, .coin[data-m="US500"], .mk[data-m="US100"] .mki, .coin[data-m="US100"], .mk[data-m="US30"] .mki, .coin[data-m="US30"], .mk[data-m="US2000"] .mki, .coin[data-m="US2000"]) { background: #3a4a6b; }
:is(.mk[data-m="VIX"] .mki, .coin[data-m="VIX"]) { background: #7a3b8f; }
:is(.mk[data-m="HSI"] .mki, .coin[data-m="HSI"], .mk[data-m="NIKKEI"] .mki, .coin[data-m="NIKKEI"]) { background: #8a2b3a; }
:is(.mk[data-m="XAG"] .mki, .coin[data-m="XAG"], .mk[data-m="XPT"] .mki, .coin[data-m="XPT"]) { background: #8e9196; }
:is(.mk[data-m="COPPER"] .mki, .coin[data-m="COPPER"]) { background: #b8733e; }
:is(.mk[data-m="NATGAS"] .mki, .coin[data-m="NATGAS"]) { background: #3a7bd5; }
:is(.mk[data-m="WHEAT"] .mki, .coin[data-m="WHEAT"]) { background: #c8a04a; }
:is(.mk[data-m="URANIUM"] .mki, .coin[data-m="URANIUM"]) { background: #5a8f29; }
:is(.mk[data-m="US10Y"] .mki, .coin[data-m="US10Y"], .mk[data-m="US2Y"] .mki, .coin[data-m="US2Y"], .mk[data-m="CPI"] .mki, .coin[data-m="CPI"]) { background: #4a5568; }
:is(.mk[data-m="HOME"] .mki, .coin[data-m="HOME"], .mk[data-m="RENT"] .mki, .coin[data-m="RENT"], .mk[data-m="EGGS"] .mki, .coin[data-m="EGGS"]) { background: #8a6d3b; }
:is(.mk[data-m="OPENAI"] .mki, .coin[data-m="OPENAI"], .mk[data-m="SPACEX"] .mki, .coin[data-m="SPACEX"]) { background: #3a3a3f; }
:is(.mk[data-m="ANT"] .mki, .coin[data-m="ANT"], .mk[data-m="ANTHROPIC"] .mki, .coin[data-m="ANTHROPIC"]) { background: #d97757; }

/* ---------- layout: a page that scrolls; the chart column and the ticket side by side, centred ---------- */
.app, body.has-sbar .app { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; height: auto; min-height: 0; max-width: 1320px; margin: 0 auto; padding: 32px 28px 72px; }
.split { display: none; }
.chartcol, .side { --bg: #000; background: transparent; border: 0; border-radius: 0; }
.chartcol { padding: 0; }
.side { align-self: start; overflow: visible; }
@media (min-width: 701px) {
  .app { gap: 40px; padding: 32px 28px 72px; }
  .chartcol { padding: 0; border: 0; background: transparent; }
  .side { --bg: var(--tk-card); position: static; background: var(--tk-card); border: 1px solid var(--tk-line); border-radius: 20px; padding: 6px 0 8px; }
}
@media (min-width: 701px) and (max-width: 1100px) { .app, body.has-sbar .app { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; padding: 24px 20px 72px; } }
body.has-sbar { padding-bottom: 26px; }

/* ---------- the price block: icon + name, the big price, the change ---------- */
.pxblock { padding: 0; }
.pxblock .sym { display: grid; grid-template-columns: 40px max-content max-content max-content 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 0; align-items: center; font-size: 14px; line-height: 18px; }
.pxblock .coin, .pxblock .coin.g { grid-row: 1 / span 2; grid-column: 1; width: 40px; min-width: 40px; height: 40px; padding: 0; border-radius: 50%; background: #2a2a30; color: #fff; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.pxblock .coin.g { font-size: 12px; }
.pxblock .symn { grid-row: 1; grid-column: 2 / -1; font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.pxblock .symt { grid-row: 2; grid-column: 2; font-weight: 500; color: var(--ob-label); }
.pxblock .feed { grid-row: 2; grid-column: 3; margin-left: 0; }
.pxblock .orl { grid-row: 2; grid-column: 4; font-size: 14px; font-weight: 500; color: var(--ob-label); padding: 0; margin-left: -6px; }
.pxblock .orl::before { color: var(--ob-label); }
.pxblock .pxrow { flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 14px; }
.pxblock .px { flex: 0 0 100%; font-size: 52px; font-weight: 600; letter-spacing: -0.035em; line-height: 1; color: #fff; }
.pxblock .px.wait { font-size: 20px; }
.pxblock .chg, .pxblock .chg.up, .pxblock .chg.down { margin-top: 8px; padding: 0; background: transparent; font-size: 15px; font-weight: 600; line-height: 20px; border-radius: 0; }
.pxblock .chgl { margin-top: 8px; font-size: 15px; line-height: 20px; font-weight: 500; color: var(--ob-label); }

/* ---------- the chart: the hero ---------- */
.chartwrap { flex: none; height: 380px; min-height: 0; margin-top: 24px; }
#chart { flex: 1 1 0; }
.rng { margin-top: 12px; height: auto; padding: 0; gap: 4px; background: transparent; box-shadow: none; border-radius: 0; }
.rng button { flex: 0 0 auto; min-width: 0; min-height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ob-label); }
@media (hover: hover) { .rng button:hover { color: #fff; } }
.rng button.on { background: var(--tk-fill2); color: #fff; box-shadow: none; }
.intro { border-radius: 20px; background: var(--tk-card); box-shadow: inset 0 0 0 1px var(--tk-line); padding: 16px 20px 18px; }
.introx { height: 36px; padding: 0 16px; border-radius: 999px; background: #fff; color: #000; font-weight: 600; }
.steps b { font-size: 15px; }
.steps span:not(.sn) { font-size: 14px; color: var(--ob-label); }
.tip { border-radius: 10px; font-size: 13px; }

/* ---------- Positions / Fills / Settled under the chart: clean text tabs ---------- */
.blot { height: auto; min-height: 0; margin-top: 32px; border-top: 0; }
.blgrip { display: none; }
.blth { gap: 24px; padding: 0; border-bottom: 1px solid var(--tk-line); }
.blth button { gap: 0; padding: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--ob-label); }
.blth button.on { color: #fff; border-bottom-color: #fff; }
.blth .blti { display: none; }
.blth .bltn { margin-left: 6px; color: var(--ob-label); font-weight: 500; }
.bltb { overflow-x: auto; overflow-y: visible; }
.bltt { font-size: 14px; }
.bltt th { padding: 12px 12px 8px 0; background: transparent; font-size: 13px; font-weight: 500; color: var(--ob-label); }
.bltt td { padding: 12px 12px 12px 0; color: var(--ob-ink-2); }
.blte { margin: 28px 0; font-size: 15px; color: var(--ob-label); text-align: center; }
.bltd { margin: 16px 0; font-size: 14px; }
.bltd dt { color: var(--ob-label); }
.sbar { background: #000; border-top: 1px solid var(--tk-line); color: var(--ob-label); }

/* ---------- the ticket ---------- */
/* Up / Down | Ask: text tabs, the chosen one white with a 2px underline */
.stabs, .stabs[class] { position: static; gap: 22px; margin: 0 22px 18px; padding: 14px 0 0; border: 0; border-bottom: 1px solid var(--tk-line); border-radius: 0; background: transparent; }
.stab, .stab[class] { flex: 0 0 auto; margin: 0 0 -1px; padding: 0 0 12px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; font-size: 15px; font-weight: 600; color: var(--ob-label); }
@media (hover: hover) { .stab:hover { color: #fff; } }
.stab.on, .stab.on[class] { background: transparent; color: #fff; border-bottom-color: #fff; }
.side .card { padding: 0 22px 20px; border-bottom: 0; }
.side > .card + .card { border-top: 1px solid var(--tk-line); padding-top: 18px; }

/* Up / Down: the market and its price, the lengths as pills */
.updown .udtop { margin-bottom: 14px; }
.updown .udh { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.updown .udpx { font-size: 15px; color: var(--ob-label); }
.updown .udlen, .side .updown .udlen { height: auto; margin: 0 -22px 18px; padding: 0 22px; gap: 6px; background: transparent; box-shadow: none; border-radius: 0; overflow-x: auto; scrollbar-width: none; }
.updown .udlen::-webkit-scrollbar { display: none; }
.updown .udlen button, .side .updown .udlen button { flex: 0 0 auto; height: 34px; min-height: 34px; padding: 0 13px; border-radius: 999px; background: var(--tk-fill); font-size: 13px; font-weight: 600; color: var(--ob-ink-2); white-space: nowrap; }
@media (hover: hover) { .updown .udlen button:hover { color: #fff; background: var(--tk-fill2); } }
.updown .udlen button.on { background: #fff; color: #000; box-shadow: none; }

/* the rows: the strike, its chance first (the big number), then soft-tinted Up / Down pills */
.updown .udhd, .updown .udrow { grid-template-columns: minmax(0, 1fr) 80px 80px; gap: 8px; }
.updown .udhd { padding: 0 0 10px; font-size: 13px; font-weight: 500; color: var(--ob-label); border-bottom: 1px solid var(--tk-line); }
.updown .udrow, .updown .udrow.atm { padding: 12px 0; border-bottom: 1px solid var(--tk-line); }
.updown .udl { font-size: 15px; font-weight: 500; color: #fff; }
.updown .udl small { font-size: 13px; color: var(--ob-label); }
.updown .udl .udpct { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.updown .udc { height: 40px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: none; }
.updown .udc .udcl { font-size: 14px; font-weight: 600; }
.updown .udc.u, .updown .udc.u .udcl { color: var(--ob-up); }
.updown .udc.d, .updown .udc.d .udcl { color: var(--ob-down); }
.updown .udc.u { background: var(--ob-up-bg); }
.updown .udc.d { background: var(--ob-down-bg); }
@media (hover: hover) { .updown .udc.u:hover { background: rgba(31, 209, 112, 0.2); color: var(--ob-up); } }
@media (hover: hover) { .updown .udc.d:hover { background: rgba(255, 77, 90, 0.2); color: var(--ob-down); } }
.updown .udc.u.on, .updown .udc.u.on .udcl { background: var(--ob-up); color: #000; box-shadow: none; }
.updown .udc.d.on, .updown .udc.d.on .udcl { background: var(--ob-down); color: #000; box-shadow: none; }
.updown .udc.d.on .udcl, .updown .udc.u.on .udcl { background: transparent; }
.updown .udc:disabled { background: var(--tk-fill); box-shadow: none; color: var(--ob-label); }
.updown .udc.none .udcn { font-size: 13px; color: var(--ob-label); }
.updown .udnone, .updown .udwhy { font-size: 14px; color: var(--ob-label); }
.updown .udreach { margin-top: 24px; }

/* the amount: one big number with chips under it; the payout big; one full-width pill */
.updown .udbuy, .side .updown .udbuy { position: static; display: flex; flex-direction: column; margin-top: 8px; padding: 22px 0 0; border-top: 0; background: transparent; }
.updown .udamt .flab, .side .updown .udamt .flab { display: block; margin: 0 0 4px; text-align: center; font-size: 13px; font-weight: 500; color: var(--ob-label); }
.updown .udsz { flex-direction: column; align-items: stretch; gap: 14px; }
.updown .udsz .amt, .side .updown .udsz .amt { flex: none; justify-content: center; height: auto; min-height: 0; padding: 0; background: transparent; box-shadow: none; border-radius: 0; font-size: 56px; font-weight: 600; color: var(--ob-label); letter-spacing: -0.04em; line-height: 1.05; }
@media (hover: hover) { .updown .udsz .amt:hover { box-shadow: none; } }
.updown .udsz .amt:focus-within { box-shadow: none; }
.updown .udsz .amt input, .side .updown .udsz .amt input { flex: 0 1 auto; width: 3.2ch; field-sizing: content; min-width: 1ch; max-width: 100%; height: auto; padding: 0; font-size: 56px; font-weight: 600; letter-spacing: -0.04em; color: #fff; text-align: left; }
.updown .udsz .amt input:focus-visible { outline: 0; }
/* the field as wide as what is typed in it, so "$5" sits on the card's centre (a fixed 3.2ch had pushed it ~40 px left) */
@supports (field-sizing: content) { .updown .udsz .amt input, .side .updown .udsz .amt input { width: auto; } }
.updown .udchips { justify-content: center; gap: 8px; flex-wrap: wrap; }
.updown .chipb { height: 34px; min-width: 0; padding: 0 14px; border-radius: 999px; background: var(--tk-fill); color: var(--ob-ink-2); font-size: 13px; font-weight: 600; }
@media (hover: hover) { .updown .chipb:hover { background: var(--tk-fill2); color: #fff; } }
.updown .chipb.on { background: #fff; color: #000; }
/* a chip over the free cash: dimmed, not pickable */
.updown .chipb:disabled { background: var(--tk-fill); color: var(--ob-label); opacity: 0.4; cursor: default; }
@media (hover: hover) { .updown .chipb:disabled:hover { background: var(--tk-fill); color: var(--ob-label); opacity: 0.4; cursor: default; } }
.updown .udsum { order: 1; margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--tk-line); min-height: 0; font-size: 14px; line-height: 1.45; color: var(--ob-label); }
.updown .udsum .udw { color: #fff; font-weight: 600; font-size: 15px; }
.updown .udsum .udx { display: block; margin-top: 2px; color: var(--ob-label); }
.updown .udpay { order: 2; margin: 14px 0 0; align-items: baseline; font-size: 15px; color: var(--ob-label); }
.updown .udpay b { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; color: #fff; margin: 0 2px; }
.updown .udpay .up { font-size: 15px; font-weight: 600; }
.updown .udgo { order: 3; margin-top: 18px; }
.updown .udmsg { order: 5; font-size: 14px; }
/* the one quiet line under the card: "Zero fees · How pricing works"; the link opens the rest in place */
.updown .udfine { margin: 14px 0 0; text-align: center; font-size: 13px; line-height: 18px; color: var(--ob-label); }
.updown .udhowb { font-size: 13px; font-weight: 500; color: var(--ob-label); }
.updown .udhowb[aria-expanded="true"] { color: #fff; }
@media (hover: hover) { .updown .udhowb:hover { color: #fff; } }
.updown .udhow { margin: 12px 0 0; padding: 14px 16px 6px; border-radius: 16px; background: var(--tk-fill); font-size: 13px; line-height: 1.5; color: var(--ob-ink-2); }
.updown .udhow p { margin: 0 0 8px; }

/* the trading button: one full-width pill, green for Up, red for Down, black ink */
.tbtn { height: 54px; border-radius: 999px; font-size: 16px; font-weight: 700; background: var(--ob-up); color: #000; }
.tbtn[data-side="down"] { background: var(--ob-down); color: #000; }
.tbtn[data-side="both"] { background: #fff; color: #000; }
@media (hover: hover) { .tbtn:hover { filter: brightness(1.08); } }
.tbtn:disabled, .tbtn.wait { background: var(--tk-fill2); color: var(--ob-label); box-shadow: none; }
.sbtn { height: 48px; border-radius: 999px; background: var(--tk-fill2); font-size: 15px; font-weight: 600; }
@media (hover: hover) { .sbtn:hover { background: #26262b; } }
.primary { height: 48px; border-radius: 999px; background: #fff; color: #000; font-weight: 600; }
.primary:disabled { background: var(--tk-fill2); color: var(--ob-label); box-shadow: none; }
.secondary { height: 48px; border-radius: 999px; background: var(--tk-fill2); font-weight: 600; }
@media (hover: hover) { .secondary:hover { background: #26262b; } }
.take { border-radius: 999px; background: var(--tk-fill2); }
.take.hot { background: #fff; color: #000; }
.qchips > button { border-radius: 999px; height: 32px; padding: 0 14px; font-size: 13px; font-weight: 600; background: var(--tk-fill); }
.qchips > button.on, .qchips > button[aria-pressed="true"] { background: #fff; color: #000; }
.seg.dir, .seg.dir[class] { height: 48px; padding: 4px; gap: 4px; border-radius: 999px; background: var(--tk-fill); box-shadow: none; }
.seg.dir > :is(button, span) { height: 40px; border-radius: 999px; font-weight: 600; }
.seg.dir > :is(button, span).up.on { background: var(--ob-up); color: #000; box-shadow: none; }
.seg.dir > :is(button, span).down.on { background: var(--ob-down); color: #000; box-shadow: none; }
.seg.dir > :is(button, span).up { color: var(--ob-up); }
.seg.dir > :is(button, span).down { color: var(--ob-down); }

.amt { border-radius: 12px; background: var(--tk-fill); box-shadow: none; }
.amt:focus-within { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5); }
.quotes { border-top-color: var(--tk-line); }
.qh h2 { font-size: 20px; }
.offer { min-height: 60px; padding: 12px 0; }
.offer .ot { font-size: 15px; }
.offer .meta { font-size: 13px; }
.offer .pp { font-size: 17px; }
.msg { border-radius: 14px; font-size: 14px; }

/* the trades card (phones; on desktop the panel under the chart lists them) */
#pf .ch h2 { font-size: 20px; }
.bet { min-height: 60px; padding: 12px 0; border-top-color: var(--tk-line); }
.bet .b1 { font-size: 15px; font-weight: 600; }
.bet .b2, .bet .st, .bet .st2 { font-size: 13px; }
.bet .pl { font-size: 15px; }
.dchip { height: 24px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.empty { font-size: 15px; color: var(--ob-label); }
.linkbtn { font-size: 13px; color: var(--ob-label); }

/* sheets: the finished trade's sheet and the confirm sheet (trade-guard.js) */
.bsheet, .tgc { padding: 18px 20px; border-radius: 20px; background: #141416; font-size: 14px; }
.tgc-t { font-size: 20px; letter-spacing: -0.01em; }
.tgc-w { font-size: 14px; color: var(--ob-ink-2); }
.tgc-r { padding: 9px 0; border-bottom-color: var(--tk-line); }
.tgc-r dt { color: var(--ob-label); }
.tgc-r dd { font-weight: 600; }
.tgc-b { gap: 10px; margin-top: 16px; }
.tgc-b .primary, .tgc-b .secondary { height: 48px; border-radius: 999px; }
.tgc-back.tgc-phone { background: rgba(0, 0, 0, 0.6); }
.tgc.tgc-phone, .bsheet.bsheet { border-radius: 20px 20px 0 0; }
@media (min-width: 701px) { .bsheet { border-radius: 20px; } }

/* ---------- phones: one column, the ticket under the chart ---------- */
@media (max-width: 700px) {
  .app, body.has-sbar .app { display: block; max-width: none; padding: 20px 16px 40px; }
  body.has-mbar .app { padding-bottom: calc(var(--mbar-h) + 24px + env(safe-area-inset-bottom)); }
  .mkts { min-height: 60px; padding: 10px 16px; }
  html:not(.one-mkt) .mkts[hidden] { height: 61px; }
  .mk { min-width: 0; min-height: 44px; }
  .pxblock .px { font-size: 40px; }
  .pxblock .symn { font-size: 20px; }
  .pxblock .chgl { display: inline; }
  .pxblock .orl { min-height: 0; margin: 0 0 0 -6px; padding: 0; }
  .chartwrap, #chart { height: 240px; }
  .chartwrap { margin-top: 20px; }
  #chart { flex: none; }
  .rng { margin-top: 10px; }
  .rng button { min-height: 44px; padding: 0 14px; }
  .side { margin-top: 28px; padding: 0; background: transparent; border: 0; border-radius: 0; }
  .stabs, .stabs[class] { margin: 0 0 18px; padding: 0; }
  .stab, .stab[class] { min-height: 44px; padding: 0 0 10px; }
  .side .card { padding: 0 0 20px; }
  .side > .card + .card { padding-top: 20px; }
  .updown .udlen, .side .updown .udlen { margin: 0 -16px 18px; padding: 0 16px; }
  .updown .udlen button, .side .updown .udlen button { min-height: 44px; height: 44px; padding: 0 16px; }
  .updown .udhd, .updown .udrow { grid-template-columns: minmax(0, 1fr) 76px 76px; gap: 6px; }
  .updown .udc { height: 44px; }
  .updown .udl .udpct { font-size: 18px; }
  .updown .udsz .amt, .side .updown .udsz .amt, .updown .udsz .amt input, .side .updown .udsz .amt input { font-size: 48px; }
  .updown .chipb { height: 44px; padding: 0 16px; }
  .updown .udbuy, .side .updown .udbuy { padding: 18px 0 0; }
  .updown .udamt .flab, .side .updown .udamt .flab { display: block; }
  .updown .udsum { font-size: 14px; margin-top: 18px; }
  .tbtn { height: 54px; font-size: 17px; }
  .mbar { bottom: var(--bbar-h, 0px); background: #000; border-top: 1px solid var(--tk-line); }
  body.has-mbar .app { padding-bottom: calc(var(--mbar-h) + var(--bbar-h, 0px) + 24px + env(safe-area-inset-bottom)); }
  .mbar .primary { border-radius: 999px; }
}
@media (max-width: 360px) {
  .updown .udhd, .updown .udrow { grid-template-columns: minmax(0, 1fr) 66px 66px; gap: 4px; }
  .updown .udc { font-size: 13px; }
  .updown .udc .udcl { font-size: 13px; }
  .updown .udl .udpct { font-size: 16px; }
  .pxblock .px { font-size: 36px; }
  .mk { padding-right: 10px; }
}

/* ==========================================================================================================
   The simple ticket (trade-simple.js; trade-config.js simple: true). Three steps on screen, nothing else:
   the asset selector, "Bitcoin in [1 min]" with two big Up / Down buttons, then the amount and one button.
   ========================================================================================================== */
/* off the Trade page: the market strip (Markets has it), the bottom panel's tabs (Your trades replaces them), the
   status bar, the panel tabs, the second range */
.tk-simple #mkwrap, .tk-simple .blot, .tk-simple .sbar, .tk-simple .stabs, .tk-simple .rng button[data-r="900"] { display: none !important; }
html.tk-simple:not(.one-mkt) .mkts[hidden] { display: none !important; }
.tk-simple body.has-sbar { padding-bottom: 0; }

/* the asset: icon + name + chevron is one button; the price under it */
.tk-asset { display: block; width: auto; max-width: 100%; margin: -8px 0 0 -10px; padding: 8px 14px 8px 10px; border: 0; border-radius: 20px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background-color 160ms cubic-bezier(.2, .8, .2, 1); }
@media (hover: hover) { .tk-asset:hover { background: #0d0d0f; } }
.tk-asset .sym { pointer-events: none; grid-template-columns: 40px max-content 20px; }
.tk-asset .symn { grid-column: 2; }
.tk-asset .tk-chev { grid-row: 1; grid-column: 3; display: inline-flex; width: 20px; height: 20px; color: var(--ob-label); }
.tk-asset .tk-chev svg { width: 18px; height: 18px; }
.tk-asset .symt { grid-column: 2 / -1; }
.tk-asset .feed { grid-row: 2; grid-column: 2 / -1; justify-self: end; }
.pxblock .pxrow .orl { margin: 8px 0 0; font-size: 15px; line-height: 20px; }

/* the market sheet: a centred card on desktop, a bottom sheet on a phone; search on top */
.tks[hidden] { display: none; }
.tks { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-start; justify-content: center; padding: 96px 16px 24px; }
.tks-back { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.66); }
.tks-card { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 460px; max-height: min(640px, calc(100vh - 120px)); padding: 18px 12px 8px; border-radius: 20px; background: #141416; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 64px rgba(0, 0, 0, 0.6); }
.tks-head { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 12px; }
.tks-head b { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.tks-x { height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: #1c1c20; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
@media (hover: hover) { .tks-x:hover { background: #26262b; } }
.tks-q { flex: none; height: 48px; margin: 0 4px 8px; padding: 0 16px; border: 0; border-radius: 999px; background: #1c1c20; color: #fff; font: inherit; font-size: 16px; outline: 0; }
.tks-q::placeholder { color: var(--ob-label); }
.tks-card:focus { outline: none; } /* focused by script on a touch screen (trade-simple.js), never a ring round the sheet */
.tks-q:focus { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5); }
.tks-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.tks-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; width: 100%; min-height: 60px; padding: 8px; border: 0; border-radius: 14px; background: transparent; color: #fff; font: inherit; text-align: left; cursor: pointer; }
.tks-row.on { background: #1c1c20; }
@media (hover: hover) { .tks-row:hover { background: #1c1c20; } }
.tks-row .mki { grid-row: 1 / span 2; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #2a2a30; color: #fff; font-size: 14px; font-weight: 700; }
.tks-n { grid-row: 1 / span 2; grid-column: 2; font-size: 15px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tks-p { grid-row: 1; grid-column: 3; text-align: right; font-size: 15px; font-weight: 600; }
.tks-c { grid-row: 2; grid-column: 3; text-align: right; font-size: 13px; color: var(--ob-label); }
.tks-c.up { color: var(--ob-up); }
.tks-c.down { color: var(--ob-down); }
.tks-none { margin: 16px 8px; color: var(--ob-label); font-size: 15px; }
:is(.tks-row[data-m="BTC"]) .mki { background: #f7931a; }
:is(.tks-row[data-m="XAU"]) .mki { background: #c9a227; }
:is(.tks-row[data-m="PJM"]) .mki { background: #e0a100; }
:is(.tks-row[data-m="H100"]) .mki { background: #1fae6a; }
:is(.tks-row[data-m="EURUSD"], .tks-row[data-m="GBPUSD"], .tks-row[data-m="AUDUSD"], .tks-row[data-m="USDJPY"], .tks-row[data-m="USDCNH"], .tks-row[data-m="DXY"]) .mki { background: #2b5cd6; }
:is(.tks-row[data-m="ETH"]) .mki { background: #627eea; }
:is(.tks-row[data-m="SOL"]) .mki { background: #9945ff; }
:is(.tks-row[data-m="BNB"]) .mki { background: #f0b90b; color: #000; }
:is(.tks-row[data-m="DOGE"]) .mki { background: #c2a633; }
:is(.tks-row[data-m="HYPE"]) .mki { background: #3ccfb4; color: #000; }
:is(.tks-row[data-m="LINK"]) .mki { background: #2a5ada; }
:is(.tks-row[data-m="AVAX"], .tks-row[data-m="TSLA"], .tks-row[data-m="TSM"], .tks-row[data-m="MSTR"]) .mki { background: #d9232e; }
:is(.tks-row[data-m="SUI"], .tks-row[data-m="MSFT"], .tks-row[data-m="GOOGL"], .tks-row[data-m="META"], .tks-row[data-m="COIN"], .tks-row[data-m="NATGAS"]) .mki { background: #2f6fe0; }
:is(.tks-row[data-m="NVDA"], .tks-row[data-m="HOOD"]) .mki { background: #76b900; color: #000; }
:is(.tks-row[data-m="AMZN"]) .mki { background: #ff9900; color: #000; }
:is(.tks-row[data-m="US500"], .tks-row[data-m="US100"], .tks-row[data-m="US30"], .tks-row[data-m="US2000"]) .mki { background: #3a4a6b; }
:is(.tks-row[data-m="XAG"], .tks-row[data-m="XPT"]) .mki { background: #8e9196; }
:is(.tks-row[data-m="COPPER"], .tks-row[data-m="HOME"], .tks-row[data-m="RENT"], .tks-row[data-m="EGGS"], .tks-row[data-m="WHEAT"]) .mki { background: #b8733e; }
:is(.tks-row[data-m="ANT"], .tks-row[data-m="ANTHROPIC"]) .mki { background: #d97757; }
body.tks-open { overflow: hidden; }
/* r24 phone pass: on a tablet and a desktop the picker is a popover under the market's name (trade-simple.js places
   it), the page behind left as it is; a phone keeps the bottom sheet */
.tks.tks-pop { display: block; padding: 0; }
.tks.tks-pop .tks-back { background: transparent; }
.tks.tks-pop .tks-card { position: fixed; width: min(420px, calc(100vw - 32px)); max-width: none; border-radius: 16px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 16px 48px rgba(0, 0, 0, 0.6); }
@media (max-height: 500px) and (min-width: 701px) {
  .tks { align-items: flex-end; padding: 0; }
  .tks-card { max-width: 560px; max-height: 92vh; border-radius: 20px 20px 0 0; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .tks-head { padding-bottom: 8px; }
  .tks-q { height: 44px; }
  .tks-row { min-height: 52px; }
}

/* ---------- the card: the question, two big buttons ---------- */
.tk-simple .updown .udtop { display: block; margin-bottom: 16px; }
.tk-simple .updown .udpx, .tk-simple .updown .udlen { display: none; }
.tk-q { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.tk-q .udh { font-size: 20px; }
.tk-in { color: var(--ob-label); font-weight: 500; }
.tk-lenw { position: relative; display: inline-flex; }
.tk-len { appearance: none; -webkit-appearance: none; height: 36px; padding: 0 34px 0 14px; border: 0; border-radius: 999px; background: #1c1c20; color: #fff; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
@media (hover: hover) { .tk-len:hover { background: #26262b; } }
.tk-lenw::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border-right: 2px solid var(--ob-label); border-bottom: 2px solid var(--ob-label); transform: rotate(45deg); pointer-events: none; }
.tk-len option { background: #141416; color: #fff; }

/* the at-the-money row as two big buttons; the strike rows, their header and Reach live in More ways to trade */
html.tk-simple body:not(.tk-more) .updown .udhd, html.tk-simple body:not(.tk-more) .updown .udrow:not(.atm), html.tk-simple body:not(.tk-more) #udReach { display: none !important; }
.tk-simple .updown .udgrid { display: flex; flex-direction: column; }
.tk-simple .updown .udrow.atm { order: -1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0; border-bottom: 0; }
.tk-simple .updown .udrow.atm .udl { display: none; }
.tk-simple .updown .udrow.atm .udc { display: grid; grid-template-columns: auto auto; justify-content: center; align-content: center; column-gap: 6px; height: 64px; border-radius: 20px; font-size: 20px; }
.tk-simple .updown .udrow.atm .udc .udcl, .tk-simple .updown .udrow.atm .udc .udcp { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.tk-simple .updown .udrow.atm .udc .udcl::before { display: inline-block; margin-right: 6px; font-size: 13px; vertical-align: 2px; }
.tk-simple .updown .udrow.atm .udc.u .udcl::before { content: "▲"; }
.tk-simple .updown .udrow.atm .udc.d .udcl::before { content: "▼"; }
/* the chance once, above the two buttons ("50% chance it's up"); the buttons carry their prices only */
.updown .udodds { display: none; }
.tk-simple .updown .udodds { display: block; margin: -4px 0 12px; font-size: 15px; font-weight: 500; line-height: 20px; color: var(--ob-ink-2); }
.tk-simple .updown .udodds:empty { display: none; }
/* until the person picks, neither side looks chosen */
.tk-simple .updown:not(.picked) .udrow.atm .udc.u.on { background: var(--ob-up-bg); color: var(--ob-up); }
.tk-simple .updown:not(.picked) .udrow.atm .udc.d.on { background: var(--ob-down-bg); color: var(--ob-down); }
.tk-simple .updown:not(.picked) .udrow.atm .udc.on .udcl { color: inherit; }
/* step three: the amount and one button, once a side is picked */
.tk-simple .updown:not(.picked) .udbuy, .tk-simple .updown:not(.picked) .udfine, .tk-simple .updown:not(.picked) .udhow { display: none !important; }
.tk-simple .updown .udchips .chipb:nth-child(n+4) { display: none; }
.tk-simple .updown .udsum { display: none; }
.tk-simple .updown:has(.udrow:not(.atm) .udc.on, #udReach .udc.on) .udsum { display: block; } /* a price target or Reach pick: say which */
.tk-simple .updown .udbuy { padding-top: 26px; }
.tk-simple .updown .udpay { order: 1; justify-content: center; gap: 10px; margin-top: 20px; }
.tk-simple .updown .udsum { order: 0; }
.tk-simple .side .card.updown { padding-bottom: 8px; }

/* More ways to trade: one quiet text link under the card */
.tk-morelink { display: block; width: 100%; margin: 0; padding: 14px 22px 10px; border: 0; border-top: 1px solid var(--tk-line); background: transparent; color: var(--ob-label); font: inherit; font-size: 14px; font-weight: 600; text-align: center; cursor: pointer; }
@media (hover: hover) { .tk-morelink:hover { color: #fff; } }
.tk-mhead, .tk-mback { display: none; }
/* a request's prices live in the drawer (Ask itself is the chat) */
html.tk-simple body:not(.tk-asking) #offersSec { display: none !important; }

/* the drawer: the full card (price targets, Reach) and Ask; right side on desktop, full screen on a phone */
body.tk-more .tk-mback { display: block; position: fixed; inset: 0; z-index: 69; background: rgba(0, 0, 0, 0.6); }
/* on a computer the drawer sits beside the chart it draws on (its picks show there as green and red zones), so the
   chart is never dimmed; a press outside still closes it. A phone keeps the dimmed sheet. */
@media (min-width: 901px) and (min-height: 501px) { body.tk-more .tk-mback { background: transparent; } }
/* "More ways to trade" is the way into the drawer, never a link inside it */
body.tk-more #tkMore { display: none !important; }
/* align-self: stretch: the page's .side { align-self: start } made the fixed drawer as tall as its content, so it never
   scrolled and its Buy sat off screen under ~1,450 px of window */
body.tk-more .side { position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; align-self: stretch; height: auto; max-height: none; width: min(480px, 100vw); margin: 0; padding: 0 0 24px; overflow-y: auto; overscroll-behavior: contain; border: 0; border-left: 1px solid var(--tk-line); border-radius: 0; background: #0d0d0f; }
body.tk-more .tk-morelink { display: none; }
body.tk-more .tk-mhead { position: fixed; top: 0; right: 0; z-index: 71; box-sizing: border-box; width: min(480px, 100vw); height: var(--tk-mh); display: grid; grid-template-columns: 1fr auto; grid-template-rows: 36px auto; align-content: start; align-items: center; gap: 14px 12px; padding: 18px 22px 0; background: #0d0d0f; border-left: 1px solid var(--tk-line); }
body.tk-more { --tk-mh: 150px; }
body.tk-more.tk-asking { --tk-mh: 72px; }
body.tk-more .side { padding-top: var(--tk-mh); padding-bottom: 0; } /* no bottom padding: the sticky Buy below sits on the drawer's edge */
body.tk-more .side > :last-child { margin-bottom: 24px; }
body.tk-asking .side .updown, body.tk-asking .tk-morelink { display: none !important; }
body.tk-more .tk-mhead > b { font-size: 20px; font-weight: 600; }
.tk-askrow { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; padding: 14px 16px; border: 0; border-radius: 16px; background: #1c1c20; color: #fff; font: inherit; text-align: left; cursor: pointer; }
@media (hover: hover) { .tk-askrow:hover { background: #26262b; } }
.tk-askrow b { font-size: 15px; font-weight: 600; }
.tk-askrow span { font-size: 13px; color: var(--ob-label); }
body.tk-asking .tk-askrow { display: none; }
body.tk-more .updown .udhd { margin-top: 22px; }
body.tk-more .updown .udrow:not(.atm) .udl { display: flex; }
body.tk-more #udReach { margin-top: 24px; }
body.tk-more .side .card.updown { border-bottom: 1px solid var(--tk-line); padding-bottom: 22px; }
/* the drawer's own Buy: the pick, the amount, what it pays and the button stick to the drawer's bottom while the price
   targets and Reach scroll under them */
body.tk-more .updown .udbuy, body.tk-more .side .updown .udbuy { position: sticky; bottom: 0; z-index: 3; margin: 18px -22px 0; padding: 12px 22px calc(14px + env(safe-area-inset-bottom)); background: #0d0d0f; border-top: 1px solid var(--tk-line); }
body.tk-more .updown .udamt .flab, body.tk-more .side .updown .udamt .flab, body.tk-more .updown .udsum .udx { display: none; }
body.tk-more .updown .udsum { display: block; order: -1; margin: 0 0 8px; padding: 0; border: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.tk-more .updown .udsz { flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; }
body.tk-more .updown .udsz .amt, body.tk-more .side .updown .udsz .amt, body.tk-more .updown .udsz .amt input, body.tk-more .side .updown .udsz .amt input { font-size: 32px; }
body.tk-more .updown .udchips { flex-wrap: nowrap; }
body.tk-more .updown .udpay { margin-top: 6px; }
body.tk-more .updown .udpay b { font-size: 22px; }
body.tk-more .updown .udgo { margin-top: 10px; height: 48px; }

/* ---------- Your trades: one list under the chart ---------- */
@media (min-width: 701px) {
  .tk-simple .app { grid-template-rows: auto 1fr; }
  .tk-simple .app > .chartcol { grid-column: 1; grid-row: 1; }
  .tk-simple .app > .side { grid-column: 2; grid-row: 1 / span 2; }
  .tk-simple .app > #pf { grid-column: 1; grid-row: 2; }
  html.tk-simple .app > #pf { display: block !important; }
}
.tk-simple .app > #pf { margin-top: 36px; padding: 0; border: 0; }
.tk-simple .app > #pf .ch { display: flex; align-items: baseline; gap: 16px; margin-bottom: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--tk-line); }
.tk-simple .app > #pf .ch h2 { margin-right: auto; font-size: 20px; }
.tk-hist { font-size: 15px; font-weight: 600; color: var(--ob-label); text-decoration: none; }
@media (hover: hover) { .tk-hist:hover { color: #fff; } }
.tk-simple #pf .betlist .bet:first-child { border-top: 0; }
.tk-simple #pf .empty { padding: 20px 0; }

/* ---------- phones: the asset, the price, the chart, the card; the button sticks to the bottom ---------- */
@media (max-width: 700px) {
  .tk-simple .app > #pf { margin-top: 28px; }
  .tk-asset { margin: -6px 0 0 -8px; padding: 6px 10px 6px 8px; }
  .tks { align-items: flex-end; padding: 0; }
  .tks-card { max-width: none; max-height: 86vh; border-radius: 20px 20px 0 0; padding-bottom: calc(16px + env(safe-area-inset-bottom)); } /* the last market never sits on the screen's edge (tradephone) */
  .tk-simple .updown .udrow.atm .udc { height: 64px; }
  body.tk-more .updown .udbuy, body.tk-more .side .updown .udbuy { margin: 18px -16px 0; padding-left: 16px; padding-right: 16px; }
  .tk-morelink { padding: 16px 0 6px; border-top: 0; min-height: 44px; }
  .tk-len { height: 44px; }
  body.tk-more .side { width: 100vw; border-left: 0; }
  body.tk-more .tk-mhead { padding: 14px 16px 0; border-left: 0; }
  body.tk-more { --tk-mh: 140px; }
  body.tk-more.tk-asking { --tk-mh: 64px; }
  body.tk-more .side .card { padding-left: 16px; padding-right: 16px; }
  body.tk-more .updown .udlen { margin: 0 -16px 18px; }
  /* over the bottom bar (nav.css --bbar-h, phones up to 640 px) */
  html.tk-simple body:not(.has-mbar):not(.tk-more):has(.updown.picked) { padding-bottom: calc(86px + var(--bbar-h, 0px) + env(safe-area-inset-bottom)); }
  html.tk-simple body:not(.has-mbar):not(.tk-more) .updown.picked .udgo { position: fixed; z-index: 30; left: 16px; right: 16px; bottom: calc(14px + var(--bbar-h, 0px) + env(safe-area-inset-bottom)); width: auto; margin: 0; box-shadow: 0 0 0 10px #000, 0 -12px 24px 8px #000; }
}
.tgc.tgc-phone .tgc-b .primary, .tgc.tgc-phone .tgc-b .secondary { border-radius: 999px; }

/* a short phone (320x640, an iPhone SE): the chart and the gaps give way so Up/Down stays in the first view */
@media (max-width: 640px) and (max-height: 700px) {
  .chartwrap, #chart { height: 120px; }
  .chartwrap { margin-top: 8px; }
  .rng { margin-top: 4px; }
  .side { margin-top: 12px; }
  .stabs, .stabs[class] { margin-bottom: 10px; }
  .pxblock .px { font-size: 34px; }
}
/* 360px and under: the change line keeps "· Oracle" on it (it wrapped onto a line by itself) */
@media (max-width: 360px) {
  .pxblock .pxrow { column-gap: 6px; }
  .pxblock .chg, .pxblock .chgl, .pxblock .pxrow .orl { font-size: 13px; }
}
/* ---------- the chart on lightweight-charts (lwchart.js): the canvas it replaces is hidden ---------- */
.chartwrap.lw-on #chart { display: none !important; }
.lwhost { position: relative; flex: 1 1 0; min-height: 0; width: 100%; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
/* round 15: the price axis on a touch screen takes the finger (a vertical drag stretches prices, lwchart.js gestures);
   a mouse never meets it */
.lwpax { position: absolute; top: 0; right: 0; bottom: 28px; width: 56px; z-index: 2; touch-action: pan-y; pointer-events: none; } /* r27: a vertical drag scrolls the page; a held drag stretches prices (lwchart.js) */
@media (pointer: coarse) { .lwpax { pointer-events: auto; } }
/* candles: the candle under the cursor, small at the plot's top left */
.lwohlc { position: absolute; top: 6px; left: 8px; z-index: 3; display: flex; align-items: baseline; gap: 4px; padding: 2px 6px; border-radius: 6px; background: rgba(0, 0, 0, 0.78); color: #8b8e95; font-size: 11px; font-weight: 500; line-height: 16px; white-space: nowrap; font-variant-numeric: tabular-nums; pointer-events: none; }
.lwohlc[hidden] { display: none; }
.lwohlc b { margin-right: 4px; font-weight: 600; color: #f5f5f7; }
.lwohlc b:last-child { margin-right: 0; }
.lwohlc b.u:last-child { color: var(--ob-up, #30d158); }
.lwohlc b.d:last-child { color: var(--ob-down, #ff453a); }
.lwhost a[href*="tradingview"] { display: none !important; } /* the attribution is the link under the chart */
.chartwrap.lw-wait::after { content: "Waiting for the price…"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--ob-label); font-size: 13px; pointer-events: none; }
.lwlive { position: absolute; right: 72px; bottom: 40px; z-index: 4; display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 10px 0 12px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; background: #1c1c20; color: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
@media (hover: hover) { .lwlive:hover { background: #26262b; } }
.lwlive[hidden] { display: none; }
.lwlive svg { width: 14px; height: 14px; }
.chfoot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.chfoot .lwattr { flex: none; font-size: 11px; color: #6e6e73; text-decoration: none; margin-top: 12px; }
@media (hover: hover) { .chfoot .lwattr:hover { color: var(--ob-label); } }
.chfoot .lwattr[hidden] { display: none; }

/* ==========================================================================================================
   Regions you can see (17 Nov: "because everything is black I can't see where the positions div begins and ends").
   Still black and simple: a near-black page, and every region (the price and chart, the trade card, Your trades,
   sheets, menus, the drawer) a raised surface with a 1px hairline edge, one radius and one padding. Rows inside a
   region get hairline separators, a region's header a clear divider, and anything you can click a visible hover.
   ========================================================================================================== */
:root { --tk-page: #000; --tk-panel: #09090a; --tk-edge: rgba(255, 255, 255, 0.10); --tk-edge-hi: rgba(255, 255, 255, 0.16); --tk-row: rgba(255, 255, 255, 0.07); --tk-hover: rgba(255, 255, 255, 0.035); --tk-radius: 16px; --tk-pad: 20px; --tk-sheet: #0d0d0f; }
html.tk-simple, html.tk-simple body { background: var(--tk-page); }
html.tk-simple .top, html.tk-simple .mkts { background: var(--tk-page); }
html.tk-simple .top { border-bottom: 1px solid var(--tk-edge); }
@media (min-width: 701px) {
  html.tk-simple .app, html.tk-simple body.has-sbar .app { gap: 20px; padding-top: 24px; }
  html.tk-simple .app > .chartcol, html.tk-simple .app > .side, html.tk-simple .app > #pf { background: var(--tk-panel); border: 1px solid var(--tk-edge); border-radius: var(--tk-radius); }
  html.tk-simple .app > .chartcol { padding: var(--tk-pad) var(--tk-pad) 14px; }
  html.tk-simple .app > .side { --bg: var(--tk-panel); padding: 8px 0 6px; }
  html.tk-simple .app > #pf { margin-top: 0; padding: 16px var(--tk-pad) 8px; }
  html.tk-simple .chartwrap { margin-top: 20px; }
}
/* the chart sits on the panel's surface (lwchart.js reads --tk-panel) with a hairline frame of its own */
html.tk-simple .lwhost { border: 1px solid var(--tk-row); border-radius: 10px; overflow: hidden; }
html.tk-simple .chfoot .rng button { border: 1px solid transparent; }
@media (hover: hover) { html.tk-simple .chfoot .rng button:hover { background: var(--tk-hover); color: #fff; } }
html.tk-simple .chfoot .rng button.on { background: #1c1c20; border-color: var(--tk-edge); }
/* the trade card's own dividers: the question, the buttons, More ways to trade */
html.tk-simple .side .card.updown .udtop { padding-bottom: 14px; border-bottom: 1px solid var(--tk-row); }
html.tk-simple .tk-morelink { border-top: 1px solid var(--tk-row); }
@media (hover: hover) { html.tk-simple .tk-morelink:hover { background: var(--tk-hover); } }
/* Your trades: the header over a divider, Running / Finished as sub-headers, one hairline between rows */
html.tk-simple .app > #pf .ch { margin: 0 calc(-1 * var(--tk-pad)) 0; padding: 0 var(--tk-pad) 14px; border-bottom: 1px solid var(--tk-edge); }
html.tk-simple #pf .sub { margin: 0 calc(-1 * var(--tk-pad)); padding: 10px var(--tk-pad) 8px; border-bottom: 1px solid var(--tk-row); background: rgba(255, 255, 255, 0.02); font-size: 13px; font-weight: 600; color: var(--ob-label); }
html.tk-simple #pf .sub + .betlist .bet:first-child { border-top: 0; }
html.tk-simple #pf .bet { margin: 0 calc(-1 * var(--tk-pad)); padding-left: var(--tk-pad); padding-right: var(--tk-pad); border-top: 1px solid var(--tk-row); }
html.tk-simple #pf .betlist + .sub, html.tk-simple #pf .betlist:not(:empty) + .sub { border-top: 1px solid var(--tk-edge); }
html.tk-simple #pf .bet:focus-visible { background: var(--tk-hover); }
@media (hover: hover) { html.tk-simple #pf .bet:hover { background: var(--tk-hover); } }
html.tk-simple #pf .pfsum { margin: 0 calc(-1 * var(--tk-pad)); padding: 10px var(--tk-pad); border-bottom: 1px solid var(--tk-row); }
/* sheets, menus and the drawer: one raised surface with a brighter edge than the panels under them */
html.tk-simple .tks-card, html.tk-simple .bsheet, html.tk-simple .tgc, html.tk-simple .hks-card { background: var(--tk-sheet); box-shadow: 0 0 0 1px var(--tk-edge-hi), 0 24px 64px rgba(0, 0, 0, 0.6); }
html.tk-simple body.tk-more .side, html.tk-simple body.tk-more .tk-mhead, html.tk-simple body.tk-more .updown .udbuy { background: var(--tk-sheet); }
html.tk-simple body.tk-more .side, html.tk-simple body.tk-more .tk-mhead { border-left: 1px solid var(--tk-edge-hi); border-radius: 0; }
html.tk-simple body.tk-more .tk-mhead { border-bottom: 1px solid var(--tk-row); }
html.tk-simple .tks-row { border: 1px solid transparent; }
@media (hover: hover) { html.tk-simple .tks-row:hover { background: #1c1c20; border-color: var(--tk-row); } }
@media (max-width: 700px) {
  html.tk-simple .app, html.tk-simple body.has-sbar .app { padding: 12px 12px 40px; }
  html.tk-simple .app > .chartcol, html.tk-simple .app > .side, html.tk-simple .app > #pf { background: var(--tk-panel); border: 1px solid var(--tk-edge); border-radius: 14px; }
  html.tk-simple .app > .chartcol { padding: 16px 14px 12px; }
  html.tk-simple .app > .side { margin-top: 12px; padding: 14px 14px 4px; }
  html.tk-simple .app > .side .card { padding-left: 0; padding-right: 0; }
  html.tk-simple .app > #pf { margin-top: 12px; padding: 14px 14px 6px; --tk-pad: 14px; }
  html.tk-simple .chartwrap { margin-top: 16px; }
  html.tk-simple body:not(.has-mbar):not(.tk-more) .updown.picked .udgo { box-shadow: 0 0 0 10px var(--tk-page), 0 -12px 24px 8px var(--tk-page); }
  html.tk-simple body.tk-more .side { border-left: 0; }
}

/* ---------- notifications (toasts.js): top right on a desktop, along the top on a phone ---------- */
.otoasts { position: fixed; z-index: 120; top: calc(var(--hdr, 64px) + 12px); right: 16px; display: flex; flex-direction: column; gap: 8px; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.otoast { pointer-events: auto; display: grid; grid-template-columns: 28px minmax(0, 1fr) 28px; align-items: start; gap: 12px; padding: 12px 10px 12px 14px; border-radius: 14px; background: #17171b; box-shadow: 0 0 0 1px var(--tk-edge-hi, rgba(255, 255, 255, 0.16)), 0 16px 40px rgba(0, 0, 0, 0.55); color: #fff; animation: otin 0.16s ease-out; }
.otoast.out { opacity: 0; transform: translateY(-4px); transition: opacity 0.14s ease, transform 0.14s ease; }
@keyframes otin { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .otoast { animation: none; } .otoast.out { transition: none; } }
.oti { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #fff; }
.oti svg { width: 16px; height: 16px; }
.otoast.t-up .oti { background: var(--ob-up-bg, rgba(48, 209, 88, 0.16)); color: var(--ob-up); }
.otoast.t-down .oti, .otoast.t-bad .oti { background: var(--ob-down-bg, rgba(255, 69, 58, 0.16)); color: var(--ob-down); }
.otoast.t-ok .oti { background: rgba(255, 255, 255, 0.1); }
.otx { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-top: 4px; }
.ott { font-size: 15px; font-weight: 600; line-height: 20px; }
.otoast.t-up .ott { color: var(--ob-up); }
.otoast.t-down .ott, .otoast.t-bad .ott { color: var(--ob-down); }
.otb { font-size: 13px; line-height: 18px; color: var(--ob-ink-2, #d2d2d7); overflow-wrap: anywhere; }
.ota { align-self: flex-start; margin-top: 8px; height: 30px; padding: 0 14px; border: 0; border-radius: 999px; background: #fff; color: #000; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.otx-x { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ob-label); cursor: pointer; }
@media (hover: hover) { .otx-x:hover { background: rgba(255, 255, 255, 0.08); color: #fff; } }
.otx-x svg { width: 14px; height: 14px; }
/* a phone: at the bottom, just over the sticky Trade bar, as Robinhood confirms (critic r1: along the top it covered the
   asset and the price the trader wanted to watch); while the trade sheet is up, along the top, clear of the sheet */
/* a desktop: bottom right, no wider than the trade card's column, so a toast never lands on the card's title where the
   trader is tapping (critic r4: "Trade Bitcoin" cut to "Trad" by a 1-tap refusal) */
@media (min-width: 901px) and (min-height: 501px) {
  .otoasts { top: auto; bottom: 20px; width: min(340px, calc(100vw - 32px)); flex-direction: column-reverse; }
}
@media (max-width: 900px), (max-height: 500px) {
  /* critic r3: always at the bottom, over the Trade bar (and the tab bar under it), or just above the trade sheet while
     it is up (rh.js sets --rh-sheet-h), never over the asset name and price; one line (the toast's short words) */
  .otoasts { top: auto; bottom: calc(env(safe-area-inset-bottom) + var(--bbar-h, 0px) + var(--rhbar-h, 72px) + 8px); left: 8px; right: 8px; width: auto; flex-direction: column-reverse; }
  body.rh-sheet .otoasts, body.tk-more .otoasts { top: auto; bottom: calc(var(--rh-sheet-h, 60vh) + 8px); flex-direction: column-reverse; }
  .otoast { padding: 8px 6px 8px 10px; align-items: center; grid-template-columns: 24px minmax(0, 1fr) 28px; }
  .otoast .oti { width: 24px; height: 24px; }
  .otoast .otx { padding-top: 0; }
  .otoast .ott { display: block; white-space: normal; overflow-wrap: break-word; } /* round 10: wraps, never "paid $3..." */
  .otoast:not(.t-bad) .otb { display: none; }
  .otoast.t-bad .otb { display: block; } /* a refusal's reason in full (it is one short sentence): never cut to "displayed…" (tradephone, 19 Nov) */
  .otoast.out { transform: translateY(4px); }
}
/* a phone on its side: the card is beside the chart on the right; the toasts sit bottom left over the chart, no wider
   than the card (critic r4) */
/* a short screen (a phone on its side): under the header, clear of the chart and of the bottom bar's Up / Down (critic
   r8: three result cards stacked over the chart and its price axis) */
/* round 10: bottom left, just above the bottom bar (over the chart's older history), never over the hero price */
@media (min-width: 701px) and (max-height: 500px) {
  .otoasts { top: auto; bottom: calc(env(safe-area-inset-bottom) + var(--bbar-h, 0px) + var(--rhbar-h, 72px) + 8px); left: 12px; right: auto; width: min(340px, 45vw); flex-direction: column-reverse; }
  body.rh-sheet .otoasts, body.tk-more .otoasts { top: auto; bottom: calc(var(--rh-sheet-h, 60vh) + 8px); left: 12px; right: auto; width: min(340px, 45vw); flex-direction: column-reverse; }
}
/* round 12 (final-pass r9 critic: on a phone on its side the toast covered a third of the 140px chart; on a tablet it sat
   on the Sell button of the trade it confirmed): on both, the toast is one short line pinned top right, under the header,
   in the empty space beside the hero price, clear of the chart's line, the trade list and the bar */
@media (min-width: 641px) and (max-width: 900px) and (min-height: 501px), (min-width: 701px) and (max-height: 500px) {
  .otoasts, body.rh-sheet .otoasts, body.tk-more .otoasts { top: calc(var(--hdr, 64px) + 8px); bottom: auto; left: auto; right: 12px; width: min(360px, 48vw); flex-direction: column; }
}
/* tradephone (19 Nov): on any touch-sized screen two toasts at most, the two newest (toasts.js puts the newest first;
   the old rule hid from the end and so kept the two OLDEST); a phone on its side keeps them narrow enough to clear the
   hero's change line ("Past 3 min" sat under the toast at 844x390) */
@media (max-width: 900px), (max-height: 500px) {
  .otoasts > .otoast:nth-child(n+3) { display: none; }
}
@media (min-width: 701px) and (max-height: 500px) {
  .otoasts, body.rh-sheet .otoasts, body.tk-more .otoasts { width: min(320px, 40vw); }
}

/* touch: the toast's close is a 44px tap, its look unchanged */
@media (pointer: coarse) { .otoast { grid-template-columns: 24px minmax(0, 1fr) 44px; } .otx-x { width: 44px; height: 44px; margin: -8px -6px -8px 0; } }

/* ---------- the keyboard shortcuts sheet (hotkeys.js, ⌘/ or ?) ---------- */
.hks[hidden] { display: none; }
.hks { position: fixed; inset: 0; z-index: 110; display: flex; align-items: flex-start; justify-content: center; padding: 88px 16px 24px; }
.hks-back { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.66); }
.hks-card { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 112px); overflow-y: auto; padding: 18px 22px 16px; border-radius: 20px; background: #141418; }
.hks-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.hks-head b { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.hks-g { margin: 16px 0 6px; padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ob-label); }
.hks-l { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 8px 14px; margin: 0; font-size: 14px; }
.hks-l dt { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.hks-l dd { margin: 0; color: var(--ob-ink-2, #d2d2d7); line-height: 22px; }
.hks-l kbd { display: inline-flex; align-items: center; min-width: 24px; height: 24px; justify-content: center; padding: 0 7px; border-radius: 6px; background: #232328; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.1); font: inherit; font-size: 12px; font-weight: 600; color: #fff; }
.hks-or { font-size: 12px; color: var(--ob-label); }
.hks-or:empty { display: none; }
.hks-n { margin: 16px 0 0; font-size: 13px; color: var(--ob-label); }
@media (max-width: 700px) { .hks { align-items: flex-end; padding: 0; } .hks-card { max-width: none; border-radius: 20px 20px 0 0; max-height: 86vh; } .hks-l { grid-template-columns: 110px minmax(0, 1fr); } }

/* running trades on the chart: one small chip per level just right of the live dot, the direction (▲ Up, ▼ Down) and
   how many trades sit there, green while they are winning, red while losing; hover, focus or tap names them
   (critic r2: one shape, never on another chip or the live dot; finished trades are not drawn on the live chart) */
.lwdots { position: absolute; left: 0; top: 0; bottom: 0; right: 0; pointer-events: none; z-index: 3; }
.lwdot { position: absolute; height: 18px; margin: -9px 0 0; padding: 0; border: 0; background: transparent; cursor: default; pointer-events: auto; -webkit-tap-highlight-color: transparent; }
.lwchip { display: flex; align-items: center; justify-content: center; min-width: 16px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 5px; background: rgba(0, 0, 0, 0.85); box-shadow: inset 0 0 0 1px var(--dc, #8e8e93); color: var(--dc, #8e8e93); font-size: 11px; font-weight: 600; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; } /* round 6: "Up $1" / "Down $1" in the trade's own colour */
.lwdot.off .lwchip { opacity: .6; }
/* calm chips (vihan, 21 Nov: "barely possible to see where the price is"): a quieter ring that brightens when its
   trade is highlighted (chip or Your trades row hovered); the "+3 running" fold is grey */
html.win-zone .lwchip { height: 17px; padding: 0 5px; font-size: 10.5px; font-weight: 600; background: rgba(0, 0, 0, 0.72); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--dc, #8e8e93) 45%, transparent); color: color-mix(in srgb, var(--dc, #8e8e93) 88%, #000); }
html.win-zone .lwdot.hl .lwchip, html.win-zone .lwdot:focus-visible .lwchip { box-shadow: inset 0 0 0 1px var(--dc, #8e8e93); color: var(--dc, #8e8e93); background: #000; }
@media (hover: hover) { html.win-zone .lwdot:hover .lwchip { box-shadow: inset 0 0 0 1px var(--dc, #8e8e93); color: var(--dc, #8e8e93); background: #000; } }
html.win-zone .lwmore .lwchip { --dc: #8b8e95; cursor: pointer; }
/* a level off the plot (zoomed in): the chip sits at the edge with a small arrow pointing where the level is (critic r4) */
.lwdot.top .lwchip::before, .lwdot.bot .lwchip::before { content: ""; position: absolute; left: 50%; margin-left: -3px; border-left: 3px solid transparent; border-right: 3px solid transparent; }
.lwdot.top .lwchip::before { top: -4px; border-bottom: 4px solid var(--dc, #8e8e93); }
.lwdot.bot .lwchip::before { bottom: -3px; border-top: 4px solid var(--dc, #8e8e93); }
.lwchip { position: relative; }
.lwdot::after { content: ""; position: absolute; inset: -3px -4px; }
/* touch: the chip stays a small marker beside the line (a 44px box would cover the price), so its 44px tap is this
   ::after hit area around it, not its own box (critic r4 measures boxes: this one is small on purpose) */
@media (pointer: coarse), (max-width: 900px) { .lwdot { height: 44px; margin-top: -22px; min-width: 44px; display: flex; align-items: flex-start; box-sizing: border-box; } .lwdot::after { inset: 0; } } /* a 44px tap box on touch (round 6), split with a stacked neighbour in lwchart.js, the chip drawn small inside it */ /* a 44px tap box on touch (round 6), the chip drawn small inside it */
.lwdot:focus { outline: none; }
.lwdot:focus-visible .lwchip { outline: 2px solid rgba(255, 255, 255, 0.5); outline-offset: 1px; }
.lwtip { position: absolute; right: calc(100% + 6px); top: 50%; transform: translateY(-50%); white-space: nowrap; text-align: left; min-width: 172px; padding: 10px 12px; border-radius: 12px; background: #0c0c0e; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10), 0 8px 24px rgba(0, 0, 0, 0.5); color: #f5f5f7; font-size: 13px; font-weight: 500; line-height: 18px; opacity: 0; visibility: hidden; transition: opacity 120ms ease; pointer-events: none; }
.lwdot:hover .lwtip, .lwdot:focus .lwtip, .lwdot.tipon .lwtip { opacity: 1; visibility: visible; z-index: 4; }
/* round 13 (critic r13: chips, an end label and the price axis read through the card): the card is solid, its chip sits
   above every other chip, and the chips' layer above the chart's own drawing while a card is open */
.lwdot.tipon { z-index: 6; }
.lwdots:has(.tipon), .lwdots:has(.lwdot:hover), .lwdots:has(.lwdot:focus-visible) { z-index: 8; }
.lwdot:focus { z-index: 2; }
@media (hover: hover) { .lwdot:hover { z-index: 2; } }
/* the line being chosen, named at its right end */
.lwtag { position: absolute; right: 8px; padding: 1px 6px; border-radius: 4px; background: rgba(0, 0, 0, 0.7); color: rgba(255, 255, 255, 0.75); font-size: 11px; font-weight: 500; line-height: 16px; white-space: nowrap; pointer-events: none; }
/* one badge width in Your trades, so every row's text and Sell button start on the same line (critic r2: Down rows
   started 25px right of Up rows) */
.bet > .dchip { min-width: 76px; justify-content: center; box-sizing: border-box; }
/* the market picker says which window its % change covers, the hero's "Past 5 min" (round 8) */
.tks-head .tks-sub { flex: 1; margin-left: 10px; font-size: 12px; color: var(--ob-label, #8a8d95); }
/* round 10: compact chips on a phone ("↑1", "↑2 ↓1"), a little smaller */
.lwdot.compact .lwchip { height: 16px; padding: 0 5px; font-size: 11px; border-radius: 4px; }

/* the running-trade hover card (lwchart.js tipCard; vihan, 18 Nov: "most important details, organized") */
.lwtip .tu { color: var(--ob-up, #30d158); }
.lwtip .td { color: var(--ob-down, #ff453a); }
.lwtip .num { font-variant-numeric: tabular-nums; }
.lt-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.lt-h b { font-size: 15px; font-weight: 600; }
.lt-t { color: rgba(255, 255, 255, 0.6); font-size: 12px; }
.lt-s { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 6px; font-weight: 600; color: rgba(255, 255, 255, 0.75); }
.lt-s b { font-weight: 600; }
.lt-f { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.55); font-size: 12px; }
.lt-k { color: rgba(255, 255, 255, 0.6); font-size: 12px; margin-bottom: 6px; }
.lt-g { display: grid; grid-template-columns: auto auto auto auto; column-gap: 12px; row-gap: 4px; align-items: baseline; }
.lt-g.lv { grid-template-columns: auto auto auto auto auto; }
.lt-g:not(.lv) > :nth-child(4n), .lt-g.lv > :nth-child(5n) { text-align: right; font-weight: 600; }
.lt-g:not(.lv) > :nth-child(4n - 1), .lt-g.lv > :nth-child(5n - 1) { font-weight: 600; }
.lt-l { color: rgba(255, 255, 255, 0.75); font-size: 12px; }
.lwtip.tight { min-width: 0; padding: 9px 10px; } .lwtip.tight .lt-l { display: none; } .lwtip.tight .lt-g, .lwtip.tight .lt-g.lv { column-gap: 10px; grid-template-columns: auto auto auto auto; } /* a phone: the card fits the plot, never over the price axis (round 13) */
.lt-x { grid-column: 1 / -1; color: rgba(255, 255, 255, 0.75); }

/* success is its own green (--ob-ok), separate from the P&L / Up green (vihan, 18 Nov) */
.otoast.t-ok .oti { background: var(--ob-ok-bg, rgba(16, 185, 129, 0.16)); color: var(--ob-ok, #10b981); }
@media (pointer: coarse) { .tks-x { height: 44px; } } /* r24 phone pass: Close was a 36px tap */
