/* headlines3-1202 mock only. restores the old 3-col story-box grid for the top 3. */
#headlines3-mock-banner{
  margin:8px auto 0;max-width:1220px;padding:0 20px;
  font:11px/1.3 var(--num,ui-monospace,monospace);color:#9d947d;
}

#sb-speeches .sbsp-open{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  align-items:stretch;
}
#sb-speeches .sbsp-open > details.spc{
  width:auto;
  margin:0;
  min-width:0;
  height:100%;
  display:flex;
  flex-direction:column;
  view-transition-name: var(--vt, none);
}
#sb-speeches .sbsp-open > details.spc[open]{
  grid-column:1 / -1;
  height:auto;
  z-index:1;
}

/* rank + icons + open on the first row; title and summary use the full box width */
#sb-speeches .sbsp-open details.spc .sum-top{
  display:grid;
  grid-template-columns:auto 1fr auto auto;
  grid-template-areas:
    "rank . icons tap"
    "body body body body";
  align-items:start;
  column-gap:8px;
  row-gap:6px;
}
#sb-speeches .sbsp-open details.spc .rank{grid-area:rank;margin:0;padding-top:2px}
#sb-speeches .sbsp-open details.spc .sum-body{grid-area:body;flex:none;min-width:0}
#sb-speeches .sbsp-open details.spc .sum-top .xpbar-compact{
  grid-area:icons;
  margin:0;
}
#sb-speeches .sbsp-open details.spc .sum-top .tap{
  grid-area:tap;
  margin:0;
  align-self:start;
}

#sb-speeches .sbsp-open details.spc:not([open]) .sum-body h2{
  -webkit-line-clamp:3;
  line-clamp:3;
}
#sb-speeches .sbsp-open details.spc:not([open]) .sowhat{
  -webkit-line-clamp:1;
  line-clamp:1;
}

#sb-speeches .sbsp-open .flip-mini{margin-top:6px}
#sb-speeches .sbsp-open .flip-mini .score-jump{display:none}
#sb-speeches .sbsp-open .flip-quiet{
  margin:0;
  font:11.5px/1.35 var(--body,system-ui,sans-serif);
  color:var(--mu,#9d947d);
}

#sb-speeches #how-scoring{margin:0 0 12px}
#sb-speeches #more-stories{margin:14px 0 0}

@media(max-width:800px){
  #sb-speeches .sbsp-open{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
}
@media(max-width:520px){
  #sb-speeches .sbsp-open{grid-template-columns:1fr;gap:10px}
}
