/* =========================================================
   闂侇偅銇炵粻鎵矆閹冮殬 鐠?闁稿繈鍔庨悵顖炲冀瀹勬壆纭€闁挎稑鐗忎簺闁告柣鍔庨?+ PC 闁煎浜埀顒€鍊哥花鏌ユ晬?   ========================================================= */

:root {
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #1b1c22;
  --text-2: #4b5062;
  --muted: #8b90a0;
  --line: #eceef4;
  --accent: #ff4d4f;
  --accent-2: #ff7a45;
  --accent-soft: #fff1ec;
  --shadow: 0 2px 10px rgba(20, 24, 40, .05);
  --shadow-hover: 0 10px 26px rgba(20, 24, 40, .1);
  --radius: 14px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* ---------------- 濡炪倕鐖奸崕瀵糕偓浣冨閸?---------------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.head-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.brand-logo {
  width: 36px; height: 36px; border-radius: 11px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; box-shadow: 0 6px 14px rgba(255, 77, 79, .28);
}
.brand-name { font-size: 17px; font-weight: 700; letter-spacing: .3px; }

.head-nav { display: flex; gap: 4px; }
.head-nav a {
  padding: 7px 13px; border-radius: 9px; font-size: 14.5px;
  color: var(--text-2); transition: .18s;
}
.head-nav a:hover { background: #f3f4f8; color: var(--text); }
.head-nav a.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }

.head-search { flex: 1; max-width: 320px; position: relative; }
.head-search input {
  width: 100%; height: 36px; padding: 0 38px 0 14px;
  border: 1px solid var(--line); border-radius: 18px;
  background: #f7f8fb; font-size: 14px; outline: none; transition: .2s;
}
.head-search input:focus { background: #fff; border-color: #ffc2bd; box-shadow: 0 0 0 3px rgba(255, 77, 79, .08); }
.head-search button {
  position: absolute; right: 4px; top: 4px; width: 30px; height: 28px;
  border: 0; background: transparent; font-size: 14px; color: var(--muted);
}

.head-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.btn-publish {
  padding: 8px 18px; border-radius: 10px; font-size: 14px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 6px 16px rgba(255, 77, 79, .24); white-space: nowrap;
}
.btn-publish:hover { filter: brightness(1.05); }
.head-user { display: inline-flex; }
.head-link { font-size: 13.5px; color: var(--muted); }
.head-link:hover { color: var(--accent); }

/* ---------------- 闁圭粯鍔楅妵姘跺级?---------------- */

.flash-wrap { max-width: 1120px; margin: 12px auto 0; padding: 0 16px; }
.flash {
  padding: 11px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 8px;
}
.flash-ok { background: #eafaf0; color: #157a3f; border: 1px solid #c6ecd4; }
.flash-error { background: #fff0f0; color: #b3282a; border: 1px solid #ffd6d6; }
.flash-warn { background: #fff8e6; color: #8a6100; border: 1px solid #ffe4a3; }

/* ---------------- 濞戞捁顕х亸顖炲春?---------------- */

.site-main { display: block; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #fff3ef 0%, #fff7f2 45%, #f4f6ff 100%);
  border-bottom: 1px solid #f2e9e5;
  padding: 26px 16px 20px;
}
.hero-inner { max-width: 1120px; margin: 0 auto; }
.hero-title {
  margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.3px;
  background: linear-gradient(100deg, #ff5b3a, #ff2d55 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 6px 0 14px; color: #7d8172; color: var(--muted); font-size: 13.5px; }
.hero-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 7px 16px; border-radius: 20px; font-size: 13.5px;
  background: #fff; border: 1px solid #f0e2dd; color: var(--text-2); transition: .18s;
}
.chip:hover { border-color: #ffb8a8; color: var(--accent); }
.chip.on { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; border-color: transparent; font-weight: 600; }

/* 濞戞捁顔婄紞瀣▔閵堝棛鍩?*/
.feed-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 296px;
  gap: 22px;
  padding-top: 18px;
  padding-bottom: 40px;
  align-items: start;
}
.feed-main { min-width: 0; }

.cat-row {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 14px;
  scrollbar-width: none;
}
.cat-row::-webkit-scrollbar { display: none; }
.cat {
  padding: 6px 14px; border-radius: 8px; font-size: 13.5px; color: var(--text-2);
  background: #fff; border: 1px solid var(--line); white-space: nowrap; transition: .18s;
}
.cat:hover { color: var(--accent); border-color: #ffc9c0; }
.cat.on { color: var(--accent); background: var(--accent-soft); border-color: #ffc9c0; font-weight: 600; }

/* 闁告绱曟晶鏍磾閹寸偟澹?*/
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 14px;
}

.pcard {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid #f2f3f7;
  display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s;
}
.pcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.pcard-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 12px 9px; gap: 8px;
}
.pcard-user { display: flex; align-items: center; gap: 7px; min-width: 0; }
.uname { font-size: 13px; color: var(--text-2); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard-time { font-size: 12px; color: var(--muted); flex-shrink: 0; }

.avatar { border-radius: 50%; object-fit: cover; display: block; flex-shrink: 0; }
.avatar-letter {
  border-radius: 50%; color: #fff; font-size: 13px; font-weight: 600;
  text-align: center; display: inline-block; flex-shrink: 0;
}

.pcard-body { display: block; flex: 1; }
.pcard-media { position: relative; overflow: hidden; background: #f4f5f9; }
.pcard-media img, .pcard-media video {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #f4f5f9;
}
.pcard-media.is-video video { background: #f4f5f9; }
.pcard-video-thumb { opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.pcard-video-thumb.is-ready { opacity: 1; }
.pcard-media.is-ph {
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #fff4ef, #ffeef2 55%, #f6f2ff);
}
.pcard-media.is-ph .ph-ico { color: var(--accent); font-size: 26px; opacity: .55; }
.play-badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .94); color: var(--accent); font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(20, 24, 40, .22);
  backdrop-filter: blur(2px); pointer-events: none;
}
.pcard-media.is-text {
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  padding: 16px;
  background: linear-gradient(135deg, #fff4ef, #ffeef2 60%, #f6f2ff);
}
.text-blob {
  font-size: 15px; font-weight: 600; line-height: 1.75; color: #4a3a3a;
  text-align: center; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}

.pcard-title {
  margin: 10px 12px 0; font-size: 15px; font-weight: 700; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard-desc {
  margin: 5px 12px 0; font-size: 13px; color: var(--muted); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.pcard-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 11px; margin-top: 8px; gap: 8px;
}
.card-tags { display: flex; align-items: center; gap: 5px; flex: 1 1 auto; min-width: 0; overflow: hidden; }
.cat-tag {
  font-size: 12px; color: #9a6b57; background: #fff6f0; padding: 3px 8px; border-radius: 6px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; max-width: 100%; flex-shrink: 1;
}
.tag-tag {
  font-size: 12px; line-height: 1.5; color: #4a6a9a; background: #f1f5ff; padding: 3px 8px; border-radius: 6px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex-shrink: 0; max-width: 92px;
}
.tag-tag:hover { background: #e6edff; }

/* 发布页 / 后台的标签多选 */
.tag-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.tag-pick-item {
  display: inline-flex; align-items: center; gap: 0; cursor: pointer;
  font-size: 13px; color: #6b7280; background: #f4f5f8; border: 1px solid transparent;
  padding: 6px 11px; border-radius: 999px; transition: .15s; user-select: none;
}
.tag-pick-item:hover { background: #eceef4; color: #4b5563; }
.tag-pick-item.on { background: #fff1ec; border-color: #ffc9b8; color: #e4593b; font-weight: 600; }
.tag-pick-item input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.pcard-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; white-space: nowrap; }
.stat { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.like-btn {
  border: 0; background: transparent; padding: 2px 4px; display: inline-flex;
  align-items: center; gap: 4px; font-size: 12px; color: var(--muted); border-radius: 6px;
  transition: .15s; white-space: nowrap; flex-shrink: 0;
}
.like-btn .ico { font-size: 13px; }
.like-btn:hover { color: var(--accent); background: var(--accent-soft); }
.like-btn.liked { color: var(--accent); }
.like-btn.liked .ico { animation: pop .32s ease; }
@keyframes pop { 0% { transform: scale(1); } 45% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* 闁告帒妫濋妴?*/
.pager { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 26px 0 6px; }
.pg {
  min-width: 38px; height: 36px; padding: 0 12px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13.5px; background: #fff; border: 1px solid var(--line); color: var(--text-2);
}
.pg:hover { border-color: #ffc9c0; color: var(--accent); }
.pg.on { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; border-color: transparent; font-weight: 600; }
.pg.disabled { color: #c2c6d2; background: #fafbfd; }
.pg.dots { border: 0; background: transparent; color: var(--muted); }

/* 下拉加载更多 */
.feed-more { display: flex; justify-content: center; margin: 26px 0 6px; }
.feed-more-btn {
  min-width: 168px; padding: 12px 26px; border-radius: 12px; cursor: pointer;
  font-size: 14px; color: var(--text-2); background: #fff; border: 1px solid var(--line);
  transition: .18s;
}
.feed-more-btn:hover { border-color: #ffc9c0; color: var(--accent); }
.feed-more-btn:disabled, .feed-more.is-loading .feed-more-btn { color: #b9bfcc; cursor: default; border-color: #eceef4; }
.feed-end { text-align: center; font-size: 13px; color: var(--muted); margin: 24px 0 6px; }

/* 个人主页卡片下方的审核状态 */
.card-note { grid-column: 1 / -1; font-size: 12px; margin: -8px 0 6px; padding-left: 2px; }
.note-pending { color: #c98a00; }
.note-reject { color: #c34a4a; }

/* 濞撴皜鍕焿 */
.feed-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 78px; }
.side-box {
  background: var(--card); border-radius: var(--radius); padding: 15px 16px;
  box-shadow: var(--shadow); border: 1px solid #f2f3f7;
}
.side-title { margin: 0 0 10px; font-size: 14px; font-weight: 700; }
.side-text { margin: 0; font-size: 13px; color: var(--text-2); line-height: 1.8; }

.hot-list { margin: 0; padding: 0; list-style: none; }
.hot-list li { display: flex; align-items: center; gap: 8px; padding: 7px 0; font-size: 13px; }
.hot-no {
  width: 18px; height: 18px; border-radius: 5px; background: #f1f2f7; color: var(--muted);
  font-size: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hot-no.top { background: linear-gradient(135deg, #ff8a4c, #ff2d55); color: #fff; }
.hot-list li a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.hot-list li a:hover { color: var(--accent); }
.hot-num { font-size: 11px; color: #c68b8b; flex-shrink: 0; }

.word-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.word { font-size: 12.5px; padding: 5px 11px; border-radius: 20px; background: #f7f8fc; color: var(--text-2); }
.word:hover { background: var(--accent-soft); color: var(--accent); }

.user-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.mini-user { display: inline-flex; }

/* 缂佸矁娅ｆ慨鎼佸箑?*/
.empty { background: #fff; border-radius: var(--radius); padding: 56px 20px; text-align: center; box-shadow: var(--shadow); }
.empty-ico { font-size: 36px; margin-bottom: 10px; }
.empty p { color: var(--muted); font-size: 14px; margin: 0 0 16px; }

.btn-primary {
  display: inline-block; padding: 11px 24px; border-radius: 10px; color: #fff !important;
  font-size: 14px; font-weight: 600; border: 0;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 8px 18px rgba(255, 77, 79, .22); text-align: center;
}
.btn-ghost {
  display: inline-block; padding: 10px 20px; border-radius: 10px; font-size: 14px;
  background: #fff; border: 1px solid var(--line); color: var(--text-2); text-align: center;
}

/* ---------------- 閻犲浄闄勯崕蹇斻亜?---------------- */

.detail-wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) 296px; gap: 22px;
  padding: 20px 16px 44px; max-width: 1120px; margin: 0 auto; align-items: start;
}
.detail-card {
  background: #fff; border-radius: 16px; padding: 0; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid #f2f3f7;
}
.detail-head { display: flex; align-items: center; gap: 10px; padding: 16px; }
.detail-head .uname { font-size: 14.5px; font-weight: 600; color: var(--text); }
.detail-head .sub { font-size: 12px; color: var(--muted); }
.detail-media { background: #0e0f14; }
.detail-media img { width: 100%; height: auto; max-height: none; object-fit: contain; display: block; margin: 0 auto; }
.detail-media video { width: 100%; max-height: 78vh; object-fit: contain; margin: 0 auto; }
.detail-body { padding: 16px 18px 6px; }
.detail-title { margin: 0 0 10px; font-size: 19px; font-weight: 800; line-height: 1.5; letter-spacing: -.2px; }
.detail-text { font-size: 15.5px; line-height: 1.95; color: #2c2f3a; word-break: break-word; }
.detail-tags { padding: 4px 18px 0; display: flex; gap: 8px; flex-wrap: wrap; }
.detail-bar {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px 18px; flex-wrap: wrap;
}
.big-like {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 22px; border-radius: 24px;
  border: 1px solid #ffd3cb; background: #fff6f3; color: var(--accent); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: .15s;
}
.big-like.liked { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; border-color: transparent; }
.big-like .num { font-variant-numeric: tabular-nums; }

.reaction-row { display: inline-flex; align-items: center; gap: 8px; }
.big-dislike {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 20px; border-radius: 24px;
  border: 1px solid #e0e3ec; background: #f7f8fc; color: #767d92; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: .15s;
}
.big-dislike:hover { border-color: #c7cddd; color: #4e5568; }
.big-dislike.disliked { background: #4e5568; border-color: transparent; color: #fff; }
.big-dislike .num { font-variant-numeric: tabular-nums; }
.share-btn { font-size: 13.5px; color: var(--muted); border: 0; background: none; }

/* 閻犲洤瀚?*/
.comment-box { margin-top: 14px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid #f2f3f7; }
.comment-head { padding: 15px 18px 0; font-size: 14.5px; font-weight: 700; }
.comment-form { display: flex; gap: 10px; padding: 12px 18px 16px; align-items: flex-start; }
.comment-form textarea {
  flex: 1; min-height: 44px; max-height: 140px; padding: 11px 13px; font-size: 14px;
  border: 1px solid var(--line); border-radius: 10px; outline: none; resize: vertical; background: #fafbfd;
}
.comment-form textarea:focus { background: #fff; border-color: #ffc2bd; }
.comment-send {
  padding: 11px 20px; border-radius: 10px; border: 0; color: #fff; font-size: 14px; font-weight: 600;
  background: linear-gradient(135deg, var(--accent-2), var(--accent)); white-space: nowrap;
}
.comment-list { list-style: none; margin: 0; padding: 0 18px 18px; }
.comment-item { display: flex; gap: 10px; padding: 12px 0; border-top: 1px solid #f4f5f9; }
.comment-main { flex: 1; min-width: 0; }
.comment-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 2px; }
.comment-meta .uname { font-size: 13px; color: var(--text-2); font-weight: 600; }
.comment-text { font-size: 14px; line-height: 1.75; color: #2c2f3a; word-break: break-word; }

/* ---------------- 闁告瑦鍨电粩閿嬨亜?---------------- */

.form-wrap { max-width: 760px; margin: 0 auto; padding: 22px 16px 50px; }
.form-card { background: #fff; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid #f2f3f7; padding: 20px; }
.form-card h1 { font-size: 20px; margin: 0 0 4px; }
.form-card .hint { color: var(--muted); font-size: 13px; margin: 0 0 18px; }

.type-switch { display: flex; gap: 8px; margin-bottom: 18px; }
.type-switch label {
  flex: 1; text-align: center; padding: 11px; border-radius: 10px; font-size: 14px;
  background: #f7f8fc; border: 1px solid var(--line); color: var(--text-2); cursor: pointer; transition: .18s;
}
.type-switch input { display: none; }
.type-switch label.on { background: var(--accent-soft); border-color: #ffc9c0; color: var(--accent); font-weight: 600; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--text-2); }
.field label .opt { font-weight: 400; color: var(--muted); font-size: 12px; }
.field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),
.field textarea, .field select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14.5px; outline: none; background: #fafbfd; transition: .18s;
}
.field input:focus, .field textarea:focus, .field select:focus { background: #fff; border-color: #ffc2bd; box-shadow: 0 0 0 3px rgba(255, 77, 79, .07); }
.field textarea { min-height: 128px; resize: vertical; line-height: 1.8; }
.field-row { display: flex; gap: 12px; flex-wrap: wrap; }
.field-row .field { flex: 1; min-width: 150px; }

.drop {
  border: 1.5px dashed #ffd0c6; border-radius: 12px; padding: 22px; text-align: center;
  background: #fffaf8; color: var(--muted); font-size: 13.5px; cursor: pointer; transition: .18s;
}
.drop:hover { border-color: var(--accent); background: #fff5f2; }
.drop strong { display: block; color: var(--text-2); font-size: 14px; margin-bottom: 4px; }
.drop.has-file { border-style: solid; border-color: #c9e9d4; background: #f4fcf7; color: #2c7a4b; }

/* 闂傚懏鍔樺Λ?file 閺夊牊鎸搁崣鍡樻媴閸℃洜鐟濈憸鏉垮船閹肩兘鎮欓悷鏉挎瘖闁哥偑鍊涢幑锝夋晬濮樿鲸鏆忛悷浣风婢光偓婵炲娲戦崬顒勫即?display:none */
.file-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.preview { margin-top: 12px; border-radius: 12px; overflow: hidden; background: #f4f5f9; }
/* 预览里的长图不再限高：限高会把竖图按比例压成一条窄图 */
.preview img { width: 100%; height: auto; max-height: none; object-fit: contain; background: #0e0f14; }
.preview video { width: 100%; max-height: 340px; object-fit: contain; background: #0e0f14; }

.form-actions { display: flex; gap: 12px; align-items: center; margin-top: 6px; }
.form-actions .btn-primary { flex: 1; padding: 13px; font-size: 15px; }
.form-tip { font-size: 12.5px; color: var(--muted); margin-top: 12px; line-height: 1.8; }

/* ---------------- 闁谎嗩嚙缂?婵炲鍔岄崬?---------------- */

.auth-wrap { max-width: 420px; margin: 0 auto; padding: 44px 16px 60px; }
.auth-card { background: #fff; border-radius: 18px; box-shadow: 0 10px 30px rgba(20, 24, 40, .07); padding: 26px 24px; border: 1px solid #f2f3f7; }
.auth-card h1 { font-size: 22px; margin: 0 0 6px; text-align: center; }
.auth-card p.sub { text-align: center; color: var(--muted); font-size: 13px; margin: 0 0 22px; }
.auth-card .field input { background: #fff; }
.auth-btn { width: 100%; padding: 13px; border: 0; border-radius: 11px; color: #fff; font-size: 15px; font-weight: 600;
  background: linear-gradient(135deg, var(--accent-2), var(--accent)); box-shadow: 0 8px 20px rgba(255, 77, 79, .22); }
.auth-foot { text-align: center; font-size: 13px; color: var(--muted); margin-top: 16px; }
.auth-foot a { color: var(--accent); font-weight: 600; }
.auth-foot .auth-sep { margin: 0 6px; color: var(--muted); }
.auth-foot .muted { color: var(--muted); font-weight: 400; }

/* ---------------- 闁活潿鍔嶉崺娑欑▔婵犳哎鈧?---------------- */

.profile-head {
  background: #fff; border-radius: 0; padding: 26px 16px 18px; border-bottom: 1px solid var(--line);
  background-image: linear-gradient(135deg, #fff4ef, #fff8f4 40%, #f5f7ff);
}
.profile-inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; gap: 16px; }
.profile-inner .avatar, .profile-inner .avatar-letter { width: 72px !important; height: 72px !important; line-height: 72px !important; font-size: 26px !important; box-shadow: 0 6px 18px rgba(0, 0, 0, .1); }
.profile-name { font-size: 20px; font-weight: 800; margin: 0 0 2px; }
.profile-meta { font-size: 12.5px; color: var(--muted); }
.profile-bio { font-size: 13.5px; color: var(--text-2); margin-top: 6px; }
.profile-stats { display: flex; gap: 22px; margin-left: auto; }
.profile-stats div { text-align: center; }
.profile-stats b { display: block; font-size: 18px; font-weight: 800; }
.profile-stats span { font-size: 12px; color: var(--muted); }

.profile-edit { max-width: 560px; margin: 18px auto 0; padding: 0 16px; }

/* ---------------- 闁瑰吋绮庨崒?---------------- */

.search-head { max-width: 1120px; margin: 0 auto; padding: 22px 16px 6px; }
.search-head h1 { font-size: 18px; margin: 0 0 4px; }
.search-head p { color: var(--muted); font-size: 13px; margin: 0; }
.search-wrap { max-width: 1120px; margin: 0 auto; padding: 12px 16px 44px; }

/* ---------------- 缂佺姭鍋撻柛妤佹礀閸炲鈧懓缍婇妴?---------------- */

.page-card {
  max-width: 820px; margin: 0 auto; padding: 24px 16px 50px;
}
.page-card .inner { background: #fff; border-radius: 16px; padding: 26px 24px; box-shadow: var(--shadow); border: 1px solid #f2f3f7; }
.page-card h1 { font-size: 21px; margin: 0 0 14px; }
.page-card .content { font-size: 15px; line-height: 2; color: #2c2f3a; }
.page-card .content h2 { font-size: 16px; margin: 22px 0 8px; }

/* ---------------- 閹煎瓨娲熼崕?---------------- */

.site-foot { border-top: 1px solid var(--line); background: #fff; padding: 22px 16px 26px; margin-top: 10px; }
.foot-inner { max-width: 1120px; margin: 0 auto; text-align: center; }
.foot-line { display: flex; gap: 18px; justify-content: center; font-size: 13px; color: var(--text-2); margin: 0 0 8px; }
.foot-line a:hover { color: var(--accent); }
.foot-copy { font-size: 12px; color: var(--muted); margin: 0; }

/* 缂佸顕ф慨鈺冪博椤栨氨淇洪柡宥呴獜缁辨瑥顩煎畝鍕〃闂傚懏鍔樺Λ宀勬晬?*/
.mobile-bar { display: none; }

/* ---------------- 闁告繂绉寸花鎻掝嚕?---------------- */

@media (max-width: 1024px) {
  .feed-wrap, .detail-wrap { grid-template-columns: minmax(0, 1fr); }
  .feed-side { position: static; order: 2; }
}

@media (max-width: 768px) {
  body { font-size: 14.5px; padding-bottom: 62px; }

  .head-inner { height: 54px; gap: 10px; padding: 0 12px; }
  .brand-name { font-size: 15.5px; }
  .brand-logo { width: 30px; height: 30px; font-size: 16px; border-radius: 9px; }
  .head-nav { display: none; }
  .head-search { display: none; }
  .btn-publish { padding: 7px 14px; font-size: 13px; }
  .head-link { display: none; }
  .head-right { gap: 8px; }

  .hero { padding: 18px 12px 14px; }
  .hero-title { font-size: 19px; }
  .hero-sub { font-size: 12.5px; margin: 4px 0 12px; }
  .chip { padding: 6px 13px; font-size: 12.5px; }

  .wrap { padding: 0 12px; }
  .feed-wrap { padding-top: 12px; gap: 16px; padding-bottom: 24px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pcard-head { padding: 9px 10px 7px; }
  .uname { font-size: 12px; }
  .pcard-time { font-size: 11px; }
  .pcard-title { font-size: 13.5px; margin: 8px 10px 0; }
  .pcard-desc { font-size: 12px; margin: 4px 10px 0; }
  .pcard-foot { padding: 8px 10px 9px; gap: 6px; }
  .cat-tag { font-size: 11px; padding: 2px 6px; }
  .pcard-actions { gap: 7px; }
  .stat, .like-btn { font-size: 11px; }
  .text-blob { font-size: 12.5px; -webkit-line-clamp: 4; }
  .play-badge { width: 34px; height: 34px; font-size: 13px; }

  .feed-side { gap: 10px; }
  .side-box { padding: 13px; }

  .detail-wrap { padding: 12px 12px 26px; gap: 14px; }
  .detail-head { padding: 12px 14px; }
  .detail-title { font-size: 17px; }
  .detail-text { font-size: 15px; line-height: 1.9; }
  .detail-body { padding: 14px 14px 4px; }
  .detail-bar { padding: 12px 14px 16px; gap: 10px; }
  .big-like, .big-dislike { padding: 9px 15px; font-size: 13px; gap: 5px; }
  .comment-list { padding: 0 14px 14px; }
  .comment-form { padding: 10px 14px 14px; }
  .comment-head { padding: 14px 14px 0; }

  .form-wrap { padding: 16px 12px 30px; }
  .form-card { padding: 16px; border-radius: 14px; }
  .form-card h1 { font-size: 18px; }
  .type-switch label { padding: 9px; font-size: 13px; }
  .field-row { gap: 0; }

  .auth-wrap { padding: 26px 14px 40px; }
  .auth-card { padding: 22px 18px; border-radius: 15px; }

  .profile-head { padding: 18px 12px 16px; }
  .profile-inner { gap: 12px; }
  .profile-inner .avatar, .profile-inner .avatar-letter { width: 56px !important; height: 56px !important; line-height: 56px !important; font-size: 20px !important; }
  .profile-name { font-size: 17px; }
  .profile-stats { gap: 14px; }
  .profile-stats b { font-size: 15px; }

  .pager { margin: 20px 0 4px; }
  .pg { min-width: 34px; height: 33px; font-size: 13px; padding: 0 10px; }

  .site-foot { padding: 18px 12px 20px; margin-bottom: 0; }
  .foot-line { flex-wrap: wrap; gap: 12px; }

  .mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
    background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
    align-items: center; justify-content: space-around;
  }
  .mobile-bar a {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1px;
    font-size: 11px; color: var(--muted); padding: 3px 0;
  }
  .mobile-bar a.on { color: var(--accent); font-weight: 600; }
  .mb-ico { font-size: 18px; line-height: 1.2; }
  .mb-pub { flex: 0 0 62px !important; }
  .mb-plus {
    width: 42px; height: 42px; border-radius: 50%; color: #fff; font-size: 24px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    box-shadow: 0 8px 18px rgba(255, 77, 79, .32); margin-top: -12px;
  }
}

@media (max-width: 380px) {
  /* 小屏也要保持每行两列，只把间距和内边距收紧 */
  .wrap { padding: 0 10px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pcard-head { padding: 8px 8px 6px; }
  .pcard-foot { padding: 6px 8px; }
  .pcard-title { font-size: 13px; }
  .pcard-desc { font-size: 12px; }
  .feed-more-btn { min-width: 140px; padding: 11px 18px; font-size: 13px; }
  .mobile-bar a { font-size: 10px; padding: 3px 0; }
  .mb-ico { font-size: 16px; }
  .mb-pub { flex: 0 0 50px !important; }
  .mb-plus { width: 38px; height: 38px; font-size: 21px; margin-top: -10px; }
}

/* ================= 婵炴垵鐗婃导?/ 缂佸妞掓穱?/ 缂傚洢鍊涙禍?================= */

.head-msg {
  display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--text-2);
  padding: 6px 10px; border-radius: 9px; border: 1px solid #f0e2dd; background: #fff; text-decoration: none;
  position: relative;
}
.head-msg.on { color: var(--accent); border-color: #ffd0c6; background: #fff5f2; }
.head-dot {
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 9px; background: #ff2d55; color: #fff;
  font-size: 10.5px; line-height: 16px; text-align: center; font-weight: 600;
}

.group-badge, .verify-badge {
  display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 20px;
  font-size: 11.5px; line-height: 18px; color: #fff; vertical-align: middle;
}
.verify-badge { background: #fff; color: #c98a00; border: 1px solid #f0d49b; }

.tip-box {
  background: #fffbf2; border: 1px solid #f4e3c2; border-radius: 12px; padding: 12px 14px;
}
.tip-box p { margin: 2px 0; font-size: 13px; }
.tip-warn { color: #a8730a; }
.tip-info { color: #7a8398; }

.profile-dm {
  align-self: center; margin-left: auto; padding: 9px 18px; font-size: 13.5px; text-decoration: none;
}

.msg-wrap {
  display: grid; grid-template-columns: 300px 1fr; gap: 16px;
  max-width: 1120px; margin: 0 auto; padding: 18px 16px 40px; align-items: start;
}

/* ---------- 濞村吋淇洪惁浠嬪礆濡ゅ嫨鈧?---------- */
.chat-list {
  background: #fff; border: 1px solid #f0ebe8; border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(255,77,79,.04);
}
.chat-list-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 14px 10px; border-bottom: 1px solid #f5efec;
}
.chat-list-head h1 { font-size: 15px; margin: 0; }
.chat-list-actions { display: flex; gap: 6px; }
.mini-btn {
  display: inline-block; padding: 5px 10px; border-radius: 8px; border: 1px solid #ffd6cc;
  background: #fff6f3; color: var(--accent); font-size: 12px; text-decoration: none; cursor: pointer;
  font-family: inherit;
}
.chat-items { list-style: none; margin: 0; padding: 4px; max-height: 60vh; overflow-y: auto; }
.chat-items li { border-radius: 11px; }
.chat-items li.on { background: #fff2ee; }
.chat-items a { display: flex; align-items: center; gap: 10px; padding: 10px; text-decoration: none; color: inherit; }
.chat-ico { font-size: 17px; }
.chat-meta { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.chat-meta b { font-size: 13.5px; font-weight: 600; }
.chat-meta small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.unread-dot {
  min-width: 17px; height: 17px; padding: 0 5px; border-radius: 9px; background: #ff2d55; color: #fff;
  font-size: 10.5px; line-height: 17px; text-align: center;
}
.chat-new { padding: 10px 12px 12px; border-top: 1px solid #f5efec; }
.chat-new form { display: flex; gap: 6px; }
.chat-new input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid #eee3df; border-radius: 9px; font-size: 12.5px; }
.chat-empty { padding: 16px; color: var(--muted); font-size: 13px; text-align: center; }

/* ---------- 濞村吋淇洪惁鑺ョ▔鐠佸磭绉?---------- */
.chat-main { min-width: 0; }
.chat-panel {
  background: #fff; border: 1px solid #f0ebe8; border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; min-height: 420px;
  box-shadow: 0 2px 10px rgba(255,77,79,.04);
}
.chat-placeholder { align-items: center; justify-content: center; gap: 10px; color: var(--muted); padding: 40px 20px; }
.chat-panel-title { font-size: 15px; margin: 0; padding: 14px 16px 0; }

.chat-head {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #f5efec;
  background: #fffdfc; position: sticky; top: 0; z-index: 2;
}
.chat-back { display: none; font-size: 18px; color: var(--text-2); text-decoration: none; }
.chat-head-title { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.chat-head-title b { font-size: 14.5px; }
.chat-head-title small { font-size: 11.5px; color: var(--muted); }
.chat-invite { position: relative; }
.chat-invite form { display: flex; gap: 6px; margin-top: 8px; position: absolute; right: 0; top: 100%;
  background: #fff; border: 1px solid #f0ebe8; border-radius: 10px; padding: 8px; z-index: 5; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.chat-invite input { width: 130px; padding: 6px 8px; border: 1px solid #eee3df; border-radius: 7px; font-size: 12.5px; }

.chat-body { flex: 1; overflow-y: auto; padding: 14px 16px; background: #fbfaf9; min-height: 340px; max-height: 58vh; }
.chat-day { text-align: center; font-size: 11.5px; color: #b6b0aa; margin: 10px 0; }
.chat-row { display: flex; gap: 8px; margin-bottom: 12px; align-items: flex-start; }
.chat-row.mine { flex-direction: row-reverse; }
.chat-avatar .avatar { border-radius: 50%; }
.chat-bubble-wrap { max-width: 74%; display: flex; flex-direction: column; gap: 3px; }
.chat-row.mine .chat-bubble-wrap { align-items: flex-end; }
.chat-nick { font-size: 11.5px; color: var(--muted); }
.chat-bubble {
  background: #fff; border: 1px solid #f0ebe8; border-radius: 12px; padding: 9px 12px;
  font-size: 13.5px; line-height: 1.6; word-break: break-word;
}
.chat-row.mine .chat-bubble { background: linear-gradient(135deg,#ff6b3d,#ff2d55); color: #fff; border-color: transparent; }
.chat-time { font-size: 11px; color: #b9b3ad; }

.chat-send { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid #f5efec; background: #fff; }
.chat-send input[type=text] {
  flex: 1; min-width: 0; padding: 11px 13px; border: 1px solid #eee3df; border-radius: 11px; font-size: 13.5px;
}
.chat-send button { padding: 11px 22px; border: 0; border-radius: 11px; background: linear-gradient(135deg,#ff6b3d,#ff2d55);
  color: #fff; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.chat-send-locked { justify-content: center; color: var(--muted); font-size: 12.5px; }

/* ---------- 缂佸顕ф慨鈺冪博?---------- */
@media (max-width: 860px) {
  .msg-wrap { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 12px 12px 76px; }
  .chat-list.has-open { display: none; }
  .chat-list { max-height: none; }
  .chat-items { max-height: none; }
  .chat-back { display: inline-block; }
  .chat-panel { min-height: calc(100vh - 190px); }
  .chat-body { max-height: none; }
  .chat-bubble-wrap { max-width: 82%; }
  .profile-dm { margin: 10px 0 0; }
  .head-msg { padding: 5px 8px; font-size: 12.5px; }
}

/* ---------------- 标签页 ---------------- */
.side-more { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--accent); }
.side-more:hover { text-decoration: underline; }

.tag-wrap { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; padding-bottom: 30px; }
.tag-panel { background: var(--card); border: 1px solid #f2f3f7; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
.tag-h2 { margin: 0 0 14px; font-size: 15px; }
.tag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.tag-card {
  display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 12px;
  background: #fafbff; border: 1px solid #f1f2f8; position: relative; transition: .16s;
}
.tag-card:hover { background: var(--accent-soft); border-color: #ffd6cf; transform: translateY(-2px); }
.tag-no { position: absolute; top: 8px; right: 10px; font-size: 10px; color: #c3c7d4; }
.tag-name { font-size: 14px; font-weight: 700; color: var(--text); }
.tag-count { font-size: 11.5px; color: #8b90a0; }
.tag-hint { margin: 12px 0 0; font-size: 12px; color: #9aa0b0; line-height: 1.8; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-debug {
  background: #fafbff; border: 1px solid #f1f2f8; border-radius: 10px; padding: 10px 12px;
  font-size: 12px; white-space: pre-wrap; word-break: break-all; color: #4b5062; margin: 0;
}

@media (max-width: 640px) {
  .tag-panel { padding: 14px; }
  .tag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tag-name { font-size: 13px; }
}
/* ===== 多图：卡片角标 / 发布页缩略图 / 详情页滑动画廊 ===== */
.pcard-count {
  position: absolute; right: 8px; bottom: 8px; z-index: 2;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(10, 12, 20, .62); color: #fff; font-size: 11px; line-height: 1.5;
  backdrop-filter: blur(3px); pointer-events: none;
}
.preview-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 8px; padding: 8px; background: #f4f5f9;
}
.preview-grid .pv-item { position: relative; border-radius: 10px; overflow: hidden; background: #0e0f14; }
.preview-grid .pv-item img { width: 100%; aspect-ratio: 1 / 1; max-height: none; object-fit: cover; display: block; }
.preview-grid .pv-del {
  position: absolute; right: 4px; top: 4px; width: 22px; height: 22px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(0, 0, 0, .62); color: #fff;
  font-size: 15px; line-height: 22px; cursor: pointer;
}
.preview-grid .pv-del:hover { background: rgba(217, 44, 57, .9); }

.detail-gallery { position: relative; }
.gallery-track {
  display: flex; align-items: flex-start; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; width: 100%; scroll-snap-align: center; scroll-snap-stop: always; }
.gallery-slide img { width: 100%; height: auto; max-height: none; object-fit: contain; display: block; margin: 0 auto; background: #0e0f14; }
.gallery-count {
  position: absolute; right: 10px; top: 10px;
  padding: 3px 9px; border-radius: 999px; background: rgba(0, 0, 0, .6);
  color: #fff; font-size: 12px; line-height: 1.6; pointer-events: none;
}
.gallery-count b { font-weight: 700; }
.gallery-dots {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center; gap: 5px; padding: 4px 8px;
  max-width: calc(100% - 24px); flex-wrap: wrap;
  border-radius: 999px; background: rgba(0, 0, 0, .45);
}
.gallery-dot {
  width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .55); cursor: pointer; transition: .16s;
}
.gallery-dot.on { width: 14px; border-radius: 4px; background: #ff4d4f; }
.gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; border: 0;
  background: rgba(0, 0, 0, .45); color: #fff; font-size: 20px; line-height: 34px;
  cursor: pointer; display: none; align-items: center; justify-content: center;
}
.gallery-arrow.prev { left: 10px; }
.gallery-arrow.next { right: 10px; }
.gallery-arrow:hover { background: rgba(255, 77, 79, .85); }
.gallery-hint {
  position: absolute; left: 10px; bottom: 12px;
  padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .42);
  color: rgba(255, 255, 255, .85); font-size: 11px; pointer-events: none;
}
@media (min-width: 768px) {
  .gallery-arrow { display: flex; }
  .gallery-hint { display: none; }
}

/* 长图 / 竖图强制铺满详情宽度，按原比例向下展开，禁止被高度上限压窄 */
.detail-media > img,
.detail-media > a > img,
.gallery-slide > img,
.gallery-slide > a > img {
  width: 100% !important;
  min-width: 100%;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
}
.detail-media > a { display: block; line-height: 0; }
.gallery-origin {
  position: absolute; left: 10px; top: 10px; z-index: 3;
  padding: 3px 9px; border-radius: 999px; background: rgba(0, 0, 0, .6);
  color: #fff; font-size: 12px; line-height: 1.6; text-decoration: none;
}
.gallery-origin:hover { background: rgba(255, 77, 79, .85); }

/* 打赏：详情页 / 个人主页的面板（纯 details，不依赖 JS） */
.detail-reward { padding: 0 16px 18px; }
.profile-reward { padding-top: 14px; }
.profile-reward .reward { border-top: 0; padding-top: 0; }
.reward { border-top: 1px dashed #f1e4dc; padding-top: 14px; }
.reward-summary {
  display: inline-flex; align-items: center; gap: 5px;
  list-style: none; cursor: pointer; user-select: none;
  padding: 8px 16px; border-radius: 999px;
  background: #fff7f2; border: 1px solid #ffd9c9;
  color: #d23f24; font-size: 13.5px; font-weight: 700;
}
.reward-summary::-webkit-details-marker { display: none; }
.reward-summary:hover { background: #ffefe7; }
.reward[open] .reward-summary { background: #ffebe1; border-color: #ffc9b5; }
.reward-panel {
  margin-top: 10px; padding: 12px;
  border: 1px solid #ffe7da; border-radius: 12px;
  background: #fffaf6;
}
.reward-title { font-size: 13.5px; color: #4b5062; margin-bottom: 10px; }
.reward-title b { color: #d23f24; }
.reward-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px; align-items: start;
}
.reward-item { text-align: center; min-width: 0; }
.reward-channel {
  display: inline-block; padding: 1px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; line-height: 1.7;
}
.reward-channel.wechat { color: #0a8f4d; background: #e8f7ef; border: 1px solid #c9efdb; }
.reward-channel.alipay { color: #1677ff; background: #eef5ff; border: 1px solid #d6e6ff; }
.reward-item a { display: block; margin-top: 8px; }
.reward-item img {
  display: block; width: 100%; max-width: 170px;
  aspect-ratio: 1 / 1; object-fit: contain;
  margin: 0 auto; padding: 4px;
  background: #fff; border: 1px solid #f0f1f5; border-radius: 10px;
}
.reward-note {
  margin-top: 10px; padding: 7px 10px; border-radius: 8px;
  background: #fff4ec; color: #bd5a37;
  font-size: 12.5px; line-height: 1.7;
}
.reward-foot { margin-top: 9px; font-size: 12px; color: #8b90a0; line-height: 1.6; }

/* 个人资料里的收款码上传 */
.pay-qr-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px; margin-top: 8px;
}
.pay-qr-col { min-width: 0; padding: 10px; border: 1px solid #eef0f5; border-radius: 10px; background: #fafbfc; }
.pay-qr-head { margin-bottom: 7px; font-size: 13px; font-weight: 700; color: #4b5062; }
.pay-drop { padding: 10px; }
.pay-drop strong { font-size: 12.5px; }
.pay-qr-preview { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.pay-qr-preview img {
  width: 64px; height: 64px; object-fit: contain;
  background: #fff; border: 1px solid #e5e7ef; border-radius: 8px;
}
.pay-qr-del { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #8b90a0; }
