/* Ari Travel 导览页。设计变量与组件类取自原型 AriTour 的「Classical」设计系统，
   页面布局在文件后半部分。
   半透明色一律写成 rgba：原型用的 color-mix() 在国内不少安卓内置浏览器上不认，
   不认的后果是分隔线和阴影整条消失。改主色时这些 rgba 要跟着改。 */

@font-face {
  font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/cormorant-garamond-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/cormorant-garamond-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/lora-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lora'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/lora-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-bg: #f3f2f2;
  --color-surface: #eae9e9;
  --color-text: #201f1d;
  --color-accent: #b68235;
  --color-divider: rgba(32,31,29,0.16);

  --color-neutral-100: #f8f4f4;
  --color-neutral-200: #eae7e7;
  --color-neutral-300: #d7d3d3;
  --color-neutral-400: #bab6b6;
  --color-neutral-500: #9b9797;
  --color-neutral-600: #7d7979;
  --color-neutral-700: #605d5d;
  --color-neutral-800: #444141;
  --color-neutral-900: #2d2b2b;

  --color-accent-100: #fff3e4;
  --color-accent-200: #ffe3bf;
  --color-accent-400: #e1ad66;
  --color-accent-600: #a06f24;
  --color-accent-700: #7d5411;
  --color-accent-800: #5a3b0a;

  --font-heading: "Cormorant Garamond", system-ui, sans-serif;
  --font-heading-weight: 600;
  --font-body: "Lora", system-ui, sans-serif;

  --radius-md: 4px;
  --radius-lg: 7px;

  --shadow-sm: 0 1px 2px rgba(45,43,43,0.14);
  --shadow-md: 0 3px 10px rgba(45,43,43,0.16);
  --shadow-lg: 0 12px 32px rgba(45,43,43,0.22);

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--color-neutral-200); color: var(--color-text);
  font-family: var(--font-body); font-size: 15px; line-height: 1.55;
  -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  line-height: 1.12; letter-spacing: -0.015em; margin: 0;
}
p { margin: 0; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* — 按钮 — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 15px; line-height: 1.2; color: var(--color-text);
  background: transparent; border: 1px solid transparent;
  padding: 9px 16px; border-radius: var(--radius-md); min-height: 44px;
}
.btn svg { display: block; flex: none; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { color: var(--color-accent-700); border-color: var(--color-accent); }
.btn-primary:active:not(:disabled) { background: rgba(182,130,53,0.22); }
.btn-secondary { border-color: var(--color-divider); }
.btn-secondary:active { background: rgba(32,31,29,0.14); }
.btn-icon { width: 44px; height: 44px; padding: 0; position: relative; }
.btn-icon:active { background: rgba(32,31,29,0.08); }
.btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* — 照片框 — */
.plate {
  filter: sepia(0.22) saturate(0.82) contrast(1.05);
  border: 6px solid var(--color-surface); outline: 1px solid var(--color-divider);
  background: var(--color-neutral-300); overflow: hidden;
}
.plate img { width: 100%; height: 100%; object-fit: cover; }

.kicker {
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-accent-700); font-variant-numeric: tabular-nums;
}
.rule { height: 1px; background: var(--color-divider); }
.tag {
  display: inline-flex; align-items: center; font-size: 11px; letter-spacing: .02em;
  padding: 2px 8px; border-radius: 3px; white-space: nowrap;
}
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent-700); }
.tag-neutral { background: var(--color-neutral-100); color: var(--color-neutral-800); }

/* ═════════════════════════ 布局 ═════════════════════════ */
/* overflow: clip 连脚本和浏览器自己的「把输入框滚到可见处」都滚不动它；hidden 挡不住这两样 ——
   收起的抽屉是用 transform 挪到下面去的，仍算可滚动的内容，一滚就露出来。不认 clip 的旧浏览器退回 hidden，
   由 app.js 在 #app 的 scroll 事件里拨回去 */
#app {
  position: relative; height: 100vh; height: 100dvh; max-width: 480px; margin: 0 auto;
  background: var(--color-bg); overflow: hidden; overflow: clip; box-shadow: var(--shadow-lg);
}
.screen { position: absolute; inset: 0; }
.load-note { padding: 40px 22px; font-size: 14px; color: var(--color-neutral-700); text-align: center; }

/* — 目的地列表 — */
#list { overflow-y: auto; padding: var(--safe-top) 0 calc(24px + var(--safe-bottom)); }
.list-head { padding: 22px 22px 6px; display: flex; flex-direction: column; gap: 4px; }
.list-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.list-title h1 { font-size: 44px; font-weight: 400; letter-spacing: -.02em; }
.list-title em, .card-name em {
  font-family: var(--font-heading); font-style: italic; font-size: 15px; color: var(--color-neutral-700);
}
.list-lede { margin-top: 6px; font-size: 13.5px; line-height: 1.6; color: var(--color-neutral-700); text-align: justify; }
#cards { display: flex; flex-direction: column; gap: 20px; padding: 20px 22px 12px; }
.card {
  display: flex; flex-direction: column; gap: 10px; padding: 10px 10px 14px; cursor: pointer;
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
  background: transparent; text-align: left; width: 100%;
}
.card:active { border-color: var(--color-accent-400); }
.card .plate { height: 172px; }
.card-body { padding: 2px 6px 0; display: flex; flex-direction: column; gap: 6px; }
.card-name { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.card-name strong { font-family: var(--font-heading); font-weight: 600; font-size: 26px; line-height: 1.1; }
.card-desc { font-size: 13px; line-height: 1.6; text-align: justify; color: var(--color-neutral-800); }
.card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 4px; padding-top: 9px; border-top: 1px solid var(--color-divider);
}
.card-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11px; color: var(--color-neutral-700); font-variant-numeric: tabular-nums; }
.card-meta span { display: flex; align-items: center; gap: 5px; }
.card-go {
  display: flex; align-items: center; gap: 2px; white-space: nowrap;
  font-family: var(--font-heading); font-weight: 600; font-size: 14px; color: var(--color-accent-700);
}

/* — 导游地图：顶栏 — */
#tour { display: flex; flex-direction: column; }
.topbar {
  flex: none; padding: var(--safe-top) 12px 0; height: calc(56px + var(--safe-top));
  display: flex; align-items: center; gap: 6px;
  border-bottom: 1px solid var(--color-divider); background: var(--color-bg); z-index: 5;
}
.topbar-title { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.topbar-title strong { font-family: var(--font-heading); font-weight: 600; font-size: 22px; line-height: 1.1; }
.topbar-title .kicker { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.badge {
  position: absolute; top: 6px; right: 5px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; border: 1px solid var(--color-accent); background: var(--color-bg);
  color: var(--color-accent-700); font-family: var(--font-body); font-size: 10.5px; line-height: 15px;
  font-variant-numeric: tabular-nums;
}

/* — 导游地图：地图 — */
#mapwrap { flex: 1; min-height: 0; position: relative; overflow: hidden; }
#map {
  position: absolute; inset: 0; overflow: hidden;
  touch-action: none; user-select: none; -webkit-user-select: none; background: var(--color-bg);
}
#pan { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
#pan svg { position: absolute; left: 0; top: 0; display: block; }
.map-label {
  position: absolute; transform: translate(-50%, -50%); white-space: nowrap; pointer-events: none;
}
.map-label.road {
  font-family: var(--font-heading); font-style: italic; font-size: 14px; letter-spacing: .18em;
  color: var(--color-neutral-700);
}
.map-label.gate {
  font-size: 10.5px; color: var(--color-neutral-800); background: var(--color-bg);
  padding: 1px 5px; border: 1px solid var(--color-neutral-600);
}
.ring {
  position: absolute; border-radius: 50%; border: 1px dashed var(--color-accent);
  background: rgba(182,130,53,0.05);
  transition: background .3s; pointer-events: none;
}
.ring.inside { background: rgba(182,130,53,0.16); }
.spot {
  position: absolute; display: flex; align-items: center; gap: 3px;
  background: none; border: 0; padding: 0; cursor: pointer; transition: opacity .3s;
}
/* 标记的圆心对准地点坐标，名字放在登记的那一侧 */
.spot.lp-b { flex-direction: column; transform: translate(-50%, -13px); }
.spot.lp-t { flex-direction: column-reverse; transform: translate(-50%, calc(-100% + 13px)); }
.spot.lp-r { flex-direction: row; transform: translate(-13px, -50%); }
.spot.lp-l { flex-direction: row-reverse; transform: translate(calc(-100% + 13px), -50%); }
.spot.dim { opacity: .4; }
.spot-num {
  min-width: 26px; height: 26px; padding: 0 5px; border-radius: 13px; display: grid; place-items: center;
  border: 1.5px solid var(--color-accent); background: var(--color-bg); color: var(--color-accent-800);
  font-family: var(--font-heading); font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums;
  transition: box-shadow .3s, background .3s;
}
.spot.on-route .spot-num { background: var(--color-accent-700); color: var(--color-neutral-100); }
.spot.visited .spot-num { background: var(--color-accent-200); color: var(--color-accent-800); }
.spot.inside .spot-num { box-shadow: 0 0 0 4px rgba(182,130,53,0.3); }
.spot-name {
  font-family: var(--font-heading); font-weight: 600; font-size: 13px; line-height: 1; white-space: nowrap;
  padding: 2px 5px; background: rgba(243,242,242,0.88);
}
#map.far .spot-name, #map.far .map-label.gate { display: none; }

/* 当前位置。live = 在景区内有定位；其余一律灰着停在入口 */
#me { position: absolute; width: 0; height: 0; z-index: 3; }
#me .halo {
  position: absolute; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%);
  background: rgba(45,43,43,0.08);
  border: 1px solid rgba(45,43,43,0.18); pointer-events: none;
}
#me .pulse {
  position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(45,43,43,0.3);
  animation: mePulse 1.8s ease-out infinite; pointer-events: none;
}
#me .grip {
  position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; display: grid; place-items: center;
  pointer-events: none;
}
#me .dot {
  width: 16px; height: 16px; border-radius: 50%; background: var(--color-neutral-900);
  border: 3px solid var(--color-neutral-100); box-shadow: var(--shadow-md); transition: background .3s;
}
#me.off .dot { background: var(--color-neutral-400); box-shadow: var(--shadow-sm); }
#me.off .pulse, #me.off .halo { display: none; }
#me.drag .grip { pointer-events: auto; cursor: grab; touch-action: none; }
@keyframes mePulse {
  0% { transform: translate(-50%, -50%) scale(.6); opacity: .55; }
  100% { transform: translate(-50%, -50%) scale(2.4); opacity: 0; }
}

.routes {
  position: absolute; left: 0; right: 0; top: 0; z-index: 4; padding: 8px 0 7px;
  display: flex; flex-direction: column; gap: 5px;
  background: rgba(243,242,242,0.94); border-bottom: 1px solid var(--color-divider);
}
.chips { display: flex; gap: 6px; overflow-x: auto; padding: 0 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 40px; padding: 0 13px; border-radius: 20px; cursor: pointer; white-space: nowrap;
  border: 1px solid var(--color-divider); background: var(--color-bg); color: var(--color-text);
  font-family: var(--font-heading); font-weight: 600; font-size: 14px;
}
.chip.on { border-color: var(--color-accent-700); background: var(--color-accent-700); color: var(--color-neutral-100); }
.route-summary { padding: 0 14px; font-size: 12px; color: var(--color-neutral-700); font-variant-numeric: tabular-nums; }
.compass {
  position: absolute; right: 22px; top: 100px; z-index: 2; pointer-events: none;
  width: 26px; height: 26px; display: grid; place-items: center;
  font-family: var(--font-heading); font-size: 13px; font-weight: 600; color: var(--color-neutral-700);
}
.compass > * { grid-area: 1 / 1; }
.credit {
  position: absolute; left: 6px; bottom: 4px; z-index: 2; pointer-events: none;
  font-size: 9.5px; color: var(--color-neutral-600);
  background: rgba(243,242,242,0.8); padding: 0 4px;
}
#debug {
  position: absolute; right: 6px; bottom: 4px; z-index: 6; pointer-events: none; max-width: 70%;
  font: 10.5px/1.4 ui-monospace, Menlo, monospace; color: var(--color-neutral-100);
  background: rgba(45,43,43,0.82); padding: 4px 6px; white-space: pre;
}

/* — 导游地图：底栏 — */
.bottombar {
  flex: none; padding: 10px 16px calc(10px + var(--safe-bottom)) 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--color-divider); background: var(--color-bg); z-index: 5;
}
.bottombar-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bottombar-text .visited {
  font-size: 10.5px; letter-spacing: .12em; color: var(--color-neutral-700); font-variant-numeric: tabular-nums;
}
/* 状态最长的一句是「不在景区范围内 · 距入口 862 公里」，一行放不下就折成两行，不截断 */
.bottombar-text .status {
  font-family: var(--font-heading); font-weight: 600; font-size: 17px; line-height: 1.2;
}
.bottombar-text .status.muted { color: var(--color-neutral-600); }
.bottombar .btn { flex: none; }

/* — 横幅、遮罩、抽屉 — */
#banner {
  position: absolute; left: 10px; right: 10px; top: calc(8px + var(--safe-top)); z-index: 20;
  transform: translateY(-190%); transition: transform .45s cubic-bezier(.2, .9, .25, 1.1);
  display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; cursor: pointer; text-align: left;
  background: var(--color-surface); border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
#banner.show { transform: translateY(0); }
.banner-icon {
  width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1px solid var(--color-accent);
  display: grid; place-items: center; color: var(--color-accent-700);
}
.banner-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.banner-top { display: flex; justify-content: space-between; font-size: 10.5px; letter-spacing: .1em; color: var(--color-neutral-700); }
.banner-text strong { font-family: var(--font-heading); font-weight: 600; font-size: 18px; line-height: 1.2; }
.banner-text small { font-size: 12.5px; color: var(--color-accent-700); }

#backdrop {
  position: absolute; inset: 0; z-index: 24; opacity: 0; pointer-events: none; transition: opacity .3s;
  background: rgba(45,43,43,0.45);
}
#backdrop.show { opacity: 1; pointer-events: auto; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 25; max-height: 82%; overflow-y: auto;
  transform: translateY(105%); transition: transform .4s cubic-bezier(.2, .8, .2, 1);
  background: var(--color-bg); border-top: 1px solid var(--color-divider);
  border-radius: 18px 18px 0 0; box-shadow: var(--shadow-lg);
  padding: 10px 22px calc(26px + var(--safe-bottom)); overscroll-behavior: contain;
}
.sheet.show { transform: translateY(0); }
.sheet-grab { width: 40px; height: 4px; border-radius: 2px; background: var(--color-neutral-300); margin: 0 auto 14px; }
.sheet-close {
  position: sticky; float: right; top: 0; margin: -4px -14px 0 0; z-index: 3; border-radius: 50%;
  background: var(--color-bg); box-shadow: var(--shadow-sm);
}
.sheet .plate { height: 190px; margin-bottom: 16px; clear: both; }
.sheet h2 { margin: 4px 0 10px; font-size: 32px; font-weight: 400; }
.sheet .rule { margin-bottom: 12px; }

.stop + .stop { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--color-divider); }
.stop h4 { font-size: 20px; margin-bottom: 6px; }
.stop-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 8px; font-size: 12px; color: var(--color-neutral-700); }
.stop p { font-size: 14.5px; line-height: 1.75; text-align: justify; }
.stop p + p { margin-top: 8px; }
.stop.off-route { opacity: .62; }
.note {
  margin: 0 0 8px; padding: 6px 10px; font-size: 12.5px; line-height: 1.55;
  border-left: 2px solid var(--color-accent); background: rgba(182,130,53,0.07);
  color: var(--color-neutral-800);
}
.stop .source { margin-top: 8px; font-size: 11.5px; color: var(--color-neutral-600); text-align: left; }
.objects { margin-top: 12px; }
.objects h5 { margin: 0 0 4px; font-family: var(--font-body); font-weight: 400; font-size: 10.5px; letter-spacing: .14em; color: var(--color-accent-700); }
.objects ul { margin: 0; padding: 0; list-style: none; }
.objects li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--color-divider); font-size: 13.5px; }

.next { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--color-divider); display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.next-name { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.next-name .kicker { white-space: nowrap; text-transform: none; }
.next-name strong { font-family: var(--font-heading); font-weight: 600; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.next small { font-size: 12px; color: var(--color-neutral-700); white-space: nowrap; }
.sheet-actions { display: flex; gap: 10px; margin-top: 18px; }
.sheet-actions .btn { flex: 1; min-width: 0; gap: 4px; }

/* — 游客互动：介绍下面的提问与回答 — */
.qa { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--color-divider); }
.qa h4 { margin-top: 2px; font-size: 20px; }
.qa-lede { margin-top: 4px; font-size: 11.5px; line-height: 1.55; color: var(--color-neutral-600); }
.qa-form { display: flex; gap: 8px; margin-top: 10px; }
/* 字号不能小于 16px：iOS 上更小的输入框一获得焦点，整页会被放大 */
.qa-form input {
  flex: 1; min-width: 0; height: 44px; padding: 0 12px; font-family: var(--font-body); font-size: 16px;
  color: var(--color-text); background: var(--color-neutral-100);
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
  -webkit-appearance: none; appearance: none;
}
.qa-form input::placeholder { color: var(--color-neutral-500); }
.qa-form input:focus { border-color: var(--color-accent); }
.qa-form .btn { flex: none; }
.qa-notice { margin-top: 6px; font-size: 12.5px; line-height: 1.55; color: var(--color-accent-700); }
.qa-notice:empty { display: none; }
.qa-link { padding: 0; border: 0; background: none; cursor: pointer; color: var(--color-accent-700); text-decoration: underline; }
.qa-empty { padding: 14px 0 2px; font-size: 13px; color: var(--color-neutral-700); text-align: center; }
.qa-item { padding: 12px 0; border-bottom: 1px solid var(--color-divider); }
.qa-item:last-of-type { border-bottom: 0; }
.qa-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 11px; color: var(--color-neutral-600); }
.qa-role { letter-spacing: .08em; color: var(--color-accent-700); }
.qa-q p { margin-top: 2px; font-size: 14.5px; line-height: 1.6; overflow-wrap: anywhere; }
.qa-a { margin-top: 8px; padding: 7px 10px 8px; border-left: 2px solid var(--color-accent); background: rgba(182,130,53,0.07); }
/* 回答按纯文本显示，换行照原样 */
.qa-a p { margin-top: 2px; font-size: 14px; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.qa-a .qa-thinking { color: var(--color-neutral-700); }
.qa-private { margin-top: 6px; font-size: 11.5px; color: var(--color-neutral-600); }
.qa-more { width: 100%; margin-top: 10px; }

.msgs-head { display: flex; align-items: baseline; justify-content: space-between; }
.msgs-head h3 { font-size: 26px; }
.msgs-head small { font-size: 12px; color: var(--color-neutral-700); }
.msgs-empty { margin: 22px 0 8px; font-size: 14px; color: var(--color-neutral-700); text-align: center; }
.msg {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 13px 0; cursor: pointer; text-align: left;
  background: none; border: 0; border-bottom: 1px solid var(--color-divider);
}
.msg-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; border: 1px solid var(--color-accent); }
.msg.unread .msg-dot { background: var(--color-accent); }
.msg-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.msg-text strong { font-family: var(--font-heading); font-weight: 600; font-size: 17px; }
.msg-text small { font-size: 12.5px; color: var(--color-neutral-700); }
.msg time { font-size: 11.5px; color: var(--color-neutral-700); font-variant-numeric: tabular-nums; }
