/* ==========================================================================
   南宫导航 · 内页皮肤层（开奖 / 发现 / 我的 / 顶部客服）
   依据：目标站 vzq31.top 的 theme-detail/arcade/theme.css + 实测计算样式
   加载顺序：必须在 ng-target.css / ng-motion.css 之后
   原则：皮肤听目标站，结构与逻辑不动
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. 设计令牌 + 花纹作用域
   -------------------------------------------------------------------------- */
body.ng-skin {
  --pg-panel: #fffdfd;
  --pg-line: #e1d4ea;
  --pg-inset: #f5f1f6;
  --pg-ink: #3b2a49;
  --pg-muted: #725d81;
  --pg-accent: #6a4693;
  --pg-accent-deep: #5c3d80;
  --pg-accent-2: #a06a3f;
  --pg-soft: #f8f4f8;
  --pg-shadow: inset 0 0 0 2px var(--pg-inset), 0 4px 18px rgba(0, 0, 0, .045);
  --pg-shadow-lg: inset 0 0 0 2px var(--pg-inset), 0 13px 34px rgba(34, 67, 124, .085), inset 0 1px rgba(255, 255, 255, .78);

  --td-platform-tl: url("../../images/clone/arcade/platform-tl.webp");
  --td-platform-br: url("../../images/clone/arcade/platform-br.webp");
  --td-category-tl: url("../../images/clone/arcade/category-tl.webp");
  --td-category-br: url("../../images/clone/arcade/category-br.webp");
  --td-member-tl: url("../../images/clone/arcade/member-tl.webp");
  --td-member-br: url("../../images/clone/arcade/member-br.webp");
  --td-rank-tl: url("../../images/clone/arcade/rank-tl.webp");
  --td-rank-br: url("../../images/clone/arcade/rank-br.webp");
  --td-button: url("../../images/clone/arcade/button.webp");
  --td-art-opacity: .19;
  --td-tl: var(--td-platform-tl);
  --td-br: var(--td-platform-br);
}

/* 花纹按区块切换，与目标站 theme.css 第 4-7 行同构 */
body.ng-skin :is(.ng-category-card, .collector-card, .ng-brand-header, .dc-card, .dc-composer, .dc-state) {
  --td-tl: var(--td-category-tl);
  --td-br: var(--td-category-br);
}
body.ng-skin :is(.ng-my-card, .ng-community-card, .ng-notice-card, .activity-card, .me-card, .me-gatecard) {
  --td-tl: var(--td-member-tl);
  --td-br: var(--td-member-br);
}
body.ng-skin :is(.lottery-shell .draw-card, .lottery-shell .stat-card, .lottery-shell .panel,
                  .lottery-shell .engine-panel, #currentDraw, .summary-grid .stat-card) {
  --td-tl: var(--td-rank-tl);
  --td-br: var(--td-rank-br);
}

/* --------------------------------------------------------------------------
   0.5 页面容器几何（目标站实测，1440 视口）
     /lottery/        .lottery-shell      1208 宽 @x=116，padding 0 14px 24px
                      → 内部 category-shell / currentDraw 均为 1180 @x=130
     /discover/       section.ng-hub-section 1120 宽 @x=160
     /service-center/ .ng-community-heading  1120 宽 @x=160
     移动端 390：.lottery-shell 满宽 390，padding-inline 12 → 内容 366
   -------------------------------------------------------------------------- */
/* 开奖页容器比 header 更宽（目标：header 1180@130，shell 1208@116），
   仅在开奖视图激活时放宽主容器，避免影响首页既有像素对齐 */
body.ng-skin:has(#lotteryView.show) .ng-main {
  max-width: 1208px;
}

body.ng-skin #lotteryView.ng-page-view {
  max-width: 1208px;
  padding: 4px 0 24px;
}

body.ng-skin #lotteryView .lottery-shell {
  padding: 2px 14px 24px;
}

body.ng-skin #discoverView.ng-page-view,
body.ng-skin #meView.ng-page-view {
  max-width: 1120px;
  padding: 4px 0 24px;
}

@media (max-width: 768px) {
  body.ng-skin #lotteryView.ng-page-view,
  body.ng-skin #discoverView.ng-page-view,
  body.ng-skin #meView.ng-page-view {
    max-width: none;
    padding: 4px 0 24px;
  }

  body.ng-skin #lotteryView .lottery-shell { padding: 2px 12px 24px; }
  body.ng-skin #discoverView.ng-page-view,
  body.ng-skin #meView.ng-page-view { padding: 4px 12px 24px; }
}

/* --------------------------------------------------------------------------
   1. 统一面板：白底 + 双角花纹 + 双层内框
   -------------------------------------------------------------------------- */
body.ng-skin :is(
  .lottery-shell .draw-card,
  .lottery-shell .stat-card,
  .lottery-shell .panel,
  .lottery-shell .engine-panel,
  .me-card,
  .dc-card,
  .dc-composer,
  .dc-state
) {
  position: relative;
  isolation: isolate;
  background: var(--pg-panel) !important;
  color: var(--pg-ink) !important;
  border: 1px solid var(--pg-line) !important;
  box-shadow: var(--pg-shadow) !important;
  border-radius: 16px;
  overflow: hidden;
}

body.ng-skin :is(
  .lottery-shell .draw-card,
  .lottery-shell .stat-card,
  .lottery-shell .panel,
  .lottery-shell .engine-panel,
  .me-card,
  .dc-card,
  .dc-composer,
  .dc-state
)::before {
  content: "" !important;
  display: block !important;
  visibility: visible !important;
  position: absolute !important;
  z-index: -1 !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  background:
    var(--td-tl) left top / min(50%, 150px) auto no-repeat,
    var(--td-br) right bottom / min(47%, 140px) auto no-repeat !important;
  opacity: var(--td-art-opacity) !important;
  border-radius: inherit;
  mask: none !important;
  -webkit-mask: none !important;
  transform: none !important;
  animation: none !important;
  clip-path: none !important;
}

/* --------------------------------------------------------------------------
   2. 顶部客服按钮：目标站 ng-support-launcher 同款（白底胶囊 + 40 图标）
   -------------------------------------------------------------------------- */
body.ng-skin .ng-head-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 52px;
  min-height: 0;
  padding: 5px 17px 5px 8px;
  box-sizing: border-box;
  border: 1px solid var(--pg-line) !important;
  border-radius: 999px !important;
  background: var(--pg-panel) !important;
  box-shadow: 0 7px 26px rgba(116, 80, 160, .2) !important;
  color: var(--pg-ink) !important;
  overflow: hidden;
}

body.ng-skin .ng-head-cta::before,
body.ng-skin .ng-head-cta::after {
  content: none !important;
  display: none !important;
}

body.ng-skin .ng-head-cta__icon {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

body.ng-skin .ng-head-cta__icon img {
  width: 40px;
  height: 40px;
  display: block;
  border-radius: 0;
  object-fit: contain;
}

body.ng-skin .ng-head-cta__label {
  font-size: 14px;
  font-weight: 700;
  line-height: 21.7px;
  color: var(--pg-ink);
  white-space: nowrap;
  text-shadow: none;
  letter-spacing: normal;
}

body.ng-skin .ng-head-cta:active {
  transform: scale(.97);
}

/* --------------------------------------------------------------------------
   3. 开奖页壳：去掉蓝色大板与网格纹理，改 1208 居中
   -------------------------------------------------------------------------- */
body.ng-skin #lotteryView .lottery-shell {
  width: 1208px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 14px 24px;
  box-sizing: border-box;
  border-radius: 0;
  background: none !important;
  color: var(--pg-ink);

  --bg: #f8f3fb;
  --page-bg: #f8f3fb;
  --panel: #fffdfd;
  --card: #fffdfd;
  --primary: #6a4693;
  --primary-strong: #5c3d80;
  --accent: #a06a3f;
  --text: #3b2a49;
  --muted: #725d81;
  --line: #e1d4ea;
  --success: #16a37a;
}

body.ng-skin #lotteryView .lottery-shell::before {
  content: none !important;
  display: none !important;
}

/* 3.1 分类条：1180×52，6 等分，透明外壳 */
body.ng-skin #lotteryView .lottery-navigation {
  position: sticky;
  top: 8px;
  z-index: 30;
  height: 52px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none;
  overflow: visible;
}

body.ng-skin #lotteryView .lottery-navigation::before,
body.ng-skin #lotteryView .lottery-navigation::after {
  content: none !important;
  display: none !important;
}

body.ng-skin #lotteryView .lottery-category-shell {
  width: 100%;
  max-width: none;
  height: 52px;
  padding: 4px;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.ng-skin #lotteryView .lottery-category-track {
  /* 目标站实测：track 1172 宽，6 个 tab 各 102px + 6px gap 合计 642，靠左排布，
     右侧留白，横向可滚动。不是把 6 个 tab 等分撑满整行。 */
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 6px !important;
  column-gap: 6px !important;
  width: 100%;
  height: 44px;
  min-height: 40px;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

body.ng-skin #lotteryView .lottery-category-track::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body.ng-skin #lotteryView .lottery-category-item {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 102px !important;
  gap: 6px;
  width: 102px !important;
  min-width: 102px !important;
  height: 44px;
  min-height: 44px;
  padding: 0 12px !important;
  box-sizing: border-box;
  border: 1px solid var(--pg-line) !important;
  border-radius: 10px !important;
  background: var(--pg-panel) !important;
  box-shadow: none !important;
  color: var(--pg-muted) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 18.2px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  transition: color 160ms ease, border-color 160ms ease;
}

body.ng-skin #lotteryView .lottery-category-item::before,
body.ng-skin #lotteryView .lottery-category-item::after {
  content: none !important;
  display: none !important;
}

body.ng-skin #lotteryView .lottery-category-item:not(.active):hover {
  color: var(--pg-accent) !important;
  border-color: rgba(106, 70, 147, .4) !important;
  background: var(--pg-panel) !important;
}

body.ng-skin #lotteryView .lottery-category-item.active {
  color: #fff9ed !important;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow:
    inset 0 0 0 2px var(--pg-panel),
    inset 0 0 0 3px rgba(116, 80, 160, .18) !important;
}

body.ng-skin #lotteryView .lottery-category-item.active::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 3px 0 !important;
  z-index: -1;
  width: auto !important;
  height: auto !important;
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, .22), rgba(0, 0, 0, 0) 70%),
    linear-gradient(165deg, #6a4693, var(--pg-accent-deep)) !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

body.ng-skin #lotteryView .lottery-category-item .nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 0 !important;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
  background: transparent;
}

body.ng-skin #lotteryView .lottery-category-item .nav-icon img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
  filter: none;
}

body.ng-skin #lotteryView .lottery-category-item:not(.active) .nav-icon {
  opacity: .75;
}

/* 3.2 数据状态行 */
body.ng-skin #lotteryView .lottery-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 24px;
  margin: 10px 0 0;
  padding: 0 2px;
  font-size: 12px;
  color: var(--pg-muted);
}

body.ng-skin #lotteryView .source-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border: 1px solid rgba(22, 163, 122, .18);
  border-radius: 999px;
  background: rgba(22, 163, 122, .09);
  color: #16a37a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2px;
}

body.ng-skin #lotteryView .source-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a37a;
  box-shadow: 0 0 0 3px rgba(22, 163, 122, .14);
}

body.ng-skin #lotteryView .lottery-status__note {
  color: var(--pg-muted);
  font-size: 12px;
}

/* 3.3 页头 */
body.ng-skin #lotteryView .lottery-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
  padding: 0;
}

body.ng-skin #lotteryView .lottery-page-heading__title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--pg-ink);
  letter-spacing: normal;
  text-shadow: none;
}

body.ng-skin #lotteryView .lottery-page-heading__title::before,
body.ng-skin #lotteryView .lottery-page-heading__title::after {
  content: none !important;
  display: none !important;
}

body.ng-skin #lotteryView .lottery-page-heading__description {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--pg-muted);
}

body.ng-skin #lotteryView .head-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  width: auto;
  max-width: 100%;
}

body.ng-skin #lotteryView .lottery-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  height: 44px;
  padding: 8px 28px;
  box-sizing: border-box;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  background-color: var(--pg-accent) !important;
  background-image: var(--td-button) !important;
  background-size: 100% 100% !important;
  background-position: 50% 50% !important;
  background-repeat: no-repeat !important;
  color: #fff9ed !important;
  font-size: 13px;
  font-weight: 750;
  line-height: 20.15px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(106, 70, 147, .24) !important;
  overflow: hidden;
}

body.ng-skin #lotteryView .lottery-refresh::before,
body.ng-skin #lotteryView .lottery-refresh::after {
  content: none !important;
  display: none !important;
}

/* 3.4 开奖主卡 */
body.ng-skin #lotteryView #currentDraw,
body.ng-skin #lotteryView .draw-card {
  padding: 20px 22px 22px !important;
  border-top-width: 4px !important;
  border-radius: 16px !important;
}

body.ng-skin #lotteryView .draw-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 0 14px;
}

body.ng-skin #lotteryView .draw-heading {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.55;
  color: var(--pg-ink);
}

body.ng-skin #lotteryView .draw-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

body.ng-skin #lotteryView .draw-actions .button,
body.ng-skin #lotteryView .sound-toggle,
body.ng-skin #lotteryView .scratch-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  height: 40.8px;
  padding: 7px 12px;
  box-sizing: border-box;
  border: 1px solid var(--pg-line) !important;
  border-radius: 11px !important;
  background: var(--pg-panel) !important;
  box-shadow:
    inset 0 0 0 2px var(--pg-panel),
    inset 0 0 0 3px rgba(116, 80, 160, .18) !important;
  color: var(--pg-ink) !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

body.ng-skin #lotteryView .sound-toggle.active,
body.ng-skin #lotteryView .scratch-toggle.active {
  color: #fff9ed !important;
  border-color: transparent !important;
  background: linear-gradient(165deg, #6a4693, var(--pg-accent-deep)) !important;
  box-shadow: 0 6px 16px rgba(106, 70, 147, .28) !important;
}

body.ng-skin #lotteryView .draw-issue {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 0 0;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.55;
  color: var(--pg-ink);
}

body.ng-skin #lotteryView .status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 3px 8px;
  box-sizing: border-box;
  border: 1px solid rgba(22, 163, 122, .12);
  border-radius: 999px;
  background: rgba(22, 163, 122, .09);
  color: #16a37a;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.55;
}

body.ng-skin #lotteryView .draw-main {
  display: grid;
  grid-template-columns: minmax(0, 765px) minmax(0, 343px);
  gap: 26px;
  padding: 18px 0 0;
  align-items: start;
}

/* 3.5 号码球：64px，蓝 / 绿 / 橙，目标站三色 */
body.ng-skin #lotteryView .draw-ball {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  background-color: transparent !important;
  background-image: none !important;
  color: #fff !important;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.98px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .22);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .52),
    inset 0 -5px 8px rgba(0, 0, 0, .14),
    0 6px 14px rgba(7, 21, 45, .16) !important;
  overflow: visible;
}

body.ng-skin #lotteryView .draw-ball::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  background: transparent;
  pointer-events: none;
}

body.ng-skin #lotteryView .draw-ball::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  left: 16.4%;
  top: 11.6%;
  width: 37.8%;
  height: 11.6%;
  border-radius: 50%;
  background: linear-gradient(rgba(255, 255, 255, .5), rgba(0, 0, 0, 0));
  transform: rotate(-24deg);
  pointer-events: none;
}

body.ng-skin #lotteryView .draw-ball.ball-a {
  background-image:
    radial-gradient(at 28% 16%, rgba(255, 255, 255, .36), rgba(0, 0, 0, 0) 38%),
    linear-gradient(155deg, #3269e6, #183f9d) !important;
}

body.ng-skin #lotteryView .draw-ball.ball-b {
  background-image:
    radial-gradient(at 28% 16%, rgba(255, 255, 255, .36), rgba(0, 0, 0, 0) 38%),
    linear-gradient(155deg, #138b63, #06543c) !important;
}

body.ng-skin #lotteryView .draw-ball.ball-c {
  background-image:
    radial-gradient(at 28% 16%, rgba(255, 255, 255, .36), rgba(0, 0, 0, 0) 38%),
    linear-gradient(155deg, #d87a19, #91400b) !important;
}

body.ng-skin #lotteryView .sum-ball {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  background-image:
    radial-gradient(at 28% 16%, rgba(255, 255, 255, .34), rgba(0, 0, 0, 0) 38%),
    linear-gradient(155deg, #d64550, #8f1c2c) !important;
  color: #fff !important;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.98px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .22);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .52),
    inset 0 -5px 8px rgba(0, 0, 0, .14),
    0 6px 14px rgba(7, 21, 45, .16) !important;
}

body.ng-skin #lotteryView .number-expression,
body.ng-skin #lotteryView .operator {
  color: var(--pg-muted);
  font-size: 22px;
  font-weight: 700;
}

/* 3.6 Keno 小球（卡内条） */
body.ng-skin #lotteryView .mini-ball {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: 8px;
  background: rgba(106, 70, 147, .07);
  color: var(--pg-accent);
  font-size: 12px;
  font-weight: 700;
}

body.ng-skin #lotteryView .keno-trace,
body.ng-skin #lotteryView .keno-number-list {
  border: 1px solid var(--pg-line) !important;
  border-radius: 13px !important;
  background: var(--pg-soft) !important;
}

/* 3.7 右侧 2×2 元数据 */
body.ng-skin #lotteryView .meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

body.ng-skin #lotteryView .meta-box {
  display: block;
  min-width: 0;
  min-height: 70px;
  padding: 10px 12px;
  box-sizing: border-box;
  border: 1px solid var(--pg-line) !important;
  border-radius: 13px !important;
  background: color-mix(in srgb, var(--pg-panel) 95%, var(--pg-accent)) !important;
}

body.ng-skin #lotteryView .meta-box > span {
  display: block;
  color: var(--pg-muted);
  font-size: 11px;
  font-weight: 400;
}

body.ng-skin #lotteryView .meta-box > strong {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--pg-ink);
  font-size: 15px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 3.8 引擎条 */
body.ng-skin #lotteryView .engine-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
  padding: 0 !important;
  border-radius: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible;
}

body.ng-skin #lotteryView .engine-panel::before {
  content: none !important;
  display: none !important;
}

body.ng-skin #lotteryView .engine-panel article {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--pg-line) !important;
  border-radius: 14px !important;
  background: var(--pg-panel) !important;
  box-shadow: 0 8px 20px rgba(37, 79, 152, .09) !important;
}

body.ng-skin #lotteryView .engine-panel span {
  color: var(--pg-muted);
  font-size: 10px;
  font-weight: 400;
}

body.ng-skin #lotteryView .engine-panel strong {
  overflow: hidden;
  color: var(--pg-ink);
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.ng-skin #lotteryView .engine-panel small {
  color: var(--pg-muted);
  font-size: 10px;
}

/* 3.9 统计卡 */
body.ng-skin #lotteryView .summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

body.ng-skin #lotteryView .stat-card {
  display: grid;
  gap: 3px;
  min-height: 104px;
  padding: 16px !important;
  border-radius: 16px !important;
}

body.ng-skin #lotteryView .stat-card > span {
  color: var(--pg-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
}

body.ng-skin #lotteryView .stat-card > strong {
  color: var(--pg-ink);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.55;
}

body.ng-skin #lotteryView .stat-card > small {
  color: var(--pg-muted);
  font-size: 11px;
  line-height: 1.55;
}

/* 3.10 表格面板 */
body.ng-skin #lotteryView .recent-draw-panel {
  margin-bottom: 14px;
  padding: 0 !important;
  border-radius: 16px !important;
}

body.ng-skin #lotteryView .panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 9px 14px;
  box-sizing: border-box;
}

body.ng-skin #lotteryView .panel-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  color: var(--pg-ink);
}

body.ng-skin #lotteryView .table-wrap {
  width: 100%;
  overflow: auto;
}

body.ng-skin #lotteryView .table-wrap table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  background: var(--pg-panel);
  box-shadow: inset 0 1px rgba(255, 255, 255, .45), 0 2px 8px rgba(20, 35, 60, .05);
}

body.ng-skin #lotteryView .table-wrap thead th {
  height: 35.6px;
  padding: 6px 12px;
  border-bottom: 1px solid var(--pg-line);
  background: var(--pg-panel);
  color: var(--pg-muted);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}

body.ng-skin #lotteryView .table-wrap tbody td {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(225, 212, 234, .55);
  color: var(--pg-ink);
  font-size: 13px;
}

body.ng-skin #lotteryView .table-wrap tbody tr:last-child td {
  border-bottom: 0;
}

body.ng-skin #lotteryView .table-wrap tbody tr:hover {
  background: rgba(106, 70, 147, .035);
}

/* --------------------------------------------------------------------------
   4. 内页通用页头：eyebrow 小标 + 30/700 标题 + 14/400 描述，居中
   -------------------------------------------------------------------------- */
body.ng-skin #discoverView .ng-page-head,
body.ng-skin #noticeView .ng-page-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 8px 0 24px;
  padding: 0;
  text-align: center;
}

body.ng-skin #discoverView .ng-page-head > div,
body.ng-skin #noticeView .ng-page-head > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

body.ng-skin #discoverView .ng-page-head__eyebrow,
body.ng-skin #noticeView .ng-page-head__eyebrow {
  display: inline-flex;
  align-items: center;
  height: 22px;
  margin-bottom: 6px;
  padding: 0 10px;
  border: 1px solid var(--pg-line);
  border-radius: 999px;
  background: var(--pg-panel);
  color: var(--pg-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  line-height: 1;
}

body.ng-skin #discoverView .ng-page-head h2,
body.ng-skin #noticeView .ng-page-head h2 {
  margin: 0;
  color: var(--pg-ink);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: normal;
  text-shadow: none;
}

body.ng-skin #discoverView .ng-page-head p,
body.ng-skin #noticeView .ng-page-head p {
  margin: 4px 0 0;
  color: var(--pg-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   5. 朋友圈（发现页）
   -------------------------------------------------------------------------- */
body.ng-skin #discoverView .dc-composer {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto 14px;
  padding: 12px 14px;
  box-sizing: border-box;
  border: 1px solid var(--pg-line) !important;
  border-radius: 16px !important;
  background: var(--pg-panel) !important;
  box-shadow: var(--pg-shadow) !important;
  transform: none;
}

body.ng-skin #discoverView .dc-composer:hover {
  transform: none;
  box-shadow: var(--pg-shadow-lg) !important;
}

body.ng-skin #discoverView .dc-composer__avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  border: 1px solid var(--pg-line);
  background: var(--pg-soft);
  color: var(--pg-muted);
  box-shadow: none;
}

body.ng-skin #discoverView .dc-composer__ph {
  flex: 1 1 auto;
  color: var(--pg-muted);
  font-size: 14px;
}

body.ng-skin #discoverView .dc-composer__send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  height: 36px;
  padding: 6px 22px;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 999px;
  background-color: var(--pg-accent);
  background-image: var(--td-button);
  background-size: 100% 100%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  color: #fff9ed;
  font-size: 13px;
  font-weight: 750;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
  box-shadow: 0 6px 16px rgba(106, 70, 147, .26);
}

body.ng-skin #discoverView .dc-feed {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
}

body.ng-skin #discoverView .dc-card {
  width: 100%;
  margin: 0 0 10px;
  padding: 16px 18px;
  box-sizing: border-box;
  border: 1px solid var(--pg-line) !important;
  border-radius: 16px !important;
  background: var(--pg-panel) !important;
  box-shadow: var(--pg-shadow) !important;
  transform: none;
}

body.ng-skin #discoverView .dc-card:hover {
  transform: none;
  box-shadow: var(--pg-shadow-lg) !important;
}

body.ng-skin #discoverView .dc-card__name {
  color: var(--pg-ink);
  font-size: 15px;
  font-weight: 700;
}

body.ng-skin #discoverView .dc-card__time {
  color: var(--pg-muted);
  font-size: 11.5px;
}

body.ng-skin #discoverView .dc-card__content {
  margin-top: 10px;
  color: var(--pg-ink);
  font-size: 14.5px;
  line-height: 1.75;
}

body.ng-skin #discoverView .dc-card__actions {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(225, 212, 234, .6);
}

body.ng-skin #discoverView .dc-act {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--pg-line);
  border-radius: 999px;
  background: var(--pg-panel);
  color: var(--pg-muted);
  font-size: 12px;
  font-weight: 600;
}

body.ng-skin #discoverView .dc-act:hover {
  border-color: rgba(106, 70, 147, .38);
  color: var(--pg-accent);
}

body.ng-skin #discoverView .dc-state {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 26px 16px;
  border: 1px solid var(--pg-line);
  border-radius: 16px;
  background: var(--pg-panel);
  box-shadow: var(--pg-shadow);
  color: var(--pg-muted);
  font-size: 13px;
  overflow: hidden;
}

body.ng-skin #discoverView .dc-state__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 26px 0 20px;
  text-align: center;
}
/* 空状态徽标：渐变方块 + 双环，与目标站图标块同一语汇 */
body.ng-skin #discoverView .dc-state__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 6px;
  border-radius: 18px;
  color: #fff9ed;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 58%),
    linear-gradient(155deg, var(--pg-accent), var(--pg-accent-deep));
  box-shadow:
    0 10px 22px rgba(106, 70, 147, .24),
    inset 0 1px 1px rgba(255, 255, 255, .5),
    inset 0 -4px 8px rgba(0, 0, 0, .14);
}
body.ng-skin #discoverView .dc-state__badge svg {
  display: block;
  width: 26px;
  height: 26px;
  /* 不要用 currentColor：徽标 span 的 color 会被面板继承规则改成 --pg-muted，
     结果紫色描边压在紫色渐变上等于隐形。这里直接写死高对比色。 */
  stroke: #fff9ed !important;
  fill: none !important;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.ng-skin #discoverView .dc-state__badge svg path,
body.ng-skin #discoverView .dc-state__badge svg circle {
  stroke: #fff9ed !important;
  fill: none !important;
}
body.ng-skin #discoverView .dc-state__empty strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--pg-ink);
}
body.ng-skin #discoverView .dc-state__empty span {
  font-size: 13px;
  line-height: 1.7;
  color: var(--pg-muted);
}
body.ng-skin #discoverView .dc-state__empty .dc-loadmore__btn { margin-top: 6px; }

body.ng-skin #discoverView .dc-loadmore__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 26px;
  border: 1px solid var(--pg-line);
  border-radius: 999px;
  background: var(--pg-panel);
  box-shadow: inset 0 0 0 2px var(--pg-panel), inset 0 0 0 3px rgba(116, 80, 160, .16);
  color: var(--pg-ink);
  font-size: 13px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   6. 我的（会员中心）
   -------------------------------------------------------------------------- */
body.ng-skin #meView .me-app {
  width: 1120px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.ng-skin #meView .me-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 8px 0 24px;
  padding: 0;
  text-align: center;
}

body.ng-skin #meView .me-head > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

body.ng-skin #meView .me-head h1 {
  margin: 0;
  color: var(--pg-ink);
  font-size: 30px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: normal;
  text-shadow: none;
}

body.ng-skin #meView .me-head p {
  margin: 4px 0 0;
  color: var(--pg-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

body.ng-skin #meView .me-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0 0 16px;
  padding: 20px;
  box-sizing: border-box;
  border: 1px solid var(--pg-line) !important;
  border-radius: 20px !important;
  background: var(--pg-panel) !important;
  box-shadow: var(--pg-shadow) !important;
  text-align: center;
}

body.ng-skin #meView .me-card::before {
  border-radius: 20px;
}

/* 卡内小标题：目标站 ng-community-section-head h2 = 18/700 左对齐 */
body.ng-skin #meView .me-card__title {
  align-self: stretch;
  margin: 0 0 14px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(225, 212, 234, .7);
  color: var(--pg-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  text-align: left;
}

body.ng-skin #meView .me-gatecard strong {
  color: var(--pg-ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}

body.ng-skin #meView .me-gatecard__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 16px;
}

body.ng-skin #meView .me-gatecard__actions > .me-action {
  flex: 0 0 auto;
  width: auto;
}

/* 主按钮：目标站 ng-community-button--primary */
body.ng-skin #meView .me-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 128px;
  min-height: 44px;
  height: 44px;
  padding: 10px 28px;
  box-sizing: border-box;
  border: 1px solid var(--pg-line);
  border-radius: 999px;
  background: var(--pg-panel);
  box-shadow: inset 0 0 0 2px var(--pg-panel), inset 0 0 0 3px rgba(116, 80, 160, .16);
  color: var(--pg-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-shadow: none;
  transform: none;
}

body.ng-skin #meView .me-action:hover {
  transform: none;
  border-color: rgba(106, 70, 147, .4);
  box-shadow: inset 0 0 0 2px var(--pg-panel), inset 0 0 0 3px rgba(116, 80, 160, .28);
}

body.ng-skin #meView .me-action--primary {
  border-color: transparent;
  background-color: var(--pg-accent);
  background-image: var(--td-button);
  background-size: 100% 100%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  color: #fff9ed;
  font-weight: 750;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
  box-shadow: 0 8px 20px rgba(106, 70, 147, .24);
}

body.ng-skin #meView .me-action--primary:hover {
  box-shadow: 0 10px 26px rgba(106, 70, 147, .32);
}

body.ng-skin #meView .me-action--lg {
  flex: 0 0 auto;
  width: auto;
  min-height: 44px;
  height: 44px;
  padding: 10px 28px;
  font-size: 14px;
}

/* 功能网格：2×2，白底描边胶囊 */
body.ng-skin #meView .me-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin: 0;
}

body.ng-skin #meView .me-actions .me-action {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  height: 52px;
  padding: 10px 16px;
  justify-content: flex-start;
  font-size: 14px;
  font-weight: 700;
  color: var(--pg-ink);
}

body.ng-skin #meView .me-actions .me-action::after {
  content: "›";
  margin-left: auto;
  color: var(--pg-accent);
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
}

body.ng-skin #meView .me-action__unread {
  margin-left: auto;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #d64550;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  font-style: normal;
  line-height: 18px;
  text-align: center;
}

body.ng-skin #meView .me-btn {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  background-color: var(--pg-accent);
  background-image: var(--td-button);
  background-size: 100% 100%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  color: #fff9ed;
  font-size: 14px;
  font-weight: 750;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
  box-shadow: 0 8px 20px rgba(106, 70, 147, .24);
}

body.ng-skin #meView .me-btn:hover {
  transform: none;
  box-shadow: 0 10px 26px rgba(106, 70, 147, .32);
}

body.ng-skin #meView .me-btn--ghost {
  border-color: var(--pg-line);
  background: var(--pg-panel);
  color: var(--pg-ink);
  text-shadow: none;
  box-shadow: inset 0 0 0 2px var(--pg-panel), inset 0 0 0 3px rgba(116, 80, 160, .16);
}

body.ng-skin #meView .me-prof,
body.ng-skin #meView .me-prof .me-stats {
  width: 100%;
}

body.ng-skin #meView .me-prof__row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
}

body.ng-skin #meView .me-prof__meta strong {
  display: block;
  color: var(--pg-ink);
  font-size: 18px;
  font-weight: 700;
}

body.ng-skin #meView .me-prof__meta span {
  display: block;
  margin-top: 2px;
  color: var(--pg-muted);
  font-size: 12.5px;
}

body.ng-skin #meView .me-identity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 0;
  border-top: 1px solid rgba(225, 212, 234, .7);
  border-bottom: 1px solid rgba(225, 212, 234, .7);
  color: var(--pg-muted);
  font-size: 12px;
}

body.ng-skin #meView .me-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.ng-skin #meView .me-stat {
  padding: 12px;
  border: 1px solid var(--pg-line);
  border-radius: 13px;
  background: color-mix(in srgb, var(--pg-panel) 95%, var(--pg-accent));
  text-align: center;
}

body.ng-skin #meView .me-stat b {
  display: block;
  color: var(--pg-muted);
  font-size: 11.5px;
  font-weight: 400;
}

body.ng-skin #meView .me-stat span {
  display: block;
  margin-top: 4px;
  color: var(--pg-ink);
  font-size: 20px;
  font-weight: 700;
}

body.ng-skin #meView .me-checkin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--pg-line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--pg-panel) 95%, var(--pg-accent));
}

body.ng-skin #meView .me-checkin__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 20px;
  border-radius: 999px;
  background-color: var(--pg-accent);
  background-image: var(--td-button);
  background-size: 100% 100%;
  color: #fff9ed;
  font-size: 12.5px;
  font-weight: 750;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
}

body.ng-skin #meView .me-input {
  min-height: 44px;
  border: 1px solid var(--pg-line);
  border-radius: 12px;
  background: var(--pg-panel);
  color: var(--pg-ink);
}

body.ng-skin #meView .me-input:focus {
  border-color: rgba(106, 70, 147, .5);
  box-shadow: 0 0 0 3px rgba(106, 70, 147, .12);
}

body.ng-skin #meView .me-tabs button.is-active {
  color: #fff9ed;
  background-color: var(--pg-accent);
  background-image: var(--td-button);
  background-size: 100% 100%;
  border-radius: 999px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
}

/* --------------------------------------------------------------------------
   7. 底部导航：图标尺寸对齐目标站（38×38 图标 + 18 高文字）
   -------------------------------------------------------------------------- */
body.ng-skin .ng-bottom-nav__icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
}

body.ng-skin .ng-bottom-nav__icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

body.ng-skin .ng-bottom-nav__label {
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  color: var(--pg-ink);
}

body.ng-skin .ng-bottom-nav__item[aria-current="page"] .ng-bottom-nav__label {
  color: var(--pg-accent);
  font-weight: 700;
}

/* ==========================================================================
   §15 开奖主卡布局回填（2026-11-09 14:50，按先生 14:45 截图）
   目标站 /lottery/ 1440 实测：
     #currentDraw [130,275.3,1180,471.5]
     draw-main    [153,395.4,1134,328.4] → 左 765 + 右 343 / gap 26
     左侧栈      104 + 3 + 48.8 + 12 + 25 + 14 + 103.6 = 310.4
     右侧 meta-grid stretch 到 310.4 → 两行各 150.2
   本地被 ng-ui.css 的 margin 与本文件 align-items:start 压成 70px 矮卡、
   整块只占 150 高，Keno 表格掉到下方。以下逐项回填目标站计算样式。
   本段置于移动端 @media 之前，390 端仍走后面的移动端覆盖。
   ========================================================================== */

/* 15.1 通用：margin 归零、grid stretch、去多余边框（1440 / 390 同按目标站） */
body.ng-skin #lotteryView {
  padding-top: 0 !important;
}
body.ng-skin #lotteryView .draw-issue {
  margin-top: 0 !important;
}
body.ng-skin #lotteryView .draw-main {
  align-items: stretch !important;
}
body.ng-skin #lotteryView .meta-grid {
  margin-top: 0 !important;
  align-self: stretch;
  align-content: stretch;
}
body.ng-skin #lotteryView .meta-box {
  align-self: stretch;
}
body.ng-skin #lotteryView .number-expression {
  margin: 0 !important;
  height: 104px;
  min-height: 104px !important;
  flex-wrap: nowrap !important;
  color: #3b2a49 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 24.8px !important;
}
body.ng-skin #lotteryView .operator {
  flex-shrink: 0 !important;
  font-weight: 650 !important;
}
body.ng-skin #lotteryView .keno-number-list {
  margin-top: 8px !important;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
body.ng-skin #lotteryView .stat-card > strong {
  margin-top: 0 !important;
}
body.ng-skin #lotteryView .engine-panel strong {
  margin-top: 0 !important;
}
body.ng-skin #lotteryView .recent-draw-panel {
  margin-top: 0 !important;
}
body.ng-skin #lotteryView .recent-draw-panel .table-wrap {
  margin-top: 0 !important;
}
body.ng-skin #lotteryView .lottery-status {
  margin-left: 2px;
  margin-right: 2px;
  padding-left: 0;
  padding-right: 0;
  flex-wrap: nowrap;
  position: static;
}

/* 15.2 结果条 / 主标 / 倒计时胶囊 / 标签：目标站 1440 与 390 同款，通用生效 */
body.ng-skin #lotteryView .result-strip {
  margin-top: 3px !important;
}
body.ng-skin #lotteryView .result-main {
  padding: 5px 16px !important;
  box-sizing: border-box;
  border-radius: 10px !important;
  background-color: #ecf8f3 !important;
  background-image: none !important;
  color: #3b2a49 !important;
  font-weight: 950 !important;
  letter-spacing: normal !important;
}
body.ng-skin #lotteryView .countdown {
  padding: 6px 12px !important;
  box-sizing: border-box;
  border-radius: 10px !important;
  background-color: #f2f4f7 !important;
  background-image: none !important;
  color: #344054 !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  line-height: 23.25px !important;
}
body.ng-skin #lotteryView .countdown strong {
  color: #344054 !important;
  font-size: 15px !important;
  line-height: 23.25px !important;
}
body.ng-skin #lotteryView .tags > .tag {
  height: 25px;
  min-height: 25px;
  padding: 3px 8px !important;
  box-sizing: border-box;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 17.05px !important;
}

/* 15.3 桌面专属精确值：与 390 端目标值不同，隔离在 min-width:769px，
        避免 !important 穿透移动端 media 把 column 结果条挤成左对齐。 */
@media (min-width: 769px) {
  body.ng-skin #lotteryView .number-expression {
    gap: 12px !important;
  }
  body.ng-skin #lotteryView .operator {
    height: 19px;
    font-size: 19px !important;
    line-height: 19px !important;
  }
  body.ng-skin #lotteryView .draw-scratch-zone {
    min-height: 104px;
    padding-top: 0;
    padding-bottom: 0;
  }
  body.ng-skin #lotteryView .result-strip {
    align-items: baseline !important;
  }
  body.ng-skin #lotteryView .result-main {
    font-size: 25px !important;
    line-height: 38.75px !important;
  }
  body.ng-skin #lotteryView .draw-actions .button,
  body.ng-skin #lotteryView .sound-toggle,
  body.ng-skin #lotteryView .scratch-toggle {
    display: block;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24.8px;
  }
  /* 历史开奖表：目标 th/td 上下 8px → 行高 41.14，本地原 9px → 45 */
  body.ng-skin #lotteryView .recent-draw-panel :is(th, td) {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
  /* 表头下方 10px 多余 margin；行数由 mini-ball 26 → 22 与胶囊 min-width 决定 */
  body.ng-skin #lotteryView .recent-draw-panel .panel-head {
    margin-bottom: 0 !important;
  }
  body.ng-skin #lotteryView .mini-ball {
    min-width: 0;
    width: 22px;
    height: 22px;
    padding: 0;
    border-radius: 50%;
    font-size: 11px;
    line-height: 17.05px;
  }
  body.ng-skin #lotteryView .result-chip {
    min-width: 0;
  }
}

/* --------------------------------------------------------------------------
   8. 移动端
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  body.ng-skin .ng-head-cta {
    height: 40px;
    padding: 4px 12px 4px 6px;
    gap: 5px;
  }

  body.ng-skin .ng-head-cta__icon,
  body.ng-skin .ng-head-cta__icon img {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
  }

  body.ng-skin .ng-head-cta__label {
    font-size: 12px;
    line-height: 1.4;
  }

  body.ng-skin #lotteryView .lottery-shell {
    width: 100%;
    padding: 0 10px 18px;
  }

  body.ng-skin #lotteryView .lottery-navigation {
    top: 0;
    height: auto;
  }

  body.ng-skin #lotteryView .lottery-category-shell {
    height: auto;
    padding: 2px 0;
  }

  body.ng-skin #lotteryView .lottery-category-track {
    display: flex;
    grid-template-columns: none;
    gap: 6px;
    height: 40px;
    overflow: auto hidden;
    scrollbar-width: none;
  }

  body.ng-skin #lotteryView .lottery-category-track::-webkit-scrollbar {
    display: none;
  }

  body.ng-skin #lotteryView .lottery-category-item {
    flex: 0 0 auto;
    width: auto;
    min-width: 88px;
    height: 38px;
    min-height: 38px;
    padding: 0 12px !important;
    font-size: 12.5px !important;
  }

  body.ng-skin #lotteryView .lottery-category-item .nav-icon,
  body.ng-skin #lotteryView .lottery-category-item .nav-icon img {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
  }

  body.ng-skin #lotteryView .lottery-status {
    margin-top: 8px;
    font-size: 11px;
  }

  body.ng-skin #lotteryView .lottery-status__note {
    font-size: 11px;
  }

  body.ng-skin #lotteryView .lottery-page-heading {
    margin: 12px 0;
    gap: 10px;
  }

  body.ng-skin #lotteryView .lottery-page-heading__title {
    font-size: 21px;
    line-height: 1.3;
  }

  body.ng-skin #lotteryView .lottery-page-heading__description {
    margin-top: 4px;
    font-size: 12px;
  }

  body.ng-skin #lotteryView .lottery-refresh {
    min-height: 38px;
    height: 38px;
    padding: 6px 20px;
    font-size: 12.5px;
  }

  body.ng-skin #lotteryView #currentDraw,
  body.ng-skin #lotteryView .draw-card {
    padding: 14px 14px 16px !important;
    border-top-width: 3px !important;
    border-radius: 16px !important;
  }

  body.ng-skin #lotteryView .draw-top {
    padding-bottom: 10px;
    gap: 8px;
  }

  body.ng-skin #lotteryView .draw-heading {
    font-size: 15px;
  }

  body.ng-skin #lotteryView .draw-actions .button,
  body.ng-skin #lotteryView .sound-toggle,
  body.ng-skin #lotteryView .scratch-toggle {
    min-height: 34px;
    height: 34px;
    padding: 5px 10px;
    font-size: 12.5px;
    border-radius: 10px !important;
  }

  body.ng-skin #lotteryView .draw-issue {
    gap: 7px;
    padding-top: 10px;
    font-size: 15px;
  }

  body.ng-skin #lotteryView .status-pill {
    min-height: 22px;
    padding: 2px 7px;
    font-size: 10.5px;
  }

  body.ng-skin #lotteryView .draw-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding-top: 12px;
  }

  body.ng-skin #lotteryView .draw-ball,
  body.ng-skin #lotteryView .sum-ball {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    font-size: 21px;
    letter-spacing: -.6px;
  }

  body.ng-skin #lotteryView .draw-ball::before {
    inset: 2.5px;
  }

  body.ng-skin #lotteryView .number-expression,
  body.ng-skin #lotteryView .operator {
    font-size: 17px;
  }

  body.ng-skin #lotteryView .meta-grid {
    gap: 8px;
  }

  body.ng-skin #lotteryView .meta-box {
    min-height: 62px;
    padding: 8px 10px;
    border-radius: 11px !important;
  }

  body.ng-skin #lotteryView .meta-box > strong {
    font-size: 13px;
  }

  body.ng-skin #lotteryView .engine-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin: 10px 0;
  }

  body.ng-skin #lotteryView .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 10px 0;
  }

  body.ng-skin #lotteryView .stat-card {
    min-height: 88px;
    padding: 12px !important;
    border-radius: 14px !important;
  }

  body.ng-skin #lotteryView .stat-card > strong {
    font-size: 20px;
  }

  body.ng-skin #lotteryView .panel-head h2 {
    font-size: 15px;
  }

  body.ng-skin #lotteryView .table-wrap thead th,
  body.ng-skin #lotteryView .table-wrap tbody td {
    padding: 7px 9px;
    font-size: 12px;
  }

  body.ng-skin #discoverView .ng-page-head,
  body.ng-skin #noticeView .ng-page-head {
    margin: 6px 0 18px;
  }

  body.ng-skin #discoverView .ng-page-head h2,
  body.ng-skin #noticeView .ng-page-head h2 {
    font-size: 22px;
  }

  body.ng-skin #discoverView .ng-page-head p,
  body.ng-skin #noticeView .ng-page-head p {
    font-size: 12.5px;
  }

  body.ng-skin #discoverView .dc-composer {
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 14px !important;
  }

  body.ng-skin #discoverView .dc-composer__avatar {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
  }

  body.ng-skin #discoverView .dc-card {
    margin-bottom: 8px;
    padding: 13px 14px;
    border-radius: 14px !important;
  }

  body.ng-skin #meView .me-head {
    margin: 6px 0 18px;
  }

  body.ng-skin #meView .me-head h1 {
    font-size: 22px;
  }

  body.ng-skin #meView .me-head p {
    font-size: 12.5px;
  }

  body.ng-skin #meView .me-card {
    padding: 14px;
    border-radius: 18px !important;
  }

  body.ng-skin #meView .me-card::before {
    border-radius: 18px;
  }

  body.ng-skin #meView .me-card__title {
    font-size: 16px;
    margin-bottom: 10px;
    padding-bottom: 9px;
  }

  body.ng-skin #meView .me-gatecard strong {
    font-size: 15px;
  }

  body.ng-skin #meView .me-action,
  body.ng-skin #meView .me-action--lg {
    min-width: 0;
    min-height: 40px;
    height: 40px;
    padding: 8px 20px;
    font-size: 13px;
  }

  body.ng-skin #meView .me-actions {
    gap: 8px;
  }

  body.ng-skin #meView .me-actions .me-action {
    min-height: 46px;
    height: 46px;
    padding: 8px 12px;
    font-size: 13px;
  }

  body.ng-skin #meView .me-stats {
    gap: 8px;
  }

  body.ng-skin #meView .me-stat span {
    font-size: 17px;
  }

  body.ng-skin .ng-bottom-nav__icon,
  body.ng-skin .ng-bottom-nav__icon img {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
  }

  body.ng-skin .ng-bottom-nav__label {
    font-size: 11px;
    line-height: 16px;
  }
}

/* 暗色模式：面板压深，花纹保留 */
html[data-theme="dark"] body.ng-skin {
  --pg-panel: #141c2e;
  --pg-line: #2c3a55;
  --pg-inset: #1b2438;
  --pg-ink: #e8eefc;
  --pg-muted: #9aa8c4;
  --pg-soft: #1a2338;
  --pg-shadow: inset 0 0 0 2px var(--pg-inset), 0 4px 18px rgba(0, 0, 0, .32);
  --pg-shadow-lg: inset 0 0 0 2px var(--pg-inset), 0 13px 34px rgba(0, 0, 0, .42);
}

html[data-theme="dark"] body.ng-skin #lotteryView .lottery-shell {
  --bg: #0b1326;
  --page-bg: #0b1326;
  --panel: #141c2e;
  --card: #141c2e;
  --primary: #c9a8ed;
  --primary-strong: #b58fe0;
  --accent: #d8a05f;
  --text: #e8eefc;
  --muted: #9aa8c4;
  --line: #2c3a55;
}

html[data-theme="dark"] body.ng-skin #lotteryView .meta-box,
html[data-theme="dark"] body.ng-skin #meView .me-stat,
html[data-theme="dark"] body.ng-skin #meView .me-checkin {
  background: color-mix(in srgb, var(--pg-panel) 94%, var(--pg-accent)) !important;
}

/* ==========================================================================
   10. 二轮复刻补正（2026-11-09 12:59）
   依据：目标站 vzq31.top /mine/ /discover/ 实测计算样式快照
     A 顶部白条：category-tl/br.webp 位图花纹替换本地自绘 SVG 花瓣
     B 宝石按钮：image-set(button.avif / button.webp) 替换 ng-crystal 的 --ng-gem
     C 底栏：40px 高 / radius 24px 圆角长条，按真实项数等分居中
   ========================================================================== */

body.ng-skin {
  /* 目标站 theme.css：button.avif 优先，webp 兜底，1dppx 拉伸 100% 100% */
  --pg-gem: image-set(
    url("../../images/clone/arcade/button.avif") 1dppx type("image/avif"),
    url("../../images/clone/arcade/button.webp") 1dppx type("image/webp")
  );
}

/* ---- A. 顶部白条 ------------------------------------------------------- */
/* 目标站 header.ng-brand-header 本体即白条：1120/1180 宽、70 高、r22、
   1px #e1d4ea、inset 2px + 0 4px 18px、::before 铺 category 双角位图 opacity .19 */
/* ng-ui.css:753 用 `body.ng-skin header.ng-brand-header { border-radius:0 !important }`
   和 :761 把 ::before 设成 display:none；ng-crystal.css 又用 --ng-surface-img /
   --ng-flower 在内层平铺一排自绘 SVG 花瓣。这些 class 级规则互相叠加，
   所以用 header 自带的 #ngHeader（index.php:268）的 ID 权重一次性接管。 */
body.ng-skin #ngHeader {
  /* 让所有引用这些变量的旧背景规则在头部范围内自动失效 */
  --ng-surface-img: none;
  --ng-flower: none;
  position: relative !important;
  isolation: isolate !important;
  border: 1px solid #e1d4ea !important;
  border-radius: 22px !important;
  background-color: #fffdfd !important;
  background-image: none !important;
  box-shadow:
    inset 0 0 0 2px #f5f1f6,
    0 4px 18px rgba(0, 0, 0, .043) !important;
  overflow: hidden;
}

body.ng-skin #ngHeader::before {
  content: "" !important;
  display: block !important;
  visibility: visible !important;
  position: absolute !important;
  z-index: -1 !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  background:
    var(--td-category-tl) left top / min(50%, 150px) auto no-repeat,
    var(--td-category-br) right bottom / min(47%, 140px) auto no-repeat !important;
  opacity: .19 !important;
  border-radius: 22px;
  mask: none !important;
  -webkit-mask: none !important;
  transform: none !important;
  animation: none !important;
  clip-path: none !important;
}

body.ng-skin #ngHeader::after {
  content: none !important;
  display: none !important;
}

/* 内层白条交还给外层：撤掉自绘 SVG 花瓣与 16px 白卡 */
body.ng-skin #ngHeader > .ng-brand-header__row {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.ng-skin #ngHeader > .ng-brand-header__row::before,
body.ng-skin #ngHeader > .ng-brand-header__row::after {
  content: none !important;
  display: none !important;
}

/* ---- B. 宝石按钮 ------------------------------------------------------- */
/* ng-crystal.css?v=20261109g 有一条 !important 的
   `background: var(--ng-gem)` 命中 .me-action--primary / .dc-composer__send /
   .dc-loadmore__btn / .ng-btn--primary 等，把全部主按钮刷成金紫斜纹渐变。
   这里用带 ID 的选择器 + !important 逐个夺回。 */
body.ng-skin :is(
  #meView .me-gatecard__actions > .me-action,
  #discoverView .dc-composer__send,
  #discoverView .dc-loadmore__btn,
  #lotteryView .lottery-refresh,
  .ng-btn--primary
) {
  background-color: #6a4693 !important;
  background-image: var(--pg-gem) !important;
  background-size: 100% 100% !important;
  background-position: 50% 50% !important;
  background-repeat: no-repeat !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #fff9ed !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1.4 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6) !important;
  overflow: hidden;
}

/* 次要按钮「联系客服」：白纱方案已废弃（把宝石刷成灰白胶囊）。
   先生 2026-11-09 14:08 要求水晶按钮，统一见 §13.3。 */

/* 发布按钮是 span.dc-composer__send，不是 button，尺寸单独给 */
body.ng-skin #discoverView .dc-composer__send {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 110px !important;
  width: 110px !important;
  min-width: 110px !important;
  height: 44px !important;
  padding: 8px 28px !important;
  box-sizing: border-box;
  white-space: nowrap;
}

/* ---- C. 底部导航 ------------------------------------------------------- */
/* 目标站 nav 本体透明 1180×78，可见长条由 ::before 画：
   inset 38px 0 0 / 40px 高 / r24 / rgba(255,249,253,.97) /
   1px #e1d4ea / 0 -8px 24px rgba(20,36,62,.12)。
   本地旧值 r22 22 0 0（下两角直角）→ 看起来像半椭圆盖。 */
body.ng-skin .ng-bottom-nav {
  display: grid !important;
  grid-template-columns: none !important;
  grid-auto-flow: column !important;
  grid-auto-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  justify-content: center !important;
  align-items: end !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.ng-skin .ng-bottom-nav::before {
  content: "" !important;
  position: absolute !important;
  z-index: 0 !important;
  left: 0 !important;
  right: 0 !important;
  top: 38px !important;
  bottom: 0 !important;
  height: 40px !important;
  border: 1px solid #e1d4ea !important;
  border-radius: 24px !important;
  background: rgba(255, 249, 253, .97) !important;
  box-shadow: 0 -8px 24px rgba(20, 36, 62, .12) !important;
  opacity: 1 !important;
  transform: none !important;
  clip-path: none !important;
}

/* CSS 原本写死 5 列，但本地 DOM 只有 4 项 → 末列空白把图标组推到左侧。
   grid-auto-columns 按真实项数等分，整组回到条形正中。 */
body.ng-skin .ng-bottom-nav__item {
  position: relative !important;
  z-index: 1 !important;
  width: auto !important;
  min-width: 0 !important;
  justify-self: stretch !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  flex: none !important;
}

/* 移动端：条宽收窄后仍按项数等分，不溢出 */
@media (max-width: 768px) {
  body.ng-skin .ng-bottom-nav::before {
    border-radius: 20px !important;
  }
}

/* 暗色模式下宝石按钮保持原图，不叠深色滤镜 */
html[data-theme="dark"] body.ng-skin :is(
  #meView .me-gatecard__actions > .me-action,
  #discoverView .dc-composer__send,
  #discoverView .dc-loadmore__btn,
  #lotteryView .lottery-refresh,
  .ng-btn--primary
) {
  color: #fff9ed !important;
}

/* ==========================================================================
   §12 三轮补正（2026-11-09 13:40，按先生 13:33 截图六点）
   目标站 /home/ 实测：html/body 均 16px、无 zoom / 无 transform:scale。
   卡片标题 17/800、描述 13/400、go 13.5/750、公告 14/700、区块标题 30px
   与本地逐项相同 —— 「整体小一圈」不是字号，是 logo 188×36 vs 252×49，
   以及 header row 58 高 / 内缩 12px vs 68 高 / pad 7px 18px。
   ========================================================================== */

/* ---- 12.1 顶部 logo 与 header row -------------------------------------- */
/* ng-ui.css 有 `body.ng-skin .ng-brand-header { padding:10px 12px 12px !important }`，
   把 row 整体内缩 12px（实测 row x=143，目标 131），logo 跟着右移。 */
body.ng-skin #ngHeader {
  padding: 0 !important;
  box-sizing: border-box !important;
}
body.ng-skin #ngHeader > .ng-brand-header__row {
  height: 68px !important;
  min-height: 68px !important;
  padding: 7px 18px !important;
  box-sizing: border-box !important;
  border-radius: 0 !important;
}
body.ng-skin #ngHeader .brand-logo {
  width: 252px !important;
  height: 49px !important;
  max-width: 252px !important;
  object-fit: contain !important;
}
@media (max-width: 720px) {
  body.ng-skin #ngHeader .brand-logo {
    width: 189px !important;
    height: 37px !important;
    max-width: 189px !important;
  }
}

/* ---- 12.2 分区标题「推荐平台 / 品质保障」------------------------------- */
/* 目标站 h2.pk16-category-title：30/700、lh 42、center、
   margin 22px 0 14px、padding-bottom 12px、color #3b2a49；
   ::after 96×3 渐变短线居中（::before 是 4×30 竖条但 content:none 不显示） */
body.ng-skin #homeView #cardsScroll #cardsSection .ng-section-head h2#categoryTitle {
  position: relative;
  /* ng-target.css 把 h2 设成 display:flex 给左侧竖条让位，flex 容器里
     text-align:center 对匿名文本 item 无效，文字仍靠左。目标站是 block。 */
  display: block !important;
  margin: 22px 0 14px !important;
  padding: 0 0 12px !important;
  text-align: center !important;
  font-size: 30px !important;
  font-weight: 700 !important;
  line-height: 42px !important;
  letter-spacing: 0 !important;
  color: var(--pg-ink) !important;
}
/* ng-redesign.css 给 .ng-section-head 加了 padding:20px 0 14px，把 h2 整体
   下推 20px（本地 h2 y=811，目标站 791）。归零后由 h2 自身 margin 控制。 */
body.ng-skin #homeView #cardsScroll #cardsSection .ng-section-head {
  padding: 0 !important;
  margin: 0 !important;
}

body.ng-skin #homeView #cardsScroll #cardsSection .ng-section-head h2#categoryTitle::before {
  content: none !important;
  display: none !important;
}
body.ng-skin #homeView #cardsScroll #cardsSection .ng-section-head h2#categoryTitle::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  bottom: 0 !important;
  width: 96px !important;
  height: 3px !important;
  margin-left: -48px;
  border-radius: 999px !important;
  background: linear-gradient(90deg,
    rgba(0, 0, 0, 0), #7450a0, #996343, rgba(0, 0, 0, 0)) !important;
}

/* ---- 12.3 底栏标签 10 → 11px（目标站 .ng-bottom-nav__label 11px） ------ */
body.ng-skin .ng-bottom-nav__label { font-size: 11px !important; }

/* ---- 12.4 跑马灯圆标尺寸兜底（目标站 link 64×64 / img 56×56） ---------- */
/* ng-redesign.css:704 把 link 压成 48px，ng-target.css 有 !important 64px；
   这里再以 #homeView 的 ID 权重锁死，避免媒体查询里再被覆盖。 */
body.ng-skin #homeView .ng-platform-logo-link {
  width: 64px !important;
  height: 64px !important;
  padding: 3px !important;
  box-sizing: border-box !important;
  border-radius: 50% !important;
}
body.ng-skin #homeView .ng-platform-logo-link img {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  object-fit: contain !important;
}
body.ng-skin #homeView .ng-platform-logo-sequence {
  height: 70px !important;
  gap: 14px !important;
  padding: 3px 14px 3px 0 !important;
}

/* ---- 12.5 已废弃 ---------------------------------------------------- */
/* 「亮银宝石 / .9 白纱」是上一轮的错误方向：先生要的是水晶按钮，不是白胶囊。
   保留空段仅为章节编号连续，实际规则见 §13.3。 */

/* ---- 12.6 客服弹窗：撤掉旧手绘 SVG 花瓣，换目标站 member 位图花纹 ---- */
/* ng-crystal.css:271 用 `background-image: var(--ng-flower), radial… !important`
   把 panel / head / svc-card 全刷成内联自绘六瓣花。在 #ngContactModal 上
   把 --ng-flower 重定义为 none 让引用自动失效，再用 ID 级显式复位。
   目标站 .ng-support-panel：390×560、r24、#fffdfd、1px #e1d4ea、
   0 20px 64px rgba(0,0,0,.25)，::before = member-tl/br.webp、
   150px auto / 135px auto、0% 0% / 100% 100%、opacity .1、z -1。 */
body.ng-skin #ngContactModal {
  --ng-flower: none;
  --ng-line-flower-purple: none;
  --ng-line-flower-blue: none;
  --ng-line-flower-gold: none;
}
body.ng-skin #ngContactModal .ng-contact-modal__panel {
  position: relative !important;
  isolation: isolate;
  background-color: #fffdfd !important;
  background-image: none !important;
  border: 1px solid var(--pg-line) !important;
  border-radius: 24px !important;
  box-shadow: 0 20px 64px rgba(0, 0, 0, .25) !important;
  color: var(--pg-ink) !important;
}
body.ng-skin #ngContactModal .ng-contact-modal__panel::before {
  content: "" !important;
  display: block !important;
  visibility: visible !important;
  position: absolute !important;
  z-index: -1 !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 24px;
  background:
    var(--td-member-tl) left top / 150px auto no-repeat,
    var(--td-member-br) right bottom / 135px auto no-repeat !important;
  opacity: .1 !important;
  pointer-events: none !important;
  mask: none !important;
  -webkit-mask: none !important;
  transform: none !important;
}
body.ng-skin #ngContactModal .ng-contact-modal__head,
body.ng-skin #ngContactModal .ng-contact-modal__body .svc-card {
  background-color: transparent !important;
  background-image: none !important;
  border-color: var(--pg-line) !important;
}
body.ng-skin #ngContactModal .ng-contact-modal__body .svc-card {
  position: relative;
  isolation: isolate;
  border: 1px solid var(--pg-line) !important;
  border-radius: 16px !important;
  box-shadow: var(--pg-shadow) !important;
  overflow: hidden;
}
body.ng-skin #ngContactModal .ng-contact-modal__body .svc-card::before {
  content: "" !important;
  position: absolute !important;
  z-index: -1 !important;
  inset: 0 !important;
  background:
    var(--td-category-tl) left top / min(50%, 150px) auto no-repeat,
    var(--td-category-br) right bottom / min(47%, 140px) auto no-repeat !important;
  opacity: var(--td-art-opacity) !important;
  border-radius: inherit;
  pointer-events: none !important;
}

/* ==========================================================================
   §13 2026-11-09 14:08 按先生 14:03 截图的三点修正
     13.1 首页圆标跑马灯：去掉原生横向滑轨（灰轨 + 两端三角箭头）
     13.2 右下角紫色圆钮 #ngThemeToggle：移除
     13.3 「我的」联系客服胶囊：灰白 → 水晶宝石（撤销 §11.B / §12.5 白纱）
     13.4 顶部联系客服胶囊：补水晶玻璃高光，不再是死灰白
   ========================================================================== */

/* ---- 13.1 圆标滑轨 ---------------------------------------------------- */
/* ng-target.css:309 给 .ng-platform-logo-viewport 设了 `overflow: auto hidden`，
   Chromium 真机渲染出 8px 灰轨 + 左右三角箭头（headless 截图默认隐藏滚动条，
   所以之前的定稿图看不到，先生本机的 Chrome 能看到）。隐藏 scrollbar 但保留
   overflow-x:auto：图标仍可触控/滚轮横向浏览，目标站同为无轨横向滚动。 */
body.ng-skin #homeView .ng-platform-logo-viewport {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
}
body.ng-skin #homeView .ng-platform-logo-viewport::-webkit-scrollbar,
body.ng-skin #homeView .ng-platform-logo-viewport::-webkit-scrollbar-track,
body.ng-skin #homeView .ng-platform-logo-viewport::-webkit-scrollbar-thumb,
body.ng-skin #homeView .ng-platform-logo-viewport::-webkit-scrollbar-button,
body.ng-skin #homeView .ng-platform-logo-viewport::-webkit-scrollbar-corner {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
  border: 0 !important;
}

/* ---- 13.2 右下角紫色圆钮 ---------------------------------------------- */
/* ng-theme.js 已不再注入该按钮；这条兜底旧缓存脚本 / 其它入口写入的 DOM。 */
body.ng-skin #ngThemeToggle {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ---- 13.3 「我的」联系客服：与登录/注册同款水晶宝石 -------------------- */
/* 目标站 button#ng-my-login-btn 实测：
   bgc #6a4693 / image-set(button.avif, button.webp) / 100% 100% /
   1px transparent / r999 / box-shadow:none / #fff9ed / 750 /
   text-shadow 0 1px 2px rgba(0,0,0,.6)。
   上一版叠 .58 → .9 白纱把位图压成灰白胶囊，方向错误，这里整颗换回水晶。 */
body.ng-skin #meView .me-gatecard__actions > .me-action--plain {
  background-color: #6a4693 !important;
  background-image: var(--pg-gem) !important;
  background-size: 100% 100% !important;
  background-position: 50% 50% !important;
  background-repeat: no-repeat !important;
  border: 1px solid rgba(0, 0, 0, 0) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #fff9ed !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1.4 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6) !important;
  overflow: hidden;
}

/* ---- 13.4 顶部联系客服胶囊：亮白水晶玻璃 ------------------------------ */
/* 目标站 button.ng-support-launcher 实测：130×52 / r999 / #fffdfd /
   1px #e1d4ea / 0 7px 26px rgba(116,80,160,.2) / 40px 客服图标 / 深色字。
   本地原值纯 #fffdfd + 单层外阴影，视觉发灰；补顶部白高光与紫调内发光，
   白底、深色字、图标口径不变。 */
body.ng-skin #ngHeader #ngHeadCta {
  background-color: #fffdfd !important;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 249, 253, .86)) !important;
  border: 1px solid rgba(255, 255, 255, .92) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -3px 10px rgba(116, 80, 160, .1),
    0 7px 26px rgba(116, 80, 160, .28) !important;
  color: #3b2a49 !important;
}

/* ==========================================================================
   §16 开奖主卡 390 端回填（2026-11-09 15:05，按目标站 /lottery/ 390 实测）
   目标 390：result-strip column / center / gap 6 / 高 83.8；
   result-main 21px / lh 32.55 / 74×42.5；number-expression gap 4；
   operator 17px；号码球 52px / 字 22px；提示音·咪牌 68×44 / 12px / lh 18.6；
   draw-top align-items flex-start / gap 10；draw-main padding-top 18 / gap 18；
   meta-grid gap 7；meta-box padding 8 / r13。
   置于文件末尾，权重高于前面的移动端 @media 块。
   ========================================================================== */
@media (max-width: 768px) {
  body.ng-skin #lotteryView .result-strip {
    align-items: center !important;
    gap: 6px !important;
  }
  body.ng-skin #lotteryView .result-main {
    font-size: 21px !important;
    line-height: 32.55px !important;
  }
  body.ng-skin #lotteryView .number-expression {
    gap: 4px !important;
  }
  body.ng-skin #lotteryView .operator {
    height: 17px;
    font-size: 17px !important;
    line-height: 17px !important;
  }
  body.ng-skin #lotteryView .draw-ball,
  body.ng-skin #lotteryView .sum-ball {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    font-size: 22px;
    line-height: 22px;
  }
  body.ng-skin #lotteryView .draw-actions .button,
  body.ng-skin #lotteryView .sound-toggle,
  body.ng-skin #lotteryView .scratch-toggle {
    display: block;
    height: 44px;
    min-height: 44px;
    padding: 5px 9px;
    border-radius: 11px !important;
    font-size: 12px;
    line-height: 18.6px;
  }
  body.ng-skin #lotteryView .draw-top {
    align-items: flex-start;
    gap: 10px;
  }
  body.ng-skin #lotteryView .draw-main {
    padding-top: 18px;
    gap: 18px;
  }
  body.ng-skin #lotteryView .meta-grid {
    gap: 7px;
  }
  body.ng-skin #lotteryView .meta-box {
    padding: 8px;
    border-radius: 13px !important;
  }
}

/* ==========================================================================
   §17 卡片角标（2026-11-09 15:20，按目标站 /home/ 实测回填）
   目标站 span.card-rec-badge.badge-color-{hot|premium|verified}
   .badge-effect-{hot|like|verified}：48×20 @ top6/right6 / r6 /
   1px #c0acd4 / padding 1px 4px / flex center gap2 / 11px 700 lh13.2 /
   #fff / z8 / overflow hidden / 白高光内阴影 + 色调外阴影 /
   ::before 14×14 badge-icons-ai 位图（hot/recommended/official.webp）。
   本地主模板此前完全没输出角标 span，而 $c['tag'] / tagColor 数据早已备好。
   ========================================================================== */
body.ng-skin #homeView #cardsSection .card {
  position: relative;
}
body.ng-skin #homeView #cardsSection .card > .card-rec-badge {
  position: absolute !important;
  top: 6px !important;
  right: 6px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 8 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  box-sizing: border-box;
  width: 48px;
  height: 20px;
  min-width: 0;
  padding: 1px 4px !important;
  overflow: hidden;
  border: 1px solid #c0acd4 !important;
  border-radius: 6px !important;
  color: #fff !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 13.2px !important;
  letter-spacing: normal;
  text-align: center;
  text-shadow: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 4px 11px rgba(222, 43, 46, .26) !important;
}
body.ng-skin #homeView #cardsSection .card > .card-rec-badge::before {
  content: "" !important;
  display: block !important;
  flex: 0 0 14px !important;
  width: 14px !important;
  height: 14px !important;
  background-position: 50% 50% !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
}
/* ng-ui.css 已按 .badge-color-* 下发三段渐变与 ::before 位图，
   这里只补齐目标站的逐色调外阴影（实测 premium/verified 与 hot 不同）。 */
body.ng-skin #homeView #cardsSection .card > .card-rec-badge.badge-color-premium {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 4px 11px rgba(100, 52, 211, .26) !important;
}
body.ng-skin #homeView #cardsSection .card > .card-rec-badge.badge-color-verified {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42), 0 4px 11px rgba(25, 102, 221, .3) !important;
}

/* ==========================================================================
   §18 预测广场页头（2026-11-09 15:20）
   目标站 /lottery/#/robot 实测 div.robot-lab-head：1180×89.1 / 白底 /
   r18 / padding 16px 18px / flex row space-between gap18；
   标题 21/700 lh32.55 + 「热门预测」11/900 r999 蓝底紫字徽标；
   说明 12/400 lh18.6 #725d81；右侧 3×92×53.2 统计块 r11 半透白。
   前台不再出现内部算法代号，算法结果区皮肤保持不变。
   ========================================================================== */
body.ng-skin #lotteryView .prediction-hall .robot-lab-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-sizing: border-box;
  width: 100%;
  min-height: 89.1px;
  padding: 16px 18px;
  border: 1px solid #e1d4ea !important;
  border-radius: 18px;
  background: #fff !important;
}
body.ng-skin #lotteryView .prediction-hall .robot-lab-title {
  display: flex;
  align-items: center;
  gap: 9px;
}
body.ng-skin #lotteryView .prediction-hall .robot-lab-title strong {
  display: block;
  font-size: 21px;
  font-weight: 700;
  line-height: 32.55px;
  color: #3b2a49;
}
body.ng-skin #lotteryView .prediction-hall .robot-lab-title > span {
  display: block;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(47, 123, 255, .12);
  color: #7450a0;
  font-size: 11px;
  font-weight: 900;
  line-height: 17.05px;
}
body.ng-skin #lotteryView .prediction-hall .robot-lab-head p {
  margin: 0;
  font-size: 12px;
  line-height: 18.6px;
  color: #725d81;
}
body.ng-skin #lotteryView .prediction-hall .robot-lab-stats {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}
body.ng-skin #lotteryView .prediction-hall .robot-lab-stats > span {
  display: grid;
  box-sizing: border-box;
  width: 92px;
  min-height: 53.2px;
  padding: 7px 10px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .7);
  color: #725d81;
  font-size: 10px;
  line-height: 15.5px;
}
body.ng-skin #lotteryView .prediction-hall .robot-lab-stats b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 21.7px;
  color: #3b2a49;
}
body.ng-skin #lotteryView .prediction-hall .robot-lab-actions {
  flex: 0 0 auto;
}

/* ==========================================================================
   §19 「我的」移动端注册/客服按钮横排（2026-11-09 15:20）
   me.css @media(max-width:720px) 有 .me-gatecard__actions{flex-direction:column}
   与 .me-action{width:100%}，390 端把两颗宝石压成上下两行。
   这里用 ID 级 + !important 夺回，两颗等分同一行、不换行。
   ========================================================================== */
@media (max-width: 768px) {
  body.ng-skin #meView .me-gatecard__actions {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    align-items: center !important;
    justify-content: center !important;
  }
  body.ng-skin #meView .me-gatecard__actions > .me-action {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 8px 10px !important;
    box-sizing: border-box;
    white-space: nowrap;
  }
}
@media (max-width: 768px) {
  body.ng-skin #lotteryView .prediction-hall .robot-lab-head {
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px;
  }
  body.ng-skin #lotteryView .prediction-hall .robot-lab-stats {
    flex: 1 1 100%;
    justify-content: flex-start;
  }
  body.ng-skin #lotteryView .prediction-hall .robot-lab-stats > span {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }
  body.ng-skin #lotteryView .prediction-hall .robot-lab-actions {
    margin-left: auto;
  }
}


/* ---- §21 我的 / 客服 两大板块：左右对齐、拉长 ---------------------------
   先生要求：包裹框去掉、保留花纹；只留「我的」「客服」两个主功能；
   恢复 me-* 原生体系（花纹由 :is(.me-card)::before 提供，按钮为 --td-button 宝石位图）。
   ------------------------------------------------------------------------ */
body.ng-skin #meView .me-board {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-items: stretch !important;
  width: 100% !important;
}
body.ng-skin #meView .me-board__col {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  text-align: left !important;
  min-height: 340px !important;
  margin: 0 !important;
  padding: 22px 24px !important;
  border-radius: 20px !important;
}
/* 彻底去掉任何紫粉九宫格包裹框（含旧皮肤残留） */
body.ng-skin #meView .me-board__col::after {
  content: none !important;
  border: 0 !important;
  border-image: none !important;
  box-shadow: none !important;
  background: none !important;
}
body.ng-skin #meView .me-board__title {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid rgba(225, 212, 234, .75) !important;
}
body.ng-skin #meView .me-board__ico {
  width: 44px !important; height: 44px !important;
  flex: 0 0 44px !important;
  display: grid !important; place-items: center !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #8b5cf6, #d946ef) !important;
  color: #fff9ed !important;
  box-shadow: 0 6px 18px rgba(139, 92, 246, .28) !important;
}
body.ng-skin #meView .me-board__ico svg { width: 22px !important; height: 22px !important; fill: none !important; stroke: currentColor !important; }
body.ng-skin #meView .me-board__label { display: flex !important; flex-direction: column !important; gap: 2px !important; }
body.ng-skin #meView .me-board__label strong { font-size: 18px !important; font-weight: 700 !important; color: var(--pg-ink, #3b2a49) !important; }
body.ng-skin #meView .me-board__label small { font-size: 12px !important; color: var(--pg-muted, #8b7a99) !important; }
body.ng-skin #meView .me-board__body {
  flex: 1 !important; display: flex !important; flex-direction: column !important;
  gap: 14px !important; padding-top: 18px !important;
}
body.ng-skin #meView .me-board__hint { margin: 0 !important; font-size: 14px !important; line-height: 1.7 !important; color: var(--pg-muted, #7c6b8c) !important; text-align: left !important; }
body.ng-skin #meView .me-board__note { margin: auto 0 0 !important; font-size: 12px !important; color: #9a89a8 !important; text-align: left !important; }
body.ng-skin #meView .me-board__rows { display: flex !important; flex-direction: column !important; gap: 8px !important; font-size: 13px !important; color: var(--pg-muted, #7c6b8c) !important; }
body.ng-skin #meView .me-board__rows span { position: relative !important; padding-left: 14px !important; }
body.ng-skin #meView .me-board__rows span::before {
  content: "" !important; position: absolute !important; left: 0 !important; top: 8px !important;
  width: 6px !important; height: 6px !important; border-radius: 50% !important; background: #c084fc !important;
}
body.ng-skin #meView .me-board__cta { width: 100% !important; margin-top: auto !important; }
body.ng-skin #meView .me-board__user { display: flex !important; align-items: center !important; gap: 12px !important; }
body.ng-skin #meView .me-board__user .me-avatar { flex: 0 0 52px !important; width: 52px !important; height: 52px !important; border-radius: 14px !important; }
body.ng-skin #meView .me-board__meta { min-width: 0 !important; display: flex !important; flex-direction: column !important; gap: 3px !important; }
body.ng-skin #meView .me-board__meta strong { font-size: 16px !important; font-weight: 700 !important; color: var(--pg-ink, #3b2a49) !important; }
body.ng-skin #meView .me-board__meta span { font-size: 12px !important; color: var(--pg-muted, #8b7a99) !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
body.ng-skin #meView .me-board__links { display: flex !important; flex-direction: column !important; border-top: 1px solid rgba(225, 212, 234, .7) !important; }
body.ng-skin #meView .me-board__links .me-list-link { text-align: left !important; }
body.ng-skin #meView .me-board .me-identity { justify-content: space-between !important; }
@media (max-width: 720px) {
  body.ng-skin #meView .me-board { grid-template-columns: 1fr !important; }
  body.ng-skin #meView .me-board__col { min-height: 0 !important; padding: 18px !important; }
}


/* §21 补正：客服板块 CTA 与游客态两颗按钮统一水晶位图；头像/链接回归本站紫粉 */
body.ng-skin #meView .me-board__cta {
  background-color: #6a4693 !important;
  background-image: var(--pg-gem) !important;
  background-size: 100% 100% !important;
  background-position: 50% 50% !important;
  background-repeat: no-repeat !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  color: #fff9ed !important;
  font-weight: 750 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6) !important;
}
body.ng-skin #meView .me-board__user .me-avatar {
  background: linear-gradient(135deg, #8b5cf6, #d946ef) !important;
  color: #fff9ed !important;
}
body.ng-skin #meView .me-board .me-linkbtn { color: #7c3aed !important; }


/* ---- §22 游客态：只留登录卡（目标站 /service-center/ 未登录态复刻） --------
   先生要求：未登录时参考目标站，只留下登录样式；去掉两大板块 / 客服卡 / 第二颗按钮。
   目标站实测（mine-1440.json / mine-390.json / grab-login.json）：
     heading h1 30/750 居中、p 14/400 #725d81 居中；
     section head h2 18/700 左对齐，底边距卡片 16px；
     .ng-my-login-tip 1440 [160,254.2,1120,153.2] / 390 [12,230.2,366,145.2]，
     r20 / #fffdfd / 1px #e1d4ea / inset 2px + 0 4px 18px / flex column 居中 / gap12；
     ::before = member-tl.webp + member-br.webp / opacity .19 / z -1；
     strong 17/700 #3b2a49 居中；按钮 128×44 r999 #fff9ed 14/750 + button.avif/webp。
   本地 padding 32/22（390: 28/18）使自然高度正好落在 153.2 / 145.2。
   ------------------------------------------------------------------------ */
body.ng-skin #meView .me-guest { width: 100% !important; }

body.ng-skin #meView .me-guest__head {
  display: flex !important;
  align-items: center !important;
  min-height: 28.8px !important;
  margin: 0 0 16px !important;
}
body.ng-skin #meView .me-guest__head h2 {
  margin: 0 !important;
  color: var(--pg-ink, #3b2a49) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  text-align: left !important;
}

body.ng-skin #meView .me-guest__card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 32px 20px 20px !important;
  box-sizing: border-box !important;
  border: 1px solid var(--pg-line, #e1d4ea) !important;
  border-bottom: 1px solid var(--pg-line, #e1d4ea) !important;
  border-radius: 20px !important;
  background: var(--pg-panel, #fffdfd) !important;
  box-shadow: var(--pg-shadow) !important;
  text-align: center !important;
}
/* 花纹保留（:is(.me-card)::before），包裹框彻底不出现 */
body.ng-skin #meView .me-guest__card::after {
  content: none !important;
  border: 0 !important;
  border-image: none !important;
  box-shadow: none !important;
  background: none !important;
}
body.ng-skin #meView .me-guest__card strong {
  margin: 0 !important;
  color: var(--pg-ink, #3b2a49) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  text-align: center !important;
}
body.ng-skin #meView .me-guest__card .me-gatecard__actions {
  flex-wrap: nowrap !important;
  gap: 10px !important;
  margin-top: 16px !important;
}
body.ng-skin #meView .me-guest__card .me-action--primary {
  flex: 0 0 128px !important;
  width: 128px !important;
  min-width: 128px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 10px 28px !important;
  box-sizing: border-box !important;
  border: 0 !important;
  border-radius: 999px !important;
  background-color: #6a4693 !important;
  background-image: var(--pg-gem) !important;
  background-size: 100% 100% !important;
  background-position: 50% 50% !important;
  background-repeat: no-repeat !important;
  box-shadow: none !important;
  color: #fff9ed !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 19.6px !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6) !important;
}
@media (max-width: 720px) {
  body.ng-skin #meView .me-guest__card { padding: 28px 18px 16px !important; }
}


/* ---- §23 登录态：目标站「会员中心」单列全宽大卡（推翻两分栏） ----------
   先生要求：保留「我的」标题；四入口白条全部去掉；等级成长 / 每日试玩积分 /
   签到 / 当前可用积分 / 今日净赢 / 今日局数 全部去掉；昵称标识 + 静态头像框留下；
   账户信息里去掉我的彩票 / 战神榜；整体按目标站单列排版，不再用两大分栏。
   目标站实测（_tools/tgt-logged-1440.json / tgt-logged-390.json，注入登录态抓全量 DOM）：
     1440 卡 [160,344.2,1120,919.5] / padding 20 / r20 / 1px #e1d4ea / #fffdfd /
       inset 2px + 0 4px 18px / ::before member-tl+br.webp opacity .19；
     profile grid 64px 1fr auto / gap 14；头像 64 圆 + 42.25 内层 + 64 花框覆盖；
     昵称 15/900 + 22 标识；工具按钮 44 / r12 / 14/650；
     wall margin-top 12 / padding 12px 14 / r14 / #f1ecf4；head 44；
     标签 12/800 #725d81；选择佩戴 114×44 r999 水晶；
     current margin-top 10 / min-height 58 / padding 9px 11 / r13 / #fffdfd；
     标题 13/700、副文案 11/400 #725d81；
     details margin-top 12 / padding 10px 14 / r14 / #f1ecf4；summary 13/800；
     actions margin-top 14 / grid 533+533 / gap 12 / 按钮 44 r12。
     390 卡 [12,331,366,1211.1] / padding 17；profile 单列 122 高；
     wall head 70（标签 + 满宽按钮）；actions 160+160。
   ------------------------------------------------------------------------ */
body.ng-skin #meView .me-member { width: 100% !important; }
body.ng-skin #meView .me-member__head {
  display: flex !important; align-items: center !important;
  min-height: 28.8px !important; margin: 0 0 16px !important;
}
body.ng-skin #meView .me-member__head h2 {
  margin: 0 !important; color: var(--pg-ink, #3b2a49) !important;
  font-size: 18px !important; font-weight: 700 !important; line-height: 28.8px !important;
  text-align: left !important;
}

body.ng-skin #meView .me-member__card {
  display: block !important; align-items: stretch !important; gap: 0 !important;
  width: 100% !important; margin: 0 !important; padding: 20px !important;
  box-sizing: border-box !important; text-align: left !important;
  border: 1px solid var(--pg-line, #e1d4ea) !important;
  border-radius: 20px !important;
  background: var(--pg-panel, #fffdfd) !important;
  box-shadow: var(--pg-shadow) !important;
  overflow: hidden !important; isolation: isolate !important;
}
body.ng-skin #meView .me-member__card::before { border-radius: 20px !important; }
body.ng-skin #meView .me-member__card::after {
  content: none !important; border: 0 !important; border-image: none !important;
  box-shadow: none !important; background: none !important;
}

body.ng-skin #meView .me-member__profile {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 14px !important; align-items: center !important; min-height: 64px !important;
}
body.ng-skin #meView .me-member__identity {
  display: flex !important; align-items: center !important; gap: 10px !important; min-width: 0 !important;
}
body.ng-skin #meView .me-member__avatar {
  position: relative !important; display: block !important;
  width: 64px !important; height: 64px !important; flex: 0 0 64px !important;
  border-radius: 50% !important;
}
body.ng-skin #meView .me-member__avatar-inner,
body.ng-skin #meView .me-member__avatar-photo {
  position: absolute !important; left: 50% !important; top: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 42.25px !important; height: 42.25px !important; border-radius: 50% !important;
  overflow: hidden !important; object-fit: cover !important;
  background: #ffebf4 !important; color: #3b2a49 !important;
  font-size: 15px !important; font-weight: 900 !important; line-height: 15px !important;
  display: grid !important; place-items: center !important;
  box-shadow: 0 3px 10px rgba(7, 14, 36, .18) !important;
}
body.ng-skin #meView .me-member__avatar-frame {
  position: absolute !important; inset: 0 !important;
  width: 64px !important; height: 64px !important; z-index: 4 !important;
  pointer-events: none !important;
}
body.ng-skin #meView .me-member__name {
  display: flex !important; align-items: center !important; gap: 4px !important;
  min-width: 0 !important; color: #3b2a49 !important;
  font-size: 15px !important; font-weight: 900 !important; line-height: 24px !important;
}
body.ng-skin #meView .me-member__name-text {
  white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important;
}
body.ng-skin #meView .me-member__badge { width: 22px !important; height: 22px !important; flex: 0 0 22px !important; }
body.ng-skin #meView .me-member__tools {
  display: flex !important; align-items: center !important; justify-content: flex-end !important; gap: 8px !important;
}
body.ng-skin #meView .me-member__ghost,
body.ng-skin #meView .me-member__action {
  display: flex !important; align-items: center !important; justify-content: center !important;
  position: relative !important; height: 44px !important; min-height: 44px !important;
  padding: 10px 20px !important; box-sizing: border-box !important;
  border: 1px solid var(--pg-line, #e1d4ea) !important; border-radius: 12px !important;
  background: var(--pg-panel, #fffdfd) !important;
  box-shadow: inset 0 0 0 2px #fffdfd, inset 0 0 0 3px rgba(116, 80, 160, .18) !important;
  color: #3b2a49 !important; font-size: 14px !important; font-weight: 650 !important;
  line-height: 19.6px !important; text-align: center !important; white-space: nowrap !important;
}
body.ng-skin #meView .me-member__dot {
  display: inline-block !important; width: 8px !important; height: 8px !important;
  margin-left: 8px !important; border-radius: 50% !important; background: #e0455e !important;
}

body.ng-skin #meView .me-member__wall {
  margin-top: 12px !important; padding: 12px 14px !important; box-sizing: border-box !important;
  border: 1px solid var(--pg-line, #e1d4ea) !important; border-radius: 14px !important;
  background: #f1ecf4 !important;
}
body.ng-skin #meView .me-member__wall-head {
  display: flex !important; align-items: center !important; justify-content: space-between !important;
  gap: 8px !important; min-height: 44px !important;
}
body.ng-skin #meView .me-member__wall-label {
  color: #725d81 !important; font-size: 12px !important; font-weight: 800 !important; line-height: 18px !important;
}
body.ng-skin #meView .me-member__pick {
  flex: 0 0 114px !important; width: 114px !important; height: 44px !important; min-height: 44px !important;
  padding: 10px 16px !important; box-sizing: border-box !important;
  border: 0 !important; border-radius: 999px !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  background-color: #6a4693 !important; background-image: var(--pg-gem) !important;
  background-size: 100% 100% !important; background-position: 50% 50% !important;
  background-repeat: no-repeat !important; box-shadow: none !important;
  color: #fff9ed !important; font-size: 14px !important; font-weight: 750 !important;
  line-height: 19.6px !important; white-space: nowrap !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6) !important;
}
body.ng-skin #meView .me-member__current {
  display: flex !important; align-items: center !important; gap: 8px !important;
  min-height: 58px !important; margin-top: 10px !important; padding: 9px 11px !important;
  box-sizing: border-box !important; border: 1px solid var(--pg-line, #e1d4ea) !important;
  border-radius: 13px !important; background: var(--pg-panel, #fffdfd) !important;
}
body.ng-skin #meView .me-member__wall--badge .me-member__current-art { width: 44px !important; height: 44px !important; }
body.ng-skin #meView .me-member__wall--frame .me-member__current-art { width: 48px !important; height: 48px !important; }
body.ng-skin #meView .me-member__current-art { flex: 0 0 auto !important; object-fit: contain !important; }
body.ng-skin #meView .me-member__current-copy { display: grid !important; gap: 3px !important; }
body.ng-skin #meView .me-member__current-copy strong {
  color: #3b2a49 !important; font-size: 13px !important; font-weight: 700 !important; line-height: 20.8px !important;
}
body.ng-skin #meView .me-member__current-copy small {
  color: #725d81 !important; font-size: 11px !important; font-weight: 400 !important; line-height: 15.4px !important;
}

body.ng-skin #meView .me-member__details {
  margin-top: 12px !important; padding: 10px 14px !important; box-sizing: border-box !important;
  border: 1px solid var(--pg-line, #e1d4ea) !important; border-radius: 14px !important;
  background: #f1ecf4 !important;
}
body.ng-skin #meView .me-member__details summary {
  color: #3b2a49 !important; font-size: 13px !important; font-weight: 800 !important;
  line-height: 20.8px !important; cursor: pointer !important;
}
body.ng-skin #meView .me-member__details-body {
  display: flex !important; flex-wrap: wrap !important; gap: 8px 18px !important;
  margin-top: 12px !important; color: #725d81 !important;
  font-size: 12px !important; font-weight: 400 !important; line-height: 19.2px !important;
}
body.ng-skin #meView .me-member__actions {
  display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important; margin-top: 14px !important;
}

/* 「选择佩戴」弹窗：本站可用标识 / 头像框，点击即时切换（纯前端） */
body.ng-skin .me-cos {
  display: grid !important; grid-template-columns: 1fr !important;
  gap: 8px !important; max-height: 56vh !important; overflow-y: auto !important;
  padding-right: 4px !important;
}
body.ng-skin .me-cos__item {
  display: flex !important; align-items: center !important; gap: 12px !important;
  padding: 10px 12px !important; box-sizing: border-box !important;
  border: 1px solid #e1d4ea !important; border-radius: 12px !important;
  background: #fffdfd !important; text-align: left !important; cursor: pointer !important;
}
body.ng-skin .me-cos__item.is-active { border-color: #a78bfa !important; background: #f7f1ff !important; }
body.ng-skin .me-cos__item img { width: 44px !important; height: 44px !important; object-fit: contain !important; flex: 0 0 44px !important; }
body.ng-skin .me-cos__item span { display: grid !important; gap: 2px !important; flex: 1 1 auto !important; min-width: 0 !important; }
body.ng-skin .me-cos__item strong { color: #3b2a49 !important; font-size: 14px !important; font-weight: 700 !important; }
body.ng-skin .me-cos__item small { color: #725d81 !important; font-size: 12px !important; }
body.ng-skin .me-cos__item em { color: #7c3aed !important; font-size: 12px !important; font-style: normal !important; }

@media (max-width: 720px) {
  body.ng-skin #meView .me-member__card { padding: 16px !important; }
  body.ng-skin #meView .me-member__profile {
    display: flex !important; flex-direction: column !important;
    align-items: stretch !important; gap: 14px !important;
  }
  body.ng-skin #meView .me-member__identity { min-height: 64px !important; }
  body.ng-skin #meView .me-member__avatar { width: 52px !important; height: 52px !important; flex: 0 0 52px !important; }
  body.ng-skin #meView .me-member__avatar-inner,
  body.ng-skin #meView .me-member__avatar-photo { width: 34px !important; height: 34px !important; }
  body.ng-skin #meView .me-member__avatar-frame { width: 52px !important; height: 52px !important; }
  body.ng-skin #meView .me-member__tools { justify-content: stretch !important; }
  body.ng-skin #meView .me-member__ghost { flex: 1 1 0 !important; }
  body.ng-skin #meView .me-member__wall-head {
    flex-direction: column !important; align-items: stretch !important; gap: 8px !important;
  }
  body.ng-skin #meView .me-member__pick { flex: 0 0 auto !important; width: 100% !important; }
  body.ng-skin .me-cos { grid-template-columns: 1fr !important; max-height: 60vh !important; }
}

/* ==========================================================================
   §24 目标站单列佩戴弹窗 / 全站统一关闭按钮 / 主页角标真图
   （2026-11-09 20:20，先生指定素材 DM_20261109194258_038.webp = 紫水晶 X；
     角标 hot/like/verified 分别取先生目录的火焰 / 大拇指 / 盾牌认证）
   ========================================================================== */

/* ---- 24.1 全站关闭按钮：圆形细紫边 + 紫水晶 X 位图 --------------------- */
html body.ng-skin .me-modal__close,
html body.ng-skin .ng-contact-modal__close,
html body.ng-skin .ng-hp__close,
html body.ng-skin #meAuthWall .ng-auth-close {
  width: 36px !important; height: 36px !important;
  min-width: 36px !important; min-height: 36px !important;
  padding: 0 !important; box-sizing: border-box !important;
  border: 1px solid #d9c6ee !important; border-radius: 50% !important;
  background-color: #fff !important;
  background-image: url("../../images/clone/ui/close-x.webp") !important;
  background-size: 30px 30px !important;
  background-position: 50% 50% !important; background-repeat: no-repeat !important;
  box-shadow: 0 1px 4px rgba(59, 42, 73, .08) !important;
  color: transparent !important; font-size: 0 !important; line-height: 0 !important;
  overflow: hidden !important; cursor: pointer !important;
}
html body.ng-skin .me-modal__close svg,
html body.ng-skin .ng-contact-modal__close svg,
html body.ng-skin .ng-hp__close svg,
html body.ng-skin #meAuthWall .ng-auth-close svg { display: none !important; }
html body.ng-skin .me-modal__close:hover,
html body.ng-skin .ng-contact-modal__close:hover,
html body.ng-skin .ng-hp__close:hover,
html body.ng-skin #meAuthWall .ng-auth-close:hover {
  background-color: #f9f4ff !important; transform: scale(1.06) !important;
}

/* ---- 24.2 佩戴弹窗：目标站 404px 白卡，一行只显示一个全宽横条 --------- */
body.ng-skin #meModal.is-picker .me-modal__panel {
  width: min(404px, calc(100vw - 32px)) !important;
  max-height: min(80vh, 720px) !important;
  display: flex !important; flex-direction: column !important;
  overflow: hidden !important;
  border: 1px solid #e1d4ea !important; border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 24px 64px rgba(59, 42, 73, .22) !important;
}
body.ng-skin #meModal.is-picker .me-modal__head {
  padding: 18px 20px 8px !important; border-bottom: 0 !important; background: #fff !important;
}
body.ng-skin #meModal.is-picker .me-modal__head h3 {
  color: #3b2a49 !important; font-size: 17px !important; font-weight: 800 !important;
}
body.ng-skin #meModal.is-picker .me-modal__body {
  padding: 0 20px 18px !important; overflow-y: auto !important;
}
body.ng-skin .me-cos__intro {
  margin: 0 0 12px !important; color: #725d81 !important;
  font-size: 12px !important; font-weight: 400 !important; line-height: 18px !important;
}
body.ng-skin .me-cos {
  display: grid !important; grid-template-columns: 1fr !important;
  gap: 8px !important; max-height: 46vh !important; overflow-y: auto !important;
  padding: 2px 4px 2px 2px !important;
}
body.ng-skin .me-cos__item {
  display: flex !important; align-items: center !important; gap: 12px !important;
  width: 100% !important; box-sizing: border-box !important;
  padding: 9px 12px !important; min-height: 54px !important;
  border: 1px solid #e9e1f0 !important; border-radius: 12px !important;
  background: #faf8fc !important; text-align: left !important; cursor: pointer !important;
}
body.ng-skin .me-cos__item.is-active {
  border-color: #a78bfa !important; background: #f7f1ff !important;
  box-shadow: 0 0 0 1px rgba(167, 139, 250, .28) !important;
}
body.ng-skin .me-cos__item img {
  width: 36px !important; height: 36px !important; flex: 0 0 36px !important;
  object-fit: contain !important;
}
body.ng-skin .me-cos__item span {
  display: grid !important; gap: 2px !important; flex: 1 1 auto !important; min-width: 0 !important;
}
body.ng-skin .me-cos__item strong {
  color: #3b2a49 !important; font-size: 13px !important; font-weight: 700 !important;
  white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important;
}
body.ng-skin .me-cos__item small { color: #8b7a99 !important; font-size: 11px !important; }
body.ng-skin .me-cos__item em { display: none !important; }
body.ng-skin .me-cos__radio {
  position: relative !important; display: block !important;
  flex: 0 0 18px !important; width: 18px !important; height: 18px !important;
  border: 1.5px solid #d3c3e3 !important; border-radius: 50% !important; background: #fff !important;
}
body.ng-skin .me-cos__item.is-active .me-cos__radio {
  border-color: #7c3aed !important; background: #7c3aed !important;
}
body.ng-skin .me-cos__item.is-active .me-cos__radio::after {
  content: "" !important; position: absolute !important; left: 5px !important; top: 2px !important;
  width: 5px !important; height: 9px !important;
  border: solid #fff !important; border-width: 0 2px 2px 0 !important;
  transform: rotate(45deg) !important;
}
body.ng-skin .me-cos__foot {
  display: flex !important; justify-content: flex-end !important; gap: 10px !important;
  margin-top: 14px !important; padding-top: 12px !important;
  border-top: 1px solid #eee6f3 !important;
}
body.ng-skin .me-cos__foot > button { flex: 1 1 0 !important; }
body.ng-skin .me-cos__cancel,
body.ng-skin .me-cos__confirm {
  height: 40px !important; box-sizing: border-box !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  border-radius: 999px !important; font-size: 13px !important; font-weight: 750 !important;
  cursor: pointer !important;
}
body.ng-skin .me-cos__cancel {
  padding: 0 24px !important; border: 0 !important;
  background-color: #6a4693 !important; background-image: var(--pg-gem) !important;
  background-size: 100% 100% !important; background-position: 50% 50% !important;
  color: #fff9ed !important; text-shadow: 0 1px 2px rgba(0, 0, 0, .55) !important;
}
body.ng-skin .me-cos__confirm {
  padding: 0 24px !important; border: 0 !important;
  background-color: #6a4693 !important; background-image: var(--pg-gem) !important;
  background-size: 100% 100% !important; background-position: 50% 50% !important;
  color: #fff9ed !important; text-shadow: 0 1px 2px rgba(0, 0, 0, .55) !important;
}
@media (max-width: 720px) {
  body.ng-skin #meModal.is-picker .me-modal__panel { width: calc(100vw - 24px) !important; }
  body.ng-skin .me-cos { max-height: 52vh !important; }
}

/* ---- 24.3 主页导航卡片角标：先生下载的火焰 / 大拇指 / 盾牌认证 -------- */
body.ng-skin #homeView #cardsSection .card > .card-rec-badge.badge-color-hot::before {
  background-image: url("../../images/clone/badges/hot.webp") !important;
}
body.ng-skin #homeView #cardsSection .card > .card-rec-badge.badge-color-premium::before {
  background-image: url("../../images/clone/badges/like.webp") !important;
}
body.ng-skin #homeView #cardsSection .card > .card-rec-badge.badge-color-verified::before {
  background-image: url("../../images/clone/badges/verified.webp") !important;
}

/* ==========================================================================
   §25 目标站弹窗皮肤（2026-11-09 20:40）
   实抓 A：编辑会员资料 dialog.ng-my-edit-dialog [460,143.5,520,612.9]
     r20 / #fffdfd / border #e1d4ea / shadow 0 28px 90px rgba(8,24,58,.3)
     title 19/25.65 700 #3b2a49；sub 12/18 #725d81；close 44×44 r50
     avatar editor 478×125.5 r15 bg #f1ecf4 / border #e1d4ea / pad 12 / gap 6 14
     label 13/20.8 800；hint 11/17.6 #725d81；input 46 r12 pad 9 12；textarea 88 r12
     footer flex-end gap 10；取消 70×44 r12 白；保存 128×44 r999 水晶
   实抓 B：修改密码 ng-auth-overlay → ng-auth-card [440,182.2,560,535.6]
     紫粉九宫格框 + 三个 510×44 密码框（内右 44 眼睛）+ 510×44 全宽水晶保存；
     目标站「修改密保（可选）」折叠区按先生要求不搬（本站不设密保）
   作用范围：is-sheet（其余全部弹窗）/ is-pw（改密）/ is-picker（佩戴，§24 独立）
   ========================================================================== */

/* ---- 25.1 通用白卡壳 ---------------------------------------------------- */
body.ng-skin #meModal.is-sheet .me-modal__panel,
body.ng-skin #meModal.is-pw .me-modal__panel {
  box-sizing: border-box !important;
  max-height: calc(100dvh - 40px) !important;
  overflow-y: auto !important;
  border: 1px solid #e1d4ea !important;
  background: #fffdfd !important;
  color: #3b2a49 !important;
}
body.ng-skin #meModal.is-sheet .me-modal__panel {
  width: min(520px, calc(100vw - 24px)) !important;
  padding: 20px !important;
  border-radius: 20px !important;
  box-shadow: 0 28px 90px rgba(8, 24, 58, .3) !important;
  animation: meModalIn .2s cubic-bezier(.2, .8, .2, 1) both;
}
body.ng-skin #meModal.is-sheet .me-modal__head,
body.ng-skin #meModal.is-pw .me-modal__head {
  display: flex !important; align-items: flex-start !important;
  justify-content: space-between !important; gap: 12px !important;
  padding: 0 0 14px !important; border-bottom: 0 !important;
  background: transparent !important;
}
body.ng-skin #meModal .me-modal__heading {
  display: grid !important; gap: 3px !important; padding-top: 1px !important; min-width: 0 !important;
}
body.ng-skin #meModal.is-sheet .me-modal__head h3,
body.ng-skin #meModal.is-pw .me-modal__head h3 {
  margin: 0 !important; color: #3b2a49 !important;
  font-size: 19px !important; font-weight: 700 !important; line-height: 25.65px !important;
}
body.ng-skin #meModal .me-modal__sub {
  margin: 0 !important; color: #725d81 !important;
  font-size: 12px !important; font-weight: 400 !important; line-height: 18px !important;
}
body.ng-skin #meModal .me-modal__sub[hidden] { display: none !important; }
body.ng-skin #meModal.is-sheet .me-modal__body,
body.ng-skin #meModal.is-pw .me-modal__body { padding: 0 !important; }
/* 目标站实测 44×44 圆形紫水晶 X（§24.1 全站 36 只留客服 / 公告弹窗） */
html body.ng-skin #meModal.is-sheet .me-modal__close,
html body.ng-skin #meModal.is-pw .me-modal__close,
html body.ng-skin #meModal.is-picker .me-modal__close {
  width: 44px !important; height: 44px !important;
  min-width: 44px !important; min-height: 44px !important;
  flex: 0 0 44px !important; background-size: 34px 34px !important;
}

/* ---- 25.2 表单控件（编辑资料 / 改密 / 其余弹窗统一） ------------------- */
body.ng-skin #meModal.is-sheet .me-form,
body.ng-skin #meModal.is-pw .me-form { display: grid !important; gap: 16px !important; }
body.ng-skin #meModal .me-sheet-field { display: grid !important; gap: 7px !important; }
body.ng-skin #meModal .me-sheet-label {
  color: #3b2a49 !important; font-size: 13px !important;
  font-weight: 800 !important; line-height: 20.8px !important;
}
body.ng-skin #meModal .me-sheet-hint {
  color: #725d81 !important; font-size: 11px !important;
  font-weight: 500 !important; line-height: 17.6px !important;
}
body.ng-skin #meModal .me-sheet-input {
  box-sizing: border-box !important; width: 100% !important;
  min-height: 46px !important; padding: 9px 12px !important;
  border: 1px solid #e1d4ea !important; border-radius: 12px !important;
  background: #fffdfd !important; color: #3b2a49 !important;
  font-size: 13px !important; font-weight: 800 !important; line-height: 20.8px !important;
  outline: none !important; transition: border-color .18s ease, box-shadow .18s ease !important;
}
body.ng-skin #meModal .me-sheet-input:focus {
  border-color: #a78bfa !important; box-shadow: 0 0 0 3px rgba(124, 58, 237, .14) !important;
}
body.ng-skin #meModal .me-sheet-input::placeholder { color: #a493b0 !important; font-weight: 400 !important; }
body.ng-skin #meModal .me-sheet-textarea { height: 88px !important; min-height: 88px !important; resize: vertical !important; }
body.ng-skin #meModal .me-sheet-avatar {
  display: grid !important; grid-template-columns: 84px minmax(0, 1fr) !important;
  gap: 14px !important; align-items: center !important;
  box-sizing: border-box !important; padding: 12px !important; min-height: 125.5px !important;
  border: 1px solid #e1d4ea !important; border-radius: 15px !important;
  background: #f1ecf4 !important;
}
body.ng-skin #meModal .me-sheet-avatar__preview {
  position: relative !important; display: grid !important; place-items: center !important;
  width: 82px !important; height: 82px !important;
}
body.ng-skin #meModal .me-sheet-avatar__preview .me-avatar {
  width: 54px !important; height: 54px !important; flex-basis: 54px !important;
  border-radius: 50% !important; font-size: 15px !important; z-index: 0 !important;
}
body.ng-skin #meModal .me-sheet-avatar__frame {
  position: absolute !important; inset: 0 !important; width: 82px !important; height: 82px !important;
  object-fit: contain !important; z-index: 4 !important; pointer-events: none !important;
}
body.ng-skin #meModal .me-sheet-avatar__side { display: grid !important; justify-items: start !important; gap: 6px !important; }
body.ng-skin #meModal .me-sheet-btn {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  box-sizing: border-box !important; min-width: 70px !important; height: 44px !important;
  padding: 10px 20px !important; gap: 8px !important;
  border: 1px solid #e1d4ea !important; border-radius: 12px !important;
  background: #fffdfd !important;
  box-shadow: inset 0 0 0 2px #fffdfd, inset 0 0 0 3px rgba(116, 80, 160, .18) !important;
  color: #3b2a49 !important; font-size: 14px !important; font-weight: 650 !important;
  line-height: 19.6px !important; cursor: pointer !important;
}
body.ng-skin #meModal .me-sheet-btn svg { width: 15px !important; height: 15px !important; }
body.ng-skin #meModal .me-sheet-cancel {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  width: auto !important; min-width: 128px !important; height: 44px !important;
  box-sizing: border-box !important; padding: 10px 28px !important;
  border: 0 !important; border-radius: 999px !important;
  background-color: #6a4693 !important; background-image: var(--pg-gem) !important;
  background-size: 100% 100% !important;
  color: #fff9ed !important; font-size: 14px !important; font-weight: 750 !important;
  line-height: 19.6px !important; text-shadow: 0 1px 2px rgba(0, 0, 0, .45) !important;
  box-shadow: none !important; cursor: pointer !important;
  transition: transform .14s ease !important;
}
body.ng-skin #meModal .me-sheet-cancel:hover { transform: translateY(-1px) !important; }
body.ng-skin #meModal .me-sheet-foot {
  display: flex !important; justify-content: flex-end !important;
  align-items: center !important; gap: 10px !important; margin-top: 2px !important;
}
body.ng-skin #meModal .me-sheet-foot > button { flex: 1 1 0 !important; }
body.ng-skin #meModal .me-sheet-primary {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  width: auto !important; min-width: 128px !important; height: 44px !important;
  box-sizing: border-box !important; padding: 10px 28px !important;
  border: 0 !important; border-radius: 999px !important;
  background-color: #6a4693 !important; background-image: var(--pg-gem) !important;
  background-size: 100% 100% !important;
  color: #fff9ed !important; font-size: 14px !important; font-weight: 750 !important;
  line-height: 19.6px !important; text-shadow: 0 1px 2px rgba(0, 0, 0, .45) !important;
  box-shadow: none !important; cursor: pointer !important;
  transition: transform .14s ease !important;
}
body.ng-skin #meModal .me-sheet-primary:hover { transform: translateY(-1px) !important; }
body.ng-skin #meModal .me-sheet-note { display: grid !important; gap: 16px !important; }
body.ng-skin #meModal .me-sheet-note p {
  margin: 0 !important; color: #725d81 !important;
  font-size: 13px !important; line-height: 22px !important;
}

/* ---- 25.3 其余弹窗内的旧表单：一并换成目标站白卡控件 ------------------- */
body.ng-skin #meModal.is-sheet .me-field { display: grid !important; gap: 7px !important; }
body.ng-skin #meModal.is-sheet .me-field > label {
  color: #3b2a49 !important; font-size: 13px !important; font-weight: 800 !important;
  letter-spacing: 0 !important; text-transform: none !important; padding-left: 0 !important;
}
body.ng-skin #meModal.is-sheet .me-input,
body.ng-skin #meModal.is-sheet .me-textarea {
  box-sizing: border-box !important; min-height: 46px !important; padding: 9px 12px !important;
  border: 1px solid #e1d4ea !important; border-radius: 12px !important;
  background: #fffdfd !important; color: #3b2a49 !important; font-size: 13px !important;
}
body.ng-skin #meModal.is-sheet .me-input:focus {
  border-color: #a78bfa !important; box-shadow: 0 0 0 3px rgba(124, 58, 237, .14) !important;
}
body.ng-skin #meModal.is-sheet .me-form-actions {
  display: flex !important; justify-content: flex-end !important; gap: 10px !important;
}
body.ng-skin #meModal.is-sheet .me-form-actions .me-btn,
body.ng-skin #meModal.is-sheet .me-form > .me-btn {
  width: auto !important; min-width: 128px !important; height: 44px !important;
  padding: 10px 28px !important; border: 0 !important; border-radius: 999px !important;
  background-color: #6a4693 !important; background-image: var(--pg-gem) !important;
  background-size: 100% 100% !important; color: #fff9ed !important;
  font-weight: 750 !important; box-shadow: none !important;
}
body.ng-skin #meModal.is-sheet .me-form > .me-btn { width: 100% !important; min-width: 0 !important; }
body.ng-skin #meModal.is-sheet .me-btn--ghost {
  min-width: 70px !important; padding: 10px 20px !important;
  border: 1px solid #e1d4ea !important; border-radius: 12px !important;
  background: #fffdfd !important; color: #3b2a49 !important; font-weight: 650 !important;
}
body.ng-skin #meModal.is-sheet .me-agreement { color: #725d81 !important; font-size: 13px !important; line-height: 22px !important; }
body.ng-skin #meModal.is-sheet .me-agreement p { margin: 0 0 10px !important; }
body.ng-skin #meModal.is-sheet .me-card {
  background: #faf6fd !important; border: 1px solid #e1d4ea !important;
  border-radius: 14px !important; color: #3b2a49 !important;
}
body.ng-skin #meModal.is-sheet .me-linkbtn { color: #7450a0 !important; }

/* ---- 25.4 修改密码：目标站紫粉九宫格会员中心卡（无密保折叠） ---------- */
body.ng-skin #meModal.is-pw .me-modal__panel {
  position: relative !important; isolation: isolate !important;
  width: min(560px, calc(100vw - 24px)) !important;
  padding: 26px 24px !important; border-radius: 16px !important;
  box-shadow: 0 20px 64px rgba(0, 0, 0, .25) !important;
}
body.ng-skin #meModal.is-pw .me-modal__panel::before {
  content: "" !important; position: absolute !important; z-index: -1 !important; inset: 0 !important;
  background:
    url("../../images/clone/arcade/member-tl.webp") left top / 150px auto no-repeat,
    url("../../images/clone/arcade/member-br.webp") right bottom / 135px auto no-repeat !important;
  opacity: .1 !important; border-radius: 16px !important; pointer-events: none !important;
}
/* 第三十六轮 · 先生要求「修改密码外层的水晶框架去掉」：
   不再套 modal-frame.webp 九宫格 border-image。弹窗内嵌到右侧 #ucPane 时
   panel 是 position:static，该伪元素会脱离定位在外层拉出一整圈水晶框。
   四角淡花纹 ::before 保留（第三十四轮先生要求花纹回归，不动）。 */
body.ng-skin #meModal.is-pw .me-modal__panel::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  border-image: none !important;
  opacity: 0 !important;
}
body.ng-skin #meModal.is-pw .me-pw-form { gap: 16px !important; }
body.ng-skin #meModal.is-pw .me-sheet-field { gap: 6px !important; }
body.ng-skin #meModal.is-pw .me-sheet-label {
  color: #725d81 !important; font-size: 12px !important;
  font-weight: 500 !important; line-height: 18px !important;
}
body.ng-skin #meModal.is-pw .me-pw-wrap { position: relative !important; display: block !important; }
body.ng-skin #meModal.is-pw .me-pw-wrap .me-sheet-input {
  height: 44px !important; min-height: 44px !important;
  padding: 9px 48px 9px 12px !important; font-weight: 400 !important;
}
body.ng-skin #meModal.is-pw .me-pw-eye {
  position: absolute !important; right: 0 !important; top: 0 !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  width: 44px !important; height: 44px !important; padding: 0 !important;
  border: 0 !important; background: transparent !important;
  color: #7450a0 !important; cursor: pointer !important;
}
body.ng-skin #meModal.is-pw .me-pw-eye svg {
  width: 20px !important; height: 20px !important;
  fill: none !important; stroke: currentColor !important; stroke-width: 1.8 !important;
}
body.ng-skin #meModal.is-pw .me-pw-submit {
  width: 100% !important; min-width: 0 !important; height: 44px !important;
  font-size: 16px !important; font-weight: 750 !important;
}

/* 目标站编辑弹窗在签名与 footer 之间有 20px 状态占位行，gap 20px：
   补上后 panel 高度 ≈ 612.9，与实抓一致 */
body.ng-skin #meModal.is-sheet .me-sheet-form--profile { gap: 20px !important; }
body.ng-skin #meModal .me-sheet-status {
  margin: 0 !important; min-height: 20px !important;
  color: #7450a0 !important; font-size: 12px !important; line-height: 20px !important;
}

/* ---- 25.5 移动端 ------------------------------------------------------- */
@media (max-width: 720px) {
  body.ng-skin #meModal.is-sheet .me-modal__panel,
  body.ng-skin #meModal.is-pw .me-modal__panel {
    width: calc(100vw - 24px) !important; padding: 18px !important;
  }
  body.ng-skin #meModal .me-sheet-avatar { grid-template-columns: 84px minmax(0, 1fr) !important; gap: 10px !important; }
  body.ng-skin #meModal .me-sheet-primary { min-width: 112px !important; padding: 10px 20px !important; }
}
