/* ===================================================================
   共享货源站 · 设计系统 v2（方案 D3 定稿）
   —— 渐变天空带 + 白卡浮起 + 大标题 + 极淡分隔线
   —— 改这里 = 全站换肤
   =================================================================== */
:root {
  /* 底色与层次 */
  --bg:        #F6F7F9;
  --card:      #FFFFFF;
  --card-line: #EFEEE9;
  --hair:      #F4F3EF;
  --hair-2:    #F1F0EB;

  /* 渐变天空带 */
  --sky-1: #DCE7FD;
  --sky-2: #EEE8FC;
  --sky-3: #F6F7F9;

  /* 前三名渐变 */
  --g1a: #E4EFFC; --g1b: #EFE4FB;
  --g2a: #F0F6FD; --g2b: #F5EFFC;
  --g3a: #FDF3EE; --g3b: #FAF1F8;

  /* 文字 */
  --ink:   #2C2C2A;
  --muted: #6B6961;
  --sub:   #95938B;
  --faint: #A8A69E;
  --ghost: #C2C0B7;

  /* 名次金属色 */
  --gold:   #B08D3F;
  --silver: #9A9A94;
  --copper: #B58561;

  /* 价格 / 强调（单色克制，不用大红） */
  --price: #1A1A18;

  --radius:    14px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow:    0 1px 2px rgba(28,28,26,.04), 0 8px 28px rgba(28,28,26,.05);
  --shadow-sm: 0 6px 20px rgba(28,28,26,.07);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
::selection { background: #DCE7FD; }

/* ============ 渐变天空带 + 顶栏 ============ */
.top-band {
  position: relative;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 46%, var(--sky-3) 100%);
  padding-bottom: 34px;
}
.top-band.tall { padding-bottom: 60px; }
.shell { max-width: 1264px; margin: 0 auto; padding: 0 28px; }

.header-inner { display: flex; align-items: center; gap: 26px; height: 76px; }
.logo { display: flex; align-items: baseline; gap: 12px; flex-shrink: 0; }
.logo b { font-size: 21px; font-weight: 700; letter-spacing: .5px; }
.logo span { font-size: 11.5px; color: #7A78A0; letter-spacing: .5px; }

.header-search {
  flex: 1; max-width: 520px; margin-left: 8px;
  display: flex; align-items: center; gap: 10px;
  height: 42px; padding: 0 18px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 21px;
  color: var(--sub); font-size: 13px;
  transition: .18s;
}
.header-search:hover { background: #fff; box-shadow: 0 4px 16px rgba(120,120,160,.12); }
.header-search .cam { margin-left: auto; font-size: 14px; color: #A9A7C0; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 13px; color: var(--muted); }
.header-actions a:hover { color: var(--ink); }
.btn-pill {
  height: 34px; padding: 0 20px; border-radius: 18px;
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center;
  transition: .18s;
}
.btn-pill:hover { background: #40403D; }
.btn-pill.on { background: #fff; color: var(--ink); border: 1px solid #DEDCD4; }
.btn-pill.on:hover { background: #FBFBF8; }
.btn-line {
  height: 34px; padding: 0 18px; border-radius: 18px;
  border: 1px solid rgba(44,44,42,.22); color: var(--ink);
  background: rgba(255,255,255,.6); font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: .18s;
}
.btn-line:hover { border-color: var(--ink); background: #fff; }

/* 主导航：纯文字，选中加粗 + 下划线 */
.main-nav { display: flex; gap: 30px; height: 46px; align-items: flex-start; }
.main-nav a {
  position: relative; font-size: 14px; color: var(--muted);
  padding-bottom: 9px; transition: color .16s;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a.active { color: var(--ink); font-weight: 600; }
.main-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--ink); border-radius: 1px;
}

/* ============ 页面容器 ============ */
.page { max-width: 1264px; margin: 0 auto; padding: 4px 28px 72px; }
.layout { display: flex; gap: 26px; align-items: flex-start; }
.main-area { flex: 1; min-width: 0; }

/* 白卡 */
.panel {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* 页面大标题（30px —— 定稿要求） */
.page-title {
  font-size: 30px; font-weight: 700; letter-spacing: .5px;
  line-height: 1.3; margin: 0 0 4px;
}
.page-sub { font-size: 12.5px; color: var(--sub); }
.title-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 22px;
}
.title-row .side-link { font-size: 12.5px; color: var(--muted); }
.title-row .side-link:hover { color: var(--ink); }

/* ============ 分类侧栏 ============ */
.cate-side {
  width: 196px; flex-shrink: 0;
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px 0 12px;
  position: sticky; top: 18px;
}
.cate-side .hd {
  padding: 8px 20px 6px; font-size: 11px; color: var(--faint);
  letter-spacing: 2px;
}
.cate-item {
  display: flex; align-items: center; justify-content: space-between;
  margin: 1px 8px; padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px; color: var(--muted);
  cursor: pointer; transition: .15s;
}
.cate-item .n { font-size: 11px; color: var(--ghost); font-variant-numeric: tabular-nums; }
.cate-item:hover { background: #FAFAF7; color: var(--ink); }
.cate-item.active { background: #F5F4EF; color: var(--ink); font-weight: 600; }
.cate-item.active .n { color: var(--sub); }

/* ============ 工具条（纯文字，2px 下划线） ============ */
.toolbar {
  display: flex; align-items: center; gap: 26px;
  margin: 2px 0 18px; font-size: 13px; color: var(--sub);
}
.toolbar .sort { cursor: pointer; padding-bottom: 3px; border-bottom: 2px solid transparent; transition: .15s; }
.toolbar .sort:hover { color: var(--ink); }
.toolbar .sort.active { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.toolbar .count { margin-left: auto; font-size: 12px; color: var(--faint); }

/* ============ 商品网格与卡片 ============ */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--card); border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.card .cover { position: relative; aspect-ratio: 1/1; overflow: hidden; background: #F2F1ED; }
.card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .cover img { transform: scale(1.035); }
.badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(255,255,255,.94); border-radius: 4px;
  padding: 2px 8px; font-size: 10.5px; color: var(--muted); letter-spacing: .3px;
}
.badge-video {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(28,28,26,.55); color: #fff; border-radius: 4px;
  padding: 2px 8px; font-size: 10.5px; backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .2s;
}
.card:hover .badge-video { opacity: 1; }
.card .info { padding: 12px 14px 14px; }
.card .title {
  font-size: 13.5px; line-height: 1.45; color: var(--ink);
  height: 1.45em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.card .row { display: flex; align-items: baseline; gap: 8px; margin-top: 7px; }
.card .price {
  font-size: 16px; font-weight: 700; color: var(--price);
  font-variant-numeric: tabular-nums;
}
.card .price .y { font-size: 11.5px; font-weight: 600; margin-right: 1px; }
.card .meta { font-size: 10.5px; color: var(--faint); }
.card .shop-name {
  margin-left: auto; font-size: 10.5px; color: var(--faint);
  max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.card .shop-row {
  display: flex; align-items: center; gap: 6px; margin-top: 8px;
  font-size: 11px; color: var(--sub);
}
.card .shop-av {
  width: 16px; height: 16px; border-radius: 50%; background: #F2F1ED;
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; color: var(--sub); flex-shrink: 0;
}

/* 加载更多胶囊 */
.load-more { text-align: center; margin-top: 34px; }
.load-more button {
  border: 1px solid #DEDCD4; background: #fff; border-radius: 22px;
  padding: 10px 40px; font-size: 13px; color: var(--muted);
  transition: .18s;
}
.load-more button:hover { border-color: var(--ink); color: var(--ink); box-shadow: var(--shadow-sm); }

.empty-tip { padding: 80px 0; text-align: center; color: var(--faint); font-size: 13px; }

/* ============ 排行榜（方案 D3） ============ */
.rank-card {
  background: var(--card); border-radius: 16px; box-shadow: var(--shadow);
  padding: 30px 40px 10px;
}
.rank-cats { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13.5px; color: var(--sub); padding-bottom: 14px; }
.rank-cats span { cursor: pointer; transition: .15s; padding-bottom: 2px; }
.rank-cats span:hover { color: var(--ink); }
.rank-cats span.on { color: var(--ink); font-weight: 600; }
.rank-cats span.on::after { content: ""; display: block; height: 2px; background: var(--ink); margin-top: 3px; border-radius: 1px; }

.rank-dims { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; padding: 10px 0 12px; border-bottom: 1px solid var(--hair-2); }
.rank-dims .lead { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.rank-dims .dim { font-size: 12.5px; color: var(--sub); cursor: pointer; transition: .15s; }
.rank-dims .dim:hover { color: var(--ink); }
.rank-dims .dim.on { color: var(--ink); font-weight: 600; }
.rank-dims .calc { margin-left: auto; font-size: 11.5px; color: var(--ghost); }

/* 榜单行：统一列位 */
.rank-list { padding: 6px 0 0; }
.rank-row {
  display: grid;
  grid-template-columns: 56px 62px 1fr 150px 110px;
  align-items: center; gap: 16px;
  padding: 0 18px;
  border-radius: 12px;
  cursor: pointer; transition: .16s;
}
.rank-row .no {
  font-size: 20px; font-weight: 700; color: var(--ghost);
  font-variant-numeric: tabular-nums;
}
.rank-row .av { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: #F2F1ED; }
.rank-row .av img { width: 100%; height: 100%; object-fit: cover; }
.rank-row .nm { font-size: 14px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 7px; }
.rank-row .nm .crown { font-size: 11px; color: var(--gold); border: 1px solid #E4D6B4; border-radius: 3px; padding: 0 5px; font-weight: 500; }
.rank-row .desc { font-size: 11.5px; color: var(--sub); margin-top: 3px; }
.rank-row .val { text-align: right; }
.rank-row .val b { font-size: 21px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.rank-row .val i { font-style: normal; font-size: 11px; color: var(--faint); margin-left: 3px; }
.rank-row .play { text-align: right; }
.rank-row .play span {
  display: inline-block; border: 1px solid #E2E0D8; border-radius: 15px;
  padding: 5px 15px; font-size: 11.5px; color: var(--muted); transition: .15s;
}
.rank-row:hover .play span { border-color: var(--ink); color: var(--ink); }

/* 前三名：渐变行 */
.rank-row.top { padding: 17px 18px; margin-bottom: 6px; border-radius: 12px; }
.rank-row.top .no { font-size: 26px; }
.rank-row.top .av { width: 56px; height: 56px; }
.rank-row.top .nm { font-size: 16px; }
.rank-row.top .desc { font-size: 12px; }
.rank-row.top .val b { font-size: 26px; }
.rank-row.g1 { background: linear-gradient(100deg, var(--g1a), var(--g1b)); }
.rank-row.g2 { background: linear-gradient(100deg, var(--g2a), var(--g2b)); }
.rank-row.g3 { background: linear-gradient(100deg, var(--g3a), var(--g3b)); }
.rank-row.g1 .no { color: var(--gold); }
.rank-row.g2 .no { color: var(--silver); }
.rank-row.g3 .no { color: var(--copper); }

/* 第 4 名起：无边平铺 + 极淡分隔线 */
.rank-row.flat { padding: 15px 18px; border-radius: 0; border-bottom: 1px solid var(--hair); }
.rank-row.flat:hover { background: #FBFBF8; }
.rank-row.flat .av { width: 38px; height: 38px; background: #fff; border: 1px solid #EDEBE4; }
.rank-row.flat .no { font-size: 22px; color: var(--ghost); }
.rank-row.flat .nm { font-size: 13px; }
.rank-row.flat .val b { font-size: 15px; }

.rank-more { text-align: center; padding: 22px 0 4px; }
.rank-more button {
  border: 1px solid #DEDCD4; background: #fff; border-radius: 22px;
  padding: 9px 34px; font-size: 12.5px; color: var(--muted); transition: .18s;
}
.rank-more button:hover { border-color: var(--ink); color: var(--ink); }
.rank-more .hint { font-size: 11.5px; color: var(--ghost); margin-top: 10px; }

/* 卡底一行：规则小标签 + 入驻 */
.rank-foot {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--hair); margin-top: 8px; padding: 16px 0 18px;
}
.tag-btn {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid #E2E0D8; border-radius: 14px;
  padding: 4px 13px 4px 10px; font-size: 11.5px; color: var(--sub);
  background: #fff; transition: .15s;
}
.tag-btn:hover { border-color: var(--ink); color: var(--ink); }
.tag-btn .q {
  width: 14px; height: 14px; border-radius: 50%; border: 1px solid #C9C7BE;
  font-size: 9px; display: flex; align-items: center; justify-content: center;
  color: #B4B2A9; line-height: 1;
}
.rank-foot .join { font-size: 12.5px; color: var(--ink); }
.rank-foot .join:hover { text-decoration: underline; }

/* 规则浮层 */
.modal-mask {
  position: fixed; inset: 0; background: rgba(28,28,26,.34);
  display: none; align-items: center; justify-content: center; z-index: 200;
  padding: 24px;
}
.modal-mask.show { display: flex; }
.modal {
  background: #fff; border-radius: 16px; max-width: 520px; width: 100%;
  padding: 30px 32px 26px; box-shadow: 0 20px 60px rgba(28,28,26,.2);
}
.modal h3 { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.modal p { font-size: 13px; color: var(--muted); line-height: 1.9; }
.modal p b { color: var(--ink); font-weight: 600; }
.modal .close { margin-top: 20px; width: 100%; height: 40px; border-radius: 20px; background: var(--ink); color: #fff; font-size: 13px; }

/* ============ 详情页 ============ */
.detail-wrap { display: flex; gap: 48px; align-items: flex-start; }
.gallery { width: 480px; flex-shrink: 0; }
.gallery .main {
  position: relative; aspect-ratio: 1/1;
  border-radius: var(--radius); overflow: hidden;
  background: var(--card); box-shadow: var(--shadow);
}
.gallery .main img, .gallery .main video { width: 100%; height: 100%; object-fit: cover; }
.gallery .main video { background: #000; }
.gallery .thumbs { display: flex; gap: 9px; margin-top: 12px; flex-wrap: wrap; }
.gallery .thumb {
  width: 64px; height: 64px; border-radius: var(--radius-sm);
  overflow: hidden; cursor: pointer; background: #fff;
  border: 1px solid transparent; transition: .15s;
}
.gallery .thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumb:hover { border-color: #D8D6CE; }
.gallery .thumb.active { border-color: var(--ink); }
.gallery .thumb.video-thumb {
  display: flex; align-items: center; justify-content: center;
  font-size: 10.5px; color: var(--sub); background: #F2F1ED;
}
.gallery .counter {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(28,28,26,.5); color: #fff;
  border-radius: 5px; padding: 2px 10px; font-size: 11px; backdrop-filter: blur(4px);
}

.detail-info { flex: 1; min-width: 0; padding-top: 6px; }
.detail-info .dt-title { font-size: 26px; font-weight: 700; line-height: 1.35; letter-spacing: .3px; }
.detail-info .dt-price {
  font-size: 40px; font-weight: 700; margin: 18px 0 2px;
  font-variant-numeric: tabular-nums; letter-spacing: -.5px;
}
.detail-info .dt-price .y { font-size: 20px; font-weight: 600; margin-right: 2px; }
.detail-info .dt-sub { font-size: 12.5px; color: var(--sub); font-weight: 400; margin-left: 6px; letter-spacing: 0; }

.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0; }
.tag {
  background: #F5F4EF; color: var(--muted);
  border-radius: 5px; padding: 4px 11px; font-size: 11.5px;
}
.tag.solid { background: var(--ink); color: #fff; }

.meta-list {
  border-top: 1px solid var(--hair); padding-top: 16px;
  font-size: 12.5px; color: var(--sub); display: grid; gap: 7px;
}
.meta-list b { color: var(--ink); font-weight: 500; }

.shop-card {
  display: flex; align-items: center; gap: 15px;
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 20px; margin: 24px 0;
  cursor: pointer; transition: .18s;
}
.shop-card:hover { box-shadow: var(--shadow-sm); }
.shop-card .sc-av {
  width: 52px; height: 52px; border-radius: 50%; overflow: hidden;
  background: #F2F1ED; flex-shrink: 0;
}
.shop-card .sc-av img { width: 100%; height: 100%; object-fit: cover; }
.shop-card .sc-name { font-size: 15px; font-weight: 600; }
.shop-card .sc-tag { font-size: 11.5px; color: var(--sub); margin-top: 3px; }
.shop-card .sc-btns { margin-left: auto; }

.cta-row { display: flex; gap: 10px; margin: 20px 0; }
.cta-contact {
  flex: 1; background: var(--ink); color: #fff;
  border-radius: var(--radius); padding: 15px;
  font-size: 14px; font-weight: 500; letter-spacing: .3px; transition: .18s;
}
.cta-contact:hover { background: #40403D; }
.cta-fav {
  width: 56px; border: 1px solid #DEDCD4; background: #fff;
  border-radius: var(--radius); font-size: 17px; color: var(--sub); transition: .18s;
}
.cta-fav.on { color: var(--ink); border-color: var(--ink); background: #FBFBF8; }

.wechat-pop {
  display: none; border-radius: var(--radius-sm);
  background: #F5F4EF; padding: 14px 18px;
  font-size: 13px; color: var(--muted); margin-bottom: 18px;
}
.wechat-pop.show { display: block; }
.wechat-pop b { color: var(--ink); font-size: 15px; letter-spacing: .5px; }

.section-hd {
  font-size: 19px; font-weight: 700; margin: 48px 0 18px;
  display: flex; align-items: center; gap: 12px;
}
.section-hd::before { content: ""; width: 3px; height: 17px; background: var(--ink); border-radius: 2px; }
.section-hd .aside { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--faint); }

.rich-imgs { max-width: 760px; margin: 0 auto; }
.rich-imgs img { width: 100%; border-radius: var(--radius-sm); margin-bottom: 14px; background: #fff; }

/* ============ 店铺页 ============ */
.shop-hero {
  display: flex; gap: 28px; align-items: flex-start;
  background: var(--card); border-radius: 16px;
  box-shadow: var(--shadow); padding: 30px 34px;
}
.shop-hero .sh-av {
  width: 92px; height: 92px; border-radius: 50%; overflow: hidden;
  background: #F2F1ED; flex-shrink: 0;
}
.shop-hero .sh-av img { width: 100%; height: 100%; object-fit: cover; }
.shop-hero .sh-name { font-size: 25px; font-weight: 700; letter-spacing: .3px; }
.shop-hero .sh-tagline { color: var(--sub); font-size: 12.5px; margin-top: 8px; max-width: 560px; line-height: 1.8; }
.shop-hero .sh-tags { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.shop-hero .stat-row { display: flex; gap: 42px; margin-top: 20px; }
.shop-hero .stat .k { font-size: 11px; color: var(--faint); }
.shop-hero .stat .v { font-size: 19px; font-weight: 700; margin-top: 3px; font-variant-numeric: tabular-nums; }

.contact-box {
  margin-left: auto; flex-shrink: 0; min-width: 216px;
  background: #FAFAF7; border-radius: 12px; padding: 20px 22px;
  display: flex; flex-direction: column; gap: 9px;
  font-size: 12.5px; color: var(--sub);
}
.contact-box .k { font-size: 11px; color: var(--faint); }
.contact-box b { color: var(--ink); font-weight: 600; font-size: 13.5px; }
.contact-box .btn-row { display: flex; gap: 8px; margin-top: 8px; }
.contact-box .btn-row .btn-pill { flex: 1; height: 36px; }

.group-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 26px 0 18px; }
.group-tab {
  border: 1px solid transparent; background: #fff; border-radius: 16px;
  padding: 6px 16px; font-size: 12.5px; color: var(--sub);
  cursor: pointer; transition: .15s;
}
.group-tab:hover { color: var(--ink); }
.group-tab.active { background: var(--ink); color: #fff; font-weight: 500; }
.group-tab .n { font-size: 10.5px; opacity: .55; margin-left: 5px; }

/* ============ 攻略 / 内容列表 ============ */
.article-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article {
  background: var(--card); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); cursor: pointer;
  transition: .2s;
}
.article:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.article .ph {
  height: 148px;
  background: linear-gradient(135deg, #E8EEF9, #F1ECFA);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: #B9B4D0; letter-spacing: 3px; font-weight: 500;
}
.article .body { padding: 16px 18px 18px; min-height: 122px; display: flex; flex-direction: column; }
.article .cat { font-size: 10.5px; color: var(--sub); letter-spacing: 1px; }
.article .h { font-size: 15px; font-weight: 600; line-height: 1.5; margin-top: 7px; flex: 1; }
.article .d { font-size: 11.5px; color: var(--faint); margin-top: 10px; }

/* ============ 表单页 ============ */
.join-wrap { display: flex; gap: 26px; align-items: flex-start; }
.join-wrap .form-card { flex: 1; max-width: none; }
.join-side { width: 302px; flex-shrink: 0; position: sticky; top: 20px; display: grid; gap: 12px; }
.note-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; }
.note-card .t { font-size: 13.5px; font-weight: 600; }
.note-card .s { font-size: 12px; color: var(--sub); line-height: 1.9; margin-top: 6px; }

.form-card { max-width: 720px; background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 36px 42px 40px; }
.form-row { margin-bottom: 22px; }
.form-row label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.form-row label .req { color: #C0725E; margin-left: 3px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; border: 1px solid #E5E3DC; border-radius: var(--radius-sm);
  padding: 11px 14px; font-size: 13.5px; background: #FCFCFA;
  outline: none; transition: .16s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color: var(--ink); background: #fff; }
.form-row textarea { min-height: 96px; resize: vertical; }
.form-row .hint { font-size: 11.5px; color: var(--faint); margin-top: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 26px; }
.form-actions .note { font-size: 11.5px; color: var(--faint); }
.form-actions .btn-pill { height: 42px; padding: 0 34px; border-radius: 21px; }

/* ============ 用户中心 / 关注 ============ */
.me-head { display: flex; align-items: center; gap: 20px; background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 26px 30px; }
.me-head .av { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #DCE7FD, #EEE8FC); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; color: #6B6A90; }
.me-head .nm { font-size: 20px; font-weight: 700; }
.me-head .sub { font-size: 12px; color: var(--sub); margin-top: 4px; }
.me-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.me-cell { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; cursor: pointer; transition: .18s; }
.me-cell:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.me-cell .t { font-size: 13.5px; font-weight: 600; }
.me-cell .s { font-size: 11.5px; color: var(--faint); margin-top: 5px; }
.me-cell .n { font-size: 24px; font-weight: 700; margin-top: 10px; font-variant-numeric: tabular-nums; }

.shop-line {
  display: flex; align-items: center; gap: 16px;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px 22px; margin-bottom: 10px; cursor: pointer; transition: .16s;
}
.shop-line:hover { box-shadow: var(--shadow-sm); }
.shop-line .av { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: #F2F1ED; flex-shrink: 0; }
.shop-line .av img { width: 100%; height: 100%; object-fit: cover; }
.shop-line .nm { font-size: 14px; font-weight: 600; }
.shop-line .sub { font-size: 11.5px; color: var(--sub); margin-top: 3px; }
.shop-line .right { margin-left: auto; text-align: right; font-size: 11.5px; color: var(--faint); }

/* ============ 页脚 ============ */
.site-footer { border-top: 1px solid #E8E7E1; margin-top: 60px; padding: 32px 28px 44px; text-align: center; font-size: 12px; color: var(--faint); }
.site-footer a { color: var(--muted); margin: 0 11px; }
.site-footer a:hover { color: var(--ink); }

/* ============ 响应式 ============ */
@media (max-width: 1200px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .article-list { grid-template-columns: repeat(2, 1fr); }
  .me-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .detail-wrap { gap: 30px; }
  .gallery { width: 400px; }
  .rank-card { padding: 26px 26px 8px; }
  .rank-row { grid-template-columns: 46px 56px 1fr 120px 96px; gap: 12px; }
}
@media (max-width: 900px) {
  .header-search { display: none; }
  .shell, .page { padding-left: 20px; padding-right: 20px; }
  .shop-hero { flex-wrap: wrap; }
  .contact-box { margin-left: 0; width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .join-wrap { flex-direction: column; }
  .join-side { width: 100%; position: static; grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 760px) {
  .cate-side { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .article-list { grid-template-columns: 1fr; }
  .detail-wrap { flex-direction: column; }
  .gallery { width: 100%; }
  .page-title { font-size: 24px; }
  .rank-row { grid-template-columns: 38px 44px 1fr 84px; gap: 10px; padding: 0 8px; }
  .rank-row .play { display: none; }
  .rank-row.top .no { font-size: 20px; }
  .rank-row.top .av { width: 44px; height: 44px; }
  .rank-row.top .val b { font-size: 19px; }
}
