/* ==========================================================================
   ng-redesign.css —— 精简版外壳（4 项导航：开奖 / 主页 / 活动 / 客服）
   目标：去掉试玩与用户系统后的信息密度，参考 525.ad 的稀疏单页节奏。
   只作用于 body.ng-skin，不碰开奖中心内部组件。
   ========================================================================== *//* ---------- 0. 壳层节奏 ---------- */
body.ng-skin {
  --ng-gap: 12px;
  --ng-radius: 16px;
}/* ng-ui.css 里给旧浮层留的 78px 顶部偏移，新版整页视图不需要 */
body.ng-skin #noticeView.service-view{ top: auto !important; }
body.ng-skin .ng-main { padding: 0; }
body.ng-skin .section { padding: 0 var(--ng-gap); margin: 0 auto; }/* 页面通用左右留白（首页卡片区 / 活动 / 客服） */
body.ng-skin #activityView,
body.ng-skin #serviceView,
body.ng-skin #noticeView{
  padding: 4px var(--ng-gap) 8px;
  box-sizing: border-box;
}/* ---------- 1. 顶栏：客服胶囊 ---------- */
body.ng-skin .ng-head-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px 0 6px;
  border: 1px solid rgba(113, 73, 172, .32);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(238, 231, 248, .92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 7px 18px rgba(54, 39, 67, .09);
  color: var(--ng-ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease;
}
body.ng-skin .ng-head-cta:active { transform: scale(.96); }
body.ng-skin .ng-head-cta__icon { display: grid; place-items: center; width: 32px; height: 32px; }
body.ng-skin .ng-head-cta__icon img {
  width: 30px; height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(113, 73, 172, .32));
}
body.ng-skin .ng-head-cta__label { line-height: 1; }/* ---------- 2. 轮播：通栏满宽（修「展示不全」） ---------- */
body.ng-skin .carousel {
  width: 100%;
  max-width: none;
  margin: 0 0 10px;
  padding: 0;
}
body.ng-skin .carousel-wrap {
  width: 100%;
  aspect-ratio: var(--ng-banner-ratio, 389 / 175) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #e9e1f4;
  overflow: hidden;
}
body.ng-skin .carousel-wrap .slides { height: 100%; }
body.ng-skin .carousel-wrap .slide { height: 100%; }
body.ng-skin .carousel-wrap .slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.ng-skin .carousel-wrap .dots { bottom: 10px; gap: 6px; }
body.ng-skin .carousel-wrap .dot {
  width: 6px; height: 6px; border: 0;
  background: rgba(255, 255, 255, .58) !important;
  box-shadow: 0 0 0 1px rgba(20, 12, 32, .22) !important;
}
body.ng-skin .carousel-wrap .dot.active { width: 18px; background: #fff !important; }/* ---------- 3. 公告条 ---------- */
body.ng-skin .notice-section { margin: 0 0 14px; padding: 0 var(--ng-gap); }
body.ng-skin .marquee-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px !important;
  border: 1px solid var(--ng-line) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, .72) !important;
  box-shadow: none !important;
  overflow: hidden;
}/* 旧的装饰圆点/渐变条与新的「公告」标签重复，关掉 */
body.ng-skin .marquee-wrap::before,
body.ng-skin .marquee-wrap::after { display: none !important; }
body.ng-skin .marquee-tag {
  flex: 0 0 auto;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(113, 73, 172, .12);
  color: var(--ng-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
}
body.ng-skin .marquee-wrap .marquee { flex: 1 1 auto; min-width: 0; }
body.ng-skin .marquee-text { font-size: 12.5px; color: var(--ng-ink); }
body.ng-skin .marquee-wrap:not(.is-static) .marquee-track {
  display: inline-flex !important;
  width: max-content !important;
  animation: ngNoticeMarquee 14s linear infinite !important;
  will-change: transform;
}
body.ng-skin .marquee-wrap:not(.is-static) .marquee-text { padding-right: 72px; white-space: nowrap; }@keyframes ngNoticeMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}@media (prefers-reduced-motion: reduce) {
  body.ng-skin .marquee-wrap:not(.is-static) .marquee-track { animation: none !important; }}/* 手机端恢复目标站的 3 列竖卡，不把 PC 横卡缩坏 */@media (max-width: 600px) {
  body.ng-skin #homeView .ng-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
  }
  body.ng-skin #homeView .ng-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "logo" "body" "cta";
    justify-items: center;
    align-content: end;
    gap: 5px;
    min-width: 0;
    min-height: 122px;
    height: 122px;
    padding: 8px 5px 6px;
    border-radius: 12px;
  }
  body.ng-skin #homeView .ng-card__logo {
    grid-area: logo;
    width: 44px;
    height: 44px;
    border-width: 2px;
    box-shadow: 0 0 0 3px rgba(65,121,241,.055), 0 5px 12px rgba(30,77,163,.12);
  }
  body.ng-skin #homeView .ng-card__body {
    grid-area: body;
    width: 100%;
    align-items: center;
    text-align: center;
  }
  body.ng-skin #homeView .ng-card__title {
    width: 100%;
    font-size: clamp(12px, 2.9vw, 13px) !important;
    text-align: center;
  }
  body.ng-skin #homeView .ng-card__desc { display: none; }
  body.ng-skin #homeView .ng-card__cta {
    grid-area: cta;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 32px;
    margin: 0;
    padding: 3px !important;
    border-radius: 8px;
    font-size: 10px;
  }
  body.ng-skin #homeView .ng-card__tag {
    top: 4px;
    right: 4px;
    min-height: 18px;
    padding: 1px 3px;
    font-size: 9px;
  }
  body.ng-skin #homeView .ng-section-head { padding-top: 14px; }
  body.ng-skin #homeView .ng-section-head h2 { font-size: 20px; }}@media (min-width: 601px) and (max-width: 899px) {
  body.ng-skin #homeView .ng-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  body.ng-skin #homeView .ng-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 88px;
    grid-template-areas: "logo body cta";
    gap: 10px;
    min-height: 96px;
    height: 96px;
    padding: 14px;
    border-radius: 14px;
  }
  body.ng-skin #homeView .ng-card__logo { grid-area: logo; width: 52px; height: 52px; }
  body.ng-skin #homeView .ng-card__body { grid-area: body; align-items: flex-start; }
  body.ng-skin #homeView .ng-card__title { font-size: 15px !important; text-align: left; }
  body.ng-skin #homeView .ng-card__desc { display: -webkit-box; font-size: 12px; text-align: left; }
  body.ng-skin #homeView .ng-card__cta { grid-area: cta; width: 88px !important; min-height: 34px; margin: 0; font-size: 12px; }}/* ---------- 顶部客服弹窗 ---------- */
body.ng-contact-modal-open { overflow: hidden; }
body.ng-skin .ng-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
}
body.ng-skin .ng-contact-modal.is-open { display: flex; }
body.ng-skin .ng-contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 32, .42);
  backdrop-filter: blur(7px);
  animation: ngContactBackdropIn .2s ease-out both;
}
body.ng-skin .ng-contact-modal__panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(720px, calc(100dvh - 40px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .88) !important;
  border-radius: 22px;
  background: rgba(255, 255, 255, .78) !important;
  color: #17131d !important;
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow: 0 26px 70px rgba(35, 25, 54, .22), inset 0 1px rgba(255,255,255,.96);
  animation: ngContactPanelIn .24s cubic-bezier(.2,.8,.2,1) both;
}
body.ng-skin .ng-contact-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px 14px;
  border: 0 !important;
  border-bottom: 1px solid rgba(160, 145, 180, .24) !important;
  background: rgba(255, 255, 255, .42) !important;
  color: #17131d !important;
}
body.ng-skin .ng-contact-modal__head .ng-contact-modal__eyebrow {
  color: var(--ng-primary);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}
body.ng-skin .ng-contact-modal__head h2 { margin: 4px 0 2px; color: #17131d !important; font-size: 23px; }
body.ng-skin .ng-contact-modal__head p { margin: 0; color: #5f5b66 !important; font-size: 12px; }
body.ng-skin .ng-contact-modal__close {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(160, 145, 180, .28);
  border-radius: 12px;
  color: #17131d !important;
  background: rgba(255, 255, 255, .6);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
body.ng-skin .ng-contact-modal__close:hover { transform: rotate(8deg); box-shadow: 0 6px 16px rgba(78,45,108,.14); }
body.ng-skin .ng-contact-modal__body { padding: 0 18px 20px; }
body.ng-skin .ng-contact-modal__body .svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  margin: 16px 0 0;
  max-width: none;
}
body.ng-skin .ng-contact-modal__body .svc-card {
  padding: 14px;
  width: 100%;
  min-width: 0;
  min-height: 188px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(160, 145, 180, .28) !important;
  border-radius: 16px;
  background: rgba(255, 255, 255, .68) !important;
  box-shadow: 0 10px 26px rgba(55, 37, 75, .08), inset 0 1px rgba(255,255,255,.76);
  color: #17131d !important;
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  animation: ngContactCardIn .28s ease-out both;
}
body.ng-skin .ng-contact-modal__body .svc-card:nth-child(2) { animation-delay: 60ms; }
body.ng-skin .ng-contact-modal__body .svc-card * { color: #17131d; }
body.ng-skin .ng-contact-modal__body .svc-logo,
body.ng-skin .ng-contact-modal__body .svc-logo * { color: #fff !important; }
body.ng-skin .ng-contact-modal__body .svc-meta-top strong { color: #17131d !important; }
body.ng-skin .ng-contact-modal__body .svc-meta em { color: #6a6470 !important; }
body.ng-skin .ng-contact-modal__body .svc-online { color: #16865b !important; }
body.ng-skin .ng-contact-modal__body .svc-btn--primary { background: linear-gradient(135deg, #8257c4, var(--ng-primary)); color: #fff; border: 0; }
body.ng-skin .ng-contact-modal__body .svc-btn--copy,
body.ng-skin .ng-contact-modal__body .svc-copy-sm { background: rgba(113,73,172,.1); color: #6941a5 !important; border-color: rgba(113,73,172,.22); }
body.ng-skin .ng-contact-modal__body .svc-tip {
  max-width: none;
  margin: 12px 0 0;
  padding: 12px 14px;
  border: 1px dashed rgba(113,73,172,.35);
  border-radius: 14px;
  background: rgba(255,255,255,.6);
  color: #5f5b66 !important;
}
body.ng-skin .ng-contact-modal__body .svc-tip strong { color: #17131d !important; }
body.ng-skin .ng-contact-modal__body .svc-tip p { color: #5f5b66 !important; }/* ---------- 目标站同款客服面板 ---------- */
body.ng-skin .ng-contact-modal {
  align-items: flex-start;
  justify-content: flex-end;
  padding: 24px;
  pointer-events: none;
}
body.ng-skin .ng-contact-modal__backdrop {
  display: block;
  background: transparent;
  backdrop-filter: none;
  animation: none;
  pointer-events: auto;
}
body.ng-skin .ng-contact-modal__panel {
  position: relative;
  pointer-events: auto;
  width: min(390px, calc(100vw - 24px));
  max-height: min(620px, calc(100dvh - 32px));
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, transparent 44px, rgba(113, 73, 172, .14) 45px, transparent 46px),
    radial-gradient(at 100% 0, rgba(113, 73, 172, .11), transparent 52%),
    linear-gradient(130deg, rgba(255, 255, 255, .1), transparent 42%, rgba(162, 99, 52, .06)),
    #fff !important;
}
body.ng-skin .ng-contact-modal__head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 11px;
  min-height: 82px;
  padding: 16px;
  border: 0 !important;
  background: linear-gradient(110deg, rgba(242, 239, 247, .98), rgba(252, 250, 249, .94)) !important;
}
body.ng-skin .ng-contact-modal__head .ng-support-panel__avatar {
  display: block;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 15px;
  background: linear-gradient(145deg, #eee7f5, #fffaf7);
  box-shadow: 0 6px 14px rgba(113, 73, 172, .12);
}
body.ng-skin .ng-contact-modal__head .ng-support-panel__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.ng-skin .ng-contact-modal__head .ng-support-panel__heading { display: grid; min-width: 0; gap: 2px; }
body.ng-skin .ng-contact-modal__head .ng-support-panel__heading strong {
  display: block;
  overflow: hidden;
  color: #362743 !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}
body.ng-skin .ng-contact-modal__head .ng-support-panel__heading small { color: #6c587b !important; font-size: 12px; line-height: 1.4; }
body.ng-skin .ng-contact-modal__close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e7e3ea;
  background: #f8f7f9;
  color: #5a4e65 !important;
  font-size: 20px;
}
body.ng-skin .ng-contact-modal__body {
  min-height: 0;
  padding: 0;
  overflow: auto;
}
body.ng-skin .ng-contact-modal__body .ng-support-directory { padding: 16px; }
body.ng-skin .ng-contact-modal__body .ng-support-directory__intro {
  margin: 0 0 12px;
  color: #6c587b !important;
  font-size: 12px;
  line-height: 1.6;
}
body.ng-skin .ng-contact-modal__body .ng-support-channels { display: grid; gap: 10px; }
body.ng-skin .ng-contact-modal__body .ng-support-channel {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 86px;
  padding: 12px;
  box-sizing: border-box;
  border: 1px solid #e4d8ed;
  border-radius: 17px;
  background: #fff;
  color: #362743 !important;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
body.ng-skin .ng-contact-modal__body .ng-support-channel:hover {
  transform: translateY(-1px);
  border-color: rgba(113, 73, 172, .38);
  box-shadow: 0 8px 20px rgba(113, 73, 172, .1);
}
body.ng-skin .ng-contact-modal__body .ng-support-channel__art {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border-radius: 13px;
}
body.ng-skin .ng-contact-modal__body .ng-support-channel__art .svc-logo {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}
body.ng-skin .ng-contact-modal__body .ng-support-channel__text { display: grid; flex: 1 1 auto; min-width: 0; gap: 1px; }
body.ng-skin .ng-contact-modal__body .ng-support-channel__text strong {
  display: block;
  overflow: hidden;
  color: #362743 !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}
body.ng-skin .ng-contact-modal__body .ng-support-channel__contact,
body.ng-skin .ng-contact-modal__body .ng-support-channel__description {
  display: block;
  overflow: hidden;
  color: #6c587b !important;
  font-size: 11px;
  line-height: 1.45;
  white-space: nowrap;
  text-overflow: ellipsis;
}
body.ng-skin .ng-contact-modal__body .ng-support-channel__action {
  flex: 0 0 auto;
  color: #7149ac !important;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.6;
}
body.ng-skin .ng-contact-modal__body button.ng-support-channel__action {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
body.ng-skin .ng-contact-modal__body .ng-support-channel__presence {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 5px;
  vertical-align: middle;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px rgba(52, 211, 153, .7);
}
body.ng-skin .ng-contact-modal__body .ng-support-directory__note {
  margin: 16px 2px 0;
  color: #6c587b !important;
  font-size: 10px;
  line-height: 1.6;
}@media (max-width: 600px) {
  body.ng-skin .ng-contact-modal { align-items: flex-end; justify-content: center; padding: 0; }
  body.ng-skin .ng-contact-modal__panel {
    width: 100%;
    max-height: min(620px, calc(100dvh - 18px));
    border-radius: 24px 24px 0 0;
  }}@keyframes ngContactBackdropIn { from { opacity: 0; } to { opacity: 1; } }@keyframes ngContactPanelIn { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }@keyframes ngContactCardIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }@media (max-width: 600px) {
  body.ng-skin .ng-contact-modal { align-items: flex-end; padding: 0; }
  body.ng-skin .ng-contact-modal__panel { max-height: min(680px, calc(100dvh - 18px)); border-radius: 22px 22px 0 0; }
  body.ng-skin .ng-contact-modal__head { padding: 18px 16px 13px; }
  body.ng-skin .ng-contact-modal__body { padding: 0 12px calc(16px + env(safe-area-inset-bottom)); }
  body.ng-skin .ng-contact-modal__body .svc-grid { grid-template-columns: 1fr; }
  body.ng-skin .ng-contact-modal__body .svc-card { min-height: 0; }}@media (prefers-reduced-motion: reduce) {
  body.ng-skin .ng-contact-modal__backdrop,
  body.ng-skin .ng-contact-modal__panel,
  body.ng-skin .ng-contact-modal__body .svc-card { animation: none; }}/* ---------- 4. 区块标题 ---------- */
body.ng-skin .ng-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
}
body.ng-skin .ng-section-head h2 {
  margin: 0;
  color: var(--ng-ink);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .01em;
}
body.ng-skin .ng-section-head__meta { color: var(--ng-muted); font-size: 12px; }/* ---------- 5. 平台入口：2 列紧凑横排 ---------- */
body.ng-skin .ng-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}
body.ng-skin .ng-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 0;
  padding: 10px 10px;
  border: 1px solid var(--ng-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 2px 8px rgba(20, 35, 60, .05);
  overflow: visible;
}
body.ng-skin .ng-card:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(78, 45, 108, .12); }
body.ng-skin .ng-card__logo {
  flex: 0 0 38px;
  width: 38px; height: 38px;
  border: 1px solid rgba(125, 163, 238, .35);
  border-radius: 12px;
  background: linear-gradient(145deg, #fff, #f1f5ff);
  box-shadow: none;
  object-fit: cover;
}
body.ng-skin .ng-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}
body.ng-skin .ng-card__title {
  width: 100%;
  color: var(--ng-ink);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.3;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.ng-skin .ng-card__desc {
  display: block;
  margin: 0;
  color: var(--ng-muted);
  font-size: 11px;
  line-height: 1.3;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.ng-skin .ng-card__tag {
  flex: 0 0 auto;
  align-self: flex-start;
  padding: 1px 6px;
  border-radius: 6px;
  border: 1px solid rgba(193, 173, 218, .8);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.5;
  background: var(--ng-primary);
}
body.ng-skin .ng-card__tag.badge-color-hot { background: linear-gradient(135deg, #ff6b6b, #e0393e); border-color: transparent; }
body.ng-skin .ng-card__tag.badge-color-premium { background: linear-gradient(135deg, #f6b73c, #d98a12); border-color: transparent; }
body.ng-skin .ng-card__tag.badge-color-verified { background: linear-gradient(135deg, #6b8cff, #3f5fd6); border-color: transparent; }/* ---------- 6. 活动中心 ---------- */
body.ng-skin #activityView .ng-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin: 6px 0 14px; }
body.ng-skin #activityView .ng-page-head h2 { font-size: 22px; }/* ---------- 7. 客服页 ---------- */
body.ng-skin #serviceView .ng-page-head { margin: 6px 0 14px; }
body.ng-skin #serviceView .ng-page-head h2 { font-size: 22px; }
body.ng-skin #serviceView .svc-grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0; }
body.ng-skin #serviceView .svc-card {
  padding: 14px;
  border: 1px solid var(--ng-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 2px 8px rgba(20, 35, 60, .05);
  color: var(--ng-ink);
}
body.ng-skin #serviceView .svc-tip {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--ng-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .6);
  color: var(--ng-muted);
}
body.ng-skin #serviceView .svc-tip strong { color: var(--ng-ink) !important; }
body.ng-skin #serviceView .svc-tip p { color: var(--ng-muted) !important; }
body.ng-skin #serviceView .svc-tip svg { color: var(--ng-primary); flex: 0 0 auto; }/* 旺旺图标：浅底 + 白字看不清，给个品牌橙底 */
body.ng-skin #serviceView .svc-logo--ww {
  background: linear-gradient(135deg, #ff9a3c, #f2701a) !important;
  box-shadow: 0 6px 14px rgba(242, 112, 26, .28) !important;
  color: #fff !important;
}
body.ng-skin #serviceView .svc-logo--ww span { color: #fff !important; }/* 复制按钮：浅色版 */
body.ng-skin #serviceView .svc-copy-sm {
  color: var(--ng-primary) !important;
  background: rgba(113, 73, 172, .10) !important;
  border: 1px solid rgba(113, 73, 172, .24) !important;
  border-radius: 13px;
  font-weight: 700;
}
body.ng-skin #serviceView .svc-btn--copy {
  color: var(--ng-primary) !important;
  background: rgba(113, 73, 172, .14) !important;
  border: 1px solid rgba(113, 73, 172, .32) !important;
  font-weight: 700;
}/* 客服页 / 活动页的跳转条 */
body.ng-skin .ng-cs-links { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }
body.ng-skin .ng-cs-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--ng-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 2px 8px rgba(20, 35, 60, .05);
  text-decoration: none;
  color: var(--ng-ink);
}
body.ng-skin .ng-cs-link--solo { margin-top: 14px; }
body.ng-skin .ng-cs-link__ico { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; }
body.ng-skin .ng-cs-link__ico img { width: 32px; height: 32px; object-fit: contain; }
body.ng-skin .ng-cs-link__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
body.ng-skin .ng-cs-link__txt strong { font-size: 14px; font-weight: 800; }
body.ng-skin .ng-cs-link__txt em { font-style: normal; color: var(--ng-muted); font-size: 11.5px; }
body.ng-skin .ng-cs-link__arrow { flex: 0 0 auto; color: var(--ng-muted-2); }/* ---------- 8. 底栏：4 列 ---------- */
body.ng-skin .ng-bottom-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }/* ---------- 8.1 系统公告页 ---------- */
body.ng-skin #noticeView .ng-page-head { margin: 6px 0 14px; }
body.ng-skin #noticeView .ng-page-head h2 { font-size: 22px; }
body.ng-skin #noticeView .nc-tabs { display: none !important; }
body.ng-skin #noticeView .nc-list { display: grid; grid-template-columns: 1fr; gap: 10px; }
body.ng-skin #noticeView .nc-card {
  display: flex;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--ng-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 2px 8px rgba(20, 35, 60, .05);
}
body.ng-skin #noticeView .nc-ico { width: 40px; height: 40px; flex: 0 0 40px; }
body.ng-skin #noticeView .nc-ico img { width: 40px; height: 40px; object-fit: contain; filter: none; }
body.ng-skin #noticeView .nc-body { flex: 1 1 auto; min-width: 0; }
body.ng-skin #noticeView .nc-title { display: flex; align-items: center; gap: 8px; }
body.ng-skin #noticeView .nc-title strong { color: var(--ng-primary); font-size: 12px; font-weight: 800; }
body.ng-skin #noticeView .nc-badge {
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(113, 73, 172, .12);
  color: var(--ng-primary);
  font-size: 10px;
  font-weight: 800;
}
body.ng-skin #noticeView .nc-body h3 { margin: 6px 0 4px; color: var(--ng-ink); font-size: 15px; font-weight: 800; }
body.ng-skin #noticeView .nc-body p { margin: 0; color: var(--ng-muted); font-size: 13px; line-height: 1.6; }/* ---------- 8.2 活动详情页 ---------- *//* ---------- 8.1 首页平台入口：匹配目标站 3 列竖向卡片 ---------- */
body.ng-skin #homeView .ng-platform-logo-carousel {
  margin: 8px 0 2px;
  padding: 0 8px;
}
body.ng-skin #homeView .ng-platform-logo-shell {
  height: 76px;
  padding: 8px 4px;
  border-radius: 16px;
}
body.ng-skin #homeView .ng-platform-logo-link { width: 48px; height: 48px; }
body.ng-skin #homeView .ng-platform-logo-sequence { gap: 14px; padding-right: 14px; }
body.ng-skin #homeView .cards-scroll { padding: 0 12px 24px !important; }
body.ng-skin #homeView #cardsSection { padding: 0; }
body.ng-skin #homeView .ng-section-head {
  margin: 0 0 12px !important;
  padding-top: 14px;
}
body.ng-skin #homeView .ng-section-head h2 { font-size: 22px; }
body.ng-skin #homeView #cardsScroll .ng-section-head h2 {
  margin: 0 !important;
  text-align: left !important;
  font-size: 22px !important;
}
body.ng-skin #homeView .ng-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}
body.ng-skin #homeView .ng-card {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: start;
  gap: 4px;
  min-height: 158px;
  padding: 18px 8px 10px;
  border-radius: 16px;
  overflow: hidden;
}
body.ng-skin #homeView .ng-card__logo {
  width: 60px; height: 60px;
  flex: none;
  border-radius: 50%;
}
body.ng-skin #homeView .ng-card__body {
  align-items: center;
  width: 100%;
  gap: 1px;
}
body.ng-skin #homeView .ng-card__title { font-size: 12.5px !important; text-align: center; }
body.ng-skin #homeView .ng-card__desc {
  display: block;
  max-width: 100%;
  font-size: 10px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.ng-skin #homeView .ng-card__tag {
  position: absolute;
  top: 6px; right: 6px;
  padding: 1px 5px;
  font-size: 9px;
}
body.ng-skin #homeView .ng-card__cta {
  display: flex;
  width: 92%; min-height: 29px;
  margin-top: 4px;
  padding: 3px 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #8257c4, var(--ng-primary));
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.3;
  justify-content: center;
}/* 轮播紧接公告，避免旧版轮播容器残留 margin 形成空白 */
body.ng-skin #homeView .carousel { margin: 0 0 6px; }
body.ng-skin #homeView .notice-section { margin: 0 0 8px; }
body.ng-skin #homeView .marquee-wrap { min-height: 44px; }@media (max-width: 380px) {
  body.ng-skin #homeView .ng-card-grid { gap: 8px; }
  body.ng-skin #homeView .ng-card { min-height: 150px; padding: 16px 5px 8px; }
  body.ng-skin #homeView .ng-card__logo { width: 52px; height: 52px; }
  body.ng-skin #homeView .ng-card__title { font-size: 11.5px !important; }
  body.ng-skin #homeView .ng-card__desc { font-size: 9px; }}/* ---------- 9. 宽屏回落 ---------- */@media (min-width: 760px) {
  body.ng-skin .carousel { padding: 0 var(--ng-gap); }
  body.ng-skin .carousel-wrap { border-radius: 18px !important; }
  body.ng-skin .ng-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.ng-skin #activityView,
  body.ng-skin #serviceView { max-width: 880px; margin: 0 auto; }}/* PC 版严格独立于移动端：目标站 1280px 视口为 3 列、372×112 卡片 */@media (min-width: 900px) {
  body.ng-skin #homeView .ng-page-content {
    width: min(1160px, calc(100% - 40px));
  }
  body.ng-skin #homeView #cardsSection { padding: 0; }
  body.ng-skin #homeView .ng-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
  }
  body.ng-skin #homeView .ng-card {
    display: flex;
    align-items: center;
    justify-items: initial;
    gap: 14px;
    width: auto;
    min-width: 0;
    min-height: 112px;
    height: 112px;
    padding: 12px 12px 12px 16px;
    border-radius: 16px;
    overflow: visible;
  }
  body.ng-skin #homeView .ng-card__logo {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
  }
  body.ng-skin #homeView .ng-card__body {
    align-items: flex-start;
    justify-content: center;
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
    gap: 4px;
  }
  body.ng-skin #homeView .ng-card__title {
    font-size: 16px !important;
    line-height: 1.25;
    text-align: left;
  }
  body.ng-skin #homeView .ng-card__desc {
    font-size: 12px;
    line-height: 1.35;
    text-align: left;
  }
  body.ng-skin #homeView .ng-card__tag {
    top: 7px;
    right: 7px;
    font-size: 10px;
  }
  body.ng-skin #homeView .ng-card__cta {
    flex: 0 0 90px;
    width: 90px;
    min-height: 36px;
    margin: 0;
    padding: 0 10px;
    font-size: 13px;
  }
  body.ng-skin #homeView .ng-section-head { padding-top: 18px; margin-bottom: 12px !important; }
  body.ng-skin #homeView .ng-section-head h2 { font-size: 24px; }}/* ---------- 10. 首页层级与页脚（本地重构） ---------- */
body.ng-skin .ng-main {
  min-height: calc(100dvh - 160px);
  padding-bottom: 108px;
}
body.ng-skin #homeView .ng-page-content {
  width: min(1180px, 100%);
  margin-inline: auto;
}
body.ng-skin #homeView .ng-card {
  position: relative;
  isolation: isolate;
  transition: transform .22s cubic-bezier(.22,1,.36,1), box-shadow .22s ease, border-color .22s ease;
}
body.ng-skin #homeView .ng-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.42), transparent 48%);
  opacity: 0;
  transition: opacity .22s ease;
}
body.ng-skin #homeView .ng-card:hover,
body.ng-skin #homeView .ng-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(113,73,172,.35);
  box-shadow: 0 14px 28px rgba(78,45,108,.16);
}
body.ng-skin #homeView .ng-card:hover::after,
body.ng-skin #homeView .ng-card:focus-visible::after { opacity: 1; }
body.ng-skin #homeView .ng-card__logo {
  transition: transform .28s cubic-bezier(.22,1,.36,1), filter .28s ease;
}
body.ng-skin #homeView .ng-card:hover .ng-card__logo,
body.ng-skin #homeView .ng-card:focus-visible .ng-card__logo {
  transform: scale(1.12);
  filter: saturate(1.08) drop-shadow(0 7px 10px rgba(113,73,172,.22));
}@media (prefers-reduced-motion: reduce) {
  body.ng-skin #homeView .ng-card,
  body.ng-skin #homeView .ng-card__logo { transition: none; }}/* ---------- 11. 卡片区最终对齐：按目标站 page-shell 卡片规则 ---------- */@keyframes ngPlatformCardIn {
  from { opacity: 0; transform: translateY(12px) scale(.985); }
  to { opacity: 1; transform: none; }
}@keyframes ngPlatformEdge {
  0%, 100% { opacity: 0; }
  35%, 70% { opacity: .82; }
}@keyframes ngBannerArtworkDrift {
  from { transform: scale(1); }
  to { transform: scale(1.012); }
}

body.ng-skin #homeView .ng-card-grid { align-items: stretch; }
body.ng-skin #homeView .ng-card {
  overflow: hidden;
  border-color: rgba(201, 213, 231, .78);
  background:
    radial-gradient(circle at 100% 0, rgba(47,107,255,.075), transparent 39%),
    radial-gradient(circle at 0 100%, rgba(45,193,181,.035), transparent 34%),
    linear-gradient(145deg, #fff, #f9fbff);
  box-shadow: 0 11px 28px rgba(35,67,122,.075), inset 0 1px rgba(255,255,255,.95);
  animation: ngPlatformCardIn .42s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: var(--stagger, 0ms);
  will-change: transform, opacity;
}
body.ng-skin #homeView .ng-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(47,107,255,.75), rgba(49,210,194,.55), transparent 75%);
  opacity: 0;
  pointer-events: none;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
body.ng-skin #homeView .ng-card:hover,
body.ng-skin #homeView .ng-card:focus-visible {
  transform: translateY(-4px) !important;
  border-color: rgba(99,142,238,.56);
  box-shadow: 0 17px 38px rgba(47,107,255,.14), inset 0 1px rgba(255,255,255,.98);
}
body.ng-skin #homeView .ng-card:hover::before,
body.ng-skin #homeView .ng-card:focus-visible::before {
  animation: ngPlatformEdge 1.1s ease both;
}
body.ng-skin #homeView .ng-card__logo {
  border: 2px solid rgba(125,163,238,.48);
  background: linear-gradient(145deg, #fff, #edf4ff);
  box-shadow: 0 0 0 5px rgba(65,121,241,.055), 0 8px 18px rgba(30,77,163,.14), inset 0 1px rgba(255,255,255,.95);
  filter: saturate(1.04) contrast(1.02);
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s, filter .28s;
}
body.ng-skin #homeView .ng-card:hover .ng-card__logo,
body.ng-skin #homeView .ng-card:focus-visible .ng-card__logo {
  transform: translateY(-2px) scale(1.045) rotate(1deg);
  box-shadow: 0 0 0 6px rgba(65,121,241,.09), 0 10px 24px rgba(30,77,163,.21), 0 0 20px rgba(65,121,241,.12);
  filter: saturate(1.12) contrast(1.025);
}
body.ng-skin #homeView .ng-card__cta {
  border: 1px solid rgba(255,255,255,.48);
  box-shadow: 0 8px 18px rgba(47,107,255,.18), inset 0 1px rgba(255,255,255,.18);
  transition: filter .17s ease, box-shadow .21s ease, transform .21s ease;
}
body.ng-skin #homeView .ng-card:hover .ng-card__cta,
body.ng-skin #homeView .ng-card:focus-visible .ng-card__cta {
  filter: brightness(1.06);
  box-shadow: 0 10px 22px rgba(47,107,255,.26), inset 0 1px rgba(255,255,255,.28);
}
body.ng-skin #homeView .carousel-wrap .slide img {
  transform-origin: center;
  animation: ngBannerArtworkDrift 12s ease-in-out infinite alternate;
  will-change: transform;
}@media (min-width: 900px) {
  body.ng-skin #homeView #cardsScroll { padding-inline: 0 !important; }
  body.ng-skin #homeView .ng-page-content { width: min(1188px, calc(100% - 40px)); }
  body.ng-skin #homeView #cardsSection { width: min(1140px, 100%); margin-inline: auto; }
  body.ng-skin #homeView .ng-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 1140px;
    margin: 0 auto;
  }
  body.ng-skin #homeView .ng-card {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) 90px;
    grid-template-areas: "logo body cta";
    gap: 13px;
    align-items: center;
    min-height: 112px;
    height: 112px;
    padding: 16px;
    border-radius: 16px;
  }
  body.ng-skin #homeView .ng-card__logo { grid-area: logo; width: 62px; height: 62px; }
  body.ng-skin #homeView .ng-card__body { grid-area: body; align-items: flex-start; justify-content: center; gap: 4px; }
  body.ng-skin #homeView .ng-card__title { font-size: 17px !important; font-weight: 800; text-align: left; }
  body.ng-skin #homeView .ng-card__desc { display: block; margin: 5px 0 0; font-size: 13px; text-align: left; }
  body.ng-skin #homeView .ng-card__cta { grid-area: cta; width: 90px !important; min-width: 0 !important; min-height: 36px; margin: 0; padding: 0 10px !important; border-radius: 14px; font-size: 12.5px; }
  body.ng-skin #homeView .ng-card__tag { top: 8px; right: 8px; min-height: 20px; padding: 2px 7px; font-size: 10px; border-radius: 6px; }
  body.ng-skin #homeView .ng-section-head { margin-bottom: 12px !important; padding-top: 18px; }}@media (prefers-reduced-motion: reduce) {
  body.ng-skin #homeView .ng-card,
  body.ng-skin #homeView .carousel-wrap .slide img,
  body.ng-skin #homeView .ng-card::before { animation: none !important; }
  body.ng-skin #homeView .ng-card,
  body.ng-skin #homeView .ng-card__logo,
  body.ng-skin #homeView .ng-card__cta { transition: none !important; }}/* 最终移动端断点：覆盖前面旧皮肤规则 */@media (max-width: 600px) {
  body.ng-skin #homeView .ng-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; }
  body.ng-skin #homeView .ng-card {
    display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "logo" "body" "cta";
    justify-items: center; align-content: end; gap: 5px; min-width: 0; min-height: 122px; height: 122px;
    padding: 8px 5px 6px; border-radius: 12px;
  }
  body.ng-skin #homeView .ng-card__logo { grid-area: logo; width: 44px; height: 44px; border-width: 2px; box-shadow: 0 0 0 3px rgba(65,121,241,.055), 0 5px 12px rgba(30,77,163,.12); }
  body.ng-skin #homeView .ng-card__body { grid-area: body; width: 100%; align-items: center; text-align: center; }
  body.ng-skin #homeView .ng-card__title { width: 100%; font-size: clamp(12px, 2.9vw, 13px) !important; text-align: center; }
  body.ng-skin #homeView .ng-card__desc { display: none; }
  body.ng-skin #homeView .ng-card__cta { grid-area: cta; width: 100% !important; min-width: 0 !important; min-height: 32px; margin: 0; padding: 3px !important; border-radius: 8px; font-size: 10px; }
  body.ng-skin #homeView .ng-card__tag { top: 4px; right: 4px; min-height: 18px; padding: 1px 3px; font-size: 9px; }
  body.ng-skin #homeView .ng-section-head { padding-top: 14px; }
  body.ng-skin #homeView .ng-section-head h2 { font-size: 20px; }}@media (min-width: 601px) and (max-width: 899px) {
  body.ng-skin #homeView .ng-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  body.ng-skin #homeView .ng-card { display: grid; grid-template-columns: 56px minmax(0, 1fr) 88px; grid-template-areas: "logo body cta"; gap: 10px; min-height: 96px; height: 96px; padding: 14px; border-radius: 14px; }
  body.ng-skin #homeView .ng-card__logo { grid-area: logo; width: 52px; height: 52px; }
  body.ng-skin #homeView .ng-card__body { grid-area: body; align-items: flex-start; }
  body.ng-skin #homeView .ng-card__title { font-size: 15px !important; text-align: left; }
  body.ng-skin #homeView .ng-card__desc { display: -webkit-box; font-size: 12px; text-align: left; }
  body.ng-skin #homeView .ng-card__cta { grid-area: cta; width: 88px !important; min-height: 34px; margin: 0; font-size: 12px; }}/* 客服弹窗移动端：保持小尺寸居中，不再贴底展开成抽屉 */@media (max-width: 600px) {
  body.ng-skin .ng-contact-modal {
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
  }

  body.ng-skin .ng-contact-modal__panel {
    width: min(360px, calc(100vw - 32px)) !important;
    max-height: min(460px, calc(100dvh - 32px)) !important;
    border-radius: 22px !important;
  }

  body.ng-skin .ng-contact-modal__head {
    grid-template-columns: 42px minmax(0, 1fr) 36px;
    gap: 9px;
    min-height: 72px;
    padding: 12px 14px;
  }

  body.ng-skin .ng-contact-modal__head .ng-support-panel__avatar {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  body.ng-skin .ng-contact-modal__close {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  body.ng-skin .ng-contact-modal__body .ng-support-directory {
    padding: 12px;
  }

  body.ng-skin .ng-contact-modal__body .ng-support-channels {
    gap: 8px;
  }

  body.ng-skin .ng-contact-modal__body .ng-support-channel {
    min-height: 76px;
    padding: 10px;
    border-radius: 15px;
  }

  body.ng-skin .ng-contact-modal__body .ng-support-channel__art {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  body.ng-skin .ng-contact-modal__body .ng-support-channel__art .svc-logo {
    width: 38px;
    height: 38px;
  }}