/* EasyGlobal SaaS · 商家中心（参考实体之家 member.html / zhijia-member.css） */

.eg-merchant-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 102, 204, .28);
  background: linear-gradient(135deg, rgba(0, 102, 204, .10), rgba(52, 199, 89, .08));
  color: var(--og-blue) !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
}

.eg-merchant-entry:hover {
  color: var(--og-blue-700) !important;
  border-color: rgba(0, 102, 204, .45);
  background: rgba(0, 102, 204, .12);
}

.eg-merchant-entry.is-on,
.og-drawer__hub.is-on,
.og-access-modal__hub.is-on {
  border-color: var(--og-blue);
  background: var(--og-blue);
  color: #fff !important;
  box-shadow: var(--og-shadow-blue);
}

.eg-merchant-entry.is-on:hover,
.og-drawer__hub.is-on:hover,
.og-access-modal__hub.is-on:hover {
  border-color: var(--og-blue-700);
  background: var(--og-blue-700);
  color: #fff !important;
}

/* 跨境访问提示弹窗：隐藏「商家中心/登录」按钮 */
.og-access-modal__hub {
  display: none !important;
}

@media (max-width: 1024px) {
  .og-header__actions > .eg-merchant-entry,
  .og-header__actions > [data-merchant-hub].og-btn {
    display: none;
  }
}

/* —— 商家登录弹层（参考之家 zj-login-overlay） —— */
.eg-login-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 18, 31, .78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.eg-login-overlay.is-open {
  display: flex;
}

.eg-login-modal-wrap {
  position: relative;
  width: min(420px, 100%);
}

.eg-login-modal {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(165deg, #102033 0%, #091321 100%);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .45);
  padding: 22px 20px 18px;
  color: #e2e8f0;
}

.eg-login-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.eg-login-modal__head h3 {
  margin: 0;
  flex: 1;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}

.eg-login-modal__head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.eg-login-modal__hub {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(0, 102, 204, .35);
  background: rgba(0, 102, 204, .12);
  color: #93c5fd;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.eg-login-modal__hub:hover { color: #bfdbfe; }

.eg-login-modal__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 10px;
  background: rgba(15, 23, 42, .55);
  color: #94a3b8;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.eg-login-modal__close:hover {
  color: #fff;
  border-color: rgba(0, 102, 204, .4);
}

.eg-login-modal .eg-login-sub {
  margin: 0 0 16px;
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
}

.eg-login-field {
  margin-bottom: 12px;
}

.eg-login-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #cbd5e1;
}

.eg-login-field input {
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, .35);
  background: rgba(15, 23, 42, .85);
  color: #fff;
  padding: 10px 12px;
  font-size: 15px;
}

.eg-login-field input:focus {
  outline: none;
  border-color: rgba(0, 102, 204, .65);
}

.eg-login-err {
  min-height: 18px;
  margin: 0 0 10px;
  font-size: 13px;
  color: #fca5a5;
}

.eg-login-err.is-ok { color: #86efac; }

.eg-login-btn {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #0a7ae0, #0066cc);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.eg-login-btn:disabled {
  opacity: .65;
  cursor: wait;
}

.eg-login-links {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  font-size: 13px;
}

.eg-login-links a {
  color: #93c5fd;
  text-decoration: none;
  font-weight: 700;
}

.eg-login-links a:hover { color: #bfdbfe; }

/* —— 商家中心页 —— */
.egm-page {
  min-height: 100vh;
  padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px));
  background:
    radial-gradient(ellipse 80% 50% at 18% 0%, rgba(0, 102, 204, .18), transparent 55%),
    radial-gradient(ellipse 70% 45% at 92% 8%, rgba(52, 199, 89, .10), transparent 50%),
    #091321;
  color: #e2e8f0;
  font-family: "Noto Sans SC", "Inter", "PingFang SC", sans-serif;
}

.egm-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(9, 19, 33, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.egm-top a {
  color: #93c5fd;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.egm-top a:hover { color: #bfdbfe; }

.egm-top h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}

.egm-top__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.egm-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}

.egm-hero {
  margin-bottom: 16px;
}

.egm-hero__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #34c759;
}

.egm-hero__title {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  line-height: 1.18;
}

.egm-hero__sub {
  margin: 8px 0 0;
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.55;
}

.egm-account {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
  font-size: 13px;
  line-height: 1.65;
  color: #cbd5e1;
}

.egm-account b { color: #fff; }

.egm-layout {
  display: block;
}

.egm-aside {
  display: contents;
}

.egm-card {
  margin-bottom: 16px;
  padding: 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(15, 23, 42, .72);
}

.egm-card h2 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.egm-card .hint {
  margin: 0 0 14px;
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.55;
}

.egm-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(52, 199, 89, .14);
  border: 1px solid rgba(52, 199, 89, .35);
  color: #86efac;
  font-size: 12px;
  font-weight: 800;
}

.egm-badge.is-warn {
  background: rgba(251, 146, 60, .14);
  border-color: rgba(251, 146, 60, .35);
  color: #fdba74;
}

.egm-share-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.egm-share-tab {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  color: #cbd5e1;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.egm-share-tab.is-on {
  border-color: rgba(0, 102, 204, .55);
  background: rgba(0, 102, 204, .18);
  color: #93c5fd;
}

.egm-share-group { display: none; }
.egm-share-group.is-on { display: block; }

.egm-share-group__title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #94a3b8;
}

.egm-share-item {
  margin-bottom: 12px;
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(2, 6, 23, .45);
}

.egm-share-item__title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.egm-style-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
}

.egm-style-chip {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .35);
  background: rgba(15, 23, 42, .55);
  color: #94a3b8;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.egm-style-chip.is-on {
  border-color: rgba(0, 102, 204, .55);
  background: rgba(0, 102, 204, .16);
  color: #93c5fd;
}

.egm-share-item__copy {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.55;
  color: #94a3b8;
  min-height: 3.2em;
}

.egm-share-item__url-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 10px;
}

.egm-share-item__url {
  flex: 1;
  min-width: 0;
  word-break: break-all;
  font-size: 12.5px;
  line-height: 1.45;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(2, 6, 23, .55);
  border: 1px solid rgba(148, 163, 184, .25);
  color: #fde68a;
}

.egm-share-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.egm-btn {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, .35);
  background: rgba(15, 23, 42, .55);
  color: #e2e8f0;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.egm-btn:hover {
  border-color: rgba(0, 102, 204, .45);
  color: #fff;
}

.egm-btn--primary {
  border: 0;
  background: linear-gradient(135deg, #0a7ae0, #0066cc);
  color: #fff;
}

.egm-btn--primary:hover {
  filter: brightness(1.06);
  color: #fff;
}

.egm-share-item__tip {
  font-size: 12px;
  color: #86efac;
  min-height: 16px;
}

.egm-steps {
  display: grid;
  gap: 10px;
}

.egm-step {
  padding: 14px 12px;
  border-radius: 12px;
  background: rgba(2, 6, 23, .45);
  border: 1px solid rgba(255, 255, 255, .08);
}

.egm-step__no {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  color: #60a5fa;
}

.egm-step h3 {
  margin: 6px 0 4px;
  font-size: 14px;
  color: #fff;
}

.egm-step p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #94a3b8;
}

.egm-kv {
  display: grid;
  gap: 0;
}

.egm-kv__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(148, 163, 184, .22);
}

.egm-kv__row:last-child { border-bottom: 0; }

.egm-kv__k {
  font-size: 13px;
  color: #94a3b8;
  flex: none;
}

.egm-kv__v {
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
  text-align: right;
  word-break: break-word;
}

.egm-qr {
  text-align: center;
}

.egm-qr img {
  width: 200px;
  height: 200px;
  margin: 8px auto 0;
  border-radius: 14px;
  background: #fff;
  padding: 10px;
}

.egm-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.egm-list li {
  padding: 12px;
  border-radius: 12px;
  background: rgba(2, 6, 23, .45);
  border: 1px solid rgba(255, 255, 255, .08);
}

.egm-list b {
  display: block;
  font-size: 13px;
  color: #fff;
}

.egm-list span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.65;
  color: #94a3b8;
}

.egm-stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 4px;
}

.egm-stat {
  padding: 12px;
  border-radius: 12px;
  background: rgba(2, 6, 23, .45);
  border: 1px solid rgba(255, 255, 255, .08);
}

.egm-stat__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  color: #64748b;
  text-transform: uppercase;
}

.egm-stat b {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  color: #60a5fa;
}

.egm-stat span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #94a3b8;
}

.egm-copy-tip {
  min-height: 18px;
  margin-top: 8px;
  font-size: 12.5px;
  color: #86efac;
}

.egm-lang-foot {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px 24px;
  text-align: center;
}

.egm-lang-foot .og-lang {
  display: inline-flex;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
}

.egm-lang-foot .og-lang button {
  background: rgba(255, 255, 255, .06);
  color: #cbd5e1;
  border: 0;
  padding: 8px 16px;
  font-weight: 700;
  cursor: pointer;
}

.egm-lang-foot .og-lang button.is-active {
  background: rgba(0, 102, 204, .25);
  color: #93c5fd;
}

@media (min-width: 960px) {
  .egm-page {
    background:
      radial-gradient(ellipse 55% 42% at 12% -8%, rgba(0, 102, 204, .20), transparent 58%),
      radial-gradient(ellipse 48% 38% at 92% 0%, rgba(52, 199, 89, .12), transparent 52%),
      #091321;
  }

  .egm-top,
  .egm-wrap {
    max-width: 1200px;
    margin-inline: auto;
  }

  .egm-wrap { padding: 28px 24px 56px; }

  .egm-hero__title { font-size: 36px; }

  .egm-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
  }

  .egm-aside {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .egm-main .egm-card:last-child,
  .egm-aside .egm-card:last-child {
    margin-bottom: 0;
  }

  .egm-stat-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
  .egm-top,
  .egm-wrap,
  .egm-lang-foot { max-width: 1280px; }

  .egm-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
  }

  .egm-hero__title { font-size: 40px; }
}

@media (max-width: 480px) {
  .egm-share-item__url-row { flex-direction: column; }
  .egm-stat-row { grid-template-columns: 1fr; }
}

/* —— 商家小店（控制台） —— */
.egm-card--shop { border-color: rgba(0, 102, 204, .22); }
.egm-card--products { border-color: rgba(15, 23, 42, .1); }
.egm-card--products > h2 { margin: 0 0 8px; }
.egm-card--products { border-color: rgba(15, 23, 42, .1); }
.egm-card--products > h2 { margin: 0 0 8px; }
.egm-shop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.egm-shop-head h2 { margin: 0; }
.egm-shop-sub {
  margin: 20px 0 10px;
  font-size: 15px;
  font-weight: 800;
  color: var(--og-ink);
}
.egm-shop-closed { max-width: 520px; }
.egm-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.egm-field span { font-size: 13px; font-weight: 700; color: var(--og-ink-2); }
.egm-field input,
.egm-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--og-line);
  border-radius: 10px;
  font: inherit;
  background: #fff;
}
.egm-field--inline { max-width: 360px; }
.egm-shop-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.egm-shop-share {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(0, 102, 204, .22);
}
.egm-shop-share__url-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
}
.egm-shop-share__url-row input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--og-line);
  border-radius: 10px;
  font: inherit;
  background: #fff;
  color: #334155;
}
.egm-poster-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(6, 18, 31, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
body.egm-poster-open { overflow: hidden; }
.egm-poster-modal__panel {
  width: min(420px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.egm-poster-modal__tip {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--og-muted);
  text-align: center;
}
.egm-poster-modal__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.egm-poster-modal__actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.egm-poster-modal__actions .egm-btn { flex: 1; justify-content: center; }
.egm-shop-tip.is-ok { color: #059669; }
.egm-shop-tip.is-err { color: #dc2626; }
.egm-product-form {
  padding: 16px;
  border-radius: 14px;
  border: 1px dashed rgba(0, 102, 204, .28);
  background: rgba(0, 102, 204, .04);
  margin-bottom: 8px;
}
.egm-product-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}
.egm-field--wide { grid-column: 1 / -1; }
.egm-cover-field { margin-bottom: 0; }
.egm-cover-upload {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.egm-cover-upload__preview {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--og-line);
  background: var(--og-soft-2);
}
.egm-cover-upload__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.egm-cover-upload__clear {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.egm-cover-upload__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.egm-cover-upload__pick {
  margin: 0;
  cursor: pointer;
  white-space: nowrap;
}
.egm-cover-upload__pick input { display: none; }
.egm-cover-upload__or {
  font-size: 13px;
  color: var(--og-muted);
  white-space: nowrap;
}
.egm-cover-upload__actions input[type="url"] {
  flex: 1 1 180px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--og-line);
  border-radius: 10px;
  font: inherit;
  background: #fff;
}
.egm-cover-upload__hint { margin: 0; font-size: 12px; }
.egm-cover-upload__hint.is-ok { color: #059669; }
.egm-cover-upload__hint.is-err { color: #dc2626; }
.egm-product-form__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.egm-product-list,
.egm-order-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.egm-product-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--og-line);
  background: #fff;
}
.egm-product-item.is-off { opacity: .62; }
.egm-product-item__cover {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  flex: none;
  background: var(--og-soft-2);
}
.egm-product-item__cover--ph {
  display: grid;
  place-items: center;
  font-size: 28px;
}
.egm-product-item__body { flex: 1; min-width: 0; }
.egm-product-item__body b { display: block; font-size: 15px; }
.egm-product-item__price { color: var(--og-blue); font-weight: 800; font-size: 14px; }
.egm-product-item__desc {
  margin: 4px 0 8px;
  font-size: 13px;
  color: var(--og-muted);
  line-height: 1.5;
}
.egm-product-item__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.egm-btn--xs { padding: 6px 10px; font-size: 12px; border-radius: 8px; }
.egm-btn--danger { color: #dc2626; border-color: rgba(220, 38, 38, .35); }
.egm-btn--accent {
  color: #0b6bcb;
  border-color: rgba(11, 107, 203, .35);
  background: rgba(11, 107, 203, .06);
}
.egm-btn--accent {
  color: #0b6bcb;
  border-color: rgba(11, 107, 203, .35);
  background: rgba(11, 107, 203, .06);
}
.egm-order-item {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--og-line);
  background: var(--og-soft);
}
.egm-order-item__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
}
.egm-order-item__meta { margin: 4px 0 0; font-size: 12px; color: var(--og-muted); }
.egm-order-item__note { margin: 6px 0 0; font-size: 12px; color: var(--og-ink-2); }

/* —— 公开小店页 —— */
.eg-shop-page {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", "Noto Sans SC", system-ui, sans-serif;
  color: var(--og-ink);
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 102, 204, .12), transparent),
    #f6f8fc;
}
.eg-shop-top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--og-line-2);
}
.eg-shop-top__inner {
  min-height: var(--og-header-h, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.eg-shop-top__back {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--og-line-2, #e5e7eb);
  border-radius: 999px;
  background: #fff;
  color: var(--og-ink, #0f172a) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}
.eg-shop-top__back:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: var(--og-blue, #0066cc) !important;
}
.eg-shop-top__title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--og-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1 1 auto;
}
.eg-shop-top__actions {
  margin-left: auto;
  flex: none;
}
.eg-shop-top .og-lang {
  flex-shrink: 0;
}
.eg-shop-top,
.eg-shop-top__inner {
  overflow: visible;
}
.eg-shop-top .eg-shop-lang-dd .gsc-lang-dd__btn {
  min-height: 44px !important;
  padding: 0 18px !important;
  gap: 10px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  border: 1.5px solid rgba(15, 23, 42, .16) !important;
}
.eg-shop-top .eg-shop-lang-dd .gsc-lang-dd__label {
  max-width: 9.5em;
}
.eg-shop-top .eg-shop-lang-dd .gsc-lang-dd__chev {
  opacity: 0.85;
}
.eg-shop-top a { font-weight: 700; color: var(--og-blue); text-decoration: none; }
.eg-shop-wrap {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 80px;
}
.eg-shop-state { text-align: center; padding: 48px 16px; color: var(--og-muted); }
.eg-shop-hero {
  padding: 24px 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0066cc, #0a7ae0);
  color: #fff;
  box-shadow: var(--og-shadow-blue);
  margin-bottom: 24px;
}
.eg-shop-hero__cover {
  width: 100%;
  max-height: 220px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}
.eg-shop-hero__cover img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
}
.eg-shop-hero__badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
}
.eg-shop-hero h1 { margin: 10px 0 0; font-size: clamp(24px, 5vw, 34px); }
.eg-shop-hero__intro { margin: 10px 0 0; opacity: .92; line-height: 1.65; }
.eg-shop-hero__meta { margin: 10px 0 0; font-size: 12px; opacity: .75; }
.eg-shop-hero__badge.is-local {
  background: rgba(255, 193, 7, .22);
  color: #ffe08a;
  border: 1px solid rgba(255, 193, 7, .35);
}
.eg-shop-local-warn {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 193, 7, .14);
  border: 1px solid rgba(255, 193, 7, .35);
  color: #fff3cd;
  font-size: 13px;
  line-height: 1.55;
}
.eg-shop-shelf h2 { margin: 0 0 6px; font-size: 20px; }
.eg-shop-grid {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.eg-shop-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--og-line);
  background: #fff;
  box-shadow: var(--og-shadow);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.eg-shop-card.is-focus {
  border-color: rgba(11, 107, 203, .55);
  box-shadow: 0 0 0 3px rgba(11, 107, 203, .18);
}
.eg-shop-card__img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--og-soft-2);
}
.eg-shop-card__img--ph {
  display: grid;
  place-items: center;
  font-size: 36px;
}
.eg-shop-card__body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.eg-shop-card__body h3 { margin: 0; font-size: 16px; }
.eg-shop-card__price { margin: 0; color: var(--og-blue); font-weight: 900; }
.eg-shop-card__desc { margin: 0; font-size: 13px; color: var(--og-muted); line-height: 1.5; flex: 1; }
.eg-shop-order-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 18, 31, .45);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.eg-shop-order-backdrop.is-on { opacity: 1; pointer-events: auto; }
.eg-shop-order {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 110%);
  width: min(440px, 100%);
  max-height: 90vh;
  overflow: auto;
  z-index: 101;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 20px 18px 28px;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, .18);
  transition: transform .25s ease;
}
.eg-shop-order.is-on { transform: translate(-50%, 0); }
.eg-shop-order__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
  color: var(--og-muted);
}
.eg-shop-order__prod { margin: 0 0 12px; font-weight: 700; color: var(--og-blue); }
.egm-btn--block { width: 100%; justify-content: center; }

body.eg-shop-success-open { overflow: hidden; }
.eg-shop-ok-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(6, 18, 31, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.eg-shop-ok {
  position: relative;
  width: min(420px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  padding: 24px 20px 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.eg-shop-ok__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
  color: var(--og-muted);
}
.eg-shop-ok__badge {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #059669;
  font-size: 12px;
  font-weight: 700;
}
.eg-shop-ok h3 { margin: 0 0 10px; font-size: 20px; }
.eg-shop-ok p { margin: 0 0 8px; color: var(--og-muted); font-size: 14px; line-height: 1.5; }
.eg-shop-ok__cred {
  margin: 14px 0;
  padding: 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.eg-shop-ok__cred > span { display: block; font-size: 12px; color: var(--og-muted); margin-bottom: 4px; }
.eg-shop-ok__cred > strong { display: block; font-size: 18px; color: #0f172a; word-break: break-all; }
.eg-shop-ok__cred-label { margin-top: 10px !important; }
.eg-shop-ok__cred-row { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.eg-shop-ok__cred-row strong { flex: 1; font-size: 18px; }
.eg-shop-ok__copy {
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.eg-shop-ok .egm-btn { margin-top: 10px; }
.eg-shop-ok .egm-btn--ghost {
  background: transparent;
  color: var(--og-muted);
  border: 1px solid #e2e8f0;
}

@media (max-width: 640px) {
  .egm-product-form__grid { grid-template-columns: 1fr; }
  .eg-shop-grid { grid-template-columns: 1fr; }
}

/* —— 商家中心 · 图2 浅色仪表盘 —— */
.egm-page--dash {
  min-height: 100vh;
  background: #f0f2f5;
  color: #0f172a;
  font-family: "Noto Sans SC", "Inter", "PingFang SC", sans-serif;
  font-size: 17.5px;
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
}

/* 整站控制台：文字加大、加粗、提高对比 */
.egm-page--dash .egm-dash-header__name {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -.02em;
  color: #0f172a;
}
.egm-page--dash .egm-dash-header__back {
  font-size: 16px;
  font-weight: 800;
}
.egm-page--dash .egm-dash-lang .gsc-lang-dd__btn {
  font-size: 15px;
  font-weight: 800;
}
.egm-page--dash .egm-dash-user__meta b {
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
}
.egm-page--dash .egm-dash-user__meta small {
  font-size: 13.5px;
  font-weight: 700;
  color: #334155;
}
.egm-page--dash .egm-dash-logout {
  font-size: 15px;
  font-weight: 800;
  color: #1e2937;
}
.egm-page--dash .egm-dash-nav-group__title {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .05em;
  color: #475569;
}
.egm-page--dash .egm-dash-nav__item {
  min-height: 54px;
  font-size: 16.5px;
  font-weight: 800;
  color: #0f172a;
}
.egm-page--dash .egm-dash-nav__item:hover {
  color: #020617;
  font-weight: 900;
}
.egm-page--dash .egm-dash-nav__item.is-on {
  font-weight: 900;
}
.egm-page--dash .egm-dash-nav__icon {
  font-size: 20px;
  width: 26px;
}
.egm-page--dash .egm-dash-card h2,
.egm-page--dash .egm-dash-card__head h2 {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -.02em;
  color: #020617;
}
/* 深色英雄卡：覆盖整站加粗时的深色字 */
.egm-page--dash .egm-academy-hero,
.egm-page--dash .egm-wallet-hero,
.egm-page--dash .egm-sv-hero,
.egm-page--dash .egm-academy-featured {
  color: #e2e8f0;
}
.egm-page--dash .egm-academy-hero h2,
.egm-page--dash .egm-wallet-hero h2,
.egm-page--dash .egm-sv-hero h2,
.egm-page--dash .egm-dash-card.egm-academy-hero h2,
.egm-page--dash .egm-dash-card.egm-wallet-hero h2,
.egm-page--dash .egm-dash-card.egm-sv-hero h2 {
  color: #ffffff !important;
}
.egm-page--dash .egm-wallet-hero .hint,
.egm-page--dash .egm-sv-hero .hint {
  color: rgba(236, 254, 255, .9) !important;
}
.egm-page--dash .egm-academy-featured h3 {
  color: #ffffff !important;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem) !important;
}
.egm-page--dash .egm-academy-featured .egm-academy-card__desc {
  color: rgba(226, 232, 240, .92) !important;
  font-size: 15px !important;
  font-weight: 600;
}
.egm-page--dash .egm-academy-featured .egm-academy-card__features,
.egm-page--dash .egm-academy-featured .egm-academy-card__meta {
  color: rgba(226, 232, 240, .95) !important;
  font-size: 14.5px !important;
  font-weight: 700;
}
.egm-page--dash .egm-dash-card .hint,
.egm-page--dash .hint {
  font-size: 15.5px;
  font-weight: 700;
  color: #1e2937;
  line-height: 1.65;
}
.egm-page--dash .egm-kpi-card__label {
  font-size: 15px;
  font-weight: 800;
  color: #334155;
}
.egm-page--dash .egm-kpi-card__val {
  font-size: 34px;
  font-weight: 900;
  color: #020617;
}
.egm-page--dash .egm-kpi-card__delta {
  font-size: 14px;
  font-weight: 800;
}
.egm-page--dash .egm-btn {
  font-size: 15.5px;
  font-weight: 800;
}
.egm-page--dash .egm-btn--xs {
  font-size: 14px;
  font-weight: 800;
}
.egm-page--dash label,
.egm-page--dash .egm-field > span,
.egm-page--dash .egm-field span,
.egm-page--dash th,
.egm-page--dash td,
.egm-page--dash input,
.egm-page--dash select,
.egm-page--dash textarea,
.egm-page--dash .egm-input,
.egm-page--dash .egm-select {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}
.egm-page--dash b,
.egm-page--dash strong {
  font-weight: 900;
}
.egm-page--dash .egm-line-chart__legend {
  font-size: 14.5px;
  font-weight: 800;
  color: #1e2937;
}
.egm-page--dash .egm-academy-card h3,
.egm-page--dash .egm-academy-featured h3 {
  font-weight: 900;
  letter-spacing: -.02em;
  color: inherit;
}
.egm-page--dash .egm-academy-card h3 {
  font-size: 1.28rem;
  color: #020617;
}
.egm-page--dash .egm-academy-card__desc {
  font-size: 16px;
  font-weight: 700;
  color: #334155;
}
.egm-page--dash .egm-academy-card__features,
.egm-page--dash .egm-academy-card__meta {
  font-size: 15.5px;
  font-weight: 700;
  color: #0f172a;
}
.egm-page--dash .egm-academy-card__meta b {
  font-size: 1.28rem;
  font-weight: 900;
}
.egm-page--dash .egm-academy-card__badge,
.egm-page--dash .egm-academy-card__level {
  font-size: 13.5px;
  font-weight: 800;
}
.egm-page--dash .egm-academy-hero {
  color: #e2e8f0;
}
.egm-page--dash .egm-academy-hero h2,
.egm-page--dash .egm-dash-card.egm-academy-hero h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.05rem);
  font-weight: 900;
  color: #ffffff !important;
}
.egm-page--dash .egm-academy-hero__kicker {
  color: #7dd3fc !important;
  font-size: 13.5px !important;
  font-weight: 800;
}
.egm-page--dash .egm-academy-hero__lead,
.egm-page--dash .egm-academy-hero .hint {
  font-size: 16px;
  font-weight: 700;
  color: rgba(241, 245, 249, .96) !important;
}
.egm-page--dash .egm-academy-hero__chips li {
  color: #e0f2fe !important;
  font-size: 13.5px !important;
  font-weight: 800;
}
.egm-page--dash .egm-academy-catalog__sub {
  font-size: 16px;
  font-weight: 700;
  color: #1e2937;
}
.egm-page--dash .egm-product-item__body b,
.egm-page--dash .egm-order-item b {
  font-size: 17px;
  font-weight: 900;
}
.egm-page--dash .egm-product-item__price {
  font-size: 16px;
  font-weight: 900;
}
.egm-page--dash .egm-quick-action b,
.egm-page--dash .egm-quick-actions b {
  font-size: 16px;
  font-weight: 900;
}
.egm-page--dash .egm-quick-action small {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}

.egm-dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  height: 60px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.egm-dash-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.egm-dash-header__back {
  font-size: 13px;
  font-weight: 700;
  color: #0066cc;
  text-decoration: none;
  white-space: nowrap;
}

.egm-dash-header__logo {
  width: 36px;
  height: 36px;
  flex: none;
}

.egm-dash-header__name {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  white-space: nowrap;
}

.egm-dash-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.egm-dash-icon-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 16px;
}

.egm-dash-lang.gsc-lang-dd {
  flex-shrink: 0;
}
.egm-dash-lang .gsc-lang-dd__btn {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
}

.egm-dash-nav-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #0f172a;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.egm-dash-nav-back:hover {
  background: #f1f5f9;
  color: #0066cc;
}
.egm-dash-nav-back:active {
  transform: translateX(-1px);
  background: #e2e8f0;
}
.egm-dash-nav-back__icon {
  display: block;
  width: 22px;
  height: 22px;
}
.egm-dash-nav-back.is-home {
  opacity: .92;
}

.egm-dash-drawer-lang {
  width: 100%;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  position: relative;
  z-index: 40;
  overflow: visible;
}
.egm-dash-drawer-lang__label,
.og-drawer__lang-label {
  display: none !important;
}
.egm-dash-drawer-lang .gsc-lang-dd__btn {
  width: 100% !important;
  justify-content: space-between !important;
  min-height: 48px !important;
  padding: 0 16px !important;
  gap: 10px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #0066cc !important;
  text-decoration: none !important;
  border-radius: 10px !important;
  border: 1px solid #dbeafe !important;
  background: #eff6ff !important;
  box-shadow: none !important;
}
.egm-dash-drawer-lang .gsc-lang-dd__btn:hover,
.egm-dash-drawer-lang.gsc-lang-dd.is-open .gsc-lang-dd__btn,
.egm-dash-drawer-lang .gsc-lang-dd.is-open .gsc-lang-dd__btn {
  background: #dbeafe !important;
  border-color: #bfdbfe !important;
  color: #0052a3 !important;
}
.egm-dash-drawer-lang .gsc-lang-dd__label {
  max-width: none !important;
  gap: 10px !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}
.egm-dash-drawer-lang .gsc-lang-dd__flag {
  font-size: 20px !important;
}
.egm-dash-drawer-lang .gsc-lang-dd__chev {
  width: 18px !important;
  height: 18px !important;
  opacity: 1 !important;
  color: inherit !important;
  transition: transform .18s ease;
}
.egm-dash-drawer-lang.gsc-lang-dd.is-open .gsc-lang-dd__chev,
.egm-dash-drawer-lang .gsc-lang-dd.is-open .gsc-lang-dd__chev {
  transform: rotate(180deg);
}
.egm-dash-drawer-lang .gsc-lang-dd__panel {
  left: 0 !important;
  right: 0 !important;
  top: auto !important;
  bottom: calc(100% + 8px) !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  max-height: min(55vh, 360px) !important;
  z-index: 900 !important;
  box-shadow: 0 -12px 32px rgba(15, 23, 42, .16) !important;
}
.egm-dash-drawer-lang .gsc-lang-dd__panel a {
  padding: 12px 16px !important;
  font-size: 15px !important;
}
.egm-dash-header__actions {
  overflow: visible;
}

.egm-dash-user {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 280px;
}

.egm-dash-user__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a7ae0, #0066cc);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: none;
}

.egm-dash-user__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.egm-dash-user__meta b {
  font-size: 13px;
  color: #111827;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.egm-dash-user__meta small {
  font-size: 11px;
  color: #6b7280;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.egm-dash-user__meta small b { color: #0066cc; font-size: inherit; }

.egm-dash-logout {
  font-size: 13px;
  font-weight: 700;
  color: #6b7280;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
}

.egm-dash-logout:hover { color: #dc2626; border-color: #fecaca; }

.egm-dash-shell {
  display: flex;
  min-height: calc(100vh - 60px);
}

.egm-dash-sidebar {
  display: flex;
  flex-direction: column;
  width: 268px;
  flex: none;
  background: #fff;
  border-right: 1px solid #e5e7eb;
  padding: 14px 12px 0;
  position: sticky;
  top: 60px;
  align-self: stretch;
  height: calc(100vh - 60px);
  min-height: calc(100vh - 60px);
  max-height: calc(100vh - 60px);
  overflow: visible;
}

.egm-dash-sidebar__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 auto;
  min-height: 0;
  padding: 12px 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.egm-dash-nav-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.egm-dash-nav-group__title {
  margin: 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.egm-dash-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
}

.egm-dash-nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: #4b5563;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.egm-dash-nav__item:hover {
  background: #f8fafc;
  color: #111827;
  border-color: #e5e7eb;
}

.egm-dash-nav__item.is-on {
  background: #0066cc;
  color: #fff;
  font-weight: 700;
  border-color: #0066cc;
  box-shadow: 0 8px 18px rgba(0, 102, 204, .16);
}

.egm-dash-nav__icon { font-size: 16px; width: 22px; text-align: center; }

.egm-dash-main {
  flex: 1;
  min-width: 0;
  padding: 24px;
}

.egm-dash-panel { display: none; }
.egm-dash-panel.is-on { display: block; }

.egm-dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.egm-kpi-card {
  position: relative;
  padding: 18px 18px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
}

.egm-kpi-card__icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eff6ff;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.egm-kpi-card__label {
  margin: 0 0 8px;
  font-size: 13px;
  color: #6b7280;
}

.egm-kpi-card__val {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: #111827;
  line-height: 1.1;
}

.egm-kpi-card__delta {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
}

.egm-kpi-card__delta.is-up { color: #059669; }

.egm-dash-charts {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.egm-dash-charts--single { margin-bottom: 0; }

.egm-dash-card {
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
  margin-bottom: 16px;
}

.egm-dash-card h2 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 800;
  color: #111827;
}

.egm-dash-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.egm-dash-card__head h2 { margin: 0; }

.egm-account-name {
  display: inline-block;
  max-width: min(58%, 220px);
  padding: 6px 12px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #0052a3;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: none;
}

.egm-dash-card .hint {
  margin: 0 0 14px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.55;
}

.egm-badge--light {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
}

.egm-badge--light.is-warn {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #ea580c;
}

.egm-line-chart svg {
  width: 100%;
  height: 140px;
  display: block;
}

.egm-line-chart--tall svg { height: 200px; }

.egm-line-chart__legend {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  font-size: 12px;
  color: #6b7280;
}

.egm-line-chart__legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.egm-line-chart__legend i {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  display: inline-block;
}

.egm-donut-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.egm-donut {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(
    #0066cc 0 45%,
    #60a5fa 45% 75%,
    #f59e0b 75% 90%,
    #14b8a6 90% 100%
  );
  flex: none;
}

.egm-donut-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  min-width: 140px;
}

.egm-donut-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  color: #374151;
}

.egm-donut-legend i {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex: none;
}

.egm-donut-legend b { margin-left: auto; font-weight: 800; }

.egm-stat-row--light .egm-stat {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.egm-stat-row--light .egm-stat__label { color: #6b7280; }
.egm-stat-row--light .egm-stat b { color: #111827; }

.egm-steps--light .egm-step {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.egm-steps--light .egm-step h3 { color: #111827; }

.egm-steps--light .egm-step__no { color: #0066cc; }

.egm-kv--light .egm-kv__row {
  border-bottom-color: #e5e7eb;
}

.egm-kv--light .egm-kv__k { color: #6b7280; }
.egm-kv--light .egm-kv__v { color: #111827; }

.egm-list--light li {
  border-bottom-color: #e5e7eb;
  color: #374151;
}

.egm-order-list--light .egm-order-item {
  background: #f9fafb;
}

.egm-qr--light {
  text-align: center;
  padding: 16px;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.egm-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.egm-dash-card--wide { grid-column: 1 / -1; }

.egm-finance-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.egm-finance-preview > div {
  padding: 16px;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.egm-finance-preview span {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 6px;
}

.egm-finance-preview b {
  font-size: 20px;
  color: #111827;
}

/* 浅色仪表盘内：分享区 / 按钮覆盖深色默认 */
.egm-page--dash .egm-share-tab {
  border-color: #e5e7eb;
  background: #fff;
  color: #374151;
}

.egm-page--dash .egm-share-tab.is-on {
  border-color: #0066cc;
  background: #0066cc;
  color: #fff;
}

.egm-page--dash .egm-share-item {
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

.egm-page--dash .egm-share-item__title { color: #111827; }

.egm-page--dash .egm-style-chip {
  border-color: #d1d5db;
  background: #fff;
  color: #6b7280;
}

.egm-page--dash .egm-style-chip.is-on {
  border-color: #0066cc;
  background: #eff6ff;
  color: #0066cc;
}

.egm-page--dash .egm-share-item__copy { color: #6b7280; }

.egm-page--dash .egm-share-item__url {
  background: #fff;
  border-color: #d1d5db;
  color: #b45309;
}

.egm-page--dash .egm-btn {
  border-color: #d1d5db;
  background: #fff;
  color: #374151;
}

.egm-page--dash .egm-btn:hover {
  border-color: #0066cc;
  color: #0066cc;
}

.egm-page--dash .egm-btn--primary {
  border: 0;
  background: linear-gradient(135deg, #0a7ae0, #0066cc);
  color: #fff;
}

.egm-page--dash a.egm-btn.egm-btn--primary,
.egm-page--dash a.egm-btn.egm-btn--primary:link,
.egm-page--dash a.egm-btn.egm-btn--primary:visited,
.egm-page--dash a.egm-btn.egm-btn--primary:hover,
.egm-page--dash a.egm-btn.egm-btn--primary:active,
.egm-page--dash a.egm-btn.egm-btn--primary:focus-visible,
.egm-page--dash button.egm-btn.egm-btn--primary,
.egm-page--dash button.egm-btn.egm-btn--primary:hover,
.egm-page--dash button.egm-btn.egm-btn--primary:active,
.egm-page--dash button.egm-btn.egm-btn--primary:focus-visible {
  color: #fff;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.egm-page--dash .egm-btn--primary:hover {
  filter: brightness(1.06);
}

.egm-page--dash .egm-btn--primary:active {
  filter: brightness(0.94);
  transform: translateY(1px);
}

.egm-page--dash .egm-btn--primary.is-navigating {
  opacity: 0.92;
  cursor: wait;
  pointer-events: none;
}

.egm-btn-spinner {
  flex: none;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: egm-btn-spin .65s linear infinite;
}

@keyframes egm-btn-spin {
  to { transform: rotate(360deg); }
}

.egm-page--dash .egm-share-item__tip { color: #059669; }

.egm-page--dash .egm-product-form {
  background: #f0f9ff;
  border-color: rgba(0, 102, 204, .22);
}

.egm-dash-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  color: #111827;
  cursor: pointer;
  flex: none;
  -webkit-tap-highlight-color: transparent;
}

.egm-dash-menu-btn__icon {
  width: 22px;
  height: 22px;
  display: block;
}

.egm-dash-drawer-foot {
  flex: none;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 0 calc(16px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #e5e7eb;
  background: #fff;
  position: relative;
  z-index: 30;
  overflow: visible;
}

.egm-dash-drawer-foot__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px;
}

.egm-dash-drawer-foot__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0a7ae0, #0066cc);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  flex: none;
}

.egm-dash-drawer-foot__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.egm-dash-drawer-foot__meta b {
  font-size: 14px;
  font-weight: 900;
  color: #111827;
}

.egm-dash-drawer-foot__meta small {
  font-size: 12px;
  color: #6b7280;
}

.egm-dash-drawer-head {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: -4px 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}

.egm-dash-drawer-head__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.egm-dash-drawer-head__logo {
  width: 36px;
  height: 36px;
  flex: none;
}

.egm-dash-drawer-head__name {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.egm-dash-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: #374151;
  cursor: pointer;
  flex: none;
  -webkit-tap-highlight-color: transparent;
}

.egm-dash-drawer-close svg {
  width: 20px;
  height: 20px;
  display: block;
}

.egm-dash-drawer-close:hover {
  border-color: #d1d5db;
  background: #f9fafb;
}

.egm-dash-drawer-foot__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: #0066cc;
  text-decoration: none;
  border-radius: 10px;
  margin: 0 0 0;
  margin-top: auto;
  border: 1px solid #dbeafe;
  background: #eff6ff;
}

.egm-dash-drawer-foot__link:hover {
  background: #dbeafe;
  border-color: #bfdbfe;
}

@media (min-width: 861px) {
  .egm-dash-drawer-head {
    display: none;
  }

  .egm-dash-drawer-foot {
    display: flex;
    margin-top: auto;
    padding-top: 14px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 1100px) {
  .egm-dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .egm-dash-charts { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .egm-dash-shell { flex-direction: column; }

  .egm-dash-mtabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 12px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 60px;
    z-index: 96;
  }

  .egm-dash-mtabs__item {
    flex: none;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #f9fafb;
    color: #374151;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
  }

  .egm-dash-mtabs__item.is-on {
    background: #0066cc;
    border-color: #0066cc;
    color: #fff;
  }

  .egm-publish-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .egm-btn--banner {
    width: 100%;
    justify-content: center;
  }

  .egm-dash-kpis--secondary,
  .egm-dash-panel[data-panel="overview"] .egm-dash-charts {
    display: none;
  }

  /* 手机端：官网改为三横杆菜单 */
  .egm-dash-header__back {
    display: none;
  }

  .egm-dash-menu-btn {
    display: inline-flex;
  }

  .egm-dash-sidebar {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    z-index: 1200;
    width: min(280px, 86vw);
    max-height: none;
    background: #fff;
    border-right: 1px solid #e5e7eb;
    border-bottom: 0;
    padding: 16px 12px 0;
    transform: translateX(-105%);
    transition: transform .24s ease;
    box-shadow: 8px 0 32px rgba(15, 23, 42, .12);
    overflow: visible;
  }

  .egm-dash-drawer-head {
    display: flex;
    flex-shrink: 0;
  }

  .egm-dash-shell.is-menu-open .egm-dash-sidebar {
    transform: translateX(0);
  }

  .egm-dash-drawer-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1190;
    background: rgba(15, 23, 42, .48);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .egm-dash-drawer-backdrop:not([hidden]) {
    display: block;
  }

  .egm-dash-nav {
    flex: none;
    flex-direction: column;
    overflow-y: visible;
    overflow-x: hidden;
    min-height: 0;
    gap: 4px;
  }

  .egm-dash-sidebar__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px 0 8px;
    -webkit-overflow-scrolling: touch;
  }

  .egm-dash-nav-group {
    gap: 6px;
  }

  body.egm-menu-open {
    overflow: hidden;
    touch-action: none;
  }

  body.egm-menu-open .egm-dash-bottom {
    visibility: hidden;
    pointer-events: none;
  }

  .egm-dash-nav__item {
    flex: none;
    white-space: normal;
    min-height: 48px;
    padding: 0 14px;
    width: 100%;
  }

  .egm-dash-main {
    padding: 12px 16px calc(88px + env(safe-area-inset-bottom, 0px));
  }

  .egm-dash-bottom {
    display: flex;
  }

  .egm-settings-grid { grid-template-columns: 1fr; }
  .egm-finance-preview { grid-template-columns: 1fr; }
  .egm-dash-user { display: none; }
}

.egm-dash-drawer-backdrop {
  display: none;
}

.egm-dash-mtabs {
  display: none;
}

.egm-publish-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0066cc, #0a7ae0);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 102, 204, .22);
}

.egm-publish-banner h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
}

.egm-publish-banner h2.egm-publish-banner__lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 800;
}

.egm-publish-banner p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .88);
}

.egm-btn--banner {
  min-height: 44px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 800;
  border-radius: 12px;
  background: #fff !important;
  color: #0066cc !important;
  flex: none;
}

.egm-btn--banner:hover {
  filter: brightness(1.04);
  color: #0052a3 !important;
}

.egm-step--link {
  width: 100%;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.egm-step--link:hover {
  border-color: #0066cc;
  background: #eff6ff;
}

.egm-dash-kpis--secondary {
  margin-top: 4px;
  opacity: .96;
}

.egm-quick-card { margin-bottom: 16px; }

.egm-dash-bottom {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  align-items: stretch;
  justify-content: space-around;
  gap: 2px;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 20px rgba(15, 23, 42, .06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.egm-dash-bottom__item {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 52px;
  padding: 4px 2px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #6b7280;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.egm-dash-bottom__icon {
  font-size: 18px;
  line-height: 1;
}

.egm-dash-bottom__item.is-on {
  color: #0066cc;
  background: #eff6ff;
}

.egm-dash-bottom__item:active {
  background: #dbeafe;
}

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

.egm-quick-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #f9fafb;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.egm-quick-action:hover {
  border-color: #0066cc;
  background: #eff6ff;
}

.egm-quick-action__icon { font-size: 22px; }

.egm-quick-action b {
  font-size: 14px;
  color: #111827;
}

.egm-quick-action small {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
}

.egm-product-count {
  font-size: 13px;
  font-weight: 700;
  color: #0066cc;
}

.egm-field--currency {
  position: relative;
}

.egm-currency-picker {
  position: relative;
}

.egm-currency-picker__trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--og-line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.egm-currency-picker__trigger:hover {
  border-color: #0066cc;
}

.egm-currency-picker.is-open .egm-currency-picker__trigger {
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, .12);
}

.egm-currency-picker__flag {
  font-size: 22px;
  line-height: 1;
  flex: none;
}

.egm-currency-picker__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.egm-currency-picker__text b {
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}

.egm-currency-picker__text small {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.2;
}

.egm-currency-picker__caret {
  color: #9ca3af;
  font-size: 12px;
  flex: none;
}

.egm-currency-picker__list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 30;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .12);
  overflow: hidden;
}

.egm-currency-picker__option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid #f3f4f6;
  background: #fff;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.egm-currency-picker__option:last-child {
  border-bottom: 0;
}

.egm-currency-picker__option:hover,
.egm-currency-picker__option.is-on {
  background: #f0f9ff;
}

.egm-currency-picker__option .egm-currency-picker__text b {
  font-size: 15px;
}

@media (max-width: 720px) {
  .egm-quick-actions { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .egm-dash-kpis { grid-template-columns: 1fr; }
  .egm-dash-header { padding: 0 12px; }
  .egm-dash-header__name { display: none; }
}

/* ===== 实体店增收新模式 landing ===== */
.egm-store-profit-page {
  background: #f0f2f5;
  color: var(--og-ink, #1a1a2e);
}

.egm-sp-wrap {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.egm-sp-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  overflow: visible;
}

.egm-sp-top__inner {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  overflow: visible;
}

.egm-sp-top__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--og-ink, #1a1a2e);
  text-decoration: none;
}

.egm-sp-top__logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0a7ae0, #0066cc);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 14px;
}

.egm-sp-top__nav {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: visible;
}

.egm-sp-top__back {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #0f172a !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
}
.egm-sp-top__back:hover {
  border-color: #cbd5e1;
  color: var(--og-blue, #0066cc) !important;
}

.egm-sp-top__nav .gsc-lang-dd__btn {
  min-height: 44px !important;
  padding: 0 18px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  border: 1.5px solid rgba(15, 23, 42, .16) !important;
}

.egm-sp-top__nav a {
  color: var(--og-muted, #64748b);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.egm-sp-top__nav a:hover { color: var(--og-blue, #0066cc); }

.egm-sp-top__cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--og-blue, #0066cc);
  color: #fff !important;
}

.egm-sp-main { padding-bottom: 0; }

.egm-sp-hero {
  padding: 48px 0 56px;
  background: linear-gradient(145deg, #004999 0%, #0066cc 45%, #0a7ae0 100%);
  color: #fff;
  text-align: center;
}

.egm-sp-hero__tag {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}

.egm-sp-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(26px, 4.5vw, 40px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -.02em;
}

.egm-sp-hero__sub {
  margin: 0 auto;
  max-width: 640px;
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.65;
  opacity: .92;
}

.egm-sp-section {
  padding: 48px 0;
}

.egm-sp-section h2 {
  margin: 0 0 24px;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 900;
  line-height: 1.35;
}

.egm-sp-section__title--sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.egm-sp-split {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 32px;
  align-items: center;
}

.egm-sp-pain__illus {
  aspect-ratio: 1;
  border-radius: 20px;
  background: linear-gradient(160deg, #fff 0%, #e8f2ff 100%);
  border: 1px solid rgba(0, 102, 204, .12);
  box-shadow: 0 12px 40px rgba(0, 102, 204, .1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 64px;
}

.egm-sp-pain__illus small {
  font-size: 14px;
  font-weight: 700;
  color: var(--og-muted, #64748b);
}

.egm-sp-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.egm-sp-list--pain li,
.egm-sp-list--support li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  font-size: 15px;
  line-height: 1.6;
}

.egm-sp-list--pain li:last-child,
.egm-sp-list--support li:last-child { border-bottom: none; }

.egm-sp-list--pain li::before {
  content: "·";
  position: absolute;
  left: 8px;
  color: #dc2626;
  font-weight: 900;
  font-size: 20px;
  line-height: 1.2;
}

.egm-sp-list--support li {
  counter-increment: sp-support;
  padding-left: 36px;
}

.egm-sp-list--support { counter-reset: sp-support; }

.egm-sp-list--support li::before {
  content: counter(sp-support);
  position: absolute;
  left: 0;
  top: 14px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--og-blue, #0066cc);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.egm-sp-logic {
  background: #fff;
}

.egm-sp-logic__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.egm-sp-logic__card {
  padding: 24px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid rgba(0, 102, 204, .1);
}

.egm-sp-logic__num {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--og-blue, #0066cc);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 12px;
}

.egm-sp-logic__card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 900;
  color: var(--og-blue, #0066cc);
}

.egm-sp-logic__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--og-ink-2, #334155);
}

.egm-sp-logic__foot {
  margin: 0;
  padding: 16px 20px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(0, 102, 204, .08), rgba(255, 153, 0, .1));
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  color: var(--og-ink, #1a1a2e);
}

.egm-sp-adv__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.egm-sp-adv__card {
  padding: 22px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
}

.egm-sp-adv__icon { font-size: 22px; display: block; margin-bottom: 10px; }

.egm-sp-adv__card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 900;
}

.egm-sp-adv__card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--og-muted, #64748b);
}

.egm-sp-compare__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.egm-sp-compare__card {
  position: relative;
  padding: 28px 24px;
  border-radius: 20px;
  background: #fff;
  border: 2px solid rgba(0, 0, 0, .06);
}

.egm-sp-compare__card--new {
  border-color: var(--og-blue, #0066cc);
  background: linear-gradient(180deg, #fff 0%, #f0f7ff 100%);
  box-shadow: 0 16px 48px rgba(0, 102, 204, .15);
}

.egm-sp-compare__badge {
  position: absolute;
  top: -12px;
  right: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #ff9900;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.egm-sp-compare__card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 900;
}

.egm-sp-compare__desc {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--og-muted, #64748b);
}

.egm-sp-compare__nums {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.egm-sp-compare__nums div {
  padding: 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, .03);
  text-align: center;
}

.egm-sp-compare__card--new .egm-sp-compare__nums div {
  background: rgba(0, 102, 204, .08);
}

.egm-sp-compare__nums span {
  display: block;
  font-size: 12px;
  color: var(--og-muted, #64748b);
  margin-bottom: 4px;
}

.egm-sp-compare__nums b {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 900;
  color: var(--og-ink, #1a1a2e);
}

.egm-sp-compare__card--new .egm-sp-compare__nums b {
  color: var(--og-blue, #0066cc);
}

.egm-sp-compare__nums b small {
  font-size: .55em;
  font-weight: 800;
}

.egm-sp-compare__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--og-muted, #64748b);
}

.egm-sp-support {
  background: #fff;
}

.egm-sp-cta {
  padding: 56px 0 64px;
  background: linear-gradient(135deg, #004999, #0066cc);
  color: #fff;
  text-align: center;
}

.egm-sp-cta h2 {
  margin: 0 0 24px;
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 900;
  color: #fff;
}

.egm-sp-cta__btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 999px;
  background: #fff;
  color: var(--og-blue, #0066cc) !important;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
  transition: transform .15s ease;
}

.egm-sp-cta__btn:hover { transform: translateY(-2px); }

.egm-sp-cta__note {
  margin: 16px 0 0;
  font-size: 13px;
  opacity: .88;
}

.egm-sp-footer {
  padding: 20px 0 32px;
  background: #e8eaed;
  font-size: 13px;
  color: var(--og-muted, #64748b);
}

.egm-sp-footer .egm-sp-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.egm-sp-footer a {
  color: var(--og-blue, #0066cc);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 900px) {
  .egm-sp-adv__grid { grid-template-columns: repeat(2, 1fr); }
  .egm-sp-split { grid-template-columns: 1fr; }
  .egm-sp-pain__illus { max-width: 280px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .egm-sp-logic__grid,
  .egm-sp-compare__grid,
  .egm-sp-adv__grid { grid-template-columns: 1fr; }
  .egm-sp-hero { padding: 36px 0 44px; }
  .egm-sp-section { padding: 36px 0; }
}

/* —— 试用倒计时 / 在线收益台 —— */
.egm-trial-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 18px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 102, 204, .14), rgba(255, 153, 0, .10));
  border: 1px solid rgba(0, 102, 204, .18);
}

.egm-trial-banner__kicker {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #0066cc;
}

.egm-trial-banner__countdown {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 900;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.egm-stat__sub {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}

.egm-billing-countdown {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 800;
  color: #0f172a;
  margin: 8px 0 10px;
  font-variant-numeric: tabular-nums;
}

.egm-billing-pay-cta {
  margin: 14px 0 4px;
}

.egm-billing-pay-cta .egm-btn {
  text-decoration: none;
}

.egm-billing-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.egm-billing-stat {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(15, 23, 42, .08);
}

.egm-billing-stat span {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 6px;
}

.egm-billing-stat b {
  font-size: 1.15rem;
  color: #0f172a;
}

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

.egm-plan-card {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(15, 23, 42, .08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.egm-plan-card.is-current {
  border-color: rgba(0, 102, 204, .35);
  box-shadow: 0 0 0 1px rgba(0, 102, 204, .12);
}

.egm-plan-card h3 {
  margin: 0;
  font-size: 1rem;
}

.egm-plan-card__price b {
  font-size: 1.35rem;
  color: #0066cc;
}

.egm-plan-card .egm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  font-size: 14px;
}

.egm-plan-card .egm-btn--primary.is-navigating {
  gap: 0;
}

.egm-billing-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.egm-billing-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(15, 23, 42, .08);
}

.egm-billing-list li small {
  display: block;
  color: #94a3b8;
  font-size: 12px;
  margin-top: 2px;
}

.egm-billing-list__status {
  font-size: 12px;
  font-weight: 700;
  color: #f59e0b;
}

.egm-billing-list__status.is-paid {
  color: #16a34a;
}

@media (max-width: 760px) {
  .egm-trial-banner {
    flex-direction: column;
    align-items: stretch;
  }
  .egm-billing-stats,
  .egm-plan-grid {
    grid-template-columns: 1fr;
  }
}

/* —— 订阅结账页（参考 Stripe / Cursor · PC+手机 · 信任感） —— */
.eg-bill-checkout-page {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: #eef1f6;
  font-family: "Inter", "Noto Sans SC", "PingFang SC", sans-serif;
}

.eg-bill-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: 100vh;
  min-height: 100dvh;
}

.eg-bill-checkout__summary {
  position: relative;
  color: #f8fafc;
  padding: 28px clamp(24px, 4vw, 56px);
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: visible;
  background: linear-gradient(155deg, #04101f 0%, #0a2540 42%, #0c3d6e 100%);
}

.eg-bill-checkout__summary-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(0, 102, 204, .35), transparent 55%),
    radial-gradient(ellipse 60% 45% at 100% 100%, rgba(255, 153, 0, .12), transparent 50%),
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: auto, auto, 32px 32px, 32px 32px;
  pointer-events: none;
}

.eg-bill-checkout__summary-inner {
  position: relative;
  z-index: 1;
  max-width: 440px;
  margin: 0 auto;
  overflow: visible;
}

.eg-bill-checkout__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 28px;
}

.eg-bill-checkout__back:hover { color: #e2e8f0; }

.eg-bill-checkout__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}

.eg-bill-checkout__brand b {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.eg-bill-checkout__brand small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
  font-weight: 500;
}

.eg-bill-checkout__logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0a7ae0, #0066cc);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 8px 24px rgba(0, 102, 204, .35);
}

.eg-bill-checkout__kicker {
  margin: 0 0 8px;
  font-size: 15px;
  color: #94a3b8;
}

.eg-bill-checkout__price-line {
  margin: 0 0 22px;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #ffffff;
}

.eg-bill-checkout__currency {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  margin-bottom: 10px;
}

.eg-bill-checkout__currency-btn {
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.eg-bill-checkout__currency-btn.is-on {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}

.eg-bill-checkout__fx {
  margin: 0 0 18px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

.eg-bill-checkout__details {
  margin-bottom: 18px;
  font-size: 14px;
  color: #cbd5e1;
}

.eg-bill-checkout__details summary {
  cursor: pointer;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 8px;
}

.eg-bill-checkout__features {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.6;
}

.eg-bill-checkout__plan-card {
  margin: 18px 0;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
}

.eg-bill-checkout__plan-card-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
}

.eg-bill-checkout__plan-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0a7ae0, #0066cc);
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
}

.eg-bill-checkout__plan-card-head b {
  display: block;
  font-size: 14px;
}

.eg-bill-checkout__plan-card-head small {
  display: block;
  margin-top: 4px;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.4;
}

.eg-bill-checkout__plan-card-price {
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}

.eg-bill-checkout__annual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 20px;
  cursor: pointer;
  font-size: 13px;
}

.eg-bill-checkout__annual input {
  width: 42px;
  height: 24px;
  accent-color: #0066cc;
  flex-shrink: 0;
}

.eg-bill-checkout__annual-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.eg-bill-checkout__save {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(52, 199, 89, .18);
  color: #86efac;
  font-size: 11px;
  font-weight: 800;
}

.eg-bill-checkout__annual-price {
  color: #94a3b8;
  font-size: 12px;
  white-space: nowrap;
}

.eg-bill-checkout__totals {
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.eg-bill-checkout__totals > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: #94a3b8;
}

.eg-bill-checkout__totals dd {
  margin: 0;
  color: #e2e8f0;
  font-weight: 600;
}

.eg-bill-checkout__totals-due {
  margin-top: 6px;
  padding-top: 12px !important;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 15px !important;
}

.eg-bill-checkout__totals-due dt,
.eg-bill-checkout__totals-due dd {
  color: #fff !important;
  font-weight: 800 !important;
}

.eg-bill-checkout__main {
  background: #eef1f6;
  padding: 32px clamp(20px, 4vw, 48px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.eg-bill-checkout__main-inner {
  width: min(520px, 100%);
}

.eg-bill-checkout__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.eg-bill-checkout__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e2e8f0;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.eg-bill-checkout__trust-item svg {
  color: #16a34a;
  flex-shrink: 0;
}

.eg-bill-checkout__card {
  background: #fff;
  border-radius: 20px;
  padding: clamp(20px, 4vw, 28px);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, .04),
    0 12px 40px rgba(15, 23, 42, .08);
  border: 1px solid rgba(255, 255, 255, .8);
}

.eg-bill-checkout__mobile-summary {
  display: none;
  padding: 16px 18px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0a2540, #0066cc);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 8px 24px rgba(0, 102, 204, .25);
}

.eg-bill-checkout__section h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.eg-bill-checkout__section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.eg-bill-checkout__secure-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 11px;
  font-weight: 800;
}

.eg-bill-checkout__field input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 15px;
  transition: border-color .15s, box-shadow .15s;
}

.eg-bill-checkout__field input:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, .12);
}

.eg-bill-checkout__methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eg-bill-checkout__method {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 2px solid #e8edf3;
  cursor: pointer;
  background: #fff;
  transition: border-color .15s, box-shadow .15s, background .15s;
}

.eg-bill-checkout__method:hover {
  border-color: #cbd5e1;
  background: #fafbfc;
}

.eg-bill-checkout__method.is-on {
  border-color: #0066cc;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
  box-shadow: 0 4px 16px rgba(0, 102, 204, .1);
}

.eg-bill-checkout__method input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.eg-bill-checkout__method-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  flex-shrink: 0;
  position: relative;
}

.eg-bill-checkout__method.is-on .eg-bill-checkout__method-radio {
  border-color: #0066cc;
}

.eg-bill-checkout__method.is-on .eg-bill-checkout__method-radio::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #0066cc;
}

.eg-bill-checkout__method-brand {
  width: 48px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}

.eg-bill-checkout__method-brand--card {
  background: linear-gradient(135deg, #1e293b, #334155);
  gap: 2px;
  grid-auto-flow: column;
  padding: 0 4px;
  width: 52px;
}

.eg-pay-visa,
.eg-pay-mc {
  font-style: normal;
  font-size: 8px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.02em;
}

.eg-pay-mc { opacity: .85; font-size: 7px; }

.eg-pay-amex {
  font-style: normal;
  font-size: 7px;
  font-weight: 900;
  color: #fff;
  opacity: .9;
}

.eg-bill-checkout__method-brand--wechat {
  background: #07c160;
}

.eg-bill-checkout__method-brand--alipay {
  background: #1677ff;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.eg-bill-checkout__method-brand--apple {
  background: #000;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.05 20.28c-.98.95-2.05.88-3.08.4-1.09-.5-2.08-.48-3.24 0-1.44.62-2.2.44-3.06-.4C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.8 1.18-.24 2.31-.93 3.57-.84 1.51.12 2.65.72 3.4 1.8-3.12 1.87-2.38 5.98.48 7.13-.57 1.5-1.31 2.99-2.54 4.09l.01-.01zM12.03 7.25c-.15-2.23 1.66-4.07 3.74-4.25.29 2.58-2.34 4.5-3.74 4.25z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px;
}

.eg-bill-checkout__method-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.eg-bill-checkout__method-label {
  font-weight: 800;
  font-size: 15px;
  color: #0f172a;
}

.eg-bill-checkout__method-desc {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.eg-bill-checkout__method-badge {
  padding: 4px 8px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.eg-bill-checkout__more-toggle {
  width: 100%;
  margin-top: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 2px solid #e2e8f0;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  transition: border-color .15s, box-shadow .15s;
}

.eg-bill-checkout__more-toggle:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
}

.eg-bill-checkout__more-toggle.is-open {
  border-color: #0066cc;
  background: #f8fbff;
}

.eg-bill-checkout__more-toggle.has-selection:not(.is-open) {
  border-color: #93c5fd;
  background: #eff6ff;
}

.eg-bill-checkout__more-toggle-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-weight: 800;
  font-size: 14px;
  color: #0f172a;
}

.eg-bill-checkout__more-toggle-text small {
  font-weight: 600;
  font-size: 11px;
  color: #64748b;
}

.eg-bill-checkout__more-chev {
  flex-shrink: 0;
  color: #64748b;
  transition: transform .2s ease;
}

.eg-bill-checkout__more-toggle.is-open .eg-bill-checkout__more-chev {
  transform: rotate(180deg);
  color: #0066cc;
}

#egBillMorePayMethods.eg-bill-checkout__methods--more {
  display: none !important;
  margin-top: 10px;
  flex-direction: column;
}

#egBillMorePayMethods.eg-bill-checkout__methods--more.is-open {
  display: flex !important;
  animation: egBillMoreIn .22s ease;
}

@keyframes egBillMoreIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.eg-bill-checkout__method-brand--google {
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #4285f4;
  font-weight: 900;
  font-size: 9px;
  font-family: "Product Sans", "Inter", sans-serif;
  grid-auto-flow: column;
  gap: 1px;
  padding: 0 4px;
}

.eg-bill-checkout__method-brand--google i {
  font-style: normal;
}

.eg-bill-checkout__method-brand--google i:last-child {
  color: #5f6368;
  font-weight: 700;
}

.eg-bill-checkout__method-brand--unionpay {
  background: linear-gradient(135deg, #e2231a, #c8161d);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
}

.eg-bill-checkout__method-brand--link {
  background: linear-gradient(135deg, #00d66f, #00b35c);
  color: #fff;
  font-weight: 900;
  font-size: 16px;
}

.eg-bill-checkout__pay-hint {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  font-size: 12px;
  line-height: 1.55;
  color: #166534;
}

.eg-bill-checkout__pay-hint svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: #16a34a;
}

.eg-bill-checkout__dropin {
  margin-top: 16px;
  min-height: 120px;
}

.eg-bill-checkout__company {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 18px;
  font-size: 13px;
  color: #475569;
  cursor: pointer;
}

.eg-bill-checkout__company input {
  width: 16px;
  height: 16px;
  accent-color: #0066cc;
}

.eg-bill-checkout__submit {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 16px 22px;
  background: linear-gradient(135deg, #0052a3 0%, #0066cc 50%, #0a7ae0 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 102, 204, .35);
  transition: transform .12s, box-shadow .12s;
}

.eg-bill-checkout__submit:disabled {
  opacity: .7;
  cursor: wait;
  transform: none;
}

.eg-bill-checkout__submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 102, 204, .4);
}

.eg-bill-checkout__legal {
  margin: 14px 0 0;
  font-size: 11px;
  line-height: 1.55;
  color: #64748b;
}

.eg-bill-checkout__error {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 13px;
}

.eg-bill-checkout__footer {
  margin-top: 20px;
  padding-top: 0;
  border-top: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  font-size: 12px;
  color: #64748b;
}

.eg-bill-checkout__footer-sep { color: #cbd5e1; }

.eg-bill-checkout__footer a {
  color: #64748b;
  text-decoration: none;
}

.eg-bill-checkout__footer a:hover { color: #0066cc; }

.eg-bill-checkout__powered b { color: #0066cc; font-weight: 800; }

.eg-bill-checkout__field span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
}

.eg-bill-checkout__section {
  margin-bottom: 24px;
}

.eg-bill-checkout__section--pay {
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .eg-bill-checkout {
    grid-template-columns: 1fr;
  }

  .eg-bill-checkout__summary {
    position: relative;
    min-height: auto;
    padding-bottom: 28px;
  }

  .eg-bill-checkout__summary-inner {
    max-width: none;
  }

  .eg-bill-checkout__details[open] + .eg-bill-checkout__plan-card,
  .eg-bill-checkout__plan-card,
  .eg-bill-checkout__annual,
  .eg-bill-checkout__totals {
    display: none;
  }

  .eg-bill-checkout__mobile-summary {
    display: block;
  }

  .eg-bill-checkout__trust {
    justify-content: center;
  }

  .eg-bill-checkout__trust-item {
    font-size: 10px;
    padding: 6px 10px;
  }

  .eg-bill-checkout__card {
    border-radius: 16px;
    padding: 18px;
  }

  .eg-bill-checkout__main {
    padding-top: 12px;
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 901px) {
  .eg-bill-checkout__details summary {
    display: none;
  }

  .eg-bill-checkout__details .eg-bill-checkout__features {
    display: none;
  }
}

/* —— 易全球商学院 —— */
.egm-academy-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #0b1f3a 0%, #0c4a6e 48%, #0369a1 100%);
  color: #e2e8f0;
  border: 0;
  padding: 22px 22px 20px;
}

.egm-academy-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(56, 189, 248, .28), transparent 55%),
    radial-gradient(55% 70% at 0% 100%, rgba(14, 165, 233, .18), transparent 50%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 18px,
      rgba(255, 255, 255, .015) 18px,
      rgba(255, 255, 255, .015) 19px
    );
}

.egm-academy-hero__body {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.egm-academy-hero__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 12px;
}

.egm-academy-hero__mark {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: "Inter", "Noto Sans SC", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: #0b1f3a;
  background: linear-gradient(145deg, #e0f2fe, #38bdf8 55%, #0284c7);
  box-shadow: 0 10px 24px rgba(2, 132, 199, .35);
}

.egm-academy-hero__kicker {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7dd3fc;
}

.egm-academy-hero h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.egm-academy-hero__lead {
  margin: 0 0 14px;
  color: rgba(226, 232, 240, .88);
  font-size: 14px;
  line-height: 1.55;
}

.egm-academy-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.egm-academy-hero__chips li {
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #e0f2fe;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(125, 211, 252, .28);
}

.egm-academy-hero .hint {
  color: rgba(226, 232, 240, .82);
}

.egm-academy-catalog {
  padding-top: 18px;
}

.egm-academy-catalog__head {
  align-items: flex-start;
  margin-bottom: 4px;
}

.egm-academy-catalog__sub {
  margin: 4px 0 0;
}

#egmAcademyTip {
  margin: 0 0 10px;
  color: #64748b;
}

#egmAcademyTip.is-ok {
  color: #059669;
}

#egmAcademyTip.is-warn {
  color: #b45309;
}

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

.egm-academy-card__mv {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  margin-top: -2px;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

.egm-academy-card.is-featured .egm-academy-card__mv {
  color: #64748b;
}

.egm-academy-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.egm-academy-card:hover {
  transform: translateY(-2px);
  border-color: rgba(2, 132, 199, .28);
  box-shadow: 0 14px 32px rgba(15, 23, 42, .08);
}

.egm-academy-card.is-featured {
  border-color: rgba(0, 102, 204, .35);
  box-shadow: 0 0 0 1px rgba(0, 102, 204, .12), 0 12px 28px rgba(0, 102, 204, .08);
}

.egm-academy-card.is-owned {
  background: #f8fafc;
}

.egm-academy-card__cover {
  display: block;
  width: calc(100% + 0px);
  margin: -18px -18px 14px;
  height: 148px;
  object-fit: cover;
  background: #0f172a;
}

.egm-academy-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.egm-academy-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 102, 204, .1);
  color: #0066cc;
  font-size: 12px;
  font-weight: 900;
}

.egm-academy-card__level {
  font-size: 13px;
  color: #475569;
  font-weight: 800;
}

.egm-academy-card h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.35;
  font-weight: 900;
  color: #0f172a;
}

.egm-academy-card__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 600;
  color: #334155;
  min-height: 2.4em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.egm-academy-card__features {
  margin: 0;
  padding: 0 0 0 1.1em;
  color: #0f172a;
  font-size: 14.5px;
  line-height: 1.6;
  font-weight: 600;
  flex: 1;
}

.egm-academy-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: #64748b;
}

.egm-academy-card__meta b {
  font-size: 1.05rem;
  color: #0066cc;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  text-align: right;
}

.egm-academy-card .egm-btn {
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
}

.egm-academy-card__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  text-align: center;
  width: 100%;
}

.egm-academy-card__actions .egm-btn {
  margin-top: 0;
  width: 100%;
  max-width: 280px;
}

.egm-academy-card__detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  font-size: 13px;
  font-weight: 700;
  color: #0066cc;
  text-decoration: none;
  text-align: center;
}

.egm-academy-card__detail:hover {
  text-decoration: underline;
  color: #004a99;
}

.egm-academy-featured-wrap {
  margin: 14px 0 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.egm-academy-featured {
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(14, 165, 233, .16), transparent 50%),
    linear-gradient(160deg, #0b1220 0%, #0f2744 55%, #0b3d6b 100%);
  color: #e2e8f0;
  border: 1px solid rgba(125, 211, 252, .22);
  box-shadow: 0 16px 40px rgba(15, 23, 42, .18);
}

.egm-academy-featured__cover {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.egm-academy-featured__body {
  padding: 20px 22px 22px;
}

.egm-academy-featured--alt {
  background:
    radial-gradient(90% 80% at 0% 0%, rgba(251, 191, 36, .14), transparent 50%),
    linear-gradient(160deg, #1c1917 0%, #292524 45%, #1e3a5f 100%);
  border-color: rgba(251, 191, 36, .28);
}

.egm-academy-featured--alt .egm-academy-card__badge {
  background: rgba(251, 191, 36, .18);
  color: #fbbf24;
}

.egm-academy-featured--alt .egm-academy-card__meta b,
.egm-academy-featured--alt .egm-academy-featured__mv,
.egm-academy-featured--alt .egm-academy-card__detail {
  color: #fcd34d;
}

.egm-academy-featured h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.35;
}

.egm-academy-featured .egm-academy-card__desc {
  color: rgba(226, 232, 240, .86);
  -webkit-line-clamp: 3;
  min-height: 0;
}

.egm-academy-featured .egm-academy-card__features {
  color: #cbd5e1;
}

.egm-academy-featured .egm-academy-card__meta {
  color: #94a3b8;
}

.egm-academy-featured .egm-academy-card__meta b {
  color: #7dd3fc;
  font-size: 1.2rem;
}

.egm-academy-featured .egm-academy-card__badge {
  background: rgba(125, 211, 252, .18);
  color: #7dd3fc;
}

.egm-academy-featured .egm-academy-card__level {
  color: #94a3b8;
}

.egm-academy-featured__mv {
  margin: 0;
  font-size: 12px;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.egm-academy-featured .egm-academy-card__actions {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.egm-academy-featured .egm-academy-card__actions .egm-btn {
  max-width: 320px;
}

.egm-academy-featured .egm-academy-card__detail {
  color: #7dd3fc;
}

.egm-academy-featured .egm-academy-card__detail:hover {
  color: #fff;
}

@media (max-width: 720px) {
  .egm-academy-hero__brand {
    align-items: flex-start;
  }
  .egm-academy-hero__mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
}

/* 课程详情页 */
.eg-acad-detail-page {
  min-height: 100vh;
  background: #f1f5f9;
  color: #0f172a;
}

.eg-acad-detail {
  max-width: 920px;
  margin: 0 auto;
  padding: 24px 16px calc(96px + env(safe-area-inset-bottom, 0px));
}

.eg-acad-detail__hero {
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(145deg, #0f172a 0%, #0b3d6b 100%);
  color: #e2e8f0;
  margin-bottom: 18px;
}

.eg-acad-detail__hero-cover {
  position: relative;
  min-height: 220px;
  max-height: 320px;
  overflow: hidden;
}

.eg-acad-detail__hero-cover-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 320px;
  object-fit: cover;
}

.eg-acad-detail__hero-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, .15), rgba(15, 23, 42, .55));
  pointer-events: none;
}

.eg-acad-detail__hero-copy {
  padding: 22px 24px 24px;
}

.eg-acad-detail__back {
  display: inline-block;
  margin-bottom: 14px;
  color: #7dd3fc;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
}

.eg-acad-detail__chips {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.eg-acad-detail__hero h1 {
  margin: 0 0 12px;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  font-size: clamp(1.55rem, 3.6vw, 2.15rem);
  line-height: 1.28;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.eg-acad-detail__desc,
.eg-acad-detail__note,
.eg-acad-detail__audience {
  margin: 0 0 12px;
  line-height: 1.75;
  font-size: 17.5px;
  font-weight: 700;
  color: rgba(248, 250, 252, .96) !important;
}

.eg-acad-detail__audience b {
  font-weight: 900;
  color: #fff !important;
}

.eg-acad-detail__mv {
  margin: 14px 0;
  font-size: 1.35rem;
  font-weight: 900;
  color: #7dd3fc !important;
}

.eg-acad-detail__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.eg-acad-detail__cta .egm-btn--primary {
  color: #fff;
}

.eg-acad-detail__cta .egm-academy-card__detail {
  color: #7dd3fc;
}

.eg-acad-detail__body {
  display: grid;
  gap: 14px;
}

.eg-acad-detail__section {
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
}

.eg-acad-detail__section h2 {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
  line-height: 1.3;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.015em;
}

.eg-acad-detail__section > p {
  margin: 0 0 16px;
  line-height: 1.9;
  color: #0f172a;
  font-size: 18.5px;
  font-weight: 700;
}

.eg-acad-detail__section > ul {
  margin: 0;
  padding-left: 1.3em;
  line-height: 1.85;
  color: #0f172a;
  font-size: 17.5px;
  font-weight: 600;
}

.eg-acad-detail__sec-cover {
  margin: -4px -4px 16px;
  border-radius: 14px;
  overflow: hidden;
}

.eg-acad-detail__sec-cover-img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.eg-acad-detail__stage {
  margin-top: 18px;
  padding: 0 0 18px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, .08);
  overflow: hidden;
}

.eg-acad-detail__stage-cover {
  margin: 0 0 14px;
}

.eg-acad-detail__stage-cover-img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.eg-acad-detail__stage header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 18px 18px 12px;
}

.eg-acad-detail__stage-cover + header {
  margin-top: 0;
}

.eg-acad-detail__stage-no {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #0066cc;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.eg-acad-detail__stage h3 {
  margin: 0;
  font-size: clamp(1.12rem, 2.4vw, 1.32rem);
  line-height: 1.4;
  font-weight: 900;
  color: #0f172a;
}

.eg-acad-detail__label,
.eg-acad-detail__perks {
  margin: 10px 18px;
  font-size: 17px;
  line-height: 1.8;
  font-weight: 600;
  color: #1e293b;
}

.eg-acad-detail__label b,
.eg-acad-detail__perks b {
  color: #0f172a;
  font-weight: 900;
}

.eg-acad-detail__stage ul {
  margin: 10px 18px;
  padding-left: 1.25em;
  font-size: 17px;
  line-height: 1.8;
  font-weight: 600;
  color: #0f172a;
}

/* 游学图文卡 · 高端多图 */
.eg-acad-tours {
  display: grid;
  gap: 22px;
  margin: 20px 0 8px;
  grid-template-columns: 1fr;
}

.eg-acad-tour {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, .28);
  background: #0b1220;
  box-shadow:
    0 18px 48px rgba(15, 23, 42, .16),
    inset 0 0 0 1px rgba(255, 255, 255, .04);
}

.eg-acad-tour__mosaic {
  display: grid;
  gap: 6px;
  background: #020617;
}

.eg-acad-tour__hero {
  position: relative;
  min-height: 260px;
}

.eg-acad-tour__photo {
  display: block;
  width: 100%;
  object-fit: cover;
}

.eg-acad-tour__photo--hero {
  height: clamp(240px, 42vw, 360px);
}

.eg-acad-tour__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 6px;
}

.eg-acad-tour__thumb {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.eg-acad-tour__photo--thumb {
  height: clamp(96px, 18vw, 140px);
}

.eg-acad-tour__thumb figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, .82));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eg-acad-tour__visual-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 22px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, .82));
  color: #fff;
}

.eg-acad-tour__flag {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .4));
}

.eg-acad-tour__place {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fde68a;
}

.eg-acad-tour__body {
  padding: 18px 18px 20px;
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  color: #e2e8f0;
}

.eg-acad-tour__body h4 {
  margin: 0 0 10px;
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  line-height: 1.35;
  font-weight: 900;
  color: #fff;
}

.eg-acad-tour__body > p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 600;
  color: #cbd5e1;
}

.eg-acad-tour__body ul {
  margin: 0;
  padding-left: 1.2em;
  font-size: 15.5px;
  line-height: 1.75;
  font-weight: 600;
  color: #e2e8f0;
}

.eg-acad-tour__body li::marker {
  color: #d4af37;
}

.eg-acad-gallery {
  display: grid;
  gap: 14px;
  margin: 16px 0 8px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .eg-acad-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .eg-acad-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.eg-acad-gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, .22);
  background: #0b1220;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .14);
}

.eg-acad-gallery__photo {
  display: block;
  width: 100%;
  height: clamp(180px, 28vw, 240px);
  object-fit: cover;
  transition: transform .45s ease;
}

.eg-acad-gallery__item:hover .eg-acad-gallery__photo {
  transform: scale(1.04);
}

.eg-acad-gallery__item figcaption {
  padding: 12px 14px 14px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 800;
  color: #f8fafc;
  background: #0f172a;
}

.eg-acad-detail__hero-cover {
  min-height: 260px;
  max-height: 400px;
}

.eg-acad-detail__hero-cover-img {
  min-height: 260px;
  max-height: 400px;
}

.eg-acad-detail__sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid rgba(15, 23, 42, .08);
  backdrop-filter: blur(8px);
}

.eg-acad-detail__sticky b {
  display: block;
  font-size: 14px;
  color: #0f172a;
}

.eg-acad-detail__sticky small {
  color: #0066cc;
  font-weight: 800;
}

.eg-acad-detail__sticky .egm-btn {
  flex: none;
  color: #fff;
}

@media (max-width: 960px) {
  .egm-academy-grid,
  .egm-academy-featured-wrap {
    grid-template-columns: 1fr;
  }
}

/* EasyGlobal SaaS · 商家电子钱包面板（对标 AMINA 青绿资产卡） */

.egm-wallet-hero {
  position: relative;
  margin: 0 0 16px;
  padding: 22px 22px 20px;
  border-radius: 20px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(45, 212, 191, .28), transparent 55%),
    linear-gradient(155deg, #0f766e 0%, #0d9488 42%, #115e59 100%);
  color: #ecfeff;
  box-shadow: 0 18px 40px rgba(13, 148, 136, .28);
  overflow: hidden;
}

.egm-wallet-hero__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.egm-wallet-hero__kicker {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .82;
}

.egm-wallet-hero h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: rgba(236, 254, 255, .92);
}

.egm-wallet-eye {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
}

.egm-wallet-total {
  margin: 10px 0 6px;
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.egm-wallet-tip {
  margin: 0 0 16px !important;
  color: rgba(204, 251, 241, .88) !important;
}

.egm-wallet-tip.is-warn {
  color: #fef3c7 !important;
}

.egm-wallet-tip.is-ok {
  color: #a7f3d0 !important;
}

.egm-wallet-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.egm-wallet-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}

.egm-wallet-btn:hover {
  background: rgba(255, 255, 255, .2);
}

.egm-wallet-btn--primary {
  background: #fff;
  color: #0f766e;
  border-color: transparent;
}

.egm-wallet-btn--primary:hover {
  background: #f0fdfa;
  color: #0f766e;
}

.egm-wallet-tabs {
  display: flex;
  gap: 6px;
  margin: 0 0 14px;
  flex-wrap: wrap;
}

.egm-wallet-tab {
  border: 0;
  background: transparent;
  color: #64748b;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.egm-wallet-tab.is-on {
  background: rgba(13, 148, 136, .12);
  color: #0f766e;
}

.egm-wallet-pane { display: none; }
.egm-wallet-pane.is-on { display: block; }

.egm-wallet-currencies,
.egm-wallet-subs,
.egm-wallet-ledger {
  display: grid;
  gap: 10px;
}

.egm-wallet-cur,
.egm-wallet-sub,
.egm-wallet-led {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, .06);
}

.egm-wallet-cur__left,
.egm-wallet-sub > div:first-child,
.egm-wallet-led > div:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.egm-wallet-cur__left div,
.egm-wallet-sub > div:first-child,
.egm-wallet-led > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.egm-wallet-cur__flag {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .06);
  font-size: 18px;
  flex: none;
}

.egm-wallet-cur b,
.egm-wallet-sub b,
.egm-wallet-led b { color: #0f172a; font-size: 15px; }

.egm-wallet-cur small,
.egm-wallet-sub small,
.egm-wallet-led small { color: #64748b; font-size: 12px; }

.egm-wallet-cur__right,
.egm-wallet-led__amt {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: none;
}

.egm-wallet-led.is-in .egm-wallet-led__amt b { color: #0f766e; }
.egm-wallet-led.is-out .egm-wallet-led__amt b { color: #b45309; }
.egm-wallet-led.is-in .egm-wallet-led__amt b::before { content: "+"; }
.egm-wallet-led.is-out .egm-wallet-led__amt b::before { content: "-"; }

.egm-wallet-sub-toolbar { margin: 0 0 12px; }

.egm-btn--sm {
  padding: 8px 14px;
  font-size: 13px;
  min-height: 36px;
}

.egm-field select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, .12);
  background: #fff;
  font: inherit;
}

.egm-wallet-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, .45);
}
.egm-wallet-modal[hidden] { display: none !important; }

.egm-wallet-modal__card {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .28);
}
.egm-wallet-modal__card h3 {
  margin: 0 0 14px;
  font-size: 18px;
  color: #0f172a;
}
.egm-wallet-modal__card .egm-field { margin-bottom: 12px; }
.egm-wallet-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

.eg-wallet-topup-page,
.eg-wallet-checkout-page {
  min-height: 100vh;
  background:
    radial-gradient(80% 50% at 10% 0%, rgba(13, 148, 136, .12), transparent 55%),
    #f8fafc;
}
.eg-wallet-topup,
.eg-wallet-checkout {
  width: min(520px, calc(100% - 32px));
  margin: 32px auto 48px;
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .06);
  box-shadow: 0 16px 40px rgba(15, 23, 42, .06);
}
.eg-wallet-topup__back,
.eg-wallet-checkout__back {
  display: inline-block;
  margin-bottom: 12px;
  color: #0f766e;
  font-weight: 700;
  text-decoration: none;
}
.eg-wallet-topup h1,
.eg-wallet-checkout h1 {
  margin: 0 0 6px;
  font-size: 1.5rem;
  color: #0f172a;
}
.eg-wallet-topup .hint,
.eg-wallet-checkout .hint { margin: 0 0 18px; }
.eg-wallet-topup__presets {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
}
.eg-wallet-topup__preset {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, .1);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}
.eg-wallet-topup__preset.is-on {
  border-color: #0d9488;
  background: rgba(13, 148, 136, .1);
  color: #0f766e;
}
.eg-wallet-topup__preset--custom {
  font-size: 13px;
  letter-spacing: .02em;
}
.eg-wallet-topup__err,
.eg-wallet-checkout__err {
  color: #b45309;
  min-height: 1.2em;
  margin: 8px 0 0;
  font-size: 13px;
}
.eg-wallet-topup .egm-btn--primary,
.eg-wallet-checkout .egm-btn--primary {
  width: 100%;
  margin-top: 16px;
  background: #0d9488;
  border-color: #0d9488;
  color: #fff;
}
.eg-wallet-topup .egm-btn--primary:hover,
.eg-wallet-checkout .egm-btn--primary:hover {
  background: #0f766e;
  color: #fff;
}

.eg-wallet-checkout__kicker {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #0d9488;
}
.eg-wallet-checkout__card {
  margin: 0 0 18px;
  padding: 16px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, .06);
}
.eg-wallet-checkout__card h2 {
  margin: 0 0 12px;
  font-size: 14px;
  color: #64748b;
  font-weight: 700;
}
.eg-wallet-checkout__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 10px;
  font-size: 14px;
  color: #475569;
}
.eg-wallet-checkout__row b {
  color: #0f172a;
  font-weight: 700;
}
.eg-wallet-checkout__row--total {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed rgba(15, 23, 42, .12);
  font-size: 15px;
}
.eg-wallet-checkout__row--total b {
  font-size: 1.35rem;
  color: #0f766e;
}
.eg-wallet-checkout__amt-hint,
.eg-wallet-checkout__secure {
  margin: 6px 0 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
}
.eg-wallet-checkout__secure {
  margin-top: 14px;
  text-align: center;
}

@media (max-width: 640px) {
  .egm-wallet-actions { grid-template-columns: 1fr; }
  .eg-wallet-topup__presets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .eg-wallet-topup__preset--custom { grid-column: span 2; }
}

/* EasyGlobal SaaS · 员工中心（对标大黄蜂 OS 金蜂主题） */

.egm-staff-hero {
  margin: 0 0 16px;
  padding: 22px 22px 18px;
  border-radius: 20px;
  color: #1a1408;
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(255, 255, 255, .35), transparent 50%),
    linear-gradient(145deg, #ffd54a 0%, #f5b800 48%, #d4af37 100%);
  box-shadow: 0 16px 36px rgba(212, 175, 55, .28);
}

.egm-staff-hero__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.egm-staff-hero__kicker {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  opacity: .75;
}

.egm-staff-hero h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.egm-staff-hero__bee {
  font-size: 2rem;
  line-height: 1;
}

.egm-staff-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.egm-staff-stat {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .42);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.egm-staff-stat b {
  font-size: 1.15rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.egm-staff-stat span {
  font-size: 12px;
  font-weight: 600;
  opacity: .78;
}

.egm-staff-tip {
  margin: 0 0 12px !important;
  color: rgba(26, 20, 8, .78) !important;
}
.egm-staff-tip.is-warn { color: #7c2d12 !important; }
.egm-staff-tip.is-ok { color: #14532d !important; }

.egm-staff-quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.egm-staff-q {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(26, 20, 8, .12);
  color: #1a1408;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.egm-staff-q:hover { background: rgba(26, 20, 8, .18); }

.egm-staff-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
}

.egm-staff-tab {
  border: 0;
  background: transparent;
  color: #64748b;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.egm-staff-tab.is-on {
  background: rgba(212, 175, 55, .18);
  color: #92630a;
}

.egm-staff-tab--link {
  text-decoration: none;
  background: rgba(13, 148, 136, .12);
  color: #0f766e;
}
.egm-staff-tab--link:hover {
  background: rgba(13, 148, 136, .2);
  color: #0f766e;
}

a.egm-staff-q {
  text-decoration: none;
}

.egm-staff-pane { display: none; }
.egm-staff-pane.is-on { display: block; }

.egm-staff-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}

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

.egm-staff-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, .06);
}

.egm-staff-row.is-urgent {
  border-color: rgba(180, 83, 9, .35);
  background: #fff7ed;
}

.egm-staff-row > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.egm-staff-row b { color: #0f172a; font-size: 15px; }
.egm-staff-row small { color: #64748b; font-size: 12px; }

.egm-staff-row__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: none;
  justify-content: flex-end;
}

@media (max-width: 860px) {
  .egm-staff-stats,
  .egm-staff-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .egm-staff-row {
    flex-direction: column;
    align-items: stretch;
  }
  .egm-staff-row__acts { justify-content: flex-start; }
}

/* 员工 VISA 卡中心入口面板 */
.egm-sv-hero {
  margin: 0 0 16px;
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(155deg, #0f766e 0%, #14b8a6 50%, #0d9488 100%);
  color: #ecfeff;
  box-shadow: 0 16px 36px rgba(13, 148, 136, .28);
}
.egm-sv-hero__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.egm-sv-hero__kicker {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  opacity: .82;
}
.egm-sv-hero h2 { margin: 0 0 8px; font-size: 1.4rem; }
.egm-sv-hero .hint { margin: 0; color: rgba(236,254,255,.88) !important; }
.egm-sv-hero__logo {
  width: 56px; height: 56px; border-radius: 14px; background: #fff; flex: none;
}

/* 覆盖 .egm-page--dash a.egm-btn--primary 的白色字，避免白底白字看不见 */
.egm-page--dash .egm-sv-hero a.egm-btn.egm-btn--primary,
.egm-page--dash .egm-sv-hero a.egm-btn.egm-btn--primary:link,
.egm-page--dash .egm-sv-hero a.egm-btn.egm-btn--primary:visited,
.egm-page--dash .egm-sv-hero a.egm-btn.egm-btn--primary:hover,
.egm-page--dash .egm-sv-hero a.egm-btn.egm-btn--primary:active,
.egm-page--dash .egm-sv-hero a.egm-btn.egm-btn--primary:focus-visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff !important;
  border: 0 !important;
  color: #0f766e !important;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .12);
  filter: none;
}
.egm-page--dash .egm-sv-hero a.egm-btn.egm-btn--primary:hover {
  background: #ecfeff !important;
  color: #115e59 !important;
}

.egm-sv-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.egm-sv-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f0fdfa;
  border: 1px solid rgba(13,148,136,.15);
  color: #0f766e;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}
.egm-sv-links a:hover { background: #ccfbf1; }
