/* 挂到页脚里的「Cookie 设置」链接 */
.rl-ck-settings {
  display: inline-block;
  margin-left: 10px;
  font-size: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
  opacity: .8;
}
.rl-ck-settings:hover { opacity: 1; }

.rl-ck {
  font-family:var(--rl-font,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif);
  font-size:14px;
  line-height:1.6;
  color:var(--rl-text,#1f2937);
  background:var(--rl-bg,#fff);
  -webkit-font-smoothing:antialiased;
  text-align:start;
}
.rl-ck *,.rl-ck *::before,.rl-ck *::after {
  box-sizing:border-box;
}
.rl-ck p,.rl-ck ul,.rl-ck li,.rl-ck h2 {
  margin:0;
  padding:0;
  list-style:none;
}
.rl-ck {
  position:relative;
  border-top:1px solid var(--rl-border,#e5e7eb);
  box-shadow:0 -6px 30px rgba(16,24,40,.10);
  padding:22px 0;
  max-height:100vh;
  overflow-y:auto;
  pointer-events:auto;
}
.rl-ck--bottom {
  transform:translateY(115%);
  visibility:hidden;
  transition:transform .45s cubic-bezier(.4,0,.2,1),visibility .45s;
}
.rl-ck--bottom.rl-ck--show {
  transform:translateY(0);
  visibility:visible;
}
.rl-ck--center {
  width:min(92vw,580px);
  border:1px solid var(--rl-border,#e5e7eb);
  border-top:1px solid var(--rl-border,#e5e7eb);
  border-radius:var(--rl-radius,12px);
  box-shadow:0 20px 60px rgba(16,24,40,.28);
  padding:26px 28px 22px;
  opacity:0;
  visibility:hidden;
  transform:scale(.96);
  transition:opacity .3s,transform .3s cubic-bezier(.4,0,.2,1),visibility .3s;
  max-height:88vh;
}
.rl-ck--center.rl-ck--show {
  opacity:1;
  transform:none;
  visibility:visible;
}
.rl-ck-bd {
  position:absolute;
  left:0;
  right:0;
  top:0;
  bottom:0;
  background:rgba(8,18,38,.45);
  opacity:0;
  visibility:hidden;
  transition:opacity .3s,visibility .3s;
  pointer-events:auto;
}
.rl-ck-bd--show {
  opacity:1;
  visibility:visible;
}
.rl-ck__inner {
  width:90%;
  max-width:var(--rl-max,1440px);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px 40px;
}
.rl-ck--center .rl-ck__inner {
  width:100%;
  max-width:none;
  flex-direction:column;
  align-items:stretch;
  gap:20px;
}
.rl-ck__txt {
  min-width:0;
  flex:1 1 auto;
}
.rl-ck__title {
  font-size:17px;
  font-weight:600;
  line-height:1.4;
  color:var(--rl-primary,#1a56db);
  margin-bottom:6px;
}
.rl-ck__desc {
  font-size:13px;
  line-height:1.7;
  color:var(--rl-muted,#6b7280);
}
.rl-ck__desc a {
  color:var(--rl-primary,#1a56db);
  text-decoration:underline;
}
.rl-ck__desc a:hover {
  color:var(--rl-primary-hover,#1e40af);
}
.rl-ck__btns {
  display:flex;
  align-items:center;
  gap:12px;
  flex:0 0 auto;
  flex-wrap:wrap;
}
.rl-ck--center .rl-ck__btns {
  justify-content:flex-start;
}
.rl-ck__btn {
  display:inline-block;
  height:44px;
  padding:0 26px;
  border:1px solid transparent;
  border-radius:calc(var(--rl-radius,12px) * 2);
  font-family:inherit;
  font-size:14px;
  font-weight:500;
  line-height:42px;
  white-space:nowrap;
  text-align:center;
  cursor:pointer;
  background:none;
  transition:background-color .25s,color .25s,border-color .25s;
}
.rl-ck__btn--primary {
  background:var(--rl-primary,#1a56db);
  border-color:var(--rl-primary,#1a56db);
  color:#fff;
}
.rl-ck__btn--primary:hover {
  background:var(--rl-primary-hover,#1e40af);
  border-color:var(--rl-primary-hover,#1e40af);
}
.rl-ck__btn--ghost {
  background:transparent;
  border-color:#cbd2dc;
  color:var(--rl-text,#1f2937);
}
.rl-ck__btn--ghost:hover {
  border-color:var(--rl-primary,#1a56db);
  color:var(--rl-primary,#1a56db);
}
.rl-ck__btn--link {
  height:auto;
  padding:0;
  border:0;
  line-height:1.6;
  color:var(--rl-muted,#6b7280);
  text-decoration:underline;
}
.rl-ck__btn--link:hover {
  color:var(--rl-primary,#1a56db);
}
.rl-ck__btn:focus-visible {
  outline:2px solid var(--rl-primary,#1a56db);
  outline-offset:2px;
}
.rl-ck__panel {
  display:none;
  width:90%;
  max-width:var(--rl-max,1440px);
  margin:0 auto;
}
.rl-ck--panel .rl-ck__panel {
  display:block;
  margin-top:18px;
}
.rl-ck--center .rl-ck__panel {
  width:100%;
  max-width:none;
}
.rl-ck__list {
  border-top:1px solid var(--rl-border,#e5e7eb);
}
.rl-ck__item {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  padding:14px 0;
  border-bottom:1px solid var(--rl-border,#e5e7eb);
}
.rl-ck__item-txt {
  min-width:0;
}
.rl-ck__item-name {
  font-size:15px;
  font-weight:600;
  color:var(--rl-text,#1f2937);
}
.rl-ck__item-desc {
  font-size:13px;
  line-height:1.65;
  color:var(--rl-muted,#6b7280);
  margin-top:2px;
}
.rl-ck__lock {
  display:inline-block;
  margin-left:8px;
  padding:1px 8px;
  border-radius:20px;
  background:rgba(26,86,219,.10);
  color:var(--rl-primary,#1a56db);
  font-size:11px;
  font-weight:500;
  vertical-align:1px;
}
.rl-ck__panel-ft {
  display:flex;
  justify-content:flex-end;
  gap:12px;
  padding-top:18px;
}
.rl-ck__switch {
  position:relative;
  flex:0 0 auto;
  width:48px;
  height:26px;
  margin-top:4px;
}
.rl-ck__switch input {
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:100%;
  margin:0;
  opacity:0;
  cursor:pointer;
  z-index:2;
}
.rl-ck__switch i {
  position:absolute;
  left:0;
  top:0;
  right:0;
  bottom:0;
  display:block;
  background:#cfd6e0;
  border-radius:13px;
  transition:background-color .25s;
}
.rl-ck__switch i::after {
  content:"";
  position:absolute;
  left:3px;
  top:3px;
  width:20px;
  height:20px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 1px 3px rgba(16,24,40,.28);
  transition:transform .25s;
}
.rl-ck__switch input:checked + i {
  background:var(--rl-primary,#1a56db);
}
.rl-ck__switch input:checked + i::after {
  transform:translateX(22px);
}
.rl-ck__switch input:disabled {
  cursor:not-allowed;
}
.rl-ck__switch input:disabled + i {
  opacity:.45;
}
.rl-ck__switch input:focus-visible + i {
  outline:2px solid var(--rl-primary,#1a56db);
  outline-offset:2px;
}
@media screen and (max-width:1024px) {
  .rl-ck {
    padding:18px 0;
  }
  .rl-ck__inner {
    flex-direction:column;
    align-items:stretch;
    gap:16px;
  }
  .rl-ck__btns {
    flex-direction:column;
    align-items:stretch;
    gap:10px;
  }
  .rl-ck__btn {
    width:100%;
    padding:0 16px;
  }
  .rl-ck__btn--link {
    height:34px;
    line-height:34px;
  }
  .rl-ck--center {
    padding:22px 20px 18px;
  }
  .rl-ck__item {
    gap:16px;
  }
  .rl-ck__panel-ft {
    flex-direction:column-reverse;
  }
}
@media screen and (max-width:768px) {
  .rl-ck__title {
    font-size:16px;
  }
  .rl-ck__item-name {
    font-size:14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rl-ck,.rl-ck-bd {
    transition:none !important;
  }
}
