#gdCookie {
  position: fixed;
  inset: auto 0 0 0;
  top: auto;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  border: none;
  overflow: visible;
  z-index: 2147483647;
  padding: 12px;
  box-sizing: border-box;
  background: #fff;
  color: #1c2430;
  border-top: 1px solid #e4e4e4;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, .12);
}

#gdCookie[hidden] {
  display: none !important;
}

#gdCookie .gd-cookie-card {
  max-width: 920px;
  margin: 0 auto;
  background: transparent;
  color: inherit;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

#gdCookie p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

#gdCookie a {
  color: #1a56b0;
}

#gdCookie button {
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  background: #1c2430;
  color: #fff;
  border: 1px solid #1c2430;
  white-space: nowrap;
}

body.gd-cookie-open {
  padding-bottom: var(--gd-cookie-h, 88px);
}

body.gd-cookie-open #topBtn {
  bottom: calc(20px + var(--gd-cookie-h, 88px));
}

body[dark] #gdCookie {
  background: #1c2128;
  color: #f2f4f7;
  border-top-color: #343b46;
}

body[dark] #gdCookie a {
  color: #8cb4ff;
}

@media (max-width: 640px) {
  #gdCookie .gd-cookie-card {
    flex-direction: column;
    align-items: stretch;
  }

  #gdCookie button {
    width: 100%;
  }
}
