/* Motion explains market replacement, comparison selection and dated observations */
.asset-tabs button{position:relative;border-bottom-color:transparent!important}
.asset-tabs button::after{content:'';position:absolute;inset:auto 0 -1px;height:1px;background:var(--ink);transform:scaleX(0);transform-origin:left;transition:transform .2s cubic-bezier(.16,1,.3,1)}
.asset-tabs button[aria-pressed=true]::after{transform:scaleX(1)}
.select-market input{transition:background-color .15s,border-color .15s,box-shadow .15s}
.primary:active,.quiet-button:active{transform:translateY(1px)}
.history-cursor-line{stroke:var(--accent);stroke-width:1;stroke-dasharray:4 5;vector-effect:non-scaling-stroke;opacity:.7;pointer-events:none}
.chart-body svg{cursor:crosshair;touch-action:pan-y}
.history-explorer{padding:15px 0 0}
.history-explorer>div{display:flex;justify-content:space-between;align-items:start;gap:18px;font-size:14px;line-height:1.7;color:var(--muted)}
.history-explorer output{font-size:14px;line-height:1.7;text-align:right;color:var(--ink);font-variant-numeric:tabular-nums}
.history-explorer input{appearance:none;display:block;width:100%;height:44px;margin:5px 0 0;padding:0;background:transparent;cursor:ew-resize}
.history-explorer input::-webkit-slider-runnable-track{height:2px;background:linear-gradient(to right,var(--accent) 0 var(--history-progress,100%),var(--line) var(--history-progress,100%) 100%)}
.history-explorer input::-webkit-slider-thumb{appearance:none;width:13px;height:20px;border:3px solid var(--paper);border-radius:0;background:var(--accent);outline:1px solid var(--accent);margin-top:-9px}
.history-explorer input::-moz-range-track{height:2px;background:var(--line)}
.history-explorer input::-moz-range-progress{height:2px;background:var(--accent)}
.history-explorer input::-moz-range-thumb{width:9px;height:16px;border:2px solid var(--paper);border-radius:0;background:var(--accent)}
.history-explorer input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.history-explorer-note{font-size:14px;line-height:1.7;color:var(--faint);margin-top:3px}
.selection-bar{transition:background-color .2s}
.select-market input:checked{border-color:var(--ink)}
@media(max-width:760px){.history-explorer>div{display:block}.history-explorer output{display:block;text-align:left;margin-top:8px}.history-explorer input{height:46px;margin-top:9px}.history-explorer-note{font-size:14px;line-height:1.8}}
@media(prefers-reduced-motion:reduce){.asset-tabs button::after,.select-market input{transition:none}.primary:active,.quiet-button:active{transform:none}}
.history .chart-line{stroke-dasharray:none;animation:history-reveal .7s cubic-bezier(.16,1,.3,1)}
@keyframes history-reveal{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}

