/* Houlistic user profile dashboard */

.profile-page {
  --pf-blue: #3b82f6;
  --pf-blue-deep: #1d4ed8;
  --pf-blue-soft: #60a5fa;
  --pf-purple: #7c3aed;
  --pf-magenta: #c026d3;
  --pf-ink: #0f172a;
  --pf-muted: #64748b;
  --pf-line: #e2e8f0;
  --pf-green: #22c55e;
  --pf-sidebar: 248px;
  --pf-scroll-thumb: #cbd5e1;
  --pf-scroll-thumb-hover: #94a3b8;
  margin: 0;
  min-height: 100vh;
  font-family: 'Montserrat', system-ui, sans-serif;
  background: #f8fafc;
  color: var(--pf-ink);
  scrollbar-width: thin;
  scrollbar-color: var(--pf-scroll-thumb) transparent;
  overflow-x: hidden;
}

/* Simple clean scrollbars */
.profile-page *,
.profile-page *::before,
.profile-page *::after {
  scrollbar-width: thin;
  scrollbar-color: var(--pf-scroll-thumb) transparent;
}

.profile-page::-webkit-scrollbar,
.profile-page *::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.profile-page::-webkit-scrollbar-track,
.profile-page *::-webkit-scrollbar-track {
  background: transparent;
}

.profile-page::-webkit-scrollbar-thumb,
.profile-page *::-webkit-scrollbar-thumb {
  background: var(--pf-scroll-thumb);
  border-radius: 999px;
  border: 1px solid transparent;
  background-clip: padding-box;
}

.profile-page::-webkit-scrollbar-thumb:hover,
.profile-page *::-webkit-scrollbar-thumb:hover {
  background: var(--pf-scroll-thumb-hover);
  background-clip: padding-box;
}

.profile-page::-webkit-scrollbar-corner,
.profile-page *::-webkit-scrollbar-corner {
  background: transparent;
}

.profile-page::-webkit-scrollbar-button,
.profile-page *::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.profile-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.profile-page i[class*='fa-'],
.profile-page .fas,
.profile-page .far,
.profile-page .fab {
  font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands' !important;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.profile-page .fab {
  font-family: 'Font Awesome 6 Brands' !important;
  font-weight: 400;
}

.profile-page .fas,
.profile-page .fa-solid {
  font-weight: 900;
}

.profile-shell {
  display: block;
  min-height: 100vh;
  min-height: 100dvh;
  padding-left: var(--pf-sidebar);
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: clip;
}

/* ---- Sidebar (fixed, no page scroll inside) ---- */
.profile-sidebar {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 55%, #f1f5f9 100%);
  border-right: 1px solid var(--pf-line);
  padding: 16px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--pf-sidebar);
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  z-index: 30;
  box-sizing: border-box;
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.7);
}

.profile-sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
}

.profile-sidebar-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-right: 2px;
}

.profile-sidebar-body > nav {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.profile-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--pf-blue-soft);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  min-width: 0;
}

.profile-brand span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
}

.profile-sidebar-close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: #fff;
  color: var(--pf-blue-deep);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.profile-sidebar-close:hover {
  background: #eff6ff;
  color: #1e40af;
  transform: scale(1.04);
}

.profile-sidebar-backdrop {
  display: none;
}

.profile-dash-label {
  margin: 0 0 10px 8px;
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.profile-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(4px, 1.2vh, 8px);
  flex: 1 1 auto;
  min-height: 0;
}

.profile-nav > li {
  flex: 0 0 auto;
}

.profile-nav-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
  background: transparent;
  color: var(--pf-ink);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  padding: clamp(8px, 1.4vh, 12px) 14px clamp(8px, 1.4vh, 12px) 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.profile-nav-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.78rem;
  color: var(--pf-blue-deep);
  background: #eff6ff;
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.18);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.profile-nav-btn span {
  flex: 1;
  min-width: 0;
}

.profile-nav-btn i.fa-angles-right {
  color: #94a3b8;
  font-size: 0.78rem;
  transition: color 0.2s ease;
}

.profile-nav-btn:hover {
  background: #f1f5f9;
}

.profile-nav-btn:hover .profile-nav-icon {
  background: #dbeafe;
}

.profile-nav-btn.is-active {
  background: linear-gradient(90deg, #60a5fa 0%, #2563eb 48%, #1e3a8a 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.profile-nav-btn.is-active .profile-nav-icon {
  color: #1d4ed8;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.profile-nav-btn.is-active i.fa-angles-right {
  color: #fff;
}

.profile-sidebar-foot {
  flex-shrink: 0;
  margin-top: auto;
  margin-bottom: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(160deg, #f8fbff 0%, #eef4ff 55%, #e8eef8 100%);
  border: none;
  position: relative;
  z-index: 2;
  box-shadow:
    8px 8px 18px rgba(15, 40, 90, 0.08),
    -6px -6px 16px rgba(255, 255, 255, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.profile-side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  color: var(--pf-ink);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 14px;
  border: none;
  background: #f4f7fc;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  line-height: 1.2;
  box-shadow:
    4px 4px 10px rgba(15, 40, 90, 0.08),
    -3px -3px 8px rgba(255, 255, 255, 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.profile-side-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.82rem;
  color: var(--pf-blue-deep);
  background: #eaf2ff;
  box-shadow:
    inset 2px 2px 5px rgba(36, 99, 180, 0.12),
    inset -2px -2px 5px rgba(255, 255, 255, 0.85);
}

.profile-side-copy {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-side-link:hover {
  transform: translateY(-1px);
  background: #eef5ff;
  box-shadow:
    6px 6px 14px rgba(15, 40, 90, 0.1),
    -4px -4px 10px rgba(255, 255, 255, 0.95);
}

.profile-side-link:active {
  transform: translateY(0);
  box-shadow:
    inset 3px 3px 8px rgba(15, 40, 90, 0.1),
    inset -2px -2px 6px rgba(255, 255, 255, 0.85);
}

/* ---- Main ---- */
.profile-main {
  --pf-main-pad-x: 28px;
  --pf-main-pad-y: 22px;
  min-width: 0;
  max-width: 100%;
  padding: var(--pf-main-pad-y) var(--pf-main-pad-x) 40px;
  box-sizing: border-box;
  overflow-x: clip;
}

/* Center the signed-out gate in the available main area */
.profile-main:has(.profile-gate:not([hidden])) {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
}

.profile-gate,
.profile-view {
  animation: pfFade 0.45s ease both;
}

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

.profile-gate {
  width: min(480px, 100%);
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--pf-line);
  border-radius: 22px;
  padding: clamp(22px, 5vw, 36px) clamp(16px, 4vw, 32px);
  text-align: center;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  box-sizing: border-box;
}

.profile-gate h1 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 4.5vw, 1.55rem);
  line-height: 1.25;
  word-wrap: break-word;
}

.profile-gate p {
  margin: 0 0 22px;
  color: var(--pf-muted);
  line-height: 1.5;
  font-size: clamp(0.88rem, 3.4vw, 1rem);
}

.profile-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  width: 100%;
}

.profile-gate-actions .pf-btn {
  flex: 1 1 140px;
  max-width: 100%;
  justify-content: center;
  box-sizing: border-box;
}

.profile-demo-card {
  margin: 0 0 18px;
  padding: 16px;
  border-radius: 16px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  text-align: left;
}

.profile-demo-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--pf-blue-deep);
  font-size: 0.92rem;
}

.profile-demo-card p {
  margin: 0 0 14px;
  color: var(--pf-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.profile-demo-card code {
  font-family: ui-monospace, Consolas, monospace;
  color: var(--pf-ink);
  font-size: 0.84rem;
}

.profile-demo-card .pf-btn {
  width: 100%;
}

.pf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 11px 20px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(90deg, #60a5fa, #2563eb 55%, #1d4ed8);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pf-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.32);
}

.pf-btn.secondary {
  background: #fff;
  color: var(--pf-blue-deep);
  border: 1px solid #bfdbfe;
  box-shadow: none;
}

.pf-btn.edit {
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
  padding: 6px 14px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.pf-btn.danger-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  max-width: 34px;
  padding: 0;
  flex: 0 0 34px !important;
  border-radius: 50% !important;
  aspect-ratio: 1 / 1;
  background: #ef4444;
  box-shadow: 0 6px 14px rgba(239, 68, 68, 0.28);
}

.profile-posted-card .pf-btn.danger-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  max-width: 34px;
  flex: 0 0 34px !important;
  border-radius: 50% !important;
}

/* Hero — full-width banner */
.profile-hero {
  position: relative;
  margin:
    calc(var(--pf-main-pad-y, 22px) * -1)
    calc(var(--pf-main-pad-x, 28px) * -1)
    0;
}

.profile-hero-banner {
  position: relative;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  min-height: clamp(160px, 26vw, 220px);
  background: #0f172a;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.16);
}

.profile-hero-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
}

.profile-avatar {
  width: clamp(78px, 12vw, 100px);
  height: clamp(78px, 12vw, 100px);
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow:
    0 0 0 3px rgba(168, 85, 247, 0.55),
    0 10px 24px rgba(15, 23, 42, 0.2);
  background: #e2e8f0;
  display: block;
}

.profile-avatar.sm {
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
}

.profile-avatar-wrap {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #5eb8ff 0%, #2563eb 55%, #1d4ed8 100%);
  color: #fff;
}

.profile-avatar-wrap .profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.profile-avatar-wrap .profile-avatar-img[hidden] {
  display: none !important;
}

.profile-avatar-initial {
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  user-select: none;
}

.profile-avatar-wrap[data-mode="photo"] {
  background: #0f274f;
}

.profile-avatar-wrap[data-mode="photo"] .profile-avatar-initial {
  display: none;
}

.profile-avatar-preview.profile-avatar-wrap {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16);
  margin: 0;
}

.profile-avatar-preview .profile-avatar-initial {
  font-size: 1.55rem;
}

.profile-info-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.profile-stat-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.profile-stat-card {
  position: relative;
  width: auto;
  min-height: 124px;
  border-radius: 22px;
  padding: 16px 12px 14px;
  color: #1e3a5f;
  background:
    linear-gradient(165deg, #ffffff 0%, #f5f8fc 48%, #eaf1f9 100%);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow:
    0 14px 28px rgba(15, 40, 80, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.profile-stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(59, 130, 246, 0.12), transparent 55%),
    radial-gradient(100% 70% at 100% 100%, rgba(14, 165, 233, 0.1), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.profile-stat-card > * {
  position: relative;
  z-index: 1;
}

.profile-stat-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1d4ed8;
  background: linear-gradient(145deg, #eff6ff, #dbeafe);
  box-shadow:
    inset 0 0 0 1px rgba(59, 130, 246, 0.18),
    0 6px 14px rgba(37, 99, 235, 0.12);
}

.profile-stat-icon i {
  font-size: 0.88rem;
  opacity: 1;
}

.profile-stat-card strong {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f2744;
}

.profile-stat-card > span:last-child,
.profile-stat-card--posts > span:last-of-type {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  opacity: 1;
}

.profile-stat-card--posts {
  background:
    linear-gradient(165deg, #ffffff 0%, #f3f8ff 45%, #e8f1ff 100%);
}

.profile-stat-card--rating {
  gap: 7px;
  background:
    linear-gradient(165deg, #fffdf8 0%, #fff8eb 46%, #fff1d6 100%);
  border-color: rgba(212, 175, 55, 0.28);
  box-shadow:
    0 14px 28px rgba(180, 130, 40, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.profile-stat-card--rating::before {
  background:
    radial-gradient(120% 80% at 10% 0%, rgba(234, 179, 8, 0.14), transparent 55%),
    radial-gradient(100% 70% at 100% 100%, rgba(245, 158, 11, 0.1), transparent 52%);
}

.profile-stat-card--rating:not(.has-rating) {
  opacity: 0.88;
}

.profile-stat-rating-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin: 0 auto;
}

.profile-stat-laurel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.profile-stat-rating-wrap strong {
  position: relative;
  z-index: 1;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  color: #8a6410;
  min-width: 2.2ch;
  text-align: center;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
  transform: translateY(-6px);
}

.profile-stat-card--rating .profile-stat-stars {
  margin-top: 0;
}

.profile-stat-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #eab308;
  font-size: 0.78rem;
  line-height: 1;
  min-height: 1em;
}

.profile-stat-stars .far.fa-star {
  color: rgba(148, 120, 40, 0.28);
}

.profile-stat-card--rating > span:last-child,
#statRatingLabel {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  line-height: 1.3;
  max-width: 14ch;
  color: #8b7355;
}

.profile-divider {
  height: 6px;
  margin: 22px 0 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #6366f1 45%, #db2777);
}

/* Panels layout */
.profile-panels {
  display: none;
}

.profile-panels.is-active {
  display: block;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.profile-section-title {
  margin: 0 0 14px;
  color: var(--pf-blue-soft);
  font-size: 1.15rem;
  font-weight: 700;
}

.profile-search {
  position: relative;
  margin-bottom: 14px;
}

.profile-search input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 12px 48px 12px 16px;
  font: inherit;
  font-size: 0.88rem;
  background: #fff;
  color: var(--pf-ink);
  box-sizing: border-box;
}

.profile-search input:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.profile-search button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  color: #fff;
  cursor: pointer;
}

.profile-posted-wrap {
  background: #f1f5f9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.profile-posted-head {
  display: grid;
  grid-template-columns: 56px minmax(0, 1.4fr) minmax(0, 0.7fr) minmax(0, 0.7fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 12px;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #e2e8f0;
}

.profile-posted-list {
  display: grid;
}

.profile-posted-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1.4fr) minmax(0, 0.7fr) minmax(0, 0.7fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  min-width: 0;
}

.profile-posted-card:hover {
  background: #fff;
}

.profile-posted-card:first-child {
  border-top: none;
}

.profile-posted-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.profile-posted-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--pf-ink);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-posted-meta {
  display: none;
  gap: 8px;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 0.74rem;
}

.profile-posted-region,
.profile-posted-price {
  font-size: 0.8rem;
  color: #475569;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-posted-card .profile-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.profile-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  background: #cbd5e1;
}

.profile-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-empty {
  margin: 0;
  padding: 28px 16px;
  text-align: center;
  color: var(--pf-muted);
  font-size: 0.9rem;
}

.profile-table-wrap {
  background: #f1f5f9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.profile-table th {
  text-align: left;
  padding: 12px 10px;
  color: #64748b;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #e2e8f0;
}

.profile-table td {
  padding: 10px;
  border-top: 1px solid #e2e8f0;
  vertical-align: middle;
  background: #f8fafc;
}

.profile-table tr:hover td {
  background: #fff;
}

/* Info card */
.profile-info-card {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 18px;
  padding: 22px 20px 24px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.profile-info-card h3 {
  margin: 0 0 18px;
  text-align: center;
  color: var(--pf-blue-soft);
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.profile-info-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 16px;
  background: linear-gradient(160deg, #f7f9fc 0%, #eef3f9 100%);
  box-shadow:
    inset 4px 4px 10px rgba(15, 40, 80, 0.06),
    inset -3px -3px 8px rgba(255, 255, 255, 0.9);
}

.profile-info-list li {
  display: grid;
  gap: 3px;
  padding: 11px 13px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95);
  word-break: break-word;
}

.profile-info-label {
  display: block;
  color: var(--pf-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.profile-info-value {
  display: block;
  color: #1e3a5f;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

.profile-info-card .pf-btn {
  width: 100%;
}

/* Secondary panels */
.profile-card {
  background: #fff;
  border: 1px solid var(--pf-line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.profile-card p {
  color: var(--pf-muted);
  line-height: 1.55;
  margin: 0 0 16px;
}

.profile-post-gate-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9a3412;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.profile-post-gate-badge.is-unlocked {
  position: relative;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  color: #ecfdf5;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, #34d399 0%, #10b981 42%, #059669 100%);
  box-shadow:
    0 8px 20px rgba(16, 185, 129, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.profile-post-badge-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #047857;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 2px 8px rgba(4, 120, 87, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  font-size: 0.78rem;
}

.profile-post-badge-copy {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.profile-post-badge-label {
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(4, 120, 87, 0.18);
}

.profile-post-badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ecfdf5;
  box-shadow: 0 0 0 0 rgba(236, 253, 245, 0.7);
  animation: profileSubPulse 1.8s ease-out infinite;
}

@keyframes profileSubPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(236, 253, 245, 0.65);
    opacity: 1;
  }
  70% {
    box-shadow: 0 0 0 8px rgba(236, 253, 245, 0);
    opacity: 0.85;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(236, 253, 245, 0);
    opacity: 1;
  }
}

.profile-post-ready-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.profile-post-ready-head .profile-post-gate-badge {
  margin-bottom: 0;
}

.profile-post-expires {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #047857;
  background: linear-gradient(160deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  padding: 8px 14px;
  box-shadow:
    inset 2px 2px 6px rgba(4, 120, 87, 0.06),
    inset -2px -2px 6px rgba(255, 255, 255, 0.85);
}

.profile-post-steps {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.profile-post-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  opacity: 0.72;
  transition: opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.profile-post-steps li.is-current,
.profile-post-steps li.is-done {
  opacity: 1;
}

.profile-post-steps li.is-current {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.profile-post-steps li.is-done {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.profile-post-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #1e3a5f;
  background: #e2e8f0;
}

.profile-post-steps li.is-current .profile-post-step-num {
  color: #fff;
  background: #2563eb;
}

.profile-post-steps li.is-done .profile-post-step-num {
  color: #fff;
  background: #16a34a;
}

.profile-post-steps strong {
  display: block;
  margin-bottom: 2px;
  color: #0f172a;
  font-size: 0.9rem;
}

.profile-post-steps p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--pf-muted);
  line-height: 1.4;
}

.profile-post-status {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.profile-post-status.is-locked {
  background: #fff7ed;
  color: #9a3412;
  border-color: #fed7aa;
}

.profile-post-status.is-warn {
  background: #fffbeb;
  color: #92400e;
  border-color: #fde68a;
}

.profile-post-status.is-ok {
  background: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}

.profile-post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-post-lead {
  margin-bottom: 18px !important;
}

.profile-listing-form {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.profile-listing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 28px 32px;
  align-items: start;
}

.profile-listing-block-title {
  margin: 0 0 16px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1e3a5f;
}

.profile-listing-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}

.profile-listing-field--full {
  grid-column: 1 / -1;
}

.profile-listing-field,
.profile-listing-col .profile-listing-field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
}

.profile-listing-field label,
.profile-listing-col label:not(.sr-only):not(.profile-listing-pick) {
  display: block;
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pf-muted);
  line-height: 1.35;
}

.profile-listing-col label + input,
.profile-listing-col label + select,
.profile-listing-col label + textarea,
.profile-listing-col .profile-listing-hint + label {
  margin-top: 0;
}

.profile-listing-field input,
.profile-listing-field select,
.profile-listing-field textarea,
.profile-listing-field .profile-custom-select,
.profile-listing-col input,
.profile-listing-col select,
.profile-listing-col textarea,
.profile-listing-col .profile-custom-select {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0;
}

.profile-listing-field input,
.profile-listing-field select,
.profile-listing-field textarea,
.profile-listing-col input,
.profile-listing-col select,
.profile-listing-col textarea {
  border: none;
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--pf-ink);
  background: #edf2f8;
  box-shadow:
    inset 5px 5px 10px rgba(15, 40, 80, 0.1),
    inset -4px -4px 10px rgba(255, 255, 255, 0.85);
  transition: box-shadow 0.2s ease;
  resize: vertical;
}

.profile-listing-field input:focus,
.profile-listing-field select:focus,
.profile-listing-field textarea:focus,
.profile-listing-col input:focus,
.profile-listing-col select:focus,
.profile-listing-col textarea:focus {
  outline: none;
  box-shadow:
    inset 5px 5px 10px rgba(15, 40, 80, 0.08),
    inset -4px -4px 10px rgba(255, 255, 255, 0.9),
    0 0 0 2px rgba(77, 163, 255, 0.35);
}

.profile-listing-field .profile-listing-hint {
  margin: 0;
  order: 3;
}

.profile-listing-field .profile-money-field {
  margin-bottom: 0;
}

.profile-listing-col--media .profile-listing-drop {
  margin-top: 0;
}

.profile-money-field {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 8px;
  margin-bottom: 14px;
  align-items: stretch;
}

.profile-money-field .profile-custom-select,
.profile-money-field select,
.profile-money-field input {
  margin-bottom: 0;
}

.profile-money-field select {
  font-weight: 800;
  color: #1d4ed8;
  text-align: center;
  padding-left: 8px;
  padding-right: 8px;
}

.profile-money-field input {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.profile-listing-drop {
  margin-bottom: 12px;
  padding: 18px 16px;
  border-radius: 18px;
  text-align: center;
  background: #edf2f8;
  box-shadow:
    inset 5px 5px 12px rgba(15, 40, 80, 0.08),
    inset -4px -4px 10px rgba(255, 255, 255, 0.85);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.profile-listing-drop.is-dragover {
  background: #e0ebff;
  box-shadow:
    inset 5px 5px 12px rgba(37, 99, 235, 0.12),
    inset -4px -4px 10px rgba(255, 255, 255, 0.85),
    0 0 0 2px rgba(77, 163, 255, 0.35);
}

.profile-listing-drop-copy i {
  display: block;
  margin-bottom: 8px;
  font-size: 1.4rem;
  color: #2563eb;
}

.profile-listing-drop-copy strong {
  display: block;
  margin-bottom: 4px;
  color: #1e3a5f;
  font-size: 0.9rem;
}

.profile-listing-drop-copy p {
  margin: 0 0 12px !important;
  font-size: 0.78rem !important;
  color: var(--pf-muted) !important;
}

.profile-listing-pick {
  padding: 8px 12px;
  font-size: 0.78rem;
  cursor: pointer;
}

.profile-listing-previews {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.profile-listing-preview-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.78rem;
  color: var(--pf-muted);
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
}

.profile-listing-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.profile-listing-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-listing-preview-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: rgba(15, 23, 42, 0.72);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.profile-listing-amenities-block {
  margin-top: 0;
  padding-top: 22px;
  border-top: 1px solid var(--pf-line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-listing-hint {
  margin: 0 !important;
  font-size: 0.78rem !important;
  line-height: 1.45 !important;
  color: var(--pf-muted) !important;
}

.profile-listing-amenities-title {
  margin: 0;
  font-size: 0.95rem;
  color: #1e3a5f;
}

.profile-amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 14px;
  margin-top: 4px;
}

.profile-amenity-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.profile-amenity-field label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pf-muted);
  line-height: 1.35;
}

.profile-amenity-field input,
.profile-amenity-field select,
.profile-amenity-field .profile-custom-select {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0;
}

.profile-amenity-field input,
.profile-amenity-field select {
  border: none;
  border-radius: 14px;
  padding: 11px 12px;
  font: inherit;
  font-size: 0.88rem;
  color: var(--pf-ink);
  background: #edf2f8;
  box-shadow:
    inset 5px 5px 10px rgba(15, 40, 80, 0.1),
    inset -4px -4px 10px rgba(255, 255, 255, 0.85);
}

.profile-amenity-field input:focus,
.profile-amenity-field select:focus {
  outline: none;
  box-shadow:
    inset 5px 5px 10px rgba(15, 40, 80, 0.08),
    inset -4px -4px 10px rgba(255, 255, 255, 0.9),
    0 0 0 2px rgba(77, 163, 255, 0.35);
}

.profile-amenity-custom {
  margin-top: 8px !important;
}

@media (max-width: 900px) {
  .profile-amenity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-listing-previews {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .profile-amenity-grid,
  .profile-listing-previews {
    grid-template-columns: 1fr 1fr;
  }

  .profile-money-field {
    grid-template-columns: 80px minmax(0, 1fr);
  }
}

.profile-listing-submit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
  padding-top: 18px;
  border-top: 1px solid var(--pf-line);
}

.profile-my-listings {
  margin-top: 18px;
}

.profile-my-listings-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.profile-my-listings-head .profile-section-title {
  margin-bottom: 0;
}

.profile-my-listings-count {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pf-muted);
}

.profile-search--compact {
  margin: 0 0 14px;
}

.profile-manage-list {
  display: grid;
  gap: 12px;
}

.profile-manage-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: linear-gradient(160deg, #f8fbff 0%, #eef3f9 100%);
  border: 1px solid #e2e8f0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 6px 16px rgba(15, 23, 42, 0.04);
}

.profile-manage-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  background: #cbd5e1;
}

.profile-manage-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.profile-manage-copy strong {
  font-size: 0.92rem;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-manage-copy span {
  font-size: 0.78rem;
  color: var(--pf-muted);
}

.profile-manage-meta {
  font-weight: 600;
}

.profile-manage-card .profile-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 720px) {
  .profile-manage-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .profile-manage-card .profile-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

.profile-nav-btn.is-locked .profile-nav-icon {
  color: #c2410c;
}

.profile-nav-btn.is-locked .profile-nav-icon::after {
  content: '\f023';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.55rem;
  margin-left: 2px;
  vertical-align: super;
}

@media (max-width: 900px) {
  .profile-listing-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .profile-listing-fields-grid {
    grid-template-columns: 1fr 1fr;
  }

  .profile-amenity-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .profile-listing-fields-grid,
  .profile-amenity-grid {
    grid-template-columns: 1fr;
  }
}

.profile-subsection-title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

.profile-subsection-lead {
  margin: 0 0 14px;
  color: #64748b;
  font-size: 0.92rem;
}

.profile-banner-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.profile-banner-option {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-align: left;
  font: inherit;
  color: inherit;
}

.profile-banner-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.16);
}

.profile-banner-option.is-active {
  border-color: #16a34a;
  box-shadow:
    0 0 0 1px rgba(22, 163, 74, 0.25),
    0 14px 28px rgba(22, 163, 74, 0.18);
}

.profile-banner-option-media {
  position: relative;
  display: block;
  width: 100%;
  height: 100px;
  overflow: hidden;
  background: #e2e8f0;
}

.profile-banner-option img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.25s ease;
}

.profile-banner-option:hover img {
  transform: scale(1.04);
}

.profile-banner-option.is-active img {
  filter: brightness(0.92);
}

.profile-banner-option-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 23, 42, 0.28));
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.profile-banner-option.is-active .profile-banner-option-media::after {
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(22, 163, 74, 0.12) 0%, transparent 42%),
    linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.35));
}

.profile-banner-option-title {
  display: block;
  padding: 10px 12px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  background: #fff;
}

.profile-banner-option.is-active .profile-banner-option-title {
  color: #166534;
}

.profile-banner-check {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  min-width: 28px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #16a34a;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  transform: scale(0.82) translateY(-4px);
  pointer-events: none;
  box-shadow: 0 8px 16px rgba(22, 163, 74, 0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.profile-banner-check i {
  font-size: 0.72rem;
}

.profile-banner-check-label {
  display: none;
}

.profile-banner-option.is-active .profile-banner-check {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.profile-banner-option.is-active .profile-banner-check-label {
  display: inline;
}

/* Banner verification modal — neomorphism */
.banner-verify-modal {
  position: fixed;
  inset: 0;
  z-index: 2300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.banner-verify-modal.is-open {
  display: flex;
}

.banner-verify-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(100, 116, 139, 0.28);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.banner-verify-box {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 26px 24px 22px;
  border-radius: 26px;
  text-align: center;
  background: linear-gradient(155deg, #f4f7fb 0%, #e8eef6 55%, #e2e8f0 100%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    14px 14px 28px rgba(148, 163, 184, 0.45),
    -10px -10px 24px rgba(255, 255, 255, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  animation: profilePayModalIn 0.35s ease;
}

.banner-verify-preview-wrap {
  position: relative;
  margin: 0 0 18px;
  border-radius: 18px;
  overflow: hidden;
  background: #dbe3ee;
  box-shadow:
    inset 6px 6px 14px rgba(148, 163, 184, 0.45),
    inset -5px -5px 12px rgba(255, 255, 255, 0.85);
}

.banner-verify-preview {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 18px;
}

.banner-verify-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #15803d;
  font-size: 0.75rem;
  font-weight: 800;
  border: 1.5px solid #16a34a;
  box-shadow:
    4px 4px 10px rgba(148, 163, 184, 0.35),
    -3px -3px 8px rgba(255, 255, 255, 0.9);
}

.banner-verify-modal.is-success .banner-verify-badge {
  background: #16a34a;
  color: #fff;
  border-color: #16a34a;
}

.banner-verify-box h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
}

.banner-verify-box > p {
  margin: 0 0 8px;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.45;
}

.banner-verify-name {
  margin: 0 0 20px !important;
  font-weight: 800;
  color: #1e293b !important;
  font-size: 1rem !important;
}

.banner-verify-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.banner-verify-actions button {
  border-radius: 999px;
  padding: 11px 18px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.banner-verify-actions .cancel-btn {
  border: none;
  color: #475569;
  background: #e8eef6;
  box-shadow:
    6px 6px 14px rgba(148, 163, 184, 0.4),
    -5px -5px 12px rgba(255, 255, 255, 0.95);
}

.banner-verify-actions .cancel-btn:hover {
  transform: translateY(-1px);
}

.banner-verify-actions .confirm-btn {
  background: transparent;
  color: #16a34a;
  border: 2px solid #16a34a;
  box-shadow:
    5px 5px 12px rgba(148, 163, 184, 0.28),
    -4px -4px 10px rgba(255, 255, 255, 0.9);
}

.banner-verify-actions .confirm-btn:hover {
  background: rgba(22, 163, 74, 0.08);
  transform: translateY(-1px);
}

.banner-verify-actions .confirm-btn.is-selected,
.banner-verify-modal.is-success .banner-verify-actions .confirm-btn {
  background: linear-gradient(145deg, #22c55e, #16a34a);
  color: #fff;
  border-color: #16a34a;
  box-shadow:
    6px 6px 14px rgba(22, 163, 74, 0.28),
    -4px -4px 10px rgba(255, 255, 255, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.banner-verify-actions .confirm-btn i {
  margin-right: 6px;
}

.banner-verify-modal.is-success .banner-verify-box h3 {
  color: #166534;
}

.banner-verify-modal.is-success .banner-verify-actions .cancel-btn {
  opacity: 0.55;
  pointer-events: none;
}

body.banner-verify-open {
  overflow: hidden;
}

/* Custom dropdowns — same language as service-details .custom-option */
.profile-custom-select {
  position: relative;
  width: 100%;
  font-size: 0.92rem;
  z-index: 1;
}

.profile-custom-select.open {
  z-index: 40;
}

.profile-select-native {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0 0 0 0);
}

.profile-custom-select .custom-select-trigger {
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 20px;
  padding: 13px 14px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: #0f172a;
  font-weight: 650;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.profile-custom-select .custom-select-trigger:hover {
  border-color: #2563eb;
}

.profile-custom-select .custom-select-trigger::after {
  content: '▼';
  font-size: 11px;
  margin-left: auto;
  color: #374151;
  transition: transform 0.2s ease;
}

.profile-custom-select.open .custom-select-trigger::after {
  transform: rotate(180deg);
}

.profile-custom-select .custom-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #eff6ff;
  border: 1px solid rgba(147, 197, 253, 0.55);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.18);
  display: none;
  z-index: 50;
  max-height: 240px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #3b82f6 #dbeafe;
}

.profile-custom-select.open .custom-options {
  display: block;
  animation: profileSelectIn 0.18s ease;
}

/* Simple blue scrollbar — no black tones */
.profile-custom-select.open .custom-options::-webkit-scrollbar {
  width: 8px;
}

.profile-custom-select.open .custom-options::-webkit-scrollbar-track {
  background: #dbeafe;
  border-radius: 999px;
  margin: 8px 0;
}

.profile-custom-select.open .custom-options::-webkit-scrollbar-thumb {
  background: #3b82f6;
  border-radius: 999px;
  border: 2px solid #dbeafe;
}

.profile-custom-select.open .custom-options::-webkit-scrollbar-thumb:hover {
  background: #38bdf8;
}

.profile-custom-select.open .custom-options::-webkit-scrollbar-corner {
  background: transparent;
}

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

.profile-custom-select .custom-option {
  padding: 10px 14px;
  color: #fff;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  cursor: pointer;
  transition: background 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
  font-size: 0.88rem;
}

.profile-custom-select .custom-option:last-child {
  border-bottom: none;
}

.profile-custom-select .custom-option:hover,
.profile-custom-select .custom-option.is-selected {
  background: linear-gradient(90deg, #22d3ee, #818cf8 45%, #e879f9);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  filter: brightness(1.08);
}

.profile-custom-select .custom-option.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.2);
}

.profile-custom-select .custom-option.is-placeholder {
  font-weight: 500;
  opacity: 0.9;
}

.profile-custom-select.is-compact .custom-select-trigger {
  border-radius: 14px;
  padding: 12px 10px;
  font-size: 0.84rem;
  font-weight: 800;
  color: #1d4ed8;
  justify-content: center;
}

.profile-custom-select.is-compact .custom-select-trigger::after {
  display: none;
}

.profile-custom-select.is-compact .custom-options {
  border-radius: 14px;
  min-width: 110px;
}

.profile-amenity-field .profile-custom-select {
  margin-bottom: 0;
}

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

.profile-liked-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(160deg, #f8fbff 0%, #eef3f9 100%);
  box-shadow:
    6px 6px 14px rgba(15, 40, 90, 0.07),
    -5px -5px 12px rgba(255, 255, 255, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.profile-liked-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.profile-liked-meta {
  min-width: 0;
  flex: 1;
}

.profile-liked-meta strong {
  display: block;
  font-size: 0.9rem;
  color: #0f172a;
}

.profile-liked-meta span {
  color: #64748b;
  font-size: 0.78rem;
}

.profile-liked-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.profile-liked-remove {
  color: #b91c1c !important;
  border-color: #fecaca !important;
}

.profile-liked-remove:hover {
  background: #fef2f2 !important;
}

@media (max-width: 640px) {
  .profile-liked-item {
    flex-wrap: wrap;
  }

  .profile-liked-actions {
    width: 100%;
  }

  .profile-liked-actions .pf-btn {
    flex: 1;
    justify-content: center;
  }
}

/* ---- Messages / Analytics / ID verification (neomorphism) ---- */
.profile-panels[data-panel="messages"] .profile-card,
.profile-panels[data-panel="analytics"] .profile-card,
.profile-panels[data-panel="verification"] .profile-card {
  background: linear-gradient(160deg, #f8fbff 0%, #eef3f9 100%);
  border: none;
  border-radius: 22px;
  box-shadow:
    10px 10px 24px rgba(15, 40, 90, 0.08),
    -8px -8px 20px rgba(255, 255, 255, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.profile-panels[data-panel="messages"] .profile-messages-shell {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
}

.profile-messages-hero {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
}

.profile-messages-kicker {
  margin: 0 0 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
}

.profile-messages-title {
  margin-bottom: 4px;
}

.profile-messages-hero .profile-subsection-lead {
  margin-bottom: 0 !important;
  max-width: 52ch;
}

.profile-messages-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #1e3a5f;
  background: #f8fbff;
  box-shadow:
    3px 3px 8px rgba(15, 40, 80, 0.08),
    -2px -2px 6px rgba(255, 255, 255, 0.95);
}

.profile-subsection-lead {
  margin: 0 0 14px !important;
  color: var(--pf-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.profile-messages-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 14px;
  min-height: min(62vh, 560px);
  height: min(62vh, 560px);
  margin-top: 4px;
  align-items: stretch;
}

.profile-conversations {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  border: none;
  border-radius: 18px;
  background: #edf2f8;
  overflow: hidden;
  box-shadow:
    inset 5px 5px 12px rgba(15, 40, 80, 0.1),
    inset -4px -4px 10px rgba(255, 255, 255, 0.85);
}

.profile-conversations-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px 8px;
  flex-shrink: 0;
}

.profile-conversations-scroll {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 6px;
  overflow: hidden;
  padding: 0 8px 10px;
  box-sizing: border-box;
}

.profile-conversations-scroll > .profile-messages-empty-state {
  margin: auto;
  max-width: 100%;
}

.profile-conv-item {
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto auto;
  gap: 3px;
  align-content: center;
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 9px 10px;
  border: 0;
  border-radius: 12px;
  text-align: left;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  color: inherit;
  font: inherit;
  overflow: hidden;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.profile-conv-item:hover {
  background: rgba(255, 255, 255, 0.78);
}

.profile-conv-item.is-active {
  background: #f8fbff;
  box-shadow:
    4px 4px 10px rgba(15, 40, 80, 0.08),
    -2px -2px 6px rgba(255, 255, 255, 0.95),
    inset 3px 0 0 #2563eb;
}

.profile-conv-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

.profile-conv-item strong {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--pf-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-conv-preview {
  display: block;
  min-width: 0;
  max-width: 100%;
  font-size: 0.72rem;
  line-height: 1.3;
  color: var(--pf-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-conv-unread {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1;
  box-shadow:
    3px 3px 8px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.profile-thread-avatar {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #1e3a5f;
  background: linear-gradient(145deg, #fff, #dbe3ef);
  border: 1px solid rgba(30, 58, 95, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Legacy conv helpers kept inert if old markup appears */
.profile-conv-avatar,
.profile-conv-body,
.profile-conv-top,
.profile-conv-meta-row,
.profile-conv-meta {
  display: none;
}

.profile-thread {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 0;
  height: 100%;
  border: none;
  border-radius: 18px;
  background: #f4f7fc;
  overflow: hidden;
  box-shadow:
    8px 8px 18px rgba(15, 40, 90, 0.07),
    -6px -6px 14px rgba(255, 255, 255, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.profile-thread-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px 14px;
  background: linear-gradient(160deg, #f8fbff 0%, #eef4ff 100%);
  box-shadow: inset 0 -1px 0 rgba(148, 163, 184, 0.2);
}

.profile-thread-peer[hidden] {
  display: none !important;
}

.profile-thread-heading {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.profile-thread-head strong {
  color: var(--pf-ink);
  font-size: 0.95rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-thread-sub {
  font-size: 0.74rem;
  color: var(--pf-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-thread-messages {
  min-height: 0;
  padding: 16px;
  overflow: auto;
  display: grid;
  gap: 10px;
  align-content: start;
  background:
    radial-gradient(circle at 12% 8%, rgba(59, 130, 246, 0.05), transparent 28%),
    #edf2f8;
  box-shadow:
    inset 4px 4px 12px rgba(15, 40, 80, 0.06),
    inset -3px -3px 10px rgba(255, 255, 255, 0.7);
}

.profile-msg-day {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 4px 0 2px;
}

.profile-msg-day::before,
.profile-msg-day::after {
  content: '';
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(100, 116, 139, 0.35),
    rgba(100, 116, 139, 0.35)
  );
}

.profile-msg-day::after {
  background: linear-gradient(
    90deg,
    rgba(100, 116, 139, 0.35),
    rgba(100, 116, 139, 0.35),
    transparent
  );
}

.profile-msg-day span {
  justify-self: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #475569;
  background: rgba(248, 251, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}

.profile-msg-row {
  display: flex;
  justify-content: flex-start;
}

.profile-msg-row.is-mine {
  justify-content: flex-end;
}

.profile-msg-bubble {
  max-width: min(78%, 420px);
  padding: 11px 13px;
  border-radius: 16px 16px 16px 6px;
  background: #f8fbff;
  color: var(--pf-ink);
  font-size: 0.9rem;
  line-height: 1.45;
  box-shadow:
    5px 5px 12px rgba(15, 40, 80, 0.08),
    -3px -3px 8px rgba(255, 255, 255, 0.9);
}

.profile-msg-bubble p {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.profile-msg-bubble.is-mine {
  border-radius: 16px 16px 6px 16px;
  color: #0f274f;
  background: linear-gradient(145deg, #dbeafe, #bfdbfe);
  box-shadow:
    5px 5px 12px rgba(37, 99, 235, 0.16),
    -3px -3px 8px rgba(255, 255, 255, 0.7);
}

.profile-msg-bubble time {
  display: block;
  margin-top: 5px;
  font-size: 0.7rem;
  color: var(--pf-muted);
}

.profile-thread-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px;
  gap: 12px;
  align-items: end;
  padding: 12px;
  background: linear-gradient(160deg, #f8fbff 0%, #eef4ff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.profile-thread-compose textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  resize: none;
  min-height: 48px;
  max-height: 120px;
  border: none;
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  color: var(--pf-ink);
  background: #edf2f8;
  box-shadow:
    inset 5px 5px 10px rgba(15, 40, 80, 0.1),
    inset -4px -4px 10px rgba(255, 255, 255, 0.85);
}

.profile-thread-compose textarea:focus {
  outline: none;
  box-shadow:
    inset 5px 5px 10px rgba(15, 40, 80, 0.08),
    inset -4px -4px 10px rgba(255, 255, 255, 0.9),
    0 0 0 2px rgba(59, 130, 246, 0.35);
}

.profile-thread-compose .pf-btn,
.profile-msg-send {
  box-sizing: border-box;
  width: 56px;
  min-width: 56px;
  max-width: 56px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-shrink: 0;
  justify-self: end;
  box-shadow:
    6px 6px 14px rgba(37, 99, 235, 0.25),
    -3px -3px 8px rgba(255, 255, 255, 0.6);
}

.profile-thread-compose .profile-send-label {
  display: none;
}

.profile-messages-empty-state {
  margin: auto;
  max-width: 280px;
  padding: 28px 16px;
  text-align: center;
  display: grid;
  gap: 6px;
  justify-items: center;
}

.profile-messages-empty-state--compact {
  padding: 22px 12px;
}

.profile-messages-empty-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 4px;
  border-radius: 16px;
  color: #1e3a5f;
  background: linear-gradient(145deg, #fff, #dbe3ef);
  border: 1px solid rgba(30, 58, 95, 0.12);
  box-shadow:
    4px 4px 10px rgba(15, 40, 80, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  font-size: 1.15rem;
}

.profile-messages-empty-state strong {
  font-size: 0.95rem;
  color: var(--pf-ink);
}

.profile-messages-empty-state p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--pf-muted);
}

.profile-analytics-wrap {
  margin-top: 8px;
  overflow-x: auto;
  border-radius: 18px;
  background: #edf2f8;
  padding: 8px;
  box-shadow:
    inset 5px 5px 12px rgba(15, 40, 80, 0.08),
    inset -4px -4px 10px rgba(255, 255, 255, 0.85);
}

.profile-analytics-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  font-size: 0.88rem;
}

.profile-analytics-table thead th {
  padding: 8px 12px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pf-muted);
  border: none;
  text-align: left;
  white-space: nowrap;
}

.profile-analytics-table tbody td {
  padding: 12px;
  border: none;
  text-align: left;
  white-space: nowrap;
  background: #f8fbff;
  color: var(--pf-ink);
}

.profile-analytics-table tbody tr td:first-child {
  border-radius: 14px 0 0 14px;
}

.profile-analytics-table tbody tr td:last-child {
  border-radius: 0 14px 14px 0;
}

.profile-analytics-table tbody tr td:only-child {
  border-radius: 14px;
}

.profile-analytics-table tbody tr {
  box-shadow:
    5px 5px 12px rgba(15, 40, 80, 0.06),
    -3px -3px 8px rgba(255, 255, 255, 0.8);
}

.profile-analytics-table tbody a {
  color: var(--pf-blue-deep);
  font-weight: 700;
  text-decoration: none;
}

.profile-analytics-table tbody a:hover {
  text-decoration: underline;
}

.profile-analytics-table .profile-empty {
  background: transparent !important;
  box-shadow: none !important;
  text-align: center;
  color: var(--pf-muted);
}

/* ---- ID verification ---- */
.profile-panels[data-panel="verification"] .profile-verify-shell {
  display: grid;
  gap: 18px;
  padding: 24px;
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(59, 130, 246, 0.08), transparent 48%),
    #fff;
}

.profile-verify-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--pf-line);
}

.profile-verify-title {
  margin: 0 0 8px;
  color: var(--pf-ink);
}

.profile-verify-hero-copy .profile-subsection-lead {
  max-width: 52ch;
  margin: 0 !important;
  color: var(--pf-muted);
  line-height: 1.55;
}

.profile-verify-seal {
  flex-shrink: 0;
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 88px;
  text-align: center;
}

.profile-verify-seal-ring {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: var(--pf-blue-deep);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.12);
  font-size: 1.25rem;
}

.profile-verify-seal-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pf-blue-deep);
}

.profile-verify-seal[data-status="approved"] .profile-verify-seal-ring {
  color: #047857;
  border-color: #6ee7b7;
  background: #ecfdf5;
  box-shadow: 0 8px 18px rgba(16, 185, 129, 0.16);
}

.profile-verify-seal[data-status="approved"] .profile-verify-seal-label {
  color: #047857;
}

.profile-verify-seal[data-status="pending"] .profile-verify-seal-ring {
  color: #b45309;
  border-color: #fcd34d;
  background: #fffbeb;
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.16);
}

.profile-verify-seal[data-status="pending"] .profile-verify-seal-label {
  color: #b45309;
}

.profile-verify-seal[data-status="rejected"] .profile-verify-seal-ring {
  color: #b91c1c;
  border-color: #fca5a5;
  background: #fef2f2;
  box-shadow: 0 8px 18px rgba(239, 68, 68, 0.14);
}

.profile-verify-seal[data-status="rejected"] .profile-verify-seal-label {
  color: #b91c1c;
}

.profile-verify-status {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid var(--pf-line);
}

.profile-verify-status-copy {
  min-width: 0;
  flex: 1;
}

.profile-verify-status .profile-subsection-lead {
  margin: 4px 0 0 !important;
  font-size: 0.88rem;
  color: var(--pf-muted);
}

.profile-verify-status-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--pf-ink);
}

.profile-verify-pill {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pf-blue-deep);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.profile-verify-pill.is-approved {
  color: #065f46;
  background: #d1fae5;
  border-color: #6ee7b7;
}

.profile-verify-pill.is-pending {
  color: #92400e;
  background: #fef3c7;
  border-color: #fcd34d;
}

.profile-verify-pill.is-rejected {
  color: #991b1b;
  background: #fee2e2;
  border-color: #fca5a5;
}

.profile-verify-body {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(0, 1.2fr);
  gap: 16px;
  align-items: start;
}

.profile-verify-guide {
  display: grid;
  gap: 12px;
}

.profile-verify-howto {
  margin: 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(165deg, #eff6ff 0%, #f8fafc 100%);
  border: 1px solid #dbeafe;
}

.profile-verify-howto h3 {
  margin: 0 0 10px;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--pf-blue-deep);
}

.profile-verify-howto ol {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 8px;
}

.profile-verify-howto li {
  font-size: 0.86rem;
  line-height: 1.5;
  color: #334155;
}

.profile-verify-notes {
  margin: 0;
  padding: 14px 16px;
  list-style: none;
  display: grid;
  gap: 8px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--pf-line);
}

.profile-verify-notes li {
  position: relative;
  padding-left: 18px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--pf-muted);
}

.profile-verify-notes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pf-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.profile-verify-form {
  display: grid;
  gap: 10px;
  max-width: none;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--pf-line);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.profile-verify-form-head {
  margin-bottom: 2px;
}

.profile-verify-form-head h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--pf-ink);
}

.profile-verify-form-head p {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: var(--pf-muted);
}

.profile-verify-fields {
  display: grid;
  gap: 8px;
}

.profile-verify-field-hint {
  margin: -2px 0 4px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--pf-muted);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.profile-verify-form label,
.profile-verify-upload-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--pf-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.profile-verify-upload-label {
  margin: 8px 0 0;
}

.profile-verify-form select {
  width: 100%;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--pf-ink);
  background: #f8fafc;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.profile-verify-form select:focus {
  outline: none;
  border-color: var(--pf-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.profile-verify-form .profile-form-actions {
  margin-top: 6px;
}

.profile-verify-form .pf-btn,
.profile-verify-submit {
  width: 100%;
}

.profile-verify-drop {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
  padding: 16px;
  border-radius: 14px;
  cursor: pointer;
  background: #f8fafc;
  border: 1.5px dashed #93c5fd;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.profile-verify-drop:hover {
  border-color: var(--pf-blue);
  background: #eff6ff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

.profile-verify-drop:focus-within {
  border-color: var(--pf-blue-deep);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.profile-verify-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.profile-verify-drop-frame {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--pf-blue-deep);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  font-size: 1.2rem;
}

.profile-verify-drop-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.profile-verify-drop-copy strong {
  font-size: 0.9rem;
  color: var(--pf-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-verify-drop-copy em {
  font-style: normal;
  font-size: 0.76rem;
  color: var(--pf-muted);
}

.profile-verify-file {
  display: none;
}

.profile-verify-file input[type="file"] {
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 12px;
  font: inherit;
  color: var(--pf-ink);
}

.profile-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.profile-panel-head .profile-section-title {
  margin-bottom: 4px;
}

.profile-messages-label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--pf-muted);
}

.profile-msg-back {
  display: none;
  align-items: center;
  gap: 6px;
  border: none;
  border-radius: 12px;
  padding: 7px 10px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pf-blue-deep);
  background: #edf2f8;
  cursor: pointer;
  box-shadow:
    4px 4px 10px rgba(15, 40, 80, 0.08),
    -3px -3px 8px rgba(255, 255, 255, 0.95);
}

.profile-msg-back[hidden] {
  display: none !important;
}

.profile-optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  color: #94a3b8;
}

@media (max-width: 1100px) {
  .profile-messages-layout {
    grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .profile-panels[data-panel="messages"] .profile-card,
  .profile-panels[data-panel="analytics"] .profile-card,
  .profile-panels[data-panel="verification"] .profile-card {
    border-radius: 18px;
    padding: 16px;
  }

  .profile-messages-layout {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: min(70vh, 520px);
    height: min(70vh, 520px);
  }

  .profile-conversations,
  .profile-thread {
    min-height: 0;
    height: 100%;
  }

  .profile-msg-back:not([hidden]) {
    display: inline-flex;
  }

  .profile-messages-layout.is-thread-open .profile-conversations {
    display: none;
  }

  .profile-messages-layout:not(.is-thread-open) .profile-thread {
    display: none;
  }

  .profile-thread-compose {
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 10px;
  }

  .profile-send-label {
    display: none;
  }

  .profile-msg-send,
  .profile-thread-compose .pf-btn {
    width: 48px;
    min-width: 48px;
    max-width: 48px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    justify-content: center;
  }

  .profile-analytics-table thead {
    display: none;
  }

  .profile-analytics-table,
  .profile-analytics-table tbody,
  .profile-analytics-table tr,
  .profile-analytics-table td {
    display: block;
    width: 100%;
  }

  .profile-analytics-table {
    border-spacing: 0;
  }

  .profile-analytics-table tbody tr {
    margin-bottom: 10px;
    border-radius: 16px;
    overflow: hidden;
    background: #f8fbff;
    box-shadow:
      5px 5px 12px rgba(15, 40, 80, 0.06),
      -3px -3px 8px rgba(255, 255, 255, 0.8);
  }

  .profile-analytics-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    white-space: normal;
    border-radius: 0 !important;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  }

  .profile-analytics-table tbody td:last-child {
    border-bottom: none;
  }

  .profile-analytics-table tbody td::before {
    content: attr(data-label);
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--pf-muted);
  }

  .profile-analytics-table tbody td.profile-empty,
  .profile-analytics-table tbody td:only-child {
    display: block;
    text-align: center;
  }

  .profile-analytics-table tbody td.profile-empty::before,
  .profile-analytics-table tbody td:only-child::before {
    content: none;
  }

  .profile-verify-form {
    max-width: none;
  }

  .profile-verify-form .profile-form-actions .pf-btn {
    width: 100%;
  }

  .profile-panels[data-panel="verification"] .profile-verify-shell {
    padding: 18px;
    gap: 14px;
  }

  .profile-verify-hero {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .profile-verify-seal {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    width: auto;
    justify-items: start;
    text-align: left;
  }

  .profile-verify-seal-ring {
    width: 52px;
    height: 52px;
    font-size: 1.1rem;
  }

  .profile-verify-body {
    grid-template-columns: 1fr;
  }

  .profile-verify-status {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 560px) {
  .profile-messages-layout {
    min-height: min(74vh, 560px);
    height: min(74vh, 560px);
  }

  .profile-conversations {
    max-height: none;
  }

  .profile-thread {
    min-height: 0;
  }

  .profile-thread-messages {
    max-height: none;
    padding: 12px;
  }

  .profile-msg-bubble {
    max-width: min(88%, 360px);
    font-size: 0.86rem;
  }

  .profile-thread-compose {
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 8px;
    padding: 10px;
  }

  .profile-thread-compose textarea {
    min-height: 44px;
  }

  .profile-thread-compose .pf-btn,
  .profile-msg-send {
    width: 44px;
    min-width: 44px;
    max-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
  }

  .profile-send-label {
    display: none;
  }

  .profile-subsection-lead {
    font-size: 0.84rem;
  }
}

/* Edit modal */
.profile-modal[hidden] {
  display: none !important;
}

.profile-modal {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.profile-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
}

.profile-modal-card {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  max-height: min(92vh, 760px);
  max-height: min(92dvh, 760px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: linear-gradient(155deg, #f7f9fc 0%, #eef3f9 48%, #e8eef6 100%);
  border: 1px solid rgba(180, 200, 230, 0.35);
  border-radius: 24px;
  padding: 0;
  box-shadow:
    14px 14px 28px rgba(15, 35, 70, 0.14),
    -10px -10px 24px rgba(255, 255, 255, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.profile-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px 0;
  flex-shrink: 0;
}

.profile-modal-card h3 {
  margin: 0;
  font-size: 1.18rem;
  color: #1e3a5f;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.profile-modal-x {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 12px;
  background: #edf2f8;
  color: #334155;
  cursor: pointer;
  box-shadow:
    4px 4px 10px rgba(15, 40, 80, 0.08),
    -3px -3px 8px rgba(255, 255, 255, 0.9);
}

.profile-modal-viewport {
  overflow: hidden;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
}

.profile-modal-track {
  display: flex;
  width: 200%;
  transform: translateX(0);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-modal-card.is-password .profile-modal-track {
  transform: translateX(-50%);
}

.profile-modal-panel {
  width: 50%;
  flex-shrink: 0;
  box-sizing: border-box;
  padding: 18px 22px 22px;
  max-height: min(78vh, 640px);
  overflow-y: auto;
  overflow-x: hidden;
}

.profile-modal-note {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #eaf2ff;
  color: #334155;
  font-size: 0.84rem;
  line-height: 1.45;
  box-shadow:
    inset 3px 3px 8px rgba(36, 99, 180, 0.08),
    inset -2px -2px 6px rgba(255, 255, 255, 0.8);
}

.profile-modal-signout-wrap {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
}

.profile-modal-signout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border: none;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  color: #991b1b;
  background: #f8fafc;
  box-shadow:
    5px 5px 12px rgba(15, 40, 90, 0.08),
    -4px -4px 10px rgba(255, 255, 255, 0.95);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.profile-modal-signout i {
  font-size: 0.92rem;
}

.profile-modal-signout:hover {
  color: #7f1d1d;
  background: #fff5f5;
  transform: translateY(-1px);
  box-shadow:
    6px 6px 14px rgba(15, 40, 90, 0.1),
    -4px -4px 10px rgba(255, 255, 255, 0.95);
}

.profile-modal-signout:active {
  transform: translateY(0);
  box-shadow:
    inset 3px 3px 8px rgba(185, 28, 28, 0.1),
    inset -2px -2px 6px rgba(255, 255, 255, 0.85);
}

.profile-avatar-drop {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 18px;
  background: #edf2f8;
  box-shadow:
    inset 5px 5px 12px rgba(15, 40, 80, 0.08),
    inset -4px -4px 10px rgba(255, 255, 255, 0.85);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.profile-avatar-drop.is-dragover {
  background: #e0ebff;
  box-shadow:
    inset 5px 5px 12px rgba(37, 99, 235, 0.12),
    inset -4px -4px 10px rgba(255, 255, 255, 0.85),
    0 0 0 2px rgba(77, 163, 255, 0.35);
}

.profile-avatar-preview {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16);
  background: #cbd5e1;
}

.avatar-position-modal {
  padding: 16px;
  align-items: center;
}

.avatar-position-modal .avatar-position-card {
  width: min(440px, calc(100vw - 24px));
  max-height: min(90vh, 640px);
  max-height: min(90dvh, 640px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.avatar-position-head {
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.avatar-position-kicker {
  margin: 0 0 2px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.avatar-position-head h3 {
  margin: 0;
  font-size: 1.1rem;
}

.avatar-position-body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(120px, 0.8fr);
  gap: 14px;
  align-items: center;
  min-height: 0;
  padding: 16px;
  overflow: auto;
}

.avatar-position-stage {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 0;
}

.avatar-position-frame {
  position: relative;
  width: min(100%, 200px);
  aspect-ratio: 1;
  height: auto;
  border-radius: 50%;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  background: #0f172a;
  border: 3px solid #fff;
  box-shadow:
    0 0 0 2px rgba(37, 99, 235, 0.28),
    8px 10px 22px rgba(15, 23, 42, 0.18);
}

.avatar-position-frame:active {
  cursor: grabbing;
}

.avatar-position-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.avatar-position-hint {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: #64748b;
}

.avatar-position-side {
  min-width: 0;
  padding: 12px;
  border-radius: 16px;
  background: #edf2f8;
  box-shadow:
    inset 4px 4px 10px rgba(15, 40, 80, 0.08),
    inset -3px -3px 8px rgba(255, 255, 255, 0.85);
}

.avatar-position-side-label {
  margin: 0 0 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  text-align: center;
}

.avatar-position-presets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin: 0;
}

.avatar-pos-btn {
  aspect-ratio: 1;
  width: 100%;
  min-width: 0;
  height: auto;
  border: none;
  border-radius: 12px;
  font: inherit;
  color: #1e3a5f;
  background: #f8fbff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow:
    3px 3px 8px rgba(15, 40, 80, 0.08),
    -2px -2px 6px rgba(255, 255, 255, 0.95);
}

.avatar-pos-btn span {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.avatar-pos-btn:hover {
  color: #1d4ed8;
}

.avatar-pos-btn.is-active {
  color: #fff;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  box-shadow:
    3px 3px 10px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.avatar-position-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10px;
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.35);
}

.avatar-position-actions .pf-btn {
  width: 100%;
  justify-content: center;
  border-radius: 14px;
}

@media (max-width: 560px) {
  .avatar-position-modal .avatar-position-card {
    width: min(100%, calc(100vw - 16px));
    max-height: min(92vh, 680px);
    max-height: min(92dvh, 680px);
  }

  .avatar-position-body {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .avatar-position-frame {
    width: min(180px, 56vw);
  }

  .avatar-position-side {
    max-width: 180px;
    margin: 0 auto;
    width: 100%;
  }

  .avatar-position-actions {
    grid-template-columns: 1fr 1fr;
  }
}

.profile-avatar-drop-copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.88rem;
  color: #1e3a5f;
}

.profile-avatar-drop-copy p {
  margin: 0 0 10px;
  font-size: 0.78rem;
  color: var(--pf-muted);
  line-height: 1.4;
}

.profile-avatar-pick {
  padding: 8px 12px;
  font-size: 0.78rem;
  cursor: pointer;
}

.profile-otp-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 8px;
}

.profile-otp-field {
  min-width: 0;
}

.profile-otp-hint {
  margin: 0 0 10px;
  font-size: 0.78rem;
  color: #0369a1;
}

.profile-form label {
  display: block;
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pf-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.profile-form input {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 12px;
  border: none;
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.92rem;
  color: var(--pf-ink);
  background: #edf2f8;
  box-shadow:
    inset 5px 5px 10px rgba(15, 40, 80, 0.1),
    inset -4px -4px 10px rgba(255, 255, 255, 0.85);
  transition: box-shadow 0.2s ease;
}

.profile-form input:focus {
  outline: none;
  box-shadow:
    inset 5px 5px 10px rgba(15, 40, 80, 0.12),
    inset -4px -4px 10px rgba(255, 255, 255, 0.88),
    0 0 0 2px rgba(77, 163, 255, 0.4);
}

.profile-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.profile-form-actions .pf-btn {
  flex: 1 1 140px;
  box-shadow:
    6px 6px 14px rgba(37, 99, 235, 0.22),
    -3px -3px 8px rgba(255, 255, 255, 0.5);
}

.profile-form-actions .pf-btn.secondary {
  background: #edf2f8;
  color: var(--pf-blue-deep);
  border: none;
  box-shadow:
    5px 5px 12px rgba(15, 40, 80, 0.08),
    -4px -4px 10px rgba(255, 255, 255, 0.9);
}

/* ---- Site navbar (small screens only) ---- */
.profile-page #navbar.profile-site-navbar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  z-index: 1000;
  box-sizing: border-box;
  background: #246BCE;
  color: #fff;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
  padding: 6px 10px;
  padding-top: max(6px, env(safe-area-inset-top, 0px));
  padding-left: max(10px, env(safe-area-inset-left, 0px));
  padding-right: max(10px, env(safe-area-inset-right, 0px));
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.18);
  transition: top 0.35s ease;
  overflow: hidden;
}

.profile-page #navbar .logo {
  grid-column: 2;
  justify-self: center;
  z-index: 1;
}

.profile-page #navbar .logo a {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.profile-page #navbar .logo img {
  height: 40px;
  width: auto;
  display: block;
}

.profile-page #navbar .login-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  grid-column: 3;
  justify-self: end;
  background: linear-gradient(135deg, #4da8ff 0%, #246bce 48%, #1a4f9e 100%);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 4px 14px rgba(15, 40, 90, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  white-space: nowrap;
}

.profile-page #navbar .login-btn--avatar {
  width: 38px;
  height: 38px;
  min-width: 38px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.42);
  font-size: 0.95rem;
  letter-spacing: 0;
  white-space: normal;
}

.profile-page #navbar .login-btn--avatar .login-btn-initial {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  border-radius: inherit;
}

.profile-page #navbar .login-btn--avatar .login-btn-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.profile-page #navbar .login-btn i {
  color: #fff;
}

.profile-page #navbar .dropdown-menu {
  display: none;
}

.profile-page #navbar .profile-mobile-toggle {
  display: none;
  position: static;
  top: auto;
  left: auto;
  z-index: auto;
  grid-column: 1;
  justify-self: start;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  box-shadow: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.profile-page #navbar .profile-mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.04);
}

.profile-page #navbar .profile-mobile-toggle i {
  color: #fff;
  font-size: 1rem;
}

@media (max-width: 1280px) {
  .profile-page {
    --pf-sidebar: 236px;
  }

  .profile-grid {
    gap: 18px;
  }
}

@media (max-width: 1100px) {
  .profile-page {
    --pf-sidebar: 220px;
  }

  .profile-main {
    --pf-main-pad-x: 18px;
    --pf-main-pad-y: 20px;
    padding: var(--pf-main-pad-y) var(--pf-main-pad-x) 36px;
  }

  .profile-nav-btn {
    font-size: 0.66rem;
    padding: 11px 10px;
    gap: 8px;
  }

  .profile-brand {
    font-size: 0.92rem;
  }

  .profile-brand img {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 1100px) {
  .profile-posted-head,
  .profile-posted-card {
    grid-template-columns: 52px minmax(0, 1.2fr) minmax(0, 0.8fr) auto;
  }

  .profile-posted-head span:nth-child(3),
  .profile-posted-region {
    display: none;
  }

  .profile-posted-meta {
    display: flex;
  }

  .profile-posted-meta span:last-child {
    display: none;
  }
}

@media (max-width: 980px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-info-col {
    order: -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 14px;
    align-items: stretch;
  }

  .profile-stat-cards {
    max-width: none;
    align-content: start;
  }

  .profile-info-card {
    height: 100%;
  }
}

@media (max-width: 860px) {
  .profile-page {
    --pf-sidebar: 100%;
  }

  .profile-page #navbar.profile-site-navbar {
    display: grid;
  }

  .profile-page #navbar .profile-mobile-toggle {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .profile-page #navbar .nav-links {
    display: none !important;
  }

  .profile-page #navbar .logo img {
    height: 36px;
  }

  .profile-page #navbar .login-btn--signin,
  .profile-page #navbar .login-btn--signout {
    padding: 7px 11px;
    font-size: 0.74rem;
    max-width: 100%;
  }

  .profile-page #navbar .login-btn--avatar {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }

  .profile-shell {
    padding-left: 0;
    width: 100%;
  }

  .profile-sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
  }

  .profile-page.nav-open .profile-sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .profile-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(300px, 88vw);
    height: 100dvh;
    max-height: 100dvh;
    z-index: 50;
    transform: translateX(-105%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    border-right: none;
    border-radius: 0 22px 22px 0;
    padding: 16px 14px 14px;
    overflow: hidden;
    background:
      linear-gradient(165deg, #ffffff 0%, #f8fbff 42%, #eef6ff 100%);
    box-shadow:
      18px 0 48px rgba(15, 23, 42, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }

  .profile-sidebar-close {
    display: inline-flex;
  }

  .profile-page.nav-open .profile-sidebar {
    transform: none;
    z-index: 10060;
  }

  .profile-page.nav-open .profile-sidebar-backdrop {
    z-index: 10055;
  }

  .profile-page.nav-open #navbar .profile-mobile-toggle {
    opacity: 0.45;
    pointer-events: none;
  }

  .profile-main {
    --pf-main-pad-x: 14px;
    --pf-main-pad-y: calc(56px + env(safe-area-inset-top, 0px));
    padding: var(--pf-main-pad-y) var(--pf-main-pad-x) 28px;
    width: 100%;
  }

  .profile-view,
  .profile-panels,
  .profile-grid,
  .profile-card,
  .profile-info-card,
  .profile-sub-status-card,
  .profile-posted-wrap {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .profile-hero-banner {
    min-height: 140px;
  }

  .profile-info-col {
    grid-template-columns: 1fr;
  }

  .profile-stat-cards {
    max-width: none;
  }

  .profile-divider {
    margin: 18px 0;
  }

  .profile-posted-head {
    display: none;
  }

  .profile-posted-list {
    gap: 10px;
    padding: 10px;
  }

  .profile-posted-card {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px 14px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
    min-width: 0;
  }

  .profile-posted-card:first-child {
    border-top: 1px solid #e2e8f0;
  }

  .profile-posted-card .profile-thumb {
    width: 64px;
    height: 64px;
    border-radius: 12px;
  }

  .profile-posted-title {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .profile-posted-meta {
    display: flex;
  }

  .profile-posted-region,
  .profile-posted-price {
    display: none;
  }

  .profile-posted-card .profile-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
  }

  .profile-posted-card .profile-actions .pf-btn.edit {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
  }

  .profile-posted-card .profile-actions .pf-btn.danger-icon {
    flex: 0 0 34px !important;
    width: 34px;
    height: 34px;
    min-width: 34px;
    max-width: 34px;
    border-radius: 50% !important;
  }

  .profile-gate {
    width: min(440px, 100%);
    margin: 0 auto;
    padding: 24px 16px;
    border-radius: 18px;
  }

  .profile-main:has(.profile-gate:not([hidden])) {
    min-height: calc(100dvh - env(safe-area-inset-top, 0px));
  }

  .profile-modal {
    padding:
      max(10px, env(safe-area-inset-top, 0px))
      10px
      max(10px, env(safe-area-inset-bottom, 0px));
    align-items: end;
    place-items: end center;
  }

  .profile-modal-card {
    width: 100%;
    max-width: 100%;
    max-height: min(88dvh, calc(100dvh - 12px));
    border-radius: 22px 22px 18px 18px;
    box-shadow:
      0 -8px 32px rgba(15, 35, 70, 0.18),
      0 12px 28px rgba(15, 35, 70, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.95);
  }

  .profile-modal-head {
    padding: 16px 16px 0;
  }

  .profile-modal-card h3 {
    font-size: 1.05rem;
  }

  .profile-modal-x {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .profile-modal-panel {
    padding: 14px 16px 18px;
    max-height: min(70dvh, calc(100dvh - 110px));
  }

  .profile-modal-note {
    font-size: 0.8rem;
    padding: 10px 12px;
  }

  .profile-avatar-drop {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 12px;
    gap: 10px;
  }

  .profile-avatar-drop-copy p {
    font-size: 0.78rem;
  }

  .profile-otp-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .profile-otp-row .pf-btn {
    width: 100%;
    min-height: 0;
    padding: 8px 12px;
    font-size: 0.76rem;
    border-radius: 999px;
  }

  .profile-form-actions,
  .profile-listing-submit-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .profile-form-actions .pf-btn,
  .profile-listing-submit-row .pf-btn {
    flex: 1 1 calc(50% - 4px);
    width: auto;
    min-width: 0;
    min-height: 0;
    padding: 8px 12px;
    font-size: 0.76rem;
    border-radius: 999px;
    justify-content: center;
  }

  .profile-modal-signout {
    min-height: 0;
    padding: 8px 12px;
    font-size: 0.76rem;
    border-radius: 12px;
  }

  .profile-avatar-pick {
    min-height: 0;
    padding: 7px 12px;
    font-size: 0.74rem;
  }
}

/* Extra bottom clearance when bottom icon nav is present */
@media (max-width: 768px) {
  .profile-modal {
    padding-bottom: calc(8px + var(--mobile-nav-h, 72px));
  }

  .profile-modal-card {
    max-height: calc(100dvh - var(--mobile-nav-h, 72px) - env(safe-area-inset-top, 0px) - 16px);
  }

  .profile-modal-panel {
    max-height: calc(100dvh - var(--mobile-nav-h, 72px) - env(safe-area-inset-top, 0px) - 96px);
  }

  .profile-main {
    --pf-main-pad-x: 12px;
    padding-bottom: calc(24px + var(--mobile-nav-h, 72px));
  }

  .profile-gate {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 22px 14px;
    border-radius: 16px;
  }

  .profile-main:has(.profile-gate:not([hidden])) {
    min-height: calc(
      100dvh
      - var(--mobile-nav-h, 72px)
      - env(safe-area-inset-top, 0px)
    );
    align-items: center;
    justify-content: center;
  }

  .profile-gate-actions {
    flex-direction: column;
  }

  .profile-gate-actions .pf-btn {
    width: 100%;
    flex: 1 1 auto;
    justify-content: center;
  }

  .profile-hero-banner {
    min-height: 120px;
    border-radius: 16px;
  }

  .profile-info-card,
  .profile-card,
  .profile-sub-status-card {
    border-radius: 16px;
    max-width: 100%;
  }

  .profile-liked-item {
    flex-wrap: wrap;
    min-width: 0;
    gap: 10px;
  }

  .profile-liked-actions {
    width: 100%;
    justify-content: stretch;
  }

  .profile-liked-actions .pf-btn,
  .profile-liked-remove {
    flex: 1 1 auto;
    min-width: 0;
  }

  .profile-nav-btn {
    width: 100%;
    box-sizing: border-box;
  }

  .profile-nav-btn span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pay-modal {
    padding: 12px;
    align-items: end;
  }

  .pay-modal-box {
    width: 100%;
    max-width: 100%;
    padding: 22px 16px 18px;
    border-radius: 22px 22px 16px 16px;
    max-height: min(88vh, 640px);
    overflow-y: auto;
  }

  .pay-modal-head {
    padding: 0 24px;
  }

  .pay-method-face {
    min-height: 80px;
  }

  /* Avoid double clearance: main already pads for the bar */
  .profile-page #mobile-nav-spacer {
    display: block;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden;
  }
}

@media (max-width: 640px) {
  .profile-stat-card {
    min-height: 108px;
    padding: 12px 8px;
    border-radius: 18px;
    min-width: 0;
  }

  .profile-stat-card strong {
    font-size: 1.3rem;
  }

  .profile-stat-rating-wrap {
    width: 68px;
    height: 68px;
  }

  .profile-stat-rating-wrap strong {
    font-size: 1.15rem;
  }

  .profile-info-card,
  .profile-card {
    padding: 18px 14px;
  }

  .profile-section-title {
    font-size: 1.05rem;
  }

  .profile-actions {
    flex-wrap: wrap;
  }

  .profile-search input {
    font-size: 0.86rem;
    padding: 11px 46px 11px 14px;
  }

  .profile-gate h1 {
    font-size: 1.25rem;
  }

  .profile-gate p {
    margin-bottom: 18px;
    font-size: 0.9rem;
  }

  .profile-demo-card {
    padding: 14px;
  }

  .profile-stat-cards {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .profile-amenity-grid {
    grid-template-columns: 1fr;
  }

  .profile-listing-previews {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .profile-my-listings-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-manage-card {
    grid-template-columns: 72px minmax(0, 1fr);
    min-width: 0;
  }

  .profile-manage-card .profile-actions {
    grid-column: 1 / -1;
    width: 100%;
  }

  .profile-sub-status-top {
    gap: 8px;
  }

  .profile-form-actions .pf-btn,
  .profile-listing-submit-row .pf-btn {
    flex: 1 1 100%;
  }

  .pricing-grid {
    padding-left: 8px;
    padding-right: 8px;
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  .profile-main {
    --pf-main-pad-x: 10px;
  }

  .profile-gate {
    padding: 20px 12px;
    border-radius: 14px;
  }

  .profile-gate h1 {
    font-size: 1.15rem;
  }

  .profile-gate p {
    font-size: 0.86rem;
    margin-bottom: 16px;
  }

  .profile-page #navbar.profile-site-navbar {
    column-gap: 6px;
    padding-left: max(8px, env(safe-area-inset-left, 0px));
    padding-right: max(8px, env(safe-area-inset-right, 0px));
  }

  .profile-page #navbar .profile-mobile-toggle {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  .profile-page #navbar .logo img {
    height: 32px;
  }

  .profile-page #navbar .login-btn--signin {
    padding: 6px 9px;
    font-size: 0.68rem;
    gap: 4px;
  }

  .profile-page #navbar .login-btn--signin i {
    font-size: 0.72rem;
  }

  .profile-hero-banner {
    min-height: 110px;
  }

  .profile-stat-cards {
    gap: 8px;
    grid-template-columns: 1fr 1fr;
  }

  .profile-stat-card {
    min-height: 100px;
    padding: 10px 6px;
  }

  .profile-stat-icon {
    width: 30px;
    height: 30px;
  }

  .profile-stat-stars {
    font-size: 0.62rem;
  }

  .profile-posted-card .profile-actions {
    gap: 6px;
  }

  .profile-posted-card .pf-btn.edit {
    padding: 6px 10px;
    font-size: 0.72rem;
  }

  .profile-thumb {
    width: 56px;
    height: 56px;
  }

  .pf-btn.edit {
    padding: 6px 10px;
  }

  .profile-sidebar {
    width: min(280px, 92vw);
  }

  .profile-side-copy small {
    display: none;
  }

  .profile-nav-btn {
    font-size: 0.64rem;
    gap: 8px;
    padding: 9px 10px;
  }

  .profile-nav-icon {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }

  .profile-page #navbar .login-btn {
    padding: 7px 10px;
    font-size: 0.72rem;
  }

  .profile-page #navbar .login-btn--avatar {
    width: 32px;
    height: 32px;
    min-width: 32px;
    padding: 0;
    font-size: 0.8rem;
  }

  .profile-page #navbar .login-btn--avatar .login-btn-initial {
    font-size: 0.8rem;
  }

  .profile-listing-previews {
    grid-template-columns: 1fr;
  }

  .profile-info-card h3,
  .profile-card h3 {
    font-size: 0.95rem;
    word-break: break-word;
  }

  .profile-page #navbar .logo img {
    height: 32px;
  }

  .profile-page #navbar .profile-mobile-toggle {
    width: 32px;
    height: 32px;
  }

  .profile-main {
    --pf-main-pad-y: calc(52px + env(safe-area-inset-top, 0px));
  }
}

@media (min-width: 1400px) {
  .profile-page {
    --pf-sidebar: 260px;
  }

  .profile-main {
    --pf-main-pad-x: 36px;
    --pf-main-pad-y: 26px;
  }

  .profile-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
    gap: 28px;
  }

  .profile-hero-banner {
    min-height: 240px;
  }
}

@media (max-height: 700px) {
  .profile-sidebar {
    gap: 8px;
    padding: 12px 12px 10px;
  }

  .profile-dash-label {
    margin-bottom: 6px;
  }

  .profile-nav-btn {
    padding: 8px 10px;
  }

  .profile-nav-icon {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }

  .profile-brand img {
    width: 34px;
    height: 34px;
  }

  .profile-brand {
    font-size: 0.88rem;
  }

  .profile-sidebar-foot {
    padding: 8px;
  }

  .profile-side-link {
    padding: 6px 8px;
  }

  .profile-side-icon {
    width: 28px;
    height: 28px;
  }

  .profile-side-copy small {
    display: none;
  }
}

/* Optional soft theme accents */
.profile-page[data-theme='violet'] {
  --pf-blue: #8b5cf6;
  --pf-blue-deep: #6d28d9;
  --pf-blue-soft: #a78bfa;
}

.profile-page[data-theme='ocean'] {
  --pf-blue: #0ea5e9;
  --pf-blue-deep: #0369a1;
  --pf-blue-soft: #38bdf8;
}

/* Subscription plans (embedded from former subscription page) */
.profile-sub-status-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: 22px;
  padding: 22px 22px 18px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 14px 34px rgba(15, 23, 42, 0.06);
}

.profile-sub-status-glow {
  position: absolute;
  top: -48%;
  right: -18%;
  width: 55%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.16), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.profile-sub-status-card[data-sub-state='active'] .profile-sub-status-glow {
  background: radial-gradient(circle, rgba(34, 197, 94, 0.18), transparent 68%);
}

.profile-sub-status-card[data-sub-state='pending'] .profile-sub-status-glow,
.profile-sub-status-card[data-sub-state='expired'] .profile-sub-status-glow {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18), transparent 68%);
}

.profile-sub-status-card[data-sub-state='none'] .profile-sub-status-glow {
  background: radial-gradient(circle, rgba(100, 116, 139, 0.14), transparent 68%);
}

.profile-sub-status-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.profile-sub-status-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 1.05rem;
  background: linear-gradient(145deg, #60a5fa, #2563eb 55%, #1d4ed8);
  box-shadow:
    0 10px 18px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.profile-sub-status-card[data-sub-state='active'] .profile-sub-status-icon {
  background: linear-gradient(145deg, #4ade80, #16a34a 55%, #15803d);
  box-shadow:
    0 10px 18px rgba(22, 163, 74, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.profile-sub-status-card[data-sub-state='pending'] .profile-sub-status-icon,
.profile-sub-status-card[data-sub-state='expired'] .profile-sub-status-icon {
  background: linear-gradient(145deg, #fbbf24, #f59e0b 55%, #d97706);
  box-shadow:
    0 10px 18px rgba(217, 119, 6, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.profile-sub-status-copy {
  min-width: 0;
  flex: 1;
}

.profile-sub-status-card .profile-sub-kicker {
  margin: 0 0 2px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
}

.profile-sub-status-card .profile-section-title {
  margin: 0;
  font-size: 1.2rem;
}

.profile-sub-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #334155;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.profile-sub-status-card[data-sub-state='active'] .profile-sub-badge {
  color: #166534;
  background: #dcfce7;
  border-color: #bbf7d0;
}

.profile-sub-status-card[data-sub-state='pending'] .profile-sub-badge {
  color: #92400e;
  background: #fef3c7;
  border-color: #fde68a;
}

.profile-sub-status-card[data-sub-state='expired'] .profile-sub-badge {
  color: #9a3412;
  background: #ffedd5;
  border-color: #fed7aa;
}

.profile-sub-status-card[data-sub-state='none'] .profile-sub-badge {
  color: #475569;
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.profile-sub-status-card .profile-sub-status-text {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #64748b;
  line-height: 1.55;
  font-size: 0.92rem;
}

.profile-sub-status-card .sub-alert {
  position: relative;
  z-index: 1;
  margin-top: 12px;
}

.pricing-loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--pf-muted, #64748b);
  margin: 0;
  padding: 28px 12px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  gap: 32px 36px;
  align-items: stretch;
  margin: 4px auto 16px;
  width: 100%;
  max-width: 820px;
  box-sizing: border-box;
  padding: 24px 28px 36px;
}

@keyframes pricingCardIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.pricing-card {
  --pricing-title: #2c6cf5;
  --pricing-grad-a: #2c6cf5;
  --pricing-grad-b: #34d6ff;
  --pricing-fold: #1a4bb8;
  --pricing-shadow: rgba(44, 108, 245, 0.38);
  --pricing-wash: transparent;
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: 230px;
  margin: 0 auto;
  box-sizing: border-box;
  background: #fff;
  border-radius: 18px;
  border: none;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 18px 24px;
  overflow: visible;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease;
  animation: pricingCardIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--pricing-delay, 0ms);
}

.pricing-card::after {
  display: none;
}

.pricing-card > * {
  position: relative;
  z-index: 1;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.14);
}

.pricing-card--basic {
  --pricing-title: #2c6cf5;
  --pricing-grad-a: #2c6cf5;
  --pricing-grad-b: #34d6ff;
  --pricing-fold: #1a4bb8;
  --pricing-shadow: rgba(44, 108, 245, 0.4);
}

.pricing-card--popular {
  --pricing-title: #6001d3;
  --pricing-grad-a: #6001d3;
  --pricing-grad-b: #9647ff;
  --pricing-fold: #4700a0;
  --pricing-shadow: rgba(96, 1, 211, 0.4);
}

.pricing-card--agency {
  --pricing-title: #9b00e5;
  --pricing-grad-a: #9b00e5;
  --pricing-grad-b: #ff45b5;
  --pricing-fold: #6e00a3;
  --pricing-shadow: rgba(155, 0, 229, 0.4);
}

/* Featured cards match the reference ribbon pricing look */
.pricing-card.featured {
  background: #fff;
  border: none;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.1);
  transform: none;
  z-index: 1;
  max-width: 230px;
  width: 100%;
  padding: 30px 18px 24px;
}

.pricing-card.featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.14);
}

.pricing-card.featured .pricing-ribbon {
  width: calc(100% + 18px);
  margin: 22px 0 20px -18px;
  padding: 14px 28px 14px 18px;
  clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
  box-shadow: 0 12px 22px var(--pricing-shadow);
}

.pricing-card.featured .pricing-ribbon::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 0;
  border-top: 9px solid var(--pricing-fold);
  border-left: 12px solid transparent;
}

.pricing-card.featured .pricing-name {
  font-size: 1.12rem;
  letter-spacing: 0.14em;
  color: var(--pricing-title);
}

.pricing-card.featured .pricing-period {
  margin-top: 8px;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: #a0aec0;
}

.pricing-card.featured .pricing-ribbon-price {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pricing-card.featured .pricing-ribbon-currency {
  font-size: 0.78rem;
  font-weight: 700;
}

.pricing-card.featured .pricing-features {
  max-width: 170px;
  margin-bottom: 22px;
}

.pricing-card.featured .pricing-btn {
  min-width: 156px;
  padding: 13px 22px;
  box-shadow: 0 12px 24px var(--pricing-shadow);
}

.pricing-name {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pricing-title);
  line-height: 1.2;
}

.pricing-period {
  margin: 8px 0 0;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a0aec0;
}

.pricing-ribbon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  align-self: stretch;
  width: calc(100% + 18px);
  margin: 22px 0 20px -18px;
  padding: 14px 28px 14px 18px;
  box-sizing: border-box;
  color: #fff;
  background: linear-gradient(95deg, var(--pricing-grad-a), var(--pricing-grad-b));
  clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
  box-shadow: 0 12px 22px var(--pricing-shadow);
}

.pricing-ribbon::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 0;
  border-top: 9px solid var(--pricing-fold);
  border-left: 12px solid transparent;
}

.pricing-ribbon-currency {
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0.95;
}

.pricing-ribbon-price {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  width: 100%;
  max-width: 170px;
  flex: 1;
  text-align: left;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #7b8794;
  min-width: 0;
}

.pricing-features li:last-child {
  margin-bottom: 0;
}

.pricing-features li.is-excluded {
  color: #a0aec0;
}

.pricing-features li > span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pricing-feature-icon {
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 0.74rem;
  width: 0.9rem;
  text-align: center;
}

.pricing-features li.is-included .pricing-feature-icon {
  color: #22c55e;
}

.pricing-features li.is-excluded .pricing-feature-icon {
  color: #ef4444;
}

.pricing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-width: 156px;
  max-width: 100%;
  margin-top: auto;
  padding: 13px 22px;
  box-sizing: border-box;
  border: none;
  border-radius: 999px;
  background: linear-gradient(95deg, var(--pricing-grad-a), var(--pricing-grad-b));
  color: #fff;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 24px var(--pricing-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.pricing-btn i {
  font-size: 0.64rem;
}

.pricing-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 16px 28px var(--pricing-shadow);
}

.pricing-btn:active {
  transform: translateY(0);
}

.pricing-btn.outline {
  background: linear-gradient(95deg, var(--pricing-grad-a), var(--pricing-grad-b));
  color: #fff;
  border: none;
  box-shadow: 0 12px 24px var(--pricing-shadow);
}

.pricing-btn.outline:hover {
  filter: brightness(1.05);
}

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 520px;
  }
}

@media (max-width: 720px) {
  .profile-sub-status-top {
    flex-wrap: wrap;
  }

  .profile-sub-badge {
    margin-left: auto;
  }

  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    gap: 18px;
    padding: 12px 12px 18px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .pricing-card,
  .pricing-card.featured {
    max-width: 100%;
    width: 100%;
    margin-inline: auto;
    box-sizing: border-box;
  }
}

@media (max-width: 420px) {
  .pricing-grid {
    max-width: none;
  }

  .pricing-card,
  .pricing-card.featured {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-card,
  .pricing-btn {
    animation: none !important;
    transition: none !important;
  }
}

.pay-modal {
  position: fixed;
  inset: 0;
  z-index: 11000;
  background:
    radial-gradient(80% 60% at 20% 10%, rgba(59, 130, 246, 0.16), transparent 55%),
    radial-gradient(70% 50% at 90% 90%, rgba(14, 165, 233, 0.12), transparent 50%),
    rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pay-modal.is-open {
  display: flex;
}

.pay-modal-box {
  --pay-title: #2c6cf5;
  --pay-grad-a: #2c6cf5;
  --pay-grad-b: #34d6ff;
  --pay-fold: #1a4bb8;
  --pay-shadow: rgba(44, 108, 245, 0.32);
  --pay-wash-a: #eff6ff;
  --pay-wash-b: #e8f0ff;
  --pay-ink: #1e3a8a;
  position: relative;
  background:
    radial-gradient(120% 70% at 0% 0%, color-mix(in srgb, var(--pay-grad-a) 16%, transparent), transparent 55%),
    radial-gradient(90% 60% at 100% 100%, color-mix(in srgb, var(--pay-grad-b) 14%, transparent), transparent 52%),
    linear-gradient(160deg, #f7f9fc 0%, #eef3f8 55%, #e8eef6 100%);
  border-radius: 26px;
  padding: 28px 26px 24px;
  max-width: 460px;
  width: 100%;
  max-height: min(92dvh, 720px);
  overflow-y: auto;
  border: none;
  box-shadow:
    14px 14px 30px rgba(15, 35, 70, 0.14),
    -10px -10px 24px rgba(255, 255, 255, 0.92),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 1px color-mix(in srgb, var(--pay-grad-a) 18%, transparent);
  animation: profilePayModalIn 0.35s ease;
  color: #1e3a5f;
  font-family: inherit;
}

.pay-modal-box.tone-basic {
  --pay-title: #2c6cf5;
  --pay-grad-a: #2c6cf5;
  --pay-grad-b: #34d6ff;
  --pay-fold: #1a4bb8;
  --pay-shadow: rgba(44, 108, 245, 0.34);
  --pay-wash-a: #eff6ff;
  --pay-wash-b: #dbeafe;
  --pay-ink: #1e3a8a;
}

.pay-modal-box.tone-popular {
  --pay-title: #6001d3;
  --pay-grad-a: #6001d3;
  --pay-grad-b: #9647ff;
  --pay-fold: #4700a0;
  --pay-shadow: rgba(96, 1, 211, 0.34);
  --pay-wash-a: #f5f3ff;
  --pay-wash-b: #ede9fe;
  --pay-ink: #4c1d95;
}

.pay-modal-box.tone-agency {
  --pay-title: #9b00e5;
  --pay-grad-a: #9b00e5;
  --pay-grad-b: #ff45b5;
  --pay-fold: #6e00a3;
  --pay-shadow: rgba(155, 0, 229, 0.34);
  --pay-wash-a: #fdf2f8;
  --pay-wash-b: #fce7f3;
  --pay-ink: #9d174d;
}

@keyframes profilePayModalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.pay-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #475569;
  background: #eef2f7;
  box-shadow:
    4px 4px 10px rgba(15, 40, 80, 0.08),
    -3px -3px 8px rgba(255, 255, 255, 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pay-modal-close:hover {
  transform: translateY(-1px);
}

.pay-modal-close:active {
  box-shadow:
    inset 3px 3px 7px rgba(15, 40, 80, 0.1),
    inset -2px -2px 6px rgba(255, 255, 255, 0.85);
}

.pay-modal-head {
  text-align: center;
  margin: 4px 0 18px;
  padding: 0 28px;
}

.pay-modal-badge {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--pay-grad-a), var(--pay-grad-b));
  box-shadow:
    6px 6px 14px var(--pay-shadow),
    -5px -5px 12px rgba(255, 255, 255, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.pay-modal-badge i {
  font-size: 1.15rem;
}

.pay-modal-box h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  color: var(--pay-ink);
  letter-spacing: -0.02em;
}

.pay-modal-box .pay-modal-head p,
#payModalLead {
  color: #64748b;
  font-size: 0.86rem;
  line-height: 1.45;
  margin: 0;
}

.pay-plan-summary {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(160deg, var(--pay-wash-a), var(--pay-wash-b));
  border: none;
  box-shadow:
    inset 5px 5px 12px rgba(15, 40, 80, 0.06),
    inset -4px -4px 10px rgba(255, 255, 255, 0.9),
    0 0 0 1px color-mix(in srgb, var(--pay-grad-a) 16%, transparent);
}

.pay-plan-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.pay-plan-summary span {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pay-plan-summary strong {
  font-size: 0.9rem;
  color: var(--pay-ink);
}

.pay-plan-summary #payPlanAmount {
  background: linear-gradient(95deg, var(--pay-grad-a), var(--pay-grad-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.pay-methods {
  margin: 0 0 16px;
  padding: 0;
  border: none;
  min-width: 0;
}

.pay-methods legend {
  margin: 0 0 10px;
  padding: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

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

.pay-method {
  display: block;
  cursor: pointer;
  min-width: 0;
}

.pay-method input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pay-method-face {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 92px;
  padding: 12px 8px;
  border-radius: 18px;
  text-align: center;
  color: #334155;
  background: #eef3f9;
  box-shadow:
    6px 6px 14px rgba(15, 40, 80, 0.09),
    -5px -5px 12px rgba(255, 255, 255, 0.95);
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.pay-method-face i {
  font-size: 1.15rem;
  color: var(--pay-title);
  margin-bottom: 2px;
}

.pay-method-face strong {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.pay-method-face small {
  font-size: 0.62rem;
  color: #64748b;
  line-height: 1.2;
}

.pay-method:hover .pay-method-face {
  transform: translateY(-1px);
}

.pay-method input:checked + .pay-method-face {
  color: var(--pay-ink);
  background: linear-gradient(160deg, var(--pay-wash-a), var(--pay-wash-b));
  box-shadow:
    inset 5px 5px 12px color-mix(in srgb, var(--pay-grad-a) 14%, transparent),
    inset -4px -4px 10px rgba(255, 255, 255, 0.9),
    0 0 0 2px color-mix(in srgb, var(--pay-grad-a) 35%, transparent);
}

.pay-method input:checked + .pay-method-face i {
  color: var(--pay-fold);
}

.pay-method input:focus-visible + .pay-method-face {
  outline: 2px solid color-mix(in srgb, var(--pay-grad-a) 55%, transparent);
  outline-offset: 2px;
}

.pay-field {
  margin-bottom: 16px;
}

.pay-modal-box .pay-field label,
#paymentRefLabel {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 8px;
}

.pay-modal-box .pay-field input,
#paymentRef {
  width: 100%;
  padding: 13px 14px;
  border: none;
  border-radius: 14px;
  font-size: 0.92rem;
  margin-bottom: 8px;
  box-sizing: border-box;
  font-family: inherit;
  color: #0f2744;
  background: #eef3f9;
  box-shadow:
    inset 5px 5px 12px rgba(15, 40, 80, 0.1),
    inset -4px -4px 10px rgba(255, 255, 255, 0.88);
  transition: box-shadow 0.2s ease;
}

.pay-modal-box .pay-field input:focus,
#paymentRef:focus {
  outline: none;
  box-shadow:
    inset 5px 5px 12px rgba(15, 40, 80, 0.1),
    inset -4px -4px 10px rgba(255, 255, 255, 0.88),
    0 0 0 2px color-mix(in srgb, var(--pay-grad-a) 40%, transparent);
}

.pay-field-hint {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.4;
  color: #64748b;
}

.pay-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.pay-modal-actions button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 11px 14px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.pay-modal-actions .cancel-btn {
  color: #475569;
  background: #eef3f9;
  box-shadow:
    5px 5px 12px rgba(15, 40, 80, 0.08),
    -4px -4px 10px rgba(255, 255, 255, 0.95);
}

.pay-modal-actions .confirm-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--pay-grad-a), var(--pay-grad-b));
  box-shadow:
    6px 6px 14px var(--pay-shadow),
    -3px -3px 8px rgba(255, 255, 255, 0.45);
}

.pay-modal-actions button:hover {
  transform: translateY(-1px);
}

.pay-modal-actions button:active {
  transform: translateY(0);
}

.pay-modal-actions .cancel-btn:active {
  box-shadow:
    inset 3px 3px 8px rgba(15, 40, 80, 0.1),
    inset -2px -2px 6px rgba(255, 255, 255, 0.85);
}

@media (max-width: 520px) {
  .pay-method-grid {
    gap: 8px;
  }

  .pay-method-face {
    min-height: 84px;
    padding: 10px 6px;
    border-radius: 16px;
  }

  .pay-method-face strong {
    font-size: 0.72rem;
  }

  .pay-method-face small {
    font-size: 0.58rem;
  }

  .pay-modal-actions {
    flex-direction: column-reverse;
  }

  .pay-modal-actions button {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    font-size: 0.82rem;
  }
}

.sub-alert {
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 0.9rem;
  display: none;
  border: 1px solid transparent;
}

.sub-alert.ok {
  --sub-ok-ink: #065f46;
  --sub-ok-border: rgba(16, 185, 129, 0.35);
  --sub-ok-shadow: rgba(16, 185, 129, 0.14);
  --sub-ok-icon-a: #34d399;
  --sub-ok-icon-b: #059669;
  --sub-ok-wash-a: #ecfdf5;
  --sub-ok-wash-b: #d1fae5;
  --sub-ok-wash-c: #bbf7d0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  color: var(--sub-ok-ink);
  font-weight: 600;
  line-height: 1.45;
  background:
    linear-gradient(145deg, var(--sub-ok-wash-a) 0%, var(--sub-ok-wash-b) 55%, var(--sub-ok-wash-c) 120%);
  border: 1px solid var(--sub-ok-border);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 12px 26px var(--sub-ok-shadow);
}

.sub-alert.ok::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #fff;
  background: linear-gradient(145deg, var(--sub-ok-icon-a), var(--sub-ok-icon-b));
  box-shadow: 0 6px 14px var(--sub-ok-shadow);
}

/* Match pricing-card tier colors */
.sub-alert.ok.tone-basic {
  --sub-ok-ink: #1e3a8a;
  --sub-ok-border: rgba(37, 99, 235, 0.35);
  --sub-ok-shadow: rgba(37, 99, 235, 0.16);
  --sub-ok-icon-a: #38bdf8;
  --sub-ok-icon-b: #1d4ed8;
  --sub-ok-wash-a: #eff6ff;
  --sub-ok-wash-b: #dbeafe;
  --sub-ok-wash-c: #bfdbfe;
}

.sub-alert.ok.tone-popular {
  --sub-ok-ink: #4c1d95;
  --sub-ok-border: rgba(124, 58, 237, 0.35);
  --sub-ok-shadow: rgba(124, 58, 237, 0.16);
  --sub-ok-icon-a: #a855f7;
  --sub-ok-icon-b: #6d28d9;
  --sub-ok-wash-a: #f5f3ff;
  --sub-ok-wash-b: #ede9fe;
  --sub-ok-wash-c: #ddd6fe;
}

.sub-alert.ok.tone-agency {
  --sub-ok-ink: #9d174d;
  --sub-ok-border: rgba(219, 39, 119, 0.35);
  --sub-ok-shadow: rgba(219, 39, 119, 0.16);
  --sub-ok-icon-a: #ec4899;
  --sub-ok-icon-b: #9333ea;
  --sub-ok-wash-a: #fdf2f8;
  --sub-ok-wash-b: #fce7f3;
  --sub-ok-wash-c: #fbcfe8;
}

.sub-alert.err {
  background: linear-gradient(145deg, #fef2f2, #fee2e2);
  color: #991b1b;
  display: block;
  border-color: #fecaca;
}

.sub-alert.warn {
  background: linear-gradient(145deg, #fffbeb, #fef3c7);
  color: #92400e;
  display: block;
  border-color: #fde68a;
}
