/*
 * public/static/admin/css/theme_mock.css
 * 后台「基础配置 → 主题配色」的手机实景示意样式。
 *
 * 只吃 CSS 变量（--bg-page / --brand / --tint …），变量名与
 * app/common/service/ThemeConfig.php 的 token 一一对应，由
 * app/common/service/ThemeMock.php 在每台"手机"外层内联注入。
 * 所以这里不允许出现任何写死的色值，否则换主题时这块不会跟着变。
 *
 * 版式是从 C 端 styles/common.scss + 四个主页面模板抄来的缩样，
 * 不代表线上像素，只用来看配色是否协调。
 */
.tm-phone {
  width: 268px; height: 468px; flex: none; border-radius: 22px; overflow: hidden; position: relative;
  background: var(--bg-page); color: var(--text-primary); font-size: 11px; line-height: 1.5;
  box-shadow: 0 18px 44px -32px rgba(var(--tint), .55), 0 0 0 1px var(--border);
  display: flex; flex-direction: column; text-align: left; box-sizing: border-box;
}
.tm-phone * { box-sizing: border-box; }
.tm-phone.tm-lg { width: 375px; height: 700px; border-radius: 30px; }
.tm-screen { flex: 1; padding: 12px 12px 8px; overflow: hidden; min-height: 0; }
.tm-notch { height: 14px; display: flex; align-items: center; justify-content: center; }
.tm-notch i { width: 52px; height: 3px; border-radius: 99px; background: var(--border); }
.tm-eyebrow { font-size: 8px; letter-spacing: .16em; color: var(--text-soft); }
.tm-h1 { font-size: 16px; font-weight: 600; color: var(--text-strong); line-height: 1.35; }
.tm-h2 { font-size: 15px; font-weight: 600; color: var(--text-strong); }
.tm-h3 { font-size: 12px; font-weight: 600; color: var(--text-strong); }
.tm-sub { font-size: 9px; color: var(--text-soft); }
.tm-date { display: block; margin-top: 3px; font-size: 9px; color: var(--text-soft); }
.tm-between { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tm-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 11px;
  box-shadow: 0 8px 24px -22px rgba(var(--tint), .7);
}
.tm-ov { background: linear-gradient(160deg, var(--bg-card) 0%, var(--brand-pale) 100%); margin-top: 10px; }
.tm-ov-head { display: flex; align-items: baseline; justify-content: space-between; }
.tm-body { display: flex; gap: 10px; align-items: center; margin-top: 9px; }
.tm-ring {
  width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0; position: relative;
  background: conic-gradient(var(--brand) 0 78%, var(--border) 78% 100%);
}
.tm-ring::before { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--bg-card); }
.tm-ring span { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tm-ring b { font-size: 15px; color: var(--brand-strong); position: relative; }
.tm-ring i { font-style: normal; font-size: 8px; color: var(--text-soft); position: relative; }
.tm-pills { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.tm-pill {
  display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 5px 8px;
  border-radius: 9px; background: var(--bg-card); border: 1px solid var(--border-soft); font-size: 9px;
}
.tm-pill.warn { background: var(--warn-bg); border-color: transparent; }
.tm-pill.info { background: var(--info-bg); border-color: transparent; }
.tm-pill b { font-weight: 600; color: var(--text-body); }
.tm-pill em { font-style: normal; color: var(--text-soft); }
.tm-pill u { text-decoration: none; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-soft); display: inline-block; margin-right: 4px; }
.tm-pill.warn u { background: var(--warn-sub); } .tm-pill.info u { background: var(--info-text); }
.tm-sec { margin-top: 12px; }
.tm-sec > .tm-sub { display: block; margin: 2px 0 7px; }
.tm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.tm-chip {
  width: 22px; height: 22px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 600; color: var(--on-brand); background: var(--brand);
}
.tm-chip.gold { background: var(--gold-text); } .tm-chip.blue { background: var(--info-text); }
.tm-chip.soft { background: var(--brand-soft); } .tm-chip.mid { background: var(--brand-mid); }
.tm-entry { display: flex; gap: 7px; align-items: flex-start; padding: 9px; }
.tm-entry b { font-size: 10px; font-weight: 600; color: var(--text-strong); display: block; }
.tm-entry i { font-style: normal; font-size: 8px; color: var(--text-soft); display: block; margin-top: 2px; }
.tm-btn {
  height: 25px; padding: 0 11px; border-radius: 9px; font-size: 10px; font-weight: 600; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; background: var(--brand-strong); color: var(--on-brand);
  box-shadow: 0 9px 20px -18px rgba(var(--tint), .95);
}
.tm-btn.ghost { background: var(--brand-pale); color: var(--brand-strong); box-shadow: none; }
.tm-tag { font-size: 8px; padding: 1px 6px; border-radius: 5px; background: var(--brand-pale); color: var(--brand-strong); }
.tm-tag.warm { background: var(--warn-bg); color: var(--warn-text); }
.tm-tag.gray { background: var(--border-soft); color: var(--text-muted); }
.tm-cover {
  width: 68px; height: 68px; flex-shrink: 0; position: relative; border-radius: 12px; overflow: hidden;
  background: linear-gradient(150deg, var(--brand-pale), var(--border-soft));
  display: flex; align-items: center; justify-content: center;
}
.tm-cover b { font-size: 16px; font-weight: 700; color: var(--brand-mid); }
.tm-cover em { position: absolute; left: 0; bottom: 0; font-style: normal; font-size: 8px; padding: 1px 6px; background: var(--brand-strong); color: var(--on-brand); border-top-right-radius: 7px; }
.tm-rec { display: flex; gap: 9px; margin-top: 8px; }
.tm-rec .tm-b { flex: 1; min-width: 0; }
.tm-rec b { font-size: 11px; font-weight: 600; color: var(--text-strong); display: block; }
.tm-rec i { font-style: normal; font-size: 9px; color: var(--text-soft); display: block; margin-top: 3px; }
.tm-price { font-size: 12px; font-weight: 700; color: var(--brand-strong); }
.tm-meta { font-size: 8px; color: var(--gold-text); display: block; margin-top: 5px; }
.tm-tip {
  margin-top: 12px; display: flex; gap: 9px; padding: 10px; border-radius: 12px;
  background: var(--gold-bg); border: 1px solid var(--border-soft);
}
.tm-tip .tm-chip { background: var(--bg-card); color: var(--gold-text); }
.tm-tip p { margin: 0; font-size: 9px; color: var(--text-muted); line-height: 1.5; }
.tm-dis { margin: 10px 0 2px; text-align: center; font-size: 7.5px; color: var(--text-soft); line-height: 1.6; }
.tm-top { height: 3px; border-radius: 2px; background: linear-gradient(180deg, var(--grad-a), var(--grad-b)); margin: 0 12px; }
.tm-search {
  display: flex; align-items: center; height: 27px; padding: 0 10px; border-radius: 10px; margin-top: 9px;
  background: var(--bg-card); border: 1px solid var(--border); color: var(--text-soft); font-size: 9px;
}
.tm-cols { display: flex; gap: 7px; margin-top: 9px; }
.tm-side { width: 56px; flex-shrink: 0; display: flex; flex-direction: column; gap: 3px; }
.tm-cat { position: relative; padding: 7px 5px 7px 8px; border-radius: 9px; font-size: 9px; color: var(--text-muted); }
.tm-cat.on { background: var(--bg-card); color: var(--brand-strong); font-weight: 600; border: 1px solid var(--border); }
.tm-cat.on::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--brand); }
.tm-list { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.tm-count { display: flex; justify-content: space-between; font-size: 8px; color: var(--text-soft); }
.tm-count em { font-style: normal; color: var(--brand); }
.tm-proj { display: flex; gap: 8px; padding: 8px; }
.tm-proj .tm-cover { width: 46px; height: 46px; }
.tm-filters { display: flex; gap: 5px; flex-wrap: wrap; margin: 9px 0 2px; }
.tm-fbtn { font-size: 9px; padding: 4px 9px; border-radius: 99px; background: var(--bg-card); border: 1px solid var(--border); color: var(--text-muted); }
.tm-fbtn.on { background: var(--brand-strong); border-color: var(--brand-strong); color: var(--on-brand); }
.tm-bars { display: flex; align-items: flex-end; gap: 7px; height: 60px; margin-top: 9px; }
.tm-bars div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.tm-bars span { width: 100%; max-width: 14px; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--brand-soft), var(--brand)); }
.tm-bars div.low span { background: linear-gradient(180deg, var(--border), var(--brand-mid)); }
.tm-bars em { font-style: normal; font-size: 7px; color: var(--text-soft); }
.tm-item { display: flex; gap: 8px; align-items: flex-start; padding: 9px 10px; border-bottom: 1px solid var(--border-soft); }
.tm-item:last-child { border-bottom: 0; }
.tm-item .tm-b { flex: 1; min-width: 0; }
.tm-item b { font-size: 10px; font-weight: 600; color: var(--text-strong); display: block; }
.tm-item i { font-style: normal; font-size: 8px; color: var(--text-soft); display: block; margin-top: 2px; }
.tm-hero {
  border-radius: 15px; padding: 13px 12px; position: relative; overflow: hidden; margin-top: 9px;
  background: linear-gradient(150deg, var(--brand-strong) 0%, var(--brand) 58%, var(--brand-soft) 100%);
  box-shadow: 0 14px 32px -26px rgba(var(--tint), .95);
}
.tm-hero::after { content: ''; position: absolute; right: -30px; top: -38px; width: 110px; height: 110px; border-radius: 50%; background: rgba(255,255,255,.1); }
.tm-hero b { font-size: 13px; font-weight: 600; color: var(--on-brand); }
.tm-hero i { font-style: normal; font-size: 8px; color: var(--on-brand-mid); display: block; margin-top: 2px; }
.tm-gear { width: 21px; height: 21px; border-radius: 50%; background: var(--on-brand); color: var(--brand-strong); display: flex; align-items: center; justify-content: center; font-size: 9px; }
.tm-stats { display: flex; margin-top: 11px; position: relative; z-index: 1; }
.tm-stats div { flex: 1; text-align: center; }
.tm-stats div + div { border-left: 1px solid var(--on-brand-line); }
.tm-stats b { font-size: 13px; font-weight: 700; color: var(--on-brand); display: block; }
.tm-stats em { font-style: normal; font-size: 7.5px; color: var(--on-brand-mid); display: block; margin-top: 2px; }
.tm-menu { margin-top: 10px; padding: 2px 0; }
.tm-mi { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-bottom: 1px solid var(--border-soft); }
.tm-mi:last-child { border-bottom: 0; }
.tm-mi .tm-chip { background: var(--brand-pale); color: var(--brand-strong); }
.tm-mi .tm-chip.warm { background: var(--warn-bg); color: var(--warn-text); }
.tm-mi .tm-chip.gray { background: var(--border-soft); color: var(--text-muted); }
.tm-mi .tm-b { flex: 1; min-width: 0; }
.tm-mi b { font-size: 10px; font-weight: 600; color: var(--text-strong); display: block; }
.tm-mi i { font-style: normal; font-size: 8px; color: var(--text-soft); display: block; margin-top: 2px; }
.tm-mi em { font-style: normal; font-size: 8px; color: var(--text-soft); }
.tm-mi s { text-decoration: none; color: var(--text-soft); }
.tm-foot { text-align: center; font-size: 8px; color: var(--text-soft); line-height: 1.7; padding: 12px 0 2px; }
.tm-bar { flex-shrink: 0; height: 40px; border-top: 1px solid var(--border); background: var(--bg-card); display: flex; align-items: center; }
.tm-bar div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 8px; color: var(--text-secondary); }
.tm-bar div u { width: 12px; height: 12px; border-radius: 4px; border: 1.4px solid currentColor; display: block; }
.tm-bar div.on { color: var(--brand); font-weight: 600; }
.tm-bar div.on u { background: var(--brand-pale); border-color: var(--brand); }

/* 项目列表右侧的价格 + 预约按钮，竖着排 */
.tm-right { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.tm-proj .tm-b { flex: 1; min-width: 0; }
.tm-proj .tm-b b { font-size: 10px; font-weight: 600; color: var(--text-strong); display: block; }
.tm-proj .tm-b i { font-style: normal; font-size: 8px; color: var(--text-soft); display: block; margin-top: 2px; }
.tm-proj .tm-b em { font-style: normal; font-size: 8px; color: var(--text-soft); display: block; margin-top: 4px; }

/* 贴士卡标题 */
.tm-tip p b { display: block; font-size: 10px; font-weight: 600; color: var(--gold-text); margin-bottom: 2px; }

/* 记录列表的时间与状态行 */
.tm-im { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.tm-im span { font-size: 8px; color: var(--text-soft); }
.tm-im em { font-style: normal; font-size: 8px; padding: 1px 5px; border-radius: 5px; background: var(--brand-pale); color: var(--brand-strong); }
.tm-im em.gray { background: var(--border-soft); color: var(--text-muted); }

