.caiinfoBigbox {
  margin: 0 auto;
  width: 1400px;
  margin-top: 20px;
  min-height: calc(100vh - 578.38px);
}

.caiinfoTwoBigbox {
  margin: 20px 0;
  min-height: 300px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.caiinfoTwoBox {
  border-top: 2px solid #de2103;
  width: 1000px;
}

.caiinfoTwoTop {
  background-color: #de210320;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.caiinfoTwoTopLeft {
  display: flex;
  align-items: center;
}

.caiinfoTwoTopLeftImgBox {
  margin-right: 10px;
}

.caiinfoTwoTopLeftImg {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 50%;
}

.caiinfoTwoTopLeftName {
  color: #444;
  font-size: 14px;
}

.caiinfoTwoTopLeftTitle {
  width: 36px;
  height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #d3ae09;
  border-radius: 5px;
  color: #fff;
  font-size: 10px;
}

.caiinfoTwoTopRight {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.caiinfoTwoTopRightRight {
  margin-left: 5px;
}

.caiinfoTwoTopRightRightText {
  font-size: 15px;
  color: #444;
}

.caiinfoTwoBomBigbox {
  background-color: #f5f5f5;
  padding: 10px;
}

.caiinfoTwoBomBox {
  min-height: 240px;
}

.caiinfoTwoBomTable thead tr th {
  color: #909399;
  font-size: 14px;
}

.caiinfoBigbox .publicCrumbsRightRight a.publicCrumbsRightRight {
  transition: color 0.2s ease;
}

.caiinfoBigbox .publicCrumbsRightRight a.publicCrumbsRightRight:hover {
  color: #de2103;
}

/* LayUI 消息提示：黑底提示层使用白字，避免购买提示黑底黑字看不清。 */
.layui-layer-hui,
.layui-layer-hui .layui-layer-content {
  color: #fff !important;
}

.caiinfoTwoBomTableText {
  color: rgb(222, 33, 3);
  display: flex;
  align-items: center;
  font-size: 14px;
}

.fushi234item {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  color: #de2103;
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
}

.recommend-more {
  display: inline-flex;
  align-items: center;
  margin-left: 2px;
  color: #de2103;
  font-size: 14px;
  line-height: 1;
}

.recommend-view-all {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  color: #409eff;
  font-size: 12px;
  white-space: nowrap;
}

.recommend-clickable {
  cursor: pointer;
}

.recommend-clickable:hover .recommend-view-all {
  color: #de2103;
}

.recommend-number-dialog {
  padding: 12px 4px;
  word-break: break-all;
}

.recommend-number-dialog .fushi234item {
  display: block;
  overflow: visible;
  white-space: normal;
  word-break: break-all;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.pt {
  color: rgb(222, 33, 3);
  font-size: 14px;
  margin-left: 2px;
}

.pt:first-child {
  margin-left: 0;
}

.red-q {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  height: 18px;
  width: 18px;
  background-color: #de2103;
  margin-left: 2px;
}

.red-q:first-child {
  margin-left: 0;
}

.bule-q {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  height: 18px;
  width: 18px;
  margin-left: 2px;
  background-color: #4D6FF8;
}

.blue {
  color: #1c89f8;
}

.grey {
  color: #999;
}

.caiinfoTwoBomTableBut {
  width: 48px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 4px;
  background-color: #f56c6c;
  border: 1px solid #dcdfe6;
  border-color: #f56c6c;
  font-size: 12px;
  cursor: pointer;
  line-height: 1;
}

.caiinfoTwoBomTableBut:hover {
  background-color: #f89898;
  border-color: #f89898;
  outline: none;
}

.recommend-copy-btn,
.recommend-dialog-copy {
  align-items: center;
  background: #fff;
  border: 1px solid #de2103;
  border-radius: 4px;
  color: #de2103;
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  height: 24px;
  justify-content: center;
  line-height: 1;
  padding: 0 10px;
}

.recommend-copy-btn:hover,
.recommend-dialog-copy:hover {
  background: #de2103;
  color: #fff;
}

.recommend-dialog-copy {
  height: 32px;
  margin: 16px auto 0;
}

.pay-article-purchased-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 8px;
  border: 1px solid #b7eb8f;
  border-radius: 999px;
  background: #f6ffed;
  color: #389e0d;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

/* .caiinfoTwoBomTable tbody tr:nth-child(5n) {
  background-color: #f0f9eb !important;
} */

.layui-layer-rim {
  border: 0;
}

.layui-layer-title {
  color: #303133;
  font-size: 18px;
  border-bottom: 0;
  height: 40px;
}

.pay-BigBox {
  padding: 0;
}

.pay-box {
  display: flex;
  flex-direction: column;
}

.buy-dialog {
  border: none;
  border-top: 3px solid #de2103;
  padding: 26px;
}

.buy-dialog-head {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding-bottom: 18px;
}

.buy-dialog-title {
  color: #1f2933;
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
}

.buy-dialog-subtitle {
  color: #7a828c;
  font-size: 13px;
  line-height: 20px;
  margin-top: 4px;
}

.buy-dialog-price {
  color: #de2103;
  flex: 0 0 auto;
  font-weight: 700;
  line-height: 26px;
  white-space: nowrap;
}

.buy-dialog-price em {
  color: #444;
  font-size: 14px;
  font-style: normal;
  margin-left: 6px;
}

.pay-title {
  text-align: center;
  padding: 20px;
}

.pay-num {
  color: #de2103;
  font-size: 24px;
  font-weight: 700;
}

.pay-PaymentMethod {
  display: flex;
  align-items: center;
  color: #303133;
  font-size: 14px;
  font-weight: 700;
}

.payment-type-selector {
  margin: 12px 0 0;
}

.payment-options {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.el-radio {
  align-items: center;
  background: #fff;
  color: #606266;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-weight: 500;
  min-height: 72px;
  outline: none;
  position: relative;
  user-select: none;
  white-space: normal;
}

.el-radio__label {
  color: #303133;
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-left: 0;
}

.payment-card-main {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.payment-card-balance {
  color: #606266;
  display: block;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
}

.is-bordered {
  border: 1px solid #e2e5e9;
  border-radius: 8px;
  box-sizing: border-box;
  justify-content: center;
  margin-left: 0;
  padding: 12px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.el-radio__input {
  display: none !important;
}

.el-radio:hover,
.el-radio.is-checked {
  border-color: #de2103;
  background: #fff7f5;
  box-shadow: 0 8px 20px rgba(222, 33, 3, 0.1);
}

.el-radio.is-checked .el-radio__label,
.el-radio.is-checked .payment-card-balance {
  color: #de2103;
}

.user-info-dialog {
  background: #fafafa;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0;
  padding: 14px;
}

.user {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.zhifufs {
  color: #606266;
  font-size: 14px;
  font-weight: 500;
}

.jifen {
  color: #606266;
  font-size: 14px;
  margin-left: 0;
}

.isJf-Text {
  color: #606266;
  font-size: 14px;
}

.layui-form-switch {
  margin-top: 0;
  border: 1px solid #eee;
  background-color: #eee;
  height: 20px;
  min-width: 40px;
}

.layui-form-switch>i {
  position: absolute;
  left: 2px;
  top: 1px;
  width: 16px;
  height: 16px;
  border-radius: 20px;
  background-color: #fff;
  -webkit-transition: .1s linear;
  transition: .1s linear;
}

.el-button {
  border-radius: 4px;
  font-size: 14px;
  padding: 9px 19px;
  border: 0;
  background-color: #409eff;
  border: 1px solid #dcdfe6;
  border-color: #409eff;
  color: #fff;
  cursor: pointer;
}

.el-button:hover {
  background-color: #79bbff;
  border-color: #79bbff;
}

.layui-form-onswitch {
  background-color: #DE2103;
  border-color: #DE2103;
}

.layui-form-onswitch>i {
  left: calc(100% + 4px);
}

.xsbut {
  color: rgb(222, 33, 3);
  font-size: 14px;
  cursor: pointer;
}

.modal-contentBig {
  height: calc(100% - 40px);
  padding: 20px;
}

.modal-contentBox {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.modal-content {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.modal-footer {
  display: flex;
  justify-content: center;
}

.confirm-btn {
  width: 60px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background-color: #1890ff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.confirm-btn:hover {
  background-color: #40a9ff;
}

.confirm-red-q {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  height: 22px;
  width: 22px;
  background-color: #de2103;
  margin-left: 4px;
}

.confirm-red-q:first-child {
  margin-left: 0;
}

.confirm-blue-q {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  height: 22px;
  width: 22px;
  background-color: #1c89f8;
  margin-left: 4px;
}

/* 弹出层样式 */
#mask-layer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
}

#goumaiitem {
  display: none;
  position: fixed;
  left: calc(50% - 200px);
  top: calc(28% - 170px);
  background-color: #fff;
  width: 480px;
  z-index: 9999;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.popup-title {
  font-size: 18px;
  color: #303133;
}

.popup-close {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: 18px;
  color: #999;
  transition: color 0.3s;
}

.popup-close:hover {
  color: #ff5722;
}

/* 隐藏原始单选按钮 */
.el-radio__original {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

/* 自定义单选按钮样式 */
.gonggaoRightBox {
  width: 337px;
}

.MainBomThreeBomBoxBomTextBox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
}

.MainBomThreeLiAvatar {
  align-items: center;
  border-radius: 50%;
  display: flex;
  height: 25px;
  justify-content: center;
  overflow: hidden;
  width: 25px;
}

.MainBomThreeLiAvatarImg {
  height: 100%;
  width: 100%;
}

.MainBomThreeLiText {
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 220px;
  color: #000000;
}

.MainBomThreeLiTime {
  color: #999;
  font-size: 14px;
}

.caiinfoTwoRight {
  border: 1px solid #eee;
  padding: 20px;
  margin-top: 45px;
}

/* 弹窗遮罩层样式 */
.mask-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  display: none;
}

/* 弹窗居中定位样式 */
.goumaiitem-centered {
  position: fixed;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%);
  background-color: #fff;
  width: 480px;
  z-index: 9999;
  display: none;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.pay-box-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.pay-box-top-img {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.buy-confirm-button {
  width: 100%;
  background: #de2103;
  border-color: #de2103;
  border-radius: 6px;
  height: 40px;
  font-weight: 700;
}

.buy-confirm-button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.buy-confirm-button:hover {
  background: #f03a20;
  border-color: #f03a20;
}

/* 购买弹窗新版视觉 */
.mask-layer {
  background: rgba(17, 24, 39, 0.58);
}

.goumaiitem-centered {
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  width: 480px;
}

#goumaiitem .el-dialog__body,
#goumaiitem .pay-BigBox {
  background: #fff;
  padding: 0;
}

#goumaiitem .buy-dialog {
  border-top: 0;
  padding: 0;
}

#goumaiitem .buy-dialog-head {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  padding: 0;
  position: relative;
}

#goumaiitem .buy-dialog-title {
  color: #111827;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  display: none;
}

#goumaiitem .buy-dialog-subtitle {
  color: #6b7280;
  font-size: 13px;
  line-height: 20px;
  margin-top: 4px;
  display: none;
}

#goumaiitem .buy-dialog-close {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #6b7280;
  cursor: pointer;
  display: inline-flex;
  font-size: 20px;
  height: 24px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 12px;
  top: 10px;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  width: 24px;
}

#goumaiitem .buy-dialog-close:hover {
  background: transparent;
  border-color: transparent;
  color: #de2103;
}

#goumaiitem .buy-dialog-price {
  align-items: baseline;
  background: transparent;
  border-bottom: 0;
  color: #de2103;
  display: flex;
  justify-content: center;
  padding: 38px 0 38px;
}

#goumaiitem .pay-num {
  color: #de2103;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

#goumaiitem .buy-dialog-price em {
  color: #374151;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  margin-left: 8px;
}

#goumaiitem .pay-PaymentMethod,
#goumaiitem .payment-type-selector,
#goumaiitem .user-info-dialog,
#goumaiitem .buy-confirm-button {
  margin-left: 24px;
  margin-right: 24px;
}

#goumaiitem .pay-PaymentMethod {
  color: #111827;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  margin-bottom: 12px;
  margin-top: 0;
}

#goumaiitem .payment-type-selector {
  margin-top: 0;
}

#goumaiitem .payment-options {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#goumaiitem .el-radio {
  min-height: 80px;
}

#goumaiitem .is-bordered {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 14px 10px;
}

#goumaiitem .el-radio:hover,
#goumaiitem .el-radio.is-checked {
  background: #fff;
  border-color: #de2103;
  box-shadow: none;
}

#goumaiitem .el-radio.is-checked::after {
  background: #de2103;
  border-radius: 0 7px 0 7px;
  color: #fff;
  content: "✓";
  font-size: 12px;
  height: 20px;
  line-height: 20px;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 22px;
}

#goumaiitem .payment-card-main {
  gap: 8px;
}

#goumaiitem .payment-card-icon {
  align-items: center;
  background: #f3f4f6;
  border-radius: 50%;
  color: #4b5563;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  height: 28px;
  justify-content: center;
  width: 28px;
}

#goumaiitem .el-radio.is-checked .payment-card-icon {
  background: #de2103;
  color: #fff;
}

#goumaiitem .el-radio__label {
  color: #111827;
  font-size: 14px;
  font-weight: 700;
}

#goumaiitem .payment-card-balance {
  color: #6b7280;
  font-size: 12px;
  line-height: 16px;
}

#goumaiitem .user-info-dialog {
  align-items: center;
  background: #f9fafb;
  border: 1px solid #eef0f3;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  padding: 14px 16px;
}

#goumaiitem .user {
  gap: 6px 12px;
}

#goumaiitem .zhifufs,
#goumaiitem .jifen,
#goumaiitem .isJf-Text {
  color: #4b5563;
  font-size: 13px;
}

#goumaiitem .layui-form-switch {
  margin-left: 8px;
  min-width: 42px;
}

#goumaiitem .buy-confirm-button {
  background: #409eff;
  border-color: #409eff;
  border-radius: 8px;
  box-shadow: none;
  font-size: 15px;
  font-weight: 700;
  height: 44px;
  margin: 20px 24px 14px;
  width: calc(100% - 48px);
}

#goumaiitem .buy-confirm-button:hover {
  background: #66b1ff;
  border-color: #66b1ff;
}

@media (max-width: 640px) {
  .goumaiitem-centered {
    max-width: calc(100vw - 28px);
    width: 460px;
  }

  #goumaiitem .payment-options {
    grid-template-columns: 1fr;
  }

  #goumaiitem .el-radio {
    min-height: 74px;
  }

  #goumaiitem .user-info-dialog {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

/* 详情表格和右侧推荐交互反馈 */
.caiinfoTwoBomTable tbody tr,
.caiinfoTwoBomTableBut,
.MainBomThreeBomBoxBomTextBox,
.MainBomThreeLiAvatarImg {
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
}

.caiinfoTwoBomTable tbody tr:hover {
  background-color: #fff7f5;
}

.caiinfoTwoBomTable tbody tr:hover .caiinfoTwoBomTableText {
  color: #de2103;
}

.gonggaoRightBox a:hover .MainBomThreeBomBoxBomTextBox {
  background-color: #fff7f5;
  transform: translateX(3px);
}

.gonggaoRightBox a:hover .MainBomThreeLiText {
  color: #de2103;
}

.gonggaoRightBox a:hover .MainBomThreeLiAvatarImg {
  transform: scale(1.06);
}

/* Extracted from caiinfo.html. */

.caiinfo-style-01 {
  font-size: 12px; color: #fff;
}

.caiinfo-style-02 {
  display: none;
}

.caiinfo-style-03 {
  text-align:center; padding:20px; color:#f00;
}

.caiinfo-style-04 {
  text-align:center; padding:20px;
}

.caiinfo-style-05 {
  color:#faad14;
}

.caiinfo-style-06 {
  display:flex; gap:8px; flex-wrap:wrap;
}

.caiinfo-style-07 {
  cursor:pointer;
}

.caiinfoTwoBomTableText.caiinfo-status-pending,
.caiinfoTwoBomTable tbody tr:hover .caiinfoTwoBomTableText.caiinfo-status-pending {
  color: #8c8c8c;
}

.caiinfoTwoBomTableText.caiinfo-status-win,
.caiinfoTwoBomTable tbody tr:hover .caiinfoTwoBomTableText.caiinfo-status-win {
  color: #52c41a;
}

.caiinfoTwoBomTableText.caiinfo-status-lose,
.caiinfoTwoBomTable tbody tr:hover .caiinfoTwoBomTableText.caiinfo-status-lose {
  color: #f5222d;
}

/* 购买弹窗最终间距覆盖：防止旧按钮宽度规则继续贴边 */
#goumaiitem .buy-dialog-close {
  right: 12px !important;
  top: 10px !important;
}

#goumaiitem .buy-confirm-button {
  box-sizing: border-box !important;
  display: flex !important;
  justify-content: center;
  margin: 20px 24px 14px !important;
  width: calc(100% - 48px) !important;
}
