/* ==========================================================================
   KCOS CMP 同意横幅（Tier1 合规 · 复用站点令牌与暗色基调）
   ========================================================================== */
.cmp {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: rgba(7, 7, 16, 0.96);
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  color: #F8F8FA;
  padding: 16px 18px calc(16px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.45);
  transform: translateY(110%);
  transition: transform 0.35s ease;
}
.cmp[data-open="true"] { transform: translateY(0); }
.cmp__inner { max-width: 920px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cmp__text { flex: 1 1 320px; font-size: 13px; line-height: 1.55; color: #C9C9D6; }
.cmp__text a { color: #D4AF37; text-decoration: underline; }
.cmp__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cmp__btn {
  font: inherit; font-size: 13px; cursor: pointer;
  border-radius: 999px; padding: 9px 18px; border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.cmp__btn:active { transform: translateY(1px); }
.cmp__btn--all { background: #D4AF37; color: #070710; font-weight: 600; }
.cmp__btn--reject { background: transparent; color: #F8F8FA; border-color: rgba(248, 248, 250, 0.4); }
.cmp__btn--manage { background: rgba(34, 209, 209, 0.12); color: #22D1D1; border-color: rgba(34, 209, 209, 0.4); }

/* 管理面板 */
.cmp__panel { flex: 1 1 100%; display: none; margin-top: 6px; padding-top: 12px; border-top: 1px solid rgba(248,248,250,0.12); }
.cmp[data-manage="true"] .cmp__panel { display: block; }
.cmp__row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; font-size: 13px; }
.cmp__row--locked { opacity: 0.7; }
.cmp__row small { color: #8A8A99; display: block; font-size: 11px; margin-top: 2px; }
.cmp__save { margin-top: 6px; }

/* 重新打开「Cookie 设置」的小入口（页脚） */
.cmp-settings {
  background: none; border: none; color: #8A8A99; font: inherit; font-size: 12px;
  cursor: pointer; text-decoration: underline; padding: 0;
}
.cmp-settings:hover { color: #D4AF37; }
