.profile-page {
  --profile-accent: var(--accent, var(--primary, var(--text)));
  --profile-success: var(--success, var(--profile-accent));
  --profile-warning: var(--warning, var(--profile-accent));
  --profile-danger: var(--danger, var(--profile-accent));
  --profile-panel: color-mix(in srgb, var(--card2) 88%, transparent);
  --profile-soft: color-mix(in srgb, var(--background3) 76%, transparent);
  --profile-border: color-mix(in srgb, var(--text) 10%, var(--border));
  background: var(--background);
  color: var(--text);
}

.profile-page-shell {
  width: calc(100% - var(--sidebar-layout-width, 400px));
  min-height: 100vh;
  margin-left: var(--sidebar-layout-width, 400px);
  padding: 0px 0px 56px;
  position: relative;
  overflow: visible;
  background: var(--background);
}

.profile-hero {
  min-height: 420px;
  position: relative;
  isolation: isolate;
  overflow: visible;
  z-index: 2;
}

.profile-hero-banner,
.profile-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.profile-hero-banner {
  z-index: -3;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.66) saturate(0.9);
}

.profile-hero-shade {
  z-index: -2;
  background:
    linear-gradient(
      to bottom,
      transparent 4%,
      color-mix(in srgb, var(--background) 34%, transparent) 46%,
      var(--background) 100%
    ),
    linear-gradient(
      to right,
      color-mix(in srgb, var(--background) 26%, transparent),
      transparent 60%
    );
}

.profile-hero-content {
  min-height: 420px;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px minmax(260px, 1fr) minmax(530px, 620px);
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 200px 125px 65px;
}

.profile-avatar-wrap {
  width: 180px;
  height: 180px;
  position: relative;
  align-self: center;
}

.profile-avatar-button {
  width: 100%;
  height: 100%;
  padding: 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid var(--profile-border);
  border-radius: 24px;
  background: var(--card2);
  box-shadow: 0 18px 52px color-mix(in srgb, var(--background) 54%, transparent);
  cursor: zoom-in;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.profile-avatar-frame {
  width: 214px;
  height: 214px;
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  pointer-events: none;
}

.profile-avatar-verified {
  width: 34px;
  height: 34px;
  position: absolute;
  z-index: 3;
  right: -8px;
  bottom: -8px;
  display: grid;
  place-items: center;
  border: 4px solid var(--background);
  border-radius: 12px;
  background: var(--profile-accent);
  color: var(--background);
  font-size: 14px;
  transform: rotate(10deg);
}

.profile-avatar-verified i {
  transform: rotate(-10deg);
}

.profile-identity {
  min-width: 0;
  align-self: ceb;
  min-height: 100px;
}

.profile-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.profile-name-row h1 {
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-size: clamp(30px, 2.1vw, 42px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-name-verified {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--profile-accent);
  color: var(--background);
  font-size: 11px;
  transform: rotate(10deg);
}

.profile-name-verified i {
  transform: rotate(-10deg);
}

.profile-bio {
  max-width: 620px;
  margin: 12px 0 9px;
  color: var(--text2);
  font-size: 14px;
  line-height: 1.65;
}

.profile-meta-row,
.profile-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  color: var(--text3);
  font-size: 13px;
}

.profile-meta-row span,
.profile-trust-row > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.profile-meta-row i,
.profile-trust-row i {
  color: var(--text2);
}

.profile-trust-row {
  margin-top: 10px;
  gap: 10px;
}

.profile-rating-inline > i {
  color: var(--profile-warning);
}

.profile-rating-inline strong {
  color: var(--text);
  font-size: 16px;
}

.profile-rating-inline span {
  color: var(--text3);
}

.profile-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 15px;
}

.profile-social-links a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--profile-border);
  border-radius: 11px;
  background: color-mix(in srgb, var(--background2) 70%, transparent);
  color: var(--text2);
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.profile-social-links a:hover {
  transform: translateY(-2px);
  background: var(--background3);
  color: var(--text);
}

.profile-social-card {
  padding: 20px 22px 22px;
}
body.profile-page .profile-side-column {
  grid-template-columns: minmax(0, 1fr);
}
body.profile-page .profile-social-card > h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
}
.profile-social-card > h2 > i {
  color: var(--text2);
  font-size: 15px;
}
body.profile-page .profile-social-card .profile-social-links {
  justify-content: flex-start;
  gap: 8px;
  margin-top: 14px;
}
body.profile-page .profile-actions > * {
  flex: 0 0 auto;
}

.profile-hero-side {
  min-width: 0;
  align-self: end;
  justify-content: end;
  display: grid;
  gap: 18px;
  padding-bottom: 8px;
}

.profile-actions {
  min-height: 46px;
  text-align: right;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.profile-actions > * {
  margin: 0;
}

.profile-actions > *:first-child {
  margin-left: 0;
}

.profile-primary-button,
.profile-secondary-button,
.profile-icon-button,
.profile-view-all {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    opacity 0.18s ease;
}

.profile-primary-button,
.profile-secondary-button,
.profile-icon-button {
  border: 1px solid var(--profile-border);
  cursor: pointer;
}

.profile-primary-button {
  min-width: 145px;
  padding: 0 20px;
  border-color: color-mix(in srgb, var(--profile-accent) 68%, var(--profile-border));
  color: var(--secondary);
  background: var(--primary);
}

.profile-secondary-button {
  min-width: 150px;
  padding: 0 20px;
  background: color-mix(in srgb, var(--background2) 78%, transparent);
  color: var(--text);
}

.profile-icon-button {
  width: 46px;
  height: 46px;
  padding: 0;
  background: color-mix(in srgb, var(--background2) 78%, transparent);
  color: var(--text);
}

.profile-primary-button:hover,
.profile-secondary-button:hover,
.profile-icon-button:hover,
.profile-view-all:hover {
  transform: translateY(-2px);
}

.profile-secondary-button:hover,
.profile-icon-button:hover,
.profile-view-all:hover {
  background: var(--background3);
}

.profile-secondary-button:disabled,
.profile-secondary-button.is-disabled,
.profile-primary-button:disabled {
  pointer-events: none;
}

.profile-block-link {
  margin-left: auto;
  padding: 8px 0 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: var(--profile-danger);
  font-size: 12px;
  cursor: pointer;
}

.profile-more-wrap {
  position: relative;
}

.profile-more-menu {
  width: 210px;
  position: absolute;
  z-index: 30;
  top: calc(100% + 10px);
  right: 0;
  padding: 7px;
  border: 1px solid var(--profile-border);
  border-radius: 14px;
  background: var(--background2);
  box-shadow: 0 18px 45px color-mix(in srgb, var(--background) 60%, transparent);
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  max-height: min(400px, 60svh);
  overflow-y: auto;
}
.profile-more-menu.is-open {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .profile-more-menu {
    transition: none;
  }
}

.profile-more-menu button,
.profile-more-menu a {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text2);
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}

.profile-more-menu button:hover,
.profile-more-menu a:hover {
  background: var(--background3);
  color: var(--text);
}

.profile-more-menu a[aria-disabled='true'] {
  opacity: 0.4;
  pointer-events: none;
}

.profile-stat-strip {
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  border: 1px solid var(--profile-border);
  border-radius: 15px;
  background: color-mix(in srgb, var(--background2) 45%, transparent);
  backdrop-filter: blur(12px);
  width: fit-content;
  max-width: 100%;
}

.profile-stat-strip > a,
.profile-stat-strip > button {
  flex: 1 0 auto;
  min-height: 60px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-right: 1px solid var(--profile-border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.profile-stat-strip > :last-child {
  border-right: 0;
}

.profile-stat-strip > button:disabled {
  cursor: default;
}

.profile-stat-strip > a:hover,
.profile-stat-strip > button:not(:disabled):hover {
  background: var(--profile-soft);
}

.profile-stat-strip > * > i {
  color: var(--text2);
  font-size: 23px;
}

.profile-stat-strip > * > span {
  min-width: 0;
  display: grid;
  gap: 2px;
  text-align: left;
}

.profile-stat-strip strong {
  overflow: hidden;
  font-size: 16px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-stat-strip small {
  color: var(--text3);
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}

.profile-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  max-width: 1600px;
  margin: 0 auto;
  gap: 18px;
  align-items: start;
  padding: 0 125px;
}

.profile-main-column,
.profile-side-column {
  min-width: 0;
  display: grid;
  gap: 18px;
}

.profile-panel {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 14px 40px color-mix(in srgb, var(--background) 24%, transparent);
}

.profile-panel-heading {
  min-height: 86px;
  padding: 20px 22px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.profile-panel h2,
.profile-panel-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.profile-tabs {
  display: flex;
  gap: 25px;
  margin-top: 12px;
}

.profile-tabs button {
  min-height: 33px;
  padding: 0 7px;
  position: relative;
  border: 0;
  background: transparent;
  color: var(--text3);
  font-size: 12px;
  cursor: pointer;
}

.profile-tabs button::after {
  height: 2px;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 999px;
  background: var(--profile-accent);
  content: '';
  opacity: 0;
  transform: scaleX(0.45);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.profile-tabs button.is-active {
  color: var(--text);
}

.profile-tabs button.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.profile-view-all {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--profile-border);
  background: transparent;
  color: var(--text2);
  font-size: 11px;
}

.profile-listing-tab-panel {
  padding: 12px 20px 20px;
}

.profile-listing-tab-panel[hidden] {
  display: none;
}

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

.profile-listing-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--profile-border);
  border-radius: 14px;
  background: var(--background2);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.profile-listing-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--profile-accent) 36%, var(--profile-border));
}

.profile-listing-media {
  height: 190px;
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--background3);
}

.profile-listing-media > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.profile-listing-card:hover .profile-listing-media > img {
  transform: scale(1.025);
}

.profile-listing-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--text3);
  font-size: 45px;
}

.profile-listing-status {
  position: absolute;
  left: 12px;
  bottom: 11px;
  padding: 5px 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--background) 72%, transparent);
  color: var(--profile-success);
  font-size: 9px;
  font-weight: 650;
  backdrop-filter: blur(8px);
}

.profile-listing-status i {
  font-size: 6px;
}

.profile-listing-status.is-sold {
  color: var(--text2);
}

.profile-listing-favourite {
  width: 34px;
  height: 34px;
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  border: 1px solid var(--profile-border);
  border-radius: 10px;
  background: color-mix(in srgb, var(--background) 65%, transparent);
  color: var(--text);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.profile-listing-favourite.is-active {
  color: var(--profile-accent);
}

.profile-listing-heading {
  min-height: 51px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--profile-border);
}

.profile-listing-heading a {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-listing-heading strong {
  flex: 0 0 auto;
  color: var(--profile-accent);
  font-size: 12px;
  font-weight: 700;
}

.profile-listing-specs {
  min-height: 56px;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--profile-border);
}

.profile-listing-specs > div {
  min-width: 0;
  padding: 9px 5px 8px;
  position: relative;
  text-align: center;
}

.profile-listing-specs > div:not(:last-child)::after {
  width: 1px;
  position: absolute;
  top: 11px;
  right: 0;
  bottom: 11px;
  background: var(--profile-border);
  content: '';
}

.profile-listing-specs dt,
.profile-listing-specs dd {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-listing-specs dt {
  color: var(--text);
  font-size: 10px;
  font-weight: 600;
}

.profile-listing-specs dd {
  margin: 2px 0 0;
  color: var(--text3);
  font-size: 8px;
}

.profile-listing-location {
  min-height: 38px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text3);
  font-size: 9px;
}

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

.profile-listing-empty {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: var(--text3);
  text-align: center;
}

.profile-listing-empty i {
  font-size: 34px;
}

.profile-listing-empty p {
  margin: 0;
  font-size: 13px;
}

.seller-profile-card {
  padding: 20px 22px 22px;
}

.seller-profile-card > h2 {
  font-size: 17px;
}

.seller-social-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.seller-social-block > span {
  font-size: 13px;
  color: var(--text2);
}
.seller-social-block .profile-social-links {
  margin: 0;
  gap: 8px;
}
.seller-social-block .profile-social-links a {
  width: 36px;
  height: 36px;
  font-size: 16px;
}
.seller-verification-list {
  margin: 13px 0 0;
  padding: 0 0 15px;
  display: grid;
  gap: 8px;
  border-bottom: 1px solid var(--profile-border);
  list-style: none;
}

.seller-verification-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text3);
  font-size: 11px;
}

.seller-verification-list li i {
  width: 15px;
  color: var(--text3);
  text-align: center;
}

.seller-verification-list li.is-verified {
  color: var(--text2);
}

.seller-verification-list li.is-verified i {
  color: var(--profile-accent);
}

.seller-rating-block {
  padding: 17px 0;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  border-bottom: 1px solid var(--profile-border);
}

.seller-rating-score {
  display: grid;
  align-content: center;
  gap: 8px;
}

.seller-rating-score > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.seller-rating-score i {
  color: var(--profile-warning);
  font-size: 18px;
}

.seller-rating-score strong {
  font-size: 22px;
  line-height: 1;
}

.seller-rating-score > span {
  color: var(--text3);
  font-size: 10px;
}

.seller-rating-bars {
  display: grid;
  gap: 7px;
}

.seller-rating-bars > div {
  min-width: 0;
  display: grid;
  grid-template-columns: 25px 1fr 22px;
  gap: 8px;
  align-items: center;
  color: var(--text3);
  font-size: 9px;
}

.seller-rating-bars > div > span:first-child {
  color: var(--text2);
  white-space: nowrap;
}

.seller-rating-bars > div > span:first-child i {
  color: var(--profile-warning);
  font-size: 7px;
}

.seller-rating-bars > div > strong {
  color: var(--text2);
  font-weight: 500;
  text-align: right;
}

.seller-rating-track {
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--background3);
}

.seller-rating-track > span {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--profile-warning);
}

.seller-performance-grid {
  padding: 14px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--profile-border);
}

.seller-performance-grid > div {
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.seller-performance-grid > div:first-child {
  border-right: 1px solid var(--profile-border);
}

.seller-performance-grid > div > i {
  color: var(--text2);
  font-size: 16px;
}

.seller-performance-grid > div > span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.seller-performance-grid strong {
  font-size: 12px;
}

.seller-performance-grid small {
  color: var(--text3);
  font-size: 8px;
  line-height: 1.35;
}

.seller-contact-actions {
  padding: 14px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border-bottom: 1px solid var(--profile-border);
}

.seller-contact-actions:has(> :only-child) {
  grid-template-columns: 1fr;
}

.seller-contact-actions .profile-primary-button,
.seller-contact-actions .profile-secondary-button {
  min-width: 0;
  min-height: 43px;
  padding: 0 12px;
  font-size: 11px;
}

.seller-friends-block {
  padding: 14px 0 5px 0;
}

.seller-friends-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  font-size: 12px;
}

.seller-friends-heading i {
  color: var(--text3);
  font-size: 10px;
}

.seller-friend-avatars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  margin-top: 12px;
  justify-items: center;
}

.seller-friend-avatars a {
  width: 100%;
  height: 100%;
  flex: 0 0 42px;
  overflow: hidden;
  border: 1px solid var(--profile-border);
  border-radius: 50%;
  background: var(--background3);
  transition: transform 0.18s ease;
}

.seller-friend-avatars a:hover {
  transform: translateY(-2px);
}

.seller-friend-avatars img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.seller-friends-empty {
  margin: 12px 0 0;
  color: var(--text3);
  font-size: 10px;
}

.seller-safety-card {
  padding: 14px;
  display: flex;
  gap: 12px;
  border: 1px solid var(--profile-border);
  border-radius: 13px;
  background: var(--profile-soft);
  margin-top: 15px;
}

.seller-safety-card > span {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--profile-warning);
  border-radius: 12px;
  color: var(--profile-warning);
}

.seller-safety-card strong {
  display: block;
  color: var(--text);
  font-size: 10px;
}

.seller-safety-card p {
  margin: 5px 0 0;
  color: var(--text3);
  font-size: 9px;
  line-height: 1.45;
}

.profile-comments-panel {
  padding: 0;
  overflow: hidden;
}

.profile-comments-panel > .garanit-comments {
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.image-modal-overlay {
  position: fixed;
  z-index: 10050;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 32px;
  background: color-mix(in srgb, var(--background) 82%, transparent);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(14px);
  transition: opacity 0.24s ease;
}

.image-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-modal-content {
  width: min(620px, 84vw);
  height: min(620px, 84vw);
  display: block;
  object-fit: cover;
  border: 1px solid var(--profile-border);
  border-radius: 28px;
  background: var(--card2);
  box-shadow: 0 30px 90px color-mix(in srgb, var(--background) 70%, transparent);
  transform: scale(0.94);
  transition: transform 0.24s ease;
}

.image-modal-overlay.is-open .image-modal-content {
  transform: scale(1);
}

.image-modal-close {
  width: 44px;
  height: 44px;
  position: absolute;
  top: 24px;
  right: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--profile-border);
  border-radius: 13px;
  background: var(--background2);
  color: var(--text);
  cursor: pointer;
}

#preview-bar {
  width: calc(100% - var(--sidebar-layout-width, 400px));
  min-height: 70px;
  position: fixed;
  z-index: 10020;
  right: 0;
  bottom: 0;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--profile-border);
  background: color-mix(in srgb, var(--background2) 94%, transparent);
  color: var(--text);
  backdrop-filter: blur(14px);
}

#preview-bar[hidden] {
  display: none;
}

#preview-bar a {
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--profile-border);
  border-radius: 11px;
  background: var(--background3);
  font-size: 12px;
}

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

.profile-followers-modal[hidden] {
  display: none;
}

.profile-followers-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: color-mix(in srgb, var(--background) 74%, transparent);
  backdrop-filter: blur(10px);
}

.profile-followers-modal > section {
  width: min(500px, 100%);
  max-height: 76vh;
  position: relative;
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--profile-border);
  border-radius: 22px;
  background: var(--background2);
  box-shadow: 0 30px 90px color-mix(in srgb, var(--background) 70%, transparent);
}

.profile-followers-modal header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 2px 14px;
}

.profile-followers-modal h2 {
  margin: 0;
  font-size: 18px;
}

.profile-followers-modal header button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 11px;
  background: var(--background3);
  color: var(--text);
  cursor: pointer;
}

.profile-followers-list {
  display: grid;
  gap: 6px;
}

.profile-followers-list a {
  --profile-person-accent: var(--primary);
  position: relative;
  min-height: 58px;
  padding: 8px 40px 8px 9px;
  display: flex;
  align-items: center;
  gap: 11px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--profile-person-accent) 24%, var(--profile-border));
  border-radius: 12px;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--profile-person-accent) 10%, var(--background2)),
    var(--background2) 55%
  );
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.profile-followers-list a:hover {
  border-color: color-mix(in srgb, var(--profile-person-accent) 48%, var(--profile-border));
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--profile-person-accent) 16%, var(--background2)),
    var(--background3) 60%
  );
}

.profile-followers-list a::after {
  position: absolute;
  right: 15px;
  color: var(--profile-person-accent);
  font-family: 'Font Awesome 6 Free';
  font-size: 12px;
  font-weight: 900;
  content: '\f054';
}

.profile-followers-list img {
  width: 43px;
  height: 43px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid color-mix(in srgb, var(--profile-person-accent) 55%, transparent);
}

.profile-followers-empty {
  padding: 32px;
  color: var(--text3);
  text-align: center;
}

.profile-blocked-state {
  width: calc(100% - var(--sidebar-layout-width, 400px));
  min-height: 100vh;
  margin-left: var(--sidebar-layout-width, 400px);
  padding: 100px 24px 40px;
  display: grid;
  place-items: center;
}

.profile-blocked-state section {
  width: min(520px, 100%);
  padding: 48px;
  display: grid;
  justify-items: center;
  border: 1px solid var(--profile-border);
  border-radius: 24px;
  background: var(--profile-panel);
  text-align: center;
}

.profile-blocked-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--background3);
  color: var(--text2);
  font-size: 25px;
}

.profile-blocked-state h1 {
  margin: 20px 0 8px;
}

.profile-blocked-state p {
  margin: 0 0 22px;
  color: var(--text3);
}

@media (max-width: 1540px) {
  .profile-hero-content {
    grid-template-columns: 154px minmax(230px, 1fr) minmax(460px, 540px);
    gap: 20px;
    padding-right: 25px;
    padding-left: 25px;
    align-items: center;
  }

  .profile-content-grid {
    align-items: start;
    padding: 0 25px;
  }

  .profile-avatar-wrap {
    width: 154px;
    height: 154px;
  }

  .profile-avatar-frame {
    width: 184px;
    height: 184px;
  }

  .profile-listing-media {
    height: 164px;
  }
}

@media (max-width: 1300px) {
  .profile-hero {
    min-height: 520px;
  }

  .profile-hero-content {
    min-height: 520px;
    grid-template-columns: 150px 1fr;
    align-content: end;
  }

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

@media (max-width: 1300px) {
  .profile-page-shell,
  .profile-blocked-state {
    width: 100%;
    margin-left: 0;
  }

  #preview-bar {
    width: 100%;
  }

  .profile-hero {
    height: auto;
    min-height: 640px;
  }

  .profile-name-row h1 {
    font-size: 29px;
    margin-top: 15px;
  }

  .profile-hero-content {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 122px 18px 24px;
    text-align: center;
    gap: 10px;
  }

  .profile-hero-side {
    gap: 50px;
  }
  .profile-social-links {
    gap: 5px;
    margin-top: 15px;
  }

  .profile-avatar-wrap {
    align-self: end;
    margin: 0;
  }

  .profile-identity {
    display: grid;
    justify-items: center;
    padding: 0;
    max-width: 380px;
  }

  .profile-meta-row,
  .profile-trust-row,
  .profile-social-links {
    justify-content: center;
  }

  .profile-trust-row {
    margin-top: 3px;
    gap: 3px 10px;
  }

  .profile-hero-side {
    width: 100%;
    justify-content: center;
  }

  .profile-actions {
    text-align: center;
    justify-content: center;
  }

  .profile-block-link {
    margin-left: 0;
  }

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

  .profile-social-links a {
    width: 45px;
    height: 45px;
  }

  .profile-listing-card:nth-child(3) {
    display: none;
  }
}

@media (max-width: 680px) {
  .profile-hero {
    border-radius: 18px 18px 0 0;
  }

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

  .profile-primary-button,
  .profile-secondary-button {
    flex: 1 1 140px;
  }

  .profile-block-link {
    flex: 1 0 100%;
    justify-content: center;
  }

  .profile-stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .profile-stat-strip > :nth-child(2) {
    border-right: 0;
  }

  .profile-stat-strip > :nth-child(-n + 2) {
    border-bottom: 1px solid var(--profile-border);
  }

  .profile-panel-heading {
    padding: 18px 16px 0;
  }

  .profile-view-all {
    display: none;
  }

  .profile-listing-tab-panel {
    padding: 10px 14px 14px;
  }

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

  .profile-listing-card:nth-child(3) {
    display: block;
  }

  .profile-listing-media {
    height: 210px;
  }

  .seller-profile-card,
  .profile-social-card {
    display: block;
    padding: 18px;
  }

  .seller-rating-block {
    grid-template-columns: 82px 1fr;
    border-bottom: 1px solid var(--profile-border);
  }

  .seller-performance-grid {
    border-bottom: 1px solid var(--profile-border);
  }
}

.profile-tabs {
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.profile-tabs::-webkit-scrollbar {
  display: none;
}
.profile-tabs button {
  white-space: nowrap;
}
.profile-tabs button span {
  margin-left: 6px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--background2);
  display: inline-grid;
  place-items: center;
  font-size: 10px;
}
.profile-listing-tab-panel.is-active {
  animation: profile-category-in 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes profile-category-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.profile-listing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.profile-reviews-panel {
  display: grid;
}
.profile-panel-heading > div > p {
  margin: 5px 0 0;
  color: var(--text3);
  font-size: 13px;
}
.profile-review-summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
}
.profile-review-summary > i,
.profile-review header span {
  color: #f2b84b;
}
.profile-review-summary small {
  color: var(--text3);
  font-weight: 500;
}
.profile-review-form {
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--background2);
  padding: 15px;
  display: grid;
  gap: 12px;
}
.profile-star-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 3px;
}
.profile-star-input input {
  position: absolute;
  opacity: 0;
}
.profile-star-input label {
  font-size: 22px;
  color: var(--text3);
  cursor: pointer;
}
.profile-star-input label:has(input:checked),
.profile-star-input label:has(~ label input:checked),
.profile-star-input label:hover,
.profile-star-input label:hover ~ label {
  color: #f2b84b;
}
.profile-review-form textarea {
  min-height: 105px;
  resize: vertical;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  color: var(--text);
  padding: 12px;
  font: inherit;
}
.profile-review-form footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.profile-review-form footer small {
  color: #e36b76;
}
.profile-review-form button {
  border: 0;
  border-radius: 11px;
  background: var(--secondary, var(--primary));
  color: #fff;
  padding: 10px 14px;
  font-weight: 750;
  cursor: pointer;
}
.profile-review-list {
  display: grid;
  gap: 10px;
  padding: 0px 25px 25px 25px;
}
.profile-review {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: color-mix(in srgb, var(--background2) 76%, transparent);
}
.profile-review > img {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  object-fit: cover;
}
.profile-review header {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.profile-review header a {
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}
.profile-review header span {
  display: flex;
  gap: 2px;
  font-size: 11px;
}
.profile-review time {
  margin-left: auto;
  color: var(--text3);
  font-size: 11px;
}
.profile-review p {
  margin: 7px 0 0;
  color: var(--text2);
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
@media (max-width: 1050px) {
  .profile-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .profile-listing-grid {
    grid-template-columns: 1fr;
  }
  .profile-review-form footer {
    align-items: stretch;
    flex-direction: column;
  }
  .profile-review-form button {
    align-self: flex-end;
  }
  .profile-review time {
    width: 100%;
    margin-left: 0;
  }
}

.profile-review-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  transition: opacity 0.18s ease;
}
.profile-review-modal[hidden] {
  display: none;
}
.profile-review-modal.is-open {
  opacity: 1;
}
.profile-review-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(8px);
}
.profile-review-modal > section {
  position: relative;
  width: min(560px, 100%);
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.2s ease;
}
.profile-review-modal.is-open > section {
  transform: none;
}
.profile-review-modal > section > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.profile-review-modal > section > header span {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.profile-review-modal > section > header h2 {
  margin: 5px 0 0;
}
.profile-review-modal > section > header > button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--background2);
  color: var(--text);
  cursor: pointer;
}
.profile-review-modal > section > p {
  color: var(--text3);
  margin: 10px 0 18px;
}
.profile-review-modal .profile-review-form {
  padding: 0;
  border: 0;
  background: transparent;
}
.profile-review-modal .profile-star-input {
  justify-content: center;
  margin-bottom: 5px;
}
.profile-review-modal .profile-star-input label {
  font-size: 30px;
}
.seller-review-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.seller-review-actions .profile-secondary-button {
  flex: 1;
  justify-content: center;
  border: 1px solid var(--border);
  cursor: pointer;
}
.seller-review-delete {
  width: 42px;
  border: 1px solid color-mix(in srgb, #ef4444 40%, var(--border));
  border-radius: 11px;
  background: color-mix(in srgb, #ef4444 10%, transparent);
  color: #ef4444;
  cursor: pointer;
  font-size: 0;
}
.seller-review-delete i {
  font-size: 14px;
}
.profile-review-edited {
  font-style: normal;
  font-size: 10px;
  font-weight: 750;
  color: var(--text3);
  padding: 3px 6px;
  border-radius: 999px;
  background: var(--background2);
}

.profile-shared-listing-grid,
.profile-modal-listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  padding: 0 25px 25px;
}
.profile-shared-listing-grid .car-banner,
.profile-modal-listing-grid .car-banner {
  min-width: 0;
}
.profile-view-all {
  border: 0;
  cursor: pointer;
}
.profile-more-listings-card {
  min-height: 290px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  padding: 24px;
  color: var(--text);
  background: var(--background2);
  border: 1px dashed color-mix(in srgb, var(--primary) 42%, var(--border));
  border-radius: 16px;
  cursor: pointer;
  text-align: center;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}
.profile-more-listings-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 6%, var(--background));
}
.profile-more-listings-card i {
  font-size: 26px;
  color: var(--primary);
}
.profile-more-listings-card strong {
  font-size: 18px;
}
.profile-more-listings-card span {
  color: var(--text3);
  font-size: 12px;
}
.profile-stat-strip button {
  border: 0;
  font: inherit;
  cursor: pointer;
}
.profile-stat-strip button:disabled {
  cursor: default;
  opacity: 0.62;
}
.seller-friends-heading {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.seller-friends-more {
  width: 100%;
  height: 100%;
  flex: 0 0 42px;
  border: 1px solid var(--profile-border);
  border-radius: 50%;
  background: var(--background3);
  color: var(--text);
  font-weight: 750;
  font-size: 12px;
  cursor: pointer;
}
.profile-listings-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: grid;
  place-items: center;
  padding: 22px;
}
.profile-listings-modal[hidden] {
  display: none;
}
.profile-listings-modal > section {
  position: relative;
  width: min(1180px, 100%);
  max-height: min(86vh, 900px);
  overflow: auto;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}
.profile-listings-modal > section > header {
  position: sticky;
  top: -22px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: -22px -22px 20px;
  padding: 18px 22px;
  background: var(--background2);
  border-bottom: 1px solid var(--border);
  isolation: isolate;
}
.profile-listings-modal > section > header span {
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.profile-listings-modal > section > header h2 {
  margin: 4px 0 0;
}
.profile-listings-modal > section > header button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--background2);
  color: var(--text);
  cursor: pointer;
}
.profile-star-input {
  flex-direction: row !important;
}
.profile-star-input label,
.profile-star-input label:hover,
.profile-star-input label:hover ~ label,
.profile-star-input label:has(input:checked),
.profile-star-input label:has(~ label input:checked) {
  color: var(--text3);
}
.profile-star-input label.is-active {
  color: #f2b84b !important;
}
.profile-review-modal > section {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--primary) 4%, var(--card)),
    var(--card)
  );
}
.profile-review-modal .profile-star-input {
  padding: 16px;
  background: var(--background2);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.profile-review-modal .profile-star-input label {
  transition:
    transform 0.14s ease,
    color 0.14s ease;
}
.profile-review-modal .profile-star-input label:hover {
  transform: translateY(-2px) scale(1.05);
}
@media (max-width: 1050px) {
  .profile-shared-listing-grid,
  .profile-modal-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .profile-shared-listing-grid,
  .profile-modal-listing-grid {
    grid-template-columns: 1fr;
  }
  .profile-listings-modal {
    padding: 10px;
  }
  .profile-listings-modal > section {
    padding: 14px;
    border-radius: 16px;
  }
  .profile-listings-modal > section > header {
    top: -14px;
    margin: -14px -14px 14px;
    padding: 14px;
  }
}

.profile-followers-modal,
.profile-listings-modal {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}
.profile-followers-modal.is-open,
.profile-listings-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.profile-followers-modal > section,
.profile-listings-modal > section {
  transform: translateY(14px) scale(0.985);
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}
.profile-followers-modal.is-open > section,
.profile-listings-modal.is-open > section {
  transform: none;
}
.profile-followers-modal header,
.profile-listings-modal > section > header {
  border-bottom: 1px solid var(--border);
}

.profile-private-state {
  width: calc(100% - var(--sidebar-layout-width, 400px));
  min-height: 100vh;
  margin-left: var(--sidebar-layout-width, 400px);
  padding: 112px 34px 56px;
  box-sizing: border-box;
}
.profile-private-card {
  width: min(980px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--box-shadow1);
}
.profile-private-banner {
  height: 230px;
  background: var(--background3);
  overflow: hidden;
}
.profile-private-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.profile-private-body {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 28px 32px;
}
.profile-private-avatar {
  width: 116px;
  height: 116px;
  flex: 0 0 116px;
  margin-top: -48px;
  overflow: hidden;
  border: 5px solid var(--card);
  border-radius: 50%;
  background: var(--background3);
  box-shadow: var(--box-shadow2);
}
.profile-private-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-private-copy {
  padding-top: 24px;
}
.profile-private-copy h1 {
  margin: 0 0 9px;
  color: var(--text);
  font-size: 28px;
  font-weight: 650;
}
.profile-private-copy p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--text2);
  font-size: 14px;
  font-weight: 650;
}
.profile-private-copy p i {
  color: var(--primary);
}
.profile-private-copy span {
  display: block;
  margin-top: 7px;
  color: var(--text3);
  font-size: 12px;
}
@media (max-width: 768px) {
  .profile-private-state {
    width: 100%;
    margin-left: 0;
    padding: 96px 14px 40px;
  }
  .profile-private-banner {
    height: 170px;
  }
  .profile-private-body {
    align-items: flex-start;
    padding: 0 18px 26px;
  }
  .profile-private-avatar {
    width: 88px;
    height: 88px;
    flex-basis: 88px;
    margin-top: -34px;
  }
  .profile-private-copy {
    padding-top: 16px;
  }
  .profile-private-copy h1 {
    font-size: 22px;
  }
}
.seller-friend-avatars {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
}
.seller-friend-avatars a,
.seller-friend-avatars .seller-friends-more {
  display: block;
  width: 42px;
  height: 42px;
  min-width: 42px;
  flex: 0 0 42px;
  aspect-ratio: 1;
  border-radius: 50%;
  box-sizing: border-box;
}
.seller-friend-avatars a img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.profile-review-pagination {
  display: flex;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
  padding: 0 20px 20px;
}
.profile-review-pagination a {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  box-sizing: border-box;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--background2);
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
}
.profile-review-pagination a[aria-current='page'] {
  background: var(--text);
  color: var(--background);
}

body.profile-page
  :is(
    .profile-followers-modal,
    .profile-review-modal,
    .profile-listings-modal,
    .image-modal-overlay
  ) {
  inset: 0;
  width: auto !important;
  height: auto;
  max-width: none !important;
  max-height: none !important;
  margin: 0;
  box-sizing: border-box;
  padding: clamp(12px, 3vw, 28px);
}
body.profile-page
  :is(.profile-followers-backdrop, .profile-review-modal-backdrop, .image-modal-overlay) {
  background: rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body.profile-page
  :is(.profile-followers-modal, .profile-review-modal, .profile-listings-modal)
  > section {
  background: var(--background2) !important;
  max-height: calc(100dvh - 56px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.profile-modal-categories {
  position: relative;
  z-index: 0;
  isolation: isolate;
}
.profile-followers-modal > section {
  padding: 0 18px 18px;
}
.profile-followers-modal > section > header {
  position: sticky;
  top: 0;
  z-index: 1;
  margin-bottom: 12px;
  padding: 18px 0;
  background: var(--background2);
}
.profile-followers-list a {
  border-color: var(--profile-border);
  background: var(--background3);
  font-weight: 500;
  transition:
    background 0.18s ease,
    border-color 0.18s ease;
}
.profile-followers-list a:hover,
.profile-followers-list a:focus-visible {
  background: var(--card-hover, var(--background4));
  border-color: var(--border-hover, var(--primary));
  outline: none;
}
.profile-followers-list a::after {
  color: var(--text3);
  transition:
    transform 0.18s ease,
    color 0.18s ease;
}
.profile-followers-list a:hover::after,
.profile-followers-list a:focus-visible::after {
  transform: translateX(3px);
  color: var(--text);
}
.profile-followers-list a > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.profile-followers-list img {
  flex: 0 0 43px;
  border: 1px solid var(--profile-border);
  border-radius: 50%;
}
.profile-review {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 16px 0;
}
.profile-review + .profile-review {
  border-top: 1px solid var(--profile-border);
}
.profile-review > div {
  min-width: 0;
}
.seller-review-actions .profile-secondary-button {
  min-width: 0;
  flex: 1 1 auto;
}
.seller-review-actions .seller-review-delete {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  line-height: 1;
  transition:
    background 0.18s ease,
    border-color 0.18s ease;
}
.seller-review-delete:hover {
  background: color-mix(in srgb, #ef4444 18%, transparent);
  border-color: #ef4444;
}
.profile-review-modal > section > header > button,
.profile-listings-modal > section > header > button {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  padding: 0;
}
.profile-review-modal .profile-review-form {
  gap: 14px;
}
.profile-review-rating {
  display: grid;
  gap: 10px;
  margin: 6px 0;
}
.profile-review-rating > span,
.profile-review-body-label {
  color: var(--text2);
  font-size: 13px;
  font-weight: 500;
}
.profile-review-modal .profile-star-input {
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.profile-review-modal .profile-star-input label {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--background3);
  font-size: 23px;
}
.profile-review-modal .profile-review-form textarea {
  width: 100%;
  min-height: 150px;
  max-height: 35dvh;
  margin-top: -6px;
  background: var(--input, var(--background3));
  line-height: 1.6;
}
.profile-review-form footer {
  flex-wrap: wrap;
  justify-content: flex-end;
}
.profile-review-form footer small {
  flex: 1 1 auto;
  min-width: 0;
}
.profile-review-form footer small:empty {
  display: none;
}
.profile-review-form footer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  background: var(--button);
  color: var(--button-text);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  transition:
    background 0.18s ease,
    opacity 0.18s ease;
}
.profile-review-form footer button:hover {
  opacity: 0.86;
}
.profile-review-form footer button:disabled {
  opacity: 0.5;
  cursor: wait;
}
@media (max-width: 680px) {
  .profile-stat-strip > :nth-child(n) {
    border-bottom: 0;
    border-right: 1px solid var(--profile-border);
  }
  .profile-stat-strip > :last-child {
    border-right: 0;
  }
  .profile-stat-strip > button {
    padding: 11px 12px;
    gap: 8px;
  }
  .profile-stat-strip > button > i {
    font-size: 18px;
  }
  body.profile-page
    :is(.profile-followers-modal, .profile-review-modal, .profile-listings-modal)
    > section {
    max-height: calc(100dvh - 24px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .profile-page
    :is(
      .profile-followers-list a,
      .profile-followers-list a::after,
      .profile-stat-strip > button,
      .profile-star-input label,
      .profile-review-modal,
      .profile-followers-modal,
      .profile-listings-modal,
      .profile-review-modal > section,
      .profile-followers-modal > section,
      .profile-listings-modal > section
    ) {
    transition: none;
  }
}

body.profile-page :is(.profile-review-modal, .profile-listings-modal) > section > header > div,
body.profile-page .profile-followers-modal > section > header > h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
body.profile-page :is(.profile-review-modal, .profile-listings-modal, .profile-followers-modal) h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
body.profile-page .profile-modal-icon {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--background3);
  color: var(--text);
  font-size: 16px;
}
body.profile-page .profile-followers-list a {
  min-height: 54px;
  padding: 8px 10px;
  gap: 12px;
  border-radius: 12px;
  font-size: 13px;
}
body.profile-page .profile-followers-list img {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
}
body.profile-page .profile-review-modal > section {
  width: min(480px, 100%);
  padding: 22px;
}
body.profile-page .profile-review-modal > section > header {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--background4);
}
body.profile-page .profile-review-modal > section > p {
  margin: 16px 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text2);
}
body.profile-page .profile-review-modal .profile-review-form {
  gap: 12px;
}
body.profile-page .profile-review-modal .profile-star-input {
  gap: 7px;
}
body.profile-page .profile-review-modal .profile-star-input label {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 18px;
}
body.profile-page :is(.profile-review-body-label, .profile-review-rating > span) {
  font-size: 12px;
}
body.profile-page .profile-review-modal .profile-review-form textarea {
  box-sizing: border-box;
  min-height: 120px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--background4);
  border-radius: 12px;
  background: var(--card);
  color: var(--text);
  font: inherit;
  font-size: 13px !important;
  line-height: 1.6;
}
body.profile-page .profile-review-form footer button {
  min-height: 40px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 500;
}
body.profile-page .profile-review-form footer small {
  font-size: 12px;
}
body.profile-page .profile-actions > .profile-icon-button {
  flex: 0 0 46px;
}
@media (max-width: 520px) {
  body.profile-page .profile-actions {
    flex-wrap: wrap;
  }
  body.profile-page .profile-review-modal > section {
    padding: 18px;
  }
}

body.profile-page .store-back-button {
  color: var(--text);
}

.profile-is-anonymous .profile-avatar-button {
  display: block;
  cursor: default;
}

.profile-is-anonymous .profile-stat-strip strong {
  font-size: 13px;
  font-weight: 500;
}

.profile-is-anonymous
  :is(.profile-actions, .seller-contact-actions, .seller-review-actions)
  button:disabled {
  opacity: 0.6;
  cursor: default;
}

.profile-is-anonymous .seller-verification-list strong {
  margin-left: auto;
  font-weight: 400;
}

.profile-is-anonymous .profile-hidden-inline {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text3);
  font-size: 12px;
  line-height: 1.5;
}

.profile-is-anonymous .profile-social-card .profile-hidden-inline {
  margin: 0;
}
