/* ==========================================================================
   Zimuo Theme — 柔粉紫社群风
   主色：#C06B9E（玫瑰粉）/ #8B6CC1（薰衣紫）/ #FBF5FA（淡粉白）/ #2C2A31（墨紫）
   ========================================================================== */

:root {
  --coral: #C06B9E;
  --coral-deep: #A3527F;
  --orange: #8B6CC1;
  --cream: #FBF5FA;
  --ink: #2C2A31;
  --ink-soft: #6b5f6e;
  --line: rgba(44, 42, 49, .08);
  --shadow-sm: 0 2px 8px rgba(192, 107, 158, .06);
  --shadow: 0 6px 24px rgba(192, 107, 158, .10);
  --shadow-lg: 0 16px 48px -16px rgba(163, 82, 127, .20);
  --serif: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", ui-serif, Georgia, serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
  --num: Georgia, "Times New Roman", ui-serif, serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--sans); color: var(--ink); background: var(--cream); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; border: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ===== NAV ===== */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); background: rgba(251, 245, 250, .85); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 60px; }
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-weight: 900; font-size: 20px; }
.logo-mark { width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, var(--coral), var(--orange)); display: grid; place-items: center; color: #fff; font-family: var(--num); font-weight: 700; font-size: 16px; transform: rotate(-4deg); }
.logo small { font-family: var(--sans); font-weight: 400; font-size: 10px; color: var(--ink-soft); display: block; margin-top: -3px; }
.menu { display: flex; gap: 24px; flex: 1; list-style: none; padding: 0; margin: 0; }
.menu li { list-style: none; }
.menu a { font-weight: 500; font-size: 14px; color: var(--ink-soft); padding: 4px 0; }
.menu .current-menu-item a, .menu a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 8px; }
.btn { display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: 13px; transition: transform .2s, box-shadow .2s; }
.btn-ghost { color: var(--ink); border: 1px solid var(--line); background: #fff; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--coral), var(--coral-deep)); box-shadow: 0 4px 16px rgba(192, 107, 158, .30); }
.btn:hover { transform: translateY(-1px); }
.menu-toggle { display: none; }

/* ===== HERO ===== */
.hero { padding: 36px 0 16px; background: linear-gradient(180deg, rgba(192,107,158,.06) 0%, transparent 100%); }
.hero-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.hero h1 { font-family: var(--serif); font-weight: 900; font-size: clamp(28px, 4.5vw, 46px); line-height: 1.25; margin: 0 0 24px; letter-spacing: -.5px; }
.hero h1 .accent { background: linear-gradient(120deg, var(--coral), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.searchbar { background: #fff; border-radius: 16px; padding: 6px 6px 6px 10px; display: flex; gap: 0; align-items: center; box-shadow: 0 4px 20px rgba(192,107,158,.12), 0 1px 3px rgba(0,0,0,.04); max-width: 640px; margin: 0 auto; border: 1px solid rgba(192,107,158,.08); }
.searchbar select, .searchbar input { border: 0; background: transparent; font: inherit; color: var(--ink); padding: 12px 14px; outline: none; font-size: 14px; }
.searchbar select { font-weight: 500; max-width: 120px; cursor: pointer; color: var(--ink-soft); }
.searchbar select:hover { color: var(--ink); }
.searchbar .divider { width: 1px; height: 22px; background: var(--line); flex: none; }
.searchbar input { flex: 1; min-width: 0; }
.searchbar .btn { height: 44px; padding: 0 22px; flex: none; font-size: 14px; }

/* ===== MARQUEE ===== */
.marquee-wrap { margin-top: 18px; background: linear-gradient(135deg, #2C2A31, #3a2f3d); color: #fff; border-radius: 12px; padding: 11px 0; overflow: hidden; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(192,107,158,.1); }
.marquee-tag { flex: none; margin-left: 14px; background: linear-gradient(135deg, var(--coral), var(--orange)); color: #fff; font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 8px; letter-spacing: .5px; box-shadow: 0 2px 8px rgba(192,107,158,.3); }
.marquee { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: inline-flex; gap: 48px; white-space: nowrap; animation: scroll 36s linear infinite; font-size: 13px; color: rgba(243,232,240,.8); }
.marquee-track span { display: inline-flex; align-items: center; gap: 6px; }
.marquee-track i { font-style: normal; color: var(--orange); font-weight: 600; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== PROVINCE NAV ===== */
.province { padding: 14px 0 6px; }
.province-pills { display: flex; gap: 6px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 4px 0 8px; mask-image: linear-gradient(90deg, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); }
.pill { padding: 7px 16px; border-radius: 10px; background: rgba(192, 107, 158, .06); color: var(--ink-soft); font-size: 13px; font-weight: 500; border: 1px solid transparent; transition: .2s; cursor: pointer; flex: none; white-space: nowrap; }
.pill:hover { background: rgba(192, 107, 158, .12); color: var(--coral); }
.pill.active { background: linear-gradient(135deg, var(--coral), var(--coral-deep)); color: #fff; box-shadow: 0 2px 8px rgba(192, 107, 158, .3); }

/* ===== SECTIONS ===== */
section { padding: 20px 0; }
.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sec-head h2 { font-family: var(--sans); font-weight: 700; font-size: 20px; margin: 0; }
.sec-head a { font-size: 13px; color: var(--ink-soft); }

/* ===== MEMBER GRID ===== */
.members-band { background: #fff; border-radius: 20px; padding: 20px 18px 24px; box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.member-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.card { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .ph { aspect-ratio: 3/4; background: linear-gradient(135deg, #f3e8f0, #ede0f0); position: relative; overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .city { position: absolute; right: 6px; top: 6px; background: rgba(0, 0, 0, .5); color: #fff; padding: 2px 8px; border-radius: 999px; font-size: 10px; backdrop-filter: blur(4px); }
.card .info { padding: 8px 10px 10px; }
.card .name { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 4px; }
.card .age { font-family: var(--num); color: var(--ink-soft); font-weight: 600; font-size: 12px; }
.tag { display: inline-block; font-size: 10px; padding: 2px 7px; border-radius: 5px; background: rgba(192, 107, 158, .10); color: var(--coral); margin-top: 5px; font-weight: 500; }

/* ===== SHOP ===== */
.shop-band { background: linear-gradient(135deg, #2C2A31, #36303a); color: #fff; border-radius: 20px; padding: 24px 20px; position: relative; overflow: hidden; }
.shop-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.shop-head h2 { font-size: 20px; font-weight: 700; margin: 0; }
.shop-head .pill-s { background: rgba(255, 255, 255, .10); padding: 6px 14px; border-radius: 999px; font-size: 12px; border: 1px solid rgba(255, 255, 255, .15); }
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.product { background: #fff; border-radius: 14px; overflow: hidden; color: var(--ink); transition: transform .2s; }
.product:hover { transform: translateY(-4px); }
.product .ph { aspect-ratio: 1/1; background: #f3e8f0; overflow: hidden; position: relative; }
.product .ph img { width: 100%; height: 100%; object-fit: cover; }
.product .ribbon { position: absolute; left: 8px; top: 8px; background: var(--coral); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 5px; }
.product .body { padding: 10px 12px 12px; }
.product h4 { font-size: 13px; margin: 0 0 6px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.product .price b { font-family: var(--num); color: var(--coral); font-size: 18px; font-weight: 700; }
.product .price b::before { content: "¥"; font-size: 12px; }
.product .price del { color: var(--ink-soft); font-size: 11px; margin-left: 6px; }

/* ===== HOME STORIES ===== */
.story-home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.story-home-card { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.story-home-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.story-home-img { aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, #f3e8f0, #ede0f0); }
.story-home-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.story-home-card:hover .story-home-img img { transform: scale(1.04); }
.story-home-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--ink-soft); opacity: .3; }
.story-home-body { padding: 12px 14px 14px; }
.story-home-cat { font-size: 10px; font-weight: 600; color: var(--coral); background: rgba(232,90,79,.08); padding: 2px 7px; border-radius: 4px; }
.story-home-body h4 { font-size: 14px; font-weight: 600; line-height: 1.4; margin: 6px 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.story-home-card:hover h4 { color: var(--coral); }
.story-home-date { font-size: 11px; color: var(--ink-soft); }

/* ===== HOME STORY LIST (text only) ===== */
.story-home-list { background: #fff; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; }
.story-home-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line); transition: background .15s; gap: 12px; }
.story-home-row:last-child { border-bottom: 0; }
.story-home-row:hover { background: var(--cream); }
.story-home-row-title { font-size: 14px; font-weight: 500; color: var(--ink); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-width: 0; }
.story-home-row:hover .story-home-row-title { color: var(--coral); }
.story-home-row-meta { display: flex; align-items: center; gap: 8px; flex: none; font-size: 12px; color: var(--ink-soft); white-space: nowrap; }

/* ===== FOOTER ===== */
.site-footer { background: #2C2A31; color: rgba(255, 255, 255, .7); padding: 36px 0 20px; margin-top: 20px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.foot-grid h5 { color: #fff; font-size: 13px; margin: 0 0 12px; font-weight: 600; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; font-size: 12px; line-height: 2.1; }
.foot-grid a:hover { color: var(--orange); }
.foot-about p { font-size: 12px; line-height: 1.7; margin: 0 0 12px; }
.foot-warn { background: rgba(192, 107, 158, .14); color: #e8c5dd; padding: 10px; border-radius: 8px; font-size: 11px; border-left: 3px solid var(--coral); }
.foot-cities { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12px; line-height: 2.2; }
.foot-cities-label { color: rgba(255, 255, 255, .5); font-weight: 600; margin-right: 4px; }
.foot-cities a { color: rgba(255, 255, 255, .45); margin-right: 12px; white-space: nowrap; transition: color .2s; }
.foot-cities a:hover { color: var(--orange); }
.copy { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; font-size: 11px; color: rgba(255, 255, 255, .35); flex-wrap: wrap; gap: 8px; }

/* ===== MEMBER PROFILE ===== */
.member-profile { max-width: 800px; margin: 0 auto; padding: 32px 24px; }
.mp-header { display: flex; gap: 28px; align-items: flex-start; }
.mp-avatar { width: 160px; height: 200px; border-radius: 16px; object-fit: cover; flex: none; box-shadow: var(--shadow); }
.mp-info { flex: 1; }
.mp-name { font-family: var(--serif); font-size: 24px; font-weight: 700; margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
.mp-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.mp-interests { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.mp-interests span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--ink-soft); border: 1px solid var(--line); }
.mp-intro { font-size: 14px; color: var(--ink-soft); line-height: 1.7; margin: 0; }
.mp-contact { margin-top: 28px; background: #fff; border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.mp-contact h3 { font-family: var(--serif); font-size: 18px; margin: 0 0 16px; }
.mp-contact p { font-size: 14px; margin: 6px 0; color: var(--ink); }
.mp-contact .locked { color: var(--ink-soft); font-size: 13px; text-align: center; padding: 20px 0; }
.mp-contact .locked svg { display: block; margin: 0 auto 10px; opacity: .5; }

/* ===== USER CENTER ===== */
.uc-wrap { max-width: 900px; margin: 0 auto; }
.uc-title { font-family: var(--serif); font-size: 26px; margin: 0 0 20px; }
.uc-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line); padding-bottom: 0; }
.uc-tab { padding: 10px 18px; border-radius: 10px 10px 0 0; font-size: 14px; font-weight: 600; background: #fff; color: var(--ink-soft); transition: background .2s, color .2s; }
.uc-tab:hover { color: var(--ink); }
.uc-tab.active { background: var(--ink); color: #fff; }
.uc-tab-edit { padding: 10px 18px; font-size: 14px; color: var(--ink-soft); margin-left: auto; }
.uc-content { background: #fff; border-radius: 0 14px 14px 14px; padding: 24px; box-shadow: var(--shadow-sm); }
.uc-balance { text-align: center; padding: 32px 0; }
.uc-balance-label { font-size: 13px; color: var(--ink-soft); }
.uc-balance-num { font-family: var(--num); font-size: 52px; font-weight: 800; color: var(--coral); margin: 8px 0; }
.uc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.uc-table th { text-align: left; padding: 8px 0; border-bottom: 2px solid var(--line); font-weight: 600; }
.uc-table td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.uc-table .num { font-family: var(--num); text-align: right; }
.uc-table .time { font-size: 12px; color: var(--ink-soft); }
.uc-table .positive { color: #2d8f4e; }
.uc-table .negative { color: var(--coral); }
.uc-empty { text-align: center; color: var(--ink-soft); padding: 50px 0; }
.uc-empty svg { display: block; margin: 0 auto 12px; opacity: .35; }

/* ===== MEMBER GALLERY ===== */
.mp-gallery { margin-top: 28px; background: #fff; border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.mp-gallery h3 { font-family: var(--serif); font-size: 18px; margin: 0 0 16px; }
.mp-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mp-gallery-item { border-radius: 10px; overflow: hidden; aspect-ratio: 1/1; }
.mp-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.mp-gallery-item:hover img { transform: scale(1.05); }

/* ===== USER CENTER GALLERY ===== */
.uc-gallery-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.uc-gallery-count { font-size: 13px; color: var(--ink-soft); }
.uc-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.uc-gallery-item { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1/1; background: linear-gradient(135deg, #f3e8f0, #ede0f0); }
.uc-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.uc-gallery-del { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .2s; border: 0; }
.uc-gallery-item:hover .uc-gallery-del { opacity: 1; }
.uc-gallery-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border-radius: 12px; aspect-ratio: 1/1; border: 2px dashed var(--line); color: var(--ink-soft); cursor: pointer; transition: border-color .2s, color .2s; font-size: 12px; }
.uc-gallery-add:hover { border-color: var(--coral); color: var(--coral); }

/* ===== RECHARGE ===== */
.recharge-wrap { max-width: 680px; margin: 0 auto; }
.recharge-title { font-family: var(--serif); font-size: 28px; text-align: center; margin: 0 0 8px; }
.recharge-balance { text-align: center; color: var(--ink-soft); margin: 0 0 32px; }
.recharge-balance b { color: var(--coral); font-family: var(--num); font-size: 20px; }
.recharge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.recharge-card { background: #fff; border-radius: 16px; padding: 24px 18px; text-align: center; border: 2px solid var(--line); cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; }
.recharge-card:hover { border-color: var(--coral); transform: translateY(-2px); box-shadow: var(--shadow); }
.recharge-price { font-family: var(--num); font-size: 36px; font-weight: 800; color: var(--coral); }
.recharge-price::before { content: "¥"; font-size: 18px; }
.recharge-bonus { font-size: 13px; color: var(--orange); margin: 8px 0 4px; display: flex; align-items: center; justify-content: center; gap: 4px; }
.recharge-total { font-size: 12px; color: var(--ink-soft); margin-bottom: 14px; }

/* ===== ARTICLE ===== */
.article-wrap { max-width: 800px; margin: 0 auto; padding: 32px 24px; }
.article-title { font-family: var(--serif); font-size: 28px; line-height: 1.3; margin: 0 0 12px; }
.article-meta { font-size: 13px; color: var(--ink-soft); margin-bottom: 24px; display: flex; gap: 16px; flex-wrap: wrap; }
.article-featured { margin-bottom: 24px; border-radius: 12px; overflow: hidden; }
.article-featured img { width: 100%; height: auto; }
.article-nav { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 14px; }
.article-nav a:hover { color: var(--coral); }

/* Post body typography */
.post-body { font-size: 16px; line-height: 1.85; }
.post-body p { margin: 0 0 16px; }
.post-body h2 { font-family: var(--serif); font-size: 22px; margin: 32px 0 12px; }
.post-body h3 { font-family: var(--serif); font-size: 18px; margin: 24px 0 10px; }
.post-body blockquote { margin: 20px 0; padding: 14px 20px; border-left: 3px solid var(--coral); background: rgba(192, 107, 158, .04); border-radius: 0 8px 8px 0; font-size: 15px; color: var(--ink-soft); }
.post-body ul, .post-body ol { padding-left: 24px; margin: 12px 0; }
.post-body li { margin-bottom: 6px; }
.post-body img { border-radius: 10px; margin: 16px 0; }
.post-body a { color: var(--coral); text-decoration: underline; text-decoration-color: rgba(192, 107, 158, .3); }
.post-body a:hover { text-decoration-color: var(--coral); }

/* ===== STORY LIST (左图右文) ===== */
.story-wrap { max-width: 860px; margin: 0 auto; }
.story-page-title { font-family: var(--serif); font-size: 26px; font-weight: 900; margin: 0 0 20px; padding-bottom: 14px; border-bottom: 2px solid var(--line); }
.story-list { display: flex; flex-direction: column; gap: 0; }
.story-item { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); transition: background .2s; }
.story-item:first-child { padding-top: 0; }
.story-item:hover { background: rgba(255,255,255,.5); margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: 12px; }
.story-item-thumb { flex: none; width: 180px; height: 130px; border-radius: 10px; overflow: hidden; }
.story-item-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.story-item:hover .story-item-thumb img { transform: scale(1.04); }
.story-item-nothumb { width: 100%; height: 100%; background: linear-gradient(135deg, #f3e8f0, #ede0f0); display: grid; place-items: center; color: var(--ink-soft); opacity: .35; }
.story-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.story-item-cat { display: inline-block; font-size: 11px; font-weight: 600; color: var(--coral); background: rgba(192, 107, 158, .08); padding: 2px 8px; border-radius: 4px; margin-bottom: 6px; align-self: flex-start; }
.story-item-title { font-family: var(--serif); font-size: 17px; font-weight: 700; line-height: 1.4; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; }
.story-item:hover .story-item-title { color: var(--coral); }
.story-item-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--ink-soft); margin-bottom: 6px; }
.story-item-meta span { display: inline-flex; align-items: center; gap: 3px; }
.story-item-meta svg { opacity: .5; }
.story-item-excerpt { font-size: 13px; line-height: 1.65; color: var(--ink-soft); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.story-item-more { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--coral); margin-top: 6px; align-self: flex-start; }
.story-item-more svg { transition: transform .2s; }
.story-item:hover .story-item-more svg { transform: translateX(3px); }

/* Archive title (kept for backwards compat) */
.archive-wrap { max-width: 900px; margin: 0 auto; }
.archive-title { font-family: var(--serif); font-size: 26px; margin: 0 0 24px; }
.article-list { display: flex; flex-direction: column; gap: 16px; }
.article-card { background: #fff; border-radius: 14px; padding: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.article-card-title { font-weight: 700; font-size: 17px; line-height: 1.4; display: block; margin-bottom: 8px; }
.article-card-title:hover { color: var(--coral); }
.article-card-excerpt { font-size: 13px; color: var(--ink-soft); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-card-meta { margin-top: 10px; font-size: 12px; color: var(--ink-soft); }

/* ===== MEMBERS FILTERS ===== */
.members-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; align-items: center; }
.members-filters select, .members-filters input[type="text"] { height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-family: var(--sans); color: var(--ink); outline: none; transition: border-color .2s; }
.members-filters select:focus, .members-filters input:focus { border-color: var(--coral); }
.members-filters input[type="text"] { flex: 1; min-width: 140px; }

/* ===== PRODUCT DETAIL ===== */
.product-detail { max-width: 960px; margin: 0 auto; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.product-main-img { width: 100%; border-radius: 16px; box-shadow: var(--shadow); }
.product-thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; }
.product-thumbs img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid var(--line); transition: border-color .2s; }
.product-thumbs img:hover, .product-thumbs img.active { border-color: var(--coral); }
.product-name { font-family: var(--serif); font-size: 26px; margin: 0 0 12px; }
.product-price { margin-bottom: 16px; }
.product-price b { font-family: var(--num); font-size: 32px; font-weight: 800; color: var(--coral); }
.product-price b::before { content: "¥"; font-size: 16px; }
.product-price del { font-size: 16px; color: var(--ink-soft); margin-left: 8px; }
.product-desc { font-size: 14px; color: var(--ink-soft); margin-bottom: 20px; line-height: 1.8; }
.product-badges { margin-top: 16px; font-size: 12px; color: var(--ink-soft); display: flex; gap: 16px; }
.product-badges span { display: flex; align-items: center; gap: 4px; }
.product-body { margin-top: 40px; background: #fff; border-radius: 14px; padding: 24px; box-shadow: var(--shadow-sm); }
.product-body h2 { font-size: 18px; margin: 0 0 16px; }
.product-soldout { background: var(--cream); padding: 16px; border-radius: 10px; text-align: center; color: var(--ink-soft); }

/* ===== SINGLE ARTICLE LAYOUT ===== */
.single-layout { width: 100%; overflow: hidden; padding-top: 28px; padding-bottom: 28px; }
.single-main { width: 620px; float: left; }
.single-sidebar { width: 280px; float: right; }

/* Tags */
.single-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.single-tags a { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--ink-soft); border: 1px solid var(--line); transition: .2s; }
.single-tags a:hover { border-color: var(--coral); color: var(--coral); }

/* Prev / Next navigation */
.single-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.single-nav-item { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: #fff; border-radius: 12px; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.single-nav-item:hover { border-color: var(--coral); box-shadow: var(--shadow-sm); }
.single-nav-item.next { text-align: right; }
.single-nav-label { font-size: 12px; color: var(--ink-soft); display: flex; align-items: center; gap: 4px; }
.single-nav-item.next .single-nav-label { justify-content: flex-end; }
.single-nav-title { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== SIDEBAR ===== */
.single-sidebar { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 16px; }
.sidebar-card { background: #fff; border-radius: 14px; padding: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.sidebar-title { font-size: 14px; font-weight: 700; margin: 0 0 12px; display: flex; align-items: center; gap: 6px; color: var(--ink); }
.sidebar-title svg { color: var(--coral); }

/* Search */
.sidebar-search { display: flex; gap: 4px; }
.sidebar-search input { flex: 1; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: 13px; font-family: var(--sans); outline: none; background: var(--cream); }
.sidebar-search input:focus { border-color: var(--coral); }
.sidebar-search button { width: 36px; height: 36px; border-radius: 8px; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }

/* Recent posts */
.sidebar-posts { list-style: none; padding: 0; margin: 0; }
.sidebar-posts li { border-bottom: 1px solid var(--line); }
.sidebar-posts li:last-child { border-bottom: 0; }
.sidebar-posts a { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 13px; line-height: 1.4; color: var(--ink); transition: color .2s; }
.sidebar-posts a:hover { color: var(--coral); }
.sidebar-posts img { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; flex: none; }
.sidebar-posts span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Categories */
.sidebar-cats { list-style: none; padding: 0; margin: 0; }
.sidebar-cats li { border-bottom: 1px solid var(--line); }
.sidebar-cats li:last-child { border-bottom: 0; }
.sidebar-cats a { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; font-size: 13px; color: var(--ink-soft); transition: color .2s; }
.sidebar-cats a:hover { color: var(--coral); }
.sidebar-cats .count { font-family: var(--num); font-size: 11px; background: var(--cream); padding: 1px 7px; border-radius: 999px; }

/* Tag cloud */
.sidebar-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sidebar-tags a { font-size: 11px; padding: 3px 9px; border-radius: 999px; background: var(--cream); color: var(--ink-soft); border: 1px solid var(--line); transition: .2s; }
.sidebar-tags a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ===== PROFILE HEADER CARD ===== */
.profile-header-card { border-radius: 16px; overflow: hidden; margin-bottom: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.phc-bg { height: 100px; background: linear-gradient(135deg, var(--coral), var(--orange)); }
.phc-body { background: #fff; padding: 0 24px 20px; display: flex; align-items: flex-end; gap: 18px; margin-top: -40px; }
.phc-avatar-wrap { position: relative; flex: none; }
.phc-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow); }
.phc-avatar-edit { position: absolute; bottom: 0; right: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: transform .2s; }
.phc-avatar-edit:hover { transform: scale(1.1); }
.phc-info { padding-bottom: 4px; min-width: 0; flex: 1; }
.phc-name { font-family: var(--serif); font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.phc-meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.phc-meta span { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: rgba(192, 107, 158, .10); color: var(--coral); font-weight: 500; }
.phc-meta .phc-meta-light { background: none; color: var(--ink-soft); padding: 0; }
.phc-actions { display: flex; align-items: center; gap: 10px; flex: none; padding-bottom: 4px; }
.phc-balance { text-align: center; margin-right: 6px; }
.phc-balance-label { display: block; font-size: 11px; color: var(--ink-soft); }
.phc-balance-num { display: block; font-family: var(--num); font-size: 22px; font-weight: 800; color: var(--coral); line-height: 1.1; }
.btn-sm { height: 32px; padding: 0 14px; font-size: 12px; }

/* ===== UM ACCOUNT PAGE ===== */
.um-account .um-account-profile-photo { display: none; }
.um-account .um-account-side { min-width: 160px; }
.um-account .um-account-side li a { display: flex !important; align-items: center; gap: 8px; padding: 10px 14px; font-size: 14px; white-space: nowrap; }
/* 强制显示桌面端文字标题（覆盖 UM 的 uimob800-hide） */
.um-account .um-account-side .um-account-icon { display: inline !important; }
.um-account .um-account-side .um-account-title { display: inline !important; font-size: 13px; }
.um-account .um-account-side .um-account-arrow { display: inline !important; }
/* 隐藏移动端的 tooltip 图标（避免重复） */
.um-account .um-account-side .um-account-icontip { display: none !important; }
.um-account .um-account-main .um-account-heading { font-family: var(--serif); }
.um-account .um-form input[type="text"],
.um-account .um-form input[type="email"],
.um-account .um-form input[type="password"] { border-radius: 8px; border: 1px solid var(--line); padding: 10px 14px; font-family: var(--sans); }
.um-account .um-form input:focus { border-color: var(--coral); outline: none; }

/* ===== PAGINATION ===== */
.pagination { text-align: center; padding: 24px 0; }
.pagination .nav-links { display: flex; justify-content: center; gap: 6px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: 8px; font-size: 13px; font-weight: 500; border: 1px solid var(--line); background: #fff; transition: .2s; }
.pagination a:hover { border-color: var(--coral); color: var(--coral); }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ===== WP 覆盖 ===== */
.wp-block-image img { border-radius: 8px; }
.entry-content { max-width: 800px; margin: 0 auto; padding: 32px 24px; }
.entry-content h1 { font-family: var(--serif); font-size: 28px; margin: 0 0 24px; }
.entry-content h2, .entry-content h3 { font-family: var(--serif); }

/* ===== PAYMENT RESULT BANNER ===== */
.pay-result-banner { margin-bottom: 24px; padding: 16px 20px; border-radius: 12px; text-align: center; font-size: 15px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pay-result-banner p { margin: 4px 0; }
.pay-result-banner b { font-family: var(--num); color: var(--coral); font-size: 20px; }
.pay-result-banner.success { background: #f0faf0; border-color: #c3e6c3; color: #2d5a2d; }
.pay-result-banner.success b { color: #2d8f4e; }
.pay-result-banner.warning { background: #fef8ea; border-color: #f0d68a; color: #7a5d0a; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .member-grid { grid-template-columns: repeat(4, 1fr); }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .menu { display: none; position: absolute; top: 60px; left: 0; right: 0; background: rgba(251,245,250,.97); backdrop-filter: blur(14px); flex-direction: column; padding: 16px 24px; gap: 12px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); z-index: 49; }
  .menu.menu-open { display: flex; }
  .menu-toggle { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
  .members-band { padding: 14px 12px 18px; border-radius: 16px; }
  .shop-band { padding: 18px 14px; border-radius: 16px; }
  .member-grid { grid-template-columns: repeat(3, 1fr); }
  .product-layout { grid-template-columns: 1fr; }
  .recharge-grid { grid-template-columns: repeat(3, 1fr); }
  .story-item-thumb { width: 140px; height: 100px; }
  .story-item-title { font-size: 15px; }
}

@media (max-width: 820px) {
  .single-main { width: 100%; float: none; }
  .single-sidebar { width: 100%; float: none; margin-top: 24px; position: static; }
  .single-nav { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 14px; }
  .member-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .story-home-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .foot-about { grid-column: span 2; }
  .province-pills { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .phc-bg { height: 70px; }
  .phc-body { flex-direction: column; align-items: center; text-align: center; gap: 0; margin-top: -36px; padding: 0 14px 16px; }
  .phc-avatar { width: 72px; height: 72px; }
  .phc-info { padding-top: 8px; }
  .phc-meta { justify-content: center; }
  .phc-actions { justify-content: center; padding-top: 8px; }
  .mp-header { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .mp-avatar { width: 120px; height: 150px; }
  .mp-meta, .mp-interests { justify-content: center; }
  .recharge-grid { grid-template-columns: 1fr; gap: 12px; }
  .uc-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .mp-gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .uc-gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .uc-table { font-size: 12px; }
  .uc-content { padding: 16px; }
  .article-wrap { padding: 20px 14px; }
  .story-item { flex-direction: column; gap: 10px; }
  .story-item-thumb { width: 100%; height: 180px; }
  .story-item:hover { margin: 0; padding-left: 0; padding-right: 0; }
  .product-badges { flex-wrap: wrap; }
}
