.op-cookie-settings-button{
  appearance:none;
  padding:0;
  border:0;
  background:transparent;
  color:#b9c9f7;
  font:inherit;
  font-weight:800;
  cursor:pointer;
}

.op-cookie-settings-button:hover,
.op-cookie-settings-button:focus-visible{
  color:var(--text);
  text-decoration:underline;
}

.op-cookie-banner{
  position:fixed;
  z-index:2200;
  top:50%;
  left:50%;
  right:auto;
  bottom:auto;
  box-sizing:border-box;
  display:grid;
  grid-template-columns:88px minmax(0,1fr);
  align-items:center;
  gap:14px;
  width:min(620px,calc(100vw - 28px));
  max-height:calc(100dvh - 24px);
  padding:15px;
  overflow:auto;
  border:1px solid rgba(88,222,255,.42);
  border-radius:18px;
  background:
    radial-gradient(circle at 7% 35%,rgba(111,55,188,.28),transparent 30%),
    linear-gradient(145deg,rgba(10,20,51,.985),rgba(5,12,31,.99));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 18px 55px rgba(0,0,0,.54),
    0 0 26px rgba(70,190,255,.10);
  color:#edf5ff;
  transform:translate(-50%,-50%);
}

.op-cookie-banner[hidden]{display:none!important;}

.op-cookie-art{
  display:grid;
  place-items:center;
  width:88px;
  height:88px;
}

.op-cookie-art img{
  display:block;
  width:88px;
  height:88px;
  object-fit:contain;
  filter:drop-shadow(0 0 13px rgba(69,205,255,.28));
}

.op-cookie-copy{
  min-width:0;
}

.op-cookie-kicker{
  display:block;
  margin-bottom:3px;
  color:#67ddff;
  font-size:8px;
  font-weight:950;
  letter-spacing:.14em;
}

.op-cookie-copy h2{
  margin:0;
  color:#fff;
  font-size:18px;
  line-height:1.15;
}

.op-cookie-copy strong{
  display:block;
  margin-top:4px;
  color:#ffd276;
  font-size:11px;
  line-height:1.3;
}

.op-cookie-copy p{
  margin:5px 0 0;
  color:#b7c5e4;
  font-size:10.5px;
  font-weight:700;
  line-height:1.45;
}

.op-cookie-actions{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:center;
  gap:7px;
  min-width:0;
}

.op-cookie-choice{
  min-height:38px;
  padding:8px 10px;
  border-radius:10px;
  color:#f7fbff;
  font-size:10px;
  font-weight:950;
  line-height:1.15;
  cursor:pointer;
}

.op-cookie-choice.essential{
  border:1px solid rgba(82,212,255,.58);
  background:linear-gradient(180deg,rgba(20,104,145,.86),rgba(11,62,98,.92));
}

.op-cookie-choice.twitch{
  border:1px solid rgba(181,120,255,.62);
  background:linear-gradient(180deg,rgba(116,62,188,.88),rgba(67,34,126,.94));
}

.op-cookie-choice:hover,
.op-cookie-choice:focus-visible{
  filter:brightness(1.14);
}

.op-cookie-actions a{
  grid-column:1 / -1;
  justify-self:center;
  color:#9fb2d9;
  font-size:9px;
  font-weight:800;
  text-decoration:none;
}

.op-cookie-actions a:hover,
.op-cookie-actions a:focus-visible{
  color:#d9e7ff;
  text-decoration:underline;
}

.op-twitch-consent-placeholder{
  box-sizing:border-box;
  display:grid;
  place-items:center;
  align-content:center;
  gap:10px;
  width:100%;
  min-height:180px;
  padding:18px;
  text-align:center;
  background:
    radial-gradient(circle at 50% 25%,rgba(145,71,255,.18),transparent 50%),
    rgba(5,10,27,.96);
}

.op-twitch-consent-placeholder[hidden]{display:none!important;}

.op-twitch-consent-placeholder p{
  max-width:300px;
  margin:0;
  color:#c4cfee;
  font-size:11px;
  line-height:1.5;
}

.op-twitch-consent-placeholder button{
  min-height:36px;
  padding:8px 13px;
  border:1px solid rgba(181,120,255,.62);
  border-radius:10px;
  background:linear-gradient(180deg,#9147ff,#5b21b6);
  color:#fff;
  font-size:10px;
  font-weight:950;
  cursor:pointer;
}

.op-twitch-consent-placeholder button:hover,
.op-twitch-consent-placeholder button:focus-visible{
  filter:brightness(1.12);
}

@media (max-width:760px){
  .op-cookie-banner{
    left:50%;
    right:auto;
    grid-template-columns:72px minmax(0,1fr);
    gap:9px 11px;
    width:min(540px,calc(100vw - 24px));
    padding:10px 11px;
    border-radius:15px;
    transform:translate(-50%,-50%);
  }

  .op-cookie-art,
  .op-cookie-art img{
    width:72px;
    height:72px;
  }

  .op-cookie-actions{
    grid-column:1 / -1;
    grid-template-columns:repeat(2,minmax(0,1fr));
    width:100%;
  }
}

@media (max-width:420px){
  .op-cookie-banner{
    left:50%;
    right:auto;
    grid-template-columns:58px minmax(0,1fr);
    width:calc(100vw - 16px);
    transform:translate(-50%,-50%);
  }

  .op-cookie-art,
  .op-cookie-art img{
    width:58px;
    height:58px;
  }

  .op-cookie-copy h2{font-size:16px;}
  .op-cookie-copy strong{font-size:10px;}
  .op-cookie-copy p{font-size:9.5px;}
  .op-cookie-choice{min-height:36px;padding:7px 8px;font-size:9px;}
}

@media (prefers-reduced-motion:no-preference){
  .op-cookie-banner:not([hidden]){
    animation:op-cookie-arrive .28s ease-out both;
  }

  @keyframes op-cookie-arrive{
    from{opacity:0;transform:translate(-50%,calc(-50% + 14px)) scale(.985);}
    to{opacity:1;transform:translate(-50%,-50%) scale(1);}
  }
}
