/* Desktop web only. Phones/DeBox (<1200px) never apply these rules. */
@media (min-width: 1200px) {
  html.oc-desktop,
  html.oc-desktop body,
  html.oc-desktop #root {
    background: #f3f5f8 !important;
    max-width: none !important;
    overflow: hidden !important;
    height: 100vh !important;
    max-height: none !important;
  }

  html.oc-desktop body {
    font-size: 14px;
  }

  html.oc-desktop #root > div {
    height: 100vh !important;
    max-height: none !important;
    background: #f3f5f8 !important;
  }

  html.oc-desktop #root > div > div.w-full.max-w-\[430px\],
  html.oc-desktop .w-full.max-w-\[430px\].h-\[100dvh\] {
    max-width: none !important;
    width: 100% !important;
    height: 100vh !important;
    min-height: 0 !important;
    max-height: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: 0 !important;
    padding-left: 88px !important;
    background: #fff !important;
  }

  html.oc-desktop main {
    height: 100% !important;
    max-height: none !important;
    overflow: auto !important;
  }

  html.oc-desktop .oc-desk-tabbar {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    right: auto !important;
    width: 88px !important;
    max-width: 88px !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 12px 0 !important;
    border-top: 0 !important;
    border-right: 1px solid #eceff3 !important;
    background: #fff !important;
    z-index: 60 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  html.oc-desktop .oc-desk-tabbar nav {
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 6px !important;
    height: 100% !important;
    padding: 8px 10px !important;
  }

  html.oc-desktop .oc-desk-tabbar nav > button,
  html.oc-desktop .oc-desk-tabbar nav > a {
    width: 100% !important;
    min-height: 64px !important;
    border-radius: 12px !important;
    flex-direction: column !important;
  }

  html.oc-desktop .fixed.inset-0.z-50.flex.items-end,
  html.oc-desktop .fixed.inset-0.z-\[80\].flex.items-end,
  html.oc-desktop .fixed.inset-0.z-\[90\].flex.items-end,
  html.oc-desktop .fixed.inset-0.z-50.flex.items-center {
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
  }

  html.oc-desktop .fixed.inset-0.z-50 > div,
  html.oc-desktop .fixed.inset-0.z-\[80\] > div,
  html.oc-desktop .fixed.inset-0.z-\[90\] > div {
    max-width: 640px !important;
    width: 640px !important;
    border-radius: 16px !important;
    margin: 0 auto !important;
    max-height: 86vh !important;
    overflow: visible !important;
  }

  html.oc-desktop .max-w-\[380px\] {
    max-width: 640px !important;
  }

  html.oc-desktop .oc-desk-trade {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 420px !important;
    grid-template-rows: auto auto auto auto auto minmax(520px, 1fr) auto !important;
    min-height: 100% !important;
    padding-bottom: 16px !important;
    background: #fff !important;
  }

  html.oc-desktop .oc-desk-trade > :nth-child(-n+7) {
    grid-column: 1 !important;
  }

  html.oc-desktop .oc-desk-trade > :nth-child(n+8) {
    grid-column: 2 !important;
    border-left: 1px solid #eceff3 !important;
  }

  html.oc-desktop .oc-desk-trade > :nth-child(8) {
    grid-row: 1 / span 7 !important;
    overflow: auto !important;
    min-height: 0 !important;
  }

  html.oc-desktop .oc-desk-chart,
  html.oc-desktop .oc-desk-trade [style*="height: 280px"] {
    height: 560px !important;
    min-height: 560px !important;
    max-height: none !important;
    background: #0b0e11 !important;
    position: relative !important;
    overflow: hidden !important;
  }

  html.oc-desktop .oc-desk-chart > div,
  html.oc-desktop .oc-desk-trade [style*="height: 280px"] > div {
    height: 100% !important;
    min-height: 560px !important;
  }

  html.oc-desktop .tv-lightweight-charts,
  html.oc-desktop .tradingview-widget-container,
  html.oc-desktop .tradingview-widget-container__widget,
  html.oc-desktop .tradingview-widget-container iframe {
    height: 560px !important;
    min-height: 560px !important;
    width: 100% !important;
    background: #0b0e11 !important;
  }

  html.oc-desktop #oc-kline-canvas {
    height: 100% !important;
  }

  html.oc-desktop .oc-desk-actions,
  html.oc-desktop .oc-desk-trade > .fixed.sm\:absolute.bottom-0,
  html.oc-desktop .oc-desk-trade > [class*="bottom-0"][class*="z-40"] {
    position: static !important;
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    grid-column: 2 !important;
    border-left: 1px solid #eceff3 !important;
    background: #fff !important;
  }

  html.oc-desktop .oc-desk-trade .pb-24 {
    padding-bottom: 12px !important;
  }

  html.oc-desktop .text-\[26px\].font-black {
    font-size: 32px !important;
  }
}
