/*
  Silktide Consent Manager - Cirkit theme
  Source: https://silktide.com/consent-manager/
*/

#silktide-wrapper {
  --focus: 0 0 0 2px #07080f, 0 0 0 5px rgba(165, 180, 252, 0.9);
  --boxShadow: 0 28px 90px rgba(0, 0, 0, 0.58), 0 0 42px rgba(99, 102, 241, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  --fontFamily: "Geist", "Inter", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --primaryColor: #8b5cf6;
  --secondaryColor: #6366f1;
  --infoColor: #22d3ee;
  --backgroundColor: #13162a;
  --panelColor: rgba(255, 255, 255, 0.06);
  --panelColorStrong: rgba(255, 255, 255, 0.09);
  --textColor: rgba(255, 255, 255, 0.92);
  --mutedTextColor: rgba(255, 255, 255, 0.66);
  --softTextColor: rgba(255, 255, 255, 0.42);
  --borderColor: rgba(255, 255, 255, 0.12);
  --backdropBackgroundColor: rgba(7, 8, 15, 0.74);
  --backdropBackgroundBlur: 14px;
  --cookieIconColor: #8b5cf6;
  --cookieIconBackgroundColor: #ffffff;
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

#silktide-wrapper *,
#silktide-wrapper *::before,
#silktide-wrapper *::after {
  box-sizing: border-box;
}

#silktide-backdrop-global {
  position: fixed;
  inset: 0;
  display: none;
  border: 0;
  pointer-events: auto;
}

#silktide-wrapper a {
  all: unset;
  display: inline-block;
  color: #a5b4fc;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

#silktide-wrapper a:hover {
  color: #ffffff;
  cursor: pointer;
}

#silktide-wrapper a:focus,
#silktide-wrapper #silktide-banner button:focus,
#silktide-wrapper #silktide-modal button:focus,
#silktide-wrapper #silktide-cookie-icon:focus {
  outline: none;
  box-shadow: var(--focus);
}

#silktide-wrapper .st-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: 800 13px/1.2 var(--fontFamily);
  letter-spacing: -0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

#silktide-wrapper .st-button:hover {
  transform: translateY(-1px);
}

#silktide-wrapper .st-button--primary {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent), linear-gradient(135deg, #6366f1, #8b5cf6);
  border-color: rgba(165, 180, 252, 0.22);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

#silktide-wrapper .st-button--primary:hover {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent), linear-gradient(135deg, #4f46e5, #7c3aed);
}

#silktide-wrapper .st-button--secondary,
#silktide-wrapper .reject-all,
#silktide-wrapper .preferences-reject-all {
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

#silktide-wrapper .st-button--secondary:hover,
#silktide-wrapper .reject-all:hover,
#silktide-wrapper .preferences-reject-all:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(165, 180, 252, 0.3);
}

#silktide-banner,
#silktide-modal {
  overflow: hidden;
  color: var(--textColor);
  font-family: var(--fontFamily);
  background:
    radial-gradient(circle at 12% 0%, rgba(99, 102, 241, 0.26), transparent 36%),
    radial-gradient(circle at 92% 4%, rgba(34, 211, 238, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(19, 22, 42, 0.97);
  border: 1px solid var(--borderColor);
  border-radius: 22px;
  box-shadow: var(--boxShadow);
  pointer-events: auto;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}

#silktide-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: min(620px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 24px;
  overflow: auto;
  opacity: 0;
  transform: translateY(18px);
  animation: silktide-slideInUp 360ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: 0.16s;
}

#silktide-banner.center {
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, calc(-50% + 18px));
  animation: silktide-slideInUp-center 360ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

#silktide-banner.bottomLeft {
  right: auto;
  bottom: 18px;
  left: 18px;
}

#silktide-banner.bottomCenter {
  right: auto;
  bottom: 18px;
  left: 50%;
  transform: translate(-50%, 18px);
  animation: silktide-slideInUp-bottomCenter 360ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

#silktide-banner p,
#silktide-modal p {
  margin: 0 0 15px;
  color: var(--mutedTextColor);
  font-size: 14px;
  line-height: 1.65;
}

#silktide-banner p::before {
  display: block;
  margin-bottom: 9px;
  color: #a5b4fc;
  font: 800 11px/1.2 "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  content: "Privacy controls";
}

#silktide-banner a,
#silktide-modal a {
  color: #a5b4fc;
  background: transparent;
}

#silktide-banner .preferences {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 10px 0;
  color: #a5b4fc;
  font: 800 13px/1.2 var(--fontFamily);
  background: transparent;
  border: 0;
  cursor: pointer;
}

#silktide-banner .preferences span {
  display: block;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

#silktide-banner .preferences span:hover {
  color: #ffffff;
}

#silktide-banner .preferences::after {
  display: block;
  color: #22d3ee;
  content: ">";
}

#silktide-banner a.silktide-logo,
#silktide-modal footer a {
  display: none;
}

#silktide-banner .actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}

#silktide-banner .actions-row {
  display: flex;
  flex-grow: 1;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (min-width: 640px) {
  #silktide-banner .actions {
    flex-direction: row;
    align-items: center;
  }
}

#silktide-modal {
  display: none;
  flex-direction: column;
  width: min(820px, calc(100% - 32px));
  max-width: 100%;
  max-height: calc(100vh - 32px);
  padding: 28px;
  overflow: auto;
  opacity: 0;
  transform: translateY(18px);
  animation: silktide-slideInUp 360ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

#silktide-modal header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

#silktide-modal h1 {
  margin: 0;
  color: var(--textColor);
  font: 800 clamp(1.55rem, 5vw, 2.4rem)/0.98 var(--fontFamily);
  letter-spacing: -0.055em;
}

#silktide-modal .modal-close {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #a5b4fc;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  cursor: pointer;
}

#silktide-modal .modal-close svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

#silktide-modal section {
  flex: 1;
  margin-top: 24px;
}

#silktide-modal section::-webkit-scrollbar {
  width: 5px;
}

#silktide-modal section::-webkit-scrollbar-thumb {
  background-color: rgba(165, 180, 252, 0.42);
  border-radius: 10px;
}

#silktide-modal fieldset {
  padding: 17px;
  margin: 0 0 13px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: 16px;
}

#silktide-modal fieldset:last-of-type {
  margin-bottom: 0;
}

#silktide-modal legend {
  padding: 0;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 800;
}

#silktide-modal .cookie-type-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

#silktide-modal .cookie-type-description {
  color: var(--mutedTextColor);
}

#silktide-modal .switch {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  width: 74px;
  height: 34px;
  cursor: pointer;
}

#silktide-modal .switch:focus-within {
  border-radius: 999px;
  box-shadow: var(--focus);
  outline: none;
}

#silktide-modal .switch input {
  position: absolute;
  opacity: 0;
}

#silktide-modal .switch__pill {
  position: relative;
  display: block;
  width: 74px;
  height: 34px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

#silktide-modal .switch__dot {
  position: absolute;
  top: 3px;
  left: 3px;
  display: block;
  width: 28px;
  height: 28px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
  transition: left 150ms ease-out;
}

#silktide-modal .switch__off,
#silktide-modal .switch__on {
  position: absolute;
  top: 8px;
  right: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  transition: right 150ms ease-out, opacity 150ms ease-out;
}

#silktide-modal .switch__off {
  opacity: 1;
}

#silktide-modal .switch__on {
  opacity: 0;
}

#silktide-modal .switch input:checked + .switch__pill {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-color: rgba(165, 180, 252, 0.38);
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.36);
}

#silktide-modal .switch input:checked ~ .switch__dot {
  left: calc(100% - 31px);
}

#silktide-modal .switch input:checked ~ .switch__off {
  right: calc(100% - 32px);
  opacity: 0;
}

#silktide-modal .switch input:checked ~ .switch__on {
  right: calc(100% - 33px);
  opacity: 1;
}

#silktide-modal .switch input:disabled + .switch__pill {
  cursor: not-allowed;
  opacity: 0.68;
}

#silktide-modal footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}

@media (min-width: 640px) {
  #silktide-modal footer {
    flex-direction: row;
    align-items: center;
  }
}

#silktide-cookie-icon {
  position: fixed;
  bottom: 14px;
  left: 14px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  padding: 0;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.52), 0 14px 36px rgba(0, 0, 0, 0.38);
  cursor: pointer;
  pointer-events: auto;
  animation: silktide-fadeIn 0.3s ease-in-out forwards;
}

#silktide-cookie-icon.bottomRight {
  right: 14px;
  left: auto;
}

#silktide-cookie-icon svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

#silktide-backdrop {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  background-color: var(--backdropBackgroundColor);
  border: 0;
  pointer-events: all;
  backdrop-filter: blur(var(--backdropBackgroundBlur));
  -webkit-backdrop-filter: blur(var(--backdropBackgroundBlur));
}

@keyframes silktide-fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes silktide-slideInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes silktide-slideInUp-center {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 18px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@keyframes silktide-slideInUp-bottomCenter {
  from {
    opacity: 0;
    transform: translate(-50%, 18px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 520px) {
  #silktide-banner,
  #silktide-modal {
    width: calc(100% - 24px);
    padding: 20px;
    border-radius: 18px;
  }

  #silktide-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  #silktide-modal .cookie-type-content {
    flex-direction: column;
  }
}
