/* Xem ban do toan man hinh (map-view.js) */
.tgc-mv-btn{display:none}
@media (max-width:1023px){
  .tgc-mv-btn{position:absolute;right:12px;bottom:12px;z-index:40;display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 14px 0 11px;border:1px solid rgba(255,255,255,.35);border-radius:999px;
    background:rgba(20,28,25,.78);color:#fff;font:600 12px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;letter-spacing:.02em;text-transform:none;white-space:nowrap;cursor:pointer;
    box-shadow:0 4px 14px rgba(0,0,0,.25);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);-webkit-tap-highlight-color:transparent;pointer-events:auto}
  .tgc-mv-btn svg{width:16px;height:16px;flex:0 0 auto}
  .tgc-mv-btn:active{transform:scale(.96)}
  /* trang chu / Grand View: ban do chiem nua tren, chu o duoi -> dat nut o tren, duoi header */
  .tgc-mv-btn--top{top:76px;bottom:auto;right:16px}
  .tgc-mv-btn--tl{top:10px;left:10px;right:auto;bottom:auto}
  .tgc-mv-btn--bl{left:10px;right:auto;bottom:10px}
}

/* ---- Ban do dang anh: tren dien thoai hien du ca ban do (nho cung duoc), khong cat / phong ---- */
@media (max-width:767px){
  /* Trang chu, Masteri Grand View: ban goc phong 1.5 lan trong khung cuon ngang */
  .locationInfo__info .item-map{transform:none!important;position:absolute!important;left:50%!important;top:46%!important;right:auto!important;bottom:auto!important;
    translate:-50% -50%;width:100%!important;height:auto!important;margin:0!important}
  .locationInfo__info .item-map__scroll{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;overflow:hidden!important;transform:none!important}
  .locationInfo__info .map-inner{width:100%!important;height:auto!important;transform:none!important;left:auto!important;top:auto!important;margin:0!important}
  .locationInfo__info .map-inner>svg{display:block;width:100%!important;height:auto!important}
  .locationInfo__info .item-map .item-map__btn.d-none{display:none!important} /* nut +/- goc phong to bang scale - da thay bang nut Phong to ban do */
  /* SOHO: khung 40vh cat 2 ben -> khung dung ti le anh, cờ / duong ve theo toa do ban may tinh */
  #home-map>.lg\:hidden>:first-child{height:auto!important;aspect-ratio:2880/1448}
  #home-map>.lg\:hidden>:first-child img{object-fit:contain!important}
  #home-map>.lg\:hidden>:first-child .animate-flag-map{left:66%!important;top:22%!important;width:10%!important;height:10%!important}
  #home-map>.lg\:hidden>:first-child svg{left:50%!important;top:8.4%!important;width:49.3%!important;height:61.7%!important}
  /* Masteri Cosmo Central: anh vuong cat -> hien du nhu ban may tinh */
  #map img[alt="Map section"]{object-fit:contain!important;object-position:top!important}
}
.tgc-mv{position:fixed;inset:0;z-index:2147483500;display:none;background:#10140f;color:#fff;touch-action:none;overscroll-behavior:contain}
.tgc-mv.is-open{display:block}
html.tgc-mv-on,html.tgc-mv-on body{overflow:hidden!important}
.tgc-mv__stage{position:absolute;inset:0;overflow:hidden;touch-action:none;cursor:grab}
.tgc-mv__stage:active{cursor:grabbing}
.tgc-mv__wrap{position:absolute;left:0;top:0;transform-origin:0 0}
.tgc-mv__wrap>*{display:block}
.tgc-mv__wrap img{-webkit-user-drag:none;user-select:none;pointer-events:none}
.tgc-mv__x{position:absolute;top:calc(10px + env(safe-area-inset-top));right:10px;z-index:3;width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;cursor:pointer}
.tgc-mv__x svg{width:22px;height:22px}
.tgc-mv__zoom{position:absolute;right:10px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:3;display:flex;flex-direction:column;gap:6px}
.tgc-mv__zoom button{width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;font:400 24px/1 system-ui,sans-serif;cursor:pointer}
.tgc-mv__zoom svg{width:18px;height:18px}
.tgc-mv__hint{position:absolute;left:50%;bottom:calc(20px + env(safe-area-inset-bottom));z-index:2;transform:translateX(-50%);max-width:calc(100% - 120px);padding:8px 14px;border-radius:999px;background:rgba(0,0,0,.6);
  font:400 13px/1.35 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;text-align:center;transition:opacity .4s;pointer-events:none}
.tgc-mv.hint-off .tgc-mv__hint{opacity:0}
