/* /feeds/list.html */

/* 非会员门禁 — 沉浸式设计（延续 ffh hero 星空 / 前瞻气质） */
.site-main--feeds-gate {
  --fag-violet: #8b7cf6;
  --fag-indigo: #4f6ef7;
  --fag-cyan: #5eead4;
  --fag-gold: #e3ab61;
  --fag-midnight: #0a0e1a;
  padding-top: 0 !important;
  overflow-x: clip;
  background:
    radial-gradient(120% 80% at 50% -20%, rgba(79, 110, 247, 0.22), transparent 55%),
    linear-gradient(180deg, #0c101c 0%, #0a0e1a 38%, #080b14 100%);
}

.site-main--feeds-gate .container--feeds-gate {
  max-width: 1080px;
  padding-top: 1.25rem;
  padding-bottom: 2rem;
}

.feeds-access-gate {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(139, 124, 246, 0.22);
  background: rgba(12, 16, 28, 0.72);
  box-shadow:
    0 28px 60px -32px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.feeds-access-gate__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.feeds-access-gate__mosaic {
  position: absolute;
  inset: -8% -4%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  transform: rotate(-2deg) scale(1.06);
  opacity: 0.55;
  filter: blur(14px) saturate(0.75);
}

.feeds-access-gate__mosaic-cell {
  border-radius: 14px;
  background-size: cover;
  background-position: center;
}

.feeds-access-gate__mosaic-cell--1 { transform: translateY(6%); }
.feeds-access-gate__mosaic-cell--2 { transform: translateY(-4%); }
.feeds-access-gate__mosaic-cell--3 { transform: translateY(8%); }
.feeds-access-gate__mosaic-cell--4 { transform: translateY(-6%); }
.feeds-access-gate__mosaic-cell--5 { transform: translateY(3%); }

.feeds-access-gate__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  mix-blend-mode: screen;
}

.feeds-access-gate__orb--violet {
  width: min(42vw, 360px);
  height: min(42vw, 360px);
  top: -18%;
  right: -8%;
  background: radial-gradient(circle, rgba(79, 110, 247, 0.55) 0%, transparent 70%);
  opacity: 0.45;
}

.feeds-access-gate__orb--cyan {
  width: min(34vw, 280px);
  height: min(34vw, 280px);
  left: -6%;
  bottom: -22%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.35) 0%, transparent 72%);
  opacity: 0.35;
}

.feeds-access-gate__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(10, 14, 26, 0.94) 0%, rgba(10, 14, 26, 0.78) 42%, rgba(10, 14, 26, 0.55) 100%),
    radial-gradient(90% 70% at 78% 42%, rgba(139, 124, 246, 0.16), transparent 62%);
}

.feeds-access-gate__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.5rem 2rem;
  align-items: center;
  padding: 1.75rem 1.75rem 1.625rem;
}

.feeds-access-gate__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem 0.35rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #4a3106;
  background: linear-gradient(135deg, #ffdc94, #e3ab61);
  box-shadow: 0 10px 22px -14px rgba(146, 96, 8, 0.95);
}

.feeds-access-gate__badge .iconfont {
  font-size: 0.95rem;
}

.feeds-access-gate__title {
  margin: 0.85rem 0 0;
  font-size: clamp(1.625rem, 3.2vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}

.feeds-access-gate__title em {
  display: block;
  font-style: normal;
  background: linear-gradient(92deg, #ffdc94 0%, #e3ab61 48%, #c9f0ea 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feeds-access-gate__lead {
  margin: 0.75rem 0 0;
  max-width: 34rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
}

.feeds-access-gate__lead strong {
  color: #ffdc94;
  font-weight: 700;
}

.feeds-access-gate__perks {
  margin: 1.125rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.feeds-access-gate__perks li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.72);
}

.feeds-access-gate__perk-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 8px;
  color: #c9f0ea;
  background: rgba(94, 234, 212, 0.1);
  border: 1px solid rgba(94, 234, 212, 0.18);
}

.feeds-access-gate__copy {
  min-width: 0;
}

.feeds-access-gate__tiers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 1.125rem 0 0;
  padding: 0;
  list-style: none;
}

.feeds-access-gate__tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 0;
  min-height: 3.25rem;
  padding: 0.45rem 0.35rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
  overflow: hidden;
}

.feeds-access-gate__tier.is-entry {
  border-color: rgba(255, 220, 148, 0.42);
  background: rgba(255, 220, 148, 0.1);
  color: #ffdc94;
}

.feeds-access-gate__tier-name {
  display: block;
  width: 100%;
  max-width: 100%;
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feeds-access-gate__tier-days {
  display: block;
  width: 100%;
  max-width: 100%;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feeds-access-gate__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1.375rem;
}

.feeds-access-gate__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.25rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.feeds-access-gate__btn--primary {
  color: #4a3106 !important;
  background: linear-gradient(135deg, #ffdc94, #e3ab61);
  box-shadow: 0 12px 24px -12px rgba(146, 96, 8, 0.95);
}

.feeds-access-gate__btn--ghost {
  color: rgba(255, 255, 255, 0.82) !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.feeds-access-gate__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 16rem;
}

.feeds-access-gate__deck {
  position: relative;
  width: min(100%, 19rem);
  height: 15.5rem;
}

.feeds-access-gate__deck-card {
  position: absolute;
  inset: auto;
  width: 78%;
  aspect-ratio: 16 / 10;
  margin: 0;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.8);
}

.feeds-access-gate__deck-card--0 {
  left: 0;
  top: 12%;
  transform: rotate(-7deg);
  z-index: 1;
}

.feeds-access-gate__deck-card--1 {
  left: 18%;
  top: 0;
  transform: rotate(4deg);
  z-index: 3;
  width: 84%;
}

.feeds-access-gate__deck-card--2 {
  right: 0;
  bottom: 0;
  transform: rotate(-3deg);
  z-index: 2;
  width: 72%;
}

.feeds-access-gate__deck-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 18, 0.05) 0%, rgba(8, 10, 18, 0.55) 100%),
    rgba(8, 10, 18, 0.18);
  backdrop-filter: blur(1px);
}

.feeds-access-gate__deck-date {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  background: rgba(10, 14, 26, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}

.feeds-access-gate__deck-lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

@media (hover: hover) {
  .feeds-access-gate__btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px -12px rgba(146, 96, 8, 0.95);
    color: #4a3106 !important;
  }

  .feeds-access-gate__btn--ghost:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
  }
}

@media (min-width: 992px) {
  .feeds-access-gate__layout {
    padding: 2rem 2rem 1.875rem;
  }
}

@media (max-width: 991.98px) {
  .site-main--feeds-gate.h-v-75 {
    min-height: 0;
    height: auto;
  }

  .feeds-access-gate__layout {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.125rem 1rem 1rem;
  }

  .feeds-access-gate__visual {
    order: -1;
    min-height: 0;
    overflow: hidden;
  }

  .feeds-access-gate__deck {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    width: 100%;
    max-width: none;
    height: auto;
    padding-bottom: 0.125rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .feeds-access-gate__deck::-webkit-scrollbar {
    display: none;
  }

  .feeds-access-gate__deck-card {
    position: relative;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    flex: 0 0 min(74%, 14rem);
    width: auto !important;
    margin: 0;
    transform: none !important;
    scroll-snap-align: center;
    aspect-ratio: 16 / 10;
  }
}

/* 列表底部会员 CTA — 精简单行 */
.feeds-vip-cta {
  margin-top: 1rem;
}

.feeds-vip-cta__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(227, 171, 97, 0.28);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(227, 171, 97, 0.16), transparent 55%),
    linear-gradient(135deg, #2c3140 0%, #1e222c 100%);
  box-shadow: 0 8px 20px -16px rgba(15, 18, 28, 0.5);
}

.feeds-vip-cta__text {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
  overflow-wrap: normal;
  word-break: keep-all;
}

.feeds-vip-cta__days {
  font-weight: 700;
  color: #ffdc94;
}

.feeds-vip-cta__actions {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex: 0 0 auto;
}

.feeds-vip-cta__detail {
  margin: 0;
  padding: 0.35rem 0.5rem;
  border: 0;
  background: transparent;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(255, 220, 148, 0.92);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s ease;
}

.feeds-vip-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.4rem 0.875rem;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
  color: #4a3106 !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, #ffdc94, #e3ab61);
  box-shadow: 0 6px 14px -10px rgba(146, 96, 8, 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) {
  .feeds-vip-cta__detail:hover {
    color: #ffdc94;
  }

  .feeds-vip-cta__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px -10px rgba(146, 96, 8, 0.95);
    color: #4a3106 !important;
  }
}

/* 会员档位详情弹窗 — 对齐 /today 计划弹窗体验 */
.tb-ftm {
  --tb-ftm-ink: #15202b;
  --tb-ftm-muted: #667085;
  --tb-ftm-line: rgba(21, 32, 43, 0.1);
  --tb-ftm-surface: #ffffff;
  --tb-ftm-amber: #f59e0b;
  --tb-ftm-gold: #e3ab61;
  --tb-ftm-ease: cubic-bezier(0.22, 0.8, 0.28, 1);
  position: fixed;
  inset: 0;
  z-index: 19940;
  display: none;
  padding: max(20px, env(safe-area-inset-top)) 16px max(20px, env(safe-area-inset-bottom));
}

.tb-ftm.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nice-dark-mode .tb-ftm {
  --tb-ftm-ink: #f2f4f7;
  --tb-ftm-muted: #a8b0bd;
  --tb-ftm-line: rgba(255, 255, 255, 0.1);
  --tb-ftm-surface: #23272e;
}

.tb-ftm-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 42, 48, 0.52);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  opacity: 0;
  transition: opacity 0.28s var(--tb-ftm-ease);
}

.tb-ftm.is-open .tb-ftm-overlay {
  opacity: 1;
}

.tb-ftm-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 24.5rem;
  max-height: min(32rem, calc(100dvh - 2.5rem));
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--tb-ftm-surface);
  color: var(--tb-ftm-ink);
  border-radius: 16px;
  box-shadow: 0 24px 56px rgba(11, 42, 48, 0.22);
  overflow: hidden;
  opacity: 0;
  transform: translate3d(0, 10px, 0) scale(0.98);
  transition: opacity 0.3s var(--tb-ftm-ease), transform 0.3s var(--tb-ftm-ease);
}

.tb-ftm.is-open .tb-ftm-dialog {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.tb-ftm-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  flex: 0 0 auto;
  padding: 0.85rem 0.95rem 0.7rem;
  border-bottom: 1px solid var(--tb-ftm-line);
  background: linear-gradient(135deg, rgba(255, 220, 148, 0.16) 0%, transparent 58%);
}

.tb-ftm-head-copy {
  min-width: 0;
  padding-right: 0.25rem;
}

.tb-ftm-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.tb-ftm-sub {
  margin: 0.18rem 0 0;
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--tb-ftm-muted);
}

.tb-ftm-close {
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(21, 32, 43, 0.07);
  color: var(--tb-ftm-muted);
  cursor: pointer;
  line-height: 0;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.tb-ftm-close:hover {
  background: rgba(21, 32, 43, 0.12);
  color: var(--tb-ftm-ink);
}

.nice-dark-mode .tb-ftm-close {
  background: rgba(255, 255, 255, 0.08);
}

.nice-dark-mode .tb-ftm-close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.tb-ftm-close-icon {
  display: block;
  width: 0.875rem;
  height: 0.875rem;
  margin: 0 auto;
  position: relative;
}

.tb-ftm-close-icon::before,
.tb-ftm-close-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.875rem;
  height: 2px;
  margin: -1px 0 0 -0.4375rem;
  background: currentColor;
  border-radius: 1px;
}

.tb-ftm-close-icon::before {
  transform: rotate(45deg);
}

.tb-ftm-close-icon::after {
  transform: rotate(-45deg);
}

.tb-ftm-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.7rem 1rem 0.35rem;
  -webkit-overflow-scrolling: touch;
}

.tb-ftm-now {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "kicker days"
    "main days";
  gap: 0.05rem 0.75rem;
  align-items: center;
  margin: 0 0 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.22);
}

.tb-ftm-now-kicker {
  grid-area: kicker;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--tb-ftm-muted);
}

.tb-ftm-now-main {
  grid-area: main;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--tb-ftm-ink);
  line-height: 1.25;
}

.tb-ftm-now-days {
  grid-area: days;
  font-size: 1.05rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #92400e;
  white-space: nowrap;
}

.nice-dark-mode .tb-ftm-now-days {
  color: #fde68a;
}

.tb-ftm-sec-title {
  margin: 0 0 0.2rem 1.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--tb-ftm-muted);
}

.tb-ftm-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tb-ftm-item {
  position: relative;
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  column-gap: 0.7rem;
  align-items: center;
  padding: 0.5rem 0;
}

.tb-ftm-item::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--tb-ftm-line);
  transform: translateX(-50%);
}

.tb-ftm-item:first-child::before {
  top: 50%;
}

.tb-ftm-item:last-child::before {
  bottom: 50%;
}

.tb-ftm-dot {
  width: 8px;
  height: 8px;
  margin-left: 2px;
  border-radius: 50%;
  background: #c5ccd6;
  box-shadow: 0 0 0 3px var(--tb-ftm-surface);
  z-index: 1;
}

.tb-ftm-item.is-passed .tb-ftm-dot {
  background: #86efac;
}

.tb-ftm-item.is-current .tb-ftm-dot {
  background: var(--tb-ftm-amber);
  box-shadow: 0 0 0 3px var(--tb-ftm-surface), 0 0 0 6px rgba(245, 158, 11, 0.18);
}

.tb-ftm-item.is-next .tb-ftm-dot {
  background: transparent;
  box-shadow: 0 0 0 1.5px var(--tb-ftm-gold), 0 0 0 3px var(--tb-ftm-surface);
}

.tb-ftm-main {
  min-width: 0;
}

.tb-ftm-top {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.28rem 0.4rem;
}

.tb-ftm-tier {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--tb-ftm-ink);
}

.tb-ftm-name {
  font-size: 0.75rem;
  color: var(--tb-ftm-muted);
}

.tb-ftm-tag {
  padding: 0.08rem 0.38rem;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 700;
  color: #92400e;
  background: rgba(251, 191, 36, 0.2);
}

.tb-ftm-tag--next {
  color: #8a5a10;
  background: rgba(227, 171, 97, 0.22);
}

.nice-dark-mode .tb-ftm-tag {
  color: #fde68a;
}

.tb-ftm-hint {
  margin: 0.12rem 0 0;
  font-size: 0.65rem;
  line-height: 1.35;
  color: var(--tb-ftm-muted);
}

.tb-ftm-days {
  font-size: 0.9rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--tb-ftm-ink);
  white-space: nowrap;
}

.tb-ftm-item.is-passed {
  opacity: 0.72;
}

.tb-ftm-item.is-current .tb-ftm-days {
  color: #92400e;
}

.nice-dark-mode .tb-ftm-item.is-current .tb-ftm-days {
  color: #fde68a;
}

.tb-ftm-item.is-next .tb-ftm-days {
  color: #8a5a10;
}

.tb-ftm-foot {
  flex: 0 0 auto;
  display: grid;
  gap: 0.45rem;
  padding: 0.7rem 1rem max(0.85rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--tb-ftm-line);
  background: linear-gradient(180deg, transparent 0%, rgba(255, 220, 148, 0.08) 100%);
}

.tb-ftm-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #4a3106 !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, #ffdc94, #e3ab61);
  box-shadow: 0 8px 18px -12px rgba(146, 96, 8, 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tb-ftm-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px -12px rgba(146, 96, 8, 0.95);
  color: #4a3106 !important;
}

.tb-ftm-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #8a5a10 !important;
  text-decoration: none !important;
}

.tb-ftm-link::after {
  content: " →";
}

.nice-dark-mode .tb-ftm-link {
  color: #fbbf24 !important;
}

@media (max-width: 479.98px) {
  .tb-ftm {
    align-items: flex-end;
    padding: max(12px, env(safe-area-inset-top)) 0 0;
  }

  .tb-ftm-dialog {
    max-width: none;
    max-height: min(88dvh, 36rem);
    border-radius: 16px 16px 0 0;
    transform: translate3d(0, 18px, 0);
  }

  .tb-ftm.is-open .tb-ftm-dialog {
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tb-ftm-overlay,
  .tb-ftm-dialog,
  .tb-ftm-cta {
    transition: none;
  }
}

/* 兼容旧选择器（若缓存残留） */
.feeds-tier-modal-shell,
#feeds-tier-detail-template {
  display: none !important;
}

/* 预告卡片（仅移动端收紧） */
@media (max-width: 767.98px) {
  .site-main--feeds-gate .container--feeds-gate {
    padding-top: 0.75rem;
    padding-bottom: 1.25rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .feeds-access-gate {
    border-radius: 16px;
  }

  .feeds-access-gate__layout {
    padding: 1rem 0.875rem 1rem;
  }

  .feeds-access-gate__mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    filter: blur(12px) saturate(0.7);
    transform: rotate(-1deg) scale(1.03);
  }

  .feeds-access-gate__mosaic-cell--5,
  .feeds-access-gate__mosaic-cell--4 {
    display: none;
  }

  .feeds-access-gate__title {
    font-size: 1.375rem;
  }

  .feeds-access-gate__lead {
    font-size: 0.8125rem;
    line-height: 1.6;
  }

  .feeds-access-gate__perks li {
    align-items: flex-start;
    font-size: 0.75rem;
  }

  .feeds-access-gate__tiers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .feeds-access-gate__tier {
    min-height: 3rem;
    padding: 0.4rem 0.3rem;
  }

  .feeds-access-gate__tier-name {
    font-size: 0.6rem;
  }

  .feeds-access-gate__tier-days {
    font-size: 0.75rem;
  }

  .feeds-access-gate__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-top: 1.125rem;
  }

  .feeds-access-gate__btn {
    width: 100%;
    white-space: normal;
  }

  .feeds-vip-cta {
    margin-top: 0.75rem;
    padding-bottom: max(0.25rem, env(safe-area-inset-bottom));
  }

  .feeds-vip-cta__card {
    flex-direction: column;
    align-items: stretch;
    gap: 0.625rem;
    padding: 0.75rem 0.875rem;
  }

  .feeds-vip-cta__text {
    flex: none;
    width: 100%;
    font-size: 0.8125rem;
    line-height: 1.5;
    text-align: left;
  }

  .feeds-vip-cta__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    align-items: stretch;
    gap: 0.5rem;
    width: 100%;
  }

  .feeds-vip-cta__detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: stretch;
    padding: 0.5rem 0.625rem;
    min-height: 2.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 220, 148, 0.28);
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
    text-underline-offset: 0;
  }

  .feeds-vip-cta__detail:active {
    background: rgba(255, 255, 255, 0.08);
  }

  .feeds-vip-cta__actions:has(.feeds-vip-cta__btn:only-of-type) {
    grid-template-columns: 1fr;
  }

  .feeds-vip-cta__btn {
    width: 100%;
    max-width: none;
    min-height: 2.5rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  @media (max-width: 359.98px) {
    .feeds-vip-cta__text {
      font-size: 0.75rem;
    }

    .feeds-vip-cta__actions {
      grid-template-columns: 1fr;
    }
  }

  .feeds-list-grid {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
  }

  .feeds-list-grid .item-feeds.home-cover-card,
  .feeds-list-grid .item-feeds .home-cover-media,
  .feeds-list-grid .item-feeds .home-cover-link:focus-visible {
    border-radius: 12px;
  }

  .feeds-list-grid .item-feeds.home-cover-card {
    box-shadow: 0 6px 16px -14px rgba(15, 23, 42, 0.5);
  }

  .feeds-list-grid .item-feeds .home-cover-meta {
    padding: 0.75rem 0.5rem 0.5rem;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(0, 0, 0, 0.22) 24%,
      rgba(0, 0, 0, 0.48) 100%
    );
  }

  .feeds-list-grid .item-feeds .home-cover-title {
    margin-bottom: 0;
    font-size: 0.75rem;
    line-height: 1.35;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .feeds-list-grid .item-feeds .home-cover-res {
    top: 0.4rem;
    right: 0.4rem;
    min-height: 1.125rem;
    padding: 0.05rem 0.375rem;
    font-size: 0.625rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feeds-access-gate__btn,
  .feeds-vip-cta__btn {
    transition: none;
  }
}
