.fz-cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0));
  pointer-events: none;
}

.fz-cookie-consent:not([hidden]) {
  pointer-events: auto;
}

.fz-cookie-consent__panel {
  max-width: 980px;
  margin: 0 auto;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(110, 198, 248, 0.28);
  background: rgba(10, 14, 28, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8125rem;
  line-height: 1.35;
}

.fz-cookie-consent__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.fz-cookie-consent__content {
  flex: 1;
  min-width: 0;
}

.fz-cookie-consent__title {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
}

.fz-cookie-consent__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin: 3px 0 0;
  font-size: 0.75rem;
}

.fz-cookie-consent__sep {
  color: rgba(255, 255, 255, 0.35);
  user-select: none;
}

.fz-cookie-consent__link {
  background: none;
  border: none;
  padding: 0;
  color: #6ec6f8;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  font: inherit;
  white-space: nowrap;
}

.fz-cookie-consent__link:hover,
.fz-cookie-consent__link:focus-visible {
  color: #fff;
}

.fz-cookie-consent__actions {
  display: flex;
  flex-shrink: 0;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}

.fz-cookie-consent__btn {
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.fz-cookie-consent__btn--primary {
  background: linear-gradient(180deg, #5eb8f0 0%, #4493c7 100%);
  color: #0a0c1a;
  border-color: rgba(110, 198, 248, 0.5);
}

.fz-cookie-consent__btn--primary:hover,
.fz-cookie-consent__btn--primary:focus-visible {
  box-shadow: 0 0 0 1px rgba(110, 198, 248, 0.4), 0 2px 8px rgba(36, 116, 223, 0.35);
}

.fz-cookie-consent__btn--ghost {
  background: rgba(38, 54, 78, 0.65);
  border-color: rgba(110, 198, 248, 0.4);
  color: rgba(255, 255, 255, 0.92);
}

.fz-cookie-consent__btn--ghost:hover,
.fz-cookie-consent__btn--ghost:focus-visible {
  background: rgba(68, 147, 199, 0.28);
  border-color: rgba(110, 198, 248, 0.65);
}

.fz-cookie-consent__prefs {
  padding-top: 2px;
}

.fz-cookie-consent__options {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 0.8125rem;
}

.fz-cookie-consent__options label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.fz-cookie-consent__options input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #6ec6f8;
}

@media (max-width: 720px) {
  .fz-cookie-consent__panel {
    padding: 10px 12px;
  }

  .fz-cookie-consent__main {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .fz-cookie-consent__actions {
    justify-content: stretch;
  }

  .fz-cookie-consent__btn {
    flex: 1;
    min-height: 40px;
  }
}

@media (max-width: 420px) {
  .fz-cookie-consent__actions {
    flex-direction: column;
  }

  .fz-cookie-consent__btn {
    width: 100%;
    min-height: 44px;
  }
}
