/* =============================================
   help2026 客服中心样式 - BEM 规范
   Block: header / banner / main-area(search-bar+feature)
   ============================================= */

/* 跨文档视图过渡：同源整页跳转时整页淡入淡出，消除头部重绘的闪烁（不支持的浏览器自动忽略） */
@view-transition {
  navigation: auto;
}

/* ===== 设计变量 ===== */
:root {
  --color-primary: #ff5c00;
  --color-primary-dark: #e04f00;
  --color-gold: #ffb800;
  --color-bg: #f5f6fa;
  --color-card: #ffffff;
  --color-text: #2c3e50;
  --color-text-secondary: #7f8c8d;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================
   标题头 header（高 60px，背景 #FBFAFA）
   ============================================= */
.kf-header {
  height: 72px;
  background-color: #FAF8F8;
}

.kf-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 左侧：黄色小方块 + 客服中心 */
.kf-header__title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kf-header__title-bar {
  width: 3px;
  height: 19px;
  background-color: rgb(255, 210, 0);
}

.kf-header__title-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}

/* 右侧：黄色圆标 + 我的服务 */
.kf-header__service {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition);
}

.kf-header__service:hover {
  color: var(--color-primary);
}

.kf-header__service-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: rgb(255, 210, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  line-height: 1;
}

/* =============================================
   全屏轮播图 banner（首页/二级页统一：素材 1920×226，固定高 226px）
   ============================================= */
.banner {
  position: relative;
  width: 100%;
  height: 226px;
  overflow: hidden;
}

.banner__slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner__slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s;
}

.banner__slide--active {
  opacity: 1;
  visibility: visible;
}

/* 轮播图里面的图片（含链接包裹层） */
.banner__link {
  display: block;
  width: 100%;
  height: 100%;
}

.banner__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.banner__dots {
  position: absolute;
  left: 50%;
  bottom: 17px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 2;
}

.banner__dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c9c9c9;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}

.banner__dot:hover {
  background: #ff9977;
}

.banner__dot--active {
  background: #ff713e;
  transform: scale(1.08);
}

/* =============================================
   主板块 main-area（搜索 + 功能入口，背景图 1920×744）
   注：不用 .main，避免与 common.css 的 .main{width:1200px} 冲突
   ============================================= */
.main-area {
  position: relative;
  padding: 20px 0 40px;
  overflow: hidden;
  background-color: #fff;
}

/* 网格线（模糊） */
.main-area::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(to right, #fafafa 1px, transparent 1px), linear-gradient(to bottom, #fafafa 1px, transparent 1px);
  background-size: 7px 7px;
  filter: blur(0.5px);
  pointer-events: none;
}

/* 半调点装饰：左下 + 右上 */
.main-area::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle, #8f969b 0 1.25px, transparent 1.45px);
  background-size: 7px 7px;
  -webkit-mask-image: radial-gradient(ellipse 220px 195px at 0 100%, #000 0%, #000 38%, rgba(0, 0, 0, 0.7) 57%, transparent 93%), radial-gradient(ellipse 220px 195px at 100% 0, #000 0%, #000 38%, rgba(0, 0, 0, 0.7) 57%, transparent 93%);
  mask-image: radial-gradient(ellipse 220px 195px at 0 100%, #000 0%, #000 38%, rgba(0, 0, 0, 0.7) 57%, transparent 93%), radial-gradient(ellipse 220px 195px at 100% 0, #000 0%, #000 38%, rgba(0, 0, 0, 0.7) 57%, transparent 93%);
  pointer-events: none;
}

/* 内容浮于网格之上 */
.main-area > * {
  position: relative;
  z-index: 1;
}

/* =============================================
   搜索区域 search-bar（无下拉，仅搜索+过滤标签）
   ============================================= */
.search-bar {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0px auto 0;
  padding: 0 20px;
}

.search-bar__inner {
  border-radius: var(--radius-lg);
}

/* 搜索框：总高 54px，黄色边框 */
.search-bar__box {
  display: flex;
  align-items: stretch;
  height: 54px;
  background: #fff;
  border: 1px solid rgb(255, 210, 0);
  border-radius: 10px;
  overflow: hidden;
}

.search-bar__input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  padding: 0 20px;
  font-size: 15px;
  color: var(--color-text);
  outline: none;
}

.search-bar__input::placeholder {
  color: #b8b8b8;
}

.search-bar__btn {
  width: 54px;
  height: 100%;
  border: none;
  background: rgb(255, 210, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.search-bar__btn:hover {
  background: #f0c400;
}

/* 白色放大镜图标 */
.search-bar__btn-icon {
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 50%;
  position: relative;
}

.search-bar__btn-icon::after {
  content: '';
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 2px;
  height: 7px;
  background: #fff;
  border-radius: 1px;
  transform: rotate(-45deg);
}

/* =============================================
   游戏推荐 feature / feature-card（580px 圆角容器）
   ============================================= */
.feature {
  max-width: 1200px;
  margin: 30px auto 0px;
  padding-bottom: 50px;
}

.feature__inner {
  /* height: 380px; */
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 20px 0;
}

/* 4 列 × 2 行，列距 60px */
.feature__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px 40px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
}

/* 游戏图标盒子：138×138，主题黄边框，10px 圆角 */
.feature-card__icon {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  line-height: 1;
  overflow: hidden;
  transition: var(--transition);
}

/* 有素材后：盒子内放 <img class="feature-card__img"> */
.feature-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}





.feature-card__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  margin: 0;
}

/* =============================================
   标题头 section-head（黄条 + 标题 + 副标题）
   ============================================= */
.section-head {
  max-width: 1200px;
  margin: 16px auto 16px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
}

.section-head__bar {
  width: 4px;
  height: 20px;
  background-color: rgb(255, 210, 0);
}

.section-head__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

.section-head__subtitle {
  font-size: 13px;
  color: var(--color-text-secondary);
}

.section-head__switch {
  margin-left: auto;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  background: rgb(255, 210, 0);
  border-radius: 14px;
  text-decoration: none;
  transition: var(--transition);
}

.section-head__switch:hover {
  background: #f0c400;
}

/* =============================================
   圆角面板 panel + 服务卡片 service-card
   ============================================= */
.panel {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  /* padding: 30px 16px 26px; */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
}

.service-card:hover .service-card__title {
  color: var(--color-primary);
}

.service-card__icon {
  width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  font-size: 36px;
  line-height: 1;
  margin-bottom: 16px;
}

.service-card__icon:has(.service-card__img) {
  font-size: 0;
}

.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 10px;
  transition: var(--transition);
}

/* 福利专区：5 列 + 横向卡片（图标左、标题右），图标按素材原始尺寸显示 */
.panel--welfare .service-grid {
  grid-template-columns: repeat(5, 1fr);
}

.panel--welfare .service-card {
  flex-direction: row;
  justify-content: center;
  text-align: left;
  /* padding: 28px 14px; */
  gap: 12px;
}

.panel--welfare .service-card__icon {
  width: auto;
  height: auto;
  flex-shrink: 0;
  overflow: visible;
  border-radius: 0;
  margin-bottom: 0;
}

.panel--welfare .service-card__img {
  width: auto;
  height: auto;
}

.panel--welfare .service-card__title {
  margin: 0;
  font-size: 15px;
}

/* =============================================
   游戏选择弹窗 game-picker
   用法：include 模板后调用 GamePicker.open()
   ============================================= */
.game-picker {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.game-picker__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
}

.game-picker__modal {
  position: relative;
  width: 720px;
  max-width: 90%;
  max-height: 80vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.game-picker__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 12px;
  flex-shrink: 0;
}

.game-picker__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

.game-picker__close {
  font-size: 24px;
  color: var(--color-text-secondary);
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}

.game-picker__close:hover {
  color: var(--color-text);
}

.game-picker__body {
  padding: 0 24px;
  overflow-y: auto;
  flex: 1;
}

.game-picker__search {
  margin-bottom: 16px;
}

.game-picker__search-input {
  width: 100%;
  height: 40px;
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  padding: 0 18px;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  transition: var(--transition);
}

.game-picker__search-input:focus {
  border-color: var(--color-gold);
}

.game-picker__grid {
  display: grid;
  grid-template-columns: repeat(4, 158px);
  gap: 12px;
  justify-items: center;
  align-items: start;
  margin-bottom: 20px;
}

.game-tag {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 158px;
  height: 120px;
  padding: 14px 10px;
  background: #fff;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  box-sizing: border-box;
}

.game-tag--active {
  cursor: default;
  pointer-events: none;
}

/* hover / 选中高亮：游戏名称变色 + icon 选中边框 */
.game-tag:hover .game-tag__name,
.game-tag--active .game-tag__name {
  color: var(--color-primary);
}

.game-tag:hover .game-tag__icon,
.game-tag--active .game-tag__icon {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.game-tag__icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.game-tag__name {
  font-size: 13px;
  color: var(--color-text);
  text-align: center;
  line-height: 1.4;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-picker__played {
  background: var(--color-bg);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 16px;
  text-align: center;
}

.game-picker__played-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 8px;
}

.game-picker__played-desc {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin: 0 0 14px;
  line-height: 1.6;
}

.game-picker__login-btn {
  display: inline-block;
  padding: 8px 28px;
  background: rgb(255, 210, 0);
  color: var(--color-text);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.game-picker__login-btn:hover {
  background: #f0c400;
}

.game-picker__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: var(--color-bg);
  flex-shrink: 0;
}

.game-picker__tip {
  font-size: 13px;
  color: var(--color-text-secondary);
}

.game-picker__cancel {
  padding: 6px 24px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 18px;
  font-size: 14px;
  color: var(--color-text);
  cursor: pointer;
  transition: var(--transition);
  margin-left: auto;
}

.game-picker__cancel:hover {
  border-color: var(--color-text-secondary);
}

/* =============================================
   专属福利官二维码弹窗 welfare-officer
   用法：点击福利专区“专属福利官”卡片后 WelfareOfficer.open()
   弹窗素材 service_officer_popup.png 原始尺寸 411×424，按原始尺寸显示；
   二维码区域定位：left 108 / top 180 / 180×180 / 圆角 23
   ============================================= */
.welfare-officer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 淡入淡出：默认隐藏，加 welfare-officer--open 显示；
     visibility 参与 transition，淡出动画结束后才真正隐藏、期间不可点 */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition);
}

.welfare-officer--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.welfare-officer__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
}

.welfare-officer__modal {
  position: relative;
  width: 411px;
  height: 424px;
}

.welfare-officer__bg {
  width: 411px;
  height: 424px;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* 独立二维码覆盖素材灰色块，保留白边与圆角。 */
.welfare-officer__qr {
  position: absolute;
  left: 108px;
  top: 180px;
  width: 180px;
  height: 180px;
  border-radius: 23px;
  background: #fff;
  padding: 4px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.welfare-officer__qr-tip {
  font-size: 15px;
  color: #b8b8b8;
}

/* 真实二维码：直接填满占位容器 */
.welfare-officer__qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.welfare-officer__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 20px;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.welfare-officer__close:hover {
  background: rgba(0, 0, 0, 0.55);
}

/* =============================================
   智能客服 banner
   ============================================= */
.banner-ad {
  max-width: 1200px;
  margin: 20px auto;
  padding: 16px 24px;
  background: #fdf3dc;
  border-radius: 16px;
  box-sizing: border-box;
}

.banner-ad__inner {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  padding: 10px 16px;
  text-decoration: none;
}

/* 机器人 icon 容器：素材后续提供，先留浅蓝占位块 */
.banner-ad__icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: #cdeaf7;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.banner-ad__img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.banner-ad__text {
  flex: 1;
  min-width: 0;
  margin: 0 16px;
  padding: 10px 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: #333;
}

.banner-ad__text::placeholder {
  color: #b8b8b8;
}

.banner-ad__btn {
  flex-shrink: 0;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  background: #f7d000;
  color: #333;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 8px;
}

.banner-ad__btn:disabled {
  cursor: wait;
  opacity: 0.65;
}

/* =============================================
   常见问题 faq
   ============================================= */
/* 灰底圆角面板：3 列编号网格 */
.faq-panel {
  max-width: 1200px;
  margin: 0 auto;
  padding: 45px 48px 50px;
  background: #f4f5f7;
  border-radius: 16px;
  box-sizing: border-box;
}

/* 3 列编号网格；每条为链接，点击跳转对应自助服务页 */
.faq {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px 68px;
}

.faq-item {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  text-decoration: none;
}

.faq-item:hover .faq-item__q {
  color: var(--color-primary);
}

/* 序号方块：40×40 米色圆角 */
.faq-item__num {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f8f0d8;
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-item__q {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.5;
  transition: color 0.2s ease;
}

/* 联系客服：运营屏蔽中（恢复展示时把 display 改回 flex）；两行居中布局保留 */
.faq__contact {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 28px;
  row-gap: 12px;
  text-align: center;
  padding: 40px 0 48px;
}

.faq__contact-tip {
  font-size: 15px;
  color: #a8adb5;
}

.faq__contact-link {
  font-size: 17px;
  font-weight: 700;
  color: #4a6ef5;
  text-decoration: none;
  margin: 0;
}

.faq__contact-link:hover {
  text-decoration: underline;
}

.faq__contact-time {
  flex-basis: 100%;
  font-size: 14px;
  color: #a8adb5;
}

/* =============================================
   响应式适配
   ============================================= */
@media (max-width: 1024px) {
  .feature__inner {
    height: auto;
    padding: 40px 20px;
  }

  .feature__grid {
    grid-template-columns: repeat(3, 138px);
    gap: 40px;
  }

  .banner__title {
    font-size: 34px;
  }

  .banner__mascot {
    font-size: 96px;
  }

  .faq-panel {
    padding: 32px 32px 40px;
  }

  .faq {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 48px;
  }
}

@media (max-width: 768px) {
  .banner__dots {
    bottom: 12px;
    gap: 10px;
  }

  .banner__dot {
    width: 9px;
    height: 9px;
  }

  .feature__grid {
    grid-template-columns: repeat(2, 138px);
    gap: 30px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .panel--welfare .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .panel {
    margin-left: 16px;
    margin-right: 16px;
    padding: 16px;
  }

  .game-picker__modal {
    width: 95%;
    max-height: 85vh;
  }

  .kf-header__inner {
    padding: 0 16px;
  }

  .banner__slide {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 24px;
  }

  .banner__title {
    font-size: 28px;
  }

  .banner__subtitle {
    font-size: 15px;
  }

  .banner__mascot {
    font-size: 72px;
  }

  .search-bar {
    margin-top: -20px;
  }

  .search-bar__inner {
    padding: 16px;
  }

  .faq-panel {
    margin-left: 16px;
    margin-right: 16px;
    padding: 24px 20px 28px;
  }

  .faq {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  /* 图片弹窗整体等比缩小，内部二维码占位坐标随 modal 一起缩放 */
  .welfare-officer__modal {
    transform: scale(0.85);
  }

  .feature__grid {
    grid-template-columns: repeat(2, 120px);
    gap: 20px;
  }

  .feature-card__icon {
    width: 120px;
    height: 120px;
  }

  .search-bar__box {
    flex-direction: column;
  }

  .search-bar__btn {
    width: 100%;
  }

  .banner-ad {
    margin: 16px;
    padding: 12px 14px;
  }

  .banner-ad__icon {
    width: 44px;
    height: 44px;
  }

  .banner-ad__img {
    width: 32px;
    height: 32px;
  }

  .banner-ad__text {
    margin: 0 10px;
    font-size: 13px;
  }

  .banner-ad__btn {
    padding: 10px 16px;
    font-size: 14px;
  }

  .banner__title {
    font-size: 24px;
  }
}

/* Banner 下方的咨询游戏与账号栏；沿用当前业务的 1200px 内容宽度。 */
.help-context {
  background: #fdfdfd;
  box-shadow: 0 4px 12px rgba(150, 150, 150, 0.08);
  font: 14px/22px "Help2026 PuHuiTi", "Microsoft YaHei", sans-serif;
  color: #20232b;
}

.help-context__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 1200px;
  max-width: calc(100% - 48px);
  min-height: 57px;
  margin: 0 auto;
  padding: 10px 0;
  box-sizing: border-box;
}

.help-context__game,
.help-context__account,
.help-context__selection {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.help-context__title {
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 600;
}

.help-context__selection {
  min-height: 29px;
  padding: 0 16px;
  border: 1px solid #ffecb1;
  border-radius: 15px;
  background: #fff7e1;
}

.help-context__selection > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.help-context__switch {
  flex-shrink: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #71a3de;
  cursor: pointer;
  font: inherit;
  white-space: nowrap;
}

.help-context__username {
  min-width: 0;
  color: #929292;
  overflow-wrap: anywhere;
}

.help-context__login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 53px;
  min-height: 29px;
  box-sizing: border-box;
  padding: 2px 12px;
  border: 1px solid #ffecb1;
  border-radius: 6px;
  background: #fff7e1;
  color: #20232b;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}

.help-context__login[hidden],
.help-context-picker .game-tag[hidden] {
  display: none;
}

.help-context__switch:focus-visible,
.help-context__login:focus-visible,
.help-context-picker button:focus-visible,
.help-context-picker a:focus-visible {
  outline: 2px solid #e6ad00;
  outline-offset: 2px;
}

.help-context-picker__close {
  border: 0;
  background: transparent;
}

.help-context-picker__message {
  margin: 0;
  color: #70727a;
  text-align: center;
  font-size: 14px;
}

.help-context-picker__message:not(:empty) {
  padding: 12px 0 24px;
}

@media (max-width: 1180px) {
  .help-context__inner { max-width: calc(100% - 32px); }
}

@media (max-width: 1340px) {
  .help-context__account { padding-right: 64px; }
}

@media (max-width: 860px) {
  .help-context__inner { flex-wrap: wrap; gap: 8px 16px; }
}

@media (max-width: 560px) {
  .help-context__inner { max-width: calc(100% - 24px); }
  .help-context__game { gap: 10px; }
  .help-context__selection { gap: 10px; padding: 0 12px; }
}

/* =============================================
   三级业务页 help-service-page
   左栏 269px + 22px 间隔 + 弹性内容区
   PSD 只提供视觉语言，卡片和间距跟随当前业务内容收缩
   ============================================= */
body:has(.help-service-page) {
  min-width: 0;
  background-color: #f8f8fa;
  background-image: none;
}

.help-service-page {
  --help-label-width: 156px;
  --service-panel-title-inline: 32px;
  --service-panel-top: 32px;
  --service-panel-bottom: 32px;

  width: 1200px;
  max-width: calc(100% - 48px);
  margin: 28px auto 0;
  padding: 0 0 32px;
  color: #343b41;
  font-family: "Help2026 PuHuiTi", "Microsoft YaHei", sans-serif;
}

.help-service-page *,
.help-service-page *::before,
.help-service-page *::after {
  box-sizing: border-box;
}

.help-service-page__inner {
  display: grid;
  grid-template-columns: 269px minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  min-height: 0;
}

.help-service-nav,
.help-service-page__panel {
  min-width: 0;
  background: #fcfcfc;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 0 13px 3.5px rgba(150, 150, 150, 0.13);
}

.help-service-nav {
  align-self: stretch;
  min-height: 480px;
  padding: 16px 0;
  overflow: hidden;
}

.help-service-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.help-service-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 5px 12px 5px 26px;
  overflow: hidden;
  border-radius: 0;
  background: #fcfcfc;
  color: #4c5359;
  font-size: 14px;
  line-height: 22px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.help-service-nav__link:hover {
  background: #f7f8f8;
  color: #242a2f;
}

.help-service-nav__link:focus-visible {
  outline: 2px solid #ffd100;
  outline-offset: -2px;
}

.help-service-nav__link--active,
.help-service-nav__link--active:hover {
  background: #fdf8eb;
  color: #20262b;
  font-weight: 700;
}

.help-service-nav__link--active::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  border-radius: 0;
  background: #ffd100;
}

.help-service-nav__icon {
  display: block;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 50%;
}

.help-service-nav__text {
  min-width: 0;
  white-space: nowrap;
}

.help-service-page__panel {
  min-height: 480px;
  max-height: 720px;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  isolation: isolate;
  scrollbar-width: thin;
  color: #343b41;
  font-family: "Help2026 PuHuiTi", "Microsoft YaHei", sans-serif;
}

.help-service-page__panel div,
.help-service-page__panel p,
.help-service-page__panel span,
.help-service-page__panel em,
.help-service-page__panel i,
.help-service-page__panel input,
.help-service-page__panel select,
.help-service-page__panel textarea,
.help-service-page__panel button {
  font-family: inherit;
}

.help-service-page__panel > .mp-tit {
  position: static;
  display: flex;
  float: none;
  align-items: center;
  width: auto;
  max-width: none;
  height: auto;
  min-height: 22px;
  margin: 0;
  padding: var(--service-panel-top) var(--service-panel-title-inline) 14px;
  border: 0;
  background: transparent;
}

.help-service-page__panel > .mp-tit span {
  float: none;
  height: auto;
  margin: 0;
  border: 0;
  color: #000;
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
}

.help-service-page__panel > .mp-nr,
.help-service-page__panel > .mp-nr.mp-bdss,
.help-service-page__panel > .mp-nr-query,
.help-service-page__panel > .mp-bdss-txt,
.help-service-page__panel > .mp-bdss-ts {
  float: none;
  width: calc(100% - 80px);
  margin-right: 40px;
  margin-left: 40px;
  padding-top: 0;
}

.help-service-page__panel > .mp-nr,
.help-service-page__panel > .mp-nr.mp-bdss,
.help-service-page__panel > .mp-nr-query {
  padding-bottom: var(--service-panel-bottom);
}

.help-service-page__panel .mp-box,
.help-service-page__panel .appeal_content,
.help-service-page__panel .getpwd_content,
.help-service-page__panel .appeal_success {
  float: none;
  width: 100%;
}

.help-service-page__panel .mp-box {
  position: relative;
  min-height: 0;
}

.help-service-page__panel .mp-box.none:not([style*="display"]) {
  display: none;
}

.help-service-page__panel .mp-box-s {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  float: none;
  width: 100%;
  max-width: 829px;
  min-height: 39px;
  margin: 0 0 11px;
  line-height: 39px;
}

.help-service-page__panel .mp-box-s .mp-box-span,
.help-service-page__panel .rr-box .rr-box-w > span {
  flex: 0 0 var(--help-label-width);
  float: none;
  width: var(--help-label-width);
  padding: 0 16px 0 0;
  color: #70727a;
  font-size: 14px;
  line-height: 39px;
  text-align: right;
  white-space: nowrap;
}

.help-service-page__panel .help-required {
  display: inline;
  float: none;
  width: auto;
  margin: 0 4px 0 0;
  padding: 0;
  color: #e5533d;
  font: inherit;
  font-style: normal;
}

/* 旧站的 .rr-box-w span 有固定宽度；装饰星号不能继承成表单列。 */
.help-service-page__panel .rr-box .rr-box-w .help-required {
  display: inline;
  float: none;
  width: auto;
  min-width: 0;
  margin: 0 4px 0 0;
  padding: 0;
  color: #e5533d;
  font: inherit;
}

.help-service-page__panel .help-required[hidden],
.help-service-page__panel .rr-box .rr-box-w .help-required[hidden] {
  display: none;
}

.help-service-page__panel .help-form-message {
  margin: 20px 32px 0;
  padding: 10px 14px;
  border: 1px solid #f3c3bc;
  border-radius: 6px;
  background: #fff4f2;
  color: #c53d2c;
  font-size: 13px;
  line-height: 20px;
}

.help-service-page__panel .mp-box-s input:not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.help-service-page__panel .mp-box-s select,
.help-service-page__panel .mp-box-s textarea {
  flex: 1 1 360px;
  display: block;
  float: none;
  width: auto;
  min-width: 0;
  max-width: 703px;
  height: 39px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid #f4f5f5;
  border-radius: 6px;
  background-color: #fdfdfd;
  color: #707378;
  font-size: 14px;
  line-height: 37px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.help-service-page__panel .mp-box-s select,
.help-service-page__panel .help-query-field .ui-select {
  padding-right: 34px;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #aeb4b8 50%),
    linear-gradient(135deg, #aeb4b8 50%, transparent 50%);
  background-position:
    calc(100% - 17px) 17px,
    calc(100% - 12px) 17px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.help-service-page__panel .mp-box-s input:not([type="button"]):not([type="checkbox"]):not([type="radio"]):focus,
.help-service-page__panel .mp-box-s select:focus,
.help-service-page__panel .mp-box-s textarea:focus,
.help-service-page__panel .help-query-field input:focus,
.help-service-page__panel .help-query-field .ui-select:focus {
  border-color: #ffd100;
  box-shadow: 0 0 0 1px rgba(255, 209, 0, 0.28);
}

.help-service-page__panel .mp-box-s input::placeholder,
.help-service-page__panel .mp-box-s textarea::placeholder,
.help-service-page__panel .help-query-field input::placeholder {
  color: #b9bec2;
}

.help-service-page__panel .mp-box-s.mp-box-yzm input {
  flex-grow: 0;
  flex-basis: 150px;
  width: 150px;
}

.help-service-page__panel .mp-box-s.mp-box-yzm img {
  display: block;
  width: 100px;
  height: 32px;
  margin: 3px 8px 0;
  padding: 0;
  border-radius: 4px;
  cursor: pointer;
}

.help-service-page__panel .mp-box-s select.select-list {
  max-width: 292px;
}

.help-service-page__panel .mp-box-s select.province,
.help-service-page__panel .mp-box-s select.city {
  flex: 1 1 220px;
  width: calc(50% - 4px) !important;
  max-width: 292px;
}

.help-service-page__panel .mp-box-s select.city {
  margin-left: 8px;
}

.help-service-page__panel .mp-box-s .mp-box-pt {
  display: block;
  position: static;
  float: none;
  clear: both;
  background: none;
  flex: 0 0 calc(100% - var(--help-label-width));
  width: auto;
  max-width: calc(100% - var(--help-label-width));
  min-height: 0;
  margin: 5px 0 0 var(--help-label-width);
  padding: 0;
  color: #9ca3a8;
  font-size: 12px;
  font-style: normal;
  line-height: 18px;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}

.help-service-page__panel .mp-box-s .mp-box-pt:empty {
  display: none;
}

.help-service-page__panel .mp-box-s.mbp-error .mp-box-pt {
  color: #e5533d;
}

.help-service-page__panel .mp-box-s.mbp-error input:not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.help-service-page__panel .mp-box-s.mbp-error select,
.help-service-page__panel .mp-box-s.mbp-error textarea {
  border-color: #ff816d;
}

.help-service-page__panel .mp-box-s .mp-box-btns {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 35px;
  margin: 8px 0 0;
  border: 0;
  border-radius: 6px;
  background: #fcd652;
  color: #000;
  font-size: 14px;
  font-weight: 400;
  line-height: 35px;
  text-align: center;
  text-decoration: none;
}

.help-service-page__panel .mp-box-s .mp-box-btns:hover {
  background: #f0c63d;
}

.help-service-page__panel .mp-box-s:has(> .mp-box-btns) {
  display: grid;
  grid-template-columns: var(--help-label-width) minmax(0, 1fr);
  align-items: start;
  min-height: 35px;
  margin-bottom: 0;
}

.help-service-page__panel .mp-box:has(.rr-box) .mp-box-s,
.help-service-page__panel .mp-box:has(.rr-box) .mp-box-s:has(> .mp-box-btns) {
  max-width: none;
}

.help-service-page__panel .mp-box-s:has(> .mp-box-btns) > .mp-box-btns {
  grid-column: 2;
  justify-self: center;
}

.help-service-page__panel .mp-box-s .mp-box-btns:focus-visible {
  outline: 2px solid #343b41;
  outline-offset: 2px;
}

.help-service-page__panel .mp-box-s-tit {
  float: none;
  width: 100%;
  height: auto;
  margin: 25px auto 15px;
  padding: 0 0 9px;
  border: 0;
  border-bottom: 1px solid #e9edef;
  border-radius: 0;
  background: transparent;
  color: #343b41;
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  text-indent: 0;
}

.help-service-page__panel .mp-box-s-tit span {
  color: #9ca3a8 !important;
  font-size: 12px !important;
  font-weight: 400;
}

.help-service-page__panel .mp-bdss-txt {
  max-width: 765px;
  margin: 0 auto 22px;
  padding: 18px 20px;
  border-radius: 8px;
  background: #fff9e7;
}

.help-service-page__panel .mp-bdss-txt span,
.help-service-page__panel .mp-bdss-txt p {
  float: none;
  width: 100%;
  padding: 0;
  color: #6d7377;
  font-size: 14px;
  line-height: 24px;
}

.help-service-page__panel .mp-bdss-txt span {
  margin-bottom: 4px;
  color: #343b41;
  font-weight: 600;
}

.help-service-page__panel .mp-bdss-txt p a,
.help-service-page__panel .mp-box-a {
  color: #e09d00;
}

.help-service-page__panel .mp-bdss-ts {
  max-width: 765px;
  margin: 0 auto 20px;
  padding: 12px 16px;
  border-radius: 6px;
  background: #fff3f0;
  color: #c8503c;
  font-size: 13px;
  line-height: 22px;
  text-align: left;
}

.help-service-page__panel .mp-box-a {
  display: block;
  flex: 0 0 calc(100% - var(--help-label-width));
  width: auto;
  margin: 4px 0 0 var(--help-label-width);
  font-size: 12px;
  line-height: 18px;
  text-decoration: none;
}

.help-service-page__panel .mp-box-a:hover {
  text-decoration: underline;
}

.help-service-page__panel .xjms {
  float: none;
  width: 100%;
  max-width: none;
  height: 92px;
  min-height: 92px;
  padding: 10px 14px;
  border: 1px solid #f4f5f5;
  border-radius: 6px;
  background: #fdfdfd;
  color: #343b41;
  font-size: 14px;
  line-height: 22px;
  resize: vertical;
}

.help-service-page__panel .mp-box-s:has(textarea) > .mp-box-span {
  padding-top: 8px;
  line-height: 22px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.help-service-page__panel .mp-box-s > .ts-txt {
  flex: 0 0 calc(100% - var(--help-label-width));
  float: none;
  width: auto;
  min-width: 0;
  margin: 6px 0 0 var(--help-label-width);
  padding: 0;
  color: #9a7353;
  font-size: 12px;
  line-height: 20px;
}

.help-service-page__panel .ts-txt p {
  width: auto;
  margin: 0;
  padding: 0;
  line-height: inherit;
  overflow-wrap: anywhere;
}

.help-service-page__panel .mp-box-s > .mp-cz-file {
  flex: 1 1 calc(100% - var(--help-label-width));
  float: none;
  width: auto;
  min-width: 0;
  padding-top: 2px;
  line-height: 20px;
}

.help-service-page__panel .mp-cz-file > p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  float: none;
  width: 100%;
  height: auto;
  margin: 0 0 12px;
  padding: 0;
}

.help-service-page__panel .mp-cz-file > p > i {
  float: none;
  width: auto;
  padding: 0;
  color: #929aa0;
  font-size: 12px;
  font-style: normal;
  line-height: 20px;
}

.help-service-page__panel .mp-cz-file #file_upload,
.help-service-page__panel .mp-cz-file .file_upload_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 72px;
  float: none;
  width: 72px;
  height: 35px;
  margin: 0;
  border: 0;
  border-radius: 6px;
  background: #fcd652;
  color: #20232b;
  font-size: 14px;
  line-height: 35px;
  text-decoration: none;
}

.help-service-page__panel .mp-cz-file .file {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.help-service-page__panel .mp-cz-file .file > li {
  flex: 0 0 82px;
  float: none;
  width: 82px;
  height: 82px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #edf0f2;
  border-radius: 6px;
  background: #f1f3f5;
}

.help-service-page__panel .mp-cz-file .file > li > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.help-service-page__panel .mp-cz-file > em {
  display: block;
  float: none;
  width: auto;
  margin: 8px 0 0;
  padding: 0;
  background: none;
  color: #929aa0;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  overflow-wrap: anywhere;
}

.help-service-page__panel .r-record {
  float: none;
  width: 100%;
  max-width: 829px;
  margin: 18px auto 10px;
  padding: 0 0 8px var(--help-label-width);
  color: #555d63;
  font-size: 14px;
  line-height: 22px;
  text-align: left;
}

.help-service-page__panel .r-record i {
  color: #9ca3a8;
  font-style: normal;
}

.help-service-page__panel .rr-box {
  float: none;
  width: 100%;
  max-width: 829px;
  margin: 0 auto;
  padding: 16px 0;
  border-top: 1px solid #eceff2;
}

.help-service-page__panel .rr-box .rr-box-w {
  display: grid;
  grid-template-columns: var(--help-label-width) minmax(0, 1fr) 84px minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
  float: none;
  width: 100%;
  height: auto;
  padding: 0;
  margin: 0 0 12px;
  line-height: 39px;
}

.help-service-page__panel .rr-box .rr-box-w:last-child {
  margin-bottom: 0;
}

.help-service-page__panel .rr-box .rr-box-w:nth-child(3) {
  grid-template-columns: var(--help-label-width) minmax(0, 1fr) minmax(0, 1fr);
}

.help-service-page__panel .rr-box .rr-box-w > em {
  grid-column: 3;
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  color: #555d63;
  font-size: 14px;
  font-style: normal;
  text-align: left;
}

.help-service-page__panel .rr-box .rr-box-w select,
.help-service-page__panel .rr-box .rr-box-w input {
  float: none;
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 39px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid #f4f5f5;
  border-radius: 6px;
  background-color: #fdfdfd;
  color: #343b41;
  font-size: 13px;
}

.help-service-page__panel .rr-box .rr-box-w .select-list {
  width: 100%;
}

.help-service-page__panel .rr-box .rr-box-w select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 30px;
  background-image: linear-gradient(45deg, transparent 50%, #aeb4b8 50%), linear-gradient(135deg, #aeb4b8 50%, transparent 50%);
  background-position: calc(100% - 17px) 17px, calc(100% - 12px) 17px;
  background-repeat: no-repeat;
  background-size: 5px 5px;
}

.help-service-page__panel .mp-nr-query {
  width: calc(100% - 80px);
  padding: 0 0 var(--service-panel-bottom);
  margin: 0 40px;
}

.help-service-page__panel .mp-nr-query-tit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: auto;
  padding: 0 0 20px;
  border-bottom: 1px solid #e9edef;
  line-height: 39px;
}

.help-service-page__panel .mp-nr-query-tit span,
.help-service-page__panel .mp-nr-query-tit label {
  float: none;
  font-size: 14px;
}

.help-service-page__panel .mp-nr-query-tit .ui-select {
  float: none;
  width: 130px;
  margin: 0 10px 0 0;
}

.help-service-page__panel .mp-nr-query-tit input {
  float: none;
  width: 120px;
  height: 39px;
  margin: 0 10px 0 0;
  padding: 0 12px;
  border: 1px solid #f4f5f5;
  border-radius: 6px;
  background: #fdfdfd;
  color: #343b41;
  font-size: 14px;
  text-align: left;
}

.help-service-page__panel .mp-nr-query-tit img {
  float: none;
  width: 100px;
  height: 32px;
  border-radius: 4px;
}

.help-service-page__panel .mp-nr-query-tit .q-ljcx {
  float: none;
  width: 110px;
  height: 38px;
  margin-left: 0;
  border-radius: 6px;
  background: #ffd000;
  color: #2f3438;
  font-size: 14px;
  line-height: 38px;
}

.help-service-page__panel .mp-nr-query-list {
  float: none;
  width: 100%;
  margin-top: 20px;
  border-color: #e9edef;
  border-radius: 8px;
}

.help-service-page__panel .mp-nr-query-list p {
  height: 44px;
  background: #f7f8f8;
  line-height: 44px;
}

.help-service-page__panel .mp-nr-query-list span,
.help-service-page__panel .mp-nr-query-list em {
  line-height: 44px;
}

.help-service-page__panel .mp-nr-query-list em {
  width: 34%;
}

.help-service-page__panel .mp-nr-query-list em.ycl {
  width: 33%;
  line-height: 24px;
  padding: 10px 0;
}

@media (max-width: 1180px) {
  .help-service-page {
    max-width: calc(100% - 32px);
    --service-panel-title-inline: 24px;
  }

  .help-service-page__inner {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 16px;
  }

  .help-service-nav {
    padding: 16px 0;
  }

  .help-service-nav__link {
    gap: 9px;
    padding-left: 23px;
    font-size: 14px;
  }

  .help-service-page__panel > .mp-nr,
  .help-service-page__panel > .mp-nr.mp-bdss,
  .help-service-page__panel > .mp-nr-query,
  .help-service-page__panel > .mp-bdss-txt,
  .help-service-page__panel > .mp-bdss-ts {
    width: calc(100% - 48px);
    margin-right: auto;
    margin-left: auto;
  }

  .help-service-page__panel .mp-box-s {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 860px) {
  .help-service-page {
    --service-panel-title-inline: 18px;
  }

  .help-service-page__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    max-height: none;
  }

  .help-service-nav {
    min-height: 0;
    padding: 16px 0;
  }

  .help-service-nav__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .help-service-page__panel {
    min-height: 0;
    max-height: none;
    overflow: visible;
  }

  .help-service-page__panel > .mp-tit {
    position: static;
    padding-top: 26px;
    padding-bottom: 16px;
  }

  .help-service-page__panel > .mp-nr,
  .help-service-page__panel > .mp-nr.mp-bdss,
  .help-service-page__panel > .mp-nr-query,
  .help-service-page__panel > .mp-bdss-txt,
  .help-service-page__panel > .mp-bdss-ts {
    width: calc(100% - 36px);
    margin-right: auto;
    margin-left: auto;
  }

  .help-service-page__panel .mp-box-s {
    max-width: none;
  }

  .help-service-page__panel .mp-box-s .mp-box-span {
    flex-basis: var(--help-label-width);
    width: var(--help-label-width);
  }

  .help-service-page__panel .mp-box-s .mp-box-pt,
  .help-service-page__panel .mp-box-s .mp-box-btns,
  .help-service-page__panel .mp-box-a {
    margin-left: var(--help-label-width);
  }
}

@media (max-width: 560px) {
  .help-service-page {
    max-width: calc(100% - 24px);
  }

  .help-service-nav__list {
    grid-template-columns: 1fr;
  }

  .help-service-page__panel .mp-box-s {
    display: block;
    margin-bottom: 18px;
  }

  .help-service-page__panel .mp-box-s:has(> .mp-box-btns) {
    display: block;
  }

  .help-service-page__panel .mp-box-s .mp-box-span {
    display: block;
    width: 100%;
    padding: 0 0 5px;
    line-height: 22px;
    text-align: left;
    white-space: normal;
  }

  .help-service-page__panel .mp-box-s input:not([type="button"]):not([type="checkbox"]):not([type="radio"]),
  .help-service-page__panel .mp-box-s select,
  .help-service-page__panel .mp-box-s textarea,
  .help-service-page__panel .xjms {
    width: 100%;
    max-width: none;
  }

  .help-service-page__panel .mp-box-s .mp-box-pt,
  .help-service-page__panel .mp-box-s .mp-box-btns,
  .help-service-page__panel .mp-box-a {
    margin-left: 0;
  }

  .help-service-page__panel .mp-box-s .mp-box-pt {
    max-width: 100%;
  }

  .help-service-page__panel .mp-box-s.mp-box-yzm input {
    width: calc(100% - 112px);
  }
}

.help-preview-notice { padding: 6px 16px; background: #fff6d9; color: #795616; text-align: center; font: 12px/20px "Microsoft YaHei", sans-serif; }

.help-service-page__panel .help-query-filters {
  display: grid;
  grid-template-columns: minmax(120px, .8fr) minmax(140px, 1fr) minmax(210px, 1.25fr) 110px;
  gap: 16px;
  align-items: end;
}

.help-query-field { min-width: 0; }
.help-service-page__panel .help-query-field > label {
  display: block;
  width: auto;
  margin: 0 0 8px;
  color: #70727a;
  line-height: 22px;
}
.help-service-page__panel .help-query-field input,
.help-service-page__panel .help-query-field .ui-select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 39px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid #f4f5f5;
  border-radius: 6px;
  background-color: #fdfdfd;
  color: #707378;
  font-family: inherit;
  font-size: 14px;
  line-height: 37px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.help-service-page__panel .help-query-field .ui-select { padding-right: 34px; }
.help-query-captcha { display: flex; gap: 8px; align-items: center; }
.help-service-page__panel .help-query-captcha input { flex: 1; width: 0; }
.help-service-page__panel .help-query-captcha img { flex: 0 0 100px; margin: 0; cursor: pointer; }
.help-service-page__panel .help-query-filters .q-ljcx { height: 39px; line-height: 39px; background: #fcd652; color: #000; }
.help-service-page__panel .help-query-filters .q-ljcx:hover { background: #f0c63d; }

.help-service-page__panel .mp-nr-query-list > p,
.help-service-page__panel .mp-nr-query-list > li {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr 2fr;
  float: none;
  width: 100%;
  height: auto;
  min-height: 44px;
  margin: 0;
  padding: 0;
}
.help-service-page__panel .mp-nr-query-list > p > *,
.help-service-page__panel .mp-nr-query-list > li > *,
.help-service-page__panel .mp-nr-query-list > li > em.ycl {
  box-sizing: border-box;
  float: none;
  width: auto;
  min-width: 0;
  padding: 12px 8px;
  line-height: 22px;
  overflow-wrap: anywhere;
}


@media (max-width: 1180px) {
 .help-service-page__panel .help-query-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .help-service-page__panel .help-query-filters { grid-template-columns: 1fr; }
  .help-service-page__panel .mp-box-s > .ts-txt { width: 100%; margin-left: 0; }
  .help-service-page__panel .rr-box .rr-box-w,
  .help-service-page__panel .rr-box .rr-box-w:nth-child(3) {
    grid-template-columns: 100px minmax(0, 1fr);
    row-gap: 10px;
  }
  .help-service-page__panel .rr-box .rr-box-w > span { width: 100px; }
  .help-service-page__panel .rr-box .rr-box-w > em { grid-column: 1; text-align: right; }
  .help-service-page__panel .rr-box .rr-box-w:nth-child(3) > select { grid-column: 2; }
}
