/* ============================================================
   情侣点餐系统 — shared component styles
   All visuals are driven by CSS custom properties set per-phone
   root (.cp-app[data-theme]), so one stylesheet themes 3 instances.
   ============================================================ */

/* ---- Theme token sets ---------------------------------------- */
.cp-app[data-theme="warm"] {
  --bg: #F4EEE2;
  --surface: #FFFCF6;
  --surface-2: #EFE6D4;
  --text: #38302A;
  --text-soft: #877C6E;
  --text-mute: #B3A795;
  --line: #E7DBC6;
  --accent: #DB6239;
  --accent-press: #C2522C;
  --accent-soft: #F6E2D5;
  --accent-ink: #9C4320;
  --on-accent: #FFF9F4;
  --good: #5E8C5A;
  --good-soft: #E2EBDC;
  --star: #E5A33C;
  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 30px;
  --shadow: 0 1px 2px rgba(80,55,30,.05), 0 8px 24px rgba(120,85,45,.07);
  --shadow-pop: 0 12px 40px rgba(110,70,35,.16);
  --font: "Noto Sans SC", -apple-system, system-ui, sans-serif;
  --title-font: "Noto Sans SC", sans-serif;
  --script-font: "Ma Shan Zheng", "Noto Serif SC", serif;
  --title-weight: 800;
  --tabbar: rgba(255,252,246,.82);
  --hairline: rgba(120,90,50,.10);
}
.cp-app[data-theme="clean"] {
  --bg: #F4F4F1;
  --surface: #FFFFFF;
  --surface-2: #ECECE7;
  --text: #23241F;
  --text-soft: #8C8D85;
  --text-mute: #B6B7AE;
  --line: #E6E6E0;
  --accent: #7A8A63;
  --accent-press: #66744F;
  --accent-soft: #E7EBDF;
  --accent-ink: #4E5A3B;
  --on-accent: #FCFDF9;
  --good: #6E8A5E;
  --good-soft: #E7EDE1;
  --star: #B79248;
  --radius: 16px;
  --radius-sm: 11px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(40,40,30,.04), 0 6px 18px rgba(40,40,30,.05);
  --shadow-pop: 0 14px 44px rgba(30,30,20,.12);
  --font: "Noto Sans SC", -apple-system, system-ui, sans-serif;
  --title-font: "Noto Serif SC", "Noto Sans SC", serif;
  --script-font: "Noto Serif SC", serif;
  --title-weight: 600;
  --tabbar: rgba(255,255,255,.8);
  --hairline: rgba(40,40,30,.08);
}
.cp-app[data-theme="night"] {
  --bg: #1A1613;
  --surface: #24201B;
  --surface-2: #2E2922;
  --text: #F2EADD;
  --text-soft: #A89E8E;
  --text-mute: #756C5E;
  --line: rgba(255,240,220,.10);
  --accent: #F2A93B;
  --accent-press: #E0982A;
  --accent-soft: rgba(242,169,59,.14);
  --accent-ink: #F7C374;
  --on-accent: #2A1F0E;
  --good: #8FB36A;
  --good-soft: rgba(143,179,106,.16);
  --star: #F2C14E;
  --radius: 20px;
  --radius-sm: 13px;
  --radius-lg: 28px;
  --shadow: 0 2px 8px rgba(0,0,0,.3), 0 14px 36px rgba(0,0,0,.34);
  --shadow-pop: 0 18px 50px rgba(0,0,0,.5);
  --font: "Noto Sans SC", -apple-system, system-ui, sans-serif;
  --title-font: "Noto Sans SC", sans-serif;
  --script-font: "Ma Shan Zheng", serif;
  --title-weight: 800;
  --tabbar: rgba(28,24,20,.7);
  --hairline: rgba(255,240,220,.08);
}

/* ---- App shell ----------------------------------------------- */
.cp-app * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
.cp-app {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}
.cp-main {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 54px 18px 108px;
  scroll-behavior: smooth;
}
.cp-main::-webkit-scrollbar { display: none; }
.cp-main { scrollbar-width: none; }

/* top fade that masks content sliding under the status bar */
.cp-topfade {
  position: absolute; top: 0; left: 0; right: 0; height: 52px;
  background: linear-gradient(var(--bg) 56%, transparent);
  z-index: 8; pointer-events: none;
}

/* ---- Headers ------------------------------------------------- */
.cp-h {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 12px; margin-bottom: 18px;
}
.cp-h-title {
  font-family: var(--title-font);
  font-weight: var(--title-weight);
  font-size: 30px; line-height: 1.1; letter-spacing: -0.02em;
  margin: 0;
}
.cp-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
  margin: 0 0 6px;
}
.cp-sub { color: var(--text-soft); font-size: 13.5px; line-height: 1.5; margin: 4px 0 0; }
.cp-section-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--text-soft);
  margin: 26px 2px 12px; letter-spacing: .01em;
}
.cp-section-label .count {
  font-size: 11px; font-weight: 700; color: var(--accent);
  background: var(--accent-soft); padding: 1px 8px; border-radius: 999px;
}

/* ---- Cards --------------------------------------------------- */
.cp-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--hairline);
  padding: 16px;
}
.cp-card.flat { box-shadow: none; }

/* ---- Buttons ------------------------------------------------- */
.cp-btn {
  appearance: none; border: none; cursor: pointer;
  font-family: var(--font); font-weight: 700; font-size: 15px;
  border-radius: 999px; padding: 12px 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  transition: transform .12s, background .16s, opacity .16s;
  background: var(--surface-2); color: var(--text);
  letter-spacing: 0;
}
.cp-btn:active { transform: scale(.96); }
.cp-btn.accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 16px -6px var(--accent); }
.cp-btn.accent:active { background: var(--accent-press); }
.cp-btn.ghost { background: transparent; color: var(--accent); }
.cp-btn.block { width: 100%; }
.cp-btn.lg { padding: 15px 22px; font-size: 16px; }
.cp-btn.sm { padding: 8px 14px; font-size: 13px; }
.cp-btn[disabled] { opacity: .4; pointer-events: none; }
.cp-iconbtn {
  appearance: none; border: none; cursor: pointer; background: var(--surface);
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text); box-shadow: var(--shadow); border: 1px solid var(--hairline);
  transition: transform .12s;
}
.cp-iconbtn:active { transform: scale(.92); }

/* ---- Chips / tags / segmented -------------------------------- */
.cp-chiprow { display: flex; gap: 8px; flex-wrap: wrap; }
.cp-chip {
  appearance: none; border: 1px solid var(--line); cursor: pointer;
  background: var(--surface); color: var(--text-soft);
  font-family: var(--font); font-weight: 600; font-size: 13px;
  padding: 7px 14px; border-radius: 999px; transition: all .14s; white-space: nowrap;
}
.cp-chip.on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.cp-tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11.5px; font-weight: 600; color: var(--accent-ink);
  background: var(--accent-soft); padding: 3px 9px; border-radius: 999px;
}
.cp-tag.muted { color: var(--text-soft); background: var(--surface-2); }
.cp-tag.good { color: var(--good); background: var(--good-soft); }

.cp-seg {
  display: flex; background: var(--surface-2); border-radius: 999px; padding: 3px;
  gap: 2px;
}
.cp-seg button {
  flex: 1; appearance: none; border: none; cursor: pointer; background: transparent;
  font-family: var(--font); font-weight: 700; font-size: 13.5px; color: var(--text-soft);
  padding: 8px 6px; border-radius: 999px; transition: all .16s; white-space: nowrap;
}
.cp-seg button.on { background: var(--surface); color: var(--text); box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.cp-app[data-theme="night"] .cp-seg button.on { background: var(--accent); color: var(--on-accent); }

/* ---- Dish thumb (emoji tile) --------------------------------- */
.cp-thumb {
  flex-shrink: 0; border-radius: var(--radius-sm);
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; line-height: 1;
}
.cp-thumb.lg { font-size: 54px; border-radius: var(--radius); }

/* ---- Dish row / list ----------------------------------------- */
.cp-dish {
  display: flex; gap: 13px; align-items: center;
  padding: 11px; border-radius: var(--radius-sm);
  cursor: pointer; transition: background .14s;
}
.cp-dish:active { background: var(--surface-2); }
.cp-dish .meta { flex: 1; min-width: 0; }
.cp-dish .name { font-weight: 700; font-size: 15.5px; margin: 0 0 3px; }
.cp-dish .desc { font-size: 12.5px; color: var(--text-soft);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; }
.cp-dish .row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.cp-meta-bit { display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; color: var(--text-mute); font-weight: 600; }

/* ---- Avatars ------------------------------------------------- */
.cp-av {
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0; color: #fff; font-weight: 700;
}

/* ---- Stat tiles ---------------------------------------------- */
.cp-stat {
  background: var(--surface); border-radius: var(--radius); padding: 15px 16px;
  border: 1px solid var(--hairline); box-shadow: var(--shadow);
}
.cp-stat .n { font-family: var(--title-font); font-weight: var(--title-weight);
  font-size: 30px; line-height: 1; letter-spacing: -0.02em; }
.cp-stat .l { font-size: 12px; color: var(--text-soft); margin-top: 6px; font-weight: 600; }

/* ---- Progress / status pill ---------------------------------- */
.cp-statuspill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.cp-statuspill .dot { width: 6px; height: 6px; border-radius: 50%; }
.cp-statuspill.pending { color: var(--accent-ink); background: var(--accent-soft); }
.cp-statuspill.pending .dot { background: var(--accent); }
.cp-statuspill.cooking { color: var(--star); background: color-mix(in srgb, var(--star) 16%, transparent); }
.cp-statuspill.cooking .dot { background: var(--star); animation: cp-pulse 1.1s infinite; }
.cp-statuspill.done { color: var(--good); background: var(--good-soft); }
.cp-statuspill.done .dot { background: var(--good); }
@keyframes cp-pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ---- Tab bar ------------------------------------------------- */
.cp-tabbar {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  height: 66px; border-radius: 26px;
  background: var(--tabbar);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-pop);
  display: flex; align-items: stretch; padding: 0 6px;
  z-index: 30;
}
.cp-tab {
  flex: 1; appearance: none; border: none; background: transparent; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--text-mute); transition: color .16s; padding-top: 4px;
}
.cp-tab.on { color: var(--accent); }
.cp-tab .lab { font-size: 10.5px; font-weight: 700; letter-spacing: .02em; }
.cp-tab svg { width: 24px; height: 24px; }

/* ---- FAB ----------------------------------------------------- */
.cp-fab {
  position: absolute; right: 18px; bottom: 92px; z-index: 25;
  width: 56px; height: 56px; border-radius: 20px; border: none; cursor: pointer;
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 10px 26px -6px var(--accent);
  display: flex; align-items: center; justify-content: center;
  transition: transform .14s;
}
.cp-fab:active { transform: scale(.9) rotate(90deg); }

/* ---- Sheets / modals ----------------------------------------- */
.cp-scrim {
  position: absolute; inset: 0; z-index: 40;
  background: rgba(20,12,6,.42); backdrop-filter: blur(2px);
  opacity: 0; animation: cp-fade .2s forwards;
}
@keyframes cp-fade { to { opacity: 1; } }
.cp-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 41;
  background: var(--bg); border-radius: 30px 30px 0 0;
  max-height: 92%; display: flex; flex-direction: column;
  box-shadow: 0 -10px 40px rgba(0,0,0,.2);
  transform: translateY(100%); animation: cp-up .34s cubic-bezier(.2,.8,.25,1) forwards;
  border-top: 1px solid var(--hairline);
}
@keyframes cp-up { to { transform: translateY(0); } }
.cp-sheet.full { top: 0; max-height: none; border-radius: 0; }
.cp-grab { width: 38px; height: 5px; border-radius: 99px; background: var(--text-mute);
  opacity: .5; margin: 10px auto 2px; flex-shrink: 0; }
.cp-sheet-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px 10px; flex-shrink: 0;
}
.cp-sheet-head .t { font-family: var(--title-font); font-weight: var(--title-weight); font-size: 20px; }
.cp-sheet-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 4px 18px 24px; }
.cp-sheet-body::-webkit-scrollbar { display: none; }
.cp-sheet-foot {
  flex-shrink: 0; padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--hairline); background: var(--surface);
  display: flex; gap: 10px;
}
.cp-x {
  appearance: none; border: none; cursor: pointer; background: var(--surface-2);
  width: 32px; height: 32px; border-radius: 50%; color: var(--text-soft);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}

/* ---- Inputs -------------------------------------------------- */
.cp-field { margin-bottom: 16px; }
.cp-label { display: block; font-size: 12.5px; font-weight: 700; color: var(--text-soft); margin: 0 2px 7px; }
.cp-input, .cp-textarea {
  width: 100%; appearance: none; font-family: var(--font); font-size: 15px;
  color: var(--text); background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 14px; transition: border-color .16s;
}
.cp-input:focus, .cp-textarea:focus { outline: none; border-color: var(--accent); }
.cp-input::placeholder, .cp-textarea::placeholder { color: var(--text-mute); }
.cp-textarea { resize: none; line-height: 1.5; }

/* emoji picker grid */
.cp-emojigrid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.cp-emojigrid button {
  appearance: none; border: 1.5px solid transparent; background: var(--surface);
  border-radius: 11px; aspect-ratio: 1; font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.cp-emojigrid button.on { border-color: var(--accent); background: var(--accent-soft); }

/* ingredient / step editable rows */
.cp-ed-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.cp-ed-row .cp-input { flex: 1; }
.cp-ed-row .amt { width: 88px; flex: none; }
.cp-ed-del {
  appearance: none; border: none; background: var(--surface-2); cursor: pointer;
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; color: var(--text-soft);
  display: flex; align-items: center; justify-content: center;
}
.cp-add-row {
  appearance: none; border: 1.5px dashed var(--line); background: transparent; cursor: pointer;
  width: 100%; padding: 11px; border-radius: var(--radius-sm); color: var(--accent);
  font-family: var(--font); font-weight: 700; font-size: 13.5px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}

/* recipe detail ingredient & step lists */
.cp-ing { display: flex; align-items: center; justify-content: space-between;
  padding: 11px 2px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.cp-ing:last-child { border-bottom: none; }
.cp-ing .amt { color: var(--text-soft); font-weight: 600; font-variant-numeric: tabular-nums; }
.cp-ing.check { cursor: pointer; }
.cp-ing.check.done .nm { color: var(--text-mute); text-decoration: line-through; }
.cp-checkbox { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--line);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all .14s; }
.cp-checkbox.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.cp-step { display: flex; gap: 13px; padding: 4px 0 18px; position: relative; }
.cp-step .num {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-ink);
  font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.cp-step .line { position: absolute; left: 13.5px; top: 30px; bottom: -4px; width: 2px; background: var(--line); }
.cp-step:last-child .line { display: none; }
.cp-step .txt { font-size: 14.5px; line-height: 1.6; padding-top: 3px; color: var(--text); }

/* stars */
.cp-stars { display: inline-flex; gap: 3px; }
.cp-stars button { appearance: none; border: none; background: none; cursor: pointer; padding: 0; line-height: 0; color: var(--star); }

/* toast */
.cp-toast {
  position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%) translateY(10px);
  z-index: 60; background: var(--text); color: var(--bg);
  padding: 11px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  box-shadow: 0 10px 30px rgba(0,0,0,.28); display: flex; align-items: center; gap: 8px;
  opacity: 0; animation: cp-toast 2.4s ease forwards; white-space: nowrap; max-width: 86%;
}
@keyframes cp-toast {
  0% { opacity: 0; transform: translateX(-50%) translateY(10px); }
  12%,82% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

/* difficulty dots */
.cp-diff { display: inline-flex; gap: 3px; align-items: center; }
.cp-diff i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.cp-diff i.on { background: var(--accent); }

/* love banner / today hero */
.cp-hero {
  border-radius: var(--radius-lg); padding: 20px; position: relative; overflow: hidden;
  background: var(--accent); color: var(--on-accent);
}
.cp-app[data-theme="clean"] .cp-hero { background: var(--accent); }
.cp-hero .deco { position: absolute; right: -20px; top: -10px; font-size: 120px; opacity: .16; line-height: 1; transform: rotate(-8deg); }
.cp-hero .eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.cp-hero h2 { font-family: var(--title-font); font-weight: var(--title-weight); font-size: 24px; margin: 8px 0 4px; line-height: 1.15; position: relative; }
.cp-hero p { margin: 0; font-size: 13px; opacity: .9; position: relative; }

/* empty state */
.cp-empty { text-align: center; padding: 34px 20px; color: var(--text-mute); }
.cp-empty .ico { font-size: 38px; margin-bottom: 10px; }
.cp-empty .t { font-weight: 700; color: var(--text-soft); font-size: 14.5px; }
.cp-empty .s { font-size: 12.5px; margin-top: 4px; }

/* week plan */
.cp-week { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 4px; }
.cp-week::-webkit-scrollbar { display: none; }
.cp-day {
  flex: 0 0 64px; border-radius: var(--radius-sm); padding: 9px 7px; text-align: center;
  background: var(--surface); border: 1px solid var(--hairline); cursor: pointer;
}
.cp-day.on { border-color: var(--accent); background: var(--accent-soft); }
.cp-day .dw { font-size: 11px; font-weight: 700; color: var(--text-soft); }
.cp-day .dd { font-size: 16px; font-weight: 800; margin-top: 1px; }
.cp-day .em { font-size: 19px; margin-top: 6px; height: 22px; }

/* small helpers */
.cp-row { display: flex; align-items: center; gap: 10px; }
.cp-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cp-divider { height: 1px; background: var(--line); margin: 14px 0; }
.cp-muted { color: var(--text-soft); }
.cp-press { transition: transform .12s; }
.cp-press:active { transform: scale(.97); }
.cp-fadein { animation: cp-fade .3s ease; }

/* ============================================================
   v2 additions — presentation, 三餐, 美团式菜单, 周计划, 主题
   ============================================================ */

/* ---- Presentation page (single phone + 风格切换) ----------- */
.ps-page {
  min-height: 100vh; background: #E9E6E0; box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center;
  padding: 34px 20px 60px;
  font-family: "Noto Sans SC", system-ui, sans-serif;
}
.ps-head { max-width: 560px; width: 100%; margin-bottom: 24px; }
.ps-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #A8755A; }
.ps-title { font-size: 30px; font-weight: 800; margin: 8px 0 10px; color: #2C2620; letter-spacing: -.02em; }
.ps-desc { font-size: 14px; color: #6B6258; margin: 0 0 20px; line-height: 1.65; }
.ps-switch { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.ps-switch-label { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #6B6258; align-self: center; }
.ps-chip {
  appearance: none; cursor: pointer; border: 1.5px solid #DAD4CB; background: #fff;
  border-radius: 14px; padding: 9px 13px; display: flex; flex-direction: column; gap: 4px;
  align-items: flex-start; transition: all .16s; min-width: 98px;
}
.ps-chip.on { border-color: #2C2620; box-shadow: 0 6px 18px rgba(0,0,0,.1); }
.ps-dots { display: flex; gap: 3px; }
.ps-dots i { width: 13px; height: 13px; border-radius: 4px; display: block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.ps-chip-name { font-size: 13.5px; font-weight: 800; color: #2C2620; }
.ps-chip-tag { font-size: 11px; color: #948A7E; }
.ps-stage { display: flex; justify-content: center; }

/* ---- 今日三餐（每餐多菜） ---------------------------------- */
.cp-meals { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--hairline); padding: 15px 16px; margin-bottom: 6px; }
.cp-meal-row { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.cp-meal-row:first-of-type { border-top: none; padding-top: 2px; }
.cp-meal-ic { width: 34px; height: 34px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cp-meal-toprow { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 34px; }
.cp-meal-toprow .ml { font-weight: 700; font-size: 14.5px; }
.cp-meal-toprow .mh { font-size: 11.5px; color: var(--text-mute); font-weight: 400; }
.cp-meal-addbtn { appearance: none; border: none; cursor: pointer; background: var(--accent-soft); color: var(--accent);
  font-family: var(--font); font-weight: 700; font-size: 12px; padding: 5px 10px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 3px; flex-shrink: 0; }
.cp-meal-dishes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cp-dchip { appearance: none; border: 1px solid var(--line); cursor: pointer; background: var(--surface-2);
  border-radius: 999px; padding: 4px 11px 4px 4px; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font); font-weight: 600; font-size: 12.5px; color: var(--text); max-width: 100%; }
.cp-dchip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-meal-emptybtn { appearance: none; border: 1.5px dashed var(--line); cursor: pointer; background: transparent;
  width: 100%; text-align: left; margin-top: 8px; padding: 9px 12px; border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 12.5px; color: var(--text-mute); }

/* ---- search bar ---------------------------------------------- */
.cp-searchbar { display: flex; align-items: center; gap: 8px; background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 14px; padding: 0 14px; margin-bottom: 14px; }
.cp-searchbar input { flex: 1; border: none; background: transparent; font-family: var(--font);
  font-size: 15px; color: var(--text); padding: 12px 0; outline: none; min-width: 0; }
.cp-searchbar input::placeholder { color: var(--text-mute); }

/* ---- 美团式菜单 split（左右独立滚动） ----------------------- */
.cp-menu-screen { display: flex; flex-direction: column; height: 100%; }
.cp-menu-head { flex-shrink: 0; }
.cp-menu-split { display: flex; gap: 10px; flex: 1; min-height: 0; align-items: stretch; }
.cp-menu-rail { flex: 0 0 72px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 2px;
  background: var(--surface-2); border-radius: 14px; padding: 5px; }
.cp-menu-rail::-webkit-scrollbar { display: none; }
.cp-menu-rail { scrollbar-width: none; }
.cp-rail-item { flex: 0 0 auto; appearance: none; border: none; cursor: pointer; background: transparent; font-family: var(--font);
  font-size: 12.5px; font-weight: 600; color: var(--text-soft); padding: 11px 5px; border-radius: 10px;
  text-align: center; line-height: 1.25; transition: all .15s; }
.cp-rail-item .n { display: block; font-size: 10px; color: var(--text-mute); margin-top: 2px; font-weight: 700; }
.cp-rail-item.on { background: var(--surface); color: var(--text); font-weight: 800; box-shadow: 0 2px 6px rgba(0,0,0,.06); }
.cp-rail-item.on .n { color: var(--accent); }
.cp-menu-list { flex: 1; min-width: 0; overflow-y: auto; overscroll-behavior: contain; padding: 1px 2px 12px 0; }
.cp-menu-list::-webkit-scrollbar { display: none; }
.cp-menu-list { scrollbar-width: none; }
.cp-menu-item { display: flex; gap: 12px; padding: 12px; background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius-sm); box-shadow: var(--shadow); margin-bottom: 10px; cursor: pointer; }
.cp-menu-pic { position: relative; flex-shrink: 0; }
.cp-hot { position: absolute; top: -5px; left: -5px; background: var(--accent); color: var(--on-accent);
  font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.cp-fav { position: absolute; left: 5px; bottom: 5px; right: 5px; background: rgba(20,14,8,.6);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); color: #fff; font-size: 10px; font-weight: 700;
  padding: 3px 6px; border-radius: 8px; display: flex; align-items: center; gap: 3px; justify-content: center; }
.cp-fav svg { color: #FF8FA8; }
.cp-menu-body { flex: 1; min-width: 0; display: flex; flex-direction: column; position: relative; }
.cp-menu-desc { font-size: 12px; color: var(--text-soft); margin: 4px 0 8px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cp-order-btn { position: absolute; right: 0; bottom: 0; width: 30px; height: 30px; border-radius: 50%; border: none;
  cursor: pointer; background: var(--accent); color: var(--on-accent); display: flex; align-items: center;
  justify-content: center; box-shadow: 0 4px 10px -3px var(--accent); transition: transform .12s; }
.cp-order-btn:active { transform: scale(.88); }

/* ---- 本周三餐：日期选择 + 每餐多菜卡片 ---------------------- */
.cp-daypills { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 4px; }
.cp-daypills::-webkit-scrollbar { display: none; }
.cp-daypill { flex: 0 0 auto; appearance: none; border: 1px solid var(--line); cursor: pointer; background: var(--surface);
  font-family: var(--font); font-weight: 700; font-size: 13px; color: var(--text-soft); padding: 8px 14px;
  border-radius: 999px; position: relative; transition: all .15s; }
.cp-daypill.on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.cp-today-dot { position: absolute; top: 5px; right: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.cp-daypill.on .cp-today-dot { background: var(--on-accent); }
.cp-mealcard { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: 13px 14px; margin-bottom: 10px; }
.cp-mc-dish { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border-radius: 12px; padding: 6px 8px 6px 6px; }

/* ---- shop sheet progress ------------------------------------- */
.cp-shop-progress { display: flex; align-items: center; gap: 10px; padding: 6px 2px 14px; }
.cp-shop-progress .bar { flex: 1; height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.cp-shop-progress .bar span { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width .3s; }
.cp-shop-progress .lab { font-size: 12px; font-weight: 700; color: var(--text-soft); white-space: nowrap; }
.cp-staple-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-staple { appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text-soft); font-family: var(--font); font-weight: 600; font-size: 13px;
  padding: 7px 13px; border-radius: 999px; transition: all .14s; }
.cp-staple.need { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* ---- recipe detail hero photo -------------------------------- */
.cp-detail-hero { width: 100%; border-radius: 18px; overflow: hidden; background: var(--surface-2); }
.cp-detail-hero.placeholder { height: 180px; }   /* 无照片时占位矩形 */
.cp-detail-hero img { width: 100%; height: auto; max-height: 60vh; object-fit: contain; display: block; }

/* ---- 外观主题 list ------------------------------------------- */
.cp-theme-list { display: flex; flex-direction: column; gap: 8px; }
.cp-theme-opt { appearance: none; cursor: pointer; display: flex; align-items: center; gap: 12px; width: 100%;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px;
  font-family: var(--font); transition: all .15s; }
.cp-theme-opt.on { border-color: var(--accent); background: var(--accent-soft); }
.cp-theme-dots { display: flex; gap: 3px; flex-shrink: 0; }
.cp-theme-dots i { width: 14px; height: 14px; border-radius: 5px; display: block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }

/* ---- 掌勺人选择（点单） -------------------------------------- */
.cp-cook-pick { display: flex; gap: 8px; }
.cp-cook-opt { flex: 1; appearance: none; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer;
  border-radius: 14px; padding: 10px 12px; display: flex; align-items: center; gap: 8px;
  font-family: var(--font); font-weight: 700; font-size: 13.5px; color: var(--text); }
.cp-cook-opt.on { border-color: var(--accent); background: var(--accent-soft); }
.cp-cook-opt span { white-space: nowrap; }

/* ---- 评价配图上传 -------------------------------------------- */
.cp-photo-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-photo-thumb { position: relative; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; }
.cp-photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-photo-thumb button { position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%;
  border: none; background: rgba(0,0,0,.55); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.cp-photo-add { width: 72px; height: 72px; border-radius: 12px; border: 1.5px dashed var(--line); background: transparent;
  cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--text-mute); font-family: var(--font); font-size: 11px; font-weight: 600; }
.cp-review-photos { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.cp-review-photos img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }

/* ---- 现场新建标签/分类（编辑器内） --------------------------- */
.cp-chip.add { border-style: dashed; color: var(--accent); background: transparent; display: inline-flex; align-items: center; gap: 3px; }
.cp-newchip { display: inline-flex; align-items: center; gap: 4px; border: 1.5px solid var(--accent); border-radius: 999px;
  padding: 2px 4px 2px 10px; background: var(--surface); }
.cp-newchip input { border: none; outline: none; background: transparent; font-family: var(--font); font-size: 13px; width: 72px; color: var(--text); }
.cp-newchip button { width: 24px; height: 24px; border-radius: 50%; border: none; background: var(--accent); color: var(--on-accent);
  display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }

/* ---- 管理标签/分类 sheet ------------------------------------- */
.cp-manage-add { display: flex; gap: 8px; margin-bottom: 12px; }
.cp-manage-add input { flex: 1; appearance: none; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 14px; font-family: var(--font); font-size: 14.5px; color: var(--text); background: var(--surface); outline: none; }
.cp-manage-add input:focus { border-color: var(--accent); }
.cp-manage-add .cp-btn { flex-shrink: 0; }
.cp-managechip { display: inline-flex; align-items: center; gap: 6px; background: var(--surface-2); border-radius: 999px;
  padding: 7px 8px 7px 13px; font-size: 13px; font-weight: 600; color: var(--text); }
.cp-managechip button { width: 18px; height: 18px; border-radius: 50%; border: none; background: var(--line); color: var(--text-soft);
  display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: all .14s; }
.cp-managechip button:hover { background: var(--accent); color: var(--on-accent); }

/* ---- 换掌勺 / 外食 ------------------------------------------- */
.cp-cookswap { appearance: none; border: none; cursor: pointer; background: var(--surface-2); border-radius: 999px;
  padding: 2px 8px 2px 3px; display: inline-flex; align-items: center; gap: 5px; font-family: var(--font);
  font-size: 12.5px; font-weight: 600; color: var(--text-soft); }
.cp-out-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--accent-ink);
  background: var(--accent-soft); padding: 7px 13px; border-radius: 999px; }
.cp-outbtn { width: 100%; appearance: none; cursor: pointer; border: 1.5px solid var(--line); background: var(--surface);
  border-radius: var(--radius-sm); padding: 12px 14px; display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font); font-weight: 700; font-size: 14px; color: var(--text); margin-bottom: 6px; }
.cp-outbtn.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
.cp-dayout { width: 100%; appearance: none; cursor: pointer; border: 1.5px dashed var(--line); background: transparent;
  border-radius: var(--radius-sm); padding: 11px 14px; display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font); font-weight: 700; font-size: 13.5px; color: var(--text-soft); margin-bottom: 12px; }
.cp-dayout.on { border-style: solid; border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }

/* ============================================================
   AI 助手
   ============================================================ */
.cp-ai-entry { width: 100%; appearance: none; border: none; cursor: pointer; display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: var(--radius); margin-bottom: 16px; color: var(--on-accent);
  background: linear-gradient(120deg, var(--accent), var(--accent-press)); box-shadow: 0 10px 24px -10px var(--accent); }
.cp-ai-entry .t { font-weight: 800; font-size: 15px; }
.cp-ai-entry .s { font-size: 11.5px; opacity: .92; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-ai-entry-ic { width: 42px; height: 42px; border-radius: 13px; background: rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cp-ai-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; color: var(--accent); background: var(--accent-soft); padding: 5px 10px; border-radius: 999px; }

.cp-ai-msgs { display: flex; flex-direction: column; gap: 14px; padding: 6px 2px 8px; }
.cp-ai-row { display: flex; gap: 9px; align-items: flex-start; }
.cp-ai-row.me { flex-direction: row-reverse; }
.cp-ai-ava { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow); }
.cp-ai-content { display: flex; flex-direction: column; gap: 8px; max-width: 84%; min-width: 0; }
.cp-ai-row.me .cp-ai-content { align-items: flex-end; }
.cp-ai-bubble { background: var(--surface); border: 1px solid var(--hairline); border-radius: 16px; padding: 10px 13px;
  font-size: 14px; line-height: 1.55; box-shadow: var(--shadow); white-space: pre-wrap; word-break: break-word; }
.cp-ai-row.me .cp-ai-bubble { background: var(--accent); color: var(--on-accent); border: none; }
.cp-ai-typing { display: flex; gap: 4px; align-items: center; }
.cp-ai-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-mute); animation: cp-typing 1s infinite; }
.cp-ai-typing span:nth-child(2) { animation-delay: .15s; }
.cp-ai-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes cp-typing { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.cp-ai-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px; padding: 12px; box-shadow: var(--shadow); }
.cp-ai-card-h { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--accent); margin-bottom: 9px; }
.cp-ai-pick { display: flex; align-items: center; gap: 10px; padding: 7px; border-radius: 11px; cursor: pointer; }
.cp-ai-pick:active { background: var(--surface-2); }
.cp-ai-recipe-top { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 10px; }
.cp-ai-recipe-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 11.5px; color: var(--text-soft); font-weight: 600; margin-bottom: 9px; }
.cp-ai-recipe-meta span { display: inline-flex; align-items: center; gap: 3px; }
.cp-ai-withpic { color: var(--accent) !important; }
.cp-ai-recipe-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.cp-ai-sugg { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.cp-ai-sugg button { appearance: none; cursor: pointer; text-align: left; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 11px 14px; font-family: var(--font); font-size: 13.5px; color: var(--text); font-weight: 600; box-shadow: var(--shadow); }
.cp-ai-sugg button:active { background: var(--surface-2); }

.cp-ai-inputbar { display: flex; gap: 8px; width: 100%; align-items: center; }
.cp-ai-input { flex: 1; appearance: none; border: 1.5px solid var(--line); border-radius: 999px; padding: 11px 16px;
  font-family: var(--font); font-size: 14.5px; color: var(--text); background: var(--surface); outline: none; min-width: 0; }
.cp-ai-input:focus { border-color: var(--accent); }
.cp-ai-sendbtn { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; border: none; cursor: pointer;
  background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; }
.cp-ai-sendbtn:disabled { opacity: .4; }

.cp-step-img { display: block; margin-top: 8px; width: 100%; max-width: 240px; border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; }

/* ============================================================
   登录 / 注册
   ============================================================ */
.cp-auth { height: 100%; overflow-y: auto; padding: 64px 26px 36px; display: flex; flex-direction: column; }
.cp-auth::-webkit-scrollbar { display: none; }
.cp-auth { scrollbar-width: none; }
.cp-auth-brand { text-align: center; margin-bottom: 22px; }
.cp-auth-logo { width: 64px; height: 64px; border-radius: 20px; background: var(--accent); color: var(--on-accent);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; position: relative; box-shadow: 0 10px 24px -8px var(--accent); }
.cp-auth-logo-heart { position: absolute; right: -5px; bottom: -5px; width: 25px; height: 25px; border-radius: 50%;
  background: var(--surface); color: var(--accent); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.cp-auth-title { font-family: var(--title-font); font-weight: var(--title-weight); font-size: 24px; letter-spacing: -.02em; }
.cp-auth-sub { font-size: 13px; color: var(--text-soft); margin-top: 5px; }

.cp-auth-toggle { position: relative; display: flex; background: var(--surface-2); border-radius: 999px; padding: 4px; margin-bottom: 20px; }
.cp-auth-toggle button { flex: 1; z-index: 1; appearance: none; border: none; background: none; cursor: pointer;
  font-family: var(--font); font-weight: 700; font-size: 14px; color: var(--text-soft); padding: 9px; transition: color .2s; }
.cp-auth-toggle button.on { color: var(--on-accent); }
.cp-auth-toggle-ind { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: var(--accent);
  border-radius: 999px; transition: transform .25s cubic-bezier(.2,.8,.25,1); }

.cp-auth-form { display: flex; flex-direction: column; gap: 12px; }
.cp-auth-field { display: flex; align-items: center; gap: 9px; background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 14px; padding: 0 14px; transition: border-color .16s; }
.cp-auth-field:focus-within { border-color: var(--accent); }
.cp-auth-input { flex: 1; appearance: none; border: none; background: none; outline: none; font-family: var(--font);
  font-size: 15px; color: var(--text); padding: 13px 0; min-width: 0; }
.cp-auth-input::placeholder { color: var(--text-mute); }
.cp-auth-eye { appearance: none; border: none; background: none; cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--accent); flex-shrink: 0; font-family: var(--font); }

.cp-auth-row { display: flex; align-items: center; justify-content: space-between; }
.cp-auth-check-lab { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text-soft); cursor: pointer; }
.cp-auth-box { width: 17px; height: 17px; border-radius: 5px; border: 1.5px solid var(--line); display: flex;
  align-items: center; justify-content: center; color: var(--on-accent); flex-shrink: 0; }
.cp-auth-box.on { background: var(--accent); border-color: var(--accent); }
.cp-auth-link { appearance: none; border: none; background: none; cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--accent); font-family: var(--font); }
.cp-auth-submit { margin-top: 6px; }
.cp-auth-submit.off { opacity: .45; }

.cp-auth-divider { display: flex; align-items: center; gap: 12px; color: var(--text-mute); font-size: 12px; margin: 4px 0; }
.cp-auth-divider::before, .cp-auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.cp-auth-socials { display: flex; gap: 10px; }
.cp-auth-social { flex: 1; appearance: none; cursor: pointer; border: 1.5px solid var(--line); background: var(--surface);
  border-radius: 12px; padding: 11px; font-family: var(--font); font-weight: 700; font-size: 13.5px; color: var(--text);
  display: flex; align-items: center; justify-content: center; gap: 6px; }

.cp-auth-foot { text-align: center; margin-top: auto; padding-top: 22px; font-size: 13px; color: var(--text-soft); }

.cp-auth-splash { position: absolute; inset: 0; z-index: 70; background: var(--bg); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px; animation: cp-fade .25s; }
.cp-auth-check { width: 74px; height: 74px; border-radius: 50%; background: var(--accent); color: var(--on-accent);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px -8px var(--accent);
  animation: cp-pop .42s cubic-bezier(.2,1.3,.4,1); margin-bottom: 6px; }
@keyframes cp-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.cp-auth-splash-t { font-family: var(--title-font); font-weight: var(--title-weight); font-size: 20px; }
.cp-auth-splash-s { font-size: 13px; color: var(--text-soft); }

/* ---- presentation groups ------------------------------------ */
.ps-groups { display: flex; flex-direction: column; gap: 30px; align-items: center; width: 100%; }
.ps-group { display: flex; flex-direction: column; align-items: center; }
.ps-group-label { font-size: 13px; font-weight: 800; color: #6B6258; letter-spacing: .02em; margin-bottom: 14px;
  background: rgba(255,255,255,.6); padding: 5px 14px; border-radius: 999px; }
.ps-row { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   引导 / 资料 / 通知
   ============================================================ */
.cp-screen { height: 100%; overflow-y: auto; padding: 56px 18px 30px; }
.cp-screen::-webkit-scrollbar { display: none; }
.cp-screen { scrollbar-width: none; }

/* 欢迎引导 */
.cp-ob { height: 100%; display: flex; flex-direction: column; align-items: center; padding: 58px 28px 36px; text-align: center; }
.cp-ob-skip { align-self: flex-end; appearance: none; border: none; background: none; cursor: pointer; font-family: var(--font); font-weight: 700; font-size: 13.5px; color: var(--text-soft); }
.cp-ob-art { position: relative; width: 200px; height: 200px; margin: 30px 0 36px; display: flex; align-items: center; justify-content: center; }
.cp-ob-art-ic { width: 128px; height: 128px; border-radius: 38px; background: var(--accent); color: var(--on-accent);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 16px 36px -10px var(--accent); position: relative; z-index: 1; transform: rotate(-6deg); }
.cp-ob-blob { position: absolute; border-radius: 50%; background: var(--accent-soft); }
.cp-ob-blob.b1 { width: 60px; height: 60px; top: 6px; right: 16px; }
.cp-ob-blob.b2 { width: 40px; height: 40px; bottom: 14px; left: 18px; background: color-mix(in srgb, var(--accent) 18%, transparent); }
.cp-ob-title { font-family: var(--title-font); font-weight: var(--title-weight); font-size: 26px; letter-spacing: -.02em; }
.cp-ob-text { font-size: 14.5px; color: var(--text-soft); line-height: 1.65; margin-top: 12px; max-width: 280px; }
.cp-ob-foot { margin-top: auto; width: 100%; }
.cp-ob-dots { display: flex; gap: 7px; justify-content: center; margin-bottom: 22px; }
.cp-ob-dot { width: 7px; height: 7px; border-radius: 99px; background: var(--line); cursor: pointer; transition: all .2s; }
.cp-ob-dot.on { width: 22px; background: var(--accent); }
.cp-ob-login { appearance: none; border: none; background: none; cursor: pointer; margin-top: 14px; width: 100%; font-family: var(--font); font-size: 13px; font-weight: 600; color: var(--text-soft); }

/* 个人资料 */
.cp-prof-hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 0 18px; }
.cp-prof-name { font-family: var(--title-font); font-weight: var(--title-weight); font-size: 22px; margin-top: 12px; display: flex; align-items: center; gap: 8px; }
.cp-prof-edit { appearance: none; border: 1px solid var(--line); background: var(--surface); cursor: pointer; border-radius: 999px; padding: 4px 10px; font-family: var(--font); font-size: 11.5px; font-weight: 700; color: var(--text-soft); display: inline-flex; align-items: center; gap: 3px; }
.cp-prof-handle { font-size: 13px; color: var(--text-soft); margin-top: 5px; }
.cp-prof-stats { display: flex; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 0; margin-bottom: 14px; }
.cp-prof-stat { flex: 1; text-align: center; position: relative; }
.cp-prof-stat + .cp-prof-stat::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: var(--line); }
.cp-prof-stat .n { font-family: var(--title-font); font-weight: var(--title-weight); font-size: 24px; }
.cp-prof-stat .l { font-size: 12px; color: var(--text-soft); margin-top: 3px; }
.cp-couple-card { display: flex; align-items: center; gap: 12px; background: var(--accent-soft); border-radius: var(--radius); padding: 13px 14px; }
.cp-list { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.cp-list-row { display: flex; align-items: center; gap: 12px; padding: 13px 15px; cursor: pointer; border-top: 1px solid var(--line); }
.cp-list-row:first-child { border-top: none; }
.cp-list-row:active { background: var(--surface-2); }
.cp-list-ic { width: 32px; height: 32px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cp-list-label { flex: 1; font-weight: 600; font-size: 14.5px; }
.cp-list-detail { font-size: 12.5px; color: var(--text-soft); }
.cp-logout { width: 100%; appearance: none; border: 1px solid var(--line); background: var(--surface); cursor: pointer; border-radius: var(--radius-sm); padding: 13px; margin-top: 16px; font-family: var(--font); font-weight: 700; font-size: 14.5px; color: var(--accent); }

/* 消息通知 */
.cp-notif-row { display: flex; gap: 12px; align-items: flex-start; padding: 13px; border-radius: var(--radius-sm); cursor: pointer; margin-bottom: 4px; }
.cp-notif-row.unread { background: var(--accent-soft); }
.cp-notif-ava { position: relative; flex-shrink: 0; }
.cp-notif-badge { position: absolute; right: -3px; bottom: -3px; width: 19px; height: 19px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; border: 2px solid var(--surface); }
.cp-notif-ic { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cp-notif-body { flex: 1; min-width: 0; }
.cp-notif-text { font-size: 14px; line-height: 1.45; }
.cp-notif-sub { font-size: 12.5px; color: var(--text-soft); margin-top: 3px; background: var(--surface); padding: 6px 10px; border-radius: 9px; display: inline-block; }
.cp-notif-time { font-size: 11.5px; color: var(--text-mute); margin-top: 5px; }
.cp-notif-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 6px; }
