:root{
  --cc-bg:#11100e;
  --cc-panel:#191713;
  --cc-text:#f6f1e8;
  --cc-muted:#c8c0b5;
  --cc-gold:#c9a063;
  --cc-gold-light:#e7c993;
  --cc-border:rgba(255,255,255,.16);
  --cc-shadow:0 20px 70px rgba(0,0,0,.45);
}

.cc-banner,
.cc-modal-backdrop,
.cc-floating{
  font-family:"Helvetica Neue",Arial,sans-serif;
  box-sizing:border-box;
}

.cc-banner *,
.cc-modal-backdrop *,
.cc-floating{
  box-sizing:border-box;
}

.cc-banner[hidden],
.cc-modal-backdrop[hidden],
.cc-floating[hidden]{
  display:none!important;
}

.cc-banner{
  position:fixed;
  left:18px;
  right:18px;
  bottom:18px;
  z-index:2147483000;
  padding:0;
  border:1px solid var(--cc-border);
  border-radius:18px;
  background:rgba(17,16,14,.97);
  color:var(--cc-text);
  box-shadow:var(--cc-shadow);
  backdrop-filter:blur(14px);
}

.cc-banner__content{
  max-width:1380px;
  margin:0 auto;
  padding:22px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:28px;
  align-items:center;
}

.cc-banner__copy h2,
.cc-modal h2,
.cc-option h3{
  margin:0;
  color:var(--cc-gold-light);
}

.cc-banner__copy h2{
  font-size:clamp(1.15rem,1.6vw,1.55rem);
  line-height:1.25;
}

.cc-banner__copy p{
  max-width:900px;
  margin:9px 0 0;
  color:var(--cc-muted);
  font-size:.96rem;
  line-height:1.55;
}

.cc-banner__actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:10px;
}

.cc-btn{
  min-height:44px;
  padding:10px 16px;
  border:1px solid transparent;
  border-radius:999px;
  font:inherit;
  font-size:.92rem;
  font-weight:800;
  cursor:pointer;
  transition:transform .18s ease,background .18s ease,border-color .18s ease;
}

.cc-btn:hover{
  transform:translateY(-1px);
}

.cc-btn:focus-visible,
.cc-close:focus-visible,
.cc-floating:focus-visible,
.cc-switch input:focus-visible + span{
  outline:3px solid #fff;
  outline-offset:3px;
}

.cc-btn--primary{
  background:var(--cc-gold);
  color:#14110d;
}

.cc-btn--secondary{
  border-color:rgba(201,160,99,.65);
  background:transparent;
  color:var(--cc-text);
}

.cc-btn--text{
  border-color:var(--cc-border);
  background:rgba(255,255,255,.05);
  color:var(--cc-text);
}

.cc-policy-links{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

.cc-policy-links a{
  color:var(--cc-gold-light);
  font-size:.82rem;
  text-underline-offset:3px;
}

.cc-modal-backdrop{
  position:fixed;
  inset:0;
  z-index:2147483001;
  display:grid;
  place-items:center;
  padding:18px;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(8px);
}

.cc-modal{
  width:min(680px,100%);
  max-height:min(760px,92vh);
  overflow:auto;
  border:1px solid var(--cc-border);
  border-radius:20px;
  background:var(--cc-bg);
  color:var(--cc-text);
  box-shadow:var(--cc-shadow);
}

.cc-modal__header{
  position:sticky;
  top:0;
  z-index:2;
  padding:22px 22px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  border-bottom:1px solid var(--cc-border);
  background:rgba(17,16,14,.98);
}

.cc-modal__header h2{
  font-size:1.45rem;
}

.cc-close{
  width:42px;
  height:42px;
  flex:0 0 42px;
  border:1px solid var(--cc-border);
  border-radius:50%;
  background:rgba(255,255,255,.05);
  color:#fff;
  font-size:1.7rem;
  line-height:1;
  cursor:pointer;
}

.cc-modal__body{
  padding:8px 22px;
}

.cc-option{
  padding:20px 0;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:20px;
  align-items:center;
  border-bottom:1px solid var(--cc-border);
}

.cc-option:last-child{
  border-bottom:0;
}

.cc-option h3{
  font-size:1.02rem;
}

.cc-option p{
  margin:7px 0 0;
  color:var(--cc-muted);
  font-size:.9rem;
  line-height:1.5;
}

.cc-always-on{
  color:var(--cc-gold-light);
  font-size:.78rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
  white-space:nowrap;
}

.cc-switch{
  position:relative;
  width:52px;
  height:30px;
  display:inline-block;
}

.cc-switch input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.cc-switch span{
  position:absolute;
  inset:0;
  border:1px solid rgba(255,255,255,.25);
  border-radius:999px;
  background:#3b3935;
  cursor:pointer;
  transition:.2s;
}

.cc-switch span:before{
  content:"";
  position:absolute;
  width:22px;
  height:22px;
  left:3px;
  top:3px;
  border-radius:50%;
  background:#fff;
  transition:.2s;
}

.cc-switch input:checked + span{
  border-color:var(--cc-gold);
  background:var(--cc-gold);
}

.cc-switch input:checked + span:before{
  transform:translateX(22px);
  background:#15120e;
}

.cc-modal__footer{
  position:sticky;
  bottom:0;
  padding:16px 22px 22px;
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:20px;
  border-top:1px solid var(--cc-border);
  background:rgba(17,16,14,.98);
}

.cc-modal__footer .cc-policy-links{
  margin:0;
}

.cc-floating{
  position:fixed;
  left:14px;
  bottom:14px;
  z-index:2147482999;
  min-height:38px;
  padding:8px 13px;
  border:1px solid rgba(201,160,99,.6);
  border-radius:999px;
  background:rgba(17,16,14,.92);
  color:var(--cc-gold-light);
  box-shadow:0 8px 28px rgba(0,0,0,.28);
  font-size:.76rem;
  font-weight:800;
  cursor:pointer;
  backdrop-filter:blur(8px);
}

body.cc-modal-open{
  overflow:hidden!important;
}

@media(max-width:820px){
  .cc-banner{
    left:10px;
    right:10px;
    bottom:10px;
    border-radius:15px;
  }

  .cc-banner__content{
    padding:18px;
    grid-template-columns:1fr;
    gap:17px;
  }

  .cc-banner__actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    justify-content:stretch;
  }

  .cc-banner__actions .cc-btn--text{
    grid-column:1 / -1;
  }

  .cc-btn{
    width:100%;
  }

  .cc-modal__header,
  .cc-modal__body,
  .cc-modal__footer{
    padding-left:18px;
    padding-right:18px;
  }

  .cc-modal__footer{
    align-items:stretch;
    flex-direction:column;
  }

  .cc-modal__footer .cc-btn{
    width:100%;
  }

  .cc-floating{
    left:10px;
    bottom:10px;
  }
}

@media(max-width:480px){
  .cc-banner__actions{
    grid-template-columns:1fr;
  }

  .cc-banner__actions .cc-btn--text{
    grid-column:auto;
  }

  .cc-option{
    gap:12px;
  }

  .cc-always-on{
    white-space:normal;
    text-align:right;
  }
}