.hen-comments {
  --hen-accent: #ffffff;
  --hen-text: #f2f2f2;
  --hen-muted: #8f9196;
  --hen-faint: #666a70;
  --hen-line: rgba(255, 255, 255, 0.08);
  --hen-line-strong: rgba(255, 255, 255, 0.14);
  --hen-surface: rgba(255, 255, 255, 0.035);
  --hen-input: #ffffff;
  --hen-input-text: #1f2125;
  --hen-input-muted: #92959b;
  --hen-danger: #e16b6b;
}

.hen-comments,
.hen-comments * {
  box-sizing: border-box;
}

.hen-comments {
  width: 100%;
  max-width: 1120px;
  margin: 38px auto 0;
  padding: 0 0 14px;
  color: var(--hen-text);
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font: inherit;
}

.hen-comments button,
.hen-comments input,
.hen-comments textarea,
.hen-comments select {
  font: inherit;
}

.hen-comments .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Reactions */
.hen-reactions {
  margin: 0 0 38px;
  text-align: center;
}

.hen-reactions__title {
  margin: 0 0 18px !important;
  padding: 0 !important;
  color: #f5f5f5 !important;
  border: 0 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

.hen-reactions__items {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hen-reaction {
  appearance: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 50px;
  margin: 0 !important;
  padding: 2px 3px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: #f5f5f5 !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: transform .12s ease, opacity .12s ease;
}

.hen-reaction:hover {
  transform: translateY(-2px);
}

.hen-reaction.is-busy {
  opacity: .55;
  pointer-events: none;
}

.hen-reaction__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
}

.hen-reaction__emoji {
  display: block;
  font-size: 31px;
  line-height: 1;
  filter: grayscale(.06);
  transform-origin: 50% 70%;
  transition: transform .12s ease, filter .12s ease;
}

.hen-reaction.is-active .hen-reaction__emoji {
  transform: scale(1.14);
  filter: none;
}

.hen-reaction__count {
  min-width: 10px;
  color: #f5f5f5;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.hen-reaction__label {
  margin-top: 3px;
  color: #f5f5f5;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: lowercase;
}

/* Header */
.hen-comments__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 20px;
}

.hen-comments__title {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--hen-text) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em;
}

.hen-login-toggle {
  appearance: none;
  margin: 0 !important;
  padding: 3px 5px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--hen-text) !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer;
}

.hen-login-toggle:hover,
.hen-login-toggle[aria-expanded="true"] {
  opacity: .72;
}

/* Social login */
.hen-social-panel {
  margin: -8px 0 14px;
}

.hen-social-panel[hidden] {
  display: none !important;
}

.hen-social-login {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.hen-social-login__label,
.hen-social-login__or {
  color: var(--hen-muted);
  font-size: 11px;
  line-height: 32px;
}

.hen-social-login__providers {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hen-social-button {
  display: inline-flex !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--hen-line-strong) !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.03) !important;
  color: var(--hen-text) !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background .12s ease, transform .12s ease, border-color .12s ease;
}

.hen-social-button:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.25) !important;
}

.hen-social-button.is-disabled {
  opacity: .3;
  cursor: not-allowed;
}

.hen-social-button.is-disabled:hover {
  transform: none;
  background: rgba(255,255,255,.03) !important;
  border-color: var(--hen-line-strong) !important;
}

.hen-social-icon {
  display: block;
  width: 18px;
  height: 18px;
  color: currentColor;
  fill: currentColor;
}

.hen-social-button--discord { color: #8b95ff !important; }
.hen-social-button--disqus { color: #58afff !important; }
.hen-social-button--facebook { color: #5a9cff !important; }
.hen-social-button--x,
.hen-social-button--google { color: #f4f4f4 !important; }

.hen-social-message {
  margin: 0 0 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
}

.hen-social-message--error { background: rgba(225,107,107,.1); color: #f3a3a3; }
.hen-social-message--success { background: rgba(86,180,130,.12); color: #a7e5c4; }

.hen-submission-notice {
  margin: -4px 0 14px;
  padding: 10px 12px;
  border: 1px solid rgba(227, 188, 94, .18);
  border-radius: 10px;
  background: rgba(227, 188, 94, .07);
  color: #dfc27a;
  font-size: 12px;
  line-height: 1.4;
}

/* Composer */
.hen-comments__composer {
  margin: 0 0 22px;
}

.hen-comment-form {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 14px 7px !important;
  overflow: visible;
  border: 1px solid rgba(0,0,0,.08) !important;
  border-radius: 19px !important;
  background: var(--hen-input) !important;
  box-shadow: none !important;
  color: var(--hen-input-text) !important;
}

.hen-comment-form > * {
  min-width: 0;
}

.hen-comment-form p,
.hen-comment-form .comment-form-comment,
.hen-comment-form .form-submit {
  margin: 0 !important;
}

.hen-comment-form .required-field-message,
.hen-comment-form .comment-notes,
.hen-comment-form .comment-form-url,
.hen-comment-form .comment-form-cookies-consent {
  display: none !important;
}

.hen-comment-form .hen-field--comment {
  grid-column: 1 / -1;
  grid-row: 1;
  margin: 0 -14px;
  border-bottom: 1px solid #d8d8d8;
}

.hen-field--comment textarea {
  display: block !important;
  width: 100% !important;
  min-height: 74px !important;
  max-height: 260px;
  margin: 0 !important;
  padding: 16px 14px 13px !important;
  resize: vertical;
  border: 0 !important;
  border-radius: 19px 19px 0 0 !important;
  outline: 0 !important;
  background: #fff !important;
  color: var(--hen-input-text) !important;
  box-shadow: none !important;
  font-size: 15px !important;
  line-height: 1.48 !important;
}

.hen-field--comment textarea::placeholder,
.hen-field input::placeholder {
  color: var(--hen-input-muted) !important;
  opacity: 1;
}

.hen-field--comment textarea:focus {
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.05) !important;
}

.hen-comment-form.is-dragging-media {
  box-shadow: 0 0 0 2px rgba(255,255,255,.28) !important;
}

.hen-comment-form.is-dragging-media .hen-field--comment textarea {
  background: #f7f7f7 !important;
}

.hen-fields-row {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0;
  margin: 4px -4px 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #f1f1f1;
  transition: background .12s ease;
}

.hen-fields-row.is-email-open {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.hen-field input {
  display: block !important;
  width: 100% !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: var(--hen-input-text) !important;
  box-shadow: none !important;
  font-size: 13px !important;
}

.hen-field--email {
  position: relative;
  border-left: 1px solid #dedede;
}

.hen-field--email[hidden] {
  display: none !important;
}

.hen-email-toggle {
  appearance: none;
  display: inline-flex !important;
  height: 34px !important;
  align-items: center !important;
  gap: 5px;
  margin: 0 !important;
  padding: 0 13px !important;
  border: 0 !important;
  border-left: 1px solid #dedede !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #5f6268 !important;
  box-shadow: none !important;
  font-size: 12px !important;
  cursor: pointer;
  white-space: nowrap;
}

.hen-email-toggle[hidden] { display: none !important; }

.hen-email-toggle small {
  color: #999da3;
  font-size: 10px;
  font-weight: 400;
}

.hen-email-toggle:hover {
  background: #e8e8e8 !important;
  color: #24262a !important;
}

.hen-email-close {
  appearance: none;
  position: absolute;
  top: 50%;
  right: 5px;
  display: inline-flex !important;
  width: 24px !important;
  height: 24px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translateY(-50%);
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #8d9095 !important;
  box-shadow: none !important;
  font-size: 18px !important;
  line-height: 1 !important;
  cursor: pointer;
}

.hen-email-close:hover { background: #dedede !important; color: #222 !important; }
.hen-field--email input { padding-right: 34px !important; }

.hen-field input:focus {
  background: #eaeaea !important;
}

.hen-form-message {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 2px 0 4px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(0,0,0,.045);
  color: #5f6268;
  font-size: 11px;
  line-height: 1.35;
}

.hen-form-message[hidden] { display: none !important; }
.hen-form-message.is-error { background: #fff1f1; color: #a23636; }
.hen-form-message.is-success { background: #eef9f1; color: #267044; }
.hen-form-message.is-pending { background: #fff8e8; color: #8b6720; }

.hen-media-tray {
  grid-column: 1 / -1;
  grid-row: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 0;
  padding: 3px 0 7px;
}

.hen-media-tray[hidden] { display: none !important; }

.hen-media-item {
  position: relative;
  width: 70px;
  height: 56px;
  overflow: hidden;
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  background: #ececec;
}

.hen-media-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hen-media-item__badge {
  position: absolute;
  left: 5px;
  bottom: 5px;
  padding: 2px 4px;
  border-radius: 3px;
  background: rgba(0,0,0,.72);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
}

.hen-media-remove {
  appearance: none;
  position: absolute;
  top: 4px;
  right: 4px;
  display: inline-flex !important;
  width: 20px !important;
  height: 20px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 0 1px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(0,0,0,.72) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 16px !important;
  line-height: 1 !important;
  cursor: pointer;
}

.hen-media-item--loading {
  display: flex;
  width: auto;
  min-width: 104px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px;
  color: #555;
  font-size: 10px;
}

.hen-media-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid #c8c8c8;
  border-top-color: #111;
  border-radius: 50%;
  animation: hen-spin .7s linear infinite;
}

@keyframes hen-spin { to { transform: rotate(360deg); } }

.hen-toolbar {
  position: relative;
  grid-column: 1;
  grid-row: 5;
  display: flex;
  align-items: center;
  gap: 2px;
  min-height: 37px;
  padding: 2px 0;
  color: #111;
}

.hen-tool {
  appearance: none;
  display: inline-flex !important;
  width: 27px !important;
  height: 27px !important;
  min-width: 27px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: #111 !important;
  box-shadow: none !important;
  font-size: 16px !important;
  line-height: 1 !important;
  cursor: pointer;
}

.hen-tool:hover,
.hen-tool.is-active {
  background: #ececec !important;
}

.hen-tool.is-busy {
  opacity: .45;
  pointer-events: none;
}

.hen-tool svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hen-tool--gif {
  width: 30px !important;
  min-width: 30px !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  border: 1px solid #333 !important;
  border-radius: 2px !important;
  height: 15px !important;
  align-self: center;
  margin: 0 3px !important;
}

.hen-tool--text { font-size: 17px !important; }
.hen-tool--quote { font-size: 21px !important; }

.hen-emoji-picker {
  position: absolute;
  z-index: 20;
  left: 0;
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(4, 36px);
  gap: 2px;
  padding: 6px;
  border: 1px solid #d7d7d7;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
}

.hen-emoji-picker[hidden] { display: none !important; }

.hen-emoji-picker button {
  width: 36px !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 19px !important;
  cursor: pointer;
}

.hen-emoji-picker button:hover { background: #f1f1f1 !important; }

.hen-comment-form .form-submit {
  grid-column: 2;
  grid-row: 5;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-left: 12px;
}

.hen-submit {
  appearance: none;
  min-width: 102px;
  margin: 0 !important;
  padding: 8px 17px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #050505 !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  cursor: pointer;
}

.hen-submit:hover { background: #222 !important; }
.hen-submit:disabled,
.hen-comment-form.is-submitting .hen-submit {
  opacity: .55;
  cursor: wait;
}

.hen-logged-in {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 5px 0 3px;
  color: #777;
  font-size: 11px;
}

.hen-logged-in a { color: #333 !important; text-decoration: none !important; }

.hen-cancel-reply {
  margin: 0 0 7px;
  color: var(--hen-muted);
  font-size: 12px;
}

.hen-cancel-reply a { color: #f09a9a !important; text-decoration: none !important; }

/* Sort + search */
.hen-comments__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  min-height: 30px;
}

.hen-sort-wrap {
  position: relative;
}

.hen-sort {
  appearance: none;
  height: 29px;
  margin: 0 !important;
  padding: 0 19px 0 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: var(--hen-text) !important;
  box-shadow: none !important;
  font-size: 12px !important;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--hen-muted) 50%), linear-gradient(135deg, var(--hen-muted) 50%, transparent 50%) !important;
  background-position: calc(100% - 7px) 12px, calc(100% - 3px) 12px !important;
  background-size: 4px 4px, 4px 4px !important;
  background-repeat: no-repeat !important;
}

.hen-sort option {
  color: #111;
  background: #fff;
}

.hen-search-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.hen-search-input {
  width: min(240px, 50vw) !important;
  height: 31px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 1px solid var(--hen-line-strong) !important;
  border-radius: 999px !important;
  outline: none !important;
  background: rgba(255,255,255,.04) !important;
  color: var(--hen-text) !important;
  box-shadow: none !important;
  font-size: 12px !important;
}

.hen-search-input::placeholder { color: var(--hen-muted); }
.hen-search-input[hidden] { display: none !important; }

.hen-search-toggle {
  appearance: none;
  display: inline-flex !important;
  width: 29px !important;
  height: 29px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #bebebe !important;
  box-shadow: none !important;
  cursor: pointer;
}

.hen-search-toggle:hover { color: #fff !important; }
.hen-search-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

/* Comment list */
.hen-comment-list,
.hen-comment-list .children {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hen-comment {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hen-comment[hidden] { display: none !important; }

.hen-comment__article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 13px 0;
}

.hen-comment__avatar,
.hen-avatar {
  width: 34px !important;
  height: 34px !important;
}

.hen-avatar {
  display: block;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  object-fit: cover;
}

.hen-comment__body { min-width: 0; }

.hen-comment__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  min-height: 19px;
}

.hen-comment__author,
.hen-comment__author a {
  color: var(--hen-text) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}

.hen-comment__time {
  color: var(--hen-muted) !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}

.hen-comment__content {
  margin-top: 4px;
  color: var(--hen-text);
  font-size: 14px;
  line-height: 1.48;
  overflow-wrap: anywhere;
}

.hen-comment__content p {
  margin: 0 0 7px !important;
  color: inherit !important;
}

.hen-comment__content p:last-child { margin-bottom: 0 !important; }
.hen-comment__content img { max-width: 100%; height: auto; border-radius: 8px; }
.hen-comment-media {
  display: block;
  width: fit-content;
  max-width: min(100%, 560px);
  margin: 8px 0 3px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255,255,255,.035);
}
.hen-comment-media img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 10px !important;
}
.hen-comment__content blockquote { margin: 7px 0 !important; padding: 2px 0 2px 10px; border-left: 2px solid var(--hen-faint); color: #cacaca; }

.hen-comment__pending {
  display: inline-block;
  margin: 4px 0 0 !important;
  color: #e6bd65;
  font-size: 11px;
}

.hen-comment__actions {
  display: flex;
  align-items: center;
  gap: 2px;
  min-height: 23px;
  margin-top: 5px;
  color: var(--hen-muted);
}

.hen-vote {
  appearance: none;
  display: inline-flex !important;
  width: 20px !important;
  height: 22px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 5px !important;
  background: transparent !important;
  color: var(--hen-muted) !important;
  box-shadow: none !important;
  cursor: pointer;
}

.hen-vote svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linejoin: round;
}

.hen-vote:hover { color: #d6d6d6 !important; }
.hen-vote.is-active { color: var(--hen-accent) !important; }
.hen-vote.is-busy { opacity: .45; pointer-events: none; }

.hen-vote-score {
  min-width: 12px;
  color: var(--hen-muted);
  font-size: 10px;
  text-align: center;
}

.hen-comment__actions .comment-reply-link,
.hen-comment__edit a {
  margin-left: 6px;
  color: var(--hen-muted) !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  text-decoration: none !important;
}

.hen-comment__actions .comment-reply-link:hover,
.hen-comment__edit a:hover { color: var(--hen-text) !important; }

.hen-comment-list .children {
  margin-left: 44px !important;
  padding-left: 12px !important;
  border-left: 1px solid var(--hen-line);
}

.hen-comment-list .children .hen-comment__article {
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  padding: 11px 0;
}

.hen-comment-list .children .hen-comment__avatar,
.hen-comment-list .children .hen-avatar {
  width: 30px !important;
  height: 30px !important;
}

.hen-search-empty,
.hen-comments__empty,
.hen-comments__closed {
  margin: 20px 0 !important;
  color: var(--hen-muted);
  font-size: 13px;
}

.hen-comments__pagination {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.hen-comments__pagination .page-numbers {
  display: inline-flex;
  min-width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  margin: 0 2px;
  border-radius: 7px;
  color: var(--hen-muted);
  text-decoration: none;
}

.hen-comments__pagination .current,
.hen-comments__pagination .page-numbers:hover {
  background: var(--hen-surface);
  color: var(--hen-text);
}

/* WordPress reply form moved under a comment */
.hen-comment .comment-respond {
  margin: 6px 0 13px 44px;
}

@media (max-width: 720px) {
  .hen-comments { margin-top: 28px; }
  .hen-reactions { margin-bottom: 30px; }
  .hen-reactions__items { gap: 13px; }
  .hen-reaction { min-width: 43px; }
  .hen-reaction__emoji { font-size: 27px; }
  .hen-reaction__label { font-size: 10px; }
  .hen-social-login { justify-content: flex-start; }
  .hen-social-login__or { display: none; }
}

@media (max-width: 560px) {
  .hen-comments__header { margin-bottom: 14px; }
  .hen-reactions__title { font-size: 16px !important; }
  .hen-reactions__items { gap: 8px; }
  .hen-reaction { min-width: 39px; padding-left: 0 !important; padding-right: 0 !important; }
  .hen-reaction__emoji { font-size: 24px; }
  .hen-reaction__top { gap: 4px; min-height: 31px; }
  .hen-reaction__count { font-size: 11px; }

  .hen-comment-form {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .hen-comment-form .hen-field--comment { margin-left: -10px; margin-right: -10px; }
  .hen-field--comment textarea { padding-left: 12px !important; padding-right: 12px !important; }
  .hen-fields-row { border-radius: 12px; }
  .hen-fields-row.is-email-collapsed { grid-template-columns: minmax(0, 1fr) auto; }
  .hen-fields-row.is-email-open { grid-template-columns: 1fr; }
  .hen-fields-row.is-email-open .hen-field--email { border-left: 0; border-top: 1px solid #dedede; }
  .hen-email-toggle small { display: none; }
  .hen-toolbar { gap: 0; overflow-x: auto; }
  .hen-submit { min-width: 86px; padding-left: 13px !important; padding-right: 13px !important; }

  .hen-comment__article { grid-template-columns: 30px minmax(0, 1fr); gap: 9px; }
  .hen-comment__avatar, .hen-avatar { width: 30px !important; height: 30px !important; }
  .hen-comment-list .children { margin-left: 20px !important; padding-left: 9px !important; }
  .hen-comment .comment-respond { margin-left: 20px; }
}

/* Lightweight active-viewer indicator (last 5 minutes) */
.hen-comments__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.hen-online-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(25, 170, 78, .08);
  color: #8fd9a7;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.hen-online-badge[hidden] { display: none !important; }
.hen-online-dot { width: 5px; height: 5px; border-radius: 50%; background: #20c55a; }

/* v1.5: guest identity + login disclosure */
.hen-login-menu {
  position: relative;
  margin: 0;
  padding: 0;
}

.hen-login-menu > summary {
  list-style: none;
}

.hen-login-menu > summary::-webkit-details-marker {
  display: none;
}

.hen-login-summary {
  display: inline-flex;
  align-items: center;
  margin: 0 !important;
  padding: 3px 5px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--hen-text) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  cursor: pointer;
  user-select: none;
}

.hen-login-summary:hover,
.hen-login-menu[open] > .hen-login-summary {
  opacity: .72;
}

.hen-login-menu .hen-social-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  min-width: 330px;
  margin: 0 !important;
  padding: 12px 14px !important;
  border: 1px solid var(--hen-line-strong) !important;
  border-radius: 12px !important;
  background: #242627 !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.28) !important;
}

.hen-login-menu .hen-social-login {
  justify-content: flex-start;
}

.hen-fields-row--name-only {
  grid-template-columns: minmax(0, 1fr) !important;
}

.hen-fields-row--name-only .hen-field--author {
  width: 100%;
}

.hen-field input,
.hen-field input:focus {
  color: #1f2125 !important;
  caret-color: #1f2125 !important;
  -webkit-text-fill-color: #1f2125 !important;
  opacity: 1 !important;
}

.hen-field input::placeholder {
  color: #747980 !important;
  -webkit-text-fill-color: #747980 !important;
  opacity: 1 !important;
}

/* Chrome/Edge/Safari autofill can otherwise produce pale text on a pale field. */
.hen-field input:-webkit-autofill,
.hen-field input:-webkit-autofill:hover,
.hen-field input:-webkit-autofill:focus,
.hen-field input:-webkit-autofill:active {
  -webkit-text-fill-color: #1f2125 !important;
  caret-color: #1f2125 !important;
  -webkit-box-shadow: 0 0 0 1000px #f1f1f1 inset !important;
  box-shadow: 0 0 0 1000px #f1f1f1 inset !important;
  transition: background-color 9999s ease-out 0s;
}

@media (max-width: 620px) {
  .hen-login-menu .hen-social-panel {
    right: 0;
    min-width: min(330px, calc(100vw - 36px));
  }
}


/* v1.6: automatic light/dark palette.
   JavaScript adds hen-theme-light after reading the actual page background,
   so this follows site theme toggles instead of only the OS color scheme. */
.hen-comments.hen-theme-light {
  --hen-accent: #15171a;
  --hen-text: #202226;
  --hen-muted: #6f747b;
  --hen-faint: #a2a6ac;
  --hen-line: rgba(0, 0, 0, .09);
  --hen-line-strong: rgba(0, 0, 0, .15);
  --hen-surface: rgba(0, 0, 0, .045);
  color: var(--hen-text);
}

.hen-comments.hen-theme-light .hen-comments__title,
.hen-comments.hen-theme-light .hen-login-summary,
.hen-comments.hen-theme-light .hen-sort,
.hen-comments.hen-theme-light .hen-comment__author,
.hen-comments.hen-theme-light .hen-comment__author a,
.hen-comments.hen-theme-light .hen-comment__content {
  color: var(--hen-text) !important;
}

.hen-comments.hen-theme-light .hen-comment__time,
.hen-comments.hen-theme-light .hen-comment__actions,
.hen-comments.hen-theme-light .hen-vote,
.hen-comments.hen-theme-light .hen-vote-score,
.hen-comments.hen-theme-light .hen-comment__actions .comment-reply-link,
.hen-comments.hen-theme-light .hen-comment__edit a,
.hen-comments.hen-theme-light .hen-search-empty,
.hen-comments.hen-theme-light .hen-comments__empty,
.hen-comments.hen-theme-light .hen-comments__closed,
.hen-comments.hen-theme-light .hen-social-login__label,
.hen-comments.hen-theme-light .hen-social-login__or {
  color: var(--hen-muted) !important;
}

.hen-comments.hen-theme-light .hen-search-toggle {
  color: #777d84 !important;
}

.hen-comments.hen-theme-light .hen-search-toggle:hover,
.hen-comments.hen-theme-light .hen-vote:hover,
.hen-comments.hen-theme-light .hen-comment__actions .comment-reply-link:hover,
.hen-comments.hen-theme-light .hen-comment__edit a:hover {
  color: #17191c !important;
}

.hen-comments.hen-theme-light .hen-search-input {
  background: rgba(0,0,0,.035) !important;
  border-color: rgba(0,0,0,.13) !important;
  color: #202226 !important;
}

.hen-comments.hen-theme-light .hen-comment-list .children {
  border-left-color: rgba(0,0,0,.09);
}

.hen-comments.hen-theme-light .hen-comment-media {
  background: rgba(0,0,0,.035);
}

.hen-comments.hen-theme-light .hen-comment__content blockquote {
  color: #555b62;
  border-left-color: #b8bcc1;
}

.hen-comments.hen-theme-light .hen-login-menu .hen-social-panel {
  border-color: rgba(0,0,0,.13) !important;
  background: #ffffff !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.14) !important;
}

.hen-comments.hen-theme-light .hen-social-button {
  border-color: rgba(0,0,0,.12) !important;
  background: rgba(0,0,0,.025) !important;
}

.hen-comments.hen-theme-light .hen-social-button:hover {
  border-color: rgba(0,0,0,.22) !important;
  background: rgba(0,0,0,.07) !important;
}

.hen-comments.hen-theme-light .hen-social-button--x,
.hen-comments.hen-theme-light .hen-social-button--google {
  color: #202226 !important;
}

/* Reactions intentionally stay readable on their dark reaction strip in both modes. */
.hen-comments .hen-reactions__title,
.hen-comments .hen-reaction,
.hen-comments .hen-reaction__count,
.hen-comments .hen-reaction__label {
  color: #f5f5f5 !important;
}

/* Immediate/optimistic comment shown while the AJAX request is still running. */
.hen-comment--optimistic {
  opacity: .72;
}

.hen-comment--optimistic .hen-comment__article {
  animation: hen-comment-in .16s ease-out both;
}

.hen-comment__posting {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--hen-muted);
  font-size: 10px;
  line-height: 1.2;
}

.hen-comment__posting::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: hen-posting-pulse 1s ease-in-out infinite;
}

@keyframes hen-posting-pulse {
  0%, 100% { opacity: .32; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes hen-comment-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.hen-avatar--letter {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(127,127,127,.18);
  color: var(--hen-text);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}


/* v1.7: true login pop-out + per-comment reactions */
.hen-comments__header {
  position: relative;
  z-index: 500 !important;
  overflow: visible !important;
}

.hen-login-menu {
  z-index: 1000 !important;
}

.hen-login-menu .hen-social-panel {
  z-index: 2147483000 !important;
  max-width: calc(100vw - 24px);
}

.hen-comment__actions {
  overflow: visible !important;
}

.hen-comment-react-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.hen-comment-react-toggle {
  appearance: none;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--hen-muted) !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  cursor: pointer;
}

.hen-comment-react-toggle:hover,
.hen-comment-react-toggle[aria-expanded="true"] {
  color: var(--hen-text) !important;
}

.hen-comment-react-picker {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  z-index: 1000;
  display: flex;
  gap: 4px;
  transform: translateX(-50%);
  margin: 0 !important;
  padding: 6px !important;
  border: 1px solid var(--hen-line-strong) !important;
  border-radius: 999px !important;
  background: #242627 !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.28) !important;
  white-space: nowrap;
}

.hen-comment-react-picker[hidden] {
  display: none !important;
}

.hen-comment-react-choice {
  appearance: none;
  display: inline-flex !important;
  width: 30px !important;
  height: 30px !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 19px !important;
  line-height: 1 !important;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease;
}

.hen-comment-react-choice:hover {
  transform: translateY(-2px) scale(1.12);
  background: rgba(255,255,255,.08) !important;
}

.hen-comment-react-choice.is-active {
  background: rgba(255,255,255,.12) !important;
  transform: scale(1.08);
}

.hen-comment-react-menu.is-busy,
[data-comment-reaction-root].is-busy {
  opacity: .58;
  pointer-events: none;
}

.hen-comment-reaction-summary {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.hen-comment-reaction-summary[hidden] {
  display: none !important;
}

.hen-comment-reaction-chip {
  appearance: none;
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  min-height: 24px;
  margin: 0 !important;
  padding: 2px 7px !important;
  border: 1px solid var(--hen-line) !important;
  border-radius: 999px !important;
  background: var(--hen-surface) !important;
  color: var(--hen-muted) !important;
  box-shadow: none !important;
  font-size: 11px !important;
  line-height: 1 !important;
  cursor: pointer;
}

.hen-comment-reaction-chip:hover,
.hen-comment-reaction-chip.is-active {
  border-color: var(--hen-line-strong) !important;
  color: var(--hen-text) !important;
}

.hen-comment-reaction-chip[hidden] {
  display: none !important;
}

.hen-comments.hen-theme-light .hen-comment-react-picker {
  border-color: rgba(0,0,0,.13) !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.14) !important;
}

.hen-comments.hen-theme-light .hen-comment-react-choice:hover,
.hen-comments.hen-theme-light .hen-comment-react-choice.is-active {
  background: rgba(0,0,0,.07) !important;
}

.hen-comments.hen-theme-light .hen-comment-react-toggle,
.hen-comments.hen-theme-light .hen-comment-reaction-chip {
  color: var(--hen-muted) !important;
}

.hen-comments.hen-theme-light .hen-comment-react-toggle:hover,
.hen-comments.hen-theme-light .hen-comment-react-toggle[aria-expanded="true"],
.hen-comments.hen-theme-light .hen-comment-reaction-chip:hover,
.hen-comments.hen-theme-light .hen-comment-reaction-chip.is-active {
  color: var(--hen-text) !important;
}

@media (max-width: 620px) {
  .hen-comment-react-picker {
    left: 0;
    transform: none;
  }
}


/* Owner edit/delete controls */
.hen-comment-edit-button,
.hen-comment-delete-button,
.hen-inline-editor__cancel,
.hen-inline-editor__save {
  appearance: none;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font: inherit;
  cursor: pointer;
}

.hen-comment-edit-button,
.hen-comment-delete-button {
  margin-left: 6px !important;
  padding: 0 !important;
  color: var(--hen-muted) !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
}

.hen-comment-edit-button:hover { color: var(--hen-text) !important; }
.hen-comment-delete-button:hover { color: var(--hen-danger) !important; }
.hen-comment-delete-button:disabled { opacity: .45; pointer-events: none; }

.hen-inline-editor {
  margin: 7px 0 5px;
}

.hen-inline-editor[hidden] { display: none !important; }

.hen-inline-editor__textarea {
  display: block !important;
  width: 100% !important;
  min-height: 92px !important;
  margin: 0 !important;
  padding: 10px 11px !important;
  resize: vertical;
  border: 1px solid var(--hen-line-strong) !important;
  border-radius: 9px !important;
  outline: 0 !important;
  background: rgba(255,255,255,.035) !important;
  color: var(--hen-text) !important;
  box-shadow: none !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.hen-inline-editor__textarea:focus {
  border-color: rgba(255,255,255,.28) !important;
}

.hen-inline-editor__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 7px;
}

.hen-inline-editor__status {
  margin-right: auto;
  color: var(--hen-muted);
  font-size: 11px;
}

.hen-inline-editor__cancel,
.hen-inline-editor__save {
  padding: 4px 8px !important;
  border-radius: 7px !important;
  color: var(--hen-muted) !important;
  font-size: 11px !important;
}

.hen-inline-editor__save {
  background: var(--hen-text) !important;
  color: #111 !important;
  font-weight: 700 !important;
}

.hen-inline-editor__save:disabled { opacity: .5; pointer-events: none; }
.hen-comment__edited { color: var(--hen-faint); font-size: 10px; }
.hen-comment-deleted { color: var(--hen-muted); font-style: italic; }
.hen-comment--deleted .hen-comment__author { color: var(--hen-muted) !important; }

.hen-comments.hen-theme-light .hen-inline-editor__textarea {
  border-color: rgba(0,0,0,.14) !important;
  background: rgba(0,0,0,.025) !important;
  color: var(--hen-text) !important;
}
.hen-comments.hen-theme-light .hen-inline-editor__textarea:focus {
  border-color: rgba(0,0,0,.28) !important;
}
.hen-comments.hen-theme-light .hen-inline-editor__save {
  background: #111 !important;
  color: #fff !important;
}

/* v1.8.6 Classic Flat UI -------------------------------------------------- */
.hen-comments.hen-flat-ui {
  --hen-bg: transparent;
  --hen-compact-input: #ffffff;
  --hen-compact-input-text: #1f2125;
  --hen-flat-separator: rgba(255,255,255,.06);
  --hen-flat-hover: rgba(255,255,255,.035);
  max-width: 1120px;
  margin-top: 34px;
  padding-bottom: 18px;
  background: transparent !important;
}

.hen-flat-ui .hen-reactions {
  margin: 0 0 46px;
  padding: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
}

.hen-flat-ui .hen-reactions__title {
  margin-bottom: 16px !important;
  font-size: 17px !important;
}

.hen-flat-ui .hen-reactions__items {
  gap: 20px;
}

.hen-flat-ui .hen-reaction {
  min-width: 54px;
  padding: 2px 4px !important;
  border: 0 !important;
  background: transparent !important;
}

.hen-flat-ui .hen-reaction:hover {
  transform: translateY(-1px);
}

.hen-flat-ui .hen-reaction.is-active {
  opacity: 1;
}

.hen-flat-ui .hen-reaction.is-active .hen-reaction__emoji {
  transform: scale(1.12);
}

.hen-flat-ui .hen-reaction__emoji {
  font-size: 29px;
}

.hen-flat-ui .hen-reaction__count {
  font-size: 12px;
}

.hen-flat-ui .hen-reaction__label {
  font-size: 11px;
}

.hen-flat-ui .hen-comments__header {
  position: relative;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 13px;
  padding: 0;
  overflow: visible !important;
}

.hen-flat-ui .hen-comments__heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hen-flat-ui .hen-comments__title {
  font-size: 16px !important;
  font-weight: 700 !important;
}

.hen-flat-ui .hen-online-badge {
  padding: 4px 7px;
  font-size: 8px;
}

.hen-flat-ui .hen-header-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hen-muted);
  font-size: 11px;
}

.hen-flat-ui .hen-header-user a {
  color: var(--hen-muted) !important;
  text-decoration: none !important;
}

.hen-flat-ui .hen-login-summary {
  padding: 3px 5px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--hen-text) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

.hen-flat-ui .hen-login-menu {
  position: relative;
  z-index: 1000;
}

.hen-flat-ui .hen-login-menu .hen-social-panel {
  z-index: 2147483000 !important;
  min-width: 330px;
  max-width: calc(100vw - 24px);
  padding: 12px 14px !important;
  border: 1px solid var(--hen-line-strong) !important;
  border-radius: 12px !important;
  background: #242627 !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.28) !important;
}

.hen-flat-ui .hen-compact-composer {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0 0 12px;
}

.hen-flat-ui .hen-composer-avatar {
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  overflow: hidden;
  border-radius: 50%;
  background: rgba(127,127,127,.18);
}

.hen-flat-ui .hen-composer-avatar__image,
.hen-flat-ui .hen-composer-avatar .avatar {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
}

.hen-flat-ui .hen-composer-avatar__letter {
  color: var(--hen-text);
  font-size: 12px;
  font-weight: 700;
}

.hen-flat-ui .hen-comments__composer {
  min-width: 0;
  margin: 0;
}

.hen-flat-ui .hen-comment-form {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: var(--hen-compact-input) !important;
  box-shadow: none !important;
  color: var(--hen-compact-input-text) !important;
}

.hen-flat-ui .hen-comment-form .hen-field--comment {
  grid-column: 1 / -1;
  grid-row: 1;
  margin: 0;
  border: 0;
}

.hen-flat-ui .hen-field--comment textarea {
  display: block !important;
  width: 100% !important;
  min-height: 42px !important;
  max-height: 240px;
  margin: 0 !important;
  padding: 11px 15px !important;
  resize: vertical;
  border: 0 !important;
  border-radius: 18px !important;
  outline: 0 !important;
  background: transparent !important;
  color: var(--hen-compact-input-text) !important;
  box-shadow: none !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.hen-flat-ui .hen-field--comment textarea::placeholder {
  color: #8d9298 !important;
}

.hen-flat-ui .hen-comment-form.is-composer-open {
  border: 1px solid rgba(0,0,0,.08) !important;
  border-radius: 18px !important;
  padding: 0 10px 7px !important;
}

.hen-flat-ui .hen-comment-form.is-composer-open .hen-field--comment {
  margin: 0 -10px;
  border-bottom: 1px solid #dddddd;
}

.hen-flat-ui .hen-comment-form.is-composer-open .hen-field--comment textarea {
  min-height: 92px !important;
  padding: 14px 14px 12px !important;
  border-radius: 18px 18px 0 0 !important;
}

.hen-flat-ui .hen-comment-form:not(.is-composer-open) .hen-fields-row,
.hen-flat-ui .hen-comment-form:not(.is-composer-open) .hen-toolbar,
.hen-flat-ui .hen-comment-form:not(.is-composer-open) .form-submit,
.hen-flat-ui .hen-comment-form:not(.is-composer-open) .hen-logged-in,
.hen-flat-ui .hen-comment-form:not(.is-composer-open) .hen-form-message,
.hen-flat-ui .hen-comment-form:not(.is-composer-open) .hen-media-tray {
  display: none !important;
}

.hen-flat-ui .hen-fields-row {
  grid-column: 1 / -1;
  grid-row: 2;
  display: block;
  margin: 5px 0 3px;
  overflow: visible;
  border-radius: 999px;
  background: #f0f0f0;
}

.hen-flat-ui .hen-field input {
  height: 32px !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #1f2125 !important;
  -webkit-text-fill-color: #1f2125 !important;
  font-size: 12px !important;
}

.hen-flat-ui .hen-form-message {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 4px 0 2px;
}

.hen-flat-ui .hen-media-tray {
  grid-column: 1 / -1;
  grid-row: 4;
}

.hen-flat-ui .hen-toolbar {
  grid-column: 1;
  grid-row: 5;
  min-height: 34px;
  padding: 2px 0 0;
}

.hen-flat-ui .hen-tool {
  width: 25px !important;
  height: 25px !important;
  min-width: 25px !important;
  border-radius: 5px !important;
  color: #111 !important;
  font-size: 15px !important;
}

.hen-flat-ui .hen-tool--gif {
  width: 29px !important;
  min-width: 29px !important;
  height: 15px !important;
  font-size: 8px !important;
}

.hen-flat-ui .hen-comment-form .form-submit {
  grid-column: 2;
  grid-row: 5;
  align-self: center;
  padding-left: 10px;
}

.hen-flat-ui .hen-submit {
  min-width: 90px;
  padding: 7px 15px !important;
  border-radius: 999px !important;
  background: #080808 !important;
  color: #fff !important;
  font-size: 11px !important;
}

.hen-flat-ui .hen-submit:hover {
  background: #222 !important;
}

.hen-flat-ui .hen-logged-in {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 5px 3px 2px;
  color: #666;
  font-size: 10px;
}

.hen-flat-ui .hen-cancel-reply {
  margin: 0 0 6px;
  font-size: 11px;
}

.hen-flat-ui .hen-comments__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
  margin: 0 0 7px;
  padding: 0;
  border-bottom: 1px solid var(--hen-flat-separator);
}

.hen-flat-ui .hen-sort {
  height: 27px;
  padding-right: 18px !important;
  font-size: 11px !important;
}

.hen-flat-ui .hen-search-toggle {
  width: 28px !important;
  height: 28px !important;
  color: var(--hen-muted) !important;
}

.hen-flat-ui .hen-search-input {
  height: 29px !important;
  font-size: 11px !important;
}

.hen-flat-ui .hen-comment-list,
.hen-flat-ui .hen-comment-list .children {
  list-style: none !important;
}

.hen-flat-ui .hen-comment-list {
  margin: 0 !important;
  padding: 0 !important;
}

.hen-flat-ui .hen-comment {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hen-flat-ui .hen-comment__article {
  grid-template-columns: 30px minmax(0,1fr);
  gap: 9px;
  padding: 11px 0 12px;
  border-bottom: 1px solid var(--hen-flat-separator);
}

.hen-flat-ui .hen-comment__avatar,
.hen-flat-ui .hen-avatar {
  width: 30px !important;
  height: 30px !important;
}

.hen-flat-ui .hen-comment__author,
.hen-flat-ui .hen-comment__author a {
  font-size: 12px !important;
  font-weight: 700 !important;
}

.hen-flat-ui .hen-comment__time {
  font-size: 10px !important;
}

.hen-flat-ui .hen-comment__content {
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.48;
}

.hen-flat-ui .hen-comment__content p {
  margin-bottom: 6px !important;
}

.hen-flat-ui .hen-comment__actions {
  gap: 1px;
  min-height: 21px;
  margin-top: 4px;
}

.hen-flat-ui .hen-vote {
  width: 18px !important;
  height: 20px !important;
}

.hen-flat-ui .hen-vote svg {
  width: 12px;
  height: 12px;
}

.hen-flat-ui .hen-vote-score {
  min-width: 10px;
  font-size: 9px;
}

.hen-flat-ui .hen-comment-react-toggle,
.hen-flat-ui .hen-comment__actions .comment-reply-link,
.hen-flat-ui .hen-comment-edit-button,
.hen-flat-ui .hen-comment-delete-button,
.hen-flat-ui .hen-comment__edit a {
  margin-left: 5px !important;
  font-size: 10px !important;
}

.hen-flat-ui .hen-comment-reaction-summary {
  margin-top: 4px;
}

.hen-flat-ui .hen-comment-reaction-chip {
  min-height: 21px;
  padding: 2px 6px !important;
  font-size: 10px !important;
}

.hen-flat-ui .hen-comment-list .children {
  margin-left: 34px !important;
  padding-left: 10px !important;
  border-left: 1px solid var(--hen-flat-separator);
}

.hen-flat-ui .hen-comment-list .children .hen-comment__article {
  grid-template-columns: 28px minmax(0,1fr);
  padding: 9px 0 10px;
}

.hen-flat-ui .hen-comment-list .children .hen-comment__avatar,
.hen-flat-ui .hen-comment-list .children .hen-avatar {
  width: 28px !important;
  height: 28px !important;
}

.hen-flat-ui .hen-comment .comment-respond {
  margin: 5px 0 10px 34px;
}

.hen-flat-ui .hen-comment-media {
  max-width: min(100%, 560px);
  margin-top: 6px;
  border-radius: 7px;
}

.hen-flat-ui .hen-comment-media img {
  max-height: 520px;
  border-radius: 7px !important;
}

.hen-flat-ui .hen-search-empty,
.hen-flat-ui .hen-comments__empty,
.hen-flat-ui .hen-comments__closed {
  margin: 14px 0 !important;
  font-size: 12px;
}

/* Make optimistic posting look like a normal newly posted comment immediately. */
.hen-flat-ui .hen-comment--optimistic {
  opacity: 1;
}

.hen-flat-ui .hen-comment--optimistic .hen-comment__posting {
  display: none !important;
}

/* Light mode keeps the same flat structure with a softer white/gray palette. */
.hen-comments.hen-flat-ui.hen-theme-light {
  --hen-compact-input: #ffffff;
  --hen-compact-input-text: #202226;
  --hen-flat-separator: rgba(0,0,0,.07);
  --hen-flat-hover: rgba(0,0,0,.03);
}

.hen-comments.hen-flat-ui.hen-theme-light .hen-login-menu .hen-social-panel {
  background: #ffffff !important;
}

.hen-comments.hen-flat-ui.hen-theme-light .hen-comment-form.is-composer-open {
  border-color: rgba(0,0,0,.10) !important;
}

.hen-comments.hen-flat-ui.hen-theme-light .hen-field--comment textarea,
.hen-comments.hen-flat-ui.hen-theme-light .hen-field input {
  color: #202226 !important;
}

@media (max-width: 720px) {
  .hen-flat-ui .hen-reactions { margin-bottom: 34px; }
  .hen-flat-ui .hen-reactions__items { gap: 11px; }
  .hen-flat-ui .hen-reaction { min-width: 44px; }
  .hen-flat-ui .hen-reaction__emoji { font-size: 26px; }
}

@media (max-width: 560px) {
  .hen-comments.hen-flat-ui { margin-top: 26px; }
  .hen-flat-ui .hen-compact-composer { grid-template-columns: 30px minmax(0,1fr); gap: 8px; }
  .hen-flat-ui .hen-composer-avatar,
  .hen-flat-ui .hen-composer-avatar__image,
  .hen-flat-ui .hen-composer-avatar .avatar { width: 30px !important; height: 30px !important; }
  .hen-flat-ui .hen-comment__article { grid-template-columns: 28px minmax(0,1fr); }
  .hen-flat-ui .hen-comment__avatar,
  .hen-flat-ui .hen-avatar { width: 28px !important; height: 28px !important; }
  .hen-flat-ui .hen-comment-list .children { margin-left: 22px !important; padding-left: 8px !important; }
  .hen-flat-ui .hen-comment .comment-respond { margin-left: 22px; }
}


/* v1.8.8 — owner-visible moderation state. */
.hen-flat-ui .hen-comment__pending {
  display: inline-flex !important;
  align-items: center;
  min-height: 18px;
  margin: 0 0 0 7px !important;
  padding: 2px 7px;
  border: 1px solid rgba(230,189,101,.28);
  border-radius: 999px;
  background: rgba(230,189,101,.08);
  color: #e6bd65 !important;
  font-size: 9px !important;
  font-weight: 700;
  line-height: 1.2 !important;
  letter-spacing: .02em;
  vertical-align: middle;
}

.hen-flat-ui .hen-comment--pending,
.hen-flat-ui .comment-awaiting-moderation {
  opacity: 1 !important;
}

/* Pending feedback must remain visible after the compact composer collapses. */
.hen-flat-ui .hen-comment-form:not(.is-composer-open) .hen-form-message.is-pending {
  display: block !important;
}


/* v1.8.9 — keep compact composer open while interacting with toolbar/emoji picker. */


/* Social login clarity refresh */
.hen-login-inline {
  margin-left: auto;
  max-width: 430px;
}

.hen-social-panel {
  margin: 0;
}

.hen-social-login-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.hen-social-login-card__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--hen-muted);
}

.hen-social-login-card__hint {
  font-size: 12px;
  line-height: 1.45;
  color: var(--hen-muted);
  max-width: 420px;
}

.hen-social-login {
  justify-content: flex-start;
  gap: 10px;
}

.hen-social-login__providers {
  gap: 10px;
  flex-wrap: wrap;
}

.hen-social-button {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: rgba(255,255,255,.05) !important;
}

.hen-social-button:hover {
  transform: translateY(-1px) scale(1.02);
}

.hen-social-icon {
  width: 20px;
  height: 20px;
}

.hen-social-button--google {
  background: #db4437 !important;
  border-color: #db4437 !important;
  color: #fff !important;
}

.hen-social-button--discord {
  background: #5865f2 !important;
  border-color: #5865f2 !important;
  color: #fff !important;
}

.hen-social-button--disqus {
  background: #2e9fff !important;
  border-color: #2e9fff !important;
  color: #fff !important;
}

.hen-social-button--facebook {
  background: #1877f2 !important;
  border-color: #1877f2 !important;
  color: #fff !important;
}

.hen-social-button--x {
  background: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
}

.hen-social-button.is-disabled {
  opacity: .45;
  filter: grayscale(.2);
}

.hen-social-login__guest {
  font-size: 11px;
  color: var(--hen-muted);
}

.hen-comments__header {
  align-items: flex-start;
  gap: 14px;
}

@media (max-width: 900px) {
  .hen-comments__header {
    flex-direction: column;
    align-items: stretch;
  }

  .hen-login-inline {
    margin-left: 0;
    max-width: none;
  }
}

.hen-comments.hen-theme-light .hen-social-button {
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}

.hen-comments.hen-theme-light .hen-social-login-card__eyebrow,
.hen-comments.hen-theme-light .hen-social-login-card__hint,
.hen-comments.hen-theme-light .hen-social-login__guest {
  color: #697489;
}


/* v1.8.13 social login polish */
.hen-comments__header {
  align-items: center;
}

.hen-composer-social {
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.025);
}

.hen-comments.hen-theme-light .hen-composer-social {
  border-color: rgba(20, 28, 45, .08);
  background: #f8fafc;
}

.hen-login-inline,
.hen-social-panel {
  max-width: none;
  width: 100%;
}

.hen-social-login-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.hen-social-login-card__eyebrow {
  display: none;
}

.hen-social-login-card__hint {
  font-size: 13px;
  line-height: 1.4;
  color: #c7cfde;
  margin-right: auto;
  white-space: nowrap;
}

.hen-comments.hen-theme-light .hen-social-login-card__hint,
.hen-comments.hen-theme-light .hen-social-login__guest {
  color: #5f6f86;
}

.hen-social-login {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 1 1 auto;
}

.hen-social-login__providers {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hen-social-button {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  border-radius: 999px !important;
  border: none !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.20), inset 0 0 0 1px rgba(255,255,255,.08);
  background: #2a3240 !important;
  color: #fff !important;
  opacity: 1 !important;
}

.hen-social-button:hover,
.hen-social-button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,.24), inset 0 0 0 1px rgba(255,255,255,.10);
}

.hen-social-button--google {
  background: #db4437 !important;
}
.hen-social-button--discord {
  background: #5865f2 !important;
}
.hen-social-button--disqus {
  background: #2e9fff !important;
}
.hen-social-button--facebook {
  background: #1877f2 !important;
}
.hen-social-button--x {
  background: #111111 !important;
}

.hen-social-button.is-disabled {
  opacity: .4 !important;
  filter: grayscale(.15);
}

.hen-social-icon {
  width: 21px;
  height: 21px;
}

.hen-social-login__guest {
  font-size: 12px;
  color: #9dabc1;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hen-social-login-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .hen-social-login-card__hint {
    white-space: normal;
    margin-right: 0;
  }

  .hen-social-login {
    justify-content: flex-start;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* v1.8.14 — Premium dark card UI, based on the approved mockup ---------------- */
.hen-comments.hen-premium-ui {
  --hen-premium-bg: #0b1117;
  --hen-premium-panel: #0f161d;
  --hen-premium-panel-2: #111a22;
  --hen-premium-panel-3: #0c131a;
  --hen-premium-border: rgba(184, 205, 225, .13);
  --hen-premium-border-strong: rgba(184, 205, 225, .22);
  --hen-premium-text: #f3f6f8;
  --hen-premium-muted: #8997a7;
  --hen-premium-faint: #637181;
  --hen-premium-accent-soft: color-mix(in srgb, var(--hen-accent) 15%, transparent);
  max-width: 1080px;
  margin: 38px auto 0;
  color: var(--hen-premium-text);
}

/* Reaction card */
.hen-premium-ui .hen-reactions {
  margin: 0 0 16px !important;
  padding: 20px 24px 17px !important;
  border: 1px solid var(--hen-premium-border) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.025), transparent 48%),
    linear-gradient(180deg, #0f161d 0%, #0b1218 100%) !important;
  box-shadow: 0 16px 48px rgba(0,0,0,.18) !important;
}

.hen-premium-ui .hen-reactions__title {
  margin: 0 0 14px !important;
  color: var(--hen-premium-text) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: -.01em;
}

.hen-premium-ui .hen-reactions__items {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(70px, 1fr));
  gap: 10px !important;
  max-width: 820px;
  margin: 0 auto;
}

.hen-premium-ui .hen-reaction {
  min-width: 0 !important;
  min-height: 76px;
  padding: 9px 8px 7px !important;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  background: transparent !important;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease !important;
}

.hen-premium-ui .hen-reaction:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(255,255,255,.08) !important;
  background: rgba(255,255,255,.025) !important;
}

.hen-premium-ui .hen-reaction.is-active {
  border-color: color-mix(in srgb, var(--hen-accent) 82%, white 0%) !important;
  background: color-mix(in srgb, var(--hen-accent) 12%, #0d171a 88%) !important;
  box-shadow: inset 0 0 24px color-mix(in srgb, var(--hen-accent) 8%, transparent), 0 0 0 1px color-mix(in srgb, var(--hen-accent) 6%, transparent) !important;
}

.hen-premium-ui .hen-reaction__top {
  min-height: 35px;
  gap: 7px;
}

.hen-premium-ui .hen-reaction__emoji {
  font-size: 29px !important;
  filter: none !important;
}

.hen-premium-ui .hen-reaction__count {
  color: #eef3f7 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

.hen-premium-ui .hen-reaction__label {
  margin-top: 4px;
  color: #cbd4dc !important;
  font-size: 11px !important;
  font-weight: 500 !important;
}

/* Main discussion card */
.hen-premium-ui .hen-discussion-card {
  padding: 20px;
  overflow: visible;
  border: 1px solid var(--hen-premium-border) !important;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% -8%, rgba(255,255,255,.025), transparent 36%),
    linear-gradient(180deg, #0f161d 0%, #0b1218 100%);
  box-shadow: 0 20px 60px rgba(0,0,0,.20);
}

.hen-premium-ui .hen-comments__header {
  position: relative;
  z-index: 30;
  align-items: flex-start !important;
  margin: 0 0 16px !important;
  padding: 0 2px 14px !important;
  border-bottom: 1px solid rgba(255,255,255,.055);
}

.hen-premium-ui .hen-comments__heading-stack {
  min-width: 0;
}

.hen-premium-ui .hen-comments__heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hen-premium-ui .hen-comments__title {
  color: #f4f7f9 !important;
  font-size: 20px !important;
  font-weight: 750 !important;
  letter-spacing: -.025em !important;
}

.hen-premium-ui .hen-comments__subtitle {
  margin: 4px 0 0 !important;
  color: var(--hen-premium-muted) !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}

.hen-premium-ui .hen-online-badge {
  min-height: 22px;
  padding: 4px 8px !important;
  border: 1px solid color-mix(in srgb, var(--hen-accent) 18%, transparent) !important;
  border-radius: 999px !important;
  background: color-mix(in srgb, var(--hen-accent) 12%, transparent) !important;
  color: color-mix(in srgb, var(--hen-accent) 82%, white 18%) !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  letter-spacing: .04em;
}

.hen-premium-ui .hen-online-dot {
  background: var(--hen-accent) !important;
  box-shadow: 0 0 8px color-mix(in srgb, var(--hen-accent) 60%, transparent);
}

.hen-premium-ui .hen-comments__header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hen-premium-ui .hen-comments__controls {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  gap: 8px;
}

.hen-premium-ui .hen-sort {
  height: 38px !important;
  min-width: 104px;
  padding: 0 34px 0 13px !important;
  border: 1px solid var(--hen-premium-border) !important;
  border-radius: 10px !important;
  background-color: #0d141b !important;
  color: #e9eef2 !important;
  font-size: 12px !important;
  box-shadow: none !important;
}

.hen-premium-ui .hen-search-toggle {
  width: 38px !important;
  height: 38px !important;
  border: 1px solid var(--hen-premium-border) !important;
  border-radius: 10px !important;
  background: #0d141b !important;
  color: #8f9caa !important;
}

.hen-premium-ui .hen-search-toggle:hover {
  border-color: var(--hen-premium-border-strong) !important;
  color: #e7edf2 !important;
  background: #111a22 !important;
}

.hen-premium-ui .hen-search-input {
  height: 38px !important;
  border: 1px solid var(--hen-premium-border) !important;
  border-radius: 10px !important;
  background: #0d141b !important;
  color: #eef3f6 !important;
}

.hen-premium-ui .hen-header-user {
  color: var(--hen-premium-muted) !important;
}

.hen-premium-ui .hen-header-user a {
  color: color-mix(in srgb, var(--hen-accent) 72%, white 28%) !important;
}

/* Integrated social sign-in + composer */
.hen-premium-ui .hen-composer-shell {
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--hen-premium-border) !important;
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(255,255,255,.016), rgba(255,255,255,.008));
}

.hen-premium-ui .hen-compact-composer {
  display: block !important;
  margin: 0 !important;
}

.hen-premium-ui .hen-composer-avatar {
  display: none !important;
}

.hen-premium-ui .hen-comments__composer {
  width: 100%;
}

.hen-premium-ui .hen-composer-social {
  margin: 0 0 13px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.hen-premium-ui .hen-social-panel {
  width: 100%;
  margin: 0 !important;
}

.hen-premium-ui .hen-social-login-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  width: 100%;
  padding: 3px 0 0;
}

.hen-premium-ui .hen-social-login-card__eyebrow {
  display: none !important;
}

.hen-premium-ui .hen-social-login-card__hint {
  margin: 0 !important;
  color: #d7dee5 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  text-align: center;
}

.hen-premium-ui .hen-social-login {
  width: auto !important;
  flex: none !important;
  justify-content: center !important;
}

.hen-premium-ui .hen-social-login__providers {
  justify-content: center;
  gap: 10px !important;
}

.hen-premium-ui .hen-social-button {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  box-shadow: 0 7px 18px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.12) !important;
  opacity: 1 !important;
}

.hen-premium-ui .hen-social-button:hover,
.hen-premium-ui .hen-social-button:focus-visible {
  transform: translateY(-2px) !important;
  filter: brightness(1.12) saturate(1.08) !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.16) !important;
}

.hen-premium-ui .hen-social-button--google { background: #ea4335 !important; border-color: #f05a4d !important; color: #fff !important; }
.hen-premium-ui .hen-social-button--discord { background: #5865f2 !important; border-color: #6e78f5 !important; color: #fff !important; }
.hen-premium-ui .hen-social-button--disqus { background: #2e9fff !important; border-color: #51adff !important; color: #fff !important; }
.hen-premium-ui .hen-social-button--facebook { background: #1877f2 !important; border-color: #3c8bf4 !important; color: #fff !important; }
.hen-premium-ui .hen-social-button--x { background: #050505 !important; border-color: #3c434b !important; color: #fff !important; }

.hen-premium-ui .hen-social-icon {
  width: 20px !important;
  height: 20px !important;
}

.hen-premium-ui .hen-social-login__guest {
  margin-top: -1px;
  color: #7f8d9b !important;
  font-size: 10px !important;
  text-align: center;
}

/* Always-present premium composer instead of the old white pill. */
.hen-premium-ui .hen-comment-form,
.hen-premium-ui .hen-comment-form.is-composer-open {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 8px 10px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--hen-premium-text) !important;
}

.hen-premium-ui .hen-comment-form:not(.is-composer-open) .hen-fields-row,
.hen-premium-ui .hen-comment-form:not(.is-composer-open) .hen-toolbar,
.hen-premium-ui .hen-comment-form:not(.is-composer-open) .form-submit,
.hen-premium-ui .hen-comment-form:not(.is-composer-open) .hen-logged-in,
.hen-premium-ui .hen-comment-form:not(.is-composer-open) .hen-form-message {
  display: flex !important;
}

.hen-premium-ui .hen-comment-form:not(.is-composer-open) .hen-media-tray[hidden] {
  display: none !important;
}

.hen-premium-ui .hen-comment-form .hen-field--comment,
.hen-premium-ui .hen-comment-form.is-composer-open .hen-field--comment {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
  margin: 0 !important;
  border: 0 !important;
}

.hen-premium-ui .hen-field--comment textarea,
.hen-premium-ui .hen-comment-form.is-composer-open .hen-field--comment textarea {
  min-height: 92px !important;
  max-height: 300px;
  padding: 13px 14px !important;
  border: 1px solid var(--hen-premium-border-strong) !important;
  border-radius: 11px !important;
  background: #0a1117 !important;
  color: #eef3f6 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.014) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.hen-premium-ui .hen-field--comment textarea::placeholder {
  color: #788696 !important;
}

.hen-premium-ui .hen-field--comment textarea:focus {
  border-color: color-mix(in srgb, var(--hen-accent) 46%, var(--hen-premium-border-strong)) !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--hen-accent) 8%, transparent) !important;
}

.hen-premium-ui .hen-fields-row,
.hen-premium-ui .hen-comment-form.is-composer-open .hen-fields-row {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  display: flex !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.hen-premium-ui .hen-fields-row--name-only .hen-field--author {
  width: min(100%, 500px) !important;
  max-width: 500px;
}

.hen-premium-ui .hen-field input {
  width: 100% !important;
  height: 38px !important;
  padding: 0 12px !important;
  border: 1px solid var(--hen-premium-border) !important;
  border-radius: 10px !important;
  background: #0a1117 !important;
  color: #edf2f5 !important;
  -webkit-text-fill-color: #edf2f5 !important;
  font-size: 12px !important;
}

.hen-premium-ui .hen-field input::placeholder {
  color: #748292 !important;
}

.hen-premium-ui .hen-field input:focus {
  border-color: color-mix(in srgb, var(--hen-accent) 46%, var(--hen-premium-border-strong)) !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--hen-accent) 8%, transparent) !important;
}

.hen-premium-ui .hen-toolbar {
  grid-column: 1 !important;
  grid-row: 5 !important;
  display: flex !important;
  min-height: 36px !important;
  align-items: center;
  gap: 2px;
  padding: 2px 0 0 !important;
}

.hen-premium-ui .hen-tool {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  border: 1px solid transparent !important;
  border-radius: 7px !important;
  background: transparent !important;
  color: #8c9aa8 !important;
}

.hen-premium-ui .hen-tool:hover {
  border-color: var(--hen-premium-border) !important;
  background: rgba(255,255,255,.025) !important;
  color: #e9eff3 !important;
}

.hen-premium-ui .hen-tool svg {
  stroke: currentColor !important;
}

.hen-premium-ui .hen-comment-form .form-submit {
  grid-column: 2 !important;
  grid-row: 5 !important;
  align-self: center;
  padding: 0 !important;
}

.hen-premium-ui .hen-submit {
  min-width: 132px !important;
  min-height: 39px !important;
  padding: 0 18px !important;
  border: 1px solid color-mix(in srgb, var(--hen-accent) 70%, white 0%) !important;
  border-radius: 9px !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--hen-accent) 92%, white 8%), var(--hen-accent)) !important;
  color: #06120f !important;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--hen-accent) 18%, transparent), inset 0 1px 0 rgba(255,255,255,.22) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.hen-premium-ui .hen-submit:hover {
  filter: brightness(1.08) saturate(1.03);
  transform: translateY(-1px);
}

.hen-premium-ui .hen-logged-in {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  margin: 0 !important;
  color: #7f8c9a !important;
  font-size: 10px !important;
}

.hen-premium-ui .hen-form-message {
  grid-column: 1 / -1 !important;
  grid-row: 3 !important;
}

.hen-premium-ui .hen-media-tray {
  grid-column: 1 / -1 !important;
  grid-row: 4 !important;
}

/* Pending notice */
.hen-premium-ui .hen-submission-notice {
  margin: 0 0 12px !important;
  border: 1px solid rgba(230,189,101,.20) !important;
  border-radius: 10px !important;
  background: rgba(230,189,101,.075) !important;
  color: #e8ca85 !important;
  font-size: 11px !important;
}

/* Comment cards */
.hen-premium-ui .hen-comment-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 0 !important;
}

.hen-premium-ui .hen-comment-list > .hen-comment {
  overflow: visible;
}

.hen-premium-ui .hen-comment-list > .hen-comment > .hen-comment__article {
  grid-template-columns: 38px minmax(0, 1fr) !important;
  gap: 11px !important;
  padding: 13px !important;
  border: 1px solid var(--hen-premium-border) !important;
  border-radius: 12px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.014), rgba(255,255,255,.006)) !important;
  box-shadow: none !important;
}

.hen-premium-ui .hen-comment-list > .hen-comment > .hen-comment__article:hover {
  border-color: rgba(184,205,225,.18) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.019), rgba(255,255,255,.008)) !important;
}

.hen-premium-ui .hen-comment__avatar,
.hen-premium-ui .hen-avatar {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
}

.hen-premium-ui .hen-avatar {
  border: 1px solid color-mix(in srgb, var(--hen-accent) 45%, rgba(255,255,255,.08)) !important;
  background: color-mix(in srgb, var(--hen-accent) 10%, #101922 90%) !important;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.015);
}

.hen-premium-ui .hen-comment__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.hen-premium-ui .hen-comment__author,
.hen-premium-ui .hen-comment__author a {
  color: #f0f4f7 !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  text-decoration: none !important;
}

.hen-premium-ui .hen-comment__time,
.hen-premium-ui .hen-comment__edited {
  color: #6f7d8b !important;
  font-size: 9px !important;
  text-decoration: none !important;
}

.hen-premium-ui .hen-comment__content {
  margin-top: 5px !important;
  color: #d9e0e5 !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

.hen-premium-ui .hen-comment__actions {
  display: flex;
  align-items: center;
  gap: 1px !important;
  margin-top: 6px !important;
  color: #778594 !important;
}

.hen-premium-ui .hen-vote,
.hen-premium-ui .hen-vote-score,
.hen-premium-ui .hen-comment-react-toggle,
.hen-premium-ui .hen-comment__actions .comment-reply-link,
.hen-premium-ui .hen-comment-edit-button,
.hen-premium-ui .hen-comment-delete-button,
.hen-premium-ui .hen-comment__edit a {
  color: #768493 !important;
}

.hen-premium-ui .hen-comment__actions .comment-reply-link,
.hen-premium-ui .hen-comment-react-toggle {
  color: color-mix(in srgb, var(--hen-accent) 82%, white 18%) !important;
  font-weight: 650 !important;
}

.hen-premium-ui .hen-vote:hover,
.hen-premium-ui .hen-comment-react-toggle:hover,
.hen-premium-ui .hen-comment__actions .comment-reply-link:hover,
.hen-premium-ui .hen-comment-edit-button:hover {
  color: #eef3f6 !important;
}

.hen-premium-ui .hen-vote.is-active,
.hen-premium-ui .hen-comment-reaction-chip.is-active {
  color: var(--hen-accent) !important;
}

.hen-premium-ui .hen-comment-list .children {
  margin: 0 0 0 48px !important;
  padding: 0 0 0 14px !important;
  border-left: 1px solid color-mix(in srgb, var(--hen-accent) 32%, rgba(255,255,255,.08)) !important;
}

.hen-premium-ui .hen-comment-list .children .hen-comment__article {
  grid-template-columns: 34px minmax(0, 1fr) !important;
  gap: 10px !important;
  padding: 10px 0 9px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.04) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.hen-premium-ui .hen-comment-list .children .hen-comment__avatar,
.hen-premium-ui .hen-comment-list .children .hen-avatar {
  width: 34px !important;
  height: 34px !important;
}

.hen-premium-ui .hen-comment-reaction-chip {
  border-color: var(--hen-premium-border) !important;
  background: rgba(255,255,255,.025) !important;
  color: #a8b4c0 !important;
}

.hen-premium-ui .hen-comment-react-picker,
.hen-premium-ui .hen-emoji-picker {
  border: 1px solid var(--hen-premium-border-strong) !important;
  background: #111a22 !important;
  box-shadow: 0 18px 45px rgba(0,0,0,.38) !important;
}

.hen-premium-ui .hen-comments__empty,
.hen-premium-ui .hen-comments__closed,
.hen-premium-ui .hen-search-empty {
  margin: 12px 2px 2px !important;
  color: #748291 !important;
  font-size: 11px !important;
}

/* Light-mode compatibility: keep layout, use a soft neutral card palette. */
.hen-comments.hen-premium-ui.hen-theme-light {
  --hen-premium-bg: #f5f7fa;
  --hen-premium-panel: #ffffff;
  --hen-premium-panel-2: #f8fafc;
  --hen-premium-panel-3: #ffffff;
  --hen-premium-border: rgba(20,34,50,.10);
  --hen-premium-border-strong: rgba(20,34,50,.17);
  --hen-premium-text: #1b2530;
  --hen-premium-muted: #667587;
}

.hen-comments.hen-premium-ui.hen-theme-light .hen-reactions,
.hen-comments.hen-premium-ui.hen-theme-light .hen-discussion-card {
  background: linear-gradient(180deg, #ffffff, #f8fafc) !important;
  box-shadow: 0 14px 40px rgba(30,45,60,.08) !important;
}

.hen-comments.hen-premium-ui.hen-theme-light .hen-comments__title,
.hen-comments.hen-premium-ui.hen-theme-light .hen-reactions__title,
.hen-comments.hen-premium-ui.hen-theme-light .hen-reaction__count,
.hen-comments.hen-premium-ui.hen-theme-light .hen-reaction__label,
.hen-comments.hen-premium-ui.hen-theme-light .hen-comment__author,
.hen-comments.hen-premium-ui.hen-theme-light .hen-comment__author a,
.hen-comments.hen-premium-ui.hen-theme-light .hen-comment__content,
.hen-comments.hen-premium-ui.hen-theme-light .hen-social-login-card__hint {
  color: #1d2834 !important;
}

.hen-comments.hen-premium-ui.hen-theme-light .hen-composer-shell,
.hen-comments.hen-premium-ui.hen-theme-light .hen-comment-list > .hen-comment > .hen-comment__article {
  background: #ffffff !important;
}

.hen-comments.hen-premium-ui.hen-theme-light .hen-field--comment textarea,
.hen-comments.hen-premium-ui.hen-theme-light .hen-field input,
.hen-comments.hen-premium-ui.hen-theme-light .hen-sort,
.hen-comments.hen-premium-ui.hen-theme-light .hen-search-toggle,
.hen-comments.hen-premium-ui.hen-theme-light .hen-search-input {
  background: #f8fafc !important;
  color: #1e2a36 !important;
  -webkit-text-fill-color: #1e2a36 !important;
}

@media (max-width: 760px) {
  .hen-comments.hen-premium-ui {
    margin-top: 26px;
  }

  .hen-premium-ui .hen-reactions {
    padding: 17px 12px 14px !important;
    border-radius: 14px !important;
  }

  .hen-premium-ui .hen-reactions__items {
    grid-template-columns: repeat(3, 1fr);
    gap: 7px !important;
  }

  .hen-premium-ui .hen-discussion-card {
    padding: 14px;
    border-radius: 14px;
  }

  .hen-premium-ui .hen-comments__header {
    flex-direction: column;
    gap: 11px !important;
  }

  .hen-premium-ui .hen-comments__header-tools {
    width: 100%;
    justify-content: space-between;
  }

  .hen-premium-ui .hen-comments__controls {
    width: auto;
  }

  .hen-premium-ui .hen-composer-shell {
    padding: 11px;
  }

  .hen-premium-ui .hen-social-login__providers {
    gap: 8px !important;
  }

  .hen-premium-ui .hen-social-button {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }

  .hen-premium-ui .hen-comment-form,
  .hen-premium-ui .hen-comment-form.is-composer-open {
    grid-template-columns: 1fr !important;
  }

  .hen-premium-ui .hen-toolbar {
    grid-column: 1 !important;
    grid-row: 5 !important;
  }

  .hen-premium-ui .hen-comment-form .form-submit {
    grid-column: 1 !important;
    grid-row: 6 !important;
    justify-self: stretch;
  }

  .hen-premium-ui .hen-submit {
    width: 100% !important;
  }

  .hen-premium-ui .hen-comment-list > .hen-comment > .hen-comment__article {
    grid-template-columns: 34px minmax(0,1fr) !important;
    padding: 11px !important;
  }

  .hen-premium-ui .hen-comment__avatar,
  .hen-premium-ui .hen-avatar {
    width: 34px !important;
    height: 34px !important;
  }

  .hen-premium-ui .hen-comment-list .children {
    margin-left: 18px !important;
    padding-left: 10px !important;
  }
}

/* v1.8.15 — hard-scoped submit contrast fix */
.hen-comments.hen-premium-ui .hen-comment-form .form-submit > button.hen-submit,
.hen-comments.hen-premium-ui .hen-comment-form button.hen-submit,
.hen-comments.hen-premium-ui button#submit.hen-submit {
  -webkit-appearance: none !important;
  appearance: none !important;
  min-width: 132px !important;
  min-height: 40px !important;
  padding: 0 19px !important;
  border: 1px solid #31e5bd !important;
  border-radius: 9px !important;
  background-color: #18cfa6 !important;
  background-image: linear-gradient(180deg, #27dfb5 0%, #14c89f 100%) !important;
  color: #041d17 !important;
  -webkit-text-fill-color: #041d17 !important;
  box-shadow: 0 8px 22px rgba(20, 200, 159, .20), inset 0 1px 0 rgba(255,255,255,.28) !important;
  text-shadow: none !important;
  opacity: 1;
  font-weight: 800 !important;
}

.hen-comments.hen-premium-ui .hen-comment-form .form-submit > button.hen-submit:hover,
.hen-comments.hen-premium-ui .hen-comment-form button.hen-submit:hover {
  border-color: #5aefd0 !important;
  background-color: #20dcb0 !important;
  background-image: linear-gradient(180deg, #34e9c1 0%, #18d3a8 100%) !important;
  color: #031712 !important;
  -webkit-text-fill-color: #031712 !important;
  box-shadow: 0 10px 25px rgba(20, 200, 159, .28), inset 0 1px 0 rgba(255,255,255,.32) !important;
}

.hen-comments.hen-premium-ui .hen-comment-form .form-submit > button.hen-submit:focus-visible {
  outline: 2px solid #8cf7df !important;
  outline-offset: 2px !important;
}

.hen-comments.hen-premium-ui .hen-comment-form .form-submit > button.hen-submit:disabled,
.hen-comments.hen-premium-ui .hen-comment-form.is-submitting .form-submit > button.hen-submit {
  background-color: #139f80 !important;
  background-image: linear-gradient(180deg, #18b794 0%, #109678 100%) !important;
  border-color: #1fbd99 !important;
  color: #dafaf2 !important;
  -webkit-text-fill-color: #dafaf2 !important;
  opacity: .72 !important;
}


/* v1.8.16 — expanded emoji picker + unmistakable submit states */
.hen-comments.hen-premium-ui .hen-emoji-picker {
  grid-template-columns: repeat(6, 36px) !important;
  gap: 3px !important;
  max-width: calc(6 * 36px + 5 * 3px + 16px) !important;
  max-height: 235px !important;
  overflow-y: auto !important;
  padding: 8px !important;
  border-radius: 13px !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(45,226,185,.45) transparent;
}

.hen-comments.hen-premium-ui .hen-emoji-picker button {
  width: 36px !important;
  height: 34px !important;
  border-radius: 8px !important;
  font-size: 20px !important;
  line-height: 1 !important;
}

.hen-comments.hen-premium-ui .hen-emoji-picker button:hover,
.hen-comments.hen-premium-ui .hen-emoji-picker button:focus-visible {
  background: rgba(45,226,185,.12) !important;
  outline: 1px solid rgba(45,226,185,.32) !important;
  transform: translateY(-1px);
}

/* Posting = blue: clearly different from the normal teal button. */
.hen-comments.hen-premium-ui .hen-comment-form .form-submit > button.hen-submit.is-posting,
.hen-comments.hen-premium-ui .hen-comment-form.is-submitting .form-submit > button.hen-submit.is-posting {
  background-color: #3978f6 !important;
  background-image: linear-gradient(180deg, #4b8cff 0%, #2e6ee8 100%) !important;
  border-color: #6da0ff !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  cursor: wait !important;
  box-shadow: 0 8px 24px rgba(57,120,246,.28), inset 0 1px 0 rgba(255,255,255,.24) !important;
}

/* Confirmed = brighter green for a short visual acknowledgement. */
.hen-comments.hen-premium-ui .hen-comment-form .form-submit > button.hen-submit.is-posted {
  background-color: #20d986 !important;
  background-image: linear-gradient(180deg, #36e99a 0%, #16c978 100%) !important;
  border-color: #62f0b0 !important;
  color: #032116 !important;
  -webkit-text-fill-color: #032116 !important;
  opacity: 1 !important;
  box-shadow: 0 8px 24px rgba(32,217,134,.28), inset 0 1px 0 rgba(255,255,255,.28) !important;
}

/* Failure = red and immediately clickable again. */
.hen-comments.hen-premium-ui .hen-comment-form .form-submit > button.hen-submit.is-submit-error {
  background-color: #e34f5f !important;
  background-image: linear-gradient(180deg, #ef6574 0%, #d94353 100%) !important;
  border-color: #f07d89 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  box-shadow: 0 8px 22px rgba(227,79,95,.24) !important;
}

@media (max-width: 520px) {
  .hen-comments.hen-premium-ui .hen-emoji-picker {
    grid-template-columns: repeat(5, 36px) !important;
    max-width: calc(5 * 36px + 4 * 3px + 16px) !important;
  }
}

/* v1.8.17 — 20 top-level comments at a time */
.hen-comments.hen-premium-ui .hen-load-more-wrap {
  display: flex;
  justify-content: center;
  padding: 14px 0 2px;
}

.hen-comments.hen-premium-ui .hen-load-more-wrap[hidden] {
  display: none !important;
}

.hen-comments.hen-premium-ui .hen-load-more {
  -webkit-appearance: none;
  appearance: none;
  min-width: 210px;
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid rgba(45, 226, 185, .30);
  border-radius: 11px;
  background: rgba(45, 226, 185, .07);
  color: #dffcf5;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease, opacity .15s ease;
}

.hen-comments.hen-premium-ui .hen-load-more:hover,
.hen-comments.hen-premium-ui .hen-load-more:focus-visible {
  background: rgba(45, 226, 185, .13);
  border-color: rgba(45, 226, 185, .58);
  transform: translateY(-1px);
  outline: none;
}

.hen-comments.hen-premium-ui .hen-load-more.is-loading,
.hen-comments.hen-premium-ui .hen-load-more:disabled {
  cursor: wait;
  opacity: .68;
  transform: none;
}

.hen-comments.hen-premium-ui .hen-comment-list.is-refreshing {
  opacity: .48;
  pointer-events: none;
  transition: opacity .12s ease;
}

.hen-comments.hen-premium-ui.hen-theme-light .hen-load-more {
  background: rgba(12, 169, 135, .07);
  border-color: rgba(12, 169, 135, .25);
  color: #096c58;
}

.hen-comments.hen-premium-ui.hen-theme-light .hen-load-more:hover,
.hen-comments.hen-premium-ui.hen-theme-light .hen-load-more:focus-visible {
  background: rgba(12, 169, 135, .12);
  border-color: rgba(12, 169, 135, .45);
}
