@font-face{font-family:'Inter Tight';font-weight:400;font-style:normal;font-display:swap;src:url(../fonts/InterTight-400.woff2) format('woff2')}
@font-face{font-family:'Inter Tight';font-weight:500;font-style:normal;font-display:swap;src:url(../fonts/InterTight-500.woff2) format('woff2')}
@font-face{font-family:'Inter Tight';font-weight:600;font-style:normal;font-display:swap;src:url(../fonts/InterTight-600.woff2) format('woff2')}
@font-face{font-family:'Inter Tight';font-weight:700;font-style:normal;font-display:swap;src:url(../fonts/InterTight-700.woff2) format('woff2')}
@font-face{font-family:'Inter Tight';font-weight:300;font-style:normal;src:url(../fonts/InterTight-400.woff2) format('woff2')}
/* Phone layout for the trading terminal: one scrolling column (chart, order ticket, positions, assets, then the market list). */
@media (max-width: 768px) {
  html, body { height: 100dvh !important; overflow: hidden !important; }
  nav#fx-tabbar, #fx-tabbar.fx-tabbar { display: none !important; }
  body { padding-bottom: 0 !important; }
  .container { height: 100dvh !important; display: flex !important; flex-direction: column; overflow: hidden; }
  .header { flex: none; height: auto !important; position: static !important; }
  .header-info { flex-wrap: wrap; height: auto !important; }
  .logo, .menu-right { height: 52px; align-items: center; }
  .logo { flex: none !important; width: 34px !important; overflow: hidden; }
  .logo img { height: 30px !important; width: auto !important; max-width: none !important; object-fit: cover; object-position: left center; }
  .menu-right { flex: 1 1 0 !important; justify-content: flex-end; display: flex; margin-left: 0 !important; }
  .header-info { align-items: center; }
  .zendesker { display: none !important; }
  .menu-right { min-width: 0 !important; }
  .account-selector { min-width: 0; }
  .hot-wrapper { order: 5; flex: 0 0 100%; height: 30px; overflow: hidden; position: static !important; display: block !important; margin: 0 !important; }
  .hot-wrapper .hot-container, .hot-wrapper .vue3-marquee { height: 30px; width: 100%; }
  .theme-switcher, .setting-btn, .language-switcher { display: none !important; }
  .header-info { gap: 8px; padding: 0 12px !important; }
  .menu-right { gap: 8px !important; margin-left: auto; }
  .hot-wrapper { display: block !important; }
  .content, .content-pc { display: block !important; flex: 1; min-height: 0; height: auto !important; position: static !important; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; }
  .content-left, .content-right, .content-wrapper { display: contents !important; }
  .k-wrapper { width: 100% !important; height: auto !important; display: block !important; }
  .k-header { height: auto !important; }
  .header-web { height: auto !important; display: grid !important; grid-template-columns: 1fr auto; align-items: start; padding: 12px 18px 10px; gap: 6px 12px; }
  .symbol-price { display: contents !important; }
  .symbol-info-web { grid-column: 1 / -1; grid-row: 1; width: 100%; }
  .symbol-name { display: flex !important; justify-content: space-between; align-items: center; width: 100%; }
  .symbol-name__text { font-size: 23px !important; font-weight: 600; }
  .symbol-name__comment { font-size: 13px; color: #b2b5be; }
  .header-price { grid-column: 1; grid-row: 2; width: auto !important; display: flex; flex-direction: column; gap: 6px; }
  .header-price .price { font-size: 28px; font-weight: 600; line-height: 1.1; }
  .header-price .diff-rose { font-size: 13px; }
  .price-info-list { grid-column: 2; grid-row: 2; display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px 22px; font-size: 13px; margin: 0 !important; }
  .price-info-list .item { display: flex; flex-direction: column; gap: 2px; }
  .price-info-list .label { color: #b2b5be; font-size: 12px; }
  .price-info-list .value { color: #fff; font-weight: 500; font-size: 13px; }
  .price-info-list .more { display: none !important; }
  .price-info-list .fx-trading { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 2px; color: #fff; font-weight: 500; font-size: 13px; } .price-info-list .fx-trading small { color: #b2b5be; font-size: 12px; font-weight: 400; }
  .change-interval-expanded { display: none !important; }
  .fx-tf { background: none; border: 0; color: #fff; font: 600 15px 'Inter Tight', sans-serif; padding: 8px 12px; background: #1b1b1e; border-radius: 8px; margin: 0 8px 0 12px; }
  .fx-tfm { position: fixed; z-index: 90; background: #1c1c1e; border: 1px solid #2e2e32; border-radius: 10px; padding: 6px; min-width: 120px; font: 15px 'Inter Tight', sans-serif; color: #d1d4dc; }
  .fx-tfm div { padding: 10px 14px; border-radius: 6px; } .fx-tfm div.on { color: #fff; background: #2a2a2e; }
  .indicators-assist { margin-left: auto !important; }
  .k-content, .chart-info, .chart-info__content, .trading-view, .trading-view__chart-container, .k-chart-container { height: calc(100dvh - 52px - 30px - 190px - 41px) !important; min-height: 300px !important; }
  .k-content { height: auto !important; min-height: 0 !important; }
  .chart-info { height: auto !important; }
  .chart-info__header { height: 41px; }
  /* order ticket: Vantage "One Tap" bar docked at the bottom; full panel only in Advanced mode */
  .order-wrapper { display: none !important; }
  .order-list-wrapper, .assets-wrapper, .price-wrapper { display: none !important; width: 100% !important; height: auto !important; }
  body.fx-pane-pos .k-wrapper, body.fx-pane-mkt .k-wrapper { display: none !important; }
  body.fx-pane-pos .order-list-wrapper, body.fx-pane-pos .assets-wrapper { display: block !important; }
  body.fx-pane-pos .order-list-wrapper { min-height: 60dvh; }
  body.fx-pane-mkt .price-wrapper { display: block !important; height: 100% !important; }
  body.fx-adv .order-wrapper { display: block !important; position: fixed; left: 0; right: 0; bottom: 0; max-height: 88dvh; overflow-y: auto; z-index: 70; background: #0c0c0e; border-radius: 16px 16px 0 0; padding-bottom: 16px; }
  body.fx-adv::after { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 60; }
  .fx-ot { flex: none; background: #0c0c0e; border-top: 1px solid #1d1d20; padding: 6px 14px 4px; font-family: 'Inter Tight', sans-serif; color: #fff; }
  .fx-ot .mode { text-align: center; font-size: 13px; padding: 2px 0 8px; cursor: pointer; }
  .fx-ot .lots { display: flex; align-items: center; justify-content: space-between; background: #1b1b1e; border-radius: 10px; height: 44px; padding: 0 14px; }
  .fx-ot .lots button { width: 30px; height: 30px; background: none; border: 0; color: #6f7178; font-size: 22px; line-height: 1; }
  .fx-ot .lots div { text-align: center; } .fx-ot .lots small { display: block; font-size: 11px; line-height: 1; color: #9b9da4; }
  .fx-ot .lots input { width: 120px; background: none; border: 0; color: #fff; font: 600 17px 'Inter Tight', sans-serif; text-align: center; outline: 0; padding: 0; }
  .fx-ot .sb { display: flex; align-items: center; gap: 10px; margin: 8px 0 6px; position: relative; }
  .fx-ot .sb button { flex: 1; height: 40px; border: 0; color: #fff; font: 500 11px/1.1 'Inter Tight', sans-serif; }
  .fx-ot .sb button b { display: block; font-size: 16px; font-weight: 600; }
  .fx-ot .sb .s { background: #e2003f; border-radius: 20px; } .fx-ot .sb .b { background: #13b900; border-radius: 20px; }
  .fx-ot .sb span { flex: none; font-size: 13px; color: #d1d4dc; }
  .fx-ot .fm { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #d1d4dc; padding: 0; } .fx-ot .fm .ml { display: flex; align-items: center; gap: 8px; } .fx-ot .fm b { color: #fff; font-weight: 500; }
  .fx-ot .hd { display: block; width: 44px; height: 4px; border-radius: 2px; background: #3a3a3e; margin: 8px auto 2px; border: 0; padding: 0; }
}

/* sizes measured from the saved Vantage mobile page (header 48, ticker 28, 12px labels, 40px pills) */
@media (max-width: 768px) {
  .logo, .menu-right { height: 48px !important; }
  .hot-wrapper { height: 28px !important; padding: 0 16px; margin-bottom: 1px !important; }
  .hot-wrapper .hot-container, .hot-wrapper .vue3-marquee { height: 28px !important; }
  .hot-item { font-size: 12px !important; font-weight: 500; line-height: 16px; }
  .header-web { padding: 12px 16px !important; gap: 8px 12px !important; }
  .symbol-name__text { font-size: 20px !important; line-height: 28px; }
  .symbol-name__comment { font-size: 12px !important; line-height: 16px; }
  .header-price { gap: 2px !important; }
  .header-price .price { font-size: 22px !important; line-height: 30px !important; }
  .header-price .diff-rose { font-size: 12px !important; line-height: 16px; font-weight: 500; }
  .price-info-list { gap: 4px 12px !important; max-width: 220px; }
  .price-info-list .item { gap: 2px !important; }
  .price-info-list .label { font-size: 12px !important; line-height: 16px; }
  .price-info-list .value, .price-info-list .fx-trading { font-size: 12px !important; line-height: 16px; font-weight: 500; }
  .price-info-list .fx-trading small { font-size: 12px !important; line-height: 16px; }
  .fx-tf { font: 500 12px/16px 'Inter Tight', sans-serif !important; padding: 4px 8px !important; border-radius: 6px !important; margin: 0 0 0 16px !important; }
  .fx-ot { padding: 12px 16px 8px !important; }
  .fx-ot .mode { font-size: 12px !important; line-height: 16px; padding: 0 0 8px !important; }
  .fx-ot .lots { height: 44px !important; border-radius: 8px !important; }
  .fx-ot .lots small { font-size: 12px !important; }
  .fx-ot .lots input { font-size: 16px !important; font-weight: 500 !important; }
  .fx-ot .sb { gap: 0 !important; margin: 12px 0 8px !important; }
  .fx-ot .sb button { height: 40px !important; border-radius: 9999px !important; font-size: 12px !important; line-height: 16px !important; }
  .fx-ot .sb button b { font-size: 16px !important; line-height: 20px !important; font-weight: 600 !important; }
  .fx-ot .sb span { flex: 0 0 40px !important; text-align: center; font-size: 12px !important; }
  .fx-ot .fm { font-size: 12px !important; line-height: 16px; }
  .k-content, .chart-info, .chart-info__content, .trading-view, .trading-view__chart-container, .k-chart-container { height: calc(100dvh - 48px - 28px - 175px - 41px) !important; }
}

@media (max-width: 768px) {
  .header-info { height: auto !important; flex-wrap: wrap !important; padding: 0 !important; }
  .header-info > .logo { margin-left: 16px; }
  .header-info > .menu-right { flex: 1 1 0 !important; min-width: 0 !important; margin-right: 16px; }
  .header-info > .hot-wrapper { flex: 0 0 100% !important; width: 100% !important; order: 9 !important; max-width: 100% !important; }
  .account-selector, .account-selector__dropdown { flex: 0 1 auto; min-width: 0; }
}

@media (max-width: 768px) {
  .menu-right > button { flex: none !important; white-space: nowrap; padding: 0 12px !important; }
  .menu-right { gap: 6px !important; }
  .account-selector__dropdown { padding: 0 10px !important; font-size: 13px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .menu-right .profile-trigger, .menu-right .profile-trigger img { width: 32px; height: 32px; flex: none; }
}

/* header exactly like Vantage mobile: V logo | account pill | Deposit, gear, avatar */
@media (max-width: 768px) {
  .header-info > .logo { width: 26px !important; height: 48px !important; margin: 0 12px 0 16px !important; background: url("data:image/svg+xml,%3csvg%20width='26'%20height='25'%20viewBox='0%200%2026%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%200H6.44353L16.2196%2018.1075L13.0113%2024.0482L0%200Z'%20fill='white'/%3e%3cpath%20d='M8.83984%200H26.0089L17.4642%2015.7982V5.33211L8.83984%200Z'%20fill='%23FF5E0D'/%3e%3c/svg%3e") center / 26px 25px no-repeat; }
  .header-info > .logo img { display: none !important; }
  .header-info > .menu-right { gap: 8px !important; margin-right: 16px !important; justify-content: flex-start !important; }
  .menu-right > .account-selector { flex: 0 1 auto; order: 1; }
  .menu-right > button { order: 2; margin-left: auto !important; height: 28px !important; min-height: 0 !important; padding: 0 12px !important; font-size: 12px !important; font-weight: 500 !important; border-radius: 9999px !important; }
  .menu-right > .setting-btn { display: flex !important; order: 3; width: 32px; height: 32px; flex: none; align-items: center; justify-content: center; background: #1b1b1e; border-radius: 50%; }
  .menu-right > .profile-trigger { order: 4; width: 32px; height: 32px; flex: none; border-radius: 50%; overflow: hidden; }
  .account-selector__dropdown, .account-trigger { height: 32px !important; padding: 0 12px !important; border-radius: 9999px !important; background: #1b1b1e !important; font-size: 14px !important; display: flex; align-items: center; gap: 4px; }
}

@media (max-width: 768px) {
  .header-info > .logo { margin: 0 8px 0 14px !important; }
  .header-info > .menu-right { gap: 6px !important; margin-right: 12px !important; }
  .account-selector__dropdown, .account-trigger { padding: 0 9px !important; font-size: 12.5px !important; gap: 3px !important; overflow: visible !important; text-overflow: clip !important; }
  .menu-right > button { padding: 0 10px !important; }
}

/* positions + assets sit under the chart inside the same scroll, like Vantage */
@media (max-width: 768px) {
  .order-list-wrapper, .assets-wrapper { display: block !important; width: 100% !important; height: auto !important; margin-top: 8px; }
  .order-list-wrapper { min-height: 320px; padding: 0 16px 16px; }
  .assets-wrapper { padding-bottom: 24px; }
  body.fx-pane-mkt .order-list-wrapper, body.fx-pane-mkt .assets-wrapper { display: none !important; }
  .k-chart-container, .k-chart-container canvas { touch-action: pan-y !important; }
}

@media (max-width: 768px) {
  .order-list-wrapper [class*="tabs__nav-wrap"] { overflow-x: auto !important; scrollbar-width: none; }
  .order-list-wrapper [class*="tabs__nav-wrap"]::-webkit-scrollbar { display: none; }
  .order-list-wrapper [class*="tabs__nav"] { flex-wrap: nowrap !important; white-space: nowrap; }
  .order-list-wrapper table, .order-list-wrapper tbody { display: block !important; width: 100% !important; }
  .order-list-wrapper thead, .order-list-wrapper tr:has(th) { display: none !important; }
  .order-list-wrapper tr { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 10px 8px; padding: 14px 16px; margin: 0 0 8px; background: #141416; border-radius: 12px; }
  .order-list-wrapper td { display: block !important; border: 0 !important; padding: 0 !important; width: auto !important; text-align: left !important; font-size: 13px; font-weight: 500; color: #fff; min-width: 0; overflow-wrap: anywhere; }
  .order-list-wrapper td[data-l]::before { content: attr(data-l); display: block; font-size: 11px; font-weight: 400; color: #8b8d94; margin-bottom: 2px; }
  .order-list-wrapper td:first-child { grid-column: 1 / -1; font-size: 15px; font-weight: 600; }
  .order-list-wrapper td:first-child::before { display: none; }
  .order-list-wrapper td:last-child { grid-column: 1 / -1; }
  .order-list-wrapper td:last-child button, .order-list-wrapper td:last-child [class*="btn"] { width: 100%; }
}

/* Market list = bottom sheet over the page (tap the symbol name) */
@media (max-width: 768px) {
  body.fx-pane-mkt .k-wrapper { display: block !important; }
  body.fx-pane-mkt .price-wrapper { position: fixed !important; left: 0; right: 0; bottom: 0; top: 150px; height: auto !important; z-index: 80; background: #1b1b1e; border-radius: 16px 16px 0 0; display: flex !important; flex-direction: column; overflow: hidden; padding-top: 18px; }
  body.fx-pane-mkt .price-wrapper::before { content: ""; position: absolute; top: 8px; left: 50%; width: 36px; height: 4px; margin-left: -18px; border-radius: 2px; background: #4a4a50; }
  body.fx-pane-mkt .market-header { display: none !important; }
  body.fx-pane-mkt .symbol-content, body.fx-pane-mkt .market-list-container { min-height: 0; }
  .price-wrapper .market-search { padding: 8px 16px; }
  .price-wrapper .market-list-container { flex: 1; overflow-y: auto; height: auto !important; }
  .price-wrapper .ht-table__row { height: 64px !important; min-height: 64px !important; display: flex; align-items: center; padding: 0 16px; }
  .price-wrapper .ht-table__row::before { content: attr(data-s); flex: none; width: 40px; height: 40px; border-radius: 50%; background: #3a3a40; color: #fff; font: 600 9px/40px 'Inter Tight', sans-serif; text-align: center; overflow: hidden; margin-left: 24px; margin-right: -22px; position: relative; z-index: 1; }
  .price-wrapper .market-item { height: 64px !important; min-height: 64px !important; display: grid !important; grid-template-columns: 1fr auto; grid-template-rows: 1fr 1fr; align-items: center; width: 100%; padding-left: 30px; }
  .price-wrapper .market-item__column--symbol { grid-row: 1 / 3; grid-column: 1; }
  .price-wrapper .market-item__column--sell { grid-row: 1; grid-column: 2; text-align: right; align-self: end; }
  .price-wrapper .market-item__column--percentchange { grid-row: 2; grid-column: 2; text-align: right; align-self: start; }
  .price-wrapper .market-item__column--spread, .price-wrapper .market-item__column--buy { display: none !important; }
  .price-wrapper .market-item__column--sell .text { font-size: 16px; font-weight: 600; }
  .price-wrapper .market-item__column--percentchange .text { font-size: 13px; }
  .price-wrapper .ht-table__header-cell:not(:first-child) { display: none !important; }
  .price-wrapper .ht-table__header-row { position: relative; }
  .price-wrapper .ht-table__header-row::after { content: "Last price/%change"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 12px; color: #9b9da4; }
}

@media (max-width: 768px) {
  .price-wrapper .ht-table__row { position: relative; }
  .price-wrapper .market-symbol__fav { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); }
  .price-wrapper .ht-table__row::before { margin-left: 28px !important; margin-right: -26px !important; }
  .price-wrapper .ht-table__header-cell:first-child { padding-left: 16px; }
}

@media (max-width: 768px) {
  .price-wrapper .ht-table__row::before { content: "" !important; background: var(--ic, #3a3a40) center / contain no-repeat !important; border-radius: 0 !important; width: 40px; height: 40px; font-size: 0 !important; }
}

@media (max-width: 768px) {
  body.fx-pane-mkt .fx-ot, body.fx-adv .fx-ot { visibility: hidden; }
  .fx-ot { position: relative; z-index: 1; padding: 8px 14px 6px !important; }
  .fx-ot .mode { padding-bottom: 6px !important; }
  .fx-ot .lots { height: 38px !important; }
  .fx-ot .lots input { font-size: 15px !important; }
  .fx-ot .sb { margin: 8px 0 6px !important; }
  .fx-ot .sb button { height: 34px !important; }
  .fx-ot .sb button b { font-size: 14px !important; line-height: 16px !important; }
  .fx-ot .sb button { font-size: 10.5px !important; line-height: 12px !important; }
  .fx-ot .fm { font-size: 11px !important; }
  .fx-ot .hd { margin: 4px auto 0 !important; }
  .k-content, .chart-info, .chart-info__content, .trading-view, .trading-view__chart-container, .k-chart-container { height: calc(100dvh - 48px - 28px - 160px - 41px) !important; }
}

@media (max-width: 768px) {
  .price-wrapper .market-symbol__fav { position: absolute !important; left: 16px; top: 50%; transform: translateY(-50%); z-index: 2; width: 20px; height: 20px; display: flex !important; align-items: center; justify-content: center; opacity: 1 !important; }
  .price-wrapper .market-symbol__fav svg { width: 20px !important; height: 20px !important; color: inherit !important; }
  .price-wrapper .market-symbol__fav { color: #6b6e76; }
  .price-wrapper .ht-table__row::before { margin-left: 44px !important; margin-right: -42px !important; }
  .price-wrapper .market-item { padding-left: 48px !important; }
}

@media (max-width: 768px) {
  .price-wrapper .market-symbol__fav { left: -46px !important; }
}

@media (max-width: 768px) {
  body.fx-pane-mkt::after { display: none !important; content: none !important; }
  body.fx-pane-mkt .price-wrapper { box-shadow: 0 0 0 100vmax rgba(0,0,0,.55); pointer-events: auto; filter: none !important; opacity: 1 !important; z-index: 2147483000 !important; }
  body.fx-adv::after { display: none !important; }
  body.fx-adv .order-wrapper { box-shadow: 0 0 0 100vmax rgba(0,0,0,.55); z-index: 2147483000 !important; }
}

/* positions: thin one-line rows, tap to open full details, modify and (partial) close */
@media (max-width: 768px) {
  .fx-pc { padding-bottom: 8px; }
  .fx-p { background: #141416; border-radius: 10px; margin: 0 0 6px; overflow: hidden; font-family: 'Inter Tight', sans-serif; }
  .fx-p__row { display: grid; grid-template-columns: 1.2fr 1fr auto 14px; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; cursor: pointer; }
  .fx-p__sym { display: flex; flex-direction: column; line-height: 1.25; } .fx-p__sym b { font-size: 14px; font-weight: 600; color: #fff; }
  .fx-p__sym span { font-size: 11px; color: #9b9da4; } .fx-p__sym span.buy { color: #13b900; } .fx-p__sym span.sell { color: #e2003f; }
  .fx-p__px { font-size: 13px; text-align: right; color: #c9ccd3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .fx-p__pnl { font-size: 14px; font-weight: 600; text-align: right; }
  .fx-p__row i { width: 7px; height: 7px; border-right: 1.6px solid #7d8088; border-bottom: 1.6px solid #7d8088; transform: rotate(45deg); margin-top: -3px; transition: transform .15s; }
  .fx-p.open .fx-p__row i { transform: rotate(-135deg); margin-top: 3px; }
  .fx-p__det { padding: 4px 12px 14px; border-top: 1px solid #222226; }
  .fx-p__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 8px; padding: 12px 0; }
  .fx-p__grid small { display: block; font-size: 11px; color: #8b8d94; margin-bottom: 2px; } .fx-p__grid span { font-size: 13px; font-weight: 500; color: #fff; }
  .fx-p__box { background: #1b1b1e; border-radius: 10px; padding: 10px; margin-top: 8px; }
  .fx-p__box > b { display: block; font-size: 12px; font-weight: 500; color: #9b9da4; margin-bottom: 8px; }
  .fx-p__in { display: flex; gap: 8px; align-items: flex-end; }
  .fx-p__in label { flex: 1; font-size: 11px; color: #8b8d94; min-width: 0; }
  .fx-p__in input { display: block; width: 100%; box-sizing: border-box; margin-top: 3px; height: 34px; background: #0c0c0e; border: 1px solid #2a2a2e; border-radius: 8px; color: #fff; font: 500 13px 'Inter Tight', sans-serif; padding: 0 8px; outline: 0; }
  .fx-p__in input:focus { border-color: #ff5e0d; }
  .fx-p__in button { flex: none; height: 34px; padding: 0 12px; border: 0; border-radius: 8px; background: #ff5e0d; color: #fff; font: 600 12px 'Inter Tight', sans-serif; }
  .fx-p__in button:disabled { opacity: .5; }
  .fx-p__close { width: 100%; height: 38px; margin-top: 10px; border: 0; border-radius: 9999px; background: #e2003f; color: #fff; font: 600 13px 'Inter Tight', sans-serif; }
  /* market list: don't clip rows to the old 44px-per-row height */
  .price-wrapper .vue-recycle-scroller__item-wrapper { height: auto !important; min-height: 0 !important; overflow: visible !important; }
  .price-wrapper .vue-recycle-scroller { overflow-y: auto !important; height: 100% !important; max-height: none !important; }
  .price-wrapper .market-list-container, .price-wrapper .ht-table, .price-wrapper .ht-table__body { height: auto !important; max-height: none !important; }
  body.fx-pane-mkt .price-wrapper .market-list-container { flex: 1; min-height: 0; overflow-y: auto; }
}

@media (max-width: 768px) {
  body.fx-pane-mkt .price-wrapper .symbol-content { display: flex !important; flex-direction: column; flex: 1; min-height: 0; height: auto !important; }
  body.fx-pane-mkt .price-wrapper .market-list-container { flex: 1 1 0 !important; min-height: 0 !important; overflow: hidden !important; height: auto !important; }
  body.fx-pane-mkt .price-wrapper .ht-table { height: 100% !important; display: flex; flex-direction: column; }
  body.fx-pane-mkt .price-wrapper .vue-recycle-scroller { flex: 1 1 0; min-height: 0; height: auto !important; overflow-y: auto !important; padding-bottom: 24px; }
}

@media (max-width: 768px) {
  body.fx-pane-mkt .price-wrapper { box-shadow: 0 -8px 24px rgba(0,0,0,.35) !important; background: #1b1b1e !important; }
  body.fx-pane-mkt .price-wrapper * { background-color: transparent; }
  body.fx-pane-mkt .price-wrapper .market-search input, body.fx-pane-mkt .price-wrapper [class*="input__control"] { background: transparent; }
  body.fx-pane-mkt .price-wrapper .market-search [class*="input"] { background-color: #2a2a2e; border-radius: 9999px; }
  body.fx-pane-mkt .price-wrapper .ht-table__row { background-color: transparent !important; }
  body.fx-adv .order-wrapper { box-shadow: 0 -8px 24px rgba(0,0,0,.35) !important; }
}

@media (max-width: 768px) {
  body.fx-pane-mkt .price-wrapper [class*="tabs__mask"]:first-of-type, body.fx-pane-mkt .price-wrapper [class*="tabs__mask"] { background-image: linear-gradient(to right, #1b1b1e 50%, rgba(27,27,30,0)) !important; }
  body.fx-pane-mkt .price-wrapper [class*="tabs__mask"][class*="right"], body.fx-pane-mkt .price-wrapper [class*="tabs__mask"]:last-of-type { background-image: linear-gradient(to left, #1b1b1e 50%, rgba(27,27,30,0)) !important; }
}
