.vip-page {
  background: transparent;
}

.vip-shell {
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
}

.vip-heading.workspace-title {
  min-height: 0;
  margin-bottom: 28px;
  padding: 0 0 22px;
  align-items: flex-end;
  border-bottom: 1px solid var(--line);
}

.vip-heading.workspace-title h1 {
  margin: 0;
  font: 700 26px/1.35 var(--font-ui);
}

.vip-heading.workspace-title p {
  max-width: none;
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.vip-membership {
  min-width: 0;
  padding: 0;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 8px;
  border: 0;
  background: transparent;
}

.vip-membership strong,
.vip-membership small {
  display: block;
}

.vip-membership strong {
  margin: 0;
  color: var(--ink);
  font: 700 15px/1.4 var(--font-ui);
}

.vip-membership.is-active strong {
  color: var(--jade-dark);
}

.vip-membership small {
  color: var(--ink-soft);
  font-size: 11px;
}

.vip-payment-warning {
  margin: 0 0 22px;
}

.vip-plans-section,
.vip-orders-section {
  padding-top: 0;
}

.vip-section-head {
  min-height: 46px;
  margin-bottom: 12px;
  align-items: center;
}

.vip-section-head h2 {
  margin: 0;
  font: 700 21px/1.3 var(--font-ui);
}

.vip-section-head p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.vip-plan-grid {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 14px;
}

.vip-plan-card {
  min-width: 0;
  min-height: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
}

.vip-plan-card.is-featured {
  padding-top: 20px;
  border: 1px solid #9cc6be;
}

.vip-plan-top {
  min-height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.vip-plan-title {
  min-width: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.vip-plan-title h3 {
  margin: 0;
  color: var(--ink);
  font: 700 18px/1.35 var(--font-ui);
}

.vip-plan-title > span {
  color: var(--ink-soft);
  font-size: 11px;
}

.vip-plan-description {
  min-height: 0;
  margin: 7px 0 14px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

.vip-plan-card ul {
  min-height: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
  list-style: none;
}

.vip-plan-card li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #4f5b55;
  font-size: 11px;
  line-height: 1.45;
}

.vip-plan-card li .icon {
  width: 13px;
  height: 13px;
  margin-top: 1px;
  flex: none;
  color: var(--jade);
}

.vip-plan-purchase {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.vip-plan-price {
  min-height: 0;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--vermilion);
}

.vip-plan-price > span {
  font-size: 13px;
  font-weight: 700;
}

.vip-plan-price strong {
  font: 700 27px/1 var(--font-ui);
  font-variant-numeric: tabular-nums;
}

.vip-plan-price del {
  margin-left: 3px;
  color: #929a96;
  font-size: 10px;
}

.vip-plan-purchase .btn {
  width: auto;
  min-width: 112px;
  margin: 0;
  flex: none;
}

.vip-orders-section {
  margin-top: 40px;
}

.vip-orders-section .overflow-x-auto {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

.vip-order-table.member-table {
  width: 100%;
  min-width: 720px;
  table-layout: fixed;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: #fff;
}

.vip-order-table.member-table th,
.vip-order-table.member-table td {
  height: auto;
  padding: 10px 16px;
  color: var(--ink);
  background: transparent;
  font-size: 12px;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.vip-order-table.member-table th {
  font-weight: 700;
}

.vip-order-table.member-table :is(th, td):nth-child(1) { width: 36%; }
.vip-order-table.member-table :is(th, td):nth-child(2) { width: 18%; }
.vip-order-table.member-table :is(th, td):nth-child(3) { width: 12%; }
.vip-order-table.member-table :is(th, td):nth-child(4) { width: 12%; }
.vip-order-table.member-table :is(th, td):nth-child(5) { width: 22%; }

.vip-order-table.member-table td:first-child {
  white-space: normal;
  overflow-wrap: anywhere;
}

.vip-order-table.member-table td:first-child strong {
  font: 600 11px/1.5 Consolas, "SFMono-Regular", monospace;
}

.vip-order-table .vip-empty {
  padding: 36px 16px !important;
  color: var(--ink-soft);
  border: 0;
  text-align: center;
}

@media (max-width: 700px) {
  .vip-heading.workspace-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .vip-membership {
    justify-content: flex-start;
  }

  .vip-plan-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 430px) {
  .vip-section-head {
    align-items: flex-start;
    text-align: left;
  }

  .vip-section-head > div {
    width: 100%;
    text-align: left;
  }

  .vip-orders-section .vip-section-head {
    align-items: center;
    flex-direction: row;
  }

  .vip-orders-section .vip-section-head > div {
    min-width: 0;
  }

  .vip-orders-section .vip-section-head .btn {
    flex: none;
  }

  .vip-plan-card {
    padding: 17px;
  }

  .vip-plan-purchase {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .vip-plan-purchase .btn {
    width: 100%;
  }
}
