﻿/* 岐黄打卡 · 青瓷疏影（与 C 端壳对齐） */
.ck-hero {
  padding: 16px 14px 14px;
  background: linear-gradient(165deg, #F4F1EA 0%, #F1EEE6 55%, #E8EDE8 100%);
  color: #2C2F2D;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #D8D4C8;
  max-height: 200px;
  opacity: 1;
  /* 禁止 max-height/padding 动画：滚动中改布局高度会把 scrollTop 来回夹，造成整页闪 */
  transition: opacity 0.16s ease;
}
.page[data-page="checkin"].is-hero-hidden .ck-hero {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom-color: transparent;
  pointer-events: none;
  transition: none;
}
.ck-hero::after {
  content: ""; position: absolute; right: -24px; top: -16px;
  width: 110px; height: 110px; border-radius: 50%;
  background: rgba(118,163,147,.12);
}
.ck-hero-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.ck-hero h2 { font-size: 18px; font-weight: 700; margin-bottom: 4px; font-family: var(--font-serif, "Songti SC", "SimSun", serif); color: #2C2F2D; }
.ck-hero p { font-size: 13px; color: #6A716C; line-height: 1.45; max-width: 240px; }
.ck-points {
  flex-shrink: 0; text-align: center; padding: 8px 12px; border-radius: 8px;
  background: #F7F6F4; border: 1px solid #D8D4C8;
}
.ck-points b { display: block; font-size: 22px; line-height: 1.1; color: #76A393; }
.ck-points span { font-size: 12px; color: #6A716C; }
.ck-tabs {
  display: flex; gap: 0; padding: 0 8px; background: #F7F6F4;
  border-bottom: 1px solid #D8D4C8; flex-shrink: 0; overflow-x: auto;
  scrollbar-width: none; -ms-overflow-style: none;
}
.ck-tabs::-webkit-scrollbar { width: 0; height: 0; display: none; }
.ck-tabs button {
  flex-shrink: 0; padding: 12px 14px; font-size: 14px; color: #6A716C;
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.ck-tabs button.on { color: #76A393; font-weight: 700; border-bottom-color: #76A393; }

/* 我的 · 打卡入口 */
.mine-account {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 10px; margin-bottom: 10px; padding: 2px 2px 0;
}
.mine-account b { font-size: 20px; color: #2C2F2D; }
.mine-account span { font-size: 14px; color: #5a6f67; }
.ck-gate-card {
  display: block;
  width: 100%;
  text-align: left;
  padding: 16px 14px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(12,42,34,.12);
  font: inherit;
  color: inherit;
}
.ck-gate-card b { display: block; font-size: 16px; margin-bottom: 4px; color: #2C2F2D; }
.ck-gate-card span { font-size: 14px; color: #5a6f67; line-height: 1.45; }
.ck-gate-card:active { background: #f4f7f5; }

/* 传灯圈 · 朋友圈 */
.mm-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin-bottom: 10px; font-size: 13px; color: #5a6f67;
  min-width: 0;
}
.mm-toolbar em {
  font-style: normal; margin-left: auto; color: #8a9e96;
  flex: 1 1 100%; text-align: left; font-size: 12px; line-height: 1.45;
}
.mm-role-badge {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 700;
}
.mm-role-badge.curator { background: #fff7e8; color: #9a6b14; border: 1px solid rgba(184,137,45,.35); }
.mm-role-badge.duty { background: #eef7f2; color: #76A393; border: 1px solid rgba(31,92,72,.25); }
.mm-role-badge.peer { background: #f3f5f4; color: #5a6f67; border: 1px solid rgba(12,42,34,.08); }
.mm-view-demo { font-size: 12px; color: #8a9e96; margin-left: 4px; }
.mm-view {
  padding: 5px 12px; border-radius: 99px; font-size: 13px; font-weight: 600;
  border: 1px solid rgba(12,42,34,.12); background: #fff; color: #5a6f67;
}
.mm-view.on { background: #2C2F2D; color: #fff; border-color: #2C2F2D; }
.mm-like.curator { background: #fff7e8; color: #9a6b14; border: 1px solid rgba(184,137,45,.4); }
.mm-like.curator.on { background: #c9a227; color: #fff; border-color: #c9a227; }
.mm-like.duty { background: #eef7f2; color: #76A393; }
.ck-sop-locked {
  border-radius: 12px;
  border: 1px dashed rgba(12,42,34,.2);
  background: #f7faf8;
  padding: 14px;
  margin-bottom: 10px;
}
.ck-sop-locked b { display: block; font-size: 14px; color: #2C2F2D; margin-bottom: 6px; }
.ck-sop-locked p { margin: 0 0 10px; font-size: 12px; color: #5a6f67; line-height: 1.5; }
.ck-sop-locked ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ck-sop-locked li {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 8px 10px; border-radius: 8px; background: #fff;
  border: 1px solid rgba(12,42,34,.06); font-size: 12px; color: #2C2F2D;
}
.ck-sop-locked li span { color: #8a9e96; }
.mm-day { display: grid; grid-template-columns: 40px 1fr; gap: 10px; margin-bottom: 12px; }
.mm-day-rail { text-align: center; padding-top: 2px; }
.mm-day-rail b { display: block; font-size: 17px; line-height: 1.15; color: #2C2F2D; }
.mm-day-rail span { font-size: 12px; color: #8a9e96; }
/* 日期融入流：取消左栏竖条，改横条小标签 */
.mm-day--flow {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.mm-day-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  align-self: flex-start;
  padding: 1px 8px;
  border-radius: 99px;
  background: rgba(118, 163, 147, .12);
  border: 1px solid rgba(118, 163, 147, .22);
  line-height: 1.2;
}
.mm-day-chip b {
  font-size: 11px;
  font-weight: 700;
  color: #2C2F2D;
  letter-spacing: .03em;
}
.mm-day-chip span {
  font-size: 10px;
  color: #6b7c74;
}
.mm-day-list { display: grid; gap: 10px; min-width: 0; }
.mm-card {
  background: #fff; border-radius: 12px; padding: 10px 12px;
  border: 1px solid rgba(12,42,34,.08);
}
.mm-card.tone-child { border-left: 3px solid #ff8a3d; }
.mm-card.tone-duty { border-left: 3px solid #b8892d; }
.mm-card.tone-adult { border-left: 3px solid #1f6b55; }
.mm-card-top { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.mm-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
  background: #e8efec; color: #2C2F2D;
}
.mm-who b { display: block; font-size: 15px; line-height: 1.3; font-weight: 700; }
.mm-who span { font-size: 12px; color: #8a9e96; line-height: 1.35; }
.mm-who-meta {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #8a9e96;
}
.mm-title { font-size: 15px; font-weight: 700; margin: 0 0 4px; color: #14241f; line-height: 1.4; }
.mm-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
}
.mm-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.3;
  color: #3a4f47;
  background: #eef3f0;
  border: 1px solid rgba(12, 42, 34, .08);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mm-chip--title {
  color: #14241f;
  background: #f3f7f4;
  border-color: rgba(31, 92, 72, .18);
  font-weight: 700;
}
.mm-chip--sec {
  color: #76A393;
  background: rgba(118, 163, 147, .12);
  border-color: rgba(118, 163, 147, .28);
  flex-shrink: 0;
}
.mm-chip--soft {
  color: #7a4e00;
  background: rgba(232, 197, 71, .28);
  border-color: rgba(184, 137, 45, .28);
  flex-shrink: 0;
}
.mm-note { font-size: 14px; color: #3a4f47; line-height: 1.55; margin: 0 0 6px; white-space: pre-wrap; }
.mm-insight {
  margin: 0 0 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f7f2e4;
  border: 1px solid rgba(184, 137, 45, .22);
}
.mm-insight--inline {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px 8px;
  padding: 6px 8px;
}
.mm-insight--inline p { flex: 1 1 120px; min-width: 0; }
.mm-insight-tag {
  display: inline-block;
  margin-bottom: 4px;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #7a4e00;
  background: rgba(232, 197, 71, .32);
}
.mm-insight p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #3a2a10;
  white-space: pre-wrap;
}
.mm-card.is-note { box-shadow: 0 2px 14px rgba(184, 137, 45, .12); }
.mm-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; align-items: center; }
.mm-actions--inline {
  align-items: center;
  gap: 6px 8px;
  flex-wrap: wrap;
}
.mm-actions--inline .mm-likes--seals {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  gap: 6px 8px;
  vertical-align: middle;
  max-width: 100%;
  overflow: visible;
}
.mm-actions--inline .mm-seal {
  margin: 0;
  vertical-align: middle;
  flex-shrink: 0;
}
.mm-like, .mm-share, .mm-cmt-btn {
  padding: 6px 10px; border-radius: 8px; font-size: 12px; font-weight: 600;
  border: 1px solid rgba(12,42,34,.12); background: #f7faf8; color: #5a6f67;
  cursor: pointer;
}
.mm-like:hover, .mm-cmt-btn:hover { border-color: rgba(31,92,72,.35); color: #76A393; }
.mm-cmt-btn:active { background: #eef3f0; }
.mm-like.on.peer { background: #eef3f0; color: #1f6b55; border-color: #b8d4c8; }
.mm-like.on.duty, .mm-like.duty.on {
  background: linear-gradient(135deg, #c9a227, #8a6a12); color: #fff; border-color: transparent;
}
.mm-like.on.curator, .mm-like.curator.on {
  background: linear-gradient(135deg, #2C2F2D, #1a4a3c); color: #f3e8cf; border-color: transparent;
  box-shadow: 0 0 0 1px rgba(184,137,45,.5);
}
.mm-share {
  background: #2C2F2D; color: #f3e8cf; border-color: #2C2F2D;
}
.mm-likes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  font-size: 12px;
  line-height: 1.45;
  min-height: 0;
  margin: 2px 0 6px;
}
.mm-stamp-hint { font-size: 12px !important; color: #6b7c74; margin-left: 4px !important; }
.mm-comments {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f3f6f4;
}
.mm-comments.is-compact {
  margin-top: 6px;
  padding: 0;
  background: transparent;
}
.mm-comments.is-compact.is-open {
  padding: 0;
  background: transparent;
}
.mm-comments.is-collapsed {
  margin-top: 6px;
  padding: 0;
  background: transparent;
}
.mm-comments.is-collapsed.is-open {
  padding: 10px 12px;
  background: #f3f6f4;
}
/* 展开时只留表单一行，幽灵条必须藏掉（display:block 会盖掉原生 hidden） */
.mm-comments.is-open > .mm-cmt-ghost,
.mm-comments.is-open > .mm-cmt-peek,
.mm-cmt-ghost[hidden],
.mm-cmt-peek[hidden],
.mm-cmt-panel[hidden] {
  display: none !important;
}
.mm-cmt-ghost {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  padding: 8px 14px;
  border-radius: 99px;
  border: 1px solid rgba(12, 42, 34, .14);
  background: #f0f3f1;
  color: #8a9e96;
  font-size: 13px;
  font-weight: 400;
  cursor: text;
  box-shadow: inset 0 1px 2px rgba(12, 42, 34, .04);
}
.mm-cmt-ghost:hover,
.mm-cmt-ghost:focus-visible {
  border-color: rgba(31, 92, 72, .32);
  background: #eef2ef;
  color: #6b7c74;
  outline: none;
}
.mm-cmt-peek {
  display: block;
  width: 100%;
  text-align: left;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px dashed rgba(12, 42, 34, .14);
  background: #f7faf8;
  color: #5a6f67;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.mm-cmt-peek:hover { border-color: rgba(31, 92, 72, .35); color: #76A393; }
.mm-cmt-form--compact {
  margin-top: 0;
}
.mm-cmt-form--compact input {
  padding: 6px 12px;
  font-size: 12px;
  background: #fff;
}
.mm-cmt-form--compact button {
  padding: 6px 12px;
  font-size: 12px;
}
.mm-cmt {
  font-size: 13px; line-height: 1.5; color: #3a4f47;
  margin-bottom: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
}
.mm-cmt:active, .mm-cmt.is-replying { background: rgba(12,42,34,.06); }
.mm-cmt-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; }
.mm-cmt b { color: #2C2F2D; margin-right: 2px; font-weight: 700; }
.mm-cmt-reply-hint {
  margin-left: auto;
  font-style: normal;
  font-size: 10px;
  color: #1f6b55;
  font-weight: 600;
  opacity: .75;
}
.mm-cmt-quote {
  display: block;
  margin: 0 0 4px;
  padding: 5px 8px;
  border-radius: 6px;
  border-left: 3px solid #c9a227;
  background: rgba(255,255,255,.75);
  color: #5a6f67;
}
.mm-cmt-quote-who {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #8a6a12;
  margin-bottom: 2px;
}
.mm-cmt-quote-text {
  display: block;
  font-size: 11px;
  line-height: 1.4;
  color: #5a6f67;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mm-cmt-empty { font-size: 12px; color: #8a9e96; margin-bottom: 6px; }
.mm-cmt-replying {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 6px; padding: 6px 8px;
  border-radius: 8px; background: #eef6f1;
  font-size: 12px; color: #1f6b55;
}
.mm-cmt-replying[hidden] { display: none !important; }
.mm-cmt-replying span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm-cmt-reply-cancel {
  flex-shrink: 0; font-size: 12px; font-weight: 700; color: #5a6f67;
  padding: 2px 6px;
}
.mm-cmt-form {
  display: grid; grid-template-columns: 1fr auto; gap: 6px; margin-top: 4px;
}
.mm-cmt-form input {
  width: 100%; padding: 8px 12px; border-radius: 99px;
  border: 1px solid rgba(12,42,34,.12); background: #fff; font-size: 13px;
}
.mm-cmt-form button {
  padding: 8px 14px; border-radius: 99px; font-size: 13px; font-weight: 700;
  background: #2C2F2D; color: #f3e8cf; border: none;
}
.mm-seal {
  --i: 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin: 0;
  padding: 3px 8px 3px 6px;
  min-height: 24px;
  height: 24px;
  box-sizing: border-box;
  border-radius: 6px;
  font-weight: 800;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .02em;
  overflow: visible;
  isolation: isolate;
  transform-origin: center;
  vertical-align: middle;
}
.mm-seal-text { position: relative; z-index: 2; }
.mm-seal-ring, .mm-seal-burst, .mm-seal-shine {
  position: absolute; pointer-events: none; inset: 0; border-radius: inherit;
}
.mm-seal.duty {
  color: #5c3f00;
  background: linear-gradient(145deg, #fff6d6 0%, #f0d78a 42%, #c9a227 100%);
  border: 1px solid #e8c547;
  box-shadow:
    0 0 0 1px rgba(255, 236, 170, .7) inset,
    0 1px 4px rgba(184, 137, 45, .28);
  text-shadow: 0 1px 0 rgba(255,255,255,.45);
}
.mm-lamp-fx-particles {
  position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none;
}
.mm-lamp-fx-particles i {
  position: absolute; left: 50%; top: 40%;
  width: 6px; height: 6px; margin: -3px;
  border-radius: 50%;
  background: #ffe9a0;
  box-shadow: 0 0 10px #e8c547;
  opacity: 0;
  transform: rotate(var(--a)) translateY(0) scale(.4);
}
.mm-lamp-fx--in .mm-lamp-fx-particles i {
  animation: mmParticle 2s ease-out var(--d) both;
}
@keyframes mmParticle {
  0% { opacity: 0; transform: rotate(var(--a)) translateY(0) scale(.3); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--a)) translateY(calc(var(--r, 36vmin) * -1)) scale(1.1); }
}

.mm-seal.curator {
  gap: 4px;
  padding: 3px 9px 3px 5px;
  color: #5a3a00;
  background:
    linear-gradient(155deg, #fff9e6 0%, #ffe08a 28%, #e8c547 58%, #c9a227 100%);
  border: 1px solid #f0d060;
  box-shadow:
    0 0 0 1px rgba(255, 248, 220, .9) inset,
    0 1px 5px rgba(184, 137, 45, .32),
    0 0 10px rgba(232, 197, 71, .28);
  letter-spacing: .04em;
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
  cursor: pointer;
}
.mm-seal-lamp {
  position: relative;
  z-index: 2;
  width: 12px;
  height: 14px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 2px rgba(255, 180, 40, .7));
  animation: mmSealLampFlicker 2.2s ease-in-out infinite;
}
.mm-seal-chuandeng {
  color: #7a4e00;
  font-weight: 900;
  text-shadow: 0 0 6px rgba(255, 220, 120, .45);
}
@keyframes mmSealLampFlicker {
  0%, 100% { filter: drop-shadow(0 0 3px rgba(255,180,40,.7)); opacity: 1; }
  45% { filter: drop-shadow(0 0 7px rgba(255,200,60,1)); opacity: .95; }
  55% { filter: drop-shadow(0 0 5px rgba(255,180,40,.85)); opacity: 1; }
}
.mm-seal.duty .mm-seal-shine,
.mm-seal.curator .mm-seal-shine {
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%);
  mix-blend-mode: soft-light;
  animation: mmShine 2.8s ease-in-out infinite;
}
.mm-seal.duty .mm-seal-ring {
  inset: -6px;
  border: 2px solid rgba(232, 197, 71, .55);
  border-radius: 12px;
  opacity: 0;
}
.mm-seal.curator .mm-seal-ring {
  inset: -6px;
  border: 2px solid rgba(212, 175, 55, .5);
  border-radius: 12px;
  opacity: 0;
}
.mm-seal-burst::before,
.mm-seal-burst::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #ffe9a0;
  box-shadow:
    18px -8px 0 #ffd76a, -16px -6px 0 #fff3c4, 10px 14px 0 #e8c547,
    -12px 12px 0 #ffecb0, 0 -18px 0 #ffe082, 22px 6px 0 #d4af37,
    -22px 2px 0 #fff8dc, 6px -16px 0 #f0d78a;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.2);
}
.mm-seal.curator .mm-seal-burst::before,
.mm-seal.curator .mm-seal-burst::after {
  background: #d4af37;
  box-shadow:
    18px -8px 0 #f3e8cf, -16px -6px 0 #b8892d, 10px 14px 0 #ffe9a0,
    -12px 12px 0 #c9a227, 0 -18px 0 #f8efd0, 22px 6px 0 #d4af37;
}
/* 首进传灯圈：金印砸印 + 光环 + 碎金 */
.mm-first-enter .mm-seal {
  animation: mmStamp .75s cubic-bezier(.15,1.4,.35,1) both;
  animation-delay: calc(var(--i) * 140ms + 180ms);
}
.mm-first-enter .mm-seal .mm-seal-ring {
  animation: mmRing .9s ease-out both;
  animation-delay: calc(var(--i) * 140ms + 280ms);
}
.mm-first-enter .mm-seal .mm-seal-burst::before {
  animation: mmBurst .85s ease-out both;
  animation-delay: calc(var(--i) * 140ms + 320ms);
}
.mm-first-enter .mm-seal .mm-seal-burst::after {
  animation: mmBurst .85s ease-out both;
  animation-delay: calc(var(--i) * 140ms + 380ms);
  transform: translate(-50%, -50%) rotate(28deg) scale(.2);
}
.mm-first-enter .mm-card:has(.mm-seal) {
  animation: mmCardGlow 1.1s ease-out both;
  animation-delay: calc(var(--i, 0) * 80ms);
}
@keyframes mmStamp {
  0% { opacity: 0; transform: scale(1.85) rotate(-12deg); filter: brightness(1.8); }
  55% { opacity: 1; transform: scale(.92) rotate(2deg); filter: brightness(1.2); }
  75% { transform: scale(1.06) rotate(-1deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); filter: brightness(1); }
}
@keyframes mmRing {
  0% { opacity: .95; transform: scale(.7); }
  100% { opacity: 0; transform: scale(1.55); }
}
@keyframes mmBurst {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.2); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.6); }
}
@keyframes mmShine {
  0%, 100% { transform: translateX(-120%); opacity: 0; }
  40% { opacity: .9; }
  70% { transform: translateX(120%); opacity: 0; }
}
@keyframes mmCardGlow {
  0% { box-shadow: 0 0 0 rgba(201,162,39,0); }
  40% { box-shadow: 0 0 24px rgba(201,162,39,.35); }
  100% { box-shadow: 0 0 0 rgba(201,162,39,0); }
}
/* 常驻微呼吸，非首进也有辨识度 */
.mm-seal.duty {
  animation: mmIdleGold 2.6s ease-in-out infinite;
}
.mm-seal.curator {
  animation: mmIdleCuratorGold 2.8s ease-in-out infinite;
}
.mm-first-enter .mm-seal.duty,
.mm-first-enter .mm-seal.curator {
  animation-name: mmStamp, mmIdleGold;
  animation-duration: .75s, 2.6s;
  animation-timing-function: cubic-bezier(.15,1.4,.35,1), ease-in-out;
  animation-delay: calc(var(--i) * 140ms + 180ms), 1.1s;
  animation-fill-mode: both, none;
  animation-iteration-count: 1, infinite;
}
.mm-first-enter .mm-seal.curator {
  animation-name: mmStamp, mmIdleCuratorGold;
}
@keyframes mmIdleGold {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,236,170,.9) inset, 0 2px 8px rgba(184,137,45,.35), 0 0 14px rgba(232,197,71,.35); }
  50% { box-shadow: 0 0 0 1px rgba(255,248,210,1) inset, 0 3px 12px rgba(184,137,45,.5), 0 0 26px rgba(255,215,80,.65); }
}
@keyframes mmIdleCuratorGold {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255,248,220,.95) inset,
      0 2px 10px rgba(184,137,45,.4),
      0 0 18px rgba(232,197,71,.5),
      0 0 28px rgba(255,200,60,.22);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255,255,240,1) inset,
      0 3px 14px rgba(184,137,45,.55),
      0 0 28px rgba(255,215,80,.75),
      0 0 44px rgba(255,190,50,.4);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mm-seal, .mm-seal .mm-seal-shine, .mm-first-enter .mm-seal,
  .mm-first-enter .mm-seal .mm-seal-ring, .mm-first-enter .mm-seal .mm-seal-burst::before,
  .mm-first-enter .mm-seal .mm-seal-burst::after, .mm-first-enter .mm-card:has(.mm-seal) {
    animation: none !important;
  }
}
.mm-seal.curator.mm-seal--receive {
  animation: mmSealReceive .9s ease-out both;
  z-index: 5;
}
.mm-seal.curator.mm-seal--lit {
  box-shadow:
    0 0 0 1px rgba(255,255,240,1) inset,
    0 0 28px rgba(255,215,80,.85),
    0 0 48px rgba(232,197,71,.55) !important;
}
@keyframes mmSealReceive {
  0% { transform: scale(1); filter: brightness(1); }
  40% { transform: scale(1.35); filter: brightness(1.6); }
  100% { transform: scale(1); filter: brightness(1.15); }
}

/* 传灯印 · 整页典礼（自动一次；点印章可重播） */
.mm-lamp-fx {
  --mm-tx: 0px;
  --mm-ty: 0px;
  --mm-sc: 0.08;
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
}
.mm-lamp-fx--in { opacity: 1; transition: opacity .2s ease; }
.mm-lamp-fx-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(255, 220, 120, .55) 0%, transparent 42%),
    radial-gradient(ellipse at 50% 100%, rgba(12,42,34,.95) 0%, #010504 68%);
  opacity: .98;
  transform: scale(1.08);
  animation: mmBgIn .7s ease both;
}
.mm-lamp-fx-flash {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(255,248,220,.95), transparent 55%);
  opacity: 0;
  animation: mmFlash .7s ease-out both;
}
.mm-lamp-fx-rays {
  position: absolute; left: 50%; top: 36%;
  width: 160vmax; height: 160vmax;
  transform: translate(-50%, -50%);
  background: conic-gradient(from 0deg, transparent 0 7deg, rgba(255,236,170,.16) 7deg 10deg, transparent 10deg 18deg);
  animation: mmRaysSpin 6s linear infinite;
  opacity: 0;
}
.mm-lamp-fx--in .mm-lamp-fx-rays { opacity: 1; transition: opacity .5s ease .2s; }
.mm-lamp-fx-ring {
  position: absolute; left: 50%; top: 38%;
  width: min(78vw, 320px); height: min(78vw, 320px);
  margin: calc(min(78vw, 320px) / -2) 0 0 calc(min(78vw, 320px) / -2);
  border-radius: 50%;
  border: 2px solid rgba(232,197,71,.45);
  box-shadow: 0 0 40px rgba(232,197,71,.35), inset 0 0 40px rgba(232,197,71,.15);
  opacity: 0;
  transform: scale(.4);
}
.mm-lamp-fx--in .mm-lamp-fx-ring {
  animation: mmRingPulse 2.4s ease-out .15s both;
}
.mm-lamp-fx-stage {
  position: relative;
  z-index: 2;
  text-align: center;
  transform-origin: center center;
  opacity: 0;
  transform: scale(2.4) translateY(40px);
}
.mm-lamp-fx--in .mm-lamp-fx-stage {
  animation: mmStageIn 1.05s cubic-bezier(.15,1.15,.35,1) .08s both;
}
.mm-lamp-svg-wrap {
  width: min(280px, 72vw);
  margin: 0 auto 8px;
  filter: drop-shadow(0 0 36px rgba(232,197,71,.85)) drop-shadow(0 0 72px rgba(255,180,60,.4));
  animation: mmLampFloat 2s ease-in-out infinite .9s;
}
.mm-lamp-svg { width: 100%; height: auto; display: block; }
.mm-lamp-flame { transform-origin: 100px 60px; animation: mmFlame .95s ease-in-out infinite; }
.mm-lamp-flame-core { transform-origin: 100px 52px; animation: mmFlame .95s ease-in-out infinite .12s; }
.mm-lamp-chars {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 4vw, 28px);
  margin: 4px 0 10px;
  line-height: 1;
}
.mm-lamp-char {
  font-size: clamp(56px, 18vw, 92px);
  font-weight: 900;
  color: #fff6d0;
  letter-spacing: .08em;
  text-shadow:
    0 0 20px rgba(232,197,71,1),
    0 0 48px rgba(255,200,80,.8),
    0 4px 0 #8a6a12;
  opacity: 0;
  transform: scale(2.2) translateY(20px);
  animation: mmCharIn .85s cubic-bezier(.15,1.3,.35,1) calc(.35s + var(--i) * .18s) both;
}
.mm-lamp-title {
  font-size: clamp(18px, 5vw, 24px);
  font-weight: 800;
  letter-spacing: .32em;
  color: #ffe9a0;
  text-shadow: 0 0 18px rgba(232,197,71,.75);
  margin-bottom: 8px;
  opacity: 0;
  animation: mmTitleIn .6s ease both .85s;
}
.mm-lamp-sub {
  font-size: 13px;
  color: rgba(243,232,207,.9);
  letter-spacing: .2em;
  opacity: 0;
  animation: mmTitleIn .6s ease both 1s;
}
.mm-lamp-fx--absorb .mm-lamp-fx-bg,
.mm-lamp-fx--absorb .mm-lamp-fx-rays,
.mm-lamp-fx--absorb .mm-lamp-fx-ring,
.mm-lamp-fx--absorb .mm-lamp-fx-flash {
  opacity: 0 !important;
  transition: opacity .5s ease;
  animation: none;
}
.mm-lamp-fx--absorb .mm-lamp-fx-stage {
  animation: mmLampAbsorb .95s cubic-bezier(.45,0,.2,1) forwards;
}
.mm-lamp-fx--absorb .mm-lamp-title,
.mm-lamp-fx--absorb .mm-lamp-sub,
.mm-lamp-fx--absorb .mm-lamp-chars {
  opacity: 0;
  transition: opacity .2s ease;
}
@keyframes mmBgIn {
  from { opacity: 0; transform: scale(1.15); }
  to { opacity: .98; transform: scale(1); }
}
@keyframes mmFlash {
  0% { opacity: .9; }
  100% { opacity: 0; }
}
@keyframes mmRingPulse {
  0% { opacity: .9; transform: scale(.45); }
  60% { opacity: .55; }
  100% { opacity: 0; transform: scale(1.55); }
}
@keyframes mmStageIn {
  0% { opacity: 0; transform: scale(2.4) translateY(48px); filter: brightness(1.8) blur(6px); }
  55% { opacity: 1; filter: brightness(1.2) blur(0); }
  100% { opacity: 1; transform: scale(1) translateY(0); filter: brightness(1) blur(0); }
}
@keyframes mmCharIn {
  0% { opacity: 0; transform: scale(2.4) translateY(28px); filter: blur(8px); }
  70% { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes mmRaysSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes mmLampFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes mmFlame {
  0%, 100% { transform: scaleY(1) scaleX(1); opacity: 1; }
  50% { transform: scaleY(1.15) scaleX(.9); opacity: .92; }
}
@keyframes mmTitleIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes mmLampAbsorb {
  0% { transform: translate(0,0) scale(1); opacity: 1; filter: brightness(1); }
  45% { opacity: 1; filter: brightness(1.4); }
  100% { transform: translate(var(--mm-tx), var(--mm-ty)) scale(var(--mm-sc)); opacity: 0; filter: brightness(2); }
}
@media (prefers-reduced-motion: reduce) {
  .mm-lamp-fx, .mm-lamp-svg-wrap, .mm-lamp-flame, .mm-lamp-fx-rays,
  .mm-lamp-fx-stage, .mm-lamp-char, .mm-lamp-fx-ring { animation: none !important; }
  .mm-lamp-fx--in .mm-lamp-fx-stage,
  .mm-lamp-fx--in .mm-lamp-char { opacity: 1; transform: none; }
  .mm-lamp-fx--absorb .mm-lamp-fx-stage { transition: opacity .4s ease; transform: none; opacity: 0; }
}

.mm-peers { color: #5a6f67; }
.mm-share-mask {
  position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.55);
  display: grid; place-items: center; padding: 20px; overflow: auto;
}
.mm-share-sheet { width: min(340px, 100%); }
.mm-share-close {
  display: block; margin: 0 0 8px auto; color: #fff; font-size: 13px; background: none; border: none;
}
.mm-share-tip { color: rgba(255,255,255,.85); font-size: 12px; margin-bottom: 10px; text-align: center; }
.mm-poster {
  border-radius: 16px; overflow: hidden; background:
    radial-gradient(ellipse at 20% 0%, rgba(184,137,45,.35), transparent 50%),
    linear-gradient(160deg, #2C2F2D 0%, #143d32 45%, #0a1f1a 100%);
  color: #f3e8cf; padding: 20px 18px 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.mm-poster-brand { font-size: 11px; letter-spacing: .12em; opacity: .85; margin-bottom: 10px; }
.mm-poster-seal {
  display: inline-block; padding: 4px 10px; border-radius: 99px; font-size: 11px; font-weight: 700;
  border: 1px solid rgba(243,232,207,.45); margin-bottom: 16px;
}
.mm-poster-family { font-size: 12px; opacity: .8; margin-bottom: 6px; }
.mm-poster-body h3 { font-size: 18px; margin: 0 0 10px; color: #fff; line-height: 1.35; }
.mm-poster-body p { font-size: 13px; line-height: 1.55; opacity: .92; margin: 0 0 14px; }
.mm-poster-date { font-size: 12px; opacity: .7; }
.mm-poster-foot {
  margin-top: 18px; padding-top: 12px; border-top: 1px solid rgba(243,232,207,.2);
  font-size: 10px; letter-spacing: .06em; opacity: .75; text-align: center;
}
.mm-share-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.mm-share-save {
  width: 100%; margin-top: 0; padding: 12px; border-radius: 10px; border: none;
  background: #76A393; color: #fff; font-size: 13px; font-weight: 700;
}
.mm-share-save--alt {
  background: #2C2F2D;
  color: #f3e8cf;
}
.mm-share-save--wx {
  background: #07c160;
  color: #fff;
  grid-column: 1 / -1;
}
.mm-wx-guide-mask {
  position: fixed; inset: 0; z-index: 10001; background: rgba(0,0,0,.62);
  display: grid; place-items: center; padding: 16px; overflow: auto;
}
.mm-wx-guide {
  width: min(360px, 100%);
  background: #12261f;
  border-radius: 16px;
  padding: 14px 14px 16px;
  color: #f3e8cf;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.mm-wx-guide h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #fff;
  text-align: center;
}
.mm-wx-guide-tip {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(243,232,207,.88);
  text-align: center;
}
.mm-wx-guide-preview {
  display: block;
  width: 100%;
  border-radius: 12px;
  margin-bottom: 12px;
  background: #0a1f1a;
}
.mm-wx-guide-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.mm-wx-guide-steps {
  margin: 0;
  padding: 8px 8px 4px 22px;
  font-size: 11px;
  line-height: 1.55;
  color: rgba(243,232,207,.78);
}
.mm-wx-guide-steps b { color: #ffe9a0; }

.ck-body { flex: 1; overflow-x: hidden; overflow-y: auto; padding: 12px; min-height: 0; position: relative;
  scrollbar-width: none; -ms-overflow-style: none;
}
.ck-body::-webkit-scrollbar { width: 0; height: 0; display: none; }
.ck-card {
  display: grid; grid-template-columns: 88px 1fr; gap: 10px;
  padding: 12px; border-radius: 14px; background: #fff;
  border: 1px solid rgba(12,42,34,.08); margin-bottom: 10px;
  text-align: left; width: 100%; box-shadow: 0 4px 14px rgba(12,42,34,.04);
}
.ck-card .cover {
  width: 88px; height: 66px; border-radius: 10px; overflow: hidden; position: relative;
  display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff;
}
.ck-card .cover.adult { background: linear-gradient(145deg, #1a4a3c, #2C2F2D); }
.ck-card .cover.child { background: linear-gradient(145deg, #ff9a3c, #ff6b35); }
.ck-card .cover .tag {
  position: absolute; left: 4px; top: 4px; font-size: 9px; padding: 2px 5px;
  border-radius: 4px; background: rgba(0,0,0,.35); color: #fff;
}
.ck-card strong { display: block; font-size: 13px; margin-bottom: 4px; line-height: 1.35; }
.ck-card .meta { font-size: 10px; color: #5a6f67; margin-bottom: 6px; }
.ck-card .prog { display: flex; align-items: center; gap: 8px; font-size: 10px; color: #5a6f67; }
.ck-card .bar { flex: 1; height: 4px; border-radius: 99px; background: #e8efec; overflow: hidden; }
.ck-card .bar i { display: block; height: 100%; background: #76A393; border-radius: 99px; }
.ck-card .type-pill {
  display: inline-block; font-size: 9px; padding: 2px 6px; border-radius: 99px; margin-bottom: 4px;
}
.ck-card .type-pill.adult { background: #e5efe9; color: #1f6b55; }
.ck-card .type-pill.child { background: #fff0e5; color: #c45a00; }
/* 岐黄少年 = 今日共学：主题嵌在同一张卡里 */
.ck-card.ck-card-qihuang {
  grid-template-columns: 88px 1fr;
  align-items: start;
}
.ck-card-qihuang .ck-card-main { min-width: 0; }
.ck-card-qihuang .ck-card-theme {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f3f7f4;
  border: 1px solid rgba(31,92,72,.16);
  text-align: left;
}
.ck-card-qihuang .ck-card-theme.is-empty {
  background: #f7f6f2;
  border-style: dashed;
}
.ck-card-qihuang .ck-card-theme-title {
  display: block;
  font-size: 14px;
  color: #2C2F2D;
  margin: 0 0 4px;
}
.ck-card-qihuang .ck-theme-top { margin-bottom: 4px; }
.ck-card-qihuang .ck-theme-snip { margin: 0 0 4px; }
.ck-card-qihuang .ck-theme-meta { margin: 0 0 4px; }
.ck-card-qihuang .ck-theme-miss { margin-top: 6px; }
.ck-empty { text-align: center; padding: 32px 16px; color: #5a6f67; font-size: 12px; }
.ck-fab {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  display: flex; align-items: center; gap: 4px; padding: 10px 16px;
  border-radius: 99px; background: #76A393; color: #fff; font-size: 13px; font-weight: 600;
  box-shadow: 0 6px 20px rgba(20,120,255,.35);
}
.ck-subhead {
  display: flex; align-items: center; gap: 8px;
  padding: calc(6px + env(safe-area-inset-top, 0px)) 12px 6px;
  border-bottom: 1px solid rgba(12,42,34,.08); background: #fff; flex-shrink: 0;
}
.ck-subhead button { font-size: 13px; color: #76A393; padding: 2px 0; }
.ck-subhead b { font-size: 14px; flex: 1; text-align: center; }
.ck-detail-cover {
  height: 140px; border-radius: 14px; margin-bottom: 12px;
  display: grid; place-items: center; font-size: 28px; font-weight: 700; color: #fff;
}
.ck-detail-cover.adult { background: linear-gradient(145deg, #1a4a3c, #2C2F2D); }
.ck-detail-cover.child { background: linear-gradient(145deg, #ff9a3c, #ff6b35); }
.ck-detail-title { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.ck-detail-desc { font-size: 12px; color: #5a6f67; line-height: 1.5; margin-bottom: 12px; }
.ck-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.ck-stat { text-align: center; padding: 10px; border-radius: 12px; background: #fff; border: 1px solid rgba(12,42,34,.08); }
.ck-stat b { display: block; font-size: 18px; color: #76A393; }
.ck-stat span { font-size: 10px; color: #5a6f67; }
.ck-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 14px; }
.ck-cal div {
  aspect-ratio: 1; border-radius: 8px; font-size: 10px;
  display: grid; place-items: center; background: #f4f7f5; color: #5a6f67; cursor: pointer;
}
.ck-cal div.done {
  background: #34b38a;
  color: #fff;
  font-weight: 700;
}
.ck-cal div.today { box-shadow: inset 0 0 0 2px #34b38a; cursor: pointer; }
.ck-cal div.today.done { box-shadow: none; background: #2aa87c; }
.ck-cal div.selected { outline: none; }
.ck-cal div.disabled {
  cursor: not-allowed; pointer-events: none;
  background: #eef2f0; color: #a8b5af;
}
/* 历史日期一律灰显（含已打卡），仅今日用绿色 */
.ck-cal div.disabled.done {
  background: #eef2f0;
  color: #a8b5af;
  font-weight: 600;
  opacity: 1;
}
.ck-detail-date { margin-top: 4px; }
.ck-detail-date input[type="date"] {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(12,42,34,.12); font-size: 13px;
}
.ck-btn-check {
  width: 100%; padding: 14px; border-radius: 99px; font-size: 15px; font-weight: 700;
  background: #76A393; color: #fff; margin-top: 8px;
}
.ck-btn-check:disabled { background: #b8c4be; cursor: not-allowed; }
.mm-share-save:disabled,
.ck-duty-share-btn:disabled,
.ck-sop-share:disabled {
  opacity: .6;
  cursor: not-allowed;
  filter: none;
}
.ck-btn-check.done-today { background: #1f6b55; }
.ck-toast {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 14px 20px; border-radius: 14px; background: rgba(12,42,34,.88);
  color: #fff; font-size: 14px; z-index: 999; pointer-events: none;
  animation: ckFade 1.6s ease forwards;
}
@keyframes ckFade {
  0%, 70% { opacity: 1; }
  100% { opacity: 0; }
}
.ck-form-card {
  background: #fff; border-radius: 14px; padding: 14px; margin-bottom: 10px;
  border: 1px solid rgba(12,42,34,.08);
}
.ck-form-card label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.ck-form-card label em { color: #a63d32; font-style: normal; }
.ck-form-card input, .ck-form-card select, .ck-form-card textarea {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(12,42,34,.12); font-size: 13px;
}
.ck-form-card textarea { min-height: 80px; resize: vertical; }
.ck-form-card .hint { font-size: 10px; color: #5a6f67; margin-top: 4px; }
.ck-mode-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}
.ck-mode-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 10px 8px;
  cursor: pointer;
  user-select: none;
  border-radius: 10px;
}
.ck-mode-check:active { background: #f3f6f4; }
/* 压过 .ck-form-card input { width:100% }，用原生方框勾选 */
.ck-form-card .ck-mode-check input[type="checkbox"],
.ck-mode-check input[type="checkbox"] {
  position: static;
  opacity: 1;
  pointer-events: auto;
  flex: 0 0 18px;
  width: 18px !important;
  min-width: 18px;
  max-width: 18px;
  height: 18px !important;
  margin: 2px 0 0;
  padding: 0 !important;
  accent-color: #76A393;
  border: none;
  border-radius: 3px;
  appearance: auto;
  -webkit-appearance: checkbox;
  cursor: pointer;
}
.ck-mode-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ck-mode-text b {
  font-size: 14px;
  font-weight: 700;
  color: #2C2F2D;
  line-height: 1.3;
}
.ck-mode-text small {
  font-size: 11px;
  color: #5a6f67;
  line-height: 1.35;
}
.ck-mode-done { font-size: 13px; font-weight: 700; color: #1f6b55; }
.ck-parent-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff8eb;
  border: 1px solid rgba(184,137,45,.35);
  font-size: 13px;
  color: #5c3f00;
  font-weight: 600;
}
.ck-parent-check[hidden] { display: none !important; }
.ck-parent-check input { width: 16px; height: 16px; }
.ck-media-upload.ck-media-hint {
  border-color: #76A393;
  background: #f3f8ff;
}
.ck-cover-upload {
  height: 120px; border-radius: 12px; border: 1px dashed rgba(12,42,34,.2);
  display: grid; place-items: center; background: #f4f7f5; color: #5a6f67; font-size: 12px;
  margin-bottom: 12px; cursor: pointer; transition: border-color .15s, background .15s;
}
.ck-cover-upload:hover, .ck-media-upload:hover { border-color: #76A393; background: #eef3f0; }
.ck-cover-upload.has-file, .ck-media-upload.has-file {
  border-style: solid; border-color: #76A393; color: #76A393; background: #eef3f0;
}
.ck-media-upload {
  min-height: 72px; border-radius: 10px; border: 1px dashed rgba(12,42,34,.2);
  display: grid; place-items: center; gap: 4px; background: #f4f7f5; color: #5a6f67;
  font-size: 12px; cursor: pointer; padding: 12px; text-align: center;
}
.ck-media-upload b { display: block; font-size: 13px; color: #14241f; font-weight: 600; }
.ck-media-upload span { font-size: 11px; color: #5a6f67; }
.ck-image-preview {
  position: relative;
  margin-top: 8px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(12,42,34,.12);
  background: #fff;
  max-width: 100%;
}
.ck-image-preview[hidden] { display: none !important; }
.ck-image-preview img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  vertical-align: middle;
  cursor: zoom-in;
}
.ck-image-remove {
  display: block;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  border: 0;
  border-top: 1px solid rgba(12,42,34,.08);
  background: #f7faf8;
  color: #8a3a32;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}
.ck-image-remove:hover,
.ck-image-remove:focus-visible {
  background: #fdecea;
  outline: none;
}
.mm-feed-img-btn {
  display: inline-block;
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
}
.mm-feed-img-btn .ck-saved-img {
  width: 60px;
  height: 60px;
  max-width: 60px;
  max-height: 60px;
  object-fit: cover;
  border-radius: 4px;
}
.ck-img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(8, 16, 14, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px 24px;
  box-sizing: border-box;
}
.ck-img-lightbox-pic {
  max-width: min(100%, 920px);
  max-height: calc(100dvh - 72px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
}
.ck-img-lightbox-x {
  position: absolute;
  top: calc(10px + env(safe-area-inset-top, 0px));
  right: 12px;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.ck-img-lightbox-x:hover,
.ck-img-lightbox-x:focus-visible {
  background: rgba(180, 35, 24, 0.92);
  outline: none;
}
.ck-media-upload.recording {
  border-style: solid;
  border-color: #b45309;
  background: #fff7ed;
  animation: ck-rec-pulse 1.2s ease-in-out infinite;
}
.ck-media-upload.recording b { color: #9a3412; }
.ck-media-upload.recording span { color: #c2410c; }
@keyframes ck-rec-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(180, 83, 9, 0.25); }
  50% { box-shadow: 0 0 0 6px rgba(180, 83, 9, 0); }
}
.ck-media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.ck-stat-row-compact { margin: 8px 0 6px; }
.ck-cal-compact { margin-top: 4px; }
.ck-cal-caption {
  font-size: 11px; color: #5a6f67; margin: 4px 0 10px; text-align: center;
}
.ck-punch-flow { display: flex; flex-direction: column; gap: 0; margin-top: 4px; }
.ck-evidence[hidden],
.ck-media-upload[hidden],
.ck-voice-panel[hidden] { display: none !important; }
.ck-media-stack { display: flex; flex-direction: column; gap: 8px; }
.ck-voice-panel {
  border-radius: 10px;
  border: 1px solid rgba(12,42,34,.12);
  background: #f7faf8;
  padding: 12px;
}
.ck-voice-panel.recording {
  border-color: #b45309;
  background: #fff7ed;
}
.ck-voice-panel.has-file {
  border-color: #76A393;
  background: #eef3f0;
}
.ck-voice-status b { display: block; font-size: 13px; color: #2C2F2D; }
.ck-voice-status span { font-size: 11px; color: #5a6f67; }
.ck-voice-preview {
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(31,92,72,.2);
}
.ck-voice-preview[hidden] { display: none !important; }
.ck-voice-preview label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #2C2F2D;
  margin-bottom: 8px;
}
.ck-voice-preview audio { width: 100%; display: block; }
.ck-voice-actions { display: flex; gap: 8px; margin-top: 10px; }
.ck-voice-btn {
  flex: 1;
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
  background: #76A393;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.ck-voice-btn.stop { background: #b45309; }
.ck-voice-btn.ghost {
  flex: 0 0 auto;
  background: #fff;
  color: #76A393;
  border: 1px solid rgba(31,92,72,.35);
}
.ck-punch-bar { margin-top: 8px; }
.ck-punch-tip {
  margin: 8px 0 0;
  text-align: center;
  font-size: 11px;
  color: #5a6f67;
}
.ck-saved-media { margin-top: 12px; }
.ck-saved-media label {
  display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; color: #2C2F2D;
}
.ck-saved-media audio { width: 100%; }
.ck-saved-img {
  display: block; max-width: 100%; border-radius: 10px;
  border: 1px solid rgba(12,42,34,.1);
}
.ck-date-panel {
  display: none; padding: 12px 14px; background: #fff; border-radius: 12px; margin: -2px 0 8px;
  border: 1px solid rgba(12,42,34,.08);
}
.ck-date-panel.on { display: block; }
.ck-date-panel .ck-date-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ck-date-panel label { display: block; font-size: 11px; color: #5a6f67; margin-bottom: 4px; }
.ck-date-panel input[type="date"] {
  width: 100%; padding: 9px 10px; border-radius: 10px; border: 1px solid rgba(12,42,34,.12); font-size: 13px;
}
.ck-toggle-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; background: #fff; border-radius: 12px; margin-bottom: 8px;
  border: 1px solid rgba(12,42,34,.08); font-size: 13px;
}
.ck-toggle {
  width: 44px; height: 24px; border-radius: 99px; background: #d0d8d4; position: relative; transition: .2s;
}
.ck-toggle.on { background: #76A393; }
.ck-toggle::after {
  content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; top: 2px; left: 2px; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.ck-toggle.on::after { left: 22px; }
.points-badge {
  display: inline-flex; align-items: center; gap: 4px; font-size: 11px;
  padding: 3px 8px; border-radius: 99px; background: var(--gold-soft, #f3e8cf); color: #7a5a12; font-weight: 600;
}
.ck-btn-note { background: #2C2F2D; margin-top: 8px; }
.ck-quick-links { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.ck-quick-links button {
  padding: 10px 6px; border-radius: 12px; background: #fff; border: 1px solid rgba(12,42,34,.08);
  font-size: 11px; font-weight: 600; color: #14241f; text-align: center;
}
.ck-quick-links button span { display: block; font-size: 10px; font-weight: 500; color: #5a6f67; margin-top: 2px; }
.ck-rule-row {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 12px; background: #fff; border-radius: 12px; border: 1px solid rgba(12,42,34,.08); margin-bottom: 8px;
}
.ck-rule-row b { display: block; font-size: 13px; }
.ck-rule-row span { display: block; font-size: 11px; color: #5a6f67; margin-top: 2px; }
.ck-rule-row em { font-style: normal; font-weight: 700; color: #76A393; font-size: 16px; white-space: nowrap; }
.ck-rule-row.duty em { color: #1f6b55; }
.ck-duty-banner {
  padding: 14px; border-radius: 14px; background: linear-gradient(135deg, #1a4a3c, #2C2F2D);
  color: #fff; margin-bottom: 12px;
}
.ck-duty-banner.mine { background: linear-gradient(135deg, #76A393, #1f5544); }
.ck-duty-banner .kind { font-size: 10px; opacity: .85; margin-bottom: 4px; }
.ck-duty-banner strong { display: block; font-size: 18px; margin-bottom: 4px; }
.ck-duty-banner p { font-size: 12px; opacity: .9; margin-bottom: 10px; }
.ck-sop-card {
  padding: 12px; border-radius: 12px; background: #fff; border: 1px solid rgba(12,42,34,.08);
  margin-bottom: 8px; text-align: left;
}
.ck-sop-card.on { border-color: #34b38a; background: #f0faf6; }
.ck-sop-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.ck-sop-top b { font-size: 13px; flex: 1; }
.ck-sop-top span { font-size: 10px; color: #5a6f67; }
.ck-sop-check {
  font-size: 11px; padding: 4px 10px; border-radius: 99px; border: 1px solid rgba(12,42,34,.15);
  background: #fff; font-weight: 600; cursor: pointer;
}
.ck-sop-card.on .ck-sop-check { background: #34b38a; color: #fff; border-color: transparent; }
.ck-sop-card p { font-size: 12px; color: #14241f; margin: 0 0 6px; line-height: 1.4; }
.ck-sop-script {
  font-size: 11px; color: #5a6f67; line-height: 1.5; padding: 8px; border-radius: 8px;
  background: #f4f7f5; border-left: 3px solid #b8892d; margin-bottom: 8px;
  white-space: normal;
}
.ck-sop-focus-chip {
  font-size: 11px; color: #5a6f67; margin: 0 0 8px; padding: 6px 10px;
  border-radius: 8px; background: #fff8e8; border: 1px dashed rgba(184,137,45,.45);
}
.ck-sop-focus-chip b { color: #8a5a10; font-weight: 700; }
.ck-duty-field { margin-bottom: 10px; }
.ck-duty-field label {
  display: block; font-size: 12px; font-weight: 600; color: #2C2F2D; margin-bottom: 4px;
}
.ck-duty-field input[type="text"],
.ck-duty-field input[type="number"] {
  width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 10px;
  border: 1px solid rgba(12,42,34,.14); font: inherit; font-size: 14px; background: #fff;
}
.ck-duty-field--focus input {
  border-color: rgba(184,137,45,.55); background: #fffdf6; font-weight: 600;
}
.ck-duty-field-tip { display: block; font-size: 10px; color: #a67c00; margin-top: 4px; }
.ck-duty-share-actions--gen { grid-template-columns: 1fr; margin-bottom: 8px; }
.ck-duty-share-actions--gen .ck-duty-share-btn { padding: 12px; font-size: 14px; }
.ck-duty-img-box {
  margin-top: 8px; padding: 12px; border-radius: 12px;
  background: #f4f7f5; border: 1px solid rgba(12,42,34,.08);
}
.ck-duty-img-box.hidden { display: none; }
.ck-duty-img-label { font-size: 12px; font-weight: 700; margin: 0 0 8px; color: #2C2F2D; }
.ck-duty-img-box img {
  display: block; width: 100%; border-radius: 10px; margin-bottom: 10px;
  box-shadow: 0 8px 20px rgba(12,42,34,.12);
}
.ck-sop-share-row {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.ck-sop-share, .ck-sop-copy {
  flex: 1; min-width: 120px; font-size: 12px; font-weight: 700;
  padding: 9px 12px; border-radius: 999px; cursor: pointer;
  border: none;
}
.ck-sop-share {
  background: #07c160; color: #fff;
  box-shadow: 0 6px 14px rgba(7, 193, 96, .28);
}
.ck-sop-copy {
  background: #fff; color: #2C2F2D;
  border: 1px solid rgba(12,42,34,.14);
}
.ck-duty-share-mask {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(8, 20, 16, .55);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 16px; backdrop-filter: blur(4px);
}
.ck-duty-share-sheet {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 18px 18px 14px 14px;
  padding: 18px 16px 16px;
  position: relative;
  box-shadow: 0 -8px 40px rgba(0,0,0,.18);
  max-height: min(88vh, 640px);
  overflow: auto;
  animation: ckDutySheetUp .28s cubic-bezier(0.22, 1, 0.36, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(31, 92, 72, 0.28) transparent;
}
.ck-duty-share-sheet::-webkit-scrollbar { width: 4px; height: 4px; }
.ck-duty-share-sheet::-webkit-scrollbar-track { background: transparent; }
.ck-duty-share-sheet::-webkit-scrollbar-thumb {
  background: rgba(31, 92, 72, 0.28); border-radius: 999px;
}
@keyframes ckDutySheetUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.ck-duty-share-close {
  position: absolute; top: 12px; right: 12px;
  font-size: 12px; padding: 4px 10px; border-radius: 99px;
  border: 1px solid rgba(12,42,34,.12); background: #f4f7f5; cursor: pointer;
}
.ck-duty-share-sheet h3 {
  font-size: 17px; margin: 0 36px 4px 0; color: #2C2F2D;
}
.ck-duty-share-tip {
  font-size: 12px; color: #1f6b55; font-weight: 600; margin: 0 0 6px;
}
.ck-duty-share-hint {
  font-size: 11px; color: #5a6f67; line-height: 1.45; margin: 0 0 10px;
}
.ck-duty-share-text {
  width: 100%; box-sizing: border-box;
  border: 1px solid rgba(12,42,34,.12);
  border-radius: 12px; padding: 10px 12px;
  font: inherit; font-size: 13px; line-height: 1.5;
  color: #14241f; background: #f8faf9; resize: vertical; min-height: 160px;
}
.ck-duty-share-actions {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 12px;
}
.ck-duty-share-btn {
  font-size: 12px; font-weight: 700; padding: 10px 6px; border-radius: 999px;
  border: 1px solid rgba(12,42,34,.12); background: #fff; cursor: pointer; color: #2C2F2D;
}
.ck-duty-share-btn.primary { background: #2C2F2D; color: #fff; border-color: transparent; }
.ck-duty-share-btn.wx { background: #07c160; color: #fff; border-color: transparent; }
.ck-duty-share-steps {
  margin: 12px 0 0; padding-left: 18px; font-size: 11px; color: #5a6f67; line-height: 1.55;
}
.ck-duty-share-steps b { color: #2C2F2D; }
.ck-duty-share-done {
  width: 100%; margin-top: 12px; padding: 12px; border-radius: 999px;
  border: none; background: #76A393; color: #fff; font-weight: 700; font-size: 13px; cursor: pointer;
}
@media (max-width: 380px) {
  .ck-duty-share-actions { grid-template-columns: 1fr; }
}
.ck-honor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.ck-honor {
  padding: 10px; border-radius: 12px; background: #fff; border: 1px solid rgba(12,42,34,.08);
}
.ck-honor b { display: block; font-size: 12px; margin-bottom: 2px; color: #2C2F2D; }
.ck-honor span { font-size: 10px; color: #5a6f67; }
.ck-camp-block { margin: 12px 0 16px; }
.ck-camp-table {
  width: 100%; border-collapse: collapse; font-size: 12px;
  background: #fff; border: 1px solid rgba(12,42,34,.1); border-radius: 12px; overflow: hidden;
}
.ck-camp-table th, .ck-camp-table td {
  padding: 10px 12px; text-align: left; border-bottom: 1px solid rgba(12,42,34,.06);
  vertical-align: top;
}
.ck-camp-table th {
  background: #f0f5f2; color: #14241f; font-weight: 700; font-size: 11px;
}
.ck-camp-table tr:last-child td { border-bottom: 0; }
.ck-camp-table tr.on td { background: #e8f2ec; color: #1f6b55; font-weight: 600; }
.ck-camp-table td:first-child { white-space: nowrap; width: 38%; font-weight: 600; }
.ck-camp-progress {
  margin: 8px 0 0; font-size: 12px; color: #5a6f67; line-height: 1.5;
}
.ck-camp-progress b { color: #1f6b55; }
.ck-sec-label { font-size: 12px; font-weight: 700; margin: 14px 0 8px; color: #14241f; }
.ck-fam-card {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 12px; border-radius: 12px; background: #fff; border: 1px solid rgba(12,42,34,.08); margin-bottom: 8px;
  font: inherit; color: inherit; text-align: left;
}
.ck-fam-card.me { border-color: #76A393; box-shadow: 0 0 0 1px rgba(42,107,85,.2); }
.ck-fam-card.on-duty { background: #f0f7ff; }
.ck-fam-card .left b { display: block; font-size: 13px; }
.ck-fam-card .left span { font-size: 11px; color: #5a6f67; }
.ck-fam-card .right { text-align: right; }
.ck-fam-card .right em { display: block; font-style: normal; font-size: 18px; font-weight: 700; color: #76A393; }
.ck-fam-card .right span { font-size: 10px; color: #5a6f67; }
.ck-earn-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.ck-earn-btn {
  padding: 12px 8px; border-radius: 12px; background: #fff; border: 1px solid rgba(12,42,34,.1);
  text-align: center;
}
.ck-earn-btn b { display: block; font-size: 12px; margin-bottom: 4px; }
.ck-earn-btn span { font-size: 12px; color: #76A393; font-weight: 700; }
.ck-ledger-row {
  display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px;
  background: #fff; border-radius: 10px; border: 1px solid rgba(12,42,34,.08); margin-bottom: 6px;
}
.ck-ledger-row b { display: block; font-size: 12px; }
.ck-ledger-row span { font-size: 10px; color: #5a6f67; }
.ck-ledger-row em { font-style: normal; font-weight: 700; color: #1f6b55; font-size: 14px; }
.ck-ledger-row em.neg { color: #a63d32; }
.ck-rule-row em i {
  display: inline-block; margin-left: 4px; font-style: normal; font-size: 10px;
  padding: 1px 5px; border-radius: 4px; background: #fff3cd; color: #8a6d00; vertical-align: middle;
}
.ck-pending-card {
  padding: 12px; border-radius: 12px; background: #fff; border: 1px solid rgba(12,42,34,.1);
  margin-bottom: 8px; text-align: left;
}
.ck-pending-card.rejected { opacity: .85; border-color: rgba(166,61,50,.25); }
.ck-pending-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.ck-pending-tag {
  font-size: 10px; padding: 2px 6px; border-radius: 99px; background: #fff3cd; color: #8a6d00; font-weight: 700;
}
.ck-pending-tag.rej { background: #f8e9e7; color: #a63d32; }
.ck-pending-card b { display: block; font-size: 13px; margin-bottom: 4px; }
.ck-pending-card p { font-size: 11px; color: #5a6f67; margin: 0; }
.ck-pending-note {
  margin-top: 6px !important; padding: 8px; border-radius: 8px; background: #f4f7f5; line-height: 1.45;
}
.ck-pending-card em { font-style: normal; font-weight: 700; color: #76A393; font-size: 16px; }
.ck-pending-actions { display: flex; gap: 8px; margin-top: 10px; }
.ck-approve, .ck-reject {
  flex: 1; padding: 8px; border-radius: 99px; font-size: 13px; font-weight: 600; cursor: pointer; border: none;
}
.ck-approve { background: #1f6b55; color: #fff; }
.ck-reject { background: #fff; color: #a63d32; border: 1px solid rgba(166,61,50,.35) !important; }
.ck-reject-reasons {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; font-size: 11px; color: #5a6f67;
}
.ck-reject-reasons .ck-reject {
  flex: 0 1 auto; padding: 5px 8px; font-size: 11px; border-radius: 8px;
}
.ck-stat-hint {
  font-size: 11px; color: #5a6f67; line-height: 1.45; margin: -6px 0 12px; padding: 8px 10px;
  background: #f4f7f5; border-radius: 10px;
}
.ck-fam-detail {
  margin: 0 0 12px; padding: 12px; border-radius: 12px; background: #fff;
  border: 1px solid rgba(20,120,255,.25);
}
.ck-fam-detail b { display: block; font-size: 13px; margin-bottom: 6px; }
.ck-fam-detail ul { margin: 0 0 8px; padding-left: 18px; font-size: 12px; color: #14241f; }
.ck-fam-detail p { font-size: 11px; color: #5a6f67; margin: 0; }
.ck-fam-detail em { font-style: normal; font-weight: 700; color: #76A393; }
.ck-notice {
  padding: 8px 10px; border-radius: 8px; background: #fff; border: 1px solid rgba(12,42,34,.08);
  margin-bottom: 5px; text-align: left;
}
.ck-notice.ok { border-color: rgba(31,107,85,.3); background: #f0faf6; }
.ck-notice.rej { border-color: rgba(166,61,50,.25); background: #fff8f6; }
.ck-notice.chuandeng {
  border-color: rgba(184, 137, 45, 0.45);
  background: #fff8ea;
}
.ck-notice.chuandeng .ck-notice-hd b { color: #9a6b14; }
.ck-notice.like {
  border-color: rgba(118, 163, 147, 0.35);
  background: #f3f8f5;
}
.ck-notice.like .ck-notice-hd b { color: #1f6b55; }
.ck-notice-hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}
.ck-notice-hd b {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  flex-shrink: 0;
}
.ck-notice-hd span {
  font-size: 10px;
  color: #8a9e96;
  line-height: 1.2;
  white-space: nowrap;
}
.ck-notice p { font-size: 11px; color: #14241f; margin: 0; line-height: 1.4; }

.ck-notices-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 4px 0 8px;
}
.ck-notices-more {
  flex-shrink: 0;
  font-size: 11px;
  color: #1f5c48;
  background: transparent;
  border: none;
  padding: 2px 4px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ck-notices-more:active { opacity: 0.7; }
.ck-notices-list.is-expanded {
  max-height: 168px;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 2px;
  -webkit-overflow-scrolling: touch;
}

/* 细滚动条 · 打卡内可滚动区域通用 */
.ck-scroll-thin {
  scrollbar-width: thin;
  scrollbar-color: rgba(31, 92, 72, 0.28) transparent;
}
.ck-scroll-thin::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
.ck-scroll-thin::-webkit-scrollbar-track {
  background: transparent;
}
.ck-scroll-thin::-webkit-scrollbar-thumb {
  background: rgba(31, 92, 72, 0.28);
  border-radius: 999px;
}
.ck-scroll-thin::-webkit-scrollbar-thumb:hover {
  background: rgba(31, 92, 72, 0.42);
}
.ck-scroll-thin::-webkit-scrollbar-corner {
  background: transparent;
}

.list-item--mm {
  position: relative;
  padding-right: 28px;
}
.mm-unread-badge {
  position: absolute;
  top: 6px;
  right: 8px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  margin: 0 !important;
  border-radius: 999px;
  background: #c45c4a;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 700;
  font-style: normal;
  line-height: 1 !important;
  letter-spacing: 0;
  vertical-align: middle;
  pointer-events: none;
}
.mm-unread-badge[hidden] {
  display: none !important;
}
.mm-unread-badge.chuandeng { background: #c9a227; }
.mm-like-hint {
  display: inline;
  margin-left: 4px;
  color: #9a6b14;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}
.mm-like-inbox {
  margin: 0 10px 6px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #f3f8f5;
  border: 1px solid rgba(118, 163, 147, 0.35);
  font-size: 11px;
  line-height: 1.4;
  color: #2c2f2d;
}
.mm-like-inbox.has-chuandeng {
  background: #fff8ea;
  border-color: rgba(184, 137, 45, 0.4);
}
.mm-like-inbox b { display: block; font-size: 12px; margin-bottom: 1px; }
.mm-like-inbox em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  color: #9a6b14;
  font-weight: 700;
}
.ck-role-switch {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 12px; color: #5a6f67; margin-bottom: 4px;
}
.ck-role-switch button {
  padding: 6px 12px; border-radius: 99px; border: 1px solid rgba(12,42,34,.15);
  background: #fff; font-size: 12px; font-weight: 600; cursor: pointer;
}
.ck-role-switch button.on { background: #2C2F2D; color: #fff; border-color: transparent; }

.ck-term-banner {
  padding: 10px 12px; border-radius: 12px; margin-bottom: 10px;
  background: linear-gradient(135deg, #f7f1e4, #eef6f2);
  border: 1px solid rgba(184,137,45,.25); text-align: left;
}
.ck-term-banner b { display: block; font-size: 13px; color: #2C2F2D; margin-bottom: 2px; }
.ck-term-banner span { font-size: 11px; color: #5a6f67; }

.ck-theme-card {
  padding: 12px 14px; border-radius: 12px; margin-bottom: 12px; text-align: left;
  background: #f3f7f4; border: 1px solid rgba(31,92,72,.18);
}
.ck-theme-card.ck-theme-empty { background: #f7f6f2; border-style: dashed; }
.ck-theme-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.ck-theme-top b { font-size: 12px; color: #76A393; }
.ck-theme-top em { font-style: normal; font-size: 11px; font-weight: 700; color: #a8843a; }
.ck-theme-card > strong { display: block; font-size: 15px; color: #2C2F2D; margin-bottom: 4px; }
.ck-theme-snip { margin: 0 0 6px; font-size: 12px; line-height: 1.45; color: #3a4f47; }
.ck-theme-meta { margin: 0 0 8px; font-size: 11px; color: #5a6f67; }
.ck-theme-wait, .ck-theme-done { margin: 0; font-size: 12px; color: #76A393; }
.ck-theme-miss { margin-top: 8px; font-size: 11px; color: #6b5424; line-height: 1.4; }
.ck-theme-miss span { color: #5a6f67; }
.ck-theme-list { margin: 0; padding-left: 18px; font-size: 13px; color: #142820; }
.ck-theme-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 6px; }
.ck-theme-table th, .ck-theme-table td { border-bottom: 1px solid rgba(13,36,28,.1); padding: 8px 6px; text-align: left; }
.ck-theme-table input[type="date"] { padding: 4px 6px; border: 1px solid rgba(13,36,28,.16); border-radius: 6px; }
.ck-theme-table tr.is-today { background: rgba(118, 163, 147, .12); }
.ck-theme-table input[type="number"] { padding: 4px 6px; border: 1px solid rgba(13,36,28,.16); border-radius: 6px; width: 3.2rem; }

/* 排期一览：手机 / PC 同一套卡片，避免两端结构不一致 */
.ck-theme-cover {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
}
.ck-theme-cover.is-ok {
  background: #eef7f2;
  color: #1f5c48;
  border: 1px solid rgba(31, 92, 72, 0.22);
}
.ck-theme-cover.is-warn {
  background: #fff4e5;
  color: #9a5b00;
  border: 1px solid rgba(217, 119, 6, 0.45);
}
.ck-theme-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 13px;
  color: #5a6f67;
}
.ck-theme-pager .btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}
.ck-theme-slots {
  display: grid;
  gap: 10px;
  margin: 0 0 8px;
  min-width: 0;
}
.ck-theme-slot {
  padding: 14px;
  border: 1px solid rgba(13,36,28,.1);
  border-radius: 12px;
  background: #fff;
  min-width: 0;
  box-sizing: border-box;
}
.ck-theme-slot.is-today {
  border-color: rgba(118,163,147,.45);
  background: rgba(118,163,147,.08);
}
.ck-theme-slot-head { margin-bottom: 10px; }
.ck-theme-slot-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-bottom: 4px;
}
.ck-theme-slot-date {
  font-size: 13px; font-weight: 700; color: #2C2F2D;
}
.ck-theme-slot-title {
  display: block; font-size: 15px; font-weight: 700; color: #2C2F2D;
  line-height: 1.35; overflow-wrap: anywhere;
}
.ck-theme-slot-lab {
  display: inline-block;
  font-size: 12px; font-weight: 700; color: #1f5c48;
  margin-bottom: 8px; padding: 3px 8px;
  border-radius: 6px; background: rgba(118,163,147,.16);
}
.ck-theme-slot-c { min-width: 0; }
.ck-theme-slot-days {
  display: flex; align-items: center; gap: 10px;
  margin-top: 12px; padding-top: 10px;
  border-top: 1px dashed rgba(13,36,28,.12);
  font-size: 13px; font-weight: 600; color: #5a6f67;
}
.ck-theme-slot-days input[type="number"] {
  width: 4.5rem; padding: 8px 10px; font-size: 16px;
  border: 1px solid rgba(13,36,28,.16); border-radius: 8px; background: #fff;
}
.ck-theme-c-cell {
  display: block; width: 100%; box-sizing: border-box;
  margin: 0; padding: 10px 12px; border: 1px solid rgba(13,36,28,.08);
  border-radius: 10px; background: #f7faf8;
  font: inherit; text-align: left; color: #3a4f47;
  cursor: pointer; outline: none;
}
.ck-theme-c-cell:hover,
.ck-theme-c-cell:focus-visible {
  background: rgba(118, 163, 147, .12);
  border-color: rgba(118, 163, 147, .35);
}
.ck-theme-c-line {
  margin: 0 0 8px; font-size: 14px; line-height: 1.55;
  overflow-wrap: anywhere;
}
.ck-theme-c-line:last-of-type { margin-bottom: 0; }
.ck-theme-c-line em {
  display: inline-block; min-width: 2.2em; font-style: normal; font-weight: 700;
  font-size: 12px; color: #76A393; margin-right: 6px; vertical-align: top;
}
.ck-theme-c-more {
  display: inline-block; margin-top: 8px;
  font-size: 13px; color: #76A393; font-weight: 600;
}
.ck-loading {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 48px 16px; min-height: 160px; color: #5a6f67; font-size: 13px;
}
.ck-loading p { margin: 0; }
.ck-spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid rgba(118, 163, 147, .28);
  border-top-color: #76A393;
  animation: ck-spin .7s linear infinite;
}
@keyframes ck-spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) {
  .ck-theme-modal { padding: 0; align-items: flex-end; }
  .ck-theme-modal-panel {
    width: 100%; max-height: min(88dvh, 720px);
    border-radius: 14px 14px 0 0;
  }
  .ck-admin-batch { gap: 10px; }
  .ck-rank-row { max-width: 100%; box-sizing: border-box; }
  .ck-rank-row > div:last-child { min-width: 0; flex: 1; overflow-wrap: anywhere; }
  .ck-admin-fam-row {
    grid-template-columns: 1fr !important;
  }
}
.ck-theme-modal[hidden] { display: none !important; }
.ck-theme-modal {
  position: fixed; inset: 0; z-index: 80;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.ck-theme-modal-backdrop {
  position: absolute; inset: 0; background: rgba(13, 36, 28, .45);
}
.ck-theme-modal-panel {
  position: relative; z-index: 1;
  width: min(520px, 100%); max-height: min(80vh, 640px);
  overflow: auto; border-radius: 14px;
  background: #fff; box-shadow: 0 16px 40px rgba(13, 36, 28, .28);
  scrollbar-width: thin;
  scrollbar-color: rgba(31, 92, 72, 0.28) transparent;
}
.ck-theme-modal-panel::-webkit-scrollbar { width: 4px; height: 4px; }
.ck-theme-modal-panel::-webkit-scrollbar-track { background: transparent; }
.ck-theme-modal-panel::-webkit-scrollbar-thumb {
  background: rgba(31, 92, 72, 0.28); border-radius: 999px;
}
.ck-theme-modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-bottom: 1px solid rgba(13,36,28,.08);
  position: sticky; top: 0; background: #fff;
}
.ck-theme-modal-head h3 { margin: 0; font-size: 16px; color: #2C2F2D; }
.ck-theme-modal-x {
  border: 0; background: transparent; font-size: 22px; line-height: 1;
  cursor: pointer; color: #5a6f67; padding: 2px 6px;
}
.ck-theme-modal-body { padding: 14px 16px 18px; }
.ck-theme-modal-body section { margin: 0 0 14px; }
.ck-theme-modal-body section:last-child { margin-bottom: 0; }
.ck-theme-modal-body h4 {
  margin: 0 0 6px; font-size: 12px; color: #76A393; font-weight: 700;
}
.ck-theme-modal-body p {
  margin: 0; font-size: 14px; line-height: 1.65; color: #2C2F2D;
  white-space: pre-wrap; word-break: break-word;
}
.ck-theme-c-hint { margin-top: 2px; font-size: 11px; color: #5a6f67; line-height: 1.35; }
.ck-theme-wd { margin-left: 6px; font-size: 11px; color: #76A393; }
.ck-theme-today-tag {
  margin-left: 6px; font-style: normal; font-size: 10px; font-weight: 700;
  color: #fff; background: #76A393; border-radius: 4px; padding: 1px 5px; vertical-align: middle;
}

.mm-theme-thread {
  border: 1px solid rgba(31, 92, 72, .28);
  background: linear-gradient(180deg, #f3f7f4 0%, #fff 48%);
  margin-bottom: 6px;
}
.mm-theme-snip {
  margin: 0 0 6px; font-size: 13px; line-height: 1.55; color: #3a4f47;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
}
.mm-theme-thread .note { margin: 4px 0 6px !important; font-size: 12px; line-height: 1.4; }
.mm-theme-entries { margin-top: 8px; padding-top: 8px; border-top: 1px dashed rgba(13,36,28,.12); }
.mm-theme-entries-label { font-size: 12px; font-weight: 700; color: #76A393; margin-bottom: 6px; }
.mm-theme-entries-hd {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.mm-theme-entries-hd em {
  font-style: normal;
  font-size: 11px;
  color: #8a9e96;
}
.mm-theme-meta { margin: 2px 0 4px !important; }
.mm-theme-entry {
  padding: 8px 0; border-bottom: 1px solid rgba(13,36,28,.06);
}
.mm-theme-entry:last-child { border-bottom: 0; }
.mm-theme-entry-who { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; }
.mm-theme-entry-who b { color: #2C2F2D; }
.mm-theme-entry-who span { color: #5a6f67; font-size: 12px; }
.mm-theme-entry-note { margin: 4px 0 6px; font-size: 13px; color: #3a4f47; line-height: 1.45; }
.mm-evidence { margin: 6px 0; }
.mm-evidence-lab {
  display: inline-block; font-size: 11px; font-weight: 700; color: #76A393;
  margin-bottom: 3px;
}
.mm-evidence-note p, .mm-evidence-note-plain p {
  margin: 0; font-size: 13px; line-height: 1.5; color: #3a4f47; white-space: pre-wrap;
}
.mm-evidence-note, .mm-evidence-note-plain { margin-bottom: 6px; }
.mm-evidence-note--inline {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px 8px;
  margin-bottom: 6px;
}
.mm-evidence-note--inline p {
  flex: 1 1 140px;
  min-width: 0;
  margin: 0;
}
.mm-evidence-media { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.mm-evidence-media.is-stack { gap: 5px; }
.mm-evidence-voice { min-width: 0; }
.mm-mini-audio {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: auto;
  min-width: 0;
  max-width: 96px;
  padding: 3px 8px 3px 3px;
  border-radius: 999px;
  border: 0;
  background: #E8F1ED;
  color: #2c2f2d;
  cursor: pointer;
  text-align: left;
}
.mm-mini-audio:hover,
.mm-mini-audio:focus-visible {
  background: #DCE8E2;
  outline: none;
}
.mm-mini-audio.is-playing {
  background: #D5E6DE;
}
.mm-mini-audio-ico {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #76A393;
  position: relative;
}
.mm-mini-audio-ico::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent #fff;
}
.mm-mini-audio.is-playing .mm-mini-audio-ico::before {
  left: 5px;
  top: 4px;
  width: 2px;
  height: 9px;
  border: 0;
  background: #fff;
  box-shadow: 4px 0 0 #fff;
}
.mm-mini-audio-time {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #2c2f2d;
  letter-spacing: 0;
  line-height: 1;
}
.mm-evidence-img { min-width: 0; }
.mm-evidence-img a { display: block; }
.mm-evidence-img .ck-saved-img,
.mm-feed-img-btn .ck-saved-img {
  display: block;
  width: 60px;
  height: 60px;
  max-width: 60px;
  max-height: 60px;
  object-fit: cover;
  border-radius: 4px;
  border: 0;
  background: #eceae4;
}
.mm-likes--seals,
.mm-entry-seals {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin: 2px 0 4px;
}
.mm-likes--seals .mm-seal,
.mm-entry-seals .mm-seal {
  margin: 0;
}

.ck-rank-tabs {
  display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap;
}
.ck-rank-tabs button {
  flex: 1; min-width: 72px; padding: 6px 8px; border-radius: 12px;
  border: 1px solid rgba(12,42,34,.12); background: #fff;
  font-size: 12px; font-weight: 600; cursor: pointer; color: #14241f;
  line-height: 1.25;
}
.ck-rank-tabs button small {
  display: block; font-size: 10px; font-weight: 500; opacity: .8; margin-top: 1px;
}
.ck-rank-tabs button.on { background: #2C2F2D; color: #fff; border-color: transparent; }

.ck-rank-row {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 12px; border-radius: 12px; background: #fff;
  border: 1px solid rgba(12,42,34,.08); margin-bottom: 6px; text-align: left;
}
.ck-rank-row.me { border-color: rgba(20,120,255,.35); background: #f5f9ff; }
.ck-rank-row em {
  font-style: normal; font-weight: 800; color: #b8892d; width: 22px; flex-shrink: 0; padding-top: 2px;
}
.ck-rank-row b { display: block; font-size: 13px; }
.ck-rank-row span { display: block; font-size: 11px; color: #5a6f67; margin-top: 2px; line-height: 1.35; }

.ck-report-sheet { max-width: 420px; }
.ck-report-pre {
  white-space: pre-wrap; word-break: break-word; text-align: left;
  font-size: 12px; line-height: 1.5; max-height: 42vh; overflow: auto;
  padding: 12px; border-radius: 12px; background: #f4f7f5; border: 1px solid rgba(12,42,34,.08);
  margin: 0 0 12px; font-family: ui-monospace, Consolas, monospace;
  scrollbar-width: thin;
  scrollbar-color: rgba(31, 92, 72, 0.28) transparent;
}
.ck-report-pre::-webkit-scrollbar { width: 4px; height: 4px; }
.ck-report-pre::-webkit-scrollbar-track { background: transparent; }
.ck-report-pre::-webkit-scrollbar-thumb {
  background: rgba(31, 92, 72, 0.28); border-radius: 999px;
}

.ck-admin-block {
  margin: 14px 0; padding: 12px; border-radius: 12px;
  background: #fff; border: 1px solid rgba(12,42,34,.08);
}
.ck-admin-block h4 { margin: 0 0 8px; font-size: 14px; }
.ck-admin-batch { display: grid; gap: 8px; }
.ck-admin-fam-head,
.ck-admin-fam-row {
  display: grid;
  grid-template-columns: 1.1fr .7fr 1fr 1fr auto;
  gap: 6px;
  align-items: center;
}
.ck-admin-fam-head {
  font-size: 11px; color: #5a6f67; font-weight: 600; padding: 0 2px;
}
.ck-admin-fam-row input,
.ck-admin-fam-row select {
  width: 100%; padding: 8px 10px; border-radius: 8px;
  border: 1px solid rgba(12,42,34,.15); font-size: 12px; box-sizing: border-box;
  background: #fff;
}
.ck-admin-fam-row .ck-fam-del {
  padding: 8px 10px; font-size: 12px; white-space: nowrap;
  border: 1px solid rgba(143,58,52,.25); border-radius: 8px;
  background: #f8eeeb; color: #8f3a34; cursor: pointer;
}
.ck-admin-fam-row .ck-fam-del:hover { background: #f0e0dc; }
@media (max-width: 720px) {
  .ck-admin-fam-head { display: none; }
  .ck-admin-fam-row {
    grid-template-columns: 1fr 1fr;
  }
  .ck-admin-fam-row .ck-fam-del { grid-column: 1 / -1; }
}
.ck-duty-dnd { list-style: none; margin: 0; padding: 0; }
.ck-duty-dnd li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px; margin-bottom: 6px; border-radius: 10px;
  background: #f4f7f5; border: 1px dashed rgba(12,42,34,.2); cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.ck-duty-handle {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-width: 44px;
  height: 44px;
  margin: 0;
  padding: 4px 6px;
  border: 1px solid rgba(12,42,34,.22);
  border-radius: 10px;
  background: #fff;
  color: #1f4a3c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.ck-duty-handle em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  color: #1f6b55;
}
.ck-duty-handle:active {
  background: #e8f0ec;
  cursor: grabbing;
}
.ck-duty-dnd-main {
  flex: 1;
  min-width: 0;
  touch-action: none;
  cursor: grab;
}
.ck-duty-dnd li.dragging {
  opacity: .7;
  background: #e8f0ec;
  box-shadow: 0 4px 14px rgba(12,42,34,.12);
  z-index: 2;
}
.ck-duty-dnd li b { display: block; font-size: 13px; }
.ck-duty-dnd li span { font-size: 11px; color: #5a6f67; }
.ck-duty-del {
  flex: 0 0 auto;
  margin: 0;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(166, 61, 50, 0.35);
  background: #fff;
  color: #a63d32;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ck-duty-del:active {
  background: #fdf2f0;
}
.ck-duty-slot {
  display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  padding: 8px 10px; border-radius: 8px; background: #fafbfa;
  border: 1px solid rgba(12,42,34,.06); margin-bottom: 4px; font-size: 12px;
}
.ck-duty-slot.cur { border-color: rgba(20,120,255,.35); background: #f5f9ff; }
.ck-duty-slot.next { border-color: rgba(184,137,45,.35); background: #fffaf0; }
.ck-duty-slot span { color: #5a6f67; font-size: 11px; }
