/* ==========================================================================
   trade-phone.css — the saved redesign (2026-11-19) on the phone app
   The phone part of the new layout: scoped to html.ll.m-on (html.ll from trade-desktop.js on the
   phone app, m-on from m-app.js). It lays out the desktop's own pieces; nothing is drawn for the
   phone alone.
   ========================================================================== */
html.ll.m-on {
    --ml-bg: #0B0F19; --ml-panel: #10151F; --ml-card: #161D2C; --ml-fill: #1A2131; --ml-fill2: #2A3347;
    --ml-t1: #F5F7FA; --ml-t2: #C2CBD8; --ml-t3: #8791A3; --ml-sky: #7DD3FC; --ml-pos: #2FE0A0; --ml-neg: #FF5C7A; --ml-amber: #D9A83C;
    --ml-line: rgba(255, 255, 255, .06);
    --ml-line2: rgba(255, 255, 255, .14); --ml-t4: #5F6A7E; --ml-tabs: calc(56px + env(safe-area-inset-bottom, 0px)); --ml-kb: 0px;
    --ml-ch: 150px;
}
html.ll.m-on body.v2 #sc-chart { --sc-up: #2FE0A0; --sc-down: #FF5C7A; }

/* ---- the thin asset strip ---------------------------------------------- */
html.ll.m-on body.v2 .asset-sidebar { height: 36px !important; min-height: 0 !important; padding: 0 10px !important; background: none !important; border: 0 !important; border-bottom: 1px solid var(--ml-line) !important; }
html.ll.m-on body.v2 #asset-selection-container { height: 36px !important; min-height: 0 !important; gap: 2px !important; padding: 0 !important; align-items: center !important; background: none !important; }
html.ll.m-on body.v2 #asset-selection-container > .asset-selection-btn { height: 26px !important; min-height: 0 !important; min-width: 0 !important; padding: 0 9px 0 7px !important; background: none !important; border: 0 !important; border-radius: 8px !important; box-shadow: none !important; color: var(--ml-t3) !important; font: 500 12px/1 var(--sans, 'Inter', sans-serif) !important; }
html.ll.m-on body.v2 #asset-selection-container > .asset-selection-btn .asset-content { display: flex; align-items: center; gap: 6px; }
html.ll.m-on body.v2 #asset-selection-container > .asset-selection-btn .asset-icon { width: 13px !important; height: 13px !important; opacity: .8; }
html.ll.m-on body.v2 #asset-selection-container > .asset-selection-btn :is(.asset-name, .v2-asset-price) { color: inherit !important; font: inherit !important; }
html.ll.m-on body.v2 #asset-selection-container > .asset-selection-btn.selected { background: #1F2738 !important; color: var(--ml-t1) !important; }
html.ll.m-on body.v2 #asset-selection-container > .asset-selection-btn.selected .asset-name { font-weight: 600 !important; }
html.ll.m-on body.v2 #asset-selection-container > .asset-selection-btn.selected .asset-icon { opacity: 1; }

/* ---- the picker lanes ------------------------------------------------------ */
html.ll.m-on body.v2 #sc-chart .sc-plot { border-radius: 12px !important; background: linear-gradient(180deg, #0E1524 0%, #0B0F19 100%) !important; }
html.ll.m-on body.v2 .sc-tag.is-be.is-profit { background: var(--ml-pos) !important; color: #07120B !important; font-weight: 600; }
html.ll.m-on body.v2 .sc-tag.is-be.is-profit em { color: rgba(7, 18, 11, .78) !important; font-weight: 600; }
html.ll.m-on body.v2 .sc-tag.is-spot.is-up { background: #2FE0A0 !important; color: #07120B !important; }
html.ll.m-on body.v2 .sc-tag.is-spot.is-dn { background: #FF5C7A !important; color: #1A0508 !important; }
html.ll.m-on body.v2 .sc-tag.is-spot :is(em) { color: inherit !important; opacity: .75; }
html.ll.m-on #sc-profit-lab { display: none !important; }
html.ll.m-on body.v2 .sc-profit { background: linear-gradient(to top, rgba(47, 224, 160, .22), rgba(47, 224, 160, .05)) !important; }

/* ---- the ticket (inline, below the picker) ---------------------------------- */
html.ll.m-on body.v2 #v2-col2 .trade-preview-card { background: var(--ml-panel) !important; border: 1px solid var(--ml-amber) !important; border-radius: 16px !important; padding: 4px 16px 16px !important; }
html.ll.m-on body.v2 #v2-col2 #v2-question { color: var(--ml-t1) !important; font: 600 17px/1.3 var(--sans, 'Inter', sans-serif) !important; letter-spacing: -.01em; }
html.ll.m-on body.v2 #v2-col2 :is(#v2-side-call, #v2-side-put) { display: none !important; }
html.ll.m-on body.v2 #v2-col2 .select-amount-section { margin: 12px 0 0 !important; padding: 0 !important; background: none !important; border: 0 !important; }
html.ll.m-on body.v2 #v2-col2 #ticket-amount-field { display: flex !important; align-items: center; height: 50px !important; padding: 0 14px !important; margin: 0 !important; background: #080B13 !important; border: 0 !important; border-radius: 12px !important; box-shadow: none !important; }
html.ll.m-on body.v2 #v2-col2 #ticket-amount-field .v2-amt-label { display: block !important; margin: 0 auto 0 0 !important; color: var(--ml-t3) !important; font: 400 15px/1 var(--sans, 'Inter', sans-serif) !important; text-transform: none !important; letter-spacing: 0 !important; position: static !important; }
html.ll.m-on body.v2 #v2-col2 #ticket-amount-input { flex: none !important; width: auto !important; min-width: 1ch !important; max-width: 170px !important; field-sizing: content; height: 28px !important; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; outline: 0 !important; color: var(--ml-t1) !important; -webkit-text-fill-color: var(--ml-t1) !important; font: 600 18px/28px var(--sans, 'Inter', sans-serif) !important; text-align: right !important; }
html.ll.m-on body.v2 #v2-col2 #ticket-amount-field .ticket-amt-unit { margin: 0 0 0 7px !important; padding: 0 !important; color: var(--ml-t3) !important; font: 400 12px/1 var(--sans, 'Inter', sans-serif) !important; background: none !important; }
html.ll.m-on body.v2 #v2-col2 #v2-presets { display: grid !important; grid-template-columns: repeat(5, 1fr); gap: 6px !important; margin: 8px 0 0 !important; padding: 0 !important; }
html.ll.m-on body.v2 #v2-col2 #v2-presets .v2-preset { height: 40px !important; min-width: 0 !important; width: auto !important; margin: 0 !important; padding: 0 !important; background: var(--ml-fill) !important; border: 0 !important; border-radius: 10px !important; box-shadow: none !important; color: var(--ml-t3) !important; font: 500 13px/1 var(--sans, 'Inter', sans-serif) !important; }
html.ll.m-on body.v2 #v2-col2 #v2-presets .v2-preset:is(.is-active, .active, [aria-pressed="true"]) { background: var(--ml-fill2) !important; color: var(--ml-t1) !important; }
html.ll.m-on body.v2 #v2-col2 .trade-actions :is(#trade-now-btn, .v2-connect-main) { height: 54px !important; min-height: 54px !important; border-radius: 14px !important; font: 700 16px/1 var(--sans, 'Inter', sans-serif) !important; }
html.ll.m-on body.v2 #v2-col2 .trade-actions #trade-now-btn { background: var(--ml-pos) !important; background-image: none !important; color: #07120B !important; border: 0 !important; box-shadow: none !important; }
html.ll.m-on body.v2 #v2-col2 .trade-actions #trade-now-btn.put { background: #F0736A !important; color: #1A0605 !important; }
html.ll.m-on body.v2 #v2-col2 .trade-actions #trade-now-btn:is(.range, .ranger) { background: var(--ml-sky) !important; color: #07131C !important; }
html.ll.m-on body.v2 #v2-col2 .trade-actions #trade-now-btn:is(:disabled, [aria-disabled="true"]) { background: var(--ml-fill) !important; color: var(--ml-t3) !important; font-weight: 600 !important; }

/* ---- the chat as a messenger ------------------------------------------------ */
html.ll.m-on body.v2 #trollbox-messages { display: flex !important; flex-direction: column; padding: 8px 14px !important; gap: 0 !important; background: none !important; }
/* neutral notices stay hidden; errors and warnings are the only failure surface, so they show */
html.ll.m-on body.v2 #trollbox-messages .system-message:not(.error-message, .content-filter-warning, .rate-limit-warning) { display: none !important; }
html.ll.m-on body.v2 #trollbox-messages .system-message:is(.error-message, .content-filter-warning, .rate-limit-warning) {
    display: block !important; align-self: stretch; flex: none !important; margin: 8px 0 0 !important; padding: 0 !important; background: none !important; border: 0 !important; border-radius: 0 !important;
    color: var(--ml-amber) !important; font: 400 12px/1.4 var(--sans, 'Inter', sans-serif) !important; text-align: left !important; overflow-wrap: anywhere;
}
html.ll.m-on body.v2 #trollbox-messages .system-message.error-message { color: var(--ml-neg) !important; }
html.ll.m-on body.v2 #trollbox-messages .system-message i { margin-right: 4px; color: inherit !important; }
html.ll.m-on body.v2 #trollbox-messages .message { position: relative; align-self: flex-start; max-width: 88%; margin: 8px 0 0 !important; padding: 0 0 0 38px !important; background: none !important; border: 0 !important; box-shadow: none !important; min-height: 0 !important; height: auto !important; flex: none !important; }
html.ll.m-on body.v2 #trollbox-messages .message.l2-cont { margin-top: 3px !important; }
html.ll.m-on .ml-av { position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--ml-fill2) center / cover; color: var(--ml-t2); font: 600 11px/1 var(--sans, 'Inter', sans-serif); image-rendering: pixelated; }
html.ll.m-on body.v2 #trollbox-messages .l2-cont > .ml-av { visibility: hidden; }
html.ll.m-on .l2-bub { display: inline-block; max-width: 100%; background: var(--ml-fill); border-radius: 6px 16px 16px 16px; padding: 8px 12px; }
html.ll.m-on .l2-cont .l2-bub { border-radius: 16px; }
html.ll.m-on body.v2 #trollbox-messages .message-header { display: block !important; margin: 0 0 3px !important; padding: 0 !important; line-height: 1; background: none !important; }
html.ll.m-on body.v2 #trollbox-messages .l2-cont .message-header { display: none !important; }
html.ll.m-on body.v2 #trollbox-messages .message-author { color: var(--ml-sky) !important; font: 600 12px/1 var(--sans, 'Inter', sans-serif) !important; background: none !important; padding: 0 !important; }
html.ll.m-on body.v2 #trollbox-messages .message-author::before,
html.ll.m-on body.v2 #trollbox-messages .message-author::after { display: none !important; content: none !important; }
html.ll.m-on body.v2 #trollbox-messages .admin-message .message-author { color: var(--ml-amber) !important; }
html.ll.m-on body.v2 #trollbox-messages .admin-badge { display: inline-flex; align-items: center; height: 14px; margin-left: 6px; padding: 0 4px; border-radius: 4px; background: var(--ml-fill2) !important; color: var(--ml-t2) !important; font: 600 9px/1 var(--sans, 'Inter', sans-serif) !important; border: 0 !important; }
html.ll.m-on body.v2 #trollbox-messages .message-content { display: block !important; margin: 0 !important; padding: 0 !important; background: none !important; color: #F5F7FA !important; font: 400 14px/1.4 var(--sans, 'Inter', sans-serif) !important; overflow-wrap: anywhere; }
html.ll.m-on body.v2 #trollbox-messages .message-time { float: right; margin: 5px 0 -2px 10px !important; font-size: 0 !important; line-height: 1 !important; }
html.ll.m-on body.v2 #trollbox-messages .message-time::after { content: attr(data-ll-t); font-size: 11px; color: #6B7790; white-space: nowrap; }
html.ll.m-on body.v2 #trollbox-messages .message-reactions { display: flex; flex-wrap: wrap; gap: 4px; margin: 3px 0 0 !important; padding: 0 !important; }
html.ll.m-on body.v2 #trollbox-messages .message-reactions:not(:has(*)) { display: none !important; }
html.ll.m-on body.v2 #trollbox-messages .mention { background: none !important; padding: 0 !important; color: var(--ml-sky) !important; font-weight: 500; }
html.ll.m-on body.v2 #trollbox-messages .message.l2-me { align-self: flex-end; padding: 0 !important; }
html.ll.m-on body.v2 #trollbox-messages .message.l2-me > .ml-av,
html.ll.m-on body.v2 #trollbox-messages .message.l2-me .message-header { display: none !important; }
html.ll.m-on body.v2 #trollbox-messages .message.l2-me .l2-bub { background: var(--ml-sky); border-radius: 16px 16px 6px 16px; }
html.ll.m-on body.v2 #trollbox-messages .message.l2-me .message-content { color: #07131C !important; }
html.ll.m-on body.v2 #trollbox-messages .message.l2-me .message-time::after { color: rgba(7, 19, 28, .6); }
html.ll.m-on .l2-date { align-self: center; margin: 10px 0 2px; padding: 4px 10px; border-radius: 999px; background: #151C2A; color: var(--ml-t3); font: 500 11px/1 var(--sans, 'Inter', sans-serif); }
html.ll.m-on body.v2 #trollbox-messages .message.v2-fill-msg { align-self: center; display: inline-flex !important; align-items: center; gap: 5px; max-width: 100%; margin: 10px 0 2px !important; padding: 6px 12px !important; border-radius: 999px !important; background: #151C2A !important; color: var(--ml-t3) !important; font: 400 12px/1 var(--sans, 'Inter', sans-serif) !important; white-space: nowrap; overflow: hidden; }
html.ll.m-on body.v2 #trollbox-messages .message.v2-fill-msg > b { color: #F5F7FA !important; font-weight: 500 !important; }
html.ll.m-on body.v2 #trollbox-messages .message.v2-fill-msg > i { display: none !important; }
html.ll.m-on body.v2 .trollbox-input-container { padding: 8px 12px 12px !important; background: none !important; border: 0 !important; }
html.ll.m-on body.v2 .trollbox-input-wrapper { display: flex !important; align-items: center; height: 48px !important; padding: 0 6px 0 18px !important; border: 0 !important; border-radius: 24px !important; background: var(--ml-fill) !important; }
html.ll.m-on body.v2 #trollbox-input { flex: 1; min-width: 0; height: 48px !important; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; outline: 0 !important; color: var(--ml-t1) !important; font: 400 15px/1 var(--sans, 'Inter', sans-serif) !important; }
html.ll.m-on body.v2 #trollbox-send { width: 36px !important; height: 36px !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: var(--ml-sky) !important; color: #07131C !important; }
/* ---- fixes after the first phone run ---------------------------------------- */
html.ll.m-on body.v2 #asset-selection-container > .asset-selection-btn :is(.asset-content, .asset-name, .v2-asset-price) { background: none !important; box-shadow: none !important; border: 0 !important; padding: 0 !important; }
html.ll.m-on body.v2 #v2-col2 #ticket-amount-field::before { content: '$'; order: 1; color: var(--ml-t1); font: 600 18px/28px var(--sans, 'Inter', sans-serif); }
html.ll.m-on body.v2 #v2-col2 #ticket-amount-field .v2-amt-label { order: 0; }
html.ll.m-on body.v2 #v2-col2 #ticket-amount-input { order: 2; align-self: center !important; }
html.ll.m-on body.v2 #v2-col2 #ticket-amount-field .ticket-amt-unit { order: 3; align-self: center !important; }
html.ll.m-on body.v2 #v2-col2 #ticket-amount-field > * { position: static !important; transform: none !important; top: auto !important; }
html.ll.m-on body.v2 .trollbox-user-info .user-badge { display: none !important; }
html.ll.m-on body.v2 #v2-col2 #ticket-amount-field::before { align-self: center !important; position: static !important; transform: none !important; margin: 0 1px 0 0 !important; }
html.ll.m-on body.v2 #v2-chat-jump { bottom: 112px !important; }
/* the order sheet fits a phone screen: a smaller strike line and payoff */
html.ll.m-on body.v2 #v2-col2 .v2-step-value { font-size: 26px !important; min-height: 0 !important; height: 32px !important; }
html.ll.m-on body.v2 #v2-col2 #v2-question { margin: 0 0 6px !important; padding-right: 36px; font-size: 16px !important; }
html.ll.m-on body.v2 #v2-col2 .select-amount-section { margin-top: 8px !important; }
html.ll.m-on body.v2 #v2-col2 #v2-balance-line { margin: 4px 0 0 !important; font-size: 12px !important; }
html.ll.m-on body.v2 #v2-col2 .trade-preview-card { padding-bottom: 12px !important; }
html.ll.m-on body.v2 #v2-col2 .trade-actions { margin-top: 10px !important; }

/* ==========================================================================
   Phone Trade, round 2 (2026-11-20): one scrolling page. The chart folds, the
   picker is the desktop's slider sized for a thumb, the order sits in the box
   under it, and Buy is pinned above the tabs.
   ========================================================================== */
/* ---- the page scrolls as one column ---- */
html.ll.m-on body.v2 .trade-unified-layout.trade-unified-layout.trade-unified-layout { display: block !important; height: 100% !important; overflow-x: hidden !important; overflow-y: auto !important; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-bottom: 14px !important; }
html.ll.m-on.m-has-pick body.v2 .trade-unified-layout.trade-unified-layout.trade-unified-layout { padding-bottom: 84px !important; }
html.ll.m-on body.v2 .trade-unified-layout :is(#v2-col1, .trade-panel-main, .trade-panel-main-inner, .trade-content, #basic-view-container)#v2-col1,
html.ll.m-on body.v2 .trade-unified-layout :is(#v2-col1, .trade-panel-main, .trade-panel-main-inner, .trade-content, #basic-view-container) { display: block !important; height: auto !important; min-height: 0 !important; max-height: none !important; overflow: visible !important; flex: none !important; }
html.ll.m-on body.v2 .trade-unified-layout .asset-sidebar { position: sticky; top: 0; z-index: 6; background: var(--ml-bg) !important; }
html.ll.m-on body.v2 .filter-label-section.filter-label-section { display: block !important; height: auto !important; padding: 0 12px !important; margin: 0 !important; background: none !important; border: 0 !important; }
/* the chart */
html.ll.m-on body.v2 #v2-col1 > .ns-chart { display: block !important; position: relative !important; height: 150px !important; min-height: 0 !important; margin: 0 0 8px !important; padding: 0 !important; overflow: hidden; border: 1px solid var(--ml-line); border-radius: 10px; }
html.ll.m-on body.v2 #v2-col1 > .ns-chart :is(#ns-chart-slot, #sc-chart) { height: 100% !important; }
@media (max-height: 700px) { html.ll.m-on body.v2 #v2-col1 > .ns-chart { height: 128px !important; } }
@media (min-height: 860px) { html.ll.m-on body.v2 #v2-col1 > .ns-chart { height: 176px !important; } }
/* ---- the box ---- */
html.ll.m-on body.v2 .filter-label-section .filter-label-right.filter-label-right { margin-top: 4px !important; }
html.ll.m-on body.v2 #v2-view-region#v2-view-region#v2-view-region { display: block !important; position: relative !important; height: auto !important; min-height: 0 !important; max-height: none !important; flex: none !important; margin: 0 12px 0 !important; padding: 10px 0 6px !important; overflow: hidden !important; background: none !important; }
html.ll.m-on body.v2 #v2-view-region#v2-view-region > :is(#v2-chart-row, .strike-slider-track) { position: absolute !important; left: 0; top: 0; width: 100%; height: 10px !important; overflow: hidden !important; visibility: hidden !important; pointer-events: none !important; opacity: 0 !important; }
html.ll.m-on body.v2 #v2-view-region#v2-view-region > #ns-view { position: static !important; inset: auto !important; height: auto !important; min-height: 0 !important; overflow: visible !important; padding: 0 !important; margin: 0 !important; background: none !important; visibility: visible !important; }
html.ll.m-on body.v2 #v2-view-region#v2-view-region:not([data-v2-view="basic"]):not([data-v2-view="advanced"]) > #ns-view { display: none !important; }
/* Chain: the same day tabs as the Slider (#ns-dates) sit over the chain, as on the desktop */
html.ll.m-on body.v2 #v2-view-region[data-v2-view="advanced"] > #ns-view > :not(#ns-dates) { display: none !important; }
html.ll.m-on body.v2 #v2-view-region#v2-view-region:not([data-v2-view="advanced"]) > #v2-chain { display: none !important; }
html.ll.m-on #l2-status b.is-neg { color: var(--ml-neg); } html.ll.m-on #l2-status b.is-amb { color: var(--ml-amber); }
/* ---- the order, in the box ---- */
html.ll.m-on body.v2 #v2-col2 :is(.trade-panel-preview, .trade-preview-sidebar, .trade-preview-section) { position: static !important; display: block !important; width: auto !important; height: auto !important; max-height: none !important; margin: 0 !important; padding: 0 !important; overflow: visible !important; background: none !important; border: 0 !important; box-shadow: none !important; transform: none !important; }
html.ll.m-on body.v2 #v2-col2#v2-col2 .trade-preview-card { margin: 0 !important; padding: 12px 14px 8px !important; background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
html.ll.m-on body.v2 #v2-col2#v2-col2 .v2-decide { display: none !important; }
html.ll.m-on body.v2 #v2-col2#v2-col2 #ticket-amount-field { height: 56px !important; background: #070A11 !important; box-shadow: inset 0 0 0 1px var(--ml-line2) !important; }
html.ll.m-on body.v2 #v2-col2#v2-col2 #ticket-amount-field:focus-within { box-shadow: inset 0 0 0 1.5px var(--ml-t1) !important; }
html.ll.m-on body.v2 #v2-col2#v2-col2 #ticket-amount-field[data-ml-kind="short"] { box-shadow: inset 0 0 0 1.5px rgba(255, 92, 122, .7) !important; }
html.ll.m-on body.v2 #v2-col2#v2-col2 #ticket-amount-field[data-ml-kind="short"] #ticket-amount-input,
html.ll.m-on body.v2 #v2-col2#v2-col2 #ticket-amount-field[data-ml-kind="short"]::before { color: var(--ml-neg) !important; }
html.ll.m-on body.v2 #v2-col2#v2-col2 #ticket-amount-field .v2-amt-label { display: flex !important; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; color: var(--ml-t3) !important; font: 500 12px/1 var(--sans, 'Inter', sans-serif) !important; }
html.ll.m-on #l2-status { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ml-t3); font: 400 11px/1 var(--sans, 'Inter', sans-serif); }
html.ll.m-on #l2-status:empty { display: none; }
html.ll.m-on #l2-status b { color: var(--ml-t1); font-weight: 600; }
html.ll.m-on #l2-status i { font-style: normal; margin-right: 0; }   /* the space in the markup is the gap */
html.ll.m-on body.v2 #v2-col2#v2-col2 #ticket-amount-field[data-ml-kind="cap"] #l2-status { color: var(--ml-amber); }
html.ll.m-on body.v2 #v2-col2#v2-col2 #ticket-amount-input { font: 600 22px/28px var(--sans, 'Inter', sans-serif) !important; letter-spacing: -.02em; }
html.ll.m-on body.v2 #v2-col2#v2-col2 #ticket-amount-field::before { font: 600 22px/28px var(--sans, 'Inter', sans-serif) !important; }
html.ll.m-on body.v2 #v2-col2#v2-col2 :is(#v2-balance-line, #v2-commit-cause) { display: none !important; }
html.ll.m-on body.v2 #v2-col2#v2-col2 #v2-presets .v2-preset { height: 38px !important; border-radius: 8px !important; }
html.ll.m-on body.v2 #v2-col2#v2-col2 #v2-presets .v2-preset:is(.is-active, .active, [aria-pressed="true"]) { background: #fff !important; color: #0B0F19 !important; font-weight: 600 !important; }
/* ---- Buy, pinned above the tabs ---- */
html.ll.m-on body.v2 #v2-col2#v2-col2#v2-col2 .trade-actions { position: fixed !important; left: 0; right: 0; bottom: calc(var(--ml-tabs) + var(--ml-kb)); z-index: 1037; margin: 0 !important; padding: 10px 12px !important; background: var(--ml-bg) !important; border-top: 1px solid var(--ml-line) !important; }
html.ll.m-on.ml-kb body.v2 #v2-col2#v2-col2#v2-col2 .trade-actions { bottom: var(--ml-kb); }
html.ll.m-on:not(.m-on-trade) body.v2 #v2-col2 .trade-actions,
html.ll.m-on.m-chat body.v2 #v2-col2 .trade-actions { display: none !important; }
html.ll.m-on body.v2 #v2-col2#v2-col2 .trade-actions :is(#trade-now-btn, .v2-connect-main, .v2-need-fund, button) { width: 100% !important; height: 52px !important; min-height: 52px !important; margin: 0 !important; border-radius: 12px !important; font: 600 15px/1 var(--sans, 'Inter', sans-serif) !important; }
html.ll.m-on body.v2 #v2-col2#v2-col2 .trade-actions #trade-now-btn:not(:disabled):not([aria-disabled="true"]),
html.ll.m-on body.v2 #v2-col2#v2-col2 .trade-actions #trade-now-btn:is(.put, .range, .ranger):not(:disabled):not([aria-disabled="true"]) { background: #fff !important; color: #0B0F19 !important; }
/* ---- typing an amount ---- */
html.ll.m-on.ml-typing body.v2 #v2-col1 > .ns-chart,
html.ll.m-on.ml-typing body.v2 #ns-view > .ns-inputs.ns-inputs,
html.ll.m-on.ml-typing body.v2 #v2-col1 > #ns-spot.ns-spot { display: none !important; }
html.ll.m-on.ml-typing body.v2 #v2-col2 > #trade-preview-sidebar-anchor { border-top: 1px solid var(--ml-amber) !important; border-top-right-radius: 8px !important; }
/* the order's figures stay in view while typing: only the payoff chart folds */
html.ll.m-on.ml-typing body.v2 #v2-col2 #v2-tk-payoff { display: none !important; }
html.ll.m-on.ml-typing body.v2 #v2-col2 .ticket-decision > #v2-tk-payoff:not([hidden]) { display: none !important; }
html.ll.m-on.ml-typing body.v2 #v2-col2 .ticket-decision > #v2-params#v2-params { margin-top: 6px !important; border-top: 0 !important; border-radius: 6px !important; }
/* ---- after a fill ---- */
html.ll.m-on.l2-filled body.v2 :is(#ns-spot, #v2-col1 > .ns-chart, #basic-view-container, #v2-question, #ns-clear, .select-amount-section, #v2-tk-payoff, #v2-params) { opacity: .32 !important; filter: saturate(.25); transition: opacity .25s ease-out, filter .25s ease-out; }
html.ll.m-on.l2-filled body.v2 #v2-col2 #trade-now-btn { font-size: 0 !important; background: #fff !important; }
html.ll.m-on.l2-filled body.v2 #v2-col2 #trade-now-btn > * { display: none !important; }
html.ll.m-on.l2-filled body.v2 #v2-col2 #trade-now-btn::after { content: 'Filled \2713'; color: #0B0F19; font: 600 15px/1 var(--sans, 'Inter', sans-serif); }
/* fixes after the first run */
html.ll.m-on body.v2 #v2-view-region#v2-view-region > :is(#v2-chart-row, .strike-slider-track) * { visibility: hidden !important; pointer-events: none !important; }
html.ll.m-on body.v2 #v2-view-region .v2-scroll-pill { display: none !important; }
html.ll.m-on body.v2 #v2-col1 > .ns-chart.ns-chart { width: auto !important; max-width: none !important; flex: none !important; }
html.ll.m-on body.v2 #v2-col1 > .ns-chart :is(#ns-chart-slot, #sc-chart) { width: 100% !important; max-width: none !important; margin: 0 !important; }
html.ll.m-on body.v2 #basic-view-container#basic-view-container > .filter-label-section { display: block !important; padding: 0 12px !important; }
/* ---- positions and history under the box: two lines a row ---- */
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block { position: static !important; display: block !important; height: auto !important; max-height: none !important; margin: 10px 12px 0 !important; padding: 0 !important; background: none !important; border: 0 !important; overflow: visible !important; flex: none !important; transform: none !important; }
html.ll.m-on.m-no-wallet body.v2 #trade-positions-block#trade-positions-block { display: none !important; }
/* typing an amount: positions fold too (this beats the display:block above) */
html.ll.m-on.ml-typing body.v2 #trade-positions-block#trade-positions-block { display: none !important; }
html.ll.m-on body.v2 #trade-positions-block :is(.col-12, .user-positions-table-container) { display: block !important; height: auto !important; max-height: none !important; overflow: visible !important; background: none !important; border: 0 !important; }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block .trade-strip-tabs { display: flex !important; align-items: center; gap: 18px; height: 42px !important; padding: 0 !important; background: none !important; border: 0 !important; border-bottom: 1px solid var(--ml-line) !important; }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block .trade-strip-tabs::after { display: none !important; }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block .trade-strip-tab { height: 42px !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: inset 0 -2px 0 transparent !important; color: var(--ml-t3) !important; font: 500 14px/42px var(--sans, 'Inter', sans-serif) !important; }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block .trade-strip-tab.active { color: var(--ml-t1) !important; font-weight: 600 !important; box-shadow: inset 0 -2px 0 var(--ml-t1) !important; }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block .trade-strip-tab[data-count]::after { margin-left: 5px; color: var(--ml-t3); font: 500 11px/1 var(--sans, 'Inter', sans-serif); }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block #v2-strip-portfolio { margin-left: auto !important; padding: 0 !important; color: var(--ml-t3) !important; font: 400 12px/42px var(--sans, 'Inter', sans-serif) !important; text-decoration: none !important; background: none !important; border: 0 !important; }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block .trade-strip-pane { height: auto !important; max-height: none !important; overflow: visible !important; padding: 0 !important; }
html.ll.m-on body.v2 #trade-positions-block .v2-pos-cols,
html.ll.m-on body.v2 #trade-positions-block .v2-pos-row > :is(.v2-pos-share, .v2-pos-bar),
html.ll.m-on body.v2 #trade-positions-block table.user-positions-table { display: none !important; }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block .v2-pos-row { display: grid !important; grid-template-columns: auto auto minmax(0, 1fr) auto !important; grid-template-rows: 18px 16px; column-gap: 0 !important; row-gap: 4px; align-items: center; height: auto !important; min-height: 0 !important; padding: 10px 2px !important; margin: 0 !important; background: none !important; border: 0 !important; border-bottom: 1px solid var(--ml-line) !important; border-radius: 0 !important; -webkit-tap-highlight-color: transparent; }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block .v2-pos-row:active { background: rgba(255, 255, 255, .03) !important; }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block .v2-pos-row > * { display: block !important; min-width: 0; margin: 0 !important; padding: 0 !important; text-align: left !important; white-space: nowrap !important; color: var(--ml-t3) !important; font: 400 12px/16px var(--sans, 'Inter', sans-serif) !important; }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block .v2-pos-row > .v2-pos-id { grid-column: 1 / 4; grid-row: 1; overflow: hidden; text-overflow: ellipsis; color: var(--ml-t1) !important; font: 600 14px/18px var(--sans, 'Inter', sans-serif) !important; }
/* the row's own words (V2Table.pos, the same at both widths), with its side mark (llRow's row class) */
html.ll.m-on body.v2 #trade-positions-block .v2-pos-id > * { display: inline !important; font: inherit !important; color: inherit !important; }
html.ll.m-on body.v2 #trade-positions-block .v2-pos-row:is(.l2-up, .l2-dn, .l2-rg) .v2-pos-id::before { display: inline-block; width: 16px; font-size: 10px; vertical-align: 1px; }
html.ll.m-on body.v2 #trade-positions-block .v2-pos-row.l2-up .v2-pos-id::before { content: '▲'; color: var(--ml-pos); }
html.ll.m-on body.v2 #trade-positions-block .v2-pos-row.l2-dn .v2-pos-id::before { content: '▼'; color: var(--ml-neg); }
html.ll.m-on body.v2 #trade-positions-block .v2-pos-row.l2-rg .v2-pos-id::before { content: '—'; color: var(--ml-sky); }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block .v2-pos-row > .v2-pos-size { display: none !important; }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block .v2-pos-row > .v2-pos-cv { grid-column: 2; grid-row: 2; }
html.ll.m-on body.v2 #trade-positions-block .v2-pos-row > .v2-pos-cv::before { content: '\00a0·\00a0 cost '; }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block .v2-pos-row > .v2-pos-pnl { grid-column: 4; grid-row: 1 / 3; display: flex !important; flex-direction: column; align-items: flex-end; gap: 4px; padding-left: 12px !important; }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block .v2-pos-pnl > u { text-decoration: none !important; border: 0 !important; font: 600 14px/18px var(--sans, 'Inter', sans-serif) !important; color: var(--ml-t1); }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block .v2-pos-pnl > i { font: 400 12px/16px var(--sans, 'Inter', sans-serif) !important; font-style: normal !important; color: var(--ml-t3) !important; min-height: 16px; }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block .v2-pos-pnl.is-up > u,
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block .v2-pos-pnl.is-pos > u { color: var(--ml-pos) !important; }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block .v2-pos-pnl.is-dn > u,
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block .v2-pos-pnl.is-neg > u { color: var(--ml-neg) !important; }
/* open positions: closes in … · cost */
html.ll.m-on body.v2 #v2-pos-strip#v2-pos-strip .v2-pos-row > .v2-pos-exp { grid-column: 1; grid-row: 2; }
html.ll.m-on body.v2 #v2-pos-strip .v2-pos-row > .v2-pos-exp em { font: inherit !important; font-style: normal !important; color: inherit !important; }
/* history: when · cost · how it ended, the return under the result */
html.ll.m-on body.v2 #v2-hist-strip#v2-hist-strip .v2-pos-row > .v2-pos-size:first-child { display: block !important; grid-column: 1; grid-row: 2; }
html.ll.m-on body.v2 #v2-hist-strip#v2-hist-strip .v2-pos-row > .v2-pos-status { grid-column: 3; grid-row: 2; background: none !important; border: 0 !important; }
html.ll.m-on body.v2 #v2-hist-strip#v2-hist-strip .v2-pos-row > .v2-pos-pnl { grid-row: 1; }
html.ll.m-on body.v2 #v2-hist-strip#v2-hist-strip .v2-pos-row > .v2-pos-pnl > i { display: none !important; }
html.ll.m-on body.v2 #v2-hist-strip#v2-hist-strip .v2-pos-row > .v2-pos-exp { grid-column: 4; grid-row: 2; text-align: right !important; padding-left: 12px !important; }
html.ll.m-on body.v2 #v2-hist-strip .v2-pos-row > .v2-pos-exp em { font: inherit !important; font-style: normal !important; color: inherit !important; }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block#trade-positions-block .v2-pos-row > .v2-pos-share { display: none !important; }
/* ---- the position sheet: three figures that fit a phone ---- */
html.ll.m-on body.v2 #position-detail-modal #v2-pd-tiles { display: grid !important; grid-template-columns: auto auto auto !important; justify-content: space-between; column-gap: 12px !important; }
html.ll.m-on body.v2 #position-detail-modal .v2-pd-fig { min-width: 0; width: auto !important; overflow: visible !important; }
html.ll.m-on body.v2 #position-detail-modal .v2-pd-fig > * { white-space: nowrap !important; overflow: visible !important; text-overflow: clip !important; max-width: none !important; }
html.ll.m-on body.v2 #position-detail-modal .v2-pd-fig > em { font-size: 18px !important; letter-spacing: -.02em; }
html.ll.m-on body.v2 #position-detail-modal .v2-pd-fig > i { font-size: 11px !important; }
@media (max-width: 370px) { html.ll.m-on body.v2 #position-detail-modal .v2-pd-fig > em { font-size: 16px !important; } html.ll.m-on body.v2 #position-detail-modal .v2-pd-fig > i { font-size: 10.5px !important; } }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block#trade-positions-block .v2-pos-row > .v2-pos-cv { display: flex !important; align-items: center; height: 16px; line-height: 16px !important; }
html.ll.m-on body.v2 #trade-positions-block .v2-pos-row > .v2-pos-cv::before,
html.ll.m-on body.v2 #trade-positions-block .v2-pos-row > .v2-pos-cv::after { line-height: 16px; white-space: pre; }
/* ---- the confirm dialog: a sheet from the bottom, the button under the thumb ---- */

/* the swatch and its tick sit on the title's first 20px line, over the real input (top 0), not centred on the title + note stack */

html.ll.m-on body.v2 #v2-view-region#v2-view-region#v2-view-region::after,
html.ll.m-on body.v2 #v2-view-region#v2-view-region#v2-view-region::before { content: none !important; display: none !important; }
html.ll.m-on body.v2 #v2-view-region#v2-view-region#v2-view-region { padding-top: 6px !important; }

/* ==========================================================================
   Compact (2026-11-20, approved mockup "Phone Trade · compact"): controls sized
   like a perp trading app. One-line cells and rows, 40px Buy, small radii.
   ========================================================================== */
html.ll.m-on body.v2 .asset-sidebar.asset-sidebar,
html.ll.m-on body.v2 #asset-selection-container#asset-selection-container { height: 30px !important; }
html.ll.m-on body.v2 #asset-selection-container > .asset-selection-btn.asset-selection-btn { height: 22px !important; padding: 0 7px 0 6px !important; border-radius: 5px !important; font-size: 11px !important; }
html.ll.m-on body.v2 #v2-col1 > .ns-chart.ns-chart { border-radius: 6px; margin-bottom: 6px !important; }
html.ll.m-on body.v2 #v2-col2#v2-col2 .trade-preview-card { padding: 8px 12px 0 !important; }
html.ll.m-on body.v2 #v2-col2#v2-col2 .select-amount-section { margin: 6px 0 0 !important; }
html.ll.m-on body.v2 #v2-col2#v2-col2#v2-col2 #ticket-amount-field { height: 38px !important; min-height: 0 !important; padding: 0 10px !important; border-radius: 6px !important; }
html.ll.m-on body.v2 #v2-col2#v2-col2#v2-col2 #ticket-amount-field .v2-amt-label { flex-direction: row !important; align-items: center; gap: 8px !important; font-size: 11px !important; }
html.ll.m-on #l2-status { font-size: 10px; }
html.ll.m-on body.v2 #v2-col2#v2-col2#v2-col2 #ticket-amount-input,
html.ll.m-on body.v2 #v2-col2#v2-col2#v2-col2 #ticket-amount-field::before { font: 600 17px/24px var(--sans, 'Inter', sans-serif) !important; height: 24px !important; }
html.ll.m-on body.v2 #v2-col2#v2-col2#v2-col2 #ticket-amount-field .ticket-amt-unit { font-size: 10px !important; margin-left: 6px !important; }
html.ll.m-on body.v2 #v2-col2#v2-col2#v2-col2 #v2-presets { gap: 4px !important; margin-top: 4px !important; }
html.ll.m-on body.v2 #v2-col2#v2-col2#v2-col2 #v2-presets .v2-preset { position: relative; height: 26px !important; min-height: 0 !important; border-radius: 5px !important; font-size: 11px !important; }
html.ll.m-on body.v2 #v2-col2#v2-col2#v2-col2 #v2-presets .v2-preset::before { content: '' !important; position: absolute !important; inset: -5px 0 !important; width: auto !important; height: auto !important; transform: none !important; background: none !important; }
html.ll.m-on body.v2 #v2-col2#v2-col2#v2-col2 .trade-actions { padding: 8px 12px !important; }
html.ll.m-on body.v2 #v2-col2#v2-col2#v2-col2 .trade-actions :is(#trade-now-btn, .v2-connect-main, .v2-need-fund, button) { height: 40px !important; min-height: 40px !important; border-radius: 6px !important; font: 600 13px/1 var(--sans, 'Inter', sans-serif) !important; }
html.ll.m-on.l2-filled body.v2 #v2-col2 #trade-now-btn::after { font-size: 13px; }
html.ll.m-on.m-has-pick body.v2 .trade-unified-layout.trade-unified-layout.trade-unified-layout { padding-bottom: 68px !important; }
/* positions and history: one line a row */
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block#trade-positions-block { margin-top: 6px !important; }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block#trade-positions-block .trade-strip-tabs { height: 32px !important; gap: 16px; }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block#trade-positions-block .trade-strip-tab { height: 32px !important; font: 500 12px/32px var(--sans, 'Inter', sans-serif) !important; }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block#trade-positions-block .trade-strip-tab.active { font-weight: 600 !important; }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block#trade-positions-block #v2-strip-portfolio { font: 400 11px/32px var(--sans, 'Inter', sans-serif) !important; }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block#trade-positions-block .v2-pos-row { grid-template-columns: minmax(0, 1fr) auto auto !important; grid-template-rows: 32px !important; column-gap: 10px !important; row-gap: 0 !important; padding: 0 2px !important; }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block#trade-positions-block .v2-pos-row > * { grid-row: 1 !important; font-size: 11px !important; line-height: 1 !important; }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block#trade-positions-block .v2-pos-row > .v2-pos-id { grid-column: 1 !important; font: 600 12px/1 var(--sans, 'Inter', sans-serif) !important; }
html.ll.m-on body.v2 #trade-positions-block .v2-pos-row .v2-pos-id::before { width: 13px; font-size: 8px; }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block#trade-positions-block#trade-positions-block .v2-pos-row > :is(.v2-pos-cv, .v2-pos-size) { display: none !important; }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block#trade-positions-block .v2-pos-row > .v2-pos-pnl { grid-column: 3 !important; min-width: 58px; display: block !important; padding: 0 !important; text-align: right !important; }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block#trade-positions-block .v2-pos-pnl > u { font: 600 12px/1 var(--sans, 'Inter', sans-serif) !important; }
html.ll.m-on body.v2 #trade-positions-block#trade-positions-block#trade-positions-block .v2-pos-pnl > i { display: none !important; }
html.ll.m-on body.v2 #v2-pos-strip#v2-pos-strip#v2-pos-strip .v2-pos-row > .v2-pos-exp { grid-column: 2 !important; }
html.ll.m-on body.v2 #v2-pos-strip .v2-pos-row > .v2-pos-exp::before { content: none; }
html.ll.m-on body.v2 #v2-hist-strip#v2-hist-strip#v2-hist-strip .v2-pos-row > .v2-pos-size:first-child,
html.ll.m-on body.v2 #v2-hist-strip#v2-hist-strip#v2-hist-strip .v2-pos-row > .v2-pos-exp { display: none !important; }
html.ll.m-on body.v2 #v2-hist-strip#v2-hist-strip#v2-hist-strip .v2-pos-row > .v2-pos-status { grid-column: 2 !important; }
html.ll.m-on body.v2 #v2-hist-strip .v2-pos-row > .v2-pos-status::before { content: none; }
/* compact, narrow phones */
@media (max-width: 340px) {
    html.ll.m-on body.v2 #trade-positions-block#trade-positions-block#trade-positions-block .v2-pos-row { column-gap: 6px !important; }
    html.ll.m-on body.v2 #trade-positions-block#trade-positions-block#trade-positions-block .v2-pos-row > .v2-pos-id { font-size: 11px !important; letter-spacing: -.01em; }
    html.ll.m-on body.v2 #trade-positions-block#trade-positions-block#trade-positions-block .v2-pos-row > .v2-pos-pnl { min-width: 0; }
}
/* the chart always draws at the height of its frame: the plot stretches, it is never sliced */
@media (max-height: 700px) { html.ll.m-on { --ml-ch: 140px; } }
@media (min-height: 860px) { html.ll.m-on { --ml-ch: 170px; } }
html.ll.m-on body.v2 #v2-col1 > .ns-chart #ns-chart-slot { display: block !important; height: var(--ml-ch) !important; }
html.ll.m-on body.v2 #v2-col1 > .ns-chart #sc-chart#sc-chart { display: flex !important; flex-direction: column !important; height: var(--ml-ch) !important; min-height: 0 !important; }
html.ll.m-on body.v2 #v2-col1 > .ns-chart #sc-chart .sc-head { flex: none !important; min-height: 0 !important; height: 30px !important; padding: 3px 8px !important; }
html.ll.m-on body.v2 #v2-col1 > .ns-chart #sc-chart#sc-chart .sc-plot.sc-plot { flex: 1 1 auto !important; height: auto !important; min-height: 0 !important; border-radius: 0 !important; }
/* 2026-11-20: balance sits under "Amount" as small text */
html.ll.m-on body.v2 #v2-col2#v2-col2#v2-col2#v2-col2 #ticket-amount-field { height: 44px !important; }
html.ll.m-on body.v2 #v2-col2#v2-col2#v2-col2#v2-col2 #ticket-amount-field .v2-amt-label { flex-direction: column !important; align-items: flex-start !important; justify-content: center; gap: 4px !important; }
html.ll.m-on #l2-status#l2-status { font-size: 10px; line-height: 1; }

/* ==========================================================================
   The phone runs the desktop's own pieces (2026-11-24): the layout's node
   moves (trade-desktop.js: the left column, asset strip · live spot · chart,
   stacks over the right, question · days · picker · order), the picker
   (new-slider.js renderPick), the day cards (#ns-dates), the title row
   (#v2-question), Clear (#ns-clear) and the figures (#v2-params, with the
   same short forms as text). Here they are laid out for a phone.
   ========================================================================== */
/* the right column is in the page, not a sheet */
html.ll.m-on body.v2 .trade-unified-layout > #v2-col2#v2-col2#v2-col2 { position: static !important; inset: auto !important; display: block !important; width: auto !important; height: auto !important; max-height: none !important; margin: 0 !important; padding: 0 !important; overflow: visible !important; transform: none !important; visibility: visible !important; background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; z-index: auto !important; transition: none !important; }
html.ll.m-on body.v2 #v2-col1 > .trade-panel-main { display: none !important; }

/* the live spot: price, then the live dot */
html.ll.m-on body.v2 #v2-col1 > #ns-spot.ns-spot { display: flex !important; align-items: center; gap: 8px; height: 38px; margin: 0 !important; padding: 0 12px !important; }
html.ll.m-on body.v2 #ns-spot .ns-spot-v { order: 1; color: var(--ml-t1); font: 600 18px/1 var(--sans, 'Inter', sans-serif) !important; letter-spacing: -.02em; }
html.ll.m-on body.v2 #ns-spot .ns-spot-k { order: 2; color: var(--ml-t3); font: 400 11px/1 var(--sans, 'Inter', sans-serif) !important; }
html.ll.m-on body.v2 #ns-spot .ns-spot-k i { background: var(--ml-pos); }

/* the chart, under the spot: open with nothing picked, folded once a level is picked */
html.ll.m-on body.v2 #v2-col1 > .ns-chart.ns-chart { height: var(--ml-ch) !important; margin: 0 12px 6px !important; border: 1px solid var(--ml-line); border-radius: 6px; overflow: hidden; }
html.ll.m-on.m-has-pick body.v2 #v2-col1 > .ns-chart.ns-chart { display: none !important; }

/* the question and Slider | Chain on one row */
html.ll.m-on body.v2 #basic-view-container#basic-view-container > .filter-label-section.filter-label-section { display: flex !important; flex-wrap: nowrap !important; align-items: center; gap: 10px; height: 40px !important; padding: 0 12px !important; }
html.ll.m-on body.v2 #basic-view-container #desktop-prediction-prompt { display: block !important; flex: 1 1 0 !important; width: auto !important; max-width: none !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
html.ll.m-on body.v2 #basic-view-container #desktop-prediction-prompt > :not(#v2-head-line) { display: none !important; }
html.ll.m-on body.v2 #basic-view-container #v2-head-line { display: block !important; height: auto !important; color: var(--ml-t1) !important; font: 600 15px/1.2 var(--sans, 'Inter', sans-serif) !important; letter-spacing: 0; }
html.ll.m-on body.v2 #basic-view-container .filter-label-right.filter-label-right { display: flex !important; flex: none !important; width: auto !important; min-width: 0 !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
html.ll.m-on body.v2 #basic-view-container .filter-label-right > :not(.view-text-links) { display: none !important; }
/* the day tabs are the picker's own cards (#ns-dates): the chips stay hidden (this beats m-app.css's chip rule) */
html.ll.m-on body.v2.ns-on #basic-view-container:has(#v2-view-region[data-v2-view][data-ns]) .filter-label-right > #v2-day-chips { display: none !important; }
html.ll.m-on body.v2 #basic-view-container .view-text-links { display: inline-flex !important; gap: 0 !important; margin: 0 !important; padding: 2px !important; background: var(--ml-fill) !important; border: 0 !important; border-radius: 6px !important; }
html.ll.m-on body.v2 #basic-view-container .view-text-links > #chart-view { display: none !important; }
html.ll.m-on body.v2 #basic-view-container .view-text-links > .view-link { height: 24px !important; min-height: 0 !important; padding: 0 10px !important; border: 0 !important; border-radius: 4px !important; background: none !important; color: var(--ml-t3) !important; font: 500 12px/24px var(--sans, 'Inter', sans-serif) !important; }
html.ll.m-on body.v2 #basic-view-container .view-text-links > .view-link.active { background: var(--ml-fill2) !important; color: var(--ml-t1) !important; }
html.ll.m-on body.v2 #basic-view-container .view-text-links > .view-link::before,
html.ll.m-on body.v2 #basic-view-container .view-text-links > .view-link::after { display: none !important; }

/* the box: day tabs open into one amber outline (picker, then the order) */
html.ll.m-on body.v2 #v2-view-region#v2-view-region#v2-view-region { padding: 0 !important; overflow: visible !important; }
html.ll.m-on body.v2 #ns-view #ns-dates.ns-dates { display: grid !important; grid-template-columns: repeat(var(--ns-n, 3), auto) !important; justify-content: space-between; gap: 0 !important; position: relative; z-index: 2; height: auto; margin: 0 0 -1px !important; padding: 0 !important; background: none !important; border: 0 !important; }
html.ll.m-on body.v2 #ns-view #ns-dates .ns-date.v2-chain-tab { display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; gap: 6px !important; height: 32px !important; min-height: 0 !important; margin: 0 !important; padding: 0 10px !important; background: none !important; border: 1px solid transparent !important; border-bottom: 0 !important; border-radius: 6px 6px 0 0 !important; box-shadow: none !important; color: var(--ml-t2) !important; white-space: nowrap; }
html.ll.m-on body.v2 #ns-view #ns-dates .ns-date::before,
html.ll.m-on body.v2 #ns-view #ns-dates .ns-date::after,
html.ll.m-on body.v2 #ns-view #ns-dates :is(.ns-date-sub, .ns-date-check) { display: none !important; }
html.ll.m-on body.v2 #ns-view #ns-dates .ns-date-main,
html.ll.m-on body.v2 #ns-view #ns-dates .ns-date-side { display: block !important; flex: none; overflow: visible; }
html.ll.m-on body.v2 #ns-view #ns-dates .ns-date-day { color: inherit !important; font: 600 12px/1 var(--sans, 'Inter', sans-serif) !important; }
html.ll.m-on body.v2 #ns-view #ns-dates .ns-date-left { color: var(--ml-t3) !important; font: 400 10px/1 var(--sans, 'Inter', sans-serif) !important; }
html.ll.m-on body.v2 #ns-view #ns-dates .ns-date.is-active { background: var(--ml-bg) !important; border-color: var(--ml-amber) !important; color: var(--ml-t1) !important; }
html.ll.m-on body.v2 #ns-view #ns-dates .ns-date.is-active .ns-date-left { color: var(--ml-t1) !important; }
html.ll.m-on body.v2 #ns-view > .ns-inputs.ns-inputs { position: relative; z-index: 1; margin: 0 !important; padding: 4px 0 6px !important; background: none !important; border: 1px solid var(--ml-amber) !important; border-radius: 8px !important; box-shadow: none !important; overflow: visible !important; }
html.ll.m-on body.v2 #ns-view:has(#ns-dates .ns-date.is-active:first-child) > .ns-inputs { border-top-left-radius: 0 !important; }
html.ll.m-on body.v2 #ns-view:has(#ns-dates .ns-date.is-active:last-child) > .ns-inputs { border-top-right-radius: 0 !important; }
html.ll.m-on.m-has-pick body.v2 #ns-view > .ns-inputs.ns-inputs { border-bottom: 1px solid var(--ml-line) !important; border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important; }
html.ll.m-on body.v2 #basic-view-container > #v2-view-region { margin: 0 12px !important; }
/* the order: under the picker, inside the same outline */
html.ll.m-on body.v2 #v2-col2 > #trade-preview-sidebar-anchor { display: none !important; margin: 0 12px !important; border: 1px solid var(--ml-amber) !important; border-top: 0 !important; border-radius: 0 0 8px 8px !important; }
html.ll.m-on.m-has-pick body.v2 #v2-col2 > #trade-preview-sidebar-anchor { display: block !important; }

/* the picker (new-slider.js renderPick), sized for a thumb: the ruler with
   now, the call/put track, then ranges and spreads as two columns of cells */
html.ll.m-on .ll-pk { position: relative; padding: 0 12px; --ll-ty: 34px; }
html.ll.m-on .ll-pk-empty { padding: 18px 16px 14px; color: var(--ml-t2); font: 500 13px/1.3 var(--sans, 'Inter', sans-serif); text-align: center; }
html.ll.m-on .l2-tip { display: none !important; }
html.ll.m-on .ll-pk-row { position: relative; display: block; }
html.ll.m-on .ll-pk-lab { display: flex; align-items: center; gap: 8px; height: 22px; color: var(--ml-t3); font: 500 10px/1 var(--sans, 'Inter', sans-serif); letter-spacing: .02em; }
html.ll.m-on .ll-pk-lab::after { content: ''; flex: 1; height: 1px; background: var(--ml-line); }
html.ll.m-on .ll-pk-lab svg { display: none; }
html.ll.m-on .ll-pk-cell { position: relative; min-width: 0; }
html.ll.m-on .ll-pk-row.is-cp > .ll-pk-lab { margin: 0; }
html.ll.m-on .ll-pk-row.is-cp > .ll-pk-cell { height: 56px; margin: 0 22px; outline: 0; touch-action: none; cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
html.ll.m-on .ll-pk-track { position: absolute; left: 0; right: 0; top: var(--ll-ty); height: 3px; border-radius: 2px; background: #3A445A; }
html.ll.m-on .ll-pk-seg { position: absolute; top: var(--ll-ty); height: 3px; border-radius: 2px; }
html.ll.m-on .ll-pk-seg.is-put { background: rgba(255, 92, 122, .55); }
html.ll.m-on .ll-pk-seg.is-call { background: rgba(47, 224, 160, .55); }
html.ll.m-on .ll-pk-seg.is-on.is-put { background: var(--ml-neg); }
html.ll.m-on .ll-pk-seg.is-on.is-call { background: var(--ml-pos); }
html.ll.m-on .ll-pk-notch { position: absolute; top: calc(var(--ll-ty) - 14px); bottom: 0; width: 0; border-left: 1px dashed rgba(255, 255, 255, .28); }
html.ll.m-on .ll-pk-t { position: absolute; top: calc(var(--ll-ty) - 5px); width: 1px; height: 13px; margin-left: -.5px; background: rgba(255, 255, 255, .3); }
html.ll.m-on .ll-pk-t.is-on { background: transparent; }
html.ll.m-on .ll-pk-thumb { position: absolute; top: calc(var(--ll-ty) - 10px); z-index: 3; width: 36px; height: 24px; margin-left: -18px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .1); transition: left .16s cubic-bezier(.3, .9, .3, 1), box-shadow .16s; display: grid; place-items: center; }
html.ll.m-on .ll-pk-thumb::after { content: '\2039  \203A'; white-space: pre; color: #0B0F19; font: 700 13px/1 var(--sans, 'Inter', sans-serif); margin-top: -2px; }
html.ll.m-on .ll-pk-thumb.is-on { box-shadow: 0 0 0 4px rgba(125, 211, 252, .28); }
html.ll.m-on.ll-dragging .ll-pk-thumb { transition: box-shadow .16s; box-shadow: 0 0 0 7px rgba(125, 211, 252, .28); }
html.ll.m-on .ll-pk-bubble { position: absolute; top: calc(var(--ll-ty) - 32px); z-index: 4; transform: translateX(-50%); height: 18px; padding: 0 6px; border-radius: 4px; background: var(--ml-t1); color: #0B0F19; font: 600 10px/18px var(--sans, 'Inter', sans-serif); white-space: nowrap; }
html.ll.m-on #ns-pk-cp#ns-pk-cp { outline: 0 !important; }
html.ll.m-on.l2-kb #ns-pk-cp:focus-visible .ll-pk-thumb { outline: 2px solid var(--ml-sky); outline-offset: 4px; }
/* ranges and spreads: cells in two columns, not placed on the price scale */
html.ll.m-on .ll-pk-row:is(.is-range, .is-spread) > .ll-pk-cell.ll-pk-cell { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 4px; height: auto !important; margin: 0 0 4px !important; overflow: visible; }
html.ll.m-on .ll-chip.ll-chip { position: relative !important; left: auto !important; top: auto !important; width: auto !important; margin: 0 !important; display: flex; align-items: center; justify-content: center; gap: 5px; height: 32px; padding: 0 8px; border: 0; border-radius: 5px; background: var(--ml-fill); color: var(--ml-t1); font: 600 11px/1 var(--sans, 'Inter', sans-serif); white-space: nowrap; -webkit-tap-highlight-color: transparent; }
html.ll.m-on .ll-chip::after { content: ''; position: absolute; inset: -8px 0; }   /* a thumb's 44px tap area (28px cell + 8px each side; rows sit 16px apart) */
html.ll.m-on .ll-chip > span { display: inline-flex; align-items: center; }
html.ll.m-on .ll-chip small { color: var(--ml-t3); font: 400 10px/1 var(--sans, 'Inter', sans-serif); }
html.ll.m-on .ll-chip i { margin-right: 4px; font-style: normal; font-size: 8px; }
html.ll.m-on .ll-chip .is-up { color: var(--ml-pos); }
html.ll.m-on .ll-chip .is-dn { color: var(--ml-neg); }
html.ll.m-on .ll-chip:active { background: #232C40; }
html.ll.m-on .ll-chip.is-on,
html.ll.m-on .ll-chip.is-on:active { background: var(--ml-sky); color: #0B0F19; }
html.ll.m-on .ll-chip.is-on :is(small, i) { color: #1E3A4D !important; }
@media (prefers-reduced-motion: reduce) { html.ll.m-on .ll-pk-thumb { transition: none !important; } }

/* the order's title row: the desktop's (#v2-question), with Clear on its right */
html.ll.m-on body.v2 #v2-col2 .trade-preview-card { position: relative; }
html.ll.m-on body.v2 #v2-col2#v2-col2 .trade-preview-card > #v2-question { display: flex !important; align-items: center; gap: 6px; min-height: 24px; margin: 0 !important; padding: 0 56px 0 0 !important; color: var(--ml-t1) !important; font: 600 15px/1.2 var(--sans, 'Inter', sans-serif) !important; letter-spacing: -.01em; }
html.ll.m-on body.v2 #v2-question .v2-q-i { flex: none; font-style: normal; font-size: 9px; }
html.ll.m-on body.v2 #v2-question .v2-q-i.is-up { color: var(--ml-pos); }
html.ll.m-on body.v2 #v2-question .v2-q-i.is-dn { color: var(--ml-neg); }
html.ll.m-on body.v2 #v2-question .v2-q-gl { width: 16px; height: 10px; stroke: var(--ml-sky); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
html.ll.m-on body.v2 #v2-question > b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: inherit; }
/* a range's title is long: its tag keeps the figure, the words go (as the desktop does on a short window) */
html.ll.m-on body.v2 #v2-question:has(.v2-q-gl) .v2-q-lev { font-size: 0; }
html.ll.m-on body.v2 #v2-question:has(.v2-q-gl) .v2-q-lev > b { font-size: 10px; }
html.ll.m-on body.v2 #v2-question .v2-q-lev { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; border-radius: 10px; background: #232C40; color: var(--ml-t2); font: 500 10px/1 var(--sans, 'Inter', sans-serif); letter-spacing: 0; }
html.ll.m-on body.v2 #v2-question .v2-q-lev b { color: var(--ml-t1); font-weight: 600; }
html.ll.m-on body.v2 #v2-col2 #ns-clear.ns-clear { position: absolute; top: 8px; right: 12px; display: inline-flex; align-items: center; width: auto; height: 24px; margin: 0; padding: 0 9px; border: 0; border-radius: 5px; background: var(--ml-fill); color: var(--ml-t2); font: 500 11px/1 var(--sans, 'Inter', sans-serif); font-size: 0; }
html.ll.m-on body.v2 #v2-col2 #ns-clear.ns-clear::after { content: 'Clear'; font-size: 11px; }
html.ll.m-on body.v2 #v2-col2 #ns-clear[hidden] { display: none !important; }

/* the payoff, then the figures, in one panel under the amount */
html.ll.m-on body.v2 #v2-col2 .ticket-decision { display: flex !important; flex-direction: column; }
html.ll.m-on body.v2 #v2-col2 #v2-tk-payoff:not([hidden]) { display: block !important; margin: 6px 0 0 !important; padding: 2px 10px 0 !important; background: var(--ml-panel) !important; border: 0 !important; border-radius: 6px 6px 0 0 !important; }
html.ll.m-on body.v2 #v2-col2 #v2-params#v2-params { display: flex !important; flex-wrap: wrap; row-gap: 0; margin: 6px 0 12px !important; padding: 0 !important; background: var(--ml-panel) !important; border: 0 !important; border-radius: 6px !important; }
html.ll.m-on body.v2 #v2-col2 .ticket-decision:has(> #v2-tk-payoff:not([hidden])) > #v2-params#v2-params { margin-top: 0 !important; border-top: 1px dashed var(--ml-line2) !important; border-radius: 0 0 6px 6px !important; }
/* a row fills its width; a figure never shrinks under its own width (min-content), so a narrow phone wraps the row rather than cut a figure */
html.ll.m-on body.v2 #v2-params > .v2-param { display: flex !important; flex-direction: column; justify-content: space-between; flex: 1 1 0; min-width: min-content; height: auto !important; margin: 0 !important; padding: 6px 6px 7px 8px !important; border: 0 !important; border-left: 1px solid var(--ml-line) !important; background: none !important; }
html.ll.m-on body.v2 #v2-params > .v2-param:first-child { border-left: 0 !important; }
/* Max loss · Max profit (a spread or range) · Price · Breakeven · Leverage, then Pays / Max payout on its own line */
html.ll.m-on body.v2 #v2-params > .v2-param:has(#v2-param-loss) { order: 1; border-left: 0 !important; }
html.ll.m-on body.v2 #v2-params > #v2-param-max-row { order: 2; }
html.ll.m-on body.v2 #v2-params > .v2-param:has(#v2-param-cost) { order: 3; }
html.ll.m-on body.v2 #v2-params > .v2-param:has(#v2-param-be) { order: 4; }
html.ll.m-on body.v2 #v2-params > #v2-param-lev-row { order: 5; }
html.ll.m-on body.v2 #v2-params > .v2-param:is(:has(#v2-param-loss), :has(#v2-param-cost), :has(#v2-param-be)) { display: flex !important; }
/* what it pays, on its own line under the figures (as the phone had it): "Pays $0.22 per $1" on a call or put, "Max payout $10.38" on a spread or range; no line before there is a figure */
html.ll.m-on body.v2 #v2-params > .v2-param:not([hidden]):has(#v2-param-pays[data-long]) { order: 6; display: flex !important; flex: 1 0 100%; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; padding: 0 10px !important; height: 26px !important; border-left: 0 !important; border-top: 1px solid var(--ml-line) !important; }
html.ll.m-on body.v2 #v2-params > .v2-param:not([hidden]):has(#v2-param-pays[data-long]) .v2-param-k { margin: 0 !important; }
html.ll.m-on body.v2 #v2-params > .v2-param:has(#v2-param-pays:not([data-long])),
html.ll.m-on body.v2 #v2-params > .v2-param:has(#v2-param-settles),
html.ll.m-on body.v2 #v2-params > .v2-param[hidden] { display: none !important; }
html.ll.m-on body.v2 #v2-params > #v2-param-max-row.is-ll-dash { display: flex !important; }
html.ll.m-on body.v2 #v2-params .v2-param-k { display: block !important; margin: 0 0 5px !important; color: var(--ml-t3) !important; font: 400 10px/1 var(--sans, 'Inter', sans-serif) !important; text-transform: none !important; letter-spacing: 0 !important; white-space: normal; line-height: 1.2 !important; }
html.ll.m-on body.v2 #v2-params .v2-param-v { display: block !important; color: var(--ml-t1) !important; font: 600 11px/1 var(--sans, 'Inter', sans-serif) !important; text-align: left !important; white-space: nowrap; overflow: visible; text-overflow: clip; }
html.ll.m-on body.v2 #v2-params #v2-param-max.is-pos { color: var(--ml-pos) !important; }

/* ==========================================================================
   The phone keeps its own look on the shared pieces (2026-11-24): the price
   row carries the symbol, the live dot, a Chart button and Slider | Chain;
   the chart fills the room with nothing picked; the ruler is labelled under
   the track; the breakeven is a sentence over the payoff; the figures are
   Max loss · Max profit · Price · Leverage. Same nodes as the desktop.
   ========================================================================== */
/* the price row: ETH  $2,475.04  ● live            Chart ›  Slider | Chain */
html.ll.m-on body.v2 #v2-col1 > #ns-spot.ns-spot { gap: 0 !important; }
html.ll.m-on body.v2 #ns-spot .ns-spot-k.ns-spot-k { display: contents; font-size: 0 !important; }
html.ll.m-on body.v2 #ns-spot #ns-spot-sym { order: 0; margin-right: 8px; color: var(--ml-t2); font: 600 12px/1 var(--sans, 'Inter', sans-serif); }
html.ll.m-on body.v2 #ns-spot .ns-spot-v.ns-spot-v { order: 1; margin-right: 8px; }
html.ll.m-on body.v2 #ns-spot .ns-spot-k > i { order: 2; flex: none; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--ml-pos); }
html.ll.m-on body.v2 #ns-spot .ns-spot-k::after { content: 'live'; order: 3; color: var(--ml-t3); font: 400 11px/1 var(--sans, 'Inter', sans-serif); }
html.ll.m-on body.v2 #ns-spot #m-chart-tg { order: 4; flex: none; display: inline-flex; align-items: center; gap: 6px; height: 24px; margin: 0 8px 0 auto; padding: 0 9px; border: 0; border-radius: 5px; background: var(--ml-fill); color: var(--ml-t2); font: 500 11px/1 var(--sans, 'Inter', sans-serif); }
html.ll.m-on body.v2 #ns-spot #m-chart-tg i { width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .2s ease-out; }
html.ll.m-on body.v2 #ns-spot #m-chart-tg[aria-expanded="true"] i { transform: translateY(-2px) rotate(45deg); }
html.ll.m-on body.v2 #ns-spot .view-text-links { order: 5; flex: none; display: inline-flex !important; gap: 0 !important; margin: 0 !important; padding: 2px !important; background: #0E131D !important; border: 0 !important; border-radius: 6px !important; }
html.ll.m-on body.v2 #ns-spot .view-text-links > #chart-view { display: none !important; }
html.ll.m-on body.v2 #ns-spot .view-text-links > .view-link { height: 22px !important; min-height: 0 !important; padding: 0 9px !important; border: 0 !important; border-radius: 4px !important; background: none !important; color: var(--ml-t3) !important; font: 500 11px/22px var(--sans, 'Inter', sans-serif) !important; }
html.ll.m-on body.v2 #ns-spot .view-text-links > .view-link.active { background: #232C40 !important; color: var(--ml-t1) !important; }
html.ll.m-on body.v2 #ns-spot .view-text-links > .view-link::before,
html.ll.m-on body.v2 #ns-spot .view-text-links > .view-link::after { display: none !important; }
@media (max-width: 370px) { html.ll.m-on body.v2 #ns-spot .ns-spot-k::after { content: none; } html.ll.m-on body.v2 #ns-spot #m-chart-tg { padding: 0 7px; } html.ll.m-on body.v2 #ns-spot .view-text-links > .view-link { padding: 0 7px !important; } }

/* the chart: it fills the room with nothing picked; a pick folds it; the Chart button opens it at 230px */
html.ll.m-on:not(.m-has-pick):has(#v2-view-region[data-v2-view="basic"]) { --ml-ch: clamp(150px, calc(100svh - 484px), 420px); }
html.ll.m-on.m-chart-open { --ml-ch: 230px; }
@media (min-height: 860px) { html.ll.m-on.m-chart-open { --ml-ch: 260px; } }
@media (max-height: 700px) { html.ll.m-on.m-chart-open { --ml-ch: 190px; } }
html.ll.m-on.m-has-pick.m-chart-open:not(.ml-typing) body.v2 #v2-col1 > .ns-chart.ns-chart { display: block !important; }
html.ll.m-on.m-chart-shut body.v2 #v2-col1 > .ns-chart.ns-chart { display: none !important; }

/* the day tabs: "Tomorrow 22h 12m", spread over the row */
html.ll.m-on body.v2 #ns-view #ns-dates .ns-date.v2-chain-tab { padding: 0 9px !important; }

/* the ruler: the levels labelled under the track, "now" over the spot, the bubble over the pick */
html.ll.m-on .ll-pk-row.is-cp > .ll-pk-cell { height: 62px; }
html.ll.m-on .ll-pk-sl { position: absolute; top: calc(var(--ll-ty) + 16px); transform: translateX(-50%); color: var(--ml-t4); font: 400 10px/1 var(--sans, 'Inter', sans-serif); font-style: normal; white-space: nowrap; pointer-events: none; }
html.ll.m-on .ll-pk-sl.is-on { color: var(--ml-t1); font-weight: 600; }
html.ll.m-on .ll-pk-mnow { position: absolute; top: 2px; z-index: 2; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 4px; height: 18px; padding: 0 6px; border-radius: 9px; background: #232C40; color: var(--ml-t1); font: 600 10px/1 var(--sans, 'Inter', sans-serif); white-space: nowrap; pointer-events: none; }
html.ll.m-on .ll-pk-mnow i { color: var(--ml-t2); font-style: normal; font-weight: 400; }
html.ll.m-on .ll-pk-bubble { top: 2px; }

/* the title: a range carries the range glyph (as on desktop), with no pill */
html.ll.m-on body.v2 #v2-question:has(.v2-q-gl) .v2-q-lev { display: none !important; }

/* the breakeven, as a sentence over the payoff */
html.ll.m-on body.v2 #v2-col2 .ticket-decision > #m-be { order: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; min-height: 30px; margin: 6px 0 0; padding: 4px 10px; background: var(--ml-panel); border-radius: 6px 6px 0 0; color: var(--ml-t2); font: 400 11px/1.2 var(--sans, 'Inter', sans-serif); }
html.ll.m-on body.v2 #v2-col2 .ticket-decision > #m-be[hidden] { display: none; }
html.ll.m-on body.v2 #v2-col2 .ticket-decision > #m-be b { display: grid; place-items: center; height: 20px; padding: 0 7px; border-radius: 4px; background: var(--ml-bg); color: var(--ml-t1); font: 600 11px/1 var(--sans, 'Inter', sans-serif); }
html.ll.m-on body.v2 #v2-col2 .ticket-decision > #m-be:not([hidden]) ~ #v2-tk-payoff:not([hidden]) { margin-top: 0 !important; border-radius: 0 !important; }
html.ll.m-on body.v2 #v2-col2 .ticket-decision:has(> #m-be:not([hidden])):not(:has(> #v2-tk-payoff:not([hidden]))) > #v2-params#v2-params { margin-top: 0 !important; border-top: 1px dashed var(--ml-line2) !important; border-radius: 0 0 6px 6px !important; }
html.ll.m-on.ml-typing body.v2 #v2-col2 .ticket-decision > #m-be { display: none !important; }
html.ll.m-on body.v2 #v2-col2 .ticket-decision > #v2-tk-payoff { order: 3; }
html.ll.m-on body.v2 #v2-col2 .ticket-decision > #v2-params { order: 4; }
html.ll.m-on body.v2 #v2-col2 .ticket-decision > :is(.trade-actions, #insufficient-funds-warning) { order: 5; }

/* the figures: Max loss · Max profit · Price · Leverage (the breakeven is the sentence above) */
html.ll.m-on body.v2 #v2-params > .v2-param.v2-param:has(#v2-param-be) { display: none !important; }
html.ll.m-on body.v2 #v2-params .v2-param-k-more { display: none; }

/* the question has its own short row; the day tabs open straight into the box */
html.ll.m-on body.v2 #basic-view-container#basic-view-container > .filter-label-section.filter-label-section { height: 30px !important; }
html.ll.m-on body.v2 #ns-view#ns-view { row-gap: 0 !important; }
/* range and spread cells at the phone's old 28px; the tap area stays 44px (see .ll-chip::after) */
html.ll.m-on .ll-chip.ll-chip { height: 28px; }
/* a Max profit not known yet is a plain dash, not a green one */
html.ll.m-on body.v2 #v2-params > #v2-param-max-row.is-ll-dash #v2-param-max { color: var(--ml-t1) !important; }
/* the payoff at the phone's old height */
html.ll.m-on body.v2 #v2-col2 #v2-tk-payoff svg { height: 58px !important; }
html.ll.m-on body.v2 #v2-col2 #v2-tk-payoff:not([hidden]) { padding-top: 18px !important; }
/* a dashed line between the breakeven sentence and the payoff, as before */
html.ll.m-on body.v2 #v2-col2 .ticket-decision > #m-be:not([hidden]) ~ #v2-tk-payoff:not([hidden]) { border-top: 1px dashed var(--ml-line2) !important; }
/* the track is coloured from the first level to the last; no grey ends past them */
html.ll.m-on .ll-pk-cell:has(> .ll-pk-seg) > .ll-pk-track { display: none; }
/* a figure: its label, 5px, its value (39px tall, as before) */
html.ll.m-on body.v2 #v2-params > .v2-param:not(:has(#v2-param-pays)) { justify-content: flex-start !important; gap: 0 !important; }
html.ll.m-on body.v2 #v2-params > .v2-param:not(:has(#v2-param-pays)) .v2-param-k { height: 10px; margin: 0 0 5px !important; overflow: visible; line-height: 10px !important; }

/* ---- the Chain: the desktop's chain (revamp.js renderChainLL), sized for a phone ----
   The day tabs open into one amber box: the Calls & puts | Ranges & spreads switch,
   then the ladder, which scrolls in place ("More ↓" when it runs past the box).
   A pick opens the order under the box, as on the Slider. */
html.ll.m-on body.v2 #v2-view-region#v2-view-region[data-v2-view="advanced"] > #v2-chain { position: relative !important; z-index: 1; inset: auto !important; display: flex !important; flex-direction: column; height: 316px !important; max-height: none !important; box-sizing: border-box; margin: 0 !important; padding: 8px 10px 0 !important; overflow: hidden !important; background: none !important; border: 1px solid var(--ml-amber) !important; border-radius: 8px !important; box-shadow: none !important; }
html.ll.m-on body.v2 #v2-view-region#v2-view-region[data-v2-view="advanced"] > #v2-chain:empty { display: none !important; }
html.ll.m-on body.v2 #v2-col2:has(#ns-dates .ns-date.is-active:first-child) #v2-view-region[data-v2-view="advanced"] > #v2-chain { border-top-left-radius: 0 !important; }
html.ll.m-on body.v2 #v2-col2:has(#ns-dates .ns-date.is-active:last-child) #v2-view-region[data-v2-view="advanced"] > #v2-chain { border-top-right-radius: 0 !important; }
html.ll.m-on.m-has-pick body.v2 #v2-view-region#v2-view-region[data-v2-view="advanced"] > #v2-chain#v2-chain { border-bottom: 1px solid var(--ml-line) !important; border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important; }
/* the switch: two tabs, 32px with a 44px tap area */
html.ll.m-on #v2-chain .ll-ct-tabs { display: flex; flex: none; margin: 0 0 6px; }
html.ll.m-on #v2-chain .ll-seg { display: inline-flex; flex: none; padding: 2px; background: var(--ml-fill); border-radius: 10px; }
html.ll.m-on #v2-chain .ll-seg button { position: relative; height: 32px; padding: 0 12px; background: none; border: 0; border-radius: 8px; color: var(--ml-t3); font: 500 13px/1 var(--sans, 'Inter', sans-serif); white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; }
html.ll.m-on #v2-chain .ll-seg button::after { content: ''; position: absolute; inset: -6px 0; }
html.ll.m-on #v2-chain .ll-seg button.is-on { background: var(--ml-fill2); color: var(--ml-t1); }
html.ll.m-on #v2-chain .ll-seg button i { margin-left: 3px; color: var(--ml-t3); font-style: normal; font-weight: 400; }
/* the ladder: Calls ▲ | Strike | ▼ Puts */
html.ll.m-on #v2-chain .ll-ct { position: relative; flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
html.ll.m-on #v2-chain :is(.ll-ct-head, .ll-ct-row) { display: grid; align-items: center; gap: 8px; padding: 0 6px; }
html.ll.m-on #v2-chain .ll-ct-head { flex: none; height: 24px; margin: 2px 0 4px; border-bottom: 1px solid rgba(255, 255, 255, .12); color: var(--ml-t2); font: 600 11px/1 var(--sans, 'Inter', sans-serif); }
html.ll.m-on #v2-chain .ll-ct-head .l2-capd { display: inline-flex !important; align-items: center; gap: 6px; color: var(--ml-t1) !important; font: 600 11px/1 var(--sans, 'Inter', sans-serif) !important; }
html.ll.m-on #v2-chain .ll-ct.is-cp .ll-ct-head .l2-capd { color: var(--ml-t2) !important; }
html.ll.m-on #v2-chain .ll-ct-head .l2-capd > i { color: var(--ml-t2); font-size: 8px; font-style: normal; line-height: 1; }
html.ll.m-on #v2-chain .ll-ct-head .l2-capd svg { width: 18px; height: 11px; flex: none; stroke: var(--ml-t2); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
html.ll.m-on #v2-chain .ll-ct.is-cp :is(.ll-ct-head, .ll-ct-row) { grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr); }
html.ll.m-on #v2-chain .ll-ct.is-cp .ll-ct-head > :first-child,
html.ll.m-on #v2-chain .ll-ct-c { display: flex; justify-content: flex-end; }
html.ll.m-on #v2-chain .ll-ct.is-cp .ll-ct-head > :nth-child(2) { text-align: center; }
html.ll.m-on #v2-chain .ll-ct-p { display: flex; justify-content: flex-start; }
html.ll.m-on #v2-chain .ll-ct-body { position: relative; flex: 1 1 0; min-height: 0; overflow-y: auto; scrollbar-width: none; }
html.ll.m-on #v2-chain .ll-ct-row { height: 44px; border-radius: 8px; color: var(--ml-t2); font-size: 13px; }
html.ll.m-on #v2-chain .ll-ct-row.is-on:not(.ll-ct-btn) { height: 44px; background: rgba(125, 211, 252, .09); }
html.ll.m-on #v2-chain .ll-ct-k { color: var(--ml-t1); font: 600 14px/1 var(--sans, 'Inter', sans-serif); text-align: center; white-space: nowrap; }
html.ll.m-on #v2-chain .ll-ct-row.is-on .ll-ct-k { font-size: 16px; }
html.ll.m-on #v2-chain .ll-ct-none { color: var(--ml-t3); }
/* a quote: 30px, its tap area the whole 44px row (no overlap with the next row) */
html.ll.m-on #v2-chain .ll-q { position: relative; height: 30px; min-width: 84px; padding: 0 10px; background: var(--ml-fill); border: 0; border-radius: 8px; color: var(--ml-t1); font: 600 13px/1 var(--sans, 'Inter', sans-serif); cursor: pointer; -webkit-tap-highlight-color: transparent; }
html.ll.m-on #v2-chain .ll-q::after { content: ''; position: absolute; inset: -7px 0; }
html.ll.m-on #v2-chain .ll-q.is-on { height: 32px; min-width: 92px; background: var(--ml-sky); color: #07131C; }
html.ll.m-on #v2-chain .ll-q.is-on::after { inset: -6px 0; }
html.ll.m-on #v2-chain .ll-ct-now { display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 6px; color: var(--ml-t3); font: 400 12px/1 var(--sans, 'Inter', sans-serif); white-space: nowrap; }
html.ll.m-on #v2-chain .ll-ct-now::before,
html.ll.m-on #v2-chain .ll-ct-now::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, .12); }
html.ll.m-on #v2-chain .ll-pk-empty { padding: 28px 14px; color: var(--ml-t3); font-size: 12px; text-align: center; }
/* ranges and spreads: one 44px row each */
html.ll.m-on #v2-chain .ll-ct.is-rs { display: block; overflow-y: auto; scrollbar-width: none; }
html.ll.m-on #v2-chain .ll-ct.is-rs :is(.ll-ct-head, .ll-ct-row) { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 72px; }
html.ll.m-on #v2-chain .ll-ct.is-rs :is(.ll-ct-head, .ll-ct-row).is-4 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) 52px; }
html.ll.m-on #v2-chain .ll-ct.is-rs :is(.ll-ct-head, .ll-ct-row) > :last-child { text-align: right; }
html.ll.m-on #v2-chain .ll-ct.is-rs .ll-ct-head ~ .ll-ct-head { margin-top: 8px; }
html.ll.m-on #v2-chain .ll-ct-btn { width: 100%; height: 44px; padding: 0 6px; background: none; border: 0; border-radius: 8px; color: var(--ml-t2); font: 400 13px/1 var(--sans, 'Inter', sans-serif); text-align: left; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; }
html.ll.m-on #v2-chain .ll-ct-btn > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
html.ll.m-on #v2-chain .ll-ct-btn b { color: var(--ml-t1); font-weight: 600; }
html.ll.m-on #v2-chain .ll-ct-btn i { margin-right: 5px; font-size: 10px; font-style: normal; vertical-align: 1px; }
html.ll.m-on #v2-chain .ll-ct-btn .is-up { color: var(--ml-pos); }
html.ll.m-on #v2-chain .ll-ct-btn .is-dn { color: var(--ml-neg); }
html.ll.m-on #v2-chain .ll-ct-btn.is-on { background: var(--ml-sky); color: #07131C; }
html.ll.m-on #v2-chain .ll-ct-btn.is-on :is(b, i) { color: #07131C !important; }
/* a list longer than the box fades at its edge and says "More ↓" */
html.ll.m-on #v2-chain :is(.ll-ct-body, .ll-ct.is-rs).is-more { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 34px), transparent); }
html.ll.m-on #v2-chain :is(.ll-ct-body, .ll-ct.is-rs).is-more.is-less { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22px, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(to bottom, transparent, #000 22px, #000 calc(100% - 34px), transparent); }
html.ll.m-on #v2-chain .l2-more { position: absolute; left: 50%; bottom: 8px; z-index: 4; transform: translateX(-50%); height: 28px; padding: 0 12px; border: 0; border-radius: 14px; background: #232C40; color: var(--ml-t1); font: 600 12px/1 var(--sans, 'Inter', sans-serif); cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, .35); -webkit-tap-highlight-color: transparent; }
html.ll.m-on #v2-chain .l2-more::after { content: ''; position: absolute; inset: -8px 0; }
html.ll.m-on #v2-chain .l2-more[hidden] { display: none; }
/* Ranges & spreads: the list is its own scroller, so its "More" chip sticks to the bottom of the box */
html.ll.m-on #v2-chain .ll-ct.is-rs > .l2-more { position: sticky; left: auto; bottom: 8px; display: block; margin: 8px auto 0; transform: none; }
html.ll.m-on #v2-chain .ll-ct.is-rs > .l2-more[hidden] { display: none; }
