.ab-cookie-banner {
  position: fixed;
  z-index: 100100;
  right: 16px;
  bottom: 16px;
  left: 16px;
  width: min(calc(100% - 32px), 920px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-inline: auto;
  padding: 24px;
  color: #fff;
  background: #091416;
  border: 1px solid rgba(99, 226, 212, 0.42);
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.ab-cookie-banner .ab-eyebrow,
.ab-cookie-modal .ab-eyebrow {
  margin: 0 0 6px;
  color: #63e2d4;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ab-cookie-banner h2,
.ab-cookie-modal h2 {
  margin: 0;
  color: inherit;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.ab-cookie-banner__copy > p:not(.ab-eyebrow) {
  max-width: 630px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.55;
}

.ab-cookie-banner .ab-cookie-links a,
.ab-cookie-modal a {
  color: #63e2d4;
  font-weight: 750;
  text-underline-offset: 3px;
}

.ab-cookie-banner__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 9px;
}

.ab-cookie-choice,
.ab-cookie-settings-link {
  min-height: 48px;
  padding: 11px 16px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
}

.ab-cookie-choice {
  color: #061112;
  background: #63e2d4;
  border: 2px solid #63e2d4;
}

.ab-cookie-settings-link {
  grid-column: 1 / -1;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.ab-cookie-modal {
  position: fixed;
  z-index: 100110;
  inset: 0;
  display: grid;
  overflow-y: auto;
  padding: 18px;
  place-items: center;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ab-cookie-modal__backdrop {
  position: fixed;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(3, 13, 15, 0.94);
  border: 0;
}

.ab-cookie-modal__panel {
  position: relative;
  width: min(100%, 680px);
  max-height: calc(100svh - 36px);
  overflow-y: auto;
  padding: clamp(28px, 6vw, 52px);
  color: #11151a;
  background: #fff;
  border: 1px solid #dfe3e7;
  border-radius: 20px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
}

.ab-cookie-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #fff;
  background: #11151a;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.7rem;
}

.ab-cookie-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  background: #f4f5f6;
  border: 1px solid #dfe3e7;
  border-radius: 13px;
}

.ab-cookie-option strong {
  display: block;
  font-size: 0.95rem;
}

.ab-cookie-option p {
  margin: 5px 0 0;
  color: #56616b;
  font-size: 0.82rem;
  line-height: 1.5;
}

.ab-cookie-option > span {
  color: #0d7476;
  font-size: 0.72rem;
  font-weight: 850;
}

.ab-cookie-option input {
  width: 26px;
  height: 26px;
  accent-color: #0d7476;
}

.ab-cookie-modal__legal {
  margin: 20px 0;
  font-size: 0.82rem;
}

.ab-cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.ab-cookie-modal-open {
  overflow: hidden;
}

.ab-legal-copy {
  max-width: 820px;
}

.ab-legal-copy h2 {
  margin: 2.2em 0 0.55em;
}

.ab-legal-copy h3 {
  margin: 1.5em 0 0.4em;
}

.ab-legal-copy li + li {
  margin-top: 0.35em;
}

.ab-legal-updated {
  color: #56616b;
  font-size: 0.85rem;
}

.ab-legal-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.ab-legal-copy table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.ab-legal-copy th,
.ab-legal-copy td {
  padding: 12px;
  border: 1px solid #dfe3e7;
  text-align: left;
  vertical-align: top;
}

@media (max-width: 720px) {
	.ab-legal-table-wrap {
		overflow: visible;
	}

	.ab-legal-copy table,
	.ab-legal-copy tbody,
	.ab-legal-copy tr,
	.ab-legal-copy td {
		width: 100%;
		min-width: 0;
		display: block;
	}

	.ab-legal-copy thead {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.ab-legal-copy tr {
		margin-bottom: 14px;
		overflow: hidden;
		background: #fff;
		border: 1px solid #dfe3e7;
		border-radius: 12px;
	}

	.ab-legal-copy td {
		display: grid;
		grid-template-columns: minmax(94px, 0.7fr) minmax(0, 1.3fr);
		gap: 12px;
		padding: 12px 14px;
		border: 0;
		border-top: 1px solid #dfe3e7;
	}

	.ab-legal-copy td:first-child {
		border-top: 0;
	}

	.ab-legal-copy td::before {
		content: attr(data-label);
		color: #56616b;
		font-size: 0.7rem;
		font-weight: 800;
		letter-spacing: 0.04em;
		text-transform: uppercase;
	}

  .ab-cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: calc(100% - 20px);
    max-height: calc(100svh - 20px);
    grid-template-columns: 1fr;
    gap: 16px;
    overflow-y: auto;
    padding: 18px;
  }

  .ab-cookie-banner__actions {
    grid-template-columns: 1fr 1fr;
  }

  .ab-cookie-choice,
  .ab-cookie-settings-link {
    min-height: 50px;
    padding-inline: 10px;
    font-size: 0.72rem;
  }

  .ab-cookie-modal__panel {
    padding: 28px 20px 22px;
  }

  .ab-cookie-option {
    padding: 14px;
  }
}
