/* ============================================================
   档案管理库 · ARCHIVE SYSTEM · 暗色调档案风格
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --bg-deep:     #0d0d12;
  --bg-panel:    #14141c;
  --bg-card:     #1a1a25;
  --bg-surface:  #1f1f2c;
  --bg-input:    #0a0a10;
  --border:      #2a2a3a;
  --border-light:#3a3a4e;
  --text-primary:#d4d4dc;
  --text-secondary:#8a8a9a;
  --text-muted: #555566;
  --accent:     #c0392b;
  --accent-dim: #8b1a1a;
  --accent-gold:#b8963e;
  --highlight:  #e8d44d;
  --link:       #6ba4d4;
  --stamp:      rgba(192,57,43,0.12);
  --green:      #4a9;
  --red:        #c0392b;
  --font-mono:  'Cascadia Code', 'Fira Code', 'JetBrains Mono', 'Courier New', monospace;
  --font-sans:  'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.5);
  --radius:     4px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--highlight); }
::selection { background: var(--accent-dim); color: #fff; }

/* ============================================================
   PASSWORD GATE · 密码门禁
   ============================================================ */
.gate {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  background: radial-gradient(ellipse at center, #1a1a28 0%, #0a0a10 100%);
}
.gate__overlay {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.15) 2px, rgba(0,0,0,0.15) 4px);
  pointer-events: none;
}
.gate__box {
  position: relative;
  width: 420px; max-width: 92vw;
  padding: 48px 36px 36px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card), inset 0 0 60px rgba(0,0,0,0.4);
  text-align: center;
  animation: gateIn 0.6s ease-out;
}
@keyframes gateIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.gate__stamp {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%) rotate(-8deg);
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  border: 2px solid var(--accent); padding: 4px 16px;
  background: var(--bg-deep);
}
.gate__icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  background: var(--accent-dim); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 700;
}
.gate__title {
  font-family: var(--font-mono); font-size: 1.25rem;
  letter-spacing: 0.2em; color: var(--text-primary);
  margin-bottom: 4px;
}
.gate__subtitle {
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.25em; color: var(--text-muted);
}
.gate__divider {
  width: 60px; height: 1px; background: var(--border-light);
  margin: 24px auto;
}
.gate__warning {
  font-size: 0.75rem; color: var(--accent);
  letter-spacing: 0.05em; margin-bottom: 24px;
}
.gate__form { text-align: left; }
.gate__label {
  display: block; font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.1em;
  color: var(--text-secondary); margin-bottom: 8px;
  text-transform: uppercase;
}
.gate__input-wrap {
  position: relative;
}
.gate__input {
  width: 100%; padding: 14px 16px;
  background: var(--bg-input); border: 1px solid var(--border);
  color: var(--highlight); font-family: var(--font-mono);
  font-size: 1rem; letter-spacing: 0.1em;
  outline: none; transition: border-color 0.2s;
}
.gate__input:focus { border-color: var(--accent); }
.gate__input::placeholder { color: var(--text-muted); }
.gate__cursor {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--highlight); font-size: 1rem;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.gate__hint {
  font-size: 0.7rem; color: var(--text-muted);
  margin-top: 6px; min-height: 1.2em;
}
.gate__error {
  color: var(--red); font-size: 0.75rem;
  margin-top: 8px; min-height: 1.2em;
  font-family: var(--font-mono);
}
.gate__btn {
  width: 100%; padding: 14px; margin-top: 16px;
  background: transparent; border: 1px solid var(--accent);
  color: var(--accent); font-family: var(--font-mono);
  font-size: 0.8rem; letter-spacing: 0.15em;
  cursor: pointer; transition: all 0.25s;
}
.gate__btn:hover {
  background: var(--accent); color: #fff;
}
.gate__footer {
  margin-top: 24px; font-family: var(--font-mono);
  font-size: 0.6rem; letter-spacing: 0.08em;
  color: var(--text-muted);
}
.gate__footer span { color: var(--text-secondary); }

/* gate shake animation on error */
.gate__box.shake {
  animation: shake 0.4s ease;
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%     { transform: translateX(-8px); }
  40%     { transform: translateX(8px); }
  60%     { transform: translateX(-6px); }
  80%     { transform: translateX(6px); }
}

/* ============================================================
   MAIN APP · 主体界面
   ============================================================ */
.app {
  min-height: 100vh;
  display: flex; flex-direction: column;
}

/* --- Watermark --- */
.watermark {
  position: fixed; top: 50%; left: 0; right: 0;
  transform: translateY(-50%) rotate(-20deg);
  font-family: var(--font-mono); font-size: 2rem;
  font-weight: 900; letter-spacing: 0.3em;
  color: rgba(192,57,43,0.03); white-space: nowrap;
  pointer-events: none; z-index: 0;
  user-select: none;
}

/* --- Header --- */
.header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 52px;
  background: var(--bg-panel); border-bottom: 1px solid var(--border);
  gap: 20px;
}
.header__badge {
  font-family: var(--font-mono); font-size: 0.7rem;
  font-weight: 700; letter-spacing: 0.12em;
  color: #fff; background: var(--accent-dim);
  padding: 4px 12px;
}
.header__id {
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--text-muted); margin-left: 8px;
  letter-spacing: 0.05em;
}
.header__left, .header__right {
  display: flex; align-items: center; gap: 12px;
}
.header__nav {
  display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; align-items: center;
}
.header__nav a {
  display: block; padding: 6px 14px;
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.06em; color: var(--text-secondary);
  border: 1px solid transparent; transition: all 0.2s;
}
.header__nav a:hover, .header__nav a.active {
  color: var(--highlight); border-color: var(--border-light);
  text-decoration: none; background: var(--bg-surface);
}

/* ── 下拉菜单 ── */
.nav-dropdown {
  position: relative;
}
.nav-dropdown__trigger {
  display: block; padding: 6px 14px;
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.06em; color: var(--text-secondary);
  border: 1px solid transparent; cursor: pointer;
  transition: all 0.2s; user-select: none;
  white-space: nowrap;
}
.nav-dropdown__trigger:hover,
.nav-dropdown__trigger--hover,
.nav-dropdown__trigger.active {
  color: var(--highlight); border-color: var(--border-light);
  background: var(--bg-surface);
}
.nav-dropdown__menu {
  display: none; position: absolute; top: 100%; left: 0;
  min-width: 100px; background: var(--bg-panel);
  border: 1px solid var(--border-light);
  z-index: 200; flex-direction: column;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}
.nav-dropdown__menu--open {
  display: flex;
}
.nav-sublink {
  display: block; padding: 8px 16px !important;
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.06em; color: var(--text-secondary) !important;
  border: none !important; text-align: left;
  transition: all 0.15s; white-space: nowrap;
}
.nav-sublink:hover {
  color: var(--highlight) !important;
  background: var(--bg-surface);
}
.nav-sublink.active {
  color: var(--highlight) !important;
  background: var(--bg-surface);
}
.header__lock {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.08em; color: var(--text-muted);
  background: transparent; border: 1px solid var(--border);
  padding: 6px 14px; cursor: pointer; transition: all 0.2s;
}
.header__lock:hover {
  color: var(--accent); border-color: var(--accent);
}

/* --- Content --- */
.content {
  position: relative; z-index: 1;
  flex: 1; padding: 32px 24px 48px;
  max-width: 900px; margin: 0 auto;
  width: 100%;
}

/* --- Folder Tab --- */
.folder-tab {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; margin-bottom: 28px;
  background: var(--bg-panel); border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
}
.folder-tab__label {
  font-family: var(--font-mono); font-size: 0.8rem;
  letter-spacing: 0.08em; color: var(--text-primary);
}
.folder-tab__count {
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--text-muted);
  background: var(--bg-surface); padding: 2px 10px;
}

/* --- Card Grid --- */
.card-grid {
  display: flex; flex-direction: column; gap: 16px;
}
.article-card {
  display: block; padding: 24px 28px;
  background: var(--bg-card); border: 1px solid var(--border);
  cursor: pointer; transition: all 0.25s;
  text-decoration: none; color: inherit;
  position: relative; overflow: hidden;
}
.article-card:hover {
  border-color: var(--border-light);
  background: var(--bg-surface);
  transform: translateX(4px);
}
.article-card::before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent-dim);
  transition: background 0.2s;
}
.article-card:hover::before { background: var(--accent); }
.article-card__meta {
  display: flex; align-items: center; gap: 16px; margin-bottom: 10px;
  flex-wrap: wrap;
}
.article-card__date {
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--text-muted); letter-spacing: 0.05em;
}
.article-card__tags {
  display: flex; gap: 6px;
}
.article-card__tag {
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.06em; padding: 2px 8px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.article-card__tag--twitter  { border-color: #1d9bf0; color: #1d9bf0; }
.article-card__tag--memo     { border-color: var(--accent-gold); color: var(--accent-gold); }
.article-card__tag--album    { border-color: #c27ba0; color: #c27ba0; }
.article-card__tag--calllog  { border-color: var(--link); color: var(--link); }
.article-card__tag--cleanup  { border-color: #6b8e4e; color: #6b8e4e; }
.article-card__tag--doodle   { border-color: #5b7cb5; color: #5b7cb5; }
.article-card__tag--photobomb { border-color: #c0392b; color: #c0392b; }
.article-card__tag--cafebook  { border-color: #b8963e; color: #b8963e; }
.article-card__tag--doorlock  { border-color: #4ec9a0; color: #4ec9a0; }
.article-card__tag--shoplist  { border-color: #e8a540; color: #e8a540; }
.article-card__tag--hiddenphone  { border-color: #6ba4d4; color: #6ba4d4; }
.article-card__tag--surveillance  { border-color: #e8a540; color: #e8a540; }
.article-card__tag--chatphoto  { border-color: #c27ba0; color: #c27ba0; }
.article-card__tag--trashbin  { border-color: #6b8e4e; color: #6b8e4e; }
.article-card__tag--photobook { border-color: #8b7355; color: #8b7355; }
.article-card__tag--searchhist { border-color: #6ba4d4; color: #6ba4d4; }
.article-card__tag--chat     { border-color: var(--green); color: var(--green); }
.article-card__tag--rx       { border-color: var(--accent-gold); color: var(--accent-gold); }
.article-card__tag--prose    { border-color: var(--text-muted); color: var(--text-muted); }
.article-card__title {
  font-family: var(--font-mono); font-size: 1rem;
  font-weight: 600; letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.article-card__excerpt {
  font-size: 0.85rem; color: var(--text-muted);
  line-height: 1.6;
}

/* --- Back Button --- */
.back-btn {
  font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 0.06em; color: var(--link);
  background: transparent; border: none;
  cursor: pointer; padding: 0; margin-bottom: 24px;
  transition: color 0.2s;
}
.back-btn:hover { color: var(--highlight); }

/* --- Article --- */
.article {
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
}
.article__header {
  border-bottom: 1px dashed var(--border);
  padding-bottom: 24px; margin-bottom: 32px;
}
.article__title {
  font-family: var(--font-mono); font-size: 1.3rem;
  font-weight: 700; letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.article__meta-line {
  display: flex; gap: 20px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 0.65rem;
  color: var(--text-muted); letter-spacing: 0.05em;
}
.article__meta-line span { display: flex; align-items: center; gap: 6px; }
.article__body {
  font-size: 0.95rem; line-height: 1.9;
  color: var(--text-primary);
  text-align: justify;
  word-break: break-word;
  overflow-wrap: break-word;
}
/* 固定排版：每段首行缩进2字 + 段间空一行（line-height 1.9em 即"一行"）*/
.article__body p {
  margin: 0 0 1.9em;
  text-indent: 2em;
}
.article__body p:first-of-type { margin-top: 0; }
.article__body p:empty { display: none; }

/* 排除：引用/列表/代码块/图片说明/表单内 p 不缩进 */
.article__body blockquote p,
.article__body li p,
.article__body figcaption,
.article__body pre p,
.article__body .twitter-post__body p,
.article__body form p,
.article__body .password-form p {
  text-indent: 0;
  margin: 0 0 0.6em;
}
.article__body hr {
  border: none; border-top: 1px dashed var(--border);
  margin: 28px 0;
}
.article__footer {
  text-align: center; padding: 40px 0 20px;
}
.article__footer-text {
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.1em; color: var(--text-muted);
}

/* --- Footer --- */
.footer {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between;
  padding: 14px 24px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.05em; color: var(--text-muted);
  gap: 12px; flex-wrap: wrap;
}

/* ============================================================
   COMPONENT: TWITTER POST · 推特博文模拟
   ============================================================ */
.twitter-post {
  background: #000; border: 1px solid #2f3336;
  padding: 16px 20px; margin: 20px 0;
  color: #e7e9ea; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  max-width: 600px;
}
.twitter-post__header {
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 6px;
}
.twitter-post__avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: #2f3336; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; overflow: hidden;
}
.twitter-post__avatar img { width: 100%; height: 100%; object-fit: cover; }
.twitter-post__user {
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
}
.twitter-post__name {
  font-weight: 700; font-size: 0.9rem; color: #e7e9ea;
}
.twitter-post__verified {
  display: inline-flex; width: 18px; height: 18px; border-radius: 50%;
  background: #1d9bf0; align-items: center; justify-content: center;
  font-size: 0.6rem; color: #fff; font-weight: 700;
}
.twitter-post__handle {
  font-size: 0.85rem; color: #71767b;
  display: block;
}
.twitter-post__body {
  margin: 8px 0 12px 58px;
  font-size: 0.95rem; line-height: 1.5;
  white-space: pre-wrap; word-break: break-word;
}
.twitter-post__body a { color: #1d9bf0; }
.twitter-post__time {
  margin-left: 58px; font-size: 0.85rem; color: #71767b;
  margin-bottom: 8px;
}
.twitter-post__stats {
  margin-left: 58px; display: flex; gap: 24px;
  font-size: 0.8rem; color: #71767b;
  padding-top: 8px; border-top: 1px solid #2f3336;
}
.twitter-post__stat { display: flex; align-items: center; gap: 4px; }
.twitter-post__stat strong { color: #e7e9ea; }

.twitter-post--reply {
  border-left: 3px solid #1d9bf0;
}
.twitter-post--thread {
  position: relative;
}
.twitter-post--thread::before {
  content: ''; position: absolute;
  left: 39px; top: 64px; bottom: 0; width: 2px;
  background: #2f3336;
}

/* ============================================================
   COMPONENT: PRESCRIPTION · 处方记录模拟
   ============================================================ */
.rx-record {
  background: #fefef5; color: #1a1a1a;
  border: 1px solid #ccc; padding: 32px 28px;
  margin: 20px 0; max-width: 560px;
  font-family: 'Times New Roman', 'STSong', 'SimSun', 'Songti SC', serif;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.15);
  position: relative;
  /* paper texture */
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 100% 28px;
}
.rx-record__header {
  text-align: center; border-bottom: 2px solid #222;
  padding-bottom: 12px; margin-bottom: 16px;
}
.rx-record__hospital {
  font-size: 1.1rem; font-weight: 700; letter-spacing: 0.15em;
}
.rx-record__dept {
  font-size: 0.8rem; color: #555; margin-top: 2px;
}
.rx-record__title {
  font-size: 1.3rem; font-weight: 700; letter-spacing: 0.3em;
  margin: 6px 0;
}
.rx-record__info {
  display: flex; gap: 20px; flex-wrap: wrap;
  font-size: 0.85rem; margin-bottom: 14px;
}
.rx-record__info-item {
  display: flex; gap: 6px;
}
.rx-record__info-label { color: #555; }
.rx-record__info-value { font-weight: 600; }
.rx-record__table {
  width: 100%; border-collapse: collapse;
  font-size: 0.85rem; margin: 12px 0;
}
.rx-record__table th {
  background: #222; color: #fff; padding: 8px 10px;
  font-weight: 500; text-align: left; font-size: 0.8rem;
  letter-spacing: 0.05em;
}
.rx-record__table td {
  padding: 8px 10px;
  border-bottom: 1px solid #ddd;
}
.rx-record__table tr:last-child td { border-bottom: 2px solid #222; }
.rx-record__note {
  margin: 16px 0; font-size: 0.85rem; line-height: 1.7;
  padding: 12px; background: rgba(0,0,0,0.02);
  border-left: 3px solid #c0392b;
}
.rx-record__footer {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid #ccc;
  flex-wrap: wrap; gap: 12px;
}
.rx-record__doctor {
  font-size: 0.85rem;
}
.rx-record__doctor-name {
  font-weight: 700; font-size: 1.1rem;
  letter-spacing: 0.1em;
}
.rx-record__stamp {
  width: 80px; height: 80px; border: 3px solid #c0392b;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: #c0392b;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em;
  text-align: center; transform: rotate(-15deg);
  opacity: 0.75; line-height: 1.3;
}
.rx-record__date {
  font-size: 0.8rem; color: #555; text-align: right;
}
.rx-record__rx-symbol {
  position: absolute; top: 16px; left: 16px;
  font-size: 2rem; font-weight: 700; color: rgba(192,57,43,0.15);
}

/* ============================================================
   COMPONENT: CHAT · 聊天记录模拟
   ============================================================ */
.chat-log {
  background: #0a0a0a; border: 1px solid #333;
  margin: 20px 0; max-width: 480px;
}
.chat-log__header {
  display: flex; align-items: center; padding: 12px 16px;
  background: #1a1a1a; border-bottom: 1px solid #333;
  gap: 10px;
}
.chat-log__back {
  color: #999; font-size: 1rem; cursor: default;
}
.chat-log__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: #333; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}
.chat-log__contact {
  font-size: 0.9rem; font-weight: 600; color: #eee;
}
.chat-log__status {
  font-size: 0.65rem; color: #888;
}
.chat-log__body {
  padding: 12px 16px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 100px;
}
.chat-log__time-divider {
  text-align: center; font-size: 0.65rem; color: #666;
  margin: 4px 0;
}
.chat-msg {
  display: flex; gap: 8px; max-width: 85%;
}
.chat-msg--left  { align-self: flex-start; }
.chat-msg--right { align-self: flex-end; flex-direction: row-reverse; }
.chat-msg__avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: #333; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
}
.chat-msg__bubble {
  padding: 10px 14px; border-radius: 16px;
  font-size: 0.85rem; line-height: 1.5;
  white-space: pre-wrap; word-break: break-word;
}
.chat-msg--left  .chat-msg__bubble {
  background: #262626; color: #eee;
  border-bottom-left-radius: 4px;
}
.chat-msg--right .chat-msg__bubble {
  background: #1d4a6b; color: #eef;
  border-bottom-right-radius: 4px;
}
.chat-msg__time {
  font-size: 0.6rem; color: #666;
  align-self: flex-end;
  margin-bottom: 2px;
}

/* system message */
.chat-msg--system {
  align-self: center; max-width: 100%;
}
.chat-msg--system .chat-msg__bubble {
  background: transparent; color: #777;
  font-size: 0.7rem; text-align: center;
  padding: 2px 0;
}

/* notification */
.chat-notif {
  text-align: center; font-size: 0.7rem; color: #888;
  padding: 6px; margin: 4px 0;
  background: rgba(255,255,255,0.03);
}

/* ============================================================
   COMPONENT: MEMO · 手机备忘录模拟
   ============================================================ */
.memo-log {
  background: #0a0a0a; border: 1px solid #252525;
  margin: 20px 0; max-width: 500px;
  min-height: 200px;
}
.memo-log__header {
  display: flex; align-items: center; padding: 14px 18px;
  background: #141414; border-bottom: 1px solid #252525;
  gap: 10px;
}
.memo-log__back {
  color: var(--accent-gold); font-size: 0.9rem;
  cursor: default; flex-shrink: 0;
}
.memo-log__title {
  font-size: 0.95rem; font-weight: 600; color: #eee;
  letter-spacing: 0.04em;
}
.memo-log__body {
  padding: 0;
}
.memo-entry-out {
  padding: 20px 18px;
  border-bottom: 1px solid #1a1a1a;
}
.memo-entry-out:last-child {
  border-bottom: none;
}
.memo-entry-out__date {
  font-family: var(--font-mono);
  font-size: 0.8rem; font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.memo-entry-out__text {
  font-size: 0.85rem; color: #ccc;
  line-height: 1.9;
  white-space: pre-wrap;
  word-break: break-word;
}
.memo-entry-out__text strong {
  color: #e8d44d;
}
.memo-entry-out__text em {
  color: var(--text-secondary);
}

/* ============================================================
   COMPONENT: ALBUM · 手机相册模拟
   ============================================================ */
.album-log {
  background: #0a0a0a; border: 1px solid #252525;
  margin: 20px 0; max-width: 600px;
}
.album-log__header {
  display: flex; align-items: center; padding: 14px 18px;
  background: #141414; border-bottom: 1px solid #252525;
  gap: 10px;
}
.album-log__back {
  color: var(--accent-gold); font-size: 0.9rem;
  cursor: default; flex-shrink: 0;
}
.album-log__title {
  font-size: 0.95rem; font-weight: 600; color: #eee;
  letter-spacing: 0.04em; flex: 1;
}
.album-log__count {
  font-family: var(--font-mono);
  font-size: 0.7rem; color: var(--text-muted);
}
.album-log__grid {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.album-card {
  background: #1a1a1a; border: 1px solid #2a2a2a;
  overflow: hidden; transition: all 0.2s;
}
.album-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}
.album-card__img {
  height: 120px; background: #111;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #333;
  border-bottom: 1px solid #2a2a2a;
}
.album-card__caption {
  padding: 8px 10px 4px;
  font-family: var(--font-mono);
  font-size: 0.65rem; font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.04em;
}
.album-card__desc {
  padding: 0 10px 10px;
  font-size: 0.72rem; color: #999;
  line-height: 1.6;
  white-space: pre-wrap; word-break: break-word;
}
.album-card__desc strong { color: #e8d44d; }
.album-card__desc em { color: var(--text-secondary); }

/* ============================================================
   COMPONENT: CALL LOG · 通话记录模拟
   ============================================================ */
.call-log {
  background: #0a0a0a; border: 1px solid #252525;
  margin: 20px 0; max-width: 480px;
  min-height: 150px;
}
.call-log__header {
  display: flex; align-items: center; padding: 14px 18px;
  background: #141414; border-bottom: 1px solid #252525;
  gap: 10px;
}
.call-log__back {
  color: var(--accent-gold); font-size: 0.9rem;
  cursor: default; flex-shrink: 0;
}
.call-log__title {
  font-size: 0.9rem; font-weight: 600; color: #eee;
  letter-spacing: 0.04em;
}
.call-log__body {
  padding: 4px 0;
}
.call-item {
  display: flex; align-items: flex-start;
  padding: 12px 18px; gap: 12px;
  border-bottom: 1px solid #1a1a1a;
  transition: background 0.15s;
}
.call-item:last-child { border-bottom: none; }
.call-item:hover { background: rgba(255,255,255,0.02); }
.call-item__icon {
  font-size: 1.2rem; flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.call-item--incoming .call-item__icon {
  background: rgba(68,170,153,0.12); color: var(--green);
}
.call-item--outgoing .call-item__icon {
  background: rgba(107,164,212,0.12); color: var(--link);
}
.call-item--missed .call-item__icon {
  background: rgba(192,57,43,0.12); color: var(--red);
}
.call-item__info { flex: 1; min-width: 0; }
.call-item__name {
  font-size: 0.85rem; font-weight: 600; color: #eee;
  margin-bottom: 2px;
}
.call-item__number {
  font-family: var(--font-mono);
  font-size: 0.7rem; color: var(--text-muted);
  margin-left: 6px;
}
.call-item__meta {
  display: flex; gap: 12px; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.65rem; color: var(--text-muted);
}
.call-item__type {
  color: var(--text-secondary);
}
.call-item--incoming .call-item__type { color: var(--green); }
.call-item--outgoing .call-item__type { color: var(--link); }
.call-item--missed .call-item__type { color: var(--red); }
.call-item__note {
  margin-top: 4px;
  font-size: 0.7rem; color: var(--text-muted);
  line-height: 1.5;
  white-space: pre-wrap; word-break: break-word;
}
.call-item__note strong { color: #e8d44d; }
.call-item__action {
  color: var(--text-muted); font-size: 1rem;
  cursor: default; flex-shrink: 0; padding-top: 2px;
}

/* ============================================================
   COMPONENT: CLEANUP RECEIPT · 垃圾清理回执单
   ============================================================ */
.cleanup-receipt {
  background: #fafaf5;
  color: #1a1a1a;
  border: 1px solid #ccc;
  padding: 32px 28px 24px;
  margin: 20px 0; max-width: 600px;
  font-family: 'Times New Roman', 'STSong', 'SimSun', 'Songti SC', serif;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.12);
  position: relative;
}
.cleanup-receipt::before {
  content: '';
  position: absolute; inset: 8px;
  border: 2px solid rgba(0,0,0,0.04);
  pointer-events: none;
}
.cleanup-receipt__header {
  text-align: center; padding-bottom: 14px; margin-bottom: 16px;
  border-bottom: 2px solid #333;
}
.cleanup-receipt__title {
  font-size: 1.3rem; font-weight: 700;
  letter-spacing: 0.15em; margin-bottom: 4px;
}
.cleanup-receipt__subtitle {
  font-size: 0.6rem; font-weight: 400;
  color: #888; letter-spacing: 0.2em;
}
.cleanup-receipt__meta {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-size: 0.8rem; margin-bottom: 16px;
  padding: 0 0 12px; border-bottom: 1px dashed #ccc;
}
.cleanup-receipt__meta-item span { color: #666; }
.cleanup-receipt__meta-item strong { color: #1a1a1a; }
.cleanup-receipt__status--done { color: #2e7d32; }
.cleanup-receipt__status--pending { color: #e67e22; }
.cleanup-receipt__status--booked { color: var(--link); }
.cleanup-receipt__customer {
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px dashed #ccc;
}
.cleanup-receipt__section-title {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
  color: #444; margin-bottom: 8px;
  padding-left: 8px; border-left: 3px solid #6b8e4e;
}
.cleanup-receipt__customer-row {
  display: flex; gap: 20px; flex-wrap: wrap;
  font-size: 0.82rem;
}
.cleanup-receipt__customer-row label { color: #666; font-weight: 500; }
.cleanup-receipt__items {
  margin-bottom: 16px;
}
.cleanup-receipt__items table {
  width: 100%; border-collapse: collapse; font-size: 0.78rem;
  margin-top: 6px;
}
.cleanup-receipt__items table th {
  background: #2a2a2a; color: #eee; padding: 8px 10px;
  font-weight: 500; font-size: 0.7rem; text-align: center;
  letter-spacing: 0.05em;
}
.cleanup-receipt__items table th:first-child { text-align: left; }
.cleanup-receipt__items table td {
  padding: 8px 10px; border-bottom: 1px solid #e0e0e0;
  text-align: center;
}
.cleanup-receipt__items table td:first-child { text-align: left; }
.cleanup-receipt__items table td:last-child { text-align: right; font-family: var(--font-mono); }
.cleanup-receipt__items table th:last-child { text-align: right; }
.cleanup-receipt__items table tr:last-child td { border-bottom: 2px solid #333; }
.cleanup-receipt__summary {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 12px 0; margin-bottom: 14px;
  border-bottom: 1px dashed #ccc; gap: 16px; flex-wrap: wrap;
}
.cleanup-receipt__total {
  font-size: 1rem; font-weight: 700; flex-shrink: 0;
}
.cleanup-receipt__total strong { color: var(--accent); font-size: 1.3rem; }
.cleanup-receipt__staff {
  text-align: right; font-size: 0.78rem; color: #555;
  display: flex; flex-direction: column; gap: 4px;
}
.cleanup-receipt__staff strong { color: #e8d44d; }
.cleanup-receipt__footer {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding-top: 12px; border-top: 1px solid #ddd;
  gap: 16px; flex-wrap: wrap;
}
.cleanup-receipt__stamp {
  width: 72px; height: 72px; border: 3px solid #c0392b;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: #c0392b;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.1em;
  text-align: center; transform: rotate(-15deg);
  opacity: 0.7; line-height: 1.3; flex-shrink: 0;
}
.cleanup-receipt__disclaimer {
  font-size: 0.6rem; color: #999; text-align: right;
  line-height: 1.6;
}

/* ============================================================
   COMPONENT: DOODLE MEMO · 手写涂鸦备忘录
   ============================================================ */
.doodle-memo {
  display: flex; margin: 20px 0; max-width: 540px;
  position: relative;
}
/* 螺旋装订脊 */
.doodle-memo__spine {
  width: 36px; flex-shrink: 0;
  background: #2a2a2a;
  border-radius: 6px 0 0 6px;
  display: flex; flex-direction: column;
  align-items: center; gap: 12px;
  padding: 20px 0;
  position: relative;
}
.doodle-memo__spine-hole {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--bg-deep);
  border: 1px solid #444;
  flex-shrink: 0;
}
.doodle-memo__spine-ring {
  position: absolute; left: 9px;
  width: 22px; height: 16px; border-radius: 40%;
  border: 2px solid #666;
  background: transparent;
}
.doodle-memo__spine-ring:nth-of-type(9)  { top: 52px; }
.doodle-memo__spine-ring:nth-of-type(10) { top: 118px; }
.doodle-memo__spine-ring:nth-of-type(11) { top: 184px; }

/* 纸张页面 */
.doodle-memo__page {
  flex: 1; min-width: 0;
  background: #f5f0e3;
  color: #1a1a1a;
  border: 1px solid #d5cfc0;
  border-left: none;
  padding: 28px 24px 24px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 2px 2px 12px rgba(0,0,0,0.15);
}
/* 纸张纹理 */
.doodle-memo__page::before {
  content: ''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 27px, rgba(180,200,220,.6) 27px, rgba(180,200,220,.6) 28px);
  pointer-events: none; z-index: 0;
}
.doodle-memo[data-paper="grid"] .doodle-memo__page::before {
  background:
    repeating-linear-gradient(0deg, transparent, transparent 27px, rgba(180,200,220,.4) 27px, rgba(180,200,220,.4) 28px),
    repeating-linear-gradient(90deg, transparent, transparent 27px, rgba(180,200,220,.4) 27px, rgba(180,200,220,.4) 28px);
}
.doodle-memo[data-paper="blank"] .doodle-memo__page::before {
  background: none;
}
/* 红色左边距线 */
.doodle-memo__page::after {
  content: ''; position: absolute;
  left: 28px; top: 0; bottom: 0; width: 1px;
  background: rgba(220,80,80,.3);
  pointer-events: none; z-index: 0;
}
.doodle-memo[data-paper="blank"] .doodle-memo__page::after {
  display: none;
}
/* 墨水颜色覆盖 */
.doodle-memo[data-ink="blue"] .doodle-memo__entry-text,
.doodle-memo[data-ink="blue"] .doodle-memo__entry-date,
.doodle-memo[data-ink="blue"] .doodle-memo__title,
.doodle-memo[data-ink="blue"] .doodle-memo__signature {
  color: #1a3a6b;
}
.doodle-memo[data-ink="red"] .doodle-memo__entry-text,
.doodle-memo[data-ink="red"] .doodle-memo__entry-date,
.doodle-memo[data-ink="red"] .doodle-memo__title,
.doodle-memo[data-ink="red"] .doodle-memo__signature {
  color: #6b1a1a;
}

/* 胶带 */
.doodle-memo__tape {
  position: absolute; top: -8px; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 70px; height: 28px;
  background: rgba(220,210,180,.7);
  border: 1px solid rgba(180,160,120,.4);
  z-index: 2;
}
.doodle-memo__tape::before {
  content: '';
  position: absolute; top: 50%; left: -8px; right: -8px;
  height: 1px; background: rgba(180,160,120,.3);
}

/* 标题区 */
.doodle-memo__header {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin-bottom: 20px;
  position: relative; z-index: 1;
}
.doodle-memo__header-doodle {
  font-size: 1.2rem; opacity: 0.4; flex-shrink: 0;
}
.doodle-memo__title {
  font-family: 'Comic Sans MS','KaiTi','STKaiti','Segoe Script','Caveat',cursive;
  font-size: 1.15rem; font-weight: 700;
  text-align: center; letter-spacing: 0.06em;
  text-decoration: underline;
  text-decoration-color: rgba(200,180,80,.4);
  text-underline-offset: 6px;
}

/* 条目区 */
.doodle-memo__entries {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 18px;
}
.doodle-memo__entry {
  display: flex; gap: 10px;
  padding-left: 4px;
  position: relative;
}
.doodle-memo__margin-doodle {
  font-size: 0.9rem; opacity: 0.35;
  padding-top: 2px; flex-shrink: 0;
  width: 18px; text-align: center;
}
.doodle-memo__entry-body {
  flex: 1; min-width: 0;
}
.doodle-memo__entry-date {
  font-family: 'Comic Sans MS','KaiTi','STKaiti','Segoe Script','Caveat',cursive;
  font-size: 0.75rem; margin-bottom: 4px;
  opacity: 0.7; letter-spacing: 0.04em;
}
.doodle-memo__entry-text {
  font-family: 'Comic Sans MS','KaiTi','STKaiti','Segoe Script','Caveat',cursive;
  font-size: 0.88rem; line-height: 1.9;
  letter-spacing: 0.03em;
  white-space: pre-wrap; word-break: break-word;
}
.doodle-memo__entry-text strong {
  font-weight: 800; letter-spacing: 0.05em;
}
.doodle-memo__entry-text em {
  font-style: italic; opacity: 0.8;
  letter-spacing: 0.02em;
}
.doodle-memo__entry-text br {
  /* natural line breaks */
}
/* 涂鸦特有格式 */
.doodle-strike {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: inherit;
  opacity: 0.55;
  position: relative;
}
.doodle-strike::after {
  content: ''; position: absolute;
  left: -4px; right: -4px; top: 45%;
  height: 2px; background: currentColor;
  opacity: 0.3; transform: rotate(-1deg);
}
.doodle-underline {
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: rgba(200,180,80,.6);
  text-underline-offset: 3px;
}
.doodle-memo__corner-doodle {
  font-size: 0.85rem; opacity: 0.25;
  padding-top: 2px; flex-shrink: 0;
  width: 16px; text-align: center;
}

/* 落款 */
.doodle-memo__signature {
  font-family: 'Comic Sans MS','KaiTi','STKaiti','Segoe Script','Caveat',cursive;
  font-size: 0.9rem; text-align: right;
  margin-top: 20px; opacity: 0.85;
  letter-spacing: 0.08em;
  position: relative; z-index: 1;
}

/* 底部涂鸦装饰 */
.doodle-memo__footer-doodles {
  display: flex; justify-content: center; gap: 14px;
  margin-top: 18px; padding-top: 12px;
  border-top: 1px dashed rgba(180,170,150,.5);
  position: relative; z-index: 1;
}
.doodle-memo__footer-doodles span {
  font-size: 0.85rem; opacity: 0.3;
}

/* ============================================================
   COMPONENT: PHOTOBOMB BOX · 摄影废片箱
   ============================================================ */
.photobomb-box {
  margin: 20px 0; max-width: 620px;
  background: #0d0d0d;
  border: 1px solid #2a2a2a;
  overflow: hidden;
}
.photobomb-box__header {
  padding: 16px 20px 12px;
  background: #1a1a1a;
  border-bottom: 2px solid #333;
}
.photobomb-box__title {
  font-family: var(--font-mono);
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.1em; color: var(--accent);
  margin-bottom: 6px;
}
.photobomb-box__meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.6rem; color: var(--text-muted);
  letter-spacing: 0.05em;
}
.photobomb-box__strips {
  padding: 16px;
  display: flex; flex-direction: column; gap: 14px;
}
.photobomb__strip {
  display: flex; gap: 14px;
  padding: 10px 12px;
  background: #111;
  border: 1px solid #222;
  position: relative;
  overflow: hidden;
}
/* 胶片齿孔装饰 */
.photobomb__strip::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 8px;
  background:
    repeating-linear-gradient(0deg,
      transparent 0px, transparent 8px,
      #1a1a1a 8px, #1a1a1a 12px,
      transparent 12px, transparent 20px);
}
.photobomb__strip::after {
  content: '';
  position: absolute; right: 0; top: 0; bottom: 0; width: 8px;
  background:
    repeating-linear-gradient(0deg,
      transparent 0px, transparent 8px,
      #1a1a1a 8px, #1a1a1a 12px,
      transparent 12px, transparent 20px);
}
.photobomb__frame {
  flex: 1; min-width: 0;
  padding: 6px 12px;
  display: flex; flex-direction: column; gap: 6px;
  position: relative; z-index: 1;
}
.photobomb__img {
  height: 140px; background: #1a1a1a;
  border: 1px solid #2a2a2a;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: #2a2a2a;
  position: relative; overflow: hidden;
}
/* 模拟损坏效果 */
.photobomb__img::before {
  content: '🎞';
  opacity: 0.3; font-size: 3rem;
}
/* 过曝效果 */
.photobomb-box[data-film="彩色负片"] .photobomb__strip:nth-child(1) .photobomb__img,
.photobomb-box[data-film="过期胶片"] .photobomb__strip:nth-child(1) .photobomb__img {
  background: linear-gradient(45deg, #fff2e0, #ffd4a8, #fff2e0);
  border-color: #e8c080;
}
/* 欠曝 */
.photobomb__strip:nth-child(2) .photobomb__img {
  background: #050505 !important;
  border-color: #111 !important;
}
/* 漏光 */
.photobomb__strip:nth-child(3) .photobomb__img {
  background: linear-gradient(135deg, #0a0a0a 60%, #ff6b1a 95%, #ff9500 100%) !important;
  border-color: #ff6b1a !important;
}
/* 双重曝光 */
.photobomb__strip:nth-child(4) .photobomb__img {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(200,150,100,.15), transparent 60%),
    radial-gradient(ellipse at 65% 60%, rgba(100,150,200,.15), transparent 60%),
    #0a0a0a !important;
  border-color: rgba(150,150,200,.3) !important;
}
.photobomb__caption {
  font-family: var(--font-mono);
  font-size: 0.68rem; font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}
.photobomb__desc {
  font-size: 0.72rem; color: var(--text-muted);
  line-height: 1.6;
  white-space: pre-wrap; word-break: break-word;
}
.photobomb__desc strong { color: var(--highlight); }
.photobomb__desc em { color: var(--text-secondary); }

.photobomb__reject-tag {
  flex-shrink: 0; width: 100px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  padding: 8px;
  border-left: 1px dashed #333;
  position: relative; z-index: 1;
}
.photobomb__reject-stamp {
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-size: 0.75rem; font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.15em;
  border: 2px solid var(--accent);
  padding: 4px 10px;
  transform: rotate(-6deg);
  opacity: 0.85;
}
.photobomb__reject-reason {
  font-family: var(--font-mono);
  font-size: 0.58rem; color: var(--text-muted);
  text-align: center;
}
.photobomb-box__footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 20px;
  background: #1a1a1a; border-top: 2px solid #333;
  gap: 10px; flex-wrap: wrap;
}
.photobomb-box__frame-num {
  font-family: var(--font-mono);
  font-size: 0.6rem; color: var(--text-muted);
}
.photobomb-box__reject-all {
  font-family: var(--font-mono);
  font-size: 0.65rem; font-weight: 700;
  color: var(--accent); letter-spacing: 0.1em;
}

/* ============================================================
   COMPONENT: CAFEBOOK · 咖啡厅留言本
   ============================================================ */
.cafebook {
  margin: 20px 0; max-width: 500px;
  position: relative;
}
/* 封面 */
.cafebook__cover {
  background: linear-gradient(135deg, #5c3a1e, #3e2210);
  color: #e8d4b0;
  padding: 28px 24px 20px;
  text-align: center;
  border: 2px solid #3e2210;
  position: relative;
  box-shadow: 2px 4px 16px rgba(0,0,0,0.4);
}
.cafebook__cover::before {
  content: '';
  position: absolute; inset: 6px;
  border: 1px solid rgba(232,212,176,.2);
  pointer-events: none;
}
.cafebook__cover-title {
  font-family: 'Comic Sans MS','KaiTi','STKaiti','Segoe Script','Caveat',cursive;
  font-size: 1.5rem; font-weight: 700;
  letter-spacing: 0.25em;
  text-shadow: 1px 1px 2px rgba(0,0,0,.4);
}
.cafebook__cover-sub {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 0.65rem; letter-spacing: 0.3em;
  opacity: 0.5; margin-bottom: 10px;
  text-transform: uppercase;
}
.cafebook__cover-cafe {
  font-family: var(--font-mono);
  font-size: 0.65rem; letter-spacing: 0.1em;
  opacity: 0.7; padding-top: 10px;
  border-top: 1px solid rgba(232,212,176,.2);
}
/* 纸张页面 */
.cafebook__page {
  background: #f4e9d2;
  color: #2a1a0a;
  padding: 24px 20px;
  position: relative;
  border: 1px solid #d5ceb5;
  border-top: none;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.15);
}
.cafebook__page::before {
  content: ''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 31px, rgba(0,0,0,.03) 31px, rgba(0,0,0,.03) 32px);
  pointer-events: none; z-index: 0;
}
/* 咖啡渍 */
.cafebook__coffee-stain {
  position: absolute; z-index: 0;
  pointer-events: none;
}
.cafebook__coffee-stain--1,
.cafebook__coffee-stain:not(.cafebook__coffee-stain--2) {
  bottom: 40px; right: 20px;
  width: 80px; height: 80px; border-radius: 50%;
  background: radial-gradient(circle,
    rgba(139,90,43,.18) 0%, rgba(139,90,43,.1) 40%,
    rgba(139,90,43,.04) 70%, transparent 100%);
}
.cafebook__coffee-stain--2 {
  top: 15%; left: 10%;
  width: 55px; height: 55px; border-radius: 50%;
  background: radial-gradient(circle,
    rgba(139,90,43,.12) 0%, rgba(139,90,43,.06) 45%,
    rgba(139,90,43,.02) 70%, transparent 100%);
}
/* 留言条目 */
.cafebook__entries {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 20px;
}
.cafebook__entry {
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(139,100,60,.2);
}
.cafebook__entry:last-child { border-bottom: none; }
.cafebook__entry-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 8px;
}
.cafebook__entry-author {
  font-family: 'Comic Sans MS','KaiTi','STKaiti','Segoe Script','Caveat',cursive;
  font-size: 0.78rem; font-weight: 700;
  color: #5c3a1e;
  letter-spacing: 0.05em;
}
.cafebook__entry:nth-child(odd) .cafebook__entry-author {
  font-style: italic;
}
.cafebook__entry-mood {
  font-size: 0.85rem;
}
.cafebook__entry-date {
  font-family: 'Comic Sans MS','KaiTi','STKaiti','Segoe Script','Caveat',cursive;
  font-size: 0.65rem; color: #8b6b4a;
  margin-left: auto;
  letter-spacing: 0.03em;
}
.cafebook__entry-text {
  font-family: 'Comic Sans MS','KaiTi','STKaiti','Segoe Script','Caveat',cursive;
  font-size: 0.82rem; line-height: 1.85;
  color: #3a2210;
  white-space: pre-wrap; word-break: break-word;
  letter-spacing: 0.03em;
}
/* 不同条目使用不同偏转模拟不同笔迹 */
.cafebook__entry:nth-child(1) .cafebook__entry-text { font-family: 'Comic Sans MS','KaiTi','Segoe Script','Caveat',cursive; }
.cafebook__entry:nth-child(2) .cafebook__entry-text { font-family: 'Georgia','STKaiti','Segoe Script','Caveat',cursive; }
.cafebook__entry:nth-child(3) .cafebook__entry-text { font-family: 'Comic Sans MS','STKaiti','Georgia','Caveat',cursive; }
.cafebook__entry:nth-child(4) .cafebook__entry-text { font-family: 'KaiTi','Comic Sans MS','Segoe Script','Caveat',cursive; }
.cafebook__entry:nth-child(5) .cafebook__entry-text { font-family: 'Segoe Script','Comic Sans MS','KaiTi','Caveat',cursive; }

.cafebook__entry-text strong { font-weight: 800; letter-spacing: 0.04em; }
.cafebook__entry-text em { font-style: italic; opacity: 0.75; }
.cafebook__entry-text .doodle-strike {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  opacity: 0.5;
}
.cafebook__entry-text .doodle-underline {
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: rgba(139,100,60,.5);
  text-underline-offset: 3px;
}

/* 底部装饰 */
.cafebook__deco-row {
  display: flex; justify-content: center; gap: 20px;
  margin-top: 20px; padding-top: 14px;
  border-top: 1px dashed rgba(139,100,60,.25);
  position: relative; z-index: 1;
}
.cafebook__deco-row span {
  font-size: 1rem; opacity: 0.3;
}

/* ============================================================
   COMPONENT: DOORLOCK LOG · 智能门锁记录
   ============================================================ */
.doorlock-log {
  margin: 20px 0; max-width: 720px;
  background: #0a0e14;
  border: 1px solid #1e2a36;
  overflow: hidden;
}
/* 顶部面板 */
.doorlock-log__panel {
  padding: 18px 24px;
  background: #0d1219;
  border-bottom: 1px solid #1e2a36;
  position: relative;
}
.doorlock-log__led {
  position: absolute; right: 24px; top: 22px;
  width: 10px; height: 10px; border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}
.doorlock-log__led--online {
  background: #4ec9a0; color: #4ec9a0;
  animation: ledPulse 2s ease-in-out infinite;
}
@keyframes ledPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px #4ec9a0; }
  50%      { opacity: 0.5; box-shadow: 0 0 4px #4ec9a0; }
}
.doorlock-log__device-name {
  font-family: var(--font-mono);
  font-size: 0.95rem; font-weight: 700;
  color: #e0e0e0; letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.doorlock-log__device-id {
  font-family: var(--font-mono);
  font-size: 0.6rem; color: #4ec9a0;
  letter-spacing: 0.08em; opacity: 0.7;
}
.doorlock-log__status-bar {
  display: flex; gap: 18px; flex-wrap: wrap;
  margin-top: 12px; padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-family: var(--font-mono);
  font-size: 0.58rem; color: var(--text-muted);
  letter-spacing: 0.04em;
}
.doorlock-log__status-bar em {
  font-style: normal; color: var(--text-secondary);
}
/* 表格 */
.doorlock-table {
  width: 100%; border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.65rem;
}
.doorlock-table thead th {
  background: #111820;
  padding: 8px 10px; text-align: left;
  font-weight: 600; font-size: 0.6rem;
  letter-spacing: 0.08em; color: var(--text-muted);
  border-bottom: 2px solid #1e2a36;
}
.doorlock-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #111820;
  color: var(--text-secondary);
}
.doorlock-table tr:nth-child(even) td {
  background: rgba(255,255,255,0.015);
}
.doorlock-table tr:hover td {
  background: rgba(78,201,160,0.04);
}
.doorlock-table__seq {
  color: var(--text-muted); font-size: 0.58rem;
  width: 48px; text-align: center;
}
.doorlock-table__time {
  color: #4ec9a0; letter-spacing: 0.04em;
  width: 130px; white-space: nowrap;
}
.doorlock-table__user {
  color: var(--text-primary); font-weight: 600;
}
.doorlock-table__method {
  color: var(--text-secondary);
}
.doorlock-table__note {
  color: var(--text-muted); font-size: 0.58rem;
  max-width: 180px; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}
/* 状态颜色 */
.doorlock-table__status--ok {
  color: #4ec9a0; font-weight: 600;
}
.doorlock-table__status--fail {
  color: var(--red); font-weight: 600;
}
.doorlock-table__status--warn {
  color: #e8a540; font-weight: 600;
}
.doorlock-table__status--alarm {
  color: #ff4444; font-weight: 700;
  background: rgba(255,0,0,0.08);
  animation: alarmBlink 0.8s ease-in-out infinite;
}
@keyframes alarmBlink {
  50% { background: rgba(255,0,0,0.15); }
}
/* 底部 */
.doorlock-log__footer {
  padding: 10px 24px;
  background: #0d1219; border-top: 1px solid #1e2a36;
  font-family: var(--font-mono);
  font-size: 0.56rem; color: var(--text-muted);
  letter-spacing: 0.06em;
  text-align: right;
}

/* ============================================================
   COMPONENT: SHOPLIST · 购物清单
   ============================================================ */
.shoplist {
  margin: 20px 0; max-width: 440px;
  position: relative;
}
/* 纸张 */
.shoplist__paper {
  background: #f9f4e3;
  color: #2a1a08;
  padding: 24px 22px 18px;
  position: relative;
  border: 1px solid #d5ceb5;
  box-shadow: 2px 3px 12px rgba(0,0,0,0.2);
}
.shoplist__paper::before {
  content: ''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 31px, rgba(180,160,120,.25) 31px, rgba(180,160,120,.25) 32px);
  pointer-events: none; z-index: 0;
}
/* 顶部撕裂边 */
.shoplist__paper::after {
  content: '';
  position: absolute; top: -12px; left: 0; right: 0;
  height: 12px;
  background:
    repeating-linear-gradient(90deg,
      transparent 0px, transparent 8px,
      #f9f4e3 8px, #f9f4e3 14px,
      transparent 14px, transparent 20px);
  z-index: 2;
}
/* 回形针 */
.shoplist__clip {
  position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 42px; z-index: 3;
  border: 2px solid #888;
  border-radius: 10px 10px 0 0;
  background: transparent;
}
.shoplist__clip::before {
  content: ''; position: absolute;
  bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 8px; height: 16px;
  border: 2px solid #888;
  border-radius: 0 0 4px 4px;
  border-top: none;
}
/* 标题区 */
.shoplist__header {
  text-align: center; padding-bottom: 14px;
  margin-bottom: 12px;
  border-bottom: 2px dashed rgba(139,100,60,.25);
  position: relative; z-index: 1;
}
.shoplist__title {
  font-family: 'Comic Sans MS','KaiTi','STKaiti','Segoe Script','Caveat',cursive;
  font-size: 1.25rem; font-weight: 700;
  letter-spacing: 0.1em; color: #4a3018;
}
.shoplist__meta {
  display: flex; justify-content: center; gap: 14px;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.55rem; color: #8b6b4a;
  letter-spacing: 0.05em;
  flex-wrap: wrap;
}
/* 商品列表 */
.shoplist__items {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 10px;
}
.shoplist-item {
  display: flex; align-items: center; gap: 8px;
  padding: 2px 0; line-height: 1.6;
}
.shoplist-item__box {
  font-size: 1.1rem; color: #4a3018;
  flex-shrink: 0; width: 20px; text-align: center;
}
.shoplist-item__cat {
  font-size: 0.85rem; flex-shrink: 0;
}
.shoplist-item__name {
  font-family: 'Comic Sans MS','KaiTi','STKaiti','Segoe Script','Caveat',cursive;
  font-size: 0.85rem; color: #3a2210;
  letter-spacing: 0.03em;
}
.shoplist-item__qty {
  font-size: 0.7rem; color: #8b6b4a;
  flex-shrink: 0; font-weight: 600;
}
.shoplist-item__note {
  font-size: 0.6rem; color: #a08060;
  font-style: italic; flex-shrink: 0;
  letter-spacing: 0.02em;
}
/* 已打勾 */ 
.shoplist-item--done .shoplist-item__box {
  color: #4a9;
}
.shoplist-item--done .shoplist-item__name {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  opacity: 0.45;
}
.shoplist-item--done .shoplist-item__qty {
  opacity: 0.4;
}
.shoplist-item--done .shoplist-item__note {
  opacity: 0.4;
}
/* 底部 */
.shoplist__footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 16px; padding-top: 12px;
  border-top: 1px dashed rgba(139,100,60,.2);
  position: relative; z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.6rem; color: #8b6b4a;
  flex-wrap: wrap; gap: 8px;
}
.shoplist__footer strong {
  color: #4a3018; font-size: 0.75rem;
}
.shoplist__tear {
  color: rgba(139,100,60,.3);
  letter-spacing: 0.3em; user-select: none;
}

/* ============================================================
   COMPONENT: HIDDEN PHONE FOLDER · 手机隐藏文件夹
   ============================================================ */
.hiddenphone {
  margin: 20px 0; max-width: 500px;
  display: flex; flex-direction: column; align-items: center;
  gap: 12px;
}
/* 手机外框 */
.hiddenphone__phone {
  width: 100%;
  background: #0f1117;
  border: 3px solid #2a2e3a;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.03);
}
/* 状态栏 */
.hiddenphone__statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 18px;
  font-family: var(--font-mono);
  font-size: 0.58rem; color: #ccc;
  letter-spacing: 0.04em;
}
.hiddenphone__time {
  font-weight: 700;
}
.hiddenphone__icons {
  color: var(--text-muted); letter-spacing: 0.08em;
}
/* App 头部 */
.hiddenphone__app-header {
  padding: 10px 18px 6px;
  border-bottom: 1px solid #1a1d28;
}
.hiddenphone__app-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.82rem; font-weight: 700;
  color: #e0e0e0; letter-spacing: 0.05em;
  margin-bottom: 2px;
}
.hiddenphone__app-path {
  font-family: var(--font-mono);
  font-size: 0.48rem; color: var(--text-muted);
  letter-spacing: 0.04em; word-break: break-all;
}
/* 文件夹信息 */
.hiddenphone__folder-info {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid #1a1d28;
  background: rgba(107,164,212,0.04);
}
.hiddenphone__folder-icon {
  font-size: 1.4rem;
}
.hiddenphone__folder-name {
  font-family: var(--font-mono);
  font-size: 0.75rem; font-weight: 700;
  color: #6ba4d4; letter-spacing: 0.04em;
}
.hiddenphone__folder-tag {
  font-family: var(--font-mono);
  font-size: 0.5rem; font-weight: 600;
  background: #6ba4d4; color: #0f1117;
  padding: 1px 7px; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hiddenphone__folder-count {
  font-family: var(--font-mono);
  font-size: 0.56rem; color: var(--text-muted);
  margin-left: auto;
}
/* 文件列表头部 */
.hiddenphone__files {
  padding: 0;
}
.hiddenphone__files-header {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 18px;
  font-family: var(--font-mono);
  font-size: 0.52rem; font-weight: 600;
  color: var(--text-muted); letter-spacing: 0.06em;
  border-bottom: 1px solid #1a1d28;
  background: #0c0e14;
}
.hiddenphone__col-icon   { width: 22px; flex-shrink: 0; }
.hiddenphone__col-name   { flex: 1; }
.hiddenphone__col-type   { width: 52px; flex-shrink: 0; text-align: center; }
.hiddenphone__col-date   { width: 70px; flex-shrink: 0; text-align: center; }
.hiddenphone__col-size   { width: 48px; flex-shrink: 0; text-align: right; }
.hiddenphone__col-reason { width: 68px; flex-shrink: 0; text-align: center; }
/* 每条文件 */
.hiddenphone-file {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: background 0.15s;
}
.hiddenphone-file:hover {
  background: rgba(107,164,212,0.05);
}
.hiddenphone-file__icon {
  width: 22px; flex-shrink: 0;
  font-size: 0.9rem; text-align: center;
}
.hiddenphone-file__name {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.62rem; color: var(--text-primary);
  letter-spacing: 0.03em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hiddenphone-file__type {
  width: 52px; flex-shrink: 0; text-align: center;
  font-family: var(--font-mono);
  font-size: 0.5rem; color: var(--text-muted);
}
.hiddenphone-file__date {
  width: 70px; flex-shrink: 0; text-align: center;
  font-family: var(--font-mono);
  font-size: 0.55rem; color: var(--green);
  letter-spacing: 0.04em;
}
.hiddenphone-file__size {
  width: 48px; flex-shrink: 0; text-align: right;
  font-family: var(--font-mono);
  font-size: 0.52rem; color: var(--text-muted);
}
.hiddenphone-file__reason {
  width: 68px; flex-shrink: 0; text-align: center;
  font-family: var(--font-mono);
  font-size: 0.48rem; font-weight: 600;
  color: var(--red);
  letter-spacing: 0.04em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hiddenphone-file__note {
  display: block; width: 100%;
  font-family: var(--font-mono);
  font-size: 0.5rem; color: var(--text-muted);
  font-style: italic; letter-spacing: 0.03em;
  margin-top: 2px; padding-left: 28px;
}
/* 敏感文件高亮 */
.hiddenphone-file--sensitive:hover {
  background: rgba(192,57,43,0.06);
}
.hiddenphone-file--sensitive .hiddenphone-file__name {
  color: #e0a0a0;
}
/* 警告条 */
.hiddenphone__warning {
  padding: 10px 18px;
  border-top: 1px solid #1a1d28;
  background: rgba(232,165,64,0.06);
  font-family: var(--font-mono);
  font-size: 0.52rem; color: #e8a540;
  letter-spacing: 0.04em;
  text-align: center;
}
/* 底部设备标签 */
.hiddenphone__caption {
  font-family: var(--font-mono);
  font-size: 0.58rem; color: var(--text-muted);
  letter-spacing: 0.08em; opacity: 0.6;
  text-align: center;
}

/* ============================================================
   COMPONENT: SURVEILLANCE LOG · 监控日志
   ============================================================ */
.surveillance-log {
  margin: 20px 0; max-width: 760px;
  background: #0a0e14;
  border: 1px solid #1e2a36;
  overflow: hidden;
}
/* 顶部栏 */
.surveillance-log__header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px;
  background: #0d1219;
  border-bottom: 1px solid #1e2a36;
  flex-wrap: wrap; gap: 8px;
}
.surveillance-log__header-left {
  display: flex; align-items: center; gap: 10px;
}
.surveillance-log__rec-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #ff4444;
  box-shadow: 0 0 6px #ff4444;
  animation: svRecBlink 1s ease-in-out infinite;
}
@keyframes svRecBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}
.surveillance-log__system-name {
  font-family: var(--font-mono);
  font-size: 0.85rem; font-weight: 700;
  color: #e0e0e0; letter-spacing: 0.05em;
}
.surveillance-log__header-right {
  display: flex; gap: 14px; align-items: center;
}
.surveillance-log__cam {
  font-family: var(--font-mono);
  font-size: 0.55rem; color: #ff4444;
  letter-spacing: 0.06em;
  border: 1px solid #ff4444; padding: 2px 8px;
}
.surveillance-log__loc {
  font-family: var(--font-mono);
  font-size: 0.56rem; color: var(--text-muted);
  letter-spacing: 0.04em;
}
/* 信息栏 */
.surveillance-log__info-bar {
  display: flex; gap: 20px; flex-wrap: wrap;
  padding: 10px 20px;
  font-family: var(--font-mono);
  font-size: 0.56rem; color: var(--text-muted);
  letter-spacing: 0.04em;
  border-bottom: 1px solid #1e2a36;
}
.surveillance-log__info-bar em {
  font-style: normal; color: var(--text-secondary);
}
/* 表格 */
.surveillance-table {
  width: 100%; border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.65rem;
}
.surveillance-table thead th {
  background: #111820;
  padding: 8px 10px; text-align: left;
  font-weight: 600; font-size: 0.58rem;
  letter-spacing: 0.08em; color: var(--text-muted);
  border-bottom: 2px solid #1e2a36;
}
.surveillance-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #111820;
  color: var(--text-secondary);
}
.surveillance-table tr:nth-child(even) td {
  background: rgba(255,255,255,0.012);
}
.surveillance-table tr:hover td {
  background: rgba(232,165,64,0.04);
}
.surveillance-table__seq {
  color: var(--text-muted); font-size: 0.56rem;
  width: 44px; text-align: center;
}
.surveillance-table__time {
  color: #4ec9a0; letter-spacing: 0.04em;
  width: 130px; white-space: nowrap;
}
.surveillance-table__event {
  color: var(--text-primary); font-weight: 600;
  width: 120px;
}
.surveillance-table__detail {
  color: var(--text-secondary); max-width: 200px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.surveillance-table__operator {
  color: var(--text-muted); width: 60px; text-align: center;
}
/* 状态着色 */
.surveillance-table__status--ok {
  color: #4ec9a0; font-weight: 600;
  width: 70px; white-space: nowrap;
}
.surveillance-table__status--warn {
  color: #e8a540; font-weight: 600;
  width: 70px; white-space: nowrap;
}
.surveillance-table__status--suspect {
  color: #ff8844; font-weight: 600;
  width: 70px; white-space: nowrap;
}
.surveillance-table__status--danger {
  color: #ff4444; font-weight: 700;
  width: 70px; white-space: nowrap;
  background: rgba(255,0,0,0.06);
}
/* 底部 */
.surveillance-log__footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 20px;
  background: #0d1219; border-top: 1px solid #1e2a36;
  font-family: var(--font-mono);
  font-size: 0.54rem; color: var(--text-muted);
  letter-spacing: 0.06em;
  flex-wrap: wrap; gap: 8px;
}

/* ============================================================
   COMPONENT: CHATPHOTO · 聊天照片附件
   ============================================================ */
.chatphoto-log {
  margin: 20px 0; max-width: 520px;
  background: #0a0a0a; border: 1px solid #2a2a2a;
  overflow: hidden;
}
/* 头部栏 */
.chatphoto-log__header {
  display: flex; align-items: center; padding: 14px 18px;
  background: #141414; border-bottom: 1px solid #2a2a2a;
  gap: 10px;
}
.chatphoto-log__back {
  color: #c27ba0; font-size: 1.2rem; cursor: default;
  flex-shrink: 0;
}
.chatphoto-log__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: #2a1a28; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.chatphoto-log__contact {
  font-size: 0.95rem; font-weight: 700; color: #eee;
  letter-spacing: 0.04em; margin-bottom: 2px;
}
.chatphoto-log__meta-line {
  display: flex; gap: 6px; align-items: center;
  font-family: var(--font-mono);
  font-size: 0.55rem; color: var(--text-muted);
  letter-spacing: 0.04em;
}
/* 消息区域 */
.chatphoto-log__body {
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 100px;
}
/* 每条消息 */
.chatphoto-msg {
  display: flex;
}
.chatphoto-bubble {
  max-width: 85%; padding: 10px 14px; border-radius: 12px;
  display: flex; flex-direction: column; gap: 6px;
}
.chatphoto-bubble--left {
  background: #1a1a20; color: #ddd;
  border: 1px solid #2a2a3a;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.chatphoto-bubble--right {
  background: #2a1430; color: #eec;
  border: 1px solid #3a2a40;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  margin-left: auto;
}
.chatphoto-bubble__head {
  display: flex; align-items: center; gap: 8px;
}
.chatphoto-bubble__sender {
  font-family: var(--font-mono);
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.06em; color: #c27ba0;
}
.chatphoto-bubble__time {
  font-family: var(--font-mono);
  font-size: 0.52rem; color: var(--text-muted);
  letter-spacing: 0.04em;
}
/* 附件卡片 */
.chatphoto-attach {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; background: rgba(0,0,0,0.3);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
}
.chatphoto-attach__icon {
  font-size: 1.5rem; flex-shrink: 0;
}
.chatphoto-attach__info {
  flex: 1; min-width: 0;
}
.chatphoto-attach__name {
  font-family: var(--font-mono);
  font-size: 0.62rem; color: var(--text-primary);
  letter-spacing: 0.02em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.chatphoto-attach__meta {
  display: flex; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.48rem; color: var(--text-muted);
  letter-spacing: 0.04em; margin-top: 2px;
}
/* 状态标记 */
.chatphoto-attach__status--ok {
  font-family: var(--font-mono);
  font-size: 0.5rem; color: var(--green);
  font-weight: 600; letter-spacing: 0.04em;
  white-space: nowrap; flex-shrink: 0;
}
.chatphoto-attach__status--del {
  font-family: var(--font-mono);
  font-size: 0.5rem; color: var(--text-muted);
  font-weight: 600; letter-spacing: 0.04em;
  white-space: nowrap; flex-shrink: 0;
  text-decoration: line-through;
}
.chatphoto-attach__status--burn {
  font-family: var(--font-mono);
  font-size: 0.5rem; color: #ff8844;
  font-weight: 700; letter-spacing: 0.04em;
  white-space: nowrap; flex-shrink: 0;
}
.chatphoto-attach__status--warn {
  font-family: var(--font-mono);
  font-size: 0.5rem; color: #e8a540;
  font-weight: 600; letter-spacing: 0.04em;
  white-space: nowrap; flex-shrink: 0;
}
.chatphoto-attach__status--pending {
  font-family: var(--font-mono);
  font-size: 0.5rem; color: var(--text-secondary);
  font-weight: 600; letter-spacing: 0.04em;
  white-space: nowrap; flex-shrink: 0;
}
/* 备注行 */
.chatphoto-bubble__note {
  font-family: var(--font-mono);
  font-size: 0.5rem; color: var(--text-muted);
  font-style: italic; letter-spacing: 0.03em;
  line-height: 1.5;
  padding-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
/* 底部 */
.chatphoto-log__footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 18px;
  background: #141414; border-top: 1px solid #2a2a2a;
  font-family: var(--font-mono);
  font-size: 0.52rem; color: var(--text-muted);
  letter-spacing: 0.06em;
  flex-wrap: wrap; gap: 8px;
}
/* ============================================================
   COMPONENT: TRASHBIN · 垃圾桶证物清单
   ============================================================ */
.trashbin-log {
  margin: 20px 0; max-width: 720px;
  background: #0a0e10; border: 1px solid #1e2826;
  overflow: hidden;
}
/* 头部 */
.trashbin-log__header {
  display: flex; align-items: center; padding: 16px 20px;
  background: #0d1412; border-bottom: 1px solid #1e2826;
  gap: 12px;
}
.trashbin-log__icon {
  font-size: 1.6rem; flex-shrink: 0;
}
.trashbin-log__title {
  font-family: var(--font-mono);
  font-size: 0.95rem; font-weight: 700;
  color: #c0d0c0; letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.trashbin-log__meta {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.55rem; color: var(--text-muted);
  letter-spacing: 0.04em;
}
/* 表格 */
.trashbin-log__body {
  padding: 0;
  overflow-x: auto;
}
.trashbin-table {
  width: 100%; border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.64rem;
}
.trashbin-table thead th {
  background: #0d1514;
  padding: 8px 10px; text-align: left;
  font-weight: 600; font-size: 0.58rem;
  letter-spacing: 0.08em; color: var(--text-muted);
  border-bottom: 2px solid #1e2826;
}
.trashbin-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #111a16;
  color: var(--text-secondary);
}
.trashbin-table tr:nth-child(even) td {
  background: rgba(107,142,78,0.03);
}
.trashbin-table tr:hover td {
  background: rgba(107,142,78,0.06);
}
.trashbin-table__seq {
  color: var(--text-muted); font-size: 0.56rem;
  width: 44px; text-align: center;
}
.trashbin-table__th-seq { width: 44px; text-align: center; }
.trashbin-table__name {
  color: var(--text-primary); font-weight: 600;
  font-size: 0.64rem;
}
.trashbin-table__cat {
  color: var(--text-secondary); font-size: 0.58rem;
  width: 110px; white-space: nowrap;
}
.trashbin-table__th-cat { width: 110px; }
.trashbin-table__th-cond { width: 100px; }
.trashbin-table__th-note { }
/* 状态色 */
.trashbin-table__cond--ok {
  color: #6b8e4e; font-weight: 600; font-size: 0.56rem;
  width: 100px; white-space: nowrap;
}
.trashbin-table__cond--torn {
  color: #c0392b; font-weight: 600; font-size: 0.56rem;
  width: 100px; white-space: nowrap;
}
.trashbin-table__cond--crumpled {
  color: #e8a540; font-weight: 600; font-size: 0.56rem;
  width: 100px; white-space: nowrap;
}
.trashbin-table__cond--damp {
  color: #6ba4d4; font-weight: 600; font-size: 0.56rem;
  width: 100px; white-space: nowrap;
}
.trashbin-table__cond--burnt {
  color: #ff8844; font-weight: 700; font-size: 0.56rem;
  width: 100px; white-space: nowrap;
}
.trashbin-table__cond--grimy {
  color: var(--text-muted); font-weight: 600; font-size: 0.56rem;
  width: 100px; white-space: nowrap;
}
.trashbin-table__note {
  color: var(--text-muted); font-size: 0.56rem;
  max-width: 220px; line-height: 1.5;
}
/* 底部 */
.trashbin-log__footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 20px;
  background: #0d1412; border-top: 1px solid #1e2826;
  font-family: var(--font-mono);
  font-size: 0.52rem; color: var(--text-muted);
  letter-spacing: 0.06em;
  flex-wrap: wrap; gap: 8px;
}

/* ============================================================
   COMPONENT: PHOTOBOOK · 摄影笔记
   ============================================================ */
.photobook-log {
  margin: 20px 0; max-width: 780px;
  background: #0e0c0a; border: 1px solid #2a2418;
  overflow: hidden;
}
.photobook-log__header {
  display: flex; align-items: center; padding: 16px 20px;
  background: #13100d; border-bottom: 1px solid #2a2418;
  gap: 12px;
}
.photobook-log__icon {
  font-size: 1.6rem; flex-shrink: 0;
}
.photobook-log__title {
  font-family: var(--font-mono);
  font-size: 0.95rem; font-weight: 700;
  color: #d4c8a0; letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.photobook-log__meta {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.55rem; color: var(--text-muted);
  letter-spacing: 0.04em;
}
.photobook-log__body {
  padding: 16px 20px;
}
.photobook-log__footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 20px;
  background: #13100d; border-top: 1px solid #2a2418;
  font-family: var(--font-mono);
  font-size: 0.52rem; color: var(--text-muted);
  letter-spacing: 0.06em;
  flex-wrap: wrap; gap: 8px;
}

/* 照片网格 */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}

/* 照片卡片 */
.photo-card {
  background: #14110d; border: 1px solid #2a2418;
  overflow: hidden;
  transition: border-color 0.2s;
}
.photo-card:hover { border-color: #5a4a30; }
.photo-card__frame {
  padding: 8px;
  background: #1a1610;
}
.photo-card__img-placeholder {
  aspect-ratio: 4/3;
  background: #0d0b07;
  border: 1px dashed #332a1a;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px; padding: 12px;
  text-align: center;
}
.photo-card__no {
  font-family: var(--font-mono);
  font-size: 0.55rem; color: var(--text-muted);
  letter-spacing: 0.08em;
}
.photo-card__subject {
  font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 700;
  color: #d4c8a0;
  line-height: 1.3;
}
.photo-card__hint {
  font-family: var(--font-mono);
  font-size: 0.45rem; color: #5a4a30;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.photo-card__meta {
  padding: 10px 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.photo-card__specs {
  font-family: var(--font-mono);
  font-size: 0.56rem; color: #b8860b;
  font-weight: 600; letter-spacing: 0.04em;
}
.photo-card__location {
  font-family: var(--font-mono);
  font-size: 0.52rem; color: var(--text-muted);
}
.photo-card__note {
  font-family: var(--font-mono);
  font-size: 0.50rem; color: #6a5a40;
  line-height: 1.5; margin-top: 2px;
  font-style: italic;
}

/* ============================================================
   COMPONENT: SEARCHHIST · 搜索历史
   ============================================================ */
.searchhist-log {
  margin: 20px 0; max-width: 720px;
  background: #0a1018; border: 1px solid #1a2a3a;
  overflow: hidden;
}
.searchhist-log__header {
  display: flex; align-items: center; padding: 16px 20px;
  background: #0d141d; border-bottom: 1px solid #1a2a3a;
  gap: 12px;
}
.searchhist-log__icon {
  font-size: 1.6rem; flex-shrink: 0;
}
.searchhist-log__title {
  font-family: var(--font-mono);
  font-size: 0.95rem; font-weight: 700;
  color: #a0c4e0; letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.searchhist-log__meta {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.55rem; color: var(--text-muted);
  letter-spacing: 0.04em;
}
.searchhist-log__summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 20px;
  background: #0e1723; border-bottom: 1px solid #1a2a3a;
  font-family: var(--font-mono);
  font-size: 0.55rem; color: var(--text-muted);
  flex-wrap: wrap; gap: 8px;
}
.searchhist-log__summary strong {
  color: #6ba4d4; font-weight: 700;
}
.searchhist-log__body {
  padding: 0;
  overflow-x: auto;
}
.searchhist-log__footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 20px;
  background: #0d141d; border-top: 1px solid #1a2a3a;
  font-family: var(--font-mono);
  font-size: 0.52rem; color: var(--text-muted);
  letter-spacing: 0.06em;
  flex-wrap: wrap; gap: 8px;
}

/* 搜索表格 */
.search-table {
  width: 100%; border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.64rem;
}
.search-table thead th {
  background: #0e1723;
  padding: 8px 10px; text-align: left;
  font-weight: 600; font-size: 0.58rem;
  letter-spacing: 0.08em; color: var(--text-muted);
  border-bottom: 2px solid #1a2a3a;
}
.search-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #121d2a;
  color: var(--text-secondary);
}
.search-table tr:nth-child(even) td {
  background: rgba(107,164,212,0.03);
}
.search-table tr:hover td {
  background: rgba(107,164,212,0.06);
}
.search-table__seq {
  color: var(--text-muted); font-size: 0.54rem;
  width: 42px; text-align: right; padding-right: 12px;
}
.search-table__th-seq { width: 42px; }
.search-table__time {
  color: var(--text-muted); font-size: 0.56rem;
  width: 90px; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.search-table__th-time { width: 90px; }
.search-table__query {
  color: var(--text-primary); font-size: 0.64rem;
  font-weight: 500; line-height: 1.4;
}
.search-table__query::before {
  content: '"';
  color: var(--text-muted);
}
.search-table__query::after {
  content: '"';
  color: var(--text-muted);
}

/* ============================================================
   RESPONSIVE · 响应式
   ============================================================ */
@media (max-width: 640px) {
  /* ── 密码门禁 ── */
  .gate__box { padding: 36px 20px 24px; }

  /* ── 顶栏（核心优化）── */
  .header {
    padding: 0 10px;
    height: auto;
    min-height: 44px;
    flex-wrap: wrap;
    gap: 4px;
    border-bottom-color: var(--border);
  }
  .header__left {
    gap: 6px;
    flex-wrap: wrap;
  }
  .header__badge {
    font-size: 0.58rem;
    padding: 2px 7px;
  }
  /* 隐藏长周期信息，只显示简短标记 */
  .header__id {
    display: none;
  }

  /* 导航：缩小间距 */
  .header__nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 2px;
    padding: 4px 0 0;
    border-top: 1px solid var(--border);
    margin-top: 4px;
  }
  .header__nav a,
  .nav-dropdown__trigger {
    padding: 5px 10px;
    font-size: 0.62rem;
  }

  /* 锁定按钮缩小 */
  .header__lock {
    font-size: 0.6rem;
    padding: 4px 8px;
  }

  /* ── 内容区 ── */
  .content {
    padding: 16px 10px 32px;
  }

  .folder-tab {
    padding: 10px 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 6px;
  }
  .folder-tab__label {
    font-size: 0.68rem;
  }
  .folder-tab__count {
    font-size: 0.6rem;
  }

  /* 卡片更紧凑 */
  .card-grid { gap: 10px; }
  .article-card { padding: 14px 16px; }
  .article-card__meta { gap: 8px; }
  .article-card__title { font-size: 0.9rem; }
  .article-card__excerpt { font-size: 0.78rem; }
  .article-card__tag { font-size: 0.52rem; padding: 1px 6px; }
  .article-card:hover { transform: none; } /* 手机上取消位移效果 */

  /* 文章详情 */
  .article { padding: 20px 14px; }
  .article__title { font-size: 1.05rem; }
  .article__meta-line { font-size: 0.55rem; gap: 10px; }
  .article__body p { text-indent: 2em; font-size: 0.88rem; margin: 0 0 1.9em; }
  .back-btn { font-size: 0.65rem; margin-bottom: 16px; }

  /* 底栏 */
  .footer {
    font-size: 0.5rem;
    padding: 10px 12px;
  }

  /* 推特组件 */
  .twitter-post { padding: 12px 14px; max-width: 100%; }
  .twitter-post__avatar { width: 38px; height: 38px; font-size: 1rem; }
  .twitter-post__name { font-size: 0.82rem; }
  .twitter-post__handle { font-size: 0.75rem; }
  .twitter-post__body { margin-left: 48px; font-size: 0.85rem; }
  .twitter-post__time { margin-left: 48px; }
  .twitter-post__stats { margin-left: 48px; gap: 14px; font-size: 0.72rem; }
  .twitter-post--thread::before { left: 31px; top: 54px; }

  /* 处方笺 */
  .rx-record { padding: 18px 14px; max-width: 100%; }
  .rx-record__hospital { font-size: 0.95rem; }
  .rx-record__title { font-size: 1.1rem; }
  .rx-record__info { gap: 12px; font-size: 0.75rem; }
  .rx-record__table { font-size: 0.72rem; }
  .rx-record__table th, .rx-record__table td { padding: 5px 6px; }
  .rx-record__stamp { width: 54px; height: 54px; font-size: 0.48rem; }
  .rx-record__doctor-name { font-size: 0.9rem; }

  /* 聊天记录 */
  .chat-log { max-width: 100%; }
  .chat-log__header { padding: 10px 12px; gap: 8px; }
  .chat-log__avatar { width: 30px; height: 30px; font-size: 0.78rem; }
  .chat-log__contact { font-size: 0.82rem; }
  .chat-log__body { padding: 10px 12px; gap: 8px; }
  .chat-msg__avatar { width: 28px; height: 28px; font-size: 0.72rem; }
  .chat-msg__bubble { padding: 8px 11px; font-size: 0.8rem; }
  .chat-notif { font-size: 0.6rem; padding: 4px; }

  /* 相册 */
  .album-log { max-width: 100%; }
  .album-log__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 10px; }
  .album-card__img { height: 80px; font-size: 1.5rem; }
  .album-card__caption { font-size: 0.6rem; }
  .album-card__desc { font-size: 0.65rem; }

  /* 通话记录 */
  .call-log { max-width: 100%; }
  .call-item { padding: 10px 12px; gap: 8px; }
  .call-item__icon { width: 28px; height: 28px; font-size: 1rem; }
  .call-item__name { font-size: 0.78rem; }
  .call-item__meta { font-size: 0.6rem; gap: 8px; }

  /* 垃圾清理回执单 */
  .cleanup-receipt { max-width: 100%; padding: 16px 12px; }
  .cleanup-receipt__title { font-size: 1.1rem; }
  .cleanup-receipt__subtitle { font-size: 0.52rem; }
  .cleanup-receipt__meta { gap: 12px; font-size: 0.7rem; }
  .cleanup-receipt__items table { font-size: 0.65rem; }
  .cleanup-receipt__items table th,
  .cleanup-receipt__items table td { padding: 5px 4px; }
  .cleanup-receipt__total strong { font-size: 1.05rem; }
  .cleanup-receipt__stamp { width: 50px; height: 50px; font-size: 0.45rem; }
  .cleanup-receipt__disclaimer { font-size: 0.52rem; }

  /* 涂鸦备忘录 */
  .doodle-memo { max-width: 100%; }
  .doodle-memo__spine { width: 24px; gap: 6px; padding: 12px 0; }
  .doodle-memo__spine-hole { width: 7px; height: 7px; }
  .doodle-memo__spine-ring { left: 5px; width: 16px; height: 12px; border-width: 1.5px; }
  .doodle-memo__spine-ring:nth-of-type(9)  { top: 34px; }
  .doodle-memo__spine-ring:nth-of-type(10) { top: 76px; }
  .doodle-memo__spine-ring:nth-of-type(11) { top: 118px; }
  .doodle-memo__page { padding: 18px 10px 16px 22px; }
  .doodle-memo__page::after { left: 18px; }
  .doodle-memo__title { font-size: 1rem; }
  .doodle-memo__entry-text { font-size: 0.78rem; }
  .doodle-memo__margin-doodle { font-size: 0.7rem; width: 14px; }
  .doodle-memo__corner-doodle { font-size: 0.65rem; width: 12px; }
  .doodle-memo__signature { font-size: 0.78rem; }
  .doodle-memo__tape { width: 50px; height: 20px; top: -5px; }

  /* 摄影废片箱 */
  .photobomb-box { max-width: 100%; }
  .photobomb-box__header { padding: 10px 14px 8px; }
  .photobomb-box__title { font-size: 0.72rem; }
  .photobomb-box__strips { padding: 10px; gap: 10px; }
  .photobomb__strip { gap: 8px; padding: 8px 12px; }
  .photobomb__strip::before, .photobomb__strip::after { width: 5px; }
  .photobomb__strip::before { background: repeating-linear-gradient(0deg, transparent 0px, transparent 6px, #1a1a1a 6px, #1a1a1a 9px, transparent 9px, transparent 15px); }
  .photobomb__strip::after { background: repeating-linear-gradient(0deg, transparent 0px, transparent 6px, #1a1a1a 6px, #1a1a1a 9px, transparent 9px, transparent 15px); }
  .photobomb__frame { padding: 4px 10px; }
  .photobomb__img { height: 90px; font-size: 2rem; }
  .photobomb__reject-tag { width: 70px; gap: 4px; padding: 4px; }
  .photobomb__reject-stamp { font-size: 0.58rem; padding: 2px 6px; }
  .photobomb__reject-reason { font-size: 0.5rem; }
  .photobomb__desc { font-size: 0.65rem; }

  /* 咖啡厅留言本 */
  .cafebook { max-width: 100%; }
  .cafebook__cover { padding: 18px 14px 14px; }
  .cafebook__cover-title { font-size: 1.2rem; }
  .cafebook__cover-sub { font-size: 0.55rem; }
  .cafebook__page { padding: 18px 12px; }
  .cafebook__entry { padding-bottom: 10px; gap: 14px; }
  .cafebook__entry-author { font-size: 0.7rem; }
  .cafebook__entry-text { font-size: 0.73rem; }
  .cafebook__coffee-stain:not(.cafebook__coffee-stain--2) { width: 50px; height: 50px; }
  .cafebook__coffee-stain--2 { width: 35px; height: 35px; }
  .cafebook__deco-row { gap: 12px; }
  .cafebook__deco-row span { font-size: 0.8rem; }

  /* 智能门锁记录 */
  .doorlock-log { max-width: 100%; }
  .doorlock-log__panel { padding: 12px 14px; }
  .doorlock-log__device-name { font-size: 0.78rem; }
  .doorlock-log__device-id { font-size: 0.52rem; }
  .doorlock-log__status-bar { gap: 10px; font-size: 0.52rem; }
  .doorlock-log__led { right: 14px; top: 16px; width: 7px; height: 7px; }
  .doorlock-table { font-size: 0.56rem; }
  .doorlock-table thead th { padding: 6px 5px; font-size: 0.5rem; }
  .doorlock-table td { padding: 6px 5px; }
  .doorlock-table__time { width: auto; font-size: 0.55rem; }
  .doorlock-table__seq { width: 32px; font-size: 0.5rem; }
  .doorlock-table__note { max-width: 80px; font-size: 0.5rem; }
  .doorlock-log__footer { padding: 8px 14px; font-size: 0.5rem; }

  /* 购物清单 */
  .shoplist { max-width: 100%; }
  .shoplist__paper { padding: 18px 12px 14px; }
  .shoplist__paper::after { top: -8px; height: 8px; }
  .shoplist__title { font-size: 1.05rem; }
  .shoplist__meta { gap: 8px; font-size: 0.48rem; }
  .shoplist-item { gap: 4px; }
  .shoplist-item__box { font-size: 0.9rem; width: 16px; }
  .shoplist-item__name { font-size: 0.75rem; }
  .shoplist-item__cat { font-size: 0.7rem; }
  .shoplist-item__qty { font-size: 0.62rem; }
  .shoplist-item__note { font-size: 0.52rem; }
  .shoplist__footer { font-size: 0.52rem; }
  .shoplist__footer strong { font-size: 0.65rem; }

  /* 手机隐藏文件夹 */
  .hiddenphone { max-width: 100%; }
  .hiddenphone__phone { border-radius: 16px; }
  .hiddenphone__statusbar { padding: 6px 12px; font-size: 0.5rem; }
  .hiddenphone__app-title { font-size: 0.7rem; }
  .hiddenphone__app-path { font-size: 0.44rem; }
  .hiddenphone__folder-info { padding: 10px 12px; }
  .hiddenphone__folder-name { font-size: 0.65rem; }
  .hiddenphone__files-header { padding: 6px 12px; font-size: 0.46rem; }
  .hiddenphone__col-icon { width: 16px; }
  .hiddenphone__col-type { width: 40px; }
  .hiddenphone__col-date { width: 55px; }
  .hiddenphone__col-size { width: 38px; }
  .hiddenphone__col-reason { width: 52px; }
  .hiddenphone-file { padding: 8px 12px; gap: 3px; }
  .hiddenphone-file__icon { width: 16px; font-size: 0.7rem; }
  .hiddenphone-file__name { font-size: 0.55rem; }
  .hiddenphone-file__type { width: 40px; font-size: 0.44rem; }
  .hiddenphone-file__date { width: 55px; font-size: 0.48rem; }
  .hiddenphone-file__size { width: 38px; font-size: 0.46rem; }
  .hiddenphone-file__reason { width: 52px; font-size: 0.42rem; }
  .hiddenphone-file__note { font-size: 0.44rem; padding-left: 22px; }
  .hiddenphone__warning { padding: 8px 12px; font-size: 0.46rem; }
  .hiddenphone__caption { font-size: 0.5rem; }

  /* 监控日志 */
  .surveillance-log { max-width: 100%; }
  .surveillance-log__header { padding: 10px 12px; }
  .surveillance-log__system-name { font-size: 0.7rem; }
  .surveillance-log__rec-dot { width: 7px; height: 7px; }
  .surveillance-log__cam { font-size: 0.48rem; padding: 1px 6px; }
  .surveillance-log__loc { font-size: 0.48rem; }
  .surveillance-log__info-bar { padding: 8px 12px; font-size: 0.48rem; gap: 10px; }
  .surveillance-table { font-size: 0.54rem; }
  .surveillance-table thead th { padding: 6px 4px; font-size: 0.48rem; }
  .surveillance-table td { padding: 6px 4px; }
  .surveillance-table__time { width: auto; font-size: 0.52rem; }
  .surveillance-table__seq { width: 28px; font-size: 0.48rem; }
  .surveillance-table__event { width: auto; font-size: 0.52rem; }
  .surveillance-table__detail { max-width: 100px; font-size: 0.5rem; }
  .surveillance-table__operator { width: auto; font-size: 0.48rem; }
  .surveillance-table__status--ok,
  .surveillance-table__status--warn,
  .surveillance-table__status--suspect,
  .surveillance-table__status--danger { width: auto; font-size: 0.5rem; }
  .surveillance-log__footer { padding: 8px 12px; font-size: 0.46rem; }

  /* 聊天照片附件 */
  .chatphoto-log { max-width: 100%; }
  .chatphoto-log__header { padding: 10px 12px; gap: 8px; }
  .chatphoto-log__avatar { width: 32px; height: 32px; font-size: 0.9rem; }
  .chatphoto-log__contact { font-size: 0.82rem; }
  .chatphoto-log__meta-line { font-size: 0.48rem; gap: 4px; }
  .chatphoto-log__body { padding: 10px 12px; gap: 8px; }
  .chatphoto-bubble { max-width: 90%; padding: 8px 10px; }
  .chatphoto-bubble__sender { font-size: 0.55rem; }
  .chatphoto-bubble__time { font-size: 0.46rem; }
  .chatphoto-attach { gap: 6px; padding: 6px 8px; }
  .chatphoto-attach__icon { font-size: 1.2rem; }
  .chatphoto-attach__name { font-size: 0.55rem; }
  .chatphoto-attach__meta { font-size: 0.42rem; gap: 4px; }
  .chatphoto-attach__status--ok,
  .chatphoto-attach__status--del,
  .chatphoto-attach__status--burn,
  .chatphoto-attach__status--warn,
  .chatphoto-attach__status--pending { font-size: 0.44rem; }
  .chatphoto-bubble__note { font-size: 0.44rem; }
  .chatphoto-log__footer { padding: 8px 12px; font-size: 0.44rem; }

  /* 垃圾桶证物清单 */
  .trashbin-log { max-width: 100%; }
  .trashbin-log__header { padding: 10px 12px; gap: 8px; }
  .trashbin-log__icon { font-size: 1.3rem; }
  .trashbin-log__title { font-size: 0.82rem; }
  .trashbin-log__meta { font-size: 0.48rem; gap: 8px; }
  .trashbin-table { font-size: 0.54rem; }
  .trashbin-table thead th { padding: 6px 4px; font-size: 0.48rem; }
  .trashbin-table td { padding: 6px 4px; }
  .trashbin-table__seq { width: 28px; font-size: 0.48rem; }
  .trashbin-table__name { font-size: 0.55rem; }
  .trashbin-table__cat { width: auto; font-size: 0.5rem; }
  .trashbin-table__cond--ok,
  .trashbin-table__cond--torn,
  .trashbin-table__cond--crumpled,
  .trashbin-table__cond--damp,
  .trashbin-table__cond--burnt,
  .trashbin-table__cond--grimy { width: auto; font-size: 0.48rem; }
  .trashbin-table__note { max-width: 100px; font-size: 0.48rem; }
  .trashbin-log__footer { padding: 8px 12px; font-size: 0.44rem; }

  /* 摄影笔记 */
  .photobook-log { max-width: 100%; }
  .photobook-log__header { padding: 10px 12px; gap: 8px; }
  .photobook-log__icon { font-size: 1.3rem; }
  .photobook-log__title { font-size: 0.82rem; }
  .photobook-log__meta { font-size: 0.48rem; gap: 8px; }
  .photobook-log__body { padding: 10px 12px; }
  .photo-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
  .photo-card__subject { font-size: 0.6rem; }
  .photo-card__specs { font-size: 0.48rem; }
  .photo-card__note { font-size: 0.44rem; }
  .photobook-log__footer { padding: 8px 12px; font-size: 0.44rem; }

  /* 搜索历史 */
  .searchhist-log { max-width: 100%; }
  .searchhist-log__header { padding: 10px 12px; gap: 8px; }
  .searchhist-log__icon { font-size: 1.3rem; }
  .searchhist-log__title { font-size: 0.82rem; }
  .searchhist-log__meta { font-size: 0.48rem; gap: 8px; }
  .searchhist-log__summary { padding: 8px 12px; font-size: 0.48rem; }
  .search-table { font-size: 0.54rem; }
  .search-table thead th { padding: 6px 4px; font-size: 0.46rem; }
  .search-table td { padding: 6px 4px; }
  .search-table__seq { width: 32px; font-size: 0.46rem; padding-right: 6px; }
  .search-table__time { width: 60px; font-size: 0.48rem; }
  .search-table__query { font-size: 0.54rem; }
  .searchhist-log__footer { padding: 8px 12px; font-size: 0.44rem; }

  /* 隐藏水印（手机上太占空间） */
  .watermark { display: none; }
}
