/* Article-only author + actions layout, inspired by a compact creator strip. */
.mwhib-author-engagement-card {
  position: relative;
  margin-bottom: 18px !important;
  padding: 14px 18px !important;
  border: 1px solid #e7e9ed !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 1px 4px rgba(17,24,39,.035) !important;
}
.mwhib-author-engagement-card:hover {
  box-shadow: 0 1px 5px rgba(17,24,39,.06) !important;
}
.mwhib-author-engagement-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  direction: rtl;
}
.mwhib-author-engagement-identity {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  align-items: center;
  cursor: pointer;
  border-radius: 8px;
}
.mwhib-author-engagement-identity:focus-visible {
  outline: 2px solid #404b5e;
  outline-offset: 4px;
}
.mwhib-author-engagement-identity > div:first-child {
  width: 48px !important;
  height: 48px !important;
  border-color: #eceef2 !important;
  background: #f7f8fa !important;
  box-shadow: none !important;
  --tw-ring-shadow: 0 0 #0000 !important;
}
.mwhib-author-engagement-identity > div:nth-child(2) {
  margin-right: 10px !important;
}
.mwhib-author-engagement-identity span.text-lg {
  color: #171b24 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}
.mwhib-author-engagement-identity p {
  padding: 0 !important;
  margin-top: 3px !important;
  background: transparent !important;
  color: #777f8d !important;
  font-size: 11px !important;
  font-weight: 500 !important;
}
.mwhib-author-original-link {
  display: none !important;
}
.mwhib-author-reactions-source {
  display: none !important;
}
.mwhib-author-engagement-tools {
  display: flex;
  direction: ltr;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  gap: 10px;
  color: #252c37;
}
.mwhib-author-votes {
  display: inline-flex;
  align-items: center;
  min-height: 43px;
  border-radius: 999px;
  border: 1px solid #e8eaee;
  background: #f4f5f7;
  overflow: hidden;
}
.mwhib-author-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 65px;
  height: 42px;
  gap: 8px;
  padding: 0 12px;
  color: #262b33;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .15s ease;
}
.mwhib-author-action:hover {
  background: #e8eaee;
}
.mwhib-author-action:active {
  background: #dfe3e8;
}
.mwhib-author-action:focus-visible,
.mwhib-author-share-item:focus-visible {
  outline: 2px solid #606d7e;
  outline-offset: -2px;
}
.mwhib-author-action svg {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 !important;
  flex: 0 0 auto;
  stroke-width: 2;
}
.mwhib-author-vote-count {
  min-width: 12px;
  color: #414956;
  text-align: center;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.mwhib-author-vote-separator {
  width: 1px;
  height: 22px;
  background: #d9dce1;
}
.mwhib-author-share-wrap {
  position: relative;
  flex: 0 0 auto;
}
.mwhib-author-action-share {
  min-width: 43px;
  width: 43px;
  height: 43px;
  padding: 0;
  border-radius: 999px;
  background: #f4f5f7;
  border: 1px solid #e8eaee;
}
.mwhib-author-share-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 9px);
  z-index: 60;
  width: 210px;
  padding: 6px;
  direction: rtl;
  border: 1px solid #e8e9ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(23,31,45,.14);
}
.mwhib-author-share-menu[hidden] {
  display: none !important;
}
.mwhib-author-share-item {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 8px;
  padding: 10px;
  border: 0;
  border-radius: 7px;
  color: #333942;
  text-align: right;
  font: inherit;
  font-size: 13px;
  white-space: nowrap;
  background: transparent;
  cursor: pointer;
}
.mwhib-author-share-item:hover {
  background: #f3f4f6;
}
.mwhib-author-share-item svg {
  margin: 0 !important;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .mwhib-author-engagement-card {
    padding: 12px 13px !important;
    border-radius: 12px !important;
  }
  .mwhib-author-engagement-row {
    flex-wrap: wrap !important;
    gap: 13px !important;
  }
  .mwhib-author-engagement-identity {
    flex: 0 0 100%;
  }
  .mwhib-author-engagement-identity > div:first-child {
    width: 43px !important;
    height: 43px !important;
  }
  .mwhib-author-engagement-tools {
    flex: 0 0 100%;
    justify-content: flex-start;
    gap: 9px;
  }
  .mwhib-author-votes {
    min-height: 39px;
  }
  .mwhib-author-action {
    height: 38px;
    min-width: 62px;
    padding: 0 10px;
  }
  .mwhib-author-action-share {
    width: 39px;
    min-width: 39px;
    height: 39px;
  }
  .mwhib-author-share-menu {
    left: 0;
    right: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mwhib-author-action { transition: none; }
}
