*, *::before, *::after { box-sizing: border-box; }

html {
  height: 100%;
  background: var(--app-frame-bg, #0a0a0f);
}

html, body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.35;
  background: transparent;
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

a { color: var(--accent); }

#app-root {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100dvh;
  width: 100%;
  max-width: min(100%, var(--app-max-width));
  min-width: 0;
  margin: 0 auto;
  background: var(--bg-app);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--border-glass) 40%, transparent);
  overflow: hidden;
}

@media (min-width: 769px) {
  #app-root {
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--border-glass) 50%, transparent),
      0 12px 48px rgba(0, 0, 0, 0.28);
  }
}

.hidden { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
