#app,
.ant-app,
body,
html {
  width: 100%;
  height: 100%;
  overscroll-behavior: none;
}

*,
::after,
::before {
  box-sizing: border-box;
  border-color: hsl(var(--color-border));
  border-style: solid;
  border-width: 0;
}

body.invert {
  filter: invert(100%);
}

body.grayscale {
  --tw-grayscale: grayscale(100%);

  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast)
    var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate)
    var(--tw-sepia) var(--tw-drop-shadow);
}

html {
  font-size: var(--font-size-base);
  font-variation-settings: normal;
  color: hsl(var(--color-foreground));
  background-color: hsl(var(--color-background));
  text-size-adjust: 100%;
  font-synthesis-weight: none;
  scroll-behavior: smooth;
  text-rendering: optimizelegibility;
  -webkit-tap-highlight-color: rgb(128 128 128 / 50%);
}

a,
a:active,
a:hover,
a:link,
a:visited {
  color: inherit;
  text-decoration: none;
}

::view-transition-new(root),
::view-transition-old(root) {
  mix-blend-mode: normal;
  animation: none;
}

::view-transition-old(root) {
  z-index: 1;
}

::view-transition-new(root) {
  z-index: 2147483646;
}

html.dark::view-transition-old(root) {
  z-index: 2147483646;
}

html.dark::view-transition-new(root) {
  z-index: 1;
}

input::placeholder,
textarea::placeholder {
  color: hsl(var(--color-input-placeholder)) !important;
  opacity: 1;
}

input:-webkit-autofill {
  border: none;
  box-shadow: 0 0 0 1000px transparent inset;
}

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}
