.ck-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ck-manage {
  appearance: none;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
}
.ck-manage:hover { color: #fff; }

.ck-banner[hidden] { display: none; }
.ck-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 1100;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
}
.ck-card {
  pointer-events: auto;
  width: min(1080px, 100%);
  padding: 16px 20px;
  border-radius: 16px;
  background: #f4faff;
  box-shadow: 0 10px 36px rgba(15, 23, 32, 0.12);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.ck-banner.is-on .ck-card {
  opacity: 1;
  transform: none;
}
.ck-notice,
.ck-form {
  display: flex;
  align-items: center;
  gap: 22px;
}
.ck-form { display: block; }
.ck-form[hidden],
.ck-notice[hidden] { display: none; }
.ck-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e7eef6;
  color: var(--gulf-navy);
  font-size: 26px;
}
.ck-notice p,
.ck-form > p {
  margin: 0;
  flex: 1;
  font-size: 15px;
  line-height: 1.55;
  color: #1f1f1f;
}
.ck-notice a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ck-notice a:hover { color: var(--blue); }
.ck-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
}
.ck-btn {
  appearance: none;
  min-height: 48px;
  min-width: 112px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--text);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.ck-btn-primary {
  border: 0;
  background: var(--blue);
  color: #fff;
}
.ck-btn-primary:hover { background: var(--blue-hover); }
.ck-btn-ghost {
  border: 0;
  background: #f4fafe;
  color: #1f1f1f;
  box-shadow: inset 0 0 0 1px #dadce0;
}
.ck-btn-ghost:hover { background: #f8f9fa; }
.ck-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.ck-form h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #1f1f1f;
}
.ck-form > p {
  margin-bottom: 8px;
  color: var(--muted);
}
.ck-pref {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid #e3e6ea;
}
.ck-pref strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #1f1f1f;
}
.ck-pref small {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}
.ck-form .ck-actions {
  justify-content: flex-end;
  margin-top: 16px;
}
.ck-toggle {
  position: relative;
  flex: none;
  width: 44px;
  height: 26px;
}
.ck-toggle input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.ck-toggle input:disabled { cursor: not-allowed; }
.ck-toggle span[aria-hidden] {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #dadce0;
  transition: background 0.2s ease;
}
.ck-toggle span[aria-hidden]::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}
.ck-toggle input:checked + span[aria-hidden] { background: var(--gulf-navy); }
.ck-toggle input:checked + span[aria-hidden]::after { transform: translateX(18px); }
.ck-toggle input:disabled + span[aria-hidden] { opacity: 0.85; }
.ck-toggle input:focus-visible + span[aria-hidden] {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

@media (max-width: 860px) {
  .ck-notice {
    flex-wrap: wrap;
  }
  .ck-notice p { flex: 1 1 calc(100% - 78px); }
  .ck-actions {
    width: 100%;
    justify-content: flex-end;
  }
}
@media (max-width: 640px) {
  .ck-banner { padding: 0 12px; }
  .ck-card {
    padding: 20px;
    border-radius: 22px;
  }
  .ck-notice { align-items: flex-start; }
  .ck-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .ck-btn { width: 100%; }
  .ck-form .ck-actions { align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  .ck-card { transition: none; }
}
