/* 轻量补丁：主样式用 /static/css/promo.css（与 dh6688 同源结构） */

.index_con_1-download-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  text-decoration: none !important;
  color: inherit;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.index_con_1-download-btn h5 {
  position: static !important;
  margin: 0;
}

.empty-hint {
  text-align: center;
  padding: 24px 12px;
  color: #666;
  font-size: 14px;
}

.gonggao-html,
.gonggao-html p {
  white-space: pre-line;
}

.notice-block {
  margin-bottom: 8px;
}

.notice-title {
  display: block;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #c62828;
  margin: 0 0 16px;
}

.notice-divider {
  height: 1px;
  background: #e5e5e5;
  margin: 28px 12px;
}

.notice-p {
  white-space: pre-line;
  color: red;
  font-weight: bold;
  font-size: 16px;
  line-height: 40px;
  text-align: center;
}

.notice-html {
  color: #333;
  font-size: 14px;
  line-height: 1.7;
  word-break: break-word;
}

.dl-h2 {
  display: block;
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 10px;
  color: #333;
}

.dl-h6 {
  display: block;
  font-size: 14px;
  padding-bottom: 30px;
  line-height: 24px;
  color: #333;
  font-weight: normal;
  margin: 0;
}

.dl-icon {
  float: left;
  width: 55px;
  height: 55px;
}

.dl-stat {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
  color: #333;
  font-weight: bold;
}

.dl-sub {
  display: block;
  font-size: 14px;
  color: #666;
}

.download_1_r {
  margin-left: 65px;
  padding-top: 10px;
}

.app-link {
  display: block;
  margin: 0 auto;
  text-align: center;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}

.app-link-pending {
  cursor: wait;
  opacity: 0.85;
}

.app-png {
  display: block;
  width: auto;
  max-width: min(320px, 90%);
  margin-left: auto;
  margin-right: auto;
  border-radius: 12px;
}

.ios-tip {
  font-size: 12px;
  color: #666;
  margin-top: 10px;
  text-align: center;
}

.hk-img {
  width: 100%;
  display: block;
}

.warn-p {
  font-size: 14px;
  color: #333;
  line-height: 24px;
}

.hk-row .col-xs-3 {
  margin-bottom: 10px;
}

.app-toast {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 9999;
  max-width: 80vw;
  padding: 12px 20px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 14px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.app-toast--show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.app-toast--success {
  background: rgba(39, 174, 96, 0.92);
}

/* appdownload */
.appdl-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #07091a, #2a2c3a);
  padding: 30px 20px 80px;
  box-sizing: border-box;
}

.appdl-page .app-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.appdl-page .app-logo {
  width: 90px;
  height: 90px;
  border-radius: 20px;
  margin-bottom: 15px;
  object-fit: contain;
}

.appdl-page .app-name {
  font-size: 24px;
  font-weight: bold;
  color: #e8eaed;
  margin: 0 0 10px;
}

.appdl-page .download-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
  padding: 0 20px;
}

.appdl-page .device-tips {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.appdl-page .safari-tip-text {
  display: block;
  text-align: center;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: bold;
  color: #ff4444;
}

.appdl-page .download-btn-large {
  width: 70vw;
  max-width: 320px;
  height: 50px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 6px;
  background: linear-gradient(90deg, #106fff, #3fcfff);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
}

.appdl-page .invite-section {
  display: flex;
  justify-content: center;
  padding: 0 10px;
}

.appdl-page .invite-card {
  width: 100%;
  max-width: 400px;
  padding: 25px 20px;
}

.appdl-page .invite-title {
  font-size: 18px;
  font-weight: bold;
  color: #e8eaed;
  text-align: center;
  margin: 0 0 20px;
}

.appdl-page .input-wrapper {
  margin-bottom: 15px;
}

.appdl-page .invite-input {
  width: 100%;
  height: 45px;
  background: #fff;
  border: none;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
  color: #333;
  box-sizing: border-box;
}

.appdl-page .verify-btn {
  width: 100%;
  height: 45px;
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.appdl-page .verify-text {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}

.appdl-page .copyright {
  position: fixed;
  bottom: 15px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
}

.appdl-page .copyright-text {
  font-size: 11px;
  color: rgba(232, 234, 237, 0.4);
  text-align: center;
}

.appdl-page .guide-section {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px 20px 0 0;
  margin-top: 20px;
  padding: 20px 15px 40px;
  color: #14181f;
}

.appdl-page .guide-header-text {
  text-align: center;
  margin: 0 0 15px;
  font-size: 18px;
  font-weight: bold;
}

.appdl-page .steps-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.appdl-page .step-item {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.appdl-page .step-header {
  text-align: center;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.appdl-page .step-header::before,
.appdl-page .step-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #0066ed, transparent);
  margin: 0 10px;
}

.appdl-page .step-label {
  font-size: 14px;
  font-weight: 500;
  color: #0066ed;
  white-space: nowrap;
}

.appdl-page .step-desc {
  font-size: 13px;
  color: #14181f;
  line-height: 1.8;
  text-align: center;
  margin: 0;
}

.appdl-page .img-wrap {
  margin-top: 15px;
}

.appdl-page .step-image {
  width: 100%;
  border-radius: 4px;
  display: block;
}

.appdl-page .android-tip-text {
  text-align: center;
  margin-top: 20px;
  padding: 0 20px;
  font-size: 13px;
  color: rgba(232, 234, 237, 0.7);
  line-height: 1.6;
}

.appdl-page .is-hidden {
  display: none !important;
}

@media (max-width: 768px) {
  .index_con_1-download-btn {
    top: 10px;
    right: 10px;
  }

  .download_1 .dl-icon {
    width: 40px;
    height: 40px;
  }

  .dl-stat {
    font-size: 14px;
  }

  .dl-sub {
    font-size: 12px;
  }
}
