*{box-sizing:border-box}html,body,#app{height:100%;margin:0;overflow:hidden;background:#131722;color:#d1d4dc;font:13px system-ui,sans-serif}#app{display:flex;flex-direction:column}header,.editorHead,#replayBar{display:flex;align-items:center;gap:8px;padding:7px 10px;background:#1c202b;border-bottom:1px solid #343a48;flex-wrap:wrap}header strong{font-size:19px;letter-spacing:-.6px;color:#fff}header strong span{color:#6ea8fe}.symbol{font-size:13px;padding:0 9px;border-left:1px solid #343a48}small{color:#9a9faf;font-weight:400}#mode{background:#173b35;color:#66dfb7;border-radius:4px;padding:3px 7px;font-weight:700}#mode.replay{background:#46391c;color:#ffc66b}#status,#replayInfo,#pineStatus{font-size:12px;color:#a6b0c1}.spacer{flex:1}button,.button,select,input{font:inherit;background:#252b38;color:#e3e6ee;border:1px solid #3a4253;border-radius:4px;padding:6px 10px}button,.button,select{cursor:pointer}button:hover,.button:hover{background:#353e52}button:disabled{opacity:.45;cursor:default}#start,#add{background:#285dd5;border-color:#4277e9;color:#fff}#chart{flex:1;min-height:0;position:relative}#editor{background:#151a25;height:30vh;min-height:180px;max-height:45vh;flex-shrink:0;display:flex;flex-direction:column;border-top:1px solid #343a48}#editor[hidden],*[hidden]{display:none!important}.editorHead{padding:5px 10px}.editorBody{display:flex;flex:1;min-height:0}textarea{resize:none;flex:1;min-width:0;padding:12px;background:#111520;color:#d9e8ff;border:0;outline:none;font:13px/1.6 Consolas,monospace;tab-size:4}#scripts{width:290px;max-width:42%;overflow:auto;border-left:1px solid #343a48;padding:8px}#scripts>div{display:flex;flex-wrap:wrap;align-items:center;gap:5px;padding:7px 2px;border-bottom:1px solid #343a48}#scripts b{flex:1;min-width:90px;overflow-wrap:anywhere}#scripts small{width:100%;overflow-wrap:anywhere}footer{padding:5px 9px;color:#9a9faf;font-size:11px;background:#1c202b}a{color:#8ab4ff}#replayBar label{display:flex;align-items:center;gap:5px}#date{color-scheme:dark}#chart .vela-workspace{height:100%}@media(max-width:650px){header{gap:5px;padding:5px}header strong{font-size:16px}.symbol{padding:0 4px}#status{max-width:100%;overflow-wrap:anywhere}footer{font-size:10px}#replayBar{gap:4px;padding:4px}button,.button,select,input{padding:5px}#scripts{width:150px}#editor{height:36vh}}header{padding:4px 8px;min-height:32px;background:#141414;border-color:#303030;gap:6px}header strong{font-size:15px}header button,header .button{padding:4px 7px;font-size:12px;background:transparent;border-color:transparent}header button:hover,header .button:hover{background:#303030}#history,#editorToggle{display:none}#replayBar{position:relative;z-index:20;flex:0 0 auto;min-height:40px;padding:5px 12px;gap:6px;background:var(--vela-bg,#181818);border-bottom:1px solid #303030;color:#d1d4dc}#replayBar button,#replayBar select{background:transparent;border:1px solid transparent;color:inherit;font:inherit;min-height:28px;padding:4px 9px}#replayBar button:hover,#replayBar select:hover{background:#303030;border-color:#3a3a3a}#replayBar button.selected,#replayBar button:focus-visible,.iloop-active{color:#6a9aff!important;background:#1e3159!important}#replayBar select{color-scheme:dark}#replayBar select option{background:#252525;color:#e1e4e9}.replay-select{position:relative;display:flex;align-items:center}.replay-select #start{font-weight:600}.replay-select #startMenu{padding:3px 4px}.replay-divider{width:1px;height:24px;background:#353535;margin:0 4px}#startOptions{position:absolute;top:100%;left:0;min-width:170px;padding:4px;background:#262626;border:1px solid #444;border-radius:6px;box-shadow:0 8px 20px #0008;z-index:1000}#startOptions button{width:100%;display:block;text-align:left;white-space:nowrap}#replayInfo{font-variant-numeric:tabular-nums;color:#acb3bd}#live{font-size:20px!important}#chart.picking canvas{cursor:crosshair!important}.vela-widget-topbar{flex-shrink:0}.vela-workspace #replayBar{width:100%}dialog{background:#222;color:#e4e4e4;border:1px solid #454545;border-radius:8px;max-width:440px;width:calc(100% - 32px);padding:16px;box-shadow:0 12px 48px #0009}dialog::backdrop{background:#0008}.dialogHead,.dialogActions{display:flex;justify-content:space-between;align-items:center;gap:10px}.dialogHead{margin-bottom:16px;font-size:15px}.dialogActions{justify-content:flex-end;margin-top:14px}dialog>label{display:flex;flex-direction:column;gap:8px}dialog input{color-scheme:dark}dialog .muted{color:#aab1bf;font-size:12px;line-height:1.5}.styleGrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.styleGrid label{display:flex;align-items:center;justify-content:space-between;gap:8px}.styleGrid input[type=color]{width:40px;height:28px;padding:2px}.styleGrid input[type=number]{width:58px}#styleApply,#dateConfirm{background:#2962ff;color:#fff;border:0}footer{background:#141414}@media(max-width:650px){#history,#editorToggle{display:inline-block}#replayBar{padding:4px;gap:3px}#replayInfo{max-width:100%;font-size:11px}header strong{font-size:13px}}#speedControl{display:flex;align-items:center;gap:9px;min-width:260px;flex:1;max-width:1100px;padding:0 8px 3px}#speedValue{font-weight:650;font-variant-numeric:tabular-nums;min-width:52px;text-align:center;color:#e4e7ed}#speedTrack{position:relative;flex:1;min-width:170px;height:36px}#speed{appearance:none;-webkit-appearance:none;width:100%;position:absolute;left:0;top:7px;height:14px;padding:0;margin:0;background:transparent;border:0;z-index:2;cursor:ew-resize}#speed::-webkit-slider-runnable-track{height:4px;background:#525a6a;border-radius:5px}#speed::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;height:14px;width:14px;border:2px solid white;border-radius:50%;background:#2962ff;margin-top:-5px;box-shadow:0 0 0 2px #2962ff55}#speed::-moz-range-track{height:4px;background:#525a6a}#speed::-moz-range-thumb{height:12px;width:12px;border:2px solid white;border-radius:50%;background:#2962ff}#speedMarks{position:absolute;inset:0 7px;pointer-events:none}#replayBar .speedMark{position:absolute;top:8px;transform:translate(-50%);width:9px;height:9px;min-height:0;padding:0;border:1px solid #939aaa;background:#20242b;border-radius:50%;pointer-events:auto;z-index:3}#replayBar .speedMark span{position:absolute;left:50%;transform:translate(-50%);top:13px;white-space:nowrap;font-size:9px;color:#9ca5b5}#replayBar .speedMark:hover{background:#9ca5b5}.secondBadge{white-space:nowrap;color:#79baff;font-size:11px;border:1px solid #39465c;border-radius:4px;padding:4px}#profileName{font-size:12px;color:#9da9bb;max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#profileDialog label{margin:9px 0}#profileDialog input{width:100%}#cacheControls{display:flex;gap:6px;flex-wrap:wrap}#guestDialog{width:min(550px,calc(100% - 24px));max-width:550px}#guestList{max-height:40vh;overflow:auto;border-top:1px solid #444;margin:8px 0}#guestList article{padding:9px 0;border-bottom:1px solid #444}#guestList time{float:right;font-size:11px;color:#999}#guestList p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0}#guestText{width:100%;height:72px;border:1px solid #444;border-radius:5px}#guestStatus{font-size:12px;color:#aaa}.importTools{border-bottom:1px solid #444;padding-bottom:10px;margin-bottom:10px}.importTools>a{display:inline-block;margin-right:8px}#replayBar{gap:5px}#replayInfo{white-space:nowrap}header strong{white-space:nowrap;font-size:14px}@media(max-width:850px){#speedControl{min-width:200px;max-width:none;flex-basis:45%}#replayInfo{white-space:normal}header strong{font-size:12px}}#speedControl{order:100;flex:1 1 100%;max-width:none;width:100%;min-width:0;padding:0 18px 3px 6px}#speedTrack{min-width:0}#replayTf{height:29px;min-width:62px;align-self:center;padding:3px 6px;background:#252b36;border:1px solid #414956;color:#e1e4ed;border-radius:4px;font-size:12px;margin:0 4px}#cacheStorage{width:100%}#folderControls{display:flex;align-items:center;gap:6px;flex-wrap:wrap}#folderLocation{flex-basis:100%;overflow-wrap:anywhere;margin:3px 0}#profileDialog{max-width:500px;max-height:90vh;overflow:auto}#speedValue{min-width:76px}#speedTrack{min-width:1050px;height:40px}#speedControl{overflow-x:auto;overflow-y:hidden;padding-right:32px;scrollbar-width:thin}#replayBar .speedMark span{font-size:10px;white-space:nowrap;top:13px}#replayBar .speedMark:last-child span{transform:translate(-85%)}#replayBar .speedMark:first-child span{transform:translate(-20%)}#replayRate{font-size:11px;color:#a8c7fa;white-space:nowrap}#replayWarning{font-size:11px;color:#e9b96f;max-width:480px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#replayWarning:empty{display:none}#layoutSelect{height:26px;padding:0 10px;line-height:normal;max-width:150px;min-width:95px;background:#242833;border:1px solid #444c59;border-radius:4px;color:#e5e7eb;font-size:12px}#layoutSave{color:#9db7ff}#layoutManage{color:#c8cbd2;height:26px;line-height:16px;padding:4px 7px}#layoutHud{position:absolute;z-index:7;top:80px;right:72px;background:#151a1dcc;text-align:center;pointer-events:none;white-space:pre-line;font-size:15px;line-height:1.25;padding:3px 6px}#layoutHud div:first-child{font-size:17px;border-bottom:1px solid #42484f;margin-bottom:3px;padding-bottom:2px}#layoutMessage{font-size:12px;color:#e9b96f}#refreshControl{order:101;flex:1 1 100%;display:flex;align-items:flex-start;gap:9px;padding:0 32px 0 6px;height:21px;min-width:0;overflow:hidden;font-size:10px;color:#adb5c4}#refreshValue{min-width:76px;text-align:center;white-space:nowrap;font-variant-numeric:tabular-nums;line-height:12px}#refreshTrack{position:relative;flex:1;margin:3px 7px 0;height:4px;background:linear-gradient(to right,#737e91 0%,#737e91 var(--refresh-boundary,25%),#a64449 var(--refresh-boundary,25%),#a64449 100%);border-radius:2px}#refreshNeedle{position:absolute;top:-3px;transform:translate(-50%);width:3px;height:10px;background:#f5f5f5;border-radius:1px}#refreshLabels{position:absolute;inset:0;pointer-events:none}#refreshLabels span{position:absolute;top:5px;transform:translate(-50%);white-space:nowrap;font-size:9px;color:#e38c8f}#refreshLabels span:first-child,#refreshLabels span:nth-child(2){color:#adb5c4}#refreshLabels span:first-child{transform:none}#refreshLabels span:last-child{transform:translate(-100%)}
