:root {
  --up-red: #dd2c34;
  --up-text: #222;
  --up-muted: #646464;
  --up-card: #f2f2f2;
  --up-bg: #fff;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--up-bg);
  color: var(--up-text);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
ul, li { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }

#app {
  min-height: 100vh;
  max-width: 750px;
  margin: 0 auto;
  background: #fff;
}

.home-page { padding-bottom: 24px; }

/* Banner */
.banner {
  position: relative;
  overflow: hidden;
  background: #fff;
}
.banner-track {
  display: flex;
  transition: transform .35s ease;
  will-change: transform;
}
.banner-slide {
  flex: 0 0 100%;
  width: 100%;
}
.banner-slide img {
  width: 100%;
  height: auto;
  vertical-align: top;
}
.banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.banner-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(34, 34, 34, .35);
}
.banner-dots span.active {
  width: 16px;
  border-radius: 5px;
  background: var(--up-red);
}

/* Search */
.index-search {
  padding: 20px 5.4% 0;
}
.index-search .box {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--up-red);
  padding: 10px 0 10px 16px;
  cursor: pointer;
}
.index-search .box img {
  width: 16px;
  height: 16px;
  margin-right: 10px;
}
.index-search .box span {
  font-size: 13px;
  color: var(--up-muted);
  letter-spacing: .35px;
  line-height: 20px;
}

/* Service cards */
.index-card {
  padding: 20px 5.4% 0;
}
.index-card li + li { margin-top: 10px; }
.index-card a {
  display: flex;
  align-items: center;
  background: var(--up-card);
  min-height: 100px;
}
.index-card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin: 0 24px 0 28px;
  flex-shrink: 0;
}
.index-card .txt p {
  margin: 0 0 4px;
  font-size: 15.5px;
  color: var(--up-red);
  letter-spacing: .5px;
  line-height: 20px;
}
.index-card .txt span {
  font-size: 12px;
  color: var(--up-text);
  line-height: 20px;
}

/* Section title */
.section-title {
  padding: 40px 5.4% 16px;
  text-align: center;
}
.section-title h5 {
  margin: 0 0 12px;
  font-size: 24px;
  letter-spacing: 1px;
  font-weight: 700;
  line-height: 1.2;
}
.section-title p {
  margin: 0;
  font-size: 12px;
  color: var(--up-muted);
  letter-spacing: 4px;
}

/* Tabs */
.select-tabs {
  border-top: 2px solid var(--up-red);
  padding: 16px 5.4%;
  display: flex;
  justify-content: space-around;
}
.select-tabs li {
  font-size: 16px;
  color: var(--up-text);
  line-height: 20px;
  cursor: pointer;
}
.select-tabs li.active {
  color: var(--up-red);
  font-weight: 700;
}

.tab-panel {
  background-size: cover;
  background-position: center;
  padding: 20px 5.4% 28px;
}
.tab-panel-title h5 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
}
.tab-panel-title p {
  margin: 0 0 16px;
  font-size: 12px;
  color: var(--up-muted);
}
.tab-hero {
  background: #fff;
  margin-bottom: 10px;
}
.tab-hero img {
  width: 100%;
  height: auto;
}
.tab-hero .meta {
  padding: 12px 14px 16px;
}
.tab-hero .meta p {
  margin: 0 0 4px;
  color: var(--up-red);
  font-size: 15px;
  font-weight: 600;
}
.tab-hero .meta span {
  font-size: 12px;
  color: var(--up-text);
  line-height: 1.5;
  display: block;
}
.tab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.tab-grid .box {
  background: #fff;
}
.tab-grid .box img {
  width: 100%;
  height: auto;
}
.tab-grid .box .meta {
  padding: 10px 12px 14px;
}
.tab-grid .box .meta p {
  margin: 0 0 4px;
  color: var(--up-red);
  font-size: 13px;
  font-weight: 600;
}
.tab-grid .box .meta span {
  font-size: 11px;
  color: var(--up-text);
  line-height: 1.45;
  display: block;
}

/* Propaganda */
.propaganda {
  margin-top: 10px;
  background-size: cover;
  background-position: center;
  padding: 24px 5.4% 20px;
  color: #fff;
  text-align: center;
}
.propaganda .txt {
  font-size: 22px;
  letter-spacing: 1px;
  line-height: 1.5;
  margin-bottom: 16px;
  font-weight: 600;
}
.propaganda .btn {
  display: inline-block;
  width: 100px;
  height: 30px;
  line-height: 30px;
  background: #fff;
  border-radius: 16px;
  color: var(--up-red);
  font-size: 14px;
  margin-bottom: 12px;
}
.propaganda .logo {
  width: 140px;
  margin: 0 auto;
}

/* Style cards */
.style-section {
  padding: 28px 5.4% 8px;
}
.style-section .title {
  text-align: center;
  margin-bottom: 20px;
}
.style-section .title h5 {
  margin: 0 0 8px;
  font-size: 22px;
}
.style-section .title p {
  margin: 0;
  font-size: 12px;
  color: var(--up-muted);
}
.style-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.style-list li {
  background: #fff;
}
.style-list img {
  width: 100%;
  height: auto;
}
.style-list .box {
  background: #f6f6f6;
  padding: 12px 12px 16px;
  margin: -28px 10px 0;
  position: relative;
  z-index: 1;
}
.style-list .box p {
  margin: 0 0 6px;
  color: var(--up-red);
  font-size: 14px;
  font-weight: 600;
}
.style-list .box span {
  font-size: 12px;
  line-height: 1.5;
  color: var(--up-text);
}

/* 会员查询弹窗（对齐远程 bd.html） */
.member-pop-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .3);
  z-index: 1000;
}
.member-pop {
  position: absolute;
  top: 50%;
  left: 50px;
  right: 50px;
  min-height: 240px;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 10px;
  padding-bottom: 8px;
}
.member-pop-close {
  display: block;
  margin-left: auto;
  margin-right: 12px;
  margin-top: 10px;
  border: 0;
  background: #fff;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}
.member-pop-title {
  margin-top: 4px;
  font-size: 20px;
  text-align: center;
}
.member-pop-item {
  text-align: center;
  margin-top: 20px;
}
.member-pop-item input {
  width: 80%;
  height: 40px;
  line-height: 40px;
  padding-left: 20px;
  font-size: 16px;
  color: #ffa752;
  border-radius: 5px;
  border: 2px solid #ffa752;
  outline: none;
  box-sizing: border-box;
}
.member-pop-msg {
  text-align: center;
  color: #c00;
  font-size: 13px;
  margin-top: 10px;
}
.member-pop-btn {
  width: 85%;
  height: 50px;
  background: #ffa752;
  color: #fff;
  text-align: center;
  line-height: 50px;
  border-radius: 8px;
  margin: 20px auto;
  cursor: pointer;
  font-size: 16px;
}
.member-loading-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.member-loading-box {
  max-width: 80%;
  padding: 18px 22px;
  background: rgba(0, 0, 0, .75);
  color: #e9a658;
  border-radius: 8px;
  font-size: 16px;
  text-align: center;
}

/* 会员合同页（对齐远程 index1.html） */
.member-doc-page {
  min-height: 100vh;
  background: #fff;
  padding-bottom: 40px;
}
.doc-header {
  padding: 10px 12px;
}
.doc-header img {
  width: 110px;
}
.doc-title {
  font-size: 16px;
  text-align: center;
  margin: 20px 0;
  font-weight: 600;
}
.doc-info {
  display: flex;
  flex-wrap: wrap;
  padding: 0 10px;
}
.doc-info .info {
  width: 50%;
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  font-size: 10px;
}
.doc-info .info.bold {
  font-size: 12px;
  font-weight: 700;
}
.doc-info .info .title {
  flex-shrink: 0;
}
.doc-info .info .content.red,
.doc-info .info .content {
  color: red;
  word-break: break-all;
}
.doc-yq {
  font-size: 12px;
  padding: 10px;
  border-top: 1px solid #999;
  border-bottom: 1px solid #999;
  margin-top: 10px;
}
.doc-content {
  font-size: 12px;
  font-weight: 500;
  color: #000;
  padding: 0 10px 20px;
  line-height: 1.6;
}
.doc-content span {
  display: block;
  margin-top: 4px;
  text-indent: 20px;
}
.doc-content span.warn {
  color: red;
  text-indent: 20px;
}
.doc-content div {
  margin-top: 5px;
}
.doc-seal {
  margin-top: 16px;
  text-align: right;
  line-height: 1.7;
}
.doc-actions {
  text-align: center;
  padding: 10px 16px 30px;
}
.doc-actions .link-btn {
  display: inline-block;
  background: #005298;
  color: #e8eff4;
  border: 1px solid #005298;
  padding: 12px 40px;
  border-radius: 30px;
  margin: 8px;
}

/* Close membership page（对齐远程 dy_user.php） */
.close-page {
  min-height: 100vh;
  background: #fff;
  padding: 20px 16px 40px;
}
.close-brand {
  width: 100%;
}
.close-page .logo {
  width: 150px;
  padding: 18px 0 8px;
  display: block;
}
.close-page h1 {
  text-align: center;
  color: #004098;
  font-size: 24px;
  margin: 50px 0;
  font-weight: 600;
}
.close-pane {
  position: relative;
  min-height: 350px;
  margin-top: 16px;
}
.close-page .item {
  display: flex;
  align-items: center;
  margin: 10px;
  padding: 10px;
  background: rgba(0, 0, 0, .05);
}
.close-page .item-title {
  width: 120px;
  flex-shrink: 0;
  font-size: 14px;
}
.close-page .item input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
}
.close-tip {
  color: #c00;
  margin: 30px 10px 0;
  font-size: 14px;
  white-space: pre-wrap;
  line-height: 1.6;
  text-align: left;
}
.close-actions {
  text-align: center;
  margin-top: 32px;
  margin-bottom: 32px;
}
.apply-btn {
  background: #0a56a2;
  color: #fff;
  border: 1px solid #0a56a2;
  padding: 10px 60px;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
}
.close-result-pane {
  position: absolute;
  inset: 0;
  background: #fff;
  z-index: 5;
}
.close-wait,
.close-fail {
  width: 100%;
  height: 100%;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.close-wait img {
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
}
.close-fail .fail-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #e52e1b;
  color: #fff;
  font-size: 36px;
  line-height: 70px;
  text-align: center;
}
.close-fail .fail-title {
  font-size: 18px;
  color: red;
  margin-top: 15px;
}
.close-fail .fail-desc {
  margin-top: 15px;
  width: 70%;
  text-align: center;
  color: darkred;
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.6;
}
.close-fail .link-btn,
.link-btn {
  display: inline-block;
  background: #005298;
  color: #e8eff4;
  border: 1px solid #005298;
  padding: 12px 40px;
  border-radius: 30px;
  margin-top: 50px;
}
.close-fail .link-btn + .link-btn {
  margin-top: 20px;
}
.back-home {
  display: block;
  text-align: center;
  margin-top: 24px;
  color: #0a56a2;
  font-size: 14px;
}

@media (min-width: 768px) {
  #app {
    box-shadow: 0 0 24px rgba(0, 0, 0, .08);
  }
}
