.ended-page .wrap{max-width:1100px}
.ended-page h1{margin-top:36px}
.ended-page .lede:empty{display:none}
.ended-summary{max-width:760px;padding:24px;margin:20px 0 28px}
.ended-item{font-size:20px;line-height:1.45;color:var(--muted);margin-bottom:20px}
.ended-summary .getdeal{font-size:16px;padding:12px 20px;white-space:normal}
.ended-picks[hidden]{display:none}
.ended-picks{margin-bottom:32px}
.ended-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.ended-card{display:flex;flex:1;flex-direction:column;color:var(--fg)}
.ended-card:hover{text-decoration:none}
.ended-card:hover .title{text-decoration:underline}
.ended-card:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}
.ended-card .media{height:150px;display:flex;align-items:center;justify-content:center;background:var(--card)}
.ended-card img{width:88%;height:88%;object-fit:contain}
.ended-card .title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:44px}
.ended-card .pricerow{margin-top:auto}
@media(prefers-color-scheme:dark){.ended-card .media{background:var(--photo-tile,var(--muted))}.ended-card img{mix-blend-mode:multiply}}
@media(max-width:640px){
  .ended-page h1{font-size:28px;margin-top:26px}
  .ended-summary{padding:20px}
  .ended-item{font-size:18px}
  .ended-summary .getdeal{width:100%;text-align:center}
  .ended-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .ended-card .media{height:120px}
  .ended-card .now{font-size:20px}
}
