.cookie-settings-link {
  border:0;
  background:transparent;
  color:#9a9aa8;
  display:block;
  font-family:"DM Sans",system-ui,sans-serif;
  font-size:14px;
  font-weight:400;
  line-height:inherit;
  margin:0 0 8px;
  padding:0;
  text-align:left
}

.cookie-settings-link:hover {
  color:#ececec
}

.cookie-consent {
  position:fixed;
  z-index:5000;
  left:24px;
  right:24px;
  bottom:20px;
  max-width:1120px;
  margin:auto;
  padding:22px 24px;
  border:1px solid rgba(167,139,250,.22);
  border-radius:15px;
  background:rgba(9,8,14,.97);
  box-shadow:0 24px 80px #000b,0 0 55px rgba(124,58,237,.1);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  color:#eee
}

.cookie-consent[hidden],.cookie-modal[hidden] {
  display:none
}

.cookie-consent small,.cookie-modal small {
  color:#8b5cf6;
  font:9px "JetBrains Mono",monospace;
  letter-spacing:.14em;
  text-transform:uppercase
}

.cookie-consent h2,.cookie-modal h2 {
  margin:4px 0;
  color:#eee;
  font:300 22px Fraunces,serif
}

.cookie-consent p {
  max-width:650px;
  margin:0;
  color:#8d8797;
  font-size:12px;
  line-height:1.55
}

.cookie-consent a {
  color:#a78bfa;
  font-size:10px
}

.cookie-consent-actions {
  display:flex;
  gap:8px;
  flex-shrink:0
}

.cookie-consent button,.cookie-modal button {
  min-height:38px;
  padding:9px 12px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:8px;
  background:rgba(255,255,255,.035);
  color:#aaa4b2;
  font:10px "JetBrains Mono",monospace
}

.cookie-consent button.primary,.cookie-modal footer button {
  border-color:rgba(196,181,253,.38);
  background:linear-gradient(135deg,#7c3aed,#3b82f6);
  color:#fff
}

.cookie-modal {
  position:fixed;
  z-index:5100;
  inset:0;
  display:grid;
  place-items:center;
  padding:20px;
  background:#000a
}

.cookie-modal>section {
  width:min(540px,100%);
  border:1px solid rgba(167,139,250,.2);
  border-radius:16px;
  background:#0b0a10;
  color:#eee;
  box-shadow:0 30px 100px #000
}

.cookie-modal header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:22px;
  border-bottom:1px solid rgba(255,255,255,.07)
}

.cookie-modal header button {
  font-size:20px;
  border:0
}

.cookie-modal article {
  display:grid
}

.cookie-modal article>div {
  position:relative;
  padding:20px 22px;
  border-bottom:1px solid rgba(255,255,255,.06)
}

.cookie-modal strong {
  display:block;
  font-size:13px
}

.cookie-modal article div>span {
  position:absolute;
  right:22px;
  top:20px;
  color:#6e6876;
  font:9px "JetBrains Mono",monospace
}

.cookie-modal p {
  margin:7px 100px 0 0;
  color:#7e7887;
  font-size:11px;
  line-height:1.5
}

.cookie-modal footer {
  padding:18px 22px;
  text-align:right
}

.cookie-switch {
  position:absolute;
  right:22px;
  top:18px;
  display:flex;
  align-items:center;
  gap:8px;
  color:#9c95a5;
  font-size:10px
}

.cookie-switch input {
  position:absolute;
  opacity:0
}

.cookie-switch i {
  position:relative;
  width:34px;
  height:19px;
  border-radius:999px;
  background:#292630
}

.cookie-switch i:after {
  content:"";
  position:absolute;
  width:13px;
  height:13px;
  left:3px;
  top:3px;
  border-radius:50%;
  background:#77717f;
  transition:.2s
}

.cookie-switch input:checked+i {
  background:#7c3aed
}

.cookie-switch input:checked+i:after {
  left:18px;
  background:#fff
}

@media(max-width:760px) {
  .cookie-consent {
    left:12px;
    right:12px;
    bottom:12px;
    align-items:stretch;
    flex-direction:column;
    padding:18px
  }
  .cookie-consent-actions {
    display:grid;
    grid-template-columns:1fr 1fr
  }
  .cookie-consent-actions .primary {
    grid-column:1/-1
  }
  .cookie-modal p {
    margin-right:0
  }
}
