/* ============ 复刻站自定义样式 ============ */
/* 登录/注册/充值/付款码 弹窗 */
.dd-modal-mask {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dd-modal {
  position: relative;
  width: 420px;
  max-width: 94vw;
  max-height: 92vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 10px;
  padding: 24px 30px 30px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}
.dd-modal-close {
  position: absolute;
  top: 12px; right: 16px;
  font-size: 26px;
  line-height: 1;
  color: #999;
  cursor: pointer;
  z-index: 10;
}
.dd-modal-close:hover { color: #ff9130; }
.dd-modal-head { text-align: center; margin-bottom: 12px; }
.dd-modal-logo { max-height: 46px; max-width: 200px; }
.dd-tabs {
  display: flex;
  border-bottom: 2px solid #eee;
  margin-bottom: 18px;
}
.dd-tab {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  font-size: 16px;
  color: #666;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
.dd-tab.active { color: #ff9130; border-bottom-color: #ff9130; font-weight: 600; }
.dd-auth { display: flex; flex-direction: column; gap: 12px; }
.dd-input {
  width: 100%;
  box-sizing: border-box;
  height: 42px;
  line-height: 42px;
  padding: 0 14px;
  border: 1px solid #dcdfe6;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  background: #fafafa;
}
.dd-input:focus { border-color: #ff9130; background: #fff; }
.dd-btn {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(0deg, #f58b0e, #ffb82c);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 4px;
}
.dd-btn:hover { opacity: 0.9; }
.dd-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.dd-msg { min-height: 20px; margin-top: 10px; text-align: center; font-size: 13px; color: #ed4014; }
.dd-tips { margin-top: 10px; font-size: 12px; color: #999; line-height: 1.7; text-align: left; white-space: pre-line; }

/* 充值弹窗 */
.dd-recharge-title { text-align: center; font-size: 20px; font-weight: 700; color: #333; margin-bottom: 4px; }
.dd-recharge-sub { text-align: center; font-size: 13px; color: #888; margin-bottom: 14px; }
.dd-packages { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.dd-package {
  flex: 1 1 calc(33.33% - 10px);
  min-width: 90px;
  box-sizing: border-box;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  text-align: center;
  padding: 10px 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.dd-package .p-amount { font-size: 18px; font-weight: 700; color: #ff9130; }
.dd-package .p-currency { font-size: 12px; color: #999; margin-top: 4px; }
.dd-package.selected { border-color: #ff9130; background: #fff7ed; box-shadow: 0 0 0 1px #ff9130; }
.dd-amount-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.dd-amount-label { font-size: 13px; color: #666; white-space: nowrap; }
.dd-amount-row .dd-input { flex: 1; height: 38px; line-height: 38px; }
.dd-pay-methods { display: flex; gap: 20px; margin-bottom: 14px; font-size: 14px; color: #333; }
.dd-pay-method { display: flex; align-items: center; gap: 4px; cursor: pointer; }

/* 付款码弹窗 */
.dd-qr-box {
  width: 260px;
  height: 260px;
  margin: 6px auto 10px;
  border: 1px solid #eee;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}
.dd-qr-box img { width: 100%; height: 100%; object-fit: contain; }
.dd-order-no { text-align: center; font-size: 13px; color: #666; margin: 6px 0; word-break: break-all; }

/* Toast */
.dd-toast {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  padding: 12px 22px;
  border-radius: 6px;
  font-size: 15px;
  z-index: 99999;
  max-width: 80vw;
}
.dd-toast.success { background: rgba(25, 190, 107, 0.92); }
.dd-toast.error { background: rgba(237, 64, 20, 0.92); }

/* 回到顶部按钮显隐 */
.lqzx { display: none; }
.lqzx.show { display: flex; }

/* 右侧固定图片 */
.mid-autumn-right {
  width: 220px;
  height: auto;
  position: fixed;
  right: 10px;
  top: 70%;
  z-index: 999;
}
.mid-autumn-right img, .mid-autumn img { width: 100%; }

/* 玩家中心 */
.center-panel {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.center-head { display: flex; align-items: center; gap: 18px; border-bottom: 1px solid #f0f0f0; padding-bottom: 20px; }
.center-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid #ff9130; }
.center-user { flex: 1; }
.center-username { font-size: 20px; font-weight: 700; color: #333; }
.center-vip { font-size: 13px; color: #ff9130; margin-top: 6px; }
.center-recharge { width: 140px; letter-spacing: 2px; }
.center-stats { display: flex; margin: 20px 0; gap: 12px; }
.center-stat {
  flex: 1;
  background: #faf6ef;
  border-radius: 8px;
  text-align: center;
  padding: 16px 8px;
}
.stat-label { font-size: 13px; color: #999; }
.stat-value { font-size: 22px; font-weight: 700; color: #ff9130; margin-top: 6px; }
.center-orders-title { font-size: 16px; font-weight: 700; color: #333; margin: 10px 0 12px; border-left: 3px solid #e6a032; padding-left: 10px; }
.dd-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dd-table th, .dd-table td { border: 1px solid #eee; padding: 9px 8px; text-align: center; }
.dd-table th { background: #faf6ef; color: #555; font-weight: 600; }
.dd-table tr:hover td { background: #fffaf3; }
.dd-status-pending { color: #f90; }
.dd-status-paid { color: #2d8cf0; }
.dd-status-completed { color: #19be6b; }
.dd-status-cancelled { color: #999; }

/* 公告详情 */
.news-detail { padding: 10px 4px; }
.news-detail-title { font-size: 22px; font-weight: 700; color: #333; text-align: center; }
.news-detail-time { text-align: center; color: #999; font-size: 13px; margin: 10px 0 18px; }
.news-detail-content { font-size: 15px; color: #444; line-height: 1.9; }

/* 移动端适配 */
@media (max-width: 768px) {
  .center-stats { flex-wrap: wrap; }
  .center-stat { flex: 1 1 40%; }
  .dd-modal { padding: 18px 16px 22px; }
  .mid-autumn, .mid-autumn-right { display: none; }
}

/* 悬浮客服 */
.dd-service-float {
  position: fixed;
  right: 16px;
  bottom: 90px;
  z-index: 998;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(0deg, #f58b0e, #ffb82c);
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(245, 139, 14, 0.5);
}
.dd-service-float:hover { transform: scale(1.06); }
.dd-service-list { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.dd-service-item { text-align: center; width: 160px; }
.dd-service-item img { width: 140px; height: 140px; object-fit: contain; border: 1px solid #eee; border-radius: 8px; background: #fff; }
.dd-service-name { font-size: 13px; color: #666; margin-bottom: 6px; }
@media (max-width: 768px) { .dd-service-float { display: none; } }
