/* Smart Money Live add-ons (public/lablive-extra.js): Trending Stocks, Custom Scans, extra motion */
#tab-lablive-view { --tr-up: var(--ml-up, #15803d); --tr-dn: var(--ml-down, #dc2626); --tr-soft: color-mix(in srgb, var(--foreground) 6%, transparent); --tr-acc: var(--primary, #3F38B7); }
#tab-lablive-view .tr svg, #tab-lablive-view .cs svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- header jump links ---------- */
#tab-lablive-view .ml-jump { display: inline-flex; gap: 4px; padding: 3px; border-radius: 999px; background: var(--tr-soft); }
#tab-lablive-view .ml-jump button { padding: 6px 12px; border-radius: 999px; font: 600 11.5px var(--ml-mono); letter-spacing: .02em; color: var(--muted-foreground); transition: background .2s, color .2s, transform .2s; }
#tab-lablive-view .ml-jump button:hover { background: var(--card); color: var(--foreground); transform: translateY(-1px); }

/* ---------- shared head ---------- */
#tab-lablive-view .tr-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
#tab-lablive-view .tr-head .ml-cap { display: flex; align-items: center; gap: 8px; }
#tab-lablive-view .tr-title { margin: 6px 0 0; font: 400 clamp(1.5rem, 2.2vw, 1.95rem)/1.05 var(--ml-serif); letter-spacing: -.01em; color: var(--foreground); }
#tab-lablive-view .tr-title em { color: var(--tr-acc); font-style: italic; }
#tab-lablive-view .tr-spark, #tab-lablive-view .cs-spark { position: relative; width: 9px; height: 9px; border-radius: 3px; background: var(--tr-acc); animation: trSpin 4s ease-in-out infinite; }
#tab-lablive-view .cs-spark { border-radius: 50%; background: var(--tr-up); animation: trPulse 2.2s ease-out infinite; }
@keyframes trSpin { 50% { transform: rotate(135deg) scale(.75); } }
@keyframes trPulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--tr-up) 55%, transparent); } 80%, 100% { box-shadow: 0 0 0 8px transparent; } }
#tab-lablive-view .tr-head-r { display: flex; align-items: center; gap: 10px; }

/* segmented control with a gliding thumb */
#tab-lablive-view .tr-seg { position: relative; display: inline-flex; padding: 3px; border-radius: 999px; background: var(--tr-soft); isolation: isolate; }
#tab-lablive-view .tr-seg button { position: relative; z-index: 1; padding: 6px 14px; border-radius: 999px; font: 600 12px var(--pl-sans, inherit); color: var(--muted-foreground); transition: color .25s; }
#tab-lablive-view .tr-seg button.on { color: var(--foreground); }
#tab-lablive-view .tr-seg-glide { position: absolute; z-index: 0; left: 3px; top: 3px; bottom: 3px; width: 0; border-radius: 999px; background: var(--card); box-shadow: 0 1px 4px rgba(0, 0, 0, .14); transition: transform .35s var(--ml-ease, ease), width .35s var(--ml-ease, ease); }
#tab-lablive-view .tr-seg.sm button { padding: 5px 11px; font-size: 11.5px; }

/* refresh countdown ring */
#tab-lablive-view .tr-clock { display: inline-flex; align-items: center; gap: 7px; font: 500 11.5px var(--ml-mono); color: var(--muted-foreground); }
#tab-lablive-view .tr-clock svg { width: 22px; height: 22px; transform: rotate(-90deg); }
#tab-lablive-view .tr-clock circle { fill: none; stroke-width: 3.5; }
#tab-lablive-view .tr-clock .t { stroke: var(--tr-soft); }
#tab-lablive-view .tr-clock .v { stroke: var(--tr-acc); stroke-linecap: round; }

/* ---------- trending ---------- */
#tab-lablive-view .tr-breadth { display: grid; grid-template-columns: auto minmax(80px, 1fr) auto auto; align-items: center; gap: 10px; margin-bottom: 12px; font: 600 12px var(--ml-mono); }
#tab-lablive-view .tr-breadth small { font: 500 11px var(--ml-mono); color: var(--muted-foreground); }
#tab-lablive-view .tr-bb { position: relative; height: 7px; border-radius: 99px; background: var(--tr-dn); overflow: hidden; }
#tab-lablive-view .tr-bb i { display: block; height: 100%; border-radius: 99px 0 0 99px; box-shadow: 2px 0 0 var(--card); transition: width .9s var(--ml-ease, ease);
  background: repeating-linear-gradient(115deg, var(--tr-up) 0 10px, color-mix(in srgb, var(--tr-up) 78%, #fff) 10px 20px); background-size: 200% 100%; animation: trFlow 3s linear infinite; }
@keyframes trFlow { to { background-position: -45px 0; } }
#tab-lablive-view .tr-cats { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: thin; }
#tab-lablive-view .tr-cat { position: relative; flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 12px; background: var(--card); box-shadow: 0 0 0 1px var(--ml-ring); font: 600 12px var(--pl-sans, inherit); color: var(--foreground); white-space: nowrap;
  transition: box-shadow .2s, transform .25s var(--ml-ease, ease), background .2s; animation: trPop .45s var(--ml-ease, ease) both; animation-delay: calc(var(--i) * 30ms); }
#tab-lablive-view .tr-cat svg { color: var(--muted-foreground); transition: color .2s, transform .3s; }
#tab-lablive-view .tr-cat b { min-width: 22px; padding: 2px 6px; border-radius: 999px; background: var(--tr-soft); font: 600 10.5px var(--ml-mono); text-align: center; transition: background .2s, color .2s; }
#tab-lablive-view .tr-cat:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--pl-ring-strong, var(--border)), 0 8px 18px -12px rgba(0, 0, 0, .35); }
#tab-lablive-view .tr-cat:hover svg { transform: scale(1.15); }
#tab-lablive-view .tr-cat.on { background: color-mix(in srgb, var(--tr-acc) 9%, var(--card)); box-shadow: 0 0 0 1.5px var(--tr-acc); }
#tab-lablive-view .tr-cat.on svg { color: var(--tr-acc); }
#tab-lablive-view .tr-cat.on b { background: var(--tr-acc); color: #fff; }
#tab-lablive-view .tr-cat.none { opacity: .55; }
@keyframes trPop { from { opacity: 0; transform: translateY(6px) scale(.95); } }
#tab-lablive-view .tr-tip { margin: 0 0 8px; font-size: 12px; color: var(--muted-foreground); }

#tab-lablive-view .tr-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; }
#tab-lablive-view .tr-row { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1.5fr) minmax(92px, auto) minmax(70px, 1fr) minmax(0, 1.2fr); align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; cursor: pointer; overflow: hidden;
  transition: background .2s, transform .25s var(--ml-ease, ease); animation: trRow .5s var(--ml-ease, ease) both; animation-delay: calc(var(--i) * 28ms); }
#tab-lablive-view .tr-row::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 30%, color-mix(in srgb, var(--tr-acc) 10%, transparent) 50%, transparent 70%); translate: -110% 0; transition: translate .6s ease; }
#tab-lablive-view .tr-row:hover, #tab-lablive-view .tr-row:focus-visible { background: var(--tr-soft); transform: translateX(3px); outline: none; }
#tab-lablive-view .tr-row:hover::after { translate: 110% 0; }
#tab-lablive-view .tr-row.fl-up { animation: trRow .5s var(--ml-ease, ease) both, trFlUp 1.4s ease-out; }
#tab-lablive-view .tr-row.fl-dn { animation: trRow .5s var(--ml-ease, ease) both, trFlDn 1.4s ease-out; }
@keyframes trRow { from { opacity: 0; transform: translateY(8px); } }
@keyframes trFlUp { 0% { background: color-mix(in srgb, var(--tr-up) 18%, transparent); } 100% { background: transparent; } }
@keyframes trFlDn { 0% { background: color-mix(in srgb, var(--tr-dn) 18%, transparent); } 100% { background: transparent; } }
#tab-lablive-view .tr-rank { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--tr-soft); font: 600 10.5px var(--ml-mono); font-style: normal; color: var(--muted-foreground); }
#tab-lablive-view .tr-row:nth-child(-n+3) .tr-rank { background: color-mix(in srgb, var(--tr-acc) 14%, transparent); color: var(--tr-acc); }
#tab-lablive-view .tr-co { display: flex; align-items: center; gap: 9px; min-width: 0; }
#tab-lablive-view .tr-co > span:last-child { display: flex; flex-direction: column; min-width: 0; }
#tab-lablive-view .tr-co b { font: 600 13px var(--ml-mono); color: var(--foreground); }
#tab-lablive-view .tr-co small { font-size: 11px; color: var(--muted-foreground); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tab-lablive-view .tr-px { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-variant-numeric: tabular-nums; }
#tab-lablive-view .tr-px b { font: 600 12.5px var(--ml-mono); color: var(--foreground); }
#tab-lablive-view .tr-chg { font: 600 11px var(--ml-mono); font-style: normal; padding: 1px 6px; border-radius: 6px; }
#tab-lablive-view .tr-chg.up { color: var(--tr-up); background: color-mix(in srgb, var(--tr-up) 11%, transparent); }
#tab-lablive-view .tr-chg.dn { color: var(--tr-dn); background: color-mix(in srgb, var(--tr-dn) 11%, transparent); }
#tab-lablive-view .tr-rng { position: relative; height: 6px; border-radius: 3px; background: var(--tr-soft); }
#tab-lablive-view .tr-rng i { position: absolute; top: 0; bottom: 0; }
#tab-lablive-view .tr-rng .fill { border-radius: 3px; transform-origin: left; animation: trGrow .8s var(--ml-ease, ease) .15s both; }
#tab-lablive-view .tr-rng .fill.up { background: var(--tr-up); } #tab-lablive-view .tr-rng .fill.dn { background: var(--tr-dn); }
#tab-lablive-view .tr-rng .o { width: 2px; top: -3px; bottom: -3px; margin-left: -1px; background: var(--muted-foreground); opacity: .6; }
#tab-lablive-view .tr-rng .c { width: 10px; height: 10px; top: -2px; margin-left: -5px; border-radius: 50%; background: var(--card); border: 2.5px solid var(--foreground); animation: trDot .9s var(--ml-ease, ease) both; }
@keyframes trGrow { from { transform: scaleX(0); } }
@keyframes trDot { from { opacity: 0; transform: scale(0); } }
#tab-lablive-view .tr-metric { font-size: 11.5px; color: var(--muted-foreground); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#tab-lablive-view .tr-metric b { color: var(--foreground); font-family: var(--ml-mono); }
#tab-lablive-view .tr-empty { grid-column: 1 / -1; padding: 24px; text-align: center; font-size: 13px; color: var(--muted-foreground); }
#tab-lablive-view .tr-empty button { color: var(--tr-acc); font-weight: 600; text-decoration: underline; }
#tab-lablive-view .tr-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; font: 500 11px var(--ml-mono); color: var(--muted-foreground); }
#tab-lablive-view .tr-more { padding: 7px 14px; border-radius: 999px; box-shadow: 0 0 0 1px var(--ml-ring); font: 600 12px var(--pl-sans, inherit); color: var(--foreground); transition: box-shadow .2s, transform .2s; }
#tab-lablive-view .tr-more:hover { box-shadow: 0 0 0 1.5px var(--tr-acc); transform: translateY(-1px); }

/* ---------- custom scans ---------- */
#tab-lablive-view .cs-sub { margin: 6px 0 0; max-width: 70ch; font-size: 12.5px; line-height: 1.5; color: var(--muted-foreground); }
#tab-lablive-view .cs-templates { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
#tab-lablive-view .cs-tpl { padding: 6px 12px; border-radius: 999px; border: 1px dashed color-mix(in srgb, var(--tr-acc) 45%, var(--border)); font: 600 12px var(--pl-sans, inherit); color: var(--foreground); transition: background .2s, transform .25s var(--ml-ease, ease), border-color .2s; animation: trPop .45s var(--ml-ease, ease) both; animation-delay: calc(var(--i) * 40ms); }
#tab-lablive-view .cs-tpl:hover { background: color-mix(in srgb, var(--tr-acc) 9%, transparent); border-style: solid; transform: translateY(-2px); }
#tab-lablive-view .cs-grid { display: grid; grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.4fr); gap: 18px; align-items: start; }
#tab-lablive-view .cs-builder { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 16px; background: color-mix(in srgb, var(--tr-acc) 4%, var(--card)); box-shadow: 0 0 0 1px var(--ml-ring); }
#tab-lablive-view .cs-row1 { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
#tab-lablive-view .cs-in { height: 32px; padding: 0 9px; border-radius: 9px; border: 1px solid var(--border); background: var(--card); color: var(--foreground); font-size: 12.5px; min-width: 0; }
#tab-lablive-view .cs-in:focus { outline: none; border-color: var(--tr-acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tr-acc) 14%, transparent); }
#tab-lablive-view #csName { flex: 1 1 140px; font-weight: 600; }
#tab-lablive-view .cs-rules { display: flex; flex-direction: column; gap: 7px; }
#tab-lablive-view .cs-rule { display: grid; grid-template-columns: 42px minmax(0, 1fr) 52px 74px 34px 26px; align-items: center; gap: 6px; animation: trPop .35s var(--ml-ease, ease) both; animation-delay: calc(var(--i) * 40ms); }
#tab-lablive-view .cs-rule:has(.cs-flag) { grid-template-columns: 42px minmax(0, 1fr) 100px 26px; }
#tab-lablive-view .cs-n { font: 600 10.5px var(--ml-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted-foreground); }
#tab-lablive-view .cs-v { font-family: var(--ml-mono); text-align: right; }
#tab-lablive-view .cs-u { font-style: normal; font-size: 11px; color: var(--muted-foreground); white-space: nowrap; }
#tab-lablive-view .cs-x { width: 26px; height: 26px; border-radius: 50%; font-size: 16px; line-height: 1; color: var(--muted-foreground); transition: background .2s, color .2s; }
#tab-lablive-view .cs-x:hover { background: color-mix(in srgb, var(--tr-dn) 12%, transparent); color: var(--tr-dn); }
#tab-lablive-view .cs-none { margin: 0; font-size: 12px; color: var(--muted-foreground); }
#tab-lablive-view .cs-add { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 9px; font: 600 12px var(--pl-sans, inherit); color: var(--tr-acc); transition: background .2s; }
#tab-lablive-view .cs-add:hover { background: color-mix(in srgb, var(--tr-acc) 10%, transparent); }
#tab-lablive-view .cs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 8px; border-top: 1px solid var(--border); }
#tab-lablive-view .cs-sort { display: inline-flex; align-items: center; gap: 6px; margin-right: auto; font-size: 12px; color: var(--muted-foreground); }
#tab-lablive-view .cs-dir { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1px var(--border); font-weight: 700; color: var(--foreground); }
#tab-lablive-view .cs-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; background: var(--tr-acc); color: #fff; font: 600 12.5px var(--pl-sans, inherit); transition: transform .2s, box-shadow .2s; }
#tab-lablive-view .cs-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -10px var(--tr-acc); }
#tab-lablive-view .cs-btn.ghost { background: transparent; color: var(--foreground); box-shadow: 0 0 0 1px var(--border); }
#tab-lablive-view .cs-btn.done { box-shadow: 0 0 0 1.5px var(--tr-up); color: var(--tr-up); }
#tab-lablive-view .cs-btn svg { fill: currentColor; stroke: none; }
#tab-lablive-view .cs-btn.ghost svg { fill: none; stroke: currentColor; }
#tab-lablive-view .cs-running .cs-btn:not(.ghost)::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .45) 50%, transparent 80%); animation: csShine .9s linear infinite; }
@keyframes csShine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
#tab-lablive-view .cs-saved { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
#tab-lablive-view .cs-saved:empty { display: none; }
#tab-lablive-view .cs-chip { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: 0 0 0 1px var(--border); background: var(--card); animation: trPop .35s var(--ml-ease, ease) both; }
#tab-lablive-view .cs-chip.on { box-shadow: 0 0 0 1.5px var(--tr-acc); }
#tab-lablive-view .cs-load { padding: 5px 4px 5px 11px; font: 600 12px var(--pl-sans, inherit); color: var(--foreground); }
#tab-lablive-view .cs-del { padding: 5px 9px 5px 4px; color: var(--muted-foreground); font-size: 14px; line-height: 1; }
#tab-lablive-view .cs-del:hover { color: var(--tr-dn); }

#tab-lablive-view .cs-out { min-width: 0; }
#tab-lablive-view .cs-out-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
#tab-lablive-view .cs-out-h > div { display: flex; align-items: baseline; gap: 8px; font-size: 12.5px; color: var(--muted-foreground); }
#tab-lablive-view .cs-count { font: 500 30px/1 var(--pl-sans, inherit); letter-spacing: -.03em; color: var(--tr-acc); font-variant-numeric: tabular-nums; }
#tab-lablive-view .cs-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted-foreground); cursor: pointer; }
#tab-lablive-view .cs-table-wrap { max-height: 520px; overflow: auto; border-radius: 14px; box-shadow: 0 0 0 1px var(--ml-ring); }
#tab-lablive-view .cs-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
#tab-lablive-view .cs-table th { position: sticky; top: 0; z-index: 1; padding: 9px 10px; background: color-mix(in srgb, var(--foreground) 3%, var(--card)); text-align: left; font: 600 10.5px var(--ml-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted-foreground); white-space: nowrap; }
#tab-lablive-view .cs-table td { padding: 7px 10px; border-top: 1px solid color-mix(in srgb, var(--border) 70%, transparent); white-space: nowrap; }
#tab-lablive-view .cs-table .num { text-align: right; font-family: var(--ml-mono); font-variant-numeric: tabular-nums; }
#tab-lablive-view .cs-table tbody tr { cursor: pointer; transition: background .15s; animation: trRow .4s var(--ml-ease, ease) both; animation-delay: calc(var(--i) * 18ms); }
#tab-lablive-view .cs-table tbody tr:hover, #tab-lablive-view .cs-table tbody tr:focus-visible { background: var(--tr-soft); outline: none; }
#tab-lablive-view .cs-i { font: 600 10.5px var(--ml-mono); color: var(--muted-foreground); }
#tab-lablive-view .cs-note { margin: 8px 0 0; font-size: 11px; line-height: 1.45; color: var(--muted-foreground); }

/* ---------- extra motion on the existing screen ---------- */
#tab-lablive-view .ml-pulse, #tab-lablive-view .ml-idx, #tab-lablive-view .ml-tiles-col { perspective: 900px; }
#tab-lablive-view .fx-tilt { rotate: var(--ax, 0) var(--ay, 0) 0 var(--ang, 0deg); transition: rotate .08s linear, transform .22s var(--ml-ease, ease), box-shadow .22s ease; }
#tab-lablive-view :is(.ml-tile, .ml-ix, .ml-pk) { transition: rotate .4s var(--ml-ease, ease), transform .22s var(--ml-ease, ease), box-shadow .22s ease; }
#tab-lablive-view :is(.ml-tile, .ml-ix)::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--foreground) 7%, transparent), transparent 65%); }
#tab-lablive-view :is(.ml-tile, .ml-ix).fx-tilt::after { opacity: 1; }
/* number shimmer on the pulse strip when a value changes */
#tab-lablive-view .ml-pk::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, color-mix(in srgb, var(--primary) 14%, transparent) 50%, transparent 65%); translate: -120% 0; }
#tab-lablive-view .ml-pk.fx-tick::after { animation: fxPk .9s ease; }
@keyframes fxPk { to { translate: 120% 0; } }
/* moving stripes on the bulls share */
#tab-lablive-view .ml-split i { background: repeating-linear-gradient(115deg, var(--ml-up) 0 10px, color-mix(in srgb, var(--ml-up) 78%, #fff) 10px 20px); animation: trFlow 3s linear infinite; }
/* index cards flash on a price move */
#tab-lablive-view .ml-ix.fx-up { animation: fxIxUp 1.3s ease-out; }
#tab-lablive-view .ml-ix.fx-dn { animation: fxIxDn 1.3s ease-out; }
@keyframes fxIxUp { 0% { box-shadow: 0 0 0 2px var(--ml-up), 0 0 22px color-mix(in srgb, var(--ml-up) 45%, transparent); } 100% { box-shadow: 0 0 0 1px var(--ml-ring); } }
@keyframes fxIxDn { 0% { box-shadow: 0 0 0 2px var(--ml-down), 0 0 22px color-mix(in srgb, var(--ml-down) 45%, transparent); } 100% { box-shadow: 0 0 0 1px var(--ml-ring); } }
#tab-lablive-view .ml-ix-ltp { display: inline-block; }
#tab-lablive-view .ml-ix.fx-up .ml-ix-ltp, #tab-lablive-view .ml-ix.fx-dn .ml-ix-ltp { animation: fxRoll .5s var(--ml-ease, ease); }
@keyframes fxRoll { from { opacity: .2; transform: translateY(40%); } }
/* radar sweep over the live chart (only while the market is open) */
#tab-lablive-view .ml-plot { position: relative; }
#tab-lablive-view .fx-sweep-wrap { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
#tab-lablive-view .fx-sweep { position: absolute; top: 0; bottom: 0; left: 0; width: 90px; pointer-events: none; opacity: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--primary) 9%, transparent) 70%, color-mix(in srgb, var(--primary) 30%, transparent) 99%, transparent); }
#tab-lablive-view.ml-is-live .fx-sweep { opacity: 1; animation: fxSweep 7s linear infinite; }
@keyframes fxSweep { from { transform: translateX(-90px); } to { transform: translateX(calc(100vw)); } }
/* title shimmer */
#tab-lablive-view .ml-live-head .ml-title i { background: linear-gradient(90deg, var(--primary), color-mix(in srgb, var(--primary) 45%, #f2a600), var(--primary)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: fxTitle 5s ease-in-out infinite; }
@keyframes fxTitle { 50% { background-position: 100% 0; } }
/* section reveal */
#tab-lablive-view .fx-reveal { opacity: 0; translate: 0 24px; transition: opacity .7s ease, translate .7s var(--ml-ease, ease); }
#tab-lablive-view .fx-reveal.fx-in { opacity: 1; translate: 0 0; }

@media (max-width: 1100px) { #tab-lablive-view .tr-list { grid-template-columns: minmax(0, 1fr); } #tab-lablive-view .cs-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  #tab-lablive-view .tr-row { grid-template-columns: 22px minmax(0, 1fr) auto; }
  #tab-lablive-view .tr-row .tr-rng, #tab-lablive-view .tr-row .tr-metric { display: none; }
  #tab-lablive-view .tr-breadth { grid-template-columns: auto 1fr auto; } #tab-lablive-view .tr-breadth small { display: none; }
  #tab-lablive-view .cs-rule { grid-template-columns: minmax(0, 1fr) 52px 70px 26px; } #tab-lablive-view .cs-n, #tab-lablive-view .cs-u { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #tab-lablive-view :is(.tr, .cs) *, #tab-lablive-view :is(.tr, .cs) *::before, #tab-lablive-view :is(.tr, .cs) *::after { animation: none !important; transition: none !important; }
  #tab-lablive-view :is(.ml-split i, .fx-sweep, .ml-live-head .ml-title i, .ml-ix, .ml-ix-ltp, .ml-pk::after) { animation: none !important; }
  #tab-lablive-view .fx-reveal { opacity: 1; translate: none; }
}
