/* rem 基准：Figma px ÷ 100 = rem — MaaS Special Offers (global) */
html {
  font-size: calc(100vw / 1920 * 100) !important;
}

img {
  width: 100%;
}

@font-face {
  font-family: 'Fugaz One';
  src: url('../fonts/FugazOne-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

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

:root {
  --maas-accent: #ff6200;
  --maas-accent-2: #ff9500;
  --maas-title: #262626;
  --maas-page-bg: #f5f1ff;
  --maas-content-w: 14.4rem;
  --maas-section-gap: 0.8rem;
}

/* ========== Page layout ========== */
.maas-page {
  background: var(--maas-page-bg);
}

.maas-page-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
}

.maas-page-inner > .maas-banner,
.maas-page-inner > .banner {
  width: 100%;
}

.maas-body {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 0.16rem;
  padding-bottom: 0.8rem;
  background-image: var(--maas-body-bg-pc);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  box-sizing: border-box;
}

.maas-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--maas-section-gap);
  width: var(--maas-content-w);
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ========== Banner ========== */
.maas-banner.details_banner {
  position: relative;
  height: 4.8rem;
  margin-bottom: -1.5rem;
  overflow: hidden;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.maas-banner__bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4.8rem;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
}

.maas-banner__wrap {
  position: relative;
  z-index: 1;
  width: 14.4rem;
  max-width: 90%;
  margin: 0 auto;
  padding-top: 0.4rem;
  box-sizing: border-box;
}

.maas-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  width: 100%;
}

.maas-banner__time {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.16rem;
  padding: 0.05rem 0.28rem 0.05rem 0.18rem;
  border-radius: 0.32rem;
  background: #fff;
  box-shadow: 0 0.04rem 0.16rem rgba(0, 0, 0, 0.04);
}

.maas-banner__time-dot {
  display: block;
  flex-shrink: 0;
  width: 0.06rem;
  height: 0.06rem;
  border-radius: 50%;
  background: #ff6200;
  box-shadow: 0 0 0 0.06rem rgba(255, 98, 0, 0.16);
}

.maas-banner__time-text {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 0.18rem;
  line-height: 1.5556;
  color: #595959;
  white-space: nowrap;
}

.maas-banner__title-row,
.maas-banner__title-row--global {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.16rem;
}

.maas-banner__action {
  font-family: 'Alibaba PuHuiTi Heavy', 'PingFang SC', sans-serif;
  font-size: 0.8rem;
  line-height: 1.2;
  color: #262626;
}

.maas-banner__brand {
  font-family: 'Alibaba PuHuiTi Heavy', 'PingFang SC', sans-serif;
  font-size: 0.8rem;
  line-height: 1.2;
  background: linear-gradient(90deg, #ff6200 0%, rgba(255, 98, 0, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.maas-banner__models {
  display: inline-flex;
  align-items: center;
  padding: 0.08rem 3.6rem 0.08rem 0.16rem;
  border-radius: 0.16rem 0 0 0;
  background: linear-gradient(90deg, #ff6200 0%, rgba(255, 98, 0, 0) 100%);
  font-family: 'Alibaba PuHuiTi Heavy', 'PingFang SC', sans-serif;
  font-size: 0.24rem;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: #fff;
  white-space: nowrap;
}

.maas-banner__slogan {
  margin: 0;
  font-family: 'Alibaba PuHuiTi Heavy', 'PingFang SC', sans-serif;
  font-size: 0.3rem;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: #262626;
}

.maas-banner__slogan-main,
.maas-banner__slogan-item {
  color: #262626;
}

.maas-banner__slogan-accent {
  font: inherit;
  color: #ff6200;
}

/* PC：段间双空格（不依赖 th:text 保留空格） */
.maas-banner__slogan-item:not(:last-child)::after {
  content: '\00a0\00a0';
}

.maas-banner__deco {
  position: absolute;
  top: 2.19rem;
  left: 14.3rem;
  width: 0.8124rem;
  height: 0.5506rem;
  object-fit: contain;
  pointer-events: none;
}

/* ========== Section head ========== */
.maas-sec-head {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.32rem;
  width: 100%;
}

.maas-sec-head--with-countdown {
  align-items: center;
}

.maas-sec-head--with-countdown .maas-sec-head__texts {
  flex: 1;
  min-width: 0;
}

.maas-sec-head__num {
  flex-shrink: 0;
  font-family: 'Fugaz One', Impact, 'Arial Black', 'Helvetica Neue', sans-serif;
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.01rem #ff6200;
  paint-order: stroke fill;
}

.maas-sec-head__texts {
  display: flex;
  flex-direction: column;
  gap: 0.04rem;
}

.maas-sec-head__title {
  display: flex;
  flex-direction: row;
  align-items: baseline;
}

.maas-sec-head__title-plain {
  margin-left: 0.12rem;
  font-family: 'Alibaba PuHuiTi Heavy', 'PingFang SC', sans-serif;
  font-size: 0.44rem;
  line-height: 1.4;
  color: #262626;
}

.maas-sec-head__title-grad {
  font-family: 'Alibaba PuHuiTi Heavy', 'PingFang SC', sans-serif;
  font-size: 0.44rem;
  line-height: 1.4;
  background: linear-gradient(90deg, #ff6200 0%, #ff9500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.maas-sec-head__sub {
  margin: 0;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 0.2rem;
  font-weight: 600;
  line-height: 1.4;
  color: #262626;
}

/* ========== Top nav ========== */
.maas-top-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  width: auto;
  max-width: 14.4rem;
  box-sizing: border-box;
}

.maas-top-nav__item {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.08rem;
  margin: 0;
  padding: 0.09rem 0.24rem;
  border: none;
  border-radius: 0.32rem;
  background-color: #fff;
  color: #262626;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 0.16rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease,
    transform 0.2s ease;
}

.maas-top-nav__item.is-active {
  background-color: transparent;
  background-image: linear-gradient(90deg, #ff6200 0%, #ff9b5c 100%);
  color: #fff;
}

.maas-top-nav__item:hover:not(.is-active) {
  background-color: #fff7f2;
  color: #ff6200;
}

.maas-top-nav__ico {
  display: block;
  flex-shrink: 0;
  width: 0.16rem;
  height: 0.16rem;
  object-fit: contain;
}

.maas-top-nav__item.is-active .maas-top-nav__ico {
  filter: brightness(0) invert(1);
}

.maas-top-nav__label {
  display: block;
}

/* ========== Seckill ========== */
.maas-seckill {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
  width: 100%;
}

.maas-seckill__countdown {
  display: flex;
  flex-direction: row;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 0.16rem;
  margin-left: auto;
  padding: 0.16rem 0;
}

.maas-seckill__countdown-label {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 0.18rem;
  font-weight: 600;
  line-height: 1.5556;
  color: #262626;
  white-space: nowrap;
}

.maas-seckill__countdown-clock {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.02rem;
}

.maas-seckill__countdown-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0.48rem;
  padding: 0.12rem 0.08rem;
  border-radius: 0.12rem;
  background: #000;
  font-family: 'Alibaba PuHuiTi Heavy', 'PingFang SC', sans-serif;
  font-size: 0.32rem;
  line-height: 1.2;
  color: #fff;
  text-align: center;
}

.maas-seckill__countdown-colon {
  font-family: 'Alibaba PuHuiTi Heavy', 'PingFang SC', sans-serif;
  font-size: 0.32rem;
  line-height: 1.2;
  color: #262626;
}

.maas-seckill__list,
.maas-seckill__list--flat {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.16rem;
  width: 100%;
  padding: 0.16rem;
  border-radius: 0.24rem;
  background: #fff;
  box-sizing: border-box;
}

.maas-seckill__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  width: 100%;
  min-width: 0;
  min-height: 2.28rem;
  padding: 0.16rem 0.16rem 0.12rem;
  border: 0.01rem solid #ff6200;
  border-radius: 0.12rem;
  background: #fff;
  box-shadow: 0 0 0 0.04rem rgba(255, 98, 0, 0.08);
  box-sizing: border-box;
  transition: background-color 0.2s ease;
}

.maas-seckill__card:hover {
  background: #f8f8f8;
}

.maas-seckill__card:hover .maas-seckill__tag {
  background: #fff;
}

.maas-seckill__card-top {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 0.08rem;
  min-height: 0.68rem;
}

.maas-seckill__name {
  margin: 0;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 0.2rem;
  font-weight: 600;
  line-height: 1.6;
  color: #000;
  word-break: break-word;
}

.maas-seckill__tags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.08rem;
}

.maas-seckill__tag {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.02rem;
  padding: 0.03rem 0.08rem;
  border-radius: 0.32rem;
  background: #f4f4f4;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  line-height: 1.5;
  white-space: nowrap;
}

.maas-seckill__tag-val {
  font-style: normal;
  font-size: 0.14rem;
  font-weight: 600;
  color: #ff6200;
}

.maas-seckill__tag-desc {
  font-size: 0.12rem;
  font-weight: 400;
  color: #262626;
}

.maas-seckill__scene {
  height: auto;
  min-height: 0.66rem;
  margin: 0;
  padding: 0.12rem 0;
  border-top: 0.01rem dashed #e7e7e7;
  border-bottom: 0.01rem dashed #e7e7e7;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 0.14rem;
  font-weight: 600;
  line-height: 1.5714;
  color: rgba(0, 0, 0, 0.6);
  white-space: pre-line;
  overflow: hidden;
  box-sizing: border-box;
}

.maas-seckill__scene strong {
  font-weight: 600;
}

.maas-seckill__deal {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-start;
  align-self: stretch;
  gap: 0.08rem;
}

.maas-seckill__price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  min-width: 0;
}

.maas-seckill__origin {
  margin: 0;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 0.14rem;
  font-weight: 400;
  line-height: 1.5714;
  color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
}

.maas-seckill__sale-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.08rem;
}

.maas-seckill__sale {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.04rem;
  margin: 0;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 0.16rem;
  font-weight: 600;
  line-height: 1.4;
  color: #ff0021;
}

.maas-seckill__sale-num,
.maas-seckill__sale strong {
  font-size: 0.24rem;
  font-weight: 600;
  line-height: 1.4;
}

.maas-seckill__badge {
  flex-shrink: 0;
  align-self: center;
  margin: 0;
  padding: 0.02rem 0.08rem;
  border-radius: 0.04rem;
  background: linear-gradient(270deg, #ca007c 0%, #ff5e00 100%);
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 0.13rem;
  font-weight: 500;
  line-height: 1.3846;
  color: #fff;
  white-space: nowrap;
}

.maas-seckill__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  gap: 0.08rem;
  margin-top: auto;
}

.maas-seckill__btn {
  width: 100%;
  padding: 0.07rem 0.48rem;
  border: none;
  border-radius: 0.24rem;
  background: linear-gradient(90deg, #ff6200 0%, rgba(255, 98, 0, 0.32) 100%);
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 0.14rem;
  font-weight: 600;
  line-height: 1.5714;
  letter-spacing: 0.1em;
  color: #fff;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.maas-seckill__btn:not(:disabled):not(.maas-seckill__btn--disabled):hover {
  filter: brightness(1.08);
  box-shadow: 0 0.04rem 0.16rem rgba(255, 98, 0, 0.35);
}

.maas-seckill__btn--disabled,
.maas-seckill__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.maas-seckill__tip {
  margin: 0;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 0.12rem;
  font-weight: 400;
  line-height: 1.8333;
  color: #595959;
  text-align: center;
}

/* ========== Token Plan ========== */
.maas-tokenplan {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
  width: 100%;
}

.maas-tokenplan__upgrade {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  gap: 0.1rem;
  width: 100%;
  padding: 0.12rem 0;
  border-radius: 0.16rem;
  background: #fff;
  box-sizing: border-box;
}

.maas-tokenplan__upgrade-text {
  margin: 0;
  max-width: 100%;
  font-size: 0.14rem;
  line-height: 1.6;
  text-align: center;
  background: linear-gradient(90deg, #ff6200 0%, #ff9500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.maas-tokenplan__upgrade-text .title {
  font-family: 'Alibaba PuHuiTi Heavy', 'PingFang SC', 'Segoe UI', Arial, sans-serif;
}

.maas-tokenplan__list {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: stretch;
  gap: 0.16rem;
  width: 100%;
}

.maas-tokenplan__card {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.24rem;
  min-width: 0;
  padding: 0.4rem 0.32rem 0.32rem;
  overflow: hidden;
  border-radius: 0.16rem;
  background: #fff;
  box-shadow: 0 0.06rem 0.32rem rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.maas-tokenplan__glow {
  position: absolute;
  top: -0.6rem;
  right: 0.02rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  filter: blur(1.2rem);
  opacity: 0.16;
  pointer-events: none;
}

.maas-tokenplan__card.is-cyan .maas-tokenplan__glow { background: #7dd3fc; }
.maas-tokenplan__card.is-purple .maas-tokenplan__glow { background: #a78bfa; }
.maas-tokenplan__card.is-yellow .maas-tokenplan__glow { background: #fcd34d; }
.maas-tokenplan__card.is-orange .maas-tokenplan__glow { background: #ff6200; }

.maas-tokenplan__card.is-cyan .maas-tokenplan__quota { background: rgba(125, 211, 252, 0.08); }
.maas-tokenplan__card.is-purple .maas-tokenplan__quota { background: rgba(167, 139, 250, 0.08); }
.maas-tokenplan__card.is-yellow .maas-tokenplan__quota { background: rgba(252, 211, 77, 0.08); }
.maas-tokenplan__card.is-orange .maas-tokenplan__quota { background: rgba(255, 98, 0, 0.08); }

.maas-tokenplan__badge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.03rem 0.12rem;
  border-radius: 0 0.04rem 0 0.08rem;
  background: linear-gradient(270deg, #c31eff 0%, #ff8c49 100%);
  font-family: 'PingFang SC', 'Segoe UI', Arial, sans-serif;
  font-size: 0.13rem;
  font-weight: 500;
  line-height: 1.3846;
  color: #fff;
  white-space: nowrap;
}

.maas-tokenplan__head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  gap: 0.08rem;
  padding-right: 0.16rem;
}

.maas-tokenplan__name {
  margin: 0;
  font-family: 'PingFang SC', 'Segoe UI', Arial, sans-serif;
  font-size: 0.24rem;
  font-weight: 600;
  line-height: 1.6;
  color: #000;
}

.maas-tokenplan__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 0.02rem 0.12rem;
  border-radius: 0.32rem;
  background: #ff6200;
  font-family: 'PingFang SC', 'Segoe UI', Arial, sans-serif;
  font-size: 0.12rem;
  font-weight: 600;
  line-height: 1.8333;
  color: #fff;
}

.maas-tokenplan__desc {
  margin: 0;
  width: 100%;
  font-family: 'PingFang SC', 'Segoe UI', Arial, sans-serif;
  font-size: 0.14rem;
  font-weight: 400;
  line-height: 1.5714;
  color: rgba(0, 0, 0, 0.6);
}

.maas-tokenplan__quota {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  padding: 0.08rem 0.12rem;
  font-family: 'PingFang SC', 'Segoe UI', Arial, sans-serif;
  font-size: 0.12rem;
  font-weight: 600;
  line-height: 1.8333;
  color: rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
}

.maas-tokenplan__quota strong,
.maas-tokenplan__quota span {
  font-weight: 600;
  color: rgba(0, 0, 0, 0.6);
}

.maas-tokenplan__deal {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  align-self: stretch;
  gap: 0;
}

.maas-tokenplan__price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.maas-tokenplan__origin {
  margin: 0;
  font-family: 'PingFang SC', 'Segoe UI', Arial, sans-serif;
  font-size: 0.14rem;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.6);
}

.maas-tokenplan__sale {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.04rem;
  margin: 0;
  white-space: nowrap;
  font-family: 'PingFang SC', 'Segoe UI', Arial, sans-serif;
  font-weight: 600;
  line-height: 1.4;
  color: #ff0021;
}

.maas-tokenplan__sale-label {
  flex-shrink: 0;
  font-size: 0.16rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.maas-tokenplan__sale-num,
.maas-tokenplan__sale strong {
  flex-shrink: 0;
  font-size: 0.24rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.maas-tokenplan__sale-unit {
  flex-shrink: 0;
  font-size: 0.18rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.maas-tokenplan__btn {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: auto;
  padding: 0.07rem 0.48rem;
  border: 0.01rem solid #ff6200;
  border-radius: 0.24rem;
  background: #fff;
  font-family: 'PingFang SC', 'Segoe UI', Arial, sans-serif;
  font-size: 0.14rem;
  font-weight: 600;
  line-height: 1.5714;
  letter-spacing: 0.1em;
  color: #ff6200;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.maas-tokenplan__btn:hover {
  background: linear-gradient(90deg, #ff6200 0%, rgba(255, 98, 0, 0.85) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0.04rem 0.16rem rgba(255, 98, 0, 0.35);
}

/* ========== Float ========== */
.maas-float {
  position: fixed;
  top: 50%;
  right: 0.4rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  width: 1.8rem;
  transform: translateY(-50%);
}

.maas-float__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.08rem;
  width: 1.8rem;
  height: 0.5rem;
  padding: 0.16rem 0.4rem;
  border: none;
  border-radius: 0.08rem;
  background: linear-gradient(90deg, #ffd4aa 0%, #ffe7da 100%);
  cursor: pointer;
  box-sizing: border-box;
  transition:
    filter 0.2s ease,
    box-shadow 0.2s ease;
}

.maas-float__item--rule {
  align-items: flex-start;
  justify-content: flex-start;
  width: 1.8rem;
  height: auto;
  min-height: 0.5rem;
  padding: 0.08rem 0.16rem;
  gap: 0.16rem;
  border-radius: 0.08rem;
  background: linear-gradient(90deg, #262626 0%, #595959 100%);
  box-sizing: border-box;
}

.maas-float__item--rule:hover {
  filter: brightness(1.18);
  box-shadow: 0 0.04rem 0.16rem rgba(0, 0, 0, 0.2);
}

.maas-float__ico {
  flex-shrink: 0;
  width: 0.16rem;
  height: 0.16rem;
  object-fit: contain;
}

.maas-float__item--rule .maas-float__ico {
  width: 0.1rem;
  height: 0.1rem;
  margin-top: 0.04rem;
  filter: none;
}

.maas-float__label {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 0.16rem;
  font-weight: 600;
  line-height: 1.4;
  color: #262626;
  word-break: break-word;
}

.maas-float__item--rule .maas-float__label {
  flex: 1;
  min-width: 0;
  font-family: 'PingFang SC', 'Segoe UI', Arial, sans-serif;
  font-size: 0.12rem;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  text-align: left;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

/* ========== Rule dialog ========== */
.maas-rule-dialog.twd-dialog .el-dialog {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  width: calc(100% - 0.64rem) !important;
  max-width: 7rem;
  max-height: 90vh;
  overflow: hidden;
  border-radius: 0.16rem;
  background: linear-gradient(180deg, #e3e5ff 0%, #fff 100%);
  box-shadow: 0 0.24rem 0.4rem -0.12rem rgba(0, 0, 0, 0.64);
  backdrop-filter: blur(0.32rem);
  box-sizing: border-box;
}

.maas-rule-dialog.twd-dialog .el-dialog::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: 0.04rem;
  background: linear-gradient(90deg, #353dff 0%, #ff0c03 33%, #ffa22f 66%, #9f3bb6 100%);
  content: '';
  pointer-events: none;
}

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

.maas-rule-dialog.twd-dialog .el-dialog__title {
  display: block;
  margin: 0;
  padding: 0 0.32rem;
  font-family: 'Alibaba PuHuiTi Heavy', 'PingFang SC', -apple-system, sans-serif;
  font-size: 0.24rem;
  line-height: 1.4;
  color: #262626;
  text-align: center;
}

.maas-rule-dialog.twd-dialog .el-dialog__headerbtn {
  position: absolute;
  top: 0.24rem;
  right: 0.24rem;
  z-index: 2;
  width: 0.2rem;
  height: 0.2rem;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0;
  opacity: 0.5;
  cursor: pointer;
}

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

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

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

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

.maas-rule-dialog.twd-dialog .el-dialog__headerbtn:hover {
  opacity: 1;
}

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

.maas-rule-body {
  flex: 1;
  max-height: 5rem;
  padding: 0 0.48rem 0.24rem;
  overflow-y: auto;
  font-size: 0.16rem;
  line-height: 0.28rem;
  color: #3b4048;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

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

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

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

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

.maas-rule-footer {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.32rem 0.48rem 0.48rem;
}

.maas-rule-ok {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  margin: 0;
  padding: 0.12rem 0.4rem;
  border: 0;
  border-radius: 0.3rem;
  background: transparent;
  font-family: 'Alibaba PuHuiTi Heavy', 'PingFang SC', -apple-system, sans-serif;
  font-size: 0.18rem;
  line-height: 0.24rem;
  color: #fff;
  cursor: pointer;
  appearance: none;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.maas-rule-ok::before {
  position: absolute;
  inset: -0.02rem;
  z-index: -2;
  border-radius: 0.3rem;
  background: conic-gradient(from 50deg at 50% 50%, #6a00ff 0deg, #ffa730 95deg, #f00 184deg, #07f 265deg, #6a00ff 360deg);
  content: '';
  pointer-events: none;
}

.maas-rule-ok::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 0.02rem solid #d1d2de;
  border-radius: calc(0.3rem - 0.02rem);
  background: linear-gradient(135deg, #6e19df 0%, #112772 100%);
  content: '';
  pointer-events: none;
}

.maas-rule-ok:hover {
  background: transparent;
  box-shadow: inset 0 0 0 0.05rem #181411, 0 0.04rem 0.12rem rgba(0, 0, 0, 0.2);
  transform: translateY(-0.02rem);
}

.maas-rule-ok:hover::after {
  background: linear-gradient(135deg, #7e29ef 0%, #223882 100%);
}

.v-modal {
  z-index: 200010 !important;
}

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

/* ========== Activity over dialog ========== */
.maas-page .message-box {
  position: fixed;
  inset: 0;
  z-index: 200020;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0.32rem;
  background: rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

.maas-page .message-box.on {
  display: flex;
}

.maas-page .message-box .message {
  position: relative;
  top: auto;
  left: auto;
  width: 4.8rem;
  max-width: 100%;
  margin: 0;
  padding: 0.4rem 0.5rem 0.24rem;
  overflow: hidden;
  border-radius: 0.12rem;
  background: #fff;
  box-shadow: 0 0.16rem 0.48rem rgba(0, 0, 0, 0.2);
  color: #262626;
  text-align: center;
  transform: none;
  box-sizing: border-box;
}

.maas-page .message-box .message img {
  display: block;
  width: 1.02rem;
  height: auto;
  margin: 0 auto;
}

.maas-page .message-box .message .tip {
  margin: 0.16rem 0 0;
  font-size: 0.18rem;
  font-weight: 500;
  line-height: 0.32rem;
}

.maas-page .message-box .message .content {
  margin-top: 0.08rem;
  font-size: 0.12rem;
  line-height: 0.2rem;
  color: #595959;
}

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

.maas-page .message-box .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;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  box-sizing: border-box;
}

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

.maas-page .message-box .footer-btn .btn.orange {
  background: linear-gradient(90deg, #ff6200 0%, #ff9b5c 100%);
  color: #fff;
  border: none;
}

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

  :root {
    --maas-section-gap: 0.64rem;
  }

  body.maas-page {
    margin: 0;
    overflow-x: hidden;
  }

  /* layout */
  .maas-body {
    margin-top: -1.2rem;
    padding: 0.32rem 0 0.64rem;
    background-image: var(--maas-body-bg-m, var(--maas-body-bg-pc));
    background-position: center top;
    background-size: cover;
  }

  .maas-wrap {
    width: 100%;
    padding: 0 0.32rem;
    gap: 0.64rem;
  }

  /* banner */
  .maas-banner.details_banner {
    height: 6.6rem;
    min-height: 6.6rem;
    margin-bottom: 0;
    background-position: center top;
    background-size: cover;
  }

  .maas-banner__bg-img {
    display: none;
  }

  .maas-banner__wrap {
    width: 100%;
    max-width: 100%;
    padding: 0.48rem 0.48rem 0;
  }

  .maas-banner__inner {
    gap: 0.16rem;
  }

  .maas-banner__time {
    min-height: 0.56rem;
    gap: 0.16rem;
    padding: 0.1rem 0.32rem 0.1rem 0.24rem;
    box-sizing: border-box;
  }

  .maas-banner__time-dot {
    width: 0.08rem;
    height: 0.08rem;
    box-shadow: 0 0 0 0.08rem rgba(255, 98, 0, 0.16);
  }

  .maas-banner__time-text {
    font-size: 0.24rem;
    line-height: 1.5;
    white-space: nowrap;
  }

  .maas-banner__brand,
  .maas-banner__action {
    font-size: 0.56rem;
    line-height: 1.2;
  }

  .maas-banner__models {
    display: block;
    width: 100%;
    min-height: 0.44rem;
    padding: 0.08rem 0.16rem;
    border-radius: 0.16rem 0 0 0;
    font-size: 0.24rem;
    line-height: 1.4;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    box-sizing: border-box;
  }

  .maas-banner__slogan {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: auto;
    font-size: 0.4rem;
    line-height: 1.4;
    letter-spacing: 0;
    white-space: normal;
  }

  .maas-banner__slogan-item {
    display: block;
  }

  .maas-banner__slogan-item:not(:last-child)::after {
    content: none;
  }

  .maas-banner__deco {
    display: none;
  }

  /* top nav */
  .maas-top-nav.none_phone {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    gap: 0.16rem;
    width: calc(100% + 0.64rem);
    margin: 0 -0.32rem;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    box-sizing: border-box;
    scrollbar-width: none;
  }

  .maas-top-nav::-webkit-scrollbar {
    display: none;
  }

  .maas-top-nav__item {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.08rem;
    min-height: 0;
    margin: 0;
    padding: 0.12rem 0.24rem;
    border: 0;
    border-radius: 0.64rem;
    background: #fff;
    color: #262626;
    font-size: 0.24rem;
    font-weight: 600;
    line-height: 0.34rem;
    letter-spacing: 0;
    overflow: hidden;
    white-space: nowrap;
  }

  .maas-top-nav__item.is-active {
    background: linear-gradient(90deg, #ff6200 0%, #ff9b5c 100%);
    color: #fff;
  }

  .maas-top-nav__ico {
    width: 0.24rem;
    height: 0.24rem;
  }

  /* section head */
  .maas-seckill,
  .maas-tokenplan {
    width: 100%;
    gap: 0.16rem;
  }

  .maas-sec-head,
  .maas-sec-head--with-countdown {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0.32rem;
  }

  .maas-sec-head__num {
    flex: 0 0 1.12rem;
    width: 1.12rem;
    font-size: 0.96rem;
    line-height: 1;
    white-space: nowrap;
  }

  .maas-sec-head__texts {
    gap: 0;
  }

  .maas-sec-head__title-plain,
  .maas-sec-head__title-grad {
    font-size: 0.36rem;
    line-height: 1.4;
  }

  .maas-sec-head__sub {
    font-size: 0.24rem;
    line-height: 1.4;
    white-space: nowrap;
  }

  .maas-seckill .maas-sec-head--with-countdown {
    display: grid;
    grid-template-columns: 1.12rem 1fr;
    grid-template-rows: auto auto;
    gap: 0.16rem 0.32rem;
  }

  /* seckill */
  .maas-seckill__countdown {
    grid-column: 1 / -1;
    justify-content: center;
    width: 100%;
    min-height: 0.82rem;
    margin: 0;
    padding: 0.16rem 0.24rem;
    border-radius: 0.16rem;
    background: #fff;
    box-sizing: border-box;
  }

  .maas-seckill__countdown-label {
    font-size: 0.24rem;
    line-height: 0.36rem;
  }

  .maas-seckill__countdown-clock {
    gap: 0.04rem;
  }

  .maas-seckill__countdown-box {
    width: auto;
    height: auto;
    min-width: 0.46rem;
    padding: 0.06rem;
    border-radius: 0.08rem;
    font-size: 0.32rem;
  }

  .maas-seckill__countdown-colon {
    font-size: 0.28rem;
  }

  .maas-seckill__list,
  .maas-seckill__list--flat {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.16rem;
    padding: 0;
    background: transparent;
  }

  .maas-seckill__card,
  .maas-seckill__list--flat .maas-seckill__card {
    min-height: 4.48rem;
    gap: 0.16rem;
    padding: 0.18rem;
    border-width: 0.02rem;
    border-radius: 0.12rem;
    box-shadow: 0 0 0 0.06rem rgba(255, 98, 0, 0.08);
  }

  .maas-seckill__card-top {
    min-height: 0.72rem;
  }

  .maas-seckill__name {
    font-size: 0.28rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .maas-seckill__name.is-long {
    overflow: hidden;
    font-size: 0.2rem;
    line-height: 1.6;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .maas-seckill__tags {
    flex-wrap: nowrap;
    gap: 0.08rem;
  }

  .maas-seckill__tag {
    padding: 0.04rem 0.12rem;
  }

  .maas-seckill__tag-val,
  .maas-seckill__tag-desc {
    font-size: 0.24rem;
    line-height: 0.28rem;
  }

  .maas-seckill__scene {
    min-height: 1.12rem;
    padding: 0.16rem 0;
    font-size: 0.24rem;
    line-height: 0.28rem;
    overflow: hidden;
  }

  .maas-seckill__deal,
  .maas-seckill__sale-row {
    gap: 0.08rem;
  }

  .maas-seckill__origin,
  .maas-seckill__sale,
  .maas-seckill__sale-label {
    font-size: 0.24rem;
    line-height: 0.28rem;
  }

  .maas-seckill__sale-num,
  .maas-seckill__sale strong {
    font-size: 0.28rem;
  }

  .maas-seckill__badge {
    padding: 0.02rem 0.08rem;
    font-size: 0.24rem;
    line-height: 0.28rem;
  }

  .maas-seckill__btn {
    min-height: 0.54rem;
    padding: 0.1rem 0.24rem;
    border-radius: 0.48rem;
    font-size: 0.28rem;
  }

  .maas-seckill__tip {
    font-size: 0.24rem;
    line-height: 0.32rem;
  }

  /* token plan */
  .maas-tokenplan__upgrade {
    padding: 0.16rem 0.24rem;
    border-radius: 0.16rem;
  }

  .maas-tokenplan__upgrade-text {
    font-size: 0.24rem;
    line-height: 1.4;
    text-align: left;
    white-space: normal;
  }

  .maas-tokenplan__list {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.16rem;
  }

  .maas-tokenplan__card {
    min-height: 0;
    gap: 0.16rem;
    padding: 0.24rem 0.16rem 0.16rem;
    border-radius: 0.16rem;
  }

  .maas-tokenplan__head {
    gap: 0.04rem;
  }

  .maas-tokenplan__tag {
    padding: 0.04rem 0.12rem;
    font-size: 0.24rem;
    line-height: 0.28rem;
    white-space: nowrap;
  }

  .maas-tokenplan__name {
    font-size: 0.28rem;
    line-height: 0.44rem;
    white-space: nowrap;
  }

  .maas-tokenplan__desc {
    font-size: 0.2rem;
    line-height: 0.28rem;
  }

  .maas-tokenplan__quota {
    padding: 0.08rem 0.16rem;
    font-size: 0.24rem;
    line-height: 0.28rem;
    white-space: nowrap;
  }

  .maas-tokenplan__deal {
    width: 100%;
    justify-content: space-between;
    gap: 0.04rem;
  }

  .maas-tokenplan__price {
    min-width: 0;
  }

  .maas-tokenplan__origin,
  .maas-tokenplan__sale,
  .maas-tokenplan__sale-label,
  .maas-tokenplan__badge {
    font-size: 0.24rem;
    line-height: 0.28rem;
    white-space: nowrap;
  }

  .maas-tokenplan__sale {
    gap: 0;
  }

  .maas-tokenplan__sale-num,
  .maas-tokenplan__sale strong {
    font-size: 0.28rem;
  }

  .maas-tokenplan__sale-unit {
    font-size: 0.24rem;
    line-height: 0.28rem;
  }

  .maas-tokenplan__badge {
    margin: 0;
    padding: 0.02rem 0.12rem;
    border-radius: 0.04rem;
  }

  .maas-tokenplan__btn {
    min-height: 0;
    padding: 0.1rem 0.64rem;
    border-width: 0.02rem;
    border-radius: 0.48rem;
    font-size: 0.28rem;
    line-height: 0.34rem;
    letter-spacing: 0;
    white-space: nowrap;
  }

  /* float（若移动端显示） */
  .maas-float,
  .maas-float__item--rule {
    width: 3rem !important;
  }

  .maas-float {
    top: auto;
    bottom: 1.6rem;
    transform: none;
  }

  .maas-float__item--rule {
    align-items: center;
    justify-content: flex-start;
    height: auto;
    min-height: 0.64rem;
    padding: 0.12rem 0.24rem;
    gap: 0.08rem;
    border-radius: 0.32rem;
    background: linear-gradient(90deg, #262626 0%, #595959 100%);
    box-shadow: 0 0.08rem 0.24rem rgba(0, 0, 0, 0.16);
  }

  .maas-float__item--rule .maas-float__ico {
    width: 0.24rem;
    height: 0.24rem;
    margin-top: 0;
    filter: none;
  }

  .maas-float__item--rule .maas-float__label {
    font-size: 0.24rem;
    line-height: 0.34rem;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
  }

  /* rule dialog */
  .maas-rule-dialog.twd-dialog .el-dialog {
    width: calc(100% - 0.64rem) !important;
    max-width: none;
    max-height: 90vh;
    margin: 7.5vh auto 0 !important;
    border-radius: 0.24rem;
  }

  .maas-rule-dialog.twd-dialog .el-dialog__header {
    padding: 0.48rem 0.64rem 0.32rem;
  }

  .maas-rule-dialog.twd-dialog .el-dialog__title {
    padding: 0 0.4rem;
    font-size: 0.3rem;
  }

  .maas-rule-dialog.twd-dialog .el-dialog__headerbtn {
    top: 0.48rem;
    right: 0.48rem;
    width: 0.4rem;
    height: 0.4rem;
  }

  .maas-rule-dialog.twd-dialog .el-dialog__headerbtn::before,
  .maas-rule-dialog.twd-dialog .el-dialog__headerbtn::after {
    width: 0.24rem;
    height: 0.03rem;
  }

  .maas-rule-body {
    max-height: calc(90vh - 2.8rem);
    padding: 0 0.48rem 0.24rem;
    font-size: 0.28rem;
    line-height: 0.44rem;
  }

  .maas-rule-body h3 {
    margin: 0.24rem 0 0.16rem !important;
    font-size: 0.28rem !important;
  }

  .maas-rule-body p,
  .maas-rule-body li {
    margin-bottom: 0.16rem;
    font-size: 0.24rem;
  }

  .maas-rule-body ol,
  .maas-rule-body ul {
    margin-bottom: 0.24rem;
    padding-left: 0.4rem;
  }

  .maas-rule-footer {
    padding: 0.32rem 0.48rem 0.48rem;
  }

  .maas-rule-ok {
    min-width: 2.6rem;
    padding: 0.16rem 0.72rem;
    border-radius: 0.4rem;
    font-size: 0.28rem;
    line-height: 0.4rem;
  }

  .maas-rule-ok::before {
    border-radius: 0.4rem;
  }

  .maas-rule-ok::after {
    border-radius: calc(0.4rem - 0.02rem);
  }

  /* activity over */
  .maas-page .message-box {
    padding: 0.32rem;
  }

  .maas-page .message-box .message {
    width: 100%;
    padding: 0.48rem 0.48rem 0.32rem;
    border-radius: 0.24rem;
  }

  .maas-page .message-box .message img {
    width: 1.6rem;
  }

  .maas-page .message-box .message .tip {
    margin-top: 0.24rem;
    font-size: 0.36rem;
    line-height: 0.52rem;
  }

  .maas-page .message-box .message .content {
    margin-top: 0.08rem;
    font-size: 0.28rem;
    line-height: 0.44rem;
  }

  .maas-page .message-box .message .footer-btn {
    gap: 0.16rem;
    margin-top: 0.32rem;
  }

  .maas-page .message-box .footer-btn .btn {
    min-width: 1.8rem;
    height: 0.72rem;
    padding: 0 0.32rem;
    border-radius: 0.4rem;
    font-size: 0.28rem;
    line-height: 0.4rem;
  }
}
