.ck, .ckp { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: #1f1f1f; letter-spacing: 0; }
.ck { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: #fff; border-top: 1px solid #dcdcdc; box-shadow: 0 -8px 30px rgba(0, 0, 0, .14); }
.ck__in { max-width: 1200px; margin: 0 auto; padding: 22px 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 40px; align-items: center; }
.ck__text .ck__title { margin: 0 0 6px; font-size: 1.18rem; font-weight: 700; color: #111; line-height: 1.3; }
.ck__text p { margin: 0; font-size: .92rem; line-height: 1.55; color: #3c3c3c; }
.ck__text a { color: #111; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.ck__btns { display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 10px; }
.ck__btns .ck__btn--link { grid-column: 1 / -1; }
.ck__btn { min-height: 46px; padding: 0 20px; border-radius: 4px; font-family: inherit; font-size: .95rem; font-weight: 700; line-height: 1.2; white-space: nowrap; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.ck__btn--solid { background: #111; color: #fff; border: 2px solid #111; }
.ck__btn--solid:hover { background: #333; border-color: #333; }
.ck__btn--outline { background: #fff; color: #111; border: 2px solid #111; }
.ck__btn--outline:hover { background: #f2f2f2; }
.ck__btn--link { background: none; border: 0; color: #111; text-decoration: underline; text-underline-offset: 3px; min-height: 36px; }
.ck__btn:focus-visible, .ckp__close:focus-visible, .ckp__sw input:focus-visible + i { outline: 3px solid #2563eb; outline-offset: 2px; }
.ckp { position: fixed; inset: 0; z-index: 210; background: rgba(0, 0, 0, .55); display: grid; place-items: center; padding: 16px; }
.ckp[hidden] { display: none; }
.ckp__box { width: 100%; max-width: 560px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: #fff; border-radius: 8px; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); overflow: hidden; }
.ckp__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid #e6e6e6; }
.ckp__title { margin: 0; font-size: 1.15rem; font-weight: 700; color: #111; }
.ckp__close { width: 36px; height: 36px; border: 0; background: #f2f2f2; border-radius: 50%; font-size: 1.4rem; line-height: 1; cursor: pointer; color: #111; }
.ckp__body { padding: 18px 22px; overflow: auto; font-size: .92rem; line-height: 1.55; color: #3c3c3c; }
.ckp__body > p { margin: 0 0 14px; }
.ckp__cat { border: 1px solid #e6e6e6; border-radius: 6px; padding: 14px 16px; margin-bottom: 10px; }
.ckp__cat p { margin: 6px 0 0; font-size: .87rem; color: #555; }
.ckp__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #111; cursor: pointer; }
.ckp__on { font-size: .82rem; font-weight: 700; color: #1a7f37; }
.ckp__sw { position: relative; width: 46px; height: 26px; flex: none; }
.ckp__sw input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ckp__sw i { position: absolute; inset: 0; border-radius: 26px; background: #c7c7c7; transition: background .15s; pointer-events: none; }
.ckp__sw i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .15s; }
.ckp__sw input:checked + i { background: #111; }
.ckp__sw input:checked + i::after { transform: translateX(20px); }
.ckp__foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 14px 22px 18px; border-top: 1px solid #e6e6e6; }
.ckp__foot .ck__btn { padding: 0 8px; font-size: .9rem; }
html.ck-lock { overflow: hidden; }
@media (max-width: 760px) {
  .ck__in { grid-template-columns: minmax(0, 1fr); padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); gap: 14px; }
  .ck__btns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ckp__foot { grid-template-columns: minmax(0, 1fr); }
}
