/* Chordly App Shell — viewport / full-screen chuan PWA (CEO 01/12/2026).
   Chi sua root layout + viewport + safe-area. Khong doi thiet ke Master. */
html, body {
  width: 100% !important;
  min-width: 100%;
  max-width: 100%;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  background: #0B1020;
  overflow-x: hidden;
}
body { position: relative; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.phone {
  width: 100% !important;
  max-width: 100%;
  height: 100dvh !important;
  min-height: 100svh;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.bg { width: 100% !important; height: 100% !important; object-fit: cover; background-size: cover; background-position: center; }
@supports (margin-bottom: env(safe-area-inset-bottom)) {
  .nav { margin-bottom: env(safe-area-inset-bottom); }
}
@media (max-height: 700px) {
  .phone { overflow-y: auto; }
}
