/* thesimind.si v2.27.0 (Nov 17, 2026): every live pill, live badge, on air or up next bar and every label over a centered
   heading sits centered with its section, at every width and in every language; Mission Control's numbers fill their rows
   evenly. Loaded after si.css and simind.css on every page (written by SCRATCH/pass-roadtest/site_patch.py). */

/* the "Live now" pill over a centered heading (si.css pins the pill to the left edge of a column) */
.wk-live-head>.news-flag,.mind-hero .news-flag,.st-hero .news-flag{align-self:center}

/* phones: a section label right above a heading centers with that heading (thesimind.si's inline-block label otherwise
   stays on the left while the heading under it is centered) */
@media (max-width:760px){
  .mindsite main .kicker:has(+:is(h1,h2,h3,h4)){display:table;margin-left:auto;margin-right:auto;text-align:center}
}

/* Mission Control: the Live badge and the On air / Up next bar sit in the middle of the card */
.ml-badges{justify-content:center}
@container (max-width:1640px){
  .ml-top{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-areas:"brand badges ." "stats stats stats" "acts acts acts"}
  .ml[data-view="basic"] .ml-top{grid-template-areas:"brand badges ." "acts acts acts"}
}
/* narrower: the name, then the badges, each centered on its own row */
@container (max-width:1300px){
  .ml-top{grid-template-columns:minmax(0,1fr);grid-template-areas:"brand" "badges" "stats" "acts"}
  .ml[data-view="basic"] .ml-top{grid-template-areas:"brand" "badges" "acts"}
  .ml-brand{justify-content:center}
  .ml-badges{flex-wrap:wrap}
}
/* phones: the bar takes the full width with its words centered, and the numbers fill every row evenly: six as 3 and 3,
   five in one row, four as 2 and 2, three in one row (tiles with nothing to show yet stay hidden, as before) */
@container (max-width:620px){
  .ml-badges>.ml-onair{flex:1 1 100%;justify-content:center;flex-wrap:wrap;row-gap:3px;white-space:normal;text-align:center;border-radius:18px;padding:6px 12px}
  .ml-top>.ml-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 0;justify-items:stretch;align-items:start}
  .ml-top>.ml-stats:has(>li[hidden]):not(:has(>li[hidden]~li[hidden])){grid-template-columns:repeat(5,minmax(0,1fr))}
  .ml-top>.ml-stats:has(>li[hidden]~li[hidden]):not(:has(>li[hidden]~li[hidden]~li[hidden])){grid-template-columns:repeat(2,minmax(0,1fr))}
  .ml-top>.ml-stats li,.ml-top>.ml-stats li:first-child{flex:none;min-width:0;margin:0;padding:0 4px;border-left:0;align-items:center;text-align:center}
  .ml-tools .ml-clock{text-align:center}
}
