::-webkit-inner-spin-button {
  visibility: hidden;
}

::-webkit-datetime-edit-text {
  color: transparent;
}

::-webkit-clear-button,
::-webkit-search-cancel-button,
::-webkit-progress-inner-element {
  -webkit-appearance: none;
}

::-webkit-scrollbar-button {
  display: none;
}
::-webkit-scrollbar-track {
  background-color: transparent;
}

:root {
  -webkit-tap-highlight-color: transparent;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

select,
button,
input,
textarea {
  margin: 0;
  padding: 0;
  border: 0 none;
  color: inherit;
  background-color: transparent;
  outline: none;
  -webkit-border-radius: 0;
  -webkit-appearance: none;
}

input:placeholder-shown,
textarea:placeholder-shown {
  text-overflow: ellipsis;
  overflow: hidden;
}

select,
button,
input[type=button],
input[type=submit] {
  box-sizing: content-box;
}

button,
input[type=button],
input[type=submit] {
  text-align: center;
  cursor: pointer;
}

input[name=log],
input[name=eml],input[type=email],
input[name=pwd],input[type=password] {
  -webkit-text-fill-color: var(--this_input_autofill_text_color, var(--text_color_primary));
  -webkit-box-shadow: 0 0 0 100vmax var(--this_input_autofill_background_color, var(--background_color_container)) inset !important;
}

input:-internal-autofill-previewed,
input:-internal-autofill-selected {
  transition-delay: 86400s;
  transition: color 86400s, background-color 86400s !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-transition-delay: 86400s;
  -webkit-transition: color 86400s, background-color 86400s;
}

input::-webkit-credentials-auto-fill-button {
  position: absolute;
  right: 0;
  display: none !important;
  visibility: hidden;
  pointer-events: none;
}

input[type=date]::-webkit-datetime-edit,
input[type=date]::-webkit-datetime-edit-year-field,
input[type=date]::-webkit-datetime-edit-month-field,
input[type=date]::-webkit-datetime-edit-day-field,
input[type=date]::-webkit-datetime-edit-hour-field,
input[type=date]::-webkit-datetime-edit-minute-field,
input[type=date]::-webkit-datetime-edit-second-field,
input[type=date]::-webkit-datetime-edit-millisecond-field,
input[type=date]::-webkit-datetime-edit-meridiem-field {
  padding: 0;
}

/*
input[pattern]:not(:placeholder-shown):not(:focus):invalid {
  color: var(--special_color_yellow) !important;
  --this_input_autofill_text_color: var(--special_color_yellow) !important;
}
*/

a {
  color: inherit;
  text-decoration: none;
}

a.underline {
  text-decoration: underline;
  text-underline-offset: 2px;
}

hr {
  margin: 0;
  border: 0 none;
  box-sizing: content-box;
}

figure,
figcaption {
  margin: 0 !important;
}

figure.wp-block-image > img,
figure.wp-block-audio > audio,
figure.wp-block-video > video {
  display: block;
  max-width: 100% !important;
  height: auto !important;
}

mark {
  color: inherit;
  background-color: transparent;
}

details > summary {
  outline: none;
}

details:not([open]) > summary > .collapse,
details[open] > summary > .expand {
  display: none;
}