/* AK-SKK – lišta souhlasu s cookies (samostatný soubor, nezávislý na style.css) */
.ckc[hidden], .ckc [hidden]{display:none !important}

.ckc{
  position:fixed;
  inset:auto 0 0 0;
  z-index:2147483646;
  padding:16px;
  pointer-events:none;
  font-family:"Segoe UI",Arial,sans-serif;
}
.ckc--settings{inset:0;display:flex;align-items:center;justify-content:center}

.ckc__backdrop{display:none}
.ckc--settings .ckc__backdrop{
  display:block;position:absolute;inset:0;
  background:rgba(0,0,0,.62);backdrop-filter:blur(3px);
  pointer-events:auto;
}

.ckc__banner, .ckc__settings{
  position:relative;
  pointer-events:auto;
  box-sizing:border-box;
  margin:0 auto;
  background:linear-gradient(180deg,rgba(6,24,25,.985),rgba(2,11,12,.985));
  border:1px solid rgba(216,154,46,.6);
  border-radius:14px;
  box-shadow:0 24px 60px rgba(0,0,0,.6);
  color:#f5f0e4;
}
.ckc__banner{width:min(860px,100%);padding:22px 26px}
.ckc__settings{width:min(560px,100%);max-height:calc(100vh - 32px);overflow:auto;padding:26px}

.ckc__title{
  margin:0 0 8px;
  font-family:Georgia,"Times New Roman",serif;
  font-weight:400;
  font-size:22px;
  color:#ffe078;
}
.ckc__text{margin:0 0 16px;font-size:14.5px;line-height:1.65;color:rgba(245,240,228,.9)}
.ckc__text a{color:#ffe078;text-decoration:underline}

.ckc__actions{display:flex;flex-wrap:wrap;gap:10px}
.ckc__btn{
  flex:1 1 160px;
  min-height:46px;
  padding:10px 18px;
  border-radius:8px;
  font:700 14px/1.2 "Segoe UI",Arial,sans-serif;
  letter-spacing:.02em;
  cursor:pointer;
  touch-action:manipulation;
  transition:filter .15s ease, background-color .15s ease;
}
.ckc__btn--solid{
  border:1px solid #d8a43a;
  background:linear-gradient(180deg,#f1cf6e,#c99a33);
  color:#111;
}
.ckc__btn--solid:hover{filter:brightness(1.07)}
.ckc__btn--ghost{
  border:1px solid rgba(216,164,58,.75);
  background:transparent;
  color:#ffe078;
}
.ckc__btn--ghost:hover{background:rgba(216,164,58,.12)}
.ckc__btn:focus-visible, .ckc__text a:focus-visible{outline:3px solid rgba(255,224,120,.55);outline-offset:2px}

.ckc__cat{
  padding:14px 0;
  border-top:1px solid rgba(216,154,46,.25);
}
.ckc__cat:last-of-type{margin-bottom:16px}
.ckc__cat p{margin:6px 0 0;font-size:13.5px;line-height:1.55;color:rgba(245,240,228,.78)}
.ckc__cat-head{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer}
.ckc__cat-head strong{color:#fff;font-size:15px}
.ckc__always{font-size:12px;font-weight:700;color:#8fd9a8;white-space:nowrap}

.ckc__switch{position:relative;display:inline-block;width:46px;height:26px;flex:none}
.ckc__switch input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.ckc__switch span{
  position:absolute;inset:0;border-radius:999px;
  background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.25);
  transition:background-color .2s ease;
}
.ckc__switch span::after{
  content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;
  background:#fff;transition:transform .2s ease;
}
.ckc__switch input:checked + span{background:#c99a33;border-color:#d8a43a}
.ckc__switch input:checked + span::after{transform:translateX(20px)}
.ckc__switch input:focus-visible + span{outline:3px solid rgba(255,224,120,.55);outline-offset:2px}

/* odkaz „Nastavení cookies“ v patičce */
.cookie-settings-link{
  background:none;border:0;padding:0;margin:0;
  font:inherit;color:inherit;text-decoration:underline;cursor:pointer;
}

@media (max-width:640px){
  .ckc{padding:10px}
  .ckc__banner{padding:18px 16px}
  .ckc__settings{padding:20px 16px}
  .ckc__title{font-size:20px}
  .ckc__text{font-size:14px}
  .ckc__actions{flex-direction:column}
  .ckc__btn{flex:none;width:100%}
}
