/* Each counter keeps its content height; a promotion cannot stretch every row. */
html body #resultsBody :is(.counter-grid,.msf-counter-grid){grid-auto-rows:auto!important;align-items:start!important}
html body #resultsBody :is(.counter-grid,.msf-counter-grid)>.counter-card{min-height:0!important;align-self:start!important}
html body #resultsBody .msf-counter-grid>.msf-merch-card{min-height:0!important;align-self:start!important}
/* Half-size merch face, shared by desktop and phone counter results. */
html body #resultsBody .msf-merch-card .merch-layout{display:grid;grid-template-columns:minmax(70px,30%) minmax(0,1fr);grid-template-rows:1fr auto;min-height:150px;align-items:stretch;flex:initial}
html body #resultsBody .msf-merch-card .merch-photo{grid-column:1;grid-row:1/3;height:auto;min-height:0;align-self:stretch}
html body #resultsBody .msf-merch-card .merch-photo img{width:100%;height:150px;max-height:none;object-fit:contain;align-self:center}
html body #resultsBody .msf-merch-card .merch-copy{padding:12px 12px 4px}
html body #resultsBody .msf-merch-card .merch-meta{margin:0 0 6px}
html body #resultsBody .msf-merch-card .merch-brand,
html body #resultsBody .msf-merch-card .merch-description{display:none}
html body #resultsBody .msf-merch-card .merch-title{font-size:20px;line-height:1.12}
html body #resultsBody .msf-merch-card .merch-sticker-name{margin:4px 0 0}
html body #resultsBody .msf-merch-card .merch-action{padding:4px 12px 12px}
html body #resultsBody .msf-merch-card .merch-cta{min-height:44px;font-size:13px;padding:6px 8px;white-space:normal;text-align:center}
html body #resultsBody .msf-merch-card .merch-controls{padding:6px 10px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 8px;justify-content:center}
html body #resultsBody .msf-merch-card .merch-controls button{width:100%;min-width:0;height:44px;padding:0}
@media(max-width:767px){
 html body #resultsBody .msf-merch-card .merch-layout{min-height:123px;grid-template-columns:minmax(62px,28%) minmax(0,1fr)}
 html body #resultsBody .msf-merch-card .merch-photo img{height:123px}
 html body #resultsBody .msf-merch-card .merch-copy{padding:9px 10px 0}
 html body #resultsBody .msf-merch-card .merch-meta{margin-bottom:3px}
 html body #resultsBody .msf-merch-card .merch-title{font-size:18px}
 html body #resultsBody .msf-merch-card .merch-action{padding:3px 10px 6px}
}

html body #resultsBody .msf-merch-card .merch-controls output{grid-row:1;grid-column:1/-1;text-align:center}

/* Every owner-controlled counter promotion uses its short face at all widths. */
html body #resultsBody .msf-counter-grid>.msf-counter-ad.msf-counter-ad{min-height:125px!important;align-self:start!important}
html body #resultsBody .msf-counter-grid>.has-counter-short{padding:0!important}
#resultsBody .has-counter-short>:not(.counter-short){display:none!important}
#resultsBody .has-counter-short>.counter-short{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto 1fr auto;align-items:center;gap:5px 10px;min-height:123px;padding:11px 14px;color:inherit;text-align:left}
#resultsBody .short-brandline{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;font:700 11px/1.2 MSFAdOutfit,sans-serif;letter-spacing:.08em}
#resultsBody .short-brandline small{font:500 11px/1.2 MSFAdOutfit,sans-serif;letter-spacing:0}
#resultsBody .short-headline{grid-column:1;align-self:center;font:700 22px/1.08 MSFAdOutfit,sans-serif;letter-spacing:-.025em}
#resultsBody .short-action{grid-column:1;font:600 13px/1.25 MSFAdOutfit,sans-serif;text-decoration:underline;text-underline-offset:3px}
#resultsBody .short-art{grid-column:2;grid-row:2/4;width:54px;height:54px;border-radius:7px;object-fit:contain}
#resultsBody .msf-counter-ad.debrief .short-brandline,#resultsBody .msf-counter-ad.debrief .short-action{color:#ffb4bf}
#resultsBody .msf-amazon-card{padding:8px 12px!important;gap:4px}
#resultsBody .msf-amazon-card .amazon-body{gap:8px;flex-direction:row;align-items:center}
#resultsBody .msf-amazon-card .amazon-body img{width:42px;height:44px;object-fit:contain}
#resultsBody .msf-amazon-card .amazon-copy strong{font-size:15px!important}
#resultsBody .msf-amazon-card .amazon-description{display:none}
#resultsBody .msf-amazon-card .amazon-cta{min-height:32px;padding:3px 8px;align-self:start}
