.cookie-consent-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 10000;
  width: min(620px, calc(100vw - 48px));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(15, 17, 16, 0.94);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
  color: #f5f7f5;
  font-family: var(--font, Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
}

.cookie-consent-banner.is-hidden {
  display: none;
}

.cookie-consent-content {
  padding: 22px;
}

.cookie-consent-title {
  margin: 0 0 7px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cookie-consent-text {
  margin: 0;
  max-width: 560px;
  color: #a5aaa6;
  font-size: 13px;
  line-height: 1.5;
}

.cookie-consent-links {
  margin-top: 9px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-consent-link {
  color: #d9ddd9;
  font-size: 11px;
  font-weight: 600;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}

.cookie-consent-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 12px;
  line-height: 1;
  font-weight: 650;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.cookie-btn:hover { transform: translateY(-1px); }

.cookie-btn-primary {
  border-color: #a7f3d0;
  background: #a7f3d0;
  color: #07140f;
}

.cookie-btn-primary:hover,
.cookie-btn-primary:focus-visible {
  border-color: #c1ffe3;
  background: #c1ffe3;
}

.cookie-btn-secondary {
  background: transparent;
  color: #f5f7f5;
}

.cookie-btn-secondary:hover,
.cookie-btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.07);
}

.cookie-btn-link {
  border-color: transparent;
  background: transparent;
  color: #a5aaa6;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  padding-left: 4px;
  padding-right: 4px;
}

.cookie-btn:focus-visible {
  outline: 2px solid #a7f3d0;
  outline-offset: 2px;
}

.cookie-consent-preferences {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-consent-preferences[hidden] {
  display: none;
}

.cookie-consent-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

.cookie-consent-option-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.cookie-consent-option-text {
  margin: 3px 0 0;
  color: #8e948f;
  font-size: 12px;
}

.cookie-consent-toggle {
  width: 18px;
  height: 18px;
}

.cookie-settings-button {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 9999;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(15, 17, 16, 0.88);
  color: #a5aaa6;
  padding: 8px 12px;
  font-family: var(--font, Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 10px;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.cookie-settings-button[hidden] { display: none; }

.cookie-settings-button:focus-visible {
  outline: 2px solid #a7f3d0;
  outline-offset: 2px;
}

@media screen and (max-width: 767px) {
  .cookie-consent-banner {
    left: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
    border-radius: 18px;
  }

  .cookie-consent-content {
    padding: 15px;
  }

  .cookie-consent-title { margin-bottom: 5px; font-size: 15px; }
  .cookie-consent-text { font-size: 12px; line-height: 1.4; }
  .cookie-consent-links { margin-top: 7px; }

  .cookie-consent-actions {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .cookie-btn {
    min-height: 38px;
    width: 100%;
    text-align: center;
  }

  .cookie-btn-link { grid-column: 1 / -1; min-height: 32px; }

  .cookie-settings-button {
    left: 10px;
    bottom: 10px;
  }
}
