.sz-trust-intent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #eef6ff;
  border: 1px solid #cfe3ff;
  color: #1e3a5f;
  font-size: 14px;
  line-height: 1.45;
}
.sz-trust-intent i { color: #2563eb; margin-top: 2px; }
.pre-account .sz-trust-intent { max-width: 100%; }

.sz-trust-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 0 1px #d4d4d4, 0 5px 12px rgba(0,0,0,0.12);
  padding: 18px 18px 8px;
  margin: 0 0 22px;
}
.sz-trust-card--done {
  background: #f3fbf6;
  box-shadow: 0 0 0 1px #b7e4c7, 0 4px 10px rgba(39,174,96,0.12);
}
.sz-trust-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.sz-trust-card-head > i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ecfdf3;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sz-trust-card-head strong { display: block; font-size: 16px; line-height: 1.3; }
.sz-trust-card-head p { margin: 4px 0 0; color: var(--mb-color6, #666); font-size: 13px; line-height: 1.4; font-weight: 400; }

.sz-trust-progress {
  height: 6px;
  background: #eee;
  border-radius: 99px;
  overflow: hidden;
}
.sz-trust-progress span {
  display: block;
  height: 100%;
  background: #16a34a;
  border-radius: 99px;
}
.sz-trust-progress-label { font-size: 12px; color: #888; margin: 6px 0 12px; }

.sz-trust-steps { list-style: none; margin: 0; padding: 0; }
.sz-trust-steps li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #eee;
}
.sz-trust-ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 13px;
}
.sz-trust-steps li.is-done .sz-trust-ico { background: #dcfce7; color: #16a34a; }
.sz-trust-step-body { flex: 1; min-width: 0; }
.sz-trust-step-body strong { display: block; font-size: 14px; }
.sz-trust-step-body span { display: block; font-size: 13px; color: var(--mb-color6, #666); margin-top: 2px; }
.sz-trust-flash {
  outline: 3px solid #2563eb;
  outline-offset: 4px;
  border-radius: 8px;
  transition: outline-color .2s;
}
#user-loc.sz-trust-flash,
#sz-trust-photo.sz-trust-flash,
.profile-box.change-mail.sz-trust-flash,
#user_email_change.sz-trust-flash { background: #eff6ff; }

.sz-trust-phone-verify { margin-top: 10px; }
.sz-trust-pv-row { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.sz-trust-pv-code,
.sz-trust-pv-row[hidden] { display: none !important; }
.sz-trust-pv-code.is-open { display: flex !important; }
.sz-trust-pv-row input {
  flex: 1 1 180px;
  min-width: 0;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0 10px;
  font-size: 14px;
}
.sz-trust-pv-row .btn {
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: var(--mb-color-primary, #ff2636);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.sz-trust-pv-row .btn:disabled { opacity: .7; cursor: wait; }
.sz-trust-pv-msg { font-size: 13px; margin: 8px 0 0; min-height: 0; }
.sz-trust-pv-msg[hidden] { display: none !important; }
.sz-trust-pv-msg.is-ok,
.sz-trust-pv-msg.is-err { padding: 8px 10px; border-radius: 6px; }
.sz-trust-pv-msg.is-ok { color: #15803d; background: #ecfdf3; border: 1px solid #bbf7d0; }
.sz-trust-pv-msg.is-err { color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; }

.sz-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  padding: 1px 7px 1px 5px;
  border-radius: 99px;
  background: #ecfdf3;
  color: #15803d;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  vertical-align: middle;
  white-space: nowrap;
}
.sz-trust-badge i { font-size: 12px; }
#seller .data .name,
#meet-seller .name { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; }
#seller .sz-trust-badge,
#meet-seller .sz-trust-badge { margin: 0; }

.sz-trust-nudge-home {
  padding: 8px 0 16px !important;
  background: transparent !important;
}
body#home > .content > section.sz-trust-nudge-home > .container {
  align-items: stretch;
  width: 100%;
}
.sz-trust-nudge-home .sz-trust-nudge { width: 100%; margin: 0; }
.sz-trust-nudge {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 16px;
  padding: 14px 18px;
  padding-inline-end: 42px;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
}
.sz-trust-nudge-close {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: .85;
}
.sz-trust-nudge-close:hover { opacity: 1; background: rgba(255,255,255,.12); }
.sz-trust-nudge-faces {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 108px;
  height: 56px;
}
.sz-trust-face {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline-start: -12px;
  color: #fff;
  font-size: 13px;
  position: relative;
}
.sz-trust-face:first-child { margin-inline-start: 0; }
.sz-trust-face--a { background: #60a5fa; z-index: 1; }
.sz-trust-face--b { background: #818cf8; z-index: 2; }
.sz-trust-face--c { background: #38bdf8; z-index: 3; }
.sz-trust-face--me {
  width: 52px;
  height: 52px;
  overflow: visible;
  background: transparent;
  border: 0;
  z-index: 4;
}
.sz-trust-face--me img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  display: block;
  background: #e5e7eb;
}
.sz-trust-face-q {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #6b7280;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #2563eb;
  line-height: 1;
}
.sz-trust-nudge-copy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  flex: 1;
  min-width: 0;
}
.sz-trust-nudge-copy strong {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}
.sz-trust-nudge-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1d4ed8;
  border: 2px solid #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
}
.sz-trust-nudge-tag {
  font-size: 14px;
  font-weight: 400;
  opacity: .95;
}
.sz-trust-nudge-sep { margin: 0 4px; opacity: .7; }
.sz-trust-nudge-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 6px;
  background: #fff;
  color: #1e3a5f;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.sz-trust-nudge-cta:hover { background: #f3f6fb; color: #1e3a5f; text-decoration: none; }
.sz-trust-nudge--compact { padding: 10px 14px; padding-inline-end: 36px; gap: 10px; margin-bottom: 12px; }
.sz-trust-nudge--compact .sz-trust-nudge-faces { display: none; }
.sz-trust-nudge--compact .sz-trust-nudge-copy strong { font-size: 16px; }
.sz-trust-nudge--compact .sz-trust-nudge-tag { font-size: 13px; }
.sz-trust-nudge--compact .sz-trust-nudge-cta { height: 34px; padding: 0 12px; }
#search-main > .sz-trust-nudge { margin: 0 0 12px; }
#user-menu + #user-main .sz-trust-nudge,
#user-main .sz-trust-nudge { margin: 0 0 18px; }
a.sz-trust-menu { color: #2563eb !important; font-weight: 600; }

html[dir="rtl"] .sz-trust-nudge-copy strong { font-size: 18px; }
html[dir="rtl"] .sz-trust-nudge-cta { font-size: 13px; }
html[dir="rtl"] .sz-trust-intent,
html[dir="rtl"] .sz-trust-card-head,
html[dir="rtl"] .sz-trust-steps li { flex-direction: row; }

html[mode="dark"] .sz-trust-card {
  background: #1f1f1f;
  box-shadow: 0 0 0 1px #333;
}
html[mode="dark"] .sz-trust-card--done { background: #13251a; }
html[mode="dark"] .sz-trust-card-head p,
html[mode="dark"] .sz-trust-step-body span { color: #aaa; }
html[mode="dark"] .sz-trust-steps li { border-top-color: #333; }
html[mode="dark"] .sz-trust-ico { background: #2a2a2a; }
html[mode="dark"] .sz-trust-progress { background: #333; }
html[mode="dark"] .sz-trust-intent { background: #152033; border-color: #243652; color: #d6e4ff; }
html[mode="dark"] .sz-trust-pv-row input { background: #111; border-color: #444; color: #eee; }

@media (max-width: 767px) {
  body#home > .content > section.sz-trust-nudge-home { order: 8; padding: 8px 16px 12px !important; }
  .sz-trust-nudge {
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 14px 14px;
    padding-inline-end: 36px;
  }
  .sz-trust-nudge-faces { min-width: 0; }
  .sz-trust-nudge-copy { flex: 1 1 calc(100% - 90px); }
  .sz-trust-nudge-copy strong { font-size: 17px; white-space: normal; }
  .sz-trust-nudge-tag { white-space: normal; width: 100%; }
  .sz-trust-nudge-cta { width: 100%; height: 40px; }
  .sz-trust-nudge--compact .sz-trust-nudge-cta { width: 100%; }
  .sz-trust-pv-row { flex-direction: column; }
  .sz-trust-pv-row .btn { width: 100%; }
}
