/* UW3D Scans 2.0 v0.1.101 — Mobile Scan Card Alignment.
   Do not affect desktop, Featured Sites, archive cards, custom icons,
   metadata, card links, mobile carousel arrows, or randomization. */
@media (max-width:760px) {
  /* The visible slides have the same stretched height; content may still grow
     for long titles/locations instead of being clipped or hidden. */
  .uw3d192-home .uw3d192-showcase #featured-scans .uw3d193-collection__grid {
    align-items:stretch!important;
  }
  .uw3d192-home .uw3d192-showcase #featured-scans .uw3d193-collection__grid > article {
    align-self:stretch!important;
  }
  .uw3d192-home .uw3d192-showcase #featured-scans .uw3d193-collection__grid > article .uw3d2-card__body {
    display:flex!important;
    flex-direction:column!important;
    flex:1 1 auto!important;
    min-height:0!important;
    gap:8px!important;
  }
  /* Reserve room for ordinary two-line names/locations without discarding
     any longer custom text. One card's long text extends the shared slide row. */
  .uw3d192-home .uw3d192-showcase #featured-scans .uw3d193-collection__grid > article .uw3d2-card__body > h3 {
    min-height:2.56em!important;
    margin:0!important;
    flex:0 0 auto!important;
    overflow:visible!important;
  }
  .uw3d192-home .uw3d192-showcase #featured-scans .uw3d193-collection__grid > article .uw3d2-card__location {
    display:flex!important;
    align-items:flex-start!important;
    min-height:2.8em!important;
    margin:0!important;
    flex:0 0 auto!important;
  }
  .uw3d192-home .uw3d192-showcase #featured-scans .uw3d193-collection__grid > article .uw3d2-card__location > span {
    min-width:0;
    overflow-wrap:anywhere;
  }
  .uw3d192-home .uw3d192-showcase #featured-scans .uw3d2-card__metrics {
    display:flex!important;
    flex:0 0 auto!important;
    margin: auto 0 8px!important;
    min-height:43px!important;
    padding:8px 0 0!important;
    border-top:1px solid #194e62!important;
    border-bottom:0!important;
    align-items:center!important;
  }
  /* Fixed label column keeps the icon and the depth value aligned both
     horizontally and vertically across models, even with custom labels. */
  .uw3d192-home .uw3d192-showcase #featured-scans .uw3d2-card__metrics > .uw3d2-card__metric:nth-child(3) {
    display:grid!important;
    grid-template-columns:minmax(82px, 38%) minmax(0, 1fr)!important;
    align-items:center!important;
    justify-items:start!important;
    align-content:center!important;
    flex:1 1 auto!important;
    min-width:0!important;
    width:100%!important;
    max-width:none!important;
    min-height:34px!important;
    gap:8px!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
  }
  .uw3d192-home .uw3d192-showcase #featured-scans .uw3d2-card__metrics > .uw3d2-card__metric:nth-child(3) > small {
    display:block!important;
    align-self:center!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    line-height:1.35!important;
    overflow-wrap:break-word;
  }
  .uw3d192-home .uw3d192-showcase #featured-scans .uw3d2-card__metrics > .uw3d2-card__metric:nth-child(3) > b {
    display:flex!important;
    align-self:center!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex-wrap:nowrap!important;
    gap:7px!important;
    margin:0!important;
    padding:0!important;
    min-width:0!important;
    line-height:1.35!important;
    white-space:nowrap;
  }
  .uw3d192-home .uw3d192-showcase #featured-scans .uw3d2-card__metrics > .uw3d2-card__metric:nth-child(3) > b svg,
  .uw3d192-home .uw3d192-showcase #featured-scans .uw3d2-card__metrics > .uw3d2-card__metric:nth-child(3) > b .uw3d2-icon,
  .uw3d192-home .uw3d192-showcase #featured-scans .uw3d2-card__metrics > .uw3d2-card__metric:nth-child(3) > b .uw3d2-site-icon {
    display:block!important;
    width:17px!important;
    height:17px!important;
    min-width:17px!important;
    min-height:17px!important;
    flex:0 0 17px!important;
    margin:0!important;
  }
  /* Only the depth and the actions use the flexible bottom anchor;
     neither may consume a second automatic margin or shift relative to the
     neighboring mobile slides. */
  .uw3d192-home .uw3d192-showcase #featured-scans .uw3d2-card__actions {
    flex:0 0 auto!important;
    margin:0!important;
    min-height:42px!important;
    align-items:stretch!important;
  }
}


/* v0.1.206 — Featured Scans mobile: depth is already shown directly under
   location. Collapse the ENTIRE obsolete metric row (not just its third
   column), its auto margin and its reserved minimum height. This intentionally
   does not touch Featured Sites, scan archives or desktop. */
@media (max-width:690px) {
  .uw3d192-home .uw3d192-showcase #featured-scans .uw3d2-card__metrics {
    display:none!important;
    height:0!important;min-height:0!important;max-height:0!important;
    flex:0 0 0!important;
    margin:0!important;padding:0!important;border:0!important;
    overflow:hidden!important;
  }
  .uw3d192-home .uw3d192-showcase #featured-scans .uw3d193-collection__grid > article .uw3d2-card__body {
    gap:6px!important;
  }
  .uw3d192-home .uw3d192-showcase #featured-scans .uw3d193-collection__grid > article .uw3d2-card__body > h3 {
    min-height:0!important;
  }
  .uw3d192-home .uw3d192-showcase #featured-scans .uw3d193-collection__grid > article .uw3d2-card__location {
    min-height:0!important;
  }
  .uw3d192-home .uw3d192-showcase #featured-scans .uw3d193-collection__grid > article .uw3d2-card__mobile-depth {
    display:flex!important;
    margin:0 0 3px!important;
    flex:0 0 auto!important;
  }
  .uw3d192-home .uw3d192-showcase #featured-scans .uw3d2-card__actions {
    margin:3px 0 0!important;
  }
}
