/* Spot and C2C reference layout, measured on the 393 × 852 mobile canvas. */
.mobile-app.screen-trade{--spot-green:#2ebd85;--spot-red:#ff4267}
.mobile-app.screen-trade .up,.mobile-app.screen-trade .m-bids{color:var(--spot-green)}
.mobile-app.screen-trade .down,.mobile-app.screen-trade .m-asks{color:var(--spot-red)}
.mobile-app.screen-trade .m-buy,.mobile-app.screen-trade .p-buy-sell .buy{background:var(--spot-green)}
.mobile-app.screen-trade .m-sell,.mobile-app.screen-trade .p-buy-sell .sell{background:var(--spot-red)}
.mobile-app.screen-trade .p-spot-top{display:flex;align-items:center;height:44px;padding:8px 15px;gap:12px!important;position:relative;overflow:hidden;white-space:nowrap}
.mobile-app.screen-trade .p-spot-top>*{font-size:17px;font-weight:600;flex-shrink:0}
.mobile-app.screen-trade .p-spot-top>b{margin-left:0;color:#181a20}
.mobile-app.screen-trade .p-spot-top>button:not(.p-spot-menu){color:#848e9c}
.mobile-app.screen-trade .p-spot-top>.p-spot-menu{position:static;margin-left:auto;width:20px;height:20px;background:none;box-shadow:none;flex-shrink:0}
.mobile-app.screen-trade .p-spot-menu svg{width:19px;height:20px}
.mobile-app.screen-trade .p-spot-announcement{height:16px;line-height:16px;margin:10px 15px 12px;gap:7px}
.mobile-app.screen-trade .p-spot-announcement>button{width:12px;height:16px;color:#aaa;flex-shrink:0}
.mobile-app.screen-trade .p-spot-announcement>button svg{width:11px;height:11px}
.mobile-app.screen-trade .m-pair-bar b{font-size:18px;transform:translateY(-1.667px)}
.mobile-app.screen-trade .m-pair-bar>div{gap:16px;align-items:center;color:#000}
.mobile-app.screen-trade .m-pair-bar>div button{position:relative;width:19px;height:22px}
.mobile-app.screen-trade .m-pair-bar>div svg{width:19px;height:22px}
.mobile-app.screen-trade .p-spot-more:after{content:'';position:absolute;width:6px;height:6px;border-radius:50%;right:-1px;top:-2px;background:#f0b90b}
.mobile-app.screen-trade .m-market-line{margin-bottom:8px}
.mobile-app.screen-trade .p-spot-panel{grid-template-columns:minmax(0,139fr) minmax(0,209fr);gap:15px;padding-bottom:19.667px}
.mobile-app.screen-trade .p-spot-leverage{height:33px;align-items:flex-start}
.mobile-app.screen-trade .p-native-spot-book .m-book-head{height:25px;line-height:14px}
.mobile-app.screen-trade .m-book-head>span:last-child{text-align:right}
.mobile-app.screen-trade .p-book-unit{display:inline-flex;align-items:center;gap:3px}
.mobile-app.screen-trade .p-book-unit svg{width:11px;height:11px}
.mobile-app.screen-trade .m-asks,.mobile-app.screen-trade .m-bids{background:none}
.mobile-app.screen-trade .p-native-spot-book .m-book-row{font-size:12px;line-height:20px;height:20px}
.mobile-app.screen-trade .p-native-spot-book .m-book-row:before{background:#ffecf1}
.mobile-app.screen-trade .p-native-spot-book .m-bids .m-book-row:before{background:#e7f7f1}
.mobile-app.screen-trade .p-native-spot-book .m-book-price{font-size:19px;line-height:23px;margin:0;letter-spacing:0}
.mobile-app.screen-trade .p-native-spot-book .m-book-mark{line-height:16px;font-size:11px;margin:0}
.mobile-app.screen-trade .m-book-ratio{font-size:11px;margin-top:3px;height:14px;gap:4px}
.mobile-app.screen-trade .m-book-step{height:20px;margin-top:0;gap:7px;align-items:center}
.mobile-app.screen-trade .m-book-step button{height:20px;font-size:12px;padding:0 7px;color:#888}
.mobile-app.screen-trade .m-book-step>svg{width:17px;height:17px}
.mobile-app.screen-trade .p-buy-sell{height:25px;margin-bottom:7px}
.mobile-app.screen-trade .p-buy-sell button{line-height:23px}
.mobile-app.screen-trade .m-order-selector{height:27px;margin-bottom:8px}
.mobile-app.screen-trade .m-order-selector>svg{color:#999}
.mobile-app.screen-trade .m-order-selector>svg:first-child{width:11px;height:11px;fill:#999;stroke:white}
.mobile-app.screen-trade .m-amount-input.p-spot-total{height:40px;margin:0 0 8px;padding:0 12px}
.mobile-app.screen-trade .m-amount-input.p-spot-total>input{height:28px;line-height:28px;font-size:15px;font-weight:500;text-align:center}
.mobile-app.screen-trade .m-amount-input.p-spot-total>button{height:28px;font-size:12px}
.mobile-app.screen-trade .m-allocation-track{height:27px;margin:0 0 7px;padding:0 5px}
.mobile-app.screen-trade .m-allocation-track:before{top:9.5px;left:10px;right:10px}
.mobile-app.screen-trade .m-allocation-track>button{width:10px;height:10px;display:flex;align-items:center;justify-content:center;transform:translateY(-3.5px)}
.mobile-app.screen-trade .m-allocation-track input[type=range]{left:5px;right:5px;top:2.5px;width:calc(100% - 10px);height:15px}
.mobile-app.screen-trade .p-spot-slippage{font-size:13px;height:20px;line-height:19px;margin-bottom:6px}
.mobile-app.screen-trade .p-spot-estimates{margin:0 0 6px}
.mobile-app.screen-trade .p-spot-estimates p{height:17px;line-height:17px;font-size:13px}
.mobile-app.screen-trade .p-spot-estimates p>b{font-size:13px}
.mobile-app.screen-trade .p-spot-estimates p>span{display:flex;align-items:center;gap:3px}
.mobile-app.screen-trade .p-spot-estimates p>span svg{height:8px;width:8px}
.mobile-app.screen-trade .p-spot-estimates p:last-child>span{border-bottom:.5px dotted #aaa;line-height:15px}
.mobile-app.screen-trade .m-buy,.mobile-app.screen-trade .m-sell{height:36px}
.mobile-app.screen-trade .p-spot-order-tabs{gap:16px!important;height:33px;padding:0 15px;border-top:0}
.mobile-app.screen-trade .p-spot-order-tabs>button{font-size:14px!important;height:33px;line-height:20px;font-weight:500}
.mobile-app.screen-trade .p-spot-order-tabs>button:last-child{color:#000}
.mobile-app.screen-trade .p-spot-empty{height:200px;padding-top:56px;gap:0}
.mobile-app.screen-trade .p-spot-empty>svg{width:43px;height:43px;margin-bottom:15px}
.mobile-app.screen-trade .p-spot-empty>b{font-size:14px;line-height:21px;margin-bottom:10.333px}
.mobile-app.screen-trade .p-spot-empty>p{font-size:12px;line-height:18px}
.mobile-app.screen-trade .m-bottom-chart{height:30px;font-size:12px;font-weight:400;letter-spacing:0;word-spacing:0;border-radius:0;padding:0 15px;border:0;border-top:1px solid var(--m-line)}
.mobile-app.screen-trade .m-nav{height:57px}
.mobile-app.screen-trade .m-nav button{font-size:10px;padding-top:6px;gap:4px}
.mobile-app.screen-trade .m-home-indicator{height:26px;display:flex}
.mobile-app.screen-trade .m-home-indicator i{display:block;width:134px;height:5px;border-radius:3px;background:#111}
.mobile-app[class*="screen-c2c"]{--c-green:#2ebd85;--c-red:#ff4267;--c-gray:#757575;color:#000}
.mobile-app[class*="screen-c2c"] .c-banner{background:#000 url('/assets/c2c-merchant-banner.png') center / 100% 100% no-repeat;border-radius:8px;height:118px;margin:0 16px}
.mobile-app[class*="screen-c2c"] .c-zones{gap:16px;padding:2px 16px 12px}
.mobile-app[class*="screen-c2c"] .c-filters{padding:8px 16px 10px}
.mobile-app[class*="screen-c2c"] .c-zones{gap:16.333px}
.mobile-app[class*="screen-c2c"] .c-filters{gap:12px}
.mobile-app[class*="screen-c2c"] .c-filters .m-check{display:inline-block;flex:0 0 16px;height:16px;width:16px;border:1.5px solid #ccc;border-radius:4px}
.mobile-app[class*="screen-c2c"] .c-filters .m-check.checked{background:#ffdb2e;border-color:#ffdb2e}
.mobile-app[class*="screen-c2c"] .c-merchant-name{font-size:12.5px;line-height:17px}
.mobile-app[class*="screen-c2c"] .c-merchant.featured .c-merchant-name>span:nth-child(2){max-width:151px}
.mobile-app[class*="screen-c2c"] .c-merchant:not(.featured) .c-merchant-name>span:nth-child(2){max-width:179px}
.mobile-app[class*="screen-c2c"] .c-merchant.featured .c-offer{margin-top:18px}
.mobile-app[class*="screen-c2c"] .c-merchant:not(.featured) .c-offer{margin-top:17.667px}
.mobile-app[class*="screen-c2c"] .c-performance{margin-top:11px;font-size:10px;color:#858585}
.mobile-app[class*="screen-c2c"] .c-price{font-size:24px;letter-spacing:0}
.mobile-app[class*="screen-c2c"] .c-offer p{font-size:10px;margin-top:3.667px}
.mobile-app[class*="screen-c2c"] .c-offer p+p{margin-top:9.667px}
.mobile-app[class*="screen-c2c"] .c-offer-side>button{border-radius:5px}
.mobile-app[class*="screen-c2c"] .c-merchant:not(.featured){min-height:162px}
.mobile-app[class*="screen-c2c"] .c-nav svg{width:24px;height:24px}
.mobile-app[class*="screen-c2c"] .c-nav button{color:#999;font-size:11px;gap:4px;line-height:15px}
.mobile-app[class*="screen-c2c"] .c-nav button.active{color:#000}
.mobile-app[class*="screen-c2c"] .c-page .c-verify{display:inline-flex;align-items:center;gap:3px;font-size:11px;line-height:14px;padding:2px 4px}
.c-verify svg{width:12px;height:12px}
.c-avatar.offline i{background:#bfbfbf}
.mobile-app.screen-c2c-buy .c-require .c-online{display:flex;align-items:center;gap:3px}
.mobile-app.screen-c2c-buy .c-require .c-online i{width:6px;height:6px;border-radius:50%;background:#2ebd85}
.mobile-app.screen-c2c-buy .c-require .c-online.offline i{background:#bfbfbf}
.mobile-app.screen-c2c-buy .c-require .c-online svg{width:13px;height:13px;margin-left:4px}
.mobile-app.screen-c2c-buy .c-require .c-detail:first-of-type .up{border-bottom:.5px dotted #2ebd85;padding-bottom:2px}
.mobile-app.screen-c2c-buy .c-unit-tabs .active:after{left:7px;right:7px;bottom:0}
.mobile-app.screen-c2c-buy .c-amount-input{gap:13px}
.mobile-app.screen-c2c-buy .c-amount-input>button:first-of-type{line-height:20px}
.mobile-app.screen-c2c-buy .c-terms{font-size:12px;line-height:16px}
.mobile-app.screen-c2c-buy .c-payment-card{font-weight:500}
.mobile-app.screen-c2c-buy .c-require .c-detail:first-of-type .up{font-weight:400}
.mobile-app.screen-c2c-orders .c-order-filters:has(+.c-unread-notice){margin-bottom:14px}
.mobile-app.screen-c2c-orders .c-unread-notice{box-sizing:border-box;height:40px;font-size:13px;line-height:18px;margin-bottom:27.333px}
.mobile-app.screen-c2c-orders .c-order-fields>div:not(:first-child){margin-bottom:5px}
.mobile-app.screen-c2c-orders .c-order-card>footer{margin-top:8.667px}
.mobile-app.screen-c2c-orders .c-order-card>footer button{overflow:visible;padding:4px 10px;gap:7px;font-size:13px;line-height:16px;max-width:164px}
.mobile-app.screen-c2c-orders .c-order-card>footer button>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mobile-app.screen-c2c-orders .c-order-card:not(:has(.c-order-timer)){padding-bottom:13.75px}
.mobile-app.screen-c2c-orders .c-order-card:not(:has(.c-order-timer))>footer{margin-top:8px}
.mobile-app.screen-c2c-orders .c-order-card>footer sup{right:0;top:0}
.mobile-app.screen-c2c-pay .c-payment-steps h3{margin-bottom:13px}
.mobile-app.screen-c2c-pay .c-pay-field{margin-bottom:11.333px}
.mobile-app.screen-c2c-pay .c-pay-field label{margin-bottom:1.667px}
.mobile-app.screen-c2c-pay .c-order-details{margin-top:5px}
.mobile-app.screen-c2c-pay .c-payment-steps>section:first-child{padding-bottom:23px}
.mobile-app.screen-c2c-pay .c-pay-merchant>button{position:relative}
.c-pay-unread{position:absolute;right:-4px;top:-4px;background:#ff4267;color:white;border-radius:50%;font-size:9px;line-height:13px;min-width:13px;text-align:center}
.mobile-app.m-dark.screen-trade .p-spot-top>.p-spot-menu{background:var(--m-bg);box-shadow:8px 0 var(--m-bg),-7px 0 var(--m-bg)}
.mobile-app.m-dark.screen-trade .m-pair-bar>div,.mobile-app.m-dark.screen-trade .p-spot-order-tabs>button:last-child{color:var(--m-text)}
@media(max-width:370px){.mobile-app[class*="screen-c2c"] .c-filters{gap:8px}.mobile-app[class*="screen-c2c"] .c-zones{gap:13px}.mobile-app[class*="screen-c2c"] .c-merchant-name{font-size:12px}}
