@font-face {
  font-family: "Noto Sans SC";
  src: local("PingFang SC"), local("Hiragino Sans GB"), local("Microsoft YaHei UI"), local("Microsoft YaHei"), local("Noto Sans SC");
  font-display: swap;
}
@font-face {
  font-family: "ZCOOL XiaoWei";
  src: local("STZhongsong"), local("STSong"), local("Songti SC"), local("SimSun"), local("ZCOOL XiaoWei");
  font-display: swap;
}
:root { --mint: #8fe0d2; --mint-2: #5ec9b8; --teal: #2f9d8f; --ink: #3b4a52; --muted: #7a8b92; --paper: #f7fffc; --cream: #fff7f0; --blush: #ffd9d2; --gold: #e8c27a; --card: rgba(255, 255, 255, 0.78); --shadow: 0 18px 50px rgba(47, 90, 86, 0.22); }
* { box-sizing: border-box; }
html, body { margin: 0px; height: 100%; overflow: hidden; scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { width: 0px !important; height: 0px !important; display: none !important; }
body { font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--ink); background: rgb(28, 23, 20); }
button { font-family: inherit; cursor: pointer; }
.room { height: 100%; min-height: 100%; display: grid; place-items: center; padding: 24px 12px; background: radial-gradient(at 50% 0%, rgb(92, 70, 52) 0%, transparent 55%), linear-gradient(rgb(42, 33, 28), rgb(22, 18, 16)); overflow: hidden; position: relative; }
.chandelier { position: absolute; top: -40px; width: 280px; height: 140px; background: radial-gradient(circle at 50% 100%, rgba(255, 230, 170, 0.55), transparent 60%), radial-gradient(circle at 20% 70%, rgb(243, 212, 138) 0px, rgb(243, 212, 138) 8px, transparent 9px), radial-gradient(circle at 50% 60%, rgb(247, 225, 168) 0px, rgb(247, 225, 168) 10px, transparent 11px), radial-gradient(circle at 80% 70%, rgb(243, 212, 138) 0px, rgb(243, 212, 138) 8px, transparent 9px); filter: blur(0.2px); pointer-events: none; }
.room-glow { position: absolute; inset: 0px; background: radial-gradient(circle at 50% 18%, rgba(255, 236, 196, 0.18), transparent 40%); pointer-events: none; }
.phone { width: min(420px, 100%); height: min(860px, calc(100vh - 48px)); min-height: 520px; background: linear-gradient(rgb(216, 255, 246) 0%, rgb(238, 252, 248) 28%, rgb(255, 255, 255) 100%); border: 10px solid rgb(217, 236, 232); border-radius: 36px; box-shadow: var(--shadow), inset 0 0 0 2px rgba(255, 255, 255, 0.7); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.phone-bar { height: 18px; display: flex; justify-content: center; align-items: center; }
.phone-bar .dots { width: 52px; height: 6px; border-radius: 99px; background: rgb(197, 228, 222); }
.diary-head { padding: 4px 18px 10px; text-align: center; position: relative; }
.avatars { display: flex; justify-content: center; gap: 10px; margin-bottom: 2px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: rgb(255, 255, 255); font-size: 14px; font-weight: 700; box-shadow: rgba(47, 157, 143, 0.25) 0px 4px 10px; border: 2px solid rgb(255, 255, 255); padding: 0px; cursor: pointer; overflow: hidden; background-color: rgb(223, 238, 234); }
.avatar.you { background: linear-gradient(160deg, rgb(247, 183, 174), rgb(239, 139, 126)); }
.avatar.yi { background: linear-gradient(160deg, rgb(127, 211, 200), rgb(62, 157, 148)); }
.avatar.has-photo { color: transparent; background: rgb(238, 247, 244); }
.avatar img, .entry .mini img { width: 100%; height: 100%; object-fit: contain; object-position: center center; display: block; border-radius: 50%; background: rgb(238, 247, 244); }
h1 { margin: 2px 0px 0px; font-family: "ZCOOL XiaoWei", serif; font-size: 26px; font-weight: 400; letter-spacing: 2px; color: rgb(63, 111, 106); }
.head-meta { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 2px; font-size: 11px; color: rgb(154, 173, 168); letter-spacing: 0.4px; }
.head-link { border: 0px; background: transparent; color: rgb(94, 158, 148); font-size: 11px; padding: 2px 6px; cursor: pointer; letter-spacing: 0.5px; }
.head-link:hover { color: rgb(63, 111, 106); }
.avatars { display: none; }
#dayBadge { color: rgb(111, 136, 130); font-weight: 500; }
.meta-dot { color: rgb(197, 214, 209); }
#dateLabel { color: rgb(154, 173, 168); font-weight: 400; }
.sync-wrap { margin-left: 4px; color: rgb(154, 173, 168); }
#syncBadge { padding: 0px; border-radius: 0px; background: transparent; color: rgb(94, 158, 148); font-weight: 600; }
.screen { flex: 1 1 0%; overflow: hidden auto; padding: 8px 16px 28px; position: relative; display: flex; flex-direction: column; scrollbar-width: none !important; }
.screen::-webkit-scrollbar { background: transparent; width: 0px !important; height: 0px !important; }
.phone { overflow: hidden; }
.phone *, .sheet, .modal, .timeline { scrollbar-width: none !important; }
.phone ::-webkit-scrollbar, .sheet::-webkit-scrollbar, .modal::-webkit-scrollbar, .timeline::-webkit-scrollbar { width: 0px !important; height: 0px !important; display: none !important; }
.hero-card { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 10px; margin-bottom: 14px; position: relative; }
.photo { border-radius: 16px; overflow: hidden; min-height: 92px; position: relative; box-shadow: rgba(80, 120, 110, 0.12) 0px 8px 18px; }
.photo .cap { position: absolute; left: 8px; bottom: 8px; background: rgba(255, 255, 255, 0.86); padding: 2px 8px; border-radius: 99px; font-size: 11px; }
.sticker { position: relative; display: grid; place-items: center; }
.sticker .day-mark { position: absolute; font-family: "ZCOOL XiaoWei", serif; font-size: 42px; color: rgba(94, 201, 184, 0.22); letter-spacing: 3px; pointer-events: none; }
.hamster { width: 86px; height: 86px; border-radius: 50%; background: radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.35), transparent 28%), rgb(243, 200, 154); position: relative; box-shadow: rgba(180, 130, 80, 0.2) 0px 8px 16px; cursor: pointer; transition: transform 0.2s; }
.hamster:hover { transform: scale(1.06) rotate(-4deg); }
.hamster.gold { box-shadow: rgb(240, 212, 138) 0px 0px 0px 3px, rgba(180, 130, 80, 0.28) 0px 8px 16px; }
.hamster::before, .hamster::after { content: ""; position: absolute; background: rgb(244, 212, 176); border-radius: 50%; }
.hamster::before { width: 22px; height: 22px; left: 6px; top: 8px; }
.hamster::after { width: 22px; height: 22px; right: 6px; top: 8px; }
.hamster .face { position: absolute; inset: 28px 18px 18px; }
.hamster .eye { width: 7px; height: 8px; background: rgb(74, 52, 40); border-radius: 50%; position: absolute; top: 6px; }
.hamster .eye.l { left: 8px; }
.hamster .eye.r { right: 8px; }
.hamster .nose { width: 8px; height: 6px; background: rgb(239, 139, 126); border-radius: 50%; position: absolute; left: 50%; top: 16px; transform: translateX(-50%); }
.scene-bento { background: radial-gradient(circle at 70% 40%, rgb(255, 215, 168) 8px, transparent 9px), radial-gradient(circle at 30% 55%, rgb(255, 179, 174) 12px, transparent 13px), linear-gradient(rgb(253, 231, 210), rgb(243, 201, 166)); }
.scene-cafe { background: radial-gradient(circle at 30% 40%, rgb(111, 74, 54) 16px, transparent 17px), linear-gradient(rgb(239, 227, 214), rgb(215, 183, 154)); }
.scene-chess { background: repeating-conic-gradient(rgb(154, 167, 168) 0%, rgb(154, 167, 168) 25%, rgb(244, 238, 228) 0%, rgb(244, 238, 228) 50%) 0px 0px / 18px 18px; }
.scene-park { background: linear-gradient(rgb(191, 232, 201), rgb(126, 207, 154) 55%, rgb(217, 240, 200)); }
.scene-sea { background: linear-gradient(rgb(185, 231, 255), rgb(126, 200, 239) 50%, rgb(247, 225, 176)); }
.scene-night { background: linear-gradient(rgb(27, 39, 64), rgb(75, 58, 104) 70%, rgb(240, 194, 122) 140%); }
.scene-book { background: linear-gradient(rgb(239, 228, 212), rgb(201, 174, 143)); }
.timeline { display: flex; flex-direction: column; gap: 16px; padding: 8px 6px 16px; }
.entry { display: grid; grid-template-columns: 36px 1fr auto; gap: 8px; align-items: start; position: relative; z-index: 1; }
.entry.say { grid-template-columns: 36px minmax(0px, 1fr) 22px; gap: 8px; padding: 2px 2px 10px; align-items: start; }
.entry.say.msg { padding: 2px 4px 10px; gap: 8px; }
.entry.say.msg.chat-bubble { grid-template-columns: 36px minmax(0px, 1fr); }

/* 我方私聊：头像在右，气泡靠右 */
.entry.say.msg.chat-bubble.you {
  grid-template-columns: minmax(0, 1fr) 36px;
}
.entry.say.msg.chat-bubble.you .say-body {
  grid-column: 1;
  grid-row: 1;
  align-items: flex-end;
  text-align: left;
}
.entry.say.msg.chat-bubble.you .mini {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}
.entry.say.msg.chat-bubble.you .say-head {
  justify-content: flex-end;
  flex-direction: row-reverse;
}
.chat-feed .entry.say.msg.chat-bubble.you .say-body,
.status-chat-panel .entry.say.msg.chat-bubble.you .say-body {
  align-items: flex-end;
}
.entry.say.msg.follow .mini {
  visibility: hidden;
}
.entry.say.msg.follow.you .mini {
  visibility: hidden;
}

.entry.say.msg.follow .mini { visibility: hidden; }
.diary-para { color: rgb(63, 143, 132); line-height: 1.8; }
.diary-empty, .chat-empty { margin: 18px 8px; text-align: center; font-size: 12px; line-height: 1.7; color: rgb(168, 184, 179); }
.entry.new { animation: 0.35s ease 0s 1 normal none running rise; }
@keyframes rise { 
  0% { transform: translateY(8px); }
}
.entry .mini { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: rgb(255, 255, 255); font-size: 11px; font-weight: 600; margin-top: 2px; box-shadow: rgb(201, 235, 227) 0px 0px 0px 2px; flex-shrink: 0; }
.entry .mini.tap-profile { border: 0px; padding: 0px; cursor: pointer; font-style: inherit; font-variant: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; font-size: 11px; font-weight: 600; color: rgb(255, 255, 255); }
.entry .mini.tap-profile:active { transform: scale(0.94); }
.entry .mini.has-photo { color: transparent; background: rgb(238, 247, 244); overflow: hidden; border: 1.5px solid rgb(183, 226, 216); box-shadow: none; }
.entry .mini.you { background: linear-gradient(160deg, rgb(243, 176, 167), rgb(232, 137, 124)); }
.entry .mini.yi { background: linear-gradient(160deg, rgb(126, 207, 195), rgb(74, 159, 149)); }
.topic-rule { display: flex; align-items: center; gap: 10px; margin: 4px 4px 8px; color: rgb(200, 214, 209); font-size: 8px; letter-spacing: 0.42em; font-weight: 500; user-select: none; }
.topic-rule span { flex: 0 0 auto; padding-left: 2px; }
.topic-rule::after { content: ""; flex: 1 1 0%; height: 0px; border-top: 1px dotted rgb(197, 212, 207); transform: translateY(1px); }
.msg-more { border: 0px; width: 18px; height: 18px; margin-top: 6px; border-radius: 50%; background: rgb(95, 111, 106); color: rgb(255, 255, 255); font-size: 8px; line-height: 1; letter-spacing: 0.5px; padding: 0px 0px 1px; display: grid; place-items: center; opacity: 0.78; cursor: default; flex-shrink: 0; align-self: center; }
.msg-line { margin: 0px; font-size: 13px; line-height: 1.75; color: rgb(63, 143, 132); word-break: keep-all; overflow-wrap: break-word; }
.entry.say.you .msg-line { color: rgb(192, 122, 112); }
.entry.narrate { display: block; text-align: center; padding: 12px 16px; margin: 0px; isolation: isolate; }
.entry.narrate::before { content: "· · ·"; display: block; margin: 0px auto 8px; color: rgb(201, 216, 211); font-size: 10px; letter-spacing: 4px; line-height: 1; }
.narrate-text { margin: 0px; font-size: 12px; line-height: 1.8; color: rgb(168, 184, 179); font-weight: 400; letter-spacing: 0.2px; }
.narrate-time { display: block; margin-top: 6px; font-size: 10px; color: rgb(192, 206, 201); }
.say-body { min-width: 0px; padding-top: 1px; }
.say-head { display: flex; align-items: baseline; justify-content: flex-start; flex-wrap: wrap; gap: 6px 8px; margin-bottom: 4px; }
.say-name { font-size: 12px; font-weight: 600; color: rgb(95, 143, 135); letter-spacing: 0.3px; }
.entry.say.you .say-name { color: rgb(192, 122, 112); }
.say-time { font-size: 10px; color: #8a9e98; white-space: nowrap; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.say-text { margin: 0px; font-size: 13px; line-height: 1.7; color: rgb(74, 95, 90); word-break: break-word; }
.status-chat-panel .say-body,
.chat-feed .say-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  max-width: calc(100% - 4px);
}
.status-chat-panel .msg-bubble,
.chat-feed .msg-bubble {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 7px 11px;
  border-radius: 4px 14px 14px 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgb(186, 214, 206);
  font-size: 13px;
  line-height: 1.55;
  color: rgb(74, 95, 90);
  word-break: break-word;
  overflow-wrap: break-word;
  line-break: auto;
  text-align: left;
  box-shadow: rgba(80, 120, 110, 0.05) 0px 2px 8px;
  box-sizing: border-box;
}
.entry.say.you .msg-bubble {
  border-radius: 14px 4px 14px 14px;
  background: rgb(255, 247, 245);
  border: 1px solid rgb(228, 196, 188);
  text-align: left;
}
.entry.say.msg.follow .say-body { padding-top: 0px; }


.bubble { background: rgb(255, 255, 255); color: rgb(51, 70, 76); border-radius: 14px; padding: 10px 12px; font-size: 13.5px; line-height: 1.65; box-shadow: rgba(80, 120, 110, 0.08) 0px 4px 12px; border: 1px solid rgba(126, 201, 184, 0.25); }
.bubble strong { display: block; margin-bottom: 2px; color: var(--teal); font-weight: 700; font-size: 12px; }
.time { font-size: 11px; color: rgb(154, 173, 168); padding-top: 8px; white-space: nowrap; }
.photo-inline { margin-top: 8px; height: 84px; border-radius: 12px; overflow: hidden; }
.photo-inline .cap { position: static; display: inline-block; margin: 54px 8px 0px; }
.actions { display: none; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 16px 8px; background: rgb(255, 255, 255); border-top: 1px solid rgb(229, 244, 240); }
.actions.show { display: grid; }
.btn { border: 0px; border-radius: 18px; padding: 11px 14px; font-size: 13px; letter-spacing: 0.5px; color: rgb(255, 255, 255); background: linear-gradient(rgb(158, 230, 218) 0%, rgb(94, 189, 173) 55%, rgb(63, 159, 147) 100%); box-shadow: rgba(255, 255, 255, 0.45) 0px 1px 0px inset, rgba(62, 157, 148, 0.22) 0px 8px 18px; transition: transform 0.12s, filter 0.12s; touch-action: manipulation; -webkit-tap-highlight-color: transparent; cursor: pointer; }
.btn:hover:not(:disabled) { filter: brightness(1.03); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn.soft { border-radius: 20px; font-weight: 500; }
.btn.ghost { background: linear-gradient(rgb(255, 255, 255), rgb(244, 255, 251)); color: rgb(63, 111, 106); border: 1px solid rgb(197, 232, 224); box-shadow: rgba(80, 120, 110, 0.06) 0px 4px 12px; }
.btn:disabled { opacity: 0.42; cursor: default; box-shadow: none; filter: grayscale(0.15); }
.tabbar { display: grid; grid-template-columns: repeat(5, 1fr); padding: 8px 6px 14px; background: rgba(255, 255, 255, 0.92); border-top: 1px solid rgb(229, 244, 240); }
.tab { border: 0px; background: transparent; color: rgb(138, 162, 156); font-size: 12px; letter-spacing: 0.5px; padding: 9px 0px; border-radius: 14px; transition: background 0.12s, color 0.12s; }
.tab.on { color: var(--teal); background: rgb(232, 248, 244); font-weight: 700; }
.stats { display: grid; gap: 12px; }
.stat { background: var(--card); border-radius: 16px; padding: 12px; }
.stat .row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }
.bar { height: 8px; background: rgb(232, 241, 238); border-radius: 99px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, rgb(127, 211, 200), rgb(239, 139, 126)); border-radius: inherit; }
.calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-cell { aspect-ratio: 1 / 1; border: 0px; border-radius: 12px; background: rgb(255, 255, 255); color: var(--ink); font-size: 12px; }
.cal-cell.done { background: rgb(232, 248, 244); color: var(--teal); font-weight: 700; }
.cal-cell.today { outline: 2px solid var(--mint-2); }
.cal-cell.empty { background: transparent; }
.album-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.album-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; box-sizing: border-box; margin: 0px 0px 4px; padding: 18px 16px; border: 1px dashed rgb(197, 228, 220); border-radius: 16px; background: rgba(255, 255, 255, 0.62); text-align: center; font: inherit; cursor: pointer; color: rgb(138, 163, 156); }
.album-empty.static { cursor: default; pointer-events: none; }
.album-empty-title { display: block; font-size: 13px; font-weight: 600; color: rgb(95, 122, 116); line-height: 1.4; }
.album-empty-desc { display: block; font-size: 11px; line-height: 1.55; color: rgb(176, 192, 187); }
.album-item { border: 0px; border-radius: 16px; min-height: 110px; position: relative; overflow: hidden; color: var(--ink); text-align: left; padding: 0px; }
.locked { filter: grayscale(1); opacity: 0.45; }
.choice-list { display: grid; gap: 8px; margin-top: 8px; }
.choice { border: 1px solid rgb(213, 238, 232); background: linear-gradient(rgb(255, 255, 255), rgb(247, 255, 252)); border-radius: 16px; padding: 12px 14px; text-align: left; color: var(--ink); box-shadow: rgba(80, 120, 110, 0.05) 0px 4px 12px; transition: border-color 0.12s, transform 0.12s; }
.choice:hover:not(:disabled) { border-color: rgb(154, 217, 204); background: rgb(243, 255, 251); transform: translateY(-1px); }
.choice:disabled { opacity: 0.45; }
.choice small { display: block; color: var(--muted); margin-top: 4px; font-size: 11px; line-height: 1.45; }
.soft-choice { border-radius: 18px; }
.modal { position: fixed; inset: 0px; background: rgba(20, 16, 14, 0.45); display: grid; place-items: center; padding: 20px; z-index: 20; }
.modal.hidden { display: none; }
.sheet { width: min(420px, 100%); background: rgb(247, 255, 252); border-radius: 24px; padding: 18px; max-height: 80vh; overflow: auto; }
.sheet h2 { margin: 0px 0px 8px; font-family: "ZCOOL XiaoWei", serif; font-size: 22px; color: rgb(63, 111, 106); }
.cover { position: fixed; inset: 0px; z-index: 30; display: grid; place-items: center; background: radial-gradient(circle at 50% 20%, rgba(255, 236, 196, 0.25), transparent 40%), rgb(28, 23, 20); }
.cover.hidden { display: none; }
.cover-card { width: min(380px, 92vw); background: linear-gradient(rgb(216, 255, 246), rgb(255, 255, 255)); border-radius: 28px; padding: 28px 22px; text-align: center; box-shadow: var(--shadow); }
.cover-vid-wrap {
  position: relative;
  width: min(260px, 88%);
  aspect-ratio: 1056 / 720;
  margin: 0 auto 2px;
  overflow: hidden;
  background: transparent;
}
.cover-vid-still,
.cover-vid {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: transparent;
  pointer-events: none;
  user-select: none;
}
.cover-vid-src {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}
.cover-vid.is-idle {
  opacity: 0;
}
.cover-vid-wrap.is-playing .cover-vid-still {
  opacity: 0;
}
.cover-card h2 { font-family: "ZCOOL XiaoWei", serif; font-size: 34px; margin: 8px 0px 6px; color: rgb(63, 111, 106); }
.cover-card p { color: #3f6f6a; font-size: 15px; line-height: 1.85; letter-spacing: 0.04em; }
.cover-card p.device-bind {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: #5f8a84;
  letter-spacing: 0;
}
.cover-card p.device-bind strong { color: #3f6f6a; letter-spacing: 1px; }
.cover-card input { width: 100%; margin: 12px 0px 16px; border: 1px solid rgb(205, 234, 228); border-radius: 12px; padding: 12px; font-size: 15px; font-family: inherit; }
.hint { font-size: 11px; color: rgb(176, 192, 187); text-align: center; margin: 0px 0px 12px; line-height: 1.55; }
.line { display: block; word-break: keep-all; overflow-wrap: break-word; }
.tip-deck { margin: 0px 0px 8px; padding: 6px 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.45); border: 1px solid rgba(200, 224, 218, 0.55); text-align: center; flex-shrink: 0; }
.tip-label { font-size: 9px; letter-spacing: 2px; color: rgb(176, 192, 187); margin-bottom: 2px; }
.tip-stage { position: relative; min-height: 28px; }
.tip-line { margin: 0px; position: absolute; inset: 0px; display: flex; align-items: center; justify-content: center; font-size: 12px; line-height: 1.6; color: rgb(154, 173, 168); opacity: 0; transform: translateY(4px); transition: opacity 0.35s, transform 0.35s; pointer-events: none; padding: 0px 4px; }
.tip-line.on { opacity: 1; transform: translateY(0px); position: relative; }
.tip-dots { display: flex; justify-content: center; gap: 5px; margin-top: 8px; }
.tip-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgb(213, 228, 223); display: block; }
.tip-dots i.on { background: rgb(126, 184, 174); }
.section-title { font-family: "ZCOOL XiaoWei", serif; color: rgb(63, 111, 106); margin: 4px 0px 10px; font-size: 22px; font-weight: 400; }
.status-copy { margin: 8px 0px 0px; font-size: 13px; line-height: 1.7; color: rgb(91, 110, 106); }
.presence { display: flex; align-items: center; justify-content: center; gap: 0px; margin: 2px 0px 4px; padding: 2px 0px; }
.presence-item { border: 0px; background: transparent; padding: 4px 8px; display: inline-flex; align-items: baseline; gap: 6px; color: rgb(122, 144, 138); font-size: 12px; }
.presence-item:hover { color: rgb(63, 111, 106); }
.presence-who { font-size: 11px; color: rgb(163, 181, 176); }
.presence-state { font-size: 13px; color: rgb(91, 115, 109); font-weight: 500; }
.presence-item.him .presence-state { color: rgb(79, 143, 134); }
.presence-gap { width: 1px; height: 12px; background: rgb(213, 230, 225); margin: 0px 6px; }
.day-note { margin: 0px 0px 6px; text-align: center; font-size: 10px; color: rgb(183, 198, 193); letter-spacing: 1.2px; }

/* 行程动向入口条 */
.day-sign,
button.day-sign {
  margin: 0 0 8px;
  padding: 8px 12px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(190, 220, 210, 0.5);
  box-shadow: 0 4px 12px rgba(60, 100, 90, 0.08);
  box-sizing: border-box;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.day-sign:active { transform: scale(0.995); }
.day-sign-weather {
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1;
}
.day-sign-text {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  color: #5f7a74;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.day-sign-text em {
  font-style: normal;
  font-weight: 700;
  color: #3f6f6a;
  margin-right: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(94, 201, 184, 0.18);
  font-size: 10px;
}
.day-sign-more {
  flex-shrink: 0;
  color: #9ab0aa;
  font-size: 18px;
  line-height: 1;
  font-weight: 300;
}

/* —— 官版行程动向弹窗 —— */
.modal:has(.itinerary-sheet) {
  align-items: center;
  padding: 16px 8px 20px;
  background: rgba(20, 24, 28, 0.45);
}
.itinerary-sheet {
  position: relative;
  width: min(392px, 100%);
  max-height: min(88vh, 780px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  background: transparent;
  overflow: visible;
}
.itin-card {
  position: relative;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(20, 30, 40, 0.28);
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
  max-height: min(72vh, 640px);
}
.itin-head {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 44px 12px 16px;
  background: #fff;
  border-bottom: 1px solid rgba(210, 220, 218, 0.7);
  color: #2c3a38;
}
.itin-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #e8f4f0;
  box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(40, 70, 65, 0.12);
  flex-shrink: 0;
}
.itin-head-text { min-width: 0; flex: 1; }
.itin-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #2a3835;
  line-height: 1.2;
}
.itin-sub {
  margin-top: 2px;
  font-size: 12px;
  color: #8a9a96;
  letter-spacing: 0.08em;
}
.itin-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(240, 244, 242, 0.95);
  color: #5a706a;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.itin-body {
  background: #eef4f2;
  margin: 0 10px 12px;
  border-radius: 12px;
  padding: 12px 12px 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
}
.itin-day-title {
  text-align: center;
  font-size: 12px;
  color: #6a7a76;
  letter-spacing: 0.14em;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 500;
}
.itin-log {
  overflow-y: auto;
  padding: 0 2px 4px;
  flex: 1 1 auto;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(140, 160, 155, 0.45) transparent;
}
.itin-log::-webkit-scrollbar { width: 4px; }
.itin-log::-webkit-scrollbar-thumb {
  background: rgba(140, 160, 155, 0.45);
  border-radius: 4px;
}
.itin-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 0 12px;
}
.itin-row:last-child { padding-bottom: 2px; }
.itin-stamp {
  font-size: 11px;
  color: #7aa39a;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  padding-left: 2px;
}
.itin-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.itin-ico {
  flex: 0 0 auto;
  width: 1.25em;
  text-align: center;
  line-height: 1.45;
  font-size: 13px;
}
.itin-desc {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: #3f524d;
  line-height: 1.45;
  word-break: break-word;
}
.itin-reply {
  flex: 0 0 auto;
  margin: 0;
  margin-left: 6px;
  border: 0;
  padding: 0;
  font-size: 11px;
  font-weight: 600;
  color: #3f8f82;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.45;
}
.itin-reply:active { opacity: 0.7; }
.itin-reply.done,
.itin-reply:disabled {
  color: #9aada6;
  cursor: default;
}
.itin-online {
  margin-left: auto;
  margin-right: 6px;
  font-size: 11px;
  color: #5a9f90;
  font-weight: 600;
}
.itin-trip.empty {
  position: relative;
}
/* plus is text only — slot chrome lives on .itin-trip-slot.empty */
.itin-trip-plus {
  display: inline-block;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 34px;
  line-height: 1;
  color: #4db6a0;
  font-weight: 300;
  transform: none;
}
.itin-trip-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e85d5d;
  box-shadow: 0 0 0 2px #fff;
  z-index: 2;
  pointer-events: none;
}
.pack-sheet {
  width: min(420px, 92vw);
  margin: 0 auto;
}
.pack-card {
  background: #f3f7f6;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(30, 50, 46, 0.28);
}
.pack-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #4a5552;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.pack-close {
  border: 0;
  background: transparent;
  color: #cfe8df;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.pack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 12px;
  max-height: 280px;
  overflow-y: auto;
}
.pack-item {
  border: 0;
  background: transparent;
  border-radius: 12px;
  padding: 0 0 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.pack-item.on {
  outline: none;
}
.pack-item.on .pack-icon {
  box-shadow: 0 0 0 2px #e8c45a, 0 4px 12px rgba(60, 90, 80, 0.12);
  background: #fff;
}
.pack-icon {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 16px;
  background: #e8f1ed;
  display: block;
  pointer-events: none;
  image-rendering: auto;
}
.pack-name { font-size: 10px; color: #4a5c58; text-align: center; line-height: 1.2; max-width: 76px; }
.itin-trip-art-img {
  height: 88px;
  width: 100%;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  border: 1.5px dashed rgba(150, 175, 168, 0.55);
  padding: 8px;
  box-sizing: border-box;
  display: block;
}
.pack-info {
  margin: 0 12px;
  padding: 10px 12px;
  background: #fff;
  border-radius: 10px;
  min-height: 56px;
}
.pack-info strong { font-size: 13px; color: #314640; }
.pack-info p { margin: 4px 0 0; font-size: 11px; color: #6a807a; line-height: 1.45; }
.pack-actions {
  display: flex;
  gap: 10px;
  padding: 12px;
  align-items: center;
}
.pack-mall,
.pack-bag {
  border: 0;
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #4a5c58;
  cursor: pointer;
}
.pack-confirm {
  flex: 1;
  border: 0;
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #2f4f4a;
  background: #b7e0d4;
  cursor: pointer;
}
.pack-item { position: relative; }
.pack-tag {
  position: absolute;
  top: 4px;
  right: 4px;
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  background: #ef5a6a;
  border-radius: 999px;
  padding: 1px 5px;
  line-height: 1.3;
}
.mall-bag-btn {
  flex: 0 0 auto;
  border: 0;
  border-radius: 8px;
  height: 28px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.7);
  color: #4a7f78;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.bag-sheet {
  width: min(400px, 96vw);
  max-height: min(88vh, 760px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.bag-card {
  background: #e8f1ee;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(30, 50, 46, 0.3);
  display: flex;
  flex-direction: column;
  max-height: min(88vh, 760px);
}
.bag-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 44px;
  background: #4a5552;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.bag-tabs {
  display: flex;
  gap: 8px;
  padding: 10px 12px 0;
}
.bag-tab {
  border: 1.5px solid #8ec4b8;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  color: #4a7f78;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  cursor: pointer;
}
.bag-tab.on {
  background: #fff;
  border-color: #4fa796;
  color: #2f5650;
}
.bag-tab em {
  font-style: normal;
  margin-left: 4px;
  color: #8aaca4;
}
.bag-hint {
  margin: 8px 14px 0;
  font-size: 11px;
  color: #6f8882;
}
.bag-list {
  flex: 1 1 auto;
  min-height: 120px;
  overflow-y: auto;
  padding: 10px 12px;
  display: grid;
  gap: 8px;
}
.bag-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 8px 10px;
  border: 1px solid rgba(150, 175, 168, 0.28);
}
.bag-row img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  background: #f3faf7;
  border-radius: 10px;
}
.bag-row strong {
  display: block;
  font-size: 13px;
  color: #2f5650;
}
.bag-row span {
  display: block;
  font-size: 11px;
  color: #8aaca4;
  line-height: 1.35;
}
.bag-use {
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #7ec9b8, #4fa796);
  cursor: pointer;
  white-space: nowrap;
}
.bag-kept {
  font-style: normal;
  font-size: 11px;
  color: #8aaca4;
  font-weight: 600;
}
.bag-home-mood {
  margin: 0 0 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(150, 175, 168, 0.28);
  font-size: 11px;
  line-height: 1.45;
  color: #4f7a72;
}
.bag-placed {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  color: #2f9d8f;
  background: rgba(79, 167, 150, 0.12);
  vertical-align: 1px;
}
.bag-empty {
  padding: 28px 12px;
  text-align: center;
  color: #9ab0aa;
  font-size: 12px;
  line-height: 1.6;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  border: 1px dashed rgba(150, 175, 168, 0.45);
}
.bag-actions {
  display: flex;
  gap: 8px;
  padding: 10px 12px 14px;
}

.itin-prep {
  flex: 0 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px rgba(30, 50, 46, 0.18);
}
.itin-prep-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  background: #4a5552;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.itin-prep-head > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.itin-prep-head i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f0c94a;
  display: block;
}
.itin-map-btn {
  border: 0;
  border-radius: 999px;
  padding: 4px 10px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  color: #2f5650;
  background: linear-gradient(180deg, #e8f7f2, #cfece4);
  cursor: pointer;
}
.itin-map-btn:active { opacity: 0.85; }
.itin-prep-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px;
  background:
    radial-gradient(circle at 18% 70%, rgba(180, 200, 195, 0.12), transparent 40%),
    radial-gradient(circle at 82% 40%, rgba(180, 200, 195, 0.1), transparent 42%),
    #f3f6f5;
}
.itin-trip {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.itin-trip-label {
  font-size: 11px;
  color: #6a807a;
  font-weight: 600;
  padding-left: 2px;
}
.itin-trip-art {
  position: relative;
  height: 88px;
  border-radius: 14px;
  background: #fff;
  border: 1.5px dashed rgba(150, 175, 168, 0.55);
  display: grid;
  place-items: center;
  font-size: 42px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}
.itin-trip-art.umbrella {
  background:
    linear-gradient(160deg, rgba(232, 255, 248, 0.65), transparent 55%),
    #fff;
}
.itin-trip-art.glasses {
  background:
    linear-gradient(200deg, rgba(236, 244, 255, 0.7), transparent 50%),
    #fff;
}
.itin-trip-tag {
  align-self: center;
  margin-top: -22px;
  position: relative;
  z-index: 1;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(40, 48, 46, 0.88);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.itin-trip-tag.faint {
  background: rgba(90, 110, 104, 0.55);
}

/* 行程回应：左右翻页表情 / 拍一拍私聊 */
.itin-respond-sheet .itin-respond-title {
  margin: 0 0 6px;
  font-family: "Noto Sans SC", sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #3f6f6a;
}
.itin-respond-sheet .itin-respond-actions {
  display: grid;
  gap: 8px;
  margin: 8px 0 4px;
}
.niwo-sticker-pager {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 4px;
  margin: 6px 0 2px;
}
.niwo-page-btn {
  width: 36px;
  height: 72px;
  border: 0;
  border-radius: 12px;
  background: rgba(63, 111, 106, 0.08);
  color: #3f6f6a;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.niwo-page-btn:disabled {
  opacity: 0.28;
  cursor: default;
}
.niwo-pages {
  position: relative;
  min-height: 196px;
}
.niwo-page {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 4px 2px;
}
.niwo-page.on {
  display: grid;
}
.niwo-page .niwo-sticker {
  border: 0;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 16px;
  padding: 10px;
  cursor: pointer;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(40, 60, 55, 0.1);
}
.niwo-sticker:active { transform: scale(0.96); }
.niwo-sticker img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  background: transparent;
}
.niwo-page-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 4px 0 8px;
}
.niwo-dot {
  width: 7px;
  height: 7px;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: rgba(63, 111, 106, 0.22);
  cursor: pointer;
}
.niwo-dot.on {
  background: #3f6f6a;
  width: 16px;
}
.chat-pat {
  display: flex;
  justify-content: center;
  margin: 8px 0;
  padding: 0 12px;
}
.chat-pat span {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(70, 90, 86, 0.72);
  background: rgba(90, 120, 112, 0.08);
  border-radius: 999px;
  padding: 4px 12px;
}
.niwo-sticker-inline {
  display: block;
  width: min(132px, 46vw);
  height: auto;
  margin: 4px 0 2px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 2px 6px rgba(40, 60, 55, 0.16));
}
.chat-bubble.sticker-msg .msg-bubble { display: none; }

/* QQ 式状态胶囊 */
.qq-status {
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px 3px 6px;
  border-radius: 999px;
  background: rgba(232, 255, 248, 0.95);
  box-shadow: 0 0 0 1px rgba(120, 180, 168, 0.28), 0 2px 8px rgba(60, 110, 100, 0.1);
  cursor: pointer;
  max-width: 46%;
}
.qq-status .qq-emoji {
  font-size: 13px;
  line-height: 1;
  animation: qqEmojiBob 1.6s ease-in-out infinite;
}
.qq-status .qq-bounce {
  display: inline-flex;
  gap: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #3f6f6a;
}
.qq-status .qq-bounce i {
  font-style: normal;
  display: inline-block;
  animation: qqLetterJump 1.15s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.08s);
}
.qq-status.tone-mint { background: rgba(224, 250, 242, 0.96); }
.qq-status.tone-green { background: rgba(232, 248, 228, 0.96); color: #4a7a52; }
.qq-status.tone-green .qq-bounce { color: #3f6f4a; }
.qq-status.tone-gray { background: rgba(236, 240, 238, 0.96); }
.qq-status.tone-gray .qq-bounce { color: #6a7874; }
.qq-status.tone-rose { background: rgba(255, 236, 240, 0.96); }
.qq-status.tone-rose .qq-bounce { color: #a35d6e; }
.qq-status.tone-night { background: rgba(226, 234, 246, 0.96); }
.qq-status.tone-night .qq-bounce { color: #4a5f86; }

@keyframes qqLetterJump {
  0%, 100% { transform: translateY(0); opacity: 0.82; }
  40% { transform: translateY(-2.5px); opacity: 1; }
  70% { transform: translateY(0.5px); opacity: 0.95; }
}
@keyframes qqEmojiBob {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-1.5px) scale(1.08); }
}
.choice.on { border-color: var(--mint-2); background: rgb(232, 248, 244); font-weight: 700; }
.toast { position: absolute; left: 50%; bottom: 168px; transform: translateX(-50%); background: rgba(47, 90, 86, 0.92); color: rgb(255, 255, 255); padding: 8px 12px; border-radius: 99px; font-size: 12px; z-index: 5; pointer-events: none; white-space: nowrap; }
.dessert-card { width: 100%; border: 0px; display: block; text-align: left; position: relative; margin-bottom: 12px; min-height: 102px; padding: 14px 56px 14px 108px; border-radius: 18px; background: rgb(255, 255, 255); box-shadow: rgba(70, 120, 112, 0.1) 0px 8px 20px; overflow: hidden; color: inherit; cursor: default; }
.dessert-card.tapable { cursor: pointer; }
.dessert-card.tapable:active { transform: scale(0.995); }
.dessert-card:disabled { opacity: 1; }
.dessert-bind { position: absolute; left: 7px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; z-index: 2; pointer-events: none; }
.dessert-bind i { width: 4px; height: 4px; border-radius: 50%; background: rgb(138, 154, 150); display: block; opacity: 0.85; }
.dessert-art { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 74px; height: 74px; border-radius: 50%; background-size: contain; background-repeat: no-repeat; background-position: center center; background-color: rgb(243, 255, 251); box-shadow: rgba(255, 255, 255, 0.95) 0px 0px 0px 3px, rgba(80, 110, 100, 0.12) 0px 4px 12px; z-index: 1; pointer-events: none; }
.dessert-day { position: absolute; left: 108px; right: 52px; top: 50%; transform: translateY(-52%); font-family: "ZCOOL XiaoWei", serif; font-size: 40px; letter-spacing: 1px; color: rgba(90, 140, 132, 0.13); pointer-events: none; z-index: 0; line-height: 1; white-space: nowrap; overflow: hidden; text-align: right; }
.dessert-meta { position: relative; z-index: 1; min-width: 0px; display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.dessert-name { font-family: "ZCOOL XiaoWei", serif; font-size: 20px; color: rgb(63, 111, 106); line-height: 1.25; word-break: keep-all; overflow: visible; white-space: nowrap !important; }
.dessert-sub { font-size: 9px; letter-spacing: 1.2px; color: rgb(154, 176, 170); white-space: nowrap; }
.dessert-tap-hint { font-size: 11px; color: rgb(122, 149, 144); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dessert-card-wrap .owl-wrap { position: absolute; right: 4px; bottom: 6px; width: 46px; z-index: 3; pointer-events: none; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.dessert-card-wrap .owl-btn { pointer-events: auto; position: static; }
.owl-mascot { width: 42px; height: 42px; object-fit: contain; object-position: center center; border-radius: 50%; display: block; background: rgb(255, 255, 255); border: 2px solid rgb(255, 255, 255); box-shadow: rgba(80, 110, 100, 0.12) 0px 3px 8px; }
.owl-bubble { position: absolute; right: 0px; bottom: calc(100% + 4px); width: 92px; background: rgb(79, 173, 160); color: rgb(255, 255, 255); font-size: 9px; line-height: 1.35; padding: 5px 7px; border-radius: 10px 10px 2px; box-shadow: rgba(62, 140, 130, 0.18) 0px 3px 8px; border: 0px; z-index: 1; }
.hearts { display: flex; gap: 2px; margin-top: 2px; flex-wrap: nowrap; }
.heart { border: 0px; background: transparent; color: rgb(215, 228, 224); font-size: 16px; line-height: 1; padding: 0px; cursor: default; }
button.heart { cursor: pointer; transition: transform 0.12s, color 0.12s; }
button.heart:hover { transform: scale(1.12); }
.heart.on { color: rgb(239, 127, 140); text-shadow: rgba(255, 255, 255, 0.4) 0px 1px 0px; }
.hearts.lg .heart { font-size: 28px; padding: 2px; }
.timeline.paper { position: relative; background: rgb(255, 255, 255); border: 0px; border-radius: 24px; padding: 32px 12px 18px; box-shadow: rgba(70, 120, 112, 0.07) 0px 6px 18px; gap: 0px; min-height: 220px; flex: 1 1 0%; }
.weather-pill { position: absolute; top: 10px; right: 12px; z-index: 2; padding: 5px 11px; border-radius: 99px; background: rgba(55, 66, 64, 0.9); color: rgb(255, 255, 255); font-size: 10px; letter-spacing: 0.2px; line-height: 1.2; pointer-events: none; white-space: nowrap; }
.photo-inline-img { display: block; width: 120px; height: 120px; object-fit: cover; border-radius: 12px; margin-top: 8px; border: 1px solid rgb(229, 244, 240); }
.soft-sheet, .rate-sheet { background: linear-gradient(rgb(232, 255, 248), rgb(255, 255, 255) 40%); border: 1px solid rgb(213, 238, 232); }
.rate-hero { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: center; background: rgba(255, 255, 255, 0.75); border-radius: 18px; padding: 10px; border: 1px solid rgb(223, 243, 238); }
.rate-img { width: 110px; height: 110px; object-fit: cover; border-radius: 16px; display: block; box-shadow: rgba(80, 110, 100, 0.12) 0px 8px 16px; }
.rate-sheet { padding-top: 16px; }
.rate-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
}
.rate-kicker {
  margin: 0 0 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #c45b4a;
}
.rate-top h2 {
  margin: 0;
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 24px;
  font-weight: 400;
  color: #3f2c22;
}
.rate-switch {
  flex: 0 0 auto;
  border: 1px solid #e8d2c4;
  background: #fff;
  color: #6a4a3a;
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.rate-tip {
  margin: 8px 0 12px;
  text-align: center;
  font-size: 12px;
  color: #8a6a5a;
}
.rate-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 0 0 12px;
}
.rate-score > span {
  font-size: 12px;
  font-weight: 700;
  color: #6a4a3a;
}
.rate-info { text-align: center; margin: 4px 0 8px; }
.rate-info h2 { margin: 0px; font-size: 22px; }
.rate-en { margin: 2px 0px 8px; font-size: 10px; letter-spacing: 1.4px; color: rgb(154, 176, 170); }
.rate-score-label { display: none; }
.rate-owl { display: none; }
.rate-note { display: none; }
.dflip {
  perspective: 820px;
  perspective-origin: 50% 46%;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  display: block;
  cursor: pointer;
  text-align: left;
  transform: scale(1);
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}
.dflip.is-flipping {
  transform: scale(1.035);
}
.dflip-toggle { display: none !important; }
.dflip-inner {
  position: relative;
  width: 100%;
  min-height: 360px;
  height: min(52vh, 420px);
  transform-style: preserve-3d;
  transform: rotateY(0deg) translateZ(0);
  transform-origin: center center;
  transition: transform 0.72s cubic-bezier(0.33, 0.12, 0.18, 1);
  box-shadow: 0 10px 24px rgba(40, 24, 18, 0.12);
}
.dflip.is-flipping .dflip-inner {
  box-shadow: 0 22px 40px rgba(40, 24, 18, 0.22);
}
.dflip.is-flipped .dflip-inner {
  transform: rotateY(180deg) translateZ(0);
}
.dflip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 18px;
  overflow: hidden;
}
.dflip-front {
  background: #1a1614;
}
.dflip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dflip-front-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px 16px 16px;
  background: linear-gradient(180deg, transparent, rgba(18, 16, 14, 0.82));
  color: #fff;
}
.dflip-front-cap strong {
  display: block;
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 28px;
  font-weight: 400;
}
.dflip-back { transform: rotateY(180deg); background: #fff8ee; }
.recipe {
  height: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: auto;
  background: #fff8ee;
}
.recipe-kicker {
  flex: 0 0 auto;
  margin: 0;
  padding: 10px 14px 8px;
  background: #e4573a;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-align: center;
}
.recipe h3 {
  margin: 10px 14px 6px;
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 24px;
  font-weight: 400;
  color: #3f2c22;
}
.recipe-block {
  margin: 0 12px 12px;
}
.recipe-block h4 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  color: #e4573a;
  letter-spacing: 0.12em;
}
.recipe-ings {
  margin: 0;
  padding: 10px 12px;
  list-style: none;
  background: #fff;
  border: 1.5px solid #f0d2b8;
  border-radius: 12px;
}
.recipe-ings li {
  position: relative;
  padding: 6px 0 6px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #3f2c22;
  border-bottom: 1px dashed #f0d2b8;
}
.recipe-ings li:last-child { border-bottom: 0; }
.recipe-ings li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e4573a;
}
.recipe-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.recipe-steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px;
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid #f0d2b8;
}
.recipe-steps i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e4573a;
  color: #fff;
  font-style: normal;
  font-size: 15px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.recipe-steps p {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  color: #3f2c22;
}
.owl-line { display: flex; gap: 8px; align-items: flex-start; background: rgb(243, 255, 251); border-radius: 14px; padding: 10px; margin-bottom: 12px; }
.owl-line p { margin: 0px; font-size: 13px; color: rgb(63, 111, 106); line-height: 1.55; }
.owl-mini { width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: rgb(127, 211, 200); flex-shrink: 0; }
.rate-actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
.rate-actions .btn { width: 100%; }
.dessert-pick-list { display: grid; gap: 8px; }
.dessert-pick { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; border: 1px solid rgb(213, 238, 232); background: rgb(255, 255, 255); border-radius: 16px; padding: 8px; text-align: left; color: var(--ink); box-shadow: rgba(80, 120, 110, 0.05) 0px 4px 12px; }
.dessert-pick img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; display: block; }
.dessert-pick strong { display: block; font-size: 14px; color: rgb(63, 111, 106); }
.dessert-pick small { display: block; color: var(--muted); margin-top: 3px; font-size: 11px; line-height: 1.4; }
.score-tip { color: var(--teal) !important; font-weight: 500; }
.locked-choice { opacity: 0.5; }
.album-item.dessert-album { min-height: 140px; background: rgb(255, 255, 255); }
.album-item.dessert-album img { width: 100%; height: 100px; object-fit: contain; object-position: center center; display: block; background: rgb(243, 255, 251); }
.album-item.dessert-album .cap { position: absolute; left: 8px; right: 8px; bottom: 8px; background: rgba(255, 255, 255, 0.9); padding: 4px 8px; border-radius: 10px; font-size: 11px; }
.album-item small { display: block; margin-top: 4px; font-size: 11px; font-weight: 500; opacity: 0.9; }
.dessert-card-wrap { position: relative; margin-bottom: 12px; overflow: visible; flex-shrink: 0; }
.dessert-card-wrap .dessert-card { margin-bottom: 0px; width: 100%; padding-right: 58px; overflow: hidden; }
.owl-btn { border: 0px; background: transparent; padding: 0px; display: block; margin-left: auto; cursor: pointer; }
.owl-btn:hover .owl-mascot { transform: scale(1.05); }
.owl-btn .owl-mascot { transition: transform 0.15s; }
.status-page { display: flex; flex-direction: column; gap: 8px; min-height: 100%; height: 100%; box-sizing: border-box; }
.home-mood-strip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: -2px 4px 2px;
  padding: 8px 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(236, 248, 244, 0.9));
  border: 1px solid rgba(150, 175, 168, 0.32);
  box-shadow: 0 4px 12px rgba(80, 110, 100, 0.05);
}
.home-mood-strip i {
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: linear-gradient(180deg, #7ec9b8, #4fa796);
  flex: 0 0 auto;
  box-shadow: 0 0 0 3px rgba(79, 167, 150, 0.16);
}
.home-mood-strip span {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #3d6a62;
  font-weight: 600;
}
.love-date-plan {
  margin: 10px 0 0;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 244, 246, 0.9);
  border: 1px solid rgba(224, 112, 136, 0.18);
  font-size: 12px;
  color: #8a5460;
  line-height: 1.45;
}
.love-date-plan em {
  font-style: normal;
  font-weight: 700;
  color: #c45d72;
  margin-right: 4px;
}
.status-chat-panel { flex: 1 1 0%; display: flex; flex-direction: column; min-height: 140px; border-radius: 20px; background: rgba(255, 255, 255, 0.82); border: 1px solid rgb(215, 235, 230); overflow: hidden; }

.status-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 2px 0 8px;
  padding: 2px 0;
}
.status-couple {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 0;
}
.status-av {
  border: 0;
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  flex-shrink: 0;
}
.status-av .avatar {
  width: 44px;
  height: 44px;
  box-shadow: 0 4px 12px rgba(47, 157, 143, 0.2);
}
.status-av:active .avatar { transform: scale(0.96); }
.status-av-name {
  font-size: 10px;
  color: #7a908a;
  letter-spacing: 0.3px;
  max-width: 52px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.status-av.him .status-av-name { color: #4f8f86; }

/* 两人中间：爱心容器填色 */
.couple-bond {
  display: grid;
  place-items: center;
  width: 36px;
  flex-shrink: 0;
  padding-top: 0;
}
.couple-heart {
  position: relative;
  width: 1.2em;
  height: 1.1em;
  font-size: 28px;
  line-height: 1;
}
.couple-heart-empty {
  color: rgba(239, 127, 140, 0.22);
  display: block;
}
.couple-heart-fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--p, 0) * 100%);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}
.couple-heart-fill > span {
  display: block;
  color: #ef7f8c;
  line-height: 1;
  height: 1.1em;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.35));
}

.status-topbar .day-sign.compact {
  width: auto;
  max-width: 62%;
  margin: 0;
  flex: 1 1 auto;
  min-width: 120px;
  padding: 7px 10px;
  gap: 6px;
}
.status-topbar .day-sign.compact .day-sign-text {
  font-size: 11px;
}
.status-topbar .day-sign.compact .day-sign-text em {
  margin-right: 4px;
  padding: 1px 5px;
  font-size: 9px;
}
.status-topbar .day-sign.compact .day-sign-more {
  font-size: 16px;
}
.status-chat-head {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgb(63, 111, 106);
}
.status-chat-head > span:first-child {
  min-width: 0;
  white-space: nowrap;
}

.timeline.chat-feed { flex: 1 1 0%; overflow-y: auto; padding: 4px 10px 14px; gap: 10px; max-height: none; min-height: 160px; }
.status-more { border-radius: 14px; background: rgba(255, 255, 255, 0.55); border: 1px solid rgb(215, 235, 230); padding: 8px 12px; color: rgb(111, 136, 130); font-size: 12px; }
.status-more summary { cursor: pointer; list-style: none; font-weight: 600; color: rgb(95, 122, 116); }
.status-more summary::-webkit-details-marker { display: none; }
.status-more .stats.compact { margin-top: 10px; }

.proactive-block {
  margin: 4px 0 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(232, 255, 248, 0.65);
  border: 1px solid rgba(180, 220, 210, 0.55);
}
.proactive-block .check-row { margin-bottom: 0; }
.proactive-freq {
  margin: 10px 0 0 !important;
  transition: opacity 0.15s, max-height 0.2s;
}
.proactive-freq.is-off,
.proactive-voice-rate.is-off {
  opacity: 0.4;
  pointer-events: none;
}
.proactive-voice-rate {
  margin: 8px 0 0 !important;
}
.voice-pay-block {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(170, 200, 190, 0.55);
}
.voice-pay-block .hint.tight {
  margin: 4px 0 8px;
  color: #5f7f78;
}
.voice-tip-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 8px 0 10px;
}
.voice-tip-qr {
  width: 108px;
  height: 108px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(180, 215, 205, 0.7);
  flex: 0 0 auto;
}
.voice-tip-fallback {
  width: 108px;
  min-height: 108px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.7);
  border: 1px dashed rgba(160, 190, 180, 0.8);
  font-size: 11px;
  line-height: 1.45;
  color: #6a8580;
  box-sizing: border-box;
}
.voice-tip-meta {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  line-height: 1.55;
  color: #4f6f68;
}
.voice-tip-meta p { margin: 0 0 4px; }
.voice-tip-meta strong {
  letter-spacing: 0.06em;
  color: #2f5f56;
}
.voice-tip-bal {
  font-size: 13px;
  color: #2f5f56;
  font-weight: 600;
}
.voice-tip-bal strong {
  font-size: 18px;
  letter-spacing: 0.02em;
  color: #1f7a5c;
}
.voice-tip-bal strong.is-empty {
  color: #b06060;
}
.voice-tip-bal strong.is-ok {
  color: #1f7a5c;
}
.voice-redeem-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.voice-redeem-row input {
  flex: 1 1 120px;
  min-width: 0;
}

.yi-type-panel {
  flex: 0 0 auto;
  margin-top: 4px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(244,252,249,.96)),
    repeating-linear-gradient(
      transparent 0 27px,
      rgba(170, 200, 190, 0.18) 27px 28px
    );
  border: 1px solid rgba(180, 215, 205, 0.55);
  box-shadow: 0 6px 16px rgba(60, 100, 90, 0.08);
  padding: 10px 12px 12px;
  min-height: 110px;
}
.yi-type-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.yi-type-title {
  font-size: 12px;
  font-weight: 700;
  color: #3f6f6a;
  letter-spacing: 0.04em;
}
.yi-type-hint {
  font-size: 11px;
  color: #8aa09a;
}
.yi-type-paper {
  position: relative;
  min-height: 64px;
  padding: 4px 2px 8px;
}
.yi-type-out {
  margin: 0;
  min-height: 1.6em;
  font-family: "ZCOOL XiaoWei", "Noto Sans SC", serif;
  font-size: 15px;
  line-height: 1.7;
  color: #2f4f4a;
  white-space: pre-wrap;
  word-break: normal;
  overflow-wrap: break-word;
}
#yiTypeText {
  white-space: pre-wrap;
  display: inline;
}
.yi-type-caret {
  display: none;
  margin-left: 1px;
  color: #3f6f6a;
  font-weight: 400;
  font-style: normal;
  animation: yiCaret 0.9s steps(1) infinite;
  vertical-align: baseline;
}
.yi-type-panel.typing .yi-type-caret {
  display: inline;
}
.yi-type-panel.typing {
  box-shadow: 0 0 0 1px rgba(94, 201, 184, 0.35), 0 8px 18px rgba(60, 100, 90, 0.12);
}
.yi-type-panel.done .yi-type-hint {
  color: #4f8f84;
}
@keyframes yiCaret {
  50% { opacity: 0; }
}
.chat-composer { display: flex; gap: 6px; align-items: center; padding: 8px 12px; background: rgba(255, 255, 255, 0.94); border-top: 1px solid rgb(229, 244, 240); }
.chat-composer.hidden { display: none; }
.chat-img-btn { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgb(205, 234, 228); background: rgb(243, 255, 251); color: rgb(63, 111, 106); font-size: 12px; display: grid; place-items: center; cursor: pointer; }
#chatInput { flex: 1 1 0%; min-width: 0px; border: 1px solid rgb(205, 234, 228); border-radius: 12px; padding: 8px 10px; font-size: 13px; font-family: inherit; background: rgb(255, 255, 255); color: var(--ink); }
.chat-send {
  flex: 0 0 auto;
  width: auto;
  padding: 5px 12px;
  font-size: 14px;
  font-weight: 600;
  border: 0;
  border-radius: 4px;
  background: #07c160;
  color: #fff;
}
.profile-sheet .profile-avatars { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0px 12px; }
.profile-av { display: grid; justify-items: center; gap: 6px; font-size: 12px; color: rgb(111, 136, 130); cursor: pointer; }
.profile-av .avatar { width: 64px; height: 64px; font-size: 18px; }
.field { display: grid; gap: 6px; margin-bottom: 10px; font-size: 12px; color: rgb(111, 136, 130); text-align: left; }
.field input[type="text"], .field input:not([type]), .field input[type="password"], .field select {
  border: 1px solid rgb(205, 234, 228);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: rgb(255, 255, 255);
  width: 100%;
  box-sizing: border-box;
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #7a9e96 50%), linear-gradient(135deg, #7a9e96 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 32px;
}
.field input[readonly] {
  background: #f3faf7;
  color: #5a726c;
}
.field.hidden { display: none !important; }
.api-sheet .field.is-custom input { background: #fff; color: var(--ink); }
.bond-picks {
  display: flex;
  gap: 8px;
  margin: 6px 0 4px;
}
.bond-picks button {
  flex: 1;
  border: 1px solid #cdeae4;
  background: #fff;
  border-radius: 12px;
  padding: 8px 0;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}
.bond-picks button.on {
  background: #e8f8f4;
  border-color: #9fd8cc;
  color: #2f9d8f;
  font-weight: 700;
}

.api-sheet {
  display: flex;
  flex-direction: column;
  max-height: min(80vh, 640px);
  padding-bottom: 12px;
}
.api-sheet-body {
  overflow: auto;
  flex: 1 1 auto;
  min-height: 0;
  padding-right: 2px;
}
.api-sheet-actions {
  flex: 0 0 auto;
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(180, 210, 200, 0.35);
}
.api-sheet-actions .btn {
  width: 100%;
  pointer-events: auto;
  touch-action: manipulation;
  position: relative;
  z-index: 2;
}
.api-sheet-actions .btn:disabled {
  opacity: 0.65;
  cursor: wait;
}
.owl-switch-acc .cover-login-row {
  margin-top: 6px;
}
.owl-switch-acc strong {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

/* 微信式顶部私信提醒 */
.wx-msg-banner {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 10px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(30, 40, 38, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: left;
  cursor: pointer;
  transform: translateY(-120%);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.wx-msg-banner.in {
  transform: translateY(0);
  opacity: 1;
}
.wx-msg-banner.out {
  transform: translateY(-120%);
  opacity: 0;
}
.wx-msg-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #7ec9b8, #4f8f84);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  overflow: hidden;
}
.wx-msg-avatar.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wx-msg-body {
  min-width: 0;
  flex: 1;
}
.wx-msg-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}
.wx-msg-name {
  font-size: 14px;
  font-weight: 700;
  color: #243532;
}
.wx-msg-app {
  font-size: 11px;
  color: #8aa09a;
  flex-shrink: 0;
}
.wx-msg-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: #4a5f5a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bg-presets { display: flex; flex-wrap: wrap; gap: 6px; }
.bg-chip { border: 1px solid rgb(205, 234, 228); background: rgb(255, 255, 255); border-radius: 999px; padding: 6px 10px; font-size: 12px; color: rgb(63, 111, 106); cursor: pointer; }
.bg-chip.on { background: rgb(232, 248, 244); border-color: var(--mint-2); font-weight: 600; }
.check-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgb(63, 111, 106); margin: 8px 0px; }
.mem-grid { display: grid; gap: 8px; margin-top: 8px; max-height: 180px; overflow: auto; }
.mem-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 8px; align-items: center; }
.mem-item img { width: 48px; height: 48px; object-fit: cover; border-radius: 10px; }
.mem-item input { border: 1px solid rgb(205, 234, 228); border-radius: 10px; padding: 8px; font-size: 12px; font-family: inherit; }
.mem-del { border: 0px; background: rgb(243, 255, 251); color: rgb(138, 162, 156); border-radius: 8px; padding: 6px 8px; font-size: 12px; }
@media (max-width: 360px) {
  .dessert-card-wrap .dessert-card { padding-right: 52px; }
  .dessert-name { font-size: 18px; }
  .owl-bubble { width: 84px; font-size: 8px; }
  .rate-hero { grid-template-columns: 96px 1fr; }
  .rate-owl { display: none; }
}
.diary-head.hidden, .tabbar.hidden { display: none !important; }
.hub-page { display: flex; flex-direction: column; gap: 10px; min-height: 100%; padding-bottom: 12px; }
.hub-search { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.72); border: 1px solid rgb(213, 238, 232); color: rgb(111, 136, 130); font-size: 12px; cursor: pointer; }
.hub-search-btn { border: 0px; background: rgb(94, 196, 180); color: rgb(255, 255, 255); border-radius: 999px; padding: 4px 10px; font-size: 11px; }
.hub-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hub-weather { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.7); border: 1px solid rgb(213, 238, 232); }
.hub-weather-icon { font-size: 22px; line-height: 1; }
.hub-weather strong { display: block; font-size: 13px; color: rgb(63, 111, 106); }
.hub-weather small { display: block; font-size: 10px; color: rgb(138, 163, 156); margin-top: 2px; }
.hub-place { font-size: 12px; color: rgb(95, 122, 116); padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.65); border: 1px solid rgb(213, 238, 232); white-space: nowrap; }
.hub-countdown { padding: 8px 12px; border-radius: 12px; background: linear-gradient(90deg, rgba(94, 196, 180, 0.18), rgba(255, 255, 255, 0.55)); border: 1px solid rgba(94, 196, 180, 0.35); color: rgb(63, 111, 106); font-size: 12px; text-align: center; }
.hub-countdown b { color: rgb(47, 157, 143); font-size: 15px; }
.hub-stage { position: relative; flex: 1 1 auto; min-height: 180px; max-height: 42vh; border-radius: 22px; overflow: hidden; background-size: cover; background-position: center center; box-shadow: rgba(70, 120, 112, 0.12) 0px 8px 20px; }
.hub-rail { position: absolute; right: 8px; top: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.hub-rail-item { display: flex; align-items: center; gap: 6px; border: 0px; padding: 6px 10px 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.82); color: rgb(95, 122, 116); font-size: 11px; backdrop-filter: blur(4px); text-align: left; }
.hub-rail-item i { width: 6px; height: 6px; border-radius: 50%; background: rgb(183, 207, 200); flex-shrink: 0; }
.hub-rail-item.on { background: rgba(47, 157, 143, 0.92); color: rgb(255, 255, 255); }
.hub-rail-item.on i { background: rgb(255, 255, 255); }
.hub-rail-item.locked { opacity: 0.45; }
.hub-rail-item em { font-style: normal; font-size: 9px; opacity: 0.85; margin-left: 2px; }
.hub-stage-cap { position: absolute; left: 12px; right: 96px; bottom: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(20, 36, 34, 0.48); color: rgb(255, 255, 255); backdrop-filter: blur(4px); }
.hub-stage-cap p { margin: 0px 0px 4px; font-size: 14px; font-weight: 600; }
.hub-stage-cap small { font-size: 11px; opacity: 0.88; }
.hub-dock { display: grid; grid-template-columns: repeat(3, 52px) 1fr; gap: 8px; align-items: stretch; }
.hub-dock-btn { border: 0px; border-radius: 14px; background: rgb(255, 248, 220); color: rgb(90, 106, 82); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 16px; padding: 8px 4px; box-shadow: rgba(80, 110, 100, 0.08) 0px 2px 8px; }
.hub-dock-btn span { font-size: 9px; line-height: 1.2; }
.hub-cta { border: 0px; border-radius: 16px; background: linear-gradient(rgb(127, 211, 200), rgb(79, 173, 160)); color: rgb(255, 255, 255); font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 4px; box-shadow: rgba(47, 157, 143, 0.28) 0px 6px 16px; position: relative; }
.hub-cta.need::after { content: ""; position: absolute; top: 8px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: rgb(239, 107, 107); box-shadow: rgba(255, 255, 255, 0.85) 0px 0px 0px 2px; }
.hub-cta span { font-size: 18px; line-height: 1; }
.scene-layer { position: absolute; inset: 0px; z-index: 20; background: rgb(16, 32, 28); }
.scene-layer.hidden { display: none; }
.scene-stage {
  position: absolute;
  inset: 0px;
  background-size: cover;
  background-position: center center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.scene-ico {
  position: absolute;
  z-index: 5;
  border: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.78);
  color: #4a7a72;
  box-shadow: 0 4px 14px rgba(30, 50, 46, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.scene-ico svg { width: 18px; height: 18px; display: block; }
.scene-back { top: 14px; left: 12px; }
.scene-review { top: 14px; right: 12px; }
/* 文游构图：立绘放大贴底，下半身被对话框盖住一部分，不是整只缩小悬空 */
.scene-sprite {
  position: absolute;
  left: 50%;
  bottom: -6%;
  transform: translateX(-50%);
  width: min(140%, 560px);
  height: 94%;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  animation: sceneSpriteIn 0.42s ease forwards;
}
.scene-sprite img {
  width: auto;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.26));
  user-select: none;
  -webkit-user-drag: none;
}
@keyframes sceneSpriteIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
.scene-dialogue {
  position: relative;
  z-index: 3;
  margin: 0 20px 96px;
  padding-top: 14px;
}
.scene-name-tag {
  position: absolute;
  right: 20px;
  top: 0;
  z-index: 4;
  min-width: 68px;
  padding: 6px 18px 7px;
  border-radius: 8px;
  background: linear-gradient(180deg, #6ec4b4 0%, #4ea897 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
  box-shadow: 0 4px 12px rgba(50, 120, 110, 0.28);
}
.scene-name-tag span { display: inline-block; transform: translateY(0.5px); }
.scene-narrate {
  display: block;
  width: 100%;
  border: 0;
  text-align: left;
  margin: 0;
  padding: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: #2c3a38;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 10px 28px rgba(20, 35, 32, 0.16);
  overflow: hidden;
}
.scene-narrate-inner {
  padding: 24px 22px 22px;
  min-height: 88px;
}
.scene-narrate p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #33433f;
  letter-spacing: 0.03em;
}
.cover-actions {
  display: flex;
  gap: 8px;
  align-items: stretch;
  width: 100%;
}
.cover-actions .btn {
  flex: 1;
  margin: 0;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 13px;
  white-space: nowrap;
}
.cover-actions #startBtn {
  flex: 1.35;
}
.cover-actions #loginBtn {
  flex: 0.95;
  width: auto;
}
.cover-login-panel {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  width: 100%;
}
.cover-login-panel[hidden] {
  display: none !important;
}
.cover-login-panel input {
  flex: 1;
  min-width: 0;
  margin: 0 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cover-login-panel .btn {
  width: auto;
  flex: 0 0 auto;
  margin: 0;
  padding: 10px 12px;
}
.cover-login-field { margin: 0; }
.cover-login-row {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.cover-login-row input {
  flex: 1;
  min-width: 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cover-login-row .btn {
  width: auto;
  flex: 0 0 auto;
  padding: 10px 14px;
  margin: 0;
}
.device-bind .hint {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  color: #8aa39b;
  line-height: 1.4;
}
.sprite-preview {
  min-height: 120px;
  border-radius: 14px;
  background:
    linear-gradient(45deg, #eef6f3 25%, transparent 25%) -6px 0 / 12px 12px,
    linear-gradient(-45deg, #eef6f3 25%, transparent 25%) -6px 0 / 12px 12px,
    linear-gradient(45deg, transparent 75%, #eef6f3 75%) -6px 0 / 12px 12px,
    linear-gradient(-45deg, transparent 75%, #eef6f3 75%) -6px 0 / 12px 12px,
    #f7fffc;
  border: 1px dashed rgba(90, 140, 130, 0.35);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #8aa39b;
  font-size: 12px;
}
.sprite-preview.has-sprite {
  border-style: solid;
  border-color: rgba(90, 140, 130, 0.28);
}
.sprite-preview img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
  display: block;
}
.scene-bg-preview img {
  width: 100%;
  max-height: 140px;
  object-fit: cover;
}
.review-who { display: inline-block; margin-right: 6px; color: #2f9d8f; font-style: normal; font-weight: 700; font-size: 12px; }
.scene-tools {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  z-index: 4;
}
.scene-tools .scene-ico {
  position: static;
}
.scene-pill {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px 8px 10px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.86);
  color: #4a7a72;
  box-shadow: 0 4px 14px rgba(30, 50, 46, 0.14);
  backdrop-filter: blur(8px);
}
.scene-pill svg { width: 14px; height: 14px; }
.scene-pill.on {
  background: linear-gradient(180deg, #6ec4b4, #4ea897);
  color: #fff;
}
.scene-layer.hide-ui .scene-back,
.scene-layer.hide-ui .scene-review,
.scene-layer.hide-ui .scene-dialogue,
.scene-layer.hide-ui .scene-pill {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
/* 隐藏 UI 后必须还能点眼睛恢复，否则会卡死 */
.scene-layer.hide-ui .scene-tools {
  opacity: 1;
  pointer-events: none;
}
.scene-layer.hide-ui #sceneHide {
  opacity: 1;
  pointer-events: auto;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55), 0 6px 18px rgba(0, 0, 0, 0.28);
}
.scene-tap-restore {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.review-list { max-height: 42vh; overflow: auto; display: grid; gap: 8px; text-align: left; }
.review-line { margin: 0px; padding: 10px 12px; border-radius: 12px; background: rgb(243, 255, 251); border: 1px solid rgb(213, 238, 232); color: rgb(74, 95, 90); font-size: 13px; line-height: 1.65; }
.review-line span { display: inline-block; min-width: 18px; margin-right: 6px; color: rgb(126, 207, 195); font-weight: 700; font-size: 11px; }
.prep-page { display: flex; flex-direction: column; gap: 12px; min-height: 100%; padding-bottom: 20px; box-sizing: border-box; }
.prep-head { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; }
.prep-head h2 { margin: 0px; text-align: center; font-family: "ZCOOL XiaoWei", serif; font-size: 20px; font-weight: 400; color: rgb(63, 111, 106); }
.prep-brief { display: grid; grid-template-columns: 1fr 88px; gap: 10px; align-items: center; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.78); border: 1px solid rgb(213, 238, 232); }
.prep-brief strong { display: block; margin-bottom: 6px; color: rgb(63, 111, 106); font-size: 15px; }
.prep-brief ul { margin: 0px; padding-left: 18px; color: rgb(111, 136, 130); font-size: 12px; line-height: 1.7; }
.prep-owl-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 10px; color: rgb(138, 163, 156); line-height: 1.3; }
.prep-owl { width: 56px; height: 56px; object-fit: contain; border-radius: 50%; background: rgb(255, 255, 255); border: 2px solid rgb(255, 255, 255); box-shadow: rgba(80, 110, 100, 0.14) 0px 3px 10px; }
.prep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.prep-item { display: grid; grid-template-columns: 36px 1fr 22px; gap: 8px; align-items: center; border: 1px solid rgb(213, 238, 232); background: rgb(255, 255, 255); border-radius: 14px; padding: 10px; text-align: left; color: rgb(63, 111, 106); min-height: 64px; }
.prep-item.on { border-color: rgb(232, 194, 122); box-shadow: rgba(232, 194, 122, 0.55) 0px 0px 0px 1px; background: linear-gradient(rgb(255, 253, 246), rgb(255, 255, 255)); }
.prep-icon { font-size: 22px; line-height: 1; text-align: center; }
.prep-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; min-width: 0px; }
.prep-meta strong { font-size: 13px; font-weight: 600; }
.prep-meta .must { font-style: normal; font-size: 10px; color: rgb(184, 134, 11); background: rgb(255, 243, 205); border-radius: 6px; padding: 1px 5px; }
.prep-meta .heart-tag { font-style: normal; font-size: 11px; color: rgb(239, 127, 140); }
.prep-check { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgb(205, 234, 228); display: grid; place-items: center; font-size: 12px; color: rgb(255, 255, 255); background: rgb(255, 255, 255); }
.prep-item.on .prep-check { background: rgb(232, 194, 122); border-color: rgb(232, 194, 122); }
.prep-go { width: 100%; margin-top: 8px; flex-shrink: 0; position: sticky; bottom: 4px; z-index: 3; font-weight: 700; border: 0px; box-shadow: rgba(200, 140, 40, 0.28) 0px 6px 16px; background: linear-gradient(rgb(240, 208, 120), rgb(224, 168, 74)) !important; color: rgb(90, 64, 16) !important; }
.gift-card { position: relative; width: min(320px, 88vw); margin: 12vh auto 0px; padding: 28px 22px 20px; border-radius: 22px; background: radial-gradient(circle at 70% 20%, rgba(232, 255, 248, 0.9), transparent 45%), rgb(255, 252, 247); border: 2px solid rgb(126, 207, 195); box-shadow: rgba(40, 70, 60, 0.28) 0px 18px 40px; text-align: left; }
.gift-owl { position: absolute; top: -18px; right: 14px; width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(rgba(0, 0, 0, 0.12) 0px 3px 6px); }
.gift-text { margin: 8px 48px 12px 0px; font-size: 14px; line-height: 1.75; color: rgb(74, 95, 90); }
.gift-sign { text-align: right; font-size: 13px; color: rgb(94, 196, 180); margin-bottom: 14px; }
.gift-accept { width: 100%; font-weight: 700; border: 0px; background: linear-gradient(rgb(240, 208, 120), rgb(224, 168, 74)) !important; color: rgb(90, 64, 16) !important; }
.cart-gift-list { display: grid; gap: 10px; max-height: 42vh; overflow: auto; text-align: left; }
.cart-gift-item { padding: 10px 12px; border-radius: 14px; background: rgb(243, 255, 251); border: 1px solid rgb(213, 238, 232); }
.cart-gift-item strong { display: block; color: rgb(63, 111, 106); font-size: 14px; }
.cart-gift-item small { display: block; margin: 2px 0px 6px; color: rgb(138, 163, 156); font-size: 11px; }
.cart-gift-item p { margin: 0px; font-size: 12px; line-height: 1.65; color: rgb(95, 122, 116); }
.dessert-feedback { position: absolute; left: 108px; bottom: 12px; z-index: 4; border: 0px; border-radius: 999px; padding: 5px 12px; font-size: 11px; font-weight: 600; color: rgb(90, 64, 16); background: linear-gradient(rgb(246, 224, 138), rgb(232, 194, 122)); box-shadow: rgba(180, 140, 40, 0.25) 0px 3px 10px; cursor: pointer; }
.dessert-feedback.need::after { content: ""; position: absolute; top: -2px; right: -2px; width: 8px; height: 8px; border-radius: 50%; background: rgb(239, 107, 107); box-shadow: rgb(255, 255, 255) 0px 0px 0px 2px; }
.diary-stage { position: relative; flex: 1 1 0%; min-height: 200px; display: flex; flex-direction: column; }
.diary-stage .timeline.paper { flex: 1 1 0%; margin: 0px 22px; }
.diary-flip { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 28px; height: 44px; border: 0px; border-radius: 10px; background: rgba(240, 208, 120, 0.92); color: rgb(90, 64, 16); font-size: 22px; line-height: 1; box-shadow: rgba(120, 100, 40, 0.2) 0px 3px 10px; cursor: pointer; }
.diary-flip.prev { left: 0px; }
.diary-flip.next { right: 0px; }
.diary-fab { position: absolute; right: 28px; bottom: 148px; z-index: 6; width: 40px; height: 40px; border: 0px; border-radius: 50%; background: rgb(111, 127, 122); color: rgb(255, 255, 255); font-size: 16px; box-shadow: rgba(60, 80, 70, 0.28) 0px 4px 12px; cursor: pointer; }
.diary-lock { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 180px; padding: 24px 16px; text-align: center; color: rgb(154, 173, 168); }
.diary-lock-icon { font-size: 36px; margin-bottom: 6px; filter: grayscale(0.2); }
.diary-lock p { margin: 0px; font-size: 13px; line-height: 1.6; }
.diary-lock .btn { margin-top: 12px; width: auto; padding: 8px 16px; }
.diary-reply-bar { position: sticky; bottom: 0px; z-index: 5; margin-top: 8px; padding: 10px 12px 12px; background: linear-gradient(rgba(247, 255, 252, 0.55), rgb(247, 255, 252) 28%); border-top: 1px solid rgba(120, 190, 170, 0.22); backdrop-filter: blur(8px); }
.diary-reply-choices { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.diary-choice { width: 100%; text-align: left; padding: 11px 14px; border-radius: 14px; border: 1px solid rgba(120, 190, 170, 0.28); background: rgba(255, 255, 255, 0.92); color: rgb(42, 74, 66); font-size: 0.92rem; line-height: 1.45; cursor: pointer; transition: border-color 0.15s, background 0.15s, box-shadow 0.15s; }
.diary-choice.on { border-color: rgb(60, 184, 154); background: rgb(232, 255, 246); box-shadow: rgba(60, 184, 154, 0.18) 0px 0px 0px 2px; }
.diary-reply-sendrow { display: flex; align-items: center; gap: 10px; }
.diary-reply-label { flex: 1 1 0%; min-width: 0px; font-size: 0.82rem; color: rgb(90, 122, 112); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.diary-send { flex-shrink: 0; padding: 8px 18px; border-width: medium; border-style: none; border-color: currentcolor; border-image: initial; border-radius: 999px; background: linear-gradient(135deg, rgb(60, 184, 154), rgb(42, 154, 126)); color: rgb(255, 255, 255); font-weight: 600; font-size: 0.9rem; cursor: pointer; }
.diary-send:disabled { opacity: 0.4; cursor: not-allowed; }
.love-sheet { text-align: center; padding-bottom: 8px; }
.love-sheet h2 { margin-bottom: 6px; }
.love-hearts { justify-content: center; margin: 14px 0px 8px; gap: 6px; }
.love-hearts .heart { width: 42px; height: 42px; font-size: 1.45rem; border-width: medium; border-style: none; border-color: currentcolor; border-image: initial; background: transparent; color: rgb(208, 221, 216); cursor: pointer; }
.love-hearts .heart.on { color: rgb(232, 90, 122); }
.love-warn { margin: 0px 0px 14px; font-size: 0.82rem; color: rgb(138, 106, 106); }
.love-actions { display: flex; gap: 10px; justify-content: center; }
.love-actions .btn { min-width: 110px; }
.task-row { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; }
.task-row small { font-weight: 400; color: rgb(106, 138, 128); font-size: 0.78rem; }
.task-row.locked-choice { opacity: 0.55; }
.quest-board {
  width: min(400px, 96vw);
  max-height: min(88vh, 760px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: #e8f1ee;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(30, 50, 46, 0.3);
  border: 1px solid rgba(60, 80, 75, 0.18);
  position: relative;
}
.quest-board-head {
  flex: 0 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 76px 11px 58px;
  background: #4a5552;
  color: #fff;
}
.quest-board-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
}
.quest-board-day {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 999px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #cfead8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.quest-board-coin {
  position: absolute;
  right: 38px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 8px 0 3px;
  border-radius: 999px;
  background: #2f3835;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.quest-board-coin i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: url("img/ui/icon-mall-coin.png?v=123") center / cover no-repeat;
  display: inline-block;
  font-style: normal;
}
.quest-board-coin b { font-weight: 700; }
.quest-board-close {
  position: absolute;
  top: 8px;
  right: 6px;
  z-index: 3;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #c5d4cf;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.quest-board-sum {
  flex: 0 0 auto;
  margin: 10px 12px 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(150, 175, 168, 0.28);
  box-shadow: 0 6px 14px rgba(40, 60, 55, 0.05);
  display: grid;
  gap: 8px;
}
.quest-board-sum-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.quest-board-sum-top strong {
  font-size: 13px;
  color: #2f5650;
}
.quest-board-sum-top span {
  font-size: 12px;
  color: #6f8882;
  font-variant-numeric: tabular-nums;
}
.quest-board-bar {
  height: 7px;
  border-radius: 999px;
  background: #e3f1ec;
  overflow: hidden;
}
.quest-board-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8fd9c8, #4fa796);
}
.quest-board-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 10px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
}
.quest-sec h3 {
  margin: 0 0 7px;
  font-size: 12px;
  color: #5a7a72;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.quest-sec-done h3 { color: #7a948e; }
.quest-sec-lock h3 { color: #8a97a0; }
.quest-list { display: grid; gap: 8px; }
.quest-empty {
  padding: 16px 10px;
  text-align: center;
  color: #9ab0aa;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  border: 1px dashed rgba(150, 175, 168, 0.45);
}
.quest-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  align-items: stretch;
  padding: 11px;
  border-radius: 15px;
  background: #fff;
  border: 1px solid rgba(150, 175, 168, 0.28);
  box-shadow: 0 6px 14px rgba(40, 60, 55, 0.06);
}
.quest-row.is-ready {
  border-color: rgba(224, 181, 106, 0.85);
  box-shadow: 0 8px 18px rgba(200, 150, 40, 0.12);
  background: linear-gradient(180deg, #fffaf0, #fff);
}
.quest-row.is-done {
  background: linear-gradient(180deg, #eefaf5, #fff);
}
.quest-row.is-lock {
  opacity: 0.72;
  filter: grayscale(0.12);
}
.quest-row-slim {
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  padding: 8px 10px;
  gap: 8px;
}
.quest-row-ico {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  overflow: hidden;
  background: #e8f6f1;
  border: 1px solid rgba(150, 185, 175, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  display: grid;
  place-items: center;
}
.quest-row-ico img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: transparent;
}
.quest-row-ico.slim {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}
.quest-row-main {
  min-width: 0;
  display: grid;
  gap: 7px;
}
.quest-row-slim .quest-row-main { gap: 0; }
.quest-row-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.quest-row-titles {
  min-width: 0;
  display: grid;
  gap: 1px;
}
.quest-row-titles strong {
  font-size: 14px;
  color: #2f5650;
  font-weight: 700;
}
.quest-row-place {
  font-size: 11px;
  color: #8aaca4;
  line-height: 1.35;
}
.quest-badge {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}
.quest-badge.todo { background: #eef3f2; color: #6f8882; }
.quest-badge.prep { background: #fff3d8; color: #9a6a22; }
.quest-badge.ready { background: #ffe7b0; color: #8a5a12; }
.quest-badge.done { background: #d8efe8; color: #2f6f62; }
.quest-badge.lock { background: #eceff1; color: #8a97a0; }
.quest-row-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.quest-reward-coin {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #b8862e;
  font-variant-numeric: tabular-nums;
}
.quest-reward-coin::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: url("img/ui/icon-mall-coin.png?v=123") center / cover no-repeat;
}
.quest-reward-coin.got {
  color: #b0beb8;
  font-weight: 600;
}
.quest-reward-coin.got::before { opacity: 0.35; }
.quest-go {
  border: 0;
  border-radius: 999px;
  min-width: 68px;
  padding: 7px 13px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #7ec9b8, #4fa796);
  box-shadow: 0 5px 12px rgba(63, 159, 147, 0.22);
  cursor: pointer;
  touch-action: manipulation;
}
.quest-go.slim {
  min-width: 58px;
  padding: 6px 10px;
  font-size: 11px;
  box-shadow: none;
}
.quest-go.is-ready {
  background: linear-gradient(180deg, #f0d078, #e0a84a);
  color: #5a4010;
  box-shadow: 0 5px 12px rgba(200, 140, 40, 0.26);
}
.quest-go.is-done {
  background: linear-gradient(180deg, #9ad7c8, #6bb5a4);
}
.quest-go.is-lock,
.quest-go:disabled {
  background: #c9d6d2;
  color: #f7fbfa;
  box-shadow: none;
  cursor: default;
}
.mall-head-earn {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 8px;
  font-size: 10px;
  font-weight: 600;
  color: #5a7f78;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
.msg-more { align-self: flex-start; margin-top: 2px; padding: 2px 8px; border-width: medium; border-style: none; border-color: currentcolor; border-image: initial; background: transparent; color: rgb(138, 168, 158); font-size: 1rem; letter-spacing: 1px; cursor: pointer; line-height: 1; }
.msg-more:hover { color: rgb(60, 184, 154); }
.diary-entry { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 6px 8px; }
.diary-entry .say-body { min-width: 0px; }
.hub-dock-wrap { position: relative; margin-top: 10px; padding: 16px 12px 12px; border-radius: 22px 22px 0px 0px; background: linear-gradient(rgba(255, 255, 255, 0.58), rgba(232, 255, 248, 0.94)); backdrop-filter: blur(10px); border-top: 1px solid rgba(255, 255, 255, 0.65); }
.hub-cart { position: absolute; left: 14px; top: -30px; width: 40px; height: 40px; border: 0px; border-radius: 12px; background: rgb(158, 215, 239); box-shadow: rgba(80, 140, 170, 0.28) 0px 4px 12px; display: grid; place-items: center; z-index: 2; cursor: pointer; }
.hub-cart-ico { font-size: 18px; line-height: 1; }
.hub-dock { display: grid; grid-template-columns: 58px 58px 1fr; gap: 10px; align-items: stretch; min-height: 58px; }
.hub-dock-btn { border: 0px; border-radius: 14px; background: linear-gradient(rgb(255, 233, 168), rgb(240, 200, 90)); color: rgb(90, 74, 40); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 8px 4px; box-shadow: rgba(180, 140, 40, 0.22) 0px 3px 10px; cursor: pointer; }
.hub-dock-ico { font-size: 20px; line-height: 1; }
.hub-dock-btn span:last-child { font-size: 10px; font-weight: 600; line-height: 1.15; }
.hub-cta { border: 0px; border-radius: 18px; background: linear-gradient(90deg, rgb(127, 211, 200), rgb(79, 173, 160) 55%, rgb(61, 154, 144)); color: rgb(255, 255, 255); font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: flex-start; gap: 10px; padding: 0px 16px; box-shadow: rgba(47, 157, 143, 0.3) 0px 6px 16px; position: relative; cursor: pointer; }
.hub-cta-bag { width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, 0.22); display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.hub-cta.need::after { content: ""; position: absolute; top: 8px; right: 12px; width: 9px; height: 9px; border-radius: 50%; background: rgb(239, 107, 107); box-shadow: rgba(255, 255, 255, 0.9) 0px 0px 0px 2px; }
.hub-rail-item i { width: 7px; height: 7px; border-radius: 1px; background: rgba(255, 255, 255, 0.55); display: inline-block; transform: rotate(45deg); flex-shrink: 0; }
.hub-rail-item.on i.pin { width: auto; height: auto; transform: none; font-style: normal; background: transparent !important; }
.hub-rail-item.on i.pin::before { content: "📍"; font-size: 12px; line-height: 1; }
.dessert-name-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dessert-feedback-inline { border: 0px; border-radius: 999px; padding: 3px 10px; font-size: 11px; font-weight: 600; background: linear-gradient(rgb(255, 224, 138), rgb(240, 194, 74)); color: rgb(90, 64, 16); cursor: pointer; position: relative; box-shadow: rgba(180, 140, 40, 0.25) 0px 2px 6px; }
.dessert-feedback-inline.need::after { content: ""; position: absolute; top: -2px; right: -2px; width: 7px; height: 7px; border-radius: 50%; background: rgb(239, 107, 107); box-shadow: rgb(255, 255, 255) 0px 0px 0px 1.5px; }
.dessert-card-wrap .owl-wrap { right: 8px; bottom: auto; top: 8px; width: 54px; align-items: flex-end; }
.dessert-card-wrap .owl-bubble { position: static; width: 108px; margin-bottom: 4px; background: rgb(200, 235, 227); color: rgb(58, 90, 82); border-radius: 12px 12px 4px; font-size: 10px; line-height: 1.4; padding: 6px 8px; box-shadow: rgba(80, 120, 110, 0.12) 0px 2px 8px; }
.dessert-card { padding-right: 120px !important; }
.diary-reply-bar { position: sticky; bottom: 0px; z-index: 5; margin: 8px 10px 0px; padding: 10px 12px 12px; border-radius: 16px 16px 0px 0px; background: rgba(70, 92, 86, 0.72); backdrop-filter: blur(8px); border-top: 0px; color: rgb(238, 246, 243); }
.diary-reply-sendrow { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.diary-reply-label { flex: 1 1 0%; min-width: 0px; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.78); font-size: 0.86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.diary-send { flex-shrink: 0; padding: 9px 16px; border-width: medium; border-style: none; border-color: currentcolor; border-image: initial; border-radius: 12px; background: rgba(255, 255, 255, 0.22); color: rgb(255, 255, 255); font-weight: 600; font-size: 0.9rem; cursor: pointer; }
.diary-send:not(:disabled) { background: linear-gradient(135deg, rgb(60, 184, 154), rgb(42, 154, 126)); }
.diary-send:disabled { opacity: 0.55; cursor: not-allowed; }
.diary-reply-choices { display: flex; flex-direction: column; gap: 8px; margin-bottom: 0px; }
.diary-choice { width: 100%; text-align: center; padding: 12px 14px; border-radius: 14px; border: 0px; background: rgb(126, 201, 184); color: rgb(31, 74, 66); font-size: 0.95rem; font-weight: 600; line-height: 1.4; cursor: pointer; box-shadow: rgba(40, 100, 90, 0.18) 0px 2px 8px; }
.diary-choice.on { background: rgb(95, 181, 162); box-shadow: rgba(255, 255, 255, 0.35) 0px 0px 0px 2px, rgba(40, 100, 90, 0.25) 0px 2px 10px; }
.msg-more { width: 28px; height: 28px; border-radius: 50%; padding: 0px; border: 0px; background: rgba(40, 48, 46, 0.78); color: rgb(255, 255, 255); font-size: 14px; letter-spacing: 1px; line-height: 28px; text-align: center; cursor: pointer; flex-shrink: 0; align-self: center; margin-top: 0px; }
.msg-more:hover { color: rgb(255, 255, 255); background: rgb(60, 184, 154); }
.love-warn { color: rgb(212, 90, 90) !important; font-size: 0.8rem; }
.love-later { min-width: 118px; background: rgb(216, 224, 220) !important; color: rgb(74, 90, 84) !important; border: 0px !important; border-radius: 999px !important; }
.love-ok { min-width: 118px; font-weight: 700; background: linear-gradient(rgb(240, 208, 120), rgb(224, 168, 74)) !important; color: rgb(90, 64, 16) !important; border: 0px !important; border-radius: 999px !important; }
.diary-flip { opacity: 0.92; color: rgb(232, 192, 74) !important; font-size: 28px !important; }
.dessert-card-wrap .dessert-feedback-inline { position: absolute; left: 112px; top: 14px; z-index: 4; }
.dessert-name-row { display: none; }
.hub-page { padding-bottom: 72px !important; }
.hub-dock-wrap { margin-bottom: 8px; z-index: 3; }
.dessert-card-wrap .dessert-feedback-inline { left: auto; right: 118px; top: 12px; }
.dessert-card-wrap .owl-wrap { pointer-events: none; }
.dessert-card-wrap .owl-btn { pointer-events: auto; }
.actions.diary-reply-host { padding: 0px; border-top: 0px; background: transparent; grid-template-columns: unset; display: block !important; }
.actions.diary-reply-host .diary-reply-bar { position: relative; z-index: 30; margin: 0px; padding: 10px 14px 12px; border-radius: 16px 16px 0px 0px; background: rgba(55, 72, 68, 0.92); backdrop-filter: blur(10px); color: rgb(238, 246, 243); pointer-events: auto; }
.diary-reply-sendrow { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; pointer-events: auto; }
.diary-reply-label { flex: 1 1 0%; min-width: 0px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.78); font-size: 0.86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: auto; border: 0; outline: none; }
.diary-send { flex-shrink: 0; padding: 10px 18px; border-width: medium; border-style: none; border-color: currentcolor; border-image: initial; border-radius: 12px; background: rgba(255, 255, 255, 0.22); color: rgb(255, 255, 255); font-weight: 600; font-size: 0.9rem; cursor: pointer; pointer-events: auto; touch-action: manipulation; }
.diary-send:not(:disabled) { background: linear-gradient(135deg, rgb(60, 184, 154), rgb(42, 154, 126)); }
.diary-send:disabled { opacity: 0.55; cursor: not-allowed; }
.diary-reply-choices { display: flex; flex-direction: column; gap: 8px; pointer-events: auto; }
.diary-choice { width: 100%; text-align: center; padding: 12px 14px; border-radius: 14px; border: 0px; background: rgb(126, 201, 184); color: rgb(31, 74, 66); font-size: 0.95rem; font-weight: 600; line-height: 1.4; cursor: pointer; box-shadow: rgba(40, 100, 90, 0.18) 0px 2px 8px; pointer-events: auto; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.diary-choice.on { background: rgb(95, 181, 162); box-shadow: rgba(255, 255, 255, 0.35) 0px 0px 0px 2px, rgba(40, 100, 90, 0.25) 0px 2px 10px; }
.diary-choice:active { transform: scale(0.98); }
.tip-line { pointer-events: none !important; }
.diary-fab { bottom: 12px !important; z-index: 4; }
.msg-tools { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; }
.msg-reply { border: 0px; border-radius: 999px; padding: 4px 10px; font-size: 11px; font-weight: 600; background: rgb(126, 201, 184); color: rgb(31, 74, 66); cursor: pointer; line-height: 1.2; white-space: nowrap; }
.diary-entry.replying { outline: rgba(60, 184, 154, 0.45) solid 2px; outline-offset: 2px; border-radius: 12px; }
.diary-reply-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 12px; color: rgba(255, 255, 255, 0.78); }
.diary-reply-close { border: 0px; background: transparent; color: rgb(255, 255, 255); font-size: 20px; line-height: 1; cursor: pointer; padding: 0px 4px; }
.diary-stage .timeline.paper { position: relative; }
.diary-flip { position: absolute; top: 42%; transform: translateY(-50%); z-index: 4; width: 22px; height: 36px; border: 0px; padding: 0px; background: transparent; color: rgb(232, 200, 106); font-size: 34px; font-weight: 300; line-height: 36px; text-shadow: rgba(255, 255, 255, 0.35) 0px 1px 0px; box-shadow: none; border-radius: 0px; opacity: 0.95; cursor: pointer; }
.diary-flip.prev { left: 2px; }
.diary-flip.next { right: 2px; }
.msg-tools { display: flex; align-items: center; justify-content: center; flex-shrink: 0; align-self: center; }
.msg-more.msg-reply-dot { width: 28px; height: 28px; border-radius: 50%; padding: 0px; border: 0px; background: rgba(40, 48, 46, 0.82); color: rgb(255, 255, 255); font-size: 14px; letter-spacing: 1px; line-height: 28px; text-align: center; cursor: pointer; }
.diary-entry.you .msg-tools { display: none; }
.diary-reply-close { position: absolute; top: 6px; right: 10px; border: 0px; background: transparent; color: rgba(255, 255, 255, 0.7); font-size: 18px; line-height: 1; cursor: pointer; z-index: 2; }
.actions.diary-reply-host .diary-reply-bar { position: relative; }
.msg-reply { display: none !important; }
.timeline.paper { background: none rgb(255, 255, 255) !important; }
.diary-fab { position: absolute !important; right: 18px !important; bottom: 14px !important; z-index: 5 !important; width: 28px !important; height: 28px !important; font-size: 13px !important; box-shadow: rgba(60, 80, 70, 0.22) 0px 2px 8px !important; }
.diary-flip { text-indent: -9999px; overflow: hidden; position: absolute !important; top: 48% !important; transform: translateY(-50%) !important; z-index: 4 !important; width: 0px !important; height: 0px !important; padding: 0px !important; border-style: solid !important; border-radius: 0px !important; background: transparent !important; color: transparent !important; font-size: 0px !important; line-height: 0 !important; box-shadow: none !important; }
.diary-flip.prev { left: -2px !important; right: auto !important; border-width: 7px 10px 7px 0px !important; border-color: transparent rgb(232, 200, 106) transparent transparent !important; }
.diary-flip.next { right: -2px !important; left: auto !important; border-width: 7px 0px 7px 10px !important; border-color: transparent transparent transparent rgb(232, 200, 106) !important; }
.dessert-card-wrap {
  position: relative;
  margin-bottom: 10px;
  display: block;
  overflow: visible;
}
.dessert-card {
  display: grid !important;
  grid-template-columns: 64px minmax(0px, 1fr) !important;
  align-items: center !important;
  gap: 8px 10px !important;
  min-height: 96px !important;
  padding: 12px 12px 12px 12px !important;
  overflow: visible !important;
  width: 100%;
  min-width: 0;
}
.dessert-card .dessert-bind { left: 6px; }
.dessert-art { margin: 0px auto; flex-shrink: 0; position: static !important; transform: none !important; width: 58px !important; height: 58px !important; }
.dessert-meta { position: relative; min-width: 0px; z-index: 1; padding: 0px !important; }
.dessert-day { opacity: 0.28; font-size: 18px; font-weight: 700; letter-spacing: 1px; line-height: 1; margin-bottom: 2px; pointer-events: none; position: static !important; }
.dessert-name { font-size: 15px; font-weight: 700; }
.dessert-sub { font-size: 9px; letter-spacing: 1.5px; color: rgb(154, 176, 170); margin: 2px 0px 4px; }
.owl-side {
  position: absolute;
  right: -2px;
  top: -14px;
  width: 118px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0;
  pointer-events: none;
  z-index: 8;
}
.owl-side .owl-bubble {
  position: relative !important;
  width: auto;
  max-width: 118px;
  margin: 0;
  padding: 8px 11px;
  font-size: 9px;
  line-height: 1.45;
  text-align: left;
  background: #b8e6dc;
  color: #2f6b5e;
  border-radius: 18px 18px 18px 16px;
  border: 1.5px solid rgba(90, 160, 148, 0.35);
  box-shadow: 0 3px 10px rgba(47, 100, 90, 0.14);
}
.owl-side .owl-bubble::before {
  content: "";
  position: absolute;
  top: 10px;
  right: -5px;
  width: 10px;
  height: 10px;
  background: #b8e6dc;
  border-right: 1.5px solid rgba(90, 160, 148, 0.35);
  border-bottom: 1.5px solid rgba(90, 160, 148, 0.35);
  transform: rotate(-45deg);
  border-radius: 0 0 3px 0;
}
.owl-side .owl-mascot {
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  object-fit: contain;
  object-position: center bottom;
  width: 52px !important;
  height: 52px !important;
  margin: 0 6px -16px 0;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(40, 80, 70, 0.18));
  display: block;
}
.owl-btn-hit {
  position: absolute;
  right: 4px;
  top: -8px;
  width: 56px;
  height: 56px;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 9;
}
.dessert-card-wrap .dessert-feedback-inline { position: absolute; left: 86px; top: 10px; z-index: 4; }
.dessert-card-wrap .owl-wrap { display: none !important; }
.msg-tools, .msg-reply-dot, .msg-more { display: none !important; }

/* === diary board 1:1 layout v49 === */
.head-meta { display: none !important; }
.diary-head { padding: 2px 18px 6px; }
.diary-head h1 { margin: 4px 0 2px; }

#screen:has(.diary-board) {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden !important;
  padding: 6px 14px 12px;
  background-image:
    radial-gradient(circle at 12% 16%, rgba(255,255,255,.9) 0 1.2px, transparent 2px),
    radial-gradient(circle at 88% 10%, rgba(255,255,255,.75) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 30%, rgba(255,255,255,.65) 0 1.3px, transparent 2.2px),
    linear-gradient(180deg, rgba(210,250,240,.72), rgba(236,255,250,.55) 46%, rgba(255,255,255,.35));
  background-color: transparent;
}

.diary-board {
  position: absolute !important;
  inset: 6px 14px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: none !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.diary-day-chip {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 14;
  border: 0;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #3f6f6a;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 12px rgba(60, 100, 90, 0.18);
  cursor: pointer;
}

.diary-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  border-radius: 22px;
  /* 官版外框：薄荷绿 + 细点阵 */
  background-color: #8ec9c4;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.28) 0.7px, transparent 1px),
    linear-gradient(180deg, rgba(170, 220, 214, 0.9), rgba(130, 190, 185, 0.85));
  background-size: 5px 5px, auto;
  box-shadow:
    0 10px 28px rgba(47, 90, 86, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  overflow: visible;
  padding: 12px 10px 8px;
}

.diary-stack .dessert-card-wrap {
  margin: 0 0 -6px !important;
  width: 100%;
  z-index: 4;
  position: relative;
  display: block !important;
  flex: 0 0 auto;
  height: 128px !important;
  min-height: 128px;
  max-height: 128px !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

/* 完整甜品卡模块：脊+图+名+心+DAY 全在卡内，宽度拉满；鸟叠在右上 */
.diary-stack .dessert-card {
  width: 100% !important;
  margin: 0 !important;
  min-height: 118px;
  height: 118px;
  padding: 10px 108px 10px 102px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(150, 170, 165, 0.35) !important;
  /* 官版半透白 + 淡几何纹（同心圆/虚线），不是纯白方格 */
  background-color: rgba(255, 255, 255, 0.88) !important;
  background-image:
    url("../img/ui/dessert-paper-swatch.jpg"),
    radial-gradient(circle at 22% 50%, rgba(190, 220, 210, 0.35) 0 28px, transparent 29px),
    radial-gradient(circle at 22% 50%, transparent 32px, rgba(170, 200, 190, 0.2) 33px, transparent 34px),
    radial-gradient(circle at 22% 50%, transparent 38px, rgba(170, 200, 190, 0.15) 39px, transparent 40px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(245, 248, 246, 0.55)) !important;
  background-size: 80px 40px, auto, auto, auto, auto !important;
  background-blend-mode: soft-light, normal, normal, normal, normal !important;
  box-shadow:
    0 8px 18px rgba(50, 80, 75, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  display: block !important;
  text-align: left;
  position: relative;
  overflow: hidden !important;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* 左侧深色活页脊 + 圆孔 */
.diary-stack .dessert-spine {
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 16px;
  background: linear-gradient(180deg, #6a7470 0%, #4e5854 55%, #5c6662 100%);
  border-radius: 12px 0 0 12px;
  z-index: 3;
  pointer-events: none;
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.12);
}

.diary-stack .dessert-bind {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 9px !important;
  z-index: 4 !important;
}

.diary-stack .dessert-bind i {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #d7ebe4 !important;
  box-shadow:
    inset 0 1px 1px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(40, 50, 48, 0.35) !important;
  opacity: 1 !important;
  display: block !important;
}

/* 甜品卡与日记纸之间的活页扣（钉在连接缝上） */
.diary-binder-ring {
  position: absolute;
  left: 15px;
  top: 102px;
  width: 4px;
  height: 36px;
  z-index: 6;
  pointer-events: none;
  background: linear-gradient(180deg, #2c3431 0%, #5a6560 40%, #2c3431 100%);
  border-radius: 3px;
  box-shadow:
    1px 0 0 rgba(255, 255, 255, 0.2),
    -1px 0 0 rgba(0, 0, 0, 0.25),
    0 2px 4px rgba(0, 0, 0, 0.18);
}

.diary-binder-ring::before,
.diary-binder-ring::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  border: 2px solid #3a4340;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.diary-binder-ring::before { top: -2px; }
.diary-binder-ring::after { bottom: -2px; }

.diary-stack .dessert-card .dessert-art {
  position: absolute !important;
  left: 24px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 74px !important;
  height: 74px !important;
  margin: 0 !important;
  background-color: #eef8f4 !important;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.95),
    0 0 0 6px rgba(180, 210, 200, 0.22),
    0 0 0 9px rgba(180, 210, 200, 0.12),
    0 4px 12px rgba(80, 110, 100, 0.12) !important;
}

.diary-stack .dessert-card .dessert-meta {
  position: relative;
  z-index: 1;
  min-width: 0;
  height: 100%;
  /* 名称 / 英文 / 爱心：再略下移一点点 */
  padding: 8px 0 6px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 2px !important;
  box-sizing: border-box !important;
}

.diary-stack .dessert-day {
  position: absolute !important;
  right: 8px !important;
  /* 上一版位置 */
  bottom: -14px !important;
  top: auto !important;
  left: auto !important;
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 36px;
  color: rgba(140, 165, 160, 0.18);
  letter-spacing: 1px;
  pointer-events: none;
  line-height: 1;
  z-index: 0;
  transform: none !important;
  text-align: right;
  white-space: nowrap;
  margin: 0 !important;
  height: auto !important;
  opacity: 1 !important;
}

.dessert-day-label,
.dessert-day-num {
  display: inline-block;
  vertical-align: baseline;
}
.dessert-day-num {
  min-width: 2.2ch;
  font-variant-numeric: tabular-nums;
  text-align: left;
  margin-left: 0.18em;
}
.diary-stack .dessert-day {
  display: inline-flex !important;
  align-items: baseline;
  justify-content: flex-end;
}
.diary-stack .dessert-day-num {
  min-width: 2.4ch;
  text-align: right;
}

.diary-stack .dessert-name {
  font-family: "ZCOOL XiaoWei", serif !important;
  font-size: 17px !important;
  color: #3a5550 !important;
  font-weight: 700 !important;
  margin: 0 !important;
  position: relative;
  z-index: 1;
}

.diary-stack .dessert-sub {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 8px !important;
  letter-spacing: 1.6px !important;
  color: #9aaca6 !important;
  margin: 0 !important;
  position: relative;
  z-index: 1;
}

.diary-stack .dessert-card .hearts {
  margin-top: 2px !important;
  position: relative;
  z-index: 2;
  display: flex !important;
  gap: 3px !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.diary-stack .dessert-card .heart {
  font-size: 18px !important;
  line-height: 1 !important;
  color: rgba(200, 210, 205, 0.85) !important;
}
.diary-stack .dessert-card .heart.on {
  color: #ef7f8c !important;
}

.diary-stack .dessert-sub::before,
.diary-stack .dessert-sub::after {
  content: "";
  flex: 1 1 auto;
  height: 0;
  border-top: 1px dotted rgba(150, 170, 165, 0.55);
  max-width: 28px;
}

.diary-stack .dessert-tap-hint { display: none; }

/* 鸟+气泡：叠在完整甜品卡右上角外侧，压住卡缘 */
.diary-stack .owl-side {
  position: absolute !important;
  right: -6px !important;
  top: -22px !important;
  width: 128px !important;
  flex: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 0 !important;
  pointer-events: none;
  z-index: 10;
  overflow: visible !important;
  margin: 0 !important;
}

.diary-stack .owl-side .owl-bubble {
  max-width: 128px !important;
  width: 128px !important;
  margin: 0 !important;
  padding: 12px 14px !important;
  font-size: 10px !important;
  line-height: 1.45 !important;
  text-align: left !important;
  /* 官版云朵气泡：薄荷绿 + 白描边 */
  background: #c5ebe3 !important;
  color: #2f6b5e !important;
  border-radius: 40% 45% 42% 48% / 48% 42% 50% 45% !important;
  border: 2.5px solid #fff !important;
  outline: 1.5px solid rgba(90, 160, 148, 0.55);
  outline-offset: -1px;
  position: relative !important;
  box-shadow: 0 4px 14px rgba(47, 100, 90, 0.18) !important;
  box-sizing: border-box !important;
}

.diary-stack .owl-side .owl-bubble::before {
  content: none !important;
}

.diary-stack .owl-mascot {
  width: 58px !important;
  height: 58px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  /* 与气泡稍微分开，少遮挡对话框 */
  margin: 0 14px -6px 0 !important;
  position: relative !important;
  z-index: 2 !important;
  filter: drop-shadow(0 2px 5px rgba(40, 80, 70, 0.22));
  display: block !important;
}

.diary-stack .owl-btn-hit {
  right: 12px !important;
  top: -16px !important;
  bottom: auto !important;
  width: 58px !important;
  height: 58px !important;
}

.diary-stack .diary-stage {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1;
}

.diary-stack .timeline.paper {
  flex: 1 1 auto !important;
  margin: 0 !important;
  width: 100% !important;
  min-height: 0 !important;
  height: 100%;
  border-radius: 16px !important;
  background:
    linear-gradient(rgba(180, 220, 210, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 220, 210, 0.08) 1px, transparent 1px),
    rgba(255, 255, 255, 0.98) !important;
  background-size: 14px 14px, 14px 14px, auto !important;
  padding: 36px 14px 52px !important;
  box-shadow: 0 8px 18px rgba(70, 110, 100, 0.1) !important;
  gap: 0 !important;
  border-top: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

.diary-stack .weather-pill {
  top: 14px !important;
  right: 12px !important;
  z-index: 3 !important;
  background: rgba(48, 56, 54, 0.88) !important;
  font-size: 10px !important;
  padding: 4px 10px !important;
}

/* 翻页键钉在日记纸视口两侧正中，高度不随条目多少漂移 */
.diary-stage > .diary-flip,
.diary-stage > .diary-flip.prev,
.diary-stage > .diary-flip.next {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  border-style: solid !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 12 !important;
  cursor: pointer;
}

.diary-stage > .diary-flip.next {
  right: 2px !important;
  left: auto !important;
  border-width: 11px 0 11px 14px !important;
  border-color: transparent transparent transparent #f0c94a !important;
  filter: drop-shadow(0 2px 3px rgba(120, 90, 20, 0.28));
}

.diary-stage > .diary-flip.prev {
  left: 2px !important;
  right: auto !important;
  border-width: 11px 14px 11px 0 !important;
  border-color: transparent #f0c94a transparent transparent !important;
  filter: drop-shadow(0 2px 3px rgba(120, 90, 20, 0.28));
}

.diary-stage > .diary-flip.next::after {
  content: "";
  position: absolute;
  top: -15px;
  left: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e45757;
  box-shadow: 0 0 0 1.5px #fff;
}

.diary-stage > .diary-flip:disabled {
  opacity: 0.28;
  cursor: default;
  pointer-events: none;
}

.diary-stage > .diary-flip.next:disabled::after {
  display: none;
}

.diary-stack .entry.say.msg.diary-entry {
  grid-template-columns: 34px minmax(0, 1fr) !important;
  gap: 8px !important;
  padding: 2px 2px 8px !important;
  width: 100%;
  align-items: start;
}

.diary-stack .say-body {
  position: relative;
  min-width: 0;
  padding-bottom: 18px;
}

.diary-stack .msg-line.diary-para {
  font-size: 13px;
  line-height: 1.75;
  color: #3f6f6a;
  margin: 0;
}

/* 官版：条目右下黑色 ··· 圆钮 */
.entry-reply {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 22px;
  height: 22px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: #3a4542;
  cursor: pointer;
  opacity: 0.92;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5px;
  z-index: 3;
  box-shadow: 0 2px 6px rgba(30, 40, 38, 0.28);
}

.entry-reply i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  display: block;
  pointer-events: none;
}

.entry-reply:active { transform: scale(0.94); opacity: 1; }

.diary-entry.replying .entry-reply {
  background: #2f6b5e;
  box-shadow: 0 0 0 2px rgba(94, 201, 184, 0.45);
}

.diary-thread {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 16px;
  padding: 2px 2px 12px;
  border-bottom: 1px dashed rgba(126, 170, 162, 0.55);
}

.diary-thread:last-child {
  margin-bottom: 0;
  padding-bottom: 4px;
  border-bottom: 0;
}

.diary-replies {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin: -2px 0 0 8px;
  padding: 4px 8px 6px 10px;
  border-left: 2px solid rgba(126, 201, 184, 0.5);
  background: rgba(255, 255, 255, 0.38);
  border-radius: 0 10px 10px 0;
}

.diary-stack .diary-entry.nested {
  opacity: 1;
  padding: 0 2px 2px !important;
  grid-template-columns: 26px minmax(0, 1fr) !important;
  gap: 6px !important;
}

.diary-stack .diary-entry.nested .say-body {
  padding-bottom: 2px;
}

.diary-stack .diary-entry.nested .mini {
  width: 26px;
  height: 26px;
  font-size: 9px;
  margin-top: 1px;
}

.diary-entry.nested .msg-line.diary-para {
  font-size: 12px;
  line-height: 1.65;
}

.diary-entry.nested-you .msg-line.diary-para {
  color: #b56a62;
}

.diary-entry.nested-yi .msg-line.diary-para {
  color: #3d7a72;
}

.diary-entry.replying {
  background: rgba(94, 201, 184, 0.1);
  border-radius: 10px;
}

/* 官版回信条：底部深色浮层 · 上选择框+发出 · 下薄荷绿选项 */
.diary-board > .diary-reply-bar.dock {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 20 !important;
  margin: 0 !important;
  padding: 14px 14px 16px !important;
  border-radius: 18px 18px 0 0 !important;
  background: rgba(52, 62, 58, 0.88) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 0 !important;
  box-shadow: 0 -8px 28px rgba(20, 30, 28, 0.28);
  color: #eef6f3;
  animation: diaryReplyDockIn 0.22s ease-out;
}

@keyframes diaryReplyDockIn {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.diary-board > .diary-reply-bar.dock .diary-reply-close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  padding: 2px 4px;
}

.diary-board > .diary-reply-bar.dock .diary-reply-sendrow {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 12px 0 0 !important;
  padding-right: 22px;
}

.diary-board > .diary-reply-bar.dock .diary-reply-label {
  flex: 1 1 auto;
  min-width: 0;
  padding: 11px 16px !important;
  border-radius: 999px !important;
  background: rgba(210, 218, 214, 0.92) !important;
  color: rgba(70, 82, 78, 0.55) !important;
  font-size: 13px !important;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  pointer-events: auto;
  border: 0;
  outline: none;
  -webkit-appearance: none;
}

.diary-board > .diary-reply-bar.dock .diary-reply-label.filled {
  color: #2f403c !important;
  background: rgba(232, 238, 234, 0.96) !important;
}

.diary-board > .diary-reply-bar.dock .diary-send {
  flex-shrink: 0;
  min-width: 64px;
  padding: 10px 16px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(150, 160, 156, 0.85) !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 13px !important;
  cursor: pointer;
  box-shadow: none !important;
}

.diary-board > .diary-reply-bar.dock .diary-send:not(:disabled) {
  background: linear-gradient(180deg, #7ec9b8, #5fb5a2) !important;
  box-shadow: 0 2px 8px rgba(47, 120, 110, 0.35) !important;
}

.diary-board > .diary-reply-bar.dock .diary-send:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.diary-board > .diary-reply-bar.dock .diary-reply-choices {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin: 0 !important;
}

.diary-board > .diary-reply-bar.dock .diary-choice {
  position: relative;
  width: 100%;
  text-align: center;
  padding: 13px 28px 13px 16px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #8fd4c4 0%, #6fc0ad 55%, #5eb5a2 100%) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22) inset,
    0 4px 14px rgba(40, 110, 95, 0.32) !important;
  text-shadow: 0 1px 0 rgba(30, 70, 60, 0.18);
}

.diary-board > .diary-reply-bar.dock .diary-choice::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 14px;
  opacity: 0.35;
  background:
    linear-gradient(#fff, #fff) center / 8px 1px no-repeat,
    linear-gradient(#fff, #fff) center 4px / 8px 1px no-repeat,
    linear-gradient(#fff, #fff) center 8px / 8px 1px no-repeat;
  pointer-events: none;
}

.diary-board > .diary-reply-bar.dock .diary-choice.on {
  background: linear-gradient(180deg, #7ec9b8 0%, #4fa692 100%) !important;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.55),
    0 4px 16px rgba(40, 110, 95, 0.4) !important;
}

.diary-board > .diary-reply-bar.dock .diary-choice:active {
  transform: scale(0.985);
}

.diary-page-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 6px 0 0;
  padding: 0;
  flex: 0 0 18px;
  height: 18px;
  z-index: 2;
}

.diary-stack .dessert-feedback-inline,
.diary-stack #dessertFeedback {
  position: absolute !important;
  left: 102px !important;
  top: 68px !important;
  bottom: auto !important;
  right: auto !important;
  z-index: 6 !important;
  margin: 0 !important;
  pointer-events: auto !important;
}

.diary-page-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(120, 150, 145, 0.35);
  display: block;
  cursor: pointer;
}

.diary-page-dots i.on {
  width: 9px;
  height: 9px;
  background: #ffffff;
  box-shadow: 0 0 0 1.5px rgba(120, 160, 150, 0.45), 0 1px 3px rgba(40, 70, 60, 0.18);
}
.diary-page-dots i:not(.on) {
  background: rgba(255, 255, 255, 0.45);
}


/* 画笔：钉在日记纸视口右下角 */
.diary-stack .diary-stage > .diary-fab,
.diary-board .diary-fab {
  position: absolute !important;
  right: 10px !important;
  bottom: 10px !important;
  width: 34px !important;
  height: 34px !important;
  border: 0;
  border-radius: 50%;
  background: #6f7f7a !important;
  color: #fff;
  font-size: 15px;
  z-index: 9 !important;
  box-shadow: 0 4px 12px rgba(60, 80, 70, 0.28);
  cursor: pointer;
}

.diary-board:has(> .diary-reply-bar.dock) .diary-fab {
  opacity: 0;
  pointer-events: none;
}

#modal textarea#freeDiaryInput {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(120, 170, 160, 0.35);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  resize: vertical;
  min-height: 88px;
  background: #f7fffc;
  color: var(--ink);
}


/* === official itinerary rebuild v102 === */

.itinerary-sheet {
  position: relative;
  width: min(392px, 100%);
  max-height: min(90vh, 820px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  background: transparent;
  overflow: visible;
}
.itin-card {
  position: relative;
  background: #f3f7f5;
  border-radius: 18px;
  overflow: visible;
  box-shadow: 0 14px 36px rgba(20, 30, 40, 0.26);
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
  max-height: min(68vh, 560px);
  border: 1px solid rgba(60, 80, 75, 0.18);
}
.itin-owl {
  position: absolute;
  top: -14px;
  left: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #fff 0 38%, transparent 40%),
    radial-gradient(circle at 65% 35%, #fff 0 38%, transparent 40%),
    #e8eef0;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  z-index: 4;
  background-size: cover;
  background-position: center;
  object-fit: cover;
}
.itin-owl-letter {
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #7fd3c8, #3e9d94);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}
.itin-head {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 44px 12px 52px;
  background: #4a5552;
  color: #fff;
  border-radius: 18px 18px 0 0;
}
.itin-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}
.itin-online {
  position: absolute;
  right: 42px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #cfead8;
  font-weight: 600;
  margin: 0;
}
.itin-online i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6dce7a;
  display: block;
}
.itin-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #c5d4cf;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.itin-body {
  background: #f7faf8;
  margin: 0;
  border-radius: 0;
  padding: 10px 12px 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
}
.itin-log {
  overflow-y: auto;
  padding: 2px 4px 8px;
  flex: 1 1 auto;
  min-height: 0;
  scrollbar-width: thin;
}
.itin-row {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 2px 10px;
  border-bottom: 1px solid rgba(180, 200, 195, 0.25);
}
.itin-row:last-child { border-bottom: 0; }
.itin-stamp {
  font-size: 11px;
  color: #7eb8a8;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  padding-left: 2px;
}
.itin-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
.itin-ico {
  flex: 0 0 auto;
  width: 1.2em;
  text-align: center;
  font-size: 13px;
  line-height: 1;
  opacity: 0.9;
}
.itin-desc {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: #3a4a46;
  line-height: 1.4;
  word-break: break-word;
}
.itin-reply {
  flex: 0 0 auto;
  margin: 0;
  border: 1px solid rgba(90, 180, 160, 0.55);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #3f9f8f;
  background: rgba(255,255,255,0.7);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.4;
}
.itin-reply:active { opacity: 0.75; transform: scale(0.97); }
.itin-replied {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  min-width: 36px;
}
.itin-replied img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}
.itin-replied em {
  font-style: normal;
  font-size: 9px;
  color: #8aa09a;
}
.itin-replied.plain {
  font-size: 11px;
  color: #9aada6;
}

/* 快捷回应条 */
.itin-react-pop {
  margin-top: 8px;
  padding: 8px 8px 6px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(40, 60, 55, 0.16);
  border: 1px solid rgba(180, 205, 198, 0.55);
  position: relative;
  z-index: 5;
}
.itin-react-quick {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.itin-react-sticker {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  border-radius: 10px;
}
.itin-react-sticker img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.itin-react-sticker:active { transform: scale(0.92); }
.itin-react-more {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(120, 150, 145, 0.45);
  background: #f3f7f5;
  color: #5a7a72;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  margin-left: 2px;
}
.itin-react-more.on {
  background: #3f8f82;
  color: #fff;
  border-color: #3f8f82;
}
.itin-react-lib {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(160, 180, 175, 0.55);
  max-height: 168px;
  overflow-y: auto;
}
.itin-react-lib.hidden { display: none; }
.itin-react-lib-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.itin-react-lib-grid .itin-react-sticker {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

/* 出行准备 */
.itin-prep {
  flex: 0 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: #fbfcfc;
  box-shadow: 0 6px 18px rgba(30, 50, 46, 0.1);
  border: 1px solid rgba(90, 120, 112, 0.12);
}
.itin-prep-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 14px;
  background: #eef4f2;
  color: #3d5f58;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(90, 120, 112, 0.1);
}
.itin-prep-head > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.itin-prep-head i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5fb8a8;
  display: block;
}
.itin-prep-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px 12px 14px;
  background: #fbfcfc;
}
.itin-trip-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.itin-trip-label {
  font-size: 11px;
  color: #6a807a;
  font-weight: 600;
  padding-left: 2px;
}
.itin-trip-slot {
  position: relative;
  border: 0;
  background: #fff;
  border-radius: 14px;
  min-height: 96px;
  padding: 10px 8px 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: inset 0 0 0 1px rgba(150, 175, 168, 0.25);
}
.itin-trip-slot img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}
.itin-trip-slot.empty {
  border: 1.5px dashed rgba(90, 170, 155, 0.65);
  background: rgba(255,255,255,0.75);
  box-shadow: none;
}
.itin-trip-plus {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 1.1em !important;
  height: 1.1em !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 34px !important;
  line-height: 1 !important;
  color: #4db6a0 !important;
  font-weight: 300 !important;
  flex: 0 0 auto;
}
.itin-trip-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e85d5d;
  box-shadow: 0 0 0 2px #fff;
}
.itin-trip-dot::after {
  content: "!";
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.itin-trip-tag {
  font-size: 10px;
  color: #fff;
  background: #4a5552;
  border-radius: 6px;
  padding: 2px 8px;
  font-weight: 600;
}
.itin-trip-fallback { font-size: 36px; line-height: 1; }


/* === human chat polish v103 === */

/* 气泡：按字数收缩，不贴满栏宽 */
.status-chat-panel .say-body,
.chat-feed .say-body{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  max-width: calc(100% - 4px);
}
.status-chat-panel .msg-bubble,
.chat-feed .msg-bubble,
.entry.say.msg .msg-bubble {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 7px 11px;
  border-radius: 4px 14px 14px 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgb(186, 214, 206);
  font-size: 13px;
  line-height: 1.55;
  color: rgb(74, 95, 90);
  word-break: break-word;
  overflow-wrap: break-word;
  line-break: auto;
  text-align: left;
  box-shadow: rgba(80, 120, 110, 0.05) 0px 2px 8px;
  box-sizing: border-box;
  white-space: pre-wrap;
}
.entry.say.you .msg-bubble {
  border-radius: 14px 4px 14px 14px;
  background: rgb(255, 247, 245);
  border: 1px solid rgb(228, 196, 188);
  text-align: left;
}

/* 光标贴在最后一个字右边（同行 inline） */
.yi-type-out {
  margin: 0;
  min-height: 1.6em;
  font-family: "ZCOOL XiaoWei", "Noto Sans SC", serif;
  font-size: 15px;
  line-height: 1.7;
  color: #2f4f4a;
  white-space: pre-wrap;
  word-break: normal;
  overflow-wrap: break-word;
}
#yiTypeText {
  display: inline;
  white-space: pre-wrap;
}
.yi-type-caret {
  display: none;
  margin: 0 0 0 1px;
  padding: 0;
  color: #3f6f6a;
  font-weight: 400;
  font-style: normal;
  line-height: inherit;
  vertical-align: baseline;
  animation: yiCaret 0.9s steps(1) infinite;
}
.yi-type-panel.typing .yi-type-caret {
  display: inline;
}

.itin-card {
  position: relative;
  overflow: visible !important;
}
.itinerary-sheet {
  overflow: visible !important;
  padding-top: 4px;
}


/* === hero 1to1 v107 — ratios from official 472px screenshot ===
   avatar Ø108 → ~96@420  | gap 24 → ~21  | centers 132 apart
   emp: meta(left) + big 29(right); actions: 点滴日常 + shop square
*/
.status-hero {
  --hero-av: 62px;
  --hero-gap: 10px;
  --hero-tag-h: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin: 2px 4px 10px;
  padding: 2px 2px 0;
  box-sizing: border-box;
}
.status-duo {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--hero-gap);
  flex: 0 0 auto;
  padding-left: 2px;
}
.duo-av {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: var(--hero-av);
  gap: 6px;
  position: relative;
  z-index: 1;
}
.duo-av.him { z-index: 2; }
.duo-face {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  width: var(--hero-av);
  height: var(--hero-av);
  border-radius: 50%;
  cursor: pointer;
  display: block;
  flex-shrink: 0;
}
.duo-face .avatar {
  width: var(--hero-av) !important;
  height: var(--hero-av) !important;
  border-radius: 50%;
  border: 3px solid #fff;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 22px;
  font-weight: 700;
}
.duo-av.him .duo-face .avatar {
  background: linear-gradient(165deg, #eef6f3, #d8ebe4);
  color: #5a8a82;
  box-shadow:
    0 0 0 2px rgba(140, 200, 180, 0.55),
    0 4px 12px rgba(60, 120, 100, 0.18);
}
.duo-av.you .duo-face .avatar {
  background: linear-gradient(165deg, #fbf0f2, #f0d9de);
  color: #a56a78;
  box-shadow:
    0 0 0 2px rgba(230, 170, 180, 0.55),
    0 4px 12px rgba(160, 90, 110, 0.14);
}
.duo-face .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.duo-face:active .avatar { transform: scale(0.97); }

/* 名签：居中贴在头像正下方，矮胶囊 */
.duo-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: var(--hero-tag-h);
  max-width: calc(var(--hero-av) + 8px);
  padding: 0 7px 0 8px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(150, 195, 185, 0.45);
  cursor: pointer;
  font: inherit;
  line-height: 1;
  color: #5a9a90;
  flex-shrink: 0;
}
.duo-tag.yours {
  color: #6aa69c;
  background: rgba(255, 255, 255, 0.78);
}
.duo-tag-text {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  max-width: 4.8em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.duo-tag-pen {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  display: inline-block;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%23b7d4cc' d='M8.6 1.2l2.2 2.2-6.7 6.7H1.9V7.9l6.7-6.7zm.7-.7l.9.9c.3.3.3.8 0 1.1L9.5 3.2 7.8 1.5l.7-.7c.3-.3.8-.3 1.1 0z'/%3E%3C/svg%3E");
}

/* 右侧共感：左 meta，右大号等级 */
.status-empathy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  padding-top: 10px;
  padding-right: 2px;
}
.emp-top {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 6px;
  min-height: 52px;
}
.emp-meta {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  padding-bottom: 4px;
  text-align: center;
}
.emp-label {
  font-size: 11px;
  font-weight: 600;
  color: #4a7f78;
  letter-spacing: 0.02em;
  line-height: 1.1;
  width: auto;
  text-align: center;
}
.emp-xp {
  font-size: 9px;
  color: #7a9e96;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin-bottom: 2px;
  width: auto;
  text-align: center;
}
.emp-bar {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: #7a9e96;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(60, 100, 90, 0.15);
}
.emp-bar > i {
  display: block;
  height: 100%;
  width: calc(var(--p, 0) * 100%);
  border-radius: inherit;
  background: linear-gradient(90deg, #9fd9cb, #6ec4b0);
}
.emp-num {
  flex: 0 0 auto;
  font-size: 40px;
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: #fff;
  -webkit-text-stroke: 3.5px #5a8f86;
  paint-order: stroke fill;
  text-shadow: 0 2px 0 rgba(70, 120, 110, 0.25);
  padding-bottom: 0;
  align-self: flex-end;
}

.emp-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding-right: 2px;
}
.emp-daily {
  position: relative;
  flex: 1 1 auto;
  height: 32px;
  min-width: 0;
  margin: 0;
  padding: 0 14px;
  border: 1.5px solid #7eb8ae;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  color: #4f8f86;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  overflow: visible;
  z-index: 1;
}
.emp-daily-label { position: relative; z-index: 0; }
.emp-daily:active { transform: scale(0.98); }
.emp-badge {
  position: absolute;
  box-shadow: 0 0 0 1.5px #fff;
  z-index: 2;
  pointer-events: none;
}
/* 点滴日常：右上角感叹号（官版） */
.emp-badge-bang {
  top: -6px;
  right: -5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ef5a6a;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 15px;
  text-align: center;
}
.emp-mall {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: none;
  overflow: visible;
  z-index: 1;
}
.emp-mall img.mall-shop-ico {
  width: 34px;
  height: 34px;
  object-fit: contain;
  object-position: center;
  display: block;
  pointer-events: none;
}
.emp-mall .mall-shop-ico.svg-fallback { display: none; }
/* 商城：右上角纯红点，无感叹号，不与点滴日常角标重叠 */
.emp-mall .emp-badge-dot {
  top: -4px;
  right: -4px;
  left: auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef5a6a;
  color: transparent;
  font-size: 0;
  line-height: 0;
}
.emp-mall:active { transform: scale(0.96); }

/* kill legacy owl-as-mall */
.emp-owl { display: none !important; }

@media (max-width: 380px) {
  .status-hero {
    --hero-av: 56px;
    --hero-gap: 12px;
  }
  .emp-num { font-size: 34px; -webkit-text-stroke-width: 3px; }
}


/* === official mall v109 === */
.mall-sheet {
  width: min(400px, 96vw);
  max-height: min(88vh, 760px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: #dff3ec;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(30, 50, 46, 0.3);
  position: relative;
}
.mall-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 12px 14px 8px;
  background: linear-gradient(#c8ebe1, #dff3ec);
}
.mall-back {
  width: 36px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: rgba(255,255,255,0.65);
  color: #6a9088;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}
.mall-coin {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 12px 0 4px;
  border-radius: 999px;
  background: #3f4845;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  line-height: 1;
}
.mall-coin i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: url("img/ui/icon-mall-coin.png?v=123") center / cover no-repeat;
  display: inline-block;
  font-style: normal;
  font-size: 0;
  box-shadow: none;
  overflow: hidden;
}
.mall-coin i::after { display: none; }
.mall-tabs {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
  padding: 4px 12px 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.mall-tabs::-webkit-scrollbar { display: none; }

.mall-tab-ico {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 0;
}
.mall-tab-ico img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.mall-tab {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 12px;
  border: 1.5px solid #8ec4b8;
  background: rgba(255,255,255,0.55);
  color: #4a7f78;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.mall-tab.on {
  background: #fff;
  box-shadow: 0 2px 8px rgba(60, 100, 90, 0.12);
}
.mall-tab .mall-tab-ico {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  font-size: 13px;
}
.mall-tab .dot {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef5a6a;
  box-shadow: 0 0 0 1.5px #dff3ec;
}
.mall-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 6px 10px 16px;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,0.35) 0 6px,
      rgba(220, 242, 234, 0.35) 6px 12px
    );
  border-radius: 18px 18px 0 0;
  margin: 0 6px;
}
.mall-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mall-card {
  position: relative;
  border: 0;
  background: #fff;
  border-radius: 12px;
  padding: 0 0 0;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(40, 70, 60, 0.1);
  display: flex;
  flex-direction: column;
  min-height: 148px;
  font: inherit;
  color: inherit;
}
.mall-card.sold {
  filter: grayscale(0.85) brightness(1.05);
  cursor: default;
  opacity: 0.78;
}
.mall-card.owned {
  box-shadow: 0 4px 12px rgba(40, 110, 90, 0.16);
}
.mall-card.owned .mall-card-foot {
  color: #2f7d6e;
  font-weight: 700;
}
.mall-bag-btn.pulse {
  animation: mallBagPulse 0.7s ease 2;
}
@keyframes mallBagPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); background: #c8ebe1; }
}
.mall-card-hang {
  height: 16px;
  background: #4a5552;
  position: relative;
  flex: 0 0 auto;
}
.mall-card-hang::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 7px;
  border-radius: 4px;
  background: #dff3ec;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}
.mall-card-art {
  flex: 1 1 auto;
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 6px 8px 2px;
  background:
    repeating-linear-gradient(
      135deg,
      #f7fffc 0 5px,
      #eef8f4 5px 10px
    );
}
.mall-card-art img {
  width: 78px;
  height: 62px;
  object-fit: contain;
  display: block;
  background: transparent;
}
.mall-card-name {
  font-size: 11px;
  font-weight: 800;
  color: #2c3a38;
  padding: 2px 6px 0;
  line-height: 1.25;
}
.mall-card-desc {
  font-size: 9px;
  color: #8a9e98;
  padding: 1px 6px 6px;
  line-height: 1.25;
  min-height: 22px;
}
.mall-card-foot {
  flex: 0 0 auto;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #c8ebe1;
  color: #3f6f6a;
  font-size: 12px;
  font-weight: 800;
}
.mall-card.sold .mall-card-foot {
  background: #d5ddd9;
  color: #7a8a84;
  font-weight: 700;
  font-size: 11px;
}
.mall-card-foot .c {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #b8f0c8, #3dbf7a);
  display: inline-block;
}
.mall-new {
  position: absolute;
  top: 12px;
  right: 0;
  background: #ef5a6a;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 3px 0 0 3px;
  z-index: 2;
  letter-spacing: 0.04em;
}
.mall-toast {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: rgba(40, 55, 50, 0.92);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 5;
}
.mall-toast.show { opacity: 1; }


/* === itin layout hard fix v117 === */
.itinerary-sheet { overflow: visible !important; padding-top: 8px; }
.itin-card { overflow: visible !important; position: relative; }
.itin-head { overflow: hidden !important; padding-left: 58px !important; }
.itin-av-frame {
  position: absolute !important;
  top: 4px !important;
  left: 10px !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  border: 2px solid #fff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18) !important;
  z-index: 8 !important;
  background: #4a8f86 !important;
  pointer-events: none !important;
}
.itin-av-frame img.itin-owl,
.itin-av-frame .itin-owl,
.itin-av-frame .itin-av {
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: cover !important;
  object-position: 50% 12% !important;
  display: block !important;
  pointer-events: none !important;
}
.itin-av-frame .itin-owl-letter {
  width: 100% !important;
  height: 100% !important;
  display: grid !important;
  place-items: center !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  color: #fff !important;
  background: linear-gradient(160deg, #7fd3c8, #3e9d94) !important;
}
.itin-trip-slot.empty {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
}
.itin-trip-plus {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 1.1em !important;
  height: 1.1em !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 34px !important;
  line-height: 1 !important;
  color: #4db6a0 !important;
  font-weight: 300 !important;
}
.itin-trip-dot {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  width: 14px !important;
  height: 14px !important;
  z-index: 2 !important;
}


/* hub place → map entry */
button.hub-place {
  appearance: none;
  border: 1px solid rgba(126, 184, 174, 0.55);
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(220, 245, 238, 0.9));
  color: #3a6f68;
  border-radius: 999px;
  padding: 4px 8px 4px 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(60, 110, 100, 0.12);
}
button.hub-place:active { transform: scale(0.98); }
.hub-place-go {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: #3fad9c;
  border-radius: 999px;
  padding: 2px 6px;
  margin-left: 2px;
}


/* Proactive typing reminder */
.wx-msg-banner.typing-banner {
  border-color: rgba(90, 180, 165, 0.45);
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(232, 248, 244, 0.98));
  box-shadow: 0 10px 28px rgba(40, 100, 90, 0.18);
}
.wx-msg-banner.typing-banner .wx-msg-text {
  color: #4a7a72;
  font-weight: 600;
}
.typing-dots span {
  animation: typingDot 1.2s infinite ease-in-out;
  opacity: 0.25;
}
.typing-dots span:nth-child(1) { animation-delay: 0s; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
  0%, 80%, 100% { opacity: 0.2; }
  40% { opacity: 1; }
}

/* World map sheet */
.wmap-sheet {
  position: relative;
  width: min(420px, 94vw);
  max-height: min(86vh, 720px);
  margin: 6vh auto 0;
  border-radius: 22px;
  overflow: hidden;
  background: #071018;
  color: #e8f7f3;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(80, 220, 200, 0.18);
  display: flex;
  flex-direction: column;
}
.wmap-aurora {
  position: absolute; inset: -20% -10% auto -10%; height: 55%;
  background:
    radial-gradient(ellipse at 20% 40%, rgba(80, 255, 210, 0.28), transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(120, 160, 255, 0.35), transparent 50%),
    radial-gradient(ellipse at 50% 0%, rgba(255, 120, 200, 0.18), transparent 45%);
  filter: blur(8px);
  animation: wmapPulse 7s ease-in-out infinite alternate;
  pointer-events: none;
}
.wmap-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120, 255, 220, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 255, 220, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
  opacity: 0.7;
}
@keyframes wmapPulse {
  from { transform: translateY(0) scale(1); opacity: 0.85; }
  to { transform: translateY(8px) scale(1.05); opacity: 1; }
}
.wmap-head {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 12px 12px 8px;
}
.wmap-back {
  width: 32px; height: 32px; border-radius: 10px; border: 0;
  background: rgba(255,255,255,0.08); color: #dff; font-size: 22px; line-height: 1; cursor: pointer;
}
.wmap-title small {
  display: block; font-size: 9px; letter-spacing: 0.18em; color: #7fdcc8; opacity: 0.9;
}
.wmap-title strong {
  font-family: "ZCOOL XiaoWei", serif; font-size: 18px; font-weight: 400;
}
.wmap-tabs { display: flex; gap: 6px; }
.wmap-tab {
  border: 1px solid rgba(120, 255, 220, 0.25);
  background: rgba(255,255,255,0.04);
  color: #9ec;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.wmap-tab.on {
  background: linear-gradient(135deg, #2ad4b4, #4b8cff);
  color: #041018;
  border-color: transparent;
  box-shadow: 0 0 18px rgba(60, 220, 200, 0.45);
}
.wmap-hero {
  position: relative; z-index: 2;
  margin: 4px 12px;
  height: 280px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(120, 255, 220, 0.18);
}
.wmap-hero.weiming {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 200, 120, 0.2), transparent 40%),
    linear-gradient(160deg, #0b1c2e 0%, #123047 40%, #0a1622 100%);
}
.wmap-hero.svolt {
  background:
    radial-gradient(circle at 30% 20%, rgba(160, 220, 255, 0.35), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(180, 120, 255, 0.22), transparent 40%),
    linear-gradient(160deg, #071525 0%, #14283f 45%, #0a1220 100%);
}
.wmap-orbit {
  position: absolute; inset: 12%;
  border: 1px dashed rgba(140, 255, 230, 0.22);
  border-radius: 50%;
  animation: wmapSpin 28s linear infinite;
}
.wmap-orbit::after {
  content: "";
  position: absolute; inset: 18%;
  border: 1px solid rgba(120, 180, 255, 0.18);
  border-radius: 50%;
}
@keyframes wmapSpin { to { transform: rotate(360deg); } }
.wmap-core {
  position: absolute; left: 14px; right: 14px; top: 14px; z-index: 1;
  pointer-events: none;
}
.wmap-tag {
  display: inline-block;
  margin: 0 0 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: 0.12em;
  background: rgba(42, 212, 180, 0.18);
  color: #9ff5df;
}
.wmap-core h2 {
  margin: 0;
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-shadow: 0 0 24px rgba(80, 255, 220, 0.35);
}
.wmap-sub { margin: 2px 0 6px; font-size: 10px; letter-spacing: 0.14em; color: #8ec; opacity: 0.85; }
.wmap-blurb { margin: 0; font-size: 11px; line-height: 1.55; color: rgba(220, 245, 240, 0.78); max-width: 92%; }
.wmap-field { position: absolute; inset: 0; z-index: 2; }
.wmap-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 0;
  background: transparent;
  color: #eafff8;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  filter: drop-shadow(0 0 8px rgba(60, 255, 210, 0.35));
}
.wmap-pin i {
  width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #3dffe0 45%, #1a8 80%);
  box-shadow: 0 0 0 3px rgba(60, 255, 210, 0.2), 0 0 16px rgba(60, 255, 210, 0.75);
  animation: wmapBlink 2.4s ease-in-out infinite;
}
.wmap-pin span {
  font-size: 9px; font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(6, 18, 24, 0.72);
  border: 1px solid rgba(120, 255, 220, 0.25);
  white-space: nowrap;
}
.wmap-pin.here i { background: radial-gradient(circle at 35% 30%, #fff, #ffb14a 50%, #c60 85%); box-shadow: 0 0 0 3px rgba(255, 180, 80, 0.25), 0 0 18px rgba(255, 170, 60, 0.85); }
.wmap-pin.on span, .wmap-pin.here span { border-color: rgba(255, 210, 120, 0.55); color: #ffe7b8; }
@keyframes wmapBlink {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
}
.wmap-detail {
  position: relative; z-index: 2;
  margin: 10px 12px 14px;
  min-height: 88px;
}
.wmap-detail-inner {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(120, 255, 220, 0.16);
}
.wmap-detail-inner.flash { animation: wmapIn 0.35s ease; }
@keyframes wmapIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.wmap-detail-inner em { display: block; font-style: normal; font-size: 10px; color: #7fdcc8; letter-spacing: 0.12em; }
.wmap-detail-inner strong { display: block; margin-top: 2px; font-size: 16px; font-family: "ZCOOL XiaoWei", serif; }
.wmap-detail-inner span { display: block; margin-top: 2px; font-size: 11px; color: #cfe; opacity: 0.85; }
.wmap-detail-inner p { margin: 6px 0 0; font-size: 12px; line-height: 1.55; color: rgba(230, 250, 245, 0.82); }

/* hide leftover cart styles harmlessly */
.hub-cart { display: none !important; }


/* album toolbar + 资料 */
.album-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 4px 2px 10px;
}
.album-profile-btn {
  flex: 0 0 auto;
  border: 1.5px solid #7eb8ae;
  background: linear-gradient(135deg, #fff, #e7f8f3);
  color: #2f6f66;
  border-radius: 999px;
  padding: 6px 14px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(60, 120, 110, 0.12);
}
.album-profile-btn:active { transform: scale(0.98); }

/* World map v2 — holo / tilt / scan */
.wmap-sheet.v2 {
  width: min(440px, 96vw);
  max-height: min(90vh, 780px);
  background:
    radial-gradient(ellipse at 50% -10%, rgba(60, 255, 210, 0.18), transparent 42%),
    linear-gradient(180deg, #03080f 0%, #07131c 45%, #050b12 100%);
  border: 1px solid rgba(80, 255, 220, 0.22);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.65),
    0 0 40px rgba(40, 220, 200, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.06);
}
.wmap-stars {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background-image:
    radial-gradient(1px 1px at 10% 20%, #fff, transparent),
    radial-gradient(1px 1px at 30% 70%, #9ff, transparent),
    radial-gradient(1.5px 1.5px at 70% 30%, #fff, transparent),
    radial-gradient(1px 1px at 85% 60%, #cff, transparent),
    radial-gradient(1px 1px at 55% 15%, #fff, transparent),
    radial-gradient(1px 1px at 40% 40%, #aff, transparent);
  animation: wmapTwinkle 4.5s ease-in-out infinite alternate;
}
@keyframes wmapTwinkle { from { opacity: 0.35; } to { opacity: 0.7; } }
.wmap-scan {
  position: absolute; left: 0; right: 0; height: 28%;
  background: linear-gradient(180deg, transparent, rgba(80, 255, 220, 0.08), transparent);
  animation: wmapScan 5.5s linear infinite;
  pointer-events: none; z-index: 1;
}
@keyframes wmapScan {
  0% { top: -30%; }
  100% { top: 110%; }
}
.wmap-live {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 9px; font-weight: 800; letter-spacing: 0.16em; color: #7fffd4;
}
.wmap-live i {
  width: 7px; height: 7px; border-radius: 50%; background: #3ff;
  box-shadow: 0 0 10px #3ff; animation: wmapBlink 1.2s ease-in-out infinite;
}
.wmap-tabs.v2 {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 6px; padding: 0 12px 8px;
}
.wmap-tabs.v2 .wmap-tab { width: 100%; text-align: center; padding: 7px 4px; }
.wmap-stage {
  position: relative; z-index: 2;
  padding: 0 12px;
  perspective: 900px;
}
.wmap-sheet.v2 .wmap-hero {
  height: 320px;
  margin: 0;
  transform: rotateX(12deg) scale(0.98);
  transform-origin: center top;
  box-shadow:
    0 25px 50px rgba(0,0,0,0.45),
    inset 0 0 40px rgba(60, 255, 210, 0.08);
}
.wmap-holo-frame {
  position: absolute; inset: 8px; pointer-events: none; z-index: 3;
  border: 1px solid rgba(120, 255, 220, 0.28);
  border-radius: 14px;
  box-shadow: inset 0 0 30px rgba(60, 255, 210, 0.08);
}
.wmap-holo-frame::before,
.wmap-holo-frame::after {
  content: "";
  position: absolute; width: 18px; height: 18px;
  border: 2px solid #5fffe0;
}
.wmap-holo-frame::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.wmap-holo-frame::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.wmap-tilt { position: absolute; inset: 0; }
.wmap-constellation {
  position: absolute; inset: 0; width: 100%; height: 100%;
  stroke: rgba(120, 255, 230, 0.22); stroke-width: 0.35; fill: none;
  pointer-events: none;
}
.wmap-hero.outside {
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 180, 120, 0.2), transparent 42%),
    radial-gradient(circle at 20% 80%, rgba(120, 160, 255, 0.25), transparent 40%),
    linear-gradient(160deg, #0a1020 0%, #1a1530 50%, #0a121c 100%);
}
.wmap-pin .wmap-pulse {
  position: absolute; top: 0; left: 50%; width: 22px; height: 22px;
  margin: -5px 0 0 -11px; border-radius: 50%;
  border: 1px solid rgba(100, 255, 220, 0.55);
  animation: wmapPulseRing 2s ease-out infinite;
  pointer-events: none;
}
@keyframes wmapPulseRing {
  0% { transform: scale(0.4); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}
.wmap-sheet.v2 .wmap-detail {
  margin-top: 14px;
}
.wmap-sheet.v2 .wmap-detail-inner {
  background: linear-gradient(135deg, rgba(40, 255, 210, 0.08), rgba(80, 140, 255, 0.08));
  border: 1px solid rgba(120, 255, 220, 0.22);
  backdrop-filter: blur(8px);
}



/* World map lite — softer, more geographic */
.wmap-sheet.v2.lite {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(180, 230, 220, 0.45), transparent 50%),
    linear-gradient(180deg, #f4fbf9 0%, #e8f3f0 48%, #e3eef5 100%);
  color: #2d4a46;
  border: 1px solid rgba(120, 180, 170, 0.35);
  box-shadow: 0 18px 48px rgba(60, 100, 110, 0.18), inset 0 1px 0 rgba(255,255,255,0.8);
}
.wmap-sheet.v2.lite .wmap-stars,
.wmap-sheet.v2.lite .wmap-aurora,
.wmap-sheet.v2.lite .wmap-scan { display: none !important; }
.wmap-mist {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255,255,255,0.7), transparent 40%),
    radial-gradient(ellipse at 90% 30%, rgba(190, 220, 255, 0.35), transparent 45%);
}
.wmap-sheet.v2.lite .wmap-title small { color: #6aa89c; }
.wmap-sheet.v2.lite .wmap-title strong { color: #2f5650; text-shadow: none; }
.wmap-sheet.v2.lite .wmap-back {
  background: rgba(255,255,255,0.75); color: #3a6f66; border: 1px solid rgba(120,180,170,0.35);
}
.wmap-sheet.v2.lite .wmap-live.soft { color: #4f9a8c; }
.wmap-sheet.v2.lite .wmap-live.soft i {
  background: #5ec4b0; box-shadow: 0 0 8px rgba(94, 196, 176, 0.55);
}
.wmap-sheet.v2.lite .wmap-tab {
  border-color: rgba(120, 180, 170, 0.35);
  background: rgba(255,255,255,0.65);
  color: #4a7068;
}
.wmap-sheet.v2.lite .wmap-tab.on {
  background: linear-gradient(135deg, #8fd4c4, #7eb8e8);
  color: #173530;
  box-shadow: 0 4px 14px rgba(100, 180, 170, 0.28);
}
.wmap-sheet.v2.lite .wmap-hero {
  height: 330px;
  transform: none;
  border: 1px solid rgba(140, 190, 185, 0.4);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.55), 0 10px 28px rgba(80, 120, 130, 0.12);
  border-radius: 18px;
  overflow: hidden;
}
.wmap-sheet.v2.lite .wmap-hero.weiming {
  /* 高德日间底图感：浅灰绿陆域 + 淡蓝天光 */
  background:
    radial-gradient(circle at 70% 12%, rgba(255, 236, 200, 0.4), transparent 38%),
    linear-gradient(180deg, #d7e8f4 0%, #e6ebe6 38%, #dde6e2 100%);
}
.wmap-sheet.v2.lite .wmap-hero.svolt {
  background:
    radial-gradient(circle at 30% 20%, rgba(210, 235, 255, 0.7), transparent 48%),
    linear-gradient(165deg, #e4eef6 0%, #d0e0ee 50%, #e8eef4 100%);
}
.wmap-sheet.v2.lite .wmap-hero.outside {
  background:
    radial-gradient(circle at 50% 45%, rgba(170, 220, 230, 0.45), transparent 50%),
    linear-gradient(165deg, #d5e8f0 0%, #c8dde8 55%, #dce8e4 100%);
}
.wmap-geo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}
.wmap-canvas { fill: #d9e6f0; }
.wmap-land { fill: #e6ebe4; stroke: #c5d0c8; stroke-width: 0.35; }
.wmap-land.snow { fill: rgba(255,255,255,0.55); stroke: rgba(140, 170, 200, 0.4); }
.wmap-district { fill: #f2f4f1; stroke: #c8d0cc; stroke-width: 0.3; }
.wmap-district.d-binhe { fill: #d9e6f4; }
.wmap-district.d-jinlan { fill: #f3e6c8; }
.wmap-district.d-changtan { fill: #d4ebe4; }
.wmap-district.d-jianan { fill: #f0ddd0; }
.wmap-district.d-wenhua { fill: #e4dff2; }
.wmap-district.d-kangning { fill: #d8ebe4; }
.wmap-district.d-yunzhou { fill: #d8e8d0; }
.wmap-district.d-konggang { fill: #d0e4ee; }
.wmap-district.d-jinwan { fill: #e4ddd4; }
.wmap-district.d-jianlan { fill: #cfe4ee; }
.wmap-district.d-cbd { fill: #e8eef4; }
.wmap-district.d1 { fill: rgba(160, 210, 200, 0.28); }
.wmap-district.d2 { fill: rgba(180, 200, 230, 0.28); }
.wmap-district.d3 { fill: rgba(230, 210, 170, 0.28); }
.wmap-district.d4 { fill: rgba(190, 220, 190, 0.28); }
.wmap-road { fill: none; stroke: #ffffff; stroke-width: 1.05; stroke-linecap: round; }
.wmap-road.minor { stroke: #f4f6f8; stroke-width: 0.65; }
.wmap-road.sea { stroke: rgba(255,255,255,0.55); stroke-dasharray: 1.2 1.2; stroke-width: 0.55; }
.wmap-river { stroke-width: 2.1; stroke-linecap: round; fill: none; }
.wmap-plaza { fill: #cfdceb; stroke: #8aa8c4; stroke-width: 0.35; }
.wmap-park { fill: #b5d69a; stroke: #8ab878; stroke-width: 0.25; }
.wmap-park.soft { fill: #c5deb0; opacity: 0.9; }
.wmap-ice { fill: rgba(220, 240, 255, 0.65); stroke: rgba(150, 190, 220, 0.45); stroke-width: 0.3; }
.wmap-sea { fill: rgba(150, 200, 220, 0.35); stroke: rgba(120, 170, 195, 0.3); stroke-width: 0.35; }
.wmap-island { fill: rgba(210, 230, 200, 0.55); stroke: rgba(120, 160, 130, 0.35); stroke-width: 0.35; }
.wmap-lake { fill: rgba(140, 200, 220, 0.55); stroke: rgba(100, 160, 185, 0.4); stroke-width: 0.3; }
.wmap-sheet.v2.lite .wmap-core {
  left: 12px; right: 12px; top: 10px; z-index: 2;
}
.wmap-sheet.v2.lite .wmap-tag {
  background: rgba(255,255,255,0.7);
  color: #3f7a70;
  border: 1px solid rgba(120, 180, 170, 0.3);
}
.wmap-sheet.v2.lite .wmap-core h2 {
  color: #244842;
  text-shadow: 0 1px 0 rgba(255,255,255,0.7);
  font-size: 24px;
}
.wmap-sheet.v2.lite .wmap-sub { color: #5a8a82; opacity: 1; }
.wmap-sheet.v2.lite .wmap-blurb { color: rgba(45, 75, 70, 0.78); max-width: 88%; }
.wmap-sheet.v2.lite .wmap-field { z-index: 3; }
.wmap-sheet.v2.lite .wmap-pin {
  color: #244842;
  filter: drop-shadow(0 2px 4px rgba(60, 100, 90, 0.18));
}
.wmap-sheet.v2.lite .wmap-pin i {
  width: 11px; height: 11px;
  background: radial-gradient(circle at 35% 30%, #fff, #6fd0ba 50%, #3a9a88 85%);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.85), 0 2px 8px rgba(60, 160, 140, 0.35);
}
.wmap-sheet.v2.lite .wmap-pin span {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(120, 180, 170, 0.4);
  color: #2f5650;
  font-size: 9px;
  padding: 1px 5px;
  max-width: 64px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wmap-sheet.v2.lite .wmap-core .wmap-blurb {
  font-size: 10px;
  max-width: 78%;
  line-height: 1.4;
}
.wmap-sheet.v2.lite .wmap-pin.here i {
  background: radial-gradient(circle at 35% 30%, #fff, #ffc56a 50%, #e09030 85%);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.9), 0 2px 10px rgba(220, 150, 60, 0.4);
}
.wmap-sheet.v2.lite .wmap-pin.on span,
.wmap-sheet.v2.lite .wmap-pin.here span {
  border-color: rgba(220, 160, 80, 0.55);
  color: #8a5a20;
  background: #fff8ec;
}
.wmap-sheet.v2.lite .wmap-pin .wmap-pulse {
  border-color: rgba(90, 180, 165, 0.45);
}
.wmap-sheet.v2.lite .wmap-detail-inner {
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(140, 190, 180, 0.35);
  color: #2d4a46;
  backdrop-filter: blur(6px);
}
.wmap-sheet.v2.lite .wmap-detail-inner em { color: #4f9a8c; }
.wmap-sheet.v2.lite .wmap-detail-inner strong { color: #244842; }
.wmap-sheet.v2.lite .wmap-detail-inner span { color: #5a7a74; opacity: 1; }
.wmap-sheet.v2.lite .wmap-detail-inner p { color: rgba(45, 75, 70, 0.82); }


/* ===== 今日 · 同频锁屏布局（对齐官方底图排版） ===== */
.hub-lock {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  aspect-ratio: 372 / 666;
  min-height: 0;
  max-height: 100%;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}
.hub-lock-wall {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 画面略下移，避免顶部问候/时钟挡脸 */
  object-position: center 28%;
  display: block;
  z-index: 0;
  pointer-events: none;
  border: 0;
  transform: scale(1.04) translateY(3%);
  user-select: none;
  background: #000;
}
.hub-lock-shade {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,16,20,0.28) 0%, transparent 22%, transparent 58%, rgba(6,14,18,0.55) 100%);
  pointer-events: none;
}
.hub-lock-status {
  position: absolute; top: 12px; left: 16px; right: 16px;
  display: flex; justify-content: space-between; align-items: center;
  color: rgba(255,255,255,0.78);
  font-size: 10px; font-weight: 600; letter-spacing: 0.06em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
  z-index: 3;
}
.hub-lock-signal { opacity: 0.72; font-size: 10px; letter-spacing: 0.08em; }
.hub-lock-tools {
  display: flex;
  align-items: center;
  gap: 2px;
}
.hub-lock-bgm {
  border: 0;
  background: none;
  color: rgba(255,255,255,0.55);
  font-size: 16px;
  line-height: 1;
  padding: 4px 8px;
  cursor: pointer;
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}
.hub-lock-bgm.on { color: rgba(255,255,255,0.95); }
.hub-lock-batt {
  opacity: 0.95;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 2px 4px 10px;
  line-height: 1;
  user-select: none;
}
.hub-lock-batt:hover { opacity: 1; }
.hub-lock-hero {
  position: absolute; left: 0; right: 0; top: 9%;
  text-align: center; z-index: 3;
  padding: 0 20px;
  pointer-events: none;
}
.hub-lock-timeplate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  background: none;
  box-shadow: none;
}
.hub-lock-greet {
  margin: 0;
  color: rgba(255,255,255,0.92);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}
.hub-lock-clock {
  margin: 0;
  color: #fff;
  font-size: 52px;
  font-weight: 200;
  letter-spacing: 0.08em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 4px 20px rgba(0,0,0,0.38);
}
.hub-lock-place {
  pointer-events: auto;
  position: static;
  margin: 4px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: min(78vw, 260px);
  border: 0;
  border-radius: 999px;
  padding: 5px 10px 5px 12px;
  background: rgba(255,255,255,0.16);
  color: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 650;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
  cursor: pointer;
  white-space: nowrap;
}
.hub-lock-place span {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}
.hub-lock-place em {
  font-style: normal;
  font-size: 10px;
  background: rgba(55,160,145,0.92);
  border-radius: 999px;
  padding: 2px 7px;
  flex: 0 0 auto;
}
.hub-lock-cart { display: none; }
.hub-lock-mustache { display: none; }
.hub-lock-dock {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 16px;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 8px;
  z-index: 4;
  pointer-events: none;
  padding: 10px 10px 8px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(8,16,20,0.08), rgba(8,16,20,0.42));
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}
.hub-lock-dock > * { pointer-events: auto; }
.hub-lock-ico {
  border: 0;
  background: transparent;
  padding: 0;
  width: 48px;
  flex: 0 0 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #fff;
  cursor: pointer;
  font: inherit;
}
.hub-lock-ico img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.28));
}
.hub-lock-ico span {
  font-size: 10px;
  font-weight: 650;
  line-height: 1.1;
  white-space: nowrap;
  opacity: 0.92;
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
}
.hub-lock-go {
  border: 0;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 46px;
  margin-left: 4px;
  border-radius: 14px;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22);
  cursor: pointer;
  position: relative;
}
.hub-lock-go img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex: 0 0 auto;
}
.hub-lock-go span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hub-lock-go.need::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef6b6b;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.85);
}
.screen:has(.hub-lock) {
  padding-bottom: 8px;
  overflow: hidden;
}
.tabbar {
  position: relative;
  z-index: 12;
}
/* Official-like 发布日记 sheet */
.diary-post-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 14px 28px;
  background: rgba(20, 40, 40, 0.28);
  backdrop-filter: blur(2px);
}
.diary-post-sheet {
  width: min(340px, 92%);
  filter: drop-shadow(0 18px 36px rgba(40, 80, 70, 0.28));
}
.diary-post-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 455 / 617;
  min-height: 0;
  padding: 11% 7% 8%;
  box-sizing: border-box;
  border-radius: 18px;
  background: url("img/ui/diary-post-shell.png?v=128") center / 100% 100% no-repeat;
  border: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.diary-post-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.diary-post-wm {
  display: none;
}
.diary-post-x {
  position: absolute;
  top: 1.6%;
  right: 2.4%;
  width: 9%;
  height: 5.5%;
  border: 0;
  background: transparent;
  color: transparent;
  font-size: 1px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}
.diary-post-card {
  position: relative;
  margin: 2% 1% 0;
  flex: 0 0 auto;
  border: 2px solid #f0c45a;
  border-radius: 14px;
  background: linear-gradient(180deg, #eef8f4 0%, #f7fcfa 100%);
  overflow: hidden;
  box-shadow: 0 2px 0 rgba(240, 196, 90, 0.25);
}
.diary-post-card.folded .diary-post-body { display: none; }
.diary-post-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: linear-gradient(90deg, #d8efe9, #eef7f4);
  border-bottom: 1px solid rgba(120, 180, 170, 0.25);
}
.diary-post-av {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  background: #cfe8e2;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #3a6f66;
  flex: 0 0 auto;
}
.diary-post-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.diary-post-topic {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #3f5550;
  outline: none;
}
.diary-post-fold {
  border: 0;
  background: transparent;
  color: #4fa39a;
  font-size: 14px;
  cursor: pointer;
  line-height: 1;
  padding: 2px 4px;
}
.diary-post-body {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 0;
  resize: none;
  min-height: 110px;
  padding: 12px 12px 28px;
  background: transparent;
  font: inherit;
  font-size: 13px;
  line-height: 1.7;
  color: #4a5f5a;
  outline: none;
}
.diary-post-check {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f0b43a;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(200, 140, 40, 0.35);
}
.diary-post-publish {
  display: block;
  width: 68%;
  margin-top: auto;
  margin-bottom: 2%;
  margin-left: auto;
  margin-right: auto;
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  background: linear-gradient(180deg, #ffd56a, #f0b33a);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.12em;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(200, 140, 40, 0.28);
}
.diary-post-publish:active { transform: scale(0.98); }

.life-page { padding: 4px 2px 22px; }
.life-stack { display: grid; gap: 12px; }
.life-block {
  background: rgba(255,255,255,0.94);
  border: 1px solid #eadfe4;
  border-radius: 20px;
  padding: 14px 12px;
  box-shadow: 0 8px 18px rgba(80, 90, 110, 0.05);
}
.diary-stack .life-block { border-color: #d5ebe4; }
.life-block-h {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #eadfe4;
}
.life-block-h h3 {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: #c45b74;
}
.diary-stack .life-block-h h3 { color: #2f9d8f; }
.life-block-h p {
  margin: 3px 0 0;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0;
  font-weight: 400;
}
.life-block .mood-duo { margin: 0 0 10px; }
.life-block .mood-duo > div { box-shadow: none; background: #faf6f7; }
.life-block .qa-card,
.life-block .day-peek {
  box-shadow: none;
  margin-bottom: 0;
  background: #faf6f7;
}
.life-block .chatter-box {
  box-shadow: none;
  margin: 0 0 12px;
  padding: 0;
  background: transparent;
}
.life-block .spend-wallet { margin-bottom: 10px; }
.life-block .pair-bar {
  margin-bottom: 10px;
  background: #faf6f7;
}
.life-block .together-wrap { margin-bottom: 0; }
.next-meet {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 10px;
  align-items: center;
  width: 100%;
  margin: 0 0 12px;
  padding: 10px;
  border: 1px solid #f0dce4;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff8fa, #fff);
  text-align: left;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}
.next-meet-num {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 64px;
  border-radius: 14px;
  background: #ffe8ee;
  color: #c45b74;
}
.next-meet-num b {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}
.next-meet-num small { font-size: 10px; }
.next-meet em {
  display: block;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #c45b74;
}
.next-meet strong { display: block; margin-top: 2px; font-size: 15px; }
.next-meet span { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); }
.next-meet.today { border-color: #f0c27a; }
.life-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  margin: 0 0 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 6px 16px rgba(80, 110, 100, 0.06);
}
.life-switch button {
  border: 0;
  border-radius: 12px;
  padding: 7px 0 8px;
  background: transparent;
  color: #8aa29c;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  line-height: 1.15;
}
.life-switch button small {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.8;
}
.life-switch button.on {
  background: #fff;
  color: #3f6f6a;
  box-shadow: 0 4px 10px rgba(80, 110, 100, 0.08);
}
.life-panel {
  background: rgba(255,255,255,0.86);
  border: 1px solid #e5f4f0;
  border-radius: 22px;
  padding: 14px 12px 16px;
  margin-bottom: 12px;
  box-shadow: 0 10px 24px rgba(80, 110, 100, 0.05);
}
.life-panel.love-panel {
  background: linear-gradient(180deg, rgba(255,248,250,0.95), rgba(255,255,255,0.92));
  border-color: #f3dde4;
}
.life-sub {
  margin: 14px 2px 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #b08a94;
  font-weight: 700;
}
.hint.tight { margin: 0 0 10px; }
.life-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 10px;
}
.life-head .life-sub { margin: 0; }
.life-head .section-title { margin: 0; font-size: 20px; }
.life-add {
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  background: #e8f8f4;
  color: var(--teal);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.life-list { display: grid; gap: 8px; }
.life-empty {
  margin: 0;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.72);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.life-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, #fff, #f3fffb);
  border: 1px solid #d5eee8;
}
.life-card.down { background: linear-gradient(160deg, #fff7f2, #fff); }
.life-card.ann { background: linear-gradient(160deg, #fff4f6, #fff); }
.life-card-main {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 12px 12px 12px 14px;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.life-card-main em {
  display: block;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 2px;
}
.life-card.down .life-card-main em { color: #c56b4a; }
.life-card.ann .life-card-main em { color: #d07088; }
.life-card-main strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}
.life-card-main span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}
.life-del {
  border: 0;
  background: transparent;
  color: #9aada8;
  font-size: 18px;
  padding: 0 12px;
  cursor: pointer;
}
.spend-sum {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #e8f8f4;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
}
.spend-list { display: grid; gap: 4px; }
.spend-row {
  display: grid;
  grid-template-columns: 36px 1fr auto auto;
  align-items: center;
  gap: 4px;
  border-radius: 14px;
  background: rgba(255,255,255,0.8);
  border: 1px solid #e5f4f0;
}
.spend-main {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 10px 8px 10px 12px;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  min-width: 0;
}
.spend-main strong { display: block; font-size: 14px; }
.spend-main span { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); }
.spend-row b { color: #c56b4a; font-size: 13px; padding-right: 4px; }
.book-name {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.book-name h3 { pointer-events: none; }
.book-name span {
  font-size: 11px;
  color: #c45b74;
  letter-spacing: 0.08em;
  opacity: 0.7;
}
.spend-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto 28px;
  align-items: center;
  gap: 8px;
  padding: 10px 6px 10px 10px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(160, 90, 110, 0.08);
}
.spend-card .spend-ico {
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 14px;
  font-size: 20px;
}
.spend-card .spend-main { padding: 0; }
.spend-card .spend-main strong {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}
.spend-card .spend-main em {
  display: inline-block;
  margin-top: 5px;
  padding: 1px 7px;
  border-radius: 999px;
  font-style: normal;
  font-size: 10px;
  background: #faf2f4;
  color: #c45b74;
}
.spend-card > b {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 22px;
  font-weight: 400;
  color: #c45b74;
  white-space: nowrap;
  padding-right: 2px;
}
.spend-card.cat-home .spend-ico { background: #f8e8ec; }
.spend-card.cat-food .spend-ico { background: #fff1df; }
.spend-card.cat-grocery .spend-ico { background: #e7f5ea; }
.spend-card.cat-trip .spend-ico { background: #e6f1fb; }
.spend-card.cat-date .spend-ico { background: #fce8f0; }
.spend-card.cat-gift .spend-ico { background: #f3e8f8; }
.spend-card.cat-other .spend-ico { background: #eef1f3; }
.life-modes { display: grid; gap: 8px; color: var(--ink); font-size: 13px; }
.field.check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
}
.field input[type="date"],
.field input[type="number"] {
  width: 100%;
  border: 1px solid #cdeae4;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
}

.together-wrap { position: relative; margin-bottom: 10px; }
.together-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  border: 0;
  border-radius: 22px;
  padding: 16px 14px 14px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.22), transparent 42%),
    linear-gradient(160deg, #f08aa0 0%, #e56b88 42%, #c984d8 100%);
  background-size: cover;
  background-position: center;
  box-shadow: 0 14px 28px rgba(200, 90, 120, 0.28);
  font: inherit;
  overflow: hidden;
  cursor: pointer;
}
.together-cover,
.together-skin {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.together-cover {
  z-index: 0;
  background-size: cover;
  background-position: center;
}
.together-skin { z-index: 1; }
.together-hero > :not(.together-cover):not(.together-skin) {
  position: relative;
  z-index: 2;
}
.together-skin {
  overflow: hidden;
}
.together-hero.mat-frost {
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.together-hero.mat-frost .together-skin {
  background:
    repeating-radial-gradient(circle at 18% 22%, rgba(255,255,255,0.09) 0 0.6px, transparent 0.8px 2.4px),
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02));
  mix-blend-mode: soft-light;
}
.together-hero.mat-gloss {
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 14px 28px rgba(180, 70, 110, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.7);
}
.together-hero.mat-gloss .together-skin {
  background: linear-gradient(
    118deg,
    rgba(255,255,255,0.38) 0%,
    rgba(255,255,255,0.06) 18%,
    transparent 36%,
    transparent 100%
  );
}
.together-hero.mat-acrylic {
  border: 3px solid rgba(255, 255, 255, 0.62);
  box-shadow:
    0 12px 24px rgba(80, 40, 70, 0.18),
    inset 0 0 0 1px rgba(210, 235, 245, 0.55),
    inset 0 8px 16px rgba(255,255,255,0.16);
}
.together-hero.mat-acrylic .together-skin {
  background: linear-gradient(90deg, rgba(255,255,255,0.16), transparent 16%, transparent 84%, rgba(180, 230, 245, 0.12));
  mix-blend-mode: screen;
  opacity: 0.55;
}
.together-hero.mat-holo {
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 14px 26px rgba(120, 70, 160, 0.2);
}
.together-hero.mat-holo:not(.has-photo) {
  background:
    linear-gradient(145deg, #ece6f0, #f7f3f8 42%, #d9d0e2);
}
.together-hero.mat-holo .together-skin {
  background:
    repeating-linear-gradient(
      -28deg,
      rgba(255, 40, 180, 0.0) 0 2px,
      rgba(255, 60, 200, 0.28) 3px,
      rgba(40, 210, 255, 0.22) 5px,
      rgba(255, 230, 70, 0.24) 7px,
      rgba(120, 80, 255, 0.18) 9px,
      transparent 12px,
      transparent 22px
    );
  mix-blend-mode: overlay;
  opacity: 0.55;
}
.together-hero.mat-holo .together-skin::after {
  content: "";
  position: absolute;
  inset: -30% -40%;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.0) 44%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 140, 255, 0.18) 53%,
    transparent 62%
  );
  mix-blend-mode: soft-light;
  animation: loveHoloShine 3.6s ease-in-out infinite;
}
@keyframes loveHoloShine {
  0% { transform: translateX(-18%); }
  100% { transform: translateX(18%); }
}
@media (prefers-reduced-motion: reduce) {
  .together-hero.mat-holo .together-skin::after { animation: none; }
}
.love-fmt-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.love-fmt-picks button {
  border: 1px solid #f0dce4;
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff;
  color: #5a4a52;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.love-fmt-picks button.on {
  background: #c45b74;
  border-color: #c45b74;
  color: #fff;
  font-weight: 700;
}
.love-mat-picks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.love-mat-pick {
  border: 1px solid #f0dce4;
  border-radius: 12px;
  padding: 7px 4px 6px;
  background: #fff;
  color: #5a4a52;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.love-mat-pick i {
  display: block;
  height: 26px;
  border-radius: 8px;
  margin-bottom: 4px;
}
.love-mat-pick i.mat-frost {
  background: linear-gradient(180deg, rgba(255,255,255,0.7), #e8dfe4);
}
.love-mat-pick i.mat-gloss {
  background: linear-gradient(120deg, #fff 0%, #f3c2d0 40%, #e56b88);
}
.love-mat-pick i.mat-acrylic {
  background: linear-gradient(180deg, rgba(255,255,255,0.85), #cfe8f0 55%, #e9b8c8);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.8);
}
.love-mat-pick i.mat-holo {
  background: repeating-linear-gradient(-28deg, #ff7ad4 0 4px, #7ef0ff 4px 8px, #ffe27a 8px 12px, #c9a6ff 12px 16px);
}
.love-mat-pick.on {
  border-color: #c45b74;
  box-shadow: 0 0 0 2px rgba(196, 91, 116, 0.25);
}
.together-main {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
}
.together-hero.empty.mat-frost,
.together-hero.empty.mat-gloss {
  background:
    radial-gradient(circle at 80% 0%, rgba(255,255,255,0.18), transparent 40%),
    linear-gradient(160deg, #8fd4c8, #5e9fd6);
  box-shadow: 0 12px 24px rgba(70, 130, 150, 0.22);
}
.together-hero.empty.mat-acrylic {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28), rgba(210,235,255,0.1) 42%, rgba(140,210,220,0.16)),
    linear-gradient(160deg, #8fd4c8, #5e9fd6);
}
.together-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-right: 22px;
  font-size: 12px;
  letter-spacing: 0.12em;
  opacity: 0.92;
}
.together-top i { font-style: normal; letter-spacing: 0; opacity: 0.9; }
.together-ymd {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 2px;
  margin: 10px 0 0;
  font-family: "ZCOOL XiaoWei", serif;
}
.together-ymd b { font-size: 34px; font-weight: 400; line-height: 1; }
.together-ymd span { font-size: 12px; margin: 0 6px 0 2px; opacity: 0.88; letter-spacing: 0.08em; }
.together-ymd.ghost { opacity: 0.55; }
.together-num {
  margin: 6px 0 2px;
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 64px;
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: 2px;
}
.together-num.slim { font-size: 28px; letter-spacing: 1px; opacity: 0.92; }
.together-num small {
  margin-left: 6px;
  font-size: 16px;
  letter-spacing: 0.2em;
  vertical-align: 18px;
}
.together-num.ghost { opacity: 0.55; }
.together-sub, .together-mile {
  margin: 4px 0 0;
  font-size: 12px;
  opacity: 0.92;
}
.together-mile { opacity: 0.8; }
.together-bar {
  height: 5px;
  margin: 10px 18px 0;
  border-radius: 99px;
  background: rgba(255,255,255,0.28);
  overflow: hidden;
}
.together-bar i { display: block; height: 100%; background: #fff; border-radius: inherit; }
.together-fmt {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.together-fmt button {
  border: 0;
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.together-fmt button.on { background: #fff; color: #c45b74; font-weight: 700; }
.together-del {
  position: absolute;
  top: 8px;
  right: 8px;
  color: rgba(255,255,255,0.86);
}
.mile-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  margin-bottom: 4px;
}
.mile-chip {
  flex: 0 0 auto;
  min-width: 108px;
  border-radius: 14px;
  padding: 8px 10px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(160, 90, 110, 0.08);
}
.mile-chip b { display: block; color: #c45b74; font-size: 14px; }
.mile-chip span { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); }
.cnt-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 0 0 10px;
}
.cnt-quick button {
  border: 0;
  border-radius: 999px;
  padding: 8px 0;
  background: #fff;
  color: #5a4a52;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(80, 60, 70, 0.06);
  cursor: pointer;
}
.love-count-list { display: grid; gap: 8px; }
.love-count {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: stretch;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #f0dce4;
  box-shadow: 0 8px 18px rgba(160, 90, 110, 0.08);
}
.love-count.pin { border-color: #f0c27a; }
.love-count.today { border-color: #f0c27a; }
.love-count.late { opacity: 0.72; }
.love-count-main {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 8px;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 10px 8px 10px 10px;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}
.love-count-num {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffe8ee, #ffd3df);
  color: #c45b74;
  min-height: 76px;
}
.love-ring {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  transform: rotate(-90deg);
}
.love-ring-bg { fill: none; stroke: rgba(255,255,255,0.7); stroke-width: 3; }
.love-ring-fg { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.love-pin {
  border: 0;
  background: transparent;
  color: #d7c4c8;
  font-size: 14px;
  padding: 0 4px;
  cursor: pointer;
}
.love-pin.on { color: #e8b14a; }
.love-count.down .love-count-num { background: linear-gradient(180deg, #e8f8f4, #d4f0ea); color: #2f9d8f; }
.love-count-num b {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
}
.love-count-num small { font-size: 10px; letter-spacing: 0.06em; }
.love-count-copy em {
  display: block;
  font-style: normal;
  font-size: 10px;
  color: #d07088;
  letter-spacing: 0.06em;
}
.love-count-copy strong { display: block; margin-top: 2px; font-size: 15px; }
.love-count-copy span { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); }
.cnt-types { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; }
.cnt-type {
  border: 1px solid #eadfe4;
  background: #fff;
  border-radius: 999px;
  padding: 7px 10px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  color: var(--ink);
}
.cnt-type.on {
  background: #ffe8ee;
  border-color: #f0b3c2;
  color: #c45b74;
  font-weight: 700;
}

.diary-panel {
  position: relative;
  overflow: hidden;
}
.diary-panel::before {
  content: "❀";
  position: absolute;
  right: -6px;
  top: 36px;
  font-size: 72px;
  color: rgba(90, 170, 150, 0.12);
  pointer-events: none;
}
.diary-hero {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  padding: 14px 14px 16px;
  margin-bottom: 10px;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(120px 80px at 90% 10%, rgba(255,255,255,0.22), transparent),
    linear-gradient(135deg, #3aa89a, #7ec8b8 55%, #c9e8c4);
  box-shadow: 0 10px 22px rgba(70, 140, 120, 0.18);
}
.diary-hero em {
  display: block;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0.86;
}
.diary-hero strong {
  display: block;
  margin-top: 4px;
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 22px;
  font-weight: 400;
}
.diary-hero span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.92;
}
.diary-quote {
  margin: 0 2px 10px;
  color: #5a8f86;
  font-size: 13px;
  line-height: 1.6;
}
.diary-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.diary-stats div {
  padding: 10px 6px;
  border-radius: 14px;
  background: rgba(255,255,255,0.82);
  text-align: center;
  box-shadow: 0 6px 14px rgba(80, 110, 100, 0.06);
}
.diary-stats b {
  display: block;
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 22px;
  color: #2f9d8f;
  font-weight: 400;
}
.diary-stats span {
  font-size: 11px;
  color: var(--muted);
}
.cal-wd {
  display: grid;
  place-items: center;
  height: 22px;
  font-size: 11px;
  color: #8aa8a2;
}
.calendar.weeked .cal-cell {
  position: relative;
  display: grid;
  place-items: center;
}
.calendar.weeked .cal-cell b { font-weight: 600; }
.cal-dot {
  position: absolute;
  bottom: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4db6a0;
}
.cal-dot.heart {
  width: auto;
  height: auto;
  background: transparent;
  color: #e07088;
  font-size: 8px;
  bottom: 3px;
}
.cal-dot.heart::before { content: "♥"; }
.cal-date-tag {
  position: absolute;
  bottom: 3px;
  font-style: normal;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #c45d72;
  line-height: 1;
}
.calendar.weeked .cal-cell.has-date b { color: #c45d72; }
.diary-recent { display: grid; gap: 8px; }
.diary-snip {
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f3faf7);
  box-shadow: 0 6px 14px rgba(80, 110, 100, 0.06);
}
.diary-snip em {
  display: block;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #2f9d8f;
}
.diary-snip p {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink);
}
.diary-empty-art, .spend-illus {
  padding: 22px 12px;
  text-align: center;
  border-radius: 16px;
  background:
    radial-gradient(80px 50px at 50% 20%, rgba(255,210,220,0.45), transparent),
    rgba(255,255,255,0.72);
  color: var(--muted);
}
.diary-empty-art i, .spend-illus i {
  display: block;
  font-style: normal;
  font-size: 28px;
  margin-bottom: 6px;
  color: #e07088;
}
.spend-illus span, .diary-empty-art p {
  display: block;
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.6;
}
.spend-fund {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 12px;
  border: 0;
  border-radius: 16px;
  text-align: left;
  font: inherit;
  color: var(--ink);
  background: linear-gradient(180deg, #fff8f4, #ffe8ee);
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(160, 90, 110, 0.08);
}
.spend-fund.over { background: linear-gradient(180deg, #fff1f1, #ffd9d9); }
.spend-fund-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}
.spend-fund em {
  font-style: normal;
  font-size: 12px;
  color: #c45b74;
}
.spend-fund b { font-size: 14px; }
.spend-fund > span {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
}
.spend-bar {
  height: 8px;
  margin-top: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,0.7);
  overflow: hidden;
}
.spend-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f0b3c2, #c45b74);
}
.spend-bar.thin { margin: 0; height: 6px; flex: 1; background: #f3e8ea; }
.spend-payers {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin: 0 0 10px;
  font-size: 11px;
  color: #8a6b72;
}
.spend-cats, .spend-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
}
.spend-cats button, .spend-quick button {
  border: 1px solid #eadfe4;
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font: inherit;
  font-size: 12px;
  color: var(--ink);
  cursor: pointer;
}
.spend-cats button.on {
  background: #e8f8f4;
  border-color: #9fd8cc;
  color: #2f9d8f;
  font-weight: 700;
}
.spend-bars { display: grid; gap: 6px; margin-bottom: 10px; }
.spend-bar-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}

.life-switch button {
  display: grid;
  justify-items: center;
  gap: 1px;
  line-height: 1.1;
}
.life-switch button small {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.8;
}
.life-head .life-sub { margin: 0; }
.life-add.ghost {
  background: transparent;
  box-shadow: none;
  color: #c45b74;
}
.btn.slim {
  width: auto;
  padding: 7px 12px;
  font-size: 12px;
  margin-top: 8px;
}
.pair-bar {
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px 10px;
  border-radius: 18px;
  background: rgba(255,255,255,0.7);
}
.pair-face {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  border: 0;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}
.pair-face.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pair-meta {
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0;
}
.pair-face.you { background: linear-gradient(180deg, #7ec8b8, #4db6a0); }
.pair-face.him { background: linear-gradient(180deg, #f0a3b4, #c45b74); }
.together-top .pair-face { width: 22px; height: 22px; font-size: 11px; display: inline-grid; vertical-align: middle; margin-left: 4px; }
.pair-heart { color: #e07088; font-size: 14px; }
.pair-meta b { display: block; font-size: 14px; }
.pair-meta span { display: block; font-size: 11px; color: var(--muted); }
.mood-duo {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 8px;
  margin: 0 0 12px;
}
.mood-duo > div {
  padding: 10px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(160, 90, 110, 0.06);
}
.mood-duo em, .qa-card em, .chatter-box em {
  display: block;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #c45b74;
  margin-bottom: 6px;
}
.mood-picks, .mood-strip {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.mood-picks button, .mood-strip button {
  border: 1px solid #eadfe4;
  background: #fff;
  border-radius: 14px;
  padding: 4px;
  font: inherit;
  cursor: pointer;
  line-height: 0;
}
.mood-picks button.on, .mood-strip button.on {
  background: #ffe8ee;
  border-color: #f0b3c2;
}
.mood-sticker {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  pointer-events: none;
}
.mood-sticker.mood-now {
  width: 56px;
  height: 56px;
  margin: 4px 0 2px;
}
.mood-him {
  display: grid;
  justify-items: center;
  text-align: center;
}
.mood-strip {
  margin-bottom: 10px;
}
.mood-strip button {
  flex: 1;
  min-width: 52px;
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 6px 4px;
  font-size: 11px;
  color: var(--ink);
  line-height: 1.2;
}
.mood-strip .mood-sticker { width: 28px; height: 28px; }
.mood-duo span { display: block; margin-top: 6px; font-size: 11px; color: var(--muted); }
.mood-duo strong { display: block; font-size: 18px; font-weight: 500; }
.qa-card, .chatter-box, .day-peek, .spend-wallet {
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  margin-bottom: 12px;
  box-shadow: 0 6px 14px rgba(80, 110, 100, 0.06);
}
.qa-card p { margin: 0 0 8px; font-size: 14px; line-height: 1.55; }
.qa-ans {
  padding: 8px 10px;
  border-radius: 12px;
  background: #fff4f7;
  color: #c45b74;
  font-size: 13px;
}
.qa-edit { display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.qa-edit input, .chatter-box textarea {
  width: 100%;
  border: 1px solid #eadfe4;
  border-radius: 12px;
  padding: 8px 10px;
  font: inherit;
  font-size: 13px;
  resize: none;
}
.mile-line {
  list-style: none;
  margin: 0 0 12px;
  padding: 0 0 0 10px;
  border-left: 2px solid #f0dce4;
}
.mile-line li {
  position: relative;
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 8px;
  margin: 0 0 10px;
  padding-left: 6px;
}
.mile-line li i {
  position: absolute;
  left: -16px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e07088;
  box-shadow: 0 0 0 3px #ffe8ee;
}
.mile-line li.now i { background: #f0c27a; }
.mile-line b { display: block; color: #c45b74; font-size: 13px; }
.mile-line span { display: block; font-size: 13px; }
.mile-line em { display: block; font-style: normal; font-size: 11px; color: var(--muted); }
.love-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0 0 12px;
}
.love-shortcuts button {
  border: 0;
  border-radius: 16px;
  padding: 10px 0 8px;
  background: #fff;
  box-shadow: 0 6px 12px rgba(80, 60, 70, 0.06);
  font: inherit;
  cursor: pointer;
  color: var(--ink);
}
.love-shortcuts i { display: block; font-style: normal; font-size: 18px; }
.love-shortcuts span { display: block; margin-top: 4px; font-size: 11px; }
.ann-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #f0dce4;
  margin-bottom: 8px;
}
.ann-main {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  color: var(--ink);
  padding: 8px 10px;
  cursor: pointer;
}
.ann-date {
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 12px;
  background: #fff4f7;
  color: #c45b74;
}
.ann-date b { font-family: "ZCOOL XiaoWei", serif; font-size: 20px; font-weight: 400; line-height: 1; }
.ann-date span { font-size: 10px; }
.ann-copy strong { display: block; font-size: 14px; }
.ann-copy span { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); }
.cal-cell.picked { outline: 2px solid #e07088; }
.cal-mood {
  position: absolute;
  bottom: 1px;
  font-size: 9px;
  font-style: normal;
  line-height: 1;
}
.day-peek-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}
.day-peek p { margin: 0 0 6px; font-size: 13px; line-height: 1.55; }
.day-peek p.muted, .chatter-echo { color: var(--muted); font-size: 12px; }
.spend-wallet { text-align: center; }
.home-book .home-sum {
  display: block;
  margin: 4px 0 2px;
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 36px;
  font-weight: 400;
  color: #c45b74;
  line-height: 1.1;
}
.home-book .home-names { margin: 6px 0 8px; font-size: 13px; }
.home-book > span { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.home-book .spend-pair { justify-items: center; }
.spend-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}
.spend-pair > div { display: grid; justify-items: center; gap: 4px; }
.spend-pair b { font-size: 13px; }
.spend-pair span { font-size: 12px; color: #c45b74; }
.spend-pair i { font-style: normal; color: #e07088; font-weight: 700; }
.aa-tip { margin: 10px 0 4px; font-size: 13px; color: #c45b74; }
.spend-wallet em { font-style: normal; font-size: 11px; color: var(--muted); }
.spend-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 0 0 10px;
  padding: 3px;
  border-radius: 12px;
  background: #f7eef1;
}
.spend-tabs button {
  border: 0;
  border-radius: 10px;
  padding: 7px 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  color: #8a6b72;
  cursor: pointer;
}
.spend-tabs button.on { background: #fff; color: #c45b74; font-weight: 700; }
.spend-donut-wrap {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}
.spend-donut {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 18px #fff;
}
.spend-donut-wrap b { display: block; font-family: "ZCOOL XiaoWei", serif; font-size: 22px; font-weight: 400; }
.spend-day { display: grid; gap: 8px; margin: 0 0 16px; }
.spend-day-h {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 2px 4px 0;
}
.spend-day-h > b {
  min-width: 28px;
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
}
.spend-day-h div { display: grid; }
.spend-day-h strong { font-size: 12px; color: var(--ink); }
.spend-day-h span { font-size: 11px; color: var(--muted); }
.spend-day-h i {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: #c45b74;
}
.spend-hero {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 18px;
  padding: 14px;
  text-align: left;
  font: inherit;
  color: var(--ink);
  background: linear-gradient(180deg, #fff8f4, #ffeef2);
  cursor: pointer;
}
.spend-hero em {
  display: block;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #c45b74;
}
.spend-hero > b {
  display: block;
  margin: 4px 0 10px;
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 36px;
  font-weight: 400;
  color: #c45b74;
  line-height: 1.05;
}
.spend-hero .spend-bar {
  margin: 0;
  background: rgba(255,255,255,0.85);
}
.spend-hero > span {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
}
.spend-hero.over { background: linear-gradient(180deg, #fff1f1, #ffd9d9); }
.spend-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.spend-flow i {
  font-style: normal;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #faf6f7;
  color: #8a6b72;
}
.spend-illus .spend-quick {
  justify-content: center;
  margin: 12px 0 0;
}
.spend-month {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 12px;
}
.spend-month strong { font-size: 15px; }
.spend-month button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #fff4f7;
  color: #c45b74;
  font-size: 18px;
  cursor: pointer;
}
.spend-kpi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 10px;
}
.spend-kpi div {
  padding: 8px 4px;
  border-radius: 14px;
  background: #fff;
  text-align: center;
  box-shadow: 0 4px 10px rgba(160, 90, 110, 0.05);
}
.spend-kpi b {
  display: block;
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 16px;
  font-weight: 400;
  color: #c45b74;
}
.spend-kpi span { font-size: 11px; color: var(--muted); }
.spend-pair em {
  display: block;
  font-style: normal;
  font-size: 10px;
  color: var(--muted);
}
.aa-track {
  height: 8px;
  margin: 10px 8px 0;
  border-radius: 99px;
  background: #f0a3b4;
  overflow: hidden;
}
.aa-track i {
  display: block;
  height: 100%;
  background: #7ec8b8;
}
.spend-ico {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-left: 6px;
  border-radius: 10px;
  background: #fff4f7;
  font-size: 16px;
  flex: 0 0 auto;
}
.spend-tools {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  margin-bottom: 8px;
}
.spend-tools input {
  border: 1px solid #eadfe4;
  border-radius: 999px;
  padding: 7px 12px;
  font: inherit;
  font-size: 12px;
}
.spend-sort {
  display: flex;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: #f7eef1;
}
.spend-sort button {
  border: 0;
  border-radius: 999px;
  padding: 6px 8px;
  background: transparent;
  font: inherit;
  font-size: 11px;
  color: #8a6b72;
  cursor: pointer;
}
.spend-sort button.on { background: #fff; color: #c45b74; font-weight: 700; }
.spend-spark {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 48px;
  margin: 0 0 12px;
  padding: 0 2px;
}
.spend-spark i {
  flex: 1;
  min-width: 3px;
  border-radius: 3px 3px 0 0;
  background: #f3e8ea;
}
.spend-spark i.on { background: linear-gradient(180deg, #f0b3c2, #c45b74); }
.aa-board {
  padding: 14px 12px;
  border-radius: 16px;
  background: #fff;
  text-align: center;
}
.aa-board p { margin: 0 0 10px; font-size: 13px; color: var(--muted); line-height: 1.55; }
.aa-settle-num b {
  display: block;
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 36px;
  font-weight: 400;
  color: #c45b74;
  line-height: 1.1;
}
.aa-settle-num span { display: block; margin: 4px 0 12px; font-size: 13px; }
.spend-amt-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
}
.spend-amt-quick button {
  border: 1px solid #eadfe4;
  background: #fff;
  border-radius: 999px;
  padding: 5px 10px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.spend-donut-wrap span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

.olay-spend {
  display: grid;
  gap: 14px;
  padding: 4px 2px 18px;
}
.olay-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.olay-spend .book-name {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}
.olay-spend .book-name h3 {
  margin: 0;
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 22px;
  font-weight: 400;
}
.olay-spend .book-name span {
  font-size: 11px;
  color: #c45b74;
}
.olay-month {
  display: flex;
  align-items: center;
  gap: 4px;
}
.olay-month strong { font-size: 13px; color: #6e6a61; }
.olay-month button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #c45b74;
  font-size: 16px;
  cursor: pointer;
}
.olay-hero {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  border-radius: 22px;
  padding: 16px 12px 14px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(80, 50, 60, 0.05);
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}
.olay-hero > span {
  font-size: 12px;
  color: #8a6b72;
}
.olay-ring-wrap {
  position: relative;
  width: 148px;
  height: 148px;
}
.olay-ring {
  width: 148px;
  height: 148px;
  transform: rotate(-90deg);
}
.olay-ring .olay-track {
  fill: none;
  stroke: #f3e8ea;
  stroke-width: 10;
}
.olay-ring .olay-fill {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
}
.olay-ring-mid {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.olay-ring-mid b {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 26px;
  font-weight: 400;
  color: #c45b74;
  line-height: 1.1;
}
.olay-ring-mid small {
  font-size: 11px;
  color: #8a6b72;
}
.olay-sec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
}
.olay-sec em {
  font-style: normal;
  font-size: 15px;
  font-weight: 700;
}
.olay-add {
  border: 0;
  border-radius: 999px;
  padding: 7px 14px;
  background: #c45b74;
  color: #fff;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.olay-sheet {
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(80, 50, 60, 0.05);
  overflow: hidden;
}
.olay-day + .olay-day { border-top: 1px solid #f3e8ea; }
.olay-day-h {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px 2px;
  font-size: 11px;
  color: #8a6b72;
}
.olay-day-h i { font-style: normal; color: #c45b74; }
.olay-row {
  display: grid;
  grid-template-columns: 36px 1fr auto auto;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 0 12px 0 14px;
}
.olay-dot {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
}
.olay-row .spend-main {
  padding: 0;
  text-align: left;
  border: 0;
  background: none;
  cursor: pointer;
  min-width: 0;
}
.olay-row .spend-main strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.olay-row .spend-main em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 11px;
  color: #8a6b72;
}
.olay-row > b {
  font-size: 14px;
  font-weight: 700;
  color: #993c1d;
}
.olay-empty {
  padding: 28px 16px;
  text-align: center;
}
.olay-empty p { margin: 0 0 4px; font-size: 15px; }
.olay-empty span { display: block; font-size: 12px; color: var(--muted); }
.olay-empty .spend-quick { justify-content: center; margin-top: 12px; }
.bgm-now { margin: 0 0 10px; font-size: 13px; color: #c45b74; }
.bgm-list { display: grid; gap: 8px; margin: 0 0 12px; }
.bgm-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  border: 1px solid #f0dce4;
  border-radius: 14px;
  padding: 10px 12px;
  background: #fff;
  font: inherit;
  cursor: pointer;
  text-align: left;
}
.bgm-item.on { border-color: #c45b74; background: #fff6f8; }
.bgm-item strong { font-size: 14px; }
.bgm-item span { font-size: 11px; color: var(--muted); }
.bgm-acts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.bgm-acts .btn, .bgm-acts label.btn { width: 100%; text-align: center; }

.pouch-home { display: grid; gap: 12px; padding: 4px 2px 18px; }
.pouch-home h3 {
  margin: 0;
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 22px;
  font-weight: 400;
}
.pouch-ping {
  display: grid;
  gap: 2px;
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 12px 14px;
  text-align: left;
  background: #fff;
  box-shadow: 0 8px 18px rgba(80, 50, 60, 0.05);
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}
.pouch-ping b { font-size: 13px; color: #c45b74; }
.pouch-ping span { font-size: 12px; color: #8a6b72; }
.pouch-list { display: grid; gap: 10px; }
.pouch-card, .pouch-new {
  position: relative;
  min-height: 108px;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: #fff;
  box-shadow: 0 10px 20px rgba(60, 40, 50, 0.12);
}
.pouch-veil {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  gap: 2px;
  padding: 14px 16px 16px;
  background: linear-gradient(180deg, transparent 20%, rgba(20, 12, 18, 0.55) 100%);
}
.pouch-veil strong {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 22px;
  font-weight: 400;
}
.pouch-veil span, .pouch-veil em {
  font-style: normal;
  font-size: 12px;
  opacity: 0.92;
}
.pouch-new {
  min-height: 72px;
  display: grid;
  place-items: center;
  color: #c45b74;
  background: repeating-linear-gradient(-45deg, #fff, #fff 8px, #faf4f6 8px, #faf4f6 16px);
  border: 1px dashed #e7c8d0;
  box-shadow: none;
  font-size: 14px;
}
.pouch-foot {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.pouch-back {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 13px;
  color: #c45b74;
  cursor: pointer;
}
.pouch-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.pouch-hero .book-name,
.pouch-veil { position: relative; z-index: 1; }
.pouch-hero {
  position: relative;
  min-height: 132px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px;
  color: #fff;
  box-shadow: 0 10px 20px rgba(60, 40, 50, 0.12);
  cursor: pointer;
}
.pouch-hero .book-name { color: #fff; }
.pouch-hero .book-name h3 { color: #fff; font-size: 24px; }
.pouch-hero .book-name span { color: rgba(255,255,255,0.85); }
.pouch-cover-btn {
  border: 0;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.22);
  color: #fff;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.pouch-acts { display: flex; gap: 6px; }
.olay-add.ghost {
  background: #fff;
  color: #c45b74;
  box-shadow: inset 0 0 0 1px #f0d4dc;
}
.pouch-del {
  border: 0;
  background: none;
  color: #a88;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  padding: 4px;
}
.pouch-swatches {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.pouch-swatches button {
  aspect-ratio: 1;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
}
.pouch-swatches button.on { border-color: #c45b74; }
.pouch-preview {
  position: relative;
  overflow: hidden;
  height: 92px;
  border-radius: 14px;
  margin: 0 0 12px;
}
#bgmVol { width: 100%; accent-color: #c45b74; }

.diary-leaf {
  position: relative;
  margin: 0 0 14px;
  padding: 12px 14px 16px;
  border-radius: 8px 14px 14px 8px;
  background: linear-gradient(180deg, #fffdf8 0%, #f7f1e6 100%);
  box-shadow: 0 8px 16px rgba(80, 70, 50, 0.08);
  border-left: 3px solid #d7c4a3;
}
.diary-leaf.you {
  background: linear-gradient(180deg, #f3fffb 0%, #e7f6f1 100%);
  border-left-color: #7ec8b8;
}
.diary-leaf.replying {
  outline: 2px solid rgba(60, 184, 154, 0.4);
  outline-offset: 2px;
}
.diary-leaf-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}
.diary-leaf-h em {
  font-style: normal;
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 15px;
  color: #6a5a3e;
}
.diary-leaf.you .diary-leaf-h em { color: #2f9d8f; }
.diary-leaf-h time { font-size: 11px; color: #a89880; }
.diary-leaf > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: #4a4338;
  white-space: pre-wrap;
}
.diary-note {
  margin: 0 8px 12px 18px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed #d5ebe4;
}
.diary-note span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #8aa7a0;
  margin-bottom: 4px;
}
.diary-note p { margin: 0; font-size: 13px; line-height: 1.65; color: #3f6f6a; }
.diary-note.yi { border-style: solid; background: rgba(247, 255, 252, 0.9); }
.diary-leaf .entry-reply { right: 10px; bottom: 8px; }

.album-page {
  padding: 6px 4px 24px;
  background:
    radial-gradient(rgba(255,255,255,0.75) 0.8px, transparent 1px),
    linear-gradient(180deg, #e8f8f4, #f7fffc);
  background-size: 10px 10px, auto;
  border-radius: 18px;
  min-height: 100%;
}
.album-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 10px;
  padding: 4px 6px 0;
}
.album-head h2 {
  margin: 0;
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 26px;
  font-weight: 400;
  color: #3f6f6a;
}
.album-head p { margin: 4px 0 0; font-size: 12px; color: #7a9b96; }
.album-add {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
  background: #2f9d8f;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}
.album-toolbar-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 12px;
}
.album-chips { display: flex; gap: 6px; margin: 0 6px; overflow-x: auto; }
.album-chip {
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.78);
  color: #5a7a74;
  font: inherit;
  font-size: 12px;
  white-space: nowrap;
}
.album-chip.on { background: #2f9d8f; color: #fff; }
.album-view-toggle {
  display: inline-flex;
  align-self: flex-end;
  margin: 0 6px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  gap: 2px;
}
.album-view-btn {
  border: 0;
  border-radius: 999px;
  padding: 5px 12px;
  background: transparent;
  color: #7a9b96;
  font: inherit;
  font-size: 11px;
}
.album-view-btn.on {
  background: #2f9d8f;
  color: #fff;
}
.album-sec { margin: 0 4px 16px; position: relative; }
.album-sec h3 {
  margin: 0 4px 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #7aa39c;
  font-weight: 600;
}
.album-day h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  letter-spacing: 0.04em;
  font-size: 13px;
  color: #3f6f6a;
}
.album-day h3 em {
  font-style: normal;
  font-size: 11px;
  color: #7aa39c;
  letter-spacing: 0;
  font-weight: 500;
}
.album-day-rail {
  position: absolute;
  left: 2px;
  top: 22px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(196, 91, 74, 0.45), rgba(196, 91, 74, 0.05));
}
.pola {
  position: relative;
}
.pola-heart {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: #2f9d8f;
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(47, 90, 86, 0.12);
  pointer-events: none;
}
.pola.is-fav .pola-film {
  box-shadow: inset 0 0 0 2px rgba(47, 157, 143, 0.4);
}
.album-viewer-meta {
  margin: 4px 40px 0 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.72);
}
.album-viewer-nav,
.album-viewer-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
  padding: 0 6px;
}
.album-nav-btn,
.album-act {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 12px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
}
.album-nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.album-act.on {
  background: rgba(47, 157, 143, 0.92);
}
.album-act.danger {
  background: rgba(180, 70, 70, 0.85);
}
.album-wall {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 10px;
  padding: 4px 2px 8px;
}
.pola {
  border: 0;
  background: #fff;
  padding: 8px 8px 28px;
  box-shadow: 0 8px 18px rgba(47, 90, 86, 0.12);
  transform: rotate(calc(var(--pola, 0) * 0.7deg));
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.pola:hover { transform: rotate(0deg) translateY(-2px); }
.pola-film {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #e8f4f0;
}
.pola-film img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pola-cap {
  display: block;
  margin-top: 8px;
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 13px;
  color: #3f6f6a;
  text-align: center;
}
.pola-lg {
  width: min(340px, 100%);
  margin: 18px auto 8px;
  padding: 12px 12px 36px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.pola-lg .pola-film { aspect-ratio: 4 / 5; }
.pola-lg figcaption {
  margin-top: 10px;
  text-align: center;
  font-family: "ZCOOL XiaoWei", serif;
  color: #3f6f6a;
}
.album-tile {
  display: none;
}
.album-viewer {
  width: min(420px, 100%);
  background: rgba(28, 22, 18, 0.92);
  border-radius: 16px;
  padding: 8px 8px 16px;
  color: #fff;
  position: relative;
}
.album-viewer img { width: 100%; height: 100%; object-fit: cover; display: block; }
.album-viewer p { margin: 10px 4px 0; font-size: 13px; color: #ddd; }
.album-viewer-x {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 18px;
}

.alb-folder {
  margin: 0 6px 18px;
}
.alb-folder h3 {
  margin: 0 4px 8px;
  font-size: 13px;
  font-weight: 700;
  color: #3f6f6a;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.alb-folder h3 em {
  font-style: normal;
  font-weight: 500;
  color: #7aa39c;
  font-size: 11px;
}
.alb-folder-empty {
  margin: 0;
  padding: 18px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.55);
  color: #b09a8c;
  font-size: 12px;
  text-align: center;
}
.alb-stage { position: relative; }
.alb-shot {
  border: 0;
  padding: 0;
  background: #fff;
  color: inherit;
  font: inherit;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(47, 90, 86, 0.14);
  cursor: pointer;
}
.alb-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.alb-shot span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 10px 7px;
  background: linear-gradient(transparent, rgba(40,28,18,0.72));
  color: #fff;
  font-size: 11px;
  text-align: left;
}

.alb-acc .alb-stage {
  display: flex;
  height: 168px;
  gap: 0;
  overflow: hidden;
  border-radius: 16px;
}
.alb-acc .alb-shot {
  position: relative;
  flex: 0.55 1 42px;
  min-width: 36px;
  height: 168px;
  border-radius: 0;
  transition: flex 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.alb-acc .alb-shot.on,
.alb-acc .alb-shot:hover {
  flex: 2.6 1 168px;
}
.alb-acc .alb-shot span { opacity: 0; transition: opacity 0.25s; }
.alb-acc .alb-shot.on span,
.alb-acc .alb-shot:hover span { opacity: 1; }

.alb-drawer .alb-stage {
  height: 176px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(#cfeae4, #b7ddd5);
  box-shadow: inset 0 8px 16px rgba(47, 90, 86, 0.1);
}
.alb-drawer .alb-shot {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 148px;
  border-radius: 12px 12px 4px 4px;
  top: 118px;
  transition: top 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s;
}
.alb-drawer .alb-shot:nth-child(1) { top: 16px; z-index: 1; }
.alb-drawer .alb-shot:nth-child(2) { top: 40px; z-index: 2; }
.alb-drawer .alb-shot:nth-child(3) { top: 64px; z-index: 3; }
.alb-drawer .alb-shot:nth-child(4) { top: 88px; z-index: 4; }
.alb-drawer .alb-shot:nth-child(n+5) { top: 110px; z-index: 5; }
.alb-drawer .alb-shot.on,
.alb-drawer .alb-shot:hover {
  top: 10px !important;
  z-index: 8;
  transform: translateY(-4px);
}

.alb-poker .alb-stage {
  height: 210px;
  display: grid;
  place-items: center;
}
.alb-poker .alb-shot {
  position: absolute;
  width: 148px;
  height: 186px;
  border-radius: 12px;
  transform: translateX(calc((var(--i) - 2) * 10px)) rotate(var(--rot));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s;
}
.alb-poker .alb-shot.on,
.alb-poker .alb-shot:hover {
  transform: translateY(-18px) rotate(0deg) scale(1.06);
  box-shadow: 0 16px 28px rgba(47, 90, 86, 0.22);
  z-index: 9 !important;
}

.chat-emoji-panel, .chat-plus-panel {
  background: #f7f7f7;
  border-top: 1px solid #e5f4f0;
  padding: 10px 12px 8px;
}
.chat-plus-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  padding: 16px 28px 18px;
}
.wx-plus-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #5a6e6a;
  font: inherit;
  font-size: 12px;
  padding: 0;
  cursor: pointer;
}
.wx-plus-ico {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #fff;
  color: #3f6f6a;
  display: grid;
  place-items: center;
  box-shadow: 0 1px 3px rgba(47, 90, 86, 0.08);
}
.wx-plus-ico svg {
  width: 26px;
  height: 26px;
}
.wx-call {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 72px 24px 40px;
  background: linear-gradient(180deg, #163833 0%, #0c1b19 100%);
  color: #eaf8f4;
}
.wx-call.hidden { display: none !important; }
.wx-call-top { text-align: center; }
.wx-call-avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(160deg, #7fd3c8, #3e9d94);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  display: grid;
  place-items: center;
  color: #f3fffb;
  font-size: 36px;
  font-weight: 700;
  font-family: "ZCOOL XiaoWei", serif;
}
.wx-call-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wx-call h2 {
  margin: 0;
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 26px;
  letter-spacing: 2px;
  color: #f3fffb;
  font-weight: 400;
}
.wx-call-caption {
  min-height: 2.4em;
  margin: 10px 18px 0;
  padding: 0 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}
.wx-call-compose {
  display: flex;
  gap: 8px;
  width: min(86%, 320px);
  margin: 14px auto 0;
}
.wx-call-compose.hidden { display: none !important; }
.wx-call-compose input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  outline: none;
}
.wx-call-compose input::placeholder { color: rgba(255, 255, 255, 0.55); }
.wx-call-send {
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(94, 201, 184, 0.9);
  color: #0f3b36;
  font-weight: 600;
}
.wx-call-top p {
  margin: 8px 0 0;
  font-size: 13px;
  color: rgba(234, 248, 244, 0.7);
}
.wx-call-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
}
.wx-call-talk {
  width: min(240px, 80%);
  height: 44px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 22px;
  background: rgba(255,255,255,0.08);
  color: #eaf8f4;
  font: inherit;
  font-size: 15px;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.wx-call-talk.on { background: rgba(94, 201, 184, 0.35); }
.wx-call-hang {
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  background: #e75d5d;
  color: #fff;
  display: grid;
  place-items: center;
}
.wx-call-hang svg { width: 28px; height: 28px; transform: rotate(135deg); }
.chat-emoji-panel.hidden, .chat-plus-panel.hidden, .wx-hold.hidden, .wx-plus.hidden, .wx-ico.hidden, .chat-send.hidden, #chatInput.hidden {
  display: none !important;
}
.sr-file {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
}
.chat-inline-video {
  width: min(220px, 70%);
  max-height: 220px;
  border-radius: 8px;
  background: #111;
  display: block;
}
.wx-emo-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.wx-emo {
  border: 0;
  background: #fff;
  border-radius: 10px;
  padding: 6px 8px;
  font: inherit;
  font-size: 13px;
}
.wx-sticker-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.wx-sticker { border: 0; background: #fff; border-radius: 12px; padding: 4px; }
.wx-sticker img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; }
.wx-ico {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #1a1a1a;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: pointer;
}
.wx-ico svg {
  grid-area: 1 / 1;
  width: 26px;
  height: 26px;
  display: block;
}
.wx-ico .ico-kbd {
  opacity: 0;
  visibility: hidden;
}
.wx-ico.voice-on .ico-speak {
  opacity: 0;
  visibility: hidden;
}
.wx-ico.voice-on .ico-kbd {
  opacity: 1;
  visibility: visible;
}
.wx-hold {
  flex: 1 1 auto;
  height: 36px;
  border: 1px solid #cdeae4;
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  color: #3f6f6a;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.wx-hold.on { background: #d8f5ee; }
/* 语音条：时长气泡 + 转文字；青绿/珊瑚，不抄微信绿 */
.voice-msg .say-body {
  gap: 5px;
}
.wx-voice-bubble {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 78px;
  max-width: 180px;
  box-sizing: border-box;
  border: 1px solid rgb(186, 214, 206);
  border-radius: 4px 14px 14px 14px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.96);
  color: rgb(74, 95, 90);
  font: inherit;
  font-size: 13px;
  box-shadow: rgba(80, 120, 110, 0.05) 0px 2px 8px;
  cursor: pointer;
  text-align: left;
}
.msg.you .wx-voice-bubble {
  border-radius: 14px 4px 14px 14px;
  background: rgb(255, 247, 245);
  border-color: rgb(228, 196, 188);
  color: rgb(122, 86, 80);
  flex-direction: row-reverse;
}
.wx-voice-wave {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  flex: 0 0 auto;
}
.wx-voice-wave i {
  display: block;
  width: 2.5px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.72;
}
.wx-voice-wave i:nth-child(1) { height: 6px; }
.wx-voice-wave i:nth-child(2) { height: 12px; }
.wx-voice-wave i:nth-child(3) { height: 8px; }
.wx-voice-sec {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  opacity: 0.9;
}
.msg.you .wx-voice-sec { margin-left: 0; margin-right: auto; }
.wx-voice-bubble.playing .wx-voice-wave i {
  animation: wxVoicePlay 0.72s ease-in-out infinite;
}
.wx-voice-bubble.playing .wx-voice-wave i:nth-child(2) { animation-delay: 0.12s; }
.wx-voice-bubble.playing .wx-voice-wave i:nth-child(3) { animation-delay: 0.24s; }
@keyframes wxVoicePlay {
  0%, 100% { transform: scaleY(0.55); opacity: 0.4; }
  50% { transform: scaleY(1.15); opacity: 1; }
}
.wx-voice-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 1px 2px 0;
}
.msg.you .wx-voice-tools {
  justify-content: flex-end;
  width: 100%;
}
.wx-voice-to-text {
  border: 0;
  background: none;
  color: #7a9590;
  font: inherit;
  font-size: 11px;
  line-height: 1.2;
  padding: 0;
  cursor: pointer;
}
.msg.you .wx-voice-to-text { color: #a88882; }
.wx-voice-script {
  margin: 2px 0 0;
  padding: 8px 11px;
  border-radius: 4px 14px 14px 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgb(186, 214, 206);
  font-size: 13px;
  line-height: 1.55;
  color: rgb(74, 95, 90);
  text-align: left;
  max-width: 100%;
  box-sizing: border-box;
}
.wx-voice-script.hidden {
  display: none !important;
}
.msg.you .wx-voice-script {
  border-radius: 14px 4px 14px 14px;
  background: rgb(255, 247, 245);
  border-color: rgb(228, 196, 188);
  color: rgb(122, 86, 80);
  align-self: flex-end;
}
.wx-voice-hint { display: block; margin-top: 2px; font-size: 11px; color: #8aa; }
.chat-composer { position: relative; gap: 6px; }

@media (max-width: 520px) {
  html, body {
    height: 100%;
    height: 100dvh;
    height: var(--app-h, 100dvh);
  }
  .room {
    padding: 0;
    min-height: 0;
    height: var(--app-h, 100dvh);
    background: #eefcf8;
  }
  .chandelier,
  .room-glow { display: none; }
  .phone {
    width: 100%;
    height: var(--app-h, 100dvh);
    min-height: 0;
    max-height: var(--app-h, 100dvh);
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .phone-bar { display: none; }
}
/* 未名市小地图：外勤四区体量 + Streets GL 夕光景感 */
.wm-map-sheet {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 100%;
  padding: 12px 10px 18px;
  box-sizing: border-box;
}
.wm-map-card {
  width: min(100%, 380px);
  border-radius: 20px;
  background: #f4faf7;
  box-shadow: 0 16px 40px rgba(20, 40, 36, 0.28);
  padding: 12px;
  box-sizing: border-box;
}
.wm-map-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.wm-map-head strong {
  display: block;
  font-size: 16px;
  color: #2a4a44;
}
.wm-map-head span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #7a9a92;
}
.wm-city {
  position: relative;
  height: 168px;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  background: #1a2430;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.wm-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 70% 10%, rgba(255, 186, 120, 0.55), transparent 55%),
    linear-gradient(180deg, #2a3a55 0%, #6b4a3a 42%, #c47a4a 72%, #e8b878 100%);
  opacity: 0.95;
}
.wm-river {
  position: absolute;
  left: -10%;
  right: -10%;
  top: 58%;
  height: 18px;
  transform: rotate(-8deg);
  background: linear-gradient(90deg, rgba(120, 180, 210, 0.15), rgba(160, 210, 230, 0.55), rgba(120, 180, 210, 0.2));
  z-index: 1;
}
.wm-grid {
  position: absolute;
  inset: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  z-index: 2;
}
.wm-zone {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 8px 8px 6px;
  text-align: left;
  color: #fff;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--zone) 42%, transparent), rgba(12, 18, 22, 0.55)),
    rgba(18, 24, 28, 0.55);
  cursor: pointer;
  overflow: hidden;
  font: inherit;
}
.wm-zone.home {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--zone) 70%, white), 0 8px 18px rgba(0, 0, 0, 0.25);
}
.wm-zone.on {
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
}
.wm-zone-blocks {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
  margin-bottom: 4px;
}
.wm-zone-blocks i {
  display: block;
  width: 8px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), color-mix(in srgb, var(--zone) 80%, #1a1a1a));
  box-shadow: 1px 0 0 rgba(0, 0, 0, 0.2);
}
.wm-zone-blocks i:nth-child(1) { height: 14px; }
.wm-zone-blocks i:nth-child(2) { height: 22px; }
.wm-zone-blocks i:nth-child(3) { height: 12px; }
.wm-zone-blocks i:nth-child(4) { height: 18px; }
.wm-zone em {
  display: block;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.wm-zone small {
  display: block;
  margin-top: 1px;
  font-size: 10px;
  opacity: 0.88;
}
.wm-detail {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--zone) 28%, #e5eeea);
}
.wm-detail-top {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wm-detail-top strong {
  font-size: 14px;
  color: #2a4a44;
}
.wm-home-tag {
  font-size: 10px;
  font-weight: 800;
  color: #2f9d8f;
  background: rgba(61, 155, 143, 0.12);
  border-radius: 999px;
  padding: 2px 7px;
}
.wm-landmark {
  margin: 6px 0 0;
  font-size: 12px;
  color: #4f7a72;
  line-height: 1.4;
}
.wm-style {
  margin: 4px 0 0;
  font-size: 11px;
  color: #8aaca4;
  line-height: 1.4;
}
.wm-outings {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.wm-outing {
  border: 0;
  border-radius: 999px;
  padding: 6px 10px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, color-mix(in srgb, var(--zone) 75%, white), var(--zone));
  cursor: pointer;
}
.wm-empty {
  margin: 8px 0 0;
  font-size: 11px;
  color: #9ab0aa;
}

.wm-city3d {
  position: relative;
  height: 250px;
  border-radius: 16px;
  overflow: hidden;
  background: #6e92a8;
  box-shadow: inset 0 0 0 1px rgba(40, 70, 90, 0.28);
}
.wm-city3d canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}
.wm-city3d canvas:active { cursor: grabbing; }
.wm-city3d-hint {
  position: absolute;
  left: 10px;
  bottom: 8px;
  margin: 0;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  color: #e8f2f6;
  background: rgba(20, 40, 55, 0.55);
  box-shadow: 0 1px 4px rgba(10, 30, 40, 0.25);
  pointer-events: none;
}
.wm-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 8px 0 0;
  font-size: 11px;
  color: #5a7a72;
}
.wm-topics span {
  font-weight: 700;
  color: #3d6a62;
  margin-right: 2px;
}
.wm-topics em {
  font-style: normal;
  padding: 3px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--zone, #3d9b8f) 16%, #f4faf8);
  border: 1px solid color-mix(in srgb, var(--zone, #3d9b8f) 28%, #d5e4df);
  color: #2f5f56;
}
.wm-view-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.wm-view-actions .btn {
  flex: 1;
}
.wm-loc-fold {
  margin-top: 12px;
  border-radius: 12px;
  border: 1px dashed rgba(90, 140, 130, 0.35);
  padding: 8px 10px;
  background: rgba(247, 251, 249, 0.9);
}
.wm-loc-fold > summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  color: #5a7f76;
  list-style: none;
}
.wm-loc-fold > summary::-webkit-details-marker { display: none; }
.wm-loc-fold[open] > summary { margin-bottom: 8px; }
.wm-loc-actions {
  margin-top: 6px;
}
.wm-loc-actions .btn {
  width: 100%;
}
.wm-loc-note {
  margin: 6px 0 0;
  font-size: 10px;
  color: #7a9690;
  line-height: 1.4;
}
.wm-real-place {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 650;
  color: #2f6f62;
}
.wm-zone-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.wm-zone-tab {
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--zone) 45%, #cfdad6);
  border-radius: 999px;
  padding: 5px 9px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  color: #3d6a62;
  background: #f7fbf9;
  cursor: pointer;
}
.wm-zone-tab.on {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(180deg, color-mix(in srgb, var(--zone) 75%, white), var(--zone));
}

/* 点滴日常打开未名市：浮在本页，避免跳转独立页把 BGM 掐掉 */
.weiming-map-layer {
  position: absolute;
  inset: 0;
  z-index: 45;
  background: #102028;
  overflow: hidden;
}
.weiming-map-layer.hidden {
  display: none;
}
.weiming-map-layer iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #102028;
}
