.ic-cookie-panel {
  position: fixed;
  z-index: 100001;
  inset: auto auto max(16px, env(safe-area-inset-bottom)) 16px;
  box-sizing: border-box;
  width: min(460px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: clamp(18px, 4vw, 25px);
  border: 1px solid #d5d9ce;
  border-radius: 20px;
  background: #f7f8f3;
  box-shadow: 0 10px 40px rgb(32 39 32 / 16%);
  color: #202720;
  font: 400 .9375rem/1.55 Inter, Arial, sans-serif;
}

.ic-cookie-panel h2 {
  margin: 0 0 8px;
  font: 600 1.25rem/1.3 Manrope, Arial, sans-serif;
  letter-spacing: -.03em;
}

.ic-cookie-panel p {
  margin: 0 0 14px;
  color: #454f3e;
}

.ic-cookie-panel a {
  color: inherit;
  text-underline-offset: .15em;
}

.ic-cookie-panel .ic-cookie-current {
  font-size: .875rem;
  font-weight: 600;
}

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

.ic-cookie-actions button {
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid #454f3e;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.ic-cookie-actions button:hover {
  background: #e7eadd;
}

.ic-cookie-actions .ic-cookie-close {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 36px;
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: .15em;
}

[data-ic-cookie-open] {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}

.ic-cookie-panel :focus-visible,
[data-ic-cookie-open]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.ic-install-toolbar.ic-install-legal {
  flex-wrap: wrap;
  justify-content: flex-start;
  font-size: .875rem;
}

.ic-install-legal a {
  color: inherit;
}
