/* Membership skin: approved welcome word pattern, with the existing paywall geometry. */
html[data-visual-mode="minimal"] body.theme-liquid[data-route="membership"],
html[data-visual-mode="minimal"] body.theme-liquid[data-route="membership"] .app-shell,
html[data-visual-mode="minimal"] body.theme-liquid[data-route="membership"] #appView {
  background: #fff !important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall {
  position: relative;
  isolation: isolate;
  background: #fff;
}
/* Absolute decoration does not contribute to layout or intercept any controls. */
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  height: 380px;
  background-color: #ffce1d;
  background-image: url("assets/welcome/membership-word-pattern.svg");
  background-size: 480px 156px;
  background-position: center top;
  background-repeat: repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 280px, transparent 380px);
  mask-image: linear-gradient(to bottom, #000 0, #000 280px, transparent 380px);
  pointer-events: none;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-heading > p,
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .registration-trial-inline > span {
  color: var(--minimal-ink, #202324);
}
/* All plan states stay opaque white, without a decorative texture on the cards. */
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-plan,
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-plan.selected {
  background-color: #fff !important;
  background-image: none !important;
  opacity: 1 !important;
  filter: none !important;
}
/* Keep the original feedback on content so the white surface stays opaque. */
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-plan > * {
  transition: opacity .16s cubic-bezier(.22, 1, .36, 1), filter .16s cubic-bezier(.22, 1, .36, 1);
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-plan:not(:disabled):hover > * {
  filter: brightness(.97);
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-plan:not(:disabled):active > * {
  opacity: .72;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-plan:disabled > * {
  opacity: .45;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-purchase-bar {
  background: #fff;
}
