.tkn-cookie-banner,
.tkn-cookie-modal {
  font-family: inherit;
  color: var(--tkn-cookie-text, #111827);
  box-sizing: border-box;
}

.tkn-cookie-banner *,
.tkn-cookie-modal * {
  box-sizing: border-box;
}

.tkn-cookie-banner[hidden],
.tkn-cookie-modal[hidden] {
  display: none !important;
}

.tkn-cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(17,24,39,.12);
  border-radius: 18px;
  background: var(--tkn-cookie-bg, #fff);
  box-shadow: 0 20px 70px rgba(0,0,0,.18);
}

.tkn-cookie-position-bottom {
  bottom: 18px;
}

.tkn-cookie-position-top {
  top: 18px;
}

.tkn-cookie-banner__content {
  max-width: 760px;
}

.tkn-cookie-banner__content strong {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}

.tkn-cookie-banner__content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.tkn-cookie-banner__actions,
.tkn-cookie-modal__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tkn-cookie-btn,
.tkn-cookie-inline-button {
  border: 1px solid rgba(17,24,39,.16);
  border-radius: 999px;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
  transition: .2s ease;
  background: #fff;
  color: var(--tkn-cookie-text, #111827);
}

.tkn-cookie-btn:hover,
.tkn-cookie-inline-button:hover {
  transform: translateY(-1px);
}

.tkn-cookie-btn--primary {
  background: var(--tkn-cookie-primary, #6d5dfc);
  border-color: var(--tkn-cookie-primary, #6d5dfc);
  color: #fff;
}

.tkn-cookie-btn--secondary {
  background: rgba(109,93,252,.10);
  border-color: rgba(109,93,252,.24);
  color: var(--tkn-cookie-primary, #6d5dfc);
}

.tkn-cookie-btn--ghost {
  background: transparent;
}

.tkn-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1000000;
}

.tkn-cookie-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(3,7,18,.58);
  backdrop-filter: blur(6px);
}

.tkn-cookie-modal__dialog {
  position: relative;
  width: min(720px, calc(100vw - 28px));
  max-height: calc(100vh - 36px);
  overflow: auto;
  margin: 18px auto;
  padding: 26px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.34);
}

.tkn-cookie-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: #f3f4f6;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.tkn-cookie-modal h2 {
  margin: 0 42px 8px 0;
}

.tkn-cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #edf0f5;
}

.tkn-cookie-category strong {
  display: block;
  margin-bottom: 5px;
}

.tkn-cookie-category em {
  display: block;
  color: #4b5563;
  font-style: normal;
  font-size: 13px;
  line-height: 1.45;
}

.tkn-cookie-category input {
  width: 22px;
  height: 22px;
}

.tkn-cookie-inline-button {
  display: inline-flex;
  align-items: center;
  margin: 8px 0;
}

@media (max-width: 780px) {
  .tkn-cookie-banner {
    align-items: stretch;
    flex-direction: column;
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .tkn-cookie-banner__actions,
  .tkn-cookie-modal__actions {
    justify-content: stretch;
  }

  .tkn-cookie-btn {
    flex: 1;
  }
}


.tkn-legal-float,
.tkn-legal-float * {
  box-sizing: border-box;
}

.tkn-legal-float {
  position: fixed;
  z-index: 999998;
  font-family: inherit;
}

.tkn-legal-float--bottom-left {
  left: var(--tkn-legal-offset-x, 18px);
  bottom: var(--tkn-legal-offset-y, 18px);
}

.tkn-legal-float--bottom-right {
  right: var(--tkn-legal-offset-x, 18px);
  bottom: var(--tkn-legal-offset-y, 18px);
}

.tkn-legal-float--top-left {
  left: var(--tkn-legal-offset-x, 18px);
  top: var(--tkn-legal-offset-y, 18px);
}

.tkn-legal-float--top-right {
  right: var(--tkn-legal-offset-x, 18px);
  top: var(--tkn-legal-offset-y, 18px);
}

.tkn-legal-float__button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: var(--tkn-legal-bg, #0b1020);
  color: var(--tkn-legal-text, #fff);
  box-shadow: 0 14px 44px rgba(2,6,23,.26);
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}


.tkn-legal-float__button--icon-only {
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  justify-content: center;
  gap: 0;
  padding: 0;
}

.tkn-legal-float__button--icon-only .tkn-legal-float__icon {
  width: 22px;
  height: 22px;
}

.tkn-legal-float__button--icon-only .tkn-legal-float__icon svg {
  width: 22px;
  height: 22px;
}

.tkn-legal-float__button:hover,
.tkn-legal-float__button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 54px rgba(2,6,23,.32);
  outline: none;
}

.tkn-legal-float__icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
}

.tkn-legal-float__icon svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.tkn-legal-float__panel[hidden] {
  display: none !important;
}

.tkn-legal-float__panel {
  position: absolute;
  width: min(300px, calc(100vw - 28px));
  padding: 12px;
  border: 1px solid rgba(17,24,39,.12);
  border-radius: 18px;
  background: var(--tkn-legal-panel-bg, #fff);
  color: var(--tkn-legal-panel-text, #111827);
  box-shadow: 0 24px 70px rgba(2,6,23,.26);
}

.tkn-legal-float--bottom-left .tkn-legal-float__panel,
.tkn-legal-float--bottom-right .tkn-legal-float__panel {
  bottom: calc(100% + 10px);
}

.tkn-legal-float--top-left .tkn-legal-float__panel,
.tkn-legal-float--top-right .tkn-legal-float__panel {
  top: calc(100% + 10px);
}

.tkn-legal-float--bottom-left .tkn-legal-float__panel,
.tkn-legal-float--top-left .tkn-legal-float__panel {
  left: 0;
}

.tkn-legal-float--bottom-right .tkn-legal-float__panel,
.tkn-legal-float--top-right .tkn-legal-float__panel {
  right: 0;
}

.tkn-legal-float__panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 4px 4px 10px;
  border-bottom: 1px solid rgba(17,24,39,.08);
}

.tkn-legal-float__panel-head strong {
  font-size: 14px;
}

.tkn-legal-float__panel-head button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(17,24,39,.07);
  color: inherit;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.tkn-legal-float__item {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  margin-top: 8px;
  padding: 11px 12px;
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 12px;
  background: rgba(17,24,39,.03);
  color: var(--tkn-legal-panel-text, #111827);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.tkn-legal-float__item:hover,
.tkn-legal-float__item:focus-visible {
  background: rgba(109,93,252,.10);
  color: var(--tkn-cookie-primary, #6d5dfc);
  outline: none;
}

.tkn-legal-float__item--button {
  font-family: inherit;
}

@media (max-width: 780px) {
  .tkn-legal-float--bottom-left,
  .tkn-legal-float--bottom-right {
    left: 12px;
    right: auto;
    bottom: 12px;
  }

  .tkn-legal-float--top-left,
  .tkn-legal-float--top-right {
    left: 12px;
    right: auto;
    top: 12px;
  }

  .tkn-legal-float__panel {
    left: 0 !important;
    right: auto !important;
    width: min(310px, calc(100vw - 24px));
  }
}
