.tek-main-atmosphere,
.tek-main-particles,
.tek-main-matrix {
  display: none;
}

body[data-tek-theme="cosmos"] {
  background: #070b16 !important;
  color: #edf4fb;
}

body[data-tek-theme="cosmos"] .tek-main-atmosphere {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 8%, rgba(0, 212, 255, .16), transparent 30%),
    radial-gradient(circle at 82% 22%, rgba(112, 72, 237, .14), transparent 32%),
    linear-gradient(180deg, #070b16 0%, #09172e 46%, #050816 100%);
}

body[data-tek-theme="cosmos"] .tek-main-particles,
body[data-tek-theme="cosmos"] .tek-main-matrix {
  display: block;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.tek-main-particle {
  position: absolute;
  width: var(--tek-star-size);
  height: var(--tek-star-size);
  border-radius: 50%;
  background: #6ee7ff;
  box-shadow: 0 0 14px rgba(0, 212, 255, .85);
  opacity: 0;
  animation: tek-star-float var(--tek-star-duration) linear var(--tek-star-delay) infinite;
}

@keyframes tek-star-float {
  0% { transform: translate3d(0, 100vh, 0) scale(.55); opacity: 0; }
  12% { opacity: .95; }
  82% { opacity: .75; }
  100% { transform: translate3d(var(--tek-star-drift), -120px, 0) scale(1.25); opacity: 0; }
}

.tek-main-matrix-column {
  position: absolute;
  top: -110%;
  color: #00d4ff;
  font: 600 14px/1.2 "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  opacity: .42;
  text-shadow: 0 0 9px rgba(0, 212, 255, .72);
  animation: tek-matrix-fall var(--tek-matrix-duration) linear var(--tek-matrix-delay) infinite;
}

.tek-main-matrix-char {
  display: block;
}

@keyframes tek-matrix-fall {
  0% { transform: translateY(0); }
  100% { transform: translateY(210vh); }
}

body[data-tek-theme="cosmos"] #allrecords {
  position: relative;
  z-index: 1;
  background: transparent !important;
}

body[data-tek-theme="cosmos"] #allrecords::before {
  display: none !important;
}

body[data-tek-theme="cosmos"] .t-rec {
  position: relative;
  z-index: 2;
  background-color: transparent !important;
}

#rec2157486451 .tn-elem[data-elem-id="1722236694549"] {
  top: 14px !important;
  left: calc(50% - 600px + 44px) !important;
  width: 52px !important;
  height: 52px !important;
}

#rec2157486451 .tn-elem[data-elem-id="1722236694549"] .tn-atom {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 52px !important;
  height: 52px !important;
  padding: 4px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  border-radius: 9px !important;
  background: #e4e8ee !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  box-shadow: none !important;
}

#rec2157486451 .tn-elem[data-elem-id="1722236694549"] .tn-atom__img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}

.tek-theme-switcher {
  position: absolute !important;
  top: 22px !important;
  left: calc(50% - 600px + 112px) !important;
  z-index: 30 !important;
  isolation: isolate;
  display: flex !important;
  align-items: stretch !important;
  width: 116px !important;
  height: 36px !important;
  padding: 3px !important;
  gap: 0 !important;
  box-sizing: border-box !important;
  border: 1px solid #bdcadd !important;
  border-radius: 22px !important;
  background: #e4ebf5 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  font-family: Roboto, Arial, sans-serif !important;
}

.tek-theme-switcher::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 3px;
  top: 3px;
  bottom: 3px;
  width: calc(50% - 3px);
  border-radius: 19px;
  background: linear-gradient(135deg, #83ceff, #5baef4);
  transition: transform .2s ease, background .2s ease;
}

body[data-tek-theme="cosmos"] .tek-theme-switcher {
  border-color: rgba(0, 212, 255, .55) !important;
  background: #111b2a !important;
  box-shadow: none !important;
}

body[data-tek-theme="cosmos"] .tek-theme-switcher::before {
  transform: translateX(100%);
  background: linear-gradient(110deg, #00bde9, #7048ed);
}

.tek-theme-switcher__btn {
  all: unset;
  box-sizing: border-box !important;
  position: relative !important;
  display: flex !important;
  flex: 1 1 50% !important;
  min-width: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

.tek-theme-switcher__btn:focus-visible {
  outline: 3px solid #80b7ff !important;
  outline-offset: 3px !important;
}

.tek-theme-switcher__text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.tek-theme-icon-wrap {
  position: relative;
  display: flex;
  width: 34px;
  height: 30px;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.tek-theme-icon-wrap-cosmos {
  width: 36px;
}

.tek-theme-icon {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  pointer-events: none;
}

.tek-theme-icon-classic {
  width: 34px;
  height: 28px;
}

.tek-theme-icon-cosmos {
  width: 30px;
  height: 30px;
}

.tek-cosmos-switch-star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #231f20;
}

body[data-tek-theme="cosmos"] .tek-theme-switcher__btn[aria-pressed="true"] .tek-cosmos-switch-star {
  background: #17c5fa;
}

body[data-tek-theme="cosmos"] .tek-theme-icon-classic {
  filter: grayscale(1) invert(1) brightness(1.8);
}

body[data-tek-theme="cosmos"] .tek-theme-icon-cosmos {
  filter: brightness(1.22) saturate(1.12);
}

body[data-tek-theme="cosmos"] .tn-atom {
  border-color: rgba(125, 211, 252, .22) !important;
  box-shadow: 0 0 0 1px rgba(125, 211, 252, .04), 0 18px 50px rgba(0, 0, 0, .18);
}

body[data-tek-theme="cosmos"] .tn-elem[data-elem-type="text"] .tn-atom {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

body[data-tek-theme="cosmos"] .tn-elem[data-elem-type="text"] .tn-atom *,
body[data-tek-theme="cosmos"] .tn-elem[data-elem-type="text"] .tn-atom::before,
body[data-tek-theme="cosmos"] .tn-elem[data-elem-type="text"] .tn-atom::after {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

body[data-tek-theme="cosmos"] .tn-elem[data-elem-type="button"] .tn-atom .tn-atom__button-text {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

body[data-tek-theme="cosmos"] .t396__carrier {
  filter: hue-rotate(165deg) saturate(1.08) brightness(.82);
}

body[data-tek-theme="cosmos"] a .tn-atom,
body[data-tek-theme="cosmos"] button .tn-atom,
body[data-tek-theme="cosmos"] .tek-theme-switcher .tn-atom {
  box-shadow: none !important;
}

@media screen and (max-width: 1199px) {
  #rec2157486451 .tn-elem[data-elem-id="1722236694549"] {
    top: 10px !important;
    left: calc(50% - 480px + 35px) !important;
    width: 50px !important;
    height: 50px !important;
  }

  #rec2157486451 .tn-elem[data-elem-id="1722236694549"] .tn-atom {
    width: 50px !important;
    height: 50px !important;
  }

  .tek-theme-switcher {
    top: 17px !important;
    left: calc(50% - 480px + 98px) !important;
  }
}

@media screen and (max-width: 959px) {
  #rec2157486451 .tn-elem[data-elem-id="1722236694549"] {
    top: 11px !important;
    left: calc(50% - 320px + 25px) !important;
    width: 48px !important;
    height: 48px !important;
  }

  #rec2157486451 .tn-elem[data-elem-id="1722236694549"] .tn-atom {
    width: 48px !important;
    height: 48px !important;
  }

  .tek-theme-switcher {
    top: 17px !important;
    left: calc(50% - 320px + 86px) !important;
  }
}

@media screen and (max-width: 639px) {
  #rec2157486451 .tn-elem[data-elem-id="1722236694549"] {
    top: 10px !important;
    left: calc(50% - 240px + 25px) !important;
    width: 44px !important;
    height: 44px !important;
  }

  #rec2157486451 .tn-elem[data-elem-id="1722236694549"] .tn-atom {
    width: 44px !important;
    height: 44px !important;
    border-radius: 8px !important;
  }

  .tek-theme-switcher {
    top: 14px !important;
    left: calc(50% - 240px + 82px) !important;
    width: 112px !important;
    height: 38px !important;
  }
}

@media screen and (max-width: 479px) {
  #rec2157486451 .tn-elem[data-elem-id="1722236694549"] {
    top: 7px !important;
    left: calc(50% - 160px + 20px) !important;
    width: 38px !important;
    height: 38px !important;
  }

  #rec2157486451 .tn-elem[data-elem-id="1722236694549"] .tn-atom {
    width: 38px !important;
    height: 38px !important;
    padding: 3px !important;
  }

  .tek-theme-switcher {
    top: 8px !important;
    left: calc(50% - 160px + 68px) !important;
    width: 104px !important;
    height: 36px !important;
  }

  .tek-theme-icon-wrap {
    width: 30px;
    height: 28px;
  }

  .tek-theme-icon-classic {
    width: 30px;
    height: 25px;
  }

  .tek-theme-icon-cosmos {
    width: 27px;
    height: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tek-theme-switcher::before,
  .tek-main-particle,
  .tek-main-matrix-column {
    animation: none !important;
    transition: none !important;
  }
}
