/* Lớp bổ sung của code (không sửa bản vẽ viga-web.css): luật Oswald ≥1.2 + co giãn điện thoại ≤760px */
.vg-age{line-height:1.2}
.vg-h1,.vg-h2,.vg-h3,.vg-disp{overflow-wrap:anywhere}
img,svg{max-width:100%}
/* W12 (v3) đặt đầu/chân trang ngoài khối .vg: cho chúng cùng font, màu, bỏ gạch chân như các trang khác */
body{background:var(--vg-bg);color:var(--vg-ink);font-family:var(--vg-font)}
.vg-top a,.vg-foot a{text-decoration:none}

@media (max-width:760px){
  html,body{overflow-x:hidden}
  .vg-wrap{padding-left:16px;padding-right:16px}
  .vg-top__in{gap:10px;height:60px}
  .vg-nav{display:none}
  .vg-sec{padding:44px 0}
  .vg-h1{font-size:34px!important}
  .vg-h2{font-size:28px!important}
  [style*="grid-template-columns"]{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
  [style*="repeat(4,minmax(0,1fr))"],[style*="repeat(3,minmax(0,1fr))"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  [style*="flex-direction:row"],.vg-sec__head{flex-wrap:wrap}
  [style*="min-width"]{min-width:0!important}
  [style*="width:2"],[style*="width:3"],[style*="width:4"],[style*="width:5"],[style*="width:6"]{max-width:100%}
  [style*="position:sticky"]{position:static!important}
  .vg-pod__row{flex-direction:column;align-items:center;padding:0 16px}
  .vg-pod__row>*{margin-bottom:0!important;width:100%;max-width:340px}
  aside{width:auto!important;max-width:100%}
  /* W12: ba ô số một hàng đủ rộng, các tab cuộn ngang trong khung chứ không đẩy trang */
  [style*="repeat(3,170px)"]{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;width:100%}
  [style*="repeat(3,170px)"] .vg-stat b{font-size:16px!important;overflow-wrap:anywhere}
  nav[aria-label="Mục khu người chơi"]{overflow-x:auto;flex-wrap:nowrap;padding-bottom:8px!important}
  nav[aria-label="Mục khu người chơi"] button{flex:none}
  [style*="grid-template-columns"] > .vg-mono.vg-note{font-size:11.5px}
  [data-tab] [style*="grid-template-columns"]{font-size:12.5px}
}
