/* Keep the phone interface; only tablet vehicle offers use complete canonical cards. */
@media(min-width:601px) and (max-width:1100px){
 body.web-app #home{padding:22px 24px 32px!important}
 body.web-app>.bottom button{font-size:12px;min-height:50px}
 #mobileHomeFeed .tablet-full-vehicle{min-width:0;min-height:0!important;height:auto;max-width:none;align-self:flex-start}
 #mobileHomeFeed .tablet-full-vehicle>.pic{position:relative;display:block;width:100%;height:auto!important;min-height:0!important;aspect-ratio:16/10!important;flex:none;border-radius:0}
 #mobileHomeFeed .tablet-full-vehicle>.pic>img{display:block;width:100%;height:100%;object-fit:cover}
 #mobileHomeFeed .tablet-full-vehicle>.card-body{min-width:0;padding:14px;display:flex;flex-direction:column;gap:6px;flex:none}
 #mobileHomeFeed .tablet-full-vehicle .listing-card-heading h3{display:block;min-height:0;max-height:none;overflow:visible;white-space:normal;overflow-wrap:anywhere;-webkit-line-clamp:unset;font-size:16px;line-height:1.35}
 #mobileHomeFeed .tablet-full-vehicle .category-card-specs{display:flex;flex-wrap:wrap;gap:5px}
 #mobileHomeFeed .tablet-full-vehicle .listing-card-price-row.has-finance-prices{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}
 #mobileHomeFeed .tablet-full-vehicle .listing-card-finance-option strong{max-width:none;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}
 #mobileHomeFeed .tablet-full-vehicle .listing-seller-avatar img{width:100%;height:100%;object-fit:contain}
 body.web-app #vehicleFilters .lab-property-filter-row{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Compact vehicle cards keep their content height instead of stretching to the tallest rail item. */
@media(min-width:601px) and (max-width:1100px){
 body.web-app #home #mobileHomeFeed .tablet-full-vehicle>.pic{aspect-ratio:16/10!important}
 #mobileHomeFeed .tablet-full-vehicle .listing-card-finance-option{padding:2px 0!important}
 #mobileHomeFeed .tablet-full-vehicle .meta{margin-top:0!important;padding-top:8px!important;gap:6px!important}
 #mobileHomeFeed .tablet-full-vehicle .listing-card-warranty{margin:0!important}
}
@media(min-width:900px) and (max-width:1100px){
 #mobileHomeFeed .phone-row:has(.tablet-full-vehicle){gap:12px}
 #home #mobileHomeFeed .phone-row>.tablet-full-vehicle{flex:0 0 calc((100% - 24px)/3);width:calc((100% - 24px)/3)}
}

/* The tablet home continues with real public offers instead of the old mode-switch button. */
@media(min-width:601px) and (max-width:1100px){
 body.web-app #home>#mobileHomeAll{display:none!important}
 body.web-app #home{overflow-anchor:none}
 #mobileHomeFeed .tablet-home-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start;min-width:0;overflow-anchor:none}
 #home #mobileHomeFeed .tablet-home-more-grid>.phone-offer{width:100%;max-width:none;min-width:0;flex:none;align-self:start}
 #mobileHomeFeed .tablet-home-more-status{min-height:1px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:13px}
 #mobileHomeFeed .tablet-home-more-status[hidden]{display:none}
 #mobileHomeFeed .tablet-home-more-status button[hidden]{display:none}
 #mobileHomeFeed .tablet-home-continuation:has(.tablet-home-more-grid:empty):has(.tablet-home-more-status[hidden]){display:none}
}
@media(min-width:900px) and (max-width:1100px){#mobileHomeFeed .tablet-home-more-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
