/* =============================================================
   清醒实验室专属样式（独立文件，避免主样式表未更新时整页裸奔）
   覆盖：实验室入口 / 戒酒天气 / 时间银行 / 剧本杀 / 身体修复
        / 清醒小屋 / 深夜树洞 / 时间胶囊 / 分享二维码
   ============================================================= */

/* ---------- 通用 ---------- */
.list-item.is-static { cursor: default; }
.list-item.is-static:active { background: transparent; }

/* ---------- 二维码分享卡 ---------- */
.share-qr {
  display: flex; align-items: center; gap: 14px; padding: 14px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
  box-shadow: var(--shadow-sm); text-decoration: none; color: inherit;
}
.share-qr img {
  width: 78px; height: 78px; border-radius: 12px; flex: none;
  background: #fff; padding: 4px; border: 1px solid var(--border);
}
.share-qr-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.share-qr-title { font-size: 14.5px; font-weight: 800; color: var(--text); }
.share-qr-sub {
  font-size: 12px; color: var(--muted); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.share-qr-url { font-size: 11.5px; font-weight: 700; color: var(--accent); letter-spacing: .04em; }
.share-qr.is-mini img { width: 58px; height: 58px; }
.share-qr.is-plain { background: transparent; box-shadow: none; border-style: dashed; }

/* ---------- 分享页 ---------- */
.share-hero { text-align: center; padding: 6px 8px 18px; }
.share-hero-emo { font-size: 40px; }
.share-hero-title { font-size: 21px; font-weight: 800; margin: 8px 0 0; color: var(--text); }
.share-hero-sub { font-size: 13px; color: var(--muted); line-height: 1.85; margin-top: 8px; }

.share-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow); padding: 22px 18px; text-align: center;
}
.share-card-qr {
  width: 200px; height: 200px; border-radius: 16px; background: #fff;
  border: 1px solid var(--border); padding: 6px;
}
.share-card-url {
  font-size: 17px; font-weight: 800; color: var(--text); letter-spacing: .06em; margin-top: 12px;
}
.share-card-hint { font-size: 12px; color: var(--dim); margin-top: 6px; }
.share-card-btns { display: flex; gap: 10px; margin-top: 16px; }
.share-card-btns .btn { flex: 1; }

.list-item.share-line {
  width: 100%; text-align: left; background: transparent; border: 0;
  border-bottom: 1px solid var(--border); font: inherit; cursor: pointer;
}
.list-item.share-line:last-child { border-bottom: 0; }
.list-item.share-line:active { background: var(--card-2); }

/* ---------- 实验室首页 ---------- */
.lab-hero {
  border-radius: var(--r-lg); padding: 22px 18px; margin-bottom: 14px;
  background: linear-gradient(135deg, #6366f1 0%, #0891b2 55%, #14b8a6 100%);
  color: #fff; box-shadow: var(--shadow); text-align: center;
}
.lab-hero-emo { font-size: 34px; }
.lab-hero-title { font-size: 20px; font-weight: 800; margin: 6px 0 0; }
.lab-hero-desc { font-size: 12.5px; line-height: 1.8; opacity: .94; margin-top: 8px; }
.lab-hero-strip {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 14px; padding: 7px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .18); font-size: 11.5px; flex-wrap: wrap;
}
.lab-hero-strip i { width: 1px; height: 11px; background: rgba(255, 255, 255, .45); }

.lab-grid { display: flex; flex-direction: column; gap: 10px; }
.lab-card {
  display: flex; align-items: center; gap: 12px; padding: 13px 14px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
  box-shadow: var(--shadow-sm); text-decoration: none; color: inherit;
  transition: transform .18s var(--ease);
}
.lab-card:active { transform: scale(.985); }
.lab-card-emo {
  width: 46px; height: 46px; border-radius: 14px; flex: none; font-size: 22px;
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .16);
}
.lab-card-main { flex: 1; min-width: 0; }
.lab-card-title {
  font-size: 14.5px; font-weight: 800; color: var(--text);
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.lab-card-tag {
  font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px;
  background: var(--card-2); color: var(--muted); border: 1px solid var(--border);
}
.lab-card-tag.is-hot { background: #fff1f2; color: var(--danger); border-color: #fecdd3; }
.lab-card-tag.is-open { background: #ecfdf5; color: var(--accent-2); border-color: #a7f3d0; }
.lab-card-sub {
  font-size: 12px; color: var(--muted); margin-top: 3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lab-card-go { font-size: 20px; color: var(--dim); flex: none; }

/* ---------- 戒酒天气 ---------- */
.wx-restart {
  display: flex; align-items: center; gap: 12px; padding: 13px 14px; margin-bottom: 12px;
  background: linear-gradient(135deg, #fff7ed, #fef2f2); border: 1px solid #fed7aa;
  border-radius: var(--r); text-decoration: none; color: inherit; box-shadow: var(--shadow-sm);
}
.wx-restart-emo { font-size: 24px; }
.wx-restart-main { flex: 1; min-width: 0; }
.wx-restart-title { font-size: 14px; font-weight: 800; color: #9a3412; }
.wx-restart-sub { font-size: 11.5px; color: #b45309; margin-top: 2px; }
.wx-restart-go { color: #b45309; font-size: 18px; }

.wx-card {
  border-radius: var(--r-lg); padding: 20px 18px; color: #fff;
  box-shadow: var(--shadow); margin-bottom: 6px;
}
.wx-card.is-clear  { background: linear-gradient(135deg, #0ea5e9 0%, #22d3ee 100%); }
.wx-card.is-cloudy { background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%); }
.wx-card.is-rain   { background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%); }
.wx-card.is-storm  { background: linear-gradient(135deg, #4338ca 0%, #be123c 100%); }

.wx-top { display: flex; align-items: center; gap: 14px; }
.wx-emo { font-size: 46px; line-height: 1; }
.wx-kicker { font-size: 11.5px; opacity: .82; letter-spacing: .08em; }
.wx-label { font-size: 24px; font-weight: 800; display: flex; align-items: baseline; gap: 10px; }
.wx-score { font-size: 15px; font-weight: 700; opacity: .9; }
.wx-score i { font-style: normal; font-size: 11px; opacity: .7; }

.wx-meter {
  height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .28);
  margin: 16px 0 12px; overflow: hidden;
}
.wx-meter i {
  display: block; height: 100%; border-radius: 999px;
  background: rgba(255, 255, 255, .95); transition: width .4s var(--ease);
}
.wx-summary { font-size: 13px; line-height: 1.85; opacity: .95; margin: 0; }

.wx-why {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .22);
}
.wx-why-label { font-size: 11.5px; opacity: .78; margin-bottom: 6px; letter-spacing: .06em; }
.wx-why ul { margin: 0; padding-left: 16px; }
.wx-why li { font-size: 12.5px; line-height: 1.85; opacity: .95; }

.wx-week {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 10px;
}
.wx-day {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 8px 2px; text-align: center; box-shadow: var(--shadow-sm);
}
.wx-day-name { display: block; font-size: 10.5px; color: var(--dim); }
.wx-day-emo { display: block; font-size: 17px; margin: 3px 0; }
.wx-day-pct { display: block; font-size: 10.5px; font-weight: 700; color: var(--muted); }
.wx-day.is-storm { border-color: #fda4af; background: #fff1f2; }
.wx-day.is-rain { border-color: #c7d2fe; background: #eef2ff; }

/* ---------- 时间银行 ---------- */
.bank-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); padding: 18px;
}
.bank-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.bank-kicker { font-size: 11.5px; color: var(--dim); }
.bank-num { font-size: 34px; font-weight: 800; color: var(--text); line-height: 1.1; }
.bank-num span { font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.bank-side { text-align: right; font-size: 11.5px; color: var(--muted); line-height: 1.9; }
.bank-side b { font-size: 14px; color: var(--text); }
.bank-desc { font-size: 12.5px; color: var(--muted); line-height: 1.85; margin: 12px 0 0; }
.bank-btns { display: flex; gap: 10px; margin-top: 14px; }
.bank-form { flex: 1; margin: 0; }

/* ---------- 重启仪式 ---------- */
.rs-hero { text-align: center; padding: 10px 10px 4px; }
.rs-candle { font-size: 46px; }
.rs-title { font-size: 21px; font-weight: 800; color: var(--text); margin: 8px 0 0; }
.rs-sub { font-size: 13px; color: var(--muted); line-height: 1.9; margin-top: 10px; }
.rs-hero.is-calm .rs-title { color: var(--accent-2); }

.rs-keep {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 4px;
}
.rs-keep-item {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
  padding: 14px 6px; text-align: center; box-shadow: var(--shadow-sm);
}
.rs-keep-num { font-size: 22px; font-weight: 800; color: var(--text); }
.rs-keep-label { font-size: 10.5px; color: var(--dim); margin-top: 4px; line-height: 1.5; }

.rs-actions { margin-top: 16px; }

.rs-badge {
  display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px;
  border-radius: var(--r); background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #fde68a;
}
.rs-badge-emo { font-size: 28px; }
.rs-badge-title { font-size: 14px; font-weight: 800; color: #92400e; }
.rs-badge-sub { font-size: 12px; color: #b45309; margin-top: 2px; }

/* ---------- 剧本杀 ---------- */
.scene-hero { text-align: center; padding: 6px 8px 16px; }
.scene-hero-emo { font-size: 38px; }
.scene-hero-title { font-size: 20px; font-weight: 800; margin: 6px 0 0; color: var(--text); }
.scene-hero-desc { font-size: 12.5px; color: var(--muted); line-height: 1.85; margin-top: 8px; }

.scene-grid { display: flex; flex-direction: column; gap: 10px; }
.scene-card {
  display: flex; align-items: center; gap: 12px; padding: 16px 14px; width: 100%;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
  box-shadow: var(--shadow-sm); text-align: left; font: inherit; cursor: pointer;
  transition: transform .18s var(--ease);
}
.scene-card:active { transform: scale(.985); }
.scene-card-emo { font-size: 30px; flex: none; }
.scene-card-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.scene-card-title { font-size: 15px; font-weight: 800; color: var(--text); }
.scene-card-sub { font-size: 12.5px; color: var(--muted); }
.scene-card-meta { font-size: 11px; color: var(--dim); }
.scene-card-go { font-size: 20px; color: var(--dim); }

.scene-stage { padding-top: 2px; }
.scene-hud { display: flex; gap: 8px; margin-bottom: 12px; }
.scene-hud-item {
  flex: 1; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 8px; text-align: center; box-shadow: var(--shadow-sm);
}
.scene-hud-item span { display: block; font-size: 10.5px; color: var(--dim); }
.scene-hud-item b { display: block; font-size: 17px; font-weight: 800; color: var(--text); }

.scene-say {
  background: linear-gradient(135deg, #1e293b, #334155); color: #fff;
  border-radius: var(--r-lg); padding: 22px 18px; box-shadow: var(--shadow); margin-bottom: 14px;
}
.scene-say-emo { font-size: 26px; }
.scene-say-text { font-size: 15px; line-height: 1.85; margin: 10px 0 0; }

.scene-opts { display: flex; flex-direction: column; gap: 10px; }
.scene-opt {
  display: flex; align-items: flex-start; gap: 10px; width: 100%;
  padding: 14px; text-align: left; font: inherit; font-size: 13.5px; line-height: 1.7;
  color: var(--text); background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform .12s var(--ease), border-color .12s var(--ease);
}
.scene-opt:active { transform: scale(.985); border-color: var(--accent); }
.scene-opt-no {
  flex: none; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 800;
  background: var(--card-2); color: var(--muted); display: flex; align-items: center; justify-content: center;
}

.scene-feedback {
  margin-top: 14px; padding: 16px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.scene-fb-score { display: flex; gap: 8px; margin-bottom: 10px; }
.scene-fb-score i {
  font-style: normal; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px;
}
.scene-fb-score i.is-h { background: #eff6ff; color: #1d4ed8; }
.scene-fb-score i.is-f { background: #ecfdf5; color: #047857; }
.scene-fb-tip { font-size: 13px; color: var(--muted); line-height: 1.8; margin: 0; }
.scene-fb-reply {
  margin: 10px 0 0; padding: 10px 12px; border-radius: var(--r-sm);
  background: #f8fafc; border-left: 3px solid var(--accent);
  font-size: 13px; color: var(--text); line-height: 1.8;
}

.scene-result { text-align: center; padding-top: 10px; }
.scene-result-emo { font-size: 52px; }
.scene-result-title { font-size: 22px; font-weight: 800; color: var(--text); margin-top: 6px; }
.scene-result-desc { font-size: 13px; color: var(--muted); line-height: 1.85; margin: 8px 0 0; }

.scene-bars { margin: 18px 0 4px; display: flex; flex-direction: column; gap: 10px; }
.scene-bar { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.scene-bar > span { width: 46px; flex: none; text-align: left; }
.scene-bar > i { flex: 1; height: 9px; border-radius: 999px; background: var(--border); overflow: hidden; }
.scene-bar > i > b { display: block; height: 100%; background: var(--grad); border-radius: 999px; transition: width .5s var(--ease); }
.scene-bar > em { font-style: normal; width: 30px; text-align: right; font-weight: 800; color: var(--text); }

.scene-lines {
  margin-top: 16px; padding: 14px; text-align: left;
  background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--r);
}
.scene-lines-label { font-size: 12px; font-weight: 800; color: #92400e; margin-bottom: 8px; }
.scene-line { font-size: 13px; line-height: 1.85; color: #78350f; padding: 4px 0; }

.scene-result-btns { margin-top: 18px; }

/* ---------- 身体修复 ---------- */
.bd-hero {
  background: linear-gradient(135deg, #059669 0%, #0891b2 100%); color: #fff;
  border-radius: var(--r-lg); padding: 22px 18px; box-shadow: var(--shadow); text-align: center;
}
.bd-kicker { font-size: 11.5px; opacity: .85; letter-spacing: .08em; }
.bd-days { font-size: 46px; font-weight: 800; line-height: 1.15; margin-top: 2px; }
.bd-days span { font-size: 16px; font-weight: 600; margin-left: 4px; opacity: .9; }
.bd-hours { font-size: 12px; opacity: .9; margin-top: 4px; }
.bd-meter {
  height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .28);
  margin: 16px 0 10px; overflow: hidden;
}
.bd-meter i { display: block; height: 100%; background: rgba(255, 255, 255, .95); border-radius: 999px; transition: width .4s var(--ease); }
.bd-meter-label { font-size: 12px; opacity: .95; line-height: 1.7; }

.bd-next {
  display: flex; align-items: center; gap: 12px; padding: 14px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}
.bd-next-emo { font-size: 26px; }
.bd-next-title { font-size: 13.5px; font-weight: 700; color: var(--text); line-height: 1.6; }
.bd-next-sub { font-size: 12px; color: var(--muted); margin-top: 3px; }

.bd-timeline { position: relative; padding-left: 6px; }
.bd-item { display: flex; gap: 12px; padding: 10px 0; position: relative; }
.bd-item::before {
  content: ''; position: absolute; left: 15px; top: 34px; bottom: -6px; width: 2px;
  background: var(--border);
}
.bd-item:last-child::before { display: none; }
.bd-dot {
  width: 32px; height: 32px; border-radius: 50%; flex: none; z-index: 1;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  background: var(--card-2); border: 2px solid var(--border); color: var(--muted);
}
.bd-item.is-done .bd-dot { background: #ecfdf5; border-color: #6ee7b7; color: #047857; font-weight: 800; }
.bd-item.is-next .bd-dot { background: #eff6ff; border-color: #93c5fd; }
.bd-item-main { flex: 1; min-width: 0; padding-top: 2px; }
.bd-item-title { font-size: 13.5px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 6px; }
.bd-item-desc { font-size: 12px; color: var(--muted); line-height: 1.7; margin-top: 3px; }
.bd-item.is-lock { opacity: .55; }
.bd-tag {
  font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: 999px;
  background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe;
}

/* ---------- 清醒小屋 ---------- */
.rm-wrap { margin-bottom: 6px; }
.rm-room {
  position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border);
  background: #f8fafc;
}
.rm-wall { position: absolute; inset: 0 0 32% 0; background: linear-gradient(180deg, #fffdf8 0%, #f1f5f9 100%); }
.rm-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 32%; background: linear-gradient(180deg, #e2e8f0, #cbd5e1); }
.rm-window {
  position: absolute; right: 9%; top: 10%; width: 17%; height: 21%; border-radius: 6px;
  background: linear-gradient(180deg, #cfe9ff, #eef8ff);
  box-shadow: inset 0 0 0 3px #fff, 0 2px 6px rgba(15, 23, 42, .08);
}
.rm-window::before, .rm-window::after {
  content: ''; position: absolute; background: #ffffff;
}
.rm-window::before { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-1px); }
.rm-window::after { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-1px); }

.rm-item { position: absolute; line-height: 1; filter: drop-shadow(0 3px 5px rgba(15, 23, 42, .16)); }
.rm-emo { display: block; }
.rm-item.is-off { filter: none; }
.rm-item.is-off .rm-emo { display: none; }
.rm-item.is-off::before {
  content: ''; display: block; width: 30px; height: 30px; border-radius: 50%;
  border: 2px dashed rgba(148, 163, 184, .55); background: rgba(255, 255, 255, .45);
}
.rm-lock {
  position: absolute; left: 50%; bottom: -15px; transform: translateX(-50%);
  font-size: 9px; color: var(--dim); white-space: nowrap;
  background: rgba(255, 255, 255, .85); border-radius: 999px; padding: 1px 5px;
  border: 1px solid rgba(226, 232, 240, .9);
}
.rm-empty {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; color: var(--dim);
}
.rm-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 4px 0; font-size: 12.5px; color: var(--muted);
}
.rm-meta b { font-size: 20px; color: var(--text); }
.rm-meta span { font-size: 12px; }
.rm-next {
  margin-top: 10px; padding: 12px 14px; border-radius: var(--r);
  background: #fffbeb; border: 1px solid #fde68a; font-size: 12.5px;
  color: #92400e; line-height: 1.8;
}

/* ---------- 深夜树洞 ---------- */
.cv-closed { text-align: center; padding: 30px 16px 20px; }
.cv-moon { font-size: 54px; }
.cv-closed-title { font-size: 20px; font-weight: 800; color: var(--text); margin: 10px 0 0; }
.cv-closed-desc { font-size: 13px; color: var(--muted); line-height: 1.9; margin-top: 10px; }
.cv-count {
  display: inline-block; margin-top: 16px; padding: 8px 18px; border-radius: 999px;
  background: #eef2ff; color: #3730a3; font-size: 13px; font-weight: 700;
}
.cv-admin-note { margin-top: 12px; font-size: 11.5px; color: var(--dim); }

.cv-write {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); padding: 12px;
}
.cv-textarea {
  width: 100%; min-height: 96px; border: 0; outline: none; resize: vertical;
  font: inherit; font-size: 14px; line-height: 1.85; color: var(--text);
  background: transparent;
}
.cv-write-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 1px solid var(--border); }
.cv-count-char { font-size: 11.5px; color: var(--dim); }

.cv-list { display: flex; flex-direction: column; gap: 10px; }
.cv-post {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
  padding: 14px; box-shadow: var(--shadow-sm);
}
.cv-post.is-mine { background: #f0fdfa; border-color: #99f6e4; }
.cv-post-body { font-size: 13.5px; line-height: 1.9; color: var(--text); word-break: break-word; }
.cv-post-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 10px; font-size: 10.5px; color: var(--dim);
}

/* ---------- 时间胶囊 ---------- */
.cp-hero { text-align: center; padding: 6px 8px 16px; }
.cp-hero-emo { font-size: 40px; }
.cp-hero-title { font-size: 20px; font-weight: 800; margin: 6px 0 0; color: var(--text); }
.cp-hero-desc { font-size: 12.5px; color: var(--muted); line-height: 1.85; margin-top: 8px; }
.cp-hero-badge {
  display: inline-block; margin-top: 12px; padding: 6px 14px; border-radius: 999px;
  background: #fff1f2; color: var(--danger); font-size: 12px; font-weight: 700;
  border: 1px solid #fecdd3;
}

.cp-form { padding: 4px; }
.cp-textarea {
  width: 100%; min-height: 130px; padding: 12px; border-radius: var(--r-sm);
  border: 1px solid var(--border); background: var(--card-2); font: inherit;
  font-size: 13.5px; line-height: 1.9; color: var(--text); resize: vertical; outline: none;
}
.cp-textarea:focus { border-color: var(--accent); background: #fff; }

.cp-presets { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.cp-preset { position: relative; flex: 1; min-width: 70px; }
.cp-preset input { position: absolute; opacity: 0; pointer-events: none; }
.cp-preset span {
  display: block; text-align: center; padding: 8px 4px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--card-2); cursor: pointer;
  font-size: 12px; font-weight: 700; color: var(--muted); transition: all .15s var(--ease);
}
.cp-preset input:checked + span {
  background: var(--accent); border-color: var(--accent); color: #fff;
}

.cp-list { display: flex; flex-direction: column; gap: 10px; }
.cp-item {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
  padding: 14px; box-shadow: var(--shadow-sm);
}
.cp-item.is-ready { border-color: #fdba74; background: #fffbf5; }
.cp-item.is-read { background: var(--card-2); }
.cp-item-head { display: flex; align-items: center; gap: 10px; }
.cp-item-emo { font-size: 22px; }
.cp-item-main { flex: 1; min-width: 0; }
.cp-item-title { font-size: 13.5px; font-weight: 800; color: var(--text); }
.cp-item-sub { font-size: 11.5px; color: var(--dim); margin-top: 2px; }
.cp-item-preview {
  margin-top: 10px; font-size: 12.5px; color: var(--muted); line-height: 1.8;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cp-item.is-locked .cp-item-preview { filter: blur(3px); user-select: none; }
.cp-open-btn { margin-top: 12px; }
.cp-item-body {
  margin-top: 12px; padding: 12px; border-radius: var(--r-sm);
  background: #fff; border: 1px dashed var(--border);
  font-size: 13.5px; line-height: 1.95; color: var(--text); white-space: pre-wrap; word-break: break-word;
}

/* ---------- 首页入口配色 ---------- */
.game-entry-emo.is-lab { background: linear-gradient(135deg, #6366f1, #14b8a6); }
