.ffk-cookie-panel[hidden],
.ffk-cookie-manage[hidden] {
  display: none !important;
}

.ffk-cookie-panel,
.ffk-cookie-manage {
  position: fixed;
  z-index: 10000;
  inset-inline-start: max(14px, env(safe-area-inset-left));
  bottom: max(14px, env(safe-area-inset-bottom));
  box-sizing: border-box;
  border: 1px solid #c7bbaa;
  border-radius: 8px;
  background: #191715;
  color: #fff;
  font-family: system-ui, sans-serif;
}

.ffk-cookie-panel {
  width: min(380px, calc(100% - 28px));
  padding: 16px;
  box-shadow: 0 8px 26px #0005;
}

.ffk-cookie-panel h2 {
  margin: 0 0 8px;
  color: inherit;
  font: 650 18px/1.25 system-ui, sans-serif;
  letter-spacing: normal;
  text-transform: none;
}

.ffk-cookie-panel p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.4;
}

.ffk-cookie-panel a {
  color: #f0deb9;
  text-decoration: underline;
}

.ffk-cookie-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ffk-cookie-actions button,
.ffk-cookie-manage {
  min-height: 40px;
  padding: 7px 12px;
  border: 1px solid #c7bbaa;
  border-radius: 5px;
  background: #191715;
  color: #fff;
  font: 600 14px/1.2 system-ui, sans-serif;
  cursor: pointer;
  text-transform: none;
}

.ffk-cookie-actions button:hover,
.ffk-cookie-manage:hover {
  background: #39322b;
}

.ffk-cookie-panel :focus-visible,
.ffk-cookie-manage:focus-visible {
  outline: 2px solid #f0deb9;
  outline-offset: 2px;
}
