/* Ruble UI Recovery v1.0.0
 * Narrow Miner Dashboard containment for translated English labels.
 * The Pool header, Blocks view and desktop layout are untouched.
 * Only the mobile tab-strip paint/scroll affordance is adjusted below.
 */

@media (max-width: 760px) {
  .dashboard-tabs {
    isolation: isolate;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 12px;
    background: #07080b;
    -webkit-overflow-scrolling: touch;
  }

  #panel-miners .merge-block-summary {
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #panel-miners .merge-block-summary > .pool-metric {
    min-width: 0;
  }

  #panel-miners .merge-block-summary .pool-metric small {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 340px) {
  #panel-miners .merge-block-summary {
    grid-template-columns: 1fr !important;
  }
}
