/* v0.34: one ink stamp asset with custom lettering; keep it below comment text. */
.comment .author {
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}
.comment-avatar-button {
  display: inline-flex;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  width: 30px;
  min-height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
}
.comment-avatar-button .avatar {
  width: 30px;
  height: 30px;
  font-size: var(--text-label);
  border-radius: 11px;
}
.comment-identity {
  display: flex;
  flex: 1 1 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  column-gap: 6px;
  row-gap: 2px;
}
.comment .comment-identity .comment-author {
  flex: 0 1 auto;
  min-height: 28px;
  max-width: 100%;
  margin: 0;
}
.comment .comment-identity .rank-badge {
  flex: 0 0 auto;
  min-height: 22px;
  margin: 0;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.4;
}
/* Keep the watermark in this comment's stacking context, above its paper and below its text. */
.comment-main {
  position: relative;
  isolation: isolate;
}
.comment-main > .author,
.comment-main > .comment-copy,
.comment-main > .comment-meta,
.comment .comment-honors {
  position: relative;
  z-index: 1;
}
/* The stable slot is also used by vote updates; it must not reserve a stamp row. */
.comment-honors-slot {
  display: contents;
}
.comment .comment-honors {
  justify-content: flex-start;
  gap: 10px;
  margin: 4px 3px 0 38px;
  padding: 4px 0;
}
.comment-honors .tag {
  margin-right: auto;
}
.military-winner.military-stamp {
  position: absolute;
  top: 40px;
  right: 8px;
  z-index: 0;
  opacity: .24;
  pointer-events: none;
  user-select: none;
  display: inline-flex;
  flex: 0 0 68px;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  box-sizing: border-box;
  padding: 0;
  gap: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  transform: rotate(-10deg);
  isolation: isolate;
}
.military-winner .military-stamp-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 359px) {
  .comment .comment-honors { margin-left: 0; }
}
