.jh-authorbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 14px;
  border-radius:16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  background: var(--card-bg, #fff);
  margin: 14px 0 16px;
}

.jh-authorbar__author{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}

.jh-authorbar__avatar{
  border-radius:999px;
}

.jh-authorbar__meta{display:flex; flex-direction:column; gap:4px;}
.jh-authorbar__name{font-weight:800; font-size:14px; line-height:1.1;}
.jh-authorbar__sub{font-size:12px; opacity:.75; display:flex; flex-wrap:wrap; gap:6px; align-items:center;}
.jh-authorbar__dot{opacity:.6;}

.jh-authorbar__right{display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end;}
.jh-authorbar__pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  background: rgba(0,0,0,.04);
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
}

.jh-authorbar__actions{
  display:flex;
  align-items:center;
  gap:8px;
}

.jh-share{
  width:36px;
  height:36px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  background: rgba(0,0,0,.04);
  border:0;
  cursor:pointer;
  padding:0;
}

.jh-share:hover{ background: rgba(0,0,0,.07); }

.jh-ic svg{ width:18px; height:18px; display:block; }

.jh-toast{
  position:fixed;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  padding:10px 12px;
  border-radius:999px;
  background:#111;
  color:#fff;
  font-size:13px;
  z-index:99999;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease, transform .2s ease;
}
.jh-toast.is-visible{
  opacity:1;
  transform:translateX(-50%) translateY(-4px);
}

@media (max-width: 992px){
  .jh-authorbar{
    flex-direction:column;
    align-items:stretch;
  }
  .jh-authorbar__right{
    justify-content:flex-start;
  }
}


/* Dark mode harmony */
.night-mode .jh-authorbar{
  background: rgba(255,255,255,.06);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.night-mode .jh-authorbar__pill,
.night-mode .jh-share{
  background: rgba(255,255,255,.08);
}
.night-mode .jh-share:hover{
  background: rgba(255,255,255,.12);
}
.night-mode .jh-authorbar__sub{ opacity: .85; }
