/* Namespaced rules for the original public React account cards only. */
.mwhib-profile-card {
  --mwhib-card-bg: #fff;
  --mwhib-card-text: #171717;
  --mwhib-card-muted: #666;
  --mwhib-card-border: #e8e8e8;
  --mwhib-card-stat-bg: #fafafa;
  --mwhib-card-avatar-bg: #f1f2f4;
  display: flex; flex-direction: column; position: relative;
  min-width: 0; align-self: stretch; box-sizing: border-box;
  border: 1px solid var(--mwhib-card-border); border-radius: 25px;
  background: var(--mwhib-card-bg); color: var(--mwhib-card-text);
  font-family: Arial, sans-serif; text-decoration: none; overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.07);
  transition: box-shadow .18s ease, border-color .18s ease;
}
.mwhib-profile-card:hover { color: var(--mwhib-card-text); text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.11); }
.mwhib-profile-card:focus-visible { outline: 2px solid #e87522; outline-offset: 3px; }
.mwhib-profile-card--home { width: 224px; flex: 0 0 224px; }
.mwhib-profile-card__body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.mwhib-profile-card__cover {
  margin: 6px 6px 0; position: relative; direction: ltr;
  aspect-ratio: 16 / 9; border-radius: 19px; overflow: hidden;
  background: #c8dfed url('/mwhib-profile-cover-6ce012b2fe336b94.webp') center center / cover no-repeat;
}
.mwhib-profile-card__action {
  position: absolute; top: 9px; right: 9px; direction: rtl;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 7px 11px; border-radius: 999px; font-size: 12px; line-height: 1.25;
  font-weight: 600; color: #171717; background: #fff;
  border: 1px solid rgba(0,0,0,.05); box-shadow: 0 2px 7px rgba(0,0,0,.12);
  white-space: nowrap;
}
.mwhib-profile-card__identity { direction: ltr; text-align: left; padding: 0 17px 20px; flex: 1; min-width: 0; }
.mwhib-profile-card__avatar { position: relative; width: 76px; height: 76px; margin: -35px 0 13px; z-index: 1; }
.mwhib-profile-card__picture { position: relative; display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; overflow: hidden; border-radius: 50%; border: 4px solid var(--mwhib-card-bg); background: var(--mwhib-card-avatar-bg); }
.mwhib-profile-card__picture > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mwhib-profile-card__badge { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; border: 2px solid var(--mwhib-card-bg); border-radius: 50%; background: var(--mwhib-card-bg); width: 23px; height: 23px; }
.mwhib-profile-card__badge > img { width: 100%; height: 100%; display: block; object-fit: contain; }
.mwhib-profile-card__name { margin: 0 0 5px; font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--mwhib-card-text); text-align: left; overflow-wrap: anywhere; }
.mwhib-profile-card__type { margin: 0; font-size: 13px; font-weight: 400; line-height: 1.6; color: var(--mwhib-card-muted); text-align: left; }
.mwhib-profile-card__stats { display: flex; align-items: stretch; border-top: 1px solid var(--mwhib-card-border); background: var(--mwhib-card-stat-bg); }
.mwhib-profile-card__stat { display: flex; flex: 1 1 0; min-width: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 13px 5px 15px; text-align: center; }
.mwhib-profile-card__stat + .mwhib-profile-card__stat { border-inline-start: 1px solid var(--mwhib-card-border); }
.mwhib-profile-card__number { color: var(--mwhib-card-text); font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; overflow-wrap: anywhere; max-width: 100%; direction: ltr; }
.mwhib-profile-card__label { font-size: 12px; color: var(--mwhib-card-muted); line-height: 1.4; }
.dark .mwhib-profile-card, .dark-mode .mwhib-profile-card, [data-theme="dark"] .mwhib-profile-card {
  --mwhib-card-bg: #1b1c1e; --mwhib-card-text: #f0f0f0; --mwhib-card-muted: #b5b5b5;
  --mwhib-card-border: #36373b; --mwhib-card-stat-bg: #202124; --mwhib-card-avatar-bg: #303236;
  box-shadow: 0 6px 18px rgba(0,0,0,.23);
}
@media (max-width: 640px) {
  .mwhib-profile-card--home { width: 208px; flex-basis: 208px; }
  .mwhib-profile-card--writers .mwhib-profile-card__cover { aspect-ratio: 2 / 1; }
  .mwhib-profile-card { border-radius: 22px; }
  .mwhib-profile-card__cover { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) { .mwhib-profile-card { transition: none; } }

/* v2: card-only type and geometry */
.mwhib-profile-card {font-weight:400;}
.mwhib-profile-card__action,.mwhib-profile-card__number,.mwhib-profile-card__label,.mwhib-profile-card__type,.mwhib-profile-card__bio {font-weight:400;font-family:Arial,sans-serif;}
.mwhib-profile-card__name {font-weight:700;font-size:19px;}
.mwhib-profile-card__cover {aspect-ratio:2/1;}
.mwhib-profile-card__identity {padding:0 20px 20px;min-height:175px;}
.mwhib-profile-card__avatar,.mwhib-profile-card__picture {width:90px;height:90px;}
.mwhib-profile-card__avatar {margin:-43px 0 10px;}
.mwhib-profile-card__badge {width:25px;height:25px;}
.mwhib-profile-card__bio {direction:rtl;text-align:right;font-size:14px;line-height:1.55;color:var(--mwhib-card-muted);margin:8px 0 0;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.mwhib-profile-card__stat {padding:14px 4px;gap:6px;}
.mwhib-profile-card__number {font-size:16px;}
.mwhib-profile-card__label {font-size:12px;white-space:normal;}
@media(max-width:640px){.mwhib-profile-card__identity{padding:0 15px 16px;min-height:155px;}.mwhib-profile-card__avatar,.mwhib-profile-card__picture{width:80px;height:80px;}.mwhib-profile-card__avatar{margin-top:-37px;}}
