/* 微信风格群聊新闻 —— 与 app.css 解耦 */
:root {
  --wx-bg: #ededed;
  --wx-bubble: #ffffff;
  --wx-ink: #191919;
  --wx-muted: #888888;
  --wx-footer: #b2b2b2;
  --wx-line: #e5e5e5;
  --wx-name: #a3a3a3;
  --wx-green: #95ec69;
  --wx-bar: #f7f7f7;
  --wx-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--wx-font);
  background: var(--wx-bg);
  color: var(--wx-ink);
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

.news-body {
  background: var(--wx-bg);
}

.news-body.news-modal-open {
  overflow: hidden;
}

/* -------- WeUI 风格顶栏（WeUI 2.x 无 navigation-bar，自研对齐） -------- */
.news-nav,
.weui-navigation-bar.news-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ededed;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.1);
}

.weui-navigation-bar__inner {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 12px;
  max-width: 480px;
  margin: 0 auto;
}

.weui-navigation-bar__left,
.weui-navigation-bar__right {
  flex: 0 0 auto;
  min-width: 64px;
  display: flex;
  align-items: center;
}

.weui-navigation-bar__right {
  justify-content: flex-end;
}

.weui-navigation-bar__center {
  flex: 1;
  text-align: center;
  overflow: hidden;
}

.weui-navigation-bar__title {
  font-size: 17px;
  font-weight: 600;
  color: #181818;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.news-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-nav-link,
.news-nav-back {
  color: #576b95 !important;
  font-size: 15px;
  padding: 6px 4px;
  white-space: nowrap;
}

.news-nav-back::before {
  content: "‹";
  margin-right: 2px;
  font-size: 18px;
}

/* -------- Feed -------- */
.news-page {
  min-height: 100vh;
  max-width: 480px;
  margin: 0 auto;
  background: var(--wx-bg);
  padding: 0 12px 40px;
}

.news-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
}

.news-day {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.news-day-head {
  position: sticky;
  top: 44px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 12px 12px;
  border: 0;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
  background: rgba(247, 247, 247, 0.96);
  backdrop-filter: blur(8px);
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.news-day-head:active {
  background: rgba(235, 235, 235, 0.98);
}

.news-day-chevron {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-right: 2px;
  border-right: 2px solid #888;
  border-bottom: 2px solid #888;
  transform: rotate(-45deg);
  transition: transform 0.18s ease;
}

.news-day.is-expanded .news-day-chevron {
  transform: rotate(45deg);
  margin-top: -2px;
}

.news-day-title {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  color: #191919;
  letter-spacing: 0.02em;
}

.news-day-count {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--wx-muted);
}

.news-day-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 14px 12px 16px;
}

.news-day.is-collapsed .news-day-list {
  display: none;
}

.news-day.is-collapsed {
  background: transparent;
}

.news-day.is-collapsed .news-day-head {
  border-radius: 10px;
  border-bottom: 0;
  background: #fff;
  box-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.04);
}

.news-empty,
.news-error {
  text-align: center;
  color: var(--wx-muted);
  padding: 48px 16px;
  font-size: 14px;
}

.news-empty--coming {
  padding: 72px 24px 56px;
}

.news-empty-title {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.news-empty-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--wx-muted);
}

.news-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.news-item:active .chat-card {
  background: #f5f5f5;
}

.news-avatar {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  background: #ccc;
}

.news-body {
  flex: 1;
  min-width: 0;
}

.news-sender {
  font-size: 12px;
  color: var(--wx-name);
  margin: 0 0 4px 2px;
  line-height: 1.2;
}

.chat-card {
  position: relative;
  background: var(--wx-bubble);
  border-radius: 4px;
  padding: 10px 12px 8px;
  box-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.04);
  max-width: 260px;
}

.chat-card::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 12px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 6px solid var(--wx-bubble);
}

.chat-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--wx-ink);
  line-height: 1.35;
  margin: 0 0 6px;
  word-break: break-word;
}

.chat-card-preview {
  margin: 0;
  padding: 0;
  list-style: none;
}

.chat-card-preview li {
  font-size: 13px;
  color: var(--wx-muted);
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-card-footer {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 0.5px solid var(--wx-line);
  font-size: 12px;
  color: var(--wx-footer);
}

/* -------- Detail -------- */
.detail-page {
  min-height: 100vh;
  max-width: 480px;
  margin: 0 auto;
  background: var(--wx-bg);
  display: flex;
  flex-direction: column;
}

.detail-nav {
  flex-shrink: 0;
}

.detail-timeline {
  flex: 1;
  padding: 12px 12px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.msg-time {
  align-self: center;
  font-size: 12px;
  color: #b0b0b0;
  background: rgba(0, 0, 0, 0.04);
  padding: 2px 8px;
  border-radius: 3px;
  margin: 4px 0;
}

.msg-system {
  align-self: center;
  font-size: 12px;
  color: #b0b0b0;
  text-align: center;
  max-width: 85%;
  line-height: 1.4;
}

.msg-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  max-width: 92%;
}

.msg-row .msg-avatar {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  background: #cfcfcf;
}

.msg-meta {
  min-width: 0;
}

.msg-name {
  font-size: 12px;
  color: var(--wx-name);
  margin: 0 0 3px 2px;
}

.msg-bubble {
  position: relative;
  display: inline-block;
  background: var(--wx-bubble);
  border-radius: 4px;
  padding: 9px 11px;
  font-size: 15px;
  line-height: 1.45;
  word-break: break-word;
  max-width: 100%;
}

.msg-bubble::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 11px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 6px solid var(--wx-bubble);
}

.msg-bubble img {
  display: block;
  max-width: 180px;
  border-radius: 2px;
}

.msg-bubble-media {
  padding: 4px;
  background: #fff;
  line-height: 0;
}

.msg-media-frame {
  position: relative;
  display: inline-block;
  max-width: min(200px, 70vw);
  min-width: 120px;
  min-height: 96px;
  border-radius: 2px;
  overflow: hidden;
  background: #e8e8e8;
  vertical-align: top;
}

.msg-media-frame.is-loading .msg-media-img,
.msg-media-frame.is-loading .msg-media-video {
  opacity: 0;
}

.msg-media-frame.is-ready .msg-media-img,
.msg-media-frame.is-ready .msg-media-video {
  opacity: 1;
  transition: opacity 0.2s ease;
}

.msg-media-spinner {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  z-index: 1;
  pointer-events: none;
  color: #8a8a8a;
  font-size: 11px;
}

.msg-media-frame.is-loading .msg-media-spinner {
  display: flex;
}

.msg-media-spinner::before {
  content: "";
  width: 22px;
  height: 22px;
  border: 2px solid rgba(0, 0, 0, 0.12);
  border-top-color: #576b95;
  border-radius: 50%;
  animation: media-spin 0.7s linear infinite;
}

.msg-media-frame.is-error .msg-media-spinner {
  display: flex;
}

.msg-media-frame.is-error .msg-media-spinner::before {
  display: none;
}

.msg-media-frame.is-error .msg-media-spinner span {
  display: none;
}

.msg-media-frame.is-error .msg-media-spinner::after {
  content: "加载失败";
  font-size: 11px;
  color: #999;
}

.msg-media-img {
  display: block;
  width: 200px;
  max-width: min(200px, 70vw);
  height: auto;
  min-height: 80px;
  object-fit: cover;
  background: transparent;
  border-radius: 2px;
  cursor: zoom-in;
}

.msg-video-wrap {
  position: relative;
  display: inline-block;
  max-width: 220px;
  min-width: 160px;
  min-height: 120px;
  cursor: pointer;
  background: #111;
  border-radius: 2px;
  overflow: hidden;
}

.msg-video-wrap.is-loading .msg-media-video {
  opacity: 0.25;
}

.msg-video-wrap.is-ready .msg-media-video {
  opacity: 1;
}

.msg-video-wrap .msg-media-spinner {
  color: rgba(255, 255, 255, 0.75);
}

.msg-video-wrap.is-loading .msg-media-spinner {
  display: flex;
}

.msg-video-wrap.is-loading .msg-media-spinner::before {
  border-color: rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
}

.msg-media-video {
  display: block;
  width: 100%;
  max-height: 280px;
  border-radius: 2px;
  background: #000;
}

.msg-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.msg-video-wrap.is-loading .msg-video-play {
  opacity: 0;
}

@keyframes media-spin {
  to {
    transform: rotate(360deg);
  }
}

.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 12px 56px;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.media-lightbox[hidden] {
  display: none !important;
}

.media-lightbox-close {
  position: absolute;
  top: max(10px, env(safe-area-inset-top));
  right: 10px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 8px 12px;
  z-index: 3;
}

.media-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: center;
}

.media-lightbox.has-gallery .media-lightbox-nav {
  display: flex;
}

.media-lightbox-prev {
  left: 8px;
}

.media-lightbox-next {
  right: 8px;
}

.media-lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  letter-spacing: 0.04em;
  z-index: 3;
  display: none;
}

.media-lightbox.has-gallery .media-lightbox-counter {
  display: block;
}

.media-lightbox-body {
  position: relative;
  width: 100%;
  max-width: min(960px, 100%);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-lightbox-stage {
  position: relative;
  width: 100%;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.media-lightbox-stage.is-loading .media-lightbox-img,
.media-lightbox-stage.is-loading .media-lightbox-video {
  opacity: 0.15;
}

.media-lightbox-spinner {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  pointer-events: none;
}

.media-lightbox-stage.is-loading .media-lightbox-spinner {
  display: flex;
}

.media-lightbox-spinner::before {
  content: "";
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: media-spin 0.7s linear infinite;
}

.media-lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  transition: opacity 0.18s ease;
}

.media-lightbox-video {
  max-width: 100%;
  max-height: 90vh;
  display: block;
  margin: 0 auto;
  background: #000;
}

.msg-link {
  display: block;
  color: #576b95;
}

.msg-link-title {
  font-weight: 500;
}

.msg-link-url {
  font-size: 12px;
  color: var(--wx-muted);
  margin-top: 4px;
  word-break: break-all;
}

.msg-inline-link {
  color: #576b95;
  text-decoration: underline;
  word-break: break-all;
}

/* -------- Admin -------- */
.admin-page {
  min-height: 100vh;
  max-width: 720px;
  margin: 0 auto;
  background: #f6f6f6;
  padding: 16px;
  font-family: var(--wx-font);
}

.admin-card {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.admin-card h1,
.admin-card h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.admin-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.admin-row label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: #666;
  flex: 1;
  min-width: 140px;
}

.admin-row input,
.admin-row select,
.admin-row textarea {
  font: inherit;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
}

.admin-row textarea {
  min-height: 64px;
  resize: vertical;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.admin-actions button,
.admin-btn {
  appearance: none;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  background: #07c160;
  color: #fff;
}

.admin-actions button.ghost,
.admin-btn.ghost {
  background: #eee;
  color: #333;
}

.admin-actions button.danger,
.admin-btn.danger {
  background: #fa5151;
}

.admin-list-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.admin-list-item:last-child {
  border-bottom: none;
}

.admin-status {
  font-size: 12px;
  color: #888;
  margin-left: 6px;
}

.admin-msg-editor {
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 8px;
  background: #fafafa;
}

.admin-gate {
  max-width: 360px;
  margin: 60px auto;
}

.admin-media-preview {
  margin: 8px 0;
}

.admin-media-preview img,
.admin-media-preview video {
  display: block;
  max-width: 240px;
  max-height: 180px;
  border-radius: 4px;
  background: #111;
}

.access-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
}

.access-bar-actions {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.join-group-banners {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0 0;
}

.detail-page > .join-group-banners {
  margin: 10px 12px 0;
}

.join-group-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #07c160;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  cursor: pointer;
}

.join-group-banner--vip {
  background: linear-gradient(90deg, #c45c26 0%, #d48806 100%);
}

.join-group-banner[hidden] {
  display: none !important;
}

.join-group-banner-text {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  line-height: 1.35;
}

.join-group-banner-cta {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 12px;
  font-weight: 600;
}

.news-join-link[hidden] {
  display: none !important;
}

.vip-qr-dialog {
  position: fixed;
  inset: 0;
  z-index: 5600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.vip-qr-dialog[hidden] {
  display: none !important;
}

.vip-qr-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.vip-qr-panel {
  position: relative;
  z-index: 1;
  width: min(320px, 100%);
  padding: 18px 16px 14px;
  border-radius: 12px;
  background: #fff;
  text-align: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.vip-qr-title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}

.vip-qr-hint {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.4;
  color: #666;
}

.vip-qr-image {
  display: block;
  width: 100%;
  max-width: 240px;
  margin: 0 auto 12px;
  border-radius: 8px;
  background: #f7f7f7;
}

.vip-qr-close {
  display: inline-block;
  min-width: 96px;
  padding: 8px 16px;
  border: 0;
  border-radius: 6px;
  background: #07c160;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.detail-page > .access-bar {
  margin: 10px 12px 0;
}

.access-bar.locked {
  background: #fff;
  color: #fa9d3b;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.access-bar.ok {
  background: #fff;
  color: #07c160;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.access-bar .weui-btn_mini {
  flex-shrink: 0;
  line-height: 1.8;
}

.access-gate {
  margin: 16px 4px 8px;
  padding: 20px 16px;
  background: #fff;
  border-radius: 12px;
  text-align: center;
  color: #888;
  font-size: 14px;
  line-height: 1.6;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.access-gate .weui-btn {
  margin-top: 0;
  width: 80%;
  max-width: 240px;
}

.access-gate-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  width: 100%;
}

.access-hint {
  margin: 0 0 12px;
  font-size: 14px;
  color: #888;
  line-height: 1.5;
  text-align: left;
}

.access-shop-link {
  display: block;
  margin: 0 0 14px;
  text-align: center;
}

.access-shop-link[hidden] {
  display: none !important;
}

.access-shop-btn {
  white-space: nowrap;
}

.access-cells {
  margin-top: 0 !important;
  border-radius: 8px;
  overflow: hidden;
}

.access-error {
  margin: 10px 0 0;
  color: #fa5151;
  font-size: 13px;
  text-align: left;
}

.access-half {
  max-width: 480px;
  margin: 0 auto;
}

#access-modal {
  z-index: 5000;
}

#access-modal .weui-mask {
  z-index: 5000;
}

#access-modal .weui-half-screen-dialog {
  z-index: 5001;
}

.msg-locked-media {
  position: relative;
  width: 160px;
}

.msg-locked-media img {
  display: block;
  width: 160px;
  filter: blur(6px);
  opacity: 0.7;
}

.msg-locked-media span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

/* legacy modal styles removed — use WeUI half-screen */

.admin-hint {
  font-size: 12px;
  color: #888;
  margin-top: 8px;
}

.admin-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.admin-toast.show {
  opacity: 1;
}

/* 微信分享引导 */
.wx-share-guide {
  position: fixed;
  inset: 0;
  z-index: 400;
}

.wx-share-guide[hidden] {
  display: none !important;
}

.wx-share-guide-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.wx-share-guide-card {
  position: absolute;
  left: 50%;
  top: 18%;
  transform: translateX(-50%);
  width: min(340px, calc(100% - 32px));
  background: #fff;
  border-radius: 10px;
  padding: 18px 16px 16px;
  box-sizing: border-box;
}

.wx-share-guide-arrow {
  position: absolute;
  right: 10px;
  top: -36px;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.wx-share-guide-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
}

.wx-share-guide-tip {
  margin: 0 0 12px;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

.wx-share-preview {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: #f7f7f7;
  border-radius: 6px;
  margin-bottom: 10px;
}

.wx-share-preview-img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: #e5e5e5;
}

.wx-share-preview-title {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wx-share-preview-desc {
  font-size: 12px;
  color: #888;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wx-share-guide-note {
  margin: 0 0 12px;
  font-size: 12px;
  color: #999;
  line-height: 1.45;
}
