/* 吉致 IM · 静态 H5 共享皮肤 — 现代蓝白 · 同源 apps/web/branding/theme.css */
:root {
  --wx-green: #4c9aff;
  --wx-green-dark: #3b82f6;
  --wx-bubble: #4c9aff;
  --wx-bg: #f0f3f7;
  --wx-surface: #ffffff;
  --wx-text: #111111;
  --wx-muted: #8a8a8a;
  --wx-rail: #ffffff;
  --wx-danger: #fa5151;
  --wx-select: #4c9aff;
  --wx-line: #e5eaf0;
  --wx-header: #ffffff;
  --wx-amber: #fa9d3b;
  --wx-blue-soft: #e8f3ff;
  --gity-font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue",
    "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--gity-font);
  color: var(--wx-text);
  background: var(--wx-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--wx-green);
  text-decoration: none;
}

/* ===== Top bar (WeChat H5) ===== */
.wx-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 14px;
  background: var(--wx-header);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.wx-topbar .wx-back {
  min-width: 64px;
  color: var(--wx-text);
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.wx-topbar .wx-back::before {
  content: "";
  width: 10px;
  height: 10px;
  border-left: 2px solid var(--wx-text);
  border-bottom: 2px solid var(--wx-text);
  transform: rotate(45deg);
  margin-right: 2px;
}

.wx-topbar .wx-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--wx-text);
  text-align: center;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wx-topbar .wx-right {
  min-width: 64px;
  text-align: right;
  font-size: 12px;
  color: var(--wx-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== Grouped list ===== */
.wx-group {
  margin: 8px 0;
  background: var(--wx-surface);
  overflow: hidden;
}

.wx-group-label {
  padding: 10px 16px 6px;
  font-size: 13px;
  color: var(--wx-muted);
}

.wx-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 12px 16px;
  background: var(--wx-surface);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 16px;
  color: var(--wx-text);
}

.wx-cell:last-child {
  border-bottom: none;
}

.wx-cell .wx-cell-label {
  flex-shrink: 0;
  color: var(--wx-text);
  font-size: 16px;
  min-width: 4.5em;
}

.wx-cell .wx-cell-value,
.wx-cell input,
.wx-cell select,
.wx-cell textarea {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  text-align: right;
  font-size: 16px;
  font-family: inherit;
  color: var(--wx-text);
}

.wx-cell textarea {
  text-align: left;
  min-height: 72px;
  resize: vertical;
}

.wx-cell .wx-cell-desc {
  font-size: 13px;
  color: var(--wx-muted);
  line-height: 1.5;
  text-align: left;
  flex: 1;
}

.wx-cell-arrow::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #c7c7c7;
  border-top: 1.5px solid #c7c7c7;
  transform: rotate(45deg);
  margin-left: 6px;
  flex-shrink: 0;
}

/* ===== Buttons ===== */
.wx-btn {
  display: block;
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.wx-btn-primary {
  background: var(--wx-green);
  color: #fff;
}

.wx-btn-primary:hover {
  background: var(--wx-green-dark);
}

.wx-btn-primary:active {
  opacity: 0.92;
}

.wx-btn-ghost {
  background: #f5f5f5;
  color: var(--wx-text);
}

.wx-btn-block {
  margin: 16px;
  width: calc(100% - 32px);
}

/* ===== Content card / article ===== */
.wx-article {
  max-width: 720px;
  margin: 12px auto 32px;
  padding: 0 12px;
}

.wx-article-card {
  background: var(--wx-surface);
  padding: 20px 16px;
  border-radius: 0;
}

.wx-article-card h1 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
}

.wx-article-card h2 {
  margin: 22px 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.wx-article-card .wx-meta {
  color: var(--wx-muted);
  font-size: 12px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.wx-article-card p,
.wx-article-card li {
  font-size: 14px;
  line-height: 1.75;
  color: #333;
}

.wx-article-card ul {
  margin: 0;
  padding-left: 1.2em;
}

.wx-foot {
  text-align: center;
  padding: 16px;
  font-size: 12px;
  color: var(--wx-muted);
  line-height: 1.7;
}

.wx-foot a {
  color: var(--wx-green);
}

.wx-seal {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--wx-green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.wx-page {
  max-width: 560px;
  margin: 0 auto;
  padding-bottom: 48px;
}

.wx-hint {
  margin: 0 16px 8px;
  font-size: 13px;
  color: var(--wx-muted);
  line-height: 1.5;
}
