.ckp-release-dialog {
  box-sizing: border-box;
  width: min(600px, calc(100% - 32px));
  max-height: min(760px, calc(100dvh - 40px));
  padding: 0;
  border: 1px solid var(--line, #e1e1df);
  border-radius: 22px;
  background: var(--white, #fff);
  color: var(--ink, #242629);
  box-shadow: 0 24px 80px #0004;
  font: inherit;
  overflow: hidden;
}
.ckp-release-dialog[open] { display: flex; flex-direction: column; }
.ckp-release-dialog::backdrop { background: #17191c80; backdrop-filter: blur(4px); }
.ckp-release-header, .ckp-release-footer { display: flex; align-items: center; gap: 16px; padding: 20px 24px; flex-shrink: 0; }
.ckp-release-header { justify-content: space-between; border-bottom: 1px solid var(--line, #e1e1df); }
.ckp-release-header h2 { margin: 0; font-size: 24px; }
.ckp-release-content { padding: 20px 24px; overflow-y: auto; overscroll-behavior: contain; }
.ckp-release-content article + article { border-top: 1px solid var(--line, #e1e1df); margin-top: 24px; padding-top: 24px; }
.ckp-release-content time { color: var(--muted, #6f7275); font-size: 14px; }
.ckp-release-content h3 { font-size: 16px; margin: 20px 0 8px; color: var(--gold, #c96522); }
.ckp-release-content ul { margin: 0; padding-left: 20px; }
.ckp-release-content li { margin: 8px 0; line-height: 1.55; }
.ckp-release-footer { justify-content: flex-end; border-top: 1px solid var(--line, #e1e1df); }
.ckp-release-link { border: 0; background: none; padding: 8px 0; color: var(--gold, #c96522); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 480px) {
  .ckp-release-header, .ckp-release-footer, .ckp-release-content { padding: 16px; }
  .ckp-release-header h2 { font-size: 21px; }
  .ckp-release-footer .btn { width: 100%; }
}

.ckp-push-dialog .ckp-release-header h2 {
  min-width: 0;
  overflow-wrap: anywhere;
}
.ckp-push-dialog .ckp-release-header button {
  flex-shrink: 0;
}
.ckp-push-dialog-message {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.55;
}
.ckp-push-dialog .ckp-release-footer a {
  text-align: center;
  text-decoration: none;
}

.ckp-release-visibility {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line, #e1e1df);
}
.ckp-release-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  cursor: pointer;
}
.ckp-release-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.ckp-release-switch-track {
  position: relative;
  flex: 0 0 34px;
  height: 20px;
  border: 1px solid var(--muted, #777);
  border-radius: 20px;
  background: var(--line, #d4d5d6);
}
.ckp-release-switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  inset-inline-start: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink, #242629);
}
.ckp-release-switch input:checked + .ckp-release-switch-track {
  background: var(--gold, #c96522);
}
.ckp-release-switch input:checked + .ckp-release-switch-track::after {
  transform: translateX(14px);
}
.ckp-release-switch input:focus-visible + .ckp-release-switch-track {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.ckp-release-visibility-status {
  margin: 0;
  font-size: 14px;
}
