/* FC VEGA CMS v0.32.211 R10 HF22 – mobile 2×3 mini-app grid.
 * Strictly additive CSS over HF21. No widget, poll, CMS or server logic replaced.
 * Wider cards let us RESTORE readable text, not shrink it further.
 */
@media (max-width: 620px) {
  html[data-vega-accent] .vega-r10-hub .vega-hf08-grid {
    display: grid!important;
    grid-template-columns: repeat(2, minmax(0,1fr))!important;
    grid-auto-flow: row!important;
    column-gap: 9px!important;
    row-gap: 9px!important;
    align-items: stretch!important;
    margin-inline: 0!important;
  }
  html[data-vega-accent] .vega-hf08-tile.hf09-tile,
  html[data-vega-accent] .vega-hf08-tile.hf09-tile:not(.hf10-poll-surface),
  html[data-vega-accent] .vega-hf08-tile.hf09-tile.hf10-poll-surface {
    height: clamp(146px, 34vw, 164px)!important;
    min-height: clamp(146px, 34vw, 164px)!important;
    max-height: none!important;
    box-sizing: border-box!important;
    min-width: 0!important;
    padding: 9px 10px 8px!important;
    border-radius: 14px!important;
  }
  html[data-vega-accent] .vega-hf08-tile.hf09-tile:not(.hf10-poll-surface) {
    grid-template-rows: 19px minmax(0,1fr) 17px!important;
    row-gap: 3px!important;
  }
  html[data-vega-accent] .vega-hf08-tile.hf09-tile .hf09-head {
    height: 19px!important;
    min-width: 0!important;
    align-items: flex-start!important;
    gap: 4px!important;
  }
  html[data-vega-accent] .vega-hf08-tile.hf09-tile .hf09-head .hf09-kicker {
    font-size: clamp(7px, 1.9vw, 8.6px)!important;
    line-height: 1.15!important;
    letter-spacing: .065em!important;
  }
  html[data-vega-accent] .vega-hf08-tile.hf09-tile .hf09-head .hf09-live {
    font-size: clamp(6px, 1.6vw, 7.5px)!important;
    line-height: 1.1!important;
    padding: 2px 4px!important;
  }
  html[data-vega-accent] .vega-hf08-tile.hf09-tile:not(.hf10-poll-surface) .hf09-body {
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    align-items:center!important;
    gap:5px!important;
    text-align:center!important;
    overflow:hidden!important;
    min-height:0!important;
  }
  html[data-vega-accent] .vega-hf08-tile.hf09-tile:not(.hf10-poll-surface) .hf09-visual,
  html[data-vega-accent] .vega-hf08-tile.hf09-tile[data-hf08="weather"] .hf09-visual,
  html[data-vega-accent] .vega-hf08-tile.hf09-tile[data-hf08="media"] .hf09-visual {
    display:grid!important;
    width: 34px!important;
    height: 31px!important;
    flex: 0 0 31px!important;
    margin: 0 auto!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  html[data-vega-accent] .vega-hf08-tile.hf09-tile:not(.hf10-poll-surface) .hf09-visual svg {
    max-height: 31px!important;
    max-width: 34px!important;
    width: 100%!important;
    height: 100%!important;
  }
  html[data-vega-accent] .vega-hf08-tile.hf09-tile .hf09-copy {
    width: 100%!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    gap:3px!important;
    padding:0 2px!important;
    margin:0!important;
    min-width:0!important;
  }
  html[data-vega-accent] .vega-hf08-tile.hf09-tile .hf09-copy .vega-hf08-title {
    width:100%!important;
    text-align:center!important;
    font-size: clamp(11px, 2.9vw, 13px)!important;
    line-height:1.16!important;
    letter-spacing:-.015em!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    hyphens:auto!important;
    -webkit-line-clamp:2!important;
    line-clamp:2!important;
  }
  html[data-vega-accent] .vega-hf08-tile.hf09-tile .hf09-copy .vega-hf08-value {
    width:100%!important;
    text-align:center!important;
    font-size: clamp(9.5px, 2.5vw, 11px)!important;
    line-height:1.25!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
    -webkit-line-clamp:2!important;
    line-clamp:2!important;
  }
  html[data-vega-accent] .vega-hf08-tile.hf09-tile .hf09-foot {
    display:flex!important;
    width:100%!important;
    min-height:0!important;
    height:17px!important;
    padding:3px 0 0!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    font-size:clamp(8px,2vw,9.5px)!important;
    line-height:1.1!important;
    letter-spacing:.01em!important;
  }
  html[data-vega-accent] .vega-hf08-tile.hf09-tile .hf09-foot > span {
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    text-overflow:ellipsis!important;
  }
  /* The poll still contains an actual select and submit. Both controls remain usable. */
  html[data-vega-accent] .vega-hf08-tile.hf09-tile.hf10-poll-surface {
    grid-template-rows: 19px minmax(0,1fr) 35px 17px!important;
    row-gap:3px!important;
    cursor:default!important;
  }
  html[data-vega-accent] .hf10-poll-surface .hf09-body {
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    overflow:hidden!important;
    min-height:0!important;
  }
  html[data-vega-accent] .hf10-poll-surface .hf09-visual {display:none!important}
  html[data-vega-accent] .hf10-poll-surface .hf09-copy {gap:3px!important}
  html[data-vega-accent] .hf10-poll-surface .hf09-copy .vega-hf08-title {font-size:clamp(11px,2.8vw,12.5px)!important}
  html[data-vega-accent] .hf10-poll-surface .hf09-copy .vega-hf08-value {
    font-size:clamp(9px,2.25vw,10.5px)!important;
    -webkit-line-clamp:2!important;
    line-clamp:2!important;
  }
  html[data-vega-accent] .hf10-poll-surface .hf10-poll-inline,
  html[data-vega-accent] .hf10-poll-surface .hf10-poll-form {min-width:0!important;width:100%!important;align-items:center!important}
  html[data-vega-accent] .hf10-poll-surface .hf10-poll-form {gap:5px!important}
  html[data-vega-accent] .hf10-poll-surface .hf10-poll-form select {
    min-width:0!important;
    height:34px!important;
    font-size:clamp(10px,2.4vw,11px)!important;
    line-height:1.12!important;
    padding:0 6px!important;
    border-radius:7px!important;
  }
  html[data-vega-accent] .hf10-poll-surface .hf10-poll-form button {
    flex:0 0 35px!important;
    width:35px!important;
    min-width:35px!important;
    height:34px!important;
    font-size:16px!important;
    border-radius:7px!important;
  }
  html[data-vega-accent] .hf10-poll-surface .hf10-poll-details {
    font-size:8px!important;
    line-height:1.05!important;
    justify-content:center!important;
    text-align:center!important;
    padding-top:3px!important;
  }
  /* No compacting the tiles after page scroll. */
  html.vega-hf09-scrolled[data-vega-accent] .vega-r10-hub .vega-hf08-tile.hf09-tile {
    height:clamp(146px,34vw,164px)!important;
    min-height:clamp(146px,34vw,164px)!important;
  }
}
@media(max-width:360px){
  html[data-vega-accent] .vega-r10-hub .vega-hf08-grid {gap:7px!important}
  html[data-vega-accent] .vega-hf08-tile.hf09-tile {padding-inline:8px!important}
  html[data-vega-accent] .vega-hf08-tile.hf09-tile .hf09-copy .vega-hf08-title {font-size:11px!important}
  html[data-vega-accent] .vega-hf08-tile.hf09-tile .hf09-copy .vega-hf08-value {font-size:9px!important}
}
@media (prefers-reduced-motion:reduce){
  html[data-vega-accent] .vega-hf08-tile.hf09-tile,
  html[data-vega-accent] .vega-hf08-tile.hf09-tile * {transition:none!important;animation:none!important}
}
