/* Position history: measured in CSS points against the 1179 × 2556 source. */
.screen-history:not(.device-android){--history-font:BinanceNova,'PingFang SC',sans-serif}
.screen-history:not(.device-android) :is(.x-history-header,.x-history-tabs,.x-history-filters,.x-history-updated,.x-history-notice,.x-history-card),.screen-history:not(.device-android) :is(.x-history-header,.x-history-tabs,.x-history-filters,.x-history-card) :is(button,span,b,em,small){font-family:var(--history-font);font-variant-numeric:normal;letter-spacing:0}
.screen-history:not(.device-android) .x-history-header>div>button{font-size:18px;transform:translateX(6px)}
.screen-history:not(.device-android) .x-history-header b{margin-top:1px;font-weight:500}
.screen-history:not(.device-android) .x-history-tabs>button{letter-spacing:0;font-size:14px}
.screen-history:not(.device-android) .x-history-filters>button:not(.x-filter-more){gap:2px;font-size:12.5px}
.screen-history:not(.device-android) .x-history-notice{line-height:15.667px;min-height:32px;transform:none}
.screen-history .x-history-refresh-copy{white-space:nowrap}
.screen-history:not(.device-android) .x-history-card{padding:17.334px 0 18.667px;border-bottom-color:transparent;position:relative}
.screen-history:not(.device-android) .x-history-card::after{content:'';position:absolute;left:0;right:0;bottom:0;height:.333px;background:var(--m-line)}
.screen-history:not(.device-android) .x-history-card .x-position-title>b{font-family:var(--history-font);font-size:16px;font-weight:500;line-height:20px;letter-spacing:0;transform:none}
.screen-history:not(.device-android) .x-history-card .x-position-title>em{font-size:10.5px;padding:0 4px;border-radius:1.667px}
.screen-history:not(.device-android) .x-history-card .x-position-title>.liquidated{color:#d89f00}
.screen-history:not(.device-android) .x-history-card .x-position-title>span:not(.x-direction){font-size:12px}
.screen-history:not(.device-android) [data-mobile-action=history-share]{display:flex;justify-content:flex-end;align-items:center;flex:0 0 24px;margin-right:4px}
.screen-history:not(.device-android) .x-history-card [data-mobile-action=history-share] .m-icon{width:17px;height:17px}
.screen-history:not(.device-android) .x-history-grid{margin-top:14.666px;grid-template-columns:calc((100% - 16px)/3 + 2px) 1fr 1fr;row-gap:8.667px}
.screen-history:not(.device-android) .x-history-grid small{display:block;width:max-content;box-sizing:border-box;height:17.333px;line-height:17px;font-size:12px}
.screen-history:not(.device-android) .x-history-grid .x-dotted{border-bottom:0!important;background:none;position:relative}
.screen-history:not(.device-android) .x-history-grid .x-dotted::after{content:'';position:absolute;top:16.167px;left:0;right:0;height:1px;transform:scaleY(.333333);transform-origin:top;background:repeating-linear-gradient(to right,#aaa 0,#aaa .667px,transparent .667px,transparent 1.667px)}
.screen-history:not(.device-android) .x-history-grid b{font-size:14px;font-weight:400;line-height:19px;margin-top:3px;transform:none}
.screen-history:not(.device-android) .x-history-times{font-family:var(--history-font);font-size:12px;line-height:16px;gap:3px;margin-top:10px;transform:none}
.screen-history .up{color:#2ebd85}
@media(max-width:374px){.screen-history:not(.device-android) .x-history-card .x-position-title>b{font-size:14px}.screen-history:not(.device-android) .x-history-card .x-position-title>em{font-size:9px;padding-inline:3px}.screen-history:not(.device-android) .x-history-card .x-position-title>span:not(.x-direction){font-size:11px}.screen-history:not(.device-android) .x-history-times{font-size:10.5px}}
