/* Cookie banner + settings modal — shared by landing and app */

.ck-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: min(94vw, 640px);
  padding: 14px 18px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(13, 15, 22, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.55);
  color: #eef0f6;
  font-family: 'Outfit', system-ui, sans-serif;
}
.ck-banner p { font-size: 12.5px; line-height: 1.5; color: #9aa1b5; margin: 0; }
.ck-banner b { color: #eef0f6; }
.ck-banner a { color: #a78bfa; text-decoration: none; }
.ck-actions { display: flex; gap: 8px; flex-shrink: 0; }

.ck-btn {
  padding: 9px 15px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #eef0f6;
  font: 600 12.5px 'Outfit', system-ui, sans-serif;
  cursor: pointer;
  transition: background 0.25s, transform 0.15s;
}
.ck-btn:hover { transform: translateY(-1px); background: rgba(255, 255, 255, 0.09); }
.ck-ok, .ck-save {
  background: linear-gradient(100deg, #8b5cf6, #0ea5e9);
  border: none;
  color: #fff;
}

/* Reject must be as easy to find and press as Accept — same size, same
   row, one click. Only the fill differs. */
.ck-no {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.30);
}
.ck-no:hover { background: rgba(255, 255, 255, 0.16); }
.ck-alt { opacity: 0.85; font-weight: 500; }

.ck-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; }
.ck-back {
  position: absolute;
  inset: 0;
  background: rgba(6, 7, 11, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ck-card {
  position: relative;
  width: min(430px, calc(100vw - 28px));
  padding: 26px 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(13, 15, 22, 0.98);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
  color: #eef0f6;
  font-family: 'Outfit', system-ui, sans-serif;
}
.ck-card h3 { font-size: 17px; font-weight: 800; margin: 0 0 6px; }
.ck-sub { color: #9aa1b5; font-size: 12.5px; margin: 0 0 16px; }

.ck-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ck-row b { display: block; font-size: 13.5px; }
.ck-row span { display: block; color: #9aa1b5; font-size: 12px; margin-top: 2px; }
.ck-lock { color: #41d488 !important; font-size: 11.5px !important; font-weight: 700; flex-shrink: 0; }

.ck-switch { position: relative; flex-shrink: 0; width: 40px; height: 22px; }
.ck-switch input { opacity: 0; width: 100%; height: 100%; position: absolute; cursor: pointer; margin: 0; }
.ck-switch i {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  transition: background 0.25s;
  pointer-events: none;
}
.ck-switch i::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.ck-switch input:checked + i { background: linear-gradient(100deg, #8b5cf6, #0ea5e9); }
.ck-switch input:checked + i::after { transform: translateX(18px); }

.ck-save { width: 100%; margin-top: 16px; }

@media (max-width: 560px) {
  .ck-banner { flex-direction: column; align-items: stretch; text-align: center; }
}
