@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@property --start {
  syntax: "<color>";
  initial-value: #f0f0f0;
  inherits: false;
}
@property --end {
  syntax: "<color>";
  initial-value: #cdcdcd;
  inherits: false;
}
@media (prefers-color-scheme: light) {
  :root {
    --body-bg-gradient: linear-gradient(145deg, #f0f0f0 0%, #dedede 100%);
    --color: #151515;
    --color-secondary: #334155;
    --color-disabled: #94a3b8;
    --shadow: 0 12px 40px rgba(21, 21, 21, 0.22);
    --shadow-btn: 0 2px 5px rgba(21, 21, 21, 0.12);
    --border: #cbd5e1;
    --border-hover: #abbbce;
    --background: #f7f7f7;
    --background-secondary: #cbd5e1;
    --background-hover: #ffffff;
    --close-color: #444;
    --close-color-hover: #222;
    --close-color-active: #000;
    --close-background: rgba(102, 102, 102, 0.24);
    --close-background-hover: rgba(102, 102, 102, 0.4);
    --close-background-active: rgba(102, 102, 102, 0.6);
    --menu-accent: rgba(102, 102, 102, 0.85);
    --modal-border: #5f5f5f;
  }
  #BS__submenu ul button {
    color: #f0f0f0;
    --start: #e1e1e1;
    --end: #a4a4a4;
    background: linear-gradient(135deg, var(--start) 0%, var(--end) 100%);
    transition: --start 300ms cubic-bezier(0.4, 0, 0.2, 1), --end 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms, transform 300ms;
    box-shadow: var(--shadow-btn);
  }
  #BS__submenu ul button:hover {
    --start: #ebebeb;
    --end: #bdbdbd;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
  }
  #BS__submenu ul button:active {
    --start: #d1d1d1;
    --end: #e6e6e6;
    transform: scale(0.97);
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
  }
  body::-webkit-scrollbar-track {
    background: #f0f0f0;
  }
  body::-webkit-scrollbar-thumb {
    background-color: #bbb;
    border: 2px solid #f0f0f0;
  }
  * {
    scrollbar-color: #bbb #f0f0f0;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --body-bg-gradient: linear-gradient(145deg, #252525 0%, #474747 100%);
    --color: #f0f0f0;
    --color-secondary: #94a3b8;
    --color-disabled: #6B5C47;
    --shadow: 0 12px 40px rgba(240, 240, 240, 0.22);
    --shadow-btn: 0 2px 5px rgba(240, 240, 240, 0.12);
    --border: #38332c;
    --border-hover: #554d42;
    --background: #212121;
    --background-secondary: #38332c;
    --background-hover: #000000;
    --background-disabled: #353535;
    --close-color: #BBB;
    --close-color-hover: #DDD;
    --close-color-active: #FFF;
    --close-background: rgba(153, 153, 153, 0.24);
    --close-background-hover: rgba(153, 153, 153, 0.4);
    --close-background-active: rgba(153, 153, 153, 0.6);
    --menu-accent: rgba(159, 159, 159, 0.85);
    --modal-border: #4d4d4d;
  }
  #BS__submenu ul button {
    color: #f0f0f0;
    --start: #626262;
    --end: #242424;
    background: linear-gradient(135deg, var(--start) 0%, var(--end) 100%);
    transition: --start 300ms cubic-bezier(0.4, 0, 0.2, 1), --end 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms, transform 300ms;
    box-shadow: var(--shadow-btn);
  }
  #BS__submenu ul button:hover {
    --start: #484848;
    --end: #1a1a1a;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
  }
  #BS__submenu ul button:active {
    --start: #1f1f1f;
    --end: #343434;
    transform: scale(0.97);
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
  }
  body::-webkit-scrollbar-track {
    background: #1e1e1e;
  }
  body::-webkit-scrollbar-thumb {
    background-color: #555;
    border: 2px solid #1e1e1e;
  }
  * {
    scrollbar-color: #555 #1e1e1e;
  }
}
body.light-mode {
  --body-bg-gradient: linear-gradient(145deg, #f0f0f0 0%, #cecece 100%);
  --color: #151515;
  --color-secondary: #334155;
  --color-disabled: #94a3b8;
  --shadow: 0 12px 40px rgba(21, 21, 21, 0.22);
  --shadow-btn: 0 2px 5px rgba(21, 21, 21, 0.12);
  --border: #cbd5e1;
  --border-hover: #abbbce;
  --background: #f7f7f7;
  --background-secondary: #cbd5e1;
  --background-hover: #ffffff;
  --background-disabled: #f1f5f9;
  --close-color: #444;
  --close-color-hover: #222;
  --close-color-active: #000;
  --close-background: rgba(102, 102, 102, 0.24);
  --close-background-hover: rgba(102, 102, 102, 0.4);
  --close-background-active: rgba(102, 102, 102, 0.6);
  --menu-accent: rgba(102, 102, 102, 0.85);
  --modal-border: #5f5f5f;
}
body.light-mode #BS__submenu ul button {
  color: #f0f0f0;
  --start: #e1e1e1;
  --end: #a4a4a4;
  background: linear-gradient(135deg, var(--start) 0%, var(--end) 100%);
  transition: --start 300ms cubic-bezier(0.4, 0, 0.2, 1), --end 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms, transform 300ms;
  box-shadow: var(--shadow-btn);
}
body.light-mode #BS__submenu ul button:hover {
  --start: #ebebeb;
  --end: #bdbdbd;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
}
body.light-mode #BS__submenu ul button:active {
  --start: #d1d1d1;
  --end: #e6e6e6;
  transform: scale(0.97);
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
}
body.light-mode body::-webkit-scrollbar-track {
  background: #f0f0f0;
}
body.light-mode body::-webkit-scrollbar-thumb {
  background-color: #bbb;
  border: 2px solid #f0f0f0;
}
body.light-mode * {
  scrollbar-color: #bbb #f0f0f0;
}

body.dark-mode {
  --body-bg-gradient: linear-gradient(145deg, #252525 0%, #474747 100%);
  --color: #f0f0f0;
  --color-secondary: #94a3b8;
  --color-disabled: #6B5C47;
  --shadow: 0 12px 40px rgba(240, 240, 240, 0.22);
  --shadow-btn: 0 2px 5px rgba(240, 240, 240, 0.12);
  --border: #38332c;
  --border-hover: #554d42;
  --background: #212121;
  --background-secondary: #38332c;
  --background-hover: #000000;
  --background-disabled: #353535;
  --close-color: #BBB;
  --close-color-hover: #DDD;
  --close-color-active: #FFF;
  --close-background: rgba(153, 153, 153, 0.24);
  --close-background-hover: rgba(153, 153, 153, 0.4);
  --close-background-active: rgba(153, 153, 153, 0.6);
  --menu-accent: rgba(159, 159, 159, 0.85);
  --modal-border: #4d4d4d;
}
body.dark-mode #BS__submenu ul button {
  color: #f0f0f0;
  --start: #626262;
  --end: #242424;
  background: linear-gradient(135deg, var(--start) 0%, var(--end) 100%);
  transition: --start 300ms cubic-bezier(0.4, 0, 0.2, 1), --end 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms, transform 300ms;
  box-shadow: var(--shadow-btn);
}
body.dark-mode #BS__submenu ul button:hover {
  --start: #484848;
  --end: #1a1a1a;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
}
body.dark-mode #BS__submenu ul button:active {
  --start: #1f1f1f;
  --end: #343434;
  transform: scale(0.97);
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
}
body.dark-mode body::-webkit-scrollbar-track {
  background: #1e1e1e;
}
body.dark-mode body::-webkit-scrollbar-thumb {
  background-color: #555;
  border: 2px solid #1e1e1e;
}
body.dark-mode * {
  scrollbar-color: #555 #1e1e1e;
}

body {
  background: var(--body-bg-gradient);
  color: var(--color);
}

#BS__popup {
  margin: 0;
  position: fixed;
  inset: 0;
  z-index: 9999;
}
#BS__popup.removing {
  pointer-events: none;
}

.BS-popup-outer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.BS-popup-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: rgba(21, 21, 21, 0.55);
  overflow-x: hidden;
  overflow-y: visible;
  animation: fade-in 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
#BS__popup.removing .BS-popup-iframe {
  animation: fade-out 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

html, body {
  height: 100%;
  margin: 0;
  overflow-x: hidden;
}

body.popup {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 5vh, 56px) clamp(16px, 4vw, 48px);
  background: transparent;
  overflow-y: auto;
}

#BS_popup_container {
  margin: 0;
  width: max-content;
  min-width: 320px;
  max-width: 90vw;
  max-height: 90vh;
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  background: var(--body-bg-gradient);
  box-shadow: var(--shadow);
  cursor: default;
  animation: panel-in 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
  border: 2px solid var(--modal-border);
}

body.popup.sidebar #BS_popup_container {
  border: 0px solid var(--modal-border);
  border-left: 2px solid var(--modal-border);
}

.close-modal-button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  z-index: 10;
  border-radius: 50%;
  background: var(--close-background);
  color: var(--close-color);
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: background 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.close-modal-button::before, .close-modal-button::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.close-modal-button::before {
  transform: rotate(45deg);
}
.close-modal-button::after {
  transform: rotate(-45deg);
}
.close-modal-button:hover {
  background: var(--close-background-hover);
  transform: rotate(90deg);
  color: var(--close-color-hover);
}
.close-modal-button:active {
  background: var(--close-background-active);
  transform: rotate(180deg);
  color: var(--close-color-active);
}

#BS_popup_content {
  margin: 0;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-inline: clamp(16px, 4vw, 32px);
  padding-block: clamp(24px, 5vh, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes panel-in {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  80% {
    transform: translateY(-4px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes panel-out {
  to {
    opacity: 0;
    transform: translateY(28px) scale(0.92);
  }
}
@media (min-width: 992px) {
  body.popup {
    padding-inline: clamp(32px, 6vw, 96px);
  }
  #BS_popup_content {
    padding-inline: clamp(32px, 6vw, 64px);
  }
}
@keyframes sidebar-in {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  80% {
    transform: translateX(-4px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes sidebar-out {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-4px);
  }
  100% {
    transform: translateX(100%);
  }
}
body.sidebar {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

body.sidebar #BS_popup_container {
  width: max-content;
  min-width: 320px;
  max-width: 95vw;
  height: 100%;
  max-height: none;
  border-radius: 12px 0 0 0;
  overflow: hidden;
  animation: sidebar-in 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

body.sidebar.removing #BS_popup_container {
  animation: sidebar-out 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

body.sidebar .close-modal-button {
  left: 16px;
  right: auto;
}

@media (min-width: 992px) {
  body.sidebar {
    perspective: 1200px;
  }
  body.sidebar #BS_popup_container {
    transform-origin: right center;
  }
}
#BS__submenu {
  margin: 0;
  cursor: pointer;
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 21, 21, 0.55);
  animation: fade-in 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
#BS__submenu.removing {
  animation: fade-out 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
  pointer-events: none;
}

#BS__submenu .submenu-content {
  cursor: default;
  position: relative;
  width: 320px;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  background: var(--body-bg-gradient);
  box-shadow: var(--shadow);
  border: 2px solid var(--modal-border);
  animation: panel-in 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
#BS__submenu.removing #BS__submenu .submenu-content {
  animation: panel-out 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

#BS__submenu .close-modal-or-submenu {
  position: absolute;
  top: 16px;
  right: 16px;
  min-width: 0;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--close-background);
  color: var(--close-color);
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: background 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
#BS__submenu .close-modal-or-submenu::before, #BS__submenu .close-modal-or-submenu::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
#BS__submenu .close-modal-or-submenu::before {
  transform: rotate(45deg);
}
#BS__submenu .close-modal-or-submenu::after {
  transform: rotate(-45deg);
}
#BS__submenu .close-modal-or-submenu:hover {
  background: var(--close-background-hover);
  transform: rotate(90deg);
  color: var(--close-color-hover);
}
#BS__submenu .close-modal-or-submenu:active {
  background: var(--close-background-active);
  transform: rotate(180deg);
  color: var(--close-color-active);
}

#BS__submenu ul {
  list-style: none;
  margin: 0;
  padding: 24px 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  gap: 4px;
}

#BS__submenu ul button {
  width: 100%;
  padding: 16px 48px 16px 40px;
  border: none;
  border-radius: 8px;
  font: 500 16px/1.4 "Inter", sans-serif;
  text-align: left;
  cursor: pointer;
  position: relative;
  color: var(--color) !important;
  margin-bottom: 4px;
  transition: --start 300ms cubic-bezier(0.4, 0, 0.2, 1), --end 300ms cubic-bezier(0.4, 0, 0.2, 1), padding-left 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms, transform 300ms !important;
}
#BS__submenu ul button::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--menu-accent);
  border-radius: 4px 0 0 4px;
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
#BS__submenu ul button:hover {
  padding-left: 32px;
}
#BS__submenu ul button:hover::before {
  opacity: 1;
}
#BS__submenu ul button:active::before {
  background: #217346;
  opacity: 1;
}

@media (max-width: 480px) {
  #BS__submenu .submenu-content {
    width: 90vw;
  }
}
#BS__modal {
  margin: 0;
  cursor: pointer;
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 21, 21, 0.55);
  animation: fade-in 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
#BS__modal.removing {
  animation: fade-out 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
  pointer-events: none;
}

#BS__modal .modal-content {
  cursor: default;
  position: relative;
  width: max-content;
  min-width: 320px;
  max-width: 90vw;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  border-radius: 12px;
  background: var(--body-bg-gradient);
  box-shadow: 0 12px 40px rgba(33, 115, 70, 0.22);
  border: 2px solid var(--modal-border);
  padding: clamp(24px, 5vh, 48px) clamp(24px, 5vw, 56px);
  animation: panel-in 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
#BS__modal.removing #BS__modal .modal-content {
  animation: panel-out 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

#BS__modal .close-modal-or-submenu {
  position: absolute;
  top: 16px;
  right: 16px;
  min-width: 0;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--close-background);
  color: var(--close-color);
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: background 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
#BS__modal .close-modal-or-submenu::before, #BS__modal .close-modal-or-submenu::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
#BS__modal .close-modal-or-submenu::before {
  transform: rotate(45deg);
}
#BS__modal .close-modal-or-submenu::after {
  transform: rotate(-45deg);
}
#BS__modal .close-modal-or-submenu:hover {
  background: var(--close-background-hover);
  transform: rotate(90deg);
  color: var(--close-color-hover);
}
#BS__modal .close-modal-or-submenu:active {
  background: var(--close-background-active);
  transform: rotate(180deg);
  color: var(--close-color-active);
}

.modal-header {
  margin: 0;
  font: 600 clamp(1.25rem, 2.5vw, 1.75rem)/1.2 "Inter", sans-serif;
  text-align: center;
}

.modal-dialog {
  font: 400 clamp(1rem, 2.3vw, 1.125rem)/1.5 "Inter", sans-serif;
  text-align: center;
}

.modal-options {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.modal-options li {
  margin: 0;
}

.modal-options button {
  padding: 0.75em 1.75em;
}

@media (max-width: 480px) {
  #BS__modal .modal-content {
    width: 90vw;
  }
}
/* Toast Container Styles */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  z-index: 10000;
  pointer-events: none;
}

/* Individual Toast Styles */
.toast {
  position: relative;
  min-width: 300px;
  max-width: 400px;
  padding: 16px 16px 16px 20px;
  border-radius: 8px;
  background-color: #ffffff;
  color: #222;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  overflow: hidden;
  pointer-events: auto;
  /* Entrance animation */
  animation: toast-enter 0.3s cubic-bezier(0.21, 1.02, 0.73, 1) forwards;
  opacity: 0;
  transform: translateY(16px);
}

/* Toast types */
.toast-success {
  border-left: 4px solid #10b981;
  background-color: #dbffee;
}

.toast-error {
  border-left: 4px solid #ef4444;
  background-color: #ffdfdf;
}

.toast-info {
  border-left: 4px solid #3b82f6;
  background-color: #d5fff8;
}

.toast-warning {
  border-left: 4px solid #f59e0b;
  background-color: #fff4d0;
}

/* Exit animation */
.toast-exit {
  animation: toast-exit 0.3s forwards cubic-bezier(0.06, 0.71, 0.55, 1);
}

/* Toast loading bar */
.toast-loading-bar {
  position: absolute;
  margin: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 100%;
  transition: width 5s linear;
}
.toast-loading-bar.decreasing {
  width: 0%;
}

.toast-success .toast-loading-bar {
  background: linear-gradient(to right, #059669, #10b981);
}

.toast-error .toast-loading-bar {
  background: linear-gradient(to right, #dc2626, #ef4444);
}

.toast-info .toast-loading-bar {
  background: linear-gradient(to right, #2563eb, #3b82f6);
}

.toast-warning .toast-loading-bar {
  background: linear-gradient(to right, #d97706, #f59e0b);
}

/* Toast message */
.toast-message {
  flex-grow: 1;
  font-size: 14px;
  font-weight: 500;
  margin-right: 16px;
}

/* Close button */
.toast-close-button {
  position: absolute;
  top: 3px;
  right: 3px;
  display: grid;
  place-items: center;
  width: 1.5em;
  height: 1.5em;
  min-width: 0;
  padding-left: 0;
  border-radius: 50%;
  background: rgba(102, 102, 102, 0.4);
  color: #444;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(21, 21, 21, 0.12);
  transition: background 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast-close-button::before, .toast-close-button::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast-close-button::before {
  transform: rotate(45deg);
}
.toast-close-button::after {
  transform: rotate(-45deg);
}
.toast-close-button:hover {
  background: rgba(102, 102, 102, 0.6);
  transform: rotate(90deg);
  color: #222;
}
.toast-close-button:active {
  background: rgba(102, 102, 102, 0.8);
  transform: rotate(180deg);
  color: #000;
}

/* Animations */
@keyframes toast-enter {
  0% {
    transform: translateY(16px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes toast-exit {
  0% {
    transform: translateX(0);
    opacity: 1;
    max-height: 100px;
    margin-top: 8px;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
    max-height: 0;
    margin-top: 0;
  }
}
/* Utility classes */
.no-display {
  display: none;
}

/* PDF Renderer */
#BS__renderer {
  margin-top: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(21, 21, 21, 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(8px);
  animation: fade-in 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
#BS__renderer.removing {
  animation: fade-out 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
#BS__renderer .loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 400px;
  padding: 2rem;
}
#BS__renderer .loader {
  position: relative;
  width: 120px;
  height: 120px;
}
#BS__renderer .loader-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: #103822;
  animation: spin 1.5s linear infinite;
}
#BS__renderer .loader-ring:nth-child(2) {
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  border-top-color: #1b5f3a;
  animation-duration: 1.75s;
  animation-direction: reverse;
}
#BS__renderer .loader-ring:nth-child(3) {
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
  border-top-color: #278752;
  animation-duration: 2s;
}
#BS__renderer .loader-pulse {
  position: absolute;
  width: 40%;
  height: 40%;
  top: 30%;
  left: 30%;
  background-color: #32ae6a;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}
#BS__renderer .loader-text {
  margin-top: 2rem;
  text-align: center;
}
#BS__renderer .loader-text h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
#BS__renderer .loader-text p {
  opacity: 0.8;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
#BS__renderer .progress-bar {
  width: 100%;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 1rem;
}
#BS__renderer .progress {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #32ae6a, #103822);
  border-radius: 3px;
  animation: progress 6s ease-in-out infinite;
  margin: 0;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  0%, 100% {
    transform: scale(0.8);
    opacity: 0.6;
  }
  50% {
    transform: scale(1);
    opacity: 0.9;
  }
}
@keyframes progress {
  0% {
    width: 0%;
  }
  50% {
    width: 70%;
  }
  75% {
    width: 85%;
  }
  90% {
    width: 90%;
  }
  100% {
    width: 95%;
  }
}
html {
  print-color-adjust: exact !important;
  -webkit-print-color-adjust: exact !important;
}

body.frame--securium {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  background: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  height: 100vh;
  width: 100vw;
  position: relative;
  /* Base gradient background for smooth foundation */
  /* Fluid gradient canvas */
  /* Three color sources with better positioning */
  /* Smoother blend layers */
  /* High quality mesh gradient overlay */
  /* Soft orb lights */
  /* Text labels */
  /* Ambient particles - fixed positioning */
  /* Subtle aurora effect */
  /* Scroll indicator */
  /* Animations */
  /* Responsive */
}
body.frame--securium .container {
  position: fixed;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.frame--securium .base-gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0a1612 0%, #060409 50%, #2a1830 100%);
  opacity: 0;
  animation: baseFadeIn 1s ease-out forwards;
}
body.frame--securium .gradient-canvas {
  position: absolute;
  width: 150%;
  height: 150%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: canvasFadeIn 0.5s ease-out 0.2s forwards;
}
body.frame--securium .color-source {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  animation: sourceExpand 3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  will-change: transform, opacity;
}
body.frame--securium .source-cloudsheet {
  width: 120vmax;
  height: 120vmax;
  top: -40%;
  left: -35%;
  background: radial-gradient(ellipse at center, rgba(75, 200, 122, 0.9) 0%, rgba(63, 166, 99, 0.8) 15%, rgba(33, 115, 70, 0.6) 30%, rgba(33, 115, 70, 0.3) 50%, transparent 70%);
  filter: blur(80px);
  animation-delay: 0.2s;
}
body.frame--securium .source-defendot {
  width: 120vmax;
  height: 120vmax;
  top: -38%;
  right: -38%;
  background: radial-gradient(ellipse at center, rgba(80, 227, 255, 0.95) 0%, rgba(124, 77, 255, 0.88) 16%, rgba(63, 73, 173, 0.72) 34%, rgba(18, 22, 46, 0.48) 56%, transparent 72%);
  filter: blur(64px) saturate(1.2);
  mix-blend-mode: screen; /* makes it visible on dark BG */
  animation-delay: 0.5s;
}
body.frame--securium .source-securium {
  width: 100vmax;
  height: 100vmax;
  bottom: -50%;
  left: 50%;
  transform: translateX(-50%) scale(0);
  background: radial-gradient(ellipse at center, rgba(230, 152, 240, 0.9) 0%, rgba(208, 132, 220, 0.8) 10%, rgba(186, 104, 200, 0.6) 25%, rgba(186, 104, 200, 0.3) 45%, transparent 65%);
  filter: blur(80px);
  animation: sourceExpandHero 3s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}
body.frame--securium .blend-layer {
  position: absolute;
  width: 200%;
  height: 200%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  mix-blend-mode: screen;
  animation: blendFadeIn 2s ease-out 1.5s forwards;
  will-change: opacity;
}
body.frame--securium .blend-smooth {
  background: radial-gradient(ellipse at 50% 30%, rgba(33, 115, 70, 0.2) 0%, rgba(9, 6, 22, 0.15) 35%, rgba(186, 104, 200, 0.1) 70%, transparent 100%);
  filter: blur(100px);
}
body.frame--securium .blend-flow {
  background: conic-gradient(from 0deg at 50% 50%, rgba(33, 115, 70, 0.15), rgba(9, 6, 22, 0.15), rgba(186, 104, 200, 0.15), rgba(33, 115, 70, 0.15));
  filter: blur(120px);
  animation: blendFadeIn 2s ease-out 1.5s forwards, rotateFlow 40s linear infinite;
}
body.frame--securium .mesh-gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-image: radial-gradient(ellipse 80% 50% at 20% 0%, rgba(33, 115, 70, 0.4), transparent 50%), radial-gradient(ellipse 80% 50% at 80% 0%, rgba(9, 6, 22, 0.4), transparent 50%), radial-gradient(ellipse 100% 40% at 50% 100%, rgba(186, 104, 200, 0.4), transparent 60%), radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.2) 100%);
  animation: meshFade 2s ease-out 2s forwards;
  will-change: opacity;
}
body.frame--securium .orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  will-change: transform, opacity;
}
body.frame--securium .orb-1 {
  width: 400px;
  height: 400px;
  top: 10%;
  left: 10%;
  background: radial-gradient(circle, rgba(33, 115, 70, 0.6) 0%, rgba(33, 115, 70, 0.3) 30%, transparent 60%);
  filter: blur(40px);
  animation: orbFloat 6s ease-in-out infinite, orbFadeIn 1s ease-out 2.5s forwards;
}
body.frame--securium .orb-2 {
  width: 400px;
  height: 400px;
  top: 10%;
  right: 5%;
  background: radial-gradient(circle, rgba(9, 6, 22, 0.6) 0%, rgba(9, 6, 22, 0.3) 30%, transparent 60%);
  filter: blur(40px);
  animation: orbFloat 6s ease-in-out 1s infinite, orbFadeIn 1s ease-out 2.7s forwards;
}
body.frame--securium .orb-3 {
  width: 500px;
  height: 400px;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(186, 104, 200, 0.6) 0%, rgba(186, 104, 200, 0.3) 30%, transparent 60%);
  filter: blur(40px);
  animation: orbFloat 6s ease-in-out 2s infinite, orbFadeIn 1s ease-out 2.9s forwards;
}
body.frame--securium .label {
  position: absolute;
  color: white;
  opacity: 0;
  z-index: 10;
  transform-origin: center;
  will-change: transform, opacity;
}
body.frame--securium .label-cloudsheet {
  top: 20vh;
  left: 22.5vw;
  font-size: clamp(2.5rem, 5vw, 5rem);
  transform: translate(-50%, -50%) scale(0) rotate(-180deg);
  animation: labelSpiral 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) 3s forwards;
}
body.frame--securium .label-defendot {
  top: 20vh;
  right: 20vw;
  font-size: clamp(2.5rem, 5vw, 5rem);
  transform: translate(50%, -50%) scale(0) rotate(180deg);
  animation: labelSpiralRight 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) 3.2s forwards;
  text-shadow: 0 0 40px rgb(9, 6, 22), 0 0 80px rgba(9, 6, 22, 0.5), 0 2px 4px rgba(0, 0, 0, 0.5);
}
body.frame--securium .label-cross {
  top: 20vh;
  left: 50%;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 200;
  transform: translate(-50%, -50%) scale(0) rotate(0deg);
  opacity: 0;
  animation: crossFadeRotate 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) 3.6s forwards;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 60px rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 0;
}
body.frame--securium .label-securium {
  bottom: 18vh;
  left: 50%;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 700;
  transform: translate(-50%, 50%) scale(0);
  animation: labelHeroSpiral 1.8s cubic-bezier(0.34, 1.56, 0.64, 1) 3.4s forwards;
  background: linear-gradient(90deg, #BA68C8 0%, #d084dc 25%, #e698f0 50%, #d084dc 75%, #BA68C8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 100%;
  animation: labelHeroSpiral 1.8s cubic-bezier(0.34, 1.56, 0.64, 1) 3.4s forwards, textShimmer 3s linear infinite 5.2s;
  filter: drop-shadow(0 0 40px rgba(186, 104, 200, 0.8)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
}
body.frame--securium .particles {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  padding: 20px; /* Keep particles away from edges */
}
body.frame--securium .particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  filter: blur(0.5px);
  will-change: transform, opacity;
}
body.frame--securium .aurora {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  animation: auroraFade 3s ease-out 2.5s forwards;
}
body.frame--securium .aurora-band {
  position: absolute;
  width: 200%;
  left: -50%;
  filter: blur(80px);
  opacity: 0.2;
}
body.frame--securium .aurora-top {
  height: 40%;
  top: -10%;
  background: linear-gradient(90deg, transparent 0%, rgba(33, 115, 70, 0.2) 25%, rgba(9, 6, 22, 0.2) 50%, rgba(33, 115, 70, 0.1) 75%, transparent 100%);
  animation: auroraDrift 20s ease-in-out infinite;
}
body.frame--securium .aurora-bottom {
  height: 40%;
  bottom: -10%;
  background: linear-gradient(90deg, transparent 0%, rgba(186, 104, 200, 0.2) 25%, rgba(186, 104, 200, 0.1) 50%, rgba(186, 104, 200, 0.2) 75%, transparent 100%);
  animation: auroraDrift 20s ease-in-out 3s infinite;
}
body.frame--securium .scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  opacity: 0;
  animation: indicatorSlide 1s cubic-bezier(0.34, 1.56, 0.64, 1) 5s forwards, indicatorBounce 2s ease-in-out 6s infinite;
  cursor: pointer;
  z-index: 20;
}
body.frame--securium .scroll-indicator svg {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.5));
}
@keyframes baseFadeIn {
  to {
    opacity: 1;
  }
}
@keyframes canvasFadeIn {
  to {
    opacity: 1;
  }
}
@keyframes sourceExpand {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1.1) rotate(120deg);
    opacity: 0.9;
  }
}
@keyframes sourceExpandHero {
  0% {
    transform: translateX(-50%) scale(0) rotate(0deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) scale(1.1) rotate(-120deg);
    opacity: 0.9;
  }
}
@keyframes blendFadeIn {
  to {
    opacity: 0.7;
  }
}
@keyframes rotateFlow {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes meshFade {
  to {
    opacity: 0.8;
  }
}
@keyframes orbFloat {
  0%, 100% {
    transform: translateY(0) translateX(var(--tx, 0));
  }
  33% {
    transform: translateY(-20px) translateX(var(--tx, 0));
  }
  66% {
    transform: translateY(20px) translateX(var(--tx, 0));
  }
}
@keyframes orbFadeIn {
  to {
    opacity: 1;
  }
}
@keyframes labelSpiral {
  to {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    opacity: 1;
  }
}
@keyframes labelSpiralRight {
  to {
    transform: translate(50%, -50%) scale(1) rotate(0deg);
    opacity: 1;
  }
}
@keyframes crossFadeRotate {
  0% {
    transform: translate(-50%, -50%) scale(0) rotate(0deg);
    opacity: 0;
  }
  40% {
    transform: translate(-50%, -50%) scale(1.8) rotate(90deg);
    opacity: 0.4;
  }
  70% {
    transform: translate(-50%, -50%) scale(1.2) rotate(180deg);
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(1) rotate(360deg);
    opacity: 0.9;
  }
}
@keyframes labelHeroSpiral {
  to {
    transform: translate(-50%, 0) scale(1);
    opacity: 1;
  }
}
@keyframes textShimmer {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position: 100% 0;
  }
}
@keyframes auroraFade {
  to {
    opacity: 1;
  }
}
@keyframes auroraDrift {
  0%, 100% {
    transform: translateX(-5%);
  }
  50% {
    transform: translateX(5%);
  }
}
@keyframes indicatorSlide {
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}
@keyframes indicatorBounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-15px);
  }
}
@keyframes particleDrift {
  0% {
    transform: translate(0, 0) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
    transform: scale(1);
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translate(var(--drift-x), -100vh) scale(0);
    opacity: 0;
  }
}
@media (max-width: 768px) {
  body.frame--securium {
    /* CloudSheet on top */
    /* DefendOT below CloudSheet */
  }
  body.frame--securium .label-cloudsheet,
  body.frame--securium .label-securium,
  body.frame--securium .label-defendot {
    font-size: clamp(2rem, 4vw, 4rem);
  }
  body.frame--securium .label-cloudsheet,
  body.frame--securium .label-defendot {
    left: 45%;
    right: auto;
    text-align: center;
  }
  body.frame--securium .label-cloudsheet {
    top: 16vh; /* tweak to taste */
    /* keep its existing animation (labelSpiral) */
  }
  body.frame--securium .label-defendot {
    top: calc(20vh + clamp(48px, 8vw, 96px)); /* vertical gap under CloudSheet */
    animation-name: labelSpiral; /* use centered animation instead of ...Right */
    /* end-state centers at translate(-50%, -50%) */
  }
}

:root {
  --sePurple:#BA68C8; /* Securium 600 */
  --seDark900:#2E2E2E; /* Securium dark 900 */
  --defendOT:#090616; /* DefendOT */
  --cloudsheet:#217346; /* CloudSheet */
}

/* Slide fade */
.slide {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.slide.active {
  opacity: 1;
  transform: translateY(0);
}

body.frame--securium_detail {
  background: radial-gradient(circle at left bottom, rgb(186, 104, 200) 0%, rgb(46, 46, 46) 50%) !important;
}

#deck .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}

#deck .slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#deck .slide.enter {
  opacity: 0;
  transform: translateY(24px);
}

#deck .slide.enter-active {
  opacity: 1;
  transform: translateY(0);
}

#deck .slide.exit-active {
  opacity: 0;
  transform: translateY(-24px);
}

.btn-green {
  text-wrap: nowrap;
}

