/* Mobile-only final layout; loaded after the existing mobile overrides. */
@media (max-width: 720px), (min-width: 721px) and (max-width: 1060px) and (orientation: landscape) and (max-height: 500px) and (any-pointer: coarse) {
  #mobileTokenCards .mobile-token-card-main {
    grid-template-columns:
      minmax(0,1.27fr) minmax(0,1.08fr) minmax(0,.90fr)
      minmax(0,.90fr) minmax(0,.88fr) !important;
    gap:clamp(2px,.7vw,6px) !important;
    padding:10px 6px !important;
    align-items:start!important;
  }
  #mobileTokenCards .mobile-token-identity {grid-column:1!important;grid-row:1!important;min-width:0!important}
  #mobileTokenCards .mobile-token-primary {grid-column:2!important;grid-row:1!important;min-width:0!important}
  #mobileTokenCards .mobile-review-row>.mobile-review-score {grid-column:3!important;grid-row:1!important}
  #mobileTokenCards .mobile-review-row>.mobile-review-verdict {grid-column:4!important;grid-row:1!important}
  #mobileTokenCards .mobile-capture-header{
    grid-column:5!important;grid-row:1!important;
    min-width:0;display:flex;flex-direction:column;
    align-items:center;justify-content:flex-start;gap:7px;
    text-align:center
  }
  #mobileTokenCards .mobile-capture-title{
    display:block;font-size:clamp(8px,2.2vw,11px);
    color:#a9c1b6;font-weight:500;line-height:1.2;
    overflow-wrap:anywhere;
  }
  #mobileTokenCards .mobile-capture-header [data-tip]{
    display:inline-flex;align-items:center;justify-content:center;
    width:clamp(27px,7.7vw,37px);height:clamp(27px,7.7vw,37px);
    min-width:0;min-height:0;
    margin:0;padding:0;font-size:clamp(16px,4.6vw,22px);
    transform:none!important;
    border-radius:50%;
  }
  #mobileTokenCards .mobile-four-metrics.one-line-metrics{
    display:grid!important;
    grid-template-columns:
      minmax(0,1fr) minmax(0,.88fr) minmax(0,.98fr)
      minmax(0,1.75fr)!important;
    gap:3px!important;
    overflow:hidden!important;
  }
  #mobileTokenCards .mobile-four-metrics>.mobile-token-field {
    min-width:0!important;width:100%!important;
    max-width:100%!important;grid-column:auto!important;
  }
  #mobileTokenCards .mobile-four-metrics>.mobile-chart-field {
    order:4;
  }
  #mobileTokenCards .mobile-four-metrics>.mobile-chart-field .mini-chart-svg,
  #mobileTokenCards .mobile-four-metrics>.mobile-chart-field .sparkline-wrap,
  #mobileTokenCards .mobile-four-metrics>.mobile-chart-field svg {
    width:100%!important;max-width:100%!important;
    /* Actual plotted SVG viewBox and path are unchanged. */
    height:34px!important;
  }
  #mobileTokenCards .mobile-chart-field .mobile-token-field-value{
    min-width:0!important;width:100%!important
  }
}
