* {
    font-family: 'Wix Madefor Display', sans-serif;
    color: var(--color-txtPrimary);
    text-transform: lowercase;
    box-sizing: border-box;
    color-scheme: dark;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    scrollbar-gutter: stable;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--color-bgPrimary);
}

img {
    user-select: none !important;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6, select, option {
    text-transform: none;
    margin: 0;
}

button {
    outline: none;
    border: none;
}

button:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

svg {
    flex-shrink: 0;
}

ul {
    margin-left: -17.5px;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: var(--color-bg700);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-bgTheme-big);
}

.--gr-one, .--gr-two {
    position: fixed;
    width: 55%;
    height: 60%;
    border-radius: 50%;
    z-index: -2;
    filter: blur(255px);
    opacity: 15%;
    background: linear-gradient(to right, var(--color-brand), var(--color-pink));
}

.--gr-one {
    left: -15%;
    top: -15%;
}

.--gr-two {
    right: -15%;
    bottom: -15%;
}

.--warn {
    padding: 8px;
    font-weight: 500;
    font-size: .90rem;
    text-align: center;
    background-color: var(--color-red);
}

.--wrap {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.--box { 
    padding-bottom: 30px !important;
    max-width: var(--width-max);
    margin: 0 auto;
    width: 100%;
}

.--navbar {
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    border: 1px solid var(--color-bg900);
    border-radius: 12px 12px 0px 0px;
}

.--nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-inline: 0;
}

.--nav a {
    height: 42px;
}

.--head {
    position: sticky;
    z-index: 15;
}

.--head-home {
    gap: 8px;
}

.--head-brand {
    font-size: 18px;
    font-weight: 600;
}

.--head-add {
    margin-left: auto;
    top: 45px;
    right: 0;
}

.--head-line {
    width: 100%;
    line-height: 1px;
    border: 1px solid var(--color-bgTheme-tiny);
}

.--dropdown {
    position: absolute;
    z-index: 500;
    user-select: none;
    background-color: var(--color-bg900);
    border-radius: 8px;
    width: 230px;
    display: none;
    transition: all var(--transition-delay) ease;
    opacity: 0;
    overflow: hidden;
    transform: translate(-30px,10px) scale(0.7);
    transform-origin: top right;
}

.--dropdown-anim {
    opacity: 1 !important;
    transform: translate(0,0) scale(1) !important;
    transition: opacity 150ms cubic-bezier(.4,0,.2,1), transform 150ms cubic-bezier(.4,0,.2,1);
}

.--dropdown-list {
    margin: 0;
    padding: 0;
}

.--dropdown-item {
    padding: 10px;
    font-size: 15px;
    line-height: 24px;
    text-decoration: none;
}

.--dropdown-item:hover {
    border-radius: 8px;
    background-color: var(--color-bg800);
}

.--overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 20;
}

.--modal-server {
  background-color: white;
  border-radius: 24px;
  width: 90%;
  height: 60%;
  max-width: 450px;
  max-height: 375px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
  box-sizing: border-box;
}

.--label {
    font-size: 14px;
    position: absolute;
    left: 14px;
    top: 12px;
    transition: all 0.3s ease;
    pointer-events: none;
    user-select: none;
    color: var(--color-bgTheme-big);
}

.--input {
    border-radius: 10px;
    padding: 12px 12px 8px 12px;
    font-size: 15px;
    color: var(--color-txtSecondary);
    background-color: transparent;
    transition: border var(--transition-delay) ease;
    border: 1px solid var(--color-bgTheme-default);
    text-transform: none !important;
    width: 100%;
}

input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.--input:focus, .--input:hover, .--input:active {
    outline: none;
    border: 1px solid var(--color-bgTheme-big);
}

.--input:focus + .--label,
.--input:not(:placeholder-shown) + .--label {
    top: -8px;
    font-size: 12.5px;
    background-color: var(--color-bg950);
}

.--input::placeholder {
    color: transparent;
}

.--textarea {
    min-width: 100%;
    max-width: 100%;
    min-height: 140px;
    max-height: 280px;
}

.--select {
    background-color: var(--color-bg950);
}

.--multilabel {
    display: block;
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 5px;
    margin-top: -5px;
}

.--button, .--c-button {
    border-radius: 8px;
    padding: 8px 24px;
    user-select: none;
    font-weight: 500;
    cursor: pointer;
}

.--c-button {
    padding: 8px 26px;
}

.--list-comics {
    grid-template-columns: repeat(auto-fit, minmax(var(--cover-thumb), 1fr));
}

.--small-cover, .--thumb-cover, .--max-cover {
    aspect-ratio: 2/3;
    object-fit: cover;
    flex-shrink: 0;
}

.--small-cover {
    width: var(--cover-small);
}

.--thumb-cover {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.--thumb-cover img {
    width: 100%;
    height: auto;
}

.--max-cover {
    width: var(--cover-max);
}

.--comic-name {
    display: -webkit-box;
    hyphens: auto !important;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.--genre, .--tag, .--restr {
    width: max-content;
    padding: 6px 10px;
    font-size: 13.5px;
    font-weight: 400;
    border-radius: 8px;
    border: 1px solid var(--color-bg800);
    background-color: var(--color-bgTheme-small);
}

.--tag {
    color: var(--color-txtSecondary);
    background-color: var(--color-bgTheme-tiny);
}

.--restr {
    font-weight: 500;
    background-color: var(--color-red);
}

.--scroll {
    overflow-x: auto; 
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}

.--scroll::-webkit-scrollbar { 
    display: none; 
}

.--skan {
    height: auto;
    max-width: 100%;
    min-width: 100%;
    display: block;
}

.--circle_id1, .--circle_id2, .--circle_id3, .--circle_id4, .--circle_id5 {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.--circle_id1 { background: var(--color-green); }
.--circle_id2 { background: var(--color-aqua); }
.--circle_id3 { background: var(--color-red); }
.--circle_id4 { background: var(--color-orange); }
.--circle_id5 { background: var(--color-bgTheme-tiny); }

.--an-loader {
  width: 52px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 8px solid var(--color-brand);
  animation:
    l20-1 0.8s infinite linear alternate,
    l20-2 1.6s infinite linear;
}

@keyframes l20-1{
   0%    {clip-path: polygon(50% 50%,0       0,  50%   0%,  50%    0%, 50%    0%, 50%    0%, 50%    0% )}
   12.5% {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100%   0%, 100%   0%, 100%   0% )}
   25%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 100% 100%, 100% 100% )}
   50%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
   62.5% {clip-path: polygon(50% 50%,100%    0, 100%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
   75%   {clip-path: polygon(50% 50%,100% 100%, 100% 100%,  100% 100%, 100% 100%, 50%  100%, 0%   100% )}
   100%  {clip-path: polygon(50% 50%,50%  100%,  50% 100%,   50% 100%,  50% 100%, 50%  100%, 0%   100% )}
}
@keyframes l20-2{ 
  0%    {transform:scaleY(1)  rotate(0deg)}
  49.99%{transform:scaleY(1)  rotate(135deg)}
  50%   {transform:scaleY(-1) rotate(0deg)}
  100%  {transform:scaleY(-1) rotate(-135deg)}
}

.tail-select {
    width: 100% !important;
    padding: 10px !important;
    border-radius: 10px !important;
    background-color: transparent !important;
    border: 1px solid var(--color-bgTheme-default);
}

label.all {
    display: none !important;
}