:root {
  --blue: #007AFF;
  --red: #FF3B30;
  --gray: #8E8E93;
  --sep: rgba(60, 60, 67, .18);
  --bg2: #F2F2F7;
  --scale: 1;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
html { touch-action: pan-x pan-y; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--page-bg, #ECE7DD);
  color: #000;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  user-select: none; -webkit-user-select: none;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { -webkit-user-drag: none; user-select: none; }

/* ---------- 外层舞台 ---------- */
.stage { height: 100%; display: flex; align-items: center; justify-content: center; gap: 80px; padding: 20px; }
.intro { max-width: 300px; }
.intro h1 { font-size: 34px; font-weight: 700; letter-spacing: -.5px; margin-bottom: 14px; }
.intro p { font-size: 15px; line-height: 1.7; color: #555; white-space: pre-line; }
.intro:empty, .intro.hidden { display: none; }
@media (max-width: 900px) { .intro { display: none; } }

.device-wrap { width: calc(417px * var(--scale)); height: calc(876px * var(--scale)); flex: none; }
.device {
  width: 417px; height: 876px; padding: 12px; border-radius: 68px;
  background: #111;
  box-shadow: 0 0 0 2px #46464a, 0 0 0 5px #1b1b1d, 0 40px 90px rgba(0,0,0,.35);
  transform: scale(var(--scale)); transform-origin: top left;
}
.screen {
  position: relative; width: 393px; height: 852px; border-radius: 56px;
  overflow: hidden; background: #000; isolation: isolate;
}

/* 手机直接打开：全屏 */
body.mobile .stage { padding: 0; gap: 0; }
body.mobile .intro { display: none; }
body.mobile .device-wrap { width: 100vw; height: 100dvh; }
body.mobile .device { width: 100%; height: 100%; padding: 0; border-radius: 0; box-shadow: none; transform: none; }
body.mobile .screen { width: 100%; height: 100%; border-radius: 0; }
body.mobile .island { display: none; }

/* ---------- 状态栏 ---------- */
.statusbar {
  position: absolute; top: 0; left: 0; right: 0; height: 54px; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 30px 0 52px; color: #000; pointer-events: none;
  transition: color .3s;
}
.screen.sb-light .statusbar { color: #fff; }
.sb-time { font-size: 17px; font-weight: 600; letter-spacing: -.2px; width: 54px; text-align: center; transition: opacity .3s; }
.screen.on-home .sb-time { opacity: 0; }
.island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 124px; height: 36px; border-radius: 20px; background: #000; }
.sb-right { display: flex; gap: 6px; align-items: center; }

/* ---------- 主屏 ---------- */
.home {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  padding: 80px 22px 0; color: #fff;
}
.lock-clock { text-align: center; margin-top: 34px; text-shadow: 0 1px 12px rgba(0,0,0,.15); }
.lc-date { font-size: 19px; font-weight: 600; opacity: .92; }
.lc-time { font-size: 104px; font-weight: 600; letter-spacing: -2px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.home-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 12px 12px; }
.search-pill {
  display: flex; align-items: center; gap: 5px; width: max-content; margin: 0 auto 14px; padding: 6px 14px;
  border-radius: 16px; font-size: 14px; color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.16); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 0 0 .5px rgba(255,255,255,.28);
}
.dock {
  height: 94px; border-radius: 36px; display: flex; justify-content: space-evenly; align-items: center; padding: 0 10px;
  background: rgba(255,255,255,.17); backdrop-filter: saturate(160%) blur(26px); -webkit-backdrop-filter: saturate(160%) blur(26px);
  box-shadow: inset 0 0 0 .5px rgba(255,255,255,.3);
}
.dock .app-icon span { display: none; }
.dock .app-icon .ic { width: 64px; height: 64px; border-radius: 15px; }
.app-icon { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; }
.app-icon .ic { width: 62px; height: 62px; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.18); transition: transform .15s; }
.app-icon:active .ic { transform: scale(.92); filter: brightness(.85); }
.app-icon .ic svg { width: 100%; height: 100%; display: block; }
.app-icon span { font-size: 12px; text-shadow: 0 1px 3px rgba(0,0,0,.35); }

.home-indicator {
  position: absolute; left: 50%; transform: translateX(-50%); width: 220px; bottom: 0; height: 34px; z-index: 70; touch-action: none;
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; cursor: pointer;
}
.home-indicator span { width: 136px; height: 5px; border-radius: 3px; background: #000; transition: background .3s; }
.screen.sb-light .home-indicator span { background: #fff; }

/* 浅色壁纸：主屏文字改深色 */
.screen.wp-light .home { color: #1C1C1E; }
.screen.wp-light .lock-clock { text-shadow: none; }
.screen.wp-light .lc-date { opacity: .75; }
.screen.wp-light .search-pill { color: rgba(0,0,0,.6); background: rgba(255,255,255,.45); box-shadow: inset 0 0 0 .5px rgba(0,0,0,.08); }
.screen.wp-light .dock { background: rgba(255,255,255,.42); box-shadow: inset 0 0 0 .5px rgba(0,0,0,.06), 0 4px 24px rgba(0,0,0,.06); }

/* ---------- App 容器 ---------- */
.app-layer { position: absolute; inset: 0; z-index: 20; pointer-events: none; }
.app {
  position: absolute; inset: 0; background: #fff; overflow: hidden; pointer-events: auto;
  transform-origin: 0 0; border-radius: 56px;
  transition: transform .5s cubic-bezier(.22, .9, .26, 1), border-radius .5s, opacity .35s;
}
body.mobile .app { border-radius: 0; }
.app.opening, .app.closing { pointer-events: none; }
.pages { position: absolute; inset: 0; overflow: hidden; }
.page {
  position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; background: #fff;
  transition: transform .4s cubic-bezier(.25, .85, .3, 1), filter .4s;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.page::-webkit-scrollbar { display: none; }
.page.off { transform: translateX(100%); box-shadow: -10px 0 30px rgba(0,0,0,.08); }
.page.behind { transform: translateX(-28%); filter: brightness(.94); }

/* 导航栏 */
.nav {
  position: sticky; top: 0; z-index: 10; height: 98px; padding-top: 54px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.nav.gray { background: rgba(242,242,247,.85); }
.nav.scrolled { box-shadow: 0 .5px 0 var(--sep); }
.nav-back { justify-self: start; display: flex; align-items: center; gap: 5px; padding: 0 10px; color: var(--tint, var(--blue)); font-size: 17px; height: 44px; }
.nav-home {
  justify-self: start; margin-left: 14px; width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #000;
  background: rgba(255,255,255,.9); box-shadow: 0 1px 10px rgba(0,0,0,.12), inset 0 0 0 .5px rgba(0,0,0,.06);
}
.nav-home svg { height: 17px; width: auto; margin-left: -2px; }
.nav-home:active { transform: scale(.94); }
.nav-title { font-size: 17px; font-weight: 600; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.nav.show-title .nav-title, .nav.always .nav-title { opacity: 1; }
.nav-right { justify-self: end; padding-right: 16px; color: var(--tint, var(--blue)); font-size: 17px; display: flex; gap: 18px; }
.large-title { font-size: 34px; font-weight: 700; letter-spacing: .3px; padding: 2px 16px 10px; }
.search {
  margin: 0 16px 14px; height: 36px; border-radius: 10px; background: rgba(118,118,128,.12);
  display: flex; align-items: center; gap: 6px; padding: 0 8px; color: var(--gray); font-size: 17px;
}

/* ---------- 照片 ---------- */
.photos-root { padding-bottom: 90px; }
.photos-sub { padding-bottom: 110px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.cell { position: relative; aspect-ratio: 1; overflow: hidden; background: #eee; cursor: pointer; transition: opacity .45s, transform .45s; }
.cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cell:active img { filter: brightness(.8); }
.cell .days { position: absolute; left: 6px; bottom: 4px; color: #fff; font-size: 12px; font-weight: 600; text-shadow: 0 0 4px rgba(0,0,0,.5); }
.cell.vanish { opacity: 0; transform: scale(.85); }
.grid-foot { text-align: center; padding: 18px 0 10px; font-size: 15px; font-weight: 600; }
.grid-foot small { display: block; color: var(--gray); font-weight: 400; font-size: 13px; margin-top: 2px; }
.empty { text-align: center; color: var(--gray); padding: 160px 30px 0; }
.empty b { display: block; color: #000; font-size: 22px; margin-bottom: 8px; }
.hint { color: var(--gray); font-size: 13px; text-align: center; padding: 0 30px 14px; line-height: 1.45; }

.sec-title { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px 10px; font-size: 22px; font-weight: 700; }
.sec-title a { font-size: 17px; font-weight: 400; color: var(--blue); }
.album-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 16px; }
.album-card { cursor: pointer; }
.album-card .cover { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #eee; }
.album-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.album-card .t { font-size: 15px; margin-top: 6px; }
.album-card .n { font-size: 15px; color: var(--gray); }
.rows { margin: 4px 0 0 16px; }
.row { display: flex; align-items: center; gap: 12px; height: 46px; border-bottom: .5px solid var(--sep); padding-right: 16px; cursor: pointer; font-size: 17px; }
.row:active { background: #f2f2f2; }
.row .ri { color: var(--blue); width: 26px; display: flex; justify-content: center; }
.row .rt { flex: 1; }
.row .rn { color: var(--gray); }
.row .chev { color: #C4C4C7; }

.tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 84px; z-index: 15;
  display: flex; justify-content: space-around; padding-top: 7px;
  background: rgba(250,250,250,.9); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: .5px solid var(--sep);
}
.tab { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; color: var(--gray); width: 90px; }
.tab.active { color: var(--blue); }

/* 大图查看器（新版 iOS） */
.viewer {
  position: absolute; inset: 0; z-index: 30; background: #fff; color: #000; overflow: hidden;
  opacity: 0; pointer-events: none; transition: opacity .25s, background .25s;
}
.viewer.open { opacity: 1; pointer-events: auto; }
.v-stage { position: absolute; inset: 0; transition: transform .45s cubic-bezier(.25,.85,.3,1); }
.v-track { position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; touch-action: pan-x; }
.v-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 112px 0 150px; }
.slide img { max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: center; will-change: transform; }
.viewer.zoomed .v-track { touch-action: none; }
.viewer.zoomed .slide img { cursor: grab; }
.v-top, .v-strip, .v-bar { position: absolute; z-index: 3; transition: opacity .2s; }
.v-top { top: 54px; left: 14px; right: 14px; height: 50px; display: grid; grid-template-columns: 50px 1fr 50px; align-items: center; }
.v-circle, .v-group, .v-cap, .v-pill {
  background: rgba(255,255,255,.8); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 2px 14px rgba(0,0,0,.12), inset 0 0 0 .5px rgba(0,0,0,.06);
}
.v-circle { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #000; }
.v-pill { justify-self: center; border-radius: 24px; padding: 6px 24px; text-align: center; line-height: 1.2; min-width: 120px; }
.v-pill b { display: block; font-size: 15px; font-weight: 600; }
.v-pill span { font-size: 12px; color: #3c3c43; }
.v-pill span:empty { display: none; }
.v-strip { left: 0; right: 0; bottom: 98px; height: 40px; overflow-x: auto; scrollbar-width: none; }
.v-strip::-webkit-scrollbar { display: none; }
.v-strip-in { display: flex; gap: 2px; height: 100%; padding: 0 50%; width: max-content; }
.th { flex: none; width: 26px; height: 40px; overflow: hidden; padding: 0; transition: width .2s, margin .2s; }
.th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.th.cur { width: 48px; margin: 0 6px; }
.v-bar { left: 16px; right: 16px; bottom: 30px; height: 50px; display: flex; align-items: center; justify-content: space-between; }
.v-group { height: 48px; border-radius: 24px; display: flex; align-items: center; gap: 2px; padding: 0 8px; }
.v-group button { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: #000; }
.v-cap { height: 48px; border-radius: 24px; padding: 0 22px; font-size: 17px; font-weight: 600; }
.v-cap.danger { color: var(--red); }
.v-cap.accent { color: var(--blue); }
.i-on { display: none; }
.viewer.info-open .i-on { display: block; }
.viewer.info-open .i-off { display: none; }
.viewer.info-open .v-top, .viewer.info-open .v-strip { opacity: 0; pointer-events: none; }
.viewer.chrome-off { background: #000; }
.viewer.chrome-off .v-top, .viewer.chrome-off .v-strip, .viewer.chrome-off .v-bar { opacity: 0; pointer-events: none; }

/* 信息面板 */
.v-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; max-height: 72%; overflow-y: auto; scrollbar-width: none;
  background: #F2F2F7; padding-bottom: 104px; transform: translateY(100%);
  transition: transform .45s cubic-bezier(.25,.85,.3,1); box-shadow: 0 -.5px 0 rgba(0,0,0,.08);
}
.v-info::-webkit-scrollbar { display: none; }
.viewer.info-open .v-info { transform: none; }
.vi-cap { background: #fff; padding: 15px 16px; font-size: 17px; min-height: 52px; outline: none; cursor: text; user-select: text; -webkit-user-select: text; caret-color: var(--blue); word-break: break-word; }
.vi-cap:empty::before { content: attr(data-ph); color: #8E8E93; }
.vi-body { padding: 16px 16px 0; }
.vi-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.vi-row b { font-size: 16px; font-weight: 600; }
.vi-link { color: var(--blue); font-size: 16px; flex: none; }
.vi-code { color: #8E8E93; font-size: 15px; margin-top: 3px; }
.vi-card { margin-top: 14px; border-radius: 12px; overflow: hidden; background: #E5E5EA; }
.vi-card-h { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; background: #D9D9DE; font-size: 15px; font-weight: 600; }
.vi-badges { display: flex; align-items: center; gap: 8px; color: #8E8E93; }
.vi-badges em { font-style: normal; font-size: 11px; font-weight: 600; border-radius: 4px; padding: 1px 5px; background: #F2F2F7; color: #8E8E93; }
.vi-card-b { padding: 10px 12px 12px; line-height: 1.45; }
.vi-place { font-size: 15px; color: #3C3C43; }
.vi-card-b .g { font-size: 14px; color: #8E8E93; }
.vi-card-f { display: grid; grid-template-columns: repeat(5, 1fr); border-top: .5px solid rgba(60,60,67,.2); padding: 8px 0; color: #8E8E93; font-size: 13px; text-align: center; }
.vi-card-f span + span { border-left: .5px solid rgba(60,60,67,.25); }

/* ---------- 系统提示框 ---------- */
.alert-layer { position: absolute; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.alert-layer.open { pointer-events: auto; }
.alert-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.28); opacity: 0; transition: opacity .25s; }
.alert-layer.open .alert-backdrop { opacity: 1; }
.alert {
  position: relative; width: 300px; padding: 22px 18px 16px; border-radius: 32px; text-align: center;
  background: rgba(250,250,250,.9); backdrop-filter: saturate(180%) blur(30px); -webkit-backdrop-filter: saturate(180%) blur(30px);
  box-shadow: 0 10px 40px rgba(0,0,0,.18); opacity: 0; transform: scale(1.12); transition: opacity .22s, transform .3s cubic-bezier(.2,.9,.3,1.2);
}
.alert-layer.open .alert { opacity: 1; transform: none; }
.alert h3 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.alert p { font-size: 14px; color: #3c3c43; line-height: 1.4; }
.alert-btns { display: flex; gap: 10px; margin-top: 18px; }
.alert-btns button { flex: 1; height: 48px; border-radius: 24px; background: rgba(120,120,128,.14); font-size: 17px; color: #000; }
.alert-btns button.primary { color: var(--blue); font-weight: 600; }
.alert-btns button:active { background: rgba(120,120,128,.26); }

/* ---------- 底部操作表 ---------- */
.sheet-layer { position: absolute; inset: 0; z-index: 80; pointer-events: none; }
.sheet-layer.open { pointer-events: auto; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.4); opacity: 0; transition: opacity .25s; }
.sheet-layer.open .sheet-backdrop { opacity: 1; }
.sheet { position: absolute; left: 8px; right: 8px; bottom: 30px; transform: translateY(120%); transition: transform .32s cubic-bezier(.2,.9,.3,1); }
.sheet-layer.open .sheet { transform: none; }
.sheet-group { background: rgba(245,245,245,.92); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); border-radius: 14px; overflow: hidden; margin-bottom: 8px; }
.sheet-msg { font-size: 13px; color: var(--gray); text-align: center; padding: 14px 16px; line-height: 1.4; border-bottom: .5px solid var(--sep); }
.sheet-btn { display: block; width: 100%; height: 57px; font-size: 20px; color: var(--blue); border-bottom: .5px solid var(--sep); }
.sheet-btn:last-child { border-bottom: 0; }
.sheet-btn:active { background: rgba(0,0,0,.06); }
.sheet-btn.destructive { color: var(--red); }
.sheet-btn.cancel { font-weight: 600; background: #fff; }

/* ---------- 备忘录 ---------- */
.app.notes { --tint: #E0A400; }
.notes-root { background: var(--bg2); padding-bottom: 90px; }
.list-group { margin: 0 16px; background: #fff; border-radius: 10px; overflow: hidden; }
.note-item { padding: 11px 16px 11px 0; margin-left: 16px; border-bottom: .5px solid var(--sep); cursor: pointer; }
.note-item:last-child { border-bottom: 0; }
.note-item:active { background: #f4f4f4; }
.note-item .t { font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note-item .m { font-size: 15px; color: var(--gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.note-item .m b { color: #3c3c43; font-weight: 400; margin-right: 8px; }
.notes-bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 84px; z-index: 5; padding: 10px 18px 0;
  display: flex; justify-content: space-between; align-items: flex-start; font-size: 11px; color: #3c3c43;
  background: rgba(249,249,249,.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.notes-bar .c { padding-top: 6px; }
.notes-bar .ico { color: var(--tint); width: 28px; }
.note-body { padding: 0 20px 120px; min-height: calc(100% - 98px); cursor: text; }
.note-content { position: relative; outline: none; min-height: 420px; caret-color: var(--tint); }
.note-content[contenteditable="true"], .note-content[contenteditable="true"] * { user-select: text; -webkit-user-select: text; }
.note-content.blank::before { content: '标题'; position: absolute; top: 0; left: 0; font-size: 28px; font-weight: 700; color: #C7C7CC; pointer-events: none; }
.note-content figure[contenteditable="false"] { user-select: none; }
.nav-right .done { color: var(--tint); font-weight: 600; font-size: 17px; }
[hidden] { display: none !important; }
.notes-bar .ico { display: flex; justify-content: flex-end; }
.note-body .nd { text-align: center; color: var(--gray); font-size: 13px; margin: 2px 0 12px; }
.note-body h1 { font-size: 28px; font-weight: 700; margin-bottom: 10px; line-height: 1.25; }
.note-body h2 { font-size: 22px; font-weight: 700; margin: 16px 0 8px; }
.note-body p { font-size: 17px; line-height: 1.55; margin-bottom: 8px; white-space: pre-wrap; user-select: text; -webkit-user-select: text; }
.note-body figure { margin: 10px 0 14px; }
.note-body figure img { width: 100%; border-radius: 10px; display: block; cursor: zoom-in; }
.note-body figcaption { font-size: 13px; color: var(--gray); margin-top: 6px; }

/* ---------- 语音备忘录 ---------- */
.nav-circle { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #000;
  background: rgba(255,255,255,.9); box-shadow: 0 1px 10px rgba(0,0,0,.12), inset 0 0 0 .5px rgba(0,0,0,.06); }
.nav-circle svg { width: 20px; height: 20px; }
.nav-pill { height: 38px; padding: 0 15px; border-radius: 19px; display: flex; align-items: center; font-size: 16px; color: #000;
  background: rgba(255,255,255,.9); box-shadow: 0 1px 10px rgba(0,0,0,.12), inset 0 0 0 .5px rgba(0,0,0,.06); }
.nav-pill.dim { color: #B5B5BA; }
.nav-right:has(.nav-circle) { gap: 10px; padding-right: 14px; }
.vm-home { background: var(--bg2); }
.vm-card { margin: 4px 16px; background: #fff; border-radius: 14px; overflow: hidden; }
.vm-folder { display: flex; align-items: center; height: 48px; padding-left: 16px; cursor: pointer; }
.vm-folder:active { background: #F0F0F3; }
.vm-folder + .vm-folder .vf-t, .vm-folder + .vm-folder .vf-n, .vm-folder + .vm-folder .vf-c { border-top: .5px solid var(--sep); }
.vf-ic { width: 30px; color: var(--blue); display: flex; }
.vf-ic svg { width: 22px; height: 22px; }
.vf-t, .vf-n, .vf-c { height: 100%; display: flex; align-items: center; }
.vf-t { flex: 1; padding-left: 8px; font-size: 16px; }
.vf-n { color: var(--gray); font-size: 16px; padding-right: 10px; }
.vf-c { color: #C4C4C7; padding-right: 16px; }
.vm-all { display: flex; flex-direction: column; }
.vm-all > * { flex: none; }
.siri { display: flex; align-items: center; gap: 8px; margin: 0 16px 6px; padding: 7px 10px; border-radius: 10px; background: #F0F0F3; font-size: 13px; color: #3C3C43; }
.siri b { font-weight: 600; color: #000; }
.siri span:nth-child(2) { flex: 1; }
.siri-orb { width: 22px; height: 22px; border-radius: 50%; flex: none; background: conic-gradient(from 200deg, #5AC8FA, #AF52DE, #FF2D55, #FF9500, #5AC8FA); box-shadow: inset 0 0 0 3px rgba(255,255,255,.35); }
.siri-x { color: #6b6b70; font-size: 14px; padding: 2px 4px; }
.vm-list { margin-left: 16px; }
.vm { border-bottom: .5px solid var(--sep); padding: 10px 16px 10px 0; cursor: pointer; }
.vm-title { font-size: 16px; font-weight: 600; }
.vm-meta { display: flex; align-items: center; color: var(--gray); font-size: 15px; margin-top: 2px; font-variant-numeric: tabular-nums; }
.vm-meta span:first-child { flex: 1; }
.vm-more { display: none; color: var(--blue); }
.vm.open .vm-dur { display: none; }
.vm.open .vm-more { display: flex; }
.vm-body { display: none; padding-top: 20px; cursor: default; }
.vm.open .vm-body { display: block; }
.vm-track { position: relative; height: 22px; cursor: pointer; touch-action: none; }
.vm-track::before { content: ''; position: absolute; left: 0; right: 0; top: 8px; height: 6px; border-radius: 3px; background: #E5E5EA; }
.vm-fill { position: absolute; left: 0; top: 8px; height: 6px; border-radius: 3px; background: #8E8E93; width: 0; }
.vm-knob { position: absolute; top: 3px; width: 3px; height: 16px; margin-left: -1.5px; border-radius: 2px; background: #3A3A3C; left: 0; opacity: 0; transition: opacity .2s; }
.vm.open .vm-fill[style*="width"]:not([style*="width: 0"]) + .vm-knob { opacity: 1; }
.vm-times { display: flex; justify-content: space-between; font-size: 12px; color: var(--gray); margin-top: 2px; font-variant-numeric: tabular-nums; }
.vm-ctrls { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 6px; }
.vm-ctrls .side { color: var(--blue); width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; }
.vm-ctrls .mid { display: flex; align-items: center; gap: 34px; }
.vm-ctrls .mid button { display: flex; align-items: center; justify-content: center; color: #000; }
.vm-ctrls .play { width: 40px; height: 40px; }
.rec-wrap { position: sticky; bottom: 0; margin-top: auto; height: 150px; display: flex; justify-content: center; align-items: flex-start; padding-top: 46px; pointer-events: none;
  background: linear-gradient(rgba(255,255,255,0), #fff 40%); }
.rec-btn { width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.14); display: flex; align-items: center; justify-content: center; }
.rec-btn span { width: 54px; height: 54px; border-radius: 50%; background: #E5383B; }

/* ---------- 信息 ---------- */
.msg-root { padding-bottom: 40px; }
.msg-compose { display: flex; color: var(--blue); }
.msg-row { display: flex; align-items: flex-start; gap: 12px; padding: 0 0 0 16px; cursor: pointer; }
.msg-row:active { background: #EEF0F3; }
.msg-av { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #E3E3E8; margin-top: 11px; }
.msg-main { flex: 1; min-width: 0; padding: 10px 16px 11px 0; border-bottom: .5px solid var(--sep); }
.msg-row:last-child .msg-main { border-bottom: 0; }
.msg-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.msg-top b { font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-top span { flex: none; font-size: 15px; color: var(--gray); display: flex; align-items: center; gap: 6px; }
.msg-top i { color: #C4C4C7; display: flex; }
.msg-top i svg { height: 12px; width: auto; }
.msg-pre { font-size: 15px; color: var(--gray); line-height: 1.35; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.chat { display: flex; flex-direction: column; background: #fff; }
.chat-nav {
  position: sticky; top: 0; z-index: 5; flex: none; height: 100px; padding: 54px 12px 0; display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 .5px 0 var(--sep);
}
.chat-back { color: var(--blue); width: 32px; height: 44px; display: flex; align-items: center; padding-left: 4px; }
.chat-name { font-size: 17px; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.chat-name i { color: #C4C4C7; display: flex; }
.chat-name i svg { height: 12px; width: auto; }
.chat-body { flex: 1; padding: 6px 14px 16px; }
.bub-date { text-align: center; font-size: 12px; color: var(--gray); margin: 18px 0 8px; font-weight: 500; }
.bub-row { display: flex; margin-top: 3px; }
.bub-row.gap { margin-top: 10px; }
.bub-row.me { justify-content: flex-end; }
.bub { max-width: 76%; padding: 8px 13px; border-radius: 19px; font-size: 16px; line-height: 1.38; white-space: pre-wrap; word-break: break-word; user-select: text; -webkit-user-select: text; }
.bub-row.me .bub { background: #0A84FF; color: #fff; }
.bub-row.them .bub { background: #E9E9EB; color: #000; }
.bub-img { width: 190px; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: #E9E9EB; }
.bub-img img { width: 100%; display: block; }
.chat-input {
  position: sticky; bottom: 0; z-index: 5; flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 14px 40px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.ci-plus { width: 34px; height: 34px; border-radius: 50%; background: #EDEDF0; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #6b6b70; }
.ci-box { flex: 1; height: 36px; border-radius: 18px; border: .5px solid #C9C9CE; display: flex; align-items: center; padding: 0 14px; color: #B0B0B5; font-size: 16px; }
.ci-send { width: 30px; height: 30px; border-radius: 50%; background: #E3E3E8; color: #fff; display: flex; align-items: center; justify-content: center; margin-left: -46px; }
.msg-photo { position: absolute; inset: 0; z-index: 40; background: #000; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .22s; cursor: zoom-out; }
.msg-photo.open { opacity: 1; }
.msg-photo img { max-width: 100%; max-height: 100%; object-fit: contain; }
