* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

:root {
  --Dark-BG-2: #1f1f1f;
}

button {
  font-family: inter;
}

input {
  font-family: inter;
}

.auth_header {
  max-width: 940px;
  padding-top: 70px;
  margin: auto;
}

.auth_header_back {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.auth_header_back p {
  color: #ffffff;
  font-size: 14px;
}

.header {
  width: 100%;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: fixed;
  z-index: 100;
  height: 72px;
  box-sizing: border-box;
}

.header_container {
  width: 940px;
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.header_controls {
  position: fixed;
  top: 0;
  right: 40px;
  height: 72px;
  display: flex;
  gap: 15px;
  align-items: center;
  z-index: 10000;
}

.header_spacer {
  display: none;
}

.header_inner {
  position: relative;
}

.header_inner:nth-child(1) {
  flex-shrink: 0;
}

.header_inner:nth-child(2) {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header_right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header_inner:last-child {
  flex-shrink: 0;
}

.header_menu {
  display: flex;
  gap: 24px;
}

.header_menu ul,
li {
  list-style: none;
}

.taskday_widget {
    position: fixed;
    top: 110px;
    right: 18px;
    left: auto;
    bottom: auto;
    width: 290px;
    z-index: 1200;
    border-radius: 18px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.35);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    user-select: none;
    overflow: hidden;
}

.taskday_widget.collapsed .taskday_widget_body {
    display: none;
}

.taskday_widget_header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    cursor: grab;
    touch-action: none;
}

.taskday_widget.dragging .taskday_widget_header {
    cursor: grabbing;
}

.taskday_widget_badge {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.taskday_widget_heading {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.taskday_widget_title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.taskday_widget_subtitle {
    color: rgba(255, 255, 255, 0.56);
    font-size: 12px;
    line-height: 1.2;
    margin-top: 2px;
}

.taskday_widget_controls {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.taskday_widget_icon {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.taskday_widget_body {
    padding: 0 12px 12px 12px;
}

.taskday_widget_text {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    line-height: 1.45;
}

.taskday_widget_button {
    width: 100%;
    height: 42px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s ease;
}

body.light .taskday_widget {
    background: transparent;
    border: 1px solid rgba(17, 19, 28, 0.08);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.12);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.light .taskday_widget_badge {
    background: rgba(17, 19, 28, 0.06);
    color: #171717;
}

body.light .taskday_widget_title {
    color: #171717;
}

body.light .taskday_widget_subtitle,
body.light .taskday_widget_text {
    color: rgba(23, 23, 23, 0.62);
}

body.light .taskday_widget_icon,
body.light .taskday_widget_button,
body.light .taskday_restore_button {
    background: rgba(17, 19, 28, 0.04);
    color: #171717;
    border: 1px solid rgba(17, 19, 28, 0.08);
}

.taskday_restore_button {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1199;
    height: 42px;
    padding: 0 14px;
    border: none;
    border-radius: 14px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.light .taskday_restore_button {
    background: transparent;
    border: 1px solid rgba(17, 19, 28, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    color: #171717;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

@media (max-width: 768px) {
    .taskday_widget {
        width: 250px;
        top: 86px;
        right: 10px;
    }

    .taskday_restore_button {
        right: 10px;
        bottom: 10px;
    }
}

.menu_link {
  color: #ffffff;
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.menu_link.active {
  pointer-events: none;
  cursor: default;
  opacity: 1;
}

.menu_link:hover {
  color: #fe39ff;
}

.header_burger {
  width: auto;    
  height: 27px;
  border-radius: 128px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
  position: relative;
  cursor: pointer;
}

.header_name {
  height: 23px;
  border-radius: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px; 
}

.header_name span {
  font-weight: 500;
  font-size: 12px;
  white-space: nowrap;
  
}

.header_svg {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.header_svg,
.header_svg:hover,
.header_burger:hover .header_svg {
  background-color: transparent !important;
}

.burger_window {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  border-radius: 12px;
  padding: 4px;
  width: 186px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 99;
  border: 1px solid;
  border-image-source: linear-gradient(
    131.89deg,
    rgba(255, 255, 255, 0.05) 2.72%,
    rgba(255, 255, 255, 0) 40.54%,
    rgba(255, 255, 255, 0) 59.46%,
    rgba(255, 255, 255, 0.05) 97.28%
  );
}

.burger_window .menu_item.active {
  pointer-events: none;
  cursor: default;
  opacity: 1;
}

.burger_window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header_svg.active {
  transform: rotate(180deg);
}

body.light .menu_item {
  color: #000;
}

body.dark .menu_item {
  color: #fff;
}

body.light .burger_window {
  background-color: #ffffff;
}

body.dark .burger_window {
  background-color: #1a1a1a;
}

body.light .menu_item:hover {
  background-color: #f2f2f2;
}

body.dark .menu_item:hover {
  background-color: #2a2a2a;
}

.menu_item {
  margin-bottom: 4px;
  border-radius: 12px;
  cursor: pointer;
  text-align: end;
  transition: background-color 0.25s ease;
  font-size: 13px;
  width: 100%;
  height: 41px;
  display: flex;
  justify-content: end;
  align-items: center;
  padding: 0 14px;
}

.menu_item:hover {
  background-color: #1f1f1f;
}

.switch_container {
  width: 50px;
  height: 26px;
  background-color: #171717;
  border-radius: 126px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
}

.switch_light,
.switch_dark {
  width: 22px;
  height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
}


.logo {
  width: 32px;
  height: 32px;
  background-size: contain;
  background-repeat: no-repeat;
}
 
.header_lang_item {
  position: relative;
  width: 107px;
  height: 27px;
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
  background-color: #171717;
  border-radius: 128px;
  align-items: center;
  cursor: pointer;
}

.header_lang_main {
  width: 79px;
  justify-content: space-between;
  display: flex;
  padding: 0 6px;
  height: 23px;
  align-items: center;
  background-color: #1f1f1f;
  border-radius: 128px;
}

.header_lang_main span {
  color: #ffffff;
  font-weight: 500;
  font-style: Medium;
  font-size: 12px;
}

.header_lang_button {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan_container {
  width: 940px;
  margin: auto;
  padding-top: 100px;
  text-align: center;
}

.plan_inner{
  width: 100%;
  padding: 24px 20px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;

  background-image:
    radial-gradient(62.35% 144.28% at 50% 0%,
      rgba(254, 143, 255, 0) 81.66%,
      rgba(254, 143, 255, 0.5) 100%),
    radial-gradient(82.54% 100% at 50% 0%,
      rgba(254, 143, 255, 0) 76.03%,
      rgba(254, 143, 255, 0.2) 100%),
    radial-gradient(82.14% 100% at 50% 0%,
      rgba(254, 143, 255, 0) 53.19%,
      rgba(254, 143, 255, 0.1) 100%);
}

.plan_inner::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;

  background:
    linear-gradient(135deg,
      rgba(255,255,255,.10) 0%,
      rgba(255,255,255,0) 45%,
      rgba(255,255,255,.06) 100%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  padding: 1px;
}

.plan_inner > *{
  position: relative;
  z-index: 1;
}

.plan_title {
  margin: 0px;
  font-weight: 500;
  font-size: 18px;
}

.plan_paragraph {
  margin: 0px;
  width: 359px;
  margin: auto;
  text-align: center;
  font-size: 14px;
  margin-top: 16px;
  font-weight: 300;
  line-height: 150%;
}

.plan_button {
  height: 41px;
  background: linear-gradient(
      0deg,
      var(--Accent-100, #fe99ff),
      var(--Accent-100, #fe99ff)
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0) 100%
    );
  box-shadow: 0px -1px 0px 0px #00000014 inset;
  color: #000000;
  border-radius: 12px;
  cursor: pointer;
  border: 0px;
  margin-top: 32px;
}

.plan_button.width {
  width: 178px;
}

.plan_button.width1 {
  width: 136px;
}

.plan_actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.plan_actions .plan_button {
  margin-top: 0;
}

.plan_products_link {
  display: inline-block;
  font-size: 12px;
  font-weight: 400;
  color: rgba(254, 153, 255, 0.6);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.plan_products_link:hover {
  color: rgba(254, 153, 255, 1);
}

.loader_modal_inner {
  width: 500px !important;
  max-height: 90vh;
  overflow-y: auto;
}

@media (max-width: 560px) {
  .loader_modal_inner {
    width: calc(100vw - 24px) !important;
    max-height: 92vh;
    border-radius: 14px;
    padding: 16px 14px !important;
  }

  .loader_tab {
    font-size: 11px;
    padding: 6px 0;
  }

  .loader_hotkey_row {
    flex-wrap: wrap;
    gap: 4px;
  }

  .loader_hotkey_keys {
    margin-left: auto;
  }

  .loader_comp_link {
    padding: 10px 12px;
    gap: 10px;
  }

  .loader_comp_link_icon {
    width: 30px;
    height: 30px;
  }

  .loader_comp_link_text strong {
    font-size: 12px;
  }

  .loader_comp_link_text span {
    font-size: 10px;
  }
}

.loader_tabs {
  display: flex;
  gap: 4px;
  margin: 16px 0 0;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 3px;
  position: relative;
}

.loader_tab_pill {
  position: absolute;
  top: 3px;
  left: 3px;
  height: calc(100% - 6px);
  width: calc(50% - 5px);
  border-radius: 8px;
  pointer-events: none;
  z-index: 0;
  transition: left .38s cubic-bezier(.4,0,.2,1);
  background: rgba(255,255,255,0.08);
}

.loader_tab_pill.to-right {
  left: calc(50% + 2px);
}

body.light .loader_tab_pill {
  background: #dbdbdb;
}

.loader_tab {
  flex: 1;
  padding: 7px 0;
  font-size: 12px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  background: none;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: color .38s cubic-bezier(.4,0,.2,1);
}

.loader_tab.active {
  background: transparent;
  color: rgba(255,255,255,0.9);
}

body.light .loader_tab {
  color: rgba(0,0,0,0.4);
}

body.light .loader_tab.active {
  color: rgba(0,0,0,0.85);
}

.loader_tab_content {
  display: none;
  margin-top: 16px;
}

.loader_tab_content.active {
  display: block;
}

.loader_tabs_wrap {
  overflow: hidden;
  position: relative;
}

.loader_tab_content {
  transition: opacity .22s ease, transform .26s cubic-bezier(.4,0,.2,1);
}

.loader_tab_content.hidden-left {
  position: absolute;
  top: 0; left: 0; width: 100%;
  opacity: 0;
  transform: translateX(-22px);
  pointer-events: none;
  display: block;
}

.loader_tab_content.hidden-right {
  position: absolute;
  top: 0; left: 0; width: 100%;
  opacity: 0;
  transform: translateX(22px);
  pointer-events: none;
  display: block;
}

.loader_steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.loader_step {
  display: flex;
  align-items: center;
  gap: 12px;
}

.loader_step_num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(254, 153, 255, 0.12);
  border: 1px solid rgba(254, 153, 255, 0.25);
  color: rgba(254, 153, 255, 0.9);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.loader_step_text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.4;
  color: rgba(255,255,255,0.75);
}

.loader_step_text strong {
  font-weight: 600;
  color: rgba(255,255,255,0.95);
}

.loader_video_link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 10px 0 14px;
  font-size: 12px;
  font-weight: 400;
  color: rgba(254, 153, 255, 0.75);
  text-decoration: none;
  transition: color 0.15s;
}

.loader_video_link:hover {
  color: rgba(254, 153, 255, 1);
}

.loader_video_link svg {
  flex-shrink: 0;
  fill: currentColor !important;
}

.loader_hotkeys {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
}

.loader_hotkey_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.loader_hotkey_label {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
}

.loader_hotkey_keys {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.loader_hotkey_keys kbd {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 11px;
  font-weight: 500;
  font-family: inherit;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

.loader_hotkey_keys span {
  font-size: 10px;
  color: rgba(255,255,255,0.25);
}

.loader_warnings {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.loader_warning {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 200, 50, 0.05);
  border: 1px solid rgba(255, 200, 50, 0.12);
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.loader_warning svg {
  flex-shrink: 0;
  margin-top: 1px;
  stroke: rgba(255, 200, 50, 0.7);
  fill: none !important;
}

.loader_warning strong {
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.loader_warning--error {
  background: rgba(255, 80, 80, 0.05);
  border-color: rgba(255, 80, 80, 0.15);
}

.loader_warning--error svg {
  stroke: rgba(255, 100, 100, 0.8);
}

.loader_comp_desc {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  margin: 0 0 14px;
}

.loader_comp_links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.loader_comp_link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s;
}

.loader_comp_link:hover {
  background: rgba(254, 153, 255, 0.06);
  border-color: rgba(254, 153, 255, 0.2);
}

.loader_comp_link_icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(254, 153, 255, 0.1);
  border: 1px solid rgba(254, 153, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(254, 153, 255, 0.85);
}

.loader_comp_link_icon svg {
  stroke: currentColor;
  fill: none !important;
}

.loader_comp_link_text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.loader_comp_link_text strong {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}

.loader_comp_link_text span {
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
}

.loader_comp_link_arrow {
  flex-shrink: 0;
  stroke: rgba(255,255,255,0.2);
  fill: none !important;
  transition: stroke 0.18s;
}

.loader_comp_link:hover .loader_comp_link_arrow {
  stroke: rgba(254, 153, 255, 0.7);
}

.personalinfo_container {
  max-width: 940px;
  margin: auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.personalinfo_first_inner,
.personalinfo_second_inner {
  width: 411.5px;
  border-radius: 16px;
  position: relative;
  padding: 0 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.personalinfo_third_inner {
  width: 93px;
  border-radius: 16px;
  position: relative;
  padding: 0 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.personalinfo_fourth_inner,
.personalinfo_fifth_inner,
.personalinfo_sixth_inner {
  width: 305.33px;
  border-radius: 16px;
  position: relative;
  padding: 0 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.personalinfo_first_inner::before,
.personalinfo_second_inner::before,
.personalinfo_third_inner::before,
.personalinfo_fourth_inner::before,
.personalinfo_fifth_inner::before,
.personalinfo_sixth_inner::before,
.admin_configs_card::before,
.setting_first_inner::before,
.setting_second_inner::before,
.setting_third_inner::before,
.setting_fourth_inner::before,
.setting_fifth_inner::before,
.update_logs_container::before,
.update_logs_flex_inner::before,
.change_model_inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,.12) 0%,
    rgba(255,255,255,.04) 40%,
    rgba(255,255,255,.01) 60%,
    rgba(255,255,255,.07) 100%
  );
  padding: 1px;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.personalinfo_first_inner,
.personalinfo_second_inner,
.personalinfo_third_inner,
.personalinfo_fourth_inner,
.personalinfo_fifth_inner,
.personalinfo_sixth_inner,
.setting_first_inner,
.setting_second_inner,
.setting_third_inner,
.setting_fourth_inner,
.setting_fifth_inner,
.update_logs_container,
.update_logs_flex_inner,
.change_model_inner {
  isolation: isolate;
  box-shadow: none;
}

.personainfo_title_inside_flex {
  display: flex;
  align-items: center;
  gap: 12px;
}

.personalinfo_title_inside_flex {
  display: flex;
  gap: 12px;
}

.personalinfo_title_inside_flex h1 {
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  margin: 0px;
}

.personalinfo_description_inside_flex {
  margin-top: 12px;
}

.personalinfo_description_inside_flex p {
  margin: 0px;
  font-weight: 500;
  font-style: Medium;
  font-size: 16px;
  letter-spacing: 0%;
}

.setting_container {
  max-width: 940px;
  margin: auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.setting_first_inner,
.setting_second_inner {
  width: 464px;
  border-radius: 16px;
  position: relative;
  padding: 0 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.setting_third_inner,
.setting_fourth_inner,
.setting_fifth_inner {
  width: 305.33px;
  border-radius: 16px;
  position: relative;
  padding-top: 4px;
  padding-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.setting_text_content h1 {
  font-weight: 500;
  font-style: Medium;
  font-size: 16px;
  margin: 0px;
}

.setting_text_content p {
  margin: 0px;
  margin-top: 0px;
  font-weight: 300;
  font-style: Regular;
  font-size: 14px;
  margin-top: 12px;
  line-height: 150%;
}

.setting_change_button {
  width: 146px;
  height: 41px;
  border-radius: 12px;
  font-weight: 500;
  border: 0px;
  cursor: pointer;
  margin-top: 20px;
}

.setting_doing_text {
  font-weight: 500;
  font-style: Medium;
  font-size: 14px;
  color: #ffffff;
  margin-left: 14px;
}

.setting_change_button_newversion {
  height: 41px;
  border-radius: 12px;
  border: 0px;
  cursor: pointer;
  margin-right: 4px;
  font-size: 12px;
}

.setting_change_button_newversion:nth-child(1) {
  width: 102px;
}

.setting_change_button_newversion:nth-child(2) {
  width: 110px;
}

.setting_change_button_newversion:nth-child(3) {
  width: 123px;
}

.update_logs_container {
  max-width: 940px;
  margin: auto;
  margin-top: 32px;
  border-radius: 16px;
  padding: 8px 10px 14px;
  position: relative;
}

.update_logs_main_text {
  width: 100%;
  padding: 12px 10px 14px;
}

.update_logs_main_text h1 {
  margin: 0;
  font-weight: 500;
  font-size: 16px;
}

.update_logs_flex {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.update_logs_empty {
  width: 100%;
  padding: 24px 12px;
  font-size: 13px;
  text-align: center;
  color: #888;
  margin: 0;
}

.update_logs_flex_inner {
  width: 100%;
  box-sizing: border-box;
  padding: 16px 18px;
  border-radius: 12px;
  position: relative;
}

.update_logs_flex_inner::before {
  opacity: 0.55;
}

.update_logs_date p {
  font-weight: 450;
  font-size: 13px;
  margin: 0;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.update_logs_information {
  margin-top: 12px;
  max-height: 168px;
  overflow-y: auto;
  padding-right: 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.update_logs_information::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.update_logs_line {
  font-weight: 450;
  font-size: 13px;
  margin: 0 0 7px;
  line-height: 1.45;
  color: inherit;
}
.update_logs_line:last-child { margin-bottom: 0; }

.update_logs_line--head {
  margin-top: 10px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.55;
}
.update_logs_line--head:first-child { margin-top: 0; }

.update_logs_line--sub {
  padding-left: 14px;
  opacity: 0.72;
  font-size: 12.5px;
}

.update_logs_pager {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  padding: 0 8px 4px;
}

.update_logs_pager_btn {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, opacity .15s ease;
}
.update_logs_pager_btn:hover {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.92);
}
.update_logs_pager_btn.is-active {
  background: rgba(181, 101, 243, 0.22);
  border-color: rgba(181, 101, 243, 0.42);
  color: #fff;
  cursor: default;
}
.update_logs_pager_btn.is-disabled {
  opacity: 0.32;
  pointer-events: none;
  cursor: default;
}
.update_logs_pager_dots {
  opacity: 0.45;
  padding: 0 2px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

.setting_change_modal_container {
  display: flex;
  background-color: rgba(0, 0, 0, 0.3);
  align-items: center;
  justify-content: center;
  position: fixed;
  pointer-events: none;
  opacity: 0;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 9999;
  width: 100vw;
  transition: all 0.3s ease;
}

.setting_change_modal_show,
.setting_change_modal_show1 {
  pointer-events: auto;
  opacity: 1;
}

.change_modal_inner {
  width: 360px;
  padding: 0 20px;
  border-radius: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
  position: relative;
}

.change_setting_text,
.deposit_modal_text {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.change_setting_text h1,
.deposit_modal_text h1 {
  font-weight: 500;
  font-style: Medium;
  font-size: 16px;
  margin: 0px;
}

.change_setting_text svg {
    cursor: pointer;
}

.change_setting_form {
  margin-top: 32px;
}

.change_setting_input {
  display: flex;
  align-items: center;
  position: relative;
}

.change_setting_input input {
  width: 100%;
  height: 41px;
  border-radius: 12px;
  border: 0px;
  outline: none;
  padding-left: 44px;
  font-family: inter;
  margin-bottom: 8px;
}

.change_setting_svg1 {
  position: absolute;
  left: 15px;
  margin-top: 10px;
  transform: translateY(-50%);
  z-index: 1;
}

.change_setting_svg2 {
  position: absolute;
  right: 15px;
  margin-top: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 1;
}

.change_setting_buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}

.change_setting_buttons-cancel {
  width: 156px;
  height: 41px;
  font-size: 14px;
  font-weight: 400;
  border: 0px;
  cursor: pointer;
  border-radius: 12px;
}

.change_setting_buttons-change {
  width: 156px;
  height: 41px;
  font-size: 14px;
  font-weight: 400;
  border: 0px;
  cursor: pointer;
  border-radius: 12px;
}

.change_setting_buttons-change.active {
  background: linear-gradient(
      0deg,
      var(--Accent-100, #fe99ff),
      var(--Accent-100, #fe99ff)
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0) 100%
    );
}

#setting_modal_close,
#setting_modal_close1,
#setting_modal_close3,
#setting_modal_close4,
#setting_modal_close_key,
#setting_modal_close_hwid,
#setting_modal_close_loader {
  cursor: pointer;
}

.setting_froze_title {
  text-align: center;
  line-height: 150%;
  font-family: Inter;
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  margin: 0px;
  margin-top: 32px;
  margin-bottom: 8px;
}

.deposit_modal-container {
  opacity: 0;
  visibility: hidden;
  background-color: rgba(0, 0, 0, 0.3);
  align-items: center;
  justify-content: center;

  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;

  transition: opacity 0.3s ease;
  z-index: 9999;

  display: flex;
}

.deposit_modal-show {
  opacity: 1;
  visibility: visible;
}

.deposit_modal_inner {
  transform: scale(0.92);
  opacity: 0;
  transition: all 0.25s ease;

  width: 512px;
  border-radius: 16px;
  position: relative;
  padding: 0 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.deposit_modal-show .deposit_modal_inner {
  transform: scale(1);
  opacity: 1;
}

.deposit_modal_text {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.deposit_modal_text h1 {
  font-weight: 500;
  font-style: Medium;
  font-size: 18px;
  margin: 0;
}

.deposit_modal_text svg {
  cursor: pointer;
}

.deposit_payment_system {
  margin-top: 32px;
  margin-bottom: 32px;
}

.deposit_payment_system_text h1 {
  margin: 0px;
  font-weight: 500;
  font-style: Medium;
  font-size: 14px;
  text-align: center;
}

.deposit_modal_buttons {
  margin-top: 16px;
  margin-bottom: 16px;
  border-radius: 16px;
  width: 100%;
  padding: 0 4px;
  display: flex;
  justify-content: space-between;
  height: 49px;
  align-items: center;
}

.deposit_modal_button {
  width: 230px;
  height: 41px;
  cursor: pointer;
  border: 0px;
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  border-radius: 12px;
  background-color: inherit;
  transition: all 0.3s ease;
}

.deposit_payment_system_text p {
  font-weight: 400;
  font-style: Regular;
  font-size: 12px;
  line-height: 150%;
  text-align: center;
  color: #ffffff99;
  margin: 0px;
}

.deposit_input input {
  width: 100%;
  height: 41px;
  border-radius: 12px;

  font-weight: 500;
  font-style: Medium;
  font-size: 14px;
  border: 0px;
  outline: none;
  padding-left: 14px;

  box-sizing: border-box;
}

.deposit_payment_main_flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  margin-bottom: 32px;
  gap: 16px;
}

.deposit_paymentresult {
  margin: 0px;
}

.deposit_result_h1 {
  margin: 0px;
  margin-top: 13px;
  letter-spacing: 2px;
  font-weight: 500;
  font-size: clamp(16px, 4vw, 32px);
  word-break: break-all;
  overflow-wrap: break-word;
  max-width: 100%;
}

.deposit_payment_atribute {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

.deposit_payment_atribute_flex {
  margin: 0px;
  margin-bottom: 12px;
  font-size: 14px;
}

.deposit_payment_atribute_flex p {
  margin: 0px;
  font-size: 14px;
}

.deposit_payment_atribute_line.n1 {
  width: 42px;
  height: 1px;
  background-color: #ffffff0d;
}

.deposit_payment_atribute_line.n2 {
  width: 34px;
  height: 1px;
  background-color: #ffffff0d;
}

.deposit_payment_atribute_line.n3 {
  width: 87px;
  height: 1px;
  background-color: #ffffff0d;
}

body.light .deposit_payment_atribute_line.n1,
body.light .deposit_payment_atribute_line.n2,
body.light .deposit_payment_atribute_line.n3 {
  background-color: #0000001a;
}

.pc-total-row {
  border-top: 1px solid rgba(255, 255, 255, .06);
}

body.light .pc-total-row {
  border-top: 1px solid rgba(0, 0, 0, .1);
}

.deposit_buttions {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.deposit_button_cancel {
  width: 232px;
  height: 41px;
  border-radius: 12px;

  border: 0px;
  cursor: pointer;
}

.deposit_button_pay {
  width: 232px;
  height: 41px;
  border-radius: 12px;
  background: linear-gradient(
      0deg,
      var(--Accent-100, #f699ff),
      var(--Accent-100, #f699ff)
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0) 100%
    );
  color: #0f0f0f;
  border: 0px;
  cursor: pointer;
}

@media (max-width: 560px) {
  .deposit_modal-container {
    align-items: center;    
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
  }

  .deposit_modal_inner {
    width: 100%;
    max-width: 420px;       
    padding: 16px;
    border-radius: 16px;

    max-height: calc(100vh - 24px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    box-sizing: border-box;
  }

  .deposit_payment_system {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .deposit_modal_buttons {
    height: auto;
    padding: 4px;
    gap: 8px;
  }

  .deposit_modal_button {
    width: 100%;
    flex: 1;
    height: 41px;
  }

  .deposit_payment_main_flex {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .deposit_payment_flex.second {
    width: 100%;
  }

  .deposit_payment_atribute {
    width: 100%;
  }

  .deposit_buttions {
    flex-direction: column;
    gap: 10px;
  }

  .deposit_button_cancel,
  .deposit_button_pay {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .deposit_modal_text h1 {
    font-size: 16px;
  }

  .deposit_payment_atribute_flex,
  .deposit_payment_atribute_flex p {
    font-size: 13px;
  }
}

.error-message {
  color: #ff6b6b;
  font-size: 12px;
  margin-top: 5px;
  display: none;
}

.subs_info_container {
  max-width: 940px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  padding-top: 124px;
}

.subs_info_inner {
  width: 464px;
  padding: 0 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-radius: 16px;

  position: relative;
}

.subs_info_inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,.12) 0%,
    rgba(255,255,255,.04) 40%,
    rgba(255,255,255,.01) 60%,
    rgba(255,255,255,.07) 100%
  );
  padding: 1px;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.subs_info_inner {
  isolation: isolate;
  box-shadow: none;
}

.subs_info_flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.subs_info_title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.subs_info_title span {
  font-weight: 300;
  font-size: 14px;
  margin: 0px;
}

.subs_info_paragraph p {
  margin: 0px;
  font-weight: 500;
  font-style: Medium;
  font-size: 16px;
  margin-top: 12px;
}

.subs_info_right button {
  width: 152px;
  height: 41px;
  background: linear-gradient(
      0deg,
      var(--Accent-100, #fe99ff),
      var(--Accent-100, #fe99ff)
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0) 100%
    );
  cursor: pointer;
  border: 0px;
  box-shadow: 0px -1px 0px 0px #00000014 inset;
  border-radius: 12px;
  color: #01010f;
}

.subscription_title {
  max-width: 940px;
  margin: auto;
  margin-top: 48px;
}

.subscription_title h1 {
  margin: 0px;
  font-size: 20px;
  font-weight: 400;
}

.subscription_container {
  max-width: 940px;
  margin: auto;
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
}

.subscription_inner {
  width: 223px;
  border-radius: 16px;
  padding: 0 10px;
  padding-top: 10px;
  padding-bottom: 10px;

  position: relative;
}

.subscription_inner::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.10) 0%,
    rgba(255, 255, 255, 0.04) 35%,
    rgba(255, 255, 255, 0.02) 60%,
    rgba(255, 255, 255, 0.08) 100%
  );
  border-radius: 16px;
  z-index: -1;
}

.subscription_text {
  width: 283px;
  padding: 0 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.subscription_text h1 {
  margin: 0px;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 40px;
  letter-spacing: -2%;
}

.subscription_text p {
  font-weight: 400;
  font-style: Medium;
  font-size: 14px;
  margin: 0px;
  margin-top: 16px;
}

.subscription_button {
  width: 100%;
  height: 41px;
  border-radius: 12px;
  border: 0px;
  cursor: pointer;
  margin-top: 34px;
}

.subscription_inner.color {
  background: linear-gradient(
      107.18deg,
      rgba(254, 153, 255, 0) 40%,
      rgba(254, 153, 255, 0.1) 100%
    ),
    var(--Dark-80-1, #171717);
}

.subscription_inner.color::before {
  background: linear-gradient(
    135deg,
    rgba(254, 153, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.04) 35%,
    rgba(255, 255, 255, 0.02) 60%,
    rgba(254, 153, 255, 0.12) 100%
  );
}

.subscription_button.color {
  background: linear-gradient(
      0deg,
      var(--Accent-100, #fe99ff),
      var(--Accent-100, #fe99ff)
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0) 100%
    );
  color: #0f0f0f;
}

.invite_link{
  display: inline-flex;    
  align-items: center;
  gap: 10px;

  height: 41px;             
  border-radius: 12px;
  box-sizing: border-box;

  padding-left: 12px;       
  margin: 32px auto 0;       

  width: fit-content;      
  max-width: 100%;          
}

.invite_link span{
  font-weight: 500;
  font-size: 14px;

  white-space: nowrap;      
}

.invite_link button{
  width: 116px;            
  height: 41px;           
  border-radius: 12px;
  cursor: pointer;
  border: 0;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.invite_info_container {
  max-width: 940px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
}

.invite_info_inner {
  width: 305.33px;
  padding: 0 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-radius: 16px;
  position: relative;
  isolation: isolate;
}

.invite_info_inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,.12) 0%,
    rgba(255,255,255,.04) 40%,
    rgba(255,255,255,.01) 60%,
    rgba(255,255,255,.07) 100%
  );
  padding: 1px;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.invite_info_title {
  display: flex;
  gap: 12px;
}

.invite_info_title span {
  font-size: 14px;
}

.invite_info_paragraph p {
  margin: 0px;
  font-size: 16px;
  margin-top: 12px;
}

.invite_info_paragraph span {
  color: #ffffff;
}

.invite_statistic_inner {
  width: 464px;
  padding: 0 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-radius: 16px;
  position: relative;
  isolation: isolate;
}

.invite_statistic_inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,.12) 0%,
    rgba(255,255,255,.04) 40%,
    rgba(255,255,255,.01) 60%,
    rgba(255,255,255,.07) 100%
  );
  padding: 1px;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.invite_statistic_number {
  margin-top: 54px;
  width: 100%;
}

.invite_statistic_number h1 {
  letter-spacing: 0%;
  margin: 0px;
  font-weight: 500;
  font-size: 64px;
}

.invite_statistic_inside {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.invite_statistic_inside p {
  margin: 0px;
  color: #ffffff;
  font-size: 20px;
}

.invite_statistic_inside button {
  box-shadow: -2px -2px 24px 0px #fe8fff40;
  background-color: #fe8fff;
  width: 64px;
  height: 23px;
  border-radius: 128px;
  cursor: pointer;
  border: 0px;
}

.aside_section {
  display: flex;
  padding-top: 132px;
  margin: auto;
  justify-content: center;
  gap: 40px;
}

.aside_menu {
  width: 94px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: 132px;
  margin-left: -130px;
  text-align: end;
}

.aside_menu_link {
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  text-decoration: none;
  margin: 0px;
  margin-bottom: 12px;
  margin-top: 8px;
}

.aside_menu_link.active {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: #fe99ff;
}

.aside_container {
  max-width: 940px;
  width: 100%;
}

.aside_inner {
  width: 100%;
  border-radius: 16px;
  padding: 0 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.aside_key_title h1 {
  margin: 0px;
  font-size: 16px;
}

.aside_key_flex {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.aside_key_flex input {
  width: 320px;
  height: 41px;
  border-radius: 12px;
  border: 0px;
  padding-left: 14px;
  outline: none;
}

.aside_key_flex select {
  width: 214px;
  height: 41px;
  border-radius: 12px;
  border: 0px;

  padding: 0 14px;
  font-size: 14px;
  outline: none;
}

.aside_key_flex button {
  width: 122px;
  height: 41px;
  background: linear-gradient(
      0deg,
      var(--Accent-100, #fe99ff),
      var(--Accent-100, #fe99ff)
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0) 100%
    );
  box-shadow: 0px -1px 0px 0px #00000040 inset;
  color: #0f0f0f;
  border-radius: 12px;
  border: 0px;
  cursor: pointer;
}

.aside_table_inner {
  width: 100%;
  padding: 20px;
  border-radius: 16px;
  margin-top: 29px;
}

.aside_table_text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.aside_table_text h1 {
  margin: 0px;
  font-size: 16px;
}

.aside_table_text p {
  margin: 0px;
  font-size: 14px;
}

.table-container {
  display: table;
  width: 100%;
  border-collapse: collapse;
}

.table-row {
  display: table-row;
}

.table-row:last-child {
  border-bottom: none;
}

.table-cell {
  display: table-cell;
  padding: 12px 8px;
  vertical-align: middle;
  font-size: 14px;
}

.table-header .table-cell {
  color: #ffffff99;
  font-weight: normal;
}

.table-cell.active {
  color: #43af4a;
}

.status.disable {
  color: #ffffff99;
}

.table-row .table-cell:nth-child(3),
.table-row .table-cell:nth-child(4),
.table-row .table-cell:nth-child(5) {
  text-align: center;
}

.table-header .table-cell:nth-child(3),
.table-header .table-cell:nth-child(4),
.table-header .table-cell:nth-child(5) {
  text-align: center;
}

.table-row .table-cell:nth-child(6),
.table-header .table-cell:nth-child(6) {
  text-align: right;
}

.table-cell.action.remove {
  color: #fd4444;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

@media (max-width: 600px) {
  .table-row .table-cell {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 0;
  }
  .table-cell.action.remove {
    justify-content: flex-start;
    padding-top: 6px;
  }
}

.aside_list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.aside_button {
  padding: 7.5px 12.5px;
  border-radius: 12px;
  border: 0px;
  cursor: pointer;
}

.aside_button.active {
  background: linear-gradient(0deg, #dbdbdb, #dbdbdb),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.25) 0%,
      rgba(255, 255, 255, 0) 100%
    );
  color: #0f0f0f;
}

.table-cell.ref {
  color: #43af4a;
}

.aside_search_flex {
  display: flex;
  align-items: center;
  width: 100%;
}

.aside_search_flex input {
  width: 100%;
  min-width: 0;
  height: 41px;
  border-radius: 12px;
  border: 0;
  outline: none;
  padding: 0 14px;
}

.aside_search_flex input::placeholder {
  color: #ffffff4d;
}

.aside_search_button,
.aside_reset_button {
  display: none;
}

.change_users_container {
  max-width: 940px;
  margin: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.change_users_inner_first,
.change_users_inner_second {
  width: 466px;
  border-radius: 16px;
  padding: 0 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.change_users_inner_third,
.change_users_inner_fourth {
  width: 308px;
  border-radius: 16px;
  padding: 0 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.change_users_inner_fourth,
.change_users_inner_fifth {
  width: 308px;
  border-radius: 16px;
  padding: 0 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.change_users_inner_sixth,
.change_users_inner_seventh {
  width: 466px;
  border-radius: 16px;
  padding: 0 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.change_users_inner_title {
  font-size: 16px;
  font-weight: 400;
  margin: 0px;
}

.change_users_input {
  width: 100%;
  height: 41px;
  border-radius: 12px;
  border: 0px;
  outline: none;
  padding: 0 14px;
  margin-top: 20px;
}

.change_users_select {
  width: 100%;
  height: 41px;

  border-radius: 12px;
  border: 0px;
  outline: none;
  padding: 0 14px;
  margin-top: 20px;
}

.change_users_flex {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  align-items: center;
}

.change_users_flex input {
  width: 284px;
  height: 41px;

  border: 0px;
  outline: none;
  padding: 0 14px;
  border-radius: 12px;
}

.change_users_flex button {
  width: 134px;
  height: 41px;
  background: linear-gradient(
      0deg,
      var(--Accent-100, #fe99ff),
      var(--Accent-100, #fe99ff)
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0) 100%
    );
  box-shadow: 0px -1px 0px 0px #00000014 inset;
  border-radius: 12px;
  border: 0px;
  cursor: pointer;
  color: #0f0f0f;
}

.change_users_payment_container {
  max-width: 940px;
  margin: auto;
  display: flex;
  justify-content: space-between;
}

.change_users_payment_title {
  margin: 0px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  margin-top: 40px;
}

.change_users_payment_inner {
  width: 308px;
  padding: 0 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-radius: 16px;
  margin-top: 16px;
}

.change_users_payment_inner p {
  color: #ffffff;
  margin: 0px;
  font-size: 16px;
}

.change_users_payment_inner input {
  width: 100%;
  height: 41px;

  border-radius: 12px;
  margin-top: 20px;
  padding: 0 20px;
  border: 0px;
  outline: none;
}

.change_users_payment_flex {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.change_users_payment_button {
  height: 41px;
  border: 0px;
  border-radius: 12px;
  cursor: pointer;
}

.change_users_payment_button.active {
  background-color: #43af4a;
  width: 150px;
  color: #ffffff;
}

.change_users_payment_button.froze {
  color: #ffffff;
  width: 110px;
}

.change_users_payment_button.froze {
  width: 110px;
  background: linear-gradient(0deg, #1f1f1f, #1f1f1f),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.02) 0%,
      rgba(255, 255, 255, 0) 100%
    );
  box-shadow: 0px -1px 0px 0px #00000040 inset;
  color: #ffffff;
}

.change_users_payment_container1 {
  max-width: 940px;
  margin: auto;
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.change_users_save_button {
  width: 177px;
  height: 41px;
  background: linear-gradient(0deg, #fe99ff, #fe99ff),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0) 100%
    );
  box-shadow: 0px -1px 0px 0px #00000014 inset;
  border-radius: 12px;
  border: 0px;
  cursor: pointer;
  color: #0f0f0f;
}

.change_users_back_button {
  width: 70px;
  height: 41px;
  border-radius: 12px;
  border: 0px;
  cursor: pointer;
}

.lang_dropdown {
  width: 107px;
  position: absolute;
  top: calc(100% + 2px);
  right: 0;
  color: #000;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(-5px);
  pointer-events: none;
  transition: 0.25s ease;
  padding: 4px;
}

.lang_dropdown.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang_option {
  height: 23px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  color: #ffffff99;
  font-size: 11px;
  line-height: 1;
}

.lang_option:not(:last-child) {
  margin-bottom: 4px;
}

.lang_option.active {
  background: #1f1f1f;
  color: #ffffff;
}

.lang_option:hover {
  background: #1f1f1f;
}

.header_lang_button svg {
  transition: transform 0.25s ease;
}

.header_lang_button.active svg {
  transform: rotate(180deg);
}

.menu_link.deactive {
  color: #ffffff99;
}
.menu_link:hover {
  color: #ffffff;
}

@media (max-width: 1919px) {
  .subscription_text {
    width: 100%;
  }
}
.aside_menu_mobile {
  display: none;
}
@media (max-width: 1300px) {
  .aside_section {
    display: block;
    padding: 0 20px;
    padding-top: 0px;
    padding-top: 100px;
  }
  .aside_menu {
    display: none;
  }
  .aside_container {
    max-width: 100%;
  }
  .aside_menu_mobile {
    display: flex;
    margin-bottom: 20px;
    gap: 2px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .aside_menu_mobile::-webkit-scrollbar { display: none; }
  .aside_menu_mobile .aside_menu_link {
    flex-shrink: 0;
    font-size: 13px;
    padding: 5px 11px;
    border-radius: 20px;
    margin: 0;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: background .13s, border-color .13s;
  }
  body.dark  .aside_menu_mobile .aside_menu_link        { color: rgba(255,255,255,.45); }
  body.light .aside_menu_mobile .aside_menu_link        { color: rgba(0,0,0,.45); }
  body.dark  .aside_menu_mobile .aside_menu_link:hover  { background: rgba(255,255,255,.07); color: rgba(255,255,255,.85); }
  body.light .aside_menu_mobile .aside_menu_link:hover  { background: rgba(0,0,0,.06);       color: rgba(0,0,0,.82); }
  body.dark  .aside_menu_mobile .aside_menu_link.active { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.18); color: #fff; text-decoration: none; }
  body.light .aside_menu_mobile .aside_menu_link.active { background: rgba(0,0,0,.07);       border-color: rgba(0,0,0,.15);       color: #111; text-decoration: none; }
}

@media (max-width: 1380px) {
  .header_container {
    padding-right: 220px;
  }
}

@media (max-width: 1000px) {
  .menu_link {
    display: none;
  }
  
  .burger_window {
    position: absolute;
	top: calc(100% + -10px);
	right: 0;
	  border-radius: 12px;
	  padding: 4px;
	  width: 186px;
	  opacity: 0;
	  visibility: hidden;
	  transform: translateY(-10px);
	  transition: all 0.3s ease;
	  z-index: 99;
	  border: 1px solid;
	  border-image-source: linear-gradient(
		131.89deg,
		rgba(255, 255, 255, 0.05) 2.72%,
		rgba(255, 255, 255, 0) 40.54%,
		rgba(255, 255, 255, 0) 59.46%,
		rgba(255, 255, 255, 0.05) 97.28%
	  );
	}

	.burger_window.active {
	  opacity: 1;
	  visibility: visible;
	  transform: translateY(0);
	}

  .header_container {
    width: calc(100% - 40px);
    margin-left: 20px;
    margin-right: auto;
  }

  .header_inner:nth-child(2) {
    display: none;
  }

  .header_right {
    display: none;
  }

  .header_controls {
    right: 20px;
  }

  body.light .header_burger_mobile{
    background-color: #F5F5F5 !important;
  }

  body.dark .header_burger_mobile {
    background-color: #171717;
  }

  body.light .header_name.color{
    background-color: #DBDBDB !important;
  }

  body.dark .header_name.color {
    background-color: #222222;
  }

  .header_burger_mobile {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    background-color: inherit;
    border-radius: 128px;
    height: 27px;
    padding: 0 2px;
    width: auto;
    min-width: 73px;
    box-sizing: border-box;
  }

  .header_name.color {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    height: 23px;
    padding: 0 8px;
    border-radius: 128px;
    box-sizing: border-box;
  }

  .header_name.color span {
    font-size: 13px;
    line-height: 23px;
    white-space: nowrap;
  }

  .header_svg {
    width: 18px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header_svg svg {
    display: block;
    width: 12px;
    height: 12px;
  }

  .header_inner:nth-child(1) {
    display: flex;
  }
  .header_inner:nth-child(2) {
    display: none;
  }

  .plan_inner { width: 100%; }
  .plan_container {
    padding: 0;
    padding-top: 100px;
    max-width: 100%;
    width: 100%;
    flex-wrap: wrap;
  }

  .personalinfo_container {
    padding: 0 20px;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .personalinfo_first_inner:nth-child(1),
  .personalinfo_second_inner:nth-child(2),
  .personalinfo_fifth_inner:nth-child(5),
  .personalinfo_fourth_inner:nth-child(4) {
    width: 100%;
  }

  .personalinfo_third_inner:nth-child(3),
  .personalinfo_sixth_inner:nth-child(6) {
    width: 49.3%;
  }

  .setting_container {
    max-width: 100%;
    padding: 0 20px;
  }

  .setting_first_inner,
  .setting_second_inner,
  .setting_third_inner,
  .setting_fourth_inner,
  .setting_fifth_inner {
    width: 100%;
  }

  .update_logs_container {
    max-width: 100%;
  }

  .update_header { padding: 0 20px; }

  .update_logs_flex_inner {
    width: 100%;
  }

  .update_logs_information {
    max-height: 180px;
  }

  .subs_info_container {
    max-width: 100%;
    padding: 0 20px;
    padding-top: 100px;
    flex-wrap: wrap;
  }

  .subs_info_inner {
    width: 100%;
    margin-bottom: 8px;
  }

  .subscription_title {
    max-width: 100%;
    padding: 0 20px;
  }

  .subscription_container {
    max-width: 100%;
    padding: 0 20px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    gap: 16px;
    padding-bottom: 10px;
  }

  .subscription_inner { min-width: 223px; }

  .invite_info_container {
    max-width: 100%;
    padding: 0 20px;
    flex-wrap: wrap;
  }

  .invite_info_inner,
  .invite_statistic_inner {
    width: 100%;
    margin-bottom: 8px;
  }

  .aside_key_flex {
    width: 100%;
    flex-wrap: wrap;
  }

  .aside_key_flex input { width: 80%; }
  .aside_key_flexes.option { width: 19%; }
  .aside_key_flexes.option1 {
    width: 100%;
    margin-top: 10px;
  }
  .aside_key_flex button {
    width: 100%;
    margin-top: 10px;
  }

  .auth_header.topw { padding-top: 100px; }

  .change_users_container { padding: 0 20px; }

  .change_users_inner_first,
  .change_users_inner_second,
  .change_users_inner_third,
  .change_users_inner_fourth,
  .change_users_inner_fifth,
  .change_users_inner_sixth,
  .change_users_inner_seventh {
    width: 100%;
  }

  .change_users_flex {
    flex-wrap: wrap;
  }

  .change_users_flex input,
  .change_users_flex button {
    width: 100%;
  }

  .change_users_payment_container {
    padding: 0 20px;
    flex-wrap: wrap;
  }

  .change_users_payment_inner { width: 100%; }

  .change_users_payment_button.active { width: 60%; }
  .change_users_payment_button.froze { width: 39%; }

  .change_users_payment_container1 { padding: 0 20px; }

  .change_users_save_button,
  .change_users_back_button {
    width: 49%;
  }
}

@media (max-width: 900px) {
  .personalinfo_third_inner:nth-child(3) {
    width: 48%;
    order: 5;
  }

  .personalinfo_sixth_inner:nth-child(6) {
    width: 48%;
    order: 6;
  }
}

.header_burger_mobile {
  display: none;
}

@media (max-width: 600px) {
  .aside_key_flex input {
    width: 70%;
  }
  .aside_key_flexes.option {
    width: 29%;
  }
  .aside_search_button {
    width: 70px;
    height: 41px;
    background: linear-gradient(
        0deg,
        var(--Accent-100, #fe99ff),
        var(--Accent-100, #fe99ff)
      ),
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0) 100%
      );
    box-shadow: 0px -1px 0px 0px #00000014 inset;
    border-radius: 12px;
    color: #0f0f0f;
    font-size: 14px;
    cursor: pointer;
    border: 0px;
    width: 49%;
    margin-top: 12px;
  }

  .aside_reset_button {
    width: 49%;
    height: 41px;

    font-size: 14px;
    margin-top: 12px;
    border-radius: 12px;
    border: 0px;
    cursor: pointer;
  }
  .aside_search_flex {
    flex-wrap: wrap;
    width: 100%;
  }
}

@media (max-width: 500px) {
  .plan_button {
    width: 178px;
  }
  .plan_paragraph {
    width: 100%;
  }
  .plan_paragraph {
    width: 352px;
  }
}

@media (max-width: 400px) {
  .aside_key_flex input {
    width: 60%;
  }
  .aside_key_flexes.option {
    width: 39%;
  }
}

@media (max-width: 900px) {
  .aside_table_inner {
    display: none;
  }
  body.light .aside_inner_inside_mobile {
    background-color: #f5f5f5;
  }
  body.dark .aside_inner_inside_mobile {
    background-color: #171717;
  }
  .aside_inner_inside_mobile {
    display: block !important;
    border-radius: 16px;
    width: 100%;
    margin-top: 24px;
    padding: 0 6px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .aside_info {
    display: flex;
    justify-content: space-between;
    padding: 0 14px;
    align-items: center;
  }

  body.light .aside_inner_inside_mobile h1 {
    color: #0f0f0f;
  }
  body.dark .aside_inner_inside_mobile h1 {
    color: #ffffff;
  }

  .aside_inner_inside_mobile h1 {
    font-size: 16px;
    margin: 0px;
    margin-top: 14px;
    margin-bottom: 14px;
  }

  body.light .aside_inner_inside_mobile span {
    color: #0f0f0f99;
  }
  body.dark .aside_inner_inside_mobile span {
    color: #ffffff99;
  }
  .aside_inner_inside_mobile span {
    font-size: 14px;
  }
  .flex_mobile {
    display: flex;
    justify-content: space-between;
  }

  body.light .aside_mobile_inner {
    background-color: #dbdbdb;
  }
  body.dark .aside_mobile_inner {
    background-color: #1f1f1f;
  }
  .aside_mobile_inner {
    width: 100%;
    padding: 0 14px;
    border-radius: 14px;
    padding-top: 14px;
    padding-bottom: 14px;
    margin-bottom: 6px;
  }

  body.light .aside_mobile_right p {
    color: #0f0f0f99;
  }
  body.dark .aside_mobile_right p {
    color: #ffffff99 !important;
  }

  body.light .chevron {
    fill: #0f0f0f;
  }
  body.dark .chevron {
    fill: #ffffff;
  }

  .aside_mobile_right_flexcolor {
    color: #43af4a !important;
  }

  .aside_mobile_right p {
    font-size: 14px;
  }

  .aside_mobile_right h1 {
    color: #ffffff;
    font-weight: 400;
    font-size: 14px;
  }

  .aside_mobile_right_flex {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 314px;
  }

  .aside_mobile_right_flex span {
    flex-grow: 1;
    height: 1px;
    background-color: #ffffff0d;
  }

  .mobile_aside_button {
    text-align: center;
  }

  .mobile_aside_button button {
    background-color: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fd4444;
    border: 0px;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    margin: auto;
    margin-top: 24px;
    margin-bottom: 14px;
  }

  .aside_mobile_left svg {
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .content-hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
  }

  .expanded .content-hidden {
    max-height: 500px;
    opacity: 1;
    margin-top: 14px;
  }

  .expanded .chevron {
    transform: rotate(180deg);
  }

  .header-clickable {
    cursor: pointer;
    margin-bottom: 0;
    transition: margin-bottom 0.3s ease;
    margin-top: -12px;
  }

  .expanded .header-clickable {
    margin-bottom: 8px;
  }
  .aside_mobile_right_flex.top {
    margin-top: -15px;
  }
  .aside_list {
    width: 100%;
    display: flex;
  }
}

.aside_inner_inside_mobile {
  display: none;
}

.key_modal-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}
.key_modal-show {
  opacity: 1;
  pointer-events: auto;
}

.key_modal_inner {
  padding: 0 6px;
  border-radius: 16px;
  width: 360px;
  transform: scale(0.8);
  opacity: 0;
  padding-top: 6px;
  padding-bottom: 6px;
  transition: all 0.3s ease;
}

.key_modal-container.key_modal-show .key_modal_inner {
  transform: scale(1);
  opacity: 1;
}

.key_modal-hide .key_modal_inner {
  transform: scale(0.8);
  opacity: 0;
}

.key_modal_text {
  display: flex;
  padding: 0 14px;
  align-items: center;
  justify-content: space-between;
}

.key_modal_text p {
  font-size: 16px;
  font-family: 500;
}

.key_modal_btn {
  background: linear-gradient(
      0deg,
      var(--Accent-100, #fe99ff),
      var(--Accent-100, #fe99ff)
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0) 100%
    );
  width: 100%;
  height: 41px;
  border-radius: 12px;
  cursor: pointer;
  border: 0px;
  margin-top: 20px;
  box-shadow: 0px -1px 0px 0px #00000014 inset;
}

@keyframes modalScale {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal_key_l {
  text-align: center;
}

#modal_key {
  margin: 0px;
  font-weight: 500;
  font-size: 24px;
  text-align: center;
}

.modal_key_flex {
  display: flex;
  justify-content: center;
  gap: 16px;
  align-items: center;
  margin-top: -12px;
}

.modal_key_flex p {
  font-size: 14px;
}

.menu_link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease,
    backdrop-filter 0.2s ease;
}

.menu_link.active {
  pointer-events: none;
  cursor: default;
}

body.dark .menu_link.active,
html.dark .menu_link.active,
[data-theme="dark"] .menu_link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}

body.dark .menu_link.deactive,
html.dark .menu_link.deactive,
[data-theme="dark"] .menu_link.deactive {
  color: rgba(255, 255, 255, 0.62);
  background: transparent;
}

body.dark .menu_link.deactive:hover,
html.dark .menu_link.deactive:hover,
[data-theme="dark"] .menu_link.deactive:hover {
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.03);
}

body.light .menu_link.active,
html.light .menu_link.active,
[data-theme="light"] .menu_link.active {
  color: #000;
  background: rgba(0, 0, 0, 0.045);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(8px);
}

body.light .menu_link.deactive,
html.light .menu_link.deactive,
[data-theme="light"] .menu_link.deactive {
  color: rgba(0, 0, 0, 0.58);
  background: transparent;
}

body.light .menu_link.deactive:hover,
html.light .menu_link.deactive:hover,
[data-theme="light"] .menu_link.deactive:hover {
  color: rgba(0, 0, 0, 0.8);
  background: rgba(0, 0, 0, 0.03);
}

.header_inner.logo {
  position: relative;
}

.header_inner.logo a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

.subs_info_container {
    padding-top: 108px !important;
}
.subs_info_container > .subs_info_inner {
    align-self: stretch;
}

.subs_info_inner--with-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 !important;
}
.subs_info_inner--with-toggle .subs_info_flex {
    padding: 16px 20px 14px;
    flex: 1;
}
.visuals_toggle_divider {
    height: 1px;
    background: rgba(255,255,255,.07);
}
body.light .visuals_toggle_divider {
    background: rgba(0,0,0,.08);
}

.subscription_visuals_label {
    display: flex; align-items: center; gap: 10px;
    cursor: pointer; user-select: none;
    padding: 11px 20px 13px;
    transition: background .2s;
    border-radius: 0 0 16px 16px;
}
.subscription_visuals_label:hover {
    background: rgba(255,255,255,.025);
}
.subscription_visuals_label:has(.visuals_toggle_input:checked) {
    background: rgba(254,153,255,.05);
}
body.light .subscription_visuals_label:hover {
    background: rgba(0,0,0,.02);
}
body.light .subscription_visuals_label:has(.visuals_toggle_input:checked) {
    background: rgba(196,79,197,.04);
}

.visuals_toggle_icon_wrap {
    width: 26px; height: 26px; flex-shrink: 0;
    border-radius: 7px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.09);
    display: flex; align-items: center; justify-content: center;
    transition: background .25s, border-color .25s;
}
.visuals_toggle_icon_wrap img {
    width: 14px; height: 14px;
    opacity: .5;
    transition: opacity .25s;
}
.visuals_icon_light { display: none; }
body.light .visuals_icon_dark { display: none; }
body.light .visuals_icon_light { display: block; }
.subscription_visuals_label:has(.visuals_toggle_input:checked) .visuals_toggle_icon_wrap {
    background: rgba(254,153,255,.12);
    border-color: rgba(254,153,255,.3);
}
.subscription_visuals_label:has(.visuals_toggle_input:checked) .visuals_toggle_icon_wrap img {
    opacity: 1;
}
body.light .visuals_toggle_icon_wrap {
    background: rgba(0,0,0,.05);
    border-color: rgba(0,0,0,.09);
}
body.light .subscription_visuals_label:has(.visuals_toggle_input:checked) .visuals_toggle_icon_wrap {
    background: rgba(196,79,197,.12);
    border-color: rgba(196,79,197,.3);
}

.visuals_toggle_bar_title {
    font-size: 13px; font-weight: 500; font-family: inter, sans-serif;
    color: rgba(255,255,255,.45); transition: color .25s;
    flex: 1;
}
.subscription_visuals_label:has(.visuals_toggle_input:checked) .visuals_toggle_bar_title { color: #fe99ff; }
body.light .visuals_toggle_bar_title { color: rgba(0,0,0,.4); }
body.light .subscription_visuals_label:has(.visuals_toggle_input:checked) .visuals_toggle_bar_title { color: #c44fc5; }

.visuals_toggle_track {
    position: relative; width: 40px; height: 24px; flex-shrink: 0;
}
.visuals_toggle_input {
    position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.visuals_toggle_thumb {
    position: absolute; inset: 0; border-radius: 999px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
    transition: background .25s, border-color .25s, box-shadow .25s;
}
.visuals_toggle_thumb::after {
    content: ''; position: absolute; top: 3px; left: 3px;
    width: 16px; height: 16px; border-radius: 50%;
    background: rgba(255,255,255,.35); box-shadow: 0 1px 3px rgba(0,0,0,.3);
    transition: transform .25s cubic-bezier(.34,1.4,.64,1), background .25s;
}
.visuals_toggle_input:checked ~ .visuals_toggle_thumb {
    background: linear-gradient(135deg, #fe99ff, #c44fc5);
    border-color: transparent; box-shadow: 0 0 8px rgba(254,153,255,.4);
}
.visuals_toggle_input:checked ~ .visuals_toggle_thumb::after {
    transform: translateX(16px); background: #fff;
}
body.light .visuals_toggle_thumb { background: rgba(0,0,0,.1); border-color: rgba(0,0,0,.15); }
body.light .visuals_toggle_thumb::after { background: rgba(0,0,0,.3); }

.balance_quick_deposits {
    display: flex;
    gap: 8px;
    padding: 11px 20px 13px;
}
.balance_quick_btn {
    flex: 1;
    height: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.4);
    font-family: inter, sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, transform .15s;
    white-space: nowrap;
}
.balance_quick_btn:hover {
    background: rgba(254,153,255,.1);
    border-color: rgba(254,153,255,.25);
    color: #fe99ff;
    transform: translateY(-1px);
}
.balance_quick_btn:active {
    transform: translateY(0);
}
body.light .balance_quick_btn {
    background: rgba(0,0,0,.03);
    border-color: rgba(0,0,0,.08);
    color: rgba(0,0,0,.35);
}
body.light .balance_quick_btn:hover {
    background: rgba(196,79,197,.08);
    border-color: rgba(196,79,197,.2);
    color: #c44fc5;
}

.balance_promo_row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px 13px;
}
.balance_promo_icon_wrap {
    width: 26px; height: 26px; flex-shrink: 0;
    border-radius: 7px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.09);
    display: flex; align-items: center; justify-content: center;
    transition: background .25s, border-color .25s;
}
.balance_promo_icon_wrap svg {
    opacity: .5;
    transition: opacity .25s;
}
body.light .balance_promo_icon_wrap {
    background: rgba(0,0,0,.05);
    border-color: rgba(0,0,0,.09);
}
.balance_promo_input_wrap {
    flex: 1;
    position: relative;
}
.balance_promo_input {
    width: 100%;
    height: 26px;
    background: transparent;
    border: none;
    outline: none;
    font-family: inter, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,.45);
    caret-color: #fe99ff;
    letter-spacing: .01em;
}
.balance_promo_input::placeholder {
    color: rgba(255,255,255,.25);
}
body.light .balance_promo_input {
    color: rgba(0,0,0,.4);
}
body.light .balance_promo_input::placeholder {
    color: rgba(0,0,0,.22);
}
.balance_promo_submit {
    height: 26px;
    padding: 0 10px;
    border-radius: 7px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.35);
    font-family: inter, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .2s, color .2s, border-color .2s;
}
.balance_promo_submit:hover {
    background: rgba(254,153,255,.1);
    border-color: rgba(254,153,255,.25);
    color: #fe99ff;
}
body.light .balance_promo_submit {
    background: rgba(0,0,0,.03);
    border-color: rgba(0,0,0,.08);
    color: rgba(0,0,0,.3);
}
body.light .balance_promo_submit:hover {
    background: rgba(196,79,197,.08);
    border-color: rgba(196,79,197,.2);
    color: #c44fc5;
}

.balance_promo_applied {
    font-size: 13px;
    color: rgba(255,255,255,.45);
    padding: 0 4px;
}
.balance_promo_applied strong {
    color: rgba(255,255,255,.85);
    font-weight: 600;
}
body.light .balance_promo_applied {
    color: rgba(0,0,0,.4);
}
body.light .balance_promo_applied strong {
    color: rgba(0,0,0,.75);
}

.sub_progress_list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}
.sub_progress_item {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.sub_progress_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.sub_progress_name_wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}
.sub_progress_dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    background: rgba(255,255,255,.15);
}
.sub_progress_dot.active {
    background: #fe99ff;
    box-shadow: 0 0 6px rgba(254,153,255,.6);
}
.sub_progress_dot.soon {
    background: #ff7070;
    box-shadow: 0 0 6px rgba(255,100,100,.6);
}
body.light .sub_progress_dot { background: rgba(0,0,0,.15); }
body.light .sub_progress_dot.active { background: #c44fc5; box-shadow: 0 0 6px rgba(196,79,197,.5); }
body.light .sub_progress_dot.soon   { background: #e03030; box-shadow: 0 0 6px rgba(200,50,50,.4); }

.sub_progress_name {
    font-family: inter, sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,.7);
}
body.light .sub_progress_name { color: rgba(0,0,0,.6); }
.sub_progress_item.inactive .sub_progress_name { color: rgba(255,255,255,.25); }
body.light .sub_progress_item.inactive .sub_progress_name { color: rgba(0,0,0,.22); }

.sub_progress_badge {
    font-family: inter, sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 6px;
    white-space: nowrap;
}
.sub_progress_badge.active {
    color: #fe99ff;
    background: rgba(254,153,255,.1);
    border: 1px solid rgba(254,153,255,.2);
}
.sub_progress_badge.soon {
    color: #ff7070;
    background: rgba(255,100,100,.1);
    border: 1px solid rgba(255,100,100,.2);
}
.sub_progress_badge.inactive {
    color: rgba(255,255,255,.2);
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
}
body.light .sub_progress_badge.active {
    color: #c44fc5; background: rgba(196,79,197,.08); border-color: rgba(196,79,197,.2);
}
body.light .sub_progress_badge.soon {
    color: #c43030; background: rgba(196,50,50,.07); border-color: rgba(196,50,50,.15);
}
body.light .sub_progress_badge.inactive {
    color: rgba(0,0,0,.2); background: rgba(0,0,0,.03); border-color: rgba(0,0,0,.07);
}

.sub_progress_track {
    width: 100%;
    height: 3px;
    border-radius: 99px;
    background: rgba(255,255,255,.06);
    overflow: hidden;
}
body.light .sub_progress_track { background: rgba(0,0,0,.06); }
.sub_progress_fill {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, #fe99ff, #c44fc5);
    box-shadow: 0 0 5px rgba(254,153,255,.35);
    transition: width .7s cubic-bezier(.22,1,.36,1);
}
.sub_progress_fill.soon {
    background: linear-gradient(90deg, #ff8080, #d94040);
    box-shadow: 0 0 5px rgba(255,100,100,.3);
}
.sub_progress_fill.inactive {
    background: rgba(255,255,255,.08);
    box-shadow: none;
}

.sub_progress_dates {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 1px;
}
.sub_progress_date_chip {
    font-family: inter, sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: rgba(255,255,255,.22);
    white-space: nowrap;
}
body.light .sub_progress_date_chip { color: rgba(0,0,0,.22); }
		.sub_progress_dates_arrow {
			display: flex;
			align-items: center;
			flex-shrink: 0;
			color: rgba(255,255,255,.22);
		}
		body.light .sub_progress_dates_arrow {
			color: rgba(0,0,0,.22);
		}
		.sub_progress_dates_arrow svg {
			fill: none !important;
		}
		.sub_progress_dates_arrow svg path {
			stroke: currentColor !important;
			fill: none !important;
		}
.sub_progress_date_chip.highlight { color: rgba(254,153,255,.55); }
.sub_progress_date_chip.highlight.soon { color: rgba(255,100,100,.6); }
body.light .sub_progress_date_chip.highlight { color: rgba(196,79,197,.5); }
body.light .sub_progress_date_chip.highlight.soon { color: rgba(200,50,50,.55); }
.sub_progress_item.inactive .sub_progress_date_chip { color: rgba(255,255,255,.12); }
body.light .sub_progress_item.inactive .sub_progress_date_chip { color: rgba(0,0,0,.12); }

		.sub_progress_dates_sep {
			font-size: 10px;
			color: rgba(255,255,255,.12);
			margin: 0 1px;
		}
		body.light .sub_progress_dates_sep {
			color: rgba(0,0,0,.22);
		}
.sub_progress_date_chip.visuals-exp {
    color: rgba(254,153,255,.4);
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
body.light .sub_progress_date_chip.visuals-exp { color: rgba(196,79,197,.35); }

.sub_progress_dot.frozen {
    background: #7eb8ff;
    box-shadow: 0 0 6px rgba(100,170,255,.55);
}
body.light .sub_progress_dot.frozen {
    background: #4a8fd4;
    box-shadow: 0 0 6px rgba(74,143,212,.45);
}
.sub_progress_badge.frozen {
    color: #7eb8ff;
    background: rgba(100,170,255,.1);
    border: 1px solid rgba(100,170,255,.2);
}
body.light .sub_progress_badge.frozen {
    color: #3a7abf;
    background: rgba(58,122,191,.08);
    border-color: rgba(58,122,191,.18);
}
.sub_progress_fill.frozen {
    background: linear-gradient(90deg, #7eb8ff, #4a8fd4);
    box-shadow: 0 0 5px rgba(100,170,255,.3);
}
.sub_freeze_chip {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-family: inter, sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: rgba(126,184,255,.6);
    background: rgba(100,170,255,.08);
    border: 1px solid rgba(100,170,255,.15);
    border-radius: 5px;
    padding: 1px 5px;
    white-space: nowrap;
}
body.light .sub_freeze_chip {
    color: rgba(58,122,191,.6);
    background: rgba(58,122,191,.06);
    border-color: rgba(58,122,191,.14);
}

.sub_visuals_chip {
    width: 16px; height: 16px;
    border-radius: 4px;
    background: rgba(254,153,255,.1);
    border: 1px solid rgba(254,153,255,.18);
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    position: relative;
}
.sub_visuals_chip img {
    opacity: .7;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 9px; height: 9px;
}
.sub_visuals_chip.active {
    background: rgba(254,153,255,.15);
    border-color: rgba(254,153,255,.3);
}
body.light .sub_visuals_chip {
    background: rgba(196,79,197,.08);
    border-color: rgba(196,79,197,.18);
}

.visuals_toggle_thumb {
    position: absolute; inset: 0; border-radius: 999px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.14);
    transition: background .25s, border-color .25s, box-shadow .25s;
}
.visuals_toggle_thumb::after {
    content: ''; position: absolute; top: 3px; left: 3px;
    width: 16px; height: 16px; border-radius: 50%;
    background: rgba(255,255,255,.55);
    box-shadow: 0 1px 4px rgba(0,0,0,.4);
    transition: transform .25s cubic-bezier(.34,1.4,.64,1), background .25s, box-shadow .25s;
}
.visuals_toggle_input:checked ~ .visuals_toggle_thumb {
    background: linear-gradient(135deg, #fe99ff 0%, #c44fc5 100%);
    border-color: transparent;
    box-shadow: 0 0 12px rgba(254,153,255,.55), 0 0 4px rgba(254,153,255,.3);
}
.visuals_toggle_input:checked ~ .visuals_toggle_thumb::after {
    transform: translateX(16px);
    background: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,.25);
}
body.light .visuals_toggle_thumb { background: rgba(0,0,0,.1); border-color: rgba(0,0,0,.15); }
body.light .visuals_toggle_thumb::after { background: rgba(0,0,0,.35); }
body.light .visuals_toggle_input:checked ~ .visuals_toggle_thumb {
    box-shadow: 0 0 10px rgba(196,79,197,.4);
}
.subscription_title {
    margin-top: 52px !important;
}
.subscription_title h1 {
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,.35) !important;
    margin: 0 !important;
}
body.light .subscription_title h1 { color: rgba(0,0,0,.35) !important; }

.subscription_container {
    margin-top: 16px !important;
    gap: 12px !important;
}

@media (max-width: 940px) {
    .subscription_container {
        overflow-y: visible !important;
        padding-top: 16px !important;
    }
}

.subscription_inner {
    width: calc(33.33% - 8px) !important;
    padding: 24px 20px 20px !important;
    border-radius: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    
    transition: transform .55s cubic-bezier(.22,1,.36,1),
                box-shadow .55s cubic-bezier(.22,1,.36,1),
                background-color .55s ease !important;
    will-change: transform, box-shadow !important;
}

.subscription_inner::before {
    transition: opacity .55s ease !important;
}
.subscription_inner:hover::before {
    opacity: 1.4 !important;
}

.subscription_inner::after {
    content: "" !important;
    position: absolute !important;
    top: -1px !important; left: -1px !important;
    right: -1px !important; bottom: -1px !important;
    border-radius: 20px !important;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,.18) 0%,
        rgba(255,255,255,.06) 40%,
        rgba(255,255,255,.02) 60%,
        rgba(255,255,255,.14) 100%
    ) !important;
    z-index: -1 !important;
    opacity: 0 !important;
    transition: opacity .55s ease !important;
    pointer-events: none !important;
}
.subscription_inner.color::after {
    background: linear-gradient(
        135deg,
        rgba(254,153,255,.32) 0%,
        rgba(255,255,255,.04) 40%,
        rgba(255,255,255,.02) 60%,
        rgba(254,153,255,.2) 100%
    ) !important;
}
.subscription_inner:hover::after {
    opacity: 1 !important;
}
.subscription_inner:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 36px rgba(0,0,0,.32) !important;
}
.subscription_inner.color {
    padding-top: 30px !important;
}
.subscription_inner.color:hover {
    box-shadow: 0 12px 36px rgba(254,153,255,.14) !important;
}

body.dark .subscription_inner,
body.light .subscription_inner {
    transition: transform .55s cubic-bezier(.22,1,.36,1),
                box-shadow .55s cubic-bezier(.22,1,.36,1),
                background-color .55s ease !important;
}

.subscription_text {
    width: 100% !important;
    padding: 0 !important;
    margin-bottom: 20px !important;
    flex: 1 !important;
}

.subscription_inner.color {
    overflow: visible !important;
}
.sub-popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #fe99ff;
    background: #1a1a1a;
    border: 1px solid rgba(254,153,255,.35);
    border-radius: 20px;
    padding: 4px 10px;
}
body.light .sub-popular-badge {
    background: #f0f0f0;
}
.sub-popular-badge::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #fe99ff;
    box-shadow: 0 0 5px #fe99ff;
}

.subscription_price {
    display: flex !important;
    align-items: baseline !important;
    gap: 0 !important;
    margin: 0 0 8px !important;
}
.subscription_text h1.subscription_price {
    font-size: 44px !important;
    font-weight: 700 !important;
    letter-spacing: -.03em !important;
    line-height: 1 !important;
}
.subscription_price .currency-label {
    font-size: 13px;
    font-weight: 500;
    opacity: .4;
    margin-left: 7px;
    padding-bottom: 4px;
    align-self: flex-end;
    letter-spacing: .01em;
}
body.light .subscription_price .currency-label { opacity: .35; }

.subscription_text p {
    font-size: 13px !important;
    font-weight: 400 !important;
    margin: 0 !important;
    opacity: .45;
}
body.light .subscription_text p { opacity: .5; }

.sub-divider {
    height: 1px;
    background: rgba(255,255,255,.07);
    border: none;
    margin: 0 0 16px;
    transition: background .35s ease;
}
body.light .sub-divider { background: rgba(0,0,0,.07); }
.subscription_inner.color .sub-divider { background: rgba(254,153,255,.12); }

.subscription_button {
    width: 100% !important;
    height: 42px !important;
    border-radius: 12px !important;
    border: none !important;
    cursor: pointer !important;
    font-family: inter, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 0 !important;
    white-space: nowrap !important;
    background: rgba(255,255,255,.06) !important;
    color: rgba(255,255,255,.6) !important;
    transition: background .35s ease, color .35s ease,
                box-shadow .35s ease, opacity .35s ease !important;
}
.subscription_button:hover {
    background: rgba(255,255,255,.1) !important;
    color: #fff !important;
}
.subscription_button.color {
    background: linear-gradient(135deg, #fe99ff, #c44fc5) !important;
    color: #0f0f0f !important;
    box-shadow: 0 4px 20px rgba(254,153,255,.25) !important;
}
.subscription_button.color:hover {
    box-shadow: 0 6px 28px rgba(254,153,255,.4) !important;
    opacity: .92 !important;
}
body.light .subscription_button {
    background: rgba(0,0,0,.05) !important;
    color: rgba(0,0,0,.5) !important;
}
body.light .subscription_button:hover {
    background: rgba(0,0,0,.09) !important;
    color: #000 !important;
}

.freeze_modal_inner {
    width: 380px !important;
}

.freeze_modal_header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 4px;
}

.freeze_modal_icon_wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(100, 170, 255, 0.12);
    border: 1px solid rgba(100, 170, 255, 0.2);
    color: rgba(120, 185, 255, 0.85);
    margin-top: 2px;
}

.freeze_modal_title_wrap {
    flex: 1;
    min-width: 0;
}

.freeze_modal_title_wrap h1 {
    font-size: 15px !important;
    font-weight: 600 !important;
    margin: 0 0 4px !important;
    line-height: 1.3;
}

.freeze_modal_title_wrap p {
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
    opacity: 0.55;
}

.freeze_modal_divider {
    height: 1px;
    margin: 16px 0;
    opacity: 0.12;
    background: currentColor;
}

.freeze_modal_products {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.freeze_product_card {
    width: 100%;
    border-radius: 12px;
    padding: 12px 14px;
    text-align: left;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
    position: relative;
    outline: none;
}

.freeze_product_card_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.freeze_product_name {
    font-size: 14px;
    font-weight: 500;
}

.freeze_product_expires {
    font-size: 11px;
    margin-top: 4px;
    opacity: 0.45;
}

.freeze_product_card_check {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%) scale(0);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s ease;
}

.freeze_product_card.selected .freeze_product_card_check {
    transform: translateY(-50%) scale(1);
}

.freeze_product_card.selected .freeze_product_card_top {
    padding-right: 28px;
}

.freeze_product_card.unavailable {
    opacity: 0.38;
    cursor: not-allowed;
    pointer-events: none;
}

.freeze_badge {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 6px;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.freeze_badge.active {
    color: rgba(100, 220, 140, 0.9);
    background: rgba(80, 200, 120, 0.1);
    border: 1px solid rgba(80, 200, 120, 0.2);
}

.freeze_badge.frozen {
    color: rgba(120, 185, 255, 0.9);
    background: rgba(100, 170, 255, 0.1);
    border: 1px solid rgba(100, 170, 255, 0.2);
}

.freeze_badge.inactive {
    color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}

.freeze_badge.cooldown {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 190, 100, 0.95);
    background: rgba(255, 180, 80, 0.1);
    border: 1px solid rgba(255, 180, 80, 0.25);
    gap: 2px;
}

.freeze_badge.cooldown svg {
    fill: none !important;
    stroke: currentColor;
    flex-shrink: 0;
}

.freeze_product_card.on-cooldown {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

body.dark .freeze_modal_title_wrap h1 { color: #ffffff; }
body.dark .freeze_modal_title_wrap p  { color: #ffffff; }
body.dark .freeze_modal_divider       { background: #ffffff; }

body.dark .freeze_product_card {
    background: #1f1f1f;
    border-color: rgba(255,255,255,0.06);
    color: #ffffff;
}
body.dark .freeze_product_card_check {
    background: rgba(254, 153, 255, 0.15);
    color: #fe99ff;
}
body.dark .freeze_product_card:hover:not([disabled]) {
    border-color: rgba(255,255,255,0.14);
    background: #252525;
}
body.dark .freeze_product_card.selected {
    border-color: rgba(254,153,255,0.4);
    background: rgba(254,153,255,0.06);
}
body.dark .freeze_product_card.is-frozen.selected {
    border-color: rgba(100,170,255,0.4);
    background: rgba(100,170,255,0.06);
}

body.light .freeze_modal_icon_wrap {
    background: rgba(58,122,191,0.1);
    border-color: rgba(58,122,191,0.18);
    color: rgba(58,122,191,0.85);
}
body.light .freeze_modal_title_wrap h1 { color: #0f0f0f; }
body.light .freeze_modal_title_wrap p  { color: #0f0f0f; }
body.light .freeze_modal_divider       { background: #0f0f0f; }

body.light .freeze_product_card {
    background: #ebebeb;
    border-color: rgba(0,0,0,0.06);
    color: #0f0f0f;
}
body.light .freeze_product_card:hover:not([disabled]) {
    border-color: rgba(0,0,0,0.14);
    background: #e2e2e2;
}
body.light .freeze_product_card.selected {
    border-color: rgba(200,80,200,0.35);
    background: rgba(200,80,200,0.06);
}
body.light .freeze_product_card.is-frozen.selected {
    border-color: rgba(58,122,191,0.35);
    background: rgba(58,122,191,0.06);
}
body.light .freeze_badge.inactive {
    color: rgba(0,0,0,0.35);
    background: rgba(0,0,0,0.05);
    border-color: rgba(0,0,0,0.08);
}
body.light .freeze_badge.cooldown {
    color: rgba(180, 110, 0, 0.9);
    background: rgba(220, 150, 0, 0.08);
    border-color: rgba(200, 130, 0, 0.2);
}
body.light .freeze_product_card_check {
    background: rgba(180, 0, 255, 0.15);
    color: #d966ff;
}
body.light .freeze_product_card_check svg,
body.dark .freeze_product_card_check svg {
    fill: none;
}

.plan_freeze_link {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: inherit;
  color: #fe8fff;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(254, 143, 255, 0.4);
  text-underline-offset: 2px;
  transition: color 0.15s, text-decoration-color 0.15s;
}

.plan_freeze_link:hover {
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

[data-lang-btn].i18n-active { opacity: 1 !important; font-weight: 700; text-decoration: underline; }

.mobile-user-toggle {
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.mobile-user-toggle:focus-visible {
    outline: 2px solid rgba(255,255,255,.35);
    outline-offset: 3px;
    border-radius: 8px;
}
.content-hidden {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.28s ease, opacity 0.22s ease;
    will-change: max-height, opacity;
}
[data-mobile-user-item].is-open .content-hidden {
    opacity: 1;
}
[data-mobile-user-item] .chevron {
    transition: transform 0.28s ease;
    transform-origin: center;
}
[data-mobile-user-item].is-open .chevron {
    transform: rotate(180deg);
}
@media (prefers-reduced-motion: reduce) {
    .content-hidden,
    [data-mobile-user-item] .chevron { transition: none !important; }
}

@keyframes ep-backdrop-in  { from { opacity:0 } to { opacity:1 } }
@keyframes ep-backdrop-out { from { opacity:1 } to { opacity:0 } }
@keyframes ep-card-in  { from { opacity:0; transform:scale(.95) translateY(12px) } to { opacity:1; transform:scale(1) translateY(0) } }
@keyframes ep-card-out { from { opacity:1; transform:scale(1) translateY(0) }   to { opacity:0; transform:scale(.95) translateY(12px) } }
@keyframes ep-sheet-in  { from { transform:translateY(100%) } to { transform:translateY(0) } }
@keyframes ep-sheet-out { from { transform:translateY(0) }    to { transform:translateY(100%) } }

#editPanel {
    display:none; position:fixed; inset:0; z-index:20000;
    background:rgba(0,0,0,.62); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
    align-items:center; justify-content:center; padding:20px; overflow:hidden;
}
#editPanel.open    { display:flex; animation:ep-backdrop-in  .2s ease forwards; }
#editPanel.closing { animation:ep-backdrop-out .18s ease forwards; }
#editPanel.open    .ep-card   { animation:ep-card-in  .26s cubic-bezier(.22,.68,0,1.18) forwards; }
#editPanel.closing .ep-card   { animation:ep-card-out .18s ease forwards; }

.ep-card {
    background:#131316; border:1px solid rgba(255,255,255,.1); border-radius:20px;
    width:100%; max-width:600px; display:flex; flex-direction:column;
    max-height:calc(100dvh - 40px); max-height:calc(100vh - 40px);
    box-shadow:0 40px 100px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.05) inset;
}

.ep-head {
    display:flex; align-items:center; justify-content:space-between;
    padding:18px 20px 16px; border-bottom:1px solid rgba(255,255,255,.07); flex-shrink:0;
}
.ep-head-left { display:flex; flex-direction:column; gap:1px; }
.ep-title { font-size:15px; font-weight:600; color:#fff; margin:0; letter-spacing:-.01em; }
.ep-subtitle { font-size:11px; color:rgba(255,255,255,.3); margin:0; }
.ep-close {
    background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.09); cursor:pointer;
    width:30px; height:30px; border-radius:50%; color:rgba(255,255,255,.45);
    transition:background .15s,color .15s; display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.ep-close:hover { background:rgba(255,255,255,.14); color:#fff; }

.ep-body { flex:1; overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain; }
.ep-body.hidden { display:none; }
.ep-body-scroll { padding:18px 20px 4px; }

.ep-loading { display:none; text-align:center; padding:40px 0; color:rgba(255,255,255,.3); font-size:13px; }
.ep-loading.show { display:block; }

.ep-section { font-size:10px; font-weight:600; text-transform:uppercase; letter-spacing:.08em; color:rgba(255,255,255,.25); margin:0 0 10px; }

.ep-divider { height:1px; background:rgba(255,255,255,.07); margin:16px 0; }

.ep-row   { display:grid; gap:10px; margin-bottom:10px; }
.ep-row-3 { grid-template-columns:1fr 1fr 1fr; }
.ep-row-2 { grid-template-columns:1fr 1fr; }
.ep-row-1 { grid-template-columns:1fr; }

.ep-field { display:flex; flex-direction:column; gap:5px; }
.ep-label { font-size:10px; font-weight:600; text-transform:uppercase; letter-spacing:.06em; color:rgba(255,255,255,.35); }

.ep-input {
    background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.09); border-radius:10px;
    padding:9px 11px; font-size:13px; color:#fff; outline:none; width:100%; box-sizing:border-box;
    transition:border-color .15s,background .15s; font-family:inherit;
}
.ep-input:focus { border-color:rgba(255,255,255,.28); background:rgba(255,255,255,.07); }
.ep-input::placeholder { color:rgba(255,255,255,.18); }
.ep-input[type=number]::-webkit-inner-spin-button,.ep-input[type=number]::-webkit-outer-spin-button { -webkit-appearance:none; }
.ep-input[type=number] { -moz-appearance:textfield; }

.ep-stepper {
    display:flex; align-items:center; background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.09); border-radius:10px; overflow:hidden; transition:border-color .15s;
}
.ep-stepper:focus-within { border-color:rgba(255,255,255,.28); }
.ep-stepper input {
    flex:1; background:none; border:none; padding:9px 0 9px 11px; font-size:13px; color:#fff;
    outline:none; width:0; min-width:0; font-family:inherit; -moz-appearance:textfield;
}
.ep-stepper input::-webkit-inner-spin-button,.ep-stepper input::-webkit-outer-spin-button { -webkit-appearance:none; }
.ep-stepper-btn {
    width:34px; min-height:36px; background:none; border:none;
    border-left:1px solid rgba(255,255,255,.07); color:rgba(255,255,255,.38); font-size:18px;
    cursor:pointer; display:flex; align-items:center; justify-content:center;
    transition:background .12s,color .12s; flex-shrink:0; padding:0; font-family:inherit; line-height:1;
}
.ep-stepper-btn:first-child { border-left:none; border-right:1px solid rgba(255,255,255,.07); }
.ep-stepper-btn:hover { background:rgba(255,255,255,.08); color:#fff; }
.ep-stepper-btn:active { background:rgba(255,255,255,.13); }

.ep-toggle {
    display:flex; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.09);
    border-radius:10px; overflow:hidden; height:36px;
}
.ep-toggle-btn {
    flex:1; background:none; border:none; font-size:12px; font-weight:500; cursor:pointer;
    color:rgba(255,255,255,.3); transition:background .15s,color .15s; font-family:inherit;
}
.ep-toggle-btn + .ep-toggle-btn { border-left:1px solid rgba(255,255,255,.07); }
.ep-toggle-btn.ep-toggle-active { background:rgba(255,255,255,.1); color:#fff; font-weight:600; }

.ep-hwid-row { display:flex; gap:8px; }
.ep-hwid-row .ep-input { flex:1; }
.ep-hwid-btn {
    padding:0 14px; border-radius:10px; white-space:nowrap; cursor:pointer;
    border:1px solid rgba(220,70,70,.3); background:rgba(220,70,70,.07);
    color:rgba(220,80,80,.8); font-size:12px; font-weight:500;
    transition:background .12s,color .12s; font-family:inherit;
}
.ep-hwid-btn:hover { background:rgba(220,70,70,.15); color:#e05555; }

.ep-sub {
    background:rgba(255,255,255,.025); border:1px solid rgba(255,255,255,.08);
    border-radius:14px; padding:14px 15px; margin-bottom:10px;
}
.ep-sub:last-of-type { margin-bottom:0; }
.ep-sub-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; gap:8px; }
.ep-sub-name { font-size:12px; font-weight:700; color:rgba(255,255,255,.8); white-space:nowrap; letter-spacing:-.01em; }

.ep-freeze { display:flex; gap:5px; flex-shrink:0; }
.ep-freeze-btn {
    padding:4px 11px; border-radius:20px; border:1px solid transparent;
    font-size:11px; font-weight:500; cursor:pointer; transition:opacity .15s; font-family:inherit; opacity:.28;
}
.ep-freeze-btn.f-active { background:rgba(40,190,90,.12); border-color:rgba(40,190,90,.3); color:#3dd97a; }
.ep-freeze-btn.f-frozen { background:rgba(80,140,255,.1);  border-color:rgba(80,140,255,.28); color:#7aaaff; }
.ep-freeze-btn.ep-freeze-on { opacity:1; }

.ep-date-row { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.ep-date-field { display:flex; flex-direction:column; gap:5px; }
.ep-date-chips { display:flex; flex-wrap:nowrap; gap:4px; overflow-x:auto; padding-bottom:1px; }
.ep-date-chips::-webkit-scrollbar { display:none; }
.ep-chip {
    padding:3px 9px; border-radius:20px; white-space:nowrap; cursor:pointer;
    border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.04);
    color:rgba(255,255,255,.5); font-size:11px; font-weight:500;
    transition:background .12s,color .12s,border-color .12s; font-family:inherit;
}
.ep-chip:hover { background:rgba(255,255,255,.1); color:#fff; border-color:rgba(255,255,255,.2); }
.ep-chip.remove { border-color:rgba(220,70,70,.25); color:rgba(220,80,80,.6); background:rgba(220,70,70,.05); }
.ep-chip.remove:hover { background:rgba(220,70,70,.12); color:#e05555; border-color:rgba(220,70,70,.4); }

.ep-actions {
    display:flex; gap:8px;
    padding:14px 20px calc(14px + env(safe-area-inset-bottom,0px));
    border-top:1px solid rgba(255,255,255,.07); flex-shrink:0;
}
.ep-btn-save {
    flex:1; padding:11px 0; border-radius:11px; border:none;
    background:#fff; color:#111; font-size:13px; font-weight:700;
    cursor:pointer; transition:opacity .15s,transform .1s; font-family:inherit; letter-spacing:-.01em;
}
.ep-btn-save:hover { opacity:.88; }
.ep-btn-save:active { transform:scale(.98); }
.ep-btn-save:disabled { opacity:.4; cursor:default; }
.ep-btn-cancel {
    padding:11px 18px; border-radius:11px; border:1px solid rgba(255,255,255,.1); background:none;
    color:rgba(255,255,255,.4); font-size:13px; font-weight:500;
    cursor:pointer; transition:color .15s,border-color .15s; font-family:inherit;
}
.ep-btn-cancel:hover { color:#fff; border-color:rgba(255,255,255,.25); }

.user-row-clickable { cursor:pointer; }
.user-row-clickable:hover { background:rgba(255,255,255,.04); }

@media (max-width:600px) {
    #editPanel { align-items:flex-end; padding:0; }
    #editPanel.open    .ep-card { animation:ep-sheet-in  .3s cubic-bezier(.22,.68,0,1.05) forwards; }
    #editPanel.closing .ep-card { animation:ep-sheet-out .22s ease forwards; }
    .ep-card {
        border-radius:20px 20px 0 0; width:100%; max-width:100%;
        max-height:92dvh; max-height:92vh; border-bottom:none;
    }
    .ep-card::before {
        content:''; display:block; flex-shrink:0;
        width:36px; height:4px; border-radius:3px;
        background:rgba(255,255,255,.12); margin:10px auto 0;
    }
    .ep-head { padding:10px 16px 12px; }
    .ep-title { font-size:14px; }
    .ep-body-scroll { padding:14px 16px 4px; }
    .ep-actions { padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px)); }
    .ep-row,.ep-row-3,.ep-row-2 { grid-template-columns:1fr; gap:8px; margin-bottom:8px; }
    .ep-row-3 { grid-template-columns:1fr 1fr; }
    .ep-row-3 > :first-child { grid-column:1 / -1; }
    .ep-card * { max-width:100%; box-sizing:border-box; }
    .ep-card input,.ep-card button { min-width:0; }
    .ep-label { font-size:9px; }
    .ep-input { padding:8px 10px; font-size:12px; }
    .ep-stepper input { padding:8px 0 8px 10px; font-size:12px; }
    .ep-stepper-btn { width:32px; min-height:34px; font-size:16px; }
    .ep-toggle { height:34px; }
    .ep-toggle-btn { font-size:11px; }
    .ep-divider { margin:12px 0; }
    .ep-sub { padding:11px 12px; margin-bottom:8px; border-radius:12px; }
    .ep-sub-head { margin-bottom:9px; flex-wrap:wrap; gap:6px; }
    .ep-sub-name { font-size:11px; }
    .ep-freeze-btn { padding:3px 9px; font-size:10px; }
    .ep-date-row { grid-template-columns:1fr !important; gap:8px; }
    .ep-chip { padding:3px 8px; font-size:10px; }
    .ep-hwid-btn { font-size:11px; padding:0 11px; }
    .ep-btn-save,.ep-btn-cancel { padding:10px 0; font-size:12px; border-radius:10px; }
    .ep-btn-cancel { padding:10px 16px; }
}
@media (min-width:601px) and (max-width:900px) {
    .ep-card { max-width:540px; }
    .ep-row-3 { grid-template-columns:1fr 1fr; }
    .ep-row-3 > :first-child { grid-column:1 / -1; }
}

.dp { position:relative; }
.dp-trigger {
    display:flex; align-items:center; justify-content:space-between; width:100%;
    background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.09); border-radius:10px;
    padding:8px 10px; cursor:pointer; font-family:inherit; transition:border-color .15s; box-sizing:border-box;
}
.dp-trigger:hover,.dp.open .dp-trigger { border-color:rgba(255,255,255,.28); }
.dp-val { font-size:12px; color:rgba(255,255,255,.25); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.dp-val.has-value { color:#fff; }
.dp-trigger svg { flex-shrink:0; color:rgba(255,255,255,.25); margin-left:6px; }
.dp-popup {
    display:none; position:absolute; top:calc(100% + 5px); left:0; right:0;
    background:#1c1c20; border:1px solid rgba(255,255,255,.12); border-radius:14px; z-index:2000;
    overflow:hidden; box-shadow:0 16px 48px rgba(0,0,0,.6); min-width:240px;
}
.dp.open .dp-popup { display:block; }
.dp-nav { display:flex; align-items:center; justify-content:space-between; padding:10px 12px 8px; border-bottom:1px solid rgba(255,255,255,.07); }
.dp-month-lbl { font-size:12px; font-weight:600; color:#fff; }
.dp-navbtn {
    background:none; border:1px solid rgba(255,255,255,.1); border-radius:6px; width:26px; height:26px;
    cursor:pointer; display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.5);
    transition:background .1s,color .1s;
}
.dp-navbtn:hover { background:rgba(255,255,255,.09); color:#fff; }
.dp-wdays,.dp-days { display:grid; grid-template-columns:repeat(7,1fr); padding:0 8px; }
.dp-wdays { padding-top:7px; padding-bottom:3px; }
.dp-wd { font-size:9px; font-weight:600; color:rgba(255,255,255,.28); text-align:center; padding:2px 0; text-transform:uppercase; letter-spacing:.04em; }
.dp-day {
    height:30px; border-radius:7px; display:flex; align-items:center; justify-content:center;
    font-size:12px; cursor:pointer; color:rgba(255,255,255,.8);
    background:none; border:none; font-family:inherit; transition:background .1s;
}
.dp-day:hover { background:rgba(255,255,255,.09); }
.dp-day.other { color:rgba(255,255,255,.18); cursor:default; }
.dp-day.other:hover { background:none; }
.dp-day.today { color:#7aaaff; font-weight:700; }
.dp-day.selected { background:#fff !important; color:#111 !important; font-weight:700; }
.dp-days { padding-bottom:6px; }
.dp-time { display:flex; align-items:center; gap:8px; padding:8px 12px 10px; border-top:1px solid rgba(255,255,255,.07); }
.dp-time-lbl { font-size:10px; font-weight:600; text-transform:uppercase; letter-spacing:.05em; color:rgba(255,255,255,.35); flex-shrink:0; }
.dp-t-wrap { display:flex; align-items:center; gap:3px; }
.dp-t-col { display:flex; flex-direction:column; align-items:center; gap:1px; }
.dp-t-inp {
    width:34px; text-align:center; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1);
    border-radius:6px; padding:4px 0; font-size:13px; font-family:inherit; color:#fff; outline:none; -moz-appearance:textfield;
}
.dp-t-inp::-webkit-inner-spin-button,.dp-t-inp::-webkit-outer-spin-button { -webkit-appearance:none; }
.dp-t-inp:focus { border-color:rgba(255,255,255,.3); }
.dp-t-colon { font-size:14px; font-weight:600; color:rgba(255,255,255,.3); line-height:1; margin:0 1px; }
.dp-t-btn {
    background:none; border:none; cursor:pointer; padding:0; height:12px;
    color:rgba(255,255,255,.3); display:flex; align-items:center; justify-content:center; transition:color .1s;
}
.dp-t-btn:hover { color:#fff; }
.dp-clear-row { text-align:right; padding:0 12px 8px; }
.dp-clear-btn { background:none; border:none; cursor:pointer; font-size:11px; color:rgba(220,80,80,.65); font-family:inherit; padding:0; transition:color .1s; }
.dp-clear-btn:hover { color:#e05555; }

.tx { padding: 0 0 48px; }

.tx-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:20px; }
.tx-card { border-radius:14px; padding:16px 18px; border:1px solid; display:flex; flex-direction:column; gap:3px; }
.tx-card-lbl { font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:.07em; }
.tx-card-val { font-size:24px; font-weight:700; line-height:1.1; letter-spacing:-.02em; }
.tx-card-val.c-green { color:#4ade80!important; }
.tx-card-val.c-amber { color:#fbbf24!important; }
.tx-card-val.c-blue  { color:#60a5fa!important; }
.tx-card-note { font-size:11px; }

.tx-bar { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:12px; }

.tx-tabs { display:flex; gap:2px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.07); border-radius:11px; padding:3px; }
.tx-tab { padding:6px 18px; border-radius:8px; font-size:13px; font-weight:500; cursor:pointer; border:none; font-family:inherit; background:transparent; transition:background .15s,color .15s; white-space:nowrap; }
.tx-tab.active { background:rgba(255,255,255,.1); }

.tx-ctrl { height:34px; border-radius:9px; border:1px solid; padding:0 11px; font-size:13px; font-family:inherit; outline:none; transition:border-color .15s; }
.tx-search { width:200px; }
.tx-sel { cursor:pointer; appearance:none; -webkit-appearance:none; padding-right:26px;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='5'%3E%3Cpath d='M0 0l5 5 5-5z' fill='rgba(255,255,255,.25)'/%3E%3C/svg%3E");
    background-repeat:no-repeat; background-position:right 9px center; }

.tx-export { margin-left:auto; height:34px; padding:0 14px; border-radius:9px; border:1px solid; font-size:12px; font-weight:600; font-family:inherit; cursor:pointer; background:transparent; display:inline-flex; align-items:center; gap:5px; transition:background .15s; white-space:nowrap; }

.tx-meta { font-size:12px; margin-bottom:10px; display:flex; align-items:center; gap:14px; }
.tx-meta strong { font-weight:700; }
.tx-meta .c-green strong { color:#4ade80!important; }

.tx-box { border-radius:14px; border:1px solid; overflow:hidden; }
.tx-tbl { width:100%; border-collapse:collapse; }
.tx-tbl th { text-align:left; font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:.07em; padding:12px 16px; border-bottom:1px solid; white-space:nowrap; }
.tx-tbl td { padding:11px 16px; font-size:13px; border-bottom:1px solid; vertical-align:middle; }
.tx-tbl tr:last-child td { border-bottom:none; }

.tx-date { font-variant-numeric:tabular-nums; font-size:12px; white-space:nowrap; }
.tx-user { font-weight:600; }
.tx-amt { font-weight:700; font-size:14px; font-variant-numeric:tabular-nums; }
.tx-inv { font-family:'Courier New',monospace; font-size:11px; max-width:160px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.badge { display:inline-flex; align-items:center; gap:5px; padding:3px 8px; border-radius:6px; font-size:11px; font-weight:600; border:1px solid; white-space:nowrap; }
.badge i { width:5px; height:5px; border-radius:50%; flex-shrink:0; display:inline-block; }
.b-crystal { color:#a78bfa; border-color:rgba(167,139,250,.25); background:rgba(167,139,250,.1); }
.b-crystal i { background:#a78bfa; }
.b-palych  { color:#38bdf8; border-color:rgba(56,189,248,.25);  background:rgba(56,189,248,.1); }
.b-palych  i { background:#38bdf8; }
.b-paid    { color:#4ade80; border-color:rgba(74,222,128,.25);  background:rgba(74,222,128,.09); }
.b-paid    i { background:#4ade80; }
.b-pend    { color:#fb923c; border-color:rgba(251,146,60,.25);  background:rgba(251,146,60,.09); }
.b-pend    i { background:#fb923c; }
.b-trig    { color:#fbbf24; border-color:rgba(251,191,36,.25);  background:rgba(251,191,36,.08); }
.b-trig    i { background:#fbbf24; }
.b-aim     { color:#4ade80; border-color:rgba(74,222,128,.25);  background:rgba(74,222,128,.08); }
.b-aim     i { background:#4ade80; }
.b-vis     { font-size:10px; margin-left:2px; }

.tx-loading { opacity:.4; pointer-events:none; transition:opacity .15s; }

.tx-empty { text-align:center; padding:48px 20px; }
.tx-empty-ico { font-size:28px; margin-bottom:8px; opacity:.25; }
.tx-empty-txt { font-size:13px; }

.pgn { display:flex; align-items:center; gap:3px; margin-top:14px; }
.pg { min-width:32px; height:32px; padding:0 6px; border-radius:8px; font-size:13px; font-weight:500; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; border:1px solid transparent; font-family:inherit; background:transparent; transition:background .12s; }
.pg.active { background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.16); }
.pg-gap { font-size:13px; padding:0 3px; }

@media(max-width:760px){
    .tx-cards { grid-template-columns:1fr 1fr; }
    .tx-cards .tx-card:last-child { display:none; }
    .tx-tbl th:nth-child(5),.tx-tbl td:nth-child(5),
    .tx-tbl th:nth-child(6),.tx-tbl td:nth-child(6) { display:none; }
    .tx-search { width:130px; }
    .tx-export { margin-left:0; }
}

.cs-wrap { position:relative; display:inline-block; user-select:none; }
.cs-trigger {
    display:flex; align-items:center; justify-content:space-between; gap:8px;
    height:34px; padding:0 12px; border-radius:9px; font-size:13px;
    cursor:pointer; white-space:nowrap; font-family:inherit;
    border:1px solid rgba(255,255,255,.09); background:rgba(255,255,255,.07); color:#fff;
    transition:border-color .15s;
}
.cs-trigger:hover { border-color:rgba(255,255,255,.2); }
.cs-arrow { flex-shrink:0; opacity:.55; transition:transform .2s; }
.cs-wrap.open .cs-arrow { transform:rotate(180deg); }
.cs-dropdown {
    display:none; position:absolute; top:calc(100% + 6px); left:0; min-width:100%;
    background:#1c1c20; border:1px solid rgba(255,255,255,.1); border-radius:12px;
    overflow:hidden; z-index:500; box-shadow:0 16px 48px rgba(0,0,0,.6);
}
.cs-wrap.open .cs-dropdown { display:block; }
.cs-option {
    display:flex; align-items:center; gap:8px; padding:10px 14px; font-size:13px;
    cursor:pointer; color:rgba(255,255,255,.7); transition:background .1s; white-space:nowrap;
}
.cs-option:hover { background:rgba(255,255,255,.07); color:#fff; }
.cs-option.selected { color:#fff; font-weight:600; }
.cs-check { width:14px; height:14px; flex-shrink:0; opacity:0; color:currentColor; }
.cs-option.selected .cs-check { opacity:1; }

        html,body { min-height:100%; }
        .an-wrap { width:100%; padding:0 0 72px; box-sizing:border-box; }

        
        .an-period { display:flex; gap:4px; margin-bottom:24px; flex-wrap:wrap; }
        .an-ptab {
            padding:5px 14px; border-radius:20px; font-size:12px; font-weight:500;
            cursor:pointer; border:1px solid; transition:all .13s;
            text-decoration:none; display:inline-block;
        }

        
        .an-section-label {
            font-size:10px; font-weight:600; letter-spacing:.08em; text-transform:uppercase;
            margin-bottom:8px; padding:2px 0;
        }

        
        .an-kpis { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:10px; }
        .an-kpis-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-bottom:20px; }
        .an-kpi-green .an-kpi-val { color:#5ac86e; }
        .an-kpi-blue  .an-kpi-val { color:#60a5fa; }
        .an-kpi {
            border-radius:14px; padding:18px 20px; border:1px solid;
            display:flex; flex-direction:column; gap:6px;
        }
        .an-kpi-label { font-size:11px; font-weight:500; }
        .an-kpi-val { font-size:28px; font-weight:700; line-height:1; }
        .an-kpi-sub { font-size:11px; }
        
        .an-kpi-accent .an-kpi-val { color:#fe8fff; }

        
        .an-charts { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:20px; }
        .an-chart-full { grid-column:1/-1; }
        .an-card {
            border-radius:14px; padding:18px 20px; border:1px solid; overflow:hidden;
        }
        .an-card-title { font-size:12px; font-weight:600; margin-bottom:14px; }
        .an-chart-wrap { position:relative; height:180px; }
        .an-chart-wrap-sm { height:140px; }
        canvas { display:block; }

        
        .an-donut-row { display:flex; align-items:center; gap:20px; }
        .an-donut-wrap { flex-shrink:0; width:130px; height:130px; position:relative; }
        .an-donut-center {
            position:absolute; inset:0; display:flex; flex-direction:column;
            align-items:center; justify-content:center; pointer-events:none;
        }
        .an-donut-num { font-size:20px; font-weight:700; }
        .an-donut-lbl { font-size:9px; }
        .an-legend { display:flex; flex-direction:column; gap:7px; }
        .an-leg-item { display:flex; align-items:center; gap:7px; font-size:12px; }
        .an-leg-dot { width:8px; height:8px; border-radius:50%; flex-shrink:0; }
        .an-leg-name { flex:1; }
        .an-leg-val { font-weight:600; }

        
        .an-feed { display:flex; flex-direction:column; gap:0; max-height:280px; overflow-y:auto; scrollbar-width:none; }
        .an-feed::-webkit-scrollbar { display:none; }
        .an-feed-item { display:flex; align-items:flex-start; gap:10px; padding:8px 0; border-bottom:1px solid; }
        .an-feed-item:last-child { border-bottom:none; }
        .an-feed-user { font-size:11px; font-weight:600; flex-shrink:0; width:100px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; padding-top:1px; }
        .an-feed-action { font-size:11px; line-height:1.5; flex:1; }
        .an-feed-date { font-size:10px; flex-shrink:0; padding-top:1px; font-family:monospace; }

        
        .an-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:40px; }
        .an-empty p { font-size:12px; margin:0; }

        @media(max-width:720px){
            .an-wrap { padding:88px 16px 48px; }
            .an-kpis { grid-template-columns:repeat(2,1fr); }
            .an-kpis-4 { grid-template-columns:repeat(2,1fr); }
            .an-charts { grid-template-columns:1fr; }
            .an-chart-full { grid-column:1; }
        }

        
        .upt-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-bottom:20px; }
        @media(max-width:720px){ .upt-grid { grid-template-columns:repeat(2,1fr); } }
        .upt-card {
            border-radius:14px; padding:14px 16px; border:1px solid;
            display:flex; flex-direction:column; gap:5px; position:relative; overflow:hidden;
        }
        .upt-name { font-size:11px; font-weight:600; }
        .upt-badge {
            display:inline-flex; align-items:center; gap:5px;
            font-size:12px; font-weight:700; letter-spacing:.02em;
        }
        .upt-dot {
            width:7px; height:7px; border-radius:50%; flex-shrink:0;
        }
        .upt-up    .upt-dot { background:#5ac86e; box-shadow:0 0 6px #5ac86e88; }
        .upt-down  .upt-dot { background:#f87171; box-shadow:0 0 6px #f8717188; }
        .upt-error .upt-dot { background:#fb923c; box-shadow:0 0 6px #fb923c88; }
        .upt-load  .upt-dot { background:rgba(255,255,255,.2); animation:upt-pulse 1s ease-in-out infinite; }
        @keyframes upt-pulse { 0%,100%{opacity:.3} 50%{opacity:1} }
        .upt-up    .upt-text { color:#5ac86e; }
        .upt-down  .upt-text { color:#f87171; }
        .upt-error .upt-text { color:#fb923c; }
        .upt-meta { font-size:10px; }
        .upt-header {
            display:flex; align-items:center; justify-content:space-between;
            margin-bottom:8px;
        }
        .upt-refresh-btn {
            font-size:10px; padding:3px 8px; border-radius:6px; border:1px solid; cursor:pointer;
            background:transparent; font-family:inherit; font-weight:500; transition:opacity .15s;
        }
        .upt-refresh-btn:hover { opacity:.7; }
        .upt-refresh-btn:disabled { opacity:.35; cursor:default; }
        .upt-cache-note { font-size:10px; }

        
        .hc-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-bottom:20px; }
        @media(max-width:720px){ .hc-grid { grid-template-columns:repeat(2,1fr); } }
        .hc-card {
            border-radius:14px; padding:14px 16px; border:1px solid;
            display:flex; flex-direction:column; gap:5px;
        }
        .hc-name { font-size:11px; font-weight:600; }
        .hc-status { display:inline-flex; align-items:center; gap:5px; font-size:12px; font-weight:700; }
        .hc-dot { width:7px; height:7px; border-radius:50%; flex-shrink:0; }
        .hc-ok    .hc-dot { background:#5ac86e; box-shadow:0 0 5px #5ac86e88; }
        .hc-warn  .hc-dot { background:#fbbf24; box-shadow:0 0 5px #fbbf2488; }
        .hc-error .hc-dot { background:#f87171; box-shadow:0 0 5px #f8717188; }
        .hc-unknown .hc-dot { background:rgba(255,255,255,.2); }
        .hc-ok    .hc-label { color:#5ac86e; }
        .hc-warn  .hc-label { color:#fbbf24; }
        .hc-error .hc-label { color:#f87171; }
        .hc-meta { font-size:10px; }

        
        .ld-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-bottom:10px; }
        @media(max-width:720px){ .ld-grid { grid-template-columns:repeat(2,1fr); } }
        .ld-card {
            border-radius:14px; padding:16px 18px; border:1px solid;
            display:flex; flex-direction:column; gap:4px;
        }
        .ld-lbl { font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:.07em; }
        .ld-val { font-size:26px; font-weight:700; line-height:1; letter-spacing:-.02em; }
        .ld-sub { font-size:11px; }

        
        .ld-bottom { display:grid; grid-template-columns:1fr 260px; gap:10px; margin-bottom:20px; align-items:start; }
        @media(max-width:720px){ .ld-bottom { grid-template-columns:1fr; } }
        .ld-spark-card {
            border-radius:14px; padding:16px 18px; border:1px solid;
        }
        .ld-spark-title { font-size:12px; font-weight:600; margin-bottom:12px; }
        .ld-spark-wrap { position:relative; height:80px; }

        .ld-top-card {
            border-radius:14px; padding:16px 18px; border:1px solid;
        }
        .ld-top-title { font-size:12px; font-weight:600; margin-bottom:10px; }
        .ld-top-row { display:flex; align-items:center; justify-content:space-between; padding:5px 0; border-bottom:1px solid; }
        .ld-top-row:last-child { border-bottom:none; }
        .ld-top-user { font-size:12px; font-weight:600; }
        .ld-top-cnt { font-size:12px; font-weight:700; }
        .ld-top-bar-wrap { flex:1; margin:0 10px; height:4px; border-radius:2px; overflow:hidden; }
        .ld-top-bar { height:100%; border-radius:2px; background:#60a5fa; transition:width .3s; }

.cl-wrap { padding: 0 0 60px; }
.aside_section { min-height: calc(100vh - 70px); }

.cl-form-box {
    border-radius: 14px; border: 1px solid; padding: 18px 20px;
    margin-bottom: 20px;
}

.cl-form-title {
    font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: .07em; margin-bottom: 14px;
}

.cl-form-row { display: grid; grid-template-columns: 160px 1fr 1fr; gap: 10px; align-items: start; }
@media(max-width:700px){ .cl-form-row { grid-template-columns: 1fr; } }

.cl-field { display: flex; flex-direction: column; gap: 5px; }
.cl-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }

.cl-input, .cl-textarea {
    border-radius: 9px; border: 1px solid; padding: 9px 12px;
    font-size: 13px; font-family: inherit; outline: none;
    transition: border-color .15s, background .15s; width: 100%; box-sizing: border-box;
}
.cl-textarea { resize: vertical; min-height: 80px; line-height: 1.6; }

.cl-form-footer { display: flex; justify-content: flex-end; margin-top: 12px; }
.cl-btn-add {
    height: 36px; padding: 0 18px; border-radius: 9px; border: none;
    font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer;
    background: rgba(96,165,250,.15); color: #60a5fa;
    display: inline-flex; align-items: center; gap: 6px;
    transition: background .15s;
}
.cl-btn-add:hover { background: rgba(96,165,250,.25); }
.cl-btn-add:disabled { opacity: .4; pointer-events: none; }

.cl-list { display: flex; flex-direction: column; gap: 8px; }

.cl-entry {
    border-radius: 14px; border: 1px solid;
    overflow: hidden; transition: border-color .15s;
}
.cl-entry[draggable="true"] { cursor: grab; }
.cl-entry.drag-over { border-color: rgba(96,165,250,.5) !important; background: rgba(96,165,250,.05) !important; }

.cl-entry-hd {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; cursor: pointer; user-select: none;
}
.cl-drag-handle {
    display: flex; flex-direction: column; gap: 3px;
    flex-shrink: 0; opacity: .3; cursor: grab; padding: 2px;
}
.cl-drag-handle span { display: block; width: 16px; height: 2px; border-radius: 1px; }
.cl-entry-date {
    font-size: 12px; font-weight: 600; flex-shrink: 0;
    padding: 3px 10px; border-radius: 6px; border: 1px solid;
}
.cl-entry-preview {
    flex: 1; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cl-entry-chevron {
    flex-shrink: 0; opacity: .3; transition: transform .2s;
}
.cl-entry.open .cl-entry-chevron { transform: rotate(180deg); }

.cl-entry-body {
    display: none; padding: 0 16px 16px; border-top: 1px solid;
}
.cl-entry.open .cl-entry-body { display: block; }
.cl-edit-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
@media(max-width:700px){ .cl-edit-row { grid-template-columns: 1fr; } }
.cl-edit-actions { display: flex; justify-content: space-between; margin-top: 12px; gap: 8px; }
.cl-btn-save {
    height: 34px; padding: 0 16px; border-radius: 8px; border: none;
    font-size: 12px; font-weight: 600; font-family: inherit; cursor: pointer;
    background: rgba(74,222,128,.12); color: #4ade80; transition: background .15s;
}
.cl-btn-save:hover { background: rgba(74,222,128,.22); }
.cl-btn-save:disabled { opacity: .4; pointer-events: none; }
.cl-btn-delete {
    height: 34px; padding: 0 14px; border-radius: 8px; border: none;
    font-size: 12px; font-weight: 600; font-family: inherit; cursor: pointer;
    background: rgba(248,113,113,.1); color: #f87171; transition: background .15s;
}
.cl-btn-delete:hover { background: rgba(248,113,113,.2); }

.cl-empty { text-align: center; padding: 48px; font-size: 13px; border-radius: 14px; border: 1px dashed; }

.cs-wrap { position:relative; display:inline-block; user-select:none; }
        .cs-trigger {
            display:flex; align-items:center; justify-content:space-between; gap:8px;
            height:41px; padding:0 14px; border-radius:12px; font-size:14px;
            cursor:pointer; white-space:nowrap; font-family:inherit;
            border:1px solid rgba(255,255,255,.09); background:rgba(255,255,255,.07); color:#fff;
            transition:border-color .15s;
        }
        .cs-trigger:hover { border-color:rgba(255,255,255,.2); }
        .cs-arrow { flex-shrink:0; opacity:.55; transition:transform .2s; }
        .cs-wrap.open .cs-arrow { transform:rotate(180deg); }
        .cs-dropdown {
            display:none; position:absolute; top:calc(100% + 6px); left:0; min-width:100%;
            background:#1c1c20; border:1px solid rgba(255,255,255,.1); border-radius:12px;
            overflow:hidden; z-index:500; box-shadow:0 16px 48px rgba(0,0,0,.6);
        }
        .cs-wrap.open .cs-dropdown { display:block; }
        .cs-option {
            display:flex; align-items:center; gap:8px; padding:10px 14px; font-size:13px;
            cursor:pointer; color:rgba(255,255,255,.7); transition:background .1s; white-space:nowrap;
        }
        .cs-option:hover { background:rgba(255,255,255,.07); color:#fff; }
        .cs-option.selected { color:#fff; font-weight:600; }
        .cs-check { width:14px; height:14px; flex-shrink:0; opacity:0; color:currentColor; }
        .cs-option.selected .cs-check { opacity:1; }

        
        .lk-form {
            display:grid;
            grid-template-columns: 120px 1fr 1fr 1fr auto;
            gap:10px;
            margin-top:18px;
            align-items:center;
        }
        .lk-dur-input {
            width:100%; height:41px; border-radius:12px; border:1px solid rgba(255,255,255,.09);
            background:rgba(255,255,255,.07); color:#fff; padding:0 14px; font-size:14px;
            outline:none; font-family:inherit; box-sizing:border-box; transition:border-color .15s;
        }
        .lk-dur-input:focus { border-color:rgba(255,255,255,.25); }
        .lk-dur-input::placeholder { color:rgba(255,255,255,.3); }
        .lk-dur-input.hidden { visibility:hidden; width:0; padding:0; border-width:0; min-width:0; overflow:hidden; }
        .lk-form.lifetime { grid-template-columns: 0 1fr 1fr 1fr auto; }
        
        .lk-form .cs-wrap { width:100%; }
        .lk-form .cs-trigger { width:100%; box-sizing:border-box; }
        .lk-create-btn {
            height:41px; padding:0 24px; border-radius:12px; border:0;
            background:linear-gradient(0deg,#fe99ff,#fe99ff),linear-gradient(180deg,rgba(255,255,255,.2) 0%,rgba(255,255,255,0) 100%);
            box-shadow:0 -1px 0 0 #00000040 inset;
            color:#0f0f0f; font-size:14px; font-weight:600; cursor:pointer;
            white-space:nowrap; font-family:inherit; transition:opacity .12s;
        }
        .lk-create-btn:hover { opacity:.9; }
        .lk-create-btn:disabled { opacity:.6; cursor:default; }

        
        
        .lk-tbl .table-row .table-cell:nth-child(n),
        .lk-tbl .table-header .table-cell:nth-child(n) { text-align:left; }
        .lk-c-id  { width:48px; color:rgba(255,255,255,.45); font-size:13px; }
        .lk-c-key { width:220px; max-width:220px; }
        .lk-c-prod{ width:130px; }
        .lk-c-dur { width:90px; }
        .lk-c-st  { width:130px; }
        .lk-c-usr { width:110px; }
        .lk-c-cr  { width:90px; }
        .lk-c-act { width:120px; }

        
        .lk-key-row {
            display:flex; align-items:center; gap:8px;
        }

        
        .lk-mono {
            font-family:'SFMono-Regular',Consolas,'Liberation Mono',Menlo,monospace;
            font-size:12px; letter-spacing:.03em; white-space:nowrap;
        }

        
        .lk-copy-row-btn {
            flex-shrink:0; display:inline-flex; align-items:center; justify-content:center;
            background:none; border:none; padding:3px; border-radius:6px; cursor:pointer;
            color:rgba(255,255,255,.3); transition:color .15s, background .15s;
        }
        .lk-copy-row-btn:hover { color:#fff; background:rgba(255,255,255,.08); }
        .lk-copy-row-btn.copied { color:#43af4a; }

        
        .lk-prod-nowrap { white-space:nowrap; }

        
        .lk-st-badge { display:inline-flex; align-items:center; gap:5px; font-size:13px; }
        .lk-st-badge::before { content:''; width:6px; height:6px; border-radius:50%; flex-shrink:0; }
        .lk-st-on  { color:#43af4a; }
        .lk-st-on::before  { background:#43af4a; }
        .lk-st-off { color:rgba(255,255,255,.38); }
        .lk-st-off::before { background:rgba(255,255,255,.22); }

        
        .lk-actions-row { display:flex; align-items:center; gap:4px; }

        
        .lk-del-btn {
            display:inline-flex; align-items:center; gap:6px; background:none; border:none;
            color:#fd4444; font-size:13px; cursor:pointer; padding:4px 6px; border-radius:8px;
            font-family:inherit; opacity:.7; transition:opacity .12s, background .12s; white-space:nowrap;
        }
        .lk-del-btn:hover { opacity:1; background:rgba(253,68,68,.08); }

        
        .lk-search-row { display:flex; align-items:center; gap:10px; margin-bottom:12px; flex-wrap:wrap; }
        .lk-search-wrap { flex:1; min-width:180px; }
        .lk-search-inp {
            width:100%; box-sizing:border-box; height:38px; border-radius:10px;
            border:1px solid rgba(255,255,255,.09); background:rgba(255,255,255,.05);
            color:#fff; padding:0 14px; font-size:14px; outline:none; font-family:inherit;
            transition:border-color .15s;
        }
        .lk-search-inp:focus { border-color:rgba(255,255,255,.25); }
        .lk-search-inp::placeholder { color:rgba(255,255,255,.28); }
        .lk-chips { display:flex; gap:6px; flex-wrap:wrap; }
        .lk-chip {
            padding:5px 14px; border-radius:20px; border:1px solid rgba(255,255,255,.12);
            background:transparent; color:rgba(255,255,255,.4); font-size:12px; font-weight:500;
            cursor:pointer; transition:background .12s,color .12s,border-color .12s;
            font-family:inherit; white-space:nowrap;
        }
        .lk-chip:hover { background:rgba(255,255,255,.07); color:rgba(255,255,255,.8); }
        .lk-chip.active { background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.25); color:#fff; }

        
        .mobile-lk-toggle { cursor:pointer; user-select:none; -webkit-tap-highlight-color:transparent; }
        .mobile-lk-toggle:focus-visible { outline:2px solid rgba(255,255,255,.35); outline-offset:3px; border-radius:8px; }
        .mobile-lk-content { overflow:hidden; max-height:0; opacity:0; transition:max-height .28s ease,opacity .22s ease; will-change:max-height,opacity; }
        .mobile-lk-item.is-open .mobile-lk-content { opacity:1; }
        .mobile-lk-item .chevron { transition:transform .28s ease; transform-origin:center; }
        .mobile-lk-item.is-open .chevron { transform:rotate(180deg); }
        @media (prefers-reduced-motion:reduce) { .mobile-lk-content,.mobile-lk-item .chevron { transition:none!important; } }

        
        .lk-bd {
            display:none; position:fixed; inset:0; z-index:900; background:rgba(0,0,0,.55);
            backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
            align-items:center; justify-content:center; padding:20px;
        }
        .lk-bd.open { display:flex; animation:lkBdIn .18s ease forwards; }
        .lk-bd.closing { animation:lkBdOut .15s ease forwards; }
        @keyframes lkBdIn  { from{opacity:0} to{opacity:1} }
        @keyframes lkBdOut { from{opacity:1} to{opacity:0} }
        .lk-md {
            background:#131316; border:1px solid rgba(255,255,255,.1); border-radius:20px;
            padding:24px; width:100%; max-width:420px; display:flex; flex-direction:column; gap:16px;
            box-shadow:0 32px 80px rgba(0,0,0,.7);
            animation:lkMdIn .22s cubic-bezier(.22,.68,0,1.18) forwards;
        }
        .lk-bd.closing .lk-md { animation:lkMdOut .15s ease forwards; }
        @keyframes lkMdIn  { from{opacity:0;transform:scale(.96) translateY(8px)} to{opacity:1;transform:none} }
        @keyframes lkMdOut { from{opacity:1;transform:none} to{opacity:0;transform:scale(.96) translateY(8px)} }
        .lk-md-head { display:flex; align-items:center; justify-content:space-between; }
        .lk-md-title { font-size:15px; font-weight:600; color:#fff; margin:0; }
        .lk-md-close {
            background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.1); border-radius:50%;
            width:28px; height:28px; display:flex; align-items:center; justify-content:center;
            cursor:pointer; color:rgba(255,255,255,.45); transition:background .12s,color .12s;
        }
        .lk-md-close:hover { background:rgba(255,255,255,.13); color:#fff; }
        .lk-md-key {
            background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.09); border-radius:12px;
            padding:14px 16px;
            font-family:'SFMono-Regular',Consolas,monospace;
            font-size:16px; font-weight:700; color:#fff;
            letter-spacing:.05em; text-align:center; word-break:break-all;
        }
        .lk-md-meta { display:flex; align-items:center; gap:8px; justify-content:center; flex-wrap:wrap; font-size:13px; color:rgba(255,255,255,.4); }
        .lk-md-dot { width:3px; height:3px; border-radius:50%; background:rgba(255,255,255,.25); flex-shrink:0; }
        .lk-copy-btn {
            width:100%; padding:11px 0; border-radius:11px; border:none; background:#fff; color:#111;
            font-size:13px; font-weight:700; cursor:pointer; font-family:inherit;
            transition:opacity .15s,background .2s,color .2s;
        }
        .lk-copy-btn:hover { opacity:.88; }
        .lk-copy-btn.copied { background:rgba(40,190,90,.15); color:#3dd97a; opacity:1; }
        .lk-conf-btns { display:flex; gap:8px; }
        .lk-cancel-btn {
            flex:1; padding:10px 0; border-radius:11px; border:1px solid rgba(255,255,255,.1);
            background:transparent; color:rgba(255,255,255,.4); font-size:13px; font-weight:500;
            cursor:pointer; font-family:inherit; transition:color .12s,border-color .12s;
        }
        .lk-cancel-btn:hover { color:#fff; border-color:rgba(255,255,255,.25); }
        .lk-del-conf-btn {
            flex:1; padding:10px 0; border-radius:11px; border:none;
            background:rgba(253,68,68,.15); color:#fd4444; font-size:13px; font-weight:700;
            cursor:pointer; font-family:inherit; transition:background .12s;
        }
        .lk-del-conf-btn:hover { background:rgba(253,68,68,.25); }
        .lk-del-conf-btn:disabled { opacity:.5; cursor:default; }
        .lk-del-key-lbl {
            font-size:12px; color:rgba(255,255,255,.38); text-align:center; word-break:break-all;
            padding:10px 12px; background:rgba(255,255,255,.04); border-radius:8px;
            font-family:monospace; letter-spacing:.03em;
        }

        @media (max-width:600px) {
            .lk-bd { align-items:flex-end; padding:0; }
            .lk-md { border-radius:20px 20px 0 0; max-width:100%; border-bottom:none; padding:20px 20px calc(20px + env(safe-area-inset-bottom,0px)); }
            .lk-md::before { content:''; display:block; width:36px; height:4px; border-radius:3px; background:rgba(255,255,255,.12); margin:0 auto 4px; }
            .lk-form { grid-template-columns: 1fr 1fr; }
            .lk-form .lk-dur-input { grid-column: 1 / -1; }
            .lk-form .lk-create-btn { grid-column: 1 / -1; }
        }

.mobile-log-toggle {
            cursor: pointer;
            user-select: none;
            -webkit-tap-highlight-color: transparent;
        }

        .mobile-log-toggle:focus-visible {
            outline: 2px solid rgba(255, 255, 255, 0.35);
            outline-offset: 3px;
            border-radius: 8px;
        }

        .mobile-log-content {
            overflow: hidden;
            max-height: 0;
            opacity: 0;
            transition: max-height 0.28s ease, opacity 0.22s ease;
            will-change: max-height, opacity;
        }

        .mobile-log-item.is-open .mobile-log-content {
            opacity: 1;
        }

        .mobile-log-item .chevron {
            transition: transform 0.28s ease;
            transform-origin: center;
        }

        .mobile-log-item.is-open .chevron {
            transform: rotate(180deg);
        }

        @media (prefers-reduced-motion: reduce) {
            .mobile-log-content,
            .mobile-log-item .chevron {
                transition: none !important;
            }
        }

.sortable-trigger {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            cursor: pointer;
            user-select: none;
            color: inherit;
            white-space: nowrap;
        }

        .sortable-trigger:hover {
            opacity: 0.85;
        }

        .sortable-trigger.active {
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        .sort-arrow {
            font-size: 12px;
            line-height: 1;
            opacity: 0.8;
            min-width: 10px;
            display: inline-block;
        }

        .partner-row .table-cell,
        .table-header .table-cell {
            white-space: nowrap;
        }

        .partner-active-yes {
            color: 
        }

        .partner-active-no {
            color: 
        }

        .mobile-partner-toggle {
            cursor: pointer;
            user-select: none;
            -webkit-tap-highlight-color: transparent;
        }

        .mobile-partner-content {
            overflow: hidden;
            max-height: 0;
            opacity: 0;
            transition: max-height 0.28s ease, opacity 0.22s ease;
        }

        .mobile-partner-item.is-open .mobile-partner-content {
            opacity: 1;
        }

        .mobile-partner-item .chevron {
            transition: transform 0.28s ease;
            transform-origin: center;
        }

        .mobile-partner-item.is-open .chevron {
            transform: rotate(180deg);
        }

        .aside_section {
            align-items: flex-start;
        }

        .aside_container {
            margin-top: 0 !important;
            padding-top: 0 !important;
        }

        .aside_table_inner {
            margin-top: 0 !important;
        }

        .aside_table_text {
            margin-top: 0 !important;
        }

        @media (prefers-reduced-motion: reduce) {
            .mobile-partner-content,
            .mobile-partner-item .chevron {
                transition: none !important;
            }
        }

.pr { padding: 0 0 60px; }
.aside_section { min-height: calc(100vh - 70px); }

.pr-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media(max-width: 780px) { .pr-cols { grid-template-columns: 1fr; } }

.pr-panel {
    border-radius: 16px; border: 1px solid; overflow: hidden;
}

.pr-panel-hd {
    display: flex; align-items: center; gap: 9px;
    padding: 14px 18px 13px; border-bottom: 1px solid;
}
.pr-panel-ico {
    width: 26px; height: 26px; border-radius: 7px; border: 1px solid;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pr-panel-name { font-size: 13px; font-weight: 600; }

.pr-row {
    display: grid;
    grid-template-columns: 70px 1fr 1fr 110px;
    align-items: center;
    gap: 0;
    padding: 0 18px;
    border-bottom: 1px solid;
    min-height: 62px;
    transition: background .1s;
    position: relative;
}
.pr-row:last-child { border-bottom: none; }

.pr-row.is-dirty { background: rgba(251,191,36,.04) !important; }
.pr-row.is-saved  { background: rgba(74,222,128,.04) !important; }
.pr-row::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 2px; opacity: 0; transition: opacity .2s;
}
.pr-row.is-dirty::before { background: #fbbf24; opacity: 1; }
.pr-row.is-saved::before  { background: #4ade80; opacity: 1; }

.pr-col-hd {
    display: grid;
    grid-template-columns: 70px 1fr 1fr 110px;
    gap: 0;
    padding: 0 18px;
    height: 34px;
    align-items: center;
    border-bottom: 1px solid;
}
.pr-col-hd span {
    font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
}

.pr-period {
    display: inline-flex; align-items: center; justify-content: center;
    height: 26px; min-width: 46px; padding: 0 10px;
    border-radius: 6px; border: 1px solid;
    font-size: 12px; font-weight: 700; white-space: nowrap;
}

.pr-field { display: flex; align-items: center; gap: 7px; padding: 0 10px 0 0; }
.pr-field:nth-child(2) { padding-left: 12px; }
.pr-field:nth-child(3) { padding-left: 12px; }

.pr-num {
    flex: 1; height: 36px; border-radius: 8px; border: 1px solid;
    padding: 0 11px; font-size: 15px; font-weight: 600; font-family: inherit;
    outline: none; transition: border-color .15s, background .15s, box-shadow .15s;
    -moz-appearance: textfield; min-width: 0; width: 100%; box-sizing: border-box;
}
.pr-num::-webkit-outer-spin-button,
.pr-num::-webkit-inner-spin-button { -webkit-appearance: none; }
.pr-num.is-changed {
    border-color: rgba(251,191,36,.7) !important;
    box-shadow: 0 0 0 3px rgba(251,191,36,.1);
}
.pr-num.is-ok {
    border-color: rgba(74,222,128,.7) !important;
    box-shadow: 0 0 0 3px rgba(74,222,128,.08);
}

.pr-num.vis {
    font-size: 14px; font-weight: 500;
}

.pr-sym { font-size: 13px; font-weight: 600; flex-shrink: 0; }

.pr-action { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding-left: 8px; }
.pr-btn {
    height: 32px; padding: 0 14px; border-radius: 8px; border: none;
    font-size: 12px; font-weight: 600; font-family: inherit; cursor: pointer;
    display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
    background: rgba(74,222,128,.12); color: #4ade80;
    opacity: 0; pointer-events: none;
    transition: opacity .18s, background .15s;
    flex-shrink: 0;
}
.pr-btn:hover { background: rgba(74,222,128,.22); }
.pr-btn.show { opacity: 1; pointer-events: auto; }
.pr-btn.spin { opacity: .4; pointer-events: none; }

.pr-flash {
    font-size: 11px; font-weight: 600; color: #4ade80;
    opacity: 0; transition: opacity .2s; flex-shrink: 0;
}
.pr-flash.show { opacity: 1; }

        .aside_container svg,
        .tk-view svg {
            fill: none !important;
        }
        
        .tk-ava-staff svg {
            fill: currentColor !important;
        }

        .aside_section { min-height: calc(100vh - 70px); }
        
        .tk-chips{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}
        .tk-chip{padding:5px 14px;border-radius:20px;border:1px solid rgba(255,255,255,.12);background:transparent;color:rgba(255,255,255,.4);font-size:12px;font-weight:500;cursor:pointer;transition:all .12s;font-family:inherit;white-space:nowrap;text-decoration:none}
        .tk-chip:hover{background:rgba(255,255,255,.07);color:rgba(255,255,255,.8)}
        .tk-chip.active{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.25);color:#fff}
        .tk-chip-cnt{opacity:.55;margin-left:3px}
        
        .tk-search{width:100%;box-sizing:border-box;height:38px;border-radius:10px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.05);color:#fff;padding:0 14px;font-size:13px;outline:none;font-family:inherit;transition:border-color .15s;margin-bottom:14px}
        .tk-search:focus{border-color:rgba(255,255,255,.25)}
        .tk-search::placeholder{color:rgba(255,255,255,.28)}
        
        .tk-tbl .table-row .table-cell:nth-child(n){text-align:left}
        .tk-c-id{width:44px;color:rgba(255,255,255,.4);font-size:12px}
        .tk-c-user{width:120px;font-family:monospace;font-size:12px}
        .tk-c-title{min-width:160px}
        .tk-c-st{width:100px}
        .tk-c-time{width:100px;font-size:12px}
        .tk-c-act{width:100px}
        .tk-c-closed{width:110px;font-size:12px;font-family:monospace}
        .tk-closed-by{padding:2px 8px;border-radius:5px;font-size:11px;font-weight:600}
        
        .tk-badge{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:500}
        .tk-badge::before{content:'';width:6px;height:6px;border-radius:50%;flex-shrink:0}
        .tk-open{color:#5ac86e}.tk-open::before{background:#5ac86e}
        .tk-answered{color:#fe8fff}.tk-answered::before{background:#fe8fff}
        .tk-closed{color:rgba(255,255,255,.3)}.tk-closed::before{background:rgba(255,255,255,.2)}
        
        .tk-open-btn{background:none;border:none;color:rgba(255,255,255,.45);font-size:12px;cursor:pointer;padding:4px 8px;border-radius:7px;font-family:inherit;transition:all .12s;text-decoration:none;display:inline-block}
        .tk-open-btn:hover{color:#fff;background:rgba(255,255,255,.07)}
        .tk-open-btn.tk-sel{color:#fe8fff;font-weight:600}
        
        .tk-view{margin-top:18px;border-radius:14px;overflow:hidden;border:1px solid}
        .tk-view-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:14px 18px 12px;border-bottom:1px solid}
        .tk-view-meta{display:flex;flex-direction:column;gap:3px;min-width:0}
        .tk-view-sub{font-size:10px;font-family:monospace}
        .tk-view-title{font-size:14px;font-weight:600;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
        .tk-view-acts{display:flex;align-items:center;gap:8px;flex-shrink:0}
        .tk-act-btn{padding:5px 12px;border-radius:8px;font-size:12px;cursor:pointer;border:1px solid;transition:all .15s;font-family:inherit}
        .tk-act-btn:hover{border-color:rgba(210,70,70,.4);color:rgba(210,70,70,.85);background:rgba(210,70,70,.07)}
        .tk-act-btn.tk-reopen:hover{border-color:rgba(90,200,110,.4);color:rgba(90,200,110,.9);background:rgba(90,200,110,.07)}
        
        .tk-msgs{padding:14px 18px;display:flex;flex-direction:column;gap:13px;max-height:360px;overflow-y:auto;scrollbar-width:none}
        .tk-msgs::-webkit-scrollbar{display:none}
        .tk-msg{display:flex;gap:9px;align-items:flex-start;opacity:1;transform:translateY(0);transition:opacity .22s ease,transform .22s ease}
        .tk-msg.tk-msg-new{opacity:0;transform:translateY(10px)}
        .tk-msg-staff{flex-direction:row-reverse}

        
        .tk-ava{width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;flex-shrink:0}
        .tk-ava-staff{background:rgba(254,143,255,.15)!important;color:#fe8fff!important}

        
        .tk-bubble{max-width:74%;padding:9px 13px;border-radius:4px 12px 12px 12px;border:1px solid}

        

        
        .tk-meta{display:flex;align-items:center;gap:6px;margin-bottom:5px}
        .tk-name{font-size:11px;font-weight:600}
        .tk-staff-tag{font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;padding:2px 5px;border-radius:4px;background:rgba(254,143,255,.15);color:#fe8fff}
        .tk-time{font-size:10px}

        
        .tk-text{font-size:13px;line-height:1.65;margin:0;word-break:break-word}
        
        .tk-media-row{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}
        .tk-media-img{display:block;border-radius:7px;overflow:hidden;border:1px solid;cursor:pointer;transition:opacity .15s}
        .tk-media-img:hover{opacity:.85}
        .tk-media-img img{display:block;max-width:180px;max-height:140px;object-fit:cover}
        .tk-media-video video{display:block;max-width:240px;max-height:160px;border-radius:7px}
        
        .tk-reply{padding:10px 18px 14px;border-top:1px solid}
        .tk-reply-box{border-radius:10px;border:1px solid;overflow:hidden;transition:border-color .18s}
        .tk-reply-box:focus-within{border-color:rgba(254,143,255,.3)!important}
        .tk-reply-ta{width:100%;resize:none;padding:10px 12px;font-size:13px;line-height:1.6;border:none;outline:none;background:transparent;font-family:inter,sans-serif;display:block;box-sizing:border-box}
        .tk-reply-ta::placeholder{opacity:.28}
        .tk-attach-row{display:flex;flex-wrap:wrap;gap:5px;padding:4px 12px}
        .tk-attach-item{position:relative;border-radius:7px;overflow:hidden;border:1px solid}
        .tk-attach-item img,.tk-attach-item video{display:block;width:64px;height:50px;object-fit:contain;object-position:center}
        .tk-attach-rm{position:absolute;top:2px;right:2px;width:15px;height:15px;border-radius:50%;border:none;background:rgba(0,0,0,.75);color:#fff;font-size:9px;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
        .tk-reply-foot{display:flex;align-items:center;justify-content:space-between;padding:5px 10px}
        .tk-reply-left{display:flex;align-items:center;gap:6px}
        .tk-attach-btn{display:flex;align-items:center;gap:4px;padding:4px 8px;border-radius:7px;font-size:11px;cursor:pointer;border:1px solid;transition:all .15s;font-family:inherit}
        .tk-attach-btn:hover{border-color:rgba(254,143,255,.3);color:#fe8fff}
        .tk-reply-ctr{font-size:10px}
        .tk-send-btn{display:flex;align-items:center;gap:5px;padding:5px 14px;border-radius:7px;font-size:12px;font-weight:500;cursor:pointer;font-family:inter,sans-serif;transition:all .15s;border:1px solid rgba(254,143,255,.25);background:rgba(254,143,255,.07);color:#fe8fff}
        .tk-send-btn:hover{background:rgba(254,143,255,.14);border-color:rgba(254,143,255,.4)}
        .tk-send-btn:disabled{opacity:.35;cursor:not-allowed}
        .tk-closed-note{display:flex;align-items:center;justify-content:center;gap:7px;padding:12px 18px 14px;font-size:12px}
        
        .tk-tpl-btn{display:flex;align-items:center;gap:4px;padding:4px 8px;border-radius:7px;font-size:11px;cursor:pointer;border:1px solid;transition:all .15s;font-family:inherit;position:relative}
        .tk-tpl-btn:hover{border-color:rgba(254,143,255,.3);color:#fe8fff}

        
        .tk-tpl-drop{
            position:fixed;
            min-width:420px;max-width:520px;width:460px;
            border-radius:12px;border:1px solid;
            z-index:9999;overflow:hidden;
            box-shadow:0 8px 32px rgba(0,0,0,.45);
        }
        .tk-tpl-drop-head{display:flex;align-items:center;justify-content:space-between;padding:9px 12px 8px;border-bottom:1px solid}
        .tk-tpl-drop-title{font-size:11px;font-weight:600}
        .tk-tpl-manage-btn{font-size:10px;cursor:pointer;background:none;border:none;padding:2px 6px;border-radius:5px;transition:all .12s;font-family:inherit}
        .tk-tpl-manage-btn:hover{color:#fe8fff}
        .tk-tpl-list{max-height:260px;overflow-y:auto;scrollbar-width:none}
        .tk-tpl-list::-webkit-scrollbar{display:none}
        .tk-tpl-item{padding:9px 12px;cursor:pointer;border-bottom:1px solid;transition:background .12s}
        .tk-tpl-item:last-child{border-bottom:none}
        .tk-tpl-item-title{font-size:12px;font-weight:500;margin-bottom:2px}
        .tk-tpl-item-preview{font-size:11px;white-space:normal;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
        .tk-tpl-empty{padding:18px 12px;text-align:center;font-size:12px}

        
        .tk-tpl-modal-inner{max-width:480px!important}
        .tk-tpl-mgr-list{display:flex;flex-direction:column;gap:6px;margin-bottom:14px;max-height:260px;overflow-y:auto;scrollbar-width:none}
        .tk-tpl-mgr-list::-webkit-scrollbar{display:none}
        .tk-tpl-mgr-item{display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:9px;border:1px solid}
        .tk-tpl-mgr-name{flex:1;font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
        .tk-tpl-mgr-act{display:flex;gap:4px}
        .tk-tpl-mgr-btn{padding:3px 8px;border-radius:6px;font-size:10px;cursor:pointer;border:1px solid;font-family:inherit;transition:all .12s}
        .tk-tpl-mgr-btn.edit:hover{border-color:rgba(96,165,250,.4);color:#60a5fa}
        .tk-tpl-mgr-btn.del:hover{border-color:rgba(210,70,70,.4);color:rgba(210,70,70,.9)}
        .tk-tpl-form{display:flex;flex-direction:column;gap:8px;padding-top:12px;border-top:1px solid}
        .tk-tpl-inp{width:100%;box-sizing:border-box;height:38px;border-radius:9px;border:1px solid;outline:none;padding:0 12px;font-size:13px;font-family:inter,sans-serif;transition:border-color .15s}
        .tk-tpl-inp:focus,.tk-tpl-ta:focus{border-color:rgba(254,143,255,.35)!important}
        .tk-tpl-inp::placeholder,.tk-tpl-ta::placeholder{opacity:.3}
        .tk-tpl-ta{width:100%;box-sizing:border-box;min-height:80px;border-radius:9px;border:1px solid;outline:none;padding:9px 12px;font-size:13px;line-height:1.6;font-family:inter,sans-serif;resize:vertical;transition:border-color .15s}
        .tk-tpl-save-btn{align-self:flex-end;padding:6px 16px;border-radius:8px;font-size:12px;font-weight:500;cursor:pointer;font-family:inter,sans-serif;transition:all .15s;border:1px solid rgba(254,143,255,.3);background:rgba(254,143,255,.1);color:#fe8fff}
        .tk-tpl-save-btn:hover{background:rgba(254,143,255,.18);border-color:rgba(254,143,255,.5)}
        .tk-view-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:48px 20px}

        
        @keyframes tk-typ-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
        @keyframes tk-dot-bounce{0%,80%,100%{transform:translateY(0)}40%{transform:translateY(-4px)}}
        .tk-typing-bar{display:flex;align-items:center;gap:8px;padding:6px 18px 8px;font-size:11px;min-height:28px;flex-shrink:0;animation:tk-typ-in .18s ease}
        .tk-typing-dots{display:inline-flex;align-items:center;gap:3px;padding:0 2px}
        .tk-typing-dots span{display:inline-block;width:5px;height:5px;border-radius:50%;animation:tk-dot-bounce 1.1s ease-in-out infinite}
        .tk-typing-dots span:nth-child(1){animation-delay:0s}
        .tk-typing-dots span:nth-child(2){animation-delay:.18s}
        .tk-typing-dots span:nth-child(3){animation-delay:.36s}

        
        
        .tk-mob-row{padding:12px 0;border-bottom:1px solid}
        .tk-mob-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}
        .tk-mob-user{font-size:11px;font-family:monospace}
        .tk-mob-title{font-size:13px;font-weight:500;margin:0 0 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
        .tk-mob-foot{display:flex;align-items:center;justify-content:space-between;font-size:11px}
.tk-confirm-sub {
        font-size: 13px;
        line-height: 1.6;
        margin: 14px 0 0;
        padding: 12px 14px;
        border-radius: 10px;
    }
    .tk-confirm-ok {
        width: 156px; height: 41px;
        font-size: 14px; font-weight: 500; font-family: inter, sans-serif;
        border: none; border-radius: 12px; cursor: pointer;
        transition: opacity .15s;
        background: rgba(210, 55, 55, .9); color: #fff;
    }
    .tk-confirm-ok:hover    { opacity: .85; }
    .tk-confirm-ok:disabled { opacity: .4; cursor: not-allowed; }

.maintenance_wrap {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
            box-sizing: border-box;
            text-align: center;
        }
        .maintenance_logo {
            width: 52px;
            height: 52px;
            background-size: cover;
            background-repeat: no-repeat;
            margin-bottom: 28px;
        }
        .maintenance_title {
            font-size: 22px;
            font-weight: 600;
            margin: 0 0 12px;
            letter-spacing: -0.02em;
            color: #ffffff;
        }
        .maintenance_text {
            font-size: 15px;
            font-weight: 400;
            line-height: 1.6;
            color: rgba(255, 255, 255, 0.55);
            max-width: 360px;
            margin: 0 auto;
        }

.maintenance_wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    box-sizing: border-box;
    text-align: center;
}
.maintenance_logo {
    width: 52px;
    height: 52px;
    background-size: cover;
    background-repeat: no-repeat;
    margin-bottom: 28px;
}
.maintenance_title {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
    color: #ffffff;
}
.maintenance_text {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    max-width: 360px;
    margin: 0 auto;
}

body.invite-page { min-height: 100vh; display: flex; flex-direction: column; }
        body.invite-page .page-content { flex: 1 0 auto; }
        body.invite-page footer.footer_header { flex: 0 0 auto; }

        .invite_info_container_center {
            display: flex;
            justify-content: center;
            margin-top: 18px;
        }

        .invite_info_container_center .invite_statistic_inner {
            width: 520px;
            max-width: 100%;
        }

body.error404-page {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        body.error404-page .page-content {
            flex: 1 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 34px 20px 64px;
        }

        body.error404-page footer.footer_header {
            flex: 0 0 auto;
        }

        .error404_wrap {
            width: 100%;
            max-width: 900px;
        }

        .error404_card {
            position: relative;
            overflow: hidden;
            border-radius: 24px;
            padding: 58px 34px 54px;
            text-align: center;
            background:
                radial-gradient(52% 85% at 0% 100%, rgba(226, 137, 255, 0.30) 0%, rgba(226, 137, 255, 0) 72%),
                radial-gradient(52% 85% at 100% 100%, rgba(226, 137, 255, 0.30) 0%, rgba(226, 137, 255, 0) 72%),
                linear-gradient(180deg, rgba(16,16,22,.96) 0%, rgba(20,18,28,.97) 100%);
            box-shadow:
                inset 0 1px 0 rgba(255,255,255,.02),
                0 8px 30px rgba(0,0,0,.16);
        }

        .error404_card::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: inherit;
            padding: 1px;
            background: linear-gradient(
                180deg,
                rgba(255,255,255,.10) 0%,
                rgba(255,255,255,.05) 22%,
                rgba(255,255,255,.03) 55%,
                rgba(255,255,255,.06) 100%
            );
            -webkit-mask:
                linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
        }

        .error404_card::after {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: inherit;
            pointer-events: none;
            background: linear-gradient(
                180deg,
                rgba(255,255,255,.02) 0%,
                rgba(255,255,255,0) 18%
            );
        }

        .error404_content {
            position: relative;
            z-index: 1;
        }

        .error404_code {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 18px;
            margin-bottom: 18px;
            line-height: 1;
        }

        .error404_digit {
            font-size: 118px;
            font-weight: 700;
            letter-spacing: -4px;
            color: rgba(255,255,255,.94);
        }

        .error404_logo_wrap {
            width: 86px;
            height: 86px;
            border-radius: 22px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255,255,255,.04);
            border: 1px solid rgba(255,255,255,.07);
            box-shadow:
                0 12px 30px rgba(0,0,0,.18),
                inset 0 1px 0 rgba(255,255,255,.04);
            flex: 0 0 auto;
        }

        .error404_logo {
            width: 34px;
            height: 34px;
            display: block;
            object-fit: contain;
        }

        .error404_title {
            margin: 0 0 14px;
            font-size: 34px;
            font-weight: 600;
            line-height: 1.2;
            color: #ffffff;
            text-shadow: 0 0 40px rgba(254,153,255,.5), 0 2px 8px rgba(0,0,0,.8);
        }

        .error404_text {
            max-width: 660px;
            margin: 0 auto;
            font-size: 17px;
            line-height: 1.7;
            color: #ffffff;
            text-shadow: 0 1px 6px rgba(0,0,0,.9);
        }

        .error404_actions {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 14px;
            flex-wrap: wrap;
            margin-top: 30px;
        }

        .error404_primary,
        .error404_secondary {
            min-width: 220px;
            height: 54px;
            padding: 0 22px;
            border-radius: 14px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-size: 15px;
            font-weight: 500;
            transition: .2s ease;
            cursor: pointer;
        }

        .error404_primary {
            background: #fe99ff;
            color: #0f0f0f;
            border: none;
        }

        .error404_secondary {
            background: rgba(255,255,255,.14);
            color: #ffffff;
            border: 1px solid rgba(255,255,255,.35);
        }

        .error404_primary:hover {
            background: #ffb3ff;
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(254,153,255,.35);
        }

        .error404_secondary:hover {
            background: rgba(255,255,255,.14);
            border-color: rgba(255,255,255,.38);
            transform: translateY(-2px);
        }

            background:
                radial-gradient(52% 85% at 0% 100%, rgba(226, 137, 255, 0.35) 0%, rgba(226, 137, 255, 0) 72%),
                radial-gradient(52% 85% at 100% 100%, rgba(226, 137, 255, 0.35) 0%, rgba(226, 137, 255, 0) 72%),
                linear-gradient(180deg, rgba(250,248,251,.98) 0%, rgba(246,243,247,.98) 100%);
            box-shadow:
                inset 0 1px 0 rgba(255,255,255,.5),
                0 8px 24px rgba(0,0,0,.05);
        }

            background: linear-gradient(
                180deg,
                rgba(17,17,17,.08) 0%,
                rgba(17,17,17,.04) 26%,
                rgba(17,17,17,.03) 60%,
                rgba(17,17,17,.06) 100%
            );
        }

            background: linear-gradient(
                180deg,
                rgba(255,255,255,.35) 0%,
                rgba(255,255,255,0) 18%
            );
        }

            color: #0f0f0f;
        }

            background: rgba(17,17,17,.03);
            border: 1px solid rgba(17,17,17,.06);
            box-shadow:
                0 10px 24px rgba(0,0,0,.06),
                inset 0 1px 0 rgba(255,255,255,.4);
        }

            color: #0f0f0f;
            text-shadow: none;
        }

            color: rgba(17,17,17,.80);
            text-shadow: none;
        }

            background: #c800c8;
            color: #ffffff;
        }

            background: #a800a8;
            box-shadow: 0 8px 24px rgba(200,0,200,.28);
        }

            background: rgba(17,17,17,.05);
            color: #0f0f0f;
            border: 1px solid rgba(17,17,17,.18);
        }

            background: rgba(17,17,17,.10);
            border-color: rgba(17,17,17,.30);
        }

        @media (max-width: 768px) {
            .error404_card {
                padding: 42px 22px 40px;
                border-radius: 20px;
            }

            .error404_code {
                gap: 12px;
                margin-bottom: 14px;
            }

            .error404_digit {
                font-size: 76px;
                letter-spacing: -2px;
            }

            .error404_logo_wrap {
                width: 62px;
                height: 62px;
                border-radius: 16px;
            }

            .error404_logo {
                width: 24px;
                height: 24px;
            }

            .error404_title {
                font-size: 28px;
            }

            .error404_text {
                font-size: 16px;
            }

            .error404_actions {
                flex-direction: column;
            }

            .error404_primary,
            .error404_secondary {
                width: 100%;
                min-width: 0;
            }
        }

.switch_circle {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  transform: translateX(0);
  transition: transform .38s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  z-index: 0;
}

.switch_light,
.switch_dark {
  position: relative;
  z-index: 1;
}

.prices_discount_wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.prices_original_price {
  font-size: 15px;
  font-weight: 500;
  text-decoration: line-through;
  opacity: .45;
}
body.dark .prices_original_price { color: #fff; }
body.light .prices_original_price { color: #000; }
.prices_discount_badge {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  background: rgba(254,153,255,.18);
  color: #fe99ff;
  letter-spacing: .02em;
}
body.light .prices_discount_badge {
  background: rgba(180,0,255,.12);
  color: #b020e0;
}

.sub-discount-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
}
.sub-original-price {
  font-size: 14px;
  font-weight: 500;
  text-decoration: line-through;
  opacity: .5;
}
body.dark .sub-original-price { color: #fff; }
body.light .sub-original-price { color: #000; }
.sub-discount-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  background: rgba(254,153,255,.18);
  color: #fe99ff;
  letter-spacing: .02em;
}
body.light .sub-discount-badge {
  background: rgba(180,0,255,.12);
  color: #b020e0;
}

#page-wrap {
  opacity: 0;
  transition: opacity .8s cubic-bezier(.4,0,.2,1) .1s;
}
body.page-ready #page-wrap {
  opacity: 1;
}/* ── Tasks block ─────────────────────────────────────────────────────────── */


.admin_configs_panel {
  max-width: 940px;
  margin: 12px auto 0;
}

.admin_configs_card {
  width: 100%;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: #171717;
  box-sizing: border-box;
}

body.light .admin_configs_card {
  border-color: rgba(0,0,0,.08);
  background: #fff;
  box-shadow: 0 1px 2px rgba(15,15,15,.04);
}

.admin_configs_head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin_configs_icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.48);
  background: rgba(255,255,255,.04);
  flex-shrink: 0;
}

.admin_configs_icon svg,
.admin_configs_icon svg * {
  fill: none !important;
}

body.light .admin_configs_icon {
  color: rgba(0,0,0,.48);
  background: rgba(0,0,0,.035);
}

.admin_configs_text {
  min-width: 0;
}

.admin_configs_title {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 500;
  color: #fff;
}

body.light .admin_configs_title {
  color: #111;
}

.admin_configs_subtitle {
  margin: 6px 0 0;
  max-width: none;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255,255,255,.65);
}

body.light .admin_configs_subtitle {
  color: rgba(0,0,0,.48);
}

.admin_configs_form {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.admin_configs_input {
  display: block;
  width: 100%;
  height: 42px;
  padding: 0 14px;
  min-width: 0;
  flex: 1;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  transition: border-color .15s, background .15s;
}

.admin_configs_input:focus {
  border-color: rgba(255,255,255,.32);
  background: rgba(255,255,255,.025);
}

.admin_configs_input::placeholder {
  color: rgba(255,255,255,.32);
}

body.light .admin_configs_input {
  border-color: rgba(0,0,0,.14);
  color: #0f0f0f;
}

body.light .admin_configs_input:focus {
  border-color: rgba(0,0,0,.28);
  background: rgba(0,0,0,.02);
}

body.light .admin_configs_input::placeholder {
  color: rgba(0,0,0,.36);
}

.admin_configs_actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.admin_configs_btn {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, transform .15s, opacity .15s;
}

.admin_configs_btn_primary {
  background: rgba(255,255,255,.12);
}

.admin_configs_btn:hover {
  background: rgba(255,255,255,.11);
}

.admin_configs_btn_primary:hover {
  background: rgba(255,255,255,.16);
}

.admin_configs_btn:active {
  transform: translateY(1px);
}

body.light .admin_configs_btn {
  background: rgba(0,0,0,.055);
  color: #111;
}

body.light .admin_configs_btn_primary {
  background: rgba(0,0,0,.095);
}

body.light .admin_configs_btn:hover {
  background: rgba(0,0,0,.09);
}

.admin_configs_btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.admin_configs_btn { padding: 0 20px; white-space: nowrap; }
.admin_scripts_modal[hidden] {
  display: none;
}

.admin_scripts_modal {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin_scripts_backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0,0,0,.56);
  cursor: default;
}

.admin_scripts_dialog {
  position: relative;
  width: min(520px, 100%);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: #171717;
  box-shadow: 0 24px 70px rgba(0,0,0,.42);
  padding: 18px;
  box-sizing: border-box;
}

body.light .admin_scripts_dialog {
  border-color: rgba(0,0,0,.08);
  background: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
}

.admin_scripts_header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.admin_scripts_title {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  color: #fff;
}

body.light .admin_scripts_title {
  color: #111;
}

.admin_scripts_subtitle {
  margin: 7px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255,255,255,.42);
}

body.light .admin_scripts_subtitle {
  color: rgba(0,0,0,.48);
}

.admin_scripts_close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.58);
  cursor: pointer;
}

.admin_scripts_close svg,
.admin_scripts_close svg * {
  fill: none !important;
}

.admin_scripts_close:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}

body.light .admin_scripts_close {
  background: rgba(0,0,0,.055);
  color: rgba(0,0,0,.58);
}

body.light .admin_scripts_close:hover {
  background: rgba(0,0,0,.09);
  color: #111;
}

.admin_scripts_empty {
  margin-top: 18px;
  padding: 26px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.36);
  font-size: 13px;
  text-align: center;
}

body.light .admin_scripts_empty {
  background: rgba(0,0,0,.035);
  color: rgba(0,0,0,.42);
}

body.admin-scripts-open {
  overflow: hidden;
}

@media (max-width: 680px) {
  .admin_configs_panel {
    max-width: 100%;
    margin: 18px 0 0;
    padding: 0 20px;
  }

  .admin_configs_card {
    width: 100%;
  }

  .admin_configs_btn {
    flex: 1 1 120px;
  }
}
.tasks_container {
  max-width: 940px;
  margin: 32px auto 0;
}

.tasks_header {
  margin-bottom: 0;
}

.tasks_header_left {
  display: flex;
  flex-direction: column;
}

.tasks_total_reward {
  display: none;
}

/* ── Reward bar ──────────────────────────────────────────────────────────── */
.tasks_reward_bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0 16px;
}

.tasks_reward_bar_line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(181, 101, 243, 0.20) 50%,
    transparent 100%);
}

.tasks_reward_bar_content {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-shrink: 0;
}

.tasks_reward_bar_label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
}
body.light .tasks_reward_bar_label { color: rgba(0,0,0,0.25); }

.tasks_reward_bar_value {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #e8a8ff 0%, #b565f3 45%, #ff9eff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
body.light .tasks_reward_bar_value {
  background: linear-gradient(120deg, #9b3ee8 0%, #b565f3 60%, #c97aff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tasks_paused_banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(245, 158, 11, 0.22);
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(181, 101, 243, 0.08) 55%, rgba(255,255,255,0.02) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
body.light .tasks_paused_banner {
  border-color: rgba(217, 119, 6, 0.18);
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.10) 0%, rgba(181, 101, 243, 0.06) 60%, #fff 100%);
  box-shadow: 0 1px 2px rgba(15, 15, 15, 0.04);
}

.tasks_paused_banner__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.18);
}
.tasks_paused_banner__icon svg,
.tasks_paused_banner__icon svg * {
  fill: none !important;
  stroke: currentColor;
}
body.light .tasks_paused_banner__icon {
  color: #d97706;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(217, 119, 6, 0.14);
}

.tasks_paused_banner__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.tasks_paused_banner__title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  letter-spacing: -0.01em;
}
body.light .tasks_paused_banner__title { color: #1a1a1a; }

.tasks_paused_banner__hint {
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255,255,255,0.45);
}
body.light .tasks_paused_banner__hint { color: rgba(0,0,0,0.45); }

.tasks_paused_banner__badge {
  flex-shrink: 0;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: #ffe8a3;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.22);
}
body.light .tasks_paused_banner__badge {
  color: #b45309;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(217, 119, 6, 0.16);
}

.tasks_title {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 6px;
  color: #fff;
}
body.light .tasks_title { color: #0f0f0f; }

.tasks_subtitle {
  font-size: 13px;
  font-weight: 300;
  color: #ffffff55;
  margin: 0;
}
body.light .tasks_subtitle { color: #0f0f0f66; }

.tasks_list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.task_card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  background-color: #171717;
  background-image:
    radial-gradient(80% 120% at 50% 0%,
      rgba(181, 101, 243, 0) 60%,
      rgba(181, 101, 243, 0.09) 100%),
    radial-gradient(60% 80% at 100% 50%,
      rgba(254, 143, 255, 0.04) 0%,
      transparent 100%);
  transition: opacity 0.3s;
}

body.light .task_card {
  background-color: #f5f5f5;
  background-image:
    radial-gradient(62.35% 144.28% at 50% 0%,
      rgba(181, 101, 243, 0) 80%,
      rgba(181, 101, 243, 0.06) 100%);
}

body.light .task_card::before {
  background: linear-gradient(
    135deg,
    rgba(0,0,0,.10) 0%,
    rgba(0,0,0,.04) 40%,
    rgba(0,0,0,.01) 60%,
    rgba(0,0,0,.05) 100%
  );
}

.task_card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg,
    rgba(255,255,255,.08) 0%,
    rgba(255,255,255,0) 50%,
    rgba(255,255,255,.04) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
}

.task_card.task_done {
  opacity: 1;
}
.task_card.task_done .task_btn_join,
.task_card.task_done .task_btn_check {
  display: none;
}
.task_done_badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #4ade80;
  font-size: 12px;
  font-weight: 500;
}

.task_card_left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.task_icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.task_icon_tg {
  background: rgba(41, 182, 246, 0.15);
  color: #29b6f6;
}

.task_icon_dc {
  background: rgba(114, 137, 218, 0.15);
  color: #7289da;
}

.task_info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.task_name {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}
body.light .task_name { color: #0f0f0f; }

.task_desc {
  font-size: 12px;
  font-weight: 300;
  color: #ffffff55;
}
body.light .task_desc { color: #0f0f0f66; }

.task_card_right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.task_reward {
  font-size: 14px;
  font-weight: 600;
  color: #fe99ff;
  white-space: nowrap;
}

.task_actions {
  display: flex;
  gap: 8px;
}

.task_btn {
  height: 36px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.task_btn:hover { opacity: 0.85; }

.task_btn_join {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
body.light .task_btn_join {
  background: rgba(0,0,0,0.07);
  color: #0f0f0f;
}

.task_btn_check {
  background: linear-gradient(0deg, #fe99ff, #fe99ff),
              linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
  color: #000;
  box-shadow: 0px -1px 0px 0px #00000014 inset;
}

.task_btn_check:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.tasks_claim {
  padding: 8px 0 0;
}

.tasks_claim__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(124,92,252,.06);
  border: 1px solid rgba(124,92,252,.15);
  border-radius: 12px;
}

body.light .tasks_claim__inner {
  background: rgba(124,92,252,.04);
  border-color: rgba(124,92,252,.12);
}

.tasks_claim__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tasks_claim__coin {
  font-size: 26px;
  line-height: 1;
  animation: tasks-coin-bounce 2s ease-in-out infinite;
}

@keyframes tasks-coin-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.tasks_claim__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tasks_claim__title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}

body.light .tasks_claim__title {
  color: rgba(0,0,0,.8);
}

.tasks_claim__sub {
  font-size: 11.5px;
  color: rgba(255,255,255,.35);
}

body.light .tasks_claim__sub {
  color: rgba(0,0,0,.4);
}

.tasks_claim__btn {
  flex-shrink: 0;
  padding: 8px 20px;
  font-size: 12.5px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: #7c5cfc;
  color: #fff;
  transition: background .15s, opacity .15s;
}

.tasks_claim__btn:hover {
  background: #6a4ce0;
}

.tasks_claim__btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .tasks_claim__inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .tasks_claim__left {
    flex-direction: column;
    gap: 6px;
  }
}

.task_completed_badge {
  font-size: 13px;
  font-weight: 500;
  color: #fe99ff;
  padding: 0 4px;
}

/* Mobile */
@media (max-width: 680px) {
  .tasks_container {
    max-width: 100%;
    margin: 24px 0 0;
    padding: 0 20px;
  }

  .tasks_reward_bar {
    gap: 10px;
    margin: 10px 0 14px;
  }

  .tasks_reward_bar_line {
    display: block;
  }

  .tasks_reward_bar_content {
    gap: 6px;
    align-items: center;
  }

  .tasks_reward_bar_label {
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .tasks_reward_bar_value {
    font-size: 13px;
  }

  .tasks_paused_banner {
    align-items: flex-start;
    gap: 10px;
    padding: 11px 12px;
  }

  .tasks_paused_banner__badge {
    align-self: center;
  }

  .task_card {
    flex-direction: column !important;
    align-items: stretch;
    padding: 12px;
    gap: 8px;
  }

  .task_card_left {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .task_icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    flex-shrink: 0;
  }

  .task_info {
    flex: 1;
    min-width: 0;
  }

  .task_name {
    font-size: 13px;
    white-space: normal;
  }

  .task_desc {
    font-size: 11px;
    white-space: normal;
  }

  .task_card_right {
    display: flex !important;
    width: 100%;
  }

  .task_actions {
    display: flex !important;
    gap: 8px;
    width: 100%;
  }

  .task_btn {
    height: 36px;
    flex: 1;
    justify-content: center;
    font-size: 13px;
    border-radius: 9px;
    padding: 0;
  }
}

/* ── Notification bell ─────────────────────────────────────── */

.notif-bell {
  position: relative;
  display: flex;
  align-items: center;
}

.notif-bell__btn {
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.4);
  transition: color .15s;
}

.notif-bell__btn:hover {
  color: rgba(255,255,255,.8);
}

body.light .notif-bell__btn {
  color: rgba(0,0,0,.35);
}

body.light .notif-bell__btn:hover {
  color: rgba(0,0,0,.7);
}

.notif-bell__btn svg {
  fill: none;
}

.notif-bell__badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  font-size: 9px;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
  color: #fff;
  background: #e84545;
  border-radius: 8px;
  pointer-events: none;
  box-sizing: border-box;
}

.notif-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: -12px;
  width: 280px;
  max-height: 380px;
  background: #1c1c1e;
  border-radius: 14px;
  overflow: hidden;
  z-index: 10001;
  box-shadow: 0 8px 30px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
}

body.light .notif-dropdown {
  background: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.06);
}

.notif-dropdown__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 12px;
}

.notif-dropdown__title {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}

body.light .notif-dropdown__title {
  color: #01010f;
}

.notif-dropdown__actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.notif-dropdown__clear,
.notif-dropdown__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background .12s;
}

.notif-dropdown__clear svg {
  fill: none;
}

.notif-dropdown__clear {
  color: #e84545;
}

.notif-dropdown__clear:hover {
  background: rgba(232,69,69,.1);
}

.notif-dropdown__close {
  color: rgba(255,255,255,.35);
}

.notif-dropdown__close:hover {
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.06);
}

body.light .notif-dropdown__close {
  color: rgba(0,0,0,.3);
}

body.light .notif-dropdown__close:hover {
  color: rgba(0,0,0,.6);
  background: rgba(0,0,0,.05);
}

.notif-dropdown__close svg {
  fill: none;
}

.notif-dropdown__list {
  overflow-y: auto;
  flex: 1;
}

.notif-dropdown__empty {
  text-align: center;
  padding: 32px 16px 36px;
}

.notif-dropdown__empty-icon {
  font-size: 28px;
  margin-bottom: 8px;
  opacity: .4;
}

.notif-dropdown__empty > div:last-child {
  font-size: 13px;
  color: rgba(255,255,255,.3);
}

body.light .notif-dropdown__empty > div:last-child {
  color: rgba(0,0,0,.3);
}

.notif-item {
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background .12s;
  position: relative;
}

.notif-item:hover {
  background: rgba(255,255,255,.04);
}

body.light .notif-item:hover {
  background: rgba(0,0,0,.03);
}

.notif-item + .notif-item {
  border-top: 1px solid rgba(255,255,255,.04);
}

body.light .notif-item + .notif-item {
  border-top-color: rgba(0,0,0,.05);
}

.notif-item.unread {
  background: rgba(254,153,255,.04);
}

.notif-item.unread::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fe99ff;
}

.notif-item__icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.35);
}

body.light .notif-item__icon {
  background: rgba(0,0,0,.05);
  color: rgba(0,0,0,.35);
}

.notif-item.unread .notif-item__icon {
  background: rgba(254,153,255,.12);
  color: #fe99ff;
}

.notif-item__body {
  flex: 1;
  min-width: 0;
}

.notif-item__text {
  font-size: 12.5px;
  color: rgba(255,255,255,.65);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

body.light .notif-item__text {
  color: rgba(0,0,0,.6);
}

.notif-item.unread .notif-item__text {
  color: rgba(255,255,255,.9);
}

body.light .notif-item.unread .notif-item__text {
  color: rgba(0,0,0,.85);
}

.notif-item__time {
  font-size: 10.5px;
  color: rgba(255,255,255,.2);
  margin-top: 3px;
}

body.light .notif-item__time {
  color: rgba(0,0,0,.25);
}

@media (max-width: 768px) {
  .notif-dropdown {
    position: fixed;
    top: 72px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100vh - 100px);
  }
}


@media (max-width: 680px) {
  .admin_configs_card { padding: 18px; }
  .admin_configs_form { flex-direction: column; align-items: stretch; }
  .admin_configs_input { flex: none; font-size: 16px; }
  .admin_configs_actions { width: 100%; }
}

/* Account cloud library: animated dialog and script editor. */
.admin_scripts_modal { opacity: 0; transition: opacity .22s ease; }
.admin_scripts_modal.is-open { opacity: 1; }
.admin_scripts_dialog { width: min(640px, 100%); max-height: min(720px, calc(100dvh - 40px)); overflow-y: auto; padding: 20px; transform: translateY(12px) scale(.98); transition: transform .22s ease; }
.admin_scripts_modal.is-open .admin_scripts_dialog { transform: translateY(0) scale(1); }
.admin_scripts_subtitle { font-size: 14px; color: #aaa; }
.cloud_library_status { margin: 16px 0; font-size: 14px; line-height: 1.5; color: #aaa; }
.cloud_library_status:empty { display: none; }
.cloud_library_status.is-error { color: #e99595; }
.cloud_library_section { margin-top: 16px; }
.cloud_library_heading { margin: 0 0 6px; font-size: 14px; font-weight: 500; color: #aaa; }
.cloud_library_row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid #ffffff12; }
.cloud_library_details { min-width: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.cloud_library_name { overflow-wrap: anywhere; font-size: 14px; color: #eee; }
.cloud_library_meta, .cloud_editor_footer { font-size: 12px; color: #999; }
.cloud_editor_toolbar { display: flex; align-items: center; gap: 16px; margin: 20px 0 16px; }
.cloud_editor_label { display: block; margin-bottom: 8px; font-size: 13px; color: #aaa; }
.cloud_script_code { display: block; box-sizing: border-box; width: 100%; height: clamp(220px, 48vh, 560px); resize: vertical; padding: 16px; border: 1px solid #ffffff25; border-radius: 12px; background: #101010; color: #e5e5e5; font: 14px/1.6 Consolas, monospace; tab-size: 4; white-space: pre; }
.cloud_script_code:focus { outline: 2px solid #888; outline-offset: 2px; }
.cloud_editor_footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.admin_configs_btn:disabled { opacity: .45; cursor: default; }
body.light .cloud_script_code { background: #fafafa; color: #222; border-color: #0002; }
body.light .cloud_library_name { color: #222; }
body.light .cloud_library_row { border-color: #0001; }
body.light .cloud_library_status, body.light .cloud_library_heading, body.light .cloud_editor_label, body.light .admin_scripts_subtitle { color: #666; }
body.light .cloud_library_status.is-error { color: #a32929; }
@media (max-width: 600px) {
  .admin_scripts_modal { padding: 12px; }
  .admin_scripts_dialog { padding: 18px; max-height: calc(100dvh - 24px); }
  .cloud_library_row, .cloud_editor_toolbar { flex-wrap: wrap; }
  .cloud_script_code { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .admin_scripts_modal, .admin_scripts_dialog { transition: none; }
}
/* Keep library scrolling without the native scrollbar. */
.admin_scripts_dialog {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.admin_scripts_dialog::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.cloud_library_row .admin_configs_btn { min-height: 32px; padding: 0 12px; font-size: 12px; border-radius: 9px; flex: 0 0 auto; }
.admin_scripts_dialog .admin_scripts_subtitle { font-size: 13px; line-height: 1.45; }

/* Match account settings surfaces in both themes. */
body.light .admin_configs_card,
body.dark .admin_configs_card {
  position: relative;
  isolation: isolate;
  border: 0;
  box-shadow: none;
}
body.light .admin_configs_card { background: #f5f5f5; }
body.dark .admin_configs_card { background: #171717; }
body.light .admin_configs_card::before {
  background: linear-gradient(135deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.04) 40%, rgba(0,0,0,.01) 60%, rgba(0,0,0,.05) 100%);
}
body.light .admin_configs_title { color: #0f0f0f; }
body.dark .admin_configs_title { color: #fff; }
body.light .admin_configs_subtitle { color: #0f0f0f99; }
body.dark .admin_configs_subtitle { color: #ffffff99; }
body.light .admin_configs_panel .admin_configs_btn {
  background: linear-gradient(0deg, #dbdbdb, #dbdbdb), linear-gradient(180deg, rgba(255,255,255,.25) 0%, rgba(255,255,255,0) 100%);
  box-shadow: 0 -1px 0 #00000014 inset;
  color: #0f0f0f;
}
body.dark .admin_configs_panel .admin_configs_btn {
  background: linear-gradient(0deg, var(--Dark-BG-2, #1f1f1f), var(--Dark-BG-2, #1f1f1f)), linear-gradient(180deg, rgba(255,255,255,.02) 0%, rgba(255,255,255,0) 100%);
  box-shadow: 0 -1px 0 #00000040 inset;
  color: #fff;
}
.admin_configs_panel .admin_configs_btn:hover { filter: brightness(.96); }
body.dark .admin_configs_panel .admin_configs_btn:hover { filter: brightness(1.12); }
.cloud_library_actions { display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end; }
.cloud_library_row .cloud_action_icon { width:32px; height:32px; min-width:32px; padding:0; display:inline-flex; align-items:center; justify-content:center; }
.cloud_action_icon svg { width:17px; height:17px; pointer-events:none; }
/* Theme-wide SVG fills must not turn outline actions into solid shapes. */
.cloud_action_icon svg,
.cloud_action_icon svg path { fill:none !important; stroke:currentColor; }
.cloud_action_icon:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
.cloud_library_row .cloud_action_delete:hover { color:#f08080; background:#b32d2d20; }
body.light .cloud_library_row .cloud_action_delete:hover { color:#b42323; background:#b32d2d12; }
@media(pointer:coarse){.cloud_library_row .cloud_action_icon{width:40px;height:40px;}}
@media(max-width:600px){.cloud_library_actions{justify-content:flex-start;width:100%}}

/* Script editor scrollbars, including the horizontal track and corner. */
.cloud_script_code {
  --code-scroll-track: #101010;
  --code-scroll-thumb: #454545;
  --code-scroll-hover: #646464;
  scrollbar-width: thin;
  scrollbar-color: var(--code-scroll-thumb) var(--code-scroll-track);
}
body.light .cloud_script_code {
  --code-scroll-track: #fafafa;
  --code-scroll-thumb: #c4c4c4;
  --code-scroll-hover: #a0a0a0;
}
@supports selector(::-webkit-scrollbar) {
  .cloud_script_code { scrollbar-width: auto; scrollbar-color: auto; }
  .cloud_script_code::-webkit-scrollbar { width: 9px; height: 9px; }
  .cloud_script_code::-webkit-scrollbar-track { background: var(--code-scroll-track); border-radius: 10px; }
  .cloud_script_code::-webkit-scrollbar-thumb {
    background: var(--code-scroll-thumb);
    border: 2px solid var(--code-scroll-track);
    border-radius: 10px;
  }
  .cloud_script_code::-webkit-scrollbar-thumb:hover { background: var(--code-scroll-hover); }
  .cloud_script_code::-webkit-scrollbar-corner { background: var(--code-scroll-track); }
  .cloud_script_code::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
  .cloud_script_code::-webkit-resizer { background: var(--code-scroll-track); }
}

/* ==== RAGE:MP marketplace ==== */
.market-page{width:min(1120px,calc(100% - 32px));margin:0 auto;padding:118px 0 60px;min-height:calc(100vh - 140px)}
.market-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:18px;padding:22px;border-radius:18px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(135deg,rgba(254,153,255,.10),rgba(255,255,255,.025) 42%,rgba(254,153,255,.06));box-shadow:0 18px 70px rgba(0,0,0,.20)}
body.light .market-hero{border-color:rgba(0,0,0,.08);background:linear-gradient(135deg,rgba(254,153,255,.13),rgba(255,255,255,.78) 48%,rgba(0,0,0,.018));box-shadow:0 18px 44px rgba(0,0,0,.055)}
.market-kicker{margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#fe99ff}.market-hero h1{margin:0 0 8px;font-size:32px;line-height:1.05;letter-spacing:-.04em;color:#fff}.market-hero p{max-width:640px;margin:0;color:rgba(255,255,255,.52);font-size:14px;line-height:1.55}body.light .market-hero h1{color:#121212}body.light .market-hero p{color:rgba(0,0,0,.55)}
.market-hero-actions{display:flex;gap:10px;flex-wrap:wrap}.market-btn{border:0;border-radius:12px;background:#fe99ff;color:#151015;font-weight:800;font-size:13px;line-height:1;min-height:42px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer;transition:transform .16s,opacity .16s,background .16s}.market-btn:hover{transform:translateY(-1px)}.market-btn:disabled{opacity:.48;cursor:not-allowed;transform:none}.market-btn-ghost{background:rgba(255,255,255,.07);color:#fff}.market-btn-danger{background:rgba(255,82,82,.13);color:#ff7777}.market-btn-wide{width:100%}body.light .market-btn-ghost{background:rgba(0,0,0,.055);color:#111}body.light .market-btn-danger{background:rgba(220,32,32,.08);color:#c32929}
.market-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px}.market-stat{padding:16px;border-radius:16px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.035)}.market-stat strong{display:block;color:#fff;font-size:22px}.market-stat span{display:block;margin-top:4px;color:rgba(255,255,255,.38);font-size:12px}body.light .market-stat{border-color:rgba(0,0,0,.08);background:#fff}body.light .market-stat strong{color:#111}body.light .market-stat span{color:rgba(0,0,0,.44)}
.market-layout{display:grid;grid-template-columns:285px 1fr;gap:14px}.market-filters,.market-main{border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.03);border-radius:18px}.market-filters{height:max-content;padding:14px;position:sticky;top:88px}.market-main{min-height:520px;padding:14px}body.light .market-filters,body.light .market-main{border-color:rgba(0,0,0,.08);background:#fff}
.market-field{display:block;margin-bottom:12px}.market-field span,.market-check span{display:block;margin:0 0 6px;color:rgba(255,255,255,.44);font-size:12px;font-weight:700}.market-field input,.market-field select,.market-seller-item input,.market-seller-item textarea{width:100%;height:42px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:rgba(0,0,0,.18);color:#fff;padding:0 12px;outline:none;font:inherit;font-size:13px}.market-seller-item textarea{height:78px;padding:11px 12px;resize:vertical}.market-field input:focus,.market-field select:focus,.market-seller-item input:focus,.market-seller-item textarea:focus{border-color:rgba(254,153,255,.55)}body.light .market-field span,body.light .market-check span{color:rgba(0,0,0,.46)}body.light .market-field input,body.light .market-field select,body.light .market-seller-item input,body.light .market-seller-item textarea{border-color:rgba(0,0,0,.10);background:#f7f7f7;color:#111}.market-check{display:flex;align-items:center;gap:9px;margin:8px 0 14px;cursor:pointer}.market-check input{width:18px;height:18px;accent-color:#fe99ff}.market-check span{margin:0;color:rgba(255,255,255,.72)}body.light .market-check span{color:rgba(0,0,0,.74)}
.market-toolbar{display:flex;justify-content:space-between;align-items:center;margin:2px 2px 14px}.market-toolbar h2{margin:0;color:#fff;font-size:18px}.market-toolbar span{color:rgba(255,255,255,.38);font-size:12px}body.light .market-toolbar h2{color:#111}body.light .market-toolbar span{color:rgba(0,0,0,.42)}.market-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.market-card{overflow:hidden;border:1px solid rgba(255,255,255,.07);background:rgba(10,10,10,.35);border-radius:16px;cursor:pointer;transition:transform .16s,border-color .16s,background .16s}.market-card:hover{transform:translateY(-2px);border-color:rgba(254,153,255,.38);background:rgba(254,153,255,.035)}body.light .market-card{border-color:rgba(0,0,0,.08);background:#fbfbfb}body.light .market-card:hover{border-color:rgba(190,96,207,.34);background:#fff}
.market-card-art{height:128px;position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;padding:16px;overflow:hidden}.market-card-art:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 72% 22%,rgba(255,255,255,.24),transparent 28%),linear-gradient(135deg,rgba(254,153,255,.55),rgba(52,34,60,.52));opacity:.9}.market-card-art:after{content:"";position:absolute;right:-24px;bottom:-40px;width:130px;height:130px;border-radius:34px;border:1px solid rgba(255,255,255,.22);transform:rotate(24deg)}.market-card-art-scr:before{background:radial-gradient(circle at 70% 25%,rgba(255,255,255,.20),transparent 28%),linear-gradient(135deg,rgba(111,176,255,.42),rgba(254,153,255,.38),rgba(20,20,24,.68))}.market-card-art strong,.market-card-art em,.market-badge{position:relative;z-index:1}.market-card-art strong{font-size:28px;color:#fff;letter-spacing:-.04em}.market-card-art em{font-style:normal;color:rgba(255,255,255,.72);font-weight:700}.market-badge{position:absolute;top:12px;left:12px;border-radius:999px;padding:6px 9px;background:rgba(0,0,0,.38);color:#fff;font-size:11px}.market-card-body{padding:13px}.market-card-top,.market-card-foot{display:flex;justify-content:space-between;gap:12px;color:rgba(255,255,255,.42);font-size:12px}.market-card-top strong{color:#fff}.market-card h3{margin:9px 0 7px;color:#fff;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.market-card p{height:42px;margin:0;color:rgba(255,255,255,.50);font-size:12.5px;line-height:1.45;overflow:hidden}.market-tags{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.market-tags span{border:1px solid rgba(255,255,255,.08);border-radius:7px;padding:3px 6px;color:rgba(255,255,255,.58);font-size:11px}.market-card-foot{padding-top:11px;border-top:1px solid rgba(255,255,255,.06)}body.light .market-card-top,body.light .market-card-foot{color:rgba(0,0,0,.42)}body.light .market-card-top strong,body.light .market-card h3{color:#111}body.light .market-card p{color:rgba(0,0,0,.55)}body.light .market-tags span{border-color:rgba(0,0,0,.08);color:rgba(0,0,0,.58)}body.light .market-card-foot{border-color:rgba(0,0,0,.06)}
.market-empty{padding:42px 16px;text-align:center;color:rgba(255,255,255,.38);border-radius:16px;background:rgba(255,255,255,.025)}body.light .market-empty{color:rgba(0,0,0,.40);background:rgba(0,0,0,.025)}.market-modal{position:fixed;inset:0;z-index:10020;display:grid;place-items:center;padding:20px;opacity:0;transition:opacity .16s}.market-modal.open{opacity:1}.market-modal[hidden]{display:none}.market-modal-backdrop{position:absolute;inset:0;border:0;background:rgba(0,0,0,.66);backdrop-filter:blur(10px)}.market-dialog{position:relative;width:min(860px,100%);max-height:calc(100vh - 44px);overflow:auto;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:#151515;padding:18px;box-shadow:0 30px 90px rgba(0,0,0,.5);transform:translateY(10px) scale(.985);transition:transform .18s}.market-modal.open .market-dialog{transform:none}.market-dialog-wide{width:min(940px,100%)}body.light .market-dialog{background:#fff;border-color:rgba(0,0,0,.08);box-shadow:0 30px 80px rgba(0,0,0,.14)}.market-close{position:absolute;right:14px;top:14px;width:34px;height:34px;border:0;border-radius:10px;background:rgba(255,255,255,.07);color:#fff;font-size:24px;line-height:1;cursor:pointer}body.light .market-close{background:rgba(0,0,0,.06);color:#111}.market-detail{display:grid;grid-template-columns:310px 1fr;gap:18px}.market-detail-art{height:360px;border-radius:16px}.market-detail-info h2,.market-dialog h2{margin:14px 42px 10px 0;color:#fff;font-size:24px;letter-spacing:-.03em}.market-detail-info p,.market-muted{color:rgba(255,255,255,.52);font-size:14px;line-height:1.55}.market-breadcrumb{color:rgba(255,255,255,.38);font-size:13px}.market-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0}.market-meta span,.market-updates{border:1px solid rgba(255,255,255,.07);border-radius:12px;padding:11px;color:rgba(255,255,255,.42);font-size:12px}.market-meta b,.market-updates b{display:block;color:#fff;margin-top:4px}.market-updates{display:flex;align-items:center;justify-content:space-between;gap:14px}.market-buy{display:flex;align-items:center;justify-content:space-between;margin-top:16px;padding:14px;border-radius:14px;background:rgba(254,153,255,.09)}.market-buy strong{color:#fff;font-size:28px}body.light .market-detail-info h2,body.light .market-dialog h2,body.light .market-meta b,body.light .market-updates b,body.light .market-buy strong{color:#111}body.light .market-detail-info p,body.light .market-muted{color:rgba(0,0,0,.56)}body.light .market-breadcrumb,body.light .market-meta span,body.light .market-updates{color:rgba(0,0,0,.44)}body.light .market-meta span,body.light .market-updates{border-color:rgba(0,0,0,.08)}body.light .market-buy{background:rgba(254,153,255,.16)}
.market-seller-list{display:grid;gap:12px;margin-top:14px}.market-seller-item{display:grid;gap:10px;padding:14px;border:1px solid rgba(255,255,255,.07);border-radius:15px;background:rgba(255,255,255,.025)}.market-seller-item b{display:block;color:#fff}.market-seller-item span{display:block;margin-top:3px;color:rgba(255,255,255,.38);font-size:12px}.market-seller-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.market-seller-actions{display:flex;gap:10px;justify-content:flex-end}body.light .market-seller-item{border-color:rgba(0,0,0,.08);background:#fafafa}body.light .market-seller-item b{color:#111}body.light .market-seller-item span{color:rgba(0,0,0,.42)}
@media(max-width:980px){.market-layout{grid-template-columns:1fr}.market-filters{position:static}.market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.market-detail{grid-template-columns:1fr}.market-detail-art{height:220px}.market-hero{align-items:flex-start;flex-direction:column}.market-stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.market-page{width:min(100% - 20px,1120px);padding-top:96px}.market-grid{grid-template-columns:1fr}.market-stats{grid-template-columns:1fr 1fr}.market-meta{grid-template-columns:1fr}.market-seller-row{grid-template-columns:1fr}.market-hero h1{font-size:26px}}

/* ==== Header fit after admin market tab ==== */
.header_container{
  width:min(1180px,calc(100% - 360px));
  min-width:0;
  gap:18px;
}
.header_inner:nth-child(2){
  min-width:0;
  flex:1 1 auto;
}
.header_menu{
  align-items:center;
  justify-content:center;
  gap:14px;
  min-width:0;
  padding:0;
  margin:0;
  flex-wrap:nowrap;
}
.header_menu li{flex:0 1 auto;min-width:0}.menu_link{white-space:nowrap;line-height:1;min-height:36px;padding:0 12px;font-size:14px}.menu_link[data-i18n="dashboard_menu_referral"],.menu_link[data-i18n="dashboard_menu_admin"]{max-width:118px;white-space:normal;line-height:1.08;text-align:center;padding-left:13px;padding-right:13px}.menu_link[data-i18n="dashboard_menu_market"]{max-width:86px}.header_right{min-width:0}.header_burger{max-width:116px}.header_name span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:74px}
@media (max-width:1500px){.header_container{width:min(1040px,calc(100% - 330px));gap:12px}.header_menu{gap:8px}.menu_link{padding:0 10px;font-size:13px}.menu_link[data-i18n="dashboard_menu_referral"],.menu_link[data-i18n="dashboard_menu_admin"]{max-width:104px}}
@media (max-width:1180px){.header_container{width:calc(100% - 300px);margin-left:20px;margin-right:auto}.header_menu{gap:6px}.menu_link{padding:0 9px;font-size:12.5px}.menu_link[data-i18n="dashboard_menu_referral"],.menu_link[data-i18n="dashboard_menu_admin"]{max-width:96px}}
@media (max-width:1000px){.header_container{width:calc(100% - 40px)}}

/* ==== Header compact alignment fix ==== */
.header_container{
  width:min(940px,calc(100% - 420px));
  min-width:0;
  gap:18px;
  justify-content:space-between;
}
.header_inner.logo{flex:0 0 auto}.header_inner:nth-child(2){flex:1 1 auto;min-width:0;display:flex;justify-content:center}.header_right{flex:0 0 auto;min-width:0}.header_menu{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;padding:0;margin:0;flex-wrap:nowrap}.header_menu li{flex:0 0 auto}.menu_link{white-space:nowrap!important;line-height:1!important;min-height:36px;padding:0 11px;font-size:13.5px}.menu_link[data-i18n="dashboard_menu_referral"],.menu_link[data-i18n="dashboard_menu_admin"]{max-width:none!important;white-space:nowrap!important;line-height:1!important;text-align:center}.menu_link[data-i18n="dashboard_menu_market"]{max-width:none!important}.header_burger{max-width:126px}.header_name span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:82px}
@media (max-width:1500px){.header_container{width:min(900px,calc(100% - 390px));gap:14px}.header_menu{gap:8px}.menu_link{padding:0 9px;font-size:13px}}
@media (max-width:1240px){.header_container{width:calc(100% - 320px);margin-left:20px;margin-right:auto}.header_menu{gap:5px}.menu_link{padding:0 8px;font-size:12.5px}}
@media (max-width:1000px){.header_container{width:calc(100% - 40px);margin-left:20px}.header_inner:nth-child(2){display:none}.header_right{display:none}}

/* ==== Market alignment and custom form controls ==== */
.market-page{width:min(940px,calc(100% - 32px))!important}.market-layout{grid-template-columns:250px 1fr}.market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.market-hero h1{font-size:30px}.market-hero p{max-width:540px}.market-stats{gap:10px}.market-stat{padding:14px 16px}.market-filters{padding:13px}.market-field select#marketSort{display:none!important}.market-check{position:relative;display:flex!important;align-items:center;gap:10px;margin:10px 0 16px;padding:10px 11px;border-radius:12px;border:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.025);transition:border-color .16s,background .16s}.market-check:hover{border-color:rgba(254,153,255,.24);background:rgba(254,153,255,.04)}.market-check input[type="checkbox"]{appearance:none;-webkit-appearance:none;width:18px;height:18px;min-width:18px;margin:0;border-radius:6px;border:1px solid rgba(255,255,255,.16);background:rgba(0,0,0,.18);display:grid;place-items:center;cursor:pointer;transition:background .16s,border-color .16s,box-shadow .16s}.market-check input[type="checkbox"]:checked{border-color:#fe99ff;background:#fe99ff;box-shadow:0 0 0 3px rgba(254,153,255,.12)}.market-check input[type="checkbox"]:checked:after{content:"";width:8px;height:5px;border-left:2px solid #151015;border-bottom:2px solid #151015;transform:rotate(-45deg);margin-top:-2px}.market-check span{font-size:13px;color:rgba(255,255,255,.70)!important}.market-select{position:relative}.market-select-btn{width:100%;height:42px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:rgba(0,0,0,.18);color:#fff;padding:0 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;font:inherit;font-size:13px;font-weight:700;cursor:pointer;transition:border-color .16s,background .16s}.market-select-btn:hover,.market-select.open .market-select-btn{border-color:rgba(254,153,255,.46);background:rgba(254,153,255,.055)}.market-select-btn i{width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);opacity:.7;margin-top:-4px;transition:transform .16s}.market-select.open .market-select-btn i{transform:rotate(225deg);margin-top:4px}.market-select-menu{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:20;padding:5px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:#171717;box-shadow:0 16px 36px rgba(0,0,0,.38);overflow:hidden}.market-select-option{width:100%;height:34px;border:0;border-radius:9px;background:transparent;color:rgba(255,255,255,.68);text-align:left;padding:0 10px;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.market-select-option:hover{background:rgba(254,153,255,.12);color:#fff}.market-select-option:active{background:#fe99ff;color:#151015}body.light .market-check{border-color:rgba(0,0,0,.07);background:rgba(0,0,0,.025)}body.light .market-check:hover{border-color:rgba(190,96,207,.24);background:rgba(190,96,207,.055)}body.light .market-check input[type="checkbox"]{border-color:rgba(0,0,0,.14);background:#fff}body.light .market-check span{color:rgba(0,0,0,.70)!important}body.light .market-select-btn{border-color:rgba(0,0,0,.10);background:#f7f7f7;color:#111}body.light .market-select-btn:hover,body.light .market-select.open .market-select-btn{border-color:rgba(190,96,207,.34);background:#fff}body.light .market-select-menu{border-color:rgba(0,0,0,.08);background:#fff;box-shadow:0 16px 36px rgba(0,0,0,.12)}body.light .market-select-option{color:rgba(0,0,0,.66)}body.light .market-select-option:hover{background:rgba(190,96,207,.10);color:#111}@media(max-width:980px){.market-page{width:min(100% - 24px,940px)!important}.market-layout{grid-template-columns:1fr}.market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.market-page{width:min(100% - 20px,940px)!important}.market-grid{grid-template-columns:1fr}.market-hero h1{font-size:26px}}

/* ==== Market library modal, csrf-safe controls and sliding pills ==== */
.market-library-list{display:grid;gap:14px;margin-top:14px}.market-library-section{display:grid;gap:8px}.market-library-section h3{margin:0 0 2px;color:#fff;font-size:14px}.market-library-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px;border-radius:14px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.025)}.market-library-row b{display:block;color:#fff;font-size:14px}.market-library-row span{display:block;margin-top:4px;color:rgba(255,255,255,.42);font-size:12px}.market-library-row .market-btn{min-height:36px;padding:0 14px;white-space:nowrap}body.light .market-library-section h3,body.light .market-library-row b{color:#111}body.light .market-library-row{border-color:rgba(0,0,0,.08);background:#fafafa}body.light .market-library-row span{color:rgba(0,0,0,.44)}

/* ==== Market final modal/header/language fixes ==== */
#marketLibrary .market-dialog{
  width:min(620px,calc(100vw - 24px));
  max-height:min(720px,calc(100vh - 72px));
  overflow:auto;
  padding:18px;
  scrollbar-width:none;
}
#marketLibrary .market-dialog::-webkit-scrollbar{display:none}
#marketLibrary .market-library-list{
  max-height:calc(100vh - 190px);
  overflow:auto;
  padding-right:0;
  scrollbar-width:none;
}
#marketLibrary .market-library-list::-webkit-scrollbar{display:none}
#marketLibrary .market-library-row{min-height:58px;padding:10px 12px}
#marketLibrary .market-library-row .market-btn{min-height:36px;padding:0 14px}
#marketLibrary .market-dialog h2{margin-top:0;font-size:24px}
.market-modal[hidden]{display:none!important}
/* Header stays below modal backdrops (900 and above). */
.header{z-index:100}
.header_container,.header_right,.header_burger,.header_burger_re,.header_lang_item{position:relative;z-index:10060}
.burger_window,.lang_dropdown{z-index:10080!important}
.market-page{position:relative;z-index:1}
@media(max-width:620px){#marketLibrary .market-dialog{width:min(100%,calc(100vw - 20px));max-height:calc(100vh - 48px)}}

/* ==== Market segmented tabs and modal backdrop polish ==== */







.market-modal-backdrop{
  background:rgba(0,0,0,.56)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
body.light .market-modal-backdrop{background:rgba(0,0,0,.34)!important}

/* ==== Market floating segmented tabs and select alignment ==== */










.market-select-btn{
  display:flex;
  align-items:center;
  line-height:1;
}
.market-select-btn span{
  display:flex;
  align-items:center;
  height:100%;
  min-width:0;
  line-height:1;
}
.market-select-btn i{align-self:center;margin-top:0}
.market-select.open .market-select-btn i{margin-top:0}
.market-select-option{
  display:flex;
  align-items:center;
  line-height:1;
}

/* ==== Market measured floating tabs fix ==== */






/* ==== Market measured floating tabs fix ==== */
.market-switch{
  display:grid;
  grid-template-columns:.82fr 1.12fr 1.2fr;
  gap:4px;
  padding:5px;
  position:relative;
  overflow:hidden;
  --market-pill-x:5px;
  --market-pill-w:0px;
}
.market-switch::before{
  content:"";
  display:block!important;
  position:absolute;
  top:5px;
  bottom:5px;
  left:0;
  width:var(--market-pill-w);
  border-radius:11px;
  background:#fe99ff;
  z-index:0;
  transform:translateX(var(--market-pill-x));
  transition:transform .22s cubic-bezier(.2,.8,.2,1),width .22s cubic-bezier(.2,.8,.2,1);
}
.market-switch button{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  min-height:34px;
  padding:0 6px;
  border-radius:11px;
  background:transparent!important;
  color:rgba(255,255,255,.48);
  font-size:12.5px;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
  text-align:center;
  overflow:visible;
}
.market-switch button.active{background:transparent!important;color:#151015!important}


.market-switch{border-radius:14px;background:rgba(0,0,0,.22);margin-bottom:14px}
.market-switch button{border:0;cursor:pointer;transform:none;transition:color .18s ease}
.market-switch button:not(.active):hover{color:rgba(255,255,255,.72)}
body.light .market-switch{background:rgba(0,0,0,.045)}
body.light .market-switch button{color:rgba(0,0,0,.48)}
body.light .market-switch button.active{color:#151015!important}
@media(prefers-reduced-motion:reduce){.market-switch::before{transition:none}}

/* Keep a single native scroll surface in market dialogs. */
.market-dialog{overscroll-behavior:contain;scrollbar-width:none}
.market-dialog::-webkit-scrollbar{display:none}
#marketLibrary .market-library-list{max-height:none;overflow:visible}

/* ==== Market seller, detail, moderation and purchase layer ==== */
.market-card.is-hidden{opacity:.72}.market-card.is-hidden .market-card-art:before{filter:grayscale(.55)}
.market-detail-gallery{display:grid;gap:12px;align-content:start}.market-detail-cover{width:100%;height:360px;object-fit:cover;border-radius:16px;border:1px solid rgba(255,255,255,.08);background:#101010}.market-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.market-thumbs button{height:72px;padding:0;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);overflow:hidden;cursor:pointer}.market-thumbs button.active{border-color:#fe99ff;box-shadow:0 0 0 2px rgba(254,153,255,.16)}.market-thumbs img{width:100%;height:100%;object-fit:cover;display:block}.market-buy>div{display:grid;gap:4px}.market-buy span{font-size:12px;color:rgba(255,255,255,.45)}body.light .market-buy span{color:rgba(0,0,0,.48)}
.market-admin-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;margin-top:12px}.market-section{display:grid;gap:10px;margin-top:16px}.market-section h3{margin:0;color:#fff;font-size:15px}.market-review{display:grid;gap:6px;padding:12px;border:1px solid rgba(255,255,255,.07);border-radius:13px;background:rgba(255,255,255,.025)}.market-review>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.market-review b{color:#fff}.market-review span{color:#fe99ff;font-size:12px}.market-review p{margin:0;color:rgba(255,255,255,.56);font-size:13px;line-height:1.45}.market-review em{font-style:normal;color:rgba(255,255,255,.36);font-size:11px}.market-review-form{display:grid;gap:10px;padding:12px;border:1px solid rgba(255,255,255,.07);border-radius:13px;background:rgba(255,255,255,.025)}.market-review-form textarea{height:76px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:rgba(0,0,0,.18);color:#fff;padding:11px 12px;resize:vertical;outline:none}.market-review-form>div{display:flex;gap:10px;justify-content:flex-end}.market-review-form select{height:42px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:#151515;color:#fff;padding:0 10px;outline:none}
.market-seller-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0 14px}.market-seller-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.market-seller-head .market-btn{min-height:34px;padding:0 12px}.market-seller-item select{width:100%;height:42px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:rgba(0,0,0,.18);color:#fff;padding:0 12px;outline:none;font:inherit;font-size:13px}.market-seller-item textarea[name="gallery_urls"]{height:70px}.market-tx{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;padding:10px 12px;border:1px solid rgba(255,255,255,.07);border-radius:12px;background:rgba(255,255,255,.025);font-size:13px}.market-tx span{color:rgba(255,255,255,.54)}.market-tx b{color:#fff}.market-tx em{font-style:normal;color:rgba(255,255,255,.36);font-size:12px}.market-admin-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px;border:1px solid rgba(255,255,255,.07);border-radius:14px;background:rgba(255,255,255,.025)}.market-admin-row b{display:block;color:#fff}.market-admin-row span{display:block;margin-top:4px;color:rgba(255,255,255,.42);font-size:12px}.market-admin-row>div:last-child{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.market-admin-row .market-btn{min-height:34px;padding:0 12px}
body.light .market-detail-cover,body.light .market-thumbs button,body.light .market-review,body.light .market-review-form,body.light .market-tx,body.light .market-admin-row{border-color:rgba(0,0,0,.08);background:#fafafa}body.light .market-section h3,body.light .market-review b,body.light .market-tx b,body.light .market-admin-row b{color:#111}body.light .market-review p,body.light .market-tx span,body.light .market-admin-row span{color:rgba(0,0,0,.55)}body.light .market-review em,body.light .market-tx em{color:rgba(0,0,0,.38)}body.light .market-review-form textarea,body.light .market-review-form select,body.light .market-seller-item select{border-color:rgba(0,0,0,.10);background:#f7f7f7;color:#111}
@media(max-width:980px){.market-seller-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.market-detail-cover{height:260px}}@media(max-width:620px){.market-admin-row,.market-seller-head,.market-review-form>div{align-items:stretch;flex-direction:column}.market-admin-row>div:last-child{justify-content:flex-start}.market-tx{grid-template-columns:1fr}.market-thumbs{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* ==== Market UI polish: hero actions and seller selects ==== */
.market-hero{align-items:center!important}.market-hero-actions{display:grid!important;grid-template-columns:repeat(3,max-content);align-items:center;justify-content:end;gap:10px!important;min-width:max-content}.market-hero-actions .market-btn{min-width:0;min-height:42px;padding:0 18px;border-radius:12px;white-space:nowrap}.market-hero-actions #marketOpenAdmin{grid-column:auto;background:rgba(255,255,255,.07);color:#fff}.market-status-field{margin-bottom:0}.market-status-field>select{display:none!important}.market-seller-item .market-select{width:100%}.market-seller-item .market-select-menu{z-index:60}.market-select-option.active{background:#fe99ff;color:#151015}.market-select-option.active:hover{background:#fe99ff;color:#151015}body.light .market-hero-actions #marketOpenAdmin{background:rgba(0,0,0,.055);color:#111}@media(max-width:980px){.market-hero-actions{justify-content:start;grid-template-columns:repeat(3,max-content)}}@media(max-width:620px){.market-hero-actions{width:100%;grid-template-columns:1fr}.market-hero-actions .market-btn{width:100%}}

/* Market photo editor */
.market-card-art{position:relative;overflow:hidden}.market-card-cover{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.market-card-art .market-badge{z-index:1}
.market-photo-field{min-width:0;border:1px solid var(--border-color,#333);border-radius:14px;padding:14px;margin:0}.market-photo-field legend{padding:0 6px;font-weight:600}.market-photo-field p,.market-photo-field [role=status]{font-size:12px;line-height:1.5;color:#aaa}.market-photo-previews{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px}.market-photo{position:relative;width:110px;height:90px}.market-photo img{width:100%;height:100%;object-fit:cover;border-radius:10px}.market-photo button{position:absolute;top:4px;right:4px;background:#111d;color:#fff;border:0;border-radius:6px;width:26px;height:26px;cursor:pointer}.market-photo button[data-photo-cover]{left:4px;right:auto;color:#ffa5ff}.market-photo-add{position:relative;display:inline-flex;cursor:pointer}.market-photo-add input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.market-btn:disabled{opacity:.5;cursor:wait}

/* Photo field uses the same foreground colours as the seller dialog. */
.market-photo-field legend{color:#f5f5f5}
body.light .market-photo-field legend{color:#171717}
body.light .market-photo-field{border-color:rgba(0,0,0,.12)}
body.light .market-photo-field p,body.light .market-photo-field [role=status]{color:#646464}

/* Select values must not inherit the outer field label's bottom margin. */
.market-field .market-select-btn > span {
  display: block;
  height: auto;
  margin: 0;
  padding: 0;
  min-width: 0;
  font: inherit;
  line-height: 1.2;
  color: inherit;
  text-align: left;
}
.market-select-btn > i { flex-shrink: 0; margin: 0; transform: translateY(-2px) rotate(45deg); }
.market-select.open .market-select-btn > i { margin: 0; transform: translateY(2px) rotate(225deg); }

/* Marketplace empty state */
.market-main > .market-empty-main {
  min-height: 220px;
  padding: 34px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.06);
  background:
    radial-gradient(circle at 50% 0%, rgba(254,153,255,.10), transparent 44%),
    rgba(255,255,255,.024);
}
.market-main > .market-empty-main[hidden] {
  display: none !important;
}
.market-empty-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fe99ff;
  background: rgba(254,153,255,.09);
  box-shadow: inset 0 0 0 1px rgba(254,153,255,.14);
}
.market-empty-icon svg,
.market-empty-icon svg * {
  fill: none !important;
}
.market-empty-main strong {
  color: #f6f6f6;
  font-size: 17px;
  line-height: 1.2;
}
.market-empty-main p {
  max-width: 430px;
  margin: 0;
  color: rgba(255,255,255,.48);
  font-size: 13px;
  line-height: 1.5;
}
body.light .market-main > .market-empty-main {
  border-color: rgba(0,0,0,.07);
  background:
    radial-gradient(circle at 50% 0%, rgba(254,153,255,.15), transparent 42%),
    rgba(0,0,0,.018);
}
body.light .market-empty-icon {
  color: #a83cb0;
  background: rgba(254,153,255,.18);
  box-shadow: inset 0 0 0 1px rgba(168,60,176,.16);
}
body.light .market-empty-main strong {
  color: #171717;
}
body.light .market-empty-main p {
  color: rgba(0,0,0,.52);
}

/* Empty states inside market modals */
.market-empty-panel {
  min-height: 148px;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.06);
}
.market-empty-glyph {
  min-width: 38px;
  height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(254,153,255,.09);
  color: #fe99ff;
  box-shadow: inset 0 0 0 1px rgba(254,153,255,.14);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}
.market-empty-panel strong {
  color: #f4f4f4;
  font-size: 15px;
  line-height: 1.25;
}
.market-empty-panel p {
  max-width: 420px;
  margin: 0;
  color: rgba(255,255,255,.48);
  font-size: 12.5px;
  line-height: 1.5;
}
.market-library-section .market-empty-panel {
  min-height: 118px;
}
body.light .market-empty-panel {
  border-color: rgba(0,0,0,.07);
}
body.light .market-empty-glyph {
  background: rgba(254,153,255,.18);
  color: #a83cb0;
  box-shadow: inset 0 0 0 1px rgba(168,60,176,.16);
}
body.light .market-empty-panel strong {
  color: #171717;
}
body.light .market-empty-panel p {
  color: rgba(0,0,0,.52);
}
/* Placeholder art for cards without a cover image */
.market-card-placeholder {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 38px; font-weight: 900; letter-spacing: -.03em;
  color: rgba(255,255,255,.09);
  pointer-events: none;
  user-select: none;
}
body.light .market-card-placeholder {
  color: rgba(0,0,0,.07);
}
/* Update-available badge on product cards */
.market-update-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(76,175,80,.15);
  color: #66bb6a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .01em;
  margin-bottom: 4px;
}
body.light .market-update-badge {
  background: rgba(46,125,50,.10);
  color: #2e7d32;
}
/* Header: controls participate in layout so they cannot cover navigation. */
.header {
  display: grid;
  grid-template-columns: minmax(0, 940px) max-content;
  align-items: center;
  justify-content: center;
  column-gap: 28px;
  padding: 0 24px;
  min-width: 0;
  overflow: visible;
}
.header > .header_spacer { display: none; }
.header > .header_container {
  display: flex;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  gap: 24px;
  justify-content: space-between;
}
.header .header_inner.logo {
  position: relative;
  inset: auto;
  transform: none;
  width: 32px;
  height: 32px;
  min-width: 32px;
  flex: 0 0 32px;
}
.header .header_inner.logo a { display: block; width: 100%; height: 100%; }
.header .header_inner:nth-child(2) {
  display: flex;
  flex: 1 1 auto;
  min-width: max-content;
  justify-content: center;
}
.header .header_menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.header .header_menu li { flex: 0 0 auto; }
.header .header_right { display: flex; flex: 0 0 auto; min-width: 0; }
.header > .header_controls {
  position: relative;
  inset: auto;
  transform: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  width: auto;
  margin: 0;
}
@media (max-width: 1200px) {
  .header { grid-template-columns: minmax(0, 1fr) max-content; column-gap: 20px; }
  .header .header_inner:nth-child(2) { display: none; }
  .header .header_burger { max-width: 126px; }
}
@media (max-width: 560px) {
  .header { padding: 0 12px; column-gap: 10px; }
  .header > .header_container { gap: 10px; }
  .header > .header_controls { gap: 8px; }
  .header .header_name span { max-width: 64px; }
  .header .header_lang_item { width: 88px; }

}
.header .header_burger_re { display: none; }
@media (max-width: 400px) {
  .header { padding: 0 8px; column-gap: 8px; }
  .header > .header_container { gap: 6px; }
  .header > .header_controls { gap: 6px; }
  .header .header_name span { max-width: 32px; }
  .header .header_lang_item { width: 78px; }
}
/* Align the desktop header with the centered 940px content column. */
@media (min-width: 1600px) {
  .header { grid-template-columns: minmax(0, 1fr) 940px minmax(0, 1fr); }
  .header > .header_container { grid-column: 2; }
  .header > .header_controls { grid-column: 3; justify-self: end; }
}
/* Mobile account menu: preserve its design and leave a gap below the trigger. */
@media (max-width: 1200px) {
  .header .header_burger > .burger_window {
    top: calc(100% + 10px);
  }
}
/* Header nav render guard: avoid Chromium backdrop-filter seams behind active pills. */
.header .header_menu,
.header .header_menu li,
.header .menu_link {
  position: relative;
  isolation: isolate;
}
.header .header_menu { z-index: 2; }
.header .menu_link {
  overflow: hidden;
  background-clip: padding-box;
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
}
.header .menu_link::before,
.header .menu_link::after {
  content: none !important;
  display: none !important;
}
body.dark .header .menu_link.active,
html.dark .header .menu_link.active,
[data-theme="dark"] .header .menu_link.active,
body.light .header .menu_link.active,
html.light .header .menu_link.active,
[data-theme="light"] .header .menu_link.active {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body.dark .header .menu_link.active,
html.dark .header .menu_link.active,
[data-theme="dark"] .header .menu_link.active {
  background: #1a1a1a !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07) !important;
}
body.light .header .menu_link.active,
html.light .header .menu_link.active,
[data-theme="light"] .header .menu_link.active {
  background: #e8e8e8 !important;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06) !important;
}

/* Binware modal confirm for cloud library destructive actions */
.bw_confirm_overlay{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:24px;background:rgba(0,0,0,.46);backdrop-filter:none;-webkit-backdrop-filter:none;opacity:0;transition:opacity .14s ease}
.bw_confirm_overlay.open{opacity:1}
.bw_confirm_dialog{width:min(420px,calc(100vw - 32px));border:1px solid rgba(255,255,255,.12);border-radius:20px;background:#151515;box-shadow:0 24px 80px rgba(0,0,0,.55);padding:22px;color:#fff;transform:translateY(8px) scale(.98);transition:transform .14s ease}
.bw_confirm_overlay.open .bw_confirm_dialog{transform:translateY(0) scale(1)}
.bw_confirm_title{margin:0 0 10px;font-size:18px;font-weight:800;line-height:1.25;color:#fff;word-break:break-word}
.bw_confirm_text{margin:0;color:rgba(255,255,255,.72);font-size:14px;line-height:1.55;white-space:pre-line}
.bw_confirm_actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}
.bw_confirm_btn{border:0;border-radius:12px;padding:12px 18px;font-weight:800;cursor:pointer;background:rgba(255,255,255,.08);color:#fff;transition:transform .12s ease,background .12s ease,opacity .12s ease}
.bw_confirm_btn:hover{transform:translateY(-1px);background:rgba(255,255,255,.12)}
.bw_confirm_btn:focus-visible{outline:2px solid rgba(254,153,255,.75);outline-offset:2px}
.bw_confirm_ok{background:#f08cff;color:#160d16}
.bw_confirm_ok:hover{background:#ff9dff}
.bw_confirm_ok.danger{background:#4a1f24;color:#ff8f9b}
.bw_confirm_ok.danger:hover{background:#5c272d}
body.light .bw_confirm_dialog{background:#fff;color:#111;border-color:rgba(0,0,0,.1)}
body.light .bw_confirm_title{color:#111}
body.light .bw_confirm_text{color:rgba(0,0,0,.62)}
body.light .bw_confirm_btn{background:rgba(0,0,0,.06);color:#111}
body.light .bw_confirm_btn:hover{background:rgba(0,0,0,.1)}
body.light .bw_confirm_ok{background:#f08cff;color:#160d16}
body.light .bw_confirm_ok.danger{background:#ffe3e7;color:#b42334}
.market-detail-art{min-height:360px}

/* Market detail cover never renders empty: fallback is visible until image load succeeds. */
.market-detail-stage{position:relative;width:100%;height:360px;border-radius:16px;overflow:hidden}
.market-detail-stage .market-detail-art{position:absolute;inset:0;width:100%;height:100%;min-height:0;border-radius:16px}
.market-detail-stage .market-detail-cover{position:absolute;inset:0;z-index:2;width:100%;height:100%;opacity:0;transition:opacity .12s ease;background:transparent}
.market-detail-stage.image-loaded .market-detail-cover{opacity:1}
.market-detail-stage.image-failed .market-detail-cover{display:none}
@media(max-width:980px){.market-detail-stage{height:260px}}

/* Installed marketplace item: status and library action share the purchase row. */
.market-buy{gap:16px;flex-wrap:wrap}
.market-buy>.market-library-actions{display:flex;align-items:center;gap:12px;margin-left:auto}
.market-library-status{display:inline-flex;align-items:center;gap:8px;padding:0;border:0;background:none;color:#e0b8e2;font:inherit;font-size:13px;font-weight:600;opacity:1;white-space:nowrap;cursor:default}
.market-library-status svg,.market-library-remove svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.market-library-remove{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid rgba(255,255,255,.10);border-radius:10px;background:rgba(255,255,255,.035);color:#b6a9b8;cursor:pointer;transition:color .15s,background .15s,border-color .15s}
.market-library-remove:hover{color:#ff9292;background:rgba(255,100,100,.10);border-color:rgba(255,100,100,.24)}
.market-library-remove:focus-visible{outline:2px solid #fe99ff;outline-offset:3px}
.market-library-remove:disabled{opacity:.45;cursor:wait}
body.light .market-library-status{color:#784780}
body.light .market-library-remove{color:#79667d;background:rgba(90,45,100,.035);border-color:rgba(90,45,100,.15)}
body.light .market-library-remove:hover{color:#b72f40;background:rgba(190,40,60,.08);border-color:rgba(190,40,60,.25)}

/* Preserve outline icons against the global theme SVG fill. */
body.dark .market-library-status svg,body.dark .market-library-remove svg,
body.light .market-library-status svg,body.light .market-library-remove svg{fill:none;stroke:currentColor}

/* Compact product details and animated confirmation, scoped to marketplace. */
#marketDetail>.market-dialog{width:min(780px,100%);padding:20px}
#marketDetail .market-detail{grid-template-columns:270px minmax(0,1fr);gap:20px;align-items:start}
#marketDetail .market-detail-art,#marketDetail .market-detail-stage,#marketDetail .market-detail-cover{height:330px;min-height:0}
#marketDetail .market-detail-stage .market-detail-art,#marketDetail .market-detail-stage .market-detail-cover{height:100%}
#marketDetail .market-detail-info h2{font-size:22px;line-height:1.25;margin:10px 30px 10px 0;overflow-wrap:anywhere}
#marketDetail .market-detail-info>p{margin:0 0 12px;font-size:13px;line-height:1.5}
#marketDetail .market-meta{margin:12px 0;gap:6px}
#marketDetail .market-meta span{padding:9px 10px}
#marketDetail .market-buy{margin-top:12px;padding:12px}
#marketDetail .market-buy strong{font-size:24px}
#marketDetail .market-section{margin-top:18px}
#marketDetail .market-section h3{font-size:14px;margin:0 0 10px}
#marketDetail .market-reviews-empty{padding:0;color:rgba(255,255,255,.42);font-size:13px;line-height:1.5}
#marketDetail .market-admin-actions{gap:8px;margin-top:10px}
#marketDetail .market-admin-actions .market-btn{padding:9px 12px;font-size:12px}
.market-review-compose{margin-top:12px}
.market-review-compose summary{display:inline-flex;cursor:pointer;color:#e0b8e2;font-size:13px;font-weight:600;padding:8px 0;list-style:none}
.market-review-compose summary::-webkit-details-marker{display:none}
.market-review-compose summary:hover{color:#fe99ff}
.market-review-compose summary:focus-visible{outline:2px solid #fe99ff;outline-offset:3px;border-radius:4px}
.market-review-compose[open] .market-review-form{animation:market-review-reveal .18s ease-out}
@keyframes market-review-reveal{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.market-confirm{position:fixed;inset:0;margin:0;padding:24px;width:100%;height:100%;max-width:none;max-height:none;box-sizing:border-box;border:0;background:transparent;color:#eee;overflow:auto}
.market-confirm[open]{display:grid;place-items:center}
.market-confirm::backdrop{background:rgba(0,0,0,0);transition:background .18s ease}
.market-confirm.is-open::backdrop{background:rgba(0,0,0,.46)}
.market-confirm-panel{position:relative;box-sizing:border-box;width:min(420px,100%);padding:24px;border:1px solid rgba(255,255,255,.10);border-radius:18px;background:#171717;box-shadow:0 24px 70px rgba(0,0,0,.35);opacity:0;transform:translateY(12px) scale(.98);transition:opacity .18s ease,transform .18s ease}
.market-confirm.is-open .market-confirm-panel{opacity:1;transform:none}
.market-confirm h3{font-size:18px;line-height:1.3;margin:0 30px 12px 0;letter-spacing:-.02em}
.market-confirm p{font-size:14px;line-height:1.55;color:#a4a0a6;margin:0}
.market-confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;flex-wrap:wrap}
.market-confirm-actions .market-btn{padding:11px 14px;font-size:13px}
body.light .market-confirm-panel{background:#fff;color:#171717;border-color:rgba(0,0,0,.10)}
body.light .market-confirm p{color:#68616b}
body.light #marketDetail .market-reviews-empty{color:#777}
body.light .market-review-compose summary{color:#784780}
@media(max-width:640px){#marketDetail>.market-dialog{padding:16px}#marketDetail .market-detail{grid-template-columns:minmax(0,1fr);gap:16px}#marketDetail .market-detail-art,#marketDetail .market-detail-stage,#marketDetail .market-detail-cover{height:160px}#marketDetail .market-detail-info h2{font-size:20px}.market-confirm{padding:16px}.market-confirm-panel{padding:20px}.market-confirm-actions{gap:8px}.market-confirm-actions .market-btn{flex:1}}
@media(prefers-reduced-motion:reduce){.market-confirm-panel,.market-confirm::backdrop{transition:none}.market-review-compose[open] .market-review-form{animation:none}}

.market-confirm button{font-family:inherit}
@media(max-width:640px){#marketDetail .market-meta{grid-template-columns:repeat(3,minmax(0,1fr))}#marketDetail .market-meta span{min-width:0;padding:8px;font-size:11px;overflow-wrap:anywhere}}

.market-review-open{display:inline-flex;margin-top:12px;padding:8px 0;border:0;background:none;color:#e0b8e2;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.market-review-open:hover{color:#fe99ff}
.market-review-open:focus-visible{outline:2px solid #fe99ff;outline-offset:3px;border-radius:4px}
body.light .market-review-open{color:#784780}
.market-review-dialog .market-review-form{margin:16px 0 0;padding:0;border:0;background:none}
.market-review-dialog .market-review-form textarea{box-sizing:border-box;width:100%;min-height:100px;max-height:220px;resize:vertical;font:inherit;font-size:14px}
.market-review-dialog .market-review-form>div{margin-top:12px;gap:10px;flex-wrap:wrap}

/* Accessible five-star rating replaces the native rating dropdown. */
.market-review-dialog .market-review-form>div{align-items:flex-end;justify-content:space-between}
.market-rating{display:grid;grid-template-columns:auto auto;align-items:center;gap:6px;margin:0;padding:0;border:0;min-width:0}
.market-rating legend{padding:0;margin-bottom:7px;font-size:12px;color:#a4a0a6}
.market-rating-stars{display:flex;gap:2px}
.market-rating-star{position:relative;display:grid;place-items:center;width:28px;height:36px;border-radius:7px;cursor:pointer;color:#64596a;transition:color .14s,background .14s}
.market-rating-star input{position:absolute;width:1px;height:1px;opacity:0;margin:0}
body .market-rating-star svg,body.dark .market-rating-star svg{width:23px;height:23px;fill:transparent;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;pointer-events:none;transition:fill .14s,transform .14s}
.market-rating-star.is-filled{color:#e9afea}
body .market-rating-star.is-filled svg,body.dark .market-rating-star.is-filled svg{fill:currentColor}
.market-rating-star:hover{background:rgba(254,153,255,.08)}
.market-rating-star:hover svg{transform:translateY(-1px)}
.market-rating-star:has(input:focus-visible){outline:2px solid #fe99ff;outline-offset:2px}
.market-rating-value{font-size:12px;color:#aaa0ac;white-space:nowrap;min-width:28px}
body.light .market-rating-star{color:#b4a7b8}
body.light .market-rating-star.is-filled{color:#a357ae}
body.light .market-rating-value,body.light .market-rating legend{color:#776b7c}
@media(max-width:400px){.market-review-dialog .market-review-form>div>button{width:100%}.market-rating-star{width:32px;height:40px}}
@media(prefers-reduced-motion:reduce){.market-rating-star,body .market-rating-star svg{transition:none}}

/* Marketplace light-theme fixes for global theme SVG and placeholder cover rules. */
body.light .market-library-status svg,
body.light .market-library-status svg *,
body.light .market-library-remove svg,
body.light .market-library-remove svg *{fill:none!important;stroke:currentColor!important}
body.light .market-card-art strong,
body.light .market-detail-art strong{color:#3d2344!important;text-shadow:none}
body.light .market-card-art em,
body.light .market-detail-art em{color:rgba(61,35,68,.68)!important;text-shadow:none}
body.light .market-card-art:before{background:radial-gradient(circle at 72% 22%,rgba(255,255,255,.44),transparent 28%),linear-gradient(135deg,rgba(238,205,255,.78),rgba(255,218,248,.66))!important}
body.light .market-card-art-scr:before{background:radial-gradient(circle at 70% 25%,rgba(255,255,255,.42),transparent 28%),linear-gradient(135deg,rgba(214,225,255,.78),rgba(255,210,250,.68))!important}
body.light .market-card-art:after{border-color:rgba(78,45,92,.18)!important}

.subscription_title .subscription_product_link { display: inline-flex; align-items: center; gap: 5px; color: inherit !important; text-decoration: none !important; transition: color .18s ease; }
.subscription_title .subscription_product_link span:last-child { font-size: 14px; line-height: 1; }
.subscription_title .subscription_product_link:hover { color: #fe99ff !important; }
body.light .subscription_title .subscription_product_link:hover { color: #b400c8 !important; }
.subscription_title .subscription_product_link:focus-visible { outline: 2px solid #fe99ff; outline-offset: 4px; border-radius: 2px; }
