/* ============================================================
   会员中心 /m/center · 方案 A 资源库
   ============================================================ */

.mc-btn-on-media {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mc-btn-on-media:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  opacity: 1;
}

.mc-vault {
  background: var(--vf-canvas);
}

.mc-vault-hero {
  position: relative;
  color: #fff;
  isolation: isolate;
  overflow: visible;
  background: transparent;
}

.mc-vault-hero__stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(22rem, 52vh, 32rem);
  background: #12151a;
  color: #fff;
}

.mc-vault-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}

.mc-vault-hero__bloom {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
  filter: blur(28px) saturate(1.15) brightness(0.85);
  transform: scale(1.12);
  opacity: 0.9;
}

.mc-vault-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform-origin: 50% 40%;
  animation: mc-vault-ken 28s ease-in-out infinite alternate;
  will-change: transform;
}

.mc-vault.is-guest .mc-vault-hero__photo {
  filter: saturate(0.9) brightness(0.94);
}

.mc-vault-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 10, 14, 0.28) 0%, rgba(8, 10, 14, 0.18) 28%, rgba(8, 10, 14, 0.55) 62%, rgba(8, 10, 14, 0.92) 100%),
    radial-gradient(ellipse 70% 55% at 12% 88%, rgba(255, 87, 69, 0.28), transparent 58%),
    radial-gradient(ellipse 50% 40% at 88% 12%, rgba(255, 180, 120, 0.16), transparent 55%),
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(0, 0, 0, 0.45), transparent 60%);
}

.mc-vault-hero__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.mc-vault-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: inherit;
  padding: 4.5rem 0 6.5rem;
}

.mc-vault-hero__dock {
  position: relative;
  z-index: 3;
  margin-top: -4.75rem;
  padding-bottom: 0.25rem;
}

@keyframes mc-vault-ken {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.2%, -0.8%, 0); }
}

.mc-vault-hero__brand {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.mc-vault-hero__title {
  margin: 0;
  max-width: 16em;
  font-size: clamp(1.5rem, 4.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.mc-vault-hero__title-short {
  display: none;
}

.mc-vault-hero__cover-hint {
  display: inline;
}

.mc-vault-hero__lead {
  margin: 0.7rem 0 0;
  max-width: 36em;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

/* 桌面默认：毛玻璃护照卡叠在 Hero 上（恢复原效果） */
.mc-vault-passport {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 1rem 1.05rem;
  max-width: 36rem;
  border-radius: 16px;
  background: rgba(16, 18, 24, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  box-shadow:
    0 18px 40px -22px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

@media (min-width: 640px) {
  .mc-vault-passport {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem 1.25rem;
    padding: 1.15rem 1.25rem;
  }
}

.mc-vault-passport__who {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mc-vault-passport__who img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  object-fit: cover;
  flex: 0 0 auto;
}

.mc-vault-passport__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: rgba(255, 87, 69, 0.28);
  color: #fff;
  font-weight: 700;
  flex: 0 0 auto;
}

.mc-vault-passport__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
}

.mc-vault-passport__meta {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.mc-vault-passport__hint {
  margin: 0.45rem 0 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
}

.mc-vault-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.mc-vault-chip.is-ok {
  background: rgba(52, 150, 142, 0.28);
  color: #9be6df;
}

.mc-vault-chip.is-warn {
  background: rgba(255, 176, 72, 0.28);
  color: #ffd59a;
}

.mc-vault-chip.is-accent {
  background: rgba(255, 87, 69, 0.32);
  color: #ffd0ca;
}

.mc-vault-quota {
  margin-top: 0.75rem;
}

.mc-vault-quota__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.78);
}

.mc-vault-quota__value {
  text-align: right;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.mc-vault-quota__value em {
  display: inline;
  margin-left: 0.35rem;
  font-style: normal;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.mc-vault-quota__bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.mc-vault-quota__bar > i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff8a78, #ff5745);
  font-style: normal;
}

.mc-vault-quota__link {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.mc-vault-quota__link:hover {
  color: #fff;
}

.mc-vault-passport__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mc-vault-passport__cta .mc-btn {
  min-height: 2.5rem;
  padding: 0.5rem 1.05rem;
  font-size: 0.875rem;
}

.mc-vault-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin: 0.95rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
}

.mc-vault-trust li {
  position: relative;
  padding-left: 0.85rem;
}

.mc-vault-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.mc-vault-body {
  position: relative;
  z-index: 1;
  padding: 0 0 2.75rem;
}

.mc-vault-body > .container > .vf-banner {
  margin-top: 1rem;
}

/* 精简卡：仅标题 + 必要角标（桌面/移动共用信息密度，移动端再收紧字号） */
.mc-vault .mc-vault-card .home-cover-meta {
  padding: 1.35rem 0.65rem 0.55rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.42) 55%, rgba(0, 0, 0, 0.62) 100%);
}

.mc-vault .mc-vault-card .home-cover-title {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.35;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mc-vault .mc-vault-card .home-cover-lock,
.mc-vault .mc-vault-card .home-cover-video,
.mc-vault .mc-vault-card .home-cover-res {
  padding: 0.12rem 0.4rem;
  font-size: 0.6875rem;
}

/* 权益通道 */
.mc-vault-channels {
  margin-top: 1.15rem;
  margin-bottom: 1.5rem;
}

.mc-vault-channels__track {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 900px) {
  .mc-vault-channels {
    margin-top: 1.35rem;
  }

  .mc-vault-channels__track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.mc-vault-channel {
  position: relative;
  overflow: hidden;
  min-height: 9.25rem;
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
  box-shadow: 0 16px 40px -24px rgba(15, 23, 42, 0.55);
  transition: transform var(--vf-ease), box-shadow var(--vf-ease);
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
  .mc-vault-channel:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 20px 44px -22px rgba(15, 23, 42, 0.6);
  }
}

.mc-vault-channel:active {
  transform: scale(0.985);
}

.mc-vault-channel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.mc-vault-channel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(10, 12, 18, 0.78), rgba(10, 12, 18, 0.28));
}

.mc-vault-channel__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 9.25rem;
  padding: 1rem 1.05rem;
}

.mc-vault-channel__kicker {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
}

.mc-vault-channel__title {
  margin: 0.3rem 0 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
}

.mc-vault-channel__sub {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.4;
}

.mc-vault-channel__mark {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 1;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.6875rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* 今日可取横滑 */
.mc-vault-section {
  margin-bottom: 1.75rem;
}

.mc-vault-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(9.5rem, 42vw);
  gap: 0.65rem;
  overflow-x: auto;
  padding: 0.1rem 0 0.45rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

@media (min-width: 768px) {
  .mc-vault-rail {
    grid-auto-columns: minmax(11.5rem, 13.5rem);
    gap: 0.85rem;
  }
}

.mc-vault-rail-card {
  scroll-snap-align: start;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  -webkit-tap-highlight-color: transparent;
}

.mc-vault-rail-card:hover {
  color: inherit;
}

.mc-vault-rail-card:active .mc-vault-rail-card__media {
  transform: scale(0.98);
}

.mc-vault-rail-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: var(--vf-line);
  transition: transform 0.18s ease;
}

.mc-vault-rail-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
  .mc-vault-rail-card:hover .mc-vault-rail-card__media img {
    transform: scale(1.04);
  }
}

.mc-vault-rail-card__badge {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  z-index: 1;
  padding: 0.12rem 0.4rem;
  border-radius: 6px;
  background: rgba(52, 150, 142, 0.92);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
}

.mc-vault-rail-card.is-locked .mc-vault-rail-card__badge {
  background: rgba(0, 0, 0, 0.62);
}

.mc-vault-rail-card__title {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--vf-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 底部快捷入口：更轻，替代四宫格卡片 */
.mc-vault-quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.25rem 0 1.5rem;
}

.mc-vault-quick__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 4.25rem;
  padding: 0.65rem 0.35rem;
  border-radius: 12px;
  background: var(--vf-surface);
  border: 1px solid var(--vf-line);
  color: var(--vf-ink);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  transition: border-color var(--vf-ease), color var(--vf-ease), background var(--vf-ease), transform var(--vf-ease);
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
  .mc-vault-quick__item:hover {
    border-color: var(--vf-accent);
    color: var(--vf-accent);
  }
}

.mc-vault-quick__item:active {
  transform: scale(0.97);
  background: var(--vf-accent-soft);
}

.mc-vault-quick__item .iconfont {
  font-size: 1.15rem;
  color: var(--vf-accent);
  line-height: 1;
}

/* —— 平板 / 手机深度优化 —— */
@media (max-width: 899.98px) {
  .mc-vault-channels {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
  }

  .mc-vault-channels__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(78%, 18rem);
    gap: 0.65rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0.75rem;
    -webkit-overflow-scrolling: touch;
    padding: 0.15rem 0.75rem 0.45rem;
    scrollbar-width: none;
  }

  .mc-vault-channels__track::-webkit-scrollbar {
    display: none;
  }

  .mc-vault-channel {
    scroll-snap-align: start;
  }

  .mc-vault-today .mc-vault-rail {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    scroll-padding-inline: 0.75rem;
  }
}

@media (max-width: 767.98px) {
  /* 移动端 Hero：固定壁纸带，去掉模糊 bloom，文案精简 */
  .mc-vault-hero__stage {
    min-height: 0;
    height: clamp(10.5rem, 42vw, 13.5rem);
  }

  .mc-vault-hero__bloom {
    display: none;
  }

  .mc-vault-hero__photo {
    animation: none;
    transform: none;
    will-change: auto;
    object-position: center center;
    filter: none;
  }

  .mc-vault.is-guest .mc-vault-hero__photo {
    filter: none;
  }

  .mc-vault-hero__shade {
    background: linear-gradient(180deg, rgba(8, 10, 14, 0.12) 0%, rgba(8, 10, 14, 0.08) 40%, rgba(8, 10, 14, 0.72) 100%);
  }

  .mc-vault-hero__grain {
    display: none;
  }

  .mc-vault-hero__inner {
    padding: 1.75rem 0 1rem;
    min-height: 100%;
    justify-content: flex-end;
  }

  .mc-vault-hero__dock {
    margin-top: 0;
    padding: 0.7rem max(0.875rem, env(safe-area-inset-left, 0px)) 0;
    padding-right: max(0.875rem, env(safe-area-inset-right, 0px));
    background: var(--vf-canvas);
  }

  .mc-vault-hero__brand {
    margin-bottom: 0.25rem;
    font-size: 0.625rem;
    letter-spacing: 0.08em;
    opacity: 0.85;
  }

  .mc-vault-hero__title {
    max-width: none;
    font-size: 1.25rem;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  }

  .mc-vault-hero__title-full {
    display: none;
  }

  .mc-vault-hero__title-short {
    display: inline;
  }

  .mc-vault-hero__lead,
  .mc-vault-hero__cover-hint {
    display: none;
  }

  /* 护照：左信息 + 右按钮，额度一行，去掉进度条 */
  .mc-vault-passport {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0.75rem 0.8rem;
    border-radius: 14px;
    gap: 0.55rem 0.65rem;
    background: var(--vf-surface);
    border: 1px solid var(--vf-line);
    color: var(--vf-ink);
    box-shadow: 0 8px 22px -16px rgba(15, 23, 42, 0.35);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .mc-vault-passport__main {
    min-width: 0;
  }

  .mc-vault-passport__badge {
    background: var(--vf-accent-soft);
    color: var(--vf-accent);
  }

  .mc-vault-passport__who {
    gap: 0.55rem;
  }

  .mc-vault-passport__who img,
  .mc-vault-passport__badge {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
  }

  .mc-vault-passport__name {
    color: var(--vf-ink);
    font-size: 0.875rem;
    gap: 0.3rem;
  }

  .mc-vault-passport__meta,
  .mc-vault-passport__hint,
  .mc-vault-quota__row,
  .mc-vault-quota__value em {
    color: var(--vf-muted);
  }

  .mc-vault-passport__meta {
    margin-top: 0.1rem;
    font-size: 0.6875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mc-vault-passport__hint {
    display: none;
  }

  .mc-vault-chip {
    padding: 0.08rem 0.35rem;
    font-size: 0.625rem;
  }

  .mc-vault-chip.is-ok {
    background: rgba(52, 150, 142, 0.14);
    color: var(--vf-ok);
  }

  .mc-vault-chip.is-warn {
    background: rgba(196, 122, 18, 0.14);
    color: #c47a12;
  }

  .mc-vault-chip.is-accent {
    background: var(--vf-accent-soft);
    color: var(--vf-accent);
  }

  .mc-vault-quota {
    grid-column: 1 / -1;
    margin: 0;
    padding: 0.45rem 0 0;
    border-top: 1px solid var(--vf-line);
  }

  .mc-vault-quota__row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 0;
  }

  .mc-vault-quota__label {
    font-size: 0.6875rem;
  }

  .mc-vault-quota__value {
    text-align: right;
    font-size: 0.75rem;
    color: var(--vf-ink);
  }

  .mc-vault-quota__value em {
    display: inline;
    margin-left: 0.3rem;
    font-size: 0.6875rem;
  }

  .mc-vault-quota__bar,
  .mc-vault-quota__link {
    display: none;
  }

  .mc-vault-passport__cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    width: auto;
    min-width: 5.75rem;
  }

  .mc-vault-passport__cta .mc-btn {
    width: 100%;
    justify-content: center;
    min-height: 2.15rem;
    padding: 0.35rem 0.7rem;
    font-size: 0.75rem;
  }

  .mc-vault-passport__secondary.mc-btn-on-media {
    min-height: 1.85rem;
    padding: 0.2rem 0.55rem;
    border-color: var(--vf-line);
    background: transparent;
    color: var(--vf-muted);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    font-size: 0.6875rem;
    font-weight: 500;
  }

  .mc-vault-passport__secondary.mc-btn-on-media:hover,
  .mc-vault-passport__secondary.mc-btn-on-media:active {
    border-color: var(--vf-accent);
    color: var(--vf-accent);
    background: transparent;
  }

  .mc-vault-trust {
    display: none;
  }

  .mc-vault-body {
    padding-bottom: 2.25rem;
  }

  .mc-vault-body > .container {
    padding-left: max(0.875rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.875rem, env(safe-area-inset-right, 0px));
  }

  .mc-vault-body > .container > .vf-banner {
    margin-top: 0.85rem;
    margin-bottom: 0.85rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.8rem 0.9rem;
  }

  .mc-vault-body > .container > .vf-banner .vf-banner-cta {
    width: 100%;
    justify-content: center;
    min-height: 2.5rem;
  }

  .mc-vault-channels {
    margin-top: 0.85rem;
    margin-bottom: 1.15rem;
    margin-left: calc(-1 * max(0.875rem, env(safe-area-inset-left, 0px)));
    margin-right: calc(-1 * max(0.875rem, env(safe-area-inset-right, 0px)));
  }

  .mc-vault-channels__track {
    grid-auto-columns: minmax(84%, 17rem);
    gap: 0.55rem;
    padding-left: max(0.875rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.875rem, env(safe-area-inset-right, 0px));
    scroll-padding-inline: max(0.875rem, env(safe-area-inset-left, 0px));
  }

  .mc-vault-channel {
    min-height: 8.25rem;
    border-radius: 14px;
  }

  .mc-vault-channel__body {
    min-height: 8.25rem;
    padding: 0.85rem 0.9rem;
  }

  .mc-vault-channel__kicker {
    font-size: 0.625rem;
  }

  .mc-vault-channel__title {
    font-size: 1.05rem;
  }

  .mc-vault-channel__sub {
    font-size: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .mc-vault-channel__mark {
    top: 0.55rem;
    right: 0.55rem;
    max-width: 46%;
    padding: 0.15rem 0.45rem;
    font-size: 0.625rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mc-vault-section {
    margin-bottom: 1.35rem;
  }

  .mc-section-head {
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
  }

  .mc-section-title {
    font-size: 1.05rem;
  }

  .mc-section-sub {
    margin-top: 0.15rem;
    font-size: 0.71875rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .mc-section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: var(--vf-surface);
    border: 1px solid var(--vf-line);
    color: var(--vf-ink);
    font-size: 0.75rem;
    font-weight: 600;
  }

  .mc-vault-today .mc-vault-rail {
    margin-left: calc(-1 * max(0.875rem, env(safe-area-inset-left, 0px)));
    margin-right: calc(-1 * max(0.875rem, env(safe-area-inset-right, 0px)));
    padding-left: max(0.875rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.875rem, env(safe-area-inset-right, 0px));
    scroll-padding-inline: max(0.875rem, env(safe-area-inset-left, 0px));
    grid-auto-columns: minmax(9.25rem, 46vw);
    gap: 0.55rem;
    scrollbar-width: none;
  }

  .mc-vault-today .mc-vault-rail::-webkit-scrollbar {
    display: none;
  }

  .mc-vault-rail-card__media {
    border-radius: 11px;
  }

  .mc-vault-rail-card__title {
    margin-top: 0.35rem;
    font-size: 0.75rem;
  }

  .mc-vault-rail-card__badge {
    font-size: 0.625rem;
    padding: 0.1rem 0.35rem;
  }

  /* 列表卡：移动端更紧、仅标题 */
  .mc-vault .list-home {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
  }

  .mc-vault .home-cover-card,
  .mc-vault .home-cover-media {
    border-radius: 12px;
  }

  .mc-vault .mc-vault-card .home-cover-meta {
    padding: 1.1rem 0.5rem 0.45rem;
  }

  .mc-vault .mc-vault-card .home-cover-title {
    font-size: 0.71875rem;
    line-height: 1.3;
    -webkit-line-clamp: 2;
  }

  .mc-vault .mc-vault-card .home-cover-lock,
  .mc-vault .mc-vault-card .home-cover-video,
  .mc-vault .mc-vault-card .home-cover-res {
    top: 0.4rem;
    left: 0.4rem;
    right: auto;
    max-width: calc(100% - 0.8rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mc-vault .mc-vault-card .home-cover-res {
    left: auto;
    right: 0.4rem;
  }

  .mc-vault-quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 0.15rem 0 1.25rem;
  }

  .mc-vault-quick__item {
    flex-direction: row;
    justify-content: flex-start;
    gap: 0.55rem;
    min-height: 3.15rem;
    padding: 0.65rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8125rem;
    text-align: left;
  }

  .mc-vault-quick__item .iconfont {
    font-size: 1.05rem;
  }

  .mc-vault .mc-plan-strip {
    margin-bottom: 1.15rem;
  }

  /* 解锁弹窗：底部抽屉 */
  .mc-vault ~ .mc-modal,
  .mc-modal {
    align-items: flex-end;
    padding: 0;
    background: rgba(0, 0, 0, 0.48);
  }

  .mc-modal-card {
    max-width: none;
    width: 100%;
    border-radius: 18px 18px 0 0;
    padding: 1.15rem 1.1rem calc(1.15rem + env(safe-area-inset-bottom, 0px));
    text-align: left;
  }

  .mc-modal-thumb {
    height: 8.5rem;
    margin-bottom: 0.85rem;
  }

  .mc-modal-actions {
    flex-direction: column;
  }

  .mc-modal-actions .mc-btn {
    min-height: 2.75rem;
  }

  .mc-modal-close {
    width: 100%;
    min-height: 2.5rem;
  }

  /* Sticky CTA */
  .mc-vault ~ .vf-sticky-bar .vf-sticky-cta,
  body.vf-has-sticky .vf-sticky-cta {
    min-width: 6.5rem;
    min-height: 2.65rem;
  }

  .mc-vault ~ .vf-sticky-bar .vf-sticky-value,
  body.vf-has-sticky .vf-sticky-value {
    font-size: 0.95rem;
  }
}

@media (max-width: 575.98px) {
  .mc-vault-channels__track {
    grid-auto-columns: minmax(86%, 16rem);
  }
}

@media (max-width: 359.98px) {
  .mc-vault-hero__title {
    font-size: 1.25rem;
  }

  .mc-vault-quick__item {
    font-size: 0.75rem;
    padding: 0.55rem 0.65rem;
  }
}

/* 暗色 */
.nice-dark-mode .mc-vault-rail-card__media {
  background: #2a2a30;
}

.nice-dark-mode .mc-vault-quick__item {
  background: var(--vf-surface);
}

.nice-dark-mode .mc-section-more {
  background: var(--vf-surface);
}

@media (prefers-reduced-motion: reduce) {
  .mc-vault-channel,
  .mc-vault-rail-card__media,
  .mc-vault-rail-card__media img,
  .mc-vault-hero__photo,
  .mc-vault-quick__item {
    transition: none;
    animation: none;
  }

  .mc-vault-channel:hover,
  .mc-vault-channel:active,
  .mc-vault-quick__item:active,
  .mc-vault-rail-card:active .mc-vault-rail-card__media {
    transform: none;
  }

  .mc-vault-hero__photo {
    transform: scale(1.06);
  }
}

/* sticky 与底部安全区 */
body.vf-has-sticky .mc-vault-body {
  padding-bottom: calc(2.5rem + 4.75rem + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 767.98px) {
  body.vf-has-sticky .mc-vault-body {
    padding-bottom: calc(2rem + 5.25rem + env(safe-area-inset-bottom, 0px));
  }
}
