/* Home V10 Phase 5N — screenshot-driven mobile spacing/grid stabilization.
 * Keeps the proven Home data/recovery path and only tightens mobile composition.
 */
@media (max-width:820px){
  html[data-cardondo-home="v10-shell"] .homeV10HeaderInner{padding:10px 14px 7px!important;gap:8px 10px!important}
  html[data-cardondo-home="v10-shell"] .homeV10GlobalSearch{min-height:46px!important;border-radius:13px!important}
  html[data-cardondo-home="v10-shell"] .homeV10GlobalSearch button{min-height:36px!important;border-radius:10px!important}
  html[data-cardondo-home="v10-shell"] .homeV10Brand{min-height:42px!important;font-size:18px!important}
  html[data-cardondo-home="v10-shell"] .homeV10CategoryNav{min-height:44px!important;padding:0 14px 7px!important}
  html[data-cardondo-home="v10-shell"] .homeV10CategoryNav a:nth-child(1),
  html[data-cardondo-home="v10-shell"] .homeV10CategoryNav a:nth-child(6),
  html[data-cardondo-home="v10-shell"] .homeV10CategoryNav a:nth-child(7),
  html[data-cardondo-home="v10-shell"] .homeV10CategoryNav a:nth-child(9){min-height:34px!important;border-radius:10px!important}

  html[data-cardondo-home="v10-shell"] .homeV10PublicSummary{margin:14px 0 2px!important;padding:14px!important;border-radius:14px!important}
  html[data-cardondo-home="v10-shell"] .homeV10SummaryTop h1{font-size:24px!important}
  html[data-cardondo-home="v10-shell"] .homeV10SummaryTop p{font-size:11px!important}
  html[data-cardondo-home="v10-shell"] .homeV10SummaryMetrics{margin-top:12px!important;gap:6px!important}
  html[data-cardondo-home="v10-shell"] .homeV10SummaryMetric{min-height:61px!important;padding:8px 6px!important}
  html[data-cardondo-home="v10-shell"] .homeV10SummaryMetric strong{font-size:22px!important}

  html[data-cardondo-home="v10-shell"] .v9Main{width:calc(100% - 28px)!important;margin-bottom:32px!important}
  html[data-cardondo-home="v10-shell"] .v9Section{margin-top:18px!important}
  html[data-cardondo-home="v10-shell"] .v9Section>header{margin:0 0 9px!important}
  html[data-cardondo-home="v10-shell"] .v9Section h2{font-size:20px!important}
  html[data-cardondo-home="v10-shell"] .v9News + .v9Movement{margin-top:24px!important}
  html[data-cardondo-home="v10-shell"] .v9Movement + .v9CompactOneInsight{margin-top:20px!important}

  html[data-cardondo-home="v10-shell"] .v9CompactFeatured .v9State,
  html[data-cardondo-home="v10-shell"] .v9News .v9State,
  html[data-cardondo-home="v10-shell"] .v9Movement .v9State{
    min-height:68px!important;display:flex!important;align-items:center!important;padding:10px 0!important;border-top:1px solid #ececeb!important;color:#777d84!important;font-size:12px!important;font-weight:700!important;line-height:1.45!important
  }

  html[data-cardondo-home="v10-shell"] .v9News>header,
  html[data-cardondo-home="v10-shell"] .v9Movement>header{position:relative!important}
  html[data-cardondo-home="v10-shell"] .homeV10SectionMore{
    position:absolute!important;top:0!important;right:0!important;display:inline-flex!important;align-items:center!important;justify-content:flex-end!important;min-height:26px!important;padding:0!important;color:#70757b!important;font-size:10.5px!important;line-height:1!important;font-weight:800!important;letter-spacing:-.02em!important;text-decoration:none!important;white-space:nowrap!important
  }
  html[data-cardondo-home="v10-shell"] .v9News>header>div,
  html[data-cardondo-home="v10-shell"] .v9Movement>header>div:first-child{padding-right:72px!important}

  html[data-cardondo-home="v10-shell"] .v9News>header{margin-bottom:10px!important}
  html[data-cardondo-home="v10-shell"] .v9NewsList{position:relative!important;overflow:visible!important;border-top:1px solid #ececeb!important}
  html[data-cardondo-home="v10-shell"] .v9NewsList::before{content:""!important;position:absolute!important;z-index:0!important;left:53px!important;top:14px!important;bottom:14px!important;width:1px!important;background:#d9dde0!important;pointer-events:none!important}
  html[data-cardondo-home="v10-shell"] .v9NewsRow{position:relative!important;z-index:1!important;min-height:64px!important;padding:7px 0!important;display:grid!important;grid-template-columns:42px 8px 40px minmax(0,1fr)!important;column-gap:7px!important;border-top:0!important;border-bottom:1px solid #ececeb!important;align-items:center!important;background:transparent!important}
  html[data-cardondo-home="v10-shell"] .v9NewsRow:last-child{border-bottom:0!important}
  html[data-cardondo-home="v10-shell"] .v9NewsRow time{font-size:10px!important;font-weight:750!important;color:#858a91!important;text-align:right!important}
  html[data-cardondo-home="v10-shell"] .v9NewsDot{position:relative!important;z-index:2!important;width:8px!important;height:8px!important;justify-self:center!important;border:2px solid #fff!important;border-radius:50%!important;box-sizing:content-box!important}
  html[data-cardondo-home="v10-shell"] .v9NewsThumb{width:38px!important;height:52px!important;border-radius:6px!important;box-shadow:0 1px 3px rgba(18,23,31,.08)!important}
  html[data-cardondo-home="v10-shell"] .v9NewsRow>span:last-child{min-width:0!important;padding-left:2px!important}
  html[data-cardondo-home="v10-shell"] .v9NewsRow b{font-size:13px!important;line-height:1.22!important;font-weight:850!important}
  html[data-cardondo-home="v10-shell"] .v9NewsRow small{display:block!important;margin-top:3px!important;font-size:10px!important;line-height:1.26!important}
  html[data-cardondo-home="v10-shell"] .v9NewsPrice{font-size:11.5px!important;font-weight:850!important}

  html[data-cardondo-home="v10-shell"] .v9Movement>header{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;margin-bottom:10px!important}
  html[data-cardondo-home="v10-shell"] .v9Segments{width:100%!important;min-height:36px!important;margin-top:0!important;padding:3px!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:3px!important;border-radius:12px!important;background:#f3f3f1!important;box-sizing:border-box!important}
  html[data-cardondo-home="v10-shell"] .v9Segments button{min-height:30px!important;padding:0 8px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#7a7f85!important;font-size:10.5px!important;font-weight:850!important}
  html[data-cardondo-home="v10-shell"] .v9Segments button.active{background:#fff0f1!important;color:#e94b5f!important;box-shadow:none!important}

  html[data-cardondo-home="v10-shell"] .v9MovementPolished .v9MoveList{width:100%!important;overflow:hidden!important;border:1px solid #ececeb!important;border-radius:14px!important;background:#fff!important;box-shadow:0 1px 2px rgba(18,23,31,.02)!important}
  html[data-cardondo-home="v10-shell"] .v9MoveRow{position:relative!important;width:100%!important;min-width:0!important;min-height:76px!important;padding:10px 12px!important;grid-template-columns:24px 42px minmax(0,1fr) 84px!important;grid-template-areas:"rank thumb identity change" "rank thumb identity price"!important;column-gap:8px!important;row-gap:2px!important;border-top:0!important;border-bottom:1px solid #ececeb!important;align-items:center!important;box-sizing:border-box!important;text-decoration:none!important}
  html[data-cardondo-home="v10-shell"] .v9MoveRow[data-direction="up"]{display:grid!important}
  html[data-cardondo-home="v10-shell"] .v9MoveRow[data-direction="down"]{display:none!important}
  html[data-cardondo-home="v10-shell"] .v9MoveList.show-down .v9MoveRow[data-direction="up"]{display:none!important}
  html[data-cardondo-home="v10-shell"] .v9MoveList.show-down .v9MoveRow[data-direction="down"]{display:grid!important}
  html[data-cardondo-home="v10-shell"] .v9MoveRow::before{content:""!important;grid-area:rank!important;align-self:center!important;justify-self:center!important;display:grid!important;place-items:center!important;width:20px!important;height:20px!important;border-radius:999px!important;background:#fff1f2!important;color:#ef334e!important;font-size:10px!important;line-height:1!important;font-weight:900!important}
  html[data-cardondo-home="v10-shell"] .v9MoveRow[data-direction="up"]:nth-child(1)::before{content:"1"!important}
  html[data-cardondo-home="v10-shell"] .v9MoveRow[data-direction="up"]:nth-child(2)::before{content:"2"!important}
  html[data-cardondo-home="v10-shell"] .v9MoveRow[data-direction="up"]:nth-child(3)::before{content:"3"!important}
  html[data-cardondo-home="v10-shell"] .v9MoveRow[data-direction="down"]::before{background:#eef6ff!important;color:#2174c9!important}
  html[data-cardondo-home="v10-shell"] .v9MoveRow[data-direction="down"]:nth-child(4)::before{content:"1"!important}
  html[data-cardondo-home="v10-shell"] .v9MoveRow[data-direction="down"]:nth-child(5)::before{content:"2"!important}
  html[data-cardondo-home="v10-shell"] .v9MoveRow[data-direction="down"]:nth-child(6)::before{content:"3"!important}
  html[data-cardondo-home="v10-shell"] .v9MoveRow:last-child{border-bottom:0!important}
  html[data-cardondo-home="v10-shell"] .v9Thumb{grid-area:thumb!important;width:40px!important;height:55px!important;border-radius:6px!important;box-shadow:0 1px 3px rgba(18,23,31,.08)!important}
  html[data-cardondo-home="v10-shell"] .v9MoveIdentity{grid-area:identity!important;min-width:0!important;align-self:center!important;padding-right:2px!important}
  html[data-cardondo-home="v10-shell"] .v9MoveIdentity strong{display:block!important;font-size:13.5px!important;line-height:1.22!important;font-weight:850!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  html[data-cardondo-home="v10-shell"] .v9MoveIdentity small{display:block!important;margin-top:4px!important;font-size:9.8px!important;line-height:1.24!important;color:#858a90!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  html[data-cardondo-home="v10-shell"] .v9MoveChange{grid-area:change!important;align-self:end!important;justify-self:end!important;white-space:nowrap!important;font-size:13px!important;line-height:1.15!important;font-weight:900!important}
  html[data-cardondo-home="v10-shell"] .v9MovePrice{grid-area:price!important;align-self:start!important;justify-self:end!important;min-width:0!important;text-align:right!important;font-size:11.5px!important;line-height:1.18!important;font-weight:850!important;overflow:visible!important}
  html[data-cardondo-home="v10-shell"] .v9MovePrice>span{display:block!important;white-space:nowrap!important}
  html[data-cardondo-home="v10-shell"] .v9MovePrice small{display:none!important}
  html[data-cardondo-home="v10-shell"] .v9MoveSpark{display:none!important}

  html[data-cardondo-home="v10-shell"] .v9CompactOneInsight,
  html[data-cardondo-home="v10-shell"] .v9EvidenceMore,
  html[data-cardondo-home="v10-shell"] .v9Rules{margin-top:16px!important}
  html[data-cardondo-home="v10-shell"] .homeV10BottomNav{min-height:64px!important;padding-top:2px!important;padding-bottom:max(5px,env(safe-area-inset-bottom))!important}
  html[data-cardondo-home="v10-shell"] .homeV10BottomNav a{min-height:57px!important}
}

@media (max-width:390px){
  html[data-cardondo-home="v10-shell"] .v9MoveRow{padding-left:9px!important;padding-right:9px!important;grid-template-columns:22px 40px minmax(0,1fr) 80px!important;column-gap:7px!important}
  html[data-cardondo-home="v10-shell"] .v9Thumb{width:38px!important;height:52px!important}
  html[data-cardondo-home="v10-shell"] .v9MoveIdentity strong{font-size:13px!important}
  html[data-cardondo-home="v10-shell"] .v9MoveIdentity small{font-size:9.4px!important}
}

/* Phase 5O — final screenshot correction: use the reference's simple 3-zone mover row.
 * The previous synthetic rank column created a large visual gap on Samsung Internet.
 */
@media (max-width:820px){
  html[data-cardondo-home="v10-shell"] .v9MoveRow{
    min-height:76px!important;
    padding:10px 12px!important;
    grid-template-columns:42px minmax(0,1fr) 92px!important;
    grid-template-areas:"thumb identity change" "thumb identity price"!important;
    column-gap:10px!important;
    row-gap:2px!important;
  }
  html[data-cardondo-home="v10-shell"] .v9MoveRow::before{content:none!important;display:none!important}
  html[data-cardondo-home="v10-shell"] .v9Thumb{grid-area:thumb!important;width:40px!important;height:55px!important;justify-self:start!important}
  html[data-cardondo-home="v10-shell"] .v9MoveIdentity{grid-area:identity!important;justify-self:stretch!important;text-align:left!important;padding:0 6px 0 0!important}
  html[data-cardondo-home="v10-shell"] .v9MoveChange{grid-area:change!important;width:92px!important;justify-self:end!important;text-align:right!important}
  html[data-cardondo-home="v10-shell"] .v9MovePrice{grid-area:price!important;width:92px!important;justify-self:end!important;text-align:right!important}
  html[data-cardondo-home="v10-shell"] .v9MoveGap{display:none!important}
}
@media (max-width:390px){
  html[data-cardondo-home="v10-shell"] .v9MoveRow{grid-template-columns:40px minmax(0,1fr) 86px!important;padding-left:10px!important;padding-right:10px!important;column-gap:9px!important}
  html[data-cardondo-home="v10-shell"] .v9MoveChange,
  html[data-cardondo-home="v10-shell"] .v9MovePrice{width:86px!important}
}