:root {
  --gold-primary: #F0B90B;
  --gold-light: #FCD535;
  --gold-dark: #C99A0A;
  --gold-glow: rgba(240, 185, 11, 0.25);
  --gold-subtle: rgba(240, 185, 11, 0.08);
  --bg-base: #0B0E11;
  --bg-elevated-1: #12161C;
  --bg-elevated-2: #181C24;
  --bg-elevated-3: #1E2329;
  --bg-overlay: rgba(0, 0, 0, 0.72);
  --text-primary: #EAECEF;
  --text-secondary: #848E9C;
  --text-tertiary: #5E6673;
  --text-gold: #F0B90B;
  --color-success: #0ECB81;
  --color-danger: #F6465D;
  --color-info: #1E80FF;
  --color-warning: #FCD535;
  --stroke-primary: rgba(255, 255, 255, 0.06);
  --stroke-gold: rgba(240, 185, 11, 0.20);
  --stroke-focus: rgba(240, 185, 11, 0.50);
  --app-bg: var(--bg-base);
  --app-surface: var(--bg-elevated-1);
  --app-surface-strong: var(--bg-elevated-2);
  --app-stroke: var(--stroke-primary);
  --app-text: var(--text-primary);
  --app-text-muted: var(--text-secondary);
  --app-success: var(--color-success);
  --app-danger: var(--color-danger);
  --app-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --app-radius-xl: 28px;
  --app-radius-lg: 16px;
  --app-radius-md: 12px;
  --app-touch: 48px;
  --font-display: "DIN Alternate", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "DIN Alternate", "Roboto Mono", monospace;
}

/* 全局样式覆盖 - 确保黑金主题生效 */
.app-shell body,
body.app-shell {
  background-color: var(--bg-base) !important;
  color: var(--text-primary) !important;
  font-family: var(--font-display) !important;
}

body {
  background-color: var(--bg-base) !important;
  color: var(--text-primary) !important;
  font-family: var(--font-display) !important;
}

.page-wrapper.app-shell {
  background:
    radial-gradient(circle at top, rgba(240, 185, 11, 0.12), transparent 40%),
    linear-gradient(180deg, #0B0E11 0%, #080A0D 100%) !important;
  min-height: 100vh;
}

.app-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(240, 185, 11, 0.12), transparent 40%),
    linear-gradient(180deg, #0B0E11 0%, #080A0D 100%);
  color: var(--text-primary);
  font-family: var(--font-display);
}

.app-shell * {
  -webkit-tap-highlight-color: transparent;
}

.app-shell a,
.app-shell button,
.app-shell input,
.app-shell select,
.app-shell textarea {
  touch-action: manipulation;
}

.app-shell a {
  color: var(--gold-primary) !important;
  text-decoration: none !important;
}

.app-shell a:hover {
  color: var(--gold-light) !important;
}

.app-shell h1,
.app-shell h2,
.app-shell h3,
.app-shell h4,
.app-shell h5,
.app-shell h6 {
  color: var(--text-primary) !important;
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

.app-shell label {
  color: var(--text-secondary) !important;
  font-size: 0.85rem !important;
  margin-bottom: 6px !important;
  font-weight: 500 !important;
}

.app-shell p {
  color: var(--text-primary) !important;
  margin-bottom: 1rem !important;
}

.app-shell small {
  color: var(--text-secondary) !important;
  font-size: 0.78rem !important;
}

.app-shell .section-wrapper {
  padding-bottom: 120px;
}

.app-shell__main {
  position: relative;
  z-index: 1;
}

.app-shell__content .container {
  max-width: 100%;
}

.app-screen {
  animation: app-screen-enter 0.28s ease;
}

@keyframes app-screen-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: 14px 0 10px;
  background: linear-gradient(180deg, rgba(11, 14, 17, 0.96), rgba(11, 14, 17, 0.78));
  backdrop-filter: blur(18px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.app-topbar.is-scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.app-topbar__inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-topbar__brand,
.app-topbar__menu {
  width: var(--app-touch);
  height: var(--app-touch);
  border-radius: var(--app-radius-md);
  border: 1px solid var(--stroke-primary);
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-topbar__brand img {
  max-width: 28px;
  max-height: 28px;
}

.app-topbar__menu {
  color: var(--text-primary);
  font-size: 24px;
}

.app-topbar__title {
  min-width: 0;
  flex: 1;
}

.app-topbar__title strong {
  display: block;
  color: var(--text-primary);
  font-size: 1.05rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-topbar__eyebrow {
  display: block;
  margin-bottom: 3px;
  color: var(--text-secondary);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-topbar__notify {
  width: var(--app-touch);
  height: var(--app-touch);
  border-radius: var(--app-radius-md);
  border: 1px solid var(--stroke-primary);
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-secondary);
  font-size: 20px;
  position: relative;
}

.app-topbar__notify .notify-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-danger);
  box-shadow: 0 0 0 3px rgba(246, 70, 93, 0.2);
}

.app-page-header {
  padding: 10px 0 6px;
}

.app-page-header__content {
  padding: 24px 20px;
  border: 1px solid var(--stroke-gold);
  border-radius: var(--app-radius-xl);
  background:
    linear-gradient(135deg, rgba(240, 185, 11, 0.15), rgba(201, 154, 10, 0.05)),
    rgba(18, 22, 28, 0.95);
  box-shadow: var(--app-shadow);
}

.app-page-header__eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold-primary);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-page-header h1 {
  margin-bottom: 8px;
  color: var(--text-primary);
  font-size: 1.7rem;
  line-height: 1.15;
}

.app-page-header p {
  margin-bottom: 18px;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.6;
}

.app-page-header__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.app-page-header__chip {
  padding: 14px 16px;
  border-radius: var(--app-radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke-primary);
}

.app-page-header__chip span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.app-page-header__chip strong {
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-mono);
}

.app-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  padding: 6px 12px calc(6px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(11, 14, 17, 0), rgba(11, 14, 17, 0.96) 30%);
}

.app-bottom-nav__inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  padding: 8px 6px 6px;
  border-radius: 20px;
  border: 1px solid var(--stroke-primary);
  background: rgba(11, 14, 17, 0.96);
  backdrop-filter: blur(20px);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);
}

.app-bottom-nav__item {
  min-height: 56px;
  border-radius: var(--app-radius-md);
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  font-size: 10px;
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease, transform 0.15s ease;
}

.app-bottom-nav__item i {
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.app-bottom-nav__item.is-active {
  color: var(--gold-primary);
}

.app-bottom-nav__item.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--gold-primary);
}

.app-bottom-nav__item.is-active i {
  transform: scale(1.1);
}

.app-bottom-nav__item:active {
  transform: scale(0.92);
}

.app-bottom-nav__item--center.is-active {
  background: var(--gold-subtle);
  border-radius: var(--app-radius-md);
}

.app-bottom-nav__item--center.is-active::before {
  display: none;
}

.app-drawer {
  background: linear-gradient(180deg, var(--bg-elevated-1) 0%, var(--bg-base) 100%);
  color: var(--text-primary);
}

.app-drawer .offcanvas-header {
  border-bottom: 1px solid var(--stroke-primary);
}

.app-drawer__eyebrow,
.app-drawer__section-title {
  display: block;
  color: var(--text-secondary);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-drawer__wallets {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.app-drawer__wallet {
  padding: 14px 16px;
  border-radius: var(--app-radius-md);
  border: 1px solid var(--stroke-primary);
  background: rgba(255, 255, 255, 0.03);
}

.app-drawer__wallet span {
  display: block;
  margin-bottom: 4px;
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.app-drawer__wallet strong {
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-mono);
}

.app-drawer__section {
  margin-bottom: 20px;
}

.app-drawer__section-title {
  margin-bottom: 8px;
}

.app-drawer__link {
  min-height: var(--app-touch);
  margin-bottom: 6px;
  padding: 12px 14px;
  border-radius: var(--app-radius-md);
  border: 1px solid var(--stroke-primary);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-drawer__link i {
  font-size: 1.15rem;
  color: var(--gold-primary);
}

.app-drawer__link span {
  flex: 1;
  font-size: 0.92rem;
}

.app-drawer__link .link-arrow {
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

.app-drawer__link .link-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
}

.app-drawer__link .link-badge--pending {
  background: rgba(252, 213, 53, 0.12);
  color: var(--color-warning);
}

.app-drawer__link .link-badge--danger {
  background: rgba(246, 70, 93, 0.12);
  color: var(--color-danger);
}

.app-drawer__link .link-badge--success {
  background: rgba(14, 203, 129, 0.12);
  color: var(--color-success);
}

.app-drawer__link.is-active {
  background: var(--gold-subtle);
  border-color: var(--stroke-gold);
}

.app-drawer__link--danger i,
.app-drawer__link--danger span {
  color: var(--color-danger);
}

.app-shell .cmn-section,
.app-shell .pt-60,
.app-shell .pb-60 {
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}

.app-shell .container {
  padding-left: 16px !important;
  padding-right: 16px !important;
}

/* 覆盖 main.css 中的 .card 样式 */
.app-shell .card {
  box-shadow: var(--app-shadow) !important;
  background: var(--bg-elevated-1) !important;
  background-color: var(--bg-elevated-1) !important;
  border: 1px solid var(--stroke-primary) !important;
  border-radius: var(--app-radius-lg) !important;
  color: var(--text-primary) !important;
}

.app-shell .card .card-header,
.app-shell .card .card-footer {
  background: var(--bg-elevated-2) !important;
  border-color: var(--stroke-primary) !important;
  color: var(--text-primary) !important;
}

.app-shell .card-body {
  background: var(--bg-elevated-1) !important;
  color: var(--text-primary) !important;
}

.app-shell .card-title,
.app-shell .card .card-title {
  color: var(--text-primary) !important;
  font-weight: 600 !important;
}

.app-shell .card-text,
.app-shell .card .card-text {
  color: var(--text-secondary) !important;
}

.app-shell .gateway-card,
.app-shell .d-widget,
.app-shell .payment-system-list,
.app-shell .table-responsive--md,
.app-shell .modal-content,
.app-shell .alert,
.app-shell .list-group-item {
  border-color: var(--stroke-primary) !important;
  background: var(--bg-elevated-1) !important;
  box-shadow: var(--app-shadow) !important;
}

.app-shell .card,
.app-shell .gateway-card,
.app-shell .payment-system-list,
.app-shell .d-widget,
.app-shell .table-responsive--md,
.app-shell .modal-content {
  border-radius: var(--app-radius-lg) !important;
  overflow: hidden;
}

.app-shell .card-body,
.app-shell .table-responsive--md,
.app-shell .gateway-card {
  padding: 18px;
}

.app-shell .d-widget {
  min-height: 120px;
  padding: 18px !important;
  border: 1px solid var(--stroke-primary) !important;
  border-radius: var(--app-radius-lg) !important;
  background: var(--bg-elevated-1) !important;
  background-color: var(--bg-elevated-1) !important;
  box-shadow: var(--app-shadow) !important;
  transition: border-color 0.2s ease;
}

.app-shell .d-widget:hover {
  border-color: var(--stroke-gold) !important;
}

.app-shell .d-widget .caption {
  color: var(--text-secondary) !important;
}

.app-shell .d-widget .amount {
  color: var(--text-primary) !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  font-family: var(--font-mono) !important;
}

.app-shell .d-widget .icon {
  color: var(--gold-primary) !important;
  background: var(--gold-subtle) !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: var(--app-radius-md) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.2rem !important;
  line-height: 1 !important;
  text-align: center !important;
}

.app-shell .currency-amount,
.app-shell .card h4,
.app-shell .card h5,
.app-shell .table,
.app-shell .list-group-item,
.app-shell .text,
.app-shell label,
.app-shell p,
.app-shell span,
.app-shell td,
.app-shell th {
  color: var(--text-primary) !important;
}

.app-shell .text-muted,
.app-shell small,
.app-shell .info-text .text,
.app-shell .deposit-info__title .text,
.app-shell .deposit-info__input .text {
  color: var(--text-secondary) !important;
}

.app-shell .alert {
  border-width: 1px !important;
  border-radius: var(--app-radius-lg) !important;
  padding: 16px 18px !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
}

.app-shell .alert__message {
  color: var(--text-primary) !important;
  padding: 0 !important;
}

.app-shell .alert__icon {
  color: var(--gold-primary) !important;
  margin-right: 12px !important;
}

.app-shell .btn,
.app-shell .btn--base,
.app-shell button[type='submit'] {
  min-height: var(--app-touch);
  border-radius: var(--app-radius-md) !important;
  font-size: 0.96rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.app-shell .btn--base {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark)) !important;
  color: #0B0E11 !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(240, 185, 11, 0.25) !important;
}

.app-shell .btn--base:active {
  transform: scale(0.97) !important;
  box-shadow: 0 2px 8px rgba(240, 185, 11, 0.2) !important;
}

.app-shell .btn--base:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary)) !important;
  color: #0B0E11 !important;
}

.app-shell .btn--secondary {
  background: transparent !important;
  border: 1px solid var(--stroke-gold) !important;
  color: var(--gold-primary) !important;
}

.app-shell .btn--ghost {
  background: var(--gold-subtle) !important;
  border: none !important;
  color: var(--gold-primary) !important;
}

.app-shell .form-control,
.app-shell .form--control,
.app-shell .select2-container--default .select2-selection--single,
.app-shell textarea,
.app-shell select {
  min-height: var(--app-touch) !important;
  border-radius: var(--app-radius-md) !important;
  border: 1px solid var(--stroke-primary) !important;
  background: var(--bg-elevated-3) !important;
  color: var(--text-primary) !important;
  font-size: 0.95rem !important;
  padding: 10px 16px !important;
  width: 100% !important;
}

.app-shell .form-control::placeholder,
.app-shell .form--control::placeholder,
.app-shell textarea::placeholder {
  color: var(--text-tertiary) !important;
}

.app-shell .form-control:focus,
.app-shell .form--control:focus,
.app-shell textarea:focus,
.app-shell select:focus {
  border-color: var(--stroke-focus) !important;
  box-shadow: 0 0 0 3px rgba(240, 185, 11, 0.12) !important;
  background: var(--bg-elevated-3) !important;
  color: var(--text-primary) !important;
}

.app-shell .input-group-text {
  border-radius: var(--app-radius-md) 0 0 var(--app-radius-md) !important;
  border: 1px solid var(--stroke-primary) !important;
  background: var(--bg-elevated-3) !important;
  color: var(--text-secondary) !important;
  min-height: var(--app-touch) !important;
  display: flex !important;
  align-items: center !important;
}

.app-shell .table {
  margin-bottom: 0 !important;
  background-color: var(--bg-elevated-1) !important;
  border-radius: var(--app-radius-lg) !important;
  box-shadow: var(--app-shadow) !important;
  overflow: hidden !important;
  border: 1px solid var(--stroke-primary) !important;
}

.app-shell .table thead {
  background-color: var(--bg-elevated-2) !important;
}

.app-shell .table thead tr th {
  border-bottom: 1px solid var(--stroke-primary) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: var(--text-secondary) !important;
  padding: 12px 16px !important;
  text-align: center !important;
  border-top: none !important;
}

.app-shell .table thead tr th:first-child {
  text-align: left !important;
}

.app-shell .table td,
.app-shell .table th {
  border-color: var(--stroke-primary) !important;
  vertical-align: middle !important;
  color: var(--text-primary) !important;
  padding: 12px 16px !important;
}

.app-shell .table tbody tr {
  border-bottom: 1px solid var(--stroke-primary) !important;
}

.app-shell .table tbody tr:last-child {
  border-bottom: none !important;
}

.app-shell .badge {
  border-radius: 999px !important;
  padding: 4px 10px !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  border: none !important;
}

.app-shell .badge.bg-success,
.app-shell .badge.bg-info {
  background: rgba(14, 203, 129, 0.12) !important;
  color: var(--color-success) !important;
}

.app-shell .badge.bg-primary {
  background: rgba(240, 185, 11, 0.12) !important;
  color: var(--gold-primary) !important;
}

.app-shell .badge.bg-danger {
  background: rgba(246, 70, 93, 0.12) !important;
  color: var(--color-danger) !important;
}

.app-shell .badge.bg-warning {
  background: rgba(252, 213, 53, 0.12) !important;
  color: var(--color-warning) !important;
}

.app-shell .list-group-item {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid var(--stroke-primary) !important;
  background: var(--bg-elevated-1) !important;
  color: var(--text-primary) !important;
}

.app-shell .text--success,
.app-shell .text-success {
  color: var(--color-success) !important;
}

.app-shell .text--danger,
.app-shell .text-danger {
  color: var(--color-danger) !important;
}

.app-shell .base--color {
  color: var(--gold-primary) !important;
}

.app-shell .link-color {
  color: var(--gold-primary) !important;
}

.app-shell .text--base {
  color: var(--gold-primary) !important;
}

.app-asset-card {
  padding: 24px 20px;
  border: 1px solid var(--stroke-gold);
  border-radius: var(--app-radius-xl);
  background:
    linear-gradient(135deg, rgba(240, 185, 11, 0.12), rgba(201, 154, 10, 0.04)),
    var(--bg-elevated-1);
  box-shadow: var(--app-shadow);
  margin-bottom: 16px;
}

.app-asset-card__total {
  margin-bottom: 4px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.app-asset-card__amount {
  margin-bottom: 8px;
  color: var(--text-primary);
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-mono);
  line-height: 1.15;
}

.app-asset-card__change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  font-weight: 600;
}

.app-asset-card__change.is-positive {
  color: var(--color-success);
}

.app-asset-card__change.is-negative {
  color: var(--color-danger);
}

.app-asset-card__wallets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.app-asset-card__wallet {
  padding: 14px 16px;
  border-radius: var(--app-radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke-primary);
}

.app-asset-card__wallet span {
  display: block;
  margin-bottom: 4px;
  color: var(--text-secondary);
  font-size: 0.76rem;
}

.app-asset-card__wallet strong {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-family: var(--font-mono);
}

.app-asset-card__actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.app-quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  border-radius: var(--app-radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke-primary);
  color: var(--text-primary);
  font-size: 0.76rem;
  font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.app-quick-action:active {
  transform: scale(0.95);
}

.app-quick-action__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gold-subtle);
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.app-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.app-section-header__title {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
}

.app-section-header__link {
  color: var(--gold-primary);
  font-size: 0.82rem;
  font-weight: 500;
}

.app-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.app-stat-item {
  padding: 14px;
  border-radius: var(--app-radius-md);
  background: var(--bg-elevated-1);
  border: 1px solid var(--stroke-primary);
  text-align: center;
}

.app-stat-item span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-secondary);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.app-stat-item strong {
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-mono);
  font-weight: 700;
}

.app-trx-item {
  padding: 14px 16px;
  border-radius: var(--app-radius-md);
  border: 1px solid var(--stroke-primary);
  background: var(--bg-elevated-1);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-trx-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.app-trx-item__icon--in {
  background: rgba(14, 203, 129, 0.12);
  color: var(--color-success);
}

.app-trx-item__icon--out {
  background: rgba(246, 70, 93, 0.12);
  color: var(--color-danger);
}

.app-trx-item__body {
  flex: 1;
  min-width: 0;
}

.app-trx-item__title {
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-trx-item__time {
  color: var(--text-secondary);
  font-size: 0.72rem;
}

.app-trx-item__amount {
  text-align: right;
  flex-shrink: 0;
}

.app-trx-item__value {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 600;
}

.app-trx-item__value.is-positive {
  color: var(--color-success);
}

.app-trx-item__value.is-negative {
  color: var(--color-danger);
}

.app-trx-item__balance {
  color: var(--text-secondary);
  font-size: 0.72rem;
}

.app-notify-card {
  padding: 14px 16px;
  border-radius: var(--app-radius-md);
  border: 1px solid var(--stroke-primary);
  background: var(--bg-elevated-1);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.app-notify-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.app-notify-card__icon--warning {
  background: rgba(252, 213, 53, 0.12);
  color: var(--color-warning);
}

.app-notify-card__icon--danger {
  background: rgba(246, 70, 93, 0.12);
  color: var(--color-danger);
}

.app-notify-card__icon--info {
  background: rgba(30, 128, 255, 0.12);
  color: var(--color-info);
}

.app-notify-card__body {
  flex: 1;
  min-width: 0;
}

.app-notify-card__title {
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.app-notify-card__desc {
  color: var(--text-secondary);
  font-size: 0.78rem;
  line-height: 1.5;
}

.app-notify-card__desc a {
  color: var(--gold-primary);
  text-decoration: underline;
}

.app-profile-card {
  padding: 24px 20px;
  border: 1px solid var(--stroke-gold);
  border-radius: var(--app-radius-xl);
  background:
    linear-gradient(135deg, rgba(240, 185, 11, 0.08), rgba(201, 154, 10, 0.02)),
    var(--bg-elevated-1);
  box-shadow: var(--app-shadow);
  margin-bottom: 16px;
  text-align: center;
}

.app-profile-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #0B0E11;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.app-profile-card__name {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.app-profile-card__username {
  color: var(--text-secondary);
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.app-profile-card__badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.app-profile-card__edit-btn {
  min-height: 38px;
  padding: 0 24px;
  border-radius: var(--app-radius-md);
  background: var(--gold-subtle);
  border: 1px solid var(--stroke-gold);
  color: var(--gold-primary);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.app-menu-group {
  margin-bottom: 16px;
}

.app-menu-group__title {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 4px;
}

.app-menu-item {
  min-height: 52px;
  padding: 12px 16px;
  border-radius: var(--app-radius-md);
  border: 1px solid var(--stroke-primary);
  background: var(--bg-elevated-1);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.app-menu-item:active {
  background: var(--bg-elevated-2);
}

.app-menu-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.app-menu-item__icon--gold {
  background: var(--gold-subtle);
  color: var(--gold-primary);
}

.app-menu-item__icon--success {
  background: rgba(14, 203, 129, 0.12);
  color: var(--color-success);
}

.app-menu-item__icon--danger {
  background: rgba(246, 70, 93, 0.12);
  color: var(--color-danger);
}

.app-menu-item__icon--info {
  background: rgba(30, 128, 255, 0.12);
  color: var(--color-info);
}

.app-menu-item__icon--warning {
  background: rgba(252, 213, 53, 0.12);
  color: var(--color-warning);
}

.app-menu-item__text {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 500;
}

.app-menu-item__badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
}

.app-menu-item__badge--pending {
  background: rgba(252, 213, 53, 0.12);
  color: var(--color-warning);
}

.app-menu-item__badge--danger {
  background: rgba(246, 70, 93, 0.12);
  color: var(--color-danger);
}

.app-menu-item__badge--success {
  background: rgba(14, 203, 129, 0.12);
  color: var(--color-success);
}

.app-menu-item__arrow {
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

.app-menu-item--danger .app-menu-item__text {
  color: var(--color-danger);
}

.app-plan-card {
  padding: 20px;
  border-radius: var(--app-radius-lg);
  border: 1px solid var(--stroke-primary);
  background: var(--bg-elevated-1);
  margin-bottom: 12px;
  transition: border-color 0.2s ease;
}

.app-plan-card:active {
  border-color: var(--stroke-gold);
}

.app-plan-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.app-plan-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #0B0E11;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.app-plan-card__name {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
}

.app-plan-card__rate {
  color: var(--gold-primary);
  font-size: 0.85rem;
  font-weight: 600;
}

.app-plan-card__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.app-plan-card__stat {
  text-align: center;
  padding: 10px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.app-plan-card__stat span {
  display: block;
  margin-bottom: 4px;
  color: var(--text-secondary);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.app-plan-card__stat strong {
  color: var(--text-primary);
  font-size: 0.85rem;
  font-family: var(--font-mono);
}

.app-tab-bar {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: var(--app-radius-md);
  background: var(--bg-elevated-2);
  margin-bottom: 16px;
}

.app-tab-bar__item {
  flex: 1;
  min-height: 38px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.app-tab-bar__item.is-active {
  background: var(--bg-elevated-3);
  color: var(--gold-primary);
}

.app-back-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
}

.app-back-header__btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--stroke-primary);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.app-back-header__title {
  flex: 1;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
}

.app-bottom-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  max-height: 85vh;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  border-radius: 24px 24px 0 0;
  background: var(--bg-elevated-1);
  border-top: 1px solid var(--stroke-primary);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.5);
  transform: translate3d(0, 100%, 0);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.app-bottom-sheet.is-open {
  transform: translate3d(0, 0, 0);
}

.app-bottom-sheet__handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: var(--text-tertiary);
  margin: 0 auto 20px;
}

.app-bottom-sheet__title {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.app-bottom-sheet__overlay {
  position: fixed;
  inset: 0;
  z-index: 1045;
  background: var(--bg-overlay);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.app-bottom-sheet__overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.app-skeleton {
  background: linear-gradient(90deg, var(--bg-elevated-2) 25%, var(--bg-elevated-3) 50%, var(--bg-elevated-2) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: 8px;
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.app-shell .btn--base.btn-sm,
.app-shell .btn-sm {
  min-height: 38px;
  font-size: 0.82rem;
  padding: 0 16px;
  border-radius: 10px !important;
}

.market-screen__hero,
.market-chart-card,
.market-list-card,
.market-summary-card {
  border: 1px solid var(--stroke-primary);
  border-radius: var(--app-radius-lg);
  background: var(--bg-elevated-1);
  box-shadow: var(--app-shadow);
}

.market-screen__hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  margin-bottom: 14px;
}

.market-screen__eyebrow,
.market-chart-card__eyebrow,
.market-list-card__eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold-primary);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-screen__hero h2,
.market-chart-card__header h3,
.market-list-card__header h3 {
  margin-bottom: 8px;
  color: var(--text-primary);
}

.market-screen__hero p,
.market-chart-card__hint {
  margin-bottom: 0;
  color: var(--text-secondary);
}

.market-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.market-status__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 6px rgba(14, 203, 129, 0.15);
}

.market-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.market-summary-card {
  width: 100%;
  padding: 16px;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.market-summary-card.is-active {
  border-color: var(--stroke-gold);
  background: linear-gradient(180deg, rgba(240, 185, 11, 0.12), var(--bg-elevated-1));
}

.market-summary-card__asset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 32px;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--gold-subtle);
  color: var(--gold-primary);
  font-size: 0.8rem;
  font-weight: 700;
}

.market-summary-card__price {
  display: block;
  margin-bottom: 6px;
  color: var(--text-primary);
  font-size: 1.18rem;
  line-height: 1.2;
  font-family: var(--font-mono);
}

.market-summary-card__change,
.market-chart-change,
.market-list__metrics span {
  font-weight: 600;
}

.is-positive {
  color: var(--color-success) !important;
}

.is-negative {
  color: var(--color-danger) !important;
}

.market-chart-card,
.market-list-card {
  padding: 20px;
  margin-bottom: 16px;
}

.market-chart-card__header,
.market-list-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.market-chart-card__meta {
  text-align: right;
}

.market-chart-price {
  display: block;
  margin-bottom: 4px;
  color: var(--text-primary);
  font-size: 1.18rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.market-chart-card__canvas {
  min-height: 320px;
  border-radius: var(--app-radius-md);
  overflow: hidden;
}

.market-chart-card__hint {
  margin-top: 12px;
  font-size: 0.86rem;
}

.market-chart-timeframes {
  display: flex;
  gap: 4px;
  margin-top: 12px;
  padding: 3px;
  border-radius: 10px;
  background: var(--bg-elevated-2);
}

.market-chart-timeframes__btn {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.market-chart-timeframes__btn.is-active {
  background: var(--bg-elevated-3);
  color: var(--gold-primary);
}

.market-list-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--gold-subtle);
  color: var(--gold-primary);
  font-size: 0.78rem;
  font-weight: 600;
}

.market-list {
  display: grid;
  gap: 10px;
}

.market-list__item {
  width: 100%;
  padding: 16px;
  border-radius: var(--app-radius-md);
  border: 1px solid var(--stroke-primary);
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  grid-template-columns: 1.5fr 1fr auto;
  gap: 12px;
  align-items: center;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.market-list__item.is-active {
  border-color: var(--stroke-gold);
  background: var(--gold-subtle);
}

.market-list__asset {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.market-list__asset strong,
.market-list__metrics strong,
.market-list__cap strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.market-list__asset span,
.market-list__cap span {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.market-list__metrics,
.market-list__cap {
  text-align: right;
}

.market-list__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #0B0E11 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.app-logout-btn {
  width: 100%;
  min-height: var(--app-touch);
  border-radius: var(--app-radius-md);
  border: 1px solid rgba(246, 70, 93, 0.2);
  background: rgba(246, 70, 93, 0.08);
  color: var(--color-danger);
  font-size: 0.96rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

@media (max-width: 991px) {
  .app-shell .table-responsive--md {
    padding: 10px;
  }

  .app-shell .table thead {
    display: none;
  }

  .app-shell .table tbody,
  .app-shell .table tr,
  .app-shell .table td {
    display: block;
    width: 100%;
  }

  .app-shell .table tr {
    margin-bottom: 10px;
    padding: 14px;
    border-radius: var(--app-radius-md);
    border: 1px solid var(--stroke-primary);
    background: var(--bg-elevated-1);
  }

  .app-shell .table td {
    border: 0;
    padding: 8px 0;
    text-align: right;
  }

  .app-shell .table td::before {
    content: attr(data-label);
    float: left;
    color: var(--text-secondary);
    font-weight: 600;
  }
}

@media (max-width: 767px) {
  .app-page-header__content,
  .market-screen__hero,
  .market-chart-card,
  .market-list-card {
    padding: 18px 16px;
  }

  .market-screen__hero,
  .market-chart-card__header,
  .market-list-card__header {
    flex-direction: column;
    align-items: stretch;
  }

  .market-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-list__item {
    grid-template-columns: 1fr;
  }

  .market-list__metrics,
  .market-list__cap,
  .market-chart-card__meta {
    text-align: left;
  }

  .app-asset-card__wallets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .app-bottom-nav__item span {
    font-size: 9px;
  }

  .market-summary-grid,
  .app-page-header__meta {
    grid-template-columns: 1fr;
  }

  .app-asset-card__actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .app-quick-action {
    padding: 10px 6px;
    font-size: 0.7rem;
  }

  .app-quick-action__icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

.app-profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 20px;
  margin-bottom: 16px;
  border: 1px solid var(--stroke-gold);
  border-radius: var(--app-radius-xl);
  background:
    linear-gradient(135deg, rgba(240, 185, 11, 0.12), rgba(201, 154, 10, 0.04)),
    var(--bg-elevated-1);
  box-shadow: var(--app-shadow);
}

.app-profile-header__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold-subtle);
  border: 2px solid var(--stroke-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.app-profile-header__info {
  flex: 1;
  min-width: 0;
}

.app-profile-header__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.app-profile-header__username {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.app-profile-header__rank {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(240, 185, 11, 0.1);
  border: 1px solid var(--stroke-gold);
  font-size: 0.72rem;
  color: var(--gold-primary);
  font-weight: 600;
}

.app-profile-header__rank img {
  width: 16px;
  height: 16px;
}

.app-wallet-summary {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  margin-bottom: 20px;
  border-radius: var(--app-radius-lg);
  border: 1px solid var(--stroke-primary);
  background: var(--bg-elevated-1);
}

.app-wallet-summary__item {
  flex: 1;
  text-align: center;
}

.app-wallet-summary__label {
  display: block;
  margin-bottom: 4px;
  color: var(--text-secondary);
  font-size: 0.76rem;
}

.app-wallet-summary__value {
  display: block;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-family: var(--font-mono);
  font-weight: 700;
}

.app-wallet-summary__divider {
  width: 1px;
  height: 36px;
  background: var(--stroke-primary);
  margin: 0 16px;
}

.app-menu-group {
  margin-bottom: 16px;
}

.app-menu-group__title {
  padding: 0 4px;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.app-menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  margin-bottom: 6px;
  border-radius: var(--app-radius-md);
  border: 1px solid var(--stroke-primary);
  background: var(--bg-elevated-1);
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.app-menu-item:active {
  transform: scale(0.98);
}

.app-menu-item__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gold-subtle);
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.app-menu-item__text {
  flex: 1;
  min-width: 0;
  font-weight: 500;
}

.app-menu-item__arrow {
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

.app-menu-item__badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.app-menu-item__badge--success {
  background: rgba(14, 203, 129, 0.12);
  color: var(--color-success);
}

.app-menu-item__badge--danger {
  background: rgba(246, 70, 93, 0.12);
  color: var(--color-danger);
}

.app-plan-card {
  padding: 20px;
  margin-bottom: 12px;
  border-radius: var(--app-radius-lg);
  border: 1px solid var(--stroke-gold);
  background:
    linear-gradient(135deg, rgba(240, 185, 11, 0.08), transparent),
    var(--bg-elevated-1);
  box-shadow: var(--app-shadow);
}

.app-plan-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.app-plan-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gold-subtle);
  border: 1px solid var(--stroke-gold);
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.app-plan-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.app-plan-card__rate {
  font-size: 0.82rem;
  color: var(--gold-primary);
  font-weight: 500;
  margin-top: 2px;
}

.app-plan-card__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.app-plan-card__stat {
  padding: 10px 12px;
  border-radius: var(--app-radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke-primary);
  text-align: center;
}

.app-plan-card__stat span {
  display: block;
  margin-bottom: 4px;
  color: var(--text-secondary);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.app-plan-card__stat strong {
  color: var(--text-primary);
  font-size: 0.88rem;
  font-family: var(--font-mono);
  font-weight: 600;
}

.app-shell .btn--outline {
  min-height: var(--app-touch);
  border-radius: var(--app-radius-md);
  border: 1px solid rgba(246, 70, 93, 0.2);
  background: rgba(246, 70, 93, 0.08);
  color: var(--color-danger);
  font-size: 0.96rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease;
}

.app-shell .btn--outline:active {
  transform: scale(0.97);
}
