/*
 * 我的邱比特（E35）獨立前端樣式。品牌：酒紅 --red #8b1e24 為主色、象牙白（--ivory #e7f1e3）為點綴、淺色底；
 * 其餘只用中性白與灰階。不沿用我的月老黑金、不用月老 Logo 或圖片。
 * 適齡設計：內文 ≥16px、點擊區 ≥48px、icon 一律配文字；手機優先，桌機單欄 480px 置中。
 */
:root {
  --red: #8b1e24;
  --red-ink: color-mix(in srgb, #8b1e24 82%, #000);
  --red-soft: color-mix(in srgb, #8b1e24 8%, #fff);
  --ivory: #e7f1e3;
  --white: #ffffff;
  --g50: #fafafa;
  --g100: #f4f4f4;
  --g200: #e6e6e6;
  --g400: #a3a3a3;
  --g600: #5c5c5c;
  --g900: #1f1f1f;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(0 0 0 / 6%), 0 4px 16px rgb(0 0 0 / 5%);
  --serif: "Noto Serif TC", "Songti TC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --tabbar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--g50); color: var(--g900);
  font: 17px/1.7 var(--sans); letter-spacing: .01em;
}
a { color: var(--red); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--red) 55%, #fff); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.cp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cp-skip { position: absolute; left: 8px; top: -60px; background: var(--white); padding: 12px 16px; z-index: 50; border-radius: 8px; }
.cp-skip:focus { top: 8px; }

/* 預覽提示橫幅 */
.cp-banner { background: var(--red-soft); color: var(--red-ink); padding: 10px 16px; font-size: 16px; font-weight: 700; text-align: center; border-bottom: 1px solid color-mix(in srgb, var(--red) 25%, #fff); }

/* 頁首 */
.cp-header {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  max-width: 480px; margin: 0 auto; padding: calc(8px + env(safe-area-inset-top)) 16px 8px;
  background: color-mix(in srgb, var(--g50) 92%, transparent); backdrop-filter: blur(8px);
}
.cp-logo { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; text-decoration: none; color: var(--red); }
.cp-logo__mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: var(--white); font-size: 16px; }
.cp-logo__text { font: 700 21px/1 var(--serif); letter-spacing: .08em; }
.cp-header__actions { display: flex; gap: 4px; }
.cp-iconlink { display: inline-flex; align-items: center; gap: 4px; min-height: 48px; padding: 0 12px; border-radius: 24px; text-decoration: none; color: var(--g900); font-size: 16px; }
.cp-iconlink:hover { background: var(--g100); }

.cp-main {
  max-width: 480px; margin: 0 auto; padding: 8px 16px calc(var(--tabbar-h) + 32px + env(safe-area-inset-bottom));
  min-height: 70vh; outline: none;
}

/* 底部 Tab */
.cp-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: center;
  background: var(--white); border-top: 1px solid var(--g200); padding-bottom: env(safe-area-inset-bottom);
}
.cp-tab {
  flex: 1; max-width: 120px; min-height: var(--tabbar-h); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; text-decoration: none; color: var(--g600); font-size: 14px;
}
.cp-tab__icon { font-size: 20px; line-height: 1; }
.cp-tab.is-active { color: var(--red); font-weight: 700; }

/* 標題 */
.cp-pagehead { margin: 8px 0 16px; }
.cp-pagehead__title, .cp-greet__title { font: 700 26px/1.35 var(--serif); margin: 4px 0; color: var(--g900); }
.cp-pagehead__sub { color: var(--g600); margin: 4px 0 0; font-size: 16px; }
.cp-back { display: inline-flex; align-items: center; min-height: 48px; text-decoration: none; font-size: 16px; }
.cp-greet { margin: 8px 0 16px; }
.cp-greet__hi { margin: 0; color: var(--red); font-weight: 700; }

/* 首頁 hero */
.cp-hero { padding: 24px 0 8px; }
.cp-hero__kicker { display: inline-block; margin: 0; padding: 4px 12px; border-radius: 999px; background: var(--red-soft); color: var(--red); font-size: 15px; font-weight: 700; letter-spacing: .1em; }
.cp-hero__title { font: 700 32px/1.35 var(--serif); margin: 12px 0; color: var(--red); }
.cp-hero__lead { color: var(--g600); margin: 0 0 20px; }
.cp-hero__actions { display: grid; gap: 12px; }
.cp-steps { margin: 0; padding-left: 1.4em; display: grid; gap: 10px; }
.cp-steps strong { display: block; }
.cp-steps span { color: var(--g600); font-size: 16px; }

/* 卡片 */
.cp-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 16px; margin: 0 0 16px; }
.cp-card__title { font: 700 19px/1.4 var(--serif); margin: 0 0 12px; }
.cp-card__hint { color: var(--g600); font-size: 16px; margin: 0 0 12px; }
.cp-card--accent { border-top: 4px solid var(--red); }
.cp-card--warn { border-left: 4px solid var(--red); }
.cp-card--muted { background: var(--g100); box-shadow: none; }

/* 按鈕 */
.cp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 20px;
  border-radius: 24px; border: 1.5px solid transparent; font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, opacity .15s;
}
.cp-btn--primary { background: var(--red); color: var(--white); }
.cp-btn--primary:hover { background: var(--red-ink); }
.cp-btn--ghost { background: var(--white); color: var(--red); border-color: color-mix(in srgb, var(--red) 40%, #fff); }
.cp-btn--ghost:hover { background: var(--red-soft); }
.cp-btn--danger { background: var(--white); color: var(--red-ink); border-color: color-mix(in srgb, var(--red) 55%, #fff); }
.cp-btn--line { background: var(--white); color: var(--g900); border-color: var(--g200); width: 100%; }
.cp-btn--block { width: 100%; }
.cp-btn--small { min-height: 48px; padding: 0 14px; font-size: 16px; }
.cp-btn[disabled] { opacity: .55; cursor: not-allowed; }
.cp-link { display: inline-flex; align-items: center; min-height: 48px; font-size: 16px; }
.cp-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 12px 0; }
.cp-actions__hint { color: var(--g600); font-size: 15px; }
.cp-sticky-actions { position: sticky; bottom: calc(var(--tabbar-h) + 8px + env(safe-area-inset-bottom)); padding: 8px 0; background: linear-gradient(transparent, var(--g50) 30%); }

/* 表單 */
.cp-form { display: grid; gap: 14px; }
.cp-form--inline .cp-range { align-items: end; }
.cp-field { display: grid; gap: 6px; }
.cp-field__label { font-weight: 700; font-size: 16px; }
.cp-field__hint { color: var(--g600); font-size: 15px; margin: 0; }
.cp-field__error { color: var(--red-ink); font-size: 15px; font-weight: 700; }
.cp-input {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--g200); border-radius: 10px; background: var(--white); font-size: 17px;
}
textarea.cp-input { min-height: 96px; resize: vertical; }
.cp-input:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 18%, transparent); }
.cp-input[aria-invalid="true"] { border-color: var(--red); border-width: 2px; }
.cp-input[disabled] { background: var(--g100); color: var(--g600); }
.cp-form-error { margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--red-soft); color: var(--red-ink); font-size: 16px; font-weight: 700; }
.cp-check { display: flex; gap: 10px; align-items: flex-start; min-height: 48px; padding: 10px 0; cursor: pointer; }
.cp-check input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--red); flex: none; }
.cp-form__links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 12px 0 0; font-size: 16px; }
.cp-form__links a { min-height: 48px; display: inline-flex; align-items: center; }
.cp-or { text-align: center; color: var(--g600); margin: 0 0 10px; }
.cp-code__row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; }
.cp-captcha { display: grid; gap: 8px; justify-items: start; }
.cp-captcha__img { border-radius: 8px; border: 1px solid var(--g200); }
.cp-range { display: flex; gap: 8px; align-items: center; }
.cp-range .cp-input { max-width: 120px; }
.cp-range__unit { color: var(--g600); }

/* 提示 */
.cp-note { padding: 12px 14px; border-radius: 10px; background: var(--ivory); color: var(--g900); font-size: 16px; margin: 0 0 16px; }
.cp-note--warn { background: var(--red-soft); color: var(--red-ink); }
.cp-note a { margin-left: 4px; }
.cp-badge { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; background: var(--g100); color: var(--g600); font-size: 14px; font-weight: 700; vertical-align: middle; }
.cp-badge--warn { background: var(--red-soft); color: var(--red-ink); }
.cp-badge--accent { background: var(--red-soft); color: var(--red); }
.cp-badge--high { background: var(--ivory); color: var(--g900); }
.cp-badge--mid { background: var(--g100); color: var(--g900); }
.cp-badge--low { background: var(--g100); color: var(--g600); }
.cp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

/* 空狀態與載入 */
.cp-empty { text-align: center; padding: 32px 16px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 16px; }
.cp-empty__title { font: 700 19px/1.4 var(--serif); margin: 0 0 6px; }
.cp-empty__text { color: var(--g600); margin: 0 0 16px; }
.cp-empty--error .cp-empty__title { color: var(--red-ink); }
.cp-loading { display: flex; gap: 10px; align-items: center; justify-content: center; padding: 32px 0; color: var(--g600); }
.cp-spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--g200); border-top-color: var(--red); animation: cp-spin .8s linear infinite; }
@keyframes cp-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cp-spinner { animation: none; } * { transition: none !important; } }

/* 清單 */
.cp-rows { list-style: none; margin: 0; padding: 0; }
.cp-rows > li + li { border-top: 1px solid var(--g200); }
.cp-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 8px 0; text-decoration: none; color: inherit; }
a.cp-row:hover .cp-row__main { color: var(--red); }
.cp-row__main { display: grid; gap: 2px; }
.cp-row__main small { color: var(--g600); font-size: 14px; }
.cp-row__side { color: var(--g600); font-size: 15px; text-align: right; white-space: nowrap; }
.cp-row__side.is-neg { color: var(--red-ink); }
a.cp-row::after { content: "›"; color: var(--g400); font-size: 22px; margin-left: 4px; }
.cp-list--bullets { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.cp-linklist { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: center; margin: 8px 0 16px; }
.cp-linklist a { min-height: 48px; display: inline-flex; align-items: center; }
.cp-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 8px 0; }
.cp-dl dt { color: var(--g600); }
.cp-dl dd { margin: 0; }

/* 完成度 */
.cp-progress { height: 12px; border-radius: 6px; background: var(--g100); overflow: hidden; }
.cp-progress__bar { display: block; height: 100%; background: var(--red); border-radius: 6px; }
.cp-progress__label { margin: 6px 0 10px; font-weight: 700; color: var(--red); }
.cp-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cp-checklist li { display: flex; gap: 10px; align-items: center; min-height: 44px; }
.cp-checklist__mark { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--g200); color: var(--g400); font-size: 14px; flex: none; }
.cp-checklist li.is-done .cp-checklist__mark { background: var(--red); border-color: var(--red); color: var(--white); }
.cp-checklist li.is-done span:not(.cp-checklist__mark) { color: var(--g600); }

/* 功能入口 */
.cp-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cp-feature-grid--big { grid-template-columns: 1fr; }
.cp-feature { display: grid; gap: 4px; padding: 14px; min-height: 88px; border-radius: 12px; background: var(--white); border: 1.5px solid var(--g200); text-decoration: none; color: inherit; }
.cp-feature-grid--big .cp-feature { box-shadow: var(--shadow); border: 0; border-left: 4px solid var(--red); }
.cp-feature strong { color: var(--red); font-size: 17px; }
.cp-feature span { color: var(--g600); font-size: 15px; }
.cp-feature:hover { border-color: var(--red); }
.cp-feature.is-disabled { opacity: .6; }

/* 人物卡 */
.cp-people { display: grid; gap: 10px; }
.cp-person-link { text-decoration: none; color: inherit; }
.cp-person { display: flex; gap: 12px; align-items: center; background: var(--white); border-radius: 12px; padding: 12px; box-shadow: var(--shadow); margin-bottom: 12px; }
.cp-people .cp-person { margin: 0; }
.cp-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--g100); flex: none; }
.cp-person__body { flex: 1; min-width: 0; }
.cp-person__name { margin: 0; font-size: 18px; }
.cp-person__meta { margin: 0; color: var(--g600); font-size: 15px; }
.cp-person__side { display: grid; justify-items: end; gap: 4px; }
.cp-score { display: grid; justify-items: end; gap: 4px; }
.cp-card .cp-score { justify-items: start; }
.cp-score__num { font: 700 30px/1 var(--serif); color: var(--red); }
.cp-score__num small { font-size: 15px; margin-left: 2px; }

/* 條件 */
.cp-conds { display: grid; gap: 4px; }
.cp-cond { padding: 10px 0; border-top: 1px solid var(--g200); }
.cp-cond:first-child { border-top: 0; }
.cp-cond__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cp-cond__head .cp-input { max-width: 140px; }
.cp-cond__label { font-weight: 700; }
.cp-cond__value { margin-top: 8px; }
.cp-choices summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; color: var(--red); }
.cp-choices__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }

/* 問卷 */
.cp-question { border: 0; margin: 0 0 12px; padding: 16px; background: var(--white); border-radius: 12px; box-shadow: var(--shadow); }
.cp-question__text { font-weight: 700; padding: 0; margin-bottom: 10px; }
.cp-question__tracklabel { margin: 8px 0 4px; color: var(--g600); font-size: 15px; }
.cp-scale { display: grid; gap: 6px; }
.cp-scale__opt { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 12px; border: 1.5px solid var(--g200); border-radius: 10px; cursor: pointer; }
.cp-scale__opt input { width: 22px; height: 22px; accent-color: var(--red); }
.cp-scale__opt:has(input:checked) { border-color: var(--red); background: var(--red-soft); }
.cp-bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cp-bars li { display: grid; grid-template-columns: 6.5em 1fr 2.5em; gap: 8px; align-items: center; }
.cp-bars__track { height: 10px; border-radius: 5px; background: var(--g100); overflow: hidden; }
.cp-bars__fill { display: block; height: 100%; background: var(--red); }
.cp-bars__val { text-align: right; color: var(--g600); }
.cp-big { font: 700 24px/1.4 var(--serif); color: var(--red); margin: 0; }

/* 今晚來 */
.cp-slotday { border: 0; padding: 10px 0; margin: 0; border-top: 1px solid var(--g200); }
.cp-slotday legend { font-weight: 700; padding: 0; }
.cp-slotday__opts { display: flex; flex-wrap: wrap; gap: 0 16px; }

/* 朋友與聊天 */
.cp-friends { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cp-friend { display: flex; gap: 12px; padding: 12px; border-radius: 12px; background: var(--white); box-shadow: var(--shadow); text-decoration: none; color: inherit; min-height: 80px; }
.cp-friend__body { flex: 1; min-width: 0; }
.cp-friend__name { margin: 0; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.cp-friend__last { margin: 2px 0; color: var(--g600); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-friend__meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; color: var(--g600); }
.cp-unread { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--red); color: var(--white); font-size: 14px; display: inline-grid; place-items: center; }
.cp-chathead { display: flex; gap: 10px; align-items: center; margin: 4px 0 12px; }
.cp-chathead > div { flex: 1; }
.cp-chathead__name { margin: 0; font: 700 20px/1.3 var(--serif); }
.cp-chathead__sub { margin: 0; color: var(--g600); font-size: 14px; }
.cp-chathead .cp-avatar { width: 44px; height: 44px; }
.cp-chat { list-style: none; margin: 0 0 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; max-height: 52vh; overflow-y: auto; background: var(--white); border-radius: 12px; box-shadow: var(--shadow); }
.cp-msg { max-width: 82%; }
.cp-msg--me { align-self: flex-end; text-align: right; }
.cp-msg__text { display: inline-block; margin: 0; padding: 10px 14px; border-radius: 16px; background: var(--g100); text-align: left; white-space: pre-wrap; word-break: break-word; }
.cp-msg--me .cp-msg__text { background: var(--red); color: var(--white); }
.cp-msg__time { display: block; color: var(--g400); font-size: 13px; margin-top: 2px; }
.cp-composer { background: var(--white); border-radius: 12px; box-shadow: var(--shadow); padding: 12px; }
.cp-composer__hint { color: var(--g600); font-size: 15px; margin: 0 0 8px; }
.cp-composer__form { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.cp-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; }
.cp-chip { flex: none; min-height: 44px; padding: 0 14px; border-radius: 22px; border: 1.5px solid var(--g200); background: var(--white); cursor: pointer; font-size: 15px; }
.cp-chip[aria-selected="true"] { border-color: var(--red); color: var(--red); font-weight: 700; background: var(--red-soft); }
.cp-canned { display: grid; gap: 6px; margin-top: 6px; max-height: 240px; overflow-y: auto; }
.cp-canned__item { text-align: left; min-height: 48px; padding: 10px 14px; border-radius: 10px; border: 1.5px solid var(--g200); background: var(--g50); cursor: pointer; font-size: 16px; }
.cp-canned__item:hover { border-color: var(--red); }

/* 通知 */
.cp-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cp-notice { position: relative; padding: 14px 16px; border-radius: 12px; background: var(--white); box-shadow: var(--shadow); }
.cp-notice.is-unread { border-left: 4px solid var(--red); }
.cp-notice__open { position: absolute; inset: 0; width: 100%; background: transparent; border: 0; cursor: pointer; border-radius: 12px; }
.cp-notice__title { margin: 0; font-weight: 700; }
.cp-notice__body { margin: 2px 0; color: var(--g600); font-size: 16px; }
.cp-notice__time { margin: 0; color: var(--g400); font-size: 14px; }

/* 會員中心 */
.cp-profilehead { display: flex; gap: 14px; align-items: center; margin: 8px 0 16px; }
.cp-profilehead .cp-avatar { width: 72px; height: 72px; }
.cp-profilehead__name { margin: 0; font: 700 24px/1.3 var(--serif); }
.cp-profilehead__meta { margin: 0; color: var(--g600); }
.cp-photos { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cp-photo { background: var(--white); border-radius: 12px; padding: 8px; box-shadow: var(--shadow); display: grid; gap: 6px; justify-items: start; }
.cp-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; background: var(--g100); }
.cp-coin { display: flex; align-items: baseline; gap: 6px; justify-content: center; }
.cp-coin__num { font: 700 44px/1 var(--serif); color: var(--red); }
.cp-price { font: 700 24px/1.3 var(--serif); color: var(--red); margin: 0 0 8px; }
.cp-price small { font-size: 15px; color: var(--g600); }
.cp-faq { background: var(--white); border-radius: 10px; margin-bottom: 8px; padding: 0 14px; border: 1px solid var(--g200); }
.cp-faq summary { min-height: 52px; display: flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 700; }
.cp-faq.is-unread summary::after { content: "未讀"; margin-left: auto; color: var(--red); font-size: 14px; }
.cp-faq p { color: var(--g600); }
.cp-pre { white-space: pre-wrap; }
.cp-thread { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.cp-thread__item { background: var(--white); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); }
.cp-thread__item.is-me { background: var(--red-soft); }
.cp-thread__who { margin: 0; font-weight: 700; }
.cp-thread__who small { color: var(--g600); font-weight: 400; }
.cp-thread__body { margin: 4px 0; white-space: pre-wrap; }
.cp-thread__files { display: flex; gap: 6px; flex-wrap: wrap; }
.cp-thread__files img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; }

/* 對話框與 toast */
.cp-dialog { border: 0; border-radius: 16px; padding: 20px; width: min(92vw, 420px); box-shadow: 0 12px 40px rgb(0 0 0 / 25%); }
.cp-dialog::backdrop { background: rgb(0 0 0 / 40%); }
.cp-dialog__title { margin: 0 0 8px; font: 700 20px/1.4 var(--serif); }
.cp-dialog__body { margin: 0 0 16px; white-space: pre-wrap; }
.cp-dialog__actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.cp-toast {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px);
  max-width: min(92vw, 440px); padding: 12px 18px; border-radius: 12px; background: var(--g900); color: var(--white);
  font-size: 16px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 60;
}
.cp-toast.is-shown { opacity: 1; transform: translate(-50%, 0); }
.cp-toast.is-error { background: var(--red-ink); }

@media (min-width: 720px) {
  body { background: var(--g100); }
  .cp-main { background: var(--g50); border-radius: 20px 20px 0 0; }
}
.cp-chathead .cp-back { min-width: 48px; justify-content: center; font-size: 28px; }
