.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 10000;
  transform: translateY(-180%);
  padding: 10px 14px;
  border-radius: 8px;
  background: #f7e6be;
  color: #111;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:where(a, button, summary, input, textarea, select, iframe):focus-visible {
  outline: 3px solid #f7e6be;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.cookie-banner {
  position: fixed;
  inset: auto 16px 16px 16px;
  z-index: 9999;
  display: none;
  max-width: 760px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(227, 197, 110, 0.38);
  border-radius: 8px;
  background: rgba(10, 10, 12, 0.98);
  color: #f3eee7;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner__title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
  color: #f7e6be;
}

.cookie-banner__text {
  margin: 0;
  color: rgba(243, 238, 231, 0.84);
  font-size: 0.94rem;
  line-height: 1.55;
}

.cookie-banner__text a {
  color: #f7e6be;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.cookie-button {
  min-height: 44px;
  border: 1px solid rgba(227, 197, 110, 0.45);
  border-radius: 8px;
  padding: 10px 14px;
  color: #f7e6be;
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.cookie-button--primary {
  color: #111;
  background: #f7e6be;
  border-color: #f7e6be;
}

.cookie-preferences {
  border: 0;
  padding: 0;
  background: none;
  color: rgba(241, 223, 191, 0.9);
  border-bottom: 1px solid transparent;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.cookie-preferences:hover,
.cookie-preferences:focus-visible {
  color: #f7e6be;
  border-bottom-color: rgba(227, 197, 110, 0.82);
}

.consent-placeholder {
  padding: 18px;
  border: 1px solid rgba(214, 177, 96, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(243, 238, 231, 0.88);
}

iframe[data-consent-src]:not([src]) {
  display: none;
}

.consent-placeholder p {
  margin: 0 0 12px;
  line-height: 1.55;
}

@media (max-width: 560px) {
  .cookie-banner {
    inset: auto 10px 10px 10px;
    padding: 16px;
  }

  .cookie-banner__actions,
  .cookie-button {
    width: 100%;
  }
}
