/*
 * Phase47 internal recovery: final mobile interaction geometry.
 * Loaded after mobile-pro.css so measured touch targets cannot be reduced by
 * older responsive rules.
 */

.dg-lock-compact {
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.dg-lock-compact .dg-lock-icon {
  flex: 0 0 auto !important;
}

.dg-lock-compact .dg-lock-title {
  flex: 0 0 auto !important;
  line-height: 1 !important;
}

@media (max-width: 768px) {
  #tf1h,
  #tf4h,
  #tf1d,
  #riskModeGuardian,
  #riskModeBalanced,
  #riskModeAggressive,
  #btn-candle,
  #btn-line,
  #dgChartRetryBtn,
  #mobCoinFav,
  .dg-mob-perf-tab,
  .dg-mobile-tabbar button,
  .dg-mobile-tabbar a {
    box-sizing: border-box !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }

  .dg-mob-api-row a.dg-mob-api-value {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    box-sizing: border-box !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 6px 0 6px 8px !important;
  }
}
