.historytoolbar{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:16px}.historyfilters{display:flex;gap:8px;flex-wrap:wrap}.historyfilters button{border:1px solid var(--line);background:#070c11;color:#b8c2cc;border-radius:8px;padding:8px 12px;cursor:pointer}.historyfilters button.active{background:var(--accent);color:#fff}.historysummary{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:16px 0}.historysummary article{border:1px solid var(--line);background:#03070a;border-radius:12px;padding:14px}.historysummary small{display:block;color:var(--muted);margin-bottom:5px}.historysummary b{font-size:18px}.mainlive{margin:0 0 18px;border:1px solid #1d2b35;border-radius:14px;background:#02070b;overflow:hidden}.mainlivehead{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 15px;border-bottom:1px solid #14212a;background:#03090e}.mainlivehead>div{display:flex;align-items:center;gap:9px}.livepulse{width:8px;height:8px;border-radius:50%;background:var(--good);box-shadow:0 0 0 4px rgba(57,214,140,.08);animation:livepulse 1.6s infinite}.mainlivegrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:10px}.maintrade{border:1px solid #14212a;border-radius:11px;background:#03070a;padding:13px}.maintradetop{display:flex;align-items:center;justify-content:space-between;gap:10px}.maintradetop>div{display:flex;align-items:center;gap:10px}.maintradetop b{font-size:18px}.livebadge{font-size:10px;font-weight:800;letter-spacing:.08em;border:1px solid rgba(57,214,140,.35);color:var(--good);border-radius:999px;padding:4px 7px}.maintradelevels{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:12px}.maintradelevels>div{border:1px solid #12202a;border-radius:8px;padding:8px}.maintradelevels small{display:block;color:var(--muted);font-size:10px;margin-bottom:3px}.maintradelevels b{font-size:12px}.maintradefoot{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px;color:var(--muted);font-size:11px}.maintradefoot b{color:#dbe4ec}.historytable{padding:0;overflow:hidden}.historytable table{min-width:1100px}.historytable th{font-size:11px;color:#98a5b1;text-transform:uppercase;letter-spacing:.05em;background:#03070a;position:sticky;top:0;z-index:1}.historyrow{cursor:pointer}.historyrow:hover{background:#071019}.historyrow td{white-space:nowrap}.historyrow .asset{font-weight:700}.side-long{color:var(--good);font-weight:700}.side-short{color:var(--bad);font-weight:700}.genbadge{display:inline-block;border:1px solid var(--line);border-radius:999px;padding:3px 7px;font-size:10px;color:#aeb8c3}.genbadge.current{border-color:var(--accent2);color:#fff}.historydetail td{padding:0;border-bottom:1px solid var(--line)}.historydetailbox{display:none;padding:18px;background:#020609}.historydetail.open .historydetailbox{display:block}.historydetailgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.historydetailgrid>div{border:1px solid #14212a;border-radius:9px;padding:10px}.historydetailgrid small{display:block;color:var(--muted);margin-bottom:4px}.historydetailgrid b{font-size:13px;word-break:break-word}.historytags{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.historytag{border:1px solid #283640;border-radius:999px;padding:5px 8px;color:#c6d0d9;font-size:10px}.historyempty{padding:32px;text-align:center;color:var(--muted)}@keyframes livepulse{0%,100%{opacity:1}50%{opacity:.35}}@media(max-width:1050px){.historysummary{grid-template-columns:repeat(3,1fr)}.historydetailgrid{grid-template-columns:repeat(2,1fr)}.mainlivegrid{grid-template-columns:1fr}}@media(max-width:760px){.historysummary{grid-template-columns:repeat(2,1fr)}.historydetailgrid{grid-template-columns:1fr}.historytoolbar{align-items:flex-start}.historyfilters{width:100%;overflow:auto;flex-wrap:nowrap}.historyfilters button{flex:0 0 auto}.historytable{margin-left:-2px;margin-right:-2px}.historysummary article{padding:11px}.historysummary b{font-size:16px}.maintradelevels{grid-template-columns:repeat(2,1fr)}.mainlivehead{align-items:flex-start;flex-direction:column}}
