
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-size: clamp(14px, 1.1vw + 10px, 15px);
  min-height: 100dvh; 
}
img, svg, video, canvas {
  max-width: 100%;
  height: auto;
}
h1, .font-display {
  overflow-wrap: break-word;
}
@media (max-width: 480px) {
  input, select, textarea {
    font-size: 16px !important;
  }
  button, a.rounded-xl, [onclick] {
    min-height: 44px;
  }
  main {
    padding: 12px !important;
  }
  .card, header, aside {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
  }
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .grid {
    grid-template-columns: 1fr !important;
  }
  #qrAIAUTO > div, #dnAIAUTO > div {
    max-height: 92dvh;
    overflow-y: auto;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .grid.md\:grid-cols-2, .grid.xl\:grid-cols-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  main {
    padding: 16px !important;
  }
}
@media (min-width: 1920px) {
  body {
    font-size: 16px;
  }
}
@supports (padding: env(safe-area-inset-left)) {
  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  footer {
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom));
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
@media (hover: none) {
  .card:hover, button:hover {
    transform: none !important;
  }
}
body {
  overflow-x: hidden;
}
pre, code {
  overflow-x: auto;
  max-width: 100%;
}
