/* Single combined Revenue History × Price Glance control and chart, mobile only. */
@media (max-width: 720px), (min-width: 721px) and (max-width: 1060px) and (orientation: landscape) and (max-height: 500px) and (any-pointer: coarse) {
  html.mobile-reflow-active .hero-metrics-header .mobile-time-glance,
  .hero-metrics-header > .period-tabs,
  #heroRevenueHistory,
  html.mobile-reflow-active .tokens-panel .table-period-row .mobile-screener-time-glance,
  .tokens-panel .table-period-row #tablePeriodControls,
  #screenerRevenueHistoryControls {
    display: none !important;
  }

  .hf-mobile-combined-controls {
    display: flex;
    width: min(100%, 470px);
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 5px auto 7px;
    text-align: center;
  }
  .hf-mobile-combined-title {
    color: #a5c8bb;
    font-size: clamp(10px, 2.8vw, 13px);
    font-weight: 650;
    line-height: 1.2;
    white-space: nowrap;
  }
  .hf-mobile-combined-periods {
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(2px, 0.8vw, 5px);
  }
  .hf-mobile-combined-periods button {
    display: inline-flex;
    min-width: 0;
    min-height: 31px;
    height: 31px;
    align-items: center;
    justify-content: center;
    padding: 0 1px;
    border: 1px solid rgba(104, 217, 179, 0.38);
    border-radius: 8px;
    background: rgba(10, 42, 33, 0.78);
    color: #c2e5d6;
    font-size: clamp(8px, 2.6vw, 11px);
    font-weight: 650;
    line-height: 1;
    white-space: nowrap;
    touch-action: manipulation;
  }
  .hf-mobile-combined-periods button.active {
    border-color: #68d9b3;
    background: #68d9b3;
    color: #08231a;
    box-shadow: 0 0 11px rgba(104, 217, 179, 0.19);
  }
  .tokens-panel .table-period-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: center;
    align-items: center !important;
  }
  .tokens-panel .table-period-row > #screenerCombinedControls {
    grid-column: 1;
    width: min(100%, 470px);
    margin: 0 auto;
  }
  #heroSpark svg[data-mobile-combined-chart],
  #mobileTokenCards svg[data-mobile-combined-chart] {
    display: block;
    width: 100%;
    max-width: 100%;
  }
  #heroSpark .combined-price-status,
  #mobileTokenCards .combined-price-status {
    display: block;
    margin-top: 2px;
    color: #b99b73;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
  }
  #heroSpark .combined-revenue-bar,
  #mobileTokenCards .combined-revenue-bar {
    shape-rendering: geometricPrecision;
  }
  #heroSpark .combined-price-line,
  #mobileTokenCards .combined-price-line {
    vector-effect: non-scaling-stroke;
  }
}
