/**
 * VIP 会员页 · 暖炭灰（非纯黑）
 */
:root {
  --mb-bg: #1e1b16;
  --mb-panel: #2a261f;
  --mb-panel-soft: #332e26;
  --mb-border: #4a4338;
  --mb-text: #f5f5f5;
  --mb-muted: rgba(245, 245, 245, 0.55);
  --mb-accent: #f59e0b;
  --mb-accent-soft: rgba(245, 158, 11, 0.14);
  --mb-success: #22c55e;
  --mb-danger: #ef4444;
  --mb-nav-h: 56px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--mb-bg);
  font-size: 16px;
}

body.member-page {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--mb-text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC",
    "Segoe UI", system-ui, sans-serif;
  line-height: 1.5;
  background:
    radial-gradient(ellipse at 18% -8%, rgba(245, 158, 11, 0.14), transparent 44%),
    radial-gradient(ellipse at 88% 108%, rgba(160, 120, 70, 0.12), transparent 50%),
    var(--mb-bg);
}

body.member-page::before {
  display: none !important;
}

/* App 内打开时不要被石墨纯黑盖住 */
html.app-client body.member-page,
html.in-huytech-app body.member-page {
  background:
    radial-gradient(ellipse at 18% -8%, rgba(245, 158, 11, 0.14), transparent 44%),
    radial-gradient(ellipse at 88% 108%, rgba(160, 120, 70, 0.12), transparent 50%),
    var(--mb-bg) !important;
}

html.app-client body.member-page .app-futuristic-bg,
html.app-client body.member-page .app-futuristic-glow,
html.app-client body.member-page .video-background {
  display: none !important;
}

.nav-member {
  display: none !important;
}

/* —— 顶栏：与 Power Lab / 个人中心一致 —— */
body.member-page .navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--mb-nav-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 1.25rem 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, rgba(30, 27, 22, 0.92) 0%, rgba(30, 27, 22, 0.38) 70%, transparent 100%) !important;
  box-shadow: none !important;
  border: none !important;
}

body.member-page .navbar .logo-container {
  position: relative !important;
  left: auto !important;
  flex: 0 0 auto;
  margin: 0;
}

body.member-page .navbar .logo-link {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}

body.member-page .navbar .logo-text {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

body.member-page .navbar .logo-image {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px;
  object-fit: cover;
}

body.member-page .navbar .nav-menu {
  display: flex;
  list-style: none;
  margin: 0 0 0 12px;
  padding: 0;
  align-items: center;
  gap: 0;
  flex: 1 1 auto;
}

body.member-page .navbar .nav-item {
  margin-left: 1.25rem;
  white-space: nowrap;
}

body.member-page .navbar .nav-link {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.35rem 0;
  transition: color 0.2s;
}

body.member-page .navbar .nav-link:hover,
body.member-page .navbar .nav-link.active {
  color: var(--mb-accent);
}

body.member-page .navbar .nav-user-area {
  margin-left: auto;
}

body.member-page .nav-user-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

body.member-page .nav-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  color: var(--mb-accent);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.member-page .nav-user-name {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 600;
}

body.member-page .nav-user-actions {
  display: flex;
  gap: 0.65rem;
}

body.member-page .nav-user-action {
  color: var(--mb-muted);
  font-size: 0.75rem;
  text-decoration: none;
}

body.member-page .nav-user-action:hover {
  color: var(--mb-accent);
}

body.member-page .mobile-menu-toggle {
  display: none;
  margin-left: auto;
  z-index: 100101;
}

body.member-page .mobile-menu-toggle:not(.active) span {
  position: static !important;
  transform: none !important;
  opacity: 1 !important;
}

body.member-page .mobile-menu:not(.ht-drawer-shell) {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  right: max(1.25rem, env(safe-area-inset-right, 0px));
  min-width: 10.5rem;
  padding: 0.35rem 0;
  background: rgba(42, 38, 31, 0.97);
  border: 1px solid var(--mb-border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  z-index: 1002;
}

body.member-page .mobile-menu.ht-drawer-shell {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  right: max(0.75rem, env(safe-area-inset-right, 0px));
  width: auto;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  z-index: 1002;
}

body.member-page .mobile-menu.active {
  display: block;
}

body.member-page .mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.member-page .mobile-nav-link:not(.ht-drawer-item) {
  display: block;
  padding: 0.72rem 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
}

body.member-page .mobile-nav-link:not(.ht-drawer-item):hover,
body.member-page .mobile-nav-link:not(.ht-drawer-item).active {
  color: var(--mb-accent);
  background: var(--mb-accent-soft);
}

body.member-page .mobile-menu-toggle.active span {
  background: #ff3b30;
}

body.member-page .mobile-user-area {
  border-top: none;
  padding: 0;
}

body.member-page .mobile-user-avatar {
  width: 36px;
  height: 36px;
  margin: 0.4rem 1.15rem;
  border-radius: 50%;
  color: var(--mb-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

body.member-page .hidden {
  display: none !important;
}

@media (max-width: 1024px) {
  body.member-page .navbar .nav-menu {
    display: none !important;
  }
  body.member-page .mobile-menu-toggle {
    display: flex !important;
  }
}

html.app-client body.member-page .navbar .nav-menu,
html.in-huytech-app body.member-page .navbar .nav-menu {
  display: none !important;
}
html.app-client body.member-page .mobile-menu-toggle,
html.in-huytech-app body.member-page .mobile-menu-toggle {
  display: flex !important;
  margin-left: auto !important;
}

@media (min-width: 1025px) {
  html:not(.app-client):not(.in-huytech-app) body.member-page .navbar .nav-menu {
    display: flex !important;
  }
  html:not(.app-client):not(.in-huytech-app) body.member-page .mobile-menu-toggle {
    display: none !important;
  }
}

.member-container {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: calc(var(--mb-nav-h) + env(safe-area-inset-top, 0px) + 1.5rem) 1.25rem 2.5rem;
}

.member-box {
  width: 100%;
  max-width: 1120px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  color: var(--mb-text);
}

.member-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.member-header .member-eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mb-accent);
  font-weight: 600;
}

.member-header h1 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

/* —— 价卡（暗色主题 + 琥珀价签） —— */
.plans-partner-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto 1.25rem;
  align-items: stretch;
}

.plan-visual {
  grid-column: 1 / span 2;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  min-height: 430px;
  height: 100%;
  border: 1px solid rgba(245, 158, 11, 0.22);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55);
  background: #1a1714;
}

.plan-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto 1.5rem;
}

.plans-grid .plan-card {
  min-height: 400px;
  padding: 1.5rem 1.15rem 1.15rem;
  overflow: visible;
}

.plans-grid .plan-card h2 {
  font-size: 1.18rem;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

.plans-grid .etiquet-price {
  width: calc(100% + 1.5rem);
  margin-left: -0.75rem;
}

.plans-grid .etiquet-price p {
  font-size: 1.45rem;
}

.plan-card {
  position: relative;
  background: linear-gradient(170deg, rgba(58, 50, 40, 0.92) 0%, rgb(31, 28, 24) 100%);
  color: var(--mb-text);
  min-height: 430px;
  padding: 1.45rem 0.9rem 1.15rem;
  border-radius: 20px;
  border: 1px solid rgba(245, 158, 11, 0.22);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.plan-card:hover {
  transform: scale(0.96);
}

.plan-card.is-selected {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(245, 158, 11, 0.28);
}

.plan-card--featured {
  background: linear-gradient(170deg, rgba(72, 58, 36, 0.95) 0%, rgb(34, 30, 24) 100%);
  border-color: rgba(245, 158, 11, 0.38);
}

.plan-card--partner {
  background: linear-gradient(170deg, rgba(68, 56, 34, 0.92) 0%, rgb(32, 28, 22) 100%);
}

.plans-partner-row .plan-card--partner {
  min-height: 430px;
  padding: 1.5rem 1.15rem 1.15rem;
}

.plan-card--enterprise {
  background: linear-gradient(170deg, rgba(52, 50, 48, 0.92) 0%, rgb(28, 27, 26) 100%);
}

.plan-ribbon {
  position: absolute;
  overflow: hidden;
  width: 132px;
  height: 132px;
  top: -8px;
  left: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.plan-ribbon::before {
  position: absolute;
  width: 150%;
  height: 36px;
  transform: rotate(-45deg) translateY(-18px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.23);
}

.plan-ribbon::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  bottom: 0;
  left: 0;
  z-index: -1;
}

.plan-card--partner .plan-ribbon::before {
  content: "邀请";
  background-image: linear-gradient(45deg, #ca8a04 0%, #f59e0b 51%, #fbbf24 100%);
}

.plan-card--partner .plan-ribbon::after {
  box-shadow: 122px -122px #a16207;
  background-image: linear-gradient(45deg, #ca8a04, #f59e0b);
}

.plan-card--basic .plan-ribbon::before {
  content: "入门";
  background-image: linear-gradient(45deg, #78716c 0%, #a8a29e 51%, #d6d3d1 100%);
}

.plan-card--basic .plan-ribbon::after {
  box-shadow: 122px -122px #57534e;
  background-image: linear-gradient(45deg, #78716c, #a8a29e);
}

.plan-card--featured .plan-ribbon::before {
  content: "专业";
  background-image: linear-gradient(45deg, #ff6547 0%, #ffb144 51%, #ff7053 100%);
}

.plan-card--featured .plan-ribbon::after {
  box-shadow: 122px -122px #cc3f47;
  background-image: linear-gradient(45deg, #FF512F 0%, #F09819 51%, #FF512F 100%);
}

.plan-card--enterprise .plan-ribbon::before {
  content: "企业";
  background-image: linear-gradient(45deg, #44403c 0%, #78716c 51%, #a8a29e 100%);
}

.plan-card--enterprise .plan-ribbon::after {
  box-shadow: 122px -122px #292524;
  background-image: linear-gradient(45deg, #44403c, #78716c);
}

.plan-card h2 {
  margin: 0 0 0.85rem;
  padding-left: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  text-align: center;
}

.plan-card--partner h2 {
  text-align: center;
  padding-left: 0;
}

.plan-card h2 span {
  display: block;
  margin-top: 0.2rem;
  color: var(--mb-muted);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0;
}

.plan-card .etiquet-price p {
  justify-content: center;
}

.plan-card .benefits-list ul li {
  justify-content: center;
  text-align: center;
}

.etiquet-price {
  position: relative;
  background: #fdbd4a;
  width: calc(100% + 1.1rem);
  margin-left: -0.55rem;
  padding: 0.25rem 1rem;
  border-radius: 5px 0 0 5px;
  z-index: 1;
}

.etiquet-price p {
  margin: 0;
  padding-top: 0.25rem;
  padding-bottom: 0.15rem;
  display: flex;
  align-items: baseline;
  font-size: 1.75rem;
  font-weight: 600;
  color: #1a1a1a;
  font-variant-numeric: tabular-nums;
}

.etiquet-price p::before {
  content: "¥";
  margin-right: 0.25rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.etiquet-price p::after {
  content: "/ 年";
  margin-left: 0.35rem;
  font-size: 0.85rem;
  font-weight: 400;
  color: #5c4508;
}

.etiquet-price div {
  position: absolute;
  bottom: -22px;
  right: 0;
  width: 0;
  height: 0;
  border-top: 12px solid #c58102;
  border-bottom: 10px solid transparent;
  border-right: 12px solid transparent;
  z-index: -1;
}

.benefits-list {
  margin-top: 1.15rem;
  flex: 1 1 auto;
}

.benefits-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
}

.benefits-list ul li {
  color: rgba(245, 245, 245, 0.72);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.4;
}

.benefits-list ul li svg {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
  fill: rgba(245, 245, 245, 0.55);
}

.plan-card--featured .benefits-list ul li svg {
  fill: #fdbd4a;
}

.benefits-list ul li span {
  font-weight: 400;
}

.button-get-plan {
  display: flex;
  justify-content: center;
  margin-top: 1.15rem;
}

.btn-get-plan {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 5px;
  border: 1px solid var(--mb-border);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-get-plan:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.plan-card--featured .btn-get-plan {
  background: #fdbd4a;
  color: #1a1a1a;
  border-color: #fdbd4a;
}

.plan-card--featured .btn-get-plan:hover {
  background: #fbbf24;
  border-color: #fbbf24;
}

.plan-card--enterprise .btn-get-plan {
  background: transparent;
  border-color: rgba(245, 158, 11, 0.45);
  color: var(--mb-accent);
}

.plan-card--enterprise .btn-get-plan:hover {
  background: var(--mb-accent-soft);
}

/* 支付弹层 */
.member-pay-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.member-pay-modal[hidden] {
  display: none !important;
}

.member-pay-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 24, 18, 0.55);
  backdrop-filter: blur(2px);
  cursor: pointer;
}

.member-pay-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: min(92vh, 760px);
  overflow: auto;
  margin: 0 !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
}

.member-pay-modal-dialog--checkout {
  max-width: 520px;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
  padding: 0.2rem 0.4rem 0.5rem;
  max-height: none;
}

.member-flip {
  background-color: transparent;
  width: 100%;
  height: min(680px, 86vh);
  perspective: 1400px;
}

.member-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transform-style: preserve-3d;
}

.member-flip-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  padding: 1.15rem 2.6rem 0.85rem 1.15rem;
  box-sizing: border-box;
  overflow: visible;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 1rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  transition: transform 0.7s ease;
}

.member-flip-body {
  flex: 1;
  min-height: 0;
  width: 100%;
  overflow: auto;
}

.member-flip-front {
  background: linear-gradient(155deg, #3a3224 0%, #2a261f 55%, #221e18 100%);
  color: var(--mb-text);
  transform: rotateY(0deg);
  z-index: 2;
  pointer-events: auto;
}

.member-flip-back {
  background: linear-gradient(155deg, #4a3a22 0%, #322a20 62%, #2a241c 100%);
  color: var(--mb-text);
  transform: rotateY(180deg);
  text-align: left;
  z-index: 1;
  pointer-events: none;
}

.member-flip-inner.is-flipped .member-flip-front {
  transform: rotateY(-180deg);
  z-index: 1;
  pointer-events: none;
}

.member-flip-inner.is-flipped .member-flip-back {
  transform: rotateY(0deg);
  z-index: 2;
  pointer-events: auto;
}

.member-flip-face strong {
  display: block;
  color: #fff;
  font-size: 1.18rem;
  margin: 0 0 0.35rem;
}

.member-flip-front .member-pay-lead {
  margin: 0 0 0.7rem;
}

.member-flip-front .member-pay-actions {
  justify-content: center;
  margin: 0 0 0.5rem;
}

.member-flip-front .member-alipay-qr {
  margin: 0.2rem 0 0.5rem;
}

.member-flip-front .member-pay-card {
  width: 100%;
  margin: 0.35rem 0 0.55rem;
  text-align: left;
}

.member-flip-back .member-biz-blurb {
  width: 100%;
  text-align: left;
  margin-bottom: 1.05rem;
}

.member-flip-back .member-invoice {
  width: 100%;
}

.uiverse {
  position: relative;
  background: #ffffff;
  color: #000;
  padding: 0;
  margin: 0.55rem 0 0.15rem;
  border: none;
  border-radius: 8px;
  width: 108px;
  height: 34px;
  font-size: 13px;
  font-family: inherit;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-shrink: 0;
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.uiverse .tooltip {
  position: absolute;
  top: 0;
  font-size: 12px;
  font-weight: 600;
  background: #ffffff;
  color: #ffffff;
  padding: 4px 8px;
  border-radius: 5px;
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  white-space: nowrap;
}

.uiverse .tooltip::before {
  position: absolute;
  content: "";
  height: 7px;
  width: 7px;
  background: #ffffff;
  bottom: -3px;
  left: 50%;
  transform: translate(-50%) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.uiverse:hover .tooltip {
  top: -38px;
  opacity: 1;
  visibility: visible;
}

.uiverse:hover,
.uiverse:hover .tooltip,
.uiverse:hover .tooltip::before {
  background: linear-gradient(320deg, #b45309, var(--mb-accent));
  color: #ffffff;
}

.member-pay-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 4;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--mb-muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}

.member-pay-modal-dialog--checkout .member-pay-modal-close {
  top: 0.75rem;
  right: 0.75rem;
}

.member-pay-modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

body.member-pay-open {
  overflow: hidden;
}

.member-pay-note {
  background: var(--mb-panel);
  border: 1px solid var(--mb-border);
  border-radius: 12px;
  padding: 1.1rem 1.15rem;
  font-size: 0.9rem;
  color: var(--mb-muted);
  line-height: 1.6;
  margin: 1rem 0;
}

.member-pay-note strong {
  color: var(--mb-text);
  font-weight: 600;
}

.member-pay-lead {
  margin: 0.4rem 0 0.75rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--mb-muted);
}

.member-biz-blurb {
  margin: 0.15rem 0 0.85rem;
  padding: 0.75rem 0.85rem 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--mb-border);
  background: rgba(245, 158, 11, 0.06);
}

.member-biz-kicker {
  display: none;
}

.member-biz-lead {
  margin: 0 0 0.5rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(245, 245, 245, 0.82);
}

.member-biz-list {
  margin: 0;
  padding: 0 0 0 1.05rem;
  color: rgba(245, 245, 245, 0.78);
  font-size: 0.82rem;
  line-height: 1.5;
}

.member-biz-list li {
  margin: 0 0 0.28rem;
}

.member-biz-list li:last-child {
  margin-bottom: 0;
}

.member-invoice {
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(74, 67, 56, 0.9);
}

.member-invoice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.7rem;
}

.member-invoice-heading {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mb-accent);
}

.member-invoice-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.member-invoice-switch-label {
  font-size: 0.78rem;
  color: var(--mb-muted);
  font-weight: 600;
  user-select: none;
}

.member-invoice-switch-label.is-active {
  color: var(--mb-accent);
}

.checkbox-wrapper-41 {
  --size: 52px;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.checkbox-wrapper-41 input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  width: var(--size);
  height: calc(var(--size) / 2);
  background-color: #fff;
  border: 2px solid #1e1b16;
  border-radius: 30px 100px 100px 100px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
  outline: none;
  cursor: pointer;
  position: relative;
  transition: all 0.5s;
}

.checkbox-wrapper-41 input[type="checkbox"]::before {
  content: "";
  position: absolute;
  width: calc(var(--size) / 2);
  height: calc(var(--size) / 2);
  left: 0;
  top: 50%;
  transform: translateY(-50%) scale(0.7);
  border: 2px solid #1e1b16;
  border-radius: 30px 100px 100px 100px;
  background-color: #fde881;
  box-sizing: border-box;
  transition: all 0.5s;
}

.checkbox-wrapper-41 input[type="checkbox"]:checked {
  background-color: #fde881;
  border-radius: 100px 100px 30px 100px;
}

.checkbox-wrapper-41 input[type="checkbox"]:checked::before {
  left: 50%;
  background-color: #fff;
  border-radius: 100px 100px 30px 100px;
}

.member-invoice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 0.75rem;
}

.member-invoice-grid[hidden],
.member-invoice-grid.is-hidden {
  display: none !important;
}

.member-invoice-grid--personal {
  grid-template-columns: 1fr;
}

.member-invoice-field {
  display: block;
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--mb-muted);
}

.member-invoice-field--full {
  grid-column: 1 / -1;
}

.member-invoice-field input {
  display: block;
  width: 100%;
  margin-top: 0.28rem;
  padding: 0.48rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--mb-border);
  background: var(--mb-panel-soft);
  color: var(--mb-text);
  font-size: 0.86rem;
  font-family: inherit;
  box-sizing: border-box;
}

.member-invoice-field input:focus {
  outline: none;
  border-color: rgba(245, 158, 11, 0.55);
}

.member-invoice-hint {
  margin: 0.55rem 0 0;
  font-size: 0.75rem;
  color: var(--mb-muted);
  line-height: 1.45;
}

@media (max-width: 420px) {
  .member-invoice-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .member-invoice-grid {
    grid-template-columns: 1fr;
  }
}

.member-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin: 0.75rem 0 0.35rem;
}

.member-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--mb-accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.member-contact-link:hover {
  color: #fbbf24;
  text-decoration: underline;
}

.member-contact-hint {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--mb-muted);
  line-height: 1.5;
}

.member-pay-actions {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.member-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.35rem;
}

.brutalist-button {
  display: flex;
  align-items: center;
  cursor: pointer;
  width: auto;
  min-width: 198px;
  height: 64px;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  font-family: inherit;
  font-weight: 700;
  border: 3px solid #fff;
  outline: 3px solid #000;
  box-shadow: 6px 6px 0 #00a4ef;
  transition: all 0.1s ease-out;
  padding: 0 12px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.brutalist-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  z-index: 1;
  opacity: 0;
}

@keyframes member-brutalist-slide {
  0% { left: -100%; }
  100% { left: 100%; }
}

.brutalist-button:hover::before {
  opacity: 1;
  animation: member-brutalist-slide 2s infinite;
}

.brutalist-button:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0 #000;
  background-color: #000;
  color: #fff;
}

.brutalist-button:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 #00a4ef;
  background-color: #fff;
  color: #000;
  border-color: #000;
}

.ms-logo {
  width: 26px;
  height: 26px;
  margin-right: 8px;
  flex-shrink: 0;
  object-fit: cover;
  background: #f4f1ea;
  transition: transform 0.2s ease-out;
  position: relative;
  z-index: 1;
}

.brutalist-button:hover .ms-logo {
  transform: rotate(-10deg) scale(1.1);
}

.brutalist-button:active .ms-logo {
  transform: rotate(10deg) scale(0.9);
}

.ms-logo--wide {
  width: 52px;
  height: 26px;
  object-fit: contain;
}

.button-text {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.2s ease-out;
  position: relative;
  z-index: 1;
}

.brutalist-button:hover .button-text {
  transform: skew(-5deg);
}

.brutalist-button:active .button-text {
  transform: skew(5deg);
}

.btn-member {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-align: center;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
  box-sizing: border-box;
  border: 1px solid transparent;
  font-family: inherit;
  line-height: 1.2;
}

.btn-member:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

.btn-member-primary {
  background: var(--mb-accent);
  color: #111;
  border-color: var(--mb-accent);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.22);
}

.btn-member-primary:hover:not(:disabled) {
  background: #fbbf24;
  border-color: #fbbf24;
  transform: translateY(-1px);
}

.btn-member-outline {
  background: transparent;
  color: var(--mb-text);
  border: 1px solid var(--mb-border);
}

.btn-member-outline:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
}

.member-qrcodes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.1rem 0 0.25rem;
}

.member-qrcode-item {
  text-align: center;
  flex: 1;
  min-width: 160px;
}

.member-qrcode-item .label {
  font-weight: 600;
  color: var(--mb-text);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.member-qrcode-item .hint,
#alipayQrHint {
  font-size: 0.85rem;
  color: var(--mb-muted);
  margin-top: 0.5rem;
  line-height: 1.4;
}

.member-qrcode {
  max-width: 180px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--mb-border);
  background: #fff;
  padding: 6px;
}

.member-alipay-qr {
  margin-top: 1rem;
  text-align: center;
}

.member-alipay-qr-box {
  display: inline-block;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--mb-border);
  border-radius: 12px;
}

.member-alipay-qr-box img {
  display: block;
}

#orderStatus {
  margin-top: 0.75rem;
  min-height: 1.4em;
  font-size: 0.92rem;
  color: var(--mb-muted);
}

.member-pay-card {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  text-align: center;
}

.member-pay-card-title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.member-pay-card-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.member-pay-card-actions {
  margin-top: 0.85rem;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.member-pay-card--ok {
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(134, 239, 172, 0.45);
}
.member-pay-card--ok .member-pay-card-title { color: #86efac; }
.member-pay-card--ok .member-pay-card-text { color: #d1fae5; }

.member-pay-card--wait,
.member-pay-card--warn {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.4);
}
.member-pay-card--wait .member-pay-card-title,
.member-pay-card--warn .member-pay-card-title { color: #fbbf24; }
.member-pay-card--wait .member-pay-card-text,
.member-pay-card--warn .member-pay-card-text { color: #fde68a; }

.member-pay-card--err {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(252, 165, 165, 0.4);
}
.member-pay-card--err .member-pay-card-title { color: #fca5a5; }
.member-pay-card--err .member-pay-card-text { color: #fecaca; }

.member-pay-success {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(134, 239, 172, 0.45);
  text-align: center;
}

.member-pay-success-title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #86efac;
}

.member-pay-success-text {
  margin: 0;
  font-size: 0.9rem;
  color: #d1fae5;
}

.member-banner {
  display: none;
  background: var(--mb-accent-soft);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 12px;
  padding: 0.95rem 1.1rem;
  margin-bottom: 1.25rem;
  color: #fde68a;
  font-size: 0.92rem;
  line-height: 1.5;
}

.member-banner.show {
  display: block;
}

.member-banner strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--mb-accent);
}

@media (max-width: 900px) {
  .plans-partner-row,
  .plans-grid {
    max-width: 720px;
    gap: 0.95rem;
  }

  .plans-grid .plan-card {
    padding: 1.4rem 0.9rem 1.05rem;
  }
}

@media (max-width: 720px) {
  .plans-partner-row,
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }

  .plan-visual {
    grid-column: auto;
    min-height: 220px;
  }

  .plan-card:hover,
  .plan-card.is-selected,
  .plan-card--featured,
  .plan-card--partner {
    transform: none;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .member-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .member-header h1 {
    font-size: 1.45rem;
  }
}

@media (max-width: 480px) {
  .member-qrcodes {
    flex-direction: column;
    gap: 1.25rem;
  }

  .member-pay-actions .btn-member {
    width: 100%;
  }

  .etiquet-price {
    width: calc(100% + 0.9rem);
    margin-left: -0.45rem;
  }
}
