.cookie-consent {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  width: min(520px, calc(100vw - 32px));
  padding: 20px;
  border: 1.5px solid var(--color-border, #1a1a1a);
  border-radius: 18px;
  background: #fffaf1;
  color: var(--color-text, #1a1a1a);
  box-shadow: 0 14px 34px rgba(26, 26, 26, 0.16);
  font-family: var(--font-main, "PT Mono", monospace);
}

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

.cookie-consent__title {
  margin: 0 0 8px;
  font-family: var(--font-accent, "Neucha", cursive);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.cookie-consent__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.cookie-consent__button,
.cookie-consent__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 16px;
  border: 1.5px solid var(--color-border, #1a1a1a);
  border-radius: 999px;
  color: var(--color-text, #1a1a1a);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.cookie-consent__button--primary {
  background: var(--color-accent, #ffc21a);
  box-shadow: 0 8px 18px rgba(255, 194, 26, 0.28);
}

.cookie-consent__button--secondary,
.cookie-consent__link {
  background: #ffffff;
}

.cookie-consent__button:focus-visible,
.cookie-consent__link:focus-visible {
  outline: 2px solid var(--color-border, #1a1a1a);
  outline-offset: 3px;
}

@media (max-width: 540px) {
  .cookie-consent {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    padding: 16px;
    border-radius: 16px;
  }

  .cookie-consent__title {
    font-size: 26px;
  }

  .cookie-consent__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-consent__button,
  .cookie-consent__link {
    width: 100%;
  }
}
