.privacy-banner {
  position: fixed;
  z-index: 80;
  right: 22px;
  bottom: 22px;
  width: min(460px, calc(100% - 36px));
  border: 1px solid rgba(226, 175, 101, .46);
  background: rgba(17, 15, 13, .96);
  color: #fffdf8;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .35);
  backdrop-filter: blur(18px);
}

.privacy-banner[hidden],
.privacy-panel[hidden] {
  display: none;
}

.privacy-banner-inner {
  padding: 24px;
}

.privacy-mark {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
  color: #e2af65;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.privacy-mark::before {
  content: "";
  width: 22px;
  height: 22px;
  transform: rotate(45deg);
  border: 1px solid currentColor;
  background: #234b47;
  box-shadow: inset 0 0 0 5px #11100e;
}

.privacy-banner h2,
.privacy-panel h2 {
  margin: 0;
  color: #fffdf8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.05;
}

.privacy-banner p,
.privacy-panel p {
  margin: 12px 0 0;
  color: rgba(255, 253, 248, .68);
  font-size: .88rem;
}

.privacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.privacy-button,
.legal-choice-button {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 10px 14px;
  cursor: pointer;
  font: inherit;
  font-size: .69rem;
  font-weight: 850;
  letter-spacing: .07em;
  text-decoration: none;
  text-transform: uppercase;
}

.privacy-button-primary,
.legal-choice-button {
  background: #c88b3a;
  color: #171411;
}

.privacy-button-secondary {
  border-color: rgba(255, 253, 248, .36);
  background: transparent;
  color: #fffdf8;
}

.privacy-panel {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(8, 7, 6, .78);
  backdrop-filter: blur(12px);
}

.privacy-panel-card {
  position: relative;
  width: min(650px, 100%);
  max-height: min(760px, 92svh);
  overflow-y: auto;
  border: 1px solid rgba(226, 175, 101, .48);
  background: #171411;
  color: #fffdf8;
  box-shadow: 0 35px 110px rgba(0, 0, 0, .46);
}

.privacy-panel-header,
.privacy-panel-body,
.privacy-panel-footer {
  padding: 24px clamp(20px, 5vw, 34px);
}

.privacy-panel-header {
  border-bottom: 1px solid rgba(255, 253, 248, .14);
}

.privacy-panel-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 253, 248, .3);
  border-radius: 50%;
  background: transparent;
  color: #fffdf8;
  cursor: pointer;
  font-size: 1.35rem;
}

.privacy-category {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 253, 248, .12);
  padding: 18px 0;
}

.privacy-category:last-child {
  border-bottom: 0;
}

.privacy-category strong {
  display: block;
  color: #fffdf8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 500;
}

.privacy-category p {
  margin-top: 4px;
}

.privacy-status {
  align-self: start;
  border: 1px solid rgba(226, 175, 101, .48);
  padding: 5px 8px;
  color: #e2af65;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.privacy-status-off {
  border-color: rgba(255, 253, 248, .2);
  color: rgba(255, 253, 248, .5);
}

.privacy-panel-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(255, 253, 248, .14);
}

.privacy-links {
  margin-top: 14px;
  font-size: .72rem;
}

.privacy-links a {
  color: #e2af65;
}

@media (max-width: 560px) {
  .privacy-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }

  .privacy-actions,
  .privacy-panel-footer {
    display: grid;
  }

  .privacy-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .privacy-banner,
  .privacy-panel {
    backdrop-filter: none;
  }
}
