/* Customer asset recovery layer. Kept small so Hostinger pages stay fast. */
.asset-icon {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto;
  object-fit: contain;
}

.asset-icon-fallback {
  display: none;
}

.mall-category-grid span .asset-icon-fallback,
.mall-store-grid article .asset-icon-fallback {
  margin: 0 auto;
}

.mall-category-grid span.asset-missing .asset-icon-fallback,
.mall-store-grid article.asset-missing .asset-icon-fallback {
  display: grid;
}

.mall-product-grid article.image-missing::before,
.mall-review-grid article.image-missing::before {
  content: "";
  display: block;
  width: 100%;
  background:
    radial-gradient(circle at 24% 20%, rgba(245, 202, 101, .45), transparent 32%),
    radial-gradient(circle at 78% 25%, rgba(19, 166, 160, .34), transparent 35%),
    linear-gradient(135deg, #e8f7f5 0%, #ffffff 48%, #fff6dc 100%);
}

.mall-product-grid article.image-missing::before {
  height: 112px;
}

.mall-review-grid article.image-missing::before {
  height: 95px;
}

.mall-promo-slide {
  background-color: #0f7b8b;
}

.mall-wallet-art {
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 248, 228, .42), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.08));
}

@media (max-width: 480px) {
  .asset-icon {
    width: 30px;
    height: 30px;
  }

  .mall-product-grid article.image-missing::before {
    height: 92px;
  }

  .mall-review-grid article.image-missing::before {
    height: 76px;
  }
}

/* Premium Profile / Me page cards */
.premium-profile-hero {
  position: relative;
  overflow: hidden;
  margin: 8px 0 16px;
  border: 1px solid rgba(255,255,255,.76);
  background:
    radial-gradient(circle at 86% 16%, rgba(216,173,60,.22), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.9), rgba(231,249,250,.72));
  box-shadow: 0 24px 58px rgba(16, 76, 92, .14);
  backdrop-filter: blur(18px);
}

.premium-profile-hero::after {
  position: absolute;
  right: -42px;
  bottom: -50px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(18,183,172,.2), rgba(216,173,60,.2));
  content: "";
}

.premium-profile-summary {
  margin-bottom: 18px;
}

.premium-profile-summary .card {
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 22px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 18px 42px rgba(16,76,92,.1);
  backdrop-filter: blur(16px);
}

.premium-profile-actions {
  display: grid;
  gap: 18px;
  margin: 4px 0 18px;
}

.premium-profile-card {
  --card-a: #00c6ff;
  --card-b: #0072ff;
  --card-rgb: 0, 114, 255;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 16px;
  min-height: 104px;
  overflow: hidden;
  padding: 20px 18px;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.08)),
    linear-gradient(135deg, var(--card-a), var(--card-b));
  box-shadow:
    0 22px 44px rgba(var(--card-rgb), .28),
    inset 0 1px 0 rgba(255,255,255,.46);
  color: #fff;
  text-decoration: none;
  transform: translateZ(0);
  transition:
    transform 300ms cubic-bezier(.2,.9,.2,1),
    box-shadow 300ms ease,
    filter 300ms ease;
}

.premium-profile-card::before {
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 23px;
  background:
    radial-gradient(circle at 20% 16%, rgba(255,255,255,.34), transparent 27%),
    radial-gradient(circle at 92% 72%, rgba(255,255,255,.18), transparent 32%);
  content: "";
}

.premium-profile-card:hover,
.premium-profile-card:focus-visible {
  box-shadow:
    0 30px 62px rgba(var(--card-rgb), .34),
    inset 0 1px 0 rgba(255,255,255,.58);
  filter: saturate(1.05);
  outline: 0;
  transform: translateY(-4px) scale(1.03);
}

.premium-profile-card:active,
.premium-profile-card.is-pressed {
  transform: translateY(-1px) scale(.985);
}

.premium-profile-card-withdraw {
  --card-a: #ffd86f;
  --card-b: #fc6262;
  --card-rgb: 252, 98, 98;
  box-shadow: 0 22px 46px rgba(216, 173, 60, .34), inset 0 1px 0 rgba(255,255,255,.46);
}

.premium-profile-card-history {
  --card-a: #6a11cb;
  --card-b: #2575fc;
  --card-rgb: 106, 17, 203;
}

.premium-profile-card-bank {
  --card-a: #11998e;
  --card-b: #38ef7d;
  --card-rgb: 17, 153, 142;
}

.premium-profile-card-support {
  --card-a: #8e2de2;
  --card-b: #4a00e0;
  --card-rgb: 142, 45, 226;
}

.premium-profile-card-logout {
  --card-a: #ff512f;
  --card-b: #dd2476;
  --card-rgb: 221, 36, 118;
}

.premium-card-glow {
  position: absolute;
  top: -46px;
  right: -30px;
  width: 132px;
  height: 132px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  filter: blur(1px);
  pointer-events: none;
}

.premium-card-icon {
  position: relative;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.36), rgba(255,255,255,.16));
  box-shadow:
    0 14px 28px rgba(0,0,0,.13),
    0 0 28px rgba(255,255,255,.2),
    inset 0 1px 0 rgba(255,255,255,.58);
  backdrop-filter: blur(14px);
  transition: transform 300ms cubic-bezier(.2,.9,.2,1), box-shadow 300ms ease;
}

.premium-profile-card:hover .premium-card-icon,
.premium-profile-card:focus-visible .premium-card-icon {
  box-shadow:
    0 18px 34px rgba(0,0,0,.16),
    0 0 34px rgba(255,255,255,.34),
    inset 0 1px 0 rgba(255,255,255,.72);
  transform: scale(1.06) rotate(-2deg);
}

.premium-card-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.18));
}

.premium-card-copy {
  min-width: 0;
}

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

.premium-card-copy strong {
  font-size: 18px;
  font-weight: 950;
  letter-spacing: -.02em;
}

.premium-card-copy small {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 5px;
  color: rgba(255,255,255,.86);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.premium-card-arrow {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.38);
  transition: transform 300ms cubic-bezier(.2,.9,.2,1), background 300ms ease;
}

.premium-card-arrow::before {
  width: 9px;
  height: 9px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  content: "";
  transform: rotate(45deg);
}

.premium-profile-card:hover .premium-card-arrow,
.premium-profile-card:focus-visible .premium-card-arrow {
  background: rgba(255,255,255,.3);
  transform: translateX(4px);
}

.profile-card-ripple {
  position: absolute;
  z-index: 1;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.42);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: profileCardRipple .6s ease-out forwards;
}

@keyframes profileCardRipple {
  to { opacity: 0; transform: translate(-50%, -50%) scale(24); }
}

.rtl .premium-profile-card:hover .premium-card-arrow,
.rtl .premium-profile-card:focus-visible .premium-card-arrow {
  transform: translateX(-4px);
}

.rtl .premium-card-arrow::before {
  transform: rotate(-135deg);
}

@media (max-width: 520px) {
  .premium-profile-actions {
    gap: 14px;
  }

  .premium-profile-card {
    grid-template-columns: 54px minmax(0, 1fr) 30px;
    min-height: 92px;
    gap: 13px;
    padding: 16px 15px;
    border-radius: 22px;
  }

  .premium-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 20px;
  }

  .premium-card-icon svg {
    width: 28px;
    height: 28px;
  }

  .premium-card-copy strong {
    font-size: 16px;
  }

  .premium-card-copy small {
    font-size: 11px;
  }
}

/* Premium Global Mall customer UI refresh. Shared visual layer only. */
:root {
  --gm-teal: #07899a;
  --gm-teal-2: #12b7ac;
  --gm-blue: #dff6fb;
  --gm-gold: #d8ad3c;
  --gm-ink: #102d39;
  --gm-muted: #66808a;
  --gm-card: rgba(255,255,255,.86);
  --gm-shadow: 0 18px 44px rgba(15, 76, 92, .12);
}

.customer-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(18,183,172,.18), transparent 28%),
    radial-gradient(circle at 92% 4%, rgba(216,173,60,.18), transparent 24%),
    linear-gradient(180deg, #f7fdfe 0%, #eef9fb 42%, #fffaf0 130%);
  color: var(--gm-ink);
}

.customer-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  margin: 0 auto;
  padding: 12px max(14px, calc((100vw - 720px) / 2)) 10px;
  border-bottom: 1px solid rgba(8,137,154,.08);
  background: rgba(247,253,254,.78);
  box-shadow: 0 10px 30px rgba(16,45,57,.05);
  backdrop-filter: blur(18px);
}

.customer-topbar .brand {
  gap: 10px;
  color: var(--gm-ink);
  text-decoration: none;
}

.customer-topbar .brand .store-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--gm-teal), var(--gm-teal-2));
  box-shadow: 0 12px 24px rgba(7,137,154,.18);
}

.notice-link {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(8,137,154,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--gm-teal);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.customer-language {
  width: min(100% - 28px, 720px);
  margin: 10px auto 0;
}

.customer-language .language-switcher {
  justify-content: flex-end;
}

.customer-language .language-switcher label {
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid rgba(8,137,154,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  box-shadow: 0 10px 24px rgba(16,45,57,.06);
  backdrop-filter: blur(14px);
}

.customer-language .language-switcher span {
  color: var(--gm-muted);
  font-size: 10px;
  font-weight: 950;
}

.customer-language .language-switcher select {
  border: 0;
  background: transparent;
  color: var(--gm-teal);
  font-size: 12px;
  font-weight: 950;
}

.customer-main {
  animation: gmPageIn .28s ease both;
}

@keyframes gmPageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.customer-body .card,
.dash-section,
.dash-notice,
.profile-hero,
.profile-card,
.task-center-card,
.order-detail-card,
.maintenance-card,
.recharge-intro,
.bank-card,
.withdraw-card,
.support-card {
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 22px;
  background: var(--gm-card);
  box-shadow: var(--gm-shadow);
  backdrop-filter: blur(18px);
}

.customer-body button,
.customer-body .button,
.customer-body .task-submit,
.customer-body input[type="submit"] {
  position: relative;
  overflow: hidden;
  min-height: 44px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--gm-teal), var(--gm-teal-2));
  box-shadow: 0 14px 28px rgba(7,137,154,.18);
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease, filter .2s ease;
}

.customer-body .auth-ripple {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.42);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: customerRipple .55s ease-out forwards;
}

@keyframes customerRipple {
  to { opacity: 0; transform: translate(-50%, -50%) scale(18); }
}

.customer-body button:hover,
.customer-body .button:hover,
.customer-body .task-submit:hover {
  filter: saturate(1.08);
  transform: translateY(-1px);
}

.customer-body button:active,
.customer-body .button:active,
.customer-body .task-submit:active {
  transform: scale(.985);
}

.customer-body input,
.customer-body select,
.customer-body textarea {
  border-radius: 16px;
  border-color: rgba(8,137,154,.16);
  background: rgba(255,255,255,.82);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.customer-body input:focus,
.customer-body select:focus,
.customer-body textarea:focus {
  border-color: var(--gm-teal-2);
  background: #fff;
  outline: 0;
  box-shadow: 0 0 0 4px rgba(18,183,172,.13);
}

.dash-wallet {
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,.28), transparent 28%),
    linear-gradient(135deg, #05798d 0%, #12b7ac 62%, #d8ad3c 145%);
  box-shadow: 0 24px 54px rgba(7,137,154,.2);
}

.dash-actions a,
.profile-actions a,
.profile-menu a,
.quick-actions a {
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 20px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 14px 32px rgba(16,45,57,.08);
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease;
}

.dash-actions a:hover,
.profile-actions a:hover,
.profile-menu a:hover,
.quick-actions a:hover {
  box-shadow: 0 20px 42px rgba(16,45,57,.12);
  transform: translateY(-2px);
}

.bottom-nav.floating-nav {
  position: fixed;
  right: max(12px, calc((100vw - 520px) / 2));
  bottom: 14px;
  left: max(12px, calc((100vw - 520px) / 2));
  z-index: 80;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  max-width: 496px;
  min-height: 72px;
  margin: 0 auto;
  padding: 9px 10px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.86), rgba(255,255,255,.64)),
    linear-gradient(135deg, rgba(7,137,154,.18), rgba(216,173,60,.14));
  box-shadow: 0 22px 58px rgba(13, 74, 88, .22), inset 0 1px 0 rgba(255,255,255,.92);
  backdrop-filter: blur(22px);
}

.bottom-nav.floating-nav a {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 56px;
  place-items: center;
  color: rgba(16,45,57,.58);
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
  transition: color .25s ease, transform .25s cubic-bezier(.2,1.45,.35,1);
}

.bottom-nav.floating-nav a em {
  overflow: hidden;
  max-width: 100%;
  margin-top: 4px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: transform .25s cubic-bezier(.2,1.45,.35,1), opacity .25s ease;
}

.bottom-nav.floating-nav .nav-active-orb {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  transition: width .25s cubic-bezier(.2,1.45,.35,1), height .25s cubic-bezier(.2,1.45,.35,1), transform .25s cubic-bezier(.2,1.45,.35,1), background .25s ease, box-shadow .25s ease;
}

.bottom-nav.floating-nav a.active {
  color: var(--gm-teal);
  transform: translateY(-12px);
}

.bottom-nav.floating-nav a.active .nav-active-orb {
  width: 56px;
  height: 56px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(7,137,154,.2), inset 0 1px 0 rgba(255,255,255,.9);
  transform: scale(1.06);
}

.bottom-nav.floating-nav a.active em {
  color: var(--gm-ink);
  transform: translateY(-1px) scale(1.05);
}

.bottom-nav.floating-nav a:not(.active) .nav-active-orb {
  transform: scale(.84);
}

.nav-glyph {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
  color: currentColor;
  transition: transform .25s cubic-bezier(.2,1.45,.35,1), color .25s ease;
}

.active .nav-glyph {
  color: var(--gm-teal);
  transform: scale(1.1);
}

.nav-glyph-home::before {
  position: absolute;
  inset: 7px 3px 2px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 3px;
  content: "";
}

.nav-glyph-home::after {
  position: absolute;
  top: 2px;
  left: 5px;
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.nav-glyph-stock_markets::before {
  position: absolute;
  inset: 3px 2px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  content: "";
}

.nav-glyph-stock_markets::after {
  position: absolute;
  right: 3px;
  bottom: 6px;
  width: 14px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: skew(-20deg) rotate(-18deg);
}

.nav-glyph-task::before {
  position: absolute;
  inset: 2px 4px;
  border: 2px solid currentColor;
  border-radius: 5px;
  content: "";
}

.nav-glyph-task::after {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 8px;
  height: 4px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  content: "";
  transform: rotate(-45deg);
}

.nav-glyph-explore::before {
  position: absolute;
  inset: 3px;
  border: 2px solid currentColor;
  border-radius: 999px;
  content: "";
}

.nav-glyph-explore::after {
  position: absolute;
  top: 7px;
  left: 7px;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.nav-glyph-me::before {
  position: absolute;
  top: 3px;
  left: 7px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 999px;
  content: "";
}

.nav-glyph-me::after {
  position: absolute;
  right: 4px;
  bottom: 3px;
  left: 4px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 10px 10px 4px 4px;
  content: "";
}

.nav-press {
  animation: navSpring .25s cubic-bezier(.2,1.45,.35,1);
}

@keyframes navSpring {
  0% { transform: translateY(-12px) scale(.96); }
  70% { transform: translateY(-14px) scale(1.04); }
  100% { transform: translateY(-12px) scale(1); }
}

@media (max-width: 480px) {
  .customer-body .customer-main {
    padding-bottom: 112px;
  }

  .customer-topbar {
    padding-right: 12px;
    padding-left: 12px;
  }

  .bottom-nav.floating-nav {
    right: 10px;
    bottom: 10px;
    left: 10px;
    min-height: 70px;
    padding: 8px;
    border-radius: 26px;
  }

  .bottom-nav.floating-nav a {
    min-height: 54px;
    font-size: 9px;
  }

  .bottom-nav.floating-nav a.active .nav-active-orb {
    width: 52px;
    height: 52px;
  }
}

/* Compact mobile home split: Home stays short, Explore carries the rich content. */
.home-compact-wallet {
  margin-bottom: 14px;
}

.home-compact-wallet .mall-wallet-sub {
  position: static;
}

.home-compact-section {
  margin: 16px 0;
}

.home-live-list {
  max-height: none;
}

.home-featured-slider {
  height: 178px;
  border-radius: 16px;
}

.home-short-notice {
  margin-bottom: 10px;
}

.live-withdrawals-page {
  max-height: none;
}

.explore-hero {
  margin-top: 0;
}

.bottom-nav a {
  min-height: 44px;
}

.customer-body .customer-main {
  width: min(100% - 28px, 720px);
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

.home-live-list article:nth-child(n) {
  display: flex !important;
}

@media (max-width: 480px) {
  .customer-body .customer-main {
    width: min(100% - 20px, 430px);
    max-width: 430px;
    padding-top: 8px;
    padding-bottom: 84px;
  }

  .home-compact-wallet {
    grid-template-columns: 1fr 56px;
    margin-bottom: 10px;
    padding: 13px;
    border-radius: 16px;
  }

  .home-compact-wallet .mall-wallet-balance strong {
    font-size: 21px;
  }

  .home-compact-wallet .mall-wallet-title h2 {
    font-size: 12px;
  }

  .home-compact-wallet .mall-wallet-art {
    width: 52px;
    height: 58px;
    border-radius: 16px;
  }

  .home-compact-section {
    margin: 12px 0;
  }

  .home-compact-section .mall-section-title {
    margin-bottom: 8px;
  }

  .home-compact-section .mall-section-title h2 {
    font-size: 15px;
  }

  .home-featured-slider {
    height: 150px;
  }

  .home-live-list {
    gap: 6px;
  }

  .home-live-list article {
    padding: 8px;
  }

  .home-short-notice {
    padding: 12px;
    border-radius: 16px;
  }

  .home-short-notice p {
    font-size: 12px;
    line-height: 1.4;
  }

  .bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
  }

  .bottom-nav a {
    min-height: 48px;
  }

  .explore-hero .mall-promo-slider {
    height: 190px;
  }
}

/* Urgent dashboard safety layer: these classes do not depend on older mall layout rules. */
.dash-wallet,
.dash-actions,
.dash-section,
.dash-notice {
  display: block !important;
  visibility: visible !important;
}

.dash-wallet {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 10px 0 16px;
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0f7b8b 0%, #13a6a0 68%, #f5ca65 145%);
  color: #fff;
  box-shadow: 0 18px 38px rgba(15, 123, 139, .18);
}

.dash-wallet p,
.dash-wallet h1 {
  margin: 0;
}

.dash-wallet p {
  color: #dff9f7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dash-wallet h1 {
  margin-top: 4px;
  font-size: 15px;
}

.dash-wallet strong {
  display: block;
  margin-top: 12px;
  font-size: 28px;
  line-height: 1;
}

.dash-wallet button {
  min-width: 44px;
  min-height: 44px;
  border-radius: 14px;
  background: rgba(255,255,255,.18);
  box-shadow: none;
}

.dash-actions {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

.dash-actions a {
  display: grid;
  min-height: 74px;
  place-items: center;
  gap: 6px;
  padding: 10px 4px;
  border: 1px solid #dcecef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(20,82,96,.07);
  color: #123139;
  font-size: 12px;
  font-weight: 900;
}

.dash-actions span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 12px;
  background: #e8f7f5;
  color: #0f7b8b;
}

.dash-section {
  margin: 16px 0;
}

.dash-section h2,
.dash-title h2 {
  margin: 0 0 10px;
  color: #123139;
  font-size: 17px;
}

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

.dash-title a {
  color: #0f7b8b;
  font-size: 12px;
  font-weight: 900;
}

.dash-progress {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.dash-progress article {
  min-height: 74px;
  padding: 12px 9px;
  border: 1px solid #dcecef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(20,82,96,.06);
}

.dash-progress span {
  display: block;
  color: #6b7e85;
  font-size: 10px;
}

.dash-progress strong {
  display: block;
  margin-top: 8px;
  color: #0f7b8b;
  font-size: 18px;
}

.dash-live-list {
  display: grid !important;
  gap: 8px;
  max-height: none !important;
  overflow: visible !important;
}

.dash-live-list article {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #dcecef;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(20,82,96,.05);
}

.dash-live-list article > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 50%;
  background: #e8f7f5;
  color: #0f7b8b;
  font-weight: 900;
}

.dash-live-list strong,
.dash-live-list small {
  display: block;
}

.dash-live-list strong {
  color: #123139;
  font-size: 12px;
}

.dash-live-list small {
  margin-top: 2px;
  color: #6b7e85;
  font-size: 10px;
}

.dash-live-list b {
  margin-left: auto;
  color: #0f7b8b;
  text-align: right;
  font-size: 12px;
}

.dash-live-list em {
  display: block;
  margin-top: 3px;
  color: #9a6a04;
  font-size: 9px;
  font-style: normal;
  letter-spacing: .06em;
}

.dash-slider {
  position: relative;
  display: block !important;
  height: 170px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #0f7b8b, #13a6a0);
  box-shadow: 0 14px 32px rgba(20,82,96,.12);
}

.dash-notice {
  margin: 16px 0 8px;
  padding: 14px;
  border: 1px solid #f0dda8;
  border-radius: 16px;
  background: #fff8e4;
  color: #745108;
  box-shadow: 0 10px 22px rgba(154,106,4,.08);
}

.dash-notice p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 480px) {
  .dash-wallet {
    margin-top: 8px;
    padding: 16px;
    border-radius: 17px;
  }

  .dash-wallet strong {
    font-size: 24px;
  }

  .dash-actions {
    gap: 7px;
  }

  .dash-actions a {
    min-height: 66px;
    border-radius: 15px;
    font-size: 11px;
  }

  .dash-slider {
    height: 150px;
  }
}

/* Amazon-style Explore feed */
.explore-feed {
  display: grid;
  gap: 18px;
  margin: 4px auto 18px;
}

.explore-card {
  overflow: hidden;
  border: 1px solid #dcecef;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(20,82,96,.09);
}

.explore-media {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f7b8b, #13a6a0);
}

.explore-media img,
.explore-media video {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.explore-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 90px 18px 18px;
  background: linear-gradient(180deg, transparent, rgba(5, 24, 30, .82));
  color: #fff;
}

.explore-overlay span {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff8e4;
  color: #8a6208;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.explore-overlay h2 {
  margin: 0 0 7px;
  font-size: 22px;
  text-shadow: 0 2px 10px rgba(0,0,0,.24);
}

.explore-overlay p {
  max-width: 92%;
  margin: 0;
  color: #edfffd;
  font-size: 13px;
  line-height: 1.45;
}

.explore-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 11px;
}

.explore-actions button {
  min-height: 44px;
  border-radius: 14px;
  background: #edf8f8;
  box-shadow: none;
  color: #0f7b8b;
}

.explore-actions button.active {
  background: linear-gradient(135deg, #0f7b8b, #13a6a0);
  color: #fff;
}

.explore-product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 11px 13px;
  padding: 12px;
  border-radius: 16px;
  background: #fff8e4;
  color: #123139;
}

.explore-product strong,
.explore-product span {
  display: block;
}

.explore-product strong {
  font-size: 13px;
}

.explore-product span {
  margin-top: 4px;
  color: #9a6a04;
  font-size: 12px;
  font-weight: 900;
}

.explore-product a {
  min-width: 58px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #0f7b8b;
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 480px) {
  .explore-feed {
    gap: 14px;
    margin-top: 2px;
  }

  .explore-card {
    border-radius: 18px;
  }

  .explore-media {
    min-height: 390px;
  }

  .explore-media img,
  .explore-media video {
    height: 390px;
  }

  .explore-overlay {
    padding: 78px 14px 15px;
  }

  .explore-overlay h2 {
    font-size: 19px;
  }

  .explore-actions {
    padding: 9px;
  }
}

/* Marketplace home refresh */
.market-announcement {
  overflow: hidden;
  margin: 6px 0 14px;
  border: 1px solid #dcecef;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20,82,96,.06);
}

.market-announcement div {
  display: flex;
  width: max-content;
  gap: 28px;
  padding: 10px 0;
  animation: marketMarquee 42s linear infinite;
}

.market-announcement:hover div,
.market-withdraw-marquee:hover div,
.partner-carousel:hover div {
  animation-play-state: paused;
}

.market-announcement span {
  color: #0f7b8b;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.market-wallet {
  overflow: hidden;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(15,123,139,.92), rgba(19,166,160,.84)), rgba(255,255,255,.55);
  color: #fff;
  box-shadow: 0 20px 50px rgba(15,123,139,.18);
  backdrop-filter: blur(14px);
}

.market-wallet-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.market-wallet p,
.market-wallet strong {
  display: block;
  margin: 0;
}

.market-wallet p {
  color: #dff9f7;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.market-wallet strong {
  margin-top: 10px;
  font-size: 32px;
  line-height: 1;
}

.market-wallet button {
  min-width: 44px;
  min-height: 44px;
  border-radius: 14px;
  background: rgba(255,255,255,.18);
  box-shadow: none;
}

.market-wallet-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px;
}

.market-wallet-actions a {
  display: grid;
  min-height: 64px;
  place-items: center;
  gap: 5px;
  padding: 8px 4px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 16px;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.market-wallet-actions span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  color: #0f7b8b;
}

.market-section {
  margin: 18px 0;
}

.market-section h2 {
  margin: 0 0 10px;
  color: #123139;
  font-size: 17px;
}

.market-withdraw-marquee,
.partner-carousel {
  overflow: hidden;
}

.market-withdraw-marquee div,
.partner-carousel div {
  display: flex;
  width: max-content;
  gap: 10px;
}

.market-withdraw-marquee div {
  animation: marketMarquee 34s linear infinite;
}

.partner-carousel div {
  animation: marketMarquee 30s linear infinite;
}

.market-withdraw-marquee article {
  min-width: 210px;
  padding: 12px;
  border: 1px solid #dcecef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(20,82,96,.06);
}

.market-withdraw-marquee strong,
.market-withdraw-marquee b,
.market-withdraw-marquee span {
  display: block;
}

.market-withdraw-marquee strong {
  color: #123139;
  font-size: 12px;
}

.market-withdraw-marquee b {
  margin: 7px 0 4px;
  color: #0f7b8b;
}

.market-withdraw-marquee span {
  color: #9a6a04;
  font-size: 10px;
  font-weight: 900;
}

.partner-carousel article {
  display: grid;
  min-width: 112px;
  min-height: 86px;
  place-items: center;
  gap: 6px;
  padding: 12px;
  border: 1px solid #dcecef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(20,82,96,.06);
}

.partner-carousel span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 14px;
  background: #fff8e4;
  color: #9a6a04;
  font-size: 11px;
  font-weight: 900;
}

.partner-carousel strong {
  color: #123139;
  font-size: 12px;
}

.about-market {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  margin: 18px 0;
  padding: 14px;
  border: 1px solid #dcecef;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(20,82,96,.07);
}

.about-art {
  min-height: 150px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(8,36,43,.04), rgba(8,36,43,.2)), var(--intro), linear-gradient(135deg,#0f7b8b,#13a6a0);
  background-position: center;
  background-size: cover;
}

.about-market h2 {
  margin: 0 0 8px;
  color: #123139;
}

.about-market p {
  margin: 0 0 8px;
  color: #60727a;
  font-size: 13px;
  line-height: 1.45;
}

.about-market a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: #0f7b8b;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.explore-head {
  margin: 4px 0 14px;
}

.explore-head h1 {
  margin: 0 0 5px;
  color: #123139;
}

.explore-head p:last-child {
  margin: 0;
  color: #60727a;
  font-size: 13px;
  line-height: 1.45;
}

.explore-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding: 11px 11px 0;
}

.explore-stats span {
  padding: 8px 6px;
  border-radius: 999px;
  background: #f4fafb;
  color: #0f7b8b;
  text-align: center;
  font-size: 11px;
  font-weight: 900;
}

.explore-product small {
  display: block;
  margin-bottom: 3px;
  color: #60727a;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.explore-banner {
  min-height: 160px;
  display: grid;
  align-content: end;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(7,40,48,.04), rgba(7,40,48,.72)), var(--banner), linear-gradient(135deg,#0f7b8b,#13a6a0);
  background-position: center;
  background-size: cover;
  color: #fff;
  box-shadow: 0 16px 40px rgba(20,82,96,.09);
}

.explore-banner span {
  width: max-content;
  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff8e4;
  color: #8a6208;
  font-size: 10px;
  font-weight: 900;
}

.explore-banner strong {
  font-size: 20px;
}

.explore-banner p {
  margin: 5px 0 0;
  color: #ecfffd;
  font-size: 13px;
}

@keyframes marketMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 480px) {
  .market-wallet {
    padding: 15px;
    border-radius: 18px;
  }

  .market-wallet strong {
    font-size: 26px;
  }

  .market-wallet-actions {
    gap: 7px;
  }

  .market-wallet-actions a {
    min-height: 60px;
    border-radius: 15px;
    font-size: 10px;
  }

  .about-market {
    grid-template-columns: 1fr;
  }

  .about-art {
    min-height: 138px;
  }
}

.market-announcement.is-paused div,
.market-withdraw-marquee.is-paused div,
.partner-carousel.is-paused div {
  animation-play-state: paused;
}

.task-products-section {
  margin: 18px 0 6px;
}

.task-products-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.task-products-head h2,
.task-products-head p {
  margin: 0;
}

.task-products-head h2 {
  color: #123139;
  font-size: 18px;
}

.task-products-head a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff8e4;
  color: #8a6208;
  font-size: 12px;
  font-weight: 900;
}

.product-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 14px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.product-rail::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 172px;
  overflow: hidden;
  border: 1px solid #dcecef;
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 34px rgba(20,82,96,.08);
}

.product-card img {
  display: block;
  width: 100%;
  height: 126px;
  object-fit: cover;
  background: linear-gradient(135deg, #e8faf9, #fff8e4);
}

.product-card-body {
  padding: 11px;
}

.product-card small {
  display: block;
  margin-bottom: 5px;
  color: #72909a;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card strong {
  display: -webkit-box;
  min-height: 36px;
  overflow: hidden;
  color: #123139;
  font-size: 13px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card-body div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 10px 0;
}

.product-card b {
  color: #0f7b8b;
}

.product-card span {
  color: #9a6a04;
  font-size: 10px;
  font-weight: 900;
}

.product-card button {
  width: 100%;
  min-height: 38px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #0f7b8b, #14b6ad);
  color: #fff;
  font-weight: 900;
}

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

.explore-actions button.active {
  background: #0f7b8b;
  color: #fff;
}

.heart-pop {
  animation: heartPop .65s ease;
}

.explore-toast {
  position: fixed;
  left: 50%;
  bottom: 86px;
  z-index: 70;
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(18,49,57,.94);
  color: #fff;
  box-shadow: 0 16px 34px rgba(18,49,57,.18);
  font-size: 13px;
  font-weight: 900;
  transition: .2s ease;
}

.explore-toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(6,22,28,.82);
}

.image-lightbox img {
  max-width: min(100%, 760px);
  max-height: 82vh;
  border-radius: 22px;
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
}

.image-lightbox button {
  position: fixed;
  top: 18px;
  right: 18px;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  background: #fff;
  color: #123139;
  font-weight: 900;
}

@keyframes heartPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.16); }
  100% { transform: scale(1); }
}

@media (max-width: 480px) {
  .task-products-head h2 {
    font-size: 16px;
  }

  .product-card {
    flex-basis: 154px;
  }

  .product-card img {
    height: 112px;
  }
}

.task-products-section {
  padding: 16px 0 4px;
}

.task-products-head {
  align-items: center;
}

.task-products-head span {
  display: block;
  margin-top: 4px;
  color: #6e8288;
  font-size: 12px;
  line-height: 1.4;
}

.luxury-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 12px 0;
  padding-bottom: 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.luxury-tabs::-webkit-scrollbar {
  display: none;
}

.luxury-tabs span {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid rgba(15,123,139,.14);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(232,250,249,.8));
  color: #123139;
  box-shadow: 0 8px 22px rgba(20,82,96,.06);
  font-size: 11px;
  font-weight: 900;
}

.luxury-tabs span:nth-child(1),
.luxury-tabs span:nth-child(6) {
  background: linear-gradient(135deg, #fff8e4, #ffffff);
  color: #8a6208;
}

.product-rail,
.nft-rail {
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.luxury-product-card {
  position: relative;
  flex: 0 0 224px;
  scroll-snap-align: start;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, rgba(255,248,228,.86), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.95), rgba(238,251,250,.88));
  box-shadow: 0 22px 46px rgba(20,82,96,.13);
  backdrop-filter: blur(14px);
}

.luxury-product-image {
  position: relative;
  margin: 10px 10px 0;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, #e8faf9, #fff8e4);
}

.luxury-product-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform .45s ease;
}

.luxury-product-card:hover img {
  transform: scale(1.06);
}

.luxury-badge,
.verified-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,248,228,.94);
  color: #8a6208;
  box-shadow: 0 10px 26px rgba(138,98,8,.12);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.luxury-badge {
  position: absolute;
  top: 10px;
  left: 10px;
}

.luxury-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 9px;
}

.brand-logo {
  display: inline-grid;
  min-width: 42px;
  height: 30px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #102f39, #0f7b8b);
  color: #fff;
  box-shadow: 0 10px 20px rgba(15,123,139,.18);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .06em;
}

.luxury-product-card small {
  color: #7a9097;
  font-size: 10px;
}

.luxury-product-card strong {
  min-height: 42px;
  font-size: 15px;
  letter-spacing: -.01em;
}

.luxury-meta {
  margin: 12px 0 2px;
}

.luxury-meta b {
  color: #123139;
  font-size: 16px;
}

.luxury-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #9a6a04;
}

.luxury-meta span::before {
  content: "*****";
  color: #d79a12;
  letter-spacing: -1px;
}

.nft-showcase-section {
  margin-top: 4px;
}

.nft-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(15,123,139,.2), transparent 38%),
    linear-gradient(145deg, #102f39, #174b57);
  box-shadow: 0 22px 48px rgba(18,49,57,.18);
  color: #fff;
}

.nft-card img {
  display: block;
  width: 100%;
  height: 176px;
  object-fit: cover;
}

.nft-card-body {
  padding: 13px;
}

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

.nft-card strong {
  margin: 9px 0 5px;
  font-size: 16px;
}

.nft-card small {
  color: #b8d5d8;
  font-size: 11px;
}

.nft-card b {
  margin-top: 10px;
  color: #fff8e4;
}

@media (max-width: 480px) {
  .luxury-product-card {
    flex-basis: 198px;
    border-radius: 23px;
  }

  .luxury-product-card img {
    height: 166px;
  }

  .nft-card {
    flex-basis: 198px;
  }

  .nft-card img {
    height: 156px;
  }
}

.stock-hero {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 4px 0 14px;
  padding: 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(42, 211, 187, .35), transparent 34%),
    linear-gradient(145deg, #071c32, #0b3459 58%, #102f39);
  color: #fff;
  box-shadow: 0 22px 50px rgba(7, 28, 50, .18);
}

.stock-hero h1,
.stock-hero p {
  margin: 0;
}

.stock-hero h1 {
  font-size: 28px;
  letter-spacing: -.04em;
}

.stock-hero p:last-child {
  margin-top: 8px;
  color: #c6e8ee;
  font-size: 13px;
  line-height: 1.45;
}

.stock-hero > span {
  flex: 0 0 auto;
  height: max-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,248,228,.95);
  color: #8a6208;
  font-size: 11px;
  font-weight: 950;
}

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

.market-summary-card {
  min-width: 0;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 30px rgba(20,82,96,.08);
}

.market-summary-card span,
.market-summary-card strong,
.market-summary-card small {
  display: block;
}

.market-summary-card span {
  color: #6b7f88;
  font-size: 11px;
  font-weight: 950;
}

.market-summary-card strong {
  margin: 7px 0 3px;
  color: #123139;
  font-size: 15px;
}

.market-summary-card small,
.market-up {
  color: #0c9f6e;
}

.market-summary-card.is-down small,
.market-down {
  color: #e05252;
}

.stock-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 6px 0 14px;
}

.stock-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: #eef8fa;
  color: #123139;
  font-weight: 900;
}

.stock-tabs button.active {
  background: linear-gradient(135deg, #071c32, #0f7b8b);
  color: #fff;
  box-shadow: 0 12px 28px rgba(15,123,139,.16);
}

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

.market-chart-card {
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(42,211,187,.14), transparent 34%),
    linear-gradient(145deg, #09223a, #0e3657);
  color: #fff;
  box-shadow: 0 18px 42px rgba(7,28,50,.16);
}

.market-chart-card.is-hidden {
  display: none;
}

.market-card-top,
.market-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.market-card-top span,
.market-card-top strong,
.market-card-top b,
.market-card-top small {
  display: block;
}

.market-card-top span {
  color: #88d7de;
  font-size: 12px;
  font-weight: 950;
}

.market-card-top strong {
  margin-top: 3px;
  color: #fff;
}

.market-card-top > div:last-child {
  text-align: right;
}

.market-card-top b {
  font-size: 16px;
}

.market-card-top small,
.market-card-foot {
  font-size: 11px;
}

.market-chart-card canvas {
  display: block;
  width: 100%;
  height: 124px;
  margin: 12px 0;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
}

.market-card-foot {
  color: #b7d4db;
}

.market-disclaimer {
  margin: 14px 0 4px;
  padding: 14px;
  border-radius: 20px;
  background: #fff8e4;
  color: #5f4204;
}

.market-disclaimer strong {
  display: block;
  margin-bottom: 4px;
}

.market-disclaimer p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 480px) {
  .stock-hero {
    padding: 16px;
    border-radius: 20px;
  }

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

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

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

.trading-terminal {
  display: grid;
  gap: 14px;
}

.trading-hero {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(34,209,143,.26), transparent 35%),
    linear-gradient(145deg, #061727, #0b2944 52%, #08111f);
  color: #fff;
  box-shadow: 0 24px 54px rgba(7,28,50,.2);
}

.trading-hero h1,
.trading-hero p {
  margin: 0;
}

.trading-hero h1 {
  font-size: 28px;
  letter-spacing: -.04em;
}

.trading-hero p:last-child {
  margin-top: 8px;
  color: #bfd9e1;
  font-size: 13px;
  line-height: 1.45;
}

.trading-hero > span {
  height: max-content;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #e9fbff;
  font-size: 11px;
  font-weight: 950;
}

.terminal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 12px;
}

.terminal-layout.is-disabled {
  opacity: .72;
}

.market-watchlist,
.terminal-main,
.market-unavailable {
  border: 1px solid rgba(151,187,197,.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(34,209,143,.08), transparent 38%),
    linear-gradient(145deg, #071c32, #081827);
  color: #fff;
  box-shadow: 0 20px 46px rgba(7,28,50,.18);
}

.market-unavailable {
  padding: 16px;
  background:
    radial-gradient(circle at top right, rgba(242,200,107,.2), transparent 38%),
    linear-gradient(145deg, #102f39, #071c32);
}

.market-unavailable strong {
  display: block;
  margin-bottom: 5px;
}

.market-unavailable p {
  margin: 0;
  color: #c5dfe6;
  font-size: 13px;
  line-height: 1.45;
}

.market-watchlist {
  overflow: hidden;
  padding: 12px;
}

.watchlist-head,
.terminal-top,
.terminal-toolbar,
.market-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.watchlist-head small {
  color: #84c9d4;
  font-size: 10px;
  font-weight: 800;
}

.watchlist-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 12px 0;
}

.watchlist-tabs button,
.timeframes button,
.drawing-tools button {
  min-height: 34px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #cde7ee;
  box-shadow: none;
  font-size: 11px;
  font-weight: 900;
}

.watchlist-tabs button.active,
.timeframes button.active,
.drawing-tools button.active {
  background: linear-gradient(135deg, #0f7b8b, #22d18f);
  color: #fff;
}

.watchlist-symbols {
  display: grid;
  gap: 7px;
}

.watchlist-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  width: 100%;
  min-height: 58px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 15px;
  background: rgba(255,255,255,.045);
  color: #fff;
  text-align: left;
  box-shadow: none;
}

.watchlist-row.active {
  border-color: rgba(34,209,143,.5);
  background: rgba(34,209,143,.12);
}

.watchlist-row.is-hidden,
.market-chart-card.is-hidden {
  display: none;
}

.watchlist-row b,
.watchlist-row small,
.watchlist-row i {
  display: block;
}

.watchlist-row small {
  overflow: hidden;
  color: #85aeb8;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.watch-price {
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.watchlist-row i {
  grid-column: 2;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  text-align: right;
}

.terminal-main {
  min-width: 0;
  padding: 14px;
}

.terminal-top {
  margin-bottom: 12px;
}

.terminal-top span,
.terminal-top strong,
.terminal-price b,
.terminal-price small {
  display: block;
}

.terminal-top span {
  color: #22d18f;
  font-size: 14px;
  font-weight: 950;
}

.terminal-top strong {
  color: #fff;
  font-size: 19px;
}

.terminal-price {
  text-align: right;
}

.terminal-price b {
  color: #fff;
  font-size: 22px;
}

.terminal-price small {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 900;
}

.terminal-toolbar {
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.timeframes,
.drawing-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chart-shell {
  position: relative;
  overflow: hidden;
  height: 420px;
  min-height: 420px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background: #071c32;
}

.tradingview-shell,
.tradingview-widget-box,
.tradingview-widget-container__widget,
.live-chart {
  width: 100%;
  height: 420px;
  min-height: 420px;
}

.drawing-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.drawing-layer.is-drawing {
  cursor: crosshair;
  pointer-events: auto;
}

.chart-loading,
.chart-error {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(7,28,50,.84);
  color: #fff;
  text-align: center;
  font-weight: 900;
}

.chart-loading.show,
.chart-error.show {
  display: grid;
}

.chart-error {
  color: #fff8e4;
}

.market-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 12px;
}

.market-metrics article {
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 15px;
  background: rgba(255,255,255,.045);
}

.market-metrics span,
.market-metrics strong {
  display: block;
}

.market-metrics span {
  color: #85aeb8;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.market-metrics strong {
  overflow: hidden;
  margin-top: 5px;
  color: #fff;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-up {
  color: #22d18f !important;
}

.market-down {
  color: #ff6b6b !important;
}

@media (max-width: 760px) {
  .terminal-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .trading-hero {
    padding: 16px;
    border-radius: 20px;
  }

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

  .watchlist-symbols,
  .market-metrics {
    grid-template-columns: 1fr;
  }

  .terminal-top {
    align-items: flex-start;
  }

  .terminal-price b {
    font-size: 18px;
  }

  .chart-shell,
  .tradingview-shell,
  .tradingview-widget-box,
  .tradingview-widget-container__widget,
  .live-chart {
    height: 360px;
    min-height: 360px;
  }
}

/* URGENT CUSTOMER LAYOUT STABILIZER
   Keeps all customer pages on one clean Global Mall mobile layout and prevents
   old decorative rules from creating huge empty blocks or escaping text. */
html,
body.customer-body {
  overflow-x: hidden !important;
}

.customer-body {
  min-height: 100vh !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(18,183,172,.14), transparent 26%),
    radial-gradient(circle at 92% 3%, rgba(216,173,60,.14), transparent 24%),
    linear-gradient(180deg, #f8feff 0%, #eef9fb 48%, #fffaf0 130%) !important;
  color: #102d39 !important;
}

.customer-body *,
.customer-body *::before,
.customer-body *::after {
  box-sizing: border-box;
}

.customer-topbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  width: 100% !important;
  background: rgba(248,254,255,.86) !important;
}

.customer-language {
  width: min(100% - 28px, 720px) !important;
  max-width: 720px !important;
}

.customer-main,
.customer-body .customer-main {
  display: block !important;
  width: min(100% - 28px, 720px) !important;
  max-width: 720px !important;
  min-height: auto !important;
  margin: 0 auto !important;
  padding: 12px 0 124px !important;
}

.customer-page-title {
  margin: 4px 0 14px !important;
  padding: 16px 16px 14px !important;
  border: 1px solid rgba(255,255,255,.76) !important;
  border-radius: 22px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.9), rgba(230,249,250,.72)) !important;
  box-shadow: 0 16px 38px rgba(16,76,92,.08) !important;
  backdrop-filter: blur(16px);
}

.customer-page-title .eyebrow,
.customer-page-title h1 {
  margin: 0 !important;
}

.customer-page-title h1 {
  margin-top: 3px !important;
  color: #102d39 !important;
  font-size: clamp(22px, 6vw, 32px) !important;
  font-weight: 950 !important;
  letter-spacing: -.04em !important;
  line-height: 1.05 !important;
}

.customer-body section,
.customer-body article,
.customer-body form,
.customer-body div {
  max-width: 100%;
}

.customer-body img,
.customer-body video,
.customer-body canvas,
.customer-body iframe {
  max-width: 100% !important;
}

.customer-body .card,
.customer-body .profile-hero-card,
.customer-body .profile-wallet-mini,
.customer-body .profile-credit-mini,
.customer-body .withdraw-balance,
.customer-body .withdrawal-row,
.customer-body .task-center-banner,
.customer-body .task-center-summary,
.customer-body .package-progress,
.customer-body .task-center-notice,
.customer-body .order-detail-card,
.customer-body .explore-head,
.customer-body .explore-card,
.customer-body .explore-banner,
.customer-body .trading-hero,
.customer-body .terminal-layout,
.customer-body .market-card,
.customer-body .support-card,
.customer-body .bank-card {
  overflow: hidden !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  border: 1px solid rgba(255,255,255,.78) !important;
  border-radius: 22px !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.92), rgba(244,253,254,.78)) !important;
  box-shadow: 0 16px 38px rgba(16,76,92,.1) !important;
  color: #102d39 !important;
  backdrop-filter: blur(16px);
}

.customer-body .card,
.customer-body .withdraw-balance,
.customer-body .withdrawal-row,
.customer-body .task-center-summary,
.customer-body .package-progress,
.customer-body .task-center-notice,
.customer-body .order-detail-card,
.customer-body .support-card,
.customer-body .bank-card {
  padding: 16px !important;
}

.customer-body h1,
.customer-body h2,
.customer-body h3,
.customer-body strong {
  overflow-wrap: anywhere;
}

.customer-body p,
.customer-body span,
.customer-body small,
.customer-body label,
.customer-body a {
  overflow-wrap: anywhere;
}

.customer-body .muted {
  color: #66808a !important;
}

.customer-body .eyebrow {
  color: #07899a !important;
  font-size: 10px !important;
  font-weight: 950 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}

.profile-summary-grid,
.task-center-stats,
.market-metrics,
.watchlist-symbols,
.profile-service-grid {
  display: grid !important;
  gap: 12px !important;
}

.profile-summary-grid,
.task-center-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.premium-profile-card {
  color: #fff !important;
}

.premium-profile-card * {
  color: inherit;
}

.premium-card-copy small {
  color: rgba(255,255,255,.86) !important;
}

.profile-card-ripple,
.auth-ripple {
  background: rgba(255,255,255,.42) !important;
}

.customer-body a {
  -webkit-tap-highlight-color: transparent;
}

.customer-body .profile-actions,
.customer-body .dash-actions,
.customer-body .quick-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.customer-body .profile-actions a,
.customer-body .dash-actions a,
.customer-body .quick-actions a,
.customer-body .profile-service-card {
  position: relative !important;
  min-height: 72px !important;
  overflow: hidden !important;
  padding: 14px !important;
  border: 1px solid rgba(255,255,255,.78) !important;
  border-radius: 20px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(232,249,250,.76)) !important;
  box-shadow: 0 14px 32px rgba(16,76,92,.09) !important;
  color: #102d39 !important;
  text-decoration: none !important;
}

.customer-body .profile-service-card > span {
  color: #07899a !important;
  background: #e5f7f8 !important;
}

.customer-body .task-center-banner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  min-height: auto !important;
  padding: 18px !important;
  background:
    radial-gradient(circle at 84% 18%, rgba(216,173,60,.24), transparent 30%),
    linear-gradient(135deg, #07899a, #12b7ac) !important;
  color: #fff !important;
}

.customer-body .task-center-banner * {
  color: inherit !important;
}

.customer-body .task-center-banner .eyebrow {
  color: rgba(255,255,255,.78) !important;
}

.customer-body .task-center-banner h1,
.customer-body .task-center-banner p {
  margin: 0 !important;
}

.customer-body .task-center-banner h1 {
  margin-top: 3px !important;
}

.customer-body .task-center-banner b {
  flex: 0 0 auto !important;
  padding: 10px 12px !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,.18) !important;
}

.customer-body .task-products-section,
.customer-body .nft-showcase-section {
  overflow: hidden !important;
}

.customer-body .product-rail,
.customer-body .nft-rail,
.customer-body .luxury-rail {
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
}

.customer-body .explore-media,
.customer-body .explore-media img,
.customer-body .explore-media video {
  background: linear-gradient(135deg, #e6f8fb, #fff8e4) !important;
}

.customer-body .explore-card,
.customer-body .explore-banner {
  background: #fff !important;
}

.customer-body .explore-overlay {
  background: linear-gradient(180deg, transparent, rgba(8,45,57,.72)) !important;
}

.customer-body .terminal-layout,
.customer-body .chart-shell,
.customer-body .tradingview-shell,
.customer-body .watchlist-panel,
.customer-body .terminal-main {
  border-color: rgba(15,84,101,.18) !important;
  background: linear-gradient(145deg, #0d243a, #102f4b) !important;
  box-shadow: 0 18px 40px rgba(8,31,51,.14) !important;
  color: #fff !important;
}

.customer-body .chart-shell {
  min-height: 320px !important;
}

.customer-body .chart-loading,
.customer-body .chart-error {
  background: rgba(13,36,58,.82) !important;
}

.customer-body .terminal-layout *,
.customer-body .chart-shell *,
.customer-body .watchlist-panel *,
.customer-body .terminal-main * {
  max-width: 100%;
}

.customer-body table {
  width: 100%;
  border-collapse: collapse;
}

.customer-body .stack {
  display: grid !important;
  gap: 12px !important;
}

.bottom-nav.floating-nav {
  right: max(10px, calc((100vw - 520px) / 2)) !important;
  bottom: 10px !important;
  left: max(10px, calc((100vw - 520px) / 2)) !important;
}

@media (max-width: 600px) {
  .customer-main,
  .customer-body .customer-main {
    width: min(100% - 20px, 430px) !important;
    max-width: 430px !important;
    padding-top: 10px !important;
    padding-bottom: 118px !important;
  }

  .customer-language {
    width: min(100% - 20px, 430px) !important;
  }

  .customer-page-title {
    padding: 13px 14px !important;
    border-radius: 18px !important;
  }

  .customer-page-title h1 {
    font-size: 22px !important;
  }

  .profile-summary-grid,
  .task-center-stats,
  .market-metrics,
  .watchlist-symbols,
  .profile-service-grid {
    grid-template-columns: 1fr !important;
  }

  .customer-body .profile-actions,
  .customer-body .dash-actions,
  .customer-body .quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .customer-body .card,
  .customer-body .withdraw-balance,
  .customer-body .withdrawal-row,
  .customer-body .task-center-summary,
  .customer-body .package-progress,
  .customer-body .task-center-notice,
  .customer-body .order-detail-card,
  .customer-body .support-card,
  .customer-body .bank-card {
    padding: 14px !important;
    border-radius: 18px !important;
  }

  .customer-body .task-center-banner {
    padding: 15px !important;
    border-radius: 20px !important;
  }

  .customer-body .chart-shell,
  .customer-body .tradingview-shell,
  .customer-body .tradingview-widget-box,
  .customer-body .tradingview-widget-container__widget,
  .customer-body .live-chart {
    height: 340px !important;
    min-height: 340px !important;
  }
}

/* FINAL URGENT SAFE CUSTOMER LAYOUT OVERRIDE
   This section intentionally wins over older redesign layers. */
.gm-illustration,
.auth-showcase,
.auth-orb,
.auth-float {
  display: none !important;
}

.customer-body .customer-main {
  position: relative !important;
  isolation: isolate !important;
}

.customer-body .customer-main > * {
  max-width: 100% !important;
}

.customer-page-title,
.customer-body .card,
.customer-body .profile-hero-card,
.customer-body .withdraw-balance,
.customer-body .task-center-banner,
.customer-body .explore-head,
.customer-body .trading-hero,
.customer-body .terminal-layout,
.customer-body .support-card,
.customer-body .bank-card {
  transform: none !important;
}

.customer-body .profile-hero-card,
.customer-body .withdraw-balance,
.customer-body .task-center-banner,
.customer-body .explore-head,
.customer-body .trading-hero {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
}

.customer-body .trading-terminal,
.customer-body .terminal-layout,
.customer-body .market-watchlist,
.customer-body .terminal-main {
  width: 100% !important;
  min-width: 0 !important;
}

.customer-body .terminal-layout,
.customer-body .market-watchlist,
.customer-body .terminal-main {
  border: 1px solid rgba(255,255,255,.78) !important;
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(239,250,252,.84)) !important;
  color: #102d39 !important;
}

.customer-body .terminal-layout *,
.customer-body .market-watchlist *,
.customer-body .terminal-main * {
  color: inherit;
}

.customer-body .chart-shell,
.customer-body .tradingview-shell,
.customer-body .tradingview-widget-box {
  overflow: hidden !important;
  border-radius: 18px !important;
  background:
    linear-gradient(135deg, #eef9fb, #fffaf0) !important;
}

.customer-body .chart-shell iframe,
.customer-body .tradingview-shell iframe {
  display: block !important;
  width: 100% !important;
  min-height: 320px !important;
  border: 0 !important;
}

.customer-body .watchlist-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 8px !important;
  min-width: 0 !important;
  border-radius: 15px !important;
  background: rgba(255,255,255,.82) !important;
  color: #102d39 !important;
}

.customer-body .watch-price,
.customer-body .watchlist-row i {
  color: #07899a !important;
}

.customer-body .profile-service-card,
.customer-body .profile-actions a,
.customer-body .dash-actions a,
.customer-body .quick-actions a,
.customer-body .mall-quick-actions a {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) 22px !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 74px !important;
}

.customer-body .profile-service-card > span,
.customer-body .profile-actions a::before,
.customer-body .dash-actions a::before,
.customer-body .quick-actions a::before,
.customer-body .mall-quick-actions a::before {
  display: grid !important;
  width: 42px !important;
  height: 42px !important;
  place-items: center !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #e6f8fb, #fff8e4) !important;
  color: #07899a !important;
  box-shadow: 0 10px 22px rgba(7,137,154,.12) !important;
  font-size: 12px !important;
  font-weight: 950 !important;
}

.customer-body .profile-actions a::before,
.customer-body .dash-actions a::before,
.customer-body .quick-actions a::before,
.customer-body .mall-quick-actions a::before {
  content: "";
}

.customer-body .profile-service-card::after,
.customer-body .profile-actions a::after,
.customer-body .dash-actions a::after,
.customer-body .quick-actions a::after,
.customer-body .mall-quick-actions a::after {
  width: 9px;
  height: 9px;
  justify-self: end;
  border-top: 2px solid #8aa4ad;
  border-right: 2px solid #8aa4ad;
  content: "";
  transform: rotate(45deg);
}

.customer-body .profile-service-card h2,
.customer-body .profile-service-card p,
.customer-body .profile-actions a,
.customer-body .dash-actions a,
.customer-body .quick-actions a,
.customer-body .mall-quick-actions a {
  text-align: left !important;
}

.rtl .customer-body .profile-service-card h2,
.rtl .customer-body .profile-service-card p,
.rtl .customer-body .profile-actions a,
.rtl .customer-body .dash-actions a,
.rtl .customer-body .quick-actions a,
.rtl .customer-body .mall-quick-actions a {
  text-align: right !important;
}

.rtl .customer-body .profile-service-card::after,
.rtl .customer-body .profile-actions a::after,
.rtl .customer-body .dash-actions a::after,
.rtl .customer-body .quick-actions a::after,
.rtl .customer-body .mall-quick-actions a::after {
  transform: rotate(-135deg);
}

.customer-body .premium-profile-card {
  min-height: 82px !important;
  border-radius: 22px !important;
}

.customer-body .premium-card-copy strong,
.customer-body .premium-card-copy small {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.customer-body .premium-card-copy small {
  -webkit-line-clamp: 2 !important;
}

@media (max-width: 600px) {
  .customer-body .profile-hero-card,
  .customer-body .withdraw-balance,
  .customer-body .task-center-banner,
  .customer-body .explore-head,
  .customer-body .trading-hero {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .customer-body .profile-service-card,
  .customer-body .profile-actions a,
  .customer-body .dash-actions a,
  .customer-body .quick-actions a,
  .customer-body .mall-quick-actions a {
    grid-template-columns: 40px minmax(0, 1fr) 18px !important;
    min-height: 66px !important;
    padding: 12px !important;
  }

  .customer-body .profile-service-card > span,
  .customer-body .profile-actions a::before,
  .customer-body .dash-actions a::before,
  .customer-body .quick-actions a::before,
  .customer-body .mall-quick-actions a::before {
    width: 38px !important;
    height: 38px !important;
    border-radius: 14px !important;
  }
}

/* Safe compact animated illustrations. Keep old oversized decorative auth art hidden. */
.auth-showcase,
.auth-orb,
.auth-float {
  display: none !important;
}

.customer-body .gm-illustration,
.auth-mall-body .gm-illustration {
  align-items: center !important;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(232,249,248,.9)) !important;
  border: 1px solid rgba(255,255,255,.8) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 30px rgba(15, 83, 94, .08) !important;
  color: #102d39 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 118px !important;
  gap: 10px !important;
  margin: 0 0 14px !important;
  max-height: 128px !important;
  min-height: 88px !important;
  overflow: hidden !important;
  padding: 12px 14px !important;
  position: relative !important;
  transform: none !important;
}

.auth-mall-body .gm-illustration {
  margin: 0 auto 14px !important;
  max-width: 430px !important;
  width: 100% !important;
}

.customer-body .gm-illustration-copy,
.auth-mall-body .gm-illustration-copy {
  min-width: 0 !important;
  position: relative !important;
  z-index: 1 !important;
}

.customer-body .gm-illustration-copy .eyebrow,
.auth-mall-body .gm-illustration-copy .eyebrow {
  color: #0f9b8e !important;
  display: block !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  margin: 0 0 4px !important;
  text-transform: uppercase !important;
}

.customer-body .gm-illustration-title,
.customer-body .gm-illustration-copy strong,
.auth-mall-body .gm-illustration-title,
.auth-mall-body .gm-illustration-copy strong {
  color: #102d39 !important;
  display: block !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  letter-spacing: -.01em !important;
  line-height: 1.15 !important;
  margin: 0 0 4px !important;
}

.customer-body .gm-illustration-text,
.customer-body .gm-illustration-copy span,
.auth-mall-body .gm-illustration-text,
.auth-mall-body .gm-illustration-copy span {
  color: #5b737c !important;
  display: -webkit-box !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

.customer-body .gm-illustration-art,
.auth-mall-body .gm-illustration-art {
  height: 78px !important;
  justify-self: end !important;
  overflow: hidden !important;
  width: 118px !important;
}

.customer-body .gm-svg,
.auth-mall-body .gm-svg {
  display: block !important;
  height: auto !important;
  max-height: 92px !important;
  max-width: 128px !important;
  width: 128px !important;
}

.customer-body .gm-svg .floor,
.customer-body .gm-svg .person,
.customer-body .gm-svg .object,
.customer-body .gm-svg .spark,
.auth-mall-body .gm-svg .floor,
.auth-mall-body .gm-svg .person,
.auth-mall-body .gm-svg .object,
.auth-mall-body .gm-svg .spark {
  fill: none !important;
  stroke: #102d39 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  stroke-width: 4 !important;
}

.customer-body .gm-svg .accent,
.auth-mall-body .gm-svg .accent {
  fill: rgba(18, 183, 172, .16) !important;
  stroke: #07899a !important;
}

.customer-body .gm-svg .blob,
.auth-mall-body .gm-svg .blob {
  fill: rgba(18, 183, 172, .08) !important;
  stroke: none !important;
}

.customer-body .gm-svg .gold,
.auth-mall-body .gm-svg .gold {
  fill: rgba(244, 176, 59, .22) !important;
  stroke: #c88710 !important;
}

.customer-body .gm-svg .motion,
.auth-mall-body .gm-svg .motion {
  animation: gmSoftFloat 3.8s ease-in-out infinite;
  transform-origin: center;
}

.customer-body .gm-illustration::before,
.auth-mall-body .gm-illustration::before {
  background: radial-gradient(circle, rgba(18, 183, 172, .14), transparent 62%);
  border-radius: 50%;
  content: "";
  height: 72px;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 72px;
}

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

@media (max-width: 600px) {
  .customer-body .gm-illustration,
  .auth-mall-body .gm-illustration {
    border-radius: 16px !important;
    gap: 8px !important;
    grid-template-columns: minmax(0, 1fr) 88px !important;
    margin-bottom: 12px !important;
    max-height: 104px !important;
    min-height: 76px !important;
    padding: 10px 12px !important;
  }

  .customer-body .gm-illustration-title,
  .customer-body .gm-illustration-copy strong,
  .auth-mall-body .gm-illustration-title,
  .auth-mall-body .gm-illustration-copy strong {
    font-size: 13px !important;
  }

  .customer-body .gm-illustration-text,
  .customer-body .gm-illustration-copy span,
  .auth-mall-body .gm-illustration-text,
  .auth-mall-body .gm-illustration-copy span {
    font-size: 11px !important;
    -webkit-line-clamp: 2 !important;
  }

  .customer-body .gm-illustration-art,
  .auth-mall-body .gm-illustration-art {
    height: 64px !important;
    width: 88px !important;
  }

  .customer-body .gm-svg,
  .auth-mall-body .gm-svg {
    max-width: 98px !important;
    width: 98px !important;
  }
}

/* Shared social-login icon safety: never allow provider logos to stretch. */
.social-login img,
.social-btn img,
.social-btn svg,
.social-auth-btn img,
.social-auth-btn svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  object-fit: contain !important;
}

.social-login .social-btn,
.social-auth-block .social-auth-btn {
  align-items: center !important;
  border-radius: 14px !important;
  display: flex !important;
  gap: 8px !important;
  height: 44px !important;
  justify-content: center !important;
  max-height: 44px !important;
  min-height: 44px !important;
}

.social-auth-icon,
.social-mark {
  align-items: center !important;
  display: inline-flex !important;
  flex: 0 0 18px !important;
  height: 18px !important;
  justify-content: center !important;
  line-height: 18px !important;
  max-height: 18px !important;
  max-width: 18px !important;
  min-height: 18px !important;
  min-width: 18px !important;
  overflow: hidden !important;
  width: 18px !important;
}

/* Compact social login icon row shared by login/register. */
.social-icon-row,
.social-auth-buttons.social-icon-row {
  align-items: start !important;
  display: flex !important;
  gap: 14px !important;
  justify-content: center !important;
}

.social-auth-item {
  align-items: center !important;
  color: #405d66 !important;
  display: inline-flex !important;
  flex-direction: column !important;
  gap: 7px !important;
  min-width: 62px !important;
  text-align: center !important;
  text-decoration: none !important;
}

.social-auth-item .social-auth-btn {
  align-items: center !important;
  background: rgba(255,255,255,.82) !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 28px rgba(12, 73, 90, .10) !important;
  display: flex !important;
  height: 52px !important;
  justify-content: center !important;
  max-height: 52px !important;
  max-width: 52px !important;
  min-height: 52px !important;
  min-width: 52px !important;
  padding: 0 !important;
  width: 52px !important;
}

.social-auth-item .social-auth-icon {
  align-items: center !important;
  background: rgba(255,255,255,.92) !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  flex: 0 0 38px !important;
  height: 38px !important;
  justify-content: center !important;
  max-height: 38px !important;
  max-width: 38px !important;
  min-height: 38px !important;
  min-width: 38px !important;
  width: 38px !important;
}

.social-auth-item .social-mark {
  flex: 0 0 18px !important;
  font-size: 16px !important;
  height: 18px !important;
  line-height: 18px !important;
  max-height: 18px !important;
  max-width: 18px !important;
  min-height: 18px !important;
  min-width: 18px !important;
  width: 18px !important;
}

.social-auth-caption {
  color: #58717a !important;
  display: block !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  max-width: 70px !important;
  overflow: hidden !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Shared premium OAuth button safety for auth pages. */
.social-login .social-buttons {
  align-items: stretch !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  justify-content: center !important;
  width: 100% !important;
}

.social-login .social-btn {
  align-items: center !important;
  background: #fff !important;
  border: 1px solid #E7EEF8 !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 24px rgba(18, 61, 76, .10) !important;
  color: #18343f !important;
  cursor: pointer !important;
  display: flex !important;
  flex: 1 1 132px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  gap: 10px !important;
  height: 48px !important;
  justify-content: center !important;
  max-height: 48px !important;
  max-width: 170px !important;
  min-height: 48px !important;
  min-width: 116px !important;
  overflow: hidden !important;
  padding: 0 14px !important;
  position: relative !important;
  text-decoration: none !important;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
}

.social-login .social-btn:hover,
.social-login .social-btn:focus-visible {
  border-color: #cfe0f1 !important;
  box-shadow: 0 16px 34px rgba(18, 61, 76, .18) !important;
  outline: 3px solid rgba(34, 177, 191, .18) !important;
  outline-offset: 3px !important;
  transform: translateY(-3px) !important;
}

.social-login .social-btn:active {
  transform: scale(.98) !important;
}

.social-login .social-btn-disabled {
  cursor: not-allowed !important;
  opacity: .58 !important;
  pointer-events: none !important;
}

.social-login .social-auth-icon {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex: 0 0 22px !important;
  height: 22px !important;
  max-height: 22px !important;
  max-width: 22px !important;
  min-height: 22px !important;
  min-width: 22px !important;
  width: 22px !important;
}

.social-login img,
.social-btn img,
.social-btn svg,
.social-login svg,
.social-svg {
  display: block !important;
  height: 22px !important;
  max-height: 22px !important;
  max-width: 22px !important;
  object-fit: contain !important;
  width: 22px !important;
}

/* Auth shopping-scene fallback: keeps login/register background contained. */
.auth-mall-body {
  overflow-x: hidden !important;
}

.auth-mall-body .auth-shopping-world {
  pointer-events: none !important;
  user-select: none !important;
}

.auth-mall-body .auth-shopping-world svg {
  max-width: none !important;
}

/* Immersive Explore post viewer */
.post-viewer-body {
  margin: 0;
  overflow: hidden;
  background: #02070c;
}

.post-viewer {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  grid-template-rows: 1fr auto;
  background: radial-gradient(circle at 50% 0, rgba(15,123,139,.26), transparent 34%), #02070c;
  color: #fff;
  animation: postViewerIn .22s ease-out;
}

.post-close {
  position: fixed;
  top: calc(14px + env(safe-area-inset-top));
  left: 14px;
  z-index: 20;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(3, 13, 22, .58);
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.post-stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}

.post-video-wrap,
.post-image-carousel,
.post-image-slide {
  position: absolute;
  inset: 0;
}

.post-video,
.post-image-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #02070c;
}

.post-image-slide {
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .22s ease, transform .22s ease;
}

.post-image-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.post-image-slide img {
  transition: transform .18s ease;
  will-change: transform;
}

.post-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border: 4px solid rgba(255,255,255,.22);
  border-top-color: #13a6a0;
  border-radius: 50%;
  animation: postSpin .8s linear infinite;
}

.post-spinner[hidden] {
  display: none;
}

.post-mute,
.post-play-state {
  position: fixed;
  right: 14px;
  z-index: 20;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(3, 13, 22, .58);
  box-shadow: none;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.post-mute {
  top: calc(14px + env(safe-area-inset-top));
}

.post-play-state {
  top: calc(64px + env(safe-area-inset-top));
}

.post-detail-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 8;
  padding: 110px 16px 18px;
  background: linear-gradient(180deg, transparent, rgba(2,7,12,.86));
}

.post-detail-overlay span {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255,248,228,.95);
  color: #805804;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.post-detail-overlay h1 {
  margin: 0 0 8px;
  font-size: clamp(22px, 6vw, 34px);
  letter-spacing: -.03em;
}

.post-detail-overlay p {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 14px;
  line-height: 1.55;
}

.post-product-mini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.post-product-mini b,
.post-product-mini em {
  font-style: normal;
}

.post-product-mini em {
  color: #f2c86b;
  font-weight: 900;
}

.post-bottom-bar {
  z-index: 12;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255,255,255,.1);
  background: rgba(2,7,12,.9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.post-bottom-bar button,
.post-bottom-bar span {
  display: grid;
  min-height: 46px;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  box-shadow: none;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.post-bottom-bar button.active,
.post-bottom-bar button:active {
  background: linear-gradient(135deg, #0f7b8b, #13a6a0);
}

.post-comments {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  max-height: min(76vh, 620px);
  padding: 12px 14px calc(14px + env(safe-area-inset-bottom));
  border-radius: 24px 24px 0 0;
  background: #fff;
  color: #123139;
  box-shadow: 0 -24px 80px rgba(0,0,0,.35);
  transform: translateY(105%);
  transition: transform .28s cubic-bezier(.2,.85,.2,1);
}

.post-comments.open {
  transform: translateY(0);
}

.comments-handle {
  display: block;
  width: 92px;
  min-height: 34px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: #edf8f8;
  box-shadow: none;
  color: #0f7b8b;
}

.post-comments h2 {
  margin: 0 0 10px;
}

.post-comment-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 12px;
}

.post-comment-form input {
  min-height: 44px;
  border-radius: 999px;
}

.post-comment-form button {
  min-height: 44px;
  border-radius: 999px;
}

.post-comment-list {
  display: grid;
  max-height: 46vh;
  overflow: auto;
  gap: 9px;
}

.post-comment-list article {
  padding: 11px;
  border: 1px solid #dcecef;
  border-radius: 16px;
  background: #f7fbfc;
}

.post-comment-list strong,
.post-comment-list small {
  display: block;
}

.post-comment-list p {
  margin: 5px 0;
  color: #40565f;
  font-size: 13px;
  line-height: 1.45;
}

.post-comment-list small,
.empty-comments {
  color: #70858d;
  font-size: 11px;
}

.explore-card {
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.explore-card.opening {
  transform: scale(.985);
}

@keyframes postSpin {
  to { transform: rotate(360deg); }
}

@keyframes postViewerIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 760px) {
  .post-viewer {
    left: 50%;
    width: min(520px, 100vw);
    transform: translateX(-50%);
    box-shadow: 0 0 0 999px #02070c;
  }
}

@media (max-width: 430px) {
  .post-bottom-bar {
    gap: 5px;
    padding-right: 7px;
    padding-left: 7px;
  }

  .post-bottom-bar button,
  .post-bottom-bar span {
    min-height: 42px;
    border-radius: 12px;
    font-size: 10px;
  }

  .post-detail-overlay {
    padding-right: 13px;
    padding-left: 13px;
  }
}

/* Mobile bottom-nav spacing safety: keep final buttons above the fixed nav. */
@media (max-width: 768px) {
  .customer-body .customer-main,
  .customer-main {
    padding-bottom: max(140px, calc(140px + env(safe-area-inset-bottom))) !important;
  }

  .customer-body .take-orders,
  .take-orders {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 14px auto 32px !important;
    text-align: center !important;
  }

  .customer-body .task-products-section:last-of-type,
  .customer-body .stack:last-child,
  .customer-body .card:last-child {
    margin-bottom: 32px !important;
  }
}

/* Mobile intro/banner cleanup: keep customer pages compact above the fold. */
@media (max-width: 768px) {
  .hide-on-mobile-intro,
  .customer-intro-banner,
  .page-hero-mini,
  .illustration-strip,
  .customer-body .gm-illustration,
  .customer-body .customer-page-title,
  .customer-body .profile-hero-card,
  .customer-body .premium-profile-hero,
  .customer-body .task-center-banner,
  .customer-body .explore-head,
  .customer-body .trading-hero {
    display: none !important;
  }

  .customer-body .customer-main,
  .customer-main,
  .customer-page {
    padding-top: 12px !important;
    padding-bottom: max(140px, calc(140px + env(safe-area-inset-bottom))) !important;
  }

  .customer-body .card,
  .customer-body .dash-section,
  .customer-body .dash-notice,
  .customer-body .market-wallet,
  .customer-body .market-section,
  .customer-body .task-center-card,
  .customer-body .task-center-summary,
  .customer-body .package-progress,
  .customer-body .task-center-notice,
  .customer-body .profile-card,
  .customer-body .support-card,
  .customer-body .bank-card,
  .customer-body .withdraw-balance,
  .customer-body .withdrawal-row,
  .customer-body .order-detail-card,
  .customer-body .terminal-layout {
    padding: 12px !important;
  }

  .customer-body .dash-section,
  .customer-body .dash-notice,
  .customer-body .market-wallet,
  .customer-body .market-section,
  .customer-body .task-center-card,
  .customer-body .task-center-summary,
  .customer-body .package-progress,
  .customer-body .task-center-notice,
  .customer-body .profile-card,
  .customer-body .support-card,
  .customer-body .bank-card,
  .customer-body .withdraw-balance,
  .customer-body .withdrawal-row,
  .customer-body .order-detail-card,
  .customer-body .terminal-layout {
    margin-top: 8px !important;
    margin-bottom: 10px !important;
  }
}

/* Final mobile customer cleanup: four-tab nav and compact app pages. */
@media (max-width: 768px) {
  html,
  body.customer-body {
    overflow-x: hidden !important;
  }

  .customer-body .customer-main,
  .customer-main,
  .customer-page {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 430px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding: 12px 12px max(104px, calc(104px + env(safe-area-inset-bottom))) !important;
  }

  .hide-on-mobile-intro,
  .customer-intro-banner,
  .page-hero-mini,
  .illustration-strip,
  .customer-body .gm-illustration,
  .customer-body .customer-page-title,
  .customer-body .profile-hero-card,
  .customer-body .premium-profile-hero,
  .customer-body .task-center-banner,
  .customer-body .explore-head,
  .customer-body .trading-hero {
    display: none !important;
  }

  .customer-body .card,
  .customer-body .dash-section,
  .customer-body .dash-notice,
  .customer-body .market-wallet,
  .customer-body .market-section,
  .customer-body .task-center-card,
  .customer-body .task-center-summary,
  .customer-body .package-progress,
  .customer-body .task-center-notice,
  .customer-body .profile-card,
  .customer-body .support-card,
  .customer-body .bank-card,
  .customer-body .withdraw-balance,
  .customer-body .withdrawal-row,
  .customer-body .order-detail-card,
  .customer-body .terminal-layout,
  .customer-body .premium-profile-card {
    box-sizing: border-box !important;
    width: 100% !important;
    margin-top: 8px !important;
    margin-bottom: 10px !important;
    padding: 12px !important;
    border-radius: 16px !important;
  }

  .customer-body .market-wallet,
  .customer-body .dash-wallet {
    min-height: 0 !important;
  }

  .customer-body .premium-profile-card {
    grid-template-columns: 44px minmax(0, 1fr) 24px !important;
    gap: 10px !important;
    min-height: 74px !important;
  }

  .customer-body .premium-card-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 16px !important;
  }

  .customer-body .premium-card-icon svg {
    width: 23px !important;
    height: 23px !important;
  }

  .customer-body .premium-card-copy strong {
    font-size: 14px !important;
  }

  .customer-body .premium-card-copy small {
    margin-top: 2px !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    -webkit-line-clamp: 1 !important;
  }

  .bottom-nav.floating-nav {
    right: 12px !important;
    bottom: 10px !important;
    left: 12px !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    max-width: 430px !important;
    min-height: 68px !important;
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom)) !important;
    border-radius: 24px !important;
  }

  .bottom-nav.floating-nav a {
    min-height: 52px !important;
    font-size: 9px !important;
  }

  .bottom-nav.floating-nav .nav-active-orb {
    width: 30px !important;
    height: 30px !important;
  }

  .bottom-nav.floating-nav a.active {
    transform: translateY(-8px) !important;
  }

  .bottom-nav.floating-nav a.active .nav-active-orb {
    width: 48px !important;
    height: 48px !important;
  }

  .nav-glyph {
    width: 20px !important;
    height: 20px !important;
  }
}

@media (max-width: 380px) {
  .customer-body .customer-main,
  .customer-main,
  .customer-page {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }

  .bottom-nav.floating-nav {
    right: 8px !important;
    left: 8px !important;
  }
}

/* Task page mobile polish: compact header and 2-column statistics. */
@media (max-width: 768px) {
  .customer-topbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 80 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    min-height: 54px !important;
    padding: 8px 12px !important;
    overflow: hidden !important;
    border-bottom: 1px solid rgba(8,137,154,.08) !important;
    background: rgba(248,254,255,.92) !important;
    box-shadow: 0 8px 22px rgba(16,45,57,.06) !important;
  }

  .customer-topbar .brand {
    display: inline-flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 96px) !important;
    gap: 8px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
  }

  .customer-topbar .brand .store-icon {
    flex: 0 0 32px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 12px !important;
  }

  .customer-topbar .brand span:not(.store-icon) {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    color: #102d39 !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    writing-mode: horizontal-tb !important;
  }

  .notice-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    min-height: 34px !important;
    max-width: 86px !important;
    padding: 7px 10px !important;
    overflow: hidden !important;
    font-size: 11px !important;
    line-height: 1 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .customer-language {
    width: 100% !important;
    max-width: 430px !important;
    margin: 6px auto 0 !important;
    padding: 0 12px !important;
  }

  .task-center-stats {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 8px 0 10px !important;
  }

  .task-center-stats .card,
  .customer-body .task-center-stats .card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 78px !important;
    height: 78px !important;
    margin: 0 !important;
    padding: 14px !important;
    border: 1px solid rgba(18,183,172,.22) !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,.86) !important;
    box-shadow: 0 10px 24px rgba(16,76,92,.08) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    backdrop-filter: blur(14px) !important;
  }

  .task-center-stats .card span {
    display: block !important;
    margin: 0 0 6px !important;
    color: #71858d !important;
    font-size: 10px !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
  }

  .task-center-stats .card strong {
    display: block !important;
    overflow: hidden !important;
    color: #07899a !important;
    font-size: 17px !important;
    font-weight: 950 !important;
    line-height: 1.1 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .customer-body .task-center-summary,
  .customer-body .package-progress {
    margin-top: 8px !important;
    margin-bottom: 10px !important;
    padding: 12px !important;
  }

  .customer-body .task-center-notice {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .task-center-stats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

/* Customer identity and compact language/header fix. */
.market-wallet-user {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  margin: 0 0 14px;
  padding: 12px 13px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 18px;
  background: rgba(255,255,255,.14);
  color: #fff;
}

.market-wallet-user span,
.market-wallet-user small {
  display: block;
}

.market-wallet-user span {
  font-size: 15px;
  font-weight: 950;
  letter-spacing: -.01em;
}

.market-wallet-user small {
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 800;
}

.profile-identity-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px !important;
}

.profile-identity-line span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border: 1px solid rgba(8,137,154,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.58);
  color: #48636d;
  font-size: 11px;
  font-weight: 850;
}

@media (max-width: 768px) {
  .customer-topbar {
    overflow: visible !important;
  }

  .customer-topbar .brand {
    max-width: calc(100% - 92px) !important;
  }

  .customer-topbar .brand span:not(.store-icon) {
    max-width: 100% !important;
  }

  .customer-language {
    display: flex !important;
    justify-content: flex-end !important;
    width: auto !important;
    max-width: none !important;
    margin: 6px 12px 0 auto !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 79 !important;
  }

  .customer-language .language-switcher {
    display: flex !important;
    justify-content: flex-end !important;
    width: auto !important;
  }

  .customer-language .language-switcher label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    width: auto !important;
    min-height: 34px !important;
    height: 34px !important;
    padding: 5px 9px !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 18px rgba(16,45,57,.08) !important;
  }

  .customer-language .language-switcher span {
    font-size: 9px !important;
    line-height: 1 !important;
  }

  .customer-language .language-switcher select {
    width: auto !important;
    max-width: 94px !important;
    height: 24px !important;
    padding: 0 !important;
    font-size: 11px !important;
    line-height: 1 !important;
  }

  .customer-body .profile-hero-card,
  .customer-body .premium-profile-hero {
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 8px 0 10px !important;
    padding: 12px !important;
    border-radius: 18px !important;
  }

  .customer-body .profile-avatar {
    width: 52px !important;
    height: 52px !important;
    font-size: 20px !important;
  }

  .customer-body .profile-hero-card h1,
  .customer-body .premium-profile-hero h1 {
    overflow: hidden !important;
    margin: 2px 0 0 !important;
    font-size: 18px !important;
    line-height: 1.1 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .profile-identity-line {
    gap: 4px !important;
    margin-top: 6px !important;
  }

  .profile-identity-line span {
    min-height: 22px !important;
    max-width: 100% !important;
    padding: 4px 7px !important;
    overflow: hidden !important;
    font-size: 10px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .market-wallet-user {
    gap: 2px !important;
    margin-bottom: 10px !important;
    padding: 10px 11px !important;
    border-radius: 15px !important;
  }

  .market-wallet-user span {
    overflow: hidden !important;
    font-size: 14px !important;
    line-height: 1.15 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .market-wallet-user small {
    overflow: hidden !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}

/* Premium shopping-app home polish. */
.customer-body .card,
.customer-body .dash-section,
.customer-body .dash-notice,
.customer-body .market-section,
.customer-body .about-market,
.customer-body .profile-wallet-mini,
.customer-body .profile-credit-mini,
.customer-body .task-center-summary,
.customer-body .package-progress,
.customer-body .support-card,
.customer-body .bank-card,
.customer-body .withdraw-balance,
.customer-body .withdrawal-row,
.customer-body .order-detail-card {
  border: 1px solid rgba(80,180,220,.12) !important;
  border-radius: 20px !important;
  background: linear-gradient(180deg, #ffffff, #f8fdff) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.08) !important;
}

.market-wallet-actions {
  align-items: stretch !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.market-wallet-actions a {
  --qa-color: #10b981;
  --qa-color-2: #34d399;
  align-items: center !important;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(255,255,255,.9), rgba(16,185,129,.42)) border-box !important;
  border: 1px solid transparent !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 28px rgba(9, 63, 82, .12) !important;
  color: #18343f !important;
  display: grid !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  gap: 6px !important;
  height: 70px !important;
  justify-items: center !important;
  min-height: 70px !important;
  padding: 8px 6px !important;
  position: relative !important;
  text-decoration: none !important;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}

.market-wallet-actions a:hover,
.market-wallet-actions a:focus-visible {
  box-shadow: 0 18px 38px rgba(9, 63, 82, .18) !important;
  outline: 0 !important;
  transform: translateY(-3px) !important;
}

.market-wallet-actions a:active {
  transform: scale(.97) !important;
}

.market-wallet-actions a span {
  align-items: center !important;
  background: linear-gradient(135deg, var(--qa-color), var(--qa-color-2)) !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 18px rgba(9, 63, 82, .16) !important;
  color: #fff !important;
  display: inline-flex !important;
  font-size: 22px !important;
  font-weight: 950 !important;
  height: 34px !important;
  justify-content: center !important;
  line-height: 1 !important;
  width: 34px !important;
}

.quick-action-recharge { --qa-color: #10b981; --qa-color-2: #34d399; }
.quick-action-withdraw { --qa-color: #f97316; --qa-color-2: #fbbf24; }
.quick-action-task { --qa-color: #2563eb; --qa-color-2: #38bdf8; }
.quick-action-support { --qa-color: #7c3aed; --qa-color-2: #c084fc; }

.partner-carousel article.partner-logo-card {
  align-items: center !important;
  background: linear-gradient(180deg, #fff, #f8fdff) !important;
  border: 1px solid rgba(80,180,220,.12) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.08) !important;
  display: grid !important;
  flex: 0 0 132px !important;
  height: 104px !important;
  justify-items: center !important;
  padding: 14px 10px !important;
  text-align: center !important;
}

.partner-logo-card span {
  align-items: center !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  font-family: Arial, Helvetica, sans-serif !important;
  height: 42px !important;
  justify-content: center !important;
  max-width: 112px !important;
  min-width: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  white-space: nowrap !important;
  width: 112px !important;
}

.partner-logo-card strong {
  color: #526a75 !important;
  display: block !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  line-height: 1.1 !important;
}

.partner-amazon span { color: #111827 !important; font-size: 22px !important; font-weight: 800 !important; letter-spacing: -.04em !important; }
.partner-amazon span::after { color: #ff9900; content: "⌣"; font-size: 22px; margin-left: 3px; transform: translateY(4px); }
.partner-shein span { color: #111 !important; font-size: 22px !important; font-weight: 950 !important; letter-spacing: .08em !important; }
.partner-walmart span { color: #0071ce !important; font-size: 20px !important; font-weight: 950 !important; }
.partner-walmart span::after { color: #ffc220; content: "✦"; font-size: 18px; margin-left: 5px; }
.partner-ebay span { font-size: 26px !important; font-weight: 800 !important; letter-spacing: -.08em !important; }
.partner-ebay span::first-letter { color: #e53238; }
.partner-aliexpress span { color: #e62e04 !important; font-size: 18px !important; font-weight: 950 !important; letter-spacing: -.03em !important; }
.partner-bestbuy span { color: #0b1f39 !important; font-size: 17px !important; font-weight: 950 !important; }
.partner-bestbuy span::before { color: #facc15; content: "▰"; margin-right: 5px; }
.partner-costco span { color: #005dab !important; font-size: 20px !important; font-weight: 950 !important; letter-spacing: -.02em !important; }
.partner-temu span { color: #ff6a00 !important; font-size: 24px !important; font-weight: 950 !important; }

.market-withdraw-marquee article.withdraw-card-ui {
  align-items: center !important;
  background: linear-gradient(180deg, #fff, #f8fdff) !important;
  border: 1px solid rgba(80,180,220,.12) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.08) !important;
  display: grid !important;
  flex: 0 0 288px !important;
  gap: 10px !important;
  grid-template-columns: 40px minmax(0, 1fr) auto !important;
  min-height: 94px !important;
  padding: 12px !important;
}

.withdraw-avatar {
  align-items: center !important;
  background: linear-gradient(135deg, #0f9b8e, #38bdf8) !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 22px rgba(15,155,142,.22) !important;
  color: #fff !important;
  display: inline-flex !important;
  font-size: 16px !important;
  font-weight: 950 !important;
  height: 40px !important;
  justify-content: center !important;
  width: 40px !important;
}

.withdraw-main {
  display: grid !important;
  gap: 3px !important;
  min-width: 0 !important;
}

.withdraw-main strong,
.withdraw-main b,
.withdraw-main em {
  display: block !important;
  min-width: 0 !important;
}

.withdraw-main strong {
  color: #122f3a !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.withdraw-main b {
  color: #0f9b8e !important;
  font-size: 15px !important;
  font-weight: 950 !important;
}

.withdraw-main em {
  justify-self: start !important;
  padding: 4px 8px !important;
  border-radius: 999px !important;
  background: #dbeafe !important;
  color: #1d4ed8 !important;
  font-size: 9px !important;
  font-style: normal !important;
  font-weight: 950 !important;
  letter-spacing: .04em !important;
}

.status-success .withdraw-main em {
  background: #dcfce7 !important;
  color: #15803d !important;
}

.status-pending .withdraw-main em {
  background: #ffedd5 !important;
  color: #c2410c !important;
}

.withdraw-card-ui time {
  color: #6b7f88 !important;
  display: block !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  max-width: 74px !important;
  text-align: right !important;
}

.bottom-nav.floating-nav {
  gap: 8px !important;
  background: rgba(255,255,255,.78) !important;
  border: 1px solid rgba(80,180,220,.18) !important;
  box-shadow: 0 18px 44px rgba(6,60,80,.18), inset 0 1px 0 rgba(255,255,255,.88) !important;
}

.bottom-nav.floating-nav a {
  border: 1px solid rgba(80,180,220,.13) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.72) !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.06) !important;
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease !important;
}

.bottom-nav.floating-nav a:hover,
.bottom-nav.floating-nav a:focus-visible {
  box-shadow: 0 14px 26px rgba(0,0,0,.1) !important;
  outline: 0 !important;
  transform: translateY(-2px) !important;
}

.bottom-nav.floating-nav a.active {
  background: linear-gradient(135deg, #0f9b8e, #38bdf8) !important;
  border-color: rgba(255,255,255,.45) !important;
  box-shadow: 0 18px 34px rgba(15,155,142,.25) !important;
  color: #fff !important;
}

.bottom-nav.floating-nav a.active .nav-active-orb {
  background: transparent !important;
  box-shadow: none !important;
}

.bottom-nav.floating-nav a.active .nav-glyph,
.bottom-nav.floating-nav a.active em {
  color: #fff !important;
}

@media (max-width: 768px) {
  .market-wallet-actions {
    gap: 8px !important;
  }

  .market-wallet-actions a {
    height: 70px !important;
    min-height: 70px !important;
  }

  .market-wallet-actions a span {
    height: 32px !important;
    width: 32px !important;
  }

  .partner-carousel article.partner-logo-card {
    flex-basis: 118px !important;
    height: 96px !important;
    padding: 12px 8px !important;
  }

  .partner-logo-card span {
    width: 98px !important;
    max-width: 98px !important;
  }

  .market-withdraw-marquee article.withdraw-card-ui {
    flex-basis: 268px !important;
    min-height: 88px !important;
  }

  .bottom-nav.floating-nav {
    gap: 6px !important;
  }
}

/* Tesla collaboration showcase on the customer Task page. */
.tesla-showcase-section {
  overflow: hidden;
  margin: 18px 0 36px;
  padding: 18px;
  border: 1px solid rgba(80,180,220,.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% 0%, rgba(212, 175, 55, .12), transparent 30%),
    radial-gradient(circle at 94% 12%, rgba(15, 155, 142, .14), transparent 32%),
    linear-gradient(180deg, #ffffff, #f8fdff);
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.tesla-showcase-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.tesla-showcase-head h2,
.tesla-showcase-head span,
.tesla-showcase-head .eyebrow {
  display: block;
  margin: 0;
}

.tesla-showcase-head h2 {
  margin-top: 4px;
  color: #102d39;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 950;
  letter-spacing: -.04em;
}

.tesla-showcase-head span {
  max-width: 560px;
  margin-top: 6px;
  color: #5d747d;
  font-size: 13px;
  line-height: 1.45;
}

.tesla-rail-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.tesla-rail-controls button {
  display: grid;
  width: 40px;
  min-height: 40px;
  place-items: center;
  border: 1px solid rgba(80,180,220,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 10px 24px rgba(6,60,80,.12);
  color: #0f7b8b;
  font-size: 18px;
  font-weight: 950;
}

.tesla-vehicle-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 10px;
  scroll-behavior: smooth;
  scroll-padding-inline: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.tesla-vehicle-rail::-webkit-scrollbar {
  display: none;
}

.tesla-vehicle-card {
  flex: 0 0 280px;
  overflow: hidden;
  border: 1px solid rgba(80,180,220,.13);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,253,255,.9));
  box-shadow: 0 14px 34px rgba(8, 45, 58, .11);
  scroll-snap-align: start;
  transition: transform .25s ease, box-shadow .25s ease;
}

.tesla-vehicle-card:hover {
  box-shadow: 0 20px 44px rgba(8, 45, 58, .16);
  transform: translateY(-3px);
}

.tesla-car-art {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.18)),
    var(--tesla-img),
    radial-gradient(circle at 22% 24%, rgba(255,255,255,.9), transparent 21%),
    radial-gradient(circle at 82% 15%, rgba(212,175,55,.28), transparent 28%),
    linear-gradient(135deg, #dce8ee 0%, #f8fbfc 42%, #b7c6ce 100%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.tesla-car-art::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 42%, rgba(15, 24, 31, .28)),
    radial-gradient(ellipse at 50% 88%, rgba(0,0,0,.22), transparent 42%);
  content: "";
}

.tesla-car-shape {
  position: relative;
  display: block;
  width: 76%;
  height: 35%;
  margin-top: 30px;
  border-radius: 44% 52% 24% 24% / 56% 56% 34% 34%;
  background:
    radial-gradient(circle at 18% 88%, #0f1720 0 7%, transparent 8%),
    radial-gradient(circle at 82% 88%, #0f1720 0 7%, transparent 8%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(179,197,207,.9) 48%, rgba(38,51,60,.95));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 18px 35px rgba(0,0,0,.2);
}

.tesla-car-shape::before {
  position: absolute;
  top: 18%;
  left: 22%;
  width: 42%;
  height: 26%;
  border-radius: 50% 50% 18% 18%;
  background: linear-gradient(135deg, rgba(15, 155, 142, .45), rgba(56,189,248,.38));
  content: "";
}

.tesla-car-shape::after {
  position: absolute;
  right: 7%;
  bottom: 22%;
  left: 7%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.75), transparent);
  content: "";
}

.tesla-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: #805804;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.tesla-card-body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.tesla-badge {
  justify-self: start;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e6f8f6;
  color: #0f7b8b;
  font-size: 10px;
  font-weight: 950;
}

.tesla-card-body strong {
  color: #102d39;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: -.02em;
}

.tesla-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tesla-meta b {
  color: #111827;
  font-size: 15px;
  font-weight: 950;
}

.tesla-meta span {
  color: #b7791f;
  font-size: 11px;
  font-weight: 900;
}

.tesla-specs {
  display: grid;
  gap: 7px;
  margin: 0;
}

.tesla-specs div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 7px;
  border-top: 1px solid rgba(80,180,220,.11);
}

.tesla-specs dt,
.tesla-specs dd {
  margin: 0;
  font-size: 11px;
  line-height: 1.25;
}

.tesla-specs dt {
  color: #70858d;
  font-weight: 850;
}

.tesla-specs dd {
  color: #102d39;
  font-weight: 950;
  text-align: right;
}

@media (max-width: 768px) {
  .tesla-showcase-section {
    margin: 14px 0 30px;
    padding: 14px;
    border-radius: 20px;
  }

  .tesla-showcase-head {
    display: block;
  }

  .tesla-showcase-head h2 {
    font-size: 21px;
  }

  .tesla-rail-controls {
    display: none;
  }

  .tesla-vehicle-rail {
    margin-right: -14px;
    padding-right: 14px;
  }

  .tesla-vehicle-card {
    flex-basis: 82vw;
    max-width: 350px;
  }
}

/* Tesla real-image mode: local WebP photos only, no CSS vehicle drawings. */
.tesla-car-art {
  overflow: hidden !important;
  background: #eef5f7 !important;
  border-radius: 18px 18px 0 0 !important;
  margin: 0 !important;
  aspect-ratio: 16 / 10 !important;
}

.tesla-car-art::before,
.tesla-car-shape,
.tesla-car-shape::before,
.tesla-car-shape::after {
  display: none !important;
}

.tesla-card-image,
.tesla-vehicle-photo {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  aspect-ratio: 16 / 10 !important;
  border-radius: 18px 18px 0 0 !important;
  object-fit: cover !important;
  object-position: center !important;
}

.tesla-image-missing {
  display: none !important;
}

.tesla-vehicle-card {
  background: rgba(255,255,255,.86) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  backdrop-filter: blur(16px) !important;
}

.tesla-card-body {
  padding: 13px 14px 15px !important;
}

.tesla-tag {
  background: rgba(255,255,255,.9) !important;
  box-shadow: 0 8px 18px rgba(8,45,58,.08) !important;
}
