/* Extra skill-station names (no photos) and phone deck-card height for the longer copy. */
.st-extra{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:12px 0 0;padding:0}
.st-extra li{
  display:inline-flex;align-items:center;
  border-radius:999px;padding:6px 12px;
  font-size:14px;font-weight:700;line-height:1.2;
  background:#fff;color:var(--ink);
  border:1.5px solid var(--grey-10);
  white-space:nowrap;word-break:keep-all;
}
@media (max-width:799px){
  .d-st-visual .st-extra{margin:0;padding:8px 14px 0;background:var(--blue-5)}
  /* Beat d.css .d-prog.is-stack .d-panel { height: calc(...) } so the longer
     stations copy and chips are not clipped. */
  .d-prog.is-stack .d-panel.d-panel-stations{
    height:auto;
    min-height:calc(min(70vw,280px) * .7 + 236px);
  }
}

/* Seven photo stations: 4+3, no leftover gap. Visible from 800px (phone uses the cycle). */
@media (min-width:800px){
  .d-panel-stations .st-grid.st-grid-7{
    grid-template-columns:repeat(12,minmax(0,1fr));
    gap:12px;
  }
  .d-panel-stations .st-grid.st-grid-7 .st-grid-tile{grid-column:span 3;min-width:0}
  .d-panel-stations .st-grid.st-grid-7 .st-grid-tile:nth-child(n+5){grid-column:span 4}
}
.st-grid-art img.st-rebounding-v1,
.d-st-cycle-stage img.st-rebounding-v1{object-position:50% 50%}

/* Eight photo stations: two even rows of four, no leftover gap. */
@media (min-width:800px){
  .d-panel-stations .st-grid.st-grid-8{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
  }
  .d-panel-stations .st-grid.st-grid-8 .st-grid-tile{grid-column:auto;min-width:0}
}
.st-grid-art img.st-defense-v1,
.d-st-cycle-stage img.st-defense-v1{object-position:50% 50%}

/* Nine photo stations: clean 3x3, no leftover gap. From 800px (phone uses the cycle). */
@media (min-width:800px){
  .d-panel-stations .st-grid.st-grid-9{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
  }
  .d-panel-stations .st-grid.st-grid-9 .st-grid-tile{grid-column:auto;min-width:0}
}
.st-grid-art img.st-offense-v1,
.d-st-cycle-stage img.st-offense-v1{object-position:50% 50%}
