:root {
  --bg: #f3f7f7;
  --surface: #ffffff;
  --surface-soft: #f7faf9;
  --text: #17242b;
  --muted: #61727d;
  --line: #dce8e8;
  --brand: #04765f;
  --brand-dark: #073f37;
  --brand-soft: #e4f4ef;
  --accent: #d98216;
  --red: #b74432;
  --blue: #2868a9;
  --shadow: 0 8px 22px rgba(16, 45, 51, 0.06);
  --container: min(1320px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font: 15px/1.65 "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 3px 16px rgba(10, 43, 48, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 250px;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: var(--brand);
  border-radius: 8px;
  font-size: 20px;
  font-weight: 900;
}

.brand strong {
  display: block;
  font-size: 22px;
  line-height: 1.15;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--brand-dark);
  font-weight: 800;
}

.main-nav button {
  min-height: 40px;
  padding: 0 18px;
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: 6px;
  font-weight: 900;
}

.page-shell {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr) 300px;
  gap: 22px;
  padding: 24px 0 56px;
}

.sidebar,
.content {
  display: grid;
  gap: 18px;
  align-content: start;
}

.panel,
.search-hero {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.sidebar .panel {
  position: sticky;
  top: 98px;
}

.panel {
  padding: 18px;
}

.panel-title {
  margin-bottom: 14px;
}

.panel-title span,
.section-head span,
.hero-copy span,
.modal-head span,
.member-card > span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.panel-title strong,
.section-head h2,
.member-card strong {
  display: block;
  margin-top: 2px;
  font-size: 22px;
  line-height: 1.25;
}

.category-reset,
.tree-button,
.tree-child,
.tree-grandchild {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: var(--text);
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.category-reset {
  margin-bottom: 10px;
  font-weight: 900;
}

.category-reset.active,
.tree-button.active,
.tree-child.active,
.tree-grandchild.active {
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-color: rgba(4, 118, 95, 0.38);
}

.catalog-tree {
  display: grid;
  gap: 10px;
}

.tree-group,
.tree-child-row {
  display: grid;
  gap: 8px;
}

.tree-button,
.tree-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 900;
}

.tree-button b,
.tree-child b {
  color: var(--brand);
  font-size: 13px;
  white-space: nowrap;
}

.tree-children,
.tree-grandchildren {
  display: none;
  gap: 8px;
}

.tree-children {
  padding-left: 12px;
}

.tree-grandchildren {
  padding-left: 16px;
}

.tree-group.expanded .tree-children,
.tree-child-row.expanded .tree-grandchildren {
  display: grid;
}

.tree-child {
  background: var(--surface-soft);
}

.tree-grandchild {
  min-height: 38px;
  color: var(--muted);
}

.member-card {
  padding: 18px;
}

.member-card p {
  margin: 10px 0 16px;
  color: var(--muted);
}

.btn {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  font-weight: 900;
  white-space: nowrap;
}

.btn-primary {
  color: #fff;
  background: var(--brand);
}

.btn-light {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.btn-block {
  width: 100%;
}

.search-hero {
  padding: 26px;
}

.hero-copy {
  max-width: 920px;
}

.hero-copy h1 {
  margin: 8px 0;
  max-width: 900px;
  font-size: 32px;
  line-height: 1.22;
}

.hero-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.hero-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  height: 52px;
  margin-top: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.hero-search input {
  min-width: 0;
  padding: 0 18px;
  border: 0;
  outline: none;
  font-size: 16px;
}

.hero-search button {
  color: #fff;
  background: var(--accent);
  border: 0;
  font-weight: 900;
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.quick-search {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.quick-search > span {
  padding-top: 6px;
  color: var(--muted);
  font-weight: 900;
  white-space: nowrap;
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.keyword-list button {
  min-height: 34px;
  padding: 0 12px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border: 1px solid rgba(4, 118, 95, 0.22);
  border-radius: 999px;
  font-weight: 800;
}

.intro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.intro-stats div {
  min-width: 0;
  padding: 13px 8px;
  text-align: center;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.intro-stats strong {
  display: block;
  color: var(--brand-dark);
  font-size: 22px;
  line-height: 1.15;
}

.intro-stats span {
  color: var(--muted);
  font-size: 13px;
}

.section-head,
.modal-head,
.modal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.section-head {
  align-items: flex-end;
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 2px 0 0;
}

.type-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
}

.type-tabs button {
  min-height: 34px;
  padding: 0 12px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 900;
}

.type-tabs button.active {
  color: #fff;
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.doc-list {
  display: grid;
  gap: 12px;
}

.doc-row {
  display: grid;
  grid-template-columns: 76px minmax(220px, 1fr) 96px 72px 108px 128px;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.doc-row:hover {
  border-color: rgba(4, 118, 95, 0.35);
  box-shadow: 0 12px 30px rgba(15, 45, 55, 0.09);
  transform: translateY(-1px);
}

.doc-table-head {
  display: grid;
  grid-template-columns: minmax(296px, 1fr) 96px 72px 108px 128px;
  gap: 16px;
  align-items: center;
  padding: 12px 14px;
  color: var(--muted);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
  font-size: 14px;
  font-weight: 900;
}

.doc-category,
.doc-format,
.doc-date {
  min-width: 0;
  color: var(--muted);
  font-weight: 800;
}

.doc-category {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.doc-type,
.doc-cover {
  display: grid;
  place-items: center;
  height: 70px;
  color: #fff;
  background: var(--brand-dark);
  border-radius: 6px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 900;
}

.doc-cover {
  position: relative;
  background: var(--surface-soft);
}

.doc-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doc-cover span {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 2px 6px;
  color: #fff;
  background: rgba(7, 63, 55, 0.88);
  border-radius: 4px;
  font-size: 12px;
}

.doc-type.type-pdf {
  background: var(--red);
}

.doc-type.type-word {
  background: var(--blue);
}

.doc-type.type-ppt {
  background: #b85b1d;
}

.doc-main {
  min-width: 0;
}

.doc-main h3 {
  margin: 0 0 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 18px;
}

.doc-main p {
  display: -webkit-box;
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.doc-actions {
  display: grid;
  gap: 8px;
  justify-items: stretch;
}

.empty {
  padding: 34px 18px;
  color: var(--muted);
  text-align: center;
  background: var(--surface-soft);
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.muted {
  color: var(--muted);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
}

.modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(7, 31, 36, 0.64);
}

.modal-card {
  position: relative;
  width: min(1080px, calc(100% - 28px));
  max-height: calc(100vh - 44px);
  overflow: auto;
  padding: 22px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.2);
}

.member-modal {
  width: min(880px, calc(100% - 28px));
}

.modal-head {
  margin-bottom: 16px;
}

.modal-head h2 {
  margin: 2px 0 0;
  font-size: 26px;
  line-height: 1.25;
}

.close-btn {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  color: var(--muted);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 26px;
  line-height: 1;
}

.modal-toolbar {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.preview-pages {
  display: grid;
  gap: 14px;
}

.preview-frame {
  margin: 0;
  padding: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.preview-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.preview-frame figcaption {
  margin-top: 8px;
  color: var(--muted);
}

.document-frame {
  width: 100%;
  min-height: min(76vh, 820px);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.preview-empty {
  padding: 36px;
  text-align: center;
  background: var(--surface-soft);
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.preview-empty h3 {
  margin: 0 0 8px;
}

.preview-empty p {
  margin: 0 auto 18px;
  max-width: 640px;
  color: var(--muted);
}

.member-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
}

.login-panel {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  padding: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.login-panel strong {
  font-size: 18px;
}

.login-panel.logged-in {
  background: var(--brand-soft);
  border-color: rgba(4, 118, 95, 0.35);
}

.plan-list {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.plan-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.plan-card.selected {
  background: var(--brand-soft);
  border-color: rgba(4, 118, 95, 0.42);
  box-shadow: inset 0 0 0 1px rgba(4, 118, 95, 0.18);
}

.plan-card strong,
.plan-card span {
  display: block;
}

.plan-card span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.plan-card b {
  color: var(--accent);
  font-size: 24px;
  white-space: nowrap;
}

.pay-panel {
  display: grid;
  gap: 12px;
  align-content: start;
}

.qr-box {
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 18px;
  color: var(--muted);
  text-align: center;
  background: var(--surface-soft);
  border: 1px dashed rgba(4, 118, 95, 0.3);
  border-radius: 8px;
}

.qr-box img {
  width: min(245px, 100%);
  height: auto;
}

.pay-status {
  padding: 12px;
  color: var(--muted);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pay-status.success {
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-color: rgba(4, 118, 95, 0.35);
}

.pay-hint {
  margin: 12px 0 0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 200;
  transform: translateX(-50%);
  max-width: min(520px, calc(100% - 32px));
  padding: 12px 18px;
  color: #fff;
  background: var(--brand-dark);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.22);
}

.cashier-body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #ffffff 0, #f4f8f7 260px, var(--bg) 100%),
    var(--bg);
}

.cashier-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 32px 0;
}

.cashier-card {
  width: min(960px, calc(100% - 32px));
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(7, 63, 55, 0.12);
}

.cashier-head {
  display: grid;
  gap: 10px;
  padding: 26px;
  color: #fff;
  background: var(--brand-dark);
}

.cashier-head .brand {
  min-width: 0;
}

.cashier-head .brand small,
.cashier-head p {
  color: #d5e7e3;
}

.cashier-head h1 {
  margin: 10px 0 0;
  font-size: 32px;
  line-height: 1.2;
}

.cashier-head p {
  margin: 0;
  font-size: 16px;
}

.cashier-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  padding: 24px;
}

.cashier-main,
.pay-panel,
.plan-card > div {
  min-width: 0;
}

.plan-card strong {
  overflow-wrap: anywhere;
}

.cashier-note {
  padding: 14px;
  color: var(--muted);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cashier-section-title {
  margin: 0 0 12px;
}

.cashier-section-title span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.cashier-section-title strong {
  display: block;
  margin-top: 2px;
  font-size: 22px;
  line-height: 1.25;
}

@media (max-width: 980px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .brand {
    min-width: 0;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .page-shell {
    grid-template-columns: 1fr;
  }

  .sidebar .panel {
    position: static;
  }

  .hero-bottom,
  .member-grid,
  .cashier-content {
    grid-template-columns: 1fr;
  }

  .doc-row {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .doc-actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(calc(100% - 24px), 1320px);
  }

  body {
    font-size: 14px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 19px;
  }

  .brand small {
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .search-hero,
  .panel {
    padding: 16px;
  }

  .hero-copy h1 {
    font-size: 24px;
  }

  .hero-copy p {
    font-size: 14px;
  }

  .hero-search {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
    border: 0;
    gap: 10px;
    background: transparent;
  }

  .hero-search input,
  .hero-search button {
    height: 46px;
    border-radius: 6px;
  }

  .hero-search input {
    border: 1px solid var(--line);
  }

  .quick-search {
    display: grid;
    gap: 8px;
  }

  .intro-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .intro-stats strong {
    font-size: 18px;
  }

  .section-head {
    display: grid;
    align-items: start;
  }

  .type-tabs {
    overflow-x: auto;
  }

  .doc-table-head {
    display: none;
  }

  .doc-row {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
  }

  .doc-type,
  .doc-cover {
    height: 58px;
  }

  .doc-main h3 {
    white-space: normal;
    font-size: 16px;
    line-height: 1.35;
  }

  .doc-meta {
    gap: 8px;
    font-size: 12px;
  }

  .doc-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .doc-category,
  .doc-format,
  .doc-date {
    display: none;
  }

  .modal-card {
    width: calc(100% - 16px);
    max-height: calc(100vh - 16px);
    padding: 16px;
  }

  .modal-head,
  .modal-toolbar {
    align-items: flex-start;
  }

  .modal-toolbar,
  .modal-actions {
    display: grid;
  }

  .modal-actions {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .modal-actions .btn {
    min-width: 0;
  }

  .qr-box {
    min-height: 240px;
  }

  .cashier-head,
  .cashier-content {
    padding: 18px;
  }

  .cashier-card {
    width: calc(100% - 20px);
    max-width: 100%;
  }

  .cashier-head h1 {
    font-size: 25px;
  }

  .cashier-head p {
    font-size: 14px;
  }

  .plan-card {
    gap: 8px;
    padding: 12px;
  }

  .plan-card b {
    flex: 0 0 auto;
    font-size: 20px;
  }

  .cashier-page {
    align-items: start;
    padding: 10px 0 22px;
  }
}

/* 2026-06-10 impeccable pass: membership/payment page refinement */
.cashier-body {
  background: #f4f7f8;
}

.cashier-page {
  place-items: start center;
  padding: 28px 0 44px;
}

.cashier-card {
  width: min(1120px, calc(100% - 48px));
  border-radius: 6px;
  border-color: #d7e3e5;
  box-shadow: none;
}

.cashier-head {
  min-height: 238px;
  align-content: center;
  padding: 32px 36px;
  background: #0f3a45;
}

.cashier-head::after {
  display: none;
}

.cashier-head h1 {
  max-width: 680px;
  margin-top: 18px;
  font-size: 38px;
  line-height: 1.22;
  text-wrap: balance;
}

.cashier-head p {
  max-width: 720px;
  color: #d8e7e8;
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.proof-pill {
  padding: 5px 10px;
  color: #e6f3f1;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 800;
}

.cashier-content {
  grid-template-columns: minmax(0, 1fr) 342px;
  gap: 26px;
  padding: 26px;
}

.panel-lite,
.login-panel,
.pay-panel,
.cashier-note,
.pay-status,
.qr-box,
.plan-card {
  border-radius: 5px;
}

.panel-lite,
.login-panel {
  padding: 18px;
  background: #f8fbfb;
  border: 1px solid #dce8e8;
}

.cashier-benefits {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
  margin-bottom: 16px;
  border-left: 1px solid #dce8e8;
}

.benefit-list {
  display: grid;
  gap: 10px;
}

.benefit-pill {
  padding: 11px 12px;
  color: #173941;
  background: #fff;
  border: 1px solid #e1ebeb;
  border-radius: 4px;
  font-weight: 800;
}

.login-panel {
  margin-bottom: 18px;
  background: #fff;
}

.login-panel.logged-in {
  background: #edf7f4;
}

.login-panel .btn {
  color: #0f3a45;
  background: #e5f3ef;
  border: 1px solid #b9d9d2;
}

.plan-list {
  gap: 12px;
}

.plan-card {
  padding: 16px;
  background: #fff;
}

.plan-card.selected {
  background: #f1fbf8;
  border-color: #08745f;
  box-shadow: none;
}

.plan-card b {
  color: #c96f14;
  font-size: 28px;
}

#createPayBtn {
  min-height: 46px;
  background: #0f3a45;
}

#createPayBtn:not(:disabled):hover {
  background: #08745f;
}

#createPayBtn:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.pay-panel {
  padding: 18px;
  background: #f8fbfb;
  border: 1px solid #dce8e8;
}

.qr-box {
  min-height: 278px;
  background: #fff;
  border-color: #9fcfc6;
}

.pay-steps-panel {
  padding: 14px;
  background: #fff;
}

.step-list {
  margin: 0;
  padding-left: 20px;
  color: #526b75;
}

.step-list li + li {
  margin-top: 8px;
}

.cashier-note {
  background: #fff8ee;
  border-color: #efd2ad;
  color: #7b4d0e;
}

@media (max-width: 900px) {
  .cashier-card {
    width: min(100% - 28px, 1120px);
  }

  .cashier-content,
  .cashier-benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cashier-page {
    padding: 10px 0 24px;
  }

  .cashier-card {
    width: calc(100% - 20px);
  }

  .cashier-head {
    min-height: 0;
    padding: 22px 18px;
  }

  .cashier-head h1 {
    font-size: 27px;
  }

  .cashier-content {
    gap: 18px;
    padding: 16px;
  }

  .cashier-benefits,
  .panel-lite,
  .login-panel,
  .pay-panel {
    padding: 14px;
  }

  .plan-card {
    align-items: flex-start;
  }

  .plan-card b {
    font-size: 23px;
  }
}

/* 2026-06-17 exact carry-over base styles from old payment page */
.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: white;
  padding: 40px 20px;
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}

.login-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.login-logo-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.login-logo,
.login-logo-fallback {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.login-logo {
  object-fit: cover;
}

.login-logo-fallback {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  font-size: 28px;
  font-weight: 800;
}

.login-container h1 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.login-subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
}

.wechat-login-btn {
  width: 100%;
  height: 50px;
  background: #07c160;
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background-color 0.3s;
}

.wechat-login-btn:hover {
  background: #05b058;
}

.wechat-icon {
  margin-right: 10px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.wechat-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.cancel-btn {
  background: none;
  border: none;
  color: #666;
  font-size: 16px;
  margin-bottom: 30px;
  cursor: pointer;
}

.agreement {
  font-size: 12px;
  color: #999;
  text-align: center;
}

.agreement a {
  color: #1890ff;
  text-decoration: none;
}

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f5f5f5;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
  max-width: 430px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.content-container {
  flex: 1;
  background-color: white;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.divider {
  height: 1px;
  background-color: #f0f0f0;
  margin: 20px 0;
  width: 100%;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f3f4f6;
}

.header-left h1 {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.operate-time {
  font-size: 12px;
  color: #6b7280;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  font-weight: 600;
}

.header-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
  object-fit: cover;
}

.header-avatar.fallback {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  font-size: 24px;
  font-weight: 900;
}

.intro-section {
  margin-bottom: 30px;
}

.intro-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 15px;
}

.complain-btn {
  font-size: 12px;
  color: #999;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.plan-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  padding: 8px;
  background: #f5f7fa;
  border-radius: 16px;
}

.plan-tab {
  flex: 1;
  padding: 14px 12px;
  background: transparent;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-tab:hover {
  color: #4f46e5;
}

.plan-tab.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  transform: translateY(-2px);
}

.intro-content p {
  font-size: 16px;
  color: #333;
  margin-bottom: 7.5px;
  line-height: 1.5;
}

.intro-content .highlight {
  font-weight: 700;
  font-size: 17px;
  display: block;
  padding: 14px 16px;
  text-align: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
  border: 1px solid rgba(102, 126, 234, 0.15);
  color: #667eea;
  margin-bottom: 16px;
}

.expand-btn {
  font-size: 16px;
  color: #1890ff;
  background: none;
  border: none;
  cursor: pointer;
  margin: 15px 0;
  padding: 0;
  text-align: left;
}

.expanded-content {
  margin: 15px 0;
  padding: 0;
  background: white;
  border-radius: 10px;
  text-align: left;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.intro-content-container {
  margin: 15px 0;
}

.intro-content-preview {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  max-height: 7.5em;
  text-align: left;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.rich-benefits {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.members-section {
  margin-bottom: 30px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.member-list {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.member-item {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 10px 15px;
  background: white;
  border-radius: 8px;
  box-shadow: none;
  border: 1px solid #f0f0f0;
}

.member-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  margin-bottom: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  font-size: 16px;
  font-weight: 800;
}

.member-avatar.partner {
  background: linear-gradient(135deg, #f59e0b 0%, #fb7185 100%);
}

.member-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.member-name {
  font-size: 14px;
  color: #333;
  margin-bottom: 3px;
}

.member-role {
  font-size: 10px;
  color: #ff8c00;
  background: white;
  border: 1px solid #ff8c00;
  padding: 1px 6px;
  border-radius: 8px;
  align-self: flex-start;
}

.member-role.partner {
  color: #ff8c00;
  border: 1px solid #ff8c00;
  background: white;
}

.stats-section {
  display: flex;
  margin-bottom: 28px;
  padding: 24px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 1;
  text-align: center;
  min-width: 0;
  height: auto;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.stat-value {
  font-size: 22px;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
  text-align: center;
  width: 100%;
}

.stat-item:first-child .stat-value {
  color: #fef08a;
}

.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  width: 100%;
  font-weight: 500;
}

.highlights-section {
  margin-bottom: 30px;
}

.highlights-section h2 {
  font-size: 18px;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f3f4f6;
  display: flex;
  align-items: center;
  gap: 8px;
}

.highlights-section h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

.highlight-item {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  padding: 5px 0;
  gap: 7.5px;
}

.highlight-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  flex: 1;
  line-height: 1.4;
}

.benefits-image {
  margin: 15px 0;
  text-align: center;
}

.benefits-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}

.bottom-placeholder {
  height: 120px;
}

.join-area {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  padding: 12px 20px 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}

.validity-left {
  position: absolute;
  left: 20px;
  top: 5px;
  font-size: 12px;
  color: #999;
  background: white;
  padding: 0 5px;
  z-index: 1;
  pointer-events: none;
}

.validity-right {
  position: absolute;
  right: 20px;
  top: 5px;
  font-size: 12px;
  color: #999;
  background: white;
  padding: 0 5px;
  z-index: 1;
  pointer-events: none;
}

.payment-notice {
  margin-top: 4px;
  margin-bottom: 6px;
  text-align: center;
  font-size: 12px;
  color: #666;
}

.join-section {
  margin-top: 15px;
  position: relative;
  z-index: 2;
}

.join-btn {
  width: 100%;
  height: 52px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 26px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.join-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.join-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.qrcode-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: white;
  padding: 40px 20px;
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}

.qrcode-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.qrcode-container h2 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  text-align: center;
}

.qrcode-container p {
  font-size: 14px;
  color: #666;
  text-align: center;
  margin-bottom: 30px;
}

.qrcode {
  width: 200px;
  height: 200px;
  margin-bottom: 20px;
}

.wechat-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.wechat-info span {
  font-size: 16px;
  color: #333;
}

.back-btn {
  width: 100%;
  height: 45px;
  background: #f0f0f0;
  color: #333;
  border: none;
  border-radius: 22px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.back-btn:hover {
  background: #e0e0e0;
}

.join-notice {
  margin-bottom: 10px;
  padding: 10px;
  background: transparent;
  border-radius: 0;
  border: none;
  text-align: center;
}

.join-notice h3 {
  font-size: 12px;
  font-weight: 500;
  color: #999;
  margin-bottom: 5px;
}

.join-notice p {
  font-size: 11px;
  color: #aaa;
  line-height: 1.3;
  margin: 0;
}

.icp-footer {
  text-align: center;
  padding: 8px 0 4px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.icp-label,
.icp-link {
  font-size: 11px;
  color: #bbb;
}

.icp-link {
  text-decoration: none;
  max-width: 290px;
  line-height: 1.5;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.complain-modal {
  background: white;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-body {
  padding: 20px;
  text-align: center;
}

.modal-body p {
  margin-bottom: 20px;
  font-size: 16px;
  color: #666;
}

.complain-qrcode {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  display: block;
}

.modal-footer {
  padding: 15px 20px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: center;
}

.modal-footer .close-btn {
  padding: 8px 20px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: white;
  color: #333;
  font-size: 14px;
  width: auto;
  height: auto;
}

@media (max-width: 430px) {
  .app {
    padding: 16px;
    max-width: 100%;
  }

  .content-container {
    padding: 20px;
  }

  .header {
    margin-bottom: 24px;
    padding-bottom: 16px;
  }

  .header-left h1 {
    font-size: 20px;
  }

  .header-avatar {
    width: 56px;
    height: 56px;
  }

  .intro-section,
  .members-section,
  .stats-section,
  .highlights-section {
    margin-bottom: 24px;
  }

  .plan-tab {
    font-size: 14px;
    padding: 12px 10px;
  }

  .stat-value {
    font-size: 20px;
  }

  .stats-section {
    padding: 20px 16px;
  }
}

/* 2026-06-16 membership conversion page rebuild */
.cashier-body {
  min-height: 100vh;
  color: #17313b;
  background:
    radial-gradient(circle at top left, rgba(19, 112, 95, 0.18), transparent 26%),
    linear-gradient(180deg, #eaf3f1 0, #f6f9f8 280px, #eef3f4 100%);
}

.cashier-shell {
  padding-bottom: 110px;
}

.cashier-hero {
  padding: 24px 0 18px;
}

.cashier-hero-inner,
.cashier-main-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.cashier-hero-inner {
  padding: 28px 30px 30px;
  color: #f8fffd;
  background:
    linear-gradient(135deg, #113941 0%, #0c6b5b 58%, #1f6a8a 100%);
  border: 1px solid rgba(10, 64, 69, 0.16);
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(10, 48, 55, 0.14);
}

.cashier-topbar,
.cashier-brandline,
.cashier-hero-copy,
.cashier-hero-stats {
  position: relative;
  z-index: 1;
}

.cashier-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cashier-backlink,
.cashier-scene-tag {
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.cashier-backlink {
  color: #f1fffb;
  background: rgba(255, 255, 255, 0.12);
}

.cashier-scene-tag {
  color: #0d584b;
  background: #dff7f0;
}

.cashier-brandline {
  margin-top: 16px;
}

.cashier-hero .brand {
  min-width: 0;
}

.cashier-hero .brand strong,
.cashier-hero .brand small {
  color: inherit;
}

.cashier-hero .brand-mark {
  overflow: hidden;
  border-radius: 10px;
}

.cashier-hero .brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cashier-hero-copy {
  max-width: 760px;
  margin-top: 24px;
}

.cashier-kicker {
  margin: 0 0 10px;
  color: #d8f4eb;
  font-size: 14px;
  font-weight: 800;
}

.cashier-hero-copy h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.cashier-hero-copy > p:last-of-type {
  margin: 14px 0 0;
  max-width: 680px;
  color: rgba(245, 255, 252, 0.9);
  font-size: 16px;
  line-height: 1.75;
}

.cashier-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cashier-proof-pill {
  padding: 7px 12px;
  color: #ecfffa;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.cashier-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.cashier-hero-stats article {
  padding: 16px 18px;
  background: rgba(7, 33, 38, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.cashier-hero-stats strong,
.cashier-hero-stats span {
  display: block;
}

.cashier-hero-stats strong {
  font-size: 18px;
}

.cashier-hero-stats span {
  margin-top: 6px;
  color: rgba(233, 248, 244, 0.84);
  font-size: 13px;
}

.cashier-main-section {
  padding: 6px 0 0;
}

.cashier-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}

.cashier-main-column,
.cashier-side-column {
  display: grid;
  gap: 18px;
}

.cashier-story,
.cashier-focus-card,
.cashier-notice-card,
.cashier-panel {
  padding: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #d8e6e5;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(10, 45, 51, 0.05);
}

.cashier-section-heading span,
.cashier-panel-head span {
  display: block;
  color: #5f737b;
  font-size: 12px;
  font-weight: 800;
}

.cashier-section-heading h2,
.cashier-panel-head strong {
  margin: 4px 0 0;
  font-size: 26px;
  line-height: 1.2;
}

.cashier-panel-head strong {
  font-size: 20px;
}

.cashier-story-text {
  max-width: 64ch;
  margin: 14px 0 0;
  color: #556973;
}

.cashier-benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.cashier-benefit-card {
  padding: 16px;
  background: #f8fbfb;
  border: 1px solid #e0eceb;
  border-radius: 8px;
}

.cashier-benefit-card strong {
  display: block;
  font-size: 17px;
  line-height: 1.35;
}

.cashier-benefit-card p {
  margin: 8px 0 0;
  color: #62757e;
  font-size: 13px;
  line-height: 1.7;
}

.cashier-plan-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.cashier-plan-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 14px;
  align-items: center;
  padding: 18px;
  background: #fbfdfd;
  border: 1px solid #dce8e8;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.cashier-plan-card:hover {
  transform: translateY(-1px);
  border-color: rgba(13, 107, 91, 0.38);
  box-shadow: 0 12px 24px rgba(11, 46, 53, 0.08);
}

.cashier-plan-card.selected {
  background: #effaf6;
  border-color: #0d6b5b;
  box-shadow: 0 0 0 1px rgba(13, 107, 91, 0.12);
}

.cashier-plan-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cashier-plan-top strong {
  font-size: 22px;
  line-height: 1.2;
}

.cashier-plan-main p,
.cashier-plan-side span,
.cashier-selected-plan span,
.cashier-side-note p,
.cashier-note-inline,
.pay-hint {
  color: #62757e;
}

.cashier-plan-main p {
  margin: 7px 0 0;
}

.cashier-plan-badge {
  padding: 3px 8px;
  color: #0d5e51;
  background: #dff7f0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.cashier-plan-side {
  text-align: right;
}

.cashier-plan-side b {
  display: block;
  color: #c46b12;
  font-size: 30px;
  line-height: 1.05;
}

.cashier-plan-side span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 800;
}

.cashier-step-list {
  margin: 18px 0 0;
  padding-left: 20px;
  color: #324850;
}

.cashier-step-list li + li {
  margin-top: 8px;
}

.cashier-note-inline {
  margin: 14px 0 0;
  font-size: 13px;
}

.cashier-order-panel {
  display: grid;
  gap: 14px;
}

.cashier-selected-plan {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: #f8fbfb;
  border: 1px solid #dfe9e8;
  border-radius: 8px;
}

.cashier-selected-plan strong {
  font-size: 18px;
}

.cashier-login-btn,
.cashier-pay-btn,
.cashier-mobile-btn {
  min-height: 46px;
}

.cashier-pay-btn {
  background: linear-gradient(135deg, #0f4b52 0%, #0d6b5b 100%);
}

.cashier-side-note p {
  margin: 10px 0 0;
  line-height: 1.75;
}

.cashier-code-fallback {
  max-width: 100%;
  word-break: break-all;
}

.cashier-mobile-bar {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(calc(100% - 20px), 680px);
  padding: 12px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #d6e3e2;
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(12, 44, 49, 0.14);
  backdrop-filter: blur(14px);
}

.cashier-mobile-copy {
  min-width: 0;
}

.cashier-mobile-copy strong,
.cashier-mobile-copy span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cashier-mobile-copy strong {
  font-size: 15px;
}

.cashier-mobile-copy span {
  color: #62757e;
  font-size: 12px;
}

.cashier-mobile-btn {
  flex: 0 0 auto;
  min-width: 128px;
}

.cashier-shell[data-scene="ad"] .cashier-hero-inner {
  background:
    linear-gradient(135deg, #12323b 0%, #0e5c4f 55%, #0f7462 100%);
}

.cashier-shell[data-scene="ad"] .cashier-story,
.cashier-shell[data-scene="ad"] .cashier-focus-card,
.cashier-shell[data-scene="ad"] .cashier-notice-card,
.cashier-shell[data-scene="ad"] .cashier-panel {
  background: rgba(255, 255, 255, 0.98);
}

@media (max-width: 980px) {
  .cashier-main-grid {
    grid-template-columns: 1fr;
  }

  .cashier-side-column {
    order: -1;
  }

  .cashier-hero-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .cashier-hero-inner,
  .cashier-main-grid {
    width: min(calc(100% - 20px), 1180px);
  }

  .cashier-hero-inner {
    padding: 18px;
  }

  .cashier-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .cashier-hero-copy h1 {
    font-size: 30px;
  }

  .cashier-benefit-grid,
  .cashier-plan-card {
    grid-template-columns: 1fr;
  }

  .cashier-plan-side {
    text-align: left;
  }

  .cashier-story,
  .cashier-focus-card,
  .cashier-notice-card,
  .cashier-panel {
    padding: 16px;
  }

  .cashier-mobile-bar {
    display: flex;
  }

  .cashier-shell {
    padding-bottom: 96px;
  }
}

/* 2026-06-17 old-site style membership page */
.cashier-oldschool-body {
  background: #eef2f1;
}

.cashier-landing {
  padding: 38px 0 118px;
}

.cashier-convert-card {
  width: min(1860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 46px 34px;
  background: linear-gradient(135deg, #154e55 0%, #0f6b61 54%, #237790 100%);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(18, 55, 60, 0.18);
}

.cashier-convert-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cashier-return-btn,
.cashier-scene-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 800;
}

.cashier-return-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.cashier-scene-pill {
  color: #114d4f;
  background: #f0fcf7;
}

.cashier-brand-row {
  margin-top: 26px;
}

.cashier-brand-cluster {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cashier-brand-avatar,
.cashier-brand-mark {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  overflow: hidden;
  border-radius: 18px;
  flex: 0 0 auto;
}

.cashier-brand-avatar {
  background: #fff;
}

.cashier-brand-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cashier-brand-mark {
  color: #fff;
  background: #0d8a6d;
  font-size: 30px;
  font-weight: 900;
}

.cashier-brand-copy strong,
.cashier-brand-copy small {
  display: block;
  color: #fff;
}

.cashier-brand-copy strong {
  font-size: 34px;
  line-height: 1.12;
}

.cashier-brand-copy small {
  margin-top: 6px;
  color: rgba(242, 254, 250, 0.92);
  font-size: 19px;
}

.cashier-plan-kicker {
  margin-top: 42px;
  color: #f4fffd;
  font-size: 22px;
  font-weight: 800;
}

.cashier-hero-block {
  margin-top: 16px;
}

.cashier-hero-main h1 {
  margin: 0;
  color: #f7fffd;
  font-size: clamp(3.8rem, 6vw, 7rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.cashier-hero-desc {
  max-width: 1080px;
  margin: 22px 0 0;
  color: rgba(244, 255, 251, 0.96);
  font-size: 26px;
  line-height: 1.75;
}

.cashier-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
}

.cashier-proof-row .cashier-proof-pill {
  padding: 14px 20px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 19px;
}

.cashier-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.cashier-trust-grid article {
  min-height: 142px;
  padding: 30px 28px;
  background: rgba(11, 83, 78, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
}

.cashier-trust-grid strong,
.cashier-trust-grid span {
  display: block;
  color: #fff;
}

.cashier-trust-grid strong {
  font-size: 28px;
}

.cashier-trust-grid span {
  margin-top: 18px;
  color: rgba(236, 251, 248, 0.9);
  font-size: 19px;
}

.cashier-convert-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 540px;
  gap: 34px;
  margin-top: 38px;
  align-items: start;
}

.cashier-convert-main,
.cashier-convert-side {
  display: grid;
  gap: 22px;
}

.cashier-plan-tabs-wrap,
.cashier-content-card,
.cashier-notice-box,
.cashier-side-card {
  padding: 30px 32px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #dce8e6;
  border-radius: 18px;
  box-shadow: 0 20px 44px rgba(14, 37, 41, 0.08);
}

.cashier-section-mini,
.cashier-side-label {
  color: #6d7c84;
  font-size: 15px;
  font-weight: 800;
}

.cashier-plan-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.cashier-plan-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 24px;
  background: #f7f9f8;
  border: 1px solid #dbe6e4;
  border-radius: 16px;
}

.cashier-plan-card.selected {
  background: #f0faf5;
  border-color: #0b836b;
  box-shadow: inset 0 0 0 2px rgba(11, 131, 107, 0.1);
}

.cashier-plan-top strong {
  font-size: 30px;
}

.cashier-plan-main p {
  margin: 10px 0 0;
  font-size: 18px;
}

.cashier-plan-side b {
  color: #df6b17;
  font-size: 38px;
}

.cashier-price-banner {
  display: grid;
  gap: 10px;
  padding: 24px 28px;
  color: #fff;
  background: linear-gradient(135deg, #ef8b35 0%, #e56b16 100%);
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(192, 99, 23, 0.22);
}

.cashier-price-banner strong {
  font-size: 34px;
  line-height: 1.2;
}

.cashier-price-banner span {
  font-size: 19px;
  color: rgba(255, 249, 243, 0.96);
}

.cashier-content-card h2 {
  margin: 12px 0 0;
  color: #143641;
  font-size: 54px;
  line-height: 1.1;
}

.cashier-section-desc {
  margin: 22px 0 0;
  color: #47616a;
  font-size: 22px;
  line-height: 1.75;
}

.cashier-benefit-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.cashier-benefit-card {
  padding: 24px 26px;
  background: #f8fbfa;
  border: 1px solid #deebe8;
  border-radius: 16px;
}

.cashier-benefit-card strong {
  font-size: 22px;
}

.cashier-benefit-card p {
  margin-top: 12px;
  font-size: 17px;
}

.cashier-people-row {
  display: flex;
  gap: 18px;
}

.cashier-person-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #ebf0ef;
  border-radius: 14px;
}

.cashier-person-avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #fff;
  background: linear-gradient(135deg, #0a7c66 0%, #0f5f7b 100%);
  border-radius: 999px;
  font-size: 20px;
  font-weight: 900;
}

.cashier-person-avatar.alt {
  background: linear-gradient(135deg, #e28d2a 0%, #d56f18 100%);
}

.cashier-person-card strong,
.cashier-person-card span {
  display: block;
}

.cashier-person-card strong {
  font-size: 20px;
}

.cashier-person-card span {
  margin-top: 4px;
  color: #d9771f;
  font-size: 14px;
  font-weight: 800;
}

.cashier-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #6f77e9 0%, #7654b3 100%);
}

.cashier-stats-strip article {
  padding: 24px 20px;
  text-align: center;
}

.cashier-stats-strip strong,
.cashier-stats-strip span {
  display: block;
  color: #fff;
}

.cashier-stats-strip strong {
  font-size: 26px;
}

.cashier-stats-strip span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
}

.cashier-notice-box h3 {
  margin: 12px 0 0;
  font-size: 28px;
}

.cashier-step-list.oldschool {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.85;
}

.cashier-side-card strong {
  display: block;
  margin-top: 10px;
  color: #143641;
  font-size: 38px;
  line-height: 1.12;
}

.cashier-side-card p {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.75;
}

.cashier-side-cta {
  margin-top: 20px;
  min-height: 72px;
  font-size: 24px;
  border-radius: 14px;
}

.cashier-side-card .pay-hint {
  margin-top: 14px;
  font-size: 16px;
}

.cashier-side-card .qr-box {
  min-height: 290px;
  margin-top: 18px;
  border-radius: 16px;
}

.cashier-side-card .pay-status {
  margin-top: 16px;
  font-size: 16px;
}

.cashier-bottom-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, calc(100% - 28px));
  padding: 16px 18px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #dce7e5;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(16, 40, 45, 0.14);
}

.cashier-bottom-copy strong,
.cashier-bottom-copy span {
  display: block;
}

.cashier-bottom-copy strong {
  color: #143641;
  font-size: 24px;
}

.cashier-bottom-copy span {
  margin-top: 4px;
  color: #60737b;
  font-size: 15px;
}

.cashier-bottom-btn {
  min-width: 220px;
  min-height: 64px;
  border-radius: 999px;
  font-size: 24px;
}

.cashier-ad-scene .cashier-convert-topbar,
.cashier-ad-scene .cashier-soft-exit {
  display: none !important;
}

.cashier-ad-scene .cashier-convert-card {
  padding-top: 52px;
}

@media (max-width: 1280px) {
  .cashier-convert-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .cashier-convert-card {
    width: calc(100% - 18px);
    padding: 22px 18px 22px;
  }

  .cashier-trust-grid,
  .cashier-benefit-stack,
  .cashier-stats-strip {
    grid-template-columns: 1fr;
  }

  .cashier-people-row,
  .cashier-brand-cluster,
  .cashier-convert-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .cashier-hero-main h1 {
    font-size: 64px;
  }

  .cashier-hero-desc {
    font-size: 19px;
  }

  .cashier-content-card h2 {
    font-size: 42px;
  }

  .cashier-bottom-bar {
    width: calc(100% - 16px);
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .cashier-landing {
    padding: 12px 0 98px;
  }

  .cashier-convert-card {
    border-radius: 16px;
  }

  .cashier-return-btn,
  .cashier-scene-pill {
    min-height: 44px;
    font-size: 15px;
  }

  .cashier-brand-avatar,
  .cashier-brand-mark {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }

  .cashier-brand-copy strong {
    font-size: 24px;
  }

  .cashier-brand-copy small {
    font-size: 15px;
  }

  .cashier-plan-kicker {
    margin-top: 28px;
    font-size: 18px;
  }

  .cashier-hero-main h1 {
    font-size: 42px;
  }

  .cashier-hero-desc,
  .cashier-proof-row .cashier-proof-pill,
  .cashier-trust-grid span,
  .cashier-section-desc,
  .cashier-side-card p {
    font-size: 16px;
  }

  .cashier-trust-grid article,
  .cashier-plan-tabs-wrap,
  .cashier-content-card,
  .cashier-notice-box,
  .cashier-side-card {
    padding: 18px;
    border-radius: 14px;
  }

  .cashier-plan-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
  }

  .cashier-plan-top strong,
  .cashier-price-banner strong,
  .cashier-side-card strong {
    font-size: 26px;
  }

  .cashier-content-card h2 {
    font-size: 28px;
  }

  .cashier-bottom-bar {
    padding: 10px 12px;
    border-radius: 14px;
  }

  .cashier-bottom-btn {
    min-width: 132px;
    min-height: 52px;
    font-size: 18px;
  }
}

/* 2026-06-17 fufeiyemian-like membership page */
.cashier-fufei-body {
  min-height: 100vh;
  background: #f5f5f5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.cashier-fufei-shell {
  max-width: 430px;
  margin: 0 auto;
  padding: 20px 20px 120px;
}

.cashier-fufei-page {
  width: 100%;
}

.cashier-inner-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.cashier-header-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.cashier-top-link {
  border: 0;
  background: none;
  color: #999;
  font-size: 13px;
  cursor: pointer;
}

.cashier-top-link.ghost {
  padding: 0;
}

.cashier-mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f3f4f6;
}

.cashier-mobile-header-left h1 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cashier-mobile-logo {
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.cashier-mobile-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cashier-mobile-logo.fallback {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  font-size: 24px;
  font-weight: 900;
}

.cashier-divider {
  display: none;
}

.cashier-mini-title {
  display: inline-block;
  color: #6b7280;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.cashier-login-box,
.cashier-pay-box {
  margin-top: 22px;
  padding: 18px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 14px;
}

.cashier-login-head,
.cashier-pay-head {
  display: grid;
  gap: 8px;
}

.cashier-pay-head strong,
.cashier-login-head strong {
  color: #1f2937;
  font-size: 18px;
}

.cashier-pay-head span,
.cashier-login-head span {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

.cashier-pay-action {
  width: 100%;
  height: 52px;
  margin-top: 16px;
  color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 26px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.cashier-pay-box .qr-box {
  margin-top: 18px;
  min-height: 220px;
  border-radius: 12px;
}

.cashier-pay-box .pay-status {
  margin-top: 14px;
}

.intro-rich-text {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

.cashier-ad-scene .cashier-header-actions {
  display: none;
}

@media (max-width: 430px) {
  .cashier-fufei-shell {
    padding: 16px 16px 110px;
    max-width: 100%;
  }

  .cashier-inner-card {
    padding: 20px;
  }

  .cashier-mobile-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
  }

  .cashier-mobile-header-left h1 {
    font-size: 20px;
  }

  .cashier-mobile-logo {
    width: 56px;
    height: 56px;
  }
}

/* 2026-06-10 cashier polish: route-style membership page, not a bare payment card. */
.cashier-body {
  background:
    linear-gradient(180deg, #eef5f4 0, #ffffff 300px, #f3f6f7 100%);
}

.cashier-page {
  place-items: start center;
  padding: 28px 0 42px;
}

.cashier-card {
  width: min(1120px, calc(100% - 48px));
  border-radius: 6px;
  box-shadow: 0 16px 44px rgba(18, 59, 70, 0.12);
}

.cashier-head {
  position: relative;
  min-height: 244px;
  align-content: center;
  padding: 30px 34px;
  background:
    linear-gradient(135deg, #123b46 0%, #0d6355 70%, #245f9b 100%);
}

.cashier-head::after {
  position: absolute;
  right: 32px;
  bottom: 28px;
  width: 230px;
  height: 132px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
  content: "";
}

.cashier-head .brand,
.cashier-head h1,
.cashier-head p,
.cashier-head .proof-list {
  position: relative;
  z-index: 1;
}

.cashier-head h1 {
  max-width: 650px;
  margin-top: 20px;
  font-size: 38px;
}

.cashier-head p {
  max-width: 700px;
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.proof-pill {
  padding: 5px 11px;
  color: #e6f3f0;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 800;
}

.cashier-content {
  grid-template-columns: minmax(0, 1fr) 342px;
  gap: 26px;
  padding: 26px;
}

.panel-lite,
.login-panel,
.pay-panel,
.cashier-note,
.pay-status,
.qr-box,
.plan-card {
  border-radius: 5px;
}

.panel-lite,
.login-panel {
  padding: 18px;
  background: #f8fbfb;
  border: 1px solid #dce8e8;
}

.cashier-benefits {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
  margin-bottom: 16px;
  border-left: 4px solid #08745f;
}

.benefit-list {
  display: grid;
  gap: 10px;
}

.benefit-pill {
  padding: 11px 12px;
  color: #173941;
  background: #fff;
  border: 1px solid #e1ebeb;
  border-left: 3px solid #c86d13;
  border-radius: 4px;
  font-weight: 800;
}

.login-panel {
  margin-bottom: 18px;
  background: #ffffff;
}

.login-panel .btn {
  color: #123b46;
  background: #e5f3ef;
  border: 1px solid #b9d9d2;
}

.plan-list {
  gap: 12px;
}

.plan-card {
  padding: 16px;
  background: #fff;
}

.plan-card.selected {
  background: #f1fbf8;
  border-color: #08745f;
  box-shadow: inset 4px 0 #08745f;
}

.plan-card b {
  color: #c86d13;
  font-size: 28px;
}

#createPayBtn {
  min-height: 46px;
  background: #123b46;
}

.pay-panel {
  padding: 18px;
  background: #f8fbfb;
  border: 1px solid #dce8e8;
}

.qr-box {
  min-height: 278px;
  background: #fff;
  border-color: #9fcfc6;
}

.pay-steps-panel {
  padding: 14px;
  background: #fff;
}

.step-list {
  margin: 0;
  padding-left: 20px;
  color: #526b75;
}

.step-list li + li {
  margin-top: 8px;
}

.cashier-note {
  background: #fff7ed;
  border-color: #f0d3ad;
  color: #84520f;
}

@media (max-width: 900px) {
  .cashier-card {
    width: min(100% - 28px, 1120px);
  }

  .cashier-content,
  .cashier-benefits {
    grid-template-columns: 1fr;
  }

  .cashier-head::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .cashier-page {
    padding: 10px 0 24px;
  }

  .cashier-card {
    width: calc(100% - 20px);
  }

  .cashier-head {
    min-height: 0;
    padding: 22px 18px;
  }

  .cashier-head h1 {
    font-size: 27px;
  }

  .cashier-content {
    gap: 18px;
    padding: 16px;
  }

  .cashier-benefits,
  .panel-lite,
  .login-panel,
  .pay-panel {
    padding: 14px;
  }

  .plan-card {
    align-items: flex-start;
  }

  .plan-card b {
    font-size: 23px;
  }
}
