/* Shared responsive layer for the legacy JSP site. Desktop rules remain authoritative. */
img, video, canvas { max-width: 100%; }
.mobile-only { display: none !important; }
.mobile-upload-hint { display: none; }
.face_example .image-guidance > strong { display: none; }
.mobile-user-page-title { display: none; }
.mobile-api-view { display: none !important; }
.private-qr-title,
.private-qr-guide { display: none; }

/* Wide documents and result payloads must never expand the viewport. */
.responsive-table,
.API_document,
.exhibition,
pre,
code { max-width: 100%; }
.responsive-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.responsive-table > table { min-width: 640px; }
.exhibition pre,
#jsonrslt,
#txtrslt { white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }

/* Keep desktop API documentation aligned with the free-trial content area. */
@media screen and (min-width: 1025px) {
  .API_document {
    box-sizing: border-box;
    width: calc(100% - 70px);
    min-width: 0;
    max-width: 1280px;
    margin-right: auto;
    margin-left: auto;
  }
}

/* News center: responsive list cards and touch-friendly pagination. */
@media screen and (max-width: 768px) {
  .news_head,
  .news,
  .news > .container,
  .news .paging_word,
  .news .end {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  .news_head {
    overflow: hidden;
    background: #eef4e5;
  }

  .news_head .news_banner {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    height: clamp(140px, 26vw, 190px);
    object-fit: cover;
    object-position: 24% center;
  }

  .news {
    padding-bottom: 28px;
    background-size: auto 240px;
  }

  .news > .container {
    margin: 0 auto;
    padding: 0 18px !important;
    overflow: visible;
  }

  .news .crumbs {
    display: flex;
    margin: 0;
    padding: 18px 0 14px;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px 6px;
    border-bottom: 1px solid #edf0f3;
    font-size: 13px;
    line-height: 1.5;
  }

  .news .paging_word {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 18px 0 4px;
  }

  .news .paging_word > a {
    display: block;
    min-width: 0;
    color: inherit;
  }

  .news .paging_word .word {
    display: block;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 1px solid #e7ecf1;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(31, 56, 88, .08);
    overflow: hidden;
    box-sizing: border-box;
  }

  .news .paging_word .word > img {
    display: block;
    width: 100% !important;
    height: auto !important;
    min-height: 150px;
    aspect-ratio: 16 / 9;
    margin: 0 !important;
    border: 0;
    object-fit: cover;
    background: #eef2f6;
  }

  .news .paging_word .word > img[src="null"],
  .news .paging_word .word > img:not([src]) {
    display: none;
  }

  .news .paging_word .word > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 15px 16px 16px;
    box-sizing: border-box;
  }

  .news .paging_word .word h4,
  .news .paging_word .word p {
    grid-column: 1 / -1;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .news .paging_word .word h4 {
    margin: 0;
    color: #25364a;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .news .paging_word .word p {
    max-height: none;
    margin: 0;
    padding: 0;
    color: #6f7d8d;
    font-size: 14px;
    line-height: 1.65;
    -webkit-line-clamp: 3;
  }

  .news .paging_word .word span {
    align-self: center;
    min-width: 0;
    margin: 0;
    color: #8b98a7;
    font-size: 12px;
    line-height: 32px;
    white-space: nowrap;
  }

  .news .paging_word .word button {
    float: none;
    min-width: 88px;
    min-height: 34px;
    margin: 0;
    padding: 6px 14px;
    border-radius: 18px;
    box-sizing: border-box;
    white-space: nowrap;
  }

  .news .end {
    margin: 22px 0 8px;
    overflow: visible;
  }

  .news .end > span {
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
  }

  .news .paging {
    float: none !important;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .news .paging[style*="display: block"] {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "pre next"
      "numbers numbers"
      "jump-input jump";
    gap: 10px;
  }

  .news .paging #prePage { grid-area: pre; }
  .news .paging #nextPage { grid-area: next; }
  .news .paging #number { grid-area: numbers; }
  .news .paging #jumpWhere { grid-area: jump-input; }
  .news .paging #jumpPage { grid-area: jump; }

  .news .paging #prePage,
  .news .paging #nextPage,
  .news .paging #jumpPage {
    display: flex;
    min-height: 40px;
    padding: 0 14px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe5ef;
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
    font-size: 14px;
  }

  .news .paging #number {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: calc(100vw - 36px);
    height: 40px;
    float: none !important;
    overflow: hidden;
  }

  .news .paging #number p {
    height: 40px;
    white-space: nowrap;
  }

  .news .paging #number a {
    min-width: 36px;
    height: 36px;
    margin: 2px 4px;
    padding: 0 9px;
    line-height: 36px;
    text-align: center;
    box-sizing: border-box;
  }

  .news .paging #jumpWhere {
    width: 100% !important;
    height: 40px !important;
    margin: 0 !important;
    border-color: #dbe5ef;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 560px) {
  .news .paging_word {
    grid-template-columns: minmax(0, 1fr);
  }

  .news .paging_word .word > img {
    min-height: 0;
  }
}

@media screen and (max-width: 380px) {
  .news > .container {
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  .news .paging_word .word > div {
    padding-right: 14px;
    padding-left: 14px;
  }
}

/* Global e-passport verification: page-specific mobile composition. */
@media screen and (max-width: 768px) {
  .product_head.nfc_banner {
    min-height: 0 !important;
    background-position: 66% center !important;
  }
  .product_head.nfc_banner::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: auto;
    height: auto;
    background: linear-gradient(90deg, rgba(7, 20, 42, .82), rgba(7, 20, 42, .56) 72%, rgba(7, 20, 42, .2));
    pointer-events: none;
  }
  .nfc_banner .product_txt {
    z-index: 1;
    padding-bottom: 34px;
  }

  .experienceNfc,
  .experienceNfc *,
  .exhibitionNfc,
  .exhibitionNfc * {
    box-sizing: border-box;
  }
  .experienceNfc {
    width: 100%;
    min-width: 0;
    background: #fff;
  }
  .experienceNfc .container {
    width: 100% !important;
    max-width: 560px !important;
    margin: 0 auto;
    padding: 36px 16px 8px !important;
    overflow: visible;
  }
  .experienceNfc h4 {
    margin-bottom: 34px;
    font-size: 24px;
    line-height: 1.35;
  }
  .experienceNfc .serialNum {
    display: flex;
    margin: 0 0 14px;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    text-align: left;
  }
  .experienceNfc .serialNum h5 {
    margin: 0;
    padding: 5px 12px;
    border-radius: 20px;
    color: #176fc0;
    background: #eaf4ff;
    font-size: 15px;
    line-height: 1.4;
  }
  .experienceNfc .serialNum span {
    position: static;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
  }
  .experienceNfc .experienceList {
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 16px;
    margin-bottom: 34px;
  }
  .experienceNfc .integration {
    width: 100%;
    min-width: 0;
    text-align: center;
  }
  .experienceNfc .experienceList h5 {
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1.4;
  }
  .experienceNfc .experience {
    width: 100%;
    max-width: 270px;
    margin: 0 auto;
    padding: 15px 18px 13px;
    border-color: #e4eaf2;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(26, 63, 103, .1);
  }
  .experienceNfc h6 {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.5;
  }
  .experienceNfc .experience > img {
    width: min(100%, 200px);
    height: auto;
    margin: 0 auto;
  }
  .experienceNfc .supportSystem {
    margin-top: 10px;
    justify-content: center;
    gap: 16px;
  }
  .experienceNfc .supportSystem img {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    object-fit: contain;
  }
  .experienceNfc .description {
    display: grid;
    min-width: 0;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    padding: 10px;
    border: 1px solid #e6edf4;
    border-radius: 14px;
    background: #f4f9fb;
  }
  .experienceNfc .description ul {
    min-width: 0;
    padding: 0;
  }
  .experienceNfc .description li {
    min-width: 0;
    margin-bottom: 8px;
    padding: 11px 12px;
    align-items: flex-start;
    border: 1px solid #edf1f5;
    box-shadow: 0 3px 10px rgba(29, 64, 98, .04);
  }
  .experienceNfc .description li img {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    object-fit: contain;
  }
  .experienceNfc .description li p {
    min-width: 0;
    margin: 0 0 0 10px;
    color: #526176;
    font-size: 14px;
    line-height: 1.65;
    overflow-wrap: anywhere;
  }
  .experienceNfc .elementsImg {
    min-height: 0;
    padding: 8px 0 2px;
  }
  .experienceNfc .elementsImg img,
  .experienceNfc .elementsImg img.animate-up,
  .experienceNfc .elementsImg:hover img {
    position: static;
    display: block;
    width: min(72%, 250px);
    margin: 0 auto;
    transform: none;
    animation: none;
  }

  .experienceNfc + .advantage .contact {
    display: flex;
    margin: -10px 0 20px;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 14px;
    line-height: 1.6;
  }
  .experienceNfc + .advantage .contact a {
    margin-left: 0;
    font-size: 17px;
  }
  .experienceNfc + .advantage .layout article {
    padding: 18px;
    border-radius: 12px;
  }
  .experienceNfc + .advantage .layout article h5 {
    font-size: 19px;
  }
  .experienceNfc + .advantage .layout article p {
    position: relative;
    z-index: 1;
    font-size: 14px;
    line-height: 1.65;
  }

  .exhibitionNfc {
    width: 100%;
    min-width: 0;
    padding: 34px 0 40px;
    background: #fff;
  }
  .exhibitionNfc .container {
    display: grid;
    width: 100% !important;
    max-width: 560px !important;
    margin: 0 auto;
    padding: 0 16px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    justify-items: stretch;
    gap: 26px 14px;
    overflow: visible;
  }
  .exhibitionNfc .flowChart {
    width: 100%;
    min-width: 0;
    grid-column: 1 / -1;
    padding: 12px;
    border: 1px solid #e5ebf2;
    border-radius: 14px;
    background: #f8fafc;
    box-shadow: 0 8px 24px rgba(26, 63, 103, .07);
  }
  .exhibitionNfc .flowChart img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
  }
  .exhibitionNfc .phoneModule {
    width: 100%;
    min-width: 0;
  }
  .exhibitionNfc .phoneModule h6 {
    margin-bottom: 9px;
    font-size: 15px;
    line-height: 1.4;
  }
  .exhibitionNfc .phoneBox {
    width: min(100%, 178px);
    margin: 0 auto;
  }
  .exhibitionNfc .videoModule {
    top: 3.9%;
    left: 8%;
    width: 84%;
    height: 91.5%;
    border-radius: 9% / 4%;
  }
  .exhibitionNfc .phoneBox video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media screen and (max-width: 380px) {
  .exhibitionNfc .container {
    gap: 22px 10px;
    padding-right: 12px !important;
    padding-left: 12px !important;
  }
  .exhibitionNfc .phoneBox {
    width: min(100%, 158px);
  }
}

@media screen and (max-width: 1024px) {
  html, body { width: 100%; min-width: 0 !important; overflow-x: hidden; }
  .container { width: auto !important; max-width: 100% !important; padding-left: 24px !important; padding-right: 24px !important; }
  .header, .footer, .example, .API_document, .advantage > div, .layout { width: auto !important; max-width: 100% !important; }
  .nav_list section { width: 100% !important; padding-left: 24px; padding-right: 24px; }
  .product_txt { width: 70%; transform: translate(7%, -43%); }
  .example { padding-left: 24px; padding-right: 24px; }
  .example section { display: flex !important; gap: 28px; align-items: flex-start; }
  .example section .word { flex: 1; min-width: 0 !important; margin-left: 0 !important; }
  .example .imgL { flex: 0 1 50%; max-width: 528px; }
  .face_example section { padding-left: 0 !important; padding-right: 0 !important; }
  .face_example .face { width: calc(50% - 14px) !important; padding: 0 !important; border: 0 !important; }
}

@media screen and (max-width: 768px) {
  html {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  body {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    font-size: 14px;
    line-height: 1.6;
  }
  .desktop-only { display: none !important; }
  .mobile-only { display: block !important; }
  a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
  button, input, select, textarea { font-size: 16px; }

  /* Header and footer degrade to compact, scroll-safe structures without changing JSP. */
  nav, footer,
  .banner, .product_head, .screens, .screen,
  .second_screen, .third_screen, .fourth_screen, .fifth_screen,
  .application_screen, .Counter, .advantage, .API_document,
  .transaction, .container1, .example {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  nav { min-width: 0 !important; }
  .header {
    display: flex;
    align-items: center;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 60px;
    margin: 0 !important;
    padding: 0 12px;
  }
  .header, .header *, .product_txt, .product_txt *,
  .screens, .screens *, .example, .example *,
  .API_document, .API_document *, .advantage, .advantage * { box-sizing: border-box; }
  .head_logo { display: block; flex: 1 1 auto; min-width: 0; margin: 0; float: none !important; white-space: nowrap; }
  .head_logo a { display: flex; align-items: center; min-width: 0; }
  .head_logo img { flex: 0 0 auto; width: 88px; margin: 10px 0; padding: 0; border-right: 0; }
  .head_logo span { display: none !important; }
  .head_list { display: none !important; }
  .IOSNav {
    position: absolute;
    top: 0;
    right: 54px;
    z-index: 12;
    display: block !important;
    height: 60px;
    margin: 0 !important;
    float: none !important;
  }
  .IOSNav > li { display: flex; align-items: center; height: 60px; list-style: none; }
  .IOSNav a,
  #mobile_1 .IOSNav a, #mobile_ .IOSNav a {
    display: inline-flex !important;
    align-items: center;
    height: 60px !important;
    margin: 0 4px !important;
    padding: 0 2px;
    font-size: 14px !important;
    line-height: 60px !important;
    white-space: nowrap;
  }
  nav.blackNav .IOSNav, nav.blackNav .IOSNav a { color: #fff !important; }
  nav:not(.blackNav) .IOSNav, nav:not(.blackNav) .IOSNav a { color: #333 !important; }
  .IOSNav .welvcome > a { display: inline-block !important; max-width: 108px; overflow: hidden; text-overflow: ellipsis; }
  .header #navToggle {
    display: block !important;
    flex: 0 0 38px;
    width: 38px;
    height: 60px;
    margin-left: auto;
    padding: 8px 0 25px 12px;
    float: none !important;
    box-sizing: border-box;
  }
  nav:not(.blackNav) .IOSNav a { color: #333 !important; }
  nav:not(.blackNav) #navToggle span,
  nav:not(.blackNav) #navToggle span::before,
  nav:not(.blackNav) #navToggle span::after { background: #333; }
  .m_nav {
    display: block !important;
    visibility: hidden !important;
    pointer-events: none;
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    height: 100dvh;
    left: 0 !important;
    right: auto !important;
    opacity: 0;
    overflow-x: hidden;
    overflow-y: auto;
    transform: translateX(100%) !important;
    -webkit-transform: translateX(100%) !important;
  }
  .m_nav.open {
    visibility: visible !important;
    pointer-events: auto;
    opacity: 1;
    transform: translateX(0) !important;
    -webkit-transform: translateX(0) !important;
  }
  body.mobile-nav-open { overflow: hidden !important; }
  .m_nav .top { position: sticky; top: 0; z-index: 3; display: flex; min-height: 60px; align-items: center; padding: 10px 56px 10px 16px; background: #fff; border-bottom: 1px solid #edf0f5; }
  .m_nav .logo { display: block; width: auto !important; margin: 0 !important; text-align: left !important; }
  .m_nav .logo img { display: block; width: 195px; max-width: calc(100vw - 88px); height: auto !important; }
  .m_nav .m_ul li { padding: 0 16px; }
  .m_nav .m_ul li > a, .m_nav .dropdown_menu h3 { height: 50px; font-size: 16px; line-height: 50px; }
  .m_nav .dropdown_menu section { display: block !important; width: 100% !important; padding: 0 !important; }
  .m_nav .dropdown_menu article { width: 100% !important; }
  .m_nav .mobile-products .dropdown_menu .lists { width: 100%; }
  .m_nav .dropdown_menu .lists a { width: 100% !important; height: auto !important; padding: 12px 8px 12px 24px !important; font-size: 14px !important; line-height: 1.45 !important; white-space: normal; }
  .m_nav .mobile-applications > .dropdown_menu { display: block !important; }
  .m_nav .mobile-applications > a { cursor: default; }
  .m_nav .mobile-applications > a::after { display: none; }
  .m_nav .mobile-applications > .dropdown_menu > a {
    height: auto !important;
    padding: 10px 8px 10px 24px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    text-indent: 0 !important;
    white-space: normal;
  }

  /* Personal center shell and iframe pages. */
  .users_head, .users_banner {
    width: 100% !important;
    min-width: 0 !important;
  }
  .users_banner {
    display: block;
    height: 104px;
    object-fit: cover;
    object-position: center;
  }
  .users_basic {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 0 24px !important;
    overflow: visible !important;
  }
  .users_basic .crumbs {
    margin: 0 !important;
    padding: 12px 16px;
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .users_basic .mobile-user-page-title {
    display: flex;
    min-height: 72px;
    align-items: center;
    margin: 0;
    padding: 18px 16px 14px;
    border-bottom: 1px dashed #c5c5c5;
    box-sizing: border-box;
    background: #fff;
  }
  .users_basic .mobile-user-page-title strong {
    color: #c4c4c4;
    font-size: 20px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
  .users_basic .mobile-user-page-title span {
    margin-left: 7px;
    padding-left: 7px;
    border-left: 1px solid #c3c3c3;
    color: #727171;
    font-size: 15px;
    line-height: 1.35;
    white-space: nowrap;
  }
  .users_basic aside {
    display: flex;
    float: none !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    gap: 8px;
    padding: 10px 12px;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    background: #f4f7fb;
    -webkit-overflow-scrolling: touch;
  }
  .users_basic aside > label, .users_basic aside h3 { display: none !important; }
  .users_basic aside ul {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
  .users_basic aside li { flex: 0 0 auto; line-height: normal !important; }
  .users_basic aside li a {
    width: auto !important;
    height: 38px !important;
    padding: 0 14px;
    border: 1px solid #dbe3ef;
    border-radius: 19px;
    box-sizing: border-box;
    background: #fff;
    color: #405168;
    font-size: 13px;
    line-height: 36px;
    text-indent: 0 !important;
    white-space: nowrap;
  }
  .users_basic aside li a::after { display: none !important; }
  .users_basic aside li.present a {
    border-color: #2878e4;
    background: #2878e4;
    color: #fff;
  }
  .users_basic .iframeUser {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 480px;
    height: auto;
    border: 0 !important;
  }

  /* Forms rendered inside the personal-center iframe. */
  body#move, body.callDetail { width: 100% !important; min-width: 0 !important; overflow-x: hidden; }
  .Rhead {
    margin: 16px 16px 0 !important;
    padding: 8px 0 12px !important;
  }
  .Rhead strong { font-size: 20px !important; overflow-wrap: anywhere; }
  .Rhead span { font-size: 15px !important; }
  .users_right {
    width: auto !important;
    max-width: none !important;
    margin: 20px 16px 32px !important;
    padding: 0 !important;
    box-sizing: border-box;
  }
  .users_right p {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 0 !important;
    line-height: 1.5 !important;
  }
  .users_right strong, .basics strong { width: 100% !important; }
  .users_right input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
  .firm select, .callDetail input {
    width: 100% !important;
    max-width: 100% !important;
    height: 42px !important;
    margin: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box;
  }
  .users_right button, .callDetail button {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 42px;
    margin: 8px 0 0 !important;
  }
  .users_right .error { margin: 0 !important; }
  .passwd .firmGrade, .passwd .cipher { margin-left: 0 !important; padding-left: 0 !important; }
  .credentialSecretItem { padding-right: 0 !important; }
  .copyCredentialsBtn { position: static !important; width: 100% !important; margin: 8px 0 0 !important; }

  .serviceList, .subaccount, .userForm, .userInvoice, .users_remind, .userSubAccount {
    width: auto !important;
    max-width: none !important;
    margin: 16px !important;
    padding: 0 !important;
    box-sizing: border-box;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .serviceList table { min-width: 620px; }
  .subaccount table, .userSubAccount .layui-table-view { min-width: 720px; }
  .userForm table { min-width: 680px; }
  .userInvoice table { min-width: 560px; }
  .users_remind table { min-width: 520px; }
  .users_remind .users_right { margin: 16px 0 24px !important; }
  .callDetail form { margin: 16px !important; padding: 0 !important; }
  .callDetail label { display: block; margin: 0 0 12px !important; }
  .callDetail .text { margin-bottom: 16px !important; line-height: 1.5 !important; }
  .surType .surplusList {
    right: 0 !important;
    bottom: 48px !important;
    width: 100% !important;
    max-height: 55vh;
    box-sizing: border-box;
    overflow-y: auto;
  }

  /* Remaining-balance reminders: replace the desktop table and fixed-width picker. */
  .users_remind,
  .users_remind * {
    box-sizing: border-box;
  }

  .users_remind {
    overflow: visible !important;
  }

  .users_remind .users_right.surplus {
    width: auto !important;
    margin: 0 0 26px !important;
  }

  .users_remind .remind {
    width: 100%;
    padding: 0 !important;
  }

  .users_remind h4 {
    margin: 4px 0 12px !important;
    color: #26384d;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.5;
  }

  .users_remind table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent;
    overflow: visible !important;
  }

  .users_remind table tbody {
    display: block !important;
    width: 100% !important;
  }

  .users_remind table tr:first-child {
    display: none !important;
  }

  .users_remind table tr:not(:first-child) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 12px;
    border: 1px solid #e1e8f0;
    border-radius: 10px;
    background: #fff !important;
    box-shadow: 0 5px 16px rgba(28, 56, 88, .07);
    overflow: hidden;
  }

  .users_remind table.is-reminder-collapsed {
    display: none !important;
  }

  .users_remind table td {
    display: flex;
    min-width: 0;
    min-height: 66px;
    padding: 11px 13px !important;
    flex-direction: column;
    justify-content: center;
    border: 0;
    border-bottom: 1px solid #edf1f5;
    color: #26384d;
    font-size: 14px !important;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  .users_remind table td:nth-child(2n) {
    border-left: 1px solid #edf1f5;
  }

  .users_remind table td::before {
    display: block;
    margin-bottom: 3px;
    color: #8a98a8;
    font-size: 12px;
    line-height: 1.4;
  }

  .users_remind table td:nth-child(1) {
    grid-column: 1 / -1;
  }

  .users_remind table td:nth-child(1)::before { content: "产品类型"; }
  .users_remind table td:nth-child(2)::before { content: "提醒下限"; }
  .users_remind table td:nth-child(3)::before { content: "手机号码"; }
  .users_remind table td:nth-child(4)::before { content: "邮箱"; }
  .users_remind table td:nth-child(5)::before { content: "提醒状态"; }

  .users_remind table td:nth-child(5) {
    grid-column: 1 / -1;
    min-height: 58px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-bottom: 0;
  }

  .users_remind table td:nth-child(5)::before {
    margin: 0;
    color: #5f6f81;
    font-size: 14px;
  }

  .users_remind .onoffswitch {
    flex: 0 0 83px;
    margin-left: 12px;
  }

  .users_remind #more {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 42px;
    margin-top: 6px;
    padding: 6px 12px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    clear: both;
    border: 1px solid #cfe2f7;
    border-radius: 9px;
    background: #edf6ff;
    color: #2878d4;
    font-size: 14px;
    line-height: 28px;
  }

  .users_remind table.is-reminder-collapsed + #more {
    margin-top: 0;
  }

  .users_remind #more span {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    vertical-align: middle !important;
  }

  .users_remind .users_right > p,
  .users_remind .surType {
    width: 100%;
    margin: 12px 0 0 !important;
    padding: 14px !important;
    border: 1px solid #e2e9f1;
    border-radius: 10px;
    background: #fff;
  }

  .users_remind .users_right > p strong,
  .users_remind .surType > strong {
    display: block;
    width: 100% !important;
    margin: 0 0 8px !important;
    color: #405168;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
  }

  .users_remind .users_right > p input:not([type="hidden"]) {
    width: 100% !important;
    height: 42px !important;
    padding: 0 12px !important;
    border: 1px solid #d7e0ea;
    border-radius: 7px;
    background: #f9fbfd;
  }

  .users_remind .mobileSpan {
    display: block;
    margin: 0 !important;
    color: #e05743;
    font-size: 12px;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .users_remind .surType {
    position: relative;
  }

  .users_remind .surType .sPT {
    display: block;
    width: 100% !important;
    min-height: 42px;
    max-height: 108px;
    padding: 5px 34px 5px 10px;
    border-color: #d7e0ea;
    background: #f9fbfd;
    line-height: 30px;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .users_remind .surType .sPT::before {
    top: 17px;
  }

  .users_remind .surType .sPT a {
    display: inline-block;
    max-width: 100%;
    margin: 2px 4px 2px 0;
    padding: 0 8px;
    border-radius: 14px;
    background: #e7f2ff;
    color: #2878d4;
    line-height: 26px;
    overflow-wrap: anywhere;
  }

  .users_remind .check_hint {
    position: static;
    display: block;
    width: 100%;
    margin: 6px 0 0;
    background-position: left center;
    line-height: 22px;
  }

  .users_remind .surType .surplusList {
    top: calc(100% + 8px) !important;
    right: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    z-index: 20;
    width: 100% !important;
    max-height: 360px;
    margin: 0;
    padding: 10px;
    border-color: #5daee9;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(25, 61, 99, .2);
    overflow: hidden;
  }

  .users_remind .surType .surplusList ul {
    display: flex;
    margin: 0;
  }

  .users_remind .surType .surplusList li {
    flex: 1 1 50%;
    width: auto;
    min-height: 38px;
    line-height: 38px;
  }

  .users_remind .surType .surplusList > section {
    max-height: 285px !important;
    padding: 0 4px 8px;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .users_remind .surType .surplusList article {
    margin: 6px 0 0;
  }

  .users_remind .surType .surplusList article label {
    width: calc(50% - 4px) !important;
    min-height: 38px;
    margin: 2px 0 !important;
    padding: 7px 5px;
    vertical-align: top;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .users_remind .surType input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    margin: 0 6px 0 0;
    vertical-align: middle;
  }

  .users_remind #saveButton {
    width: 100% !important;
    min-height: 44px;
    margin: 16px 0 0 !important;
    border-radius: 22px;
  }
  .userSubAccount > header > header { display: flex; flex-wrap: wrap; gap: 8px; }
  .userSubAccount .layui-input-inline { flex: 1 1 180px; margin: 0 !important; }
  .userSubAccount .expandAll { float: none !important; }

  #jxpay_popup {
    left: 16px !important;
    top: 8vh !important;
    width: calc(100% - 32px) !important;
    max-height: 84vh;
    margin-left: 0 !important;
    overflow-y: auto;
  }
  #jxpay_popup > img, #jxpay_popup .title img { display: none !important; }
  #jxpay_popup .jxp_payment_body label { display: block; margin: 12px 0 !important; }
  footer { padding: 28px 16px !important; }
  .footer { display: block !important; }
  .footer dl { width: 100% !important; margin: 0 0 24px !important; padding: 0 !important; border: 0 !important; float: none !important; }
  .footer dl a { max-width: 100%; white-space: normal !important; }

  /* Home page carousel has desktop artwork; show the complete composition on phones. */
  .banner, .banner_list, .banner_list li {
    width: 100% !important; min-width: 0 !important; height: 56vw !important;
    min-height: 250px !important; max-height: 340px !important;
  }
  .banner_list li {
    background-repeat: no-repeat !important;
    background-position: center top !important;
    background-size: 100% auto !important;
  }
  /* This artwork is substantially wider than the other slides. Keep its title
     and feature panels inside the phone viewport while retaining readability. */
  .banner_list .bannerHS {
    background-color: #e5f0ff;
    background-size: 120% auto !important;
  }
  .banner .notice {
    box-sizing: border-box;
    width: 100% !important;
    height: 48px;
    overflow: hidden;
  }
  .banner .notice a {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    width: 100% !important;
    max-width: 100% !important;
    height: 48px;
    margin: 0 !important;
    padding: 0 12px;
    line-height: 1.2;
    background-position: 12px center !important;
    background-size: 20px;
  }
  .banner .notice h2,
  .banner .notice span,
  .banner .notice i {
    float: none !important;
    min-width: 0;
    margin: 0 !important;
  }
  .banner .notice h2 {
    padding-left: 28px;
    font-size: 15px;
    text-indent: 0;
    white-space: nowrap;
  }
  .banner .notice span {
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .banner .notice i {
    font-size: 12px;
    font-style: normal;
    white-space: nowrap;
  }
  .circle_btns { bottom: 58px; transform: translateX(-50%); }
  .slide_btns { display: none !important; }
  .screens, .screen, .second_screen, .third_screen, .fourth_screen, .fifth_screen, .application_screen, .Counter section {
    width: 100% !important; max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important;
  }
  .screens { padding: 36px 16px !important; }
  .screens h3 { margin-bottom: 42px !important; font-size: 24px; }
  .screens em { font-size: 30px; }
  .second_screen > .screen > section,
  .third_screen > .screen > section { display: grid; grid-template-columns: 1fr; gap: 12px; overflow: visible; }
  .second_screen a, .third_screen a {
    float: none !important; display: block; width: 100% !important; height: auto !important; min-height: 190px;
    margin: 0 !important; padding: 22px 12px !important;
  }
  .second_screen a img { width: 68px; height: 68px; }
  .second_screen h4, .third_screen h4 { margin: 12px 0 8px; font-size: 17px; }
  .second_screen a p, .third_screen a p { height: 42px; }
  .fourth_screen section { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 28px; }
  .fourth_screen article { display: block; width: 100% !important; padding: 18px 10px !important; border: 1px solid #e8edf4 !important; border-radius: 10px; }
  .fifth_screen p, .fifth_screen ul { width: 100% !important; }
  .fifth_screen dl { width: 50% !important; padding: 8px !important; margin-bottom: 24px !important; }
  .Counter { height: auto; }
  .Counter section { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 32px 16px !important; }
  .Counter span, .Counter dl { width: 100% !important; margin: 0 !important; }
  .suspend, .sideR { display: none !important; }
  .noticeBack {
    z-index: 10000 !important;
  }
  .noticeFull {
    box-sizing: border-box;
    width: calc(100% - 32px) !important;
    max-width: 520px;
    height: auto !important;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    left: 50% !important;
    top: 50% !important;
    z-index: 10001 !important;
    margin: 0 !important;
    transform: translate(-50%, -50%);
  }
  .noticeFull .mainTxT {
    position: relative;
    inset: auto;
    box-sizing: border-box;
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    padding: 46px 20px 24px;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .24);
    -webkit-overflow-scrolling: touch;
  }
  .noticeFull .intro-text {
    display: block;
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100%;
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .noticeFull .intro-text .indent,
  .noticeFull .intro-text .align {
    box-sizing: border-box;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-wrap: break-word !important;
    word-break: break-all !important;
  }
  .noticeFull .intro-text .indent * {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-wrap: break-word !important;
    word-break: break-all !important;
  }
  .noticeFull .mainTxT,
  .noticeFull .mainTxT p,
  .noticeFull .mainTxT div,
  .noticeFull .mainTxT span {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-wrap: break-word !important;
    word-break: break-all !important;
  }
  .noticeFull .indent {
    text-indent: 0 !important;
  }
  body.notice-open {
    overflow: hidden !important;
  }
  body.notice-open #suspend,
  body.notice-open .suspend,
  body.notice-open .sideR {
    display: none !important;
  }
  .noticeFull i {
    top: 8px !important;
    right: 8px !important;
    z-index: 2;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0 !important;
    border-radius: 50%;
    background: #f2f5f8;
    font-size: 16px !important;
    line-height: 34px;
  }
  .noticeFull .Lpic, .noticeFull .Rpic, .noticeFull .Lbg, .noticeFull .Rbg { display: none; }

  /* Marketing banner: readable text over a calm image crop. */
  .product_head { height: auto !important; min-height: 350px !important; background-position: 62% center !important; }
  .product_head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,20,42,.88), rgba(7,20,42,.58) 68%, rgba(7,20,42,.18)); }
  .product_txt { position: relative !important; inset: auto !important; z-index: 1; width: 100% !important; max-width: none !important; padding: 82px 16px 28px; transform: none !important; }
  .product_txt h3 { font-size: 24px; line-height: 1.3; }
  .product_txt p { width: 100%; max-width: 100%; overflow: visible; white-space: normal; overflow-wrap: anywhere; font-size: 14px; line-height: 1.65; max-height: none; }
  .product_txt a { min-width: 0; min-height: 42px; margin: 14px 8px 0 0 !important; padding: 8px 16px; font-size: 14px; }

  /* Product experience workspace: upload/preview first, controls second, result last. */
  .example { width: auto !important; min-width: 0 !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; padding: 36px 16px 0 !important; }
  .example h4, .advantage h4, .API_document h4, .transaction h4, .headlineH4 { margin-bottom: 36px !important; font-size: 24px !important; line-height: 1.35 !important; }
  .example section, .face_example section, .IdentityCard section, .verification_bankCard section {
    display: flex !important; flex-direction: column; gap: 20px; width: 100% !important; padding: 0 !important; margin-bottom: 24px;
  }
  .example_zj section > article, .example section > article {
    width: 100% !important; margin: 28px 0 0 !important; float: none !important; border: 1px solid #e3e9f2; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgba(25,50,90,.08);
  }
  .example .imgL, .example section .img_show1, #embed, #embed2, .previewBase {
    float: none !important; width: 100% !important; max-width: 100% !important; height: auto !important; min-height: 220px; aspect-ratio: 4 / 3; padding: 0 !important; border-radius: 14px; background: #f4f7fb; overflow: hidden;
  }
  .example section .img_show, .example .imgL img, .previewBase img {
    width: 100% !important; height: 100% !important; max-height: 68vh; padding: 12px !important; object-fit: contain; position: static !important; transform: none !important;
  }
  .example section .word, .example .face, .IdentityCard .face, .verification_bankCard .face {
    float: none !important; width: 100% !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important;
  }
  .example .word h5 { margin: 0 0 12px; font-size: 21px; }
  .example .word p, .face p { max-width: 100% !important; padding: 0 !important; margin: 0 0 10px !important; font-size: 14px; line-height: 1.65; }
  .face p:first-child { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
  .face p:first-child span { flex: 1 1 180px; }

  /* File controls become large camera-friendly touch targets. */
  .example .select-btn, .example .btn-start, .face p a:not([class]), .face .select-btn1, .face .select-btn2, #btn-upload {
    display: inline-flex !important; align-items: center; justify-content: center; float: none !important; width: 100% !important; min-height: 48px; height: 48px !important; margin: 10px 0 0 !important; border-radius: 12px !important; line-height: 1.2 !important; text-indent: 0 !important; background-position: calc(50% - 44px) center !important; box-shadow: 0 7px 18px rgba(35,103,204,.18);
  }
  .example .select-btn { margin-bottom: 8px !important; }
  .example input[type="file"] { width: 100% !important; height: 100% !important; font-size: 16px; }
  .mobile-upload-hint { display: block; margin: 4px 0 12px; color: #64748b; font-size: 13px; text-align: center; }
  .example .label, .example .label input, .example input[type="text"], .example input[type="tel"], .example select, .select, .select0, .multi_box {
    width: 100% !important; max-width: 100% !important; min-width: 0 !important; margin-left: 0 !important; margin-right: 0 !important;
  }
  .example .label input, .example input[type="text"], .example input[type="tel"], .example select { min-height: 46px; padding: 9px 12px; }
  .example .label { display: flex; align-items: center; gap: 6px; }
  .example .label input { flex: 1 1 auto; }
  .select .placeholder, .select0 .placeholder1 { min-height: 46px; padding: 10px 12px; }
  .select .single, .select0 .multi_box { max-height: 45vh !important; overflow-y: auto; }
  .select0 .multi_box { left: 0 !important; right: auto !important; padding: 6px !important; }
  .multi_box #_citysheng {
    display: flex;
    width: 100% !important;
    height: auto !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .multi_box #_citysheng li {
    flex: 0 0 auto;
    width: auto !important;
    min-width: 72px;
    padding: 0 10px;
    white-space: nowrap;
  }
  .multi_box ._citys1 li { display: block; width: 100% !important; padding: 9px 10px; }
  .img_list, .exampleImgBox { display: flex !important; width: 100% !important; overflow-x: auto !important; gap: 10px; padding: 4px 0 8px; -webkit-overflow-scrolling: touch; }
  .img_list li, .face_example .img_list li, .exampleImgBox li { flex: 0 0 92px; float: none !important; margin: 0 !important; }
  .scan { max-width: calc(100% - 32px) !important; }

  /* Face comparison pages keep Step 1 and Step 2 side by side on mobile. */
  .face_example section {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 10px !important;
  }
  .face_example section > .face {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    width: 100% !important;
    min-width: 0 !important;
    padding: 9px !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 12px;
    box-sizing: border-box;
    background: #f8fafd;
    overflow: hidden;
  }
  .face_example .face > p:first-child {
    display: contents !important;
  }
  .face_example .face > p:first-child span {
    display: block;
    order: 1;
    flex: none !important;
    min-height: 38px;
    margin: 0 0 7px;
    color: #344054;
    font-size: 12px;
    line-height: 1.45;
  }
  .face_example .face > p:first-child em {
    display: inline;
    font-size: 13px;
  }
  .face_example .select-btn1,
  .face_example .select-btn2 {
    order: 3;
    width: 100% !important;
    min-height: 42px !important;
    height: 42px !important;
    margin: 8px 0 0 !important;
    font-size: 13px !important;
    border-radius: 9px !important;
    background-position: calc(50% - 38px) center !important;
  }
  .face_example .mobile-upload-hint {
    display: none !important;
  }
  .face_example .face .imgL,
  .face_example #embed,
  .face_example #embed2 {
    order: 2;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    border-radius: 9px;
  }
  .face_example .face .imgL img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    padding: 6px !important;
    box-sizing: border-box;
    object-fit: contain;
  }
  .face_example .face .img_list {
    position: relative;
    display: grid !important;
    order: 4;
    grid-template-columns: repeat(2, minmax(0, 62px));
    justify-content: center;
    align-content: center;
    gap: 5px;
    min-height: 104px;
    margin: 8px 0 0 !important;
    padding: 31px 7px 8px !important;
    border: 1px solid #e4eaf2;
    border-radius: 9px;
    box-sizing: border-box;
    background: #fff;
    overflow: hidden !important;
  }
  .face_example .face .img_list::before {
    content: "点击示例";
    position: absolute;
    top: 8px;
    left: 9px;
    color: #344054;
    font-size: 11px;
    font-weight: 600;
    line-height: 16px;
  }
  .face_example .face .img_list li {
    flex: 0 1 62px !important;
    width: 100% !important;
    height: 42px !important;
    margin: 0 !important;
  }
  .face_example .face .img_list img {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    object-fit: cover;
  }
  .face_example .image-guidance {
    order: 4;
    min-height: 104px;
    margin: 8px 0 0;
    padding: 7px 9px 8px;
    border: 1px solid #e4eaf2;
    border-radius: 9px;
    box-sizing: border-box;
    background: #fff;
  }
  .face_example .image-guidance > strong {
    display: block;
    margin-bottom: 3px;
    color: #344054;
    font-size: 11px;
    line-height: 16px;
  }
  .face_example .image-guidance p {
    position: relative;
    margin: 2px 0 0 !important;
    padding: 0 0 0 9px !important;
    color: #667085;
    font-size: 10px;
    line-height: 1.4;
  }
  .face_example .image-guidance p::before {
    content: "";
    position: absolute;
    top: .55em;
    left: 0;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #2f80ed;
  }

  /* Results are a separate card with sticky tabs and readable structured values. */
  .example > article { width: 100% !important; margin: 28px 0 0 !important; float: none !important; border: 1px solid #e3e9f2; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgba(25,50,90,.08); }
  .example > article > ul { position: sticky; top: 0; z-index: 2; display: flex; height: 48px !important; border: 0 !important; background: #f5f7fb; }
  .example > article > ul > li { flex: 1; width: auto !important; height: 48px; line-height: 48px !important; font-size: 15px; }
  .example > article > ul > li.nowadays { border: 0 !important; border-bottom: 3px solid #2878e4 !important; background: #fff; }
  .example section > article > ul { display: flex; width: 100%; height: 48px !important; border-bottom: 0 !important; background: #f5f7fb; }
  .example section > article > ul > li { flex: 1; float: none !important; width: auto !important; height: 48px; line-height: 48px !important; }
  .example section > article > ul > li.nowadays { border: 0 !important; border-bottom: 3px solid #2878e4 !important; }
  .example .exhibition { min-height: 180px; max-height: 58vh !important; margin: 0 !important; padding: 16px !important; border: 0 !important; background: #fff !important; font-size: 14px; overflow: auto; -webkit-overflow-scrolling: touch; }
  .example .exhibition .tab > div, .example .exhibition #txtrslt, .example .exhibition #jsonrslt { padding: 0 !important; }
  .example #tab2 > div { height: auto !important; max-height: 48vh; overflow: auto; }
  #txtrslt table { width: 100% !important; table-layout: fixed; }
  #txtrslt td, #txtrslt th { padding: 9px 8px !important; overflow-wrap: anywhere; word-break: break-word; vertical-align: top; }
  #txtrslt td:first-child { width: 38%; color: #64748b; }
  #jsonrslt { margin: 0; color: #16345f; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; line-height: 1.65; }
  .result-has-content::before { content: "识别完成"; display: inline-block; margin-bottom: 12px; padding: 3px 9px; border-radius: 12px; color: #16794b; background: #e8f8f0; font-size: 12px; }
  .result-empty::before { content: "识别或核验结果将在这里显示"; display: flex; min-height: 150px; align-items: center; justify-content: center; color: #8491a3; text-align: center; }

  .advantage { padding: 36px 16px !important; }
  .advantage > div, .advantage .layout { display: grid !important; grid-template-columns: 1fr !important; gap: 14px; }
  .advantage article { width: 100% !important; min-height: 0; }
  /* API documentation: keep the desktop table intact and render a separate compact mobile view. */
  .API_document {
    padding: 36px 14px 22px !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .API_document > table {
    min-width: 680px;
  }
  .API_document.api-mobile-enhanced {
    overflow: hidden !important;
    background: #f4f7fb;
  }
  .API_document.api-mobile-enhanced > table {
    display: none !important;
  }
  .API_document.api-mobile-enhanced > .mobile-api-view {
    display: block !important;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
  }
  .API_document.api-mobile-enhanced > h4 {
    margin-bottom: 18px !important;
  }
  .mobile-api-view-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 0 2px;
  }
  .mobile-api-view-hint {
    color: #7a8798;
    font-size: 13px;
  }
  .mobile-api-expand-all {
    min-height: 34px;
    padding: 5px 12px;
    border: 1px solid #c9dcf5;
    border-radius: 18px;
    background: #fff;
    color: #2473d4;
    font-size: 13px;
    line-height: 22px;
  }
  .mobile-api-section {
    margin-bottom: 12px;
    border: 1px solid #dfe6ef;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(31, 55, 88, .06);
    overflow: hidden;
  }
  .mobile-api-section-toggle {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 0;
    background: #fff;
    color: #24364f;
    text-align: left;
  }
  .mobile-api-section.is-open > .mobile-api-section-toggle {
    background: linear-gradient(90deg, #edf5ff, #f8fbff);
    color: #145cae;
  }
  .mobile-api-section-title {
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .mobile-api-section-indicator {
    position: relative;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #edf2f7;
  }
  .mobile-api-section-indicator::before,
  .mobile-api-section-indicator::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 6px;
    width: 10px;
    height: 2px;
    border-radius: 2px;
    background: #6c7b8d;
    transition: transform .2s ease;
  }
  .mobile-api-section-indicator::after {
    transform: rotate(90deg);
  }
  .mobile-api-section.is-open .mobile-api-section-indicator {
    background: #dcecff;
  }
  .mobile-api-section.is-open .mobile-api-section-indicator::before,
  .mobile-api-section.is-open .mobile-api-section-indicator::after {
    background: #2473d4;
  }
  .mobile-api-section.is-open .mobile-api-section-indicator::after {
    transform: rotate(0deg);
  }
  .mobile-api-section-panel {
    padding: 4px 14px 16px;
    border-top: 1px solid #e8edf4;
  }
  .mobile-api-section-panel[hidden] {
    display: none !important;
  }
  .mobile-api-meta {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: start;
    padding: 11px 0;
    border-bottom: 1px solid #edf1f6;
    font-size: 13px;
    line-height: 1.65;
  }
  .mobile-api-meta-label {
    color: #7a8798;
  }
  .mobile-api-meta-value {
    min-width: 0;
    color: #25364d;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .mobile-api-group-title {
    position: relative;
    margin: 18px 0 4px;
    padding-left: 10px;
    color: #34465e;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
  }
  .mobile-api-group-title::before {
    content: "";
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 0;
    width: 3px;
    border-radius: 2px;
    background: #4b91e8;
  }
  .mobile-api-parameter {
    padding: 13px 0;
    border-bottom: 1px solid #edf1f6;
  }
  .mobile-api-parameter:last-child {
    border-bottom: 0;
  }
  .mobile-api-parameter-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
  }
  .mobile-api-parameter-identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
  }
  .mobile-api-parameter-number {
    display: inline-flex;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #edf2f7;
    color: #738195;
    font-size: 11px;
  }
  .mobile-api-parameter-name {
    min-width: 0;
    padding: 0;
    background: transparent;
    color: #155fae;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 14px;
    font-weight: 600;
    overflow-wrap: anywhere;
  }
  .mobile-api-parameter-badges {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px;
  }
  .mobile-api-badge {
    display: inline-flex;
    min-height: 22px;
    align-items: center;
    padding: 2px 7px;
    border-radius: 11px;
    background: #eef2f6;
    color: #66758a;
    font-size: 11px;
    line-height: 18px;
    white-space: nowrap;
  }
  .mobile-api-required.is-required {
    background: #fff0ed;
    color: #d3543f;
  }
  .mobile-api-parameter-description {
    margin: 7px 0 0 29px;
    color: #5c697a;
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .mobile-api-parameter-description .item {
    display: flex;
    max-width: 100%;
    justify-content: space-between;
    gap: 12px;
    padding: 3px 0;
  }
  .mobile-api-parameter-description .item span {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .mobile-api-action {
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    padding: 9px 14px;
    border: 1px solid #bdd7f7;
    border-radius: 9px;
    background: #f3f8ff;
    color: #2473d4 !important;
    font-size: 14px;
  }
  .mobile-api-code-box {
    margin-top: 10px;
    border: 1px solid #dfe6ef;
    border-radius: 10px;
    background: #f7f9fc;
    overflow: hidden;
  }
  .mobile-api-code-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    border-bottom: 1px solid #dfe6ef;
    background: #fff;
  }
  .mobile-api-code-tabs {
    display: flex;
    min-width: 0;
    gap: 4px;
    padding: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-api-code-tabs::-webkit-scrollbar {
    display: none;
  }
  .mobile-api-code-tab {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 5px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #657388;
    font-size: 12px;
    line-height: 22px;
    white-space: nowrap;
  }
  .mobile-api-code-tab.is-active {
    background: #e7f1ff;
    color: #1768c5;
    font-weight: 600;
  }
  .mobile-api-copy {
    min-height: 32px;
    margin-right: 8px;
    padding: 5px 9px;
    border: 1px solid #d6e0ec;
    border-radius: 7px;
    background: #fff;
    color: #4e6077;
    font-size: 12px;
    line-height: 20px;
    white-space: nowrap;
  }
  .mobile-api-code {
    width: 100%;
    max-width: 100%;
    max-height: 58vh;
    margin: 0;
    padding: 14px;
    border: 0;
    box-sizing: border-box;
    background: #fff;
    color: #29384e;
    overflow-x: scroll;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #aab7c7 #edf1f5;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-api-code::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  .mobile-api-code::-webkit-scrollbar-track {
    background: #edf1f5;
  }
  .mobile-api-code::-webkit-scrollbar-thumb {
    border: 2px solid #edf1f5;
    border-radius: 6px;
    background: #aab7c7;
  }
  .mobile-api-code code {
    display: block;
    width: max-content;
    min-width: 100%;
    max-width: none;
    padding: 0 !important;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 12px;
    line-height: 1.65;
    tab-size: 4;
    white-space: pre !important;
    overflow: visible !important;
    overflow-wrap: normal;
    word-break: normal;
  }

  /* Product transaction history: render each desktop table row as a mobile card. */
  .transaction {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: 0 16px 48px !important;
    overflow: hidden;
  }
  .transaction *,
  .transaction *::before,
  .transaction *::after {
    box-sizing: border-box;
    max-width: 100%;
  }
  .transaction > .container1 {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 36px 0 0 !important;
  }
  .transaction article {
    display: block;
    margin: 0 0 18px !important;
    padding: 0 !important;
    color: #718096;
    font-size: 14px !important;
    line-height: 1.6;
  }
  .transaction .paging {
    display: flex;
    float: none !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin-top: 12px;
  }
  .transaction .paging a {
    float: none !important;
    box-sizing: border-box;
    min-height: 34px;
    padding: 0 9px !important;
    line-height: 34px !important;
  }
  .transaction .paging .num {
    flex: 0 1 150px;
    min-width: 0;
    max-width: 150px;
  }
  .transaction #jumpWhere {
    float: none !important;
    box-sizing: border-box;
    width: 46px !important;
    height: 34px !important;
  }
  .transaction table,
  .transaction table tbody {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
  }
  .transaction table {
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .transaction table tr:first-child {
    display: none !important;
  }
  .transaction table tr:not(:first-child) {
    display: block !important;
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 12px;
    padding: 8px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff !important;
    box-shadow: 0 3px 12px rgba(25, 55, 92, .06);
  }
  .transaction table tr:not(:first-child) > * {
    display: grid;
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0;
    grid-template-columns: 86px minmax(0, 1fr);
    align-items: start;
    padding: 10px 0 !important;
    border: 0 !important;
    border-bottom: 1px dashed #e8edf4 !important;
    color: #425466 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    text-align: left !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .transaction table tr:not(:first-child) > *::before {
    color: #718096;
    font-size: 13px;
    text-align: left;
  }
  .transaction table tr:not(:first-child) > *:nth-child(1)::before { content: "购买开发者"; }
  .transaction table tr:not(:first-child) > *:nth-child(2)::before { content: "订单金额"; }
  .transaction table tr:not(:first-child) > *:nth-child(3)::before { content: "订单套餐"; }
  .transaction table tr:not(:first-child) > *:nth-child(4)::before { content: "时间"; }
  .transaction table tr:not(:first-child) > *:last-child {
    border-bottom: 0 !important;
  }
  .lightspotModule > ul { display: grid !important; grid-template-columns: 1fr !important; gap: 12px !important; }
  .lightspotModule > ul > li { width: 100% !important; padding: 22px 18px !important; }

  /* Hide the legacy desktop viewer; mobile opens the source image natively. */
  #enlarge_box {
    display: none !important;
  }

  /* Product banner consultation dialog: compact, scroll-safe mobile layout. */
  body.product-modal-open {
    overflow: hidden !important;
  }
  body.product-modal-open #nb_icon_wrap,
  body.product-modal-open #newBridge,
  body.product-modal-open #nb_invite_wrap,
  body.product-modal-open .m-accessibility-entry {
    display: none !important;
  }
  .productPopUp.pop_up {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    padding: 16px 12px;
    box-sizing: border-box;
    background: rgba(10, 22, 39, .58);
    overflow: hidden;
    overscroll-behavior: contain;
    z-index: 10020 !important;
  }
  .productPopUp .pop_upMain {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    display: grid !important;
    width: calc(100vw - 24px) !important;
    max-width: 390px !important;
    max-height: calc(100vh - 32px) !important;
    max-height: calc(100dvh - 32px) !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin: 0 !important;
    padding: 20px 16px 18px !important;
    border-radius: 14px;
    box-sizing: border-box;
    background: #fff;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translate(-50%, -50%) !important;
    -webkit-overflow-scrolling: touch;
  }
  .productPopUp .pop_upMain .closeBtn {
    top: 10px !important;
    right: 10px !important;
    width: 28px !important;
    height: 28px !important;
    border: 0 !important;
    background: #f0f3f7;
    z-index: 2;
  }
  .productPopUp .pop_upMain .closeBtn::before,
  .productPopUp .pop_upMain .closeBtn::after {
    top: 7px !important;
    right: 13px !important;
    height: 14px !important;
    border-right-color: #64748b !important;
  }
  .productPopUp .pop_upImg {
    display: grid !important;
    width: 100% !important;
    min-width: 0;
    grid-template-columns: clamp(92px, 28vw, 112px) minmax(0, 1fr);
    align-items: center;
    justify-content: stretch;
    gap: 14px;
    margin: 0 !important;
    padding: 12px 40px 12px 12px;
    border: 1px solid #e4eaf2;
    border-radius: 10px;
    box-sizing: border-box;
    background: #f7f9fc;
  }
  .productPopUp .pop_upImg img {
    display: block;
    width: clamp(92px, 28vw, 112px) !important;
    height: clamp(92px, 28vw, 112px) !important;
    max-width: none !important;
    object-fit: contain;
  }
  .productPopUp .pop_upImg p {
    width: auto !important;
    margin: 0 !important;
    color: #526176;
    font-size: 13px !important;
    line-height: 1.55;
    text-align: left !important;
    overflow-wrap: anywhere;
  }
  /* Match the purchase-page gift dialog: a large, centered, scan-friendly QR panel. */
  .productPopUp #privatizationModule .pop_upImg,
  .productPopUp #passportReaderModule .pop_upImg,
  .productPopUp #billSystemModule .pop_upImg {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 17px 16px 14px !important;
    border-color: #e7edf5;
    border-radius: 12px;
    background:
      radial-gradient(circle at 8% 18%, rgba(84, 156, 245, .09), transparent 27%),
      radial-gradient(circle at 92% 80%, rgba(71, 199, 173, .08), transparent 29%),
      linear-gradient(155deg, #fbfdff 0%, #f5f9fe 100%);
  }
  .productPopUp #privatizationModule .private-qr-title,
  .productPopUp #passportReaderModule .private-qr-title,
  .productPopUp #billSystemModule .private-qr-title {
    display: block;
    order: 1;
    margin: 0;
    color: #25364d;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
  }
  .productPopUp #privatizationModule .pop_upImg p,
  .productPopUp #passportReaderModule .pop_upImg p,
  .productPopUp #billSystemModule .pop_upImg p {
    order: 2;
    width: 100% !important;
    margin: 4px 0 0 !important;
    color: #718096;
    font-size: 13px !important;
    line-height: 1.5;
    text-align: center !important;
  }
  .productPopUp #privatizationModule .pop_upImg img,
  .productPopUp #passportReaderModule .pop_upImg img,
  .productPopUp #billSystemModule .pop_upImg img {
    order: 3;
    width: clamp(168px, 49vw, 188px) !important;
    height: clamp(168px, 49vw, 188px) !important;
    margin: 13px auto 14px;
    padding: 6px;
    border-radius: 7px;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 5px 15px rgba(34, 61, 91, .13);
  }
  .productPopUp #privatizationModule .private-qr-guide,
  .productPopUp #passportReaderModule .private-qr-guide,
  .productPopUp #billSystemModule .private-qr-guide {
    display: block;
    order: 4;
    width: 100%;
    padding-top: 11px;
    border-top: 1px solid #e2e9f2;
    box-sizing: border-box;
    color: #8190a5;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
  }
  .productPopUp .pop_upTxt {
    width: 100%;
    min-width: 0;
  }
  .productPopUp .pop_upTxt h3 {
    margin: 0 0 9px !important;
    padding: 0;
    color: #18283e;
    font-size: 20px !important;
    line-height: 1.4;
  }
  .productPopUp .pop_upTxt > p {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    color: #425268;
    font-size: 14px !important;
    line-height: 1.75 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .productPopUp .pop_upTxt h4 {
    margin: 14px 0 7px !important;
    color: #26384f;
    font-size: 15px !important;
    line-height: 1.5;
  }
  .productPopUp .pop_upTxt section {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 10px;
    font-size: 14px !important;
    line-height: 1.6;
  }
  .productPopUp .pop_upTxt section span {
    color: #526176;
  }
  .productPopUp .pop_upTxt section a {
    min-width: 0;
    color: #176fd1;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .popout { width: calc(100% - 32px) !important; max-width: 420px; left: 50% !important; transform: translateX(-50%); }
}

@media screen and (max-width: 420px) {
  .container { padding-left: 16px !important; padding-right: 16px !important; }
  .product_txt { padding-top: 78px; }
  .product_txt a { width: 100%; margin-right: 0 !important; }
  .head_list .lists a { width: 100% !important; }
  .example .imgL, .example section .img_show1, #embed, #embed2, .previewBase { min-height: 200px; aspect-ratio: 1 / 1; }
}

/* Personal-center data views: replace desktop-width tables with readable cards. */
@media screen and (max-width: 768px) {
  .serviceList, .userForm, .userInvoice, .userSubAccount {
    overflow: visible !important;
  }

  .serviceList .service-card-table,
  .userInvoice .invoice-card-table {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    border: 0 !important;
    background: transparent;
  }
  .service-card-table > tbody,
  .invoice-card-table > tbody {
    display: block;
  }
  .service-card-table > tbody > tr:first-child,
  .invoice-card-table > thead {
    display: none;
  }
  .service-card-table > tbody > tr:not(:first-child),
  .invoice-card-table > tbody > tr {
    display: block;
    height: auto !important;
    min-height: 0 !important;
    margin-bottom: 12px;
    padding: 8px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 3px 12px rgba(25, 55, 92, .06);
  }
  .service-card-table td,
  .invoice-card-table td {
    display: grid;
    width: 100% !important;
    min-height: 38px;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    padding: 9px 0 !important;
    border: 0 !important;
    border-bottom: 1px dashed #e8edf4 !important;
    box-sizing: border-box;
    line-height: 1.55 !important;
    text-align: right !important;
    overflow-wrap: anywhere;
  }
  .service-card-table td:last-child,
  .invoice-card-table td:last-child { border-bottom: 0 !important; }
  .service-card-table td::before,
  .invoice-card-table td::before {
    color: #718096;
    font-size: 13px;
    text-align: left;
  }
  .service-card-table td:nth-child(1)::before { content: "服务类型"; }
  .service-card-table td:nth-child(2)::before { content: "购买次数"; }
  .service-card-table td:nth-child(3)::before { content: "剩余次数"; }
  .service-card-table td:nth-child(4)::before { content: "有效时限"; }
  .service-card-table:not(.service-year-card-table) td:nth-child(5)::before { content: "续购"; }
  .service-card-table td[colspan] {
    display: block;
    padding: 22px 8px !important;
    color: #718096;
    text-align: center !important;
  }
  .service-card-table td[colspan]::before { display: none; }
  .serviceList > button {
    width: 100% !important;
    min-height: 44px;
    margin: 4px 0 20px !important;
    border-radius: 6px;
  }

  .invoice-card-table td:nth-child(1)::before { content: "编号"; }
  .invoice-card-table td:nth-child(2)::before { content: "联系人"; }
  .invoice-card-table td:nth-child(3)::before { content: "金额"; }
  .invoice-card-table td:nth-child(4)::before { content: "抬头"; }
  .invoice-card-table td:nth-child(5)::before { content: "类型"; }
  .invoice-card-table td:nth-child(6)::before { content: "添加时间"; }
  .invoice-card-table .invoice-empty-row td[colspan] {
    display: block;
    padding: 28px 12px !important;
    color: #718096;
    text-align: center !important;
  }
  .invoice-card-table .invoice-empty-row td[colspan]::before { display: none; }
  .userInvoice > header { margin-bottom: 12px; }

  .userForm .paging_word { display: block; }
  .data-empty-state {
    margin-bottom: 16px;
    padding: 32px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #718096;
    background: #fff;
    text-align: center;
  }
  .userForm .mobile-order-card {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 12px !important;
    padding: 0 14px 8px;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 3px 12px rgba(25, 55, 92, .06);
  }
  .mobile-order-card tbody,
  .mobile-order-card tr {
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
  }
  .mobile-order-card .order-card-head {
    position: relative;
    min-height: 54px;
    padding: 11px 34px 10px 0;
    border-bottom: 1px solid #edf1f6;
    box-sizing: border-box;
  }
  .mobile-order-card .order-meta {
    display: block;
    width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    line-height: 1.65 !important;
    text-align: left !important;
    overflow-wrap: anywhere;
  }
  .mobile-order-card .order-meta span {
    display: block;
    float: none !important;
    color: #718096;
    font-size: 12px;
  }
  .mobile-order-card .order-head-spacer { display: none; }
  .mobile-order-card .order-delete {
    position: absolute;
    top: 14px;
    right: 0;
    display: block;
    width: 28px !important;
    padding: 0 !important;
    border: 0 !important;
  }
  .mobile-order-card .order-delete img { width: 20px; height: 20px; }
  .mobile-order-card tr:nth-child(2) td {
    display: grid;
    width: 100% !important;
    min-height: 42px;
    grid-template-columns: 80px minmax(0, 1fr);
    align-items: center;
    padding: 10px 0 !important;
    border: 0 !important;
    border-bottom: 1px dashed #e8edf4 !important;
    box-sizing: border-box;
    text-align: right !important;
    overflow-wrap: anywhere;
  }
  .mobile-order-card tr:nth-child(2) td::before {
    color: #718096;
    font-size: 13px;
    text-align: left;
  }
  .mobile-order-card tr:nth-child(2) td:nth-child(1)::before { content: "订单内容"; }
  .mobile-order-card tr:nth-child(2) td:nth-child(2)::before { content: "金额/状态"; }
  .mobile-order-card tr:nth-child(2) td:nth-child(3)::before { content: "操作"; }
  .mobile-order-card tr:nth-child(2) td:last-child { border-bottom: 0 !important; }
  .mobile-order-card tr:nth-child(2) td.ordertd {
    grid-template-columns: 80px repeat(2, minmax(0, 1fr));
    column-gap: 8px;
  }
  .mobile-order-card tr:nth-child(2) td.ordertd::before {
    grid-column: 1;
    grid-row: 1;
  }
  .mobile-order-card .ordertd button {
    width: 100% !important;
    min-height: 36px;
    margin: 0 !important;
    padding: 0 8px;
    background-image: none !important;
    background-color: #048ae1 !important;
    background-position: initial !important;
    background-repeat: no-repeat !important;
    color: #fff !important;
    font-size: 14px;
    line-height: 36px;
    white-space: nowrap;
    text-indent: 0 !important;
  }
  .mobile-order-card .ordertd button:first-of-type { grid-column: 2; grid-row: 1; }
  .mobile-order-card .ordertd button:last-of-type { grid-column: 3; grid-row: 1; }
  .mobile-order-card .ordertd button:only-of-type { grid-column: 2 / 4; }

  .userForm .end, .userInvoice .end {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    height: auto !important;
    padding: 10px 0 18px;
  }
  .userForm .paging, .userInvoice .paging {
    display: flex;
    float: none !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    width: 100%;
  }
  .userForm .paging a, .userInvoice .paging a {
    float: none !important;
    min-height: 34px;
    padding: 0 9px;
    box-sizing: border-box;
    line-height: 34px;
  }
  .userForm .paging input, .userInvoice .paging input {
    width: 48px !important;
    height: 34px !important;
    box-sizing: border-box;
  }

  /* Layui account table: surface each account as a field-labelled card. */
  .userSubAccount > header > header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 76px;
    gap: 8px;
  }
  .userSubAccount .addAccount,
  .userSubAccount .expandAll { grid-column: 1 / -1; }
  .userSubAccount .addAccount {
    width: 100%;
    min-height: 42px;
    margin: 0 !important;
  }
  .userSubAccount .layui-input-inline { min-width: 0; width: auto !important; }
  .userSubAccount #searchInput,
  .userSubAccount #searchBtn { width: 100% !important; height: 40px; box-sizing: border-box; }
  .userSubAccount .expandAll {
    justify-self: end;
    padding: 5px 0;
    color: #2878e4;
  }
  .userSubAccount .layui-table-view {
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    margin-top: 12px;
    border: 0 !important;
  }
  .userSubAccount .layui-table-header,
  .userSubAccount .layui-table-fixed { display: none !important; }
  .userSubAccount .layui-table-box { height: auto !important; }
  .userSubAccount .layui-table-main,
  .userSubAccount .layui-table-body {
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: visible !important;
  }
  .userSubAccount .layui-table-main > table,
  .userSubAccount .layui-table-body > table { width: 100% !important; }
  .userSubAccount .layui-table-main > table > tbody,
  .userSubAccount .layui-table-body > table > tbody { display: block; }
  .userSubAccount .layui-table-main > table > tbody > tr,
  .userSubAccount .layui-table-body > table > tbody > tr {
    display: grid;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    grid-template-columns: 1fr;
    margin-bottom: 12px;
    padding: 8px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 3px 12px rgba(25, 55, 92, .06);
  }
  .userSubAccount .layui-table-main > table > tbody > tr > td,
  .userSubAccount .layui-table-body > table > tbody > tr > td {
    display: grid !important;
    width: 100% !important;
    min-height: 40px;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: center;
    padding: 8px 0 !important;
    border: 0 !important;
    border-bottom: 1px dashed #e8edf4 !important;
    box-sizing: border-box;
  }
  .userSubAccount td[data-field="ocrKey"] { display: none !important; }
  .userSubAccount td[data-field="userName"]::before { content: "姓名"; }
  .userSubAccount td[data-field="mobile"]::before { content: "手机号"; }
  .userSubAccount td[data-field="company"]::before { content: "公司名称"; }
  .userSubAccount td[data-field="list"]::before { content: "调用明细"; }
  .userSubAccount td[data-field="recogType"]::before { content: "产品"; }
  .userSubAccount td[data-field="times"]::before { content: "已分配数量"; }
  .userSubAccount td[data-field="amountLeft"]::before { content: "数量"; }
  .userSubAccount .layui-table-view[lay-id="testReload"] > .layui-table-box > .layui-table-main > table > tbody > tr > td:nth-child(1)::before { content: "序号"; }
  .userSubAccount .layui-table-view[lay-id="testReload"] > .layui-table-box > .layui-table-main > table > tbody > tr > td:nth-child(7)::before { content: "操作"; }
  .userSubAccount .layui-table-view[lay-id="testReload"] > .layui-table-box > .layui-table-main > table > tbody > tr > td:nth-child(8)::before { content: "产品明细"; }
  .userSubAccount td[data-field="userName"]::before,
  .userSubAccount td[data-field="mobile"]::before,
  .userSubAccount td[data-field="company"]::before,
  .userSubAccount td[data-field="list"]::before,
  .userSubAccount td[data-field="recogType"]::before,
  .userSubAccount td[data-field="times"]::before,
  .userSubAccount td[data-field="amountLeft"]::before,
  .userSubAccount .layui-table-view[lay-id="testReload"] > .layui-table-box > .layui-table-main > table > tbody > tr > td:nth-child(1)::before,
  .userSubAccount .layui-table-view[lay-id="testReload"] > .layui-table-box > .layui-table-main > table > tbody > tr > td:nth-child(7)::before,
  .userSubAccount .layui-table-view[lay-id="testReload"] > .layui-table-box > .layui-table-main > table > tbody > tr > td:nth-child(8)::before {
    color: #718096;
    font-size: 13px;
  }
  .userSubAccount .layui-table-cell {
    grid-column: 2;
    width: auto !important;
    height: auto !important;
    min-height: 28px;
    padding: 0 !important;
    line-height: 28px !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere;
  }
  .userSubAccount tr.childTr > td {
    display: block !important;
    padding: 8px 0 !important;
  }
  .userSubAccount tr.childTr > td > .layui-table-cell {
    grid-column: 1 / -1;
    width: 100% !important;
  }
  .userSubAccount .listTime {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
  }
  .userSubAccount .listTime label { min-width: 0; flex: 1; }
  .userSubAccount .listTime input {
    width: 100% !important;
    height: 40px !important;
    padding: 0 34px 0 10px !important;
    border: 1px solid #dbe3ef !important;
    border-radius: 6px;
    box-sizing: border-box;
    background-color: #fff !important;
    background-position: right 8px center !important;
    font-size: 13px;
    line-height: 38px;
    text-overflow: ellipsis;
  }
  .userSubAccount .listTime button {
    flex: 0 0 auto;
    height: 40px !important;
    min-height: 40px;
    padding: 0 12px !important;
    border-radius: 6px;
    line-height: 40px;
    white-space: nowrap;
  }

  /* jeDate range picker: keep both months usable without desktop-width overflow. */
  body#move > .jedate {
    position: fixed !important;
    right: 12px !important;
    bottom: auto !important;
    left: 12px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 10px;
    box-sizing: border-box;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    box-shadow: 0 12px 34px rgba(18, 42, 72, .24);
    transform: none !important;
    z-index: 10020 !important;
  }
  body#move > .jedate .jedate-wrap {
    display: flex;
    width: 100% !important;
    min-width: 0 !important;
    align-items: stretch;
  }
  body#move > .jedate .jedate-pane {
    float: none !important;
    width: 50% !important;
    min-width: 0;
  }
  body#move > .jedate .jedate-pane:only-child { width: 100% !important; }
  body#move > .jedate .jedate-header {
    height: 38px;
    padding: 0 34px;
    line-height: 38px;
    font-size: 12px;
  }
  body#move > .jedate .jedate-header em {
    height: 38px;
    line-height: 38px;
  }
  body#move > .jedate .jedate-header .ymbtn {
    padding: 6px 3px;
    font-size: 12px;
    white-space: nowrap;
  }
  body#move > .jedate .jedate-content {
    height: 218px;
    padding: 3px;
  }
  body#move > .jedate .jedate-content.bordge { border-left-color: #e2e8f0; }
  body#move > .jedate .jedate-content .daystable {
    width: 100% !important;
    table-layout: fixed;
  }
  body#move > .jedate .jedate-content .yeartable,
  body#move > .jedate .jedate-content .monthtable {
    width: 100% !important;
    table-layout: fixed;
  }
  body#move > .jedate .jedate-content .yeartable td,
  body#move > .jedate .jedate-content .monthtable td {
    width: 33.333% !important;
    height: 50px;
    padding: 0 !important;
    font-size: 12px;
    line-height: 50px;
  }
  body#move > .jedate .jedate-content .yeartable td span,
  body#move > .jedate .jedate-content .monthtable td span { padding: 6px 4px; }
  body#move > .jedate .jedate-content .daystable th,
  body#move > .jedate .jedate-content .daystable td {
    width: 14.285% !important;
    height: 29px;
    padding: 0 !important;
    font-size: 12px;
    line-height: 29px;
  }
  body#move > .jedate .jedate-content .daystable td .nolunar {
    font-size: 12px;
    line-height: 29px;
  }
  body#move > .jedate .jedate-footbtn {
    height: 42px;
    padding: 4px 8px;
    box-sizing: border-box;
  }
  body#move > .jedate .jedate-footbtn .btnscon,
  body#move > .jedate .jedate-footbtn .timecon { margin-top: 2px; }
  body#move > .jedate .jedate-footbtn .btnscon span,
  body#move > .jedate .jedate-footbtn .timecon {
    min-width: 42px;
    height: 30px;
    padding: 0 8px;
    line-height: 30px;
    box-sizing: border-box;
    text-align: center;
  }
  body#move .layui-layer {
    left: 12px !important;
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }

  /* Keep touch feedback clean and prevent legacy button artwork covering text. */
  .serviceList button,
  .userForm button,
  .userInvoice button,
  .userSubAccount button,
  .userSubAccount .layui-btn {
    appearance: none;
    -webkit-appearance: none;
    outline: 0 !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
  }
  .serviceList button:focus,
  .serviceList button:active,
  .userForm button:focus,
  .userForm button:active,
  .userInvoice button:focus,
  .userInvoice button:active,
  .userSubAccount button:focus,
  .userSubAccount button:active,
  .userSubAccount .layui-btn:focus,
  .userSubAccount .layui-btn:active {
    outline: 0 !important;
    filter: none !important;
    box-shadow: none !important;
  }

  /* The third-party consultation bubble is enlarged by inline mobile JS and
     obscures personal-center controls; remove it only on this page. */
  .users-center-page #nb_icon_wrap,
  .users-center-page #newBridge,
  .users-center-page .m-accessibility-entry,
  .users-center-page #suspend > .suspend {
    display: none !important;
  }

  /* WeChat QR checkout: single-column, centered and fully visible on phones. */
  body.wxpay-page {
    width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    background: #f5f7fa;
  }
  .wxpay-page > div > nav:empty {
    display: none;
  }
  .wxpay-page .main {
    width: 100% !important;
    max-width: 520px;
    margin: 0 auto !important;
    padding: 24px 12px 32px !important;
    box-sizing: border-box;
  }
  .wxpay-page .word {
    display: flex;
    width: 100% !important;
    margin: 0 !important;
    padding: 16px;
    flex-direction: column;
    border: 1px solid #e3e9f1;
    border-radius: 12px;
    box-sizing: border-box;
    background: #fff;
    overflow: visible !important;
  }
  .wxpay-page .word .left,
  .wxpay-page .word .right {
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box;
    overflow: visible !important;
  }
  .wxpay-page .word .title {
    width: 100%;
    height: auto !important;
    color: #26384d;
    font-size: 14px;
    line-height: 1.65 !important;
    overflow: visible !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .wxpay-page .word .right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px !important;
    border-top: 1px solid #edf1f5;
  }
  .wxpay-page .word .price,
  .wxpay-page .word .detail {
    text-align: left;
  }
  .wxpay-page .word .price strong {
    font-size: 19px;
  }
  .wxpay-page .word .detail a {
    min-height: 36px;
    padding: 8px 20px 8px 10px;
    box-sizing: border-box;
  }
  .wxpay-page .word #list {
    width: 100%;
    padding: 12px 0 2px;
    border-top: 1px dashed #d9e2ec;
    box-sizing: border-box;
  }
  .wxpay-page .word #list p {
    margin: 0 !important;
    overflow-wrap: anywhere;
  }
  .wxpay-page .payment_wx {
    width: 100%;
    margin: 14px 0 0 !important;
    padding: 16px 14px 20px !important;
    border: 1px solid #e3e9f1;
    border-radius: 14px;
    box-sizing: border-box;
    box-shadow: 0 8px 24px rgba(30, 66, 105, .08) !important;
  }
  .wxpay-page .payment_wx > div:first-child {
    margin: 0 0 14px !important;
    color: #26384d;
    font-size: 18px !important;
    font-weight: 600;
    text-align: center;
  }
  .wxpay-page .payment_wx .bd {
    display: flex;
    width: 100%;
    padding: 0 !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }
  .wxpay-page .payment_wx .box {
    float: none !important;
    width: 100% !important;
    max-width: 280px;
    margin: 0 auto;
  }
  .wxpay-page .payment_wx .box .border {
    display: block;
    width: calc(100% - 20px) !important;
    max-width: 260px;
    height: auto !important;
    aspect-ratio: 1 / 1;
    margin: 0 auto 14px !important;
    box-sizing: border-box;
  }
  .wxpay-page .payment_wx .box > img:not(.border) {
    display: block;
    width: calc(100% - 20px) !important;
    max-width: 260px;
    height: auto !important;
    margin: 0 auto;
  }
  .wxpay-page .payment_wx .sidebar,
  .wxpay-page .payment_wx .bd > div[style*="clear"] {
    display: none !important;
  }
  .wxpay-page #nb_icon_wrap,
  .wxpay-page #newBridge,
  .wxpay-page #nb_invite_wrap,
  .wxpay-page .m-accessibility-entry,
  .wxpay-page #suspend > .suspend {
    display: none !important;
  }
}

@media screen and (max-width: 420px) {
  .users_remind .surType .surplusList article label {
    width: 100% !important;
  }
}
