/* Native iPhone 14 Pro reference: 393 × 852 pt, 3 physical pixels per pt. */
#trade-dialog.x-sheet button{color:var(--m-text)}
#trade-dialog.d-feature-sheet .dialog-heading,#trade-dialog.d-close-menu .dialog-heading,#trade-dialog.d-close-confirm-sheet .dialog-heading{height:25px;padding-top:0}
#trade-dialog.d-feature-sheet .dialog-heading h2,#trade-dialog.d-close-menu .dialog-heading h2,#trade-dialog.d-close-confirm-sheet .dialog-heading h2{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
#trade-dialog.d-feature-sheet form{padding-bottom:40px}
#trade-dialog.d-feature-sheet #trade-dialog-body{overflow:visible}
.d-feature-tabs{display:flex;gap:16px;height:41px;align-items:flex-start;margin:0 -15px;padding:7px 15px 0;border-bottom:1px solid var(--m-line)}
.d-feature-tabs>button{font-size:16px;font-weight:550;color:var(--m-muted)!important;position:relative;background:none;border:0;padding:0;height:33px}
.d-feature-tabs>button.active{color:var(--m-text)!important}.d-feature-tabs>.active:after{content:'';position:absolute;bottom:0;left:calc(50% - 7.5px);width:15px;height:3px;background:var(--x-yellow)}
.d-feature-tabs i{position:absolute;background:#ffda32;width:6px;height:6px;border-radius:50%;top:-1px;right:-6px}
.d-feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));row-gap:15px;margin:16px -8px 0}
.d-feature-grid>button{background:none;border:0;padding:0;display:flex;align-items:center;flex-direction:column;gap:4px;font-size:12px;white-space:nowrap;line-height:16px}
.d-feature-grid>button>i{display:grid;place-items:center;width:48px;height:48px;background:var(--m-fill);border-radius:16px;margin-bottom:0}
.d-feature-grid .m-icon{width:23px;height:23px;stroke-width:1.8}.d-feature-grid>button>.gold{background:#fffae7;color:#f0b90b}.d-feature-grid .gold .m-icon{fill:currentColor;stroke-width:1}
#trade-dialog.d-margin-sheet .dialog-heading h2{margin-bottom:29px}
.d-margin-cards{display:grid;gap:16px}
.d-margin-cards>button{display:block;width:100%;text-align:left;background:none;border:1px solid var(--m-line);border-radius:12px;height:101px;padding:13px 14px}
.d-margin-cards>button.selected{border:1.3px solid var(--m-text);padding:12.7px 13.7px}
.d-margin-cards b{font-size:17px;font-weight:500;display:block;line-height:23px}
.d-margin-cards span{font-size:12px;color:var(--m-muted);line-height:15.5px;display:block;margin-top:2px}
#trade-dialog.d-margin-sheet .d-margin-note{margin:8px 0 0;line-height:16px}
#trade-dialog.d-margin-sheet .x-default-leverage{margin-top:31px}
#trade-dialog.d-order-type-sheet .dialog-heading h2{margin-bottom:15px;display:flex;align-items:center;gap:5px}
#trade-dialog.d-order-type-sheet .dialog-heading h2>.m-icon{color:#999;width:16px;height:16px}
#trade-dialog.d-order-type-sheet form{padding-bottom:40px}
.d-order-types>button{width:100%;display:flex;align-items:center;gap:13px;text-align:left;border:0;background:none;padding:0;height:58px}
.d-order-types>button>.m-icon{width:23px;height:23px;stroke-width:1.5}.d-order-types span{flex:1;min-width:0}
.d-order-types b{display:block;font-size:17px;font-weight:550;line-height:23px}.d-order-types small{display:block;font-size:12px;color:var(--m-muted);line-height:17px;margin-top:2px;white-space:nowrap}
.d-order-types>button>.d-selected{stroke-width:3;width:20px;height:20px;margin-right:3px}
.d-close-choices{padding-top:7px}.d-close-choices>button{height:62px;display:block;text-align:left;border:0;background:none;width:100%;padding:0}
.d-close-choices b{font-size:17px;font-weight:500;display:block;line-height:23px}.d-close-choices small{font-size:12px;color:var(--m-muted);display:block;line-height:18px;margin-top:1px}
#trade-dialog.d-close-confirm-sheet form{padding-bottom:50px}#trade-dialog.d-close-confirm-sheet #trade-dialog-body{overflow:visible}
.d-close-confirm{text-align:center;padding-top:15px}.d-warning{width:80px;height:80px;display:block;margin:auto}.d-close-confirm h3{font-size:18px;font-weight:600;line-height:24px;margin:20px 0 17px}
#trade-dialog .d-close-confirm p{font-size:14px;color:var(--m-text);line-height:22px;text-align:left;margin:0 0 15px}
.d-close-confirm>div{display:flex;gap:10px}.d-close-confirm>div>button{background:var(--m-fill);border:0;border-radius:6px;font-size:17px;font-weight:550;flex:1;height:40px}.d-close-confirm>div>button+button{background:var(--x-yellow)}
#trade-dialog.d-target-sheet .dialog-heading h2{margin-bottom:16px}
.d-target-pnl{height:45px;display:flex;align-items:flex-start;padding-top:6px;justify-content:space-between;border-bottom:1px solid var(--m-line);font-size:14px}.d-target-pnl>span{color:var(--m-muted)}.d-target-pnl>b{font-size:14px;font-weight:500}
.d-target-heading{height:46px;display:flex;justify-content:space-between;align-items:center;font-size:14px}.d-target-heading>b{font-weight:500}
#trade-dialog .d-target-heading select{height:28px;width:48px;background-color:transparent;padding:0 12px 0 0;background-position:right 3px center;font-size:12px}
.d-target-inputs{display:flex;gap:8px}#trade-dialog .d-target-inputs>input{width:calc(50% - 4px);text-align:center;font-size:14px;font-weight:500}
#trade-dialog .d-target-note{margin-top:16px;line-height:15.5px;font-size:12px}.d-clear-target{border:0;background:var(--m-fill);border-radius:6px;padding:9px}
#trade-dialog.d-pnl-sheet .dialog-heading h2{margin-bottom:22px}
.d-pnl-basis{display:flex;gap:8px}.d-pnl-basis>button{width:50%;background:none;border:1px solid var(--m-line);border-radius:8px;height:35px;font-size:14px}.d-pnl-basis>button.selected{border:1.3px solid var(--m-text)}
.d-pnl-total{display:flex;justify-content:space-between;align-items:center;margin-top:13px;font-size:14px;line-height:22px}.d-pnl-total b,.d-pnl-total strong{font-weight:550}.d-pnl-total strong{font-size:16px}
#trade-dialog .d-pnl-note{margin:12px 0 25px;font-size:12px;line-height:16px}
.d-pnl-sheet .x-realized-list{border-top:1px solid var(--m-line);padding-top:23px}
.d-pnl-sheet .x-realized-toggle{margin-top:25px;padding-top:26px}
#trade-dialog.d-pnl-sheet .x-realized-note{margin-top:26px}
#trade-dialog.d-adl-sheet .dialog-heading h2{margin-bottom:22px}
#trade-dialog .d-adl-copy{font-size:14px;color:var(--m-text);line-height:19px;margin:0}
.d-order-groups{height:44px;display:flex;align-items:center;gap:8px;padding:0 15px;color:var(--m-muted)}
.d-order-groups>button{padding:5px 8px;font-size:13px;font-weight:500;height:24px;line-height:14px;border-radius:6px}.d-order-groups>button.active{background:var(--m-fill);color:var(--m-text)}.d-order-groups>button:last-child{margin-left:auto;padding:0;color:#999}
.d-order-groups .m-icon{width:16px;height:16px}.d-order-tools{height:44px;border-bottom:0;margin:0 15px;padding:0;border-bottom:1px solid var(--m-line)}
.mobile-app .d-pill{background:#eee;border:0;border-radius:6px;height:24px;padding:0 8px;font-size:13px;white-space:nowrap;color:var(--m-text)}
.d-order-card{margin:0 15px;padding:16px 0 20px;border-bottom:1px solid var(--m-line)}
.d-order-card header{display:flex;align-items:center;gap:4px;height:24px;white-space:nowrap}.d-order-card header>b{font-size:16px;font-weight:550;line-height:20px}.d-order-card header>em{font-size:10px;padding:1px 4px;background:var(--m-fill);border-radius:2px}
.d-order-card header>button .m-icon{height:16px;width:16px}.d-order-card header>div{display:flex;gap:8px;align-items:center;margin-left:auto}
.d-fill-progress{width:28px;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;color:var(--m-muted)}.d-fill-progress i{height:3px;width:28px;border-radius:3px;background:#eee}
.d-order-subtitle{display:flex;gap:5px;white-space:nowrap;font-size:12px;line-height:18px;margin-top:0}.d-order-subtitle time{color:var(--m-muted);font-family:Arial,sans-serif}
.d-order-card dl{margin:13px 0 0;font-size:14px;line-height:25px}.d-order-card dl>div{display:flex;justify-content:space-between;align-items:center;gap:8px}.d-order-card dt{color:var(--m-muted)}.d-order-card dd{margin:0;display:flex;align-items:center;gap:5px;white-space:nowrap}.d-order-card .m-icon{width:16px;height:16px}
.x-position-tabs:has(.d-order-sort){gap:15px}.mobile-app .x-position-tabs .d-order-sort{margin-left:auto;min-width:17px}.mobile-app .x-position-tabs:has(.d-order-sort) .x-history-link{margin-left:0}
.d-strategy-edit{width:100%;font-size:12px;background:var(--m-fill)!important;padding:7px!important;border-radius:5px;margin-top:8px}.d-strategy-form label{display:block}.d-calc-result{margin-top:20px;font-size:18px}
#trade-dialog .d-amend-info b{font-size:17px}
#trade-dialog .x-leverage-range .x-range:before{background:linear-gradient(to right,var(--m-text) 0 var(--leverage-fill,100%),var(--m-line) var(--leverage-fill,100%) 100%)}
#trade-dialog .x-leverage-range .x-range-marks i:not(.filled){background:var(--m-bg);border:1px solid var(--m-line)}
@media(max-width:374px){.d-feature-grid>button{font-size:11px}.d-order-types small{font-size:10px}.d-order-card header>b{font-size:14px}.d-order-subtitle{font-size:11px}.d-order-card dl{font-size:12px}}
.m-dark .d-pill{background:var(--m-fill)}
.mobile-app .x-order-type{width:100%;padding:0 10px;background:var(--m-fill);border:0;border-radius:6px;height:25px;display:flex;align-items:center;gap:7px}.x-order-type>span{flex:1;font-size:14px;font-weight:550;text-align:center}.x-order-type>.m-icon:first-child{width:11px;height:11px;color:#9c9c9c}.x-order-type>.m-icon:last-child{width:12px;height:12px;color:#999}
#trade-dialog.d-picker-sheet form{padding:0}#trade-dialog.d-picker-sheet .dialog-heading{height:34px;padding:0}.d-picker-sheet .dialog-heading h2{position:absolute;clip-path:inset(50%);height:1px!important;width:1px;overflow:hidden}
#trade-dialog.d-picker-sheet #trade-dialog-body{overflow:hidden}.d-picker{height:100%;display:flex;flex-direction:column;min-height:0}.d-picker-search-row{display:flex;gap:16px;padding:0 15px;align-items:center;flex-shrink:0}.d-picker-search-row>button{border:0;background:none;padding:0;width:19px;height:24px}.d-picker-search-row>button>.m-icon{width:19px;height:19px}
#trade-dialog .d-picker-search{margin:0;background:var(--m-fill);height:32px;border-radius:8px;display:flex;align-items:center;gap:8px;padding:0 12px;flex:1;min-width:0}.d-picker-search>.m-icon{width:18px;height:18px;color:#999}#trade-dialog .d-picker-search input{height:32px;padding:0;background:none;border:0;font-size:14px;min-width:0}.d-picker-search input::placeholder{color:#aaa;font-weight:550}
.d-picker-tabs{height:44px;border-bottom:1px solid var(--m-line);display:flex;align-items:stretch;gap:16px;padding:6px 15px 0;flex-shrink:0;white-space:nowrap;overflow-x:auto;scrollbar-width:none}.d-picker-tabs>button{position:relative;border:0;background:none;padding:0;color:var(--m-muted)!important;font-size:16px;font-weight:550;flex-shrink:0}.d-picker-tabs>button.active{color:var(--m-text)!important}.d-picker-tabs>.active:after{content:'';position:absolute;bottom:0;height:3px;background:var(--x-yellow);left:0;right:0}
.d-picker-kind{height:39px;display:flex;align-items:center;gap:16px;padding:0 15px}.d-picker-kind>button{background:none;border:0;padding:0;color:var(--m-muted)!important;font-size:14px;font-weight:500}.d-picker-kind>button.active{color:var(--m-text)!important}.d-picker-kind>#picker-settlement{margin-left:auto;font-size:12px}.d-picker-kind .m-icon{width:12px;height:12px}
.d-picker-categories,.d-picker-quotes{height:32px;display:flex;gap:8px;align-items:center;padding:0 15px;white-space:nowrap}.d-picker-categories>button,.d-picker-quotes>button{background:none;border:0;border-radius:6px;padding:5px 8px;color:var(--m-muted)!important;font-size:12px;line-height:14px}.d-picker-categories>.active,.d-picker-quotes>.active{color:var(--m-text)!important;background:var(--m-fill)}.d-picker-categories{justify-content:space-between;gap:0}.d-picker-categories>button{padding:5px 8px}.d-picker-categories>#picker-list{padding:0;margin-left:5px}.d-picker-categories .m-icon{width:20px;height:20px}
.d-picker-spot-categories{height:40px;display:flex;align-items:center;gap:15px;padding:0 15px;white-space:nowrap;overflow:auto;scrollbar-width:none}.d-picker-spot-categories>button{position:relative;border:0;background:none;color:var(--m-muted)!important;font-size:14px;padding:0;flex-shrink:0}.d-picker-spot-categories>.active{color:var(--m-text)!important}.d-picker-spot-categories i{position:absolute;right:0;top:-8px;font:6px Arial;background:#ffda32;border-radius:4px;color:black;padding:0 3px}
.d-picker-quotes{justify-content:space-between;gap:0;padding-right:0;overflow:hidden}.d-picker-quotes>button{flex-shrink:0;padding:5px 8px}
.d-picker-sort{height:42px;padding:12px 15px 0;display:flex;align-items:center;gap:5px;flex-shrink:0;white-space:nowrap}.d-picker-sort>button{padding:0;border:0;background:none;color:var(--m-muted)!important;font-size:12px;display:flex;align-items:center;gap:2px}.d-picker-sort>button:nth-child(2){margin-left:auto}.d-picker-sort>.m-icon,.d-picker-sort>button>.m-icon{width:16px;height:16px}
.d-sort-arrows{display:inline-flex;flex-direction:column;gap:1px;align-items:center;margin-left:1px}.d-sort-arrows b{width:0;height:0;border-left:2.5px solid transparent;border-right:2.5px solid transparent;border-bottom:3.5px solid #bbb}.d-sort-arrows b+b{border-bottom:0;border-top:3.5px solid #bbb}.d-sort-arrows.asc>b{border-bottom-color:#08090a}.d-sort-arrows.desc>b+b{border-top-color:#08090a}
.d-picker-results{flex:1;overflow-y:auto;scrollbar-width:none;min-height:0}.d-pair-row{display:flex;align-items:center;height:60px;padding:0 15px;gap:10px;position:relative}.d-pair-row>button{background:none;border:0;padding:0;display:flex;align-items:center;color:var(--m-text)}.d-pair-row>button:first-child{width:18px;flex-shrink:0;color:#999!important}.d-pair-row>button:first-child .m-icon{width:20px;height:20px;stroke-width:1.7}.d-pair-row>button.favorite .m-icon{fill:#f0b90b;stroke:#f0b90b}.d-pair-row>button+button{flex:1;gap:8px;min-width:0;text-align:left;height:100%}.d-pair-row img,.d-pair-row .x-coin-icon{height:24px;width:24px;border-radius:50%;flex-shrink:0}
.d-pair-name{flex:1;min-width:0}.d-pair-name>span{display:flex;align-items:center;gap:4px;white-space:nowrap}.d-pair-name b{font-size:16px;font-weight:550;line-height:22px}.d-pair-name i{font-size:10px;border:1px solid #eee;background:#fafafa;border-radius:2px;font-style:normal;line-height:15px;padding:0 3px}.d-pair-name em{font-size:12px;color:var(--m-muted);font-style:normal}.d-pair-name>small{font-size:12px;line-height:17px;color:var(--m-muted);display:block;margin-top:2px;white-space:nowrap}.d-pair-name>span>small{font-size:10px;line-height:15px;border:1px solid #fff0b5;border-radius:2px;color:#d4a200;background:#fffbeb;padding:0 4px;position:relative;z-index:1}
.d-pair-value{text-align:right;flex-shrink:0;align-self:center;z-index:2;padding-left:4px;background:var(--m-bg)}.d-pair-value>b{font-family:Arial,sans-serif;display:block;font-size:16px;font-weight:600;line-height:22px}.d-pair-value>small{display:block;font-family:Arial,sans-serif;font-size:12px;line-height:17px;margin-top:2px}.d-picker-status{font-size:10px;color:var(--m-muted);padding:0 15px}.d-picker-status:empty{display:none}
.screen-chart .m-main{padding-bottom:0}.d-chart-header{height:47px;display:flex;align-items:center;padding:0 16px;gap:18px}.d-chart-header>button>.m-icon{width:19px;height:19px}.d-chart-header>div{flex:1;min-width:0}.d-chart-header>div>button{display:flex;align-items:center;gap:5px;white-space:nowrap}.d-chart-header b{font-size:17px;font-weight:600}.d-chart-header em{font-size:11px;font-style:normal;padding:1px 4px;background:var(--m-fill);border-radius:2px}.d-chart-header small{font-size:12px;line-height:16px;color:var(--m-muted);display:block;margin-top:3px}.d-chart-header>.favorite .m-icon{fill:#f0b90b;stroke:#f0b90b}
.d-chart-tabs{height:35px;display:flex;gap:16px;padding:0 15px;border-bottom:1px solid var(--m-line)}.d-chart-tabs>button{font-size:14px;font-weight:500;color:var(--m-muted);position:relative}.d-chart-tabs>.active{color:var(--m-text)}.d-chart-tabs>.active:after{content:'';position:absolute;bottom:0;width:15px;height:3px;left:calc(50% - 7.5px);background:var(--x-yellow)}
.d-chart-summary{height:102px;padding:11px 15px;display:flex;gap:20px}.d-chart-summary>div{flex:1}.d-chart-summary>div>span{font-size:12px;color:var(--m-muted);display:flex;align-items:center}.d-chart-summary .m-icon{height:12px;width:12px}.d-chart-summary strong{font-family:Arial,sans-serif;display:block;font-size:28px;line-height:32px;font-weight:650;letter-spacing:.1px}.d-chart-summary b{font-size:12px;font-weight:600;display:block;margin-top:3px;white-space:nowrap}.d-chart-summary em{font-style:normal}.d-chart-summary small{font-size:12px;display:block;line-height:20px;white-space:nowrap}.d-chart-summary dl{display:grid;grid-template-columns:auto auto;column-gap:12px;row-gap:10px;margin:17px 0 0;font-size:11px;white-space:nowrap}.d-chart-summary dt{color:var(--m-muted);line-height:15px}.d-chart-summary dd{margin:0;font-size:12px;line-height:17px}
.d-chart-intervals{display:flex;gap:16px;align-items:center;height:34px;padding:0 15px;border-bottom:1px solid var(--m-line);white-space:nowrap}.d-chart-intervals>button{color:var(--m-muted);font-size:12px;display:flex;align-items:center;gap:3px;flex-shrink:0}.d-chart-intervals>.active{font-weight:550;color:var(--m-text)}.d-chart-intervals>span{flex:1}.d-chart-intervals>button>.m-icon{height:15px;width:15px;color:var(--m-text)}.d-chart-intervals>button:nth-child(6)>.m-icon{height:12px;width:12px;color:#999}.d-chart-intervals{gap:14px}.d-chart-intervals>button:nth-last-child(-n+3){margin-left:0}
.d-chart-canvas svg{display:block;width:100%;font-family:Arial,'PingFang SC',sans-serif}.d-chart-empty{height:380px;display:grid;place-items:center;color:var(--m-muted)}
.d-chart-bottom{height:91px;flex-shrink:0;padding:10px 15px 44px;display:flex;align-items:flex-start;gap:13px;background:var(--m-bg)}.d-chart-bottom>button{min-width:27px;display:flex;align-items:center;flex-direction:column;gap:2px;font-size:11px}.d-chart-bottom>button .m-icon{width:19px;height:19px}.d-chart-bottom>.d-chart-trade{margin-left:4px;flex:1;display:grid;place-items:center;background:var(--x-yellow);height:36px;border-radius:8px;font-size:14px;font-weight:550;color:#08090a}.d-chart-info{padding:20px 15px;font-size:14px}.d-chart-info p{line-height:1.6}.d-chart-info dd{margin:5px 0 20px}

/* Second native overlay pass: remove inherited field margins and cumulative row drift. */
.d-managed-orders{min-height:calc(100dvh - 200px)}
#trade-dialog.x-sheet .d-picker-search{margin:0}
#trade-dialog.x-sheet .d-picker-search input{padding:0}
.d-picker-sort{height:37px}
.d-pair-row{height:60px}
.d-picker:has([data-picker-tab="spot"].active) .d-pair-row{height:62px}
.d-picker-tabs{gap:16px}.d-picker-tabs>button{font-size:16px;font-weight:500}
.d-pair-name b{font-size:16px;font-weight:500}.d-pair-value>b{font-weight:600}
.d-order-card{padding:16px 0 18px}.d-order-card dl{margin-top:11px;line-height:25px;font-size:14px}
.d-order-card header>b{font-weight:500}.d-order-card header>em{font-style:normal;font-size:11px}
.d-order-subtitle{font-size:12px;line-height:16px}
.d-order-card dl{font-family:Arial,'PingFang SC',sans-serif}
.d-order-card dt{font-size:14px}.d-order-card dd{font-size:14px}
.d-margin-cards>button{height:100px}
#trade-dialog.d-pnl-sheet .dialog-heading h2{margin-bottom:19px}
#trade-dialog .d-pnl-note{margin-bottom:31px}
.d-pnl-sheet .x-realized-list{padding-top:22px}
.d-pnl-sheet .x-realized-toggle{margin-top:24px;padding-top:25px}
#trade-dialog.d-pnl-sheet .x-realized-note{margin-top:26px}
.d-pnl-total strong{font-weight:500}.d-pnl-sheet .x-realized-list b{font-weight:400}
.d-order-types b{font-weight:500;line-height:23px;font-size:16.5px}.d-order-types small{margin-top:1px;line-height:16px}
.d-order-types>button>.m-icon{width:23px;height:23px}.d-order-types>button{gap:13px}
#trade-dialog.d-order-type-sheet .dialog-heading h2{margin-bottom:14px}
.screen-assets .x-assets-tabs{gap:16px}.screen-assets .x-assets-tabs>button{font-size:18px;line-height:24px}
.screen-assets .x-asset-contract-tabs{height:43px;padding-top:16px;padding-bottom:3px;gap:16px}
.screen-assets .x-asset-contract-tabs>b{font-size:12px;line-height:14px}
.screen-assets:has(.x-asset-contract-tabs) .x-assets-summary{padding-top:12px}
.screen-assets .x-balance-label>div{gap:16px}
.screen-assets .x-balance-number>strong{font-size:32px;line-height:43px}
.screen-assets .x-asset-list-tabs{border:0;font-size:14px;height:56px;gap:16px}
.screen-assets .x-asset-list-tabs>button{font-size:14px}
.screen-assets .x-asset-list-tabs>button.active:after{width:15px;left:calc(50% - 7.5px);bottom:-11px}
.screen-assets .x-earn{margin-bottom:13px}
/* Keep the centered title inside the scrolling header, including its clipping. */
.x-history-header{position:relative}
.x-history-header>div{position:absolute;left:50%;transform:translateX(-50%);top:-4px}
.x-history-header>button{transform:translateY(-6px)}
.x-history-header>button:first-child{margin-left:-6px}
.x-history-tabs{gap:16px}.x-history-tabs>button{font-size:14px;letter-spacing:-.35px}
.x-history-card{padding-top:20px;padding-bottom:18px}
.x-history-grid{row-gap:10px;margin-top:14px}.x-history-grid b{margin-top:4px;line-height:20px}
.x-history-grid small{font-size:12px;line-height:17px}
.x-history-times{margin-top:11px;gap:4px;line-height:16px;font-size:12px}
.x-history-filters>button{font-size:13px;line-height:14px}
.x-history-notice{letter-spacing:.1px}

.x-history-grid small{display:table}.x-history-grid{row-gap:7px}.x-history-card{padding-bottom:11px}
.screen-assets .x-asset-list-tabs{height:51px}

/* Native pass 4: align glyph widths and the futures asset stack. */
.d-order-groups>button{font-size:12px}
.d-order-card header>b{font-size:15.5px}
.d-order-card{padding-bottom:17px}
.d-pair-name b{font-size:15.5px}
.d-pair-name>small{font-size:11.5px;margin-top:1px}
.d-pair-value>b{font-family:-apple-system,BlinkMacSystemFont,sans-serif;font-weight:500}
.d-pair-value>small{font-family:-apple-system,BlinkMacSystemFont,sans-serif;font-size:11.5px;margin-top:2px}
.d-picker:has([data-picker-tab="spot"].active) .d-picker-sort{height:35px}
.screen-assets .x-assets-tabs{padding-top:11px;padding-bottom:8px}
.screen-assets:has(.x-asset-contract-tabs) .x-fiat{margin-top:0}
.screen-assets:has(.x-asset-contract-tabs) .x-today{margin-top:4px}
.screen-assets:has(.x-asset-contract-tabs) .x-asset-actions{margin-top:12px}
.screen-assets:has(.x-asset-contract-tabs) .x-assets-summary{padding-bottom:19px}
.screen-assets:has(.x-asset-contract-tabs) .x-asset-list-tabs{align-items:flex-start;padding-top:11px}
.screen-assets .x-asset-list-tabs>button.active:after{bottom:-8px}
.screen-assets:has(.x-asset-contract-tabs) .x-position{padding-top:6px}

#trade-dialog.x-sheet .d-pnl-note{font-size:12px;line-height:16px;margin:12px 0 21px;font-weight:400}
#trade-dialog.x-sheet .d-target-note{margin-top:16px;line-height:15.5px;font-size:12px}
#trade-dialog.x-sheet .d-adl-copy{font-size:14px;line-height:19px;color:var(--m-text);margin:0}
#trade-dialog.x-sheet.d-pnl-sheet .x-realized-note{margin-top:26px;font-family:Arial,'PingFang SC',sans-serif}
.d-pnl-sheet .x-realized-list{font-family:Arial,'PingFang SC',sans-serif}
.d-margin-cards span{font-family:Arial,'PingFang SC',sans-serif}

.x-history-card{padding-top:17px;padding-bottom:17px}
.x-history-grid{margin-top:12px}
.x-history-times{margin-top:10px;font-family:Arial,'PingFang SC',sans-serif}
.x-history-grid>div:nth-child(3n)>small{margin-left:auto}
.x-history-grid b{font-family:Arial,sans-serif;font-size:13.5px}
.x-history-grid small{font-family:Arial,'PingFang SC',sans-serif}
.x-history-notice,.x-history-updated{font-family:Arial,'PingFang SC',sans-serif}
.screen-assets:has(.x-asset-contract-tabs) .x-balance-number>*{transform:translateY(-8px)}
.screen-assets:has(.x-asset-contract-tabs) .x-fiat{transform:translateY(-3px)}
.screen-assets .x-balance-label{transform:translateY(-1px)}
.screen-assets .x-balance-label>div{transform:translateY(-2px)}
.screen-assets .x-wallet-stats{column-gap:6px;font-family:Arial,'PingFang SC',sans-serif}
.screen-assets .x-wallet-stats span{margin-top:2px}
.mobile-app.screen-assets .x-asset-actions>button{font-size:15px}
.screen-assets .x-earn{font-family:Arial,'PingFang SC',sans-serif}
.screen-assets .x-earn b{font-size:11.5px;transform:translateY(1px)}
#trade-dialog.x-sheet .d-pnl-note,#trade-dialog.x-sheet.d-pnl-sheet .x-realized-note{padding-left:8px;text-indent:-8px}
.d-pnl-sheet .x-realized-list>div>b{font-size:13.5px;transform:translateY(2px)}
.d-pnl-sheet .x-realized-list>div:first-child>b{font-size:15.5px}
.d-pnl-sheet .x-realized-toggle{padding-top:22px}
.d-chart-summary strong{font-family:-apple-system,BlinkMacSystemFont,sans-serif;font-size:27px}
.d-chart-summary dl{margin-top:16px;column-gap:12px;row-gap:8px;transform:translateX(3px)}
.d-chart-summary dd{font-family:Arial,sans-serif;font-size:11.5px}
.d-chart-bottom{gap:13px}.d-chart-bottom>button{min-width:28px}
.d-chart-bottom>.d-chart-trade{margin-left:5px}

/* Keep the default setting visible above the fixed confirmation button. */
#trade-dialog.x-sheet.x-leverage-sheet .dialog-heading h2{margin-bottom:22px}
#trade-dialog.x-leverage-sheet .x-leverage-notes{font-family:Arial,'PingFang SC',sans-serif;line-height:15.5px}
#trade-dialog.x-leverage-sheet .x-default-leverage{margin-top:33px}
.d-chart-bottom{padding-left:24px;gap:12px}
.d-chart-bottom>.d-chart-trade{margin-left:0}
.screen-assets:has(.x-asset-contract-tabs) .x-asset-actions{margin-top:14px}
.screen-assets:has(.x-asset-contract-tabs) .x-earn{height:139px}
.screen-assets:has(.x-asset-contract-tabs) .x-asset-list-tabs{height:50px}
#trade-dialog.d-close-menu form{padding-bottom:29px}
.d-close-choices{padding-top:3px}
.d-close-choices b{font-size:16px}
