/* Profile screen restoration */
#sc-profile {
  display: flex !important;
  flex-direction: column;
  background:
    radial-gradient(circle at top left, rgba(244,205,137,0.18), transparent 24%),
    radial-gradient(circle at bottom right, rgba(190,120,58,0.16), transparent 28%),
    linear-gradient(180deg, #140f0d 0%, #1f1714 28%, #2a1d18 100%) !important;
  color: #f8f1ea !important;
}

#sc-profile .tbar.dark {
  display: flex !important;
  align-items: center;
  flex: 0 0 64px;
  width: 100%;
  height: 64px !important;
  box-sizing: border-box;
  padding: 0 8px !important;
  background: rgba(17, 11, 10, 0.72) !important;
  border-bottom: 1px solid rgba(244,205,137,0.18) !important;
  box-shadow: 0 12px 28px rgba(7, 4, 3, 0.26) !important;
  backdrop-filter: blur(18px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(130%) !important;
}

#sc-profile .tbar.dark .back-btn {
  padding: 0 !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  min-width: 48px !important;
  width: 44px !important;
  margin: 0 2px !important;
  border-radius: 16px !important;
  color: #fef7ef !important;
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 6px 14px rgba(0,0,0,0.14);
}

#sc-profile .tbar-title.w {
  margin: 0 !important;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 8px;
  color: #fff7ef !important;
  font-family: 'Google Sans', 'DM Sans', sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.2;
}

#shell #sc-profile.screen.active > .scroll {
  display: block !important;
  flex: 0 0 calc(100% - 64px) !important;
  height: calc(100% - 64px) !important;
  box-sizing: border-box !important;
  min-height: 0;
  padding: 10px 0 52px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background:
    linear-gradient(180deg, rgba(20,15,13,0.90), rgba(35,24,19,0.96)) !important;
}

#shell #sc-profile.screen.active {
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

#shell #sc-profile.screen.active > .tbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 10 !important;
}

#shell #sc-profile.screen.active > .scroll {
  flex: none !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

#sc-profile .prof-body {
  box-sizing: border-box;
  padding: 18px 14px 48px !important;
  background: transparent !important;
}

#sc-profile .prof-sec-lbl {
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  box-sizing: border-box;
  margin: 18px 2px 12px !important;
  padding: 8px 13px !important;
  border: 1px solid rgba(244,205,137,0.18) !important;
  border-radius: 999px !important;
  background: rgba(244,205,137,0.08) !important;
  color: #f4cd89 !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

#sc-profile .prof-card {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 18px !important;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10) !important;
  border-radius: 30px !important;
  background: rgba(255,255,255,0.04) !important;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18) !important;
  backdrop-filter: blur(14px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(120%) !important;
}

#sc-profile .prof-card .pli {
}

html body #sc-profile .prof-body {
  padding: 22px 16px 56px !important;
  background: #FFF8F6 !important;
}

html body #sc-profile .prof-sec-lbl {
  margin: 20px 2px 11px !important;
  border-radius: 999px !important;
  background: rgba(218, 175, 106, 0.14) !important;
}

html body #sc-profile .prof-card {
  margin-bottom: 22px !important;
  border-radius: 26px !important;
  border-color: rgba(181, 126, 55, 0.18) !important;
  background: linear-gradient(145deg, #fffdf9 0%, #f7e8dc 100%) !important;
  box-shadow: 0 14px 30px rgba(84, 48, 26, 0.08) !important;
}

html body #sc-profile .prof-card .pli {
  min-height: 88px !important;
  padding: 16px 18px !important;
  border-bottom-color: rgba(181, 126, 55, 0.12) !important;
  background: transparent !important;
  transition: background 180ms ease, padding 180ms ease;
}

html body #sc-profile .prof-card .pli:hover {
  padding-left: 21px !important;
  background: rgba(255, 255, 255, 0.38) !important;
}

html body #sc-profile .pli-ico {
  width: 48px !important;
  height: 48px !important;
  flex-basis: 48px !important;
  border-radius: 18px !important;
  background: linear-gradient(145deg, #fff8ec, #f4dcb9) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

html body #sc-profile .pli-chev {
  width: 10px !important;
  height: 10px !important;
  border-top: 2px solid #c9903d;
  border-right: 2px solid #c9903d;
  transform: rotate(45deg);
}

html body #sc-profile .scroll > div:first-child {
  margin: 12px 16px 26px !important;
  border-radius: 30px !important;
  box-shadow: 0 20px 42px rgba(35, 15, 5, 0.22), inset 0 1px 0 rgba(255, 243, 214, 0.14) !important;
}

html body #sc-profile #p-av {
  border-radius: 24px !important;
}

/* Premium profile finish: warm retail surfaces, strong hierarchy, stable mobile layout. */
html body #sc-profile.screen.active {
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background: #f7f3ee !important;
}

html body #shell #sc-profile.screen.active > .scroll {
  flex: 1 1 0 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 14px 0 44px !important;
  background:
    radial-gradient(circle at 100% 18%, rgba(255, 202, 132, 0.16), transparent 26%),
    #f7f3ee !important;
}

html body #sc-profile .tbar.dark {
  flex: 0 0 68px !important;
  height: 68px !important;
  padding: 0 14px !important;
  background: #f7f3ee !important;
  border-bottom: 1px solid rgba(39, 25, 17, 0.08) !important;
  box-shadow: none !important;
}

html body #sc-profile .tbar.dark .back-btn {
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  border: 1px solid rgba(39, 25, 17, 0.10) !important;
  border-radius: 13px !important;
  background: #fffdf9 !important;
  color: #271911 !important;
  box-shadow: 0 5px 14px rgba(72, 42, 20, 0.08) !important;
}

html body #sc-profile .tbar-title.w {
  color: #271911 !important;
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
}

html body #sc-profile .scroll > div:first-child {
  margin: 0 14px 22px !important;
  border: 0 !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 202, 132, 0.30), transparent 24%),
    linear-gradient(135deg, #251711 0%, #3a1d12 52%, #8d3e16 100%) !important;
  box-shadow: 0 18px 34px rgba(73, 38, 18, 0.20), inset 0 1px 0 rgba(255,255,255,0.12) !important;
}

html body #sc-profile .scroll > div:first-child > div:first-of-type {
  gap: 14px !important;
  padding: 22px 18px 0 !important;
}

html body #sc-profile .scroll > div:first-child > div:first-of-type > div:first-child,
html body #sc-profile .scroll > div:first-child #p-av {
  width: 92px !important;
  height: 92px !important;
  min-width: 92px !important;
  min-height: 92px !important;
}

html body #sc-profile .scroll > div:first-child #p-av {
  border: 2px solid rgba(255, 213, 157, 0.95) !important;
  border-radius: 22px !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24), 0 0 0 4px rgba(255, 213, 157, 0.12) !important;
}

html body #sc-profile .scroll > div:first-child #p-name {
  margin-bottom: 7px !important;
  color: #fff8ef !important;
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  letter-spacing: -0.045em !important;
}

html body #sc-profile .scroll > div:first-child #p-shop-label {
  color: #ffc979 !important;
  font-size: 12px !important;
  letter-spacing: 0.08em !important;
}

html body #sc-profile .scroll > div:first-child #p-area-label {
  color: rgba(255, 248, 239, 0.70) !important;
  font-size: 12px !important;
}

html body #sc-profile .scroll > div:first-child > div:has(> #ps-pts) {
  margin: 20px 16px 0 !important;
  padding: 16px 0 15px !important;
  border-top: 1px solid rgba(255, 225, 183, 0.18) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

html body #sc-profile .scroll > div:first-child > div:has(> #ps-pts) > div:nth-child(odd) > div:first-child {
  color: #ffd08a !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 21px !important;
  font-weight: 800 !important;
}

html body #sc-profile .scroll > div:first-child > div:has(> #ps-pts) > div:nth-child(odd) > div:last-child {
  color: rgba(255, 248, 239, 0.62) !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: 0.10em !important;
  text-transform: uppercase;
}

html body #sc-profile .scroll > div:first-child > div:has(> #p-progress-fill) {
  padding: 13px 17px 15px !important;
  border-top: 1px solid rgba(255, 225, 183, 0.14) !important;
  background: rgba(0, 0, 0, 0.16) !important;
}

html body #sc-profile .scroll > div:first-child > div:has(> #p-progress-fill) > div:nth-child(2) {
  height: 7px !important;
  border: 0 !important;
  background: rgba(255,255,255,0.14) !important;
}

html body #sc-profile #p-progress-fill {
  background: linear-gradient(90deg, #e78a32, #ffd28a) !important;
  box-shadow: 0 0 12px rgba(255, 196, 109, 0.38) !important;
}

html body #sc-profile .prof-body {
  padding: 0 14px 46px !important;
  background: transparent !important;
}

html body #sc-profile .prof-sec-lbl {
  margin: 18px 2px 9px !important;
  padding: 0 4px !important;
  border: 0 !important;
  background: transparent !important;
  color: #8a5a38 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
}

html body #sc-profile .prof-card {
  margin-bottom: 18px !important;
  border: 1px solid rgba(110, 68, 35, 0.10) !important;
  border-radius: 21px !important;
  background: #fffdf9 !important;
  box-shadow: 0 8px 22px rgba(74, 46, 25, 0.07) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body #sc-profile .prof-card .pli {
  min-height: 78px !important;
  padding: 14px 16px !important;
  border-bottom: 1px solid rgba(110, 68, 35, 0.09) !important;
  transition: background 160ms ease, transform 160ms ease !important;
}

html body #sc-profile .prof-card .pli:hover {
  background: #fff7ed !important;
  transform: translateX(2px);
}

html body #sc-profile .pli-ico {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  flex-basis: 42px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: #fff0df !important;
  box-shadow: none !important;
}

html body #sc-profile .pli-ico svg {
  width: 19px !important;
  height: 19px !important;
  color: #d36318 !important;
}

html body #sc-profile .pli-ttl {
  color: #2c1b13 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

html body #sc-profile .pli-sub {
  margin-top: 4px !important;
  color: #8b7770 !important;
  font-size: 12px !important;
}

html body #sc-profile .pli-chev {
  border-color: #c38458 !important;
  opacity: 0.72 !important;
}

html body #sc-profile .prof-card:last-child {
  margin-top: 6px !important;
  border-color: rgba(169, 56, 34, 0.12) !important;
  background: #fff8f6 !important;
}

html body #sc-profile #pli-signout-ico {
  background: #fde7e2 !important;
}

html body #sc-profile #pli-signout-ttl,
html body #sc-profile #pli-signout-ico svg {
  color: #b13c2d !important;
}

@media (max-width: 360px) {
  html body #sc-profile .scroll > div:first-child > div:first-of-type > div:first-child,
  html body #sc-profile .scroll > div:first-child #p-av {
    width: 78px !important;
    height: 78px !important;
    min-width: 78px !important;
    min-height: 78px !important;
  }

  html body #sc-profile .scroll > div:first-child #p-name {
    font-size: 22px !important;
  }
}

html body #sc-profile .profile-premium-kicker {
  position: relative;
  z-index: 2;
  padding: 22px 20px 0;
  color: #f4cd89;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1.2;
}

html body #sc-profile .profile-premium-note {
  position: relative;
  z-index: 2;
  padding: 7px 20px 0;
  color: rgba(255, 244, 222, 0.75);
  font-size: 12px;
  line-height: 1.35;
}

html body #sc-profile .prof-card:last-child {
  border-color: rgba(163, 72, 55, 0.18) !important;
  background: linear-gradient(145deg, #fffaf7 0%, #f9e4df 100%) !important;
}
  display: flex !important;
  align-items: center;
  gap: 14px !important;
  min-height: 72px !important;
  box-sizing: border-box;
  padding: 12px 16px !important;
  border-bottom: 1px solid rgba(28, 20, 16, 0.08) !important;
  background: #fffaf7 !important;
}

#sc-profile .prof-card .pli:last-child {
  border-bottom: 0 !important;
}

#sc-profile #p-av-wrap,
#sc-profile #p-av-wrap #p-av,
#sc-profile #p-av {
  width: 112px !important;
  height: 112px !important;
  min-width: 112px !important;
  min-height: 112px !important;
}

#sc-profile #p-av-wrap {
  flex: 0 0 112px !important;
}

#sc-profile #p-av-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

#sc-profile .pli-ico {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px !important;
  height: 42px !important;
  border-radius: 13px !important;
  background: #fff0e6 !important;
  color: #e8500a !important;
}

#sc-profile .pli-ico svg {
  display: block !important;
  flex: 0 0 20px !important;
  width: 20px !important;
  min-width: 20px !important;
  height: 20px !important;
  min-height: 20px !important;
  max-width: 20px;
  max-height: 20px;
  color: #e8500a !important;
}

#sc-profile .pli-body {
  flex: 1 1 auto !important;
  min-width: 0;
}

#sc-profile .pli-ttl {
  display: block !important;
  color: #1c1410 !important;
  font-family: 'Google Sans', 'DM Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.3;
}

#sc-profile .pli-sub {
  display: block !important;
  margin-top: 3px !important;
  color: #857370 !important;
  font-size: 12px !important;
  line-height: 1.3;
}

#sc-profile .pli-chev {
  display: block !important;
  flex: 0 0 18px;
  width: 18px !important;
  height: 18px !important;
  max-width: 18px;
  max-height: 18px;
}

/* Luxury account navigation */
#sc-profile .prof-body {
  padding: 20px 16px 52px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02)) !important;
}

#sc-profile .prof-sec-lbl {
  margin: 18px 2px 10px !important;
  padding: 7px 11px !important;
  border: 1px solid rgba(181, 126, 55, 0.24) !important;
  background: rgba(218, 175, 106, 0.1) !important;
  color: #8d5d25 !important;
  font-size: 9px !important;
  letter-spacing: 0.18em !important;
}

#sc-profile .prof-card {
  margin-bottom: 20px !important;
  border: 1px solid rgba(255,255,255,0.38) !important;
  border-radius: 32px !important;
  background: rgba(255,255,255,0.34) !important;
  backdrop-filter: blur(14px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(130%) !important;
  box-shadow: 0 18px 38px rgba(84, 48, 26, 0.08), inset 0 1px 0 rgba(255,255,255,0.72) !important;
}

#sc-profile .prof-card .pli {
  min-height: 90px !important;
  padding: 18px 20px !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  background: transparent !important;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

#sc-profile .prof-card .pli:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.38) !important;
  box-shadow: inset 0 0 0 1px rgba(186, 130, 75, 0.08);
}

#sc-profile .pli-ico {
  flex: 0 0 48px !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  border: 1px solid rgba(181, 126, 55, 0.16) !important;
  border-radius: 18px !important;
  background: linear-gradient(145deg, #fff4e4, #f7dfbe) !important;
  color: #9b621f !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 10px 18px rgba(152,103,51,0.12);
}

#sc-profile .pli-ico svg {
  color: #9b621f !important;
  fill: none !important;
  stroke: currentColor !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
}

#sc-profile .pli-ico > svg {
  display: block !important;
  box-sizing: border-box !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  flex: 0 0 20px !important;
}

#sc-profile .pli[data-nav="sc-notif"] .pli-ico svg {
  fill: #ffc107 !important;
  stroke: none !important;
}

#sc-profile .pli-ttl {
  color: #fff4e9 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
}

#sc-profile .pli-sub {
  color: rgba(245,230,220,0.72) !important;
  font-size: 12px !important;
}

#sc-profile .pli-chev {
  opacity: 0.9;
  filter: sepia(0.8) saturate(1.8);
}

#sc-profile #pli-signout-ico {
  border-color: rgba(156, 54, 38, 0.14) !important;
  background: #fff0ed !important;
  color: #a34837 !important;
}

#sc-profile #pli-signout-ico svg,
#sc-profile #pli-signout-ttl {
  color: #a34837 !important;
}

/* Luxury retail profile hero */
#sc-profile .scroll > div:first-child {
  position: relative !important;
  box-sizing: border-box;
  margin: 4px 16px 22px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 40px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02)),
    radial-gradient(circle at 88% 12%, rgba(248, 205, 124, 0.26), transparent 20%),
    radial-gradient(circle at 20% 100%, rgba(210, 126, 58, 0.32), transparent 28%),
    linear-gradient(140deg, rgba(19,14,13,0.88) 0%, rgba(31,19,15,0.92) 24%, rgba(63,31,21,0.9) 52%, rgba(86,50,32,0.88) 74%, rgba(122,61,27,0.9) 100%) !important;
  box-shadow: 0 30px 58px rgba(17, 9, 6, 0.38), inset 0 1px 0 rgba(255, 243, 214, 0.18) !important;
  backdrop-filter: blur(10px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(130%) !important;
}

#sc-profile .scroll > div:first-child::before,
#sc-profile .scroll > div:first-child::after {
  content: "" !important;
  position: absolute !important;
  border-radius: 50% !important;
  pointer-events: none !important;
}

#sc-profile .scroll > div:first-child::before {
  width: 220px;
  height: 220px;
  right: -40px;
  top: -52px;
  background: rgba(244, 205, 137, 0.08);
  filter: blur(10px);
}

#sc-profile .scroll > div:first-child::after {
  width: 180px;
  height: 180px;
  left: -30px;
  bottom: -40px;
  background: rgba(177, 97, 43, 0.12);
  filter: blur(12px);
}

#sc-profile .scroll > div:first-child > div:first-of-type {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 24px 20px 0 !important;
}

#sc-profile .scroll > div:first-child > div:first-of-type > div:first-child,
#sc-profile .scroll > div:first-child > div:first-of-type > div:last-child {
  position: relative;
  z-index: 1;
}

#sc-profile .scroll > div:first-child > div:first-of-type > div:first-child {
  flex: 0 0 112px !important;
  width: 112px !important;
  height: 112px !important;
}

#sc-profile .scroll > div:first-child #p-av {
  width: 112px !important;
  height: 112px !important;
  border: 2px solid rgba(244, 205, 137, 0.96) !important;
  border-radius: 22px !important;
  background: #fffaf7 !important;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24), 0 0 0 4px rgba(244,205,137,0.12) !important;
}

#sc-profile .scroll > div:first-child #p-name {
  display: block !important;
  margin-bottom: 8px !important;
  color: #fff7eb !important;
  font-family: 'Google Sans', 'DM Sans', sans-serif !important;
  font-size: 31px !important;
  font-weight: 800 !important;
  letter-spacing: -0.8px !important;
  line-height: 1.05 !important;
}

#sc-profile .scroll > div:first-child #p-loc-row {
  margin-bottom: 10px !important;
  color: rgba(255, 236, 202, 0.76) !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}

#sc-profile .scroll > div:first-child #p-loc-row span:first-child {
  color: #e8b867 !important;
}

#sc-profile .scroll > div:first-child #p-loc-row span:last-child {
  color: rgba(255, 244, 222, 0.72) !important;
}

#sc-profile .scroll > div:first-child > div:first-of-type > div:last-child {
  padding-top: 0 !important;
}

#sc-profile .scroll > div:first-child #p-shop-label {
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#sc-profile .scroll > div:first-child #p-area-label {
  margin-top: 3px;
  font-size: 13px !important;
  letter-spacing: 0.02em;
}

#sc-profile .scroll > div:first-child .prof-member-pill {
  display: inline-flex !important;
  padding: 6px 10px !important;
  border: 1px solid rgba(232, 184, 103, 0.5) !important;
  border-radius: 999px !important;
  background: rgba(232, 184, 103, 0.12) !important;
  color: #f4cd89 !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
}

#sc-profile .scroll > div:first-child > div:nth-of-type(5) {
  margin: 18px 18px 0 !important;
  padding: 17px 0 15px !important;
  border-top: 1px solid rgba(255, 232, 188, 0.16) !important;
  background: rgba(255,255,255,0.03) !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

#sc-profile .scroll > div:first-child > div:nth-of-type(5) > div:nth-child(odd) {
  min-width: 0;
  padding: 0 8px;
}

#sc-profile .scroll > div:first-child > div:nth-of-type(5) > div:nth-child(odd) > div:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #f4cd89 !important;
  font-family: 'Google Sans', 'DM Sans', sans-serif !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  letter-spacing: -0.4px !important;
}

#sc-profile .scroll > div:first-child > div:nth-of-type(5) > div:nth-child(odd) > div:last-child {
  color: rgba(255, 236, 202, 0.64) !important;
  font-size: 9px !important;
  letter-spacing: 0.14em !important;
  font-weight: 700 !important;
}

#sc-profile .scroll > div:first-child > div:nth-of-type(6) {
  padding: 14px 18px 16px !important;
  border-top: 1px solid rgba(244, 205, 137, 0.12);
  background: rgba(0, 0, 0, 0.2) !important;
}

#sc-profile .scroll > div:first-child > div:nth-of-type(6) > div:first-child {
  margin-bottom: 10px !important;
}

#sc-profile .scroll > div:first-child > div:nth-of-type(6) > div:first-child span {
  color: rgba(255, 244, 222, 0.82) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
}

#sc-profile .scroll > div:first-child > div:nth-of-type(6) > div:nth-child(2) {
  height: 8px !important;
  border: 1px solid rgba(244, 205, 137, 0.2);
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

#sc-profile .scroll > div:first-child > div:nth-of-type(6) > div:nth-child(2) > div {
  background: linear-gradient(90deg, #c9903d, #f4cd89, #fff0bb) !important;
  box-shadow: 0 0 12px rgba(244, 205, 137, 0.3) !important;
}

#sc-profile .scroll > div:first-child > div:nth-of-type(6) > div:last-child {
  margin-top: 9px !important;
}

#sc-profile .scroll > div:first-child > div:nth-of-type(6) > div:last-child span {
  color: rgba(255, 244, 222, 0.7) !important;
  font-size: 10px !important;
  letter-spacing: 0.03em;
}

#sc-profile #ps-pts,
#sc-profile #ps-orders,
#sc-profile #ps-member {
  color: #f4cd89 !important;
}

#sc-profile .scroll > div:first-child div:has(> #p-progress-fill) {
  height: 8px !important;
  border: 1px solid rgba(244, 205, 137, 0.2) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

#sc-profile #p-progress-fill {
  height: 100% !important;
  background: linear-gradient(90deg, #c9903d, #f4cd89, #fff0bb) !important;
  box-shadow: 0 0 12px rgba(244, 205, 137, 0.3) !important;
}

#sc-profile .scroll > div:first-child > div:nth-of-type(3) span {
  color: rgba(255, 244, 222, 0.8) !important;
}

#sc-profile .scroll > div:first-child > div:nth-of-type(3) strong {
  color: #f4cd89 !important;
}

/* Profile surfaces: preserve the top bar and profile hero. */
html body #sc-profile,
html body #sc-profile .prof-body {
  background: #FFF8F6 !important;
}

#shell #sc-profile.screen.active > .scroll {
  background: #FFF8F6 !important;
}

#sc-profile .prof-card {
  background: var(--md-surface-4) !important;
}

#sc-profile .prof-card .pli {
  background: transparent !important;
}

/* Final curve overrides */
html body #sc-profile .scroll > div:first-child {
  margin: 12px 16px 26px !important;
  border-radius: 30px !important;
}

html body #sc-profile .prof-card {
  margin-bottom: 22px !important;
  border-radius: 26px !important;
  border-color: rgba(181, 126, 55, 0.18) !important;
  background: linear-gradient(145deg, #fffdf9 0%, #f7e8dc 100%) !important;
  box-shadow: 0 14px 30px rgba(84, 48, 26, 0.08) !important;
}

html body #sc-profile .prof-card .pli {
  min-height: 88px !important;
  padding: 16px 18px !important;
  border-bottom-color: rgba(181, 126, 55, 0.12) !important;
  background: transparent !important;
}

html body #sc-profile .pli-ico {
  width: 48px !important;
  height: 48px !important;
  flex-basis: 48px !important;
  border-radius: 18px !important;
}

html body #sc-profile .pli-chev {
  width: 10px !important;
  height: 10px !important;
  border-top: 2px solid #c9903d !important;
  border-right: 2px solid #c9903d !important;
  transform: rotate(45deg);
}

html body #sc-profile #p-av {
  border-radius: 24px !important;
}
