/* MIDSAL 超算互联网·智「惠」开发季 — Phase 3 整合 */

/* rem 基准：PC Figma px÷100；移动端设计宽 393px，@750 断点内 html 按 393 换算，rem=px÷100（勿再×2） */
html {
  font-size: calc(100vw / 1920 * 100) !important;
}

img {
  width: 100%;
}

/* Alibaba PuHuiTi（路径相对本 css 文件，解析为 /home/front/static/subject/bts/fonts/） */
@font-face {
  font-family: 'Alibaba PuHuiTi Heavy';
  src: url('../../bts/fonts/AlibabaPuHuiTi-2-105-Heavy.woff2') format('woff2'),
       url('../../bts/fonts/AlibabaPuHuiTi-2-105-Heavy.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Alibaba PuHuiTi Black';
  src: url('../../bts/fonts/AlibabaPuHuiTi-2-115-Black.woff2') format('woff2'),
       url('../../bts/fonts/AlibabaPuHuiTi-2-115-Black.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Alimama ShuHeiTi';
  src: url('../fonts/AlimamaShuHeiTi-Bold.woff2') format('woff2'),
       url('../fonts/AlimamaShuHeiTi-Bold.ttf') format('truetype');
  font-display: swap;
}

/* Figma Alibaba PuHuiTi 2.0：字重由 Heavy/Black 字体文件决定，对应选择器勿写 font-weight */
.midsal-page .midsal-banner__slogan,
.midsal-page .midsal-banner__slogan-char,
.midsal-page .midsal-gift__title,
.midsal-page .midsal-gift__subtitle,
.midsal-page .midsal-gift__badge span,
.midsal-page .midsal-invt__title-plain,
.midsal-page .midsal-invt__title-gradient,
.midsal-page .midsal-seck__title,
.midsal-page .midsal-seck__subtitle,
.midsal-page .midsal-seck__badge span,
.midsal-page .midsal-plan__title,
.midsal-page .midsal-plan__subtitle,
.midsal-page .midsal-prod__title,
.midsal-page .midsal-prod__subtitle {
  font-family: 'Alibaba PuHuiTi Heavy', sans-serif;
}

.midsal-page .midsal-banner__title,
.midsal-page .midsal-banner__title-html {
  font-family: 'Alimama ShuHeiTi', sans-serif;
}

.midsal-page .midsal-gift__qty-num,
.midsal-page .midsal-seck__deco,
.midsal-page .midsal-seck__type,
.midsal-page .midsal-seck__name,
.midsal-page .midsal-seck__seckill-num,
.midsal-page .midsal-tkpl__deco,
.midsal-page .midsal-tkpl__intro-label,
.midsal-page .midsal-tkpl__intro-name,
.midsal-page .midsal-tkpl__card-name,
.midsal-page .midsal-cdpl__deco,
.midsal-page .midsal-cdpl__intro-label,
.midsal-page .midsal-cdpl__intro-name,
.midsal-page .midsal-cdpl__card-name,
.midsal-page .midsal-prod__cat-label,
.midsal-page .midsal-prod__cat-label-accent,
.midsal-page .midsal-prod__cat-label-accent--app,
.midsal-page .midsal-prod__cat-label-plain,
.midsal-page .midsal-prod__ocr-zone-accent,
.midsal-page .midsal-prod__ocr-zone-plain,
.midsal-page .midsal-prod__app-zone-accent,
.midsal-page .midsal-prod__app-zone-plain {
  font-family: 'Alibaba PuHuiTi Black', sans-serif;
}

#midsalContainer.main {
  overflow-x: hidden;
}

.midsal-body {
  margin-top: -1.5rem;
  background-image: var(--midsal-body-bg-pc);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  padding-top: 0.64rem;
  padding-bottom: 0.64rem;
}

.midsal-wrap {
  width: 14.4rem;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  padding-bottom: 0.32rem;
}

/* ① Banner — Figma 8511:539 | px ÷ 100 = rem */
/* ① Banner — Figma 8511:539 | px ÷ 100 = rem */
.midsal-banner {
  position: relative;
  z-index: 1;
  height: 4.8rem;
  min-height: 4.8rem;
  overflow: hidden;
  box-sizing: border-box;
}

.midsal-banner *,
.midsal-banner *::before,
.midsal-banner *::after {
  box-sizing: border-box;
}

.midsal-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: -1;
}

.midsal-banner__bg-m {
  display: none;
  width: 100%;
  height: auto;
}

/* Figma padding 48px 240px 0；内容区 1440px 居中 */
.midsal-banner .wrap {
  position: relative;
  z-index: 1;
  width: 14.4rem;
  max-width: 100%;
  height: 3.3rem;
  margin: 0 auto;
  padding: 0.64rem 0 0;
}

.midsal-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  width: 100%;
}

.midsal-banner__head {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
  width: fit-content;
  max-width: 100%;
}

.midsal-banner__slogan {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.08rem;
}

.midsal-banner__slogan-char {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.48rem;
  padding: 0.06rem 0.1rem;
  border-radius: 0.04rem;
  font-size: 0.28rem;
  line-height: 1.28571429;
  letter-spacing: 0.12em;
  color: #fff;
}

.midsal-banner__slogan-char--blue {
  background: #2730bc;
}

.midsal-banner__slogan-char--pink {
  background: #ff2bbd;
}

.midsal-banner__title-wrap {
  width: fit-content;
  max-width: 100%;
}

.midsal-banner__title-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
}

.midsal-banner__title-img-m,
.midsal-banner__title-html-m,
.midsal-banner__title--m {
  display: none;
}

.midsal-banner__title-html {
  font-size: 0.72rem;
  line-height: 1.11111111;
  color: #fff;
}

.midsal-banner__title {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.72rem;
  line-height: 1.11111111;
}

.midsal-banner__title-plain {
  color: #fff;
  white-space: nowrap;
}

.midsal-banner__title-gradient {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
}

.midsal-banner__title-gradient-part {
  background: linear-gradient(90deg, #FBFDA6 0%, #FFA1F6 359.38%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.midsal-banner__title-gradient-part:nth-child(2) {
  background: linear-gradient(90deg, #FBFDA6 -38.02%, #FFA1F6 185.42%);
  -webkit-background-clip: text;
  background-clip: text;
}

.midsal-banner__title-gradient-part:last-child {
  background: linear-gradient(90deg, #FBFDA6 -126.56%, #FFA1F6 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.midsal-banner__bottom {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 0.24rem;
  width: 100%;
}

.midsal-banner__period {
  margin: 0;
  font-size: 0.2rem;
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
}

@media screen and (max-width: 750px) {
  html {
    font-size: calc(100vw / 393 * 100) !important;
  }

  .none_phone.midsal-banner__bg {
    display: none;
  }

  .midsal-body {
    background-image: var(--midsal-body-bg-m, var(--midsal-body-bg-pc));
    padding-top: 0;
    margin-top: -0.64rem;
  }

  .midsal-wrap {
    gap: 0.32rem;
    padding: 0 0.16rem;
  }

  .midsal-banner__title-img.none_phone,
  .midsal-banner__title-html.none_phone,
  .midsal-banner__title.none_phone {
    display: none;
  }

  .midsal-banner__title-img-m,
  .midsal-banner__title-html-m,
  .midsal-banner__title--m {
    display: flex;
  }

  .midsal-banner__title-img-m {
    display: block;
  }

  .midsal-banner__bg-m {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
  }

  .midsal-banner {
    height: auto;
    min-height: 3.3rem;
  }

  .midsal-banner .wrap {
    width: 100%;
    max-width: 100%;
    padding: 0.32rem;
  }

  .midsal-banner__head, .midsal-banner__inner {
    gap: 0.24rem;
  }

  .midsal-banner__slogan {
    gap: 0.04rem;
  }

  .midsal-banner__slogan-char {
    font-size: 0.18rem;
    width: 0.3rem;
    height: 0.28rem;
    text-align: center;
    padding: 0;
    letter-spacing: 0;
  }

  .midsal-banner__title,
  .midsal-banner__title-html {
    flex-direction: column;
    gap: 0.04rem;
    font-size: 0.36rem;
    line-height: 0.48rem;
    align-items: flex-start;
  }

  .midsal-banner__period {
    font-size: 0.16rem;
  }
}

/* ② 新人福利 — Figma 8533:1174 | px ÷ 100 = rem */
.midsal-gift {
  width: 14.4rem;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.midsal-gift *,
.midsal-gift *::before,
.midsal-gift *::after {
  box-sizing: border-box;
}

/* 标题区 — Figma 8533:1036 */
.midsal-gift__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.24rem;
  margin-bottom: 0.64rem;
}

.midsal-gift__head-top {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  min-height: 1.2rem;
}

.midsal-gift__head-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}

.midsal-gift__watermark {
  position: absolute;
  left: 0;
  top: 0.81rem;
  z-index: 0;
  width: 2.11rem;
  height: 2.64rem;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

.midsal-gift__title-img {
  display: block;
  max-width: 100%;
  height: auto;
}

.midsal-gift__title {
  margin: 0;
  font-size: 0.64rem;
  line-height: 1.25;
  text-align: center;
  background: linear-gradient(270deg, #FF8C39 0%, #FBFFA6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.midsal-gift__subtitle {
  margin: 0;
  font-size: 0.32rem;
  line-height: 1.5;
  text-align: center;
  color: #fff;
}

.midsal-gift__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.04rem 0.24rem;
  border-radius: 0.32rem;
  border: 0.01rem solid transparent;
  background-clip: padding-box, border-box;
  position: relative;
}

.midsal-gift__badge::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 0.01rem;
  background: linear-gradient(90deg, #fbfda6 0%, #d94c97 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.midsal-gift__badge span {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-size: 0.18rem;
  line-height: 0.24rem;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(270deg, #FF9C83 0%, #FBFDA6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 三卡网格 — Figma 8585:422 */
.midsal-gift__cards {
  display: flex;
  align-items: stretch;
  gap: 0.32rem;
}

.midsal-gift__card {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.16rem;
  padding: 0.28rem 0.32rem;
  border-radius: 0.24rem;
  background: #fff;
  backdrop-filter: blur(0.16rem);
}

.midsal-gift__card-top {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 0.16rem;
}

.midsal-gift__welfare-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.04rem;
  padding: 0.05rem 0.12rem;
  border-radius: 0.32rem;
  background: linear-gradient(90deg, #4a29fa 0%, #d94c97 100%);
}

.midsal-gift__welfare-ico {
  flex-shrink: 0;
  width: 0.14rem;
  height: 0.14rem;
  background: url('../img/icon-gift.svg') center / contain no-repeat;
}

.midsal-gift__welfare-badge span {
  font-size: 0.12rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.0833em;
  text-transform: uppercase;
  color: #fff;
}

.midsal-gift__card-body {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  flex: 1;
  gap: 0.24rem;
}

.midsal-gift__card-heading {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 0;
}

.midsal-gift__qty-row {
  display: flex;
  align-items: baseline;
  gap: 0.08rem;
}

.midsal-gift__qty-num {
  font-size: 0.64rem;
  line-height: 1.2;
  color: #000;
}

.midsal-gift__qty-unit {
  font-size: 0.22rem;
  font-weight: 500;
  line-height: 2.6;
  color: #000;
}

.midsal-gift__qty-sub {
  margin: 0;
  font-size: 0.22rem;
  font-weight: 600;
  line-height: 1.2727;
  color: rgba(0, 0, 0, 0.8);
}

.midsal-gift__specs {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 0.12rem;
}

.midsal-gift__specs .midsal-gift__spec-list {
  margin: 0;
}

/* 规格列表 — spec-a（福利一） */
.midsal-gift__spec-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  list-style: none;
}

.midsal-gift__card--spec-a .midsal-gift__spec-list {
  gap: 0.12rem;
}

.midsal-gift__card--spec-a .midsal-gift__spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.16rem;
  padding: 0.12rem 0.24rem;
  border-radius: 0.32rem;
  background: #f6f6ff;
}

/* 规格列表 — spec-b（福利二/三） */
.midsal-gift__card--spec-b .midsal-gift__spec-list {
  padding: 0.08rem 0;
  border-radius: 0.16rem;
  background: #f6f6ff;
  gap: 0;
}

.midsal-gift__card--spec-b .midsal-gift__spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.16rem;
  padding: 0.06rem 0.24rem;
  border-radius: 0.32rem;
}

.midsal-gift__spec-row dt,
.midsal-gift__spec-row dd {
  margin: 0;
  font-size: 0.14rem;
  line-height: 1.5714;
}

.midsal-gift__spec-row dt {
  flex-shrink: 0;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.8);
}

.midsal-gift__spec-row dd {
  flex: 1;
  font-weight: 500;
  text-align: right;
  color: #000;
}

/* 按钮 */
.midsal-gift__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 100%;
  margin: 0;
  padding: 0.08rem 0;
  border: none;
  border-radius: 0.24rem;
  cursor: pointer;
  appearance: none;
}

.midsal-gift__btn span {
  font-size: 0.16rem;
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: 0.0875em;
  text-transform: uppercase;
  color: #fff;
}

.midsal-gift__btn--primary {
  padding: 0.08rem 0.48rem;
  background: linear-gradient(90deg, #ff6200 0%, #8905e7 100%);
}

.midsal-gift__btn--reserve {
  padding: 0.08rem 0;
  background: #2A4BCB;
}

.midsal-gift__btn--disabled,
.midsal-gift__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ===== MIDSAL 弹窗统一样式 — 参照 YCJH ===== */
.midsal-dialog-overlay,
.midsal-certify-overlay,
.midsal-invt-overlay,
.midsal-invt-overlay.overlay {
  position: fixed;
  inset: 0;
  z-index: 200010;
  background: rgba(0, 0, 0, 0.5);
}

.midsal-dialog__panel,
.midsal-certify-dialog__body,
.midsal-invt-dialog,
.midsal-my-invt-dialog,
.midsal-rule-dialog.twd-dialog .el-dialog {
  position: relative;
  box-sizing: border-box;
  isolation: isolate;
  background: linear-gradient(180deg, #E3E5FF 0%, #FFFFFF 100%);
  border-radius: 0.16rem;
  box-shadow: 0 0.24rem 0.4rem -0.12rem rgba(0, 0, 0, 0.64);
  backdrop-filter: blur(0.32rem);
  overflow: hidden;
}

.midsal-dialog__panel::before,
.midsal-certify-dialog__body::before,
.midsal-invt-dialog::before,
.midsal-my-invt-dialog::before,
.midsal-rule-dialog.twd-dialog .el-dialog::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.04rem;
  background: linear-gradient(90deg, #353DFF 0%, #FF0C03 33%, #FFA22F 66%, #9F3BB6 100%);
  z-index: 1;
  pointer-events: none;
}

.midsal-dialog__header {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.48rem 0.24rem;
  gap: 0.16rem;
}

.midsal-dialog__title,
.midsal-my-invt-dialog__title,
.midsal-invt-dialog__title,
.midsal-rule-dialog.twd-dialog .el-dialog__title {
  flex: 1;
  margin: 0;
  padding: 0 0.32rem;
  font-family: 'Alimama ShuHeiTi', 'PingFang SC', -apple-system, sans-serif;
  font-size: 0.24rem;
  font-weight: 700;
  line-height: 1.4;
  color: #262626;
  text-align: center;
}

.midsal-dialog__close,
.midsal-rule-dialog.twd-dialog .el-dialog__headerbtn {
  position: absolute;
  top: 0.24rem;
  right: 0.24rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.2rem;
  height: 0.2rem;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.midsal-dialog__close:hover,
.midsal-rule-dialog.twd-dialog .el-dialog__headerbtn:hover {
  opacity: 1;
}

.midsal-dialog__close svg {
  width: 100%;
  height: 100%;
  display: block;
}

.midsal-rule-dialog.twd-dialog .el-dialog__headerbtn {
  width: 0.2rem;
  height: 0.2rem;
  font-size: 0;
}

.midsal-rule-dialog.twd-dialog .el-dialog__headerbtn .el-dialog__close {
  display: none;
}

.midsal-rule-dialog.twd-dialog .el-dialog__headerbtn::before,
.midsal-rule-dialog.twd-dialog .el-dialog__headerbtn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.12rem;
  height: 0.015rem;
  background: #262626;
  border-radius: 0.01rem;
}

.midsal-rule-dialog.twd-dialog .el-dialog__headerbtn::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.midsal-rule-dialog.twd-dialog .el-dialog__headerbtn::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.midsal-dialog__body {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
  padding: 0 0.48rem;
}

.midsal-dialog__footer,
.midsal-rule-footer {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.32rem 0.48rem 0.48rem;
  text-align: center;
}

.midsal-dialog__btn,
.midsal-certify-dialog__confirm,
.midsal-invt-dialog__confirm,
.midsal-invt-dialog .copy-invitate-dialog-btn,
.midsal-rule-ok {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  margin: 0;
  padding: 0.12rem 0.4rem;
  border: none;
  border-radius: 0.3rem;
  background: transparent;
  font-family: 'Alimama ShuHeiTi', 'PingFang SC', -apple-system, sans-serif;
  font-size: 0.18rem;
  font-weight: 700;
  line-height: 0.24rem;
  text-align: center;
  color: #fff;
  cursor: pointer;
  appearance: none;
  isolation: isolate;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.midsal-dialog__btn::before,
.midsal-certify-dialog__confirm::before,
.midsal-invt-dialog__confirm::before,
.midsal-invt-dialog .copy-invitate-dialog-btn::before,
.midsal-rule-ok::before {
  content: '';
  position: absolute;
  inset: -0.02rem;
  border-radius: 0.3rem;
  background: conic-gradient(from 50deg at 50% 50%, #6A00FF 0deg, #FFA730 95deg, #FF0000 184deg, #0077FF 265deg, #6A00FF 360deg);
  z-index: -2;
  pointer-events: none;
}

.midsal-dialog__btn::after,
.midsal-certify-dialog__confirm::after,
.midsal-invt-dialog__confirm::after,
.midsal-invt-dialog .copy-invitate-dialog-btn::after,
.midsal-rule-ok::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: calc(0.3rem - 0.02rem);
  background: linear-gradient(135deg, #6E19DF 0%, #112772 100%);
  border: 0.02rem solid #D1D2DE;
  z-index: -1;
  pointer-events: none;
}

.midsal-dialog__btn--block {
  display: flex;
  width: 100%;
}

.midsal-dialog__btn:hover,
.midsal-certify-dialog__confirm:hover,
.midsal-invt-dialog__confirm:hover,
.midsal-invt-dialog .copy-invitate-dialog-btn:hover,
.midsal-rule-ok:hover {
  transform: translateY(-0.02rem);
  box-shadow: inset 0 0 0 0.05rem rgba(24, 20, 17, 1), 0 0.04rem 0.12rem rgba(0, 0, 0, 0.2);
}

.midsal-dialog__btn:hover::after,
.midsal-certify-dialog__confirm:hover::after,
.midsal-invt-dialog__confirm:hover::after,
.midsal-invt-dialog .copy-invitate-dialog-btn:hover::after,
.midsal-rule-ok:hover::after {
  background: linear-gradient(135deg, #7E29EF 0%, #223882 100%);
}

/* 实名认证弹窗 */
.midsal-certify-dialog,
.midsal-certify-dialog * {
  box-sizing: border-box;
}

.midsal-certify-dialog {
  position: fixed;
  inset: 0;
  z-index: 200011;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.32rem;
}

.midsal-certify-dialog__body {
  position: relative;
  width: 4.8rem;
  max-width: 100%;
  overflow: hidden;
}

.midsal-certify-dialog__text {
  margin: 0;
  font-size: 0.16rem;
  line-height: 0.28rem;
  color: #3B4048;
  text-align: center;
}

.midsal-gift__footnote {
  align-self: stretch;
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  color: #000;
}

.midsal-gift__footnote p {
  margin: 0;
}

@media screen and (max-width: 750px) {
  .midsal-gift__head {
    gap: 0.12rem;
    margin-bottom: 0.32rem;
  }

  .midsal-gift__watermark {
    width: 0.85rem;
    height: 1.06rem;
    left: 0;
    top: 0.8rem;
  }

  .midsal-gift__head-top {
    min-height: auto;
  }

  .midsal-gift__title {
    font-size: 0.36rem;
    line-height: 0.48rem;
  }

  .midsal-gift__subtitle {
    font-size: 0.2rem;
    line-height: 0.32rem;
  }

  .midsal-gift__badge {
    padding: 0.02rem 0.12rem;
    border-radius: 0.12rem;
  }

  .midsal-gift__badge span {
    font-size: 0.12rem;
    line-height: 0.16rem;
  }

  .midsal-gift__cards {
    flex-direction: column;
    gap: 0.16rem;
  }

  .midsal-gift__card-body {
    gap: 0.04rem;
  }

  .midsal-gift__card-heading {
    flex-direction: row;
    align-items: baseline;
    gap: 0.08rem;
    height: 0.43rem;
  }

  .midsal-gift__qty-row {
    gap: 0.08rem;
  }

  .midsal-gift__qty-num {
    font-size: 0.36rem;
  }

  .midsal-gift__qty-unit {
    font-size: 0.16rem;
  }

  .midsal-gift__qty-sub {
    font-size: 0.16rem;
  }

  .midsal-gift__card--spec-a .midsal-gift__spec-list {
    gap: 0.04rem
  }

  .midsal-gift__card--spec-a .midsal-gift__spec-row {
    padding: 0.06rem 0.16rem;
  }

  .midsal-gift__card--spec-b .midsal-gift__spec-row {
    padding: 0.03rem 0.16rem;
  }

  .midsal-gift__spec-row dt, .midsal-gift__spec-row dd {
    font-size: 0.12rem;
  }

  .midsal-gift__btn span {
    font-size: 0.14rem;
  }

  .midsal-gift__footnote {
    font-size: 0.12rem;
  }
  .midsal-gift__card {
    padding: 0.16rem;
    gap: 0.12rem;
  }
  .midsal-gift__welfare-badge {
    padding: 0.05rem 0.12rem;
    gap: 0.04rem;
  }
  .midsal-gift__welfare-ico {
    width: 0.12rem;
    height: 0.12rem;
  }
  .midsal-gift__welfare-badge span {
    font-size: 0.12rem;
  }
}

/* ③ 邀好友 — Figma 8585:564 | px ÷ 100 = rem */
.midsal-invt {
  --midsal-invt-bg: url('../img/invt-bg.png');
  width: 14.4rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 0.4rem;
  border-radius: 0.24rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.48) 0.16%, rgba(255, 255, 255, 0.90) 100%), var(--midsal-invt-bg) lightgray -8.6rem -4.4rem / 186.95% 302.917% no-repeat;
  box-sizing: border-box;
}

.midsal-invt *,
.midsal-invt-dialog *,
.midsal-invt-dialog__body * {
  box-sizing: border-box;
}

.midsal-invt__panel {
  display: flex;
  align-items: stretch;
  gap: 0.4rem;
}

.midsal-invt__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.24rem;
}

.midsal-invt__intro {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 0.04rem;
}

.midsal-invt__headline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
}

.midsal-invt__title-plain {
  font-size: 0.36rem;
  font-weight: 800;
  line-height: 1.4;
  color: #262626;
}

.midsal-invt__title-gradient {
  font-size: 0.36rem;
  font-weight: 800;
  line-height: 1.4;
  background: linear-gradient(90deg, #ff4d6b 0%, #0800ef 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.midsal-invt__desc {
  margin: 0;
  font-size: 0.2rem;
  font-weight: 400;
  line-height: 1.4;
  color: #262626;
}

.midsal-invt__action {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.16rem;
}

.midsal-invt__btn-group {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.16rem;
}

.midsal-invt__btn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  margin: 0;
  padding: 0.08rem 0;
  border: none;
  border-radius: 0.24rem;
  background: linear-gradient(90deg, #ff6200 0%, #8905e7 100%);
  cursor: pointer;
  appearance: none;
}

.midsal-invt__btn--my {
  position: relative;
  isolation: isolate;
  width: auto;
  padding: 0.08rem 0.32rem;
  background: #fff;
  border: none;
}

.midsal-invt__btn--my::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 0.012rem;
  background: linear-gradient(90deg, #ff6200 0%, #8905e7 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.midsal-invt__btn span {
  font-size: 0.16rem;
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: 0.0875em;
  text-transform: uppercase;
  color: #fff;
}

.midsal-invt__btn--my span {
  font-weight: 600;
  color: #262626;
}

.midsal-invt__hint {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 1.4;
  color: #262626;
}

.midsal-invt__rules-link {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 1.4;
  color: #2b5dff;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
}

.midsal-invt__lan-src {
  position: absolute;
  visibility: hidden;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.midsal-invt__rules-card {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 1.49rem;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 0.1rem;
  padding: 0.24rem 1.3rem 0.24rem 0.24rem;
  border-radius: 0.16rem;
  background: rgba(255, 255, 255, 0.32);
  overflow: hidden;
}

.midsal-invt__rules-text {
  position: relative;
  z-index: 1;
  align-self: stretch;
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 2;
  color: #262626;
}

.midsal-invt__rules-text p {
  margin: 0;
  padding-left: 0.16rem;
  text-indent: -0.2rem;
}

.midsal-invt__rules-text p + p {
  margin-top: 0;
}

.midsal-invt__rules-text:not(:has(p)) {
  padding-left: 0.16rem;
  text-indent: -0.2rem;
}

.midsal-invt__prize {
  position: absolute;
  right: -0.24rem;
  top: 0.01rem;
  z-index: 0;
  width: 2.58rem;
  height: 1.49rem;
  object-fit: contain;
  pointer-events: none;
  transform: rotateY(180deg);
}

/* 复制弹窗 / 我的邀请弹窗 */
.midsal-invt-dialog,
.midsal-invt-dialog.copy-invitate-dialog,
.midsal-my-invt-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 200011;
  display: none;
  flex-direction: column;
  width: calc(100% - 0.64rem);
  max-width: 8rem;
  max-height: 90vh;
  padding: 0;
  transform: translate(-50%, -50%);
  overflow: auto;
  box-sizing: border-box;
}

.midsal-invt-dialog__body,
.midsal-invt-dialog .copy-invitate-dialog-body,
.midsal-my-invt-dialog__body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  padding: 0;
}

.midsal-invt-dialog__title {
  font-family: 'Alibaba PuHuiTi Heavy', 'PingFang SC', -apple-system, sans-serif;
  font-size: 0.24rem;
  font-weight: 800;
  line-height: 1.4;
  text-align: left;
  padding: 0;
}

.midsal-invt-dialog__content {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0 0.48rem;
}

.midsal-invt-dialog__copy-box {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  padding: 0.16rem 0.24rem;
  border-radius: 0.08rem;
  background: rgba(255, 255, 255, 0.32);
}

.midsal-invt-dialog__copy-msg {
  margin: 0;
  font-size: 0.14rem;
  font-weight: 600;
  line-height: 1.57142857;
  color: #262626;
  text-align: left;
  word-break: break-word;
}

.midsal-invt-dialog__copy-url,
.midsal-invt-dialog .invitate-text {
  margin: 0;
  font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
  font-size: 0.14rem;
  font-weight: 400;
  line-height: 1.57142857;
  color: #265DEE;
  text-align: left;
  word-break: break-all;
}

.midsal-invt-dialog__tip,
.midsal-invt-dialog .copy-invitate-dialog-tip {
  margin: 0;
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 1.5;
  color: #262626;
  text-align: left;
}

.midsal-my-invt-dialog,
.midsal-my-invt-dialog * {
  box-sizing: border-box;
}

.midsal-my-invt-dialog .midsal-dialog__header {
  padding: 0.4rem 0.48rem 0.24rem;
}

.midsal-my-invt-dialog__title {
  font-family: 'Alibaba PuHuiTi Heavy', 'PingFang SC', -apple-system, sans-serif;
  font-size: 0.24rem;
  line-height: 1.4;
}

.midsal-my-invt-dialog__content {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0 0.48rem 0.48rem;
}

.midsal-my-invt-dialog__summary {
  margin: 0;
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 1.5;
  color: #262626;
  text-align: left;
}

.midsal-my-invt-dialog__table-wrap {
  min-height: 0;
}

.midsal-my-invt-dialog__list {
  display: flex;
  flex-direction: column;
  gap: 0.02rem;
}

.midsal-my-invt-dialog__rows {
  display: flex;
  flex-direction: column;
  gap: 0.02rem;
  max-height: 3.5rem;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.midsal-my-invt-dialog__row {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  border-radius: 0.04rem;
}

.midsal-my-invt-dialog__row--head {
  background: rgba(255, 255, 255, 0.32);
}

.midsal-my-invt-dialog__rows .midsal-my-invt-dialog__row:nth-child(odd) {
  background: rgba(255, 255, 255, 0.16);
}

.midsal-my-invt-dialog__rows .midsal-my-invt-dialog__row:nth-child(even) {
  background: rgba(255, 255, 255, 0.24);
}

.midsal-my-invt-dialog__cell {
  min-width: 0;
  padding: 0.06rem 0.16rem;
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 1.5;
  color: #262626;
  text-align: left;
  word-break: break-all;
}

.midsal-my-invt-dialog__row--head .midsal-my-invt-dialog__cell {
  padding: 0.05rem 0.16rem;
  font-size: 0.14rem;
  font-weight: 600;
  line-height: 1.57142857;
  color: #595959;
}

.midsal-my-invt-dialog__cell--user {
  flex: 0 0 1.8rem;
  width: 1.8rem;
}

.midsal-my-invt-dialog__cell--time,
.midsal-my-invt-dialog__cell--gift {
  flex: 1 1 0;
}

.midsal-my-invt-dialog__empty {
  margin: 0.24rem 0 0.08rem;
  font-size: 0.14rem;
  line-height: 1.57142857;
  color: #8c8c8c;
  text-align: center;
}

.midsal-my-invt-dialog__footer-tip {
  margin: 0;
  font-size: 0.14rem;
  font-weight: 400;
  line-height: 1.57142857;
  color: #8c8c8c;
  text-align: left;
}

.midsal-my-invt-dialog__rank-tip {
  margin: 0;
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 1.5;
  color: #262626;
  text-align: left;
}

@media screen and (max-width: 750px) {
  /* Figma 8657:896 — 邀好友移动端 | 393 宽 px÷100 = rem */
  .midsal-invt {
    --midsal-invt-bg: url('../img/invt-bg.png');
    padding: 0.16rem;
    border-radius: 0.12rem;;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.48) 0.16%, rgba(255, 255, 255, 0.90) 100%), var(--midsal-invt-bg) lightgray -2.155rem -6.165rem / 186.95% 302.917% no-repeat;
    margin-top: -0.16rem;
  }

  .midsal-invt__panel {
    flex-direction: column;
    align-items: stretch;
    gap: 0.16rem;
  }

  .midsal-invt__main {
    gap: 0.16rem;
  }

  .midsal-invt__intro {
    align-items: center;
    gap: 0.04rem;
  }

  .midsal-invt__headline {
    justify-content: center;
  }

  .midsal-invt__title-plain,
  .midsal-invt__title-gradient {
    font-size: 0.24rem;
    line-height: 1.4;
  }

  .midsal-invt__desc {
    font-size: 0.12rem;
    line-height: 1.5;
    text-align: center;
  }

  .midsal-invt__action {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    gap: 0.08rem;
  }

  .midsal-invt__btn-group {
    display: flex;
    flex: 0 0 100%;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.08rem;
    width: 100%;
  }

  .midsal-invt__btn {
    width: 1.6rem;
    padding: 0.07rem 0.48rem;
    border-radius: 0.24rem;
  }

  .midsal-invt__btn--my {
    width: auto;
    min-width: 0;
    padding: 0.07rem 0.24rem;
    border-radius: 0.24rem;
  }

  .midsal-invt__btn span {
    font-size: 0.14rem;
    line-height: 1.57142857;
  }

  .midsal-invt__hint {
    flex: 0 0 auto;
    width: auto;
    font-size: 0.12rem;
    line-height: 1.5;
    text-align: center;
  }

  .midsal-invt__rules-link {
    flex: 0 0 auto;
    font-size: 0.12rem;
    line-height: 1.5;
  }

  .midsal-invt__rules-card {
    align-self: stretch;
    min-height: 0;
    gap: 0.1rem;
    padding: 0.15rem 0.64rem 0.16rem 0.15rem;
    border-radius: 0.16rem;
  }

  .midsal-invt__rules-text {
    width: 90%;
    font-size: 0.12rem;
    line-height: 1.83333333;
  }

  .midsal-invt__rules-text p {
    padding-left: 0.12rem;
    text-indent: -0.12rem;
  }

  .midsal-invt__rules-text:not(:has(p)) {
    padding-left: 0.12rem;
    text-indent: -0.12rem;
  }

  .midsal-invt__prize {
    left: auto;
    right: -0.35rem;
    top: 0.3rem;
    bottom: auto;
    width: 1.72rem;
    height: 1rem;
    transform: rotateY(180deg);
  }

  .midsal-invt-dialog__body {
    width: 100%;
  }
}

/* ④ 限时秒杀 — Figma 8533:8833 | px ÷ 100 = rem */
.midsal-seck {
  width: 14.4rem;
  max-width: 100%;
  margin: 0.9rem auto 0;
  box-sizing: border-box;
}

.midsal-seck *,
.midsal-seck *::before,
.midsal-seck *::after {
  box-sizing: border-box;
}

/* 标题区 — Figma 8585:579 */
.midsal-seck__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.24rem;
  margin-bottom: 0.64rem;
}

.midsal-seck__head-top {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  min-height: 1.2rem;
}

.midsal-seck__watermark {
  position: absolute;
  left: 0;
  top: 0.81rem;
  z-index: 0;
  width: 2.34rem;
  height: 2.64rem;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

.midsal-seck__head-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}

.midsal-seck__title {
  margin: 0;
  font-size: 0.64rem;
  line-height: 1.25;
  text-align: center;
  background: linear-gradient(270deg, #ff8c39 0%, #fbffa6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.midsal-seck__subtitle {
  margin: 0;
  font-size: 0.32rem;
  line-height: 1.5;
  text-align: center;
  color: #fff;
}

.midsal-seck__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.04rem 0.24rem;
  border-radius: 0.32rem;
  border: 0.01rem solid transparent;
  background-clip: padding-box;
  position: relative;
}

.midsal-seck__badge::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 0.01rem;
  background: linear-gradient(90deg, #fbfda6 0%, #ff9c83 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.midsal-seck__badge span {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-size: 0.18rem;
  line-height: 1.3333;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(270deg, #ff9c83 0%, #fbfda6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 倒计时条 — Figma 8615:1852 | 背景参照 midsal-invt */
.midsal-seck__countdown-bar {
  --midsal-seck-countdown-bg: url('../img/invt-bg.png');
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.16rem;
  width: 100%;
  min-height: 0.76rem;
  margin-bottom: 0.24rem;
  padding: 0.16rem 0.48rem;
  border-radius: 0.48rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.48) 0.16%, rgba(255, 255, 255, 0.95) 100%), var(--midsal-seck-countdown-bg) lightgray -7.8rem -1.45rem / 186.95% 302.917% no-repeat;
  box-sizing: border-box;
}

.midsal-seck__countdown-label {
  margin: 0;
  font-size: 0.18rem;
  font-weight: 600;
  line-height: 1.5556;
  color: #262626;
  white-space: nowrap;
}

.midsal-seck__countdown-label--solo {
  width: 100%;
  text-align: center;
}

.midsal-seck__countdown-digits {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.08rem;
}

.midsal-seck__countdown-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0.44rem;
  padding: 0.08rem;
  border-radius: 0.08rem;
  background: #fff;
}

.midsal-seck__countdown-box > span {
  font-family: "Arial Black", "Arial Bold", Arial, sans-serif;
  font-size: 0.24rem;
  font-weight: 900;
  line-height: 1.1667;
  background: linear-gradient(90deg, #be14c4 0%, #5338f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.midsal-seck__countdown-colon {
  font-size: 0.18rem;
  font-weight: 600;
  line-height: 1.5556;
  background: linear-gradient(90deg, #be14c4 0%, #5338f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 秒杀大卡 — Figma 8585:587 */
.midsal-seck__frame {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0.64rem;
  border-radius: 0.64rem;
  border: 0.02rem solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 6, 94, 0.08);
  backdrop-filter: blur(1.2rem);
  overflow: hidden;
  box-sizing: border-box;
}

.midsal-seck__deco {
  position: absolute;
  left: -0.18rem;
  top: 1.88rem;
  z-index: 0;
  width: 3.97rem;
  height: 4rem;
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  user-select: none;
}

.midsal-seck__card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  align-self: stretch;
  width: 100%;
  padding: 0.48rem;
  border-radius: 0.32rem;
  background: linear-gradient(135deg, #fff 0%, #dcdbff 100%);
}

.midsal-seck__left {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  min-width: 0;
  gap: 0.48rem;
  padding-right: 0.48rem;
}

.midsal-seck__product {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.midsal-seck__type span {
  margin: 0;
  font-size: 0.24rem;
  line-height: 1.3333;
  background: linear-gradient(90deg, #70b5ff 0%, #fccbff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.midsal-seck__info {
  display: flex;
  flex-direction: column;
  gap: 0.04rem;
}

.midsal-seck__name {
  margin: 0;
  font-size: 0.32rem;
  line-height: 1.25;
  color: #000;
}

.midsal-seck__desc {
  margin: 0;
  font-size: 0.18rem;
  font-weight: 500;
  line-height: 1.5556;
  color: #000;
}

.midsal-seck__price-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.08rem;
}

.midsal-seck__origin {
  margin: 0;
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 1.5;
  color: #000;
}

.midsal-seck__origin span {
  text-decoration: line-through;
}

.midsal-seck__seckill {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.midsal-seck__seckill-label {
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 1.5;
  background: linear-gradient(90deg, #ff0a3b 0%, #f1b338 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.midsal-seck__seckill-row {
  display: flex;
  align-items: baseline;
  gap: 0.04rem;
}

.midsal-seck__seckill-currency {
  font-size: 0.24rem;
  font-weight: 600;
  line-height: 1.3333;
  background: linear-gradient(90deg, #ff0a3b 0%, #f1b338 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.midsal-seck__seckill-num {
  font-size: 0.72rem;
  line-height: 1.4;
  background: linear-gradient(90deg, #ff0a3b 0%, #f1b338 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.midsal-seck__seckill-unit {
  font-size: 0.24rem;
  font-weight: 400;
  line-height: 1.3333;
  background: linear-gradient(90deg, #ff0a3b 0%, #f1b338 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.midsal-seck__right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
  gap: 0.16rem;
  padding: 0.32rem;
  border-radius: 0.16rem;
  background: rgba(0, 0, 0, 0.02);
}

.midsal-seck__detail {
  display: flex;
  flex-direction: column;
  gap: 0.24rem;
}

.midsal-seck__detail-block {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.midsal-seck__detail-label,
.midsal-seck__detail-value {
  margin: 0;
  color: #000;
}

.midsal-seck__detail-label {
  font-size: 0.14rem;
  font-weight: 400;
  line-height: 1.5714;
}

.midsal-seck__detail-value {
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 1.5;
}

.midsal-seck__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.24rem;
}

.midsal-seck__btn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  margin: 0;
  padding: 0.12rem 0.48rem;
  border: none;
  border-radius: 0.24rem;
  background: linear-gradient(90deg, #ff6200 0%, #8905e7 100%);
  cursor: pointer;
  appearance: none;
}

.midsal-seck__btn span {
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.0875em;
  text-transform: uppercase;
  color: #fff;
}

.midsal-seck__btn--disabled,
.midsal-seck__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.midsal-seck__hint {
  flex: none;
  min-width: 0;
  margin: 0;
  font-size: 0.16rem;
  font-weight: 600;
  line-height: 1.4;
  background: linear-gradient(90deg, #be14c4 0%, #5338f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media screen and (max-width: 750px) {
  /* Figma 8657:911 — 限时秒杀移动端 | 393 宽 px÷100 = rem */
  .midsal-seck {
    margin-top: 0;
  }

  .midsal-seck__head {
    gap: 0.12rem;
    margin-bottom: 0.32rem;
  }

  .midsal-seck__head-top {
    justify-content: center;
    min-height: 0;
  }

  .midsal-seck__watermark {
    left: 0;
    top: 0.94rem;
    width: 0.94rem;
    height: 1.06rem;
    transform: none;
  }

  .midsal-seck__title {
    font-size: 0.36rem;
    font-weight: 800;
    line-height: 0.48rem;
  }

  .midsal-seck__subtitle {
    font-size: 0.2rem;
    font-weight: 800;
    line-height: 1.6;
  }

  .midsal-seck__badge {
    padding: 0.02rem 0.12rem;
    border-radius: 0.32rem;
  }

  .midsal-seck__badge span {
    font-size: 0.14rem;
    line-height: 1.57142857;
    font-weight: 500;
  }

  .midsal-seck__frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.12rem;
    padding: 0.16rem;
    border-radius: 0.32rem;
    border-width: 0.02rem;
  }

  .midsal-seck__countdown-bar {
    align-self: stretch;
    gap: 0.1rem;
    min-height: auto;
    margin-bottom: 0;
    padding: 0.08rem 0.16rem;
    border-radius: 0.48rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.48) 0.16%, rgba(255, 255, 255, 0.95) 100%), var(--midsal-seck-countdown-bg) lightgray -1.94rem -0.88rem / 186.95% 302.917% no-repeat;
  }

  .midsal-seck__countdown-label {
    font-size: 0.14rem;
    line-height: 2;
  }

  .midsal-seck__countdown-digits {
    gap: 0.04rem;
  }

  .midsal-seck__countdown-box {
    min-width: 0;
    padding: 0.04rem 0.06rem;
    border-radius: 0.08rem;
  }

  .midsal-seck__countdown-box > span {
    font-size: 0.16rem;
    line-height: 1.375;
  }

  .midsal-seck__countdown-colon {
    font-size: 0.14rem;
    line-height: 2;
  }

  .midsal-seck__deco {
    display: block;
    left: -0.18rem;
    top: 2.13rem;
    width: 3.97rem;
    height: 4rem;
    font-size: 2rem;
    line-height: 1;
  }

  .midsal-seck__card-inner {
    flex-direction: column;
    align-self: stretch;
    padding: 0.16rem;
    border-radius: 0.16rem;
  }

  .midsal-seck__left {
    padding-right: 0;
    gap: 0.08rem;
  }

  .midsal-seck__product {
    gap: 0.04rem;
  }

  .midsal-seck__type span {
    font-size: 0.18rem;
    font-weight: 900;
    line-height: 1.55555556;
  }

  .midsal-seck__name {
    font-size: 0.24rem;
    font-weight: 900;
    line-height: 1.33333333;
  }

  .midsal-seck__desc {
    font-size: 0.12rem;
    font-weight: 500;
    line-height: 1.83333333;
  }

  .midsal-seck__origin {
    font-size: 0.14rem;
    line-height: 1.71428571;
  }

  .midsal-seck__seckill-label {
    font-size: 0.14rem;
    font-weight: 600;
    line-height: 1.57142857;
  }

  .midsal-seck__seckill-currency {
    font-size: 0.24rem;
    line-height: 1.33333333;
  }

  .midsal-seck__seckill-num {
    font-size: 0.4rem;
    line-height: 1.4;
  }

  .midsal-seck__seckill-unit {
    font-size: 0.24rem;
    line-height: 1.33333333;
  }

  .midsal-seck__right {
    gap: 0.16rem;
    padding: 0.16rem;
    border-radius: 0.16rem;
    background: rgba(0, 0, 0, 0.03);
  }

  .midsal-seck__detail {
    gap: 0.04rem;
  }

  .midsal-seck__detail-block {
    gap: 0.04rem;
  }

  .midsal-seck__detail-label {
    font-size: 0.11rem;
    font-weight: 600;
    line-height: 1.45454545;
  }

  .midsal-seck__detail-value {
    font-size: 0.12rem;
    line-height: 1.5;
  }

  .midsal-seck__footer {
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    gap: 0.08rem;
  }

  .midsal-seck__btn {
    align-self: stretch;
    width: 100%;
    padding: 0.07rem 0.32rem;
    border-radius: 0.24rem;
  }

  .midsal-seck__btn span {
    font-size: 0.14rem;
    font-weight: 600;
    line-height: 1.57142857;
  }

  .midsal-seck__hint {
    width: 100%;
    font-size: 0.12rem;
    line-height: 1.83333333;
    text-align: center;
  }
}

/* ⑤ Token Plan — Figma 8511:698 | px ÷ 100 = rem */

/* Section 03 标题 — Figma 8585:619（TKPL / CDPL 共用） */
.midsal-plan__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0.64rem auto 0.32rem;
  width: 14.4rem;
  max-width: 100%;
}

.midsal-plan__head-top {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  min-height: 1.2rem;
}

.midsal-plan__watermark {
  position: absolute;
  left: 0;
  top: 0.41rem;
  z-index: 0;
  width: 2.34rem;
  height: 2.64rem;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

.midsal-plan__head-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}

.midsal-plan__title {
  margin: 0;
  font-size: 0.64rem;
  line-height: 1.25;
  text-align: center;
  background: linear-gradient(270deg, #ff8c39 0%, #fbffa6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.midsal-plan__subtitle {
  margin: 0;
  font-size: 0.32rem;
  line-height: 1.5;
  text-align: center;
  color: #fff;
}

/* TokenPlan 组 — Figma 8585:626 */
.midsal-tkpl__board {
  position: relative;
  width: 14.4rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 0.24rem;
  border-radius: 0.32rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(0.64rem);
  overflow: hidden;
  box-sizing: border-box;
}

.midsal-tkpl__board *,
.midsal-tkpl__board *::before,
.midsal-tkpl__board *::after {
  box-sizing: border-box;
}

.midsal-tkpl__deco {
  position: absolute;
  left: -0.04rem;
  top: 2.67rem;
  z-index: 0;
  width: 8.38rem;
  height: 2rem;
  font-size: 1.6rem;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.midsal-tkpl__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.16rem;
}

.midsal-tkpl__intro {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.32rem;
  padding: 0.32rem;
  border-radius: 0.16rem;
  background: linear-gradient(135deg, #2100bc 0%, #640092 100%);
}

.midsal-tkpl__intro-head {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.midsal-tkpl__intro-label {
  margin: 0;
  font-size: 0.4rem;
  line-height: 1.2;
  background: linear-gradient(90deg, #ffe570 0%, #ffd1cb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.midsal-tkpl__intro-name {
  margin: 0;
  font-size: 0.28rem;
  line-height: 1.1429;
  color: #fff;
}

.midsal-tkpl__intro-desc {
  margin: 0;
  font-size: 0.14rem;
  font-weight: 400;
  line-height: 1.5714;
  color: #fff;
}

.midsal-tkpl__card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.16rem;
  padding: 0.32rem;
  border-radius: 0.16rem;
  background: #fff;
}

.midsal-tkpl__diamond {
  position: absolute;
  top: 0.08rem;
  right: 0.12rem;
  z-index: 1;
  width: 1rem;
  height: 1rem;
  background: url('../img/icon-diamond.svg') center / contain no-repeat;
  pointer-events: none;
}

.midsal-tkpl__card-top {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 0.16rem;
}

.midsal-tkpl__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.04rem;
  padding: 0.05rem 0.12rem 0.05rem 0.08rem;
  border-radius: 0.32rem;
  background: linear-gradient(90deg, #be1cf9 0%, #ff9a3c 100%);
}

.midsal-tkpl__badge-ico {
  flex-shrink: 0;
  width: 0.14rem;
  height: 0.14rem;
  background: url('../img/icon-gift.svg') center / contain no-repeat;
}

.midsal-tkpl__badge span {
  font-size: 0.12rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.0833em;
  text-transform: uppercase;
  color: #fff;
}

.midsal-tkpl__card-body {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.32rem;
}

.midsal-tkpl__card-info {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.midsal-tkpl__card-name {
  margin: 0;
  font-size: 0.32rem;
  line-height: 1.2;
  color: #000;
}

.midsal-tkpl__card-desc {
  margin: 0;
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 1.5;
  color: #000;
}

.midsal-tkpl__card-desc p {
  margin: 0;
}

.midsal-tkpl__price {
  display: flex;
  flex-direction: column;
  gap: 0.04rem;
}

.midsal-tkpl__origin {
  margin: 0;
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.6);
  text-decoration: line-through;
}

.midsal-tkpl__deal-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.04rem;
}

.midsal-tkpl__deal-label,
.midsal-tkpl__deal-currency,
.midsal-tkpl__deal-unit {
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 1.5;
  color: #ff0021;
}

.midsal-tkpl__deal-num {
  font-size: 0.28rem;
  font-weight: 600;
  line-height: 1.4;
  color: #ff0021;
}

.midsal-tkpl__btn {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0.08rem 0.48rem;
  border: none;
  border-radius: 0.24rem;
  background: linear-gradient(90deg, #9e61c1 0%, #6305e7 100%);
  cursor: pointer;
  appearance: none;
}

.midsal-tkpl__btn span {
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.0875em;
  text-transform: uppercase;
  color: #fff;
}

@media screen and (max-width: 750px) {
  /* Figma 8657:962 — Section 03 标题 + Token Plan 移动端 | 393 宽 px÷100 = rem */
  .midsal-plan__head {
    margin: 0 auto 0.24rem;
  }

  .midsal-plan__head-top {
    justify-content: center;
    min-height: 0;
  }

  .midsal-plan__watermark {
    left: 0;
    top: 0.5rem;
    width: 0.94rem;
    height: 1.06rem;
    transform: none;
  }

  .midsal-plan__title {
    font-size: 0.36rem;
    font-weight: 800;
    line-height: 0.48rem;
  }

  .midsal-plan__subtitle {
    font-size: 0.2rem;
    font-weight: 800;
    line-height: 1.6;
  }

  .midsal-tkpl__board {
    padding: 0.16rem;
    border-radius: 0.24rem;
  }

  .midsal-tkpl__deco {
    display: block;
    left: -0.04rem;
    top: auto;
    bottom: 0;
    width: auto;
    height: auto;
    font-size: 1.6rem;
    line-height: 1.25;
  }

  .midsal-tkpl__inner {
    grid-template-columns: 1fr;
    gap: 0.08rem;
  }

  .midsal-tkpl__intro {
    padding: 0.24rem;
    border-radius: 0.12rem;
    gap: 0.32rem;
  }

  .midsal-tkpl__intro-label {
    font-size: 0.32rem;
    font-weight: 900;
    line-height: 1.25;
  }

  .midsal-tkpl__intro-name {
    font-size: 0.2rem;
    font-weight: 900;
    line-height: 1.2;
  }

  .midsal-tkpl__intro-desc {
    font-size: 0.12rem;
    line-height: 1.5;
    text-transform: uppercase;
  }

  .midsal-tkpl__card {
    align-items: stretch;
    gap: 0.08rem;
    padding: 0.16rem;
    border-radius: 0.12rem;
  }

  .midsal-tkpl__diamond {
    top: 0.08rem;
    right: 0.22rem;
    left: auto;
    width: 1.2rem;
    height: 1.2rem;
  }

  .midsal-tkpl__badge {
    gap: 0.04rem;
    padding: 0.04rem 0.12rem 0.04rem 0.08rem;
    border-radius: 0.32rem;
  }

  .midsal-tkpl__badge-ico {
    width: 0.12rem;
    height: 0.12rem;
  }

  .midsal-tkpl__badge span {
    font-size: 0.1rem;
    font-weight: 600;
    line-height: 1.6;
  }

  .midsal-tkpl__card-body {
    gap: 0.16rem;
  }

  .midsal-tkpl__card-info {
    gap: 0.08rem;
  }

  .midsal-tkpl__card-name {
    font-size: 0.24rem;
    font-weight: 900;
    line-height: 1.2;
  }

  .midsal-tkpl__card-desc {
    font-size: 0.12rem;
    line-height: 1.5;
  }

  .midsal-tkpl__origin {
    font-size: 0.14rem;
    line-height: 1.71428571;
  }

  .midsal-tkpl__deal-label,
  .midsal-tkpl__deal-currency,
  .midsal-tkpl__deal-unit {
    font-size: 0.14rem;
    line-height: 1.57142857;
  }

  .midsal-tkpl__deal-num {
    font-size: 0.24rem;
    font-weight: 600;
    line-height: 1.4;
  }

  .midsal-tkpl__btn {
    padding: 0.05rem 0.48rem;
    border-radius: 0.24rem;
  }

  .midsal-tkpl__btn span {
    font-size: 0.14rem;
    font-weight: 600;
    line-height: 1.57142857;
  }
}

/* ⑥ Coding Plan — Figma 8585:744 */
.midsal-cdpl {
  width: 14.4rem;
  max-width: 100%;
  margin: 0.32rem auto 0;
  box-sizing: border-box;
}

.midsal-cdpl *,
.midsal-cdpl *::before,
.midsal-cdpl *::after {
  box-sizing: border-box;
}

.midsal-cdpl__board {
  position: relative;
  padding: 0.24rem;
  border-radius: 0.32rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(0.64rem);
  overflow: hidden;
}

.midsal-cdpl__deco {
  position: absolute;
  left: -0.04rem;
  top: 2.59rem;
  z-index: 0;
  width: 9.17rem;
  height: 2rem;
  font-size: 1.6rem;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.midsal-cdpl__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.16rem;
}

.midsal-cdpl__intro {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.32rem;
  padding: 0.32rem;
  border-radius: 0.16rem;
  background: linear-gradient(135deg, #020060 0%, #00229f 100%);
}

.midsal-cdpl__intro-head {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.midsal-cdpl__intro-label {
  margin: 0;
  font-size: 0.4rem;
  line-height: 1.2;
  background: linear-gradient(90deg, #ffe570 0%, #ffd1cb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.midsal-cdpl__intro-name {
  margin: 0;
  font-size: 0.28rem;
  line-height: 1.1429;
  color: #fff;
}

.midsal-cdpl__intro-desc {
  margin: 0;
  font-size: 0.14rem;
  font-weight: 400;
  line-height: 1.5714;
  color: #fff;
}

.midsal-cdpl__card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.24rem;
  padding: 0.32rem;
  border-radius: 0.16rem;
  background: #fff;
}

.midsal-cdpl__card.is-featured {
  grid-column: span 2;
}

.midsal-cdpl__diamond {
  position: absolute;
  top: 0.28rem;
  right: 0.32rem;
  z-index: 1;
  width: 2rem;
  height: 2rem;
  background: url('../img/icon-diamond.svg') center / contain no-repeat;
  pointer-events: none;
}

.midsal-cdpl__card-top {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 0.16rem;
}

.midsal-cdpl__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.04rem;
  padding: 0.05rem 0.12rem 0.05rem 0.08rem;
  border-radius: 0.32rem;
  background: linear-gradient(90deg, #be1cf9 0%, #ff9a3c 100%);
}

.midsal-cdpl__badge-ico {
  flex-shrink: 0;
  width: 0.14rem;
  height: 0.14rem;
  background: url('../img/icon-gift.svg') center / contain no-repeat;
}

.midsal-cdpl__badge span {
  font-size: 0.12rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.0833em;
  text-transform: uppercase;
  color: #fff;
}

.midsal-cdpl__card-body {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.32rem;
}

.midsal-cdpl__card-info {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.midsal-cdpl__card-name {
  margin: 0;
  font-size: 0.32rem;
  line-height: 1.2;
  color: #000;
}

.midsal-cdpl__card-desc {
  margin: 0;
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 1.5;
  color: #000;
}

.midsal-cdpl__price {
  display: flex;
  flex-direction: column;
  gap: 0.04rem;
}

.midsal-cdpl__origin {
  margin: 0;
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.6);
  text-decoration: line-through;
}

.midsal-cdpl__deal-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.04rem;
}

.midsal-cdpl__deal-label,
.midsal-cdpl__deal-currency,
.midsal-cdpl__deal-unit {
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 1.5;
  color: #ff0021;
}

.midsal-cdpl__deal-num {
  font-size: 0.28rem;
  font-weight: 600;
  line-height: 1.4;
  color: #ff0021;
}

.midsal-cdpl__btn {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0.08rem 0;
  border: none;
  border-radius: 0.24rem;
  background: linear-gradient(90deg, #112491 0%, #552ed9 100%);
  cursor: pointer;
  appearance: none;
}

.midsal-cdpl__btn span {
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.0875em;
  text-transform: uppercase;
  color: #fff;
}

@media screen and (max-width: 750px) {
  /* Figma 8657:962 — Coding Plan 移动端 | 393 宽 px÷100 = rem */
  .midsal-cdpl {
    margin-top: 0.24rem;
  }

  .midsal-cdpl__board {
    padding: 0.16rem;
    border-radius: 0.24rem;
  }

  .midsal-cdpl__deco {
    display: block;
    left: -0.04rem;
    top: auto;
    bottom: 0;
    width: auto;
    height: auto;
    font-size: 1.6rem;
    line-height: 1.25;
  }

  .midsal-cdpl__inner {
    grid-template-columns: 1fr;
    gap: 0.08rem;
  }

  .midsal-cdpl__card.is-featured {
    grid-column: span 1;
  }

  .midsal-cdpl__intro {
    padding: 0.24rem;
    border-radius: 0.12rem;
    gap: 0.32rem;
  }

  .midsal-cdpl__intro-label {
    font-size: 0.32rem;
    font-weight: 900;
    line-height: 1.25;
  }

  .midsal-cdpl__intro-name {
    font-size: 0.2rem;
    font-weight: 900;
    line-height: 1.2;
  }

  .midsal-cdpl__intro-desc {
    font-size: 0.12rem;
    line-height: 1.5;
    text-transform: uppercase;
  }

  .midsal-cdpl__card {
    align-items: stretch;
    gap: 0.08rem;
    padding: 0.16rem;
    border-radius: 0.12rem;
  }

  .midsal-cdpl__diamond {
    top: 0.08rem;
    right: 0.22rem;
    left: auto;
    width: 1.2rem;
    height: 1.2rem;
  }

  .midsal-cdpl__badge {
    gap: 0.04rem;
    padding: 0.04rem 0.12rem 0.04rem 0.08rem;
    border-radius: 0.32rem;
  }

  .midsal-cdpl__badge-ico {
    width: 0.12rem;
    height: 0.12rem;
  }

  .midsal-cdpl__badge span {
    font-size: 0.1rem;
    font-weight: 600;
    line-height: 1.6;
  }

  .midsal-cdpl__card-body {
    gap: 0.16rem;
  }

  .midsal-cdpl__card-info {
    gap: 0.08rem;
  }

  .midsal-cdpl__card-name {
    font-size: 0.24rem;
    font-weight: 900;
    line-height: 1.2;
  }

  .midsal-cdpl__card-desc {
    font-size: 0.12rem;
    line-height: 1.5;
  }

  .midsal-cdpl__origin {
    font-size: 0.14rem;
    line-height: 1.71428571;
  }

  .midsal-cdpl__deal-label,
  .midsal-cdpl__deal-currency,
  .midsal-cdpl__deal-unit {
    font-size: 0.14rem;
    line-height: 1.57142857;
  }

  .midsal-cdpl__deal-num {
    font-size: 0.24rem;
    font-weight: 600;
    line-height: 1.4;
  }

  .midsal-cdpl__btn {
    padding: 0.05rem 0;
    border-radius: 0.24rem;
  }

  .midsal-cdpl__btn span {
    font-size: 0.14rem;
    font-weight: 600;
    line-height: 1.57142857;
  }
}

/* ⑦ 必囤清单 — MIDSALPROD */
.midsal-prod {
  position: relative;
  width: 14.4rem;
  max-width: 100%;
  margin: 0.64rem auto 0;
}

/* 标题区 — Figma 8585:832 */
.midsal-prod__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.64rem;
}

.midsal-prod__head-top {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  min-height: 1.2rem;
}

.midsal-prod__watermark {
  position: absolute;
  left: 0;
  top: 0.38rem;
  z-index: 0;
  width: 2.31rem;
  height: 2.64rem;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

.midsal-prod__head-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}

.midsal-prod__title {
  margin: 0;
  font-size: 0.64rem;
  line-height: 1.25;
  text-align: center;
  background: linear-gradient(270deg, #ff8c39 0%, #fbffa6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.midsal-prod__subtitle {
  margin: 0;
  font-size: 0.32rem;
  line-height: 1.5;
  text-align: center;
  color: #fff;
}

.midsal-prod__body {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.midsal-prod__row--compute {
  display: flex;
  gap: 0.16rem;
  align-items: stretch;
}

.midsal-prod__row--app {
  display: flex;
  flex-wrap: wrap;
  gap: 0.16rem;
  align-items: stretch;
}

/* OCR 文字识别专区 — Figma 8585:957 */
.midsal-prod__ocr-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
  width: 100%;
  padding: 0.24rem 0.32rem;
  border-radius: 0.16rem;
  background: linear-gradient(90deg, #0fc1dc 0%, #00c8aa 100%);
  overflow: hidden;
}

.midsal-prod__ocr-zone-head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.16rem;
}

.midsal-prod__ocr-zone-title {
  margin: 0;
  font-size: 0.36rem;
  line-height: 1.56;
}

.midsal-prod__ocr-zone-accent {
  background: linear-gradient(90deg, #f1ffaa 0%, #c6ffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.midsal-prod__ocr-zone-plain {
  color: #fff;
}

.midsal-prod__ocr-zone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.04rem;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  appearance: none;
}

.midsal-prod__ocr-zone-link span {
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
}

.midsal-prod__ocr-zone-cards {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.24rem;
  align-items: stretch;
}

.midsal-prod__ocr-zone-deco {
  position: absolute;
  right: -0.08rem;
  top: 1.48rem;
  width: 3.2rem;
  height: 3.2rem;
  opacity: 0.12;
  pointer-events: none;
  background: url("/static/subject/midsal/img/icon-container-deco.svg") center / contain no-repeat;
}

.midsal-prod__ocr-card {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
  padding: 0.24rem;
  border-radius: 0.16rem;
  background: #fff;
}

.midsal-prod__ocr-badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.03rem 0.2rem 0.03rem 0.16rem;
  border-radius: 0 0.16rem 0 0.12rem;
  font-size: 0.13rem;
  font-weight: 500;
  line-height: 1.38;
  color: #fff;
  background: linear-gradient(270deg, #009bc6 0%, #01c265 100%);
}

.midsal-prod__ocr-badge.is-free {
  background: linear-gradient(270deg, #009bc6 0%, #01c265 100%);
}

.midsal-prod__ocr-card-top {
  display: flex;
  align-items: center;
  gap: 0.16rem;
}

.midsal-prod__ocr-icon-box {
  flex-shrink: 0;
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 0.12rem;
  border: 0.01rem solid rgba(231, 231, 231, 0.16);
  box-shadow: 0 0.04rem 0.08rem rgba(0, 0, 0, 0.08);
  overflow: hidden;
  background: #fff;
}

.midsal-prod__ocr-card-name {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 0.18rem;
  font-weight: 600;
  line-height: 1.78;
  text-transform: uppercase;
  color: #000;
}

.midsal-prod__ocr-card-desc {
  margin: 0;
  font-size: 0.14rem;
  font-weight: 400;
  line-height: 1.57;
  color: rgba(0, 0, 0, 0.6);
}

.midsal-prod__ocr-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.04rem;
}

.midsal-prod__ocr-price-yen,
.midsal-prod__ocr-price-unit {
  font-size: 0.16rem;
  font-weight: 600;
  line-height: 1.4;
  color: #ff0021;
}

.midsal-prod__ocr-price-num,
.midsal-prod__ocr-price-free {
  font-size: 0.28rem;
  font-weight: 600;
  line-height: 1.4;
  color: #ff0021;
}

.midsal-prod__ocr-price-old {
  font-size: 0.14rem;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.6);
  text-decoration: line-through;
}

.midsal-prod__ocr-btn {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0.07rem 0.48rem;
  border: none;
  border-radius: 0.24rem;
  background: linear-gradient(90deg, #0fc1db 0%, #00ba7f 100%);
  cursor: pointer;
  appearance: none;
}

.midsal-prod__ocr-btn span {
  font-size: 0.14rem;
  font-weight: 600;
  line-height: 1.57;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}


/* 应用研选专区 — Figma 8601:1588 */
.midsal-prod__app-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
  width: 100%;
  overflow: hidden;
}

.midsal-prod__app-zone-head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.16rem;
}

.midsal-prod__app-zone-title {
  display: flex;;
  margin: 0;
  font-size: 0.36rem;
  line-height: 1.56;
}

.midsal-prod__app-zone-accent {
  background: linear-gradient(90deg, #f1ffaa 0%, #c6ffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.midsal-prod__app-zone-plain {
  color: #fff;
}

.midsal-prod__app-zone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.04rem;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  appearance: none;
}

.midsal-prod__app-zone-link span {
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
}

.midsal-prod__app-zone-cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.24rem;
  align-items: stretch;
}

.midsal-prod__app-zone-deco {
  position: absolute;
  right: -0.08rem;
  top: 3.61rem;
  width: 3.2rem;
  height: 3.2rem;
  opacity: 0.12;
  pointer-events: none;
  background: url("/static/subject/midsal/img/icon-container-deco.svg") center / contain no-repeat;
}

.midsal-prod__app-card {
  position: relative;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
  padding: 0.24rem;
  border-radius: 0.16rem;
  background: #fff;
}

.midsal-prod__app-badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.03rem 0.2rem 0.03rem 0.16rem;
  border-radius: 0 0.16rem 0 0.12rem;
  font-size: 0.13rem;
  font-weight: 500;
  line-height: 1.38;
  color: #fff;
  background: linear-gradient(270deg, #c31eff 0%, #ff8c49 100%);
}

.midsal-prod__app-card-top {
  display: flex;
  align-items: center;
  gap: 0.16rem;
}

.midsal-prod__app-icon-box {
  flex-shrink: 0;
  width: 0.44rem;
  height: 0.44rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.12rem;
  overflow: hidden;
  background: linear-gradient(135deg, #001b3d 0%, #2a2a2a 100%);
}

.midsal-prod__app-zone-cards .midsal-prod__app-card:nth-child(2) .midsal-prod__app-icon-box {
  background: linear-gradient(135deg, #00cee1 0%, #0059fe 100%);
}

.midsal-prod__app-zone-cards .midsal-prod__app-card:nth-child(3) .midsal-prod__app-icon-box {
  background: linear-gradient(135deg, #d94c97 0%, #0059fe 100%);
}

.midsal-prod__app-zone-cards .midsal-prod__app-card:nth-child(4) .midsal-prod__app-icon-box {
  background: linear-gradient(135deg, #0059fe 0%, #4da3ec 100%);
}

.midsal-prod__app-zone-cards .midsal-prod__app-card:nth-child(5) .midsal-prod__app-icon-box {
  background: linear-gradient(135deg, #1f5c8c 0%, #546f94 100%);
}

.midsal-prod__app-zone-cards .midsal-prod__app-card:nth-child(n+6) .midsal-prod__app-icon-box {
  background: linear-gradient(135deg, #fa5909 0%, #9e3c97 100%);
}

.midsal-prod__app-card-name {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 0.18rem;
  font-weight: 600;
  line-height: 1.22;
  text-transform: uppercase;
  color: #000;
}

.midsal-prod__app-card-desc {
  margin: 0;
  flex: 1;
  min-height: 0;
  font-size: 0.14rem;
  font-weight: 400;
  line-height: 1.57;
  color: rgba(0, 0, 0, 0.6);
}

.midsal-prod__app-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.04rem;
  margin-top: auto;
  flex-shrink: 0;
}

.midsal-prod__app-price-yen,
.midsal-prod__app-price-unit {
  font-size: 0.16rem;
  font-weight: 600;
  line-height: 1.4;
  color: #ff0021;
}

.midsal-prod__app-price-num,
.midsal-prod__app-price-free {
  font-size: 0.28rem;
  font-weight: 600;
  line-height: 1.4;
  color: #ff0021;
}

.midsal-prod__app-price-old {
  font-size: 0.14rem;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.6);
  text-decoration: line-through;
}

.midsal-prod__app-btn {
  align-self: stretch;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0.07rem 0.48rem;
  border: none;
  border-radius: 0.24rem;
  background: linear-gradient(90deg, #5b4bf6 0%, #7c13dd 100%);
  cursor: pointer;
  appearance: none;
}

.midsal-prod__app-btn span {
  font-size: 0.14rem;
  font-weight: 600;
  line-height: 1.57;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

/* 品类头 */
.midsal-prod__cat {
  position: relative;
  overflow: hidden;
  border-radius: 0.16rem;
}

.midsal-prod__cat--compute {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0.24rem 0.32rem;
  background: linear-gradient(90deg, #6e5bff 0%, #3288ff 100%);
}

.midsal-prod__cat--app {
  width: 10.76rem;
  height: 2.61rem;
  padding: 0.24rem 0.32rem;
  background: linear-gradient(90deg, #008b51 0%, #00c89d 100%);
}

.midsal-prod__cat-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 0.32rem;
}

.midsal-prod__cat-head {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.midsal-prod__cat-label {
  display: flex;
  margin: 0;
  font-size: 0.36rem;
line-height: 1.56;
}

.midsal-prod__cat-label-accent {
  background: linear-gradient(90deg, #ffe570 0%, #ffd1cb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.midsal-prod__cat-label-accent--app {
  background: linear-gradient(90deg, #f1ffaa 0%, #c6ffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.midsal-prod__cat-label-plain {
  color: #fff;
}

.midsal-prod__cat-desc {
  margin: 0;
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 1.375;
  color: #fff;
}

.midsal-prod__cat--app .midsal-prod__cat-desc {
  color: rgba(255, 255, 255, 0.85);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  text-transform: none;
}

.midsal-prod__cat-link {
  display: inline-flex;
  align-items: center;
  gap: 0.04rem;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  appearance: none;
}

.midsal-prod__cat-link span {
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
}

.midsal-prod__cat-arrow {
  display: inline-block;
  width: 0.16rem;
  height: 0.16rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath d='M6 4l4 4-4 4' stroke='%23fff' stroke-width='1.33'/%3E%3C/svg%3E") center / contain no-repeat;
}

.midsal-prod__cat-deco {
  position: absolute;
  pointer-events: none;
}

.midsal-prod__cat-deco--server {
  right: 0.16rem;
  bottom: 0;
  width: 1.6rem;
  height: 1.6rem;
  opacity: 0.12;
  background: url("../img/icon-server-deco.svg") center / contain no-repeat;
}

.midsal-prod__cat-deco-img {
  display: block;
  object-fit: contain;
  background: none;
  opacity: 1;
}

.midsal-prod__cat-deco--container {
  right: 0;
  bottom: 0;
  width: 3.2rem;
  height: 3.2rem;
  opacity: 0.5;
  background: url("/static/subject/midsal/img/icon-container-deco.svg") center / contain no-repeat;
}

/* 商品卡 */
.midsal-prod__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
  padding: 0.24rem;
  border-radius: 0.16rem;
  background: rgba(39, 48, 188, 0.6);
  backdrop-filter: blur(0.64rem);
  -webkit-backdrop-filter: blur(0.64rem);
}

.midsal-prod__card--compute {
  flex: 1;
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.midsal-prod__card--compute .midsal-prod__badge {
  background: linear-gradient(270deg, #c31eff 0%, #ff8c49 100%);
}

.midsal-prod__card-top--compute {
  align-self: stretch;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
}

.midsal-prod__card-titles--compute {
  align-self: stretch;
  gap: 0;
}

.midsal-prod__card-headline {
  margin: 0;
  font-size: 0.2rem;
  font-weight: 600;
  line-height: 1.6;
  text-transform: uppercase;
  color: #000;
}

.midsal-prod__card-subline {
  margin: 0;
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 1.5;
  text-transform: uppercase;
  color: #000;
}

.midsal-prod__card--compute .midsal-prod__card-scene {
  color: rgba(0, 0, 0, 0.6);
}

.midsal-prod__card--compute .midsal-prod__price-yen,
.midsal-prod__card--compute .midsal-prod__price-num,
.midsal-prod__card--compute .midsal-prod__price-unit,
.midsal-prod__card--compute .midsal-prod__price-free {
  color: #ff0021;
}

.midsal-prod__card--compute .midsal-prod__price-old {
  color: rgba(0, 0, 0, 0.6);
}

.midsal-prod__btn--compute {
  padding: 0.07rem 0.48rem;
  border: none;
  border-image: none;
  background: linear-gradient(90deg, #6C5DFF 0%, #34C2FF 100%);
  box-shadow: none;
}

.midsal-prod__btn--compute span {
  color: #fff;
}

.midsal-prod__card--app {
  width: 3.48rem;
}

.midsal-prod__badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.03rem 0.2rem 0.03rem 0.16rem;
  border-radius: 0 0.16rem 0 0.12rem;
  font-size: 0.13rem;
  font-weight: 500;
  line-height: 1.38;
  color: #fff;
  background: linear-gradient(270deg, #9100c6 0%, #ea6f27 100%);
}

.midsal-prod__badge--free,
.midsal-prod__badge.is-free {
  background: linear-gradient(270deg, #ff3337 0%, #ffa967 100%);
}

.midsal-prod__card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.16rem;
}

.midsal-prod__card-top--app {
  align-items: center;
}

.midsal-prod__icon-box {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.16rem;
}

.midsal-prod__icon-box--compute {
  width: 0.64rem;
  height: 0.64rem;
  background: linear-gradient(135deg, #00cbff 0%, #16a34a 100%);
}

.midsal-prod__row--compute .midsal-prod__card--compute:nth-child(3) .midsal-prod__icon-box--compute {
  background: linear-gradient(135deg, #fa5909 0%, #9e3c97 100%);
}

.midsal-prod__row--compute .midsal-prod__card--compute:nth-child(4) .midsal-prod__icon-box--compute {
  background: linear-gradient(135deg, #4da3ec 0%, #4a29fa 100%);
}

.midsal-prod__icon-box--app {
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 0.12rem;
  border: 0.01rem solid rgba(231, 231, 231, 0.16);
  box-shadow: 0 0.04rem 0.08rem rgba(0, 0, 0, 0.08);
  overflow: hidden;
  background: #fff;
}

.midsal-prod__icon-server {
  display: block;
  width: 0.32rem;
  height: 0.32rem;
  background: url("../img/icon-server.svg") center / contain no-repeat;
}

.midsal-prod__icon-box--compute .midsal-prod__icon-img {
  object-fit: contain;
}

.midsal-prod__icon-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.midsal-prod__card-titles {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.04rem;
}

.midsal-prod__card-tagline {
  margin: 0;
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 1.5;
  text-transform: uppercase;
  color: #fff;
}

.midsal-prod__card-name {
  margin: 0;
  font-size: 0.2rem;
  font-weight: 600;
  line-height: 1.45;
  text-transform: uppercase;
  color: #fff;
}

.midsal-prod__card-name--app {
  font-size: 0.18rem;
  line-height: 1.22;
  text-transform: uppercase;
}

.midsal-prod__card-name--sub,
.midsal-prod__card-name.is-name-sub {
  font-size: 0.14rem;
  font-weight: 400;
  line-height: 1.57;
  text-transform: uppercase;
}

.midsal-prod__card-spec,
.midsal-prod__card-scene,
.midsal-prod__card-desc {
  margin: 0;
  font-size: 0.14rem;
  font-weight: 400;
  line-height: 1.57;
  color: rgba(255, 255, 255, 0.6);
}

.midsal-prod__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.04rem;
}

.midsal-prod__price-yen,
.midsal-prod__price-unit {
  font-size: 0.16rem;
  font-weight: 600;
  line-height: 1.4;
  color: #ffbd85;
}

.midsal-prod__price-num,
.midsal-prod__price-free {
  font-size: 0.28rem;
  font-weight: 600;
  line-height: 1.4;
  color: #ffbd85;
}

.midsal-prod__price-old {
  font-size: 0.14rem;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: line-through;
}

.midsal-prod__btn {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0.07rem 0;
  border-radius: 0.24rem;
  background: linear-gradient(90deg, #6C5DFF 0%, #34C2FF 100%);
  cursor: pointer;
  appearance: none;
}

.midsal-prod__btn span {
  font-size: 0.14rem;
  font-weight: 600;
  line-height: 1.57;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

@media screen and (max-width: 750px) {
  /* Figma 8657:1172 — 必囤清单移动端 | 393 宽 px÷100 = rem */
  .midsal-prod {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
  }

  .midsal-prod__head {
    margin-bottom: 0.32rem;
  }

  .midsal-prod__head-top {
    justify-content: center;
    min-height: 0;
  }

  .midsal-prod__watermark {
    left: 0;
    top: 0.6rem;
    width: 0.93rem;
    height: 1.06rem;
    transform: none;
  }

  .midsal-prod__title {
    font-size: 0.36rem;
    font-weight: 800;
    line-height: 0.48rem;
  }

  .midsal-prod__subtitle {
    font-size: 0.2rem;
    font-weight: 800;
    line-height: 1.6;
  }

  .midsal-prod__body {
    gap: 0.16rem;
  }

  /* 算力区 — row wrap 双列 */
  .midsal-prod__row--compute {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.08rem;
  }

  .midsal-prod__cat--compute {
    flex: none;
    width: 1.75rem;
    height: 2.33rem;
    padding: 0.16rem;
    border-radius: 0.16rem;
  }

  .midsal-prod__cat-main {
    gap: 0.16rem;
  }

  .midsal-prod__cat-head {
    gap: 0.04rem;
  }

  .midsal-prod__cat-label {
    font-size: 0.28rem;
    line-height: 1.28571429;
  }

  .midsal-prod__cat-desc {
    font-size: 0.14rem;
    line-height: 1.57142857;
    text-transform: uppercase;
  }

  .midsal-prod__cat-link span {
    font-size: 0.14rem;
    line-height: 1.57142857;
  }

  .midsal-prod__cat-arrow {
    width: 0.16rem;
    height: 0.16rem;
  }

  .midsal-prod__cat-deco--server {
    right: 0;
    bottom: 0;
    width: 0.8rem;
    height: 0.8rem;
  }

  .midsal-prod__card--compute {
    flex: none;
    gap: 0.08rem;
    padding: 0.16rem 0.12rem 0.12rem;
    border-radius: 0.08rem;
  }

  .midsal-prod__card--compute .midsal-prod__badge {
    padding: 0.02rem 0.08rem 0.02rem 0.06rem;
    border-radius: 0 0.08rem 0 0.04rem;
    font-size: 0.08rem;
    line-height: 1.75;
  }

  .midsal-prod__icon-box--compute {
    width: 0.28rem;
    height: 0.28rem;
    border-radius: 0.04rem;
  }

  .midsal-prod__icon-server {
    width: 0.14rem;
    height: 0.14rem;
  }

  .midsal-prod__card-headline {
    font-size: 0.14rem;
    line-height: 0.18rem;
    word-break: break-word;
  }

  .midsal-prod__card-subline {
    font-size: 0.12rem;
    line-height: 1.5;
  }

  .midsal-prod__card--compute .midsal-prod__card-scene {
    font-size: 0.1rem;
    line-height: 1.6;
  }

  .midsal-prod__card--compute .midsal-prod__price-yen,
  .midsal-prod__card--compute .midsal-prod__price-unit {
    font-size: 0.12rem;
    line-height: 1.5;
  }

  .midsal-prod__card--compute .midsal-prod__price-num,
  .midsal-prod__card--compute .midsal-prod__price-free {
    font-size: 0.18rem;
    line-height: 1.4;
  }

  .midsal-prod__card--compute .midsal-prod__price-old {
    font-size: 0.12rem;
    line-height: 1.5;
  }

  .midsal-prod__btn--compute {
    padding: 0.05rem 0.16rem;
    border-radius: 0.24rem;
  }

  .midsal-prod__btn--compute span {
    font-size: 0.12rem;
    line-height: 1.5;
    letter-spacing: 0.11666667em;
  }

  /* OCR 文字识别专区 */
  .midsal-prod__ocr-zone {
    gap: 0.16rem;
    padding: 0.16rem;
    border-radius: 0.16rem;
  }

  .midsal-prod__ocr-zone-head {
    gap: 0.08rem;
    flex-direction: column;
  }

  .midsal-prod__ocr-zone-title {
    font-size: 0.28rem;
    line-height: 1.28571429;
  }

  .midsal-prod__ocr-zone-link span {
    font-size: 0.16rem;
    line-height: 1.5;
  }

  .midsal-prod__ocr-zone-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.08rem;
    align-items: stretch;
  }

  .midsal-prod__ocr-zone-deco {
    display: none;
  }

  .midsal-prod__ocr-card {
    flex: none;
    height: 100%;
    gap: 0.08rem;
    padding: 0.16rem 0.12rem 0.12rem;
    border-radius: 0.08rem;
  }

  .midsal-prod__ocr-badge {
    padding: 0.02rem 0.08rem 0.02rem 0.06rem;
    border-radius: 0 0.08rem 0 0.04rem;
    font-size: 0.08rem;
    line-height: 1.5;
  }

  .midsal-prod__ocr-card-top {
    gap: 0.08rem;
  }

  .midsal-prod__ocr-icon-box {
    width: 0.24rem;
    height: 0.24rem;
    border-radius: 0.04rem;
  }

  .midsal-prod__ocr-card-name {
    font-size: 0.12rem;
    line-height: 1.83333333;
  }

  .midsal-prod__ocr-card-desc {
    font-size: 0.11rem;
    line-height: 1.45454545;
    flex: 1;
    min-height: 0;
  }

  .midsal-prod__ocr-price {
    margin-top: auto;
    min-height: 0.36rem;
    align-items: flex-end;
  }

  .midsal-prod__ocr-price-yen,
  .midsal-prod__ocr-price-unit {
    font-size: 0.12rem;
    line-height: 1.4;
  }

  .midsal-prod__ocr-price-num,
  .midsal-prod__ocr-price-free {
    font-size: 0.18rem;
    line-height: 1.4;
  }

  .midsal-prod__ocr-price-old {
    font-size: 0.12rem;
    line-height: 1.4;
  }

  .midsal-prod__ocr-btn {
    padding: 0.05rem 0.16rem;
    border-radius: 0.24rem;
  }

  .midsal-prod__ocr-btn span {
    font-size: 0.12rem;
    line-height: 1.5;
    letter-spacing: 0.11666667em;
  }

  /* 应用研选专区 */
  .midsal-prod__app-zone {
    gap: 0.16rem;
    border-radius: 0.16rem;
  }

  .midsal-prod__app-zone-head {
    gap: 0.08rem;
  }

  .midsal-prod__app-zone-title {
    font-size: 0.28rem;
    line-height: 1.28571429;
  }

  .midsal-prod__app-zone-link span {
    font-size: 0.14rem;
    line-height: 1.57142857;
  }

  .midsal-prod__app-zone-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.08rem;
  }

  .midsal-prod__app-zone-deco {
    display: none;
  }

  .midsal-prod__app-card {
    flex: none;
    gap: 0.08rem;
    padding: 0.16rem 0.12rem 0.12rem;
    border-radius: 0.08rem;
  }

  .midsal-prod__app-badge {
    padding: 0.02rem 0.08rem 0.02rem 0.06rem;
    border-radius: 0 0.08rem 0 0.04rem;
    font-size: 0.08rem;
    line-height: 1.5;
  }

  .midsal-prod__app-card-top {
    gap: 0.08rem;
  }

  .midsal-prod__app-icon-box {
    width: 0.28rem;
    height: 0.28rem;
    border-radius: 0.04rem;
  }

  .midsal-prod__app-card-name {
    font-size: 0.12rem;
    line-height: 1.5;
  }

  .midsal-prod__app-card-desc {
    font-size: 0.11rem;
    line-height: 1.45454545;
  }

  .midsal-prod__app-price-yen,
  .midsal-prod__app-price-unit {
    font-size: 0.12rem;
    line-height: 1.4;
  }

  .midsal-prod__app-price-num,
  .midsal-prod__app-price-free {
    font-size: 0.18rem;
    line-height: 1.4;
  }

  .midsal-prod__app-price-old {
    font-size: 0.12rem;
    line-height: 1.4;
  }

  .midsal-prod__app-btn {
    padding: 0.05rem 0.16rem;
    border-radius: 0.24rem;
  }

  .midsal-prod__app-btn span {
    font-size: 0.12rem;
    line-height: 1.5;
    letter-spacing: 0.11666667em;
  }
}

/* ⑧ 右侧浮层 — MIDSALFLOAT | Figma 8585:1083 */
.midsal-float {
  position: fixed;
  right: 0.24rem;
  top: 50%;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  width: 1.8rem;
  transform: translateY(-50%);
  pointer-events: none;
}

.midsal-float__item {
  pointer-events: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.08rem;
  width: 1.8rem;
  height: 0.5rem;
  margin: 0;
  padding: 0.16rem 0.4rem;
  border: none;
  border-radius: 0.08rem;
  cursor: pointer;
  appearance: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.midsal-float__item:hover {
  opacity: 0.92;
  transform: translateX(-0.04rem);
}

.midsal-float__item--rule {
  justify-content: center;
  padding: 0.16rem 0;
  background: linear-gradient(268.75deg, #FFD3A6 1.77%, #FFE9DE 101.51%);

  background-blend-mode: overlay, normal;
}

.midsal-float__item--gift, .midsal-float__item--hot {
  background: linear-gradient(90deg, #2B6BFF 0%, #7F0EE8 100%);
}

.midsal-float__label {
  font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
  text-align: left;
}

.midsal-float__item--rule .midsal-float__label {
  color: #262626;
  text-align: center;
}

.midsal-float__item--gift .midsal-float__label,
.midsal-float__item--hot .midsal-float__label {
  color: #fff;
}

.midsal-float__label--fixed {
  width: 0.64rem;
}

.midsal-float__label--plan {
  font-weight: 600;
}

.midsal-float__ico-img {
  display: block;
  flex-shrink: 0;
  width: 0.16rem;
  height: 0.16rem;
  object-fit: contain;
}

.midsal-float__ico-img--rule {
  width: 0.1rem;
  height: 0.1rem;
}

@media screen and (max-width: 750px) {
  /* ⑧ 右侧浮层移动端 — Figma 393 宽 | px÷100 = rem */
  .midsal-float.none_phone {
    display: flex !important;
    right: 0.08rem;
    gap: 0.06rem;
    width: auto;
    align-items: flex-end;
  }

  .midsal-float__item {
    gap: 0.04rem;
    width: auto;
    width: 0.96rem;
    height: 0.34rem;
    padding: 0.04rem 0.1rem;
    border-radius: 0.06rem;
  }

  .midsal-float__item:hover {
    transform: translateX(-0.02rem);
  }

  .midsal-float__item--rule {
    justify-content: center;
    width: 0.96rem;
    padding: 0.04rem 0.08rem;
  }

  .midsal-float__label {
    font-size: 0.11rem;
    line-height: 1.36363636;
  }

  .midsal-float__label--fixed,
  .midsal-float__label--plan {
    width: auto;
  }

  .midsal-float__ico-img {
    width: 0.12rem;
    height: 0.12rem;
  }

  .midsal-float__ico-img--rule {
    width: 0.08rem;
    height: 0.08rem;
  }
}

/* ⑨ 活动规则弹窗 — MIDSALRULE | 参照 YCJH agreement-dialog */
.midsal-rule-dialog.twd-dialog .el-dialog {
  display: flex;
  flex-direction: column;
  width: calc(100% - 0.64rem) !important;
  max-width: 7rem;
  max-height: 90vh;
  border-radius: 0.16rem;
  background: linear-gradient(180deg, #E3E5FF 0%, #FFFFFF 100%);
  backdrop-filter: blur(0.32rem);
  box-shadow: 0 0.24rem 0.4rem -0.12rem rgba(0, 0, 0, 0.64);
}

.midsal-rule-dialog.twd-dialog .el-dialog__header {
  position: relative;
  flex-shrink: 0;
  padding: 0.4rem 0.48rem 0.24rem;
  text-align: center;
}

.midsal-rule-dialog.twd-dialog .el-dialog__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  padding: 0;
}

.midsal-rule-body {
  flex: 1;
  max-height: 5rem;
  overflow-y: auto;
  padding: 0 0.48rem 0.24rem;
  font-size: 0.16rem;
  line-height: 0.28rem;
  color: #3B4048;
}

.midsal-rule-body h3 {
  margin: 0.16rem 0 0.08rem;
  font-size: 0.16rem;
  font-weight: 600;
  color: #262626;
}

.midsal-rule-body h3:first-child {
  margin-top: 0;
}

.midsal-rule-body p,
.midsal-rule-body li {
  margin: 0 0 0.08rem;
}

.midsal-rule-body ol,
.midsal-rule-body ul {
  margin: 0 0 0.12rem;
  padding-left: 0.2rem;
}

.midsal-rule-footer {
  flex-shrink: 0;
  margin-top: 0;
  text-align: center;
}

.midsal-rule-ok {
  min-width: 2rem;
}

/* el-dialog 遮罩层级 — 避免被顶部导航遮挡 */
.v-modal {
  z-index: 200010 !important;
}

.el-dialog__wrapper.midsal-rule-dialog {
  z-index: 200011 !important;
}

@media screen and (max-width: 750px) {
  /* 弹窗统一样式 — 移动端 | 393 宽 px÷100 = rem | 参照 YCJH */
  .midsal-dialog__header,
  .midsal-rule-dialog.twd-dialog .el-dialog__header {
    padding: 0.24rem 0.32rem 0.16rem;
  }

  .midsal-dialog__title,
  .midsal-my-invt-dialog__title,
  .midsal-invt-dialog__title,
  .midsal-rule-dialog.twd-dialog .el-dialog__title {
    padding: 0 0.24rem;
    font-size: 0.18rem;
    line-height: 1.4;
  }

  .midsal-dialog__close,
  .midsal-rule-dialog.twd-dialog .el-dialog__headerbtn {
    top: 0.24rem;
    right: 0.24rem;
    width: 0.2rem;
    height: 0.2rem;
  }

  .midsal-rule-dialog.twd-dialog .el-dialog__headerbtn::before,
  .midsal-rule-dialog.twd-dialog .el-dialog__headerbtn::after {
    width: 0.12rem;
    height: 0.015rem;
  }

  .midsal-dialog__body {
    gap: 0.12rem;
    padding: 0 0.24rem;
  }

  .midsal-dialog__footer,
  .midsal-rule-footer {
    padding: 0.16rem 0.24rem 0.24rem;
  }

  .midsal-dialog__btn,
  .midsal-certify-dialog__confirm,
  .midsal-invt-dialog__confirm,
  .midsal-invt-dialog .copy-invitate-dialog-btn,
  .midsal-rule-ok {
    min-width: 1.3rem;
    padding: 0.08rem 0.36rem;
    border-radius: 0.2rem;
    font-size: 0.14rem;
    line-height: 0.2rem;
  }

  .midsal-dialog__btn::before,
  .midsal-certify-dialog__confirm::before,
  .midsal-invt-dialog__confirm::before,
  .midsal-invt-dialog .copy-invitate-dialog-btn::before,
  .midsal-rule-ok::before {
    border-radius: 0.2rem;
  }

  .midsal-dialog__btn::after,
  .midsal-certify-dialog__confirm::after,
  .midsal-invt-dialog__confirm::after,
  .midsal-invt-dialog .copy-invitate-dialog-btn::after,
  .midsal-rule-ok::after {
    border-radius: calc(0.2rem - 0.01rem);
  }

  .midsal-certify-dialog__text {
    font-size: 0.14rem;
    line-height: 0.22rem;
  }

  .midsal-invt-dialog,
  .midsal-invt-dialog.copy-invitate-dialog,
  .midsal-my-invt-dialog {
    width: calc(100% - 0.32rem);
    max-width: none;
    border-radius: 0.12rem;
  }

  .midsal-invt-dialog__title {
    font-size: 0.18rem;
    line-height: 1.4;
  }

  .midsal-invt-dialog__content {
    gap: 0.08rem;
    padding: 0 0.24rem;
  }

  .midsal-invt-dialog__copy-box {
    gap: 0.06rem;
    padding: 0.12rem 0.16rem;
    border-radius: 0.06rem;
  }

  .midsal-invt-dialog__copy-msg,
  .midsal-invt-dialog__copy-url,
  .midsal-invt-dialog .invitate-text {
    font-size: 0.12rem;
    line-height: 1.57142857;
  }

  .midsal-invt-dialog__tip,
  .midsal-invt-dialog .copy-invitate-dialog-tip {
    font-size: 0.14rem;
    line-height: 1.5;
  }

  .midsal-my-invt-dialog .midsal-dialog__header {
    padding: 0.2rem 0.24rem 0.12rem;
  }

  .midsal-my-invt-dialog__title {
    font-size: 0.18rem;
    line-height: 1.4;
  }

  .midsal-my-invt-dialog__content {
    gap: 0.08rem;
    padding: 0 0.24rem 0.24rem;
  }

  .midsal-my-invt-dialog__summary {
    font-size: 0.14rem;
    line-height: 1.5;
  }

  .midsal-my-invt-dialog__cell--user {
    flex: 0 0 0.9rem;
    width: 0.9rem;
  }

  .midsal-my-invt-dialog__row--head .midsal-my-invt-dialog__cell {
    padding: 0.04rem 0.08rem;
    font-size: 0.12rem;
    line-height: 1.5;
  }

  .midsal-my-invt-dialog__cell {
    padding: 0.04rem 0.08rem;
    font-size: 0.12rem;
    line-height: 1.5;
  }

  .midsal-my-invt-dialog__rows {
    max-height: 2.4rem;
  }

  .midsal-my-invt-dialog__empty {
    font-size: 0.12rem;
    line-height: 1.5;
  }

  .midsal-my-invt-dialog__footer-tip {
    font-size: 0.12rem;
    line-height: 1.5;
  }

  .midsal-my-invt-dialog__rank-tip {
    font-size: 0.14rem;
    line-height: 1.5;
  }

  /* 活动规则 / 邀好友规则弹窗 */
  .midsal-rule-dialog.twd-dialog .el-dialog {
    width: calc(100% - 0.32rem) !important;
    max-width: none;
    max-height: 90vh;
    margin: 7.5vh auto 0 !important;
    border-radius: 0.12rem;
  }

  .midsal-rule-dialog.twd-dialog .el-dialog__body {
    padding: 0;
  }

  .midsal-rule-body {
    max-height: calc(90vh - 1.4rem);
    padding: 0 0.24rem 0.12rem;
    font-size: 0.14rem;
    line-height: 0.22rem;
  }

  .midsal-rule-body h3 {
    margin: 0.16rem 0 0.08rem;
    font-size: 0.16rem;
    line-height: 1.5;
  }

  .midsal-rule-body p,
  .midsal-rule-body li {
    margin: 0 0 0.08rem;
  }

  .midsal-rule-body ol,
  .midsal-rule-body ul {
    margin: 0 0 0.12rem;
    padding-left: 0.2rem;
  }
}

/* ===== 页面按钮 hover 交互（disabled / 置灰除外）===== */
.midsal-gift__btn:not(:disabled):not(.midsal-gift__btn--disabled),
.midsal-seck__btn:not(:disabled):not(.midsal-seck__btn--disabled),
.midsal-invt__btn,
.midsal-tkpl__btn,
.midsal-cdpl__btn,
.midsal-prod__btn,
.midsal-prod__ocr-btn,
.midsal-prod__app-btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.midsal-gift__btn--primary:not(:disabled):not(.midsal-gift__btn--disabled):hover,
.midsal-seck__btn:not(:disabled):not(.midsal-seck__btn--disabled):hover,
.midsal-invt__btn:not(.midsal-invt__btn--my):hover,
.midsal-tkpl__btn:hover,
.midsal-prod__btn:hover,
.midsal-prod__ocr-btn:hover,
.midsal-prod__app-btn:hover {
  transform: translateY(-0.02rem);
  filter: brightness(1.06);
  box-shadow: 0 0.06rem 0.2rem rgba(137, 5, 231, 0.28);
}

.midsal-gift__btn--reserve:not(:disabled):not(.midsal-gift__btn--disabled):hover {
  transform: translateY(-0.02rem);
  filter: brightness(1.08);
  box-shadow: 0 0.06rem 0.2rem rgba(42, 75, 203, 0.35);
}

.midsal-cdpl__btn:hover {
  transform: translateY(-0.02rem);
  filter: brightness(1.06);
  box-shadow: 0 0.06rem 0.2rem rgba(85, 46, 217, 0.3);
}

.midsal-invt__btn--my:hover {
  transform: translateY(-0.02rem);
  box-shadow: 0 0.04rem 0.16rem rgba(255, 98, 0, 0.22);
  background: linear-gradient(90deg, rgba(255, 98, 0, 0.1) 0%, rgba(137, 5, 231, 0.1) 100%);
}

.midsal-invt__rules-link,
.midsal-prod__cat-link,
.midsal-prod__ocr-zone-link,
.midsal-prod__app-zone-link {
  transition: opacity 0.2s ease, color 0.2s ease;
}

.midsal-invt__rules-link:hover {
  color: #1a4ae8;
  text-decoration: underline;
}

.midsal-prod__cat-link:hover,
.midsal-prod__ocr-zone-link:hover,
.midsal-prod__app-zone-link:hover {
  opacity: 0.82;
}

.midsal-prod__cat-link:hover span,
.midsal-prod__ocr-zone-link:hover span,
.midsal-prod__app-zone-link:hover span {
  text-decoration: underline;
}

/* comm/activityover 活动已结束弹层（外部组件样式须写入本页 CSS） */
.message-box {
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  display: none;
}

.message-box.on {
  display: block;
}

.message {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 0.4rem 0.5rem 0.24rem;
  width: 4.8rem;
  max-width: calc(100% - 0.32rem);
  text-align: center;
  color: #262626;
  backdrop-filter: blur(14px);
  border-radius: 0.09rem;
  box-sizing: border-box;
}

.message img {
  width: 1.02rem;
  height: auto;
}

.message .tip {
  font-size: 0.18rem;
  font-weight: 500;
  line-height: 0.32rem;
  margin-top: 0.16rem;
}

.message .content {
  font-size: 0.12rem;
  text-align: center;
  color: #595959;
  line-height: 0.2rem;
}

.message .footer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.16rem;
  margin-top: 0.32rem;
  flex-wrap: wrap;
}

.message .footer-btn .btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2rem;
  height: 0.32rem;
  padding: 0 0.16rem;
  border-radius: 0.3rem;
  font-size: 0.14rem;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}

.message .footer-btn a {
  text-decoration: none;
}

.message .footer-btn .btn:hover::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  left: 0;
  top: 0;
  border-radius: inherit;
}

.message .footer-btn .ok-btn {
  border: 1px solid rgba(8, 26, 62, 0.5);
  color: #081a3e;
}

.message .footer-btn .my-reward-btn {
  background: linear-gradient(90deg, #c271ba 0%, #582af3 100%);
  color: #fff;
  border: none;
}