/* STATE RACE — Consent + legal footer */

.sr-consent-banner,
.sr-consent-dialog{
  --sr-bg:#0b0b12;
  --sr-card:#12121d;
  --sr-border:
    rgba(255,255,255,.14);
  --sr-text:#f5f6fb;
  --sr-muted:#b8bdcc;
  --sr-accent:#7554ff;

  font-family:inherit;
}

.sr-consent-banner{
  position:fixed;
  z-index:2147483000;
  left:18px;
  right:18px;
  bottom:18px;

  display:grid;
  grid-template-columns:
    minmax(0,1fr) auto;

  gap:18px;
  align-items:center;

  max-width:1040px;
  margin:auto;
  padding:18px;

  color:var(--sr-text);

  border:
    1px solid
    var(--sr-border);

  border-radius:18px;

  background:
    rgba(11,11,18,.97);

  box-shadow:
    0 22px 70px
    rgba(0,0,0,.58);

  backdrop-filter:
    blur(14px);
}

.sr-consent-banner[hidden],
.sr-consent-dialog[hidden]{
  display:none !important;
}

.sr-consent-title{
  margin:0 0 6px;
  font-size:16px;
  font-weight:900;
}

.sr-consent-text{
  margin:0;
  color:var(--sr-muted);
  font-size:13px;
  line-height:1.55;
}

.sr-consent-text a{
  color:#c9baff;
  text-decoration:underline;
}

.sr-consent-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.sr-consent-action{
  min-height:44px;
  padding:11px 17px;

  border:
    1px solid
    rgba(255,255,255,.22);

  border-radius:12px;

  color:#fff;

  background:
    rgba(255,255,255,.06);

  cursor:pointer;

  font:inherit;
  font-size:12px;
  font-weight:900;
  letter-spacing:.07em;
  text-transform:uppercase;
}

.sr-consent-action:hover{
  filter:brightness(1.12);
}

.sr-consent-action.accept{
  border-color:#a58fff;

  background:
    linear-gradient(
      135deg,
      #7554ff,
      #5735c8
    );
}

.sr-consent-dialog{
  position:fixed;
  z-index:2147483001;
  inset:0;

  display:grid;
  place-items:center;

  padding:18px;

  color:var(--sr-text);

  background:
    rgba(0,0,0,.72);
}

.sr-consent-panel{
  width:min(100%,560px);
  padding:22px;

  border:
    1px solid
    var(--sr-border);

  border-radius:18px;

  background:
    var(--sr-card);

  box-shadow:
    0 24px 80px
    rgba(0,0,0,.62);
}

.sr-consent-panel-head{
  display:flex;
  align-items:center;
  justify-content:
    space-between;
  gap:16px;
}

.sr-consent-close{
  border:0;
  background:transparent;
  color:#fff;
  font-size:25px;
  cursor:pointer;
}

.sr-consent-status{
  margin:14px 0;
  padding:13px;

  border:
    1px solid
    var(--sr-border);

  border-radius:12px;

  color:var(--sr-muted);
  font-size:13px;
}

#srLegalFooter{
  width:
    min(
      100% - 28px,
      1180px
    );

  margin:
    28px auto 18px;

  padding:18px 0;

  border-top:
    1px solid
    rgba(255,255,255,.10);

  color:#9da4b6;
  font-size:12px;
  text-align:center;
}

#srLegalFooter a,
#srLegalFooter button{
  margin:4px 7px;
  padding:0;
  border:0;

  color:#c8ccda;
  background:none;

  cursor:pointer;

  font:inherit;
  text-decoration:none;
}

#srLegalFooter a:hover,
#srLegalFooter button:hover{
  color:#fff;
  text-decoration:underline;
}

@media(max-width:720px){
  .sr-consent-banner{
    grid-template-columns:1fr;

    left:10px;
    right:10px;
    bottom:10px;

    padding:15px;
  }

  .sr-consent-actions{
    display:grid;
    grid-template-columns:
      1fr 1fr;

    justify-content:stretch;
  }

  .sr-consent-action{
    width:100%;
  }
}
