/* ==========================================================================
   主站 UI v6（2026-12-05）：照参考站 pmcm8.com 手机版
   白底、卡片 1px 暖色细描边 + 很淡的投影、橙→红渐变主按钮、红色价格、属性格。
   只对主站生效（html[data-brand="nianjiu"]），排在 fx.css 之后；页面 CSS 按页懒加载会更晚，
   所以和页面 CSS 抢同一个元素时要带 !important 或更高的选择器。
   新组件一律用 pm- 前缀，不和页面 CSS 撞名。
   ========================================================================== */

html[data-brand="nianjiu"] {
  --pm-red: #FF3B30;
  --pm-orange: #FF7A00;
  --pm-border: #F0E6DD;
  --pm-border-2: #EFE6DC;
  --pm-shadow: 0 8px 20px rgba(90, 62, 31, .05);
  --pm-font: -apple-system, "SF Pro Text", "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  --pm-num: "SF Pro Display", -apple-system, "Helvetica Neue", Arial, sans-serif;
}
html[data-brand="nianjiu"] body { font-family: var(--pm-font); color: var(--t1); -webkit-font-smoothing: antialiased; }

.pm-home button, .pm-tabbar button, .pm-fab button, .pm-appdl button, .pm-btn {
  font-family: inherit; border: 0; margin: 0; padding: 0; background: none; color: inherit; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.pm-home svg, .pm-tabbar svg, .pm-fab svg, .pm-appdl svg { display: block; width: 100%; height: 100%; }

/* 通用：渐变主按钮（橙→红胶囊 + 同色柔和投影） */
.pm-btn {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  background: var(--btn-grad) !important; color: #fff !important; border-radius: 999px; font-weight: 700;
  box-shadow: 0 6px 14px -4px rgba(255, 59, 48, .45);
}
.pm-btn:active { transform: scale(.96); }
.pm-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #12B76A; flex: none; }

/* ---------------------------------------------------------------- 首页 */
html[data-brand="nianjiu"] .mian.pm-home { background: #fff !important; padding: 0 0 8px !important; min-height: 100vh; }
.pm-home__top {
  padding: 6px 16px 2px;
  background: linear-gradient(180deg, #FFF3E6 0%, #FFF9F3 60%, rgba(255, 255, 255, 0) 100%);
}
.pm-home__bar { display: flex; align-items: center; gap: 8px; height: 52px; }
.pm-logo { width: 34px; height: 34px; border-radius: 50%; flex: none; display: block; }
.pm-brand {
  flex: none; font-size: 17px; line-height: 22px; font-weight: 800; color: var(--t1); letter-spacing: .2px;
  white-space: nowrap;
}
.pm-search {
  flex: 1; min-width: 0; display: flex; align-items: center; height: 36px; margin-left: 2px; padding: 0 4px 0 12px;
  background: #fff; border: 1px solid var(--pm-border-2); border-radius: 999px; box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(90, 62, 31, .05);
}
.pm-search__input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; padding: 0;
  font: inherit; font-size: 13px; color: var(--t1); -webkit-appearance: none; appearance: none;
}
.pm-search__input::placeholder { color: var(--t3); }
.pm-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.pm-search__go {
  flex: none; width: 28px; height: 28px; border-radius: 50% !important; display: flex !important; align-items: center; justify-content: center;
  background: var(--btn-grad) !important; color: #fff !important; box-shadow: 0 4px 10px -2px rgba(255, 90, 30, .45);
}
.pm-search__ico { width: 15px; height: 15px; }

.pm-live {
  display: flex; align-items: center; gap: 0; margin-top: 6px; padding: 9px 12px; box-sizing: border-box;
  background: rgba(255, 255, 255, .92); border: 1px solid rgba(232, 220, 206, .9); border-radius: 13px;
  box-shadow: 0 8px 22px rgba(90, 62, 31, .055); font-size: 11px; line-height: 16px; color: var(--t3); white-space: nowrap; overflow: hidden;
}
.pm-live:empty { display: none; }
.pm-live__on { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; color: #08A15A; padding-right: 9px; border-right: 1px solid var(--pm-border); margin-right: 9px; }
.pm-live__item b { font-family: var(--pm-num); font-size: 12px; font-weight: 800; color: #3A2E26; margin: 0 2px 0 4px; }
.pm-live__item + .pm-live__item::before { content: '·'; margin: 0 7px; color: var(--t-dis); }

.pm-banner { margin: 10px 16px 0; border-radius: 14px; overflow: hidden; min-height: 40px; }
.pm-slide {
  position: relative; width: 100%; box-sizing: border-box; padding: 18px 18px 0; overflow: hidden; color: #fff;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 138, 0, .55) 0%, rgba(255, 138, 0, 0) 55%),
    linear-gradient(115deg, #1D1712 0%, #3A2213 48%, #8A3A12 100%);
}
.pm-slide::after {
  /* 右侧斜切的橙色色带，压在暗底上做层次 */
  content: ''; position: absolute; right: -40px; top: 0; bottom: 0; width: 46%;
  background: linear-gradient(115deg, rgba(255, 106, 26, 0) 0 28%, rgba(255, 106, 26, .22) 28% 46%, rgba(255, 59, 48, .32) 46% 100%);
  transform: skewX(-14deg);
}
.pm-slide > * { position: relative; z-index: 1; }
.pm-slide__kicker {
  display: inline-block; font-size: 11px; line-height: 18px; font-weight: 800; letter-spacing: 2px; color: #FFD9B0;
  padding-left: 8px; border-left: 3px solid #FF8A00;
}
.pm-slide__title { margin-top: 6px; font-size: 30px; line-height: 36px; font-weight: 900; font-style: italic; letter-spacing: 1px; }
.pm-slide__title span { color: #fff; margin-right: 6px; }
.pm-slide__title em { font-style: italic; color: #FF9A2E; }
.pm-slide__ribbon {
  display: inline-block; margin-top: 8px; padding: 0 14px 0 10px; height: 22px; line-height: 22px;
  font-size: 12px; font-weight: 800; color: #fff; background: linear-gradient(90deg, #FF7A00, #FF3B30);
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.pm-slide__marks { position: absolute; left: 18px; bottom: 12px; display: flex; gap: 14px; font-size: 12px; font-weight: 800; color: #fff; }
.pm-slide__marks span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.pm-slide__ico { width: 15px; height: 15px; color: #FF9A2E; }

/* 白卡面板：额度筛选 / 排序 / 热门 */
.pm-panel {
  margin: 10px 16px 0; padding: 12px; box-sizing: border-box; background: #fff;
  border: 1px solid var(--pm-border); border-radius: 16px; box-shadow: var(--pm-shadow);
}
.pm-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pm-panel__title { position: relative; padding-left: 10px; font-size: 14px; line-height: 20px; font-weight: 900; color: var(--t1); }
.pm-panel__title::before { content: ''; position: absolute; left: 0; top: 3px; width: 3px; height: 14px; border-radius: 2px; background: linear-gradient(180deg, #FF8A00, #FF3B30); }
.pm-panel__more { font-size: 11px; font-weight: 700; color: var(--t3); padding: 2px 0 2px 10px !important; }
.pm-panel__more.is-on { color: var(--tap-deep); }

.pm-zones { border-radius: 20px; background: linear-gradient(180deg, #fff 0%, #FFFCF8 100%); border-color: var(--pm-border-2); box-shadow: 0 10px 26px rgba(90, 62, 31, .06); }
.pm-zones__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pm-zone {
  position: relative; display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  height: 74px; border-radius: 14px !important; background: #fff !important; box-sizing: border-box;
  border: 1.5px solid var(--z-bd) !important; box-shadow: 0 4px 12px rgba(90, 62, 31, .04);
  transition: background-color .15s, transform .15s;
}
.pm-zone:active { transform: scale(.96); }
.pm-zone.is-gold { --z-bd: #F0D49D; --z-c: #D9920B; --z-bg: #FFF7E4; }
.pm-zone.is-violet { --z-bd: #DCCFF6; --z-c: #7A5AE0; --z-bg: #F4EFFF; }
.pm-zone.is-green { --z-bd: #C3E8D2; --z-c: #14A35A; --z-bg: #EAF8F0; }
.pm-zone.is-red { --z-bd: #F7C9C2; --z-c: #FF3B30; --z-bg: #FFEFED; }
.pm-zone__ico { width: 24px; height: 24px; padding: 3px; box-sizing: border-box; border-radius: 50%; color: var(--z-c); background: var(--z-bg); }
.pm-zone__label { font-size: 13.5px; line-height: 19px; font-weight: 900; color: #272A32; }
.pm-zone__sub { font-size: 10px; line-height: 13px; font-weight: 700; color: var(--t3); white-space: nowrap; }
.pm-zone__hot {
  position: absolute; top: -7px; right: -4px; height: 14px; padding: 0 5px; border-radius: 999px; font-style: normal;
  background: var(--pm-red); color: #fff; font-size: 8.5px; line-height: 14px; font-weight: 900; box-shadow: 0 4px 8px rgba(217, 45, 32, .2);
}
.pm-zone.is-on { background: var(--z-bg) !important; border-color: var(--z-c) !important; }
.pm-zone.is-on .pm-zone__label { color: var(--z-c); }

.pm-sort { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.pm-sort__tabs { flex: 1; min-width: 0; display: flex; align-items: center; gap: 16px; }
.pm-sort__tab { display: inline-flex !important; align-items: center; gap: 1px; font-size: 13px; line-height: 20px; font-weight: 500; color: var(--t2) !important; white-space: nowrap; }
.pm-sort__tab.is-on { font-weight: 800; color: var(--t1) !important; }
.pm-sort__arrows { width: 12px; height: 14px; color: var(--t-dis); }
.pm-sort__tab.is-asc .pm-sort__arrows .up, .pm-sort__tab.is-desc .pm-sort__arrows .down { stroke: var(--tap-deep); }
.pm-sort__btn {
  flex: none; display: inline-flex !important; align-items: center; gap: 4px; height: 30px; padding: 0 12px !important;
  border-radius: 999px !important; background: var(--muted) !important; border: 1px solid var(--pm-border) !important;
  font-size: 12px; font-weight: 600; color: var(--t2) !important;
}
.pm-sort__btn-ico { width: 14px; height: 14px; }
.pm-sort__btn.is-on, .pm-sort__btn.is-open { color: var(--tap-deep) !important; background: var(--tap-tint) !important; border-color: #FFD3B0 !important; }

.pm-hot { display: flex; align-items: center; gap: 8px; padding: 9px 12px; overflow-x: auto; scrollbar-width: none; }
.pm-hot::-webkit-scrollbar { display: none; }
.pm-hot__k { flex: none; display: inline-flex; align-items: center; gap: 2px; font-size: 11px; font-weight: 800; color: var(--t3); }
.pm-hot__ico { width: 13px; height: 13px; color: #FF6A1A; }
.pm-hot__chip {
  flex: none; height: 28px; padding: 0 12px !important; border-radius: 999px !important; white-space: nowrap;
  background: #FFF7ED !important; border: 1px solid #F1D7B9 !important; color: #B45309 !important; font-size: 11.5px; font-weight: 700;
}
.pm-hot__chip.is-on { background: var(--btn-grad) !important; border-color: transparent !important; color: #fff !important; }

/* ---------------------------------------------------------------- 商品卡 */
.pm-feed { margin-top: 0 !important; }
.pm-list { display: flex; flex-direction: column; gap: 12px; padding: 10px 16px 0; }
.pm-list > .xm-mascot-empty { margin-top: 20px; }
.pm-card {
  display: block; overflow: hidden; background: #fff; border: 1px solid var(--pm-border); border-radius: 16px;
  box-shadow: 0 1px 3px rgba(90, 62, 31, .08), 0 1px 2px -1px rgba(90, 62, 31, .06); cursor: pointer;
  font-family: var(--pm-font);
}
.pm-card:active { transform: scale(.99); }
.pm-card__cover { position: relative; height: 112px; background: #F6EEE7; overflow: hidden; }
.pm-card__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pm-card.is-compact .pm-card__cover { display: none; }
.pm-card__badge {
  position: absolute; top: 10px; left: 10px; height: 18px; padding: 0 8px; border-radius: 999px;
  font-size: 10px; line-height: 18px; font-weight: 800; color: #fff; background: #FF5722; box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}
.pm-card__badge.is-jp { background: linear-gradient(135deg, #FF8A00, #FF3B30); }
.pm-card__body { padding: 9px 10px 10px; }
.pm-card__meta { display: flex; align-items: center; gap: 4px; min-width: 0; height: 20px; font-size: 10px; color: var(--t3); }
.pm-card__meta-k { flex: none; }
.pm-card__skins { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin-left: 2px; color: var(--t2); }
.pm-tag { flex: none; display: inline-flex; align-items: center; height: 18px; padding: 0 5px; border-radius: 4px; font-size: 9.5px; font-weight: 800; box-sizing: border-box; white-space: nowrap; }
.pm-tag.is-code { background: #FFF1F0; border: 1px solid #FFCCC7; color: #F02F3F; letter-spacing: .3px; }
.pm-tag.is-red { background: #FFF1F0; color: #F02F3F; border: 1px solid #FFE0DC; }
.pm-card__head { display: flex; align-items: center; gap: 6px; margin: 4px 0 7px; }
.pm-card__title { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--t1); }
.pm-card__ratio-k { flex: none; font-size: 10px; color: var(--t3); }
.pm-card__ratio {
  flex: none; padding: 2px 7px; border-radius: 6px; background: #FFF7ED; border: 1px solid #FFE6CC;
  font-family: var(--pm-num); font-size: 13px; line-height: 17px; font-weight: 900; color: #FF6900;
}
.pm-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; overflow: hidden;
  background: var(--pm-border); border: 1px solid var(--pm-border); border-radius: 8px;
}
.pm-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; padding: 5px 2px; background: #fff; }
.pm-cell.is-hl { background: #FFF5F4; }
.pm-cell__v { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--pm-num); font-size: 12px; line-height: 16px; font-weight: 700; color: var(--t1); }
.pm-cell__v.is-long { font-size: 11px; }
.pm-cell.is-hl .pm-cell__v { color: var(--pm-red); }
.pm-cell__k { margin-top: 1px; font-size: 9.5px; line-height: 13px; color: var(--t3); }
.pm-card__tags { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-top: 8px; min-height: 18px; }
.pm-chip {
  display: inline-flex; align-items: center; gap: 3px; height: 18px; padding: 0 5px; border-radius: 4px; box-sizing: border-box;
  font-size: 10px; font-weight: 700; white-space: nowrap; background: var(--muted); color: var(--t2);
}
.pm-chip.is-online { background: #EAF8F0; color: #0E9F55; }
.pm-chip.is-consulted { background: var(--muted); color: var(--t3); }
.pm-chip.is-ask { background: #fff; color: var(--tap-deep); border: 1px solid #FFC9A6; cursor: pointer; }
.pm-chip.is-place { background: #EEF4FF; color: #3B6FE0; }
.pm-chip.is-login { background: #FFF7ED; color: #F54900; }
.pm-chip.is-wx { background: #EAF8F0; color: #0FA968; }
.pm-chip.is-qq { background: #E9F2FF; color: #1683F0; }
.pm-card__dep { margin-left: auto; font-size: 10px; font-weight: 700; color: #F02F3F; white-space: nowrap; }
.pm-card__foot { display: flex; align-items: flex-end; gap: 8px; margin-top: 6px; }
.pm-card__price { display: flex; align-items: baseline; gap: 3px; flex: none; }
.pm-card__price-k { font-size: 10px; color: var(--t3); }
.pm-price { display: inline-flex; align-items: baseline; color: var(--pm-red); font-family: var(--pm-num); font-weight: 900; line-height: 1; }
.pm-price i { font-style: normal; }
.pm-price__yen { font-size: 12px; margin-right: 1px; }
.pm-price__int { font-size: 22px; font-weight: 900; }
.pm-price__dec { font-size: 13px; }
.pm-card__time { flex: 1; min-width: 0; text-align: center; padding-bottom: 2px; font-size: 10px; color: var(--t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-card__rent { flex: none; margin-left: auto; height: 30px; padding: 0 18px !important; font-size: 12px; }
.pm-card.is-skel { cursor: default; box-shadow: none; }
.pm-card.is-skel .pm-card__cover { height: 112px; border-radius: 0; }
.pm-card.is-skel .xm-skel { height: 14px; margin: 6px 0; border-radius: 6px; }
.pm-card.is-skel .xm-skel.is-short { width: 55%; }
.pm-card.is-skel .xm-skel.is-block { height: 60px; }

/* 左下角「APP下载」深色胶囊 */
.pm-appdl {
  position: fixed; z-index: 880; left: 12px; bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 6px; height: 40px; padding: 4px 12px 4px 4px; box-sizing: border-box;
  border-radius: 999px; background: rgba(36, 26, 20, .92); color: #fff; box-shadow: 0 10px 15px -3px rgba(36, 26, 20, .2);
  font-family: var(--pm-font); cursor: pointer;
}
.pm-appdl__icon { width: 32px; height: 32px; border-radius: 50%; background: #fff; display: block; }
.pm-appdl__text { font-size: 12px; font-weight: 700; white-space: nowrap; }
.pm-appdl__arrow { width: 13px; height: 13px; opacity: .85; }
.pm-appdl__close {
  position: absolute !important; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50% !important;
  background: #fff !important; color: var(--t2) !important; font-size: 13px; line-height: 16px; border: 1px solid var(--pm-border) !important;
}
@media (min-width: 520px) { .pm-appdl { left: calc(50% - 248px); } }

/* 右下「新手」悬浮球 + 回到顶部 */
.pm-fab {
  position: fixed; z-index: 880; right: 16px; bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
@media (min-width: 520px) { .pm-fab { right: calc(50% - 244px); } }
.pm-fab__main {
  display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 54px; height: 54px; border-radius: 50% !important; background: var(--btn-grad) !important;
  box-shadow: 0 12px 20px -6px rgba(255, 106, 0, .45); color: #fff !important; font-size: 10px; font-weight: 700; line-height: 1;
}
.pm-fab__main .pm-fab__ico { width: 22px; height: 22px; }
.pm-fab__top {
  display: none !important; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50% !important;
  background: #fff !important; border: 1px solid var(--pm-border) !important; color: var(--t2) !important; box-shadow: var(--pm-shadow);
}
.pm-fab__top .pm-fab__ico { width: 18px; height: 18px; }
.pm-fab.show-top .pm-fab__top { display: flex !important; }

/* ---------------------------------------------------------------- 底部导航 */
html[data-brand] .custom-tab-bar.pm-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; filter: none !important;
  background: rgba(255, 255, 255, .98) !important; border-top: .5px solid var(--pm-border) !important; box-shadow: 0 -4px 16px rgba(90, 62, 31, .04) !important;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)) !important; box-sizing: border-box;
}
.pm-tabbar__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; height: 48px; max-width: 520px; margin: 0 auto; }
.pm-tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; height: 100%; cursor: pointer; color: var(--t3); -webkit-tap-highlight-color: transparent; }
.pm-tab__ico { position: relative; width: 24px; height: 24px; }
.pm-tab__svg { display: block; width: 24px; height: 24px; }
.pm-tab__label { font-size: 10px; line-height: 14px; font-weight: 500; }
.pm-tab.is-on { color: var(--pm-orange); }
.pm-tab.is-on .pm-tab__label { font-weight: 800; }
.pm-tab__badge {
  position: absolute; top: -5px; left: 15px; min-width: 16px; height: 16px; padding: 0 4px; box-sizing: border-box; border-radius: 999px;
  background: var(--pm-red); color: #fff; font-size: 10px; line-height: 16px; font-weight: 700; text-align: center; border: 1.5px solid #fff;
}
.pm-tab__badge[hidden] { display: none; }
.pm-tab--center .pm-tab__bump {
  display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-top: -22px; border-radius: 50%;
  background: var(--btn-grad); box-shadow: 0 8px 18px -4px rgba(255, 80, 30, .5); border: 3px solid #fff; box-sizing: content-box;
}
.pm-tab__plus { width: 24px; height: 24px; }
.pm-tab--center:active .pm-tab__bump { transform: scale(.94); }
@media (prefers-reduced-motion: no-preference) {
  .pm-tab.is-on .pm-tab__svg { animation: pm-tab-pop .35s cubic-bezier(.34, 1.56, .64, 1) both; }
  @keyframes pm-tab-pop { from { transform: scale(.8); } to { transform: scale(1); } }
}

/* 横幅指示点挪到右下角，不压左下的标语 */
html[data-brand="nianjiu"] .pm-banner .u-swiper__indicator { left: auto !important; right: 12px !important; bottom: 10px !important; }
html[data-brand="nianjiu"] .pm-banner .u-swiper { background-color: #F6EEE7 !important; }
@media (max-width: 380px) { .pm-slide__marks { display: none; } .pm-slide__title { font-size: 26px; line-height: 32px; } }

/* ================================================================ 二级页：去掉吉祥物头图带，导航栏白底居中标题（参考站「商品详情」那种）
   router 仍会插 .xm-page-hero（body.xm-has-hero），这里整条藏掉；Tab 根页面（发布、消息）没有导航栏，
   头图改成一条 48px 的纯标题栏 */
html[data-brand="nianjiu"] body.xm-has-hero uni-page-head .uni-page-head { background-color: #fff !important; box-shadow: 0 .5px 0 var(--pm-border) !important; }
html[data-brand="nianjiu"] body.xm-has-hero uni-page-head .uni-page-head__title { opacity: 1 !important; transform: none !important; }
html[data-brand="nianjiu"] uni-page-head .uni-page-head { background-color: #fff !important; box-shadow: 0 .5px 0 var(--pm-border) !important; }
html[data-brand="nianjiu"] uni-page-head .uni-page-head__title { font-size: 17px !important; font-weight: 700 !important; color: var(--t1) !important; }
html[data-brand="nianjiu"] body.xm-has-hero:not(.xm-hero-root) .xm-page-hero { display: none !important; }
html[data-brand="nianjiu"] body.xm-hero-root .xm-page-hero {
  height: calc(48px + env(safe-area-inset-top, 0px)) !important; margin: 0 !important; background: #fff !important;
  box-shadow: 0 .5px 0 var(--pm-border);
}
html[data-brand="nianjiu"] body.xm-hero-root .xm-page-hero::before,
html[data-brand="nianjiu"] body.xm-hero-root .xm-page-hero__art,
html[data-brand="nianjiu"] body.xm-hero-root .xm-page-hero__edge,
html[data-brand="nianjiu"] .xm-page-hero__title::after { display: none !important; }
html[data-brand="nianjiu"] body.xm-hero-root .xm-page-hero__title {
  left: 0 !important; right: 0; max-width: none !important; top: calc(12px + env(safe-area-inset-top, 0px)) !important;
  text-align: center; font-size: 17px !important; line-height: 24px !important; font-weight: 700 !important; letter-spacing: 0 !important; animation: none !important;
}
/* 标题下的荧光条全部去掉，标题只加粗 */
html[data-brand="nianjiu"] .xm-hl::after, html[data-brand="nianjiu"] .xm-section-title__text::after, html[data-brand="nianjiu"] .home-section-hl::after { content: none !important; }
html[data-brand="nianjiu"] .xm-hl { font-weight: 800; }

/* 列表/菜单卡：白底 + 暖色细描边 + 淡投影（替掉 v4 的票券缺口与品牌色光晕） */
html[data-brand="nianjiu"] .xmm-card, html[data-brand="nianjiu"] .order-item, html[data-brand="nianjiu"] .order-card {
  -webkit-mask: none !important; mask: none !important; filter: none !important; clip-path: none !important;
  border: 1px solid var(--pm-border) !important; box-shadow: var(--pm-shadow) !important; border-radius: 16px !important;
}

/* ================================================================ 商品详情 */
html[data-brand="nianjiu"] body.pages-goods-index .img-box { border-radius: 0 !important; }
html[data-brand="nianjiu"] body.pages-goods-index .info-des { margin-top: 0 !important; padding: 0 !important; }
html[data-brand="nianjiu"] body.pages-goods-index .detail-tip-card {
  display: flex !important; align-items: center; justify-content: space-between; margin: 0 !important; padding: 11px 16px !important;
  border-radius: 0 !important; background: linear-gradient(90deg, #FFF6DC 0%, #FFFBF0 100%) !important; box-shadow: none !important;
}
html[data-brand="nianjiu"] body.pages-goods-index .detail-tip-left { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pm-tip__k { flex: none; font-size: 14px; font-weight: 900; color: #3A2A10; padding-right: 8px; border-right: 1px solid #EBD9B0; }
html[data-brand="nianjiu"] body.pages-goods-index .detail-tip-card .detail-tip-text,
html[data-brand="nianjiu"] body.pages-goods-index .detail-tip-card .detail-tip-text span { color: #8A6A3A !important; font-weight: 500 !important; font-size: 12px !important; }
html[data-brand="nianjiu"] body.pages-goods-index .detail-tip-card .detail-tip-shield { filter: none !important; width: 18px !important; height: 18px !important; flex: none; }
html[data-brand="nianjiu"] body.pages-goods-index .box1 {
  -webkit-mask: none !important; mask: none !important; filter: none !important; clip-path: none !important;
  margin: 0 !important; border-radius: 0 !important; box-shadow: none !important; border: 0 !important; padding: 14px 16px 12px !important;
  border-bottom: 8px solid #FAF6F2 !important; background: #fff !important;
}
html[data-brand="nianjiu"] body.pages-goods-index .price-info-container { display: flex !important; align-items: baseline; justify-content: space-between; width: 100%; }
html[data-brand="nianjiu"] body.pages-goods-index .price-section { display: flex; align-items: baseline; }
html[data-brand="nianjiu"] body.pages-goods-index .price-symbol, html[data-brand="nianjiu"] body.pages-goods-index .price-symbol span { color: var(--pm-red) !important; font-size: 16px !important; font-weight: 800 !important; }
html[data-brand="nianjiu"] body.pages-goods-index .price-value, html[data-brand="nianjiu"] body.pages-goods-index .price-value span { color: var(--pm-red) !important; font-size: 28px !important; font-weight: 900 !important; font-family: var(--pm-num); }
html[data-brand="nianjiu"] body.pages-goods-index .price-unit, html[data-brand="nianjiu"] body.pages-goods-index .price-unit span { color: var(--t2) !important; font-size: 12px !important; }
html[data-brand="nianjiu"] body.pages-goods-index .deposit-row { display: flex !important; align-items: baseline; gap: 10px; margin: 0 !important; }
html[data-brand="nianjiu"] body.pages-goods-index .deposit-value, html[data-brand="nianjiu"] body.pages-goods-index .deposit-value span { color: var(--t1) !important; font-size: 13px !important; font-weight: 700 !important; }
html[data-brand="nianjiu"] body.pages-goods-index .pm-code, html[data-brand="nianjiu"] body.pages-goods-index .pm-code span { color: var(--t3) !important; font-size: 11px !important; cursor: pointer; }
.pm-ratio {
  display: flex !important; align-items: center; gap: 10px; margin: 10px 0 10px; padding: 8px 12px; border-radius: 8px;
  background: linear-gradient(90deg, #FFF1E4 0%, #FFF8F1 100%);
}
.pm-ratio__k { font-size: 11px; font-weight: 700; color: #C2541A; }
.pm-ratio__v { font-size: 15px; font-weight: 900; color: #F05A0C; letter-spacing: .3px; }
html[data-brand="nianjiu"] body.pages-goods-index .textwen { font-size: 17px !important; line-height: 25px !important; font-weight: 800 !important; color: var(--t1) !important; }
html[data-brand="nianjiu"] body.pages-goods-index .detail-tag {
  border-radius: 4px !important; padding: 0 7px !important; height: 20px; line-height: 20px; font-size: 11px !important;
  background: var(--muted) !important; color: var(--t2) !important; border: 0 !important;
}
html[data-brand="nianjiu"] body.pages-goods-index .detail-tag.primary { background: #EEF4FF !important; color: #3B6FE0 !important; }
html[data-brand="nianjiu"] body.pages-goods-index .detail-tag.wechat-region { background: #EAF8F0 !important; color: #0FA968 !important; }
html[data-brand="nianjiu"] body.pages-goods-index .detail-tag.split-rental { background: #FFF1E4 !important; color: #F05A0C !important; }
html[data-brand="nianjiu"] body.pages-goods-index .all_shengyu > * {
  margin: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: #fff !important;
  border: 0 !important; border-bottom: 8px solid #FAF6F2 !important; padding: 14px 16px !important;
}
html[data-brand="nianjiu"] body.pages-goods-index .titles .xm-hl,
html[data-brand="nianjiu"] body.pages-goods-index .notice_title .xm-hl,
html[data-brand="nianjiu"] body.pages-goods-index .discussion_group_title .xm-hl { font-size: 17px !important; font-weight: 800 !important; color: var(--t1) !important; }
html[data-brand="nianjiu"] body.pages-goods-index .pm-flow-ico {
  width: 40px !important; height: 40px !important; border-radius: 50% !important; display: flex !important; align-items: center; justify-content: center;
  background: #fff !important; border: 1px solid var(--z-bd, var(--pm-border)) !important;
}
html[data-brand="nianjiu"] body.pages-goods-index .pm-flow-ico.is-green { --z-bd: #C3E8D2; }
html[data-brand="nianjiu"] body.pages-goods-index .pm-flow-ico.is-violet { --z-bd: #DCCFF6; }
html[data-brand="nianjiu"] body.pages-goods-index .pm-flow-ico.is-gold { --z-bd: #F5D9A8; }
html[data-brand="nianjiu"] body.pages-goods-index .pm-flow-ico uni-image, html[data-brand="nianjiu"] body.pages-goods-index .pm-flow-ico img { width: 22px !important; height: 22px !important; }
html[data-brand="nianjiu"] body.pages-goods-index .goods-stats {
  display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 4px !important;
  padding: 12px 6px !important; border-radius: 12px; background: #F3F9F5 !important;
}
html[data-brand="nianjiu"] body.pages-goods-index .stat-item {
  width: auto !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; clip-path: none !important; box-shadow: none !important;
}
html[data-brand="nianjiu"] body.pages-goods-index .stat-value, html[data-brand="nianjiu"] body.pages-goods-index .stat-value span { font-size: 15px !important; font-weight: 800 !important; color: var(--t1) !important; }
html[data-brand="nianjiu"] body.pages-goods-index .stat-label, html[data-brand="nianjiu"] body.pages-goods-index .stat-label span { font-size: 10px !important; color: var(--t3) !important; }
html[data-brand="nianjiu"] body.pages-goods-index .fixedBtm {
  border-radius: 0 !important; background: #fff !important; box-shadow: 0 -.5px 0 var(--pm-border), 0 -6px 16px rgba(90, 62, 31, .05) !important;
}
html[data-brand="nianjiu"] body.pages-goods-index .contactbtn, html[data-brand="nianjiu"] body.pages-goods-index .contactbtn span { color: var(--t1) !important; font-size: 11px !important; }
html[data-brand="nianjiu"] body.pages-goods-index .kefu-icon { width: 24px !important; height: 24px !important; }
html[data-brand="nianjiu"] body.pages-goods-index .confirmTime {
  background: #fff !important; color: var(--tap-deep) !important; box-shadow: inset 0 0 0 1px #FFC9A6 !important; border-radius: 999px !important;
}
html[data-brand="nianjiu"] body.pages-goods-index .buybtn {
  background: linear-gradient(90deg, #FF5A3C 0%, #FF2D55 100%) !important; color: #fff !important; border-radius: 999px !important;
  font-weight: 800 !important; box-shadow: 0 8px 16px -6px rgba(255, 45, 85, .5) !important;
}

/* ================================================================ 登录 */
html[data-brand="nianjiu"] .pm-login { padding-top: 40px !important; }
.pm-login-head { display: flex; flex-direction: column; align-items: center; margin-bottom: 26px; }
.pm-login-logo { width: 64px; height: 64px; border-radius: 50%; display: block; box-shadow: 0 8px 20px rgba(90, 62, 31, .12); }
html[data-brand="nianjiu"] .pm-login .xm-brand { margin-top: 14px !important; font-size: 24px !important; line-height: 32px !important; font-weight: 900 !important; letter-spacing: 1px !important; color: #F0400C !important; text-align: center; }
html[data-brand="nianjiu"] .pm-login .title {
  display: flex !important; align-items: center; justify-content: center; height: 44px; margin: 0 0 22px !important; border-radius: 12px;
  background: #fff; box-shadow: 0 0 0 4px #FFF4EA, 0 4px 12px rgba(90, 62, 31, .08);
  font-size: 15px !important; font-weight: 800 !important; color: #F0400C !important;
}
html[data-brand="nianjiu"] .pm-login .form-item .u-input {
  height: 50px !important; border-radius: 14px !important; border: 1px solid var(--outline) !important; background-color: #fff !important;
  padding-left: 44px !important; background-repeat: no-repeat !important; background-position: 16px center !important; background-size: 18px 18px !important;
}
html[data-brand="nianjiu"] .pm-login .form-item:nth-of-type(1) .u-input { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E5F55' stroke-width='1.8' stroke-linecap='round'><circle cx='12' cy='8.5' r='3.8'/><path d='M4.8 20c.8-3.7 3.7-5.8 7.2-5.8s6.4 2.1 7.2 5.8'/></svg>") !important; }
html[data-brand="nianjiu"] .pm-login .form-item:nth-of-type(2) .u-input { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E5F55' stroke-width='1.8' stroke-linecap='round'><rect x='5' y='10.5' width='14' height='10' rx='2.5'/><path d='M8 10.5V8a4 4 0 0 1 8 0v2.5'/></svg>") !important; }
html[data-brand="nianjiu"] .pm-login .form-item .u-input:focus-within { border-color: #FF8A4C !important; }
html[data-brand="nianjiu"] .pm-login .login-btn {
  height: 50px !important; line-height: 50px !important; border-radius: 999px !important; background: var(--btn-grad) !important;
  font-size: 16px !important; font-weight: 800 !important; box-shadow: 0 10px 20px -8px rgba(255, 59, 48, .55) !important;
}
html[data-brand="nianjiu"] .pm-login .link, html[data-brand="nianjiu"] .pm-login .forgot-password { color: #F0400C !important; }

/* ================================================================ 我的 */
html[data-brand="nianjiu"] .xmm-head {
  background: linear-gradient(180deg, #FFEBD8 0%, #FFF6EE 62%, #FFFFFF 100%) !important;
  padding-bottom: 16px !important;
}
html[data-brand="nianjiu"] .xmm-row { padding-right: 48px !important; }
html[data-brand="nianjiu"] .xmm-avatar { box-shadow: 0 0 0 2px #FFD9BD, 0 6px 14px rgba(90, 62, 31, .12) !important; }
html[data-brand="nianjiu"] .xmm-setting { display: flex !important; align-items: center; justify-content: center; color: var(--t1); }
.pm-set-ico { color: var(--t1); }
html[data-brand="nianjiu"] .xmm-money {
  -webkit-mask: none !important; mask: none !important; filter: none !important; clip-path: none !important;
  margin: 18px 0 -46px 0 !important; border-radius: 16px !important; border: 1px solid var(--pm-border);
  box-shadow: 0 10px 24px rgba(90, 62, 31, .08) !important; background: #fff !important;
}
html[data-brand="nianjiu"] .xmm-balance { color: var(--pm-red) !important; font-family: var(--pm-num); font-weight: 900 !important; }
html[data-brand="nianjiu"] .xmm-withdraw { border-radius: 999px !important; box-shadow: 0 6px 14px -4px rgba(255, 59, 48, .45) !important; }
html[data-brand="nianjiu"] .xmm-cards { padding-top: 62px !important; }
html[data-brand="nianjiu"] .xmm-card-title { font-size: 15px !important; font-weight: 900 !important; }
html[data-brand="nianjiu"] .xmm-card-title::before { width: 3px !important; height: 14px !important; border-radius: 2px !important; background: linear-gradient(180deg, #FF8A00, #FF3B30) !important; }
html[data-brand="nianjiu"] .xmm-more, html[data-brand="nianjiu"] .xmm-more span { color: var(--t3) !important; font-size: 12px !important; }
.pm-mi { width: 42px !important; height: 42px !important; border-radius: 50% !important; display: flex !important; align-items: center; justify-content: center; position: relative; background: var(--mi-bg) !important; color: var(--mi-c) !important; }
.pm-mi .pm-mi__svg { color: var(--mi-c) !important; }
.pm-mi.is-orange { --mi-c: #F0600C; --mi-bg: #FFF1E4; }
.pm-mi.is-blue { --mi-c: #2F6FE4; --mi-bg: #EAF1FF; }
.pm-mi.is-green { --mi-c: #12A150; --mi-bg: #E8F7EE; }
.pm-mi.is-red { --mi-c: #F0302F; --mi-bg: #FFEDEC; }
.pm-mi.is-violet { --mi-c: #7A5AE0; --mi-bg: #F2EDFF; }
.pm-mi.is-gold { --mi-c: #D48806; --mi-bg: #FFF6DE; }
html[data-brand="nianjiu"] .xmm-item-name { font-size: 12px !important; color: var(--t1) !important; }

/* 选择器加权：压过页面 CSS 的 :root:root:root body … [data-p] !important */
html[data-brand="nianjiu"]:root:root:root body .xmm-setting[data-p], html[data-brand="nianjiu"]:root:root:root body .xmm-setting[data-p] .xmm-ico[data-p] { color: var(--t1) !important; }
html[data-brand="nianjiu"]:root:root:root body .xmm-money-label[data-p] .xmm-ico[data-p] { color: var(--t3) !important; }
html[data-brand="nianjiu"]:root:root:root body .pm-login .form-item[data-p] .u-input[data-p] { padding-left: 44px !important; }
html[data-brand="nianjiu"] body.pages-goods-index .info .info-des .box3_xin .goods-content .goods-stats[data-p] { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; column-gap: 4px !important; row-gap: 12px !important; }
html[data-brand="nianjiu"] body.pages-goods-index .info .info-des .box3_xin .goods-content .goods-stats .stat-item[data-p] { flex-direction: column !important; align-items: center !important; text-align: center; }
html[data-brand="nianjiu"] body.pages-goods-index .info .info-des .box3_xin .goods-content .goods-stats .stat-item .stat-value[data-p] { margin: 0 0 3px !important; text-align: center; word-break: break-all; }

/* ================================================================ 注册页站名、下载页品牌行 */
html[data-brand="nianjiu"]:root:root:root body .kouhao[data-p] {
  text-align: center !important; font-size: 24px !important; line-height: 32px !important; font-weight: 900 !important;
  letter-spacing: 1px !important; color: #F0400C !important;
}
html[data-brand="nianjiu"]:root:root:root body .kouhao[data-p]::before {
  content: ''; display: block; width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 50%;
  background: url(/web/assets/img/logo-sm.png?v=20261129) center / cover no-repeat; box-shadow: 0 8px 20px rgba(90, 62, 31, .12);
}
.pm-dl-brand { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 6px auto 18px; }
.pm-dl-brand__logo { width: 56px; height: 56px; border-radius: 50%; flex: none; box-shadow: 0 6px 16px rgba(90, 62, 31, .12); }
.pm-dl-brand__txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pm-dl-brand__name { font-size: 21px; line-height: 28px; font-weight: 900; color: #F0400C; letter-spacing: .5px; white-space: nowrap; }
.pm-dl-brand__sub { font-size: 11px; color: var(--t2); white-space: pre; }


/* ================================================================ v6 全站深层页面（2026-12-05 用户：「界面改的不够彻底，很多界面深层次的没有修改」）
   一处改、所有页面生效的部分：空态插画、emoji 图标、列表卡片、按钮流光、聊天气泡、弹窗、页签、分组卡。
   页面 CSS 里的荧光条 / 选中深色底 / 实色主按钮已经改成令牌（--title-hl、--fill-on、--check-on，见 theme.css）。 */

/* 空态：吉祥物换成暖色线性插画（fx.js artUri 同一套图形），尺寸收到 96 */
html[data-brand="nianjiu"] {
  --empty-art: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none'><circle cx='60' cy='62' r='46' fill='%23FFF4EA'/><path d='M36 50h48v36a5 5 0 0 1-5 5H41a5 5 0 0 1-5-5z' fill='%23fff' stroke='%23F0A06A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/><path d='M32 50l9-13h38l9 13z' fill='%23FFE6D2' stroke='%23F0A06A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/><path d='M52 64h16' stroke='%23F0A06A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  --notfound-art: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none'><circle cx='60' cy='62' r='46' fill='%23FFF4EA'/><circle cx='55' cy='57' r='20' fill='%23fff' stroke='%23F0A06A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/><path d='M70 72l14 14' stroke='%23F0A06A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/><path d='M49 51l12 12M61 51L49 63' stroke='%23F0A06A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  --offline-art: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none'><circle cx='60' cy='62' r='46' fill='%23FFF4EA'/><path d='M38 74a14 14 0 0 1 3-27 20 20 0 0 1 38 2 13 13 0 0 1 0 25z' fill='%23fff' stroke='%23F0A06A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/><path d='M52 60l16 16M68 60L52 76' stroke='%23F0A06A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  --mascot: none;
}
html[data-brand="nianjiu"] :is(.no-data:not(.row-cell *), .empty-tip, .xm-empty, .empty-state:not(:has(img, uni-image)), .xm-empty-tip, .empty-list:not([style*="display: none"]), .we-zb__more, .detail-empty, .native-404, .page-error)::before {
  width: 96px !important; height: 96px !important; margin: 36px auto 10px !important;
}
html[data-brand="nianjiu"] :is(.no-data, .empty-tip, .xm-empty, .empty-state, .xm-empty-tip, .empty-list, .we-zb__more, .xm-mascot-empty) { color: var(--t3) !important; font-size: 13px !important; }
.pm-empty-art { width: 96px; height: 96px; margin: 0 auto 10px; background: center / contain no-repeat; }
html[data-brand="nianjiu"] .xm-mascot-empty { padding: 40px 24px 28px !important; }
/* 页面里写死的吉祥物图（空态 / 订单失效 / 群聊不存在等用 empty.webp、mascot.webp 的 <img>） */
html[data-brand="nianjiu"] img[src*="/brand/nianjiu/spots/"], html[data-brand="nianjiu"] img[src*="/brand/nianjiu/mascot"] {
  content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none'><circle cx='60' cy='62' r='46' fill='%23FFF4EA'/><path d='M36 50h48v36a5 5 0 0 1-5 5H41a5 5 0 0 1-5-5z' fill='%23fff' stroke='%23F0A06A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/><path d='M32 50l9-13h38l9 13z' fill='%23FFE6D2' stroke='%23F0A06A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/><path d='M52 64h16' stroke='%23F0A06A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>"); width: 96px !important; height: 96px !important; object-fit: contain; animation: none !important;
}
html[data-brand="nianjiu"] uni-image:has(> img[src*="/brand/nianjiu/spots/"]), html[data-brand="nianjiu"] uni-image:has(> img[src*="/brand/nianjiu/mascot"]) { width: 96px !important; height: 96px !important; }
html[data-brand="nianjiu"] uni-image:has(> img[src*="/brand/nianjiu/spots/"]) > div, html[data-brand="nianjiu"] uni-image:has(> img[src*="/brand/nianjiu/mascot"]) > div { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none'><circle cx='60' cy='62' r='46' fill='%23FFF4EA'/><path d='M36 50h48v36a5 5 0 0 1-5 5H41a5 5 0 0 1-5-5z' fill='%23fff' stroke='%23F0A06A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/><path d='M32 50l9-13h38l9 13z' fill='%23FFE6D2' stroke='%23F0A06A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/><path d='M52 64h16' stroke='%23F0A06A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") !important; background-size: contain !important; }

/* emoji 换成的线性图标：品牌深橙描边 */
.pm-emo { display: inline-flex; align-items: center; justify-content: center; width: 1.25em; height: 1.25em; vertical-align: -0.22em; margin: 0 .2em 0 0; color: var(--tap-deep); }
.pm-emo svg { width: 100%; height: 100%; display: block; }
.pm-emo.is-check, .pm-emo.is-shield, .pm-emo.is-up { color: #12A150; }
.pm-emo.is-down, .pm-emo.is-heart, .pm-emo.is-fire { color: #F0302F; }
.pm-emo.is-crown, .pm-emo.is-trophy, .pm-emo.is-medal, .pm-emo.is-star, .pm-emo.is-coin, .pm-emo.is-moneybag { color: #D48806; }
.pm-emo.is-lock, .pm-emo.is-card, .pm-emo.is-phone, .pm-emo.is-chat { color: #2F6FE4; }
.pm-emo.is-diamond, .pm-emo.is-crystal, .pm-emo.is-palette, .pm-emo.is-bug { color: #7A5AE0; }

/* 列表卡片：去掉票券缺口和品牌色投影，统一白底 + 暖色细描边 + 淡投影 */
html[data-brand="nianjiu"] :is(.goods-item2, .oness, .xmg-card, .goods-card, .post-card, .rec-card, .consultation-item, .we-kefu__item, .order-item, .order-card, .bundle-item, .notice-item, .list-card, .wallet-card) {
  -webkit-mask: none !important; mask: none !important; clip-path: none !important; filter: none !important;
  background-color: #fff !important; border: 1px solid var(--pm-border) !important; border-radius: 14px !important; box-shadow: var(--pm-shadow) !important;
}
html[data-brand="nianjiu"] .goods-item2::before, html[data-brand="nianjiu"] .goods-item2::after { content: none !important; }
html[data-brand="nianjiu"] .xm-gc-perf { display: none !important; }

/* 按钮：去掉流光、涟漪；主按钮统一橙红渐变胶囊，投影收小 */
html[data-brand="nianjiu"] :is(.xm-btn--primary, .rent-btn, .dp-btn-confirm, .xm-btn-glow, .login-btn, .native-appdl-btn)::after,
html[data-brand="nianjiu"] uni-button[style*="var(--tap,"]::after { content: none !important; animation: none !important; }
html[data-brand="nianjiu"] .xm-ripple { display: none !important; }
html[data-brand="nianjiu"] :is(.xm-btn--primary, .rent-btn, .native-modal__btn--primary, .dp-btn-confirm, .native-appdl-btn, .login-btn, .buy-now),
html[data-brand="nianjiu"] uni-button[style*="var(--tap,"] {
  background: var(--btn-grad) !important; box-shadow: 0 6px 14px -6px rgba(255, 59, 48, .5) !important;
}

/* 弹窗：圆角 16、白底，主按钮渐变、次按钮暖色描边 */
html[data-brand="nianjiu"] .native-modal__box, html[data-brand="nianjiu"] .native-modal { border-radius: 16px !important; }
html[data-brand="nianjiu"] .native-modal__title { font-weight: 800 !important; color: var(--t1) !important; }
html[data-brand="nianjiu"] .native-modal__btn:not(.native-modal__btn--primary) { background: #fff !important; color: var(--tap-deep) !important; box-shadow: inset 0 0 0 1px #FFC9A6 !important; }

/* 聊天气泡：自己的橙红渐变、不发光；对方白底细描边；头像去掉品牌色外圈 */
html[data-brand="nianjiu"] .we-msg-row.is-mine .we-msg-bubble { box-shadow: none !important; }
html[data-brand="nianjiu"] .we-msg-row.is-peer .we-msg-bubble { box-shadow: inset 0 0 0 1px var(--pm-border) !important; }
html[data-brand="nianjiu"] .we-msg-avatar { box-shadow: none !important; }

/* 设置类分组卡：白底细描边，不要整片底色 */
html[data-brand="nianjiu"] :is(body.pages-center-myshezhi .main, body.pages-center-setting .cont, body.pages-account-alertPref .setting-group, .xm-group) {
  box-shadow: none !important; border: 1px solid var(--pm-border) !important;
}
html[data-brand="nianjiu"] body.pages-center-myshezhi .logout { box-shadow: none !important; border: 1px solid var(--pm-border) !important; }

/* 动效收敛：只留滚动渐显，去掉弹簧放大和 boing */
@media (prefers-reduced-motion: no-preference) {
  html[data-brand="nianjiu"] .xm-reveal { transform: translateY(10px) !important; }
  html[data-brand="nianjiu"] .xm-reveal.is-in { transform: none !important; transition: opacity .35s ease, transform .35s ease !important; }
  html[data-brand="nianjiu"] :is(.xm-float, .xm-tab-3d, .xm-zone__icon, .xm-page-hero__art) { animation: none !important; }
}

/* 标题下的 6px 荧光条（::after 版本）全部去掉；Tab 选中条改成 3×16 渐变短条 */
html[data-brand="nianjiu"] :is(.home-section-hl, .section-title, .section-heading)[data-p]::after,
html[data-brand="nianjiu"] .list-header > uni-text:first-child::after { content: none !important; display: none !important; }
html[data-brand="nianjiu"] .primary-tab.active[data-p]::after {
  left: 50% !important; right: auto !important; width: 16px !important; height: 3px !important; margin-left: -8px; bottom: 4px !important; border-radius: 2px !important; background: var(--btn-grad) !important;
}
html[data-brand="nianjiu"] :is(.section-title, .section-heading)[data-p] { font-weight: 800 !important; }

/* 发布页两张入口卡：立体图标换成线性图标 + 浅色圆底 */
html[data-brand="nianjiu"] .recycle-entry-btn { border: 1px solid var(--pm-border) !important; box-shadow: var(--pm-shadow) !important; border-radius: 14px !important; }
html[data-brand="nianjiu"] .recycle-entry-btn::before {
  width: 32px !important; height: 32px !important; margin-top: -16px !important; border-radius: 50%;
  background: var(--entry-ico) center / 18px 18px no-repeat, var(--entry-bg) !important;
}
html[data-brand="nianjiu"] .recycle-entry-btn:first-child { --entry-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F0600C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='6' width='18' height='14' rx='2.5'/><path d='M16 13h2M3 9.5h13a2 2 0 0 0 2-2V6'/></svg>"); --entry-bg: #FFF1E4; }
html[data-brand="nianjiu"] .recycle-entry-btn:last-child { --entry-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F6FE4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='2.5' y='5' width='19' height='14' rx='2'/><path d='M2.5 10h19M6 15h4'/></svg>"); --entry-bg: #EAF1FF; }
.pm-scan-ico { display: inline-flex; width: 16px; height: 16px; margin-right: 4px; vertical-align: -3px; color: var(--tap-deep); }
html[data-brand="nianjiu"] .auth_btn { background: #FFF4EA !important; border: 1px solid #FFD9BD !important; }

/* 通用的线性图标圆底（余额明细、支付成功等） */
.pm-ico-circle { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; flex: none; background: var(--mi-bg); color: var(--mi-c); }
.pm-ico-circle.is-orange { --mi-c: #F0600C; --mi-bg: #FFF1E4; }
.pm-ico-circle.is-green { --mi-c: #12A150; --mi-bg: #E8F7EE; }
.pm-ico-circle.is-blue { --mi-c: #2F6FE4; --mi-bg: #EAF1FF; }

/* 三角券流程：线性图标方块 */
html[data-brand="nianjiu"] .xm-step { background: #FFF4EA !important; border: 1px solid #FFE0C7; color: var(--tap-deep); }
.pm-step-ico { display: inline-flex; width: 22px; height: 22px; }
html[data-brand="nianjiu"] .xm-steps::before { background: #FFE0C7 !important; }

/* 推广页：文字标题 + 收益条 */
.pm-sec-title { display: flex; align-items: center; gap: 8px; margin: 2px 0 10px; font-size: 16px; line-height: 22px; font-weight: 900; color: var(--t1); }
.pm-sec-title::before { content: ''; width: 3px; height: 14px; border-radius: 2px; background: var(--btn-grad); }
.pm-share-reward { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding: 9px 12px; border-radius: 10px; background: linear-gradient(90deg, #FFF1E4, #FFF8F1); color: #F0500C; font-size: 13px; }
.pm-share-reward span { display: inline-flex; width: 16px; height: 16px; }

/* 设置页：分组卡加了左右外边距后不能再 width:100%，否则右边溢出 */
html[data-brand="nianjiu"] body.pages-center-myshezhi .main { width: auto !important; }

/* 首页「筛选」抽屉里的原生输入框：去掉浏览器默认的 2px 内凹描边 */
html[data-brand="nianjiu"] input.filter-search-input { border: 0 !important; outline: none !important; background: transparent !important; width: 100%; height: 100%; font-size: 13px; }
html[data-brand="nianjiu"] .tit .price { gap: 8px; align-items: center; }
html[data-brand="nianjiu"] .tit .price > uni-view:not(.price-line) { flex: 1; min-width: 0; }
html[data-brand="nianjiu"] .tit .price input {
  width: 100%; height: 36px; box-sizing: border-box; padding: 0 12px; border: 1px solid var(--outline) !important; border-radius: 10px;
  background: #fff; outline: none; font-size: 13px; color: var(--t1); -webkit-appearance: none; appearance: none;
}
html[data-brand="nianjiu"] .tit .price input:focus { border-color: #FF8A4C !important; }
html[data-brand="nianjiu"] .tit .price-line { color: var(--t3); }
/* 次按钮（订单卡「取消订单 / 联系客服 / 申请结算」等）：暖色描边 + 深色字 */
html[data-brand="nianjiu"] :is(.btn-cancel-order, .btn-service, .btn-settle, .custom-style:not(.pay-btn):not(.btn-join)) { border-color: #F3D9C6 !important; }
