/* 云脉科技 · 云计算补贴专场 — 对齐百度云特惠会场布局
   原版 rem：font-size:.6666666667vw；≤1500px=10px；≥1800px=12px
   Banner 原版：height:48rem；背景图 absolute + object-fit:cover */
html {
  font-size: 0.6666666667vw;
  scroll-behavior: smooth;
}

@media screen and (max-width: 1500px) {
  html {
    font-size: 10px;
  }
}

@media screen and (min-width: 1800px) {
  html {
    font-size: 12px;
  }
}

body.ym-campaign {
  margin: 0;
  padding: 0;
  position: relative;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #091221;
  background-color: #f7f9ff;
  -webkit-font-smoothing: antialiased;
  min-width: unset !important;
}

.ym-campaign a {
  text-decoration: none;
  color: inherit;
}

.ym-campaign * {
  box-sizing: border-box;
}

/* 顶栏改用模版 k8-navbar-glass（fixed 60px），覆盖 reset 对 banner 图的约束 */
.ym-campaign .ym-banner__image,
.ym-campaign .ym-banner__imageWap {
  max-width: none;
  height: 100%;
}

.ym-campaign .k8-navbar-logo {
  max-width: none;
  height: 32px;
  width: auto;
}

/* —— 容器（原版 module-container 断点）—— */
.ym-module-container {
  width: calc(100% - 25rem);
  max-width: 1500px;
  margin: 0 auto;
}

@media screen and (max-width: 1499px) {
  .ym-module-container {
    width: 1250px;
  }
}

@media screen and (max-width: 1359px) {
  .ym-module-container {
    width: calc(100% - 11rem);
  }
}

@media screen and (max-width: 940px) {
  .ym-module-container {
    width: calc(100% - 6.4rem);
  }
}

@media screen and (max-width: 599px) {
  .ym-module-container {
    width: calc(100% - 3.2rem);
  }
}

.ym-module-title {
  color: #091221;
  text-align: center;
  font-weight: 600;
  font-size: 3.5rem;
  line-height: 4.5rem;
  margin: 0;
}

.ym-module-desc {
  margin: 1rem 0 0;
  color: rgba(9, 18, 33, 0.7);
  text-align: center;
  font-size: 1.5rem;
  line-height: 2.5rem;
}

.ym-module-desc__rule {
  margin-left: 0.8rem;
  color: #2468f2;
  cursor: pointer;
}

/* —— Banner（原版 index_1500_banner__2DTFl）—— */
.ym-banner {
  position: relative;
  background: #f7f9ff;
  height: 48rem;
}

.ym-banner + .ym-section {
  padding-top: 5.5rem;
}

.ym-banner__container {
  position: relative;
  width: 100%;
  height: 100%;
  background: #eff4ff;
}

.ym-banner__image,
.ym-banner__imageWap {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  left: 0;
  top: 0;
}

.ym-banner__imageWap {
  display: none;
}

.ym-banner__content {
  position: relative;
  z-index: 2;
  padding-top: 11.5rem;
}

.ym-banner__title-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin: 0 0 0.5rem;
  font-weight: inherit;
}

.ym-banner__title {
  color: #191b23;
  font-family: PingFangSC-Semibold, "PingFang SC", sans-serif;
  font-weight: 600;
  font-size: 4.5rem;
  line-height: 5.5rem;
}

.ym-banner__title span {
  font-family: PingFangSC-Semibold, "PingFang SC", sans-serif;
  font-weight: 600;
  font-size: 4.5rem;
  line-height: 5.5rem;
  background: linear-gradient(87deg, #415dff 4.04%, #d980de 98.94%);
  color: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.ym-banner__coupon {
  width: 10rem;
  height: 3rem;
  border-radius: 4.1rem;
  background: rgba(55, 145, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 1rem;
  padding: 0.5rem 1rem;
  margin-top: 0.6rem;
  box-sizing: border-box;
}

.ym-banner__coupon::after {
  content: "";
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  margin-left: 0.2rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 6l6 6-6 6' stroke='%23091221' stroke-opacity='.5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat 50% / contain;
  opacity: 0.5;
}

.ym-banner__coupon-icon {
  width: 2rem;
  height: 2rem;
  display: block;
  background: url("/web/mod/img/campaign-coupon-icon.svg") no-repeat center / contain;
  flex-shrink: 0;
}

.ym-banner__coupon-text {
  padding-left: 0.5rem;
  color: #091221;
  opacity: 0.5;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 3rem;
}

.ym-banner__desc {
  margin: 0.5rem 0 0;
  color: rgba(9, 18, 33, 0.7);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 2.5rem;
}

.ym-banner__desc span {
  color: #ff6246;
  opacity: 1;
}

.ym-banner__activities {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.ym-banner__activity {
  height: 3rem;
  display: flex;
  align-items: center;
  padding: 0.5rem 1.5rem;
  border-radius: 5.1rem;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(25, 27, 35, 0.12);
  backdrop-filter: blur(1.5rem);
  color: rgba(25, 27, 35, 0.8);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 2rem;
  cursor: pointer;
  box-sizing: border-box;
}

.ym-banner__activity::after {
  margin-left: 0.5rem;
  content: "";
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  background-image: url("/web/mod/img/campaign-link-icon.svg");
  background-size: 200% 200%;
  background-position: 100% 0;
  transition: all 0.3s ease-out;
  flex-shrink: 0;
}

.ym-banner__activity:hover::after {
  background-position: 0 100%;
}

/* —— 品类入口：叠在 banner 底部（原版 V2B004）—— */
.ym-cat-nav {
  position: absolute;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.8);
  padding: 0.4rem;
  border-radius: 1.5rem;
  border: 1px solid #fff;
  backdrop-filter: blur(4rem);
  bottom: 3.6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  width: calc(100% - 25rem);
  max-width: 1500px;
  box-sizing: border-box;
}

@media screen and (max-width: 1499px) {
  .ym-cat-nav {
    width: 1250px;
  }
}

@media screen and (max-width: 1359px) {
  .ym-cat-nav {
    width: calc(100% - 11rem);
  }
}

.ym-cat-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: flex;
}

.ym-cat-nav__slider {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 25%;
  background-image: linear-gradient(91deg, #2468f2 0.68%, #c56fff 81.87%, #d988de 99.46%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-radius: 1rem;
  z-index: 1;
  transition: all 0.3s ease-out;
  pointer-events: none;
}

.ym-cat-nav__item {
  flex: 1;
  padding: 1.5rem 2rem;
  z-index: 2;
  cursor: pointer;
  position: relative;
}

.ym-cat-nav__item h3 {
  margin: 0;
  color: #191b23;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 2rem;
  transition: color 0.1s linear;
}

.ym-cat-nav__item p {
  margin: 0.5rem 0 0;
  color: rgba(25, 27, 35, 0.5);
  font-size: 1.3rem;
  line-height: 2rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ym-cat-nav__item p span {
  color: #ff6246;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 2rem;
  transition: color 0.1s linear;
}

.ym-cat-nav__item.is-active h3 {
  color: #fff;
}

.ym-cat-nav__item.is-active p {
  color: rgba(255, 255, 255, 0.7);
}

.ym-cat-nav__item.is-active p span {
  color: #ffc3af;
}

/* —— 通用区块 —— */
.ym-section {
  padding: 5.5rem 0;
}

.ym-section--tint {
  background: #f7f9ff;
}

/* —— 免费试用（原版 V1B029 票券）—— */
.ym-trial {
  margin-bottom: 5.5rem;
  padding-bottom: 0;
}

.ym-trial__ticket {
  margin-top: 3rem;
  display: flex;
  align-items: stretch;
}

.ym-trial__left {
  position: relative;
  padding: 3rem 5.5rem 3rem 3rem;
  background-color: #fff;
  border-radius: 1.2rem;
  flex: 0 0 38%;
  box-sizing: border-box;
  -webkit-mask-image: radial-gradient(circle at bottom right, transparent 1.55rem, #000 0),
    radial-gradient(circle at top right, transparent 1.55rem, #000 0);
  mask-image: radial-gradient(circle at bottom right, transparent 1.55rem, #000 0),
    radial-gradient(circle at top right, transparent 1.55rem, #000 0);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.ym-trial__left-title {
  font-weight: 600;
  font-size: 2.4rem;
  line-height: 3.6rem;
  color: #091221;
}

.ym-trial__left-desc {
  margin-top: 1.2rem;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 2.4rem;
  color: #091221;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.ym-trial__label {
  margin-top: 1.8rem;
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 3.2rem;
  color: #10131a;
}

.ym-trial__tags {
  display: flex;
  margin-top: 0.8rem;
}

.ym-trial__tags > div {
  background-color: #f7f9fc;
  border-radius: 0.4rem;
  padding: 0.5rem 0.8rem;
  margin-right: 0.8rem;
  font-size: 1.2rem;
  line-height: 2.2rem;
  color: #495366;
}

.ym-trial__claim {
  width: 13rem;
  height: 4rem;
  margin-top: 3.2rem;
  border-radius: 2rem;
  background: linear-gradient(263.66deg, #8469ff -0.07%, #2450ff 99.93%);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 2rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  padding: 0;
}

.ym-trial__claim:hover {
  background: linear-gradient(90deg, #0f37d7, #6420d9);
}

.ym-trial__right {
  border-bottom-right-radius: 1.2rem;
  border-top-right-radius: 1.2rem;
  -webkit-mask-image: radial-gradient(circle at bottom left, transparent 1.55rem, #000 0),
    radial-gradient(circle at top left, transparent 1.55rem, #000 0);
  mask-image: radial-gradient(circle at bottom left, transparent 1.55rem, #000 0),
    radial-gradient(circle at top left, transparent 1.55rem, #000 0);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  background-image: var(--ym-trial-bg);
  background-size: 77.6rem auto;
  background-position: 0;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  gap: 2.4rem;
  flex: 0 0 62%;
  box-sizing: border-box;
  padding: 5.6rem;
}

.ym-trial__right::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 85%;
  width: 1px;
  background: repeating-linear-gradient(
    180deg,
    rgba(61, 68, 168, 0.3) 0,
    rgba(61, 68, 168, 0.3) 0.5rem,
    transparent 0,
    transparent 1rem
  );
}

.ym-trial__item {
  width: 33.3333333333%;
}

.ym-trial__item-title {
  font-weight: 600;
  font-size: 2rem;
  line-height: 3rem;
  white-space: nowrap;
  color: #091221;
}

.ym-trial__item-desc {
  margin-top: 1.2rem;
  font-size: 1.6rem;
  line-height: 4.2rem;
  white-space: nowrap;
  color: #091221;
}

.ym-trial__item-desc span {
  font-family: "DIN Alternate", "DINAlternate-Bold", Arial, sans-serif;
  font-weight: 700;
  font-size: 5.6rem;
  line-height: 7.4rem;
  background: linear-gradient(143.68deg, #000 21.18%, #bf00ff 96.9%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.ym-trial__item-desc span.text {
  font-size: 3.6rem;
}

.ym-trial__item-text {
  margin-top: 1.2rem;
  font-size: 1.4rem;
  line-height: 2.2rem;
  white-space: nowrap;
  color: #373e4d;
}

/* —— 对象存储迁移（原版 V1B015）—— */
.ym-migrate {
  padding-bottom: 5.5rem;
  margin-top: -3.5rem;
}

.ym-migrate__bar {
  /* 原版 V1B015：左侧插图在背景图里，内容区 padding-left:26rem 让开 */
  background-image: var(
    --ym-migrate-bg,
    url("https://bce.bdstatic.com/2025-11/1764141618185/1800-941.png")
  );
  background-size: cover;
  background-position: 0;
  background-repeat: no-repeat;
  padding: 1.5rem 3rem 1.5rem 26rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(9, 18, 33, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.ym-migrate__text {
  display: flex;
  gap: 2rem;
  align-items: center;
  min-width: 0;
}

.ym-migrate__title {
  color: rgba(9, 18, 33, 0.8);
  font-weight: 600;
  font-size: 2rem;
  line-height: 3rem;
  white-space: nowrap;
}

.ym-migrate__title span {
  background: linear-gradient(86deg, #ff2244 -3.49%, #ff7746 113.96%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

.ym-migrate__desc {
  color: rgba(9, 18, 33, 0.5);
  font-size: 1.5rem;
  line-height: 2rem;
  white-space: nowrap;
}

.ym-migrate__desc span {
  color: rgba(9, 18, 33, 0.7);
  font-weight: 500;
}

a.ym-migrate__btn,
.ym-migrate__btn {
  flex-shrink: 0;
  width: 15.2rem;
  height: 3.5rem;
  border-radius: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #2450ff, #7733fe);
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 2rem;
}

a.ym-migrate__btn:hover,
.ym-migrate__btn:hover {
  background: linear-gradient(90deg, #0f37d7, #6420d9);
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}

/* —— 上云福利津贴（原版 V2B005，整块背景图 cover）—— */
.ym-coupon-sec {
  padding-bottom: 5.5rem;
  background: #f7f9ff;
}

.ym-coupon-panel {
  /* 原版 V2B005：整块 panel 用代金券图作 background 50%/cover */
  margin-top: 1rem;
  padding: 2rem 2.5rem 1.5rem;
  border-radius: 2rem;
  background: var(
      --ym-coupon-bg,
      url("https://bce.bdstatic.com/2025-10/1760869486414/%E4%BB%A3%E9%87%91%E5%88%B8.png")
    )
    50% / cover no-repeat;
}

.ym-coupon-panel__head {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}

.ym-coupon-panel__title {
  margin: 0;
  flex-shrink: 0;
  background: linear-gradient(90deg, #ffd6a5 3.51%, #fff8e3 99.95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  font-size: 2.5rem;
  line-height: 3rem;
  white-space: nowrap;
}

.ym-coupon-panel__meta {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  gap: 1rem;
}

.ym-coupon-panel__desc,
.ym-coupon-panel__valid {
  opacity: 0.9;
  color: #fff;
  font-size: 1.3rem;
  line-height: 2rem;
}

.ym-coupon-list {
  display: flex;
  align-items: stretch;
  column-gap: 0.5rem;
  row-gap: 0.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.ym-coupon {
  flex: 1;
  min-width: 28rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ym-coupon__header {
  border-radius: 1.5rem;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  gap: 1rem;
}

.ym-coupon__amount {
  color: #c78333;
  font-weight: 600;
  font-size: 2rem;
  line-height: 4rem;
}

.ym-coupon__amount span {
  font-size: 3.5rem;
  line-height: 4rem;
  color: #c78333;
}

.ym-coupon__name {
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 2.5rem;
  color: #c78333;
}

.ym-coupon__btn {
  border-radius: 2.8rem;
  background: linear-gradient(90deg, #ffd48e, #ffeccc);
  color: #9e631e;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 2rem;
  padding: 1rem 3.5rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.ym-coupon__btn:hover {
  background: linear-gradient(90deg, #fbc66e, #ffe4b6);
  color: rgba(158, 99, 30, 0.8);
}

.ym-coupon__divider {
  width: calc(100% - 3rem);
  height: 1px;
  margin: 0 auto;
  background-color: #fff;
  background-image: linear-gradient(90deg, transparent, rgba(201, 160, 99, 0.35), transparent);
}

.ym-coupon__body {
  border-radius: 1.5rem;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 1rem 0.5rem;
}

.ym-coupon__cell {
  flex: 1;
  position: relative;
  text-align: center;
  padding: 0.4rem 0.2rem;
}

.ym-coupon__cell:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 25%;
  border-left: 1px dashed rgba(9, 18, 33, 0.2);
  height: 50%;
}

.ym-coupon__cell-price {
  color: #9e631e;
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 2rem;
}

.ym-coupon__cell-cond {
  color: #9e631e;
  font-size: 1rem;
  line-height: 1.5rem;
  margin-top: 0.2rem;
}

/* —— 产品 Tabs / Cards —— */
.ym-prod-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 3rem;
  justify-content: center;
}

.ym-prod-tab {
  padding: 0.8rem 2.4rem;
  border-radius: 2rem;
  background: #fff;
  border: 1px solid transparent;
  font-size: 1.5rem;
  color: rgba(9, 18, 33, 0.7);
  cursor: pointer;
  transition: all 0.15s;
}

.ym-prod-tab.is-active,
.ym-prod-tab:hover {
  background: #eaf1ff;
  border-color: #eaf1ff;
  color: #2468f2;
  font-weight: 500;
}

.ym-prod-grid {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  margin-top: 2.4rem;
}

.ym-prod-grid.ym-prod-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.ym-prod-grid.is-active {
  display: grid;
}

/* 产品卡：对齐原版 price-card */
.ym-prod-card {
  background: #fff;
  border-radius: 1.8rem;
  padding: 2.5rem;
  border: 1px solid rgba(9, 18, 33, 0.1);
  box-sizing: border-box;
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.ym-prod-card:hover {
  box-shadow: 0 0.4rem 1rem 0 rgba(9, 18, 33, 0.04);
}

.ym-prod-card__main {
  display: flex;
  flex-direction: column;
}

.ym-prod-card__tag {
  align-self: flex-start;
  display: inline-flex;
  padding: 0.2rem 0.5rem;
  align-items: center;
  border-radius: 0.4rem;
  font-size: 1rem;
  line-height: 1.5rem;
  background: rgba(172, 97, 255, 0.08);
  color: rgba(114, 46, 209, 0.8);
  margin-bottom: 0.5rem;
}

.ym-prod-card__name {
  margin-top: 0.5rem;
  color: #091221;
  font-weight: 500;
  font-size: 2rem;
  line-height: 2.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ym-prod-card__desc {
  margin-top: 0.5rem;
  color: rgba(9, 18, 33, 0.7);
  font-size: 1.2rem;
  line-height: 2rem;
  min-height: 4rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.ym-prod-card__table {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 2rem;
}

.ym-prod-card__cell {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.ym-prod-card__cell em {
  font-style: normal;
  color: rgba(9, 18, 33, 0.45);
  font-size: 1.2rem;
  line-height: 1.8rem;
}

.ym-prod-card__cell b {
  font-weight: 500;
  color: #091221;
  font-size: 1.5rem;
  line-height: 2.2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ym-prod-card__foot {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ym-prod-card__badges {
  display: flex;
  column-gap: 0.5rem;
  flex-wrap: wrap;
  row-gap: 0.4rem;
}

.ym-prod-card__badges i {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  box-sizing: border-box;
  border-radius: 0.5rem;
  font-size: 1rem;
  line-height: 2rem;
  min-width: 3.5rem;
}

.ym-prod-card__badges i.disc {
  border: none;
  background: rgba(255, 34, 68, 0.08);
  color: #f24;
  border-radius: 1rem 1rem 0 1rem;
  padding: 0.2rem 0.6rem;
  line-height: 1.5rem;
}

.ym-prod-card__badges i.limit {
  border: 1px solid rgba(9, 18, 33, 0.12);
  color: rgba(9, 18, 33, 0.5);
  background: transparent;
}

.ym-prod-card__price {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 3rem;
}

.ym-prod-card__price .now {
  flex-shrink: 0;
  background: linear-gradient(90deg, #f24, #ff875c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
  font-size: 2.5rem;
  line-height: 3rem;
}

.ym-prod-card__price .now small {
  font-size: 1.5rem;
  font-weight: 500;
}

.ym-prod-card__price .old {
  flex-shrink: 1;
  color: rgba(9, 18, 33, 0.5);
  font-size: 1rem;
  line-height: 3rem;
  text-decoration: line-through;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 原版：白底 + 红橙渐变描边/文字，悬停实心填充 */
.ym-prod-card__btn {
  width: 100%;
  height: 4rem;
  border-radius: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
  border: 1px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(86deg, #ff2244 -3.49%, #ff7746 113.96%) border-box;
  color: #ff2244;
  -webkit-text-fill-color: #ff2244;
}

.ym-prod-card__btn:hover {
  background: linear-gradient(86deg, #f22140 -3.49%, #f27143 113.96%);
  border-color: transparent;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

/* —— 续费专区（原版 V1B002：两卡并排 + JPG 背景 cover）—— */
.ym-renew-sec {
  padding: 0 0 5.5rem;
  background: #f7f9ff;
}

.ym-renew-list {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.ym-renew-item {
  width: calc((100% - 1rem) / 2);
  border-radius: 2rem;
  background-image: linear-gradient(87deg, #2468f2 3.8%, #73afee 49.92%, #de99c9 99.89%);
  background-size: cover;
  background-position: 50%;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 16.5rem;
  box-sizing: border-box;
}

/* 原版 renew-BCC / renew-LS 背景图 */
.ym-renew-item--bcc {
  background-image: url("https://bce.bdstatic.com/p3m/common-service/uploads/%E4%BA%91%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%BB%AD%E8%B4%B9_8eb208a.jpg");
}

.ym-renew-item--ls {
  background-image: url("https://bce.bdstatic.com/p3m/common-service/uploads/%E8%BD%BB%E9%87%8F%E4%BA%91%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%BB%AD%E8%B4%B9_251fd79.jpg");
}

.ym-renew-item__header {
  padding: 3rem 2.5rem 0;
}

.ym-renew-item__title {
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  line-height: 3rem;
}

.ym-renew-item__desc {
  margin-top: 1rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 2rem;
}

.ym-renew-item__btn {
  width: 24.5rem;
  max-width: calc(100% - 5rem);
  height: 4rem;
  border-radius: 4rem;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 2.5rem 3rem;
  flex-shrink: 0;
}

.ym-renew-item__btn span {
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 4rem;
  background: linear-gradient(90deg, #0d5eff, #7733fe);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ym-renew-item__btn:hover span {
  background: linear-gradient(90deg, #0f37d7, #6420d9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* —— 场景组合 —— */
.ym-scene-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.ym-scene-card {
  background: #fff;
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(9, 18, 33, 0.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.ym-scene-card:hover {
  box-shadow: 0 12px 32px rgba(36, 104, 242, 0.1);
}

.ym-scene-card__cover {
  height: 12rem;
  padding: 2rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}

.ym-scene-card__cover--game {
  background: linear-gradient(135deg, #2468f2, #5b8ff9);
}

.ym-scene-card__cover--ecom {
  background: linear-gradient(135deg, #7b5cff, #c56fff);
}

.ym-scene-card__cover--edu {
  background: linear-gradient(135deg, #0fc6c2, #2468f2);
}

.ym-scene-card__cover--fin {
  background: linear-gradient(135deg, #f77234, #f7ba1e);
}

.ym-scene-card__cover h3 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 600;
}

.ym-scene-card__body {
  padding: 1.6rem 2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ym-scene-card__body p {
  margin: 0;
  font-size: 1.3rem;
  line-height: 2.1rem;
  color: rgba(9, 18, 33, 0.65);
  flex: 1;
}

.ym-scene-card__price {
  margin-top: 1.6rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.ym-scene-card__price .label {
  font-size: 1.3rem;
  color: rgba(9, 18, 33, 0.5);
}

.ym-scene-card__price .val {
  font-size: 2.4rem;
  font-weight: 600;
  color: #2468f2;
}

.ym-scene-card__price .val small {
  font-size: 1.3rem;
}

.ym-scene-card__btn {
  margin-top: 1.2rem;
  height: 3.4rem;
  border-radius: 0.4rem;
  border: 1px solid #2468f2;
  color: #2468f2;
  background: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ym-scene-card__btn:hover {
  background: #2468f2;
  color: #fff;
}

/* —— 更多会场 —— */
.ym-venues {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.ym-venue {
  position: relative;
  border-radius: 1.2rem;
  overflow: hidden;
  min-height: 16rem;
  padding: 2.4rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.ym-venue::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.95;
  z-index: 0;
}

.ym-venue > * {
  position: relative;
  z-index: 1;
}

.ym-venue--1::before {
  background: linear-gradient(135deg, #2468f2, #73afee);
}

.ym-venue--2::before {
  background: linear-gradient(135deg, #7b5cff, #de99c9);
}

.ym-venue--3::before {
  background: linear-gradient(135deg, #0fc6c2, #2468f2);
}

.ym-venue--4::before {
  background: linear-gradient(135deg, #f77234, #f7ba1e);
}

.ym-venue--5::before {
  background: linear-gradient(135deg, #3491fa, #c56fff);
}

.ym-venue--6::before {
  background: linear-gradient(135deg, #00b42a, #2468f2);
}

.ym-venue__title {
  font-size: 2rem;
  font-weight: 600;
  line-height: 2.8rem;
}

.ym-venue__desc {
  margin-top: 0.6rem;
  font-size: 1.4rem;
  opacity: 0.9;
}

.ym-venue__btn {
  margin-top: 2rem;
  color: #fff;
  font-weight: 600;
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ym-venue__btn::after {
  content: "→";
}

/* —— 侧边导航 —— */
.ym-side-nav {
  max-width: 105px;
  min-width: 90px;
  width: 105px;
  position: fixed;
  top: 200px;
  left: 5px;
  z-index: 90;
  display: none;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1);
  padding: 1.2rem 0.8rem 1.2rem 1rem;
}

.ym-side-nav.is-show {
  display: block;
}

.ym-side-nav__header {
  margin-bottom: 12px;
  padding-left: 4px;
}

.ym-side-nav__title {
  color: #091221;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
}

.ym-side-nav__desc {
  color: rgba(9, 18, 33, 0.45);
  font-size: 11px;
  margin-top: 2px;
}

.ym-side-nav__list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 4px;
  border-left: 2px solid #eef0f4;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ym-side-nav__item {
  position: relative;
  padding-left: 10px;
  color: rgba(9, 18, 33, 0.7);
  font-size: 12px;
  line-height: 20px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s;
}

.ym-side-nav__item.is-active {
  color: #2468f2;
  font-weight: 500;
}

.ym-side-nav__item.is-active::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 4px;
  width: 2px;
  height: 12px;
  background: #2468f2;
  border-radius: 1px;
}

.ym-side-nav__top {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #eef0f4;
  text-align: center;
  font-size: 12px;
  color: rgba(9, 18, 33, 0.55);
  cursor: pointer;
}

.ym-side-nav__top:hover {
  color: #2468f2;
}

/* —— 页脚：对齐首页 home-body 浅色页脚 —— */
.ym-campaign .k8-footer {
  margin-top: 0;
  background: #f2f3f5;
  color: #1d2129;
  padding: 0;
}

.ym-campaign .k8-footer::before {
  display: none;
}

.ym-campaign .k8-footer-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 24px 28px;
  box-sizing: border-box;
}

.ym-campaign .k8-footer-content {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 28px;
}

.ym-campaign .k8-footer-section h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1d2129;
  margin: 0 0 14px;
  line-height: 1.4;
}

.ym-campaign .k8-footer-links {
  gap: 10px;
}

.ym-campaign .k8-footer-link {
  font-size: 14px;
  color: #4e5969;
  line-height: 1.5;
}

.ym-campaign .k8-footer-link:hover {
  color: #165dff;
}

.ym-campaign .k8-footer-contact-info .k8-footer-contact-item {
  margin-bottom: 10px;
  color: #4e5969;
}

.ym-campaign .k8-contact-label {
  font-size: 14px;
  font-weight: 500;
  color: #1d2129;
}

.ym-campaign .k8-contact-content {
  font-size: 14px;
  color: #4e5969;
}

.ym-campaign .k8-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid #eef0f4;
}

.ym-campaign .k8-footer-copyright,
.ym-campaign .k8-footer-copyright p {
  color: #86909c;
  font-size: 12px;
  margin: 0;
}

.ym-campaign .k8-footer-links-bottom {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.ym-campaign .k8-footer-links-bottom a {
  color: #86909c;
  font-size: 12px;
}

.ym-campaign .k8-footer-links-bottom a:hover {
  color: #165dff;
}

.ym-campaign .k8-footer-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ym-campaign .k8-footer-badges a {
  display: block;
  line-height: 0;
}

.ym-campaign .k8-footer-badges img {
  display: block;
  width: 100px;
  height: 36px;
  max-width: none;
  object-fit: contain;
  opacity: 0.92;
}

@media (max-width: 1200px) {
  .ym-campaign .k8-footer-container {
    padding: 32px 16px 24px;
  }

  .ym-campaign .k8-footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .ym-campaign .k8-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .ym-campaign .k8-footer-links-bottom {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .ym-campaign .k8-footer-content {
    display: none;
  }
}

/* —— Toast —— */
.ym-toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(9, 18, 33, 0.88);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 0.6rem;
  font-size: 1.4rem;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}

.ym-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* —— 规则弹层 —— */
.ym-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(9, 18, 33, 0.45);
}

.ym-modal.is-open {
  display: flex;
}

.ym-modal__panel {
  width: min(560px, 92vw);
  background: #fff;
  border-radius: 1.2rem;
  padding: 2.4rem;
  max-height: 80vh;
  overflow: auto;
}

.ym-modal__title {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0 0 1.2rem;
}

.ym-modal__body {
  font-size: 1.4rem;
  line-height: 2.4rem;
  color: rgba(9, 18, 33, 0.75);
}

.ym-modal__close {
  margin-top: 2rem;
  width: 100%;
  height: 4rem;
  border: none;
  border-radius: 0.4rem;
  background: #2468f2;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

/* —— 响应式 —— */
@media screen and (max-width: 940px) {
  .ym-cat-nav {
    width: calc(100% - 6.4rem);
    bottom: 2.1rem;
  }

  .ym-banner__content {
    padding-top: 8rem;
  }

  .ym-prod-grid,
  .ym-scene-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ym-venues {
    grid-template-columns: repeat(2, 1fr);
  }

  .ym-migrate__bar {
    background-image: var(
      --ym-migrate-bg-wap,
      var(
        --ym-migrate-bg,
        url("https://bce.bdstatic.com/2025-11/1764148547533/940-375.png")
      )
    );
    padding: 1.5rem 2.5rem;
    background-size: cover;
    background-position: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .ym-migrate__text {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }

  .ym-coupon-panel__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .ym-coupon-panel__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .ym-coupon-list {
    flex-direction: column;
  }

  .ym-trial__ticket {
    flex-direction: column;
  }

  .ym-trial__left,
  .ym-trial__right {
    flex: none;
    width: 100%;
    -webkit-mask-image: none;
    mask-image: none;
    border-radius: 1.2rem;
  }

  .ym-trial__right {
    margin-top: 1.2rem;
    flex-wrap: wrap;
    padding: 3rem 2.4rem;
    background-size: cover;
    background-position: center;
    gap: 2rem;
  }

  .ym-trial__right::before {
    display: none;
  }

  .ym-trial__item {
    width: auto;
    flex: 1 1 30%;
    min-width: 14rem;
  }

  .ym-trial__item-desc span {
    font-size: 4rem;
    line-height: 5rem;
  }

  .ym-trial__item-desc span.text {
    font-size: 2.8rem;
  }

  .ym-side-nav {
    display: none !important;
  }

  .ym-renew-item {
    width: 100%;
  }

  .ym-renew-item__header {
    padding: 2.5rem 2.5rem 0;
  }

  .ym-renew-item__btn {
    max-width: calc(100% - 5rem);
    margin-left: 2.5rem;
  }
}

/* 原版 max-width:749px — V2B003 banner + V2B004 wap 2×2 白卡 */
@media screen and (max-width: 749px) {
  .ym-banner {
    height: 62.6rem;
  }

  .ym-banner__image {
    display: none;
  }

  .ym-banner__imageWap {
    display: block;
    object-position: right;
  }

  .ym-banner__content {
    padding-top: 9.4rem;
  }

  .ym-banner__title,
  .ym-banner__title span {
    font-size: 3.6rem;
    line-height: 5rem;
  }

  .ym-banner__desc {
    font-size: 1.3rem;
    line-height: 2rem;
  }

  /* 活动入口：各占一半，2×2 胶囊（避免短文案缩成一团） */
  .ym-banner__activities {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.4rem;
    width: 100%;
  }

  .ym-banner__activity {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(50% - 0.5rem);
    height: auto;
    min-height: 3.6rem;
    padding: 0.7rem 1.4rem;
    border-radius: 5.1rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(25, 27, 35, 0.12);
    backdrop-filter: blur(1.5rem);
    font-size: 1.3rem;
    line-height: 2rem;
    font-weight: 500;
    box-sizing: border-box;
  }

  .ym-banner__activity::after {
    margin-left: 0.5rem;
    flex-shrink: 0;
  }

  /* 品类入口：贴 banner 底，2×2 半透明白卡，无滑块/无渐变 */
  .ym-cat-nav {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: calc(100% - 3.2rem);
    max-width: none;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    box-shadow: none;
  }

  .ym-cat-nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .ym-cat-nav__slider {
    display: none !important;
  }

  .ym-cat-nav__item,
  .ym-cat-nav__item.is-active {
    flex: none;
    width: calc(50% - 0.25rem);
    padding: 1.5rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.8) !important;
    background-image: none !important;
    border: none;
    backdrop-filter: blur(1rem);
    box-shadow: 0 0.4rem 1.5rem 0 rgba(36, 104, 242, 0.03);
    box-sizing: border-box;
    min-height: 0;
  }

  .ym-cat-nav__item h3,
  .ym-cat-nav__item.is-active h3 {
    color: #191b23 !important;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ym-cat-nav__item p,
  .ym-cat-nav__item.is-active p {
    margin-top: 0.5rem;
    color: rgba(25, 27, 35, 0.5) !important;
    font-size: 1.3rem;
    line-height: 2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ym-cat-nav__item p span,
  .ym-cat-nav__item.is-active p span {
    color: rgba(243, 62, 62, 0.88) !important;
    font-size: 1.3rem;
  }

  .ym-section {
    padding: 3.2rem 0;
  }

  .ym-module-title {
    font-size: 2.4rem;
    line-height: 3.2rem;
  }

  .ym-module-desc {
    font-size: 1.3rem;
    line-height: 2rem;
  }

  /* 产品 Tabs：横滑 */
  .ym-prod-tabs {
    margin-top: 2rem;
    gap: 0.8rem;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.4rem;
  }

  .ym-prod-tabs::-webkit-scrollbar {
    display: none;
  }

  .ym-prod-tab {
    flex: 0 0 auto;
    padding: 0.7rem 1.6rem;
    font-size: 1.3rem;
    white-space: nowrap;
  }

  .ym-prod-grid,
  .ym-prod-grid.ym-prod-grid--3,
  .ym-scene-grid,
  .ym-venues {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .ym-prod-card {
    padding: 1.6rem;
  }

  .ym-prod-card__name {
    font-size: 1.6rem;
    line-height: 2.2rem;
  }

  .ym-prod-card__desc {
    font-size: 1.2rem;
    min-height: 0;
  }

  .ym-prod-card__foot {
    margin-top: 1.4rem;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .ym-prod-card__price .now {
    font-size: 2.6rem;
  }

  .ym-trial__left {
    padding: 2.4rem 2rem;
  }

  .ym-trial__left-title {
    font-size: 2rem;
    line-height: 2.8rem;
  }

  .ym-trial__claim {
    width: 100%;
    max-width: 16rem;
  }

  .ym-trial__right {
    padding: 2.4rem 1.6rem;
    gap: 1.6rem;
  }

  .ym-trial__item {
    flex: 1 1 100%;
    min-width: 0;
  }

  .ym-trial__item-desc span {
    font-size: 3.2rem;
    line-height: 4rem;
  }

  .ym-migrate__bar {
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .ym-migrate__text {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  a.ym-migrate__btn,
  .ym-migrate__btn {
    width: 100%;
    justify-content: center;
  }

  .ym-coupon-panel {
    padding: 2rem 1rem;
  }

  .ym-coupon__body {
    flex-wrap: wrap;
  }

  .ym-coupon__cell {
    flex: 1 1 40%;
    min-width: 40%;
  }

  .ym-renew-list {
    gap: 1.2rem;
  }

  .ym-side-nav {
    display: none !important;
  }
}

/* —— 购买侧滑抽屉 —— */
body.ym-buy-open {
  overflow: hidden;
}

.ym-buy-drawer {
  position: fixed;
  inset: 0;
  z-index: 4000;
  pointer-events: none;
  visibility: hidden;
}

.ym-buy-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.ym-buy-drawer__mask {
  position: absolute;
  inset: 0;
  background: rgba(9, 18, 33, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.ym-buy-drawer.is-open .ym-buy-drawer__mask {
  opacity: 1;
}

.ym-buy-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(480px, 100%);
  height: 100%;
  background: #fff;
  box-shadow: -8px 0 32px rgba(9, 18, 33, 0.12);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.ym-buy-drawer.is-open .ym-buy-drawer__panel {
  transform: translateX(0);
}

.ym-buy-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #eef0f4;
  flex-shrink: 0;
}

.ym-buy-drawer__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #1d2129;
  line-height: 1.4;
}

.ym-buy-drawer__x {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: #86909c;
  cursor: pointer;
}

.ym-buy-drawer__body {
  flex: 1;
  overflow: auto;
  padding: 20px 24px 12px;
}

.ym-buy-drawer__section {
  margin-bottom: 24px;
}

.ym-buy-drawer__section h4 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #1d2129;
}

.ym-buy-drawer__table {
  border: 1px solid #e5e6eb;
  border-radius: 8px;
  overflow: hidden;
}

.ym-buy-drawer__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  font-size: 13px;
  border-bottom: 1px solid #f2f3f5;
}

.ym-buy-drawer__row:last-child {
  border-bottom: none;
}

.ym-buy-drawer__row span {
  color: #86909c;
}

.ym-buy-drawer__row b {
  color: #1d2129;
  font-weight: 500;
  text-align: right;
}

.ym-buy-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e5e6eb;
  border-radius: 6px;
  overflow: hidden;
}

.ym-buy-qty__btn {
  width: 36px;
  height: 36px;
  border: none;
  background: #f7f8fa;
  color: #1d2129;
  font-size: 18px;
  cursor: pointer;
}

.ym-buy-qty__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.ym-buy-qty__input {
  width: 56px;
  height: 36px;
  border: none;
  border-left: 1px solid #e5e6eb;
  border-right: 1px solid #e5e6eb;
  text-align: center;
  font-size: 14px;
  color: #1d2129;
  outline: none;
}

.ym-buy-drawer__hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: #86909c;
}

.ym-buy-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #4e5969;
}

.ym-buy-field span em {
  color: #f53f3f;
  font-style: normal;
}

.ym-buy-field input,
.ym-buy-field select {
  height: 36px;
  border: 1px solid #e5e6eb;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 13px;
  color: #1d2129;
  background: #fff;
  outline: none;
}

.ym-buy-field input:focus,
.ym-buy-field select:focus {
  border-color: #2450ff;
}

.ym-buy-drawer__foot {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px calc(16px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #eef0f4;
  background: #fff;
}

.ym-buy-drawer__price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  color: #4e5969;
}

.ym-buy-drawer__price-row strong {
  font-size: 24px;
  font-weight: 700;
  color: #f53f3f;
}

.ym-buy-drawer__price-sub {
  margin-top: 4px;
  font-size: 12px;
  color: #86909c;
}

.ym-buy-drawer__pay {
  min-width: 140px;
  height: 44px;
  padding: 0 28px;
  border: none;
  border-radius: 4px;
  background: #f53f3f;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.ym-buy-drawer__pay:hover {
  background: #e13232;
}

.ym-buy-drawer__pay:disabled {
  opacity: 0.65;
  cursor: wait;
}

@media (max-width: 749px) {
  .ym-buy-drawer__panel {
    width: 100%;
    height: auto;
    max-height: 92vh;
    top: auto;
    bottom: 0;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
  }

  .ym-buy-drawer.is-open .ym-buy-drawer__panel {
    transform: translateY(0);
  }
}
