.comment-mention-notice {
  position: fixed;
  z-index: 10020;
  top: max(70px, calc(env(safe-area-inset-top) + 58px));
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: max-content;
  max-width: min(460px, calc(100vw - 28px));
  border: 1px solid #bcdad5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 26px rgb(13 45 52 / 13%);
  color: #203d44;
}

.comment-mention-notice-action,
.comment-mention-notice-dismiss {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.comment-mention-notice-action {
  min-width: 0;
  padding: 10px 12px;
  text-align: left;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.comment-mention-notice-label {
  margin-inline-start: 8px;
  color: #08756f;
  font-weight: 600;
  white-space: nowrap;
}

.comment-mention-notice-dismiss {
  flex: 0 0 36px;
  min-height: 36px;
  margin-inline-end: 4px;
  color: #516e74;
  font-size: 17px;
}

.comment-mention-notice button:hover { background: #eef7f5 }
.comment-mention-notice button:focus-visible { outline: 2px solid #08756f; outline-offset: -2px }
@media (pointer: coarse) {
  .comment-mention-notice-dismiss { flex-basis: 44px; min-height: 44px }
  .comment-mention-notice-action { min-height: 44px }
}
