:root {
  --bg: #f7f9fd;
  --surface: #ffffff;
  --soft: #f3f6fb;
  --text: #101828;
  --muted: #667085;
  --subtle: #98a2b3;
  --line: #e4e9f2;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --gold: #f2a51f;
  --green: #16a34a;
  --red: #ef4444;
  --purple: #7c3aed;
  --cyan: #0891b2;
  --shadow: 0 18px 54px rgba(16, 24, 40, 0.10);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f7f9ff 0%, #fbfcff 48%, #f7f9fd 100%);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner,
.main {
  width: min(1600px, calc(100% - 56px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #2f6df6, #174eea);
  box-shadow: 0 10px 22px rgba(37, 99, 235, .22);
}

.brand strong,
.brand small {
  display: block;
}

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

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 1px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.main {
  display: grid;
  gap: 18px;
  padding: 24px 0 64px;
}

.site-footer {
  width: min(1600px, calc(100% - 56px));
  margin: 0 auto 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer strong,
.site-footer span,
.site-footer a {
  margin-right: 12px;
}

.site-footer strong {
  color: var(--text);
}

.site-footer a:hover {
  color: var(--blue);
}

.legal-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 48%, #f7f9fd 100%);
}

.legal-main {
  width: min(940px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 72px;
}

.legal-card {
  display: grid;
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.legal-card h1 {
  margin: 0;
  font-size: 32px;
}

.legal-card h2 {
  margin: 14px 0 0;
  font-size: 20px;
}

.legal-card p,
.legal-card li {
  color: #475467;
  line-height: 1.8;
}

.legal-back {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #bfcef9;
  border-radius: 8px;
  color: var(--blue);
  background: #eff6ff;
  font-weight: 850;
}

.legal-back::before {
  content: "←";
  margin-right: 6px;
}

.legal-eyebrow {
  margin: 0;
  color: #ea580c !important;
  font-weight: 900;
}

.legal-plan-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal-plan-grid div,
.contact-grid div,
.site-info {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.legal-plan-grid strong {
  display: block;
  margin: 8px 0;
  color: var(--text);
  font-size: 24px;
}

.contact-grid span {
  color: var(--muted);
}

.site-info dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
  margin: 0;
}

.site-info dt {
  color: var(--text);
  font-weight: 900;
}

.site-info dd {
  margin: 6px 0 0;
  color: #475467;
}

.plain-action,
.user-chip,
.button,
.ghost-button,
.quick-chip,
.icon-only,
.text-link,
.page-btn,
.coupon-btn,
.buy-btn {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.button {
  padding: 0 18px;
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .20);
}

.button:hover {
  background: var(--blue-dark);
}

.button.gold,
.buy-btn {
  color: #111827;
  background: #fff;
  border: 3px solid #111827;
  box-shadow: 5px 6px 0 #111827;
  font-weight: 900;
}

.button.gold-soft {
  color: #7a4c00;
  background: linear-gradient(135deg, #fff8e8, #fff);
  border-color: #f3d28b;
  box-shadow: none;
}

.button.secondary {
  color: var(--blue);
  background: #eef4ff;
  border-color: #dbe7ff;
  box-shadow: none;
}

.ghost-button,
.quick-chip,
.page-btn,
.user-chip {
  padding: 0 14px;
  background: #fff;
  border-color: var(--line);
  color: #344054;
  font-weight: 750;
}

.plain-action {
  font-weight: 750;
}

.plain-action:hover,
.ghost-button:hover,
.quick-chip:hover,
.user-chip:hover,
.page-btn:hover,
.icon-only:hover {
  background: var(--soft);
}

.quick-chip.active,
.page-btn.active {
  color: var(--blue);
  background: #eef4ff;
  border-color: #bcd3ff;
}

.promo {
  min-height: 270px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 36px;
  padding: 38px 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(239, 246, 255, .98)),
    linear-gradient(120deg, #fff, #eef4ff);
  box-shadow: 0 18px 54px rgba(37, 99, 235, .08);
  overflow: hidden;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--blue);
  font-weight: 850;
}

.promo h1 {
  margin: 10px 0 0;
  font-size: 40px;
  line-height: 1.16;
  letter-spacing: 0;
}

.promo p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  max-width: 680px;
}

.promo-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.promo-stats span {
  min-width: 118px;
  padding: 12px 14px;
  border: 1px solid rgba(37, 99, 235, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  color: var(--muted);
  font-size: 13px;
}

.promo-stats strong {
  display: block;
  color: var(--text);
  font-size: 20px;
}

.promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-visual {
  position: relative;
  min-height: 210px;
}

.visual-card {
  position: absolute;
  border: 1px solid rgba(37, 99, 235, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 42px rgba(37, 99, 235, .14);
  backdrop-filter: blur(10px);
}

.main-card {
  inset: 26px 18px 20px 38px;
  padding: 24px;
}

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

.main-card span {
  color: var(--muted);
}

.main-card strong {
  margin: 8px 0 22px;
  font-size: 30px;
}

.main-card i {
  height: 14px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #dbeafe, #eff6ff);
}

.main-card i:nth-child(3) {
  width: 78%;
}

.main-card i:nth-child(4) {
  width: 62%;
}

.side-card {
  right: 0;
  top: 0;
  width: 210px;
  padding: 18px;
  color: #7a4c00;
  background: linear-gradient(135deg, #fff8e8, #fff);
  border-color: #f3d28b;
}

.side-card svg {
  color: var(--gold);
  margin-bottom: 10px;
}

.search-box {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 40, 90, .05);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
}

.query-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.quick-section {
  display: grid;
  gap: 10px;
}

.quick-heading {
  display: flex;
  align-items: center;
  color: #475467;
  font-size: 14px;
  font-weight: 800;
}

.plain-action.active {
  color: var(--blue);
  background: #eff6ff;
  border-color: #c7d7fe;
}

.quick-heading::after {
  content: "";
  height: 1px;
  flex: 1;
  margin-left: 12px;
  background: var(--line);
}

.quick-card-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 12px;
}

.quick-card {
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: #fff;
  color: var(--text);
}

.quick-card strong,
.quick-card small {
  display: block;
}

.quick-card strong {
  margin-bottom: 3px;
  font-size: 15px;
  font-weight: 900;
}

.quick-card small {
  color: var(--muted);
}

.quick-card i {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
}

.quick-card.active {
  border-color: rgba(37, 99, 235, .36);
  box-shadow: 0 12px 28px rgba(37, 99, 235, .10);
}

.quick-card.active strong {
  color: var(--blue);
}

.quick-card.tone-green { background: linear-gradient(135deg, #f0fbef, #ffffff); }
.quick-card.tone-green i { color: #34a853; background: #e4f8e6; }
.quick-card.tone-blue { background: linear-gradient(135deg, #eff6ff, #ffffff); }
.quick-card.tone-blue i { color: #2563eb; background: #dbeafe; }
.quick-card.tone-orange { background: linear-gradient(135deg, #fff7ed, #ffffff); }
.quick-card.tone-orange i { color: #f59e0b; background: #ffedd5; }
.quick-card.tone-red { background: linear-gradient(135deg, #fff1f2, #ffffff); }
.quick-card.tone-red i { color: #ef4444; background: #fee2e2; }
.quick-card.tone-sky { background: linear-gradient(135deg, #f0f9ff, #ffffff); }
.quick-card.tone-sky i { color: #0284c7; background: #e0f2fe; }
.quick-card.tone-purple { background: linear-gradient(135deg, #f5f3ff, #ffffff); }
.quick-card.tone-purple i { color: #7c3aed; background: #ede9fe; }

.select-pill {
  height: 40px;
  width: 176px;
  display: grid;
  grid-template-columns: auto minmax(72px, 1fr);
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.select-pill span {
  color: var(--muted);
  white-space: nowrap;
}

.select-pill select {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #344054;
}

.query-panel .search-box {
  flex: 1 1 420px;
}

.query-panel .button,
.query-panel .ghost-button {
  flex: 0 0 112px;
}

.table-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(244,248,255,.96)),
    #fff;
  box-shadow: 0 12px 32px rgba(20, 40, 90, .06);
}

.page-head h1 {
  margin: 10px 0 6px;
  font-size: 30px;
  letter-spacing: 0;
}

.page-head p {
  margin: 0;
  color: var(--muted);
}

.back-action {
  display: inline-flex;
  width: auto;
  height: 38px;
  padding: 0 14px;
  color: var(--blue);
  border-color: #bfcef9;
  background: #eff6ff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .10);
}

.back-action::before {
  content: "←";
  margin-right: 6px;
  font-weight: 900;
}

.table-title span {
  display: inline-block;
  margin-left: 10px;
  color: var(--muted);
}

.member-hint {
  color: #92400e;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 800;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.jobs-table {
  width: 100%;
  min-width: 1780px;
  border-collapse: separate;
  border-spacing: 0;
}

.jobs-table th,
.jobs-table td {
  height: 58px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.jobs-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  color: #475467;
  background: #f8fbff;
  font-size: 13px;
  font-weight: 850;
}

.jobs-table td {
  color: #344054;
  font-size: 14px;
}

.jobs-table tr:hover td {
  background: #fbfdff;
}

.jobs-table th:nth-child(1),
.jobs-table td:nth-child(1) {
  position: sticky;
  left: 0;
  z-index: 3;
  width: 104px;
  min-width: 104px;
  background: #fff;
}

.jobs-table th:nth-child(2),
.jobs-table td:nth-child(2) {
  position: sticky;
  left: 104px;
  z-index: 3;
  width: 210px;
  min-width: 210px;
  background: #fff;
  box-shadow: 8px 0 14px rgba(16, 24, 40, .05);
}

.jobs-table th:nth-child(1),
.jobs-table th:nth-child(2) {
  z-index: 5;
  background: #f8fbff;
}

.jobs-table tr:hover td:nth-child(1),
.jobs-table tr:hover td:nth-child(2) {
  background: #fbfdff;
}

.cell-clamp {
  width: 150px;
  max-height: 42px;
  display: -webkit-box;
  overflow: hidden;
  white-space: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cell-clamp.wide {
  width: 220px;
}

.tag {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 800;
}

.tag.blue { color: #2563eb; background: #eff6ff; }
.tag.red { color: #ef4444; background: #fff1f2; }
.tag.green { color: #16a34a; background: #ecfdf3; }
.tag.purple { color: #7c3aed; background: #f5f3ff; }
.tag.orange { color: #ea580c; background: #fff7ed; }
.tag.cyan { color: #0891b2; background: #ecfeff; }

.deadline-hot {
  color: var(--red) !important;
  font-weight: 900;
}

.row-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
}

.text-link {
  min-height: auto;
  padding: 0;
  color: var(--blue);
  font-weight: 850;
}

.icon-only {
  width: 34px;
  height: 34px;
  padding: 0;
  background: #fff;
  border-color: var(--line);
  color: #667085;
}

.icon-only.active {
  color: var(--gold);
  background: #fff7e6;
  border-color: #f6d695;
}

.status-select {
  height: 32px;
  min-width: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 8px;
  color: #344054;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.app-status-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.app-status-tabs button {
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: #475467;
  background: #f8fbff;
  font-weight: 850;
}

.app-status-tabs button.active {
  color: var(--blue);
  border-color: #bfcef9;
  background: #eff6ff;
}

.promoter-panel,
.panel-lite {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(20, 40, 90, .06);
}

.promoter-link-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid #bfcef9;
  border-radius: 8px;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
}

.promoter-link-box span,
.promoter-stats span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.promoter-link-box strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  word-break: break-all;
}

.promoter-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.promoter-stats div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.promoter-stats strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 24px;
}

.promoter-rules {
  padding: 14px 16px;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  color: #92400e;
  background: #fff7ed;
}

.promoter-rules p {
  margin: 4px 0 0;
}

.compact-table {
  min-width: 760px;
}

.compact-table th:nth-child(1),
.compact-table td:nth-child(1),
.compact-table th:nth-child(2),
.compact-table td:nth-child(2) {
  position: static;
  left: auto;
  width: auto;
  min-width: 0;
  box-shadow: none;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.page-btn {
  width: 40px;
  padding: 0;
}

.mobile-list {
  display: none;
}

.mobile-card,
.modal-panel,
.user-modal,
.empty {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(20, 40, 90, .04);
}

.modal-backdrop,
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, .42);
}

.modal-panel,
.user-modal {
  width: min(560px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 22px;
  box-shadow: var(--shadow);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  margin-bottom: 18px;
}

.modal-head h2 {
  margin: 0;
  font-size: 24px;
}

.modal-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.close-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.tabs,
.user-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 4px;
  border-radius: 8px;
  background: var(--soft);
  margin-bottom: 16px;
}

.user-tabs {
  grid-template-columns: repeat(2, 1fr);
}

.tab,
.user-tabs button {
  height: 38px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.tab.active,
.user-tabs button.active {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
}

.form,
.field {
  display: grid;
  gap: 12px;
}

.field {
  gap: 7px;
}

.field label {
  color: #344054;
  font-weight: 800;
}

.field input,
.coupon-row input {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  outline: 0;
}

.alert {
  padding: 12px 14px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #991b1b;
  background: #fee2e2;
}

.vip-backdrop {
  z-index: 70;
  place-items: center;
  overflow: auto;
}

.vip-modal {
  position: relative;
  width: min(1180px, 100%);
  max-height: calc(100vh - 36px);
  margin: 0 auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: auto;
}

.vip-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.vip-hero-head {
  min-height: 210px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: center;
  gap: 24px;
  padding: 34px 42px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(243,247,255,.98)),
    linear-gradient(120deg, #fff, #eef4ff);
}

.discount-line {
  margin: 0;
  color: var(--blue);
  font-weight: 850;
}

.vip-modal h2 {
  margin: 10px 0 10px;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: 0;
}

.vip-subtitle {
  margin: 0;
  color: var(--muted);
}

.vip-head-visual {
  width: 132px;
  height: 132px;
  border-radius: 34px;
  display: grid;
  place-items: center;
  justify-self: center;
  color: var(--gold);
  background: linear-gradient(135deg, #fff8e8, #fff);
  border: 1px solid #f4d895;
  box-shadow: 0 18px 36px rgba(242, 165, 31, .18);
}

.vip-head-visual svg {
  width: 74px;
  height: 74px;
}

.vip-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
}

.membership-card {
  position: relative;
  min-height: 320px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  border: 1px solid #d8e0ef;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #fbfdff);
  box-shadow: 0 10px 28px rgba(37, 99, 235, .06);
  text-align: left;
}

.membership-card.selected {
  border-color: #eab84b;
  background: linear-gradient(180deg, #fffaf0, #fff);
  box-shadow: 0 16px 34px rgba(234, 184, 75, .18);
}

.hot-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 20px;
  border-radius: 999px;
  color: #111827;
  background: linear-gradient(135deg, #f7c65d, #eaa62b);
  font-weight: 900;
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--blue);
  background: #eef4ff;
}

.membership-card h3 {
  margin: 0;
  font-size: 24px;
}

.membership-card p {
  min-height: 48px;
  margin: 0;
  color: #4b5563;
}

.member-price {
  font-size: 36px;
  font-weight: 950;
}

.member-price small {
  margin-left: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.membership-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 8px;
  list-style: none;
}

.membership-card li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: start;
}

.buy-btn {
  width: 100%;
  height: 48px;
  margin-top: auto;
  font-size: 17px;
  color: #fff;
  background: linear-gradient(135deg, #5b5cf6, #4038e8);
  border: 0;
  box-shadow: 0 12px 24px rgba(64, 56, 232, .18);
}

.membership-card.selected .buy-btn {
  background: linear-gradient(135deg, #efb33f, #df951c);
  box-shadow: 0 12px 24px rgba(223, 149, 28, .20);
}

.coupon-row {
  width: min(520px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px;
  gap: 10px;
  margin: 0 auto 28px;
}

.coupon-row input,
.coupon-btn {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.coupon-btn {
  color: #fff;
  background: #9dbbe9;
  font-weight: 900;
}

.pay-box {
  width: min(560px, 100%);
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin: 22px auto 0;
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--soft);
  text-align: left;
}

.qr-code {
  width: 132px;
  height: 132px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.qr-code span {
  background: var(--text);
  border-radius: 2px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.profile-grid div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.profile-grid span,
.profile-grid strong {
  display: block;
}

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

.profile-grid strong {
  margin-top: 6px;
  font-size: 20px;
}

.profile-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.share-earn-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #7a4b00;
  border-color: #f4c979;
  background: linear-gradient(180deg, #fffaf0 0%, #fff7e0 100%);
  font-weight: 900;
}

.share-earn-button svg {
  width: 16px;
  height: 16px;
}

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

.compact-list div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.compact-list strong,
.compact-list span {
  display: block;
}

.compact-list span {
  color: var(--muted);
  margin-top: 4px;
}

.drawer-backdrop {
  place-items: stretch end;
  padding: 0;
}

.drawer {
  width: min(380px, 92vw);
  height: 100%;
  overflow: auto;
  padding: 20px;
  background: #fff;
}

.filter-stack {
  display: grid;
  gap: 12px;
}

.empty {
  min-height: 250px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  padding: 36px;
}

.empty svg {
  color: var(--blue);
}

.skeleton-table {
  min-height: 440px;
  display: grid;
  gap: 12px;
  padding: 18px;
}

.skeleton-table span {
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(90deg, #eef2f7, #f8fafc, #eef2f7);
}

@media (max-width: 1080px) {
  .filter-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .promo {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

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

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

@media (max-width: 760px) {
  .header-inner,
  .main,
  .site-footer {
    width: min(100% - 24px, 720px);
  }

  .header-inner {
    min-height: auto;
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .header-right {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .plain-action span {
    display: none;
  }

  .promo {
    align-items: stretch;
    flex-direction: column;
    padding: 22px;
  }

  .promo h1 {
    font-size: 28px;
  }

  .query-panel {
    display: grid;
    grid-template-columns: 1fr;
  }

  .page-head {
    display: grid;
    align-items: start;
    padding: 20px;
  }

  .page-head h1 {
    font-size: 26px;
  }

  .query-panel .select-pill,
  .query-panel .search-box,
  .query-panel .button,
  .query-panel .ghost-button {
    width: 100%;
    flex-basis: auto;
  }

  .filter-row {
    display: none;
  }

  .quick-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .table-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .table-title span {
    display: block;
    margin: 4px 0 0;
  }

  .table-wrap {
    display: none;
  }

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

  .mobile-card {
    padding: 16px;
  }

  .mobile-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
  }

  .mobile-card-head strong {
    display: block;
    color: var(--text);
    font-size: 18px;
    line-height: 1.35;
  }

  .tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .mobile-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 14px 0;
  }

  .mobile-meta dt {
    color: var(--muted);
    font-size: 12px;
  }

  .mobile-meta dd {
    margin: 2px 0 0;
    font-weight: 750;
  }

  details {
    margin: 12px 0;
    color: #344054;
  }

  summary {
    cursor: pointer;
    color: var(--blue);
    font-weight: 800;
  }

  .mobile-actions,
  .profile-grid,
  .coupon-row,
  .pay-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mobile-actions .status-select {
    width: 100%;
  }

  .promoter-link-box {
    display: grid;
  }

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

  .vip-modal {
    width: 100%;
  }

  .vip-modal h2 {
    font-size: 28px;
  }

  .membership-card {
    min-height: auto;
    box-shadow: 5px 5px 0 #111827;
  }

  .pagination {
    flex-wrap: wrap;
  }

  .site-footer {
    display: grid;
    gap: 10px;
  }

  .legal-card {
    padding: 24px;
  }

  .legal-plan-grid,
  .contact-grid,
  .site-info dl {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
