/**
 * Lifeast C 端默认主题 — 与 static-h5/index.html 视觉一致。
 * Vue 壳（首页 / 账户中心 / 子应用 product 壳）通过 data-client-theme 挂载同一套变量与组件类。
 */
:root,
[data-client-theme="lifeast-default"] {
  color-scheme: dark;
  --lifeast-brand-cyan: #00f2fe;
  --lifeast-brand-purple: #7000ff;
  --lifeast-brand-bg: #020617;

  --lifeast-color-bg: var(--lifeast-brand-bg);
  --lifeast-color-bg-elevated: rgba(15, 23, 42, 0.85);
  --lifeast-color-bg-card: rgba(15, 23, 42, 0.4);
  --lifeast-color-bg-muted: rgba(255, 255, 255, 0.05);
  --lifeast-color-bg-hover: rgba(255, 255, 255, 0.08);

  --lifeast-color-text: #e2e8f0;
  --lifeast-color-text-secondary: #94a3b8;
  --lifeast-color-text-muted: #64748b;
  --lifeast-color-text-heading: #f8fafc;
  --lifeast-color-text-inverse: #0f172a;

  --lifeast-color-border: rgba(255, 255, 255, 0.08);
  --lifeast-color-border-strong: rgba(255, 255, 255, 0.12);
  --lifeast-color-border-hover: rgba(0, 242, 254, 0.3);

  --lifeast-color-primary: #06b6d4;
  --lifeast-color-primary-strong: #0891b2;
  --lifeast-color-primary-text: var(--lifeast-brand-cyan);
  --lifeast-color-primary-bg: rgba(6, 182, 212, 0.12);
  --lifeast-color-primary-bg-soft: rgba(6, 182, 212, 0.08);

  --lifeast-color-error: #f87171;
  --lifeast-color-success: #34d399;
  --lifeast-color-success-bg: rgba(52, 211, 153, 0.12);
  --lifeast-color-success-border: rgba(52, 211, 153, 0.35);

  --lifeast-font-family: 'Inter', 'PingFang SC', sans-serif;
  --lifeast-radius-sm: 0.5rem;
  --lifeast-radius-md: 0.75rem;
  --lifeast-radius-lg: 1rem;
  --lifeast-radius-pill: 9999px;
  --lifeast-radius-shell: 1.75rem;

  --lifeast-shadow-card: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  --lifeast-shadow-menu: 0 10px 24px rgba(0, 0, 0, 0.35);
  --lifeast-blur-glass: blur(20px);

  /* 壳标题栏 — 浅白毛玻璃 + 边缘高光立体 */
  --lifeast-shell-header-bg: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.04) 48%,
    rgba(248, 250, 252, 0.06) 100%
  );
  --lifeast-shell-header-border: rgba(255, 255, 255, 0.12);
  --lifeast-shell-header-blur: blur(24px) saturate(150%);
  --lifeast-shell-header-shadow:
    0 4px 24px rgba(15, 23, 42, 0.12),
    0 1px 3px rgba(15, 23, 42, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03),
    inset 1px 0 0 rgba(255, 255, 255, 0.1),
    inset -1px 0 0 rgba(255, 255, 255, 0.05);
  --lifeast-shell-header-title: var(--lifeast-color-text-heading);
  --lifeast-shell-header-subtitle: var(--lifeast-color-text-secondary);
  --lifeast-shell-action-bg: rgba(255, 255, 255, 0.05);
  --lifeast-shell-action-border: rgba(255, 255, 255, 0.1);
  --lifeast-shell-action-text: var(--lifeast-color-text);
  --lifeast-shell-action-hover-bg: rgba(255, 255, 255, 0.1);
  --lifeast-shell-action-bar: var(--lifeast-color-text-secondary);
  /* 壳标题栏「产品中心 / 账户中心」— 由各主题 CSS 块定义，默认跟随主色 */
  --lifeast-shell-nav-text: var(--lifeast-color-primary-text);
  --lifeast-shell-nav-text-active: var(--lifeast-brand-cyan);
  --lifeast-shell-nav-hover-bg: var(--lifeast-color-primary-bg-soft);
  --lifeast-shell-nav-active-bg: var(--lifeast-color-primary-bg-soft);

  --lifeast-avatar-fallback-bg: rgba(6, 182, 212, 0.2);
  --lifeast-avatar-fallback-text: var(--lifeast-brand-cyan);
  --lifeast-menu-bg: var(--lifeast-color-bg-elevated);
  --lifeast-menu-border: var(--lifeast-color-border);
  --lifeast-menu-item-text: var(--lifeast-color-text);
  --lifeast-menu-item-hover-bg: var(--lifeast-color-bg-hover);

  --lifeast-tech-bg-radial-1: radial-gradient(circle at 20% 30%, rgba(0, 242, 254, 0.12) 0%, transparent 40%);
  --lifeast-tech-bg-radial-2: radial-gradient(circle at 80% 70%, rgba(112, 0, 255, 0.12) 0%, transparent 40%);
}

html[data-client-theme="lifeast-default"],
html[data-client-theme="lifeast-default"] body {
  background-color: var(--lifeast-brand-bg);
  color: var(--lifeast-color-text);
  font-family: var(--lifeast-font-family);
}

html[data-client-theme="lifeast-default"] body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* —— 基础工具类（static H5 与 Vue C 端共用） —— */
.lifeast-client-tech-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: var(--lifeast-tech-bg-radial-1), var(--lifeast-tech-bg-radial-2);
}

.lifeast-client-tech-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black, transparent 80%);
}

.lifeast-client-glass-panel {
  background: var(--lifeast-color-bg-card);
  backdrop-filter: var(--lifeast-blur-glass);
  -webkit-backdrop-filter: var(--lifeast-blur-glass);
  border: 1px solid var(--lifeast-color-border);
  box-shadow: var(--lifeast-shadow-card);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.lifeast-client-glass-panel:hover {
  border-color: var(--lifeast-color-border-hover);
  background: rgba(15, 23, 42, 0.6);
}

.lifeast-client-text-gradient {
  background: linear-gradient(to right, var(--lifeast-brand-cyan), var(--lifeast-brand-purple), var(--lifeast-brand-cyan));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: lifeast-client-shine 4s linear infinite;
}

@keyframes lifeast-client-shine {
  to {
    background-position: 200% center;
  }
}

.lifeast-client-btn-neon {
  position: relative;
  background: linear-gradient(45deg, var(--lifeast-brand-cyan), var(--lifeast-brand-purple));
  padding: 1.5px;
  border-radius: var(--lifeast-radius-pill);
  overflow: hidden;
  display: inline-block;
}

.lifeast-client-btn-neon__inner {
  background: var(--lifeast-brand-bg);
  padding: 0.5rem 1.8rem;
  border-radius: var(--lifeast-radius-pill);
  display: block;
  font-weight: 600;
  transition: all 0.3s ease;
}

.lifeast-client-btn-neon:hover {
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.lifeast-client-btn-neon:hover .lifeast-client-btn-neon__inner {
  background: transparent;
  color: #fff;
}

.lifeast-client-tech-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lifeast-brand-cyan), transparent);
  width: 100%;
}

/* —— C 端页面根容器 —— */
.lifeast-client-theme {
  position: relative;
  font-family: var(--lifeast-font-family);
  background-color: var(--lifeast-color-bg);
  color: var(--lifeast-color-text);
}

.lifeast-client-theme > .lifeast-client-tech-bg {
  z-index: 0;
}

.lifeast-client-theme__surface {
  position: relative;
  z-index: 1;
}

/* —— 壳标题栏 —— */
.lifeast-client-header {
  position: relative;
  z-index: 1400;
  flex-shrink: 0;
  padding: 0.5rem 0.75rem;
}

.lifeast-client-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.625rem;
  padding: 0.45rem 1rem;
  border-radius: var(--lifeast-radius-shell);
  background: var(--lifeast-shell-header-bg);
  border: 1px solid var(--lifeast-shell-header-border);
  backdrop-filter: var(--lifeast-shell-header-blur);
  -webkit-backdrop-filter: var(--lifeast-shell-header-blur);
  box-shadow: var(--lifeast-shell-header-shadow);
}

.lifeast-client-header__left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.625rem;
  min-width: 0;
  flex: 1 1 auto;
}

.lifeast-client-header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.375rem;
  flex-shrink: 0;
}

.lifeast-client-header__right .lifeast-client-header__nav {
  margin-left: 0.125rem;
}

.lifeast-client-header__nav {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  flex-shrink: 0;
}

.lifeast-client-header__nav-item {
  border: none;
  background: transparent;
  padding: 0.35rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--lifeast-shell-nav-text);
  cursor: pointer;
  border-radius: var(--lifeast-radius-sm);
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}

.lifeast-client-header__nav-item:hover {
  color: var(--lifeast-shell-nav-text-active);
  background: var(--lifeast-shell-nav-hover-bg);
}

.lifeast-client-header__nav-item--active {
  color: var(--lifeast-shell-nav-text-active);
  background: var(--lifeast-shell-nav-active-bg);
  font-weight: 600;
}

@media (max-width: 640px) {
  .lifeast-client-header__nav-item {
    padding: 0.3rem 0.45rem;
    font-size: 0.75rem;
  }

  .lifeast-client-header__left .lifeast-client-header__nickname {
    display: none;
  }

  .lifeast-client-header__back-label {
    display: none;
  }

  .lifeast-client-header__back {
    padding: 0 0.35rem;
    min-width: 2.125rem;
  }
}

.lifeast-client-header__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  flex-shrink: 0;
  min-width: 2.125rem;
  height: 2.125rem;
  padding: 0 0.55rem 0 0.35rem;
  border: 1px solid var(--lifeast-shell-action-border);
  border-radius: var(--lifeast-radius-sm);
  background: var(--lifeast-shell-action-bg);
  color: var(--lifeast-shell-action-text);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.lifeast-client-header__back:hover {
  background: var(--lifeast-shell-action-hover-bg);
  border-color: var(--lifeast-color-border-hover);
}

.lifeast-client-header__back-icon {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.lifeast-client-header__back-label {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.lifeast-client-header__product-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  flex-shrink: 0;
  height: 2.125rem;
  padding: 0 0.65rem 0 0.5rem;
  margin-left: 0.125rem;
  border: 1px solid var(--lifeast-shell-action-border);
  border-radius: var(--lifeast-radius-sm);
  background: var(--lifeast-shell-action-bg);
  color: var(--lifeast-shell-action-text);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.lifeast-client-header__product-home:hover {
  background: var(--lifeast-shell-action-hover-bg);
  border-color: var(--lifeast-color-border-hover);
  color: var(--lifeast-shell-nav-text-active);
}

.lifeast-client-header__product-home-icon {
  display: block;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.lifeast-client-header__product-home-label {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .lifeast-client-header__product-home-label {
    display: none;
  }

  .lifeast-client-header__product-home {
    padding: 0 0.4rem;
    min-width: 2.125rem;
  }
}

.lifeast-client-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lifeast-client-header__profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
}

.lifeast-client-header__avatar-btn {
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--lifeast-radius-pill);
}

.lifeast-client-header__avatar {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--lifeast-radius-pill);
  object-fit: cover;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.25);
}

.lifeast-client-header__avatar--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lifeast-avatar-fallback-bg);
  color: var(--lifeast-avatar-fallback-text);
  font-size: 0.875rem;
  font-weight: 600;
}

.lifeast-client-header__nickname {
  max-width: 4.5rem;
  font-size: 0.6875rem;
  line-height: 1.15;
  color: var(--lifeast-color-text-secondary);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lifeast-client-header__menu {
  position: absolute;
  left: 50%;
  top: calc(100% + 0.25rem);
  z-index: 50;
  width: 8.5rem;
  max-width: calc(100vw - 1rem);
  transform: translateX(-50%);
  border-radius: var(--lifeast-radius-md);
  border: 1px solid var(--lifeast-menu-border);
  background: var(--lifeast-menu-bg);
  padding: 0.25rem 0;
  box-shadow: var(--lifeast-shadow-menu);
  backdrop-filter: var(--lifeast-blur-glass);
  -webkit-backdrop-filter: var(--lifeast-blur-glass);
}

.lifeast-client-header__menu--viewport-clamped {
  position: fixed;
  left: auto;
  top: auto;
  transform: none;
}

.lifeast-client-header__menu-item {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  color: var(--lifeast-menu-item-text);
  cursor: pointer;
  text-align: left;
}

.lifeast-client-header__menu-item:hover {
  background: var(--lifeast-menu-item-hover-bg);
}

.lifeast-client-header__menu-item--logout {
  border-top: 1px solid var(--lifeast-color-border);
  margin-top: 0.15rem;
  padding-top: 0.55rem;
}

.lifeast-client-header__titles {
  min-width: 0;
  flex: 0 1 auto;
  max-width: 100%;
}

.lifeast-client-header__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--lifeast-shell-header-title);
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lifeast-client-header__subtitle {
  margin: 0.1rem 0 0;
  font-size: 0.75rem;
  line-height: 1.25;
  color: var(--lifeast-shell-header-subtitle);
}

.lifeast-client-header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.125rem;
  min-height: 2.125rem;
  padding: 0.25rem 0.4rem;
  border-radius: var(--lifeast-radius-sm);
  border: 1px solid var(--lifeast-shell-action-border);
  background: var(--lifeast-shell-action-bg);
  color: var(--lifeast-shell-action-text);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s, border-color 0.15s;
}

.lifeast-client-header-action:hover:not(:disabled) {
  background: var(--lifeast-shell-action-hover-bg);
  border-color: var(--lifeast-color-border-hover);
}

.lifeast-client-header-action--ghost {
  background: transparent;
}

.lifeast-client-header-action--disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.lifeast-client-header-action--menu {
  width: 2.125rem;
  height: 2.125rem;
  padding: 0;
}

.lifeast-client-header-action__bars {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  width: 1.125rem;
}

.lifeast-client-header-action__bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: var(--lifeast-shell-action-bar);
}

.lifeast-client-header-action__label {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
}

/* —— 页面通用 —— */
.lifeast-client-page {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
}

.lifeast-client-page__heading {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--lifeast-color-text-heading);
}

.lifeast-client-page__lead {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--lifeast-color-text-secondary);
}

.lifeast-client-status {
  text-align: center;
  padding: 2.5rem 1rem;
  font-size: 0.875rem;
  color: var(--lifeast-color-text-secondary);
}

.lifeast-client-status--error {
  color: var(--lifeast-color-error);
}

.lifeast-client-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  border: 1px dashed var(--lifeast-color-border-strong);
  border-radius: var(--lifeast-radius-lg);
  background: var(--lifeast-color-bg-muted);
  color: var(--lifeast-color-text);
  font-size: 0.875rem;
}

.lifeast-client-empty__hint {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--lifeast-color-text-muted);
  line-height: 1.5;
}

.lifeast-client-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--lifeast-color-border);
  border-radius: var(--lifeast-radius-lg);
  overflow: hidden;
  background: var(--lifeast-color-bg-card);
  backdrop-filter: var(--lifeast-blur-glass);
  -webkit-backdrop-filter: var(--lifeast-blur-glass);
  box-shadow: var(--lifeast-shadow-card);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.lifeast-client-card:hover {
  border-color: var(--lifeast-color-border-hover);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.lifeast-client-card:active {
  transform: scale(0.995);
}

.lifeast-client-card__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--lifeast-color-text-heading);
}

.lifeast-client-card__desc {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--lifeast-color-text-secondary);
}

.lifeast-client-btn {
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: var(--lifeast-radius-sm);
  border: 1px solid var(--lifeast-shell-action-border);
  background: var(--lifeast-shell-action-bg);
  color: var(--lifeast-color-text);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.lifeast-client-btn:hover {
  background: var(--lifeast-shell-action-hover-bg);
  border-color: var(--lifeast-color-border-hover);
}

.lifeast-client-btn--primary {
  border-color: rgba(6, 182, 212, 0.45);
  background: var(--lifeast-color-primary-bg);
  color: var(--lifeast-color-primary-text);
}

.lifeast-client-btn--primary:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: var(--lifeast-color-border-hover);
}

.lifeast-billing-price-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 0.35rem;
  padding: 0.05rem 0.4rem;
  border-radius: var(--lifeast-radius-pill);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.4;
  color: inherit;
  border: 1px solid rgba(6, 182, 212, 0.35);
  background: rgba(6, 182, 212, 0.12);
  vertical-align: middle;
  white-space: nowrap;
}

[data-billing-priced] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.15rem;
}

.lifeast-client-panel {
  flex: 1;
  min-height: 0;
  border: 1px solid var(--lifeast-color-border);
  border-radius: var(--lifeast-radius-md);
  background: var(--lifeast-color-bg-muted);
  padding: 1.25rem;
}

.lifeast-client-sidebar {
  width: 200px;
  flex-shrink: 0;
  min-height: 100%;
  border-radius: var(--lifeast-radius-md);
  overflow: hidden;
  background: var(--lifeast-color-bg-card);
  border: 1px solid var(--lifeast-color-border);
  backdrop-filter: var(--lifeast-blur-glass);
  -webkit-backdrop-filter: var(--lifeast-blur-glass);
}

.lifeast-client-sidebar .ant-menu {
  border-inline-end: none !important;
  background: transparent;
  padding: 0.35rem 0;
}

.lifeast-client-sidebar .ant-menu-item {
  margin-inline: 0.5rem !important;
  width: calc(100% - 1rem) !important;
  border-radius: var(--lifeast-radius-sm);
}

.lifeast-client-section-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--lifeast-color-text-heading);
}

.lifeast-client-section-subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--lifeast-color-text-secondary);
}

.lifeast-client-text-error {
  color: var(--lifeast-color-error);
}

.lifeast-client-text-muted {
  color: var(--lifeast-color-text-secondary);
}

.lifeast-client-balance-card {
  border-radius: var(--lifeast-radius-md);
  background: linear-gradient(
    135deg,
    var(--lifeast-color-primary-strong) 0%,
    var(--lifeast-brand-purple) 100%
  );
  color: var(--lifeast-color-text-heading);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* static H5 页面专用（index.html 等） */
.lang-select-container {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 8px;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: all 0.3s;
}

.lang-select:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--lifeast-brand-cyan);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.float-anim {
  animation: float 6s ease-in-out infinite;
}

.hero-hyperspeed-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-hyperspeed-bg canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.hero-hyperspeed-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(2, 6, 23, 0.62) 0%, rgba(2, 6, 23, 0.28) 45%, rgba(2, 6, 23, 0.48) 100%),
    linear-gradient(to bottom, rgba(2, 6, 23, 0.12) 0%, rgba(2, 6, 23, 0.48) 75%, rgba(2, 6, 23, 0.92) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-desc {
  color: var(--lifeast-color-text);
  font-weight: 500;
  text-shadow: 0 1px 10px rgba(2, 6, 23, 0.35);
}

/* static H5 兼容类名 */
.glass-panel {
  background: var(--lifeast-color-bg-card);
  backdrop-filter: var(--lifeast-blur-glass);
  -webkit-backdrop-filter: var(--lifeast-blur-glass);
  border: 1px solid var(--lifeast-color-border);
  box-shadow: var(--lifeast-shadow-card);
  transition: all 0.3s ease;
}

.glass-panel:hover {
  border-color: var(--lifeast-color-border-hover);
  background: rgba(15, 23, 42, 0.6);
}

.text-gradient {
  background: linear-gradient(to right, var(--lifeast-brand-cyan), var(--lifeast-brand-purple), var(--lifeast-brand-cyan));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: lifeast-client-shine 4s linear infinite;
}

.tech-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: var(--lifeast-tech-bg-radial-1), var(--lifeast-tech-bg-radial-2);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black, transparent 80%);
}

.btn-neon {
  position: relative;
  background: linear-gradient(45deg, var(--lifeast-brand-cyan), var(--lifeast-brand-purple));
  padding: 1.5px;
  border-radius: 9999px;
  overflow: hidden;
  display: inline-block;
}

.btn-neon-inner {
  background: var(--lifeast-brand-bg);
  padding: 0.5rem 1.8rem;
  border-radius: 9999px;
  display: block;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-neon:hover {
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.btn-neon:hover .btn-neon-inner {
  background: transparent;
  color: white;
}

.tech-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lifeast-brand-cyan), transparent);
  width: 100%;
}

[dir="rtl"] .md\:col-span-2 {
  border-left-width: 0;
}

[dir="rtl"] .border-l-4 {
  border-left-width: 0;
  border-right-width: 4px;
}

[dir="rtl"] .mr-4 {
  margin-right: 0;
  margin-left: 1rem;
}

.product-purchase-confirm {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
}

.product-purchase-confirm__panel {
  display: flex;
  flex-direction: column;
  width: min(100%, 24rem);
  border-radius: var(--lifeast-radius-md);
  border: 1px solid var(--lifeast-color-border);
  background: var(--lifeast-color-bg-card);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.product-purchase-confirm__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid var(--lifeast-color-border);
}

.product-purchase-confirm__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--lifeast-color-text-heading);
}

.product-purchase-confirm__close {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: var(--lifeast-radius-sm);
  background: transparent;
  color: var(--lifeast-color-text-secondary);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.product-purchase-confirm__body {
  padding: 1rem;
}

.product-purchase-confirm__product {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  color: var(--lifeast-color-text-secondary);
}

.product-purchase-confirm__summary {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--lifeast-color-primary-text);
}

.product-purchase-confirm__balance {
  margin: 0.65rem 0 0;
  font-size: 0.8125rem;
  color: var(--lifeast-color-text-secondary);
}

.product-purchase-confirm__balance-value {
  font-weight: 700;
  color: var(--lifeast-color-text-heading);
}

.product-purchase-confirm__shortfall {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.product-purchase-confirm__apple-hint {
  margin: 0;
  line-height: 1.6;
}

.product-purchase-confirm__footer {
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid var(--lifeast-color-border);
}

.product-purchase-confirm__wallet-action {
  margin-bottom: 0.5rem;
}

.product-purchase-confirm__wallet-btn {
  width: 100%;
}

.product-purchase-confirm__actions {
  display: flex;
  gap: 0.5rem;
}

.product-purchase-confirm__cancel,
.product-purchase-confirm__confirm {
  flex: 1;
  min-width: 0;
}

.product-purchase-confirm__hint {
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--lifeast-color-text-muted);
}
