.cookie-preferences {
  max-width: 640px;
  margin-block: 24px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line, #c9c9c9);
  cursor: pointer;
}
.cookie-category input {
  width: 22px;
  height: 22px;
  accent-color: var(--ink, #303030);
}
.cookie-preferences button {
  min-height: 44px;
  margin-top: 16px;
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.cookie-preferences :is(button, input):focus-visible {
  outline: 2px solid var(--accent, var(--teal, #285f61));
  outline-offset: 3px;
}
.cookie-preferences [hidden] {
  display: none;
}
#purchase-retry[hidden],
#purchase-signin[hidden] {
  display: none;
}
.cookie-notice {
  position: fixed;
  z-index: 1000;
  inset: auto 16px 16px auto;
  box-sizing: border-box;
  width: min(360px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid #d4cbbb;
  border-radius: 12px;
  background: #fffdf7;
  color: #292721;
  box-shadow: 0 4px 24px #29272120;
  font:
    14px/1.5 system-ui,
    sans-serif;
}
.cookie-notice p {
  margin: 0 0 10px;
}
.cookie-notice a {
  color: inherit;
  text-decoration: underline;
}
.cookie-notice div {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.cookie-notice button {
  flex: 1;
  min-height: 44px;
  border: 1px solid #706a5f;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.cookie-notice :is(a, button):focus-visible {
  outline: 2px solid #285f61;
  outline-offset: 3px;
}
.cookie-notice [role='status']:empty {
  display: none;
}
