/* Presentation only: trade values and quote paths are not modified. */
.trader-theme [data-floating-menu=history-panel],.trader-theme .trade-history-details,.trader-theme [data-floating-menu].history-depth-result{color:#e9f3ff!important;background:linear-gradient(145deg,#142c43f5,#071525fa)!important;border:1px solid #3683ad!important;box-shadow:inset 0 1px 0 #9edbff26,inset 0 0 25px #1276b112,0 14px 38px #0007,0 0 0 3px #0b253c!important;border-radius:17px!important;box-sizing:border-box;scrollbar-width:thin;scrollbar-color:#365976 #0c2032;text-shadow:none;backdrop-filter:blur(16px)}
.trader-theme [data-floating-menu=history-panel]{width:320px!important;overflow:hidden}
.trader-theme [data-floating-menu=history-panel]>div:first-child{height:62px;background:linear-gradient(115deg,#1b3b55,#0a1c2c);border-bottom:1px solid #35576d;padding:0 16px}
.trader-theme [data-floating-menu=history-panel]>div:first-child b{font-size:14px;letter-spacing:.2px}
.trader-theme [data-floating-menu=history-panel]>div:nth-child(2){top:62px;padding:8px}
.trader-theme [data-testid=trade-history-row]{grid-template-columns:48px minmax(0,1fr) 76px;gap:8px;border:1px solid #223f54!important;background:linear-gradient(115deg,#16304890,#0c1e3180);border-radius:11px;margin:0 0 6px;padding:12px 9px!important;min-height:68px;box-shadow:inset 0 1px #e3f5ff08;transition:background .15s,border-color .15s;box-sizing:border-box}
.trader-theme [data-testid=trade-history-row][aria-pressed=true]{border-color:#18dbac!important;background:linear-gradient(115deg,#0c4e4990,#102c45);box-shadow:inset 3px 0 #14e8aa,0 0 12px #00d49512}
.trader-theme .history-row-name{display:flex;align-items:center;gap:6px;min-height:25px;font-size:11px}
.trader-theme .history-row-symbol,.trader-theme .history-symbol-badge{display:inline-grid;place-items:center;flex:none;border-radius:50%;border:1px solid #9bd4ed88!important;background:radial-gradient(circle at 30% 18%,#a7e8ff55,transparent 55%),linear-gradient(145deg,#22729a,#0c2849)!important;color:#edfaff!important;box-shadow:inset 0 0 0 2px #bcf4ff22,inset -2px -3px 5px #0005,0 3px 0 #061728,0 5px 8px #0006;text-shadow:0 2px #0006;font-weight:800}
.trader-theme .history-row-symbol{width:24px;height:24px;font-size:10px}.trader-theme .history-symbol-badge{width:42px!important;height:42px!important;font-size:20px!important}
.trader-theme .history-symbol-badge[data-symbol^="BTC"],.trader-theme .history-row-symbol[data-symbol^="BTC"]{background:radial-gradient(circle at 30% 18%,#fff9,transparent 55%),linear-gradient(145deg,#ffbf37,#bc6408)!important;border-color:#ffda83!important;color:#fff7d8!important;box-shadow:inset 0 0 0 2px #ffe6a450,inset -2px -3px 5px #80440099,0 3px 0 #6c3b0d,0 5px 8px #0006}
.trader-theme .trade-history-details{left:374px!important;top:10px;width:min(440px,calc(100vw - 410px))!important;min-width:0!important;max-height:calc(100% - 20px)!important;overflow:auto}
.trader-theme .trade-history-details>div:first-child{height:auto;min-height:74px;gap:12px;padding:14px 16px;background:linear-gradient(115deg,#1b3b55f5,#0b1d30f5);border-bottom:1px solid #31546b}
.trader-theme .trade-history-details>div:first-child b{font-size:18px;line-height:1.3}.trader-theme .trade-history-details>div:first-child span.text-zinc-500{font-size:11px;color:#a0bdd3}
.trader-theme .trade-history-details>div:nth-child(2){padding:14px;display:grid;gap:12px}
.trader-theme .trade-history-details>div:nth-child(2)>div{margin:0!important;border:1px solid #284f6c;border-radius:12px;background:linear-gradient(135deg,#18354c,#0c2035);padding:13px;box-shadow:inset 0 1px #bcecff10,0 5px 10px #0002}
.trader-theme .trade-history-details>div:nth-child(2)>div:first-child{padding:4px;background:linear-gradient(145deg,#112d43,#071724);overflow:hidden}
.trader-theme .trade-history-details svg{max-width:100%;height:auto}
.trader-theme .trade-history-details .text-2xl{font-size:28px;font-weight:800;letter-spacing:-.6px;text-shadow:0 2px 0 #0005}
.trader-theme .trade-history-details .grid-cols-3{gap:8px;font-size:10px}
.trader-theme .trade-history-details .grid-cols-3>div{min-width:0;padding:8px 5px;border:1px solid #36556c66;border-radius:9px;background:#07182655}
.trader-theme .trade-history-details .grid-cols-3 .mono{font-size:12px;font-weight:700;overflow-wrap:anywhere}
.trader-theme .trade-history-details .grid-cols-2{gap:16px 12px;font-size:11px}.trader-theme .trade-history-details .grid-cols-2 .mono{line-height:1.6;overflow-wrap:anywhere}
.trader-theme .history-depth-result .finish-result-header{padding:14px;justify-content:flex-start;gap:12px;background:linear-gradient(115deg,#1a3a54,#0b1f30)}
.trader-theme .history-depth-result .finish-result-header>div{min-width:0;flex:1}.trader-theme .history-depth-result .finish-result-header strong{font-size:16px}.trader-theme .history-depth-result .finish-result-header small{font-size:11px;color:#a4bdd1}
.trader-theme .history-depth-result .finish-result-pnl{margin:12px;padding:14px;border:1px solid color-mix(in srgb,var(--finish-accent) 35%,#263f52);border-radius:12px;background:linear-gradient(130deg,color-mix(in srgb,var(--finish-accent) 12%,#102439),#0a1a2a);box-shadow:inset 0 1px #ffffff10}
.trader-theme .history-depth-result .finish-result-pnl strong{font-size:28px;text-shadow:0 2px 0 #0005}.trader-theme .history-depth-result .finish-result-pnl span{color:#a4bdd1}
.trader-theme .history-depth-result .finish-result-plot{margin:0 12px;border:1px solid #284b64;border-radius:11px;background:repeating-linear-gradient(0deg,transparent 0 23px,#7baec00c 24px),repeating-linear-gradient(90deg,transparent 0 39px,#7baec00c 40px),#081a2b;color:#adc5d9;padding:5px;box-shadow:inset 0 2px 8px #0004}
.trader-theme .history-depth-result .finish-result-plot svg{height:104px}.trader-theme .history-depth-result .finish-result-caption{padding:8px 14px;color:#8eabc2;font-size:10px}
.trader-theme .history-depth-result .finish-result-details{border-top:0;margin:0 12px 12px;padding:0;display:grid;gap:6px}
.trader-theme .history-depth-result .finish-result-row{padding:9px 10px;border:1px solid #29475f;border-radius:8px;background:linear-gradient(125deg,#193249,#0c1e31);box-shadow:inset 0 1px #ffffff08;font-size:11px;gap:10px}.trader-theme .history-depth-result .finish-result-row span{color:#a4bdd1}
.trader-theme [data-floating-menu=history-panel]>div:first-child button,.trader-theme .trade-history-details>div:first-child button,.trader-theme .history-depth-result button.finish-result-close{width:30px!important;height:30px!important;flex:none;border:1px solid #47728e!important;border-radius:8px!important;background:linear-gradient(140deg,#24516c,#112b43)!important;box-shadow:inset 0 1px #b5e5ff33,0 3px 5px #0003!important;line-height:1;color:#c9eaff!important}
.trader-theme [data-floating-menu=history-panel] button:focus-visible,.trader-theme .trade-history-details button:focus-visible,.trader-theme .history-depth-result button:focus-visible{outline:2px solid #44e9c6!important;outline-offset:2px}
@media(hover:hover){.trader-theme [data-testid=trade-history-row]:hover{border-color:#4e8aab!important;background:#1e415b}}
@media(max-width:800px){.trader-theme [data-floating-menu=history-panel]{width:min(320px,calc(100vw - 56px))!important}.trader-theme .trade-history-details{position:fixed!important;left:10px!important;top:64px!important;width:calc(100vw - 20px)!important;max-height:calc(100dvh - 90px)!important;z-index:70!important}.trader-theme .trade-history-details>div:nth-child(2){padding:10px}.trader-theme .trade-history-details .text-2xl{font-size:25px}}
@media(prefers-reduced-motion:reduce){.trader-theme [data-testid=trade-history-row]{transition:none}}
